/* Static example using the app's ai_chat.css, like the homepage hero chat. */
.notebook-chat-preview {
    min-width: 0;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .1);
    font-size: 1rem;
    line-height: 1.5;
}

.notebook-chat-preview__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.notebook-chat-preview__identity {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.notebook-chat-preview__icon {
    flex-shrink: 0;
}

.notebook-chat-preview .notebook-chat-preview__title {
    margin: 0 0 3px;
    color: inherit;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: normal;
}

.notebook-chat-preview__subtitle,
.notebook-chat-preview__source {
    display: block;
    color: var(--bs-secondary-color);
    font-size: .75rem;
}

.notebook-chat-preview__badge {
    flex-shrink: 0;
    padding: .2rem .5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    background: var(--bs-body-bg);
    color: var(--bs-secondary-color);
    font-size: .7rem;
    font-weight: 600;
}

.notebook-chat-preview__conversation {
    gap: .85rem;
}

.notebook-chat-preview__exchange {
    display: grid;
    gap: .85rem;
    min-width: 0;
}

.notebook-chat-preview .ai-chat__bubble {
    font-size: .88rem;
    white-space: normal;
}

.notebook-chat-preview .ai-chat__msg--user .ai-chat__bubble {
    max-width: 92%;
    background: var(--bs-primary-bg-subtle);
}

.notebook-chat-preview .notebook-chat-preview__answer p {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.notebook-chat-preview__source {
    margin-top: 9px;
}

.notebook-chat-preview__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 18px;
    border-top: 1px solid var(--bs-border-color);
    color: var(--bs-secondary-color);
    font-size: .75rem;
}

.notebook-chat-preview__footer svg {
    flex-shrink: 0;
}

