/* /Components/AssistantConversationView.razor.rz.scp.css */
/* Tokens del asistente: se aplican a la raíz del componente, no a :root */

.assistant-conversation[b-0jptrmzwvf] {
    --ai-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ai-surface: var(--dxds-color-surface-neutral-default-rest, var(--bs-body-bg, #ffffff));
    --ai-surface-subtle: var(--dxds-color-surface-neutral-subtle-rest, color-mix(in srgb, var(--ai-surface) 96%, #0f172a));
    --ai-surface-card: var(--dxds-color-surface-neutral-default-rest, #ffffff);
    --ai-ink: var(--dxds-color-content-neutral-default-rest, var(--bs-body-color, #1e293b));
    --ai-ink-muted: color-mix(in srgb, var(--ai-ink) 65%, transparent);
    --ai-border: var(--dxds-color-border-secondary-default-rest, var(--bs-border-color, #e2e8f0));
    --ai-border-subtle: color-mix(in srgb, var(--ai-border) 60%, transparent);
    --ai-primary: var(--dxds-color-surface-primary-default-rest, var(--bs-primary, #2563eb));
    --ai-primary-glow: rgba(37, 99, 235, 0.2);
    --ai-primary-hover: color-mix(in srgb, var(--ai-primary) 85%, #000);
    --ai-user-bg: var(--ai-primary);
    --ai-user-ink: #ffffff;
    --ai-assistant-bg: var(--ai-surface-subtle);
    --ai-assistant-ink: var(--ai-ink);
    --ai-assistant-border: var(--ai-border);
    --ai-page-bg: color-mix(in srgb, var(--dxds-color-surface-neutral-default-rest, var(--bs-body-bg, #ffffff)) 94%, #0f172a);
}

[data-bs-theme="dark"] .assistant-conversation[b-0jptrmzwvf], .theme-dark .assistant-conversation[b-0jptrmzwvf], .dxbl-theme-dark .assistant-conversation[b-0jptrmzwvf] {
    --ai-surface: #0f172a;
    --ai-surface-subtle: #1e293b;
    --ai-surface-card: #1e293b;
    --ai-ink: #f8fafc;
    --ai-ink-muted: #94a3b8;
    --ai-border: #334155;
    --ai-border-subtle: rgba(255, 255, 255, 0.08);
    --ai-primary: #3b82f6;
    --ai-primary-glow: rgba(59, 130, 246, 0.25);
    --ai-user-bg: #2563eb;
    --ai-user-ink: #ffffff;
    --ai-assistant-bg: #1e293b;
    --ai-assistant-ink: #f8fafc;
    --ai-assistant-border: #334155;
    --ai-page-bg: #090d16;
}

/* Marco de la página /assistant */

.assistant-page-wrapper[b-0jptrmzwvf] {
    min-height: 100vh;
    background: var(--ai-page-bg);
    display: flex;
    justify-content: center;
    font-family: var(--ai-font);
}

.assistant-shell[b-0jptrmzwvf] {
    width: 100%;
    max-width: 960px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--ai-surface);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
    position: relative;
}

.assistant-header[b-0jptrmzwvf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: var(--ai-surface);
    border-bottom: 1px solid var(--ai-border);
}

.header-left[b-0jptrmzwvf] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-back[b-0jptrmzwvf] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--ai-surface-subtle);
    border: 1px solid var(--ai-border);
    color: var(--ai-ink);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-back:hover[b-0jptrmzwvf] {
    background: var(--ai-primary);
    color: #ffffff;
    border-color: var(--ai-primary);
}

.header-brand[b-0jptrmzwvf] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-avatar[b-0jptrmzwvf] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
    flex-shrink: 0;
}

.brand-info[b-0jptrmzwvf] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-title-row[b-0jptrmzwvf] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-title[b-0jptrmzwvf] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ai-ink);
    line-height: 1.2;
}

.brand-subtitle[b-0jptrmzwvf] {
    color: var(--ai-ink-muted);
    font-size: 0.78rem;
}

.brand-subtitle.conv-current-title[b-0jptrmzwvf] {
    display: block;
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.header-right[b-0jptrmzwvf] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-clear[b-0jptrmzwvf] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--ai-border);
    color: var(--ai-ink-muted);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-clear:hover[b-0jptrmzwvf] {
    background: var(--ai-surface-subtle);
    color: var(--ai-ink);
}

.btn-clear:disabled[b-0jptrmzwvf] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Marco del cajón lateral y del lanzador */

.assistant-floating-launcher[b-0jptrmzwvf] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1030;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.35), 0 2px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, opacity 0.2s ease;
}

.assistant-floating-launcher:hover[b-0jptrmzwvf] {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.45), 0 4px 10px rgba(0, 0, 0, 0.15);
}

.assistant-floating-launcher.drawer-open[b-0jptrmzwvf] {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85);
}

.launcher-pulse[b-0jptrmzwvf] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: launcher-pulse-anim-b-0jptrmzwvf 2s infinite;
}

@keyframes launcher-pulse-anim-b-0jptrmzwvf {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.launcher-icon[b-0jptrmzwvf] {
    font-size: 1rem;
    line-height: 1;
}

.launcher-label[b-0jptrmzwvf] {
    letter-spacing: 0.02em;
}

.assistant-drawer-backdrop[b-0jptrmzwvf] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
}

.assistant-drawer-backdrop.active[b-0jptrmzwvf] {
    opacity: 1;
    visibility: visible;
}

.assistant-drawer[b-0jptrmzwvf] {
    position: fixed;
    top: 0;
    right: 0;
    width: 520px;
    max-width: 96vw;
    height: 100vh;
    background: var(--ai-surface);
    color: var(--ai-ink);
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.16);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--ai-font);
}

.assistant-drawer.open[b-0jptrmzwvf] {
    transform: translateX(0);
}

.drawer-header[b-0jptrmzwvf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--ai-surface);
    border-bottom: 1px solid var(--ai-border);
}

.drawer-brand[b-0jptrmzwvf] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-avatar[b-0jptrmzwvf] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
    flex-shrink: 0;
}

.drawer-titles[b-0jptrmzwvf] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.drawer-title-row[b-0jptrmzwvf] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-title[b-0jptrmzwvf] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ai-ink);
    line-height: 1.2;
}

.drawer-subtitle[b-0jptrmzwvf] {
    color: var(--ai-ink-muted);
    font-size: 0.78rem;
    margin: 0;
}

.drawer-subtitle.conv-current-title[b-0jptrmzwvf] {
    display: block;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.drawer-actions[b-0jptrmzwvf] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-icon[b-0jptrmzwvf] {
    background: transparent;
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: var(--ai-ink-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.btn-icon:hover[b-0jptrmzwvf] {
    background: var(--ai-surface-subtle);
    color: var(--ai-ink);
}

.btn-icon.close-btn:hover[b-0jptrmzwvf] {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.btn-icon:disabled[b-0jptrmzwvf] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cuerpo de la conversación compartido por la página y el cajón */

.assistant-quick-questions[b-0jptrmzwvf] {
    background: var(--ai-surface);
    padding: 10px 16px;
    border-bottom: 1px solid var(--ai-border);
    overflow-x: auto;
    scrollbar-width: thin;
}

.quick-questions-scroll[b-0jptrmzwvf] {
    display: flex;
    gap: 8px;
    white-space: nowrap;
}

.quick-chip[b-0jptrmzwvf] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: var(--ai-surface-subtle);
    border: 1px solid var(--ai-border);
    color: var(--ai-ink);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.quick-chip:hover[b-0jptrmzwvf] {
    background: var(--ai-primary);
    color: #ffffff;
    border-color: var(--ai-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.quick-chip-icon[b-0jptrmzwvf] {
    font-size: 0.85rem;
}

.assistant-messages[b-0jptrmzwvf] {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--ai-surface);
}

.empty-state[b-0jptrmzwvf] {
    margin: auto;
    text-align: center;
    max-width: 440px;
    padding: 20px 0;
}

.empty-state-avatar[b-0jptrmzwvf] {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.25);
    margin-bottom: 16px;
}

.empty-state-heading[b-0jptrmzwvf] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ai-ink);
    margin-bottom: 8px;
}

.empty-state-subheading[b-0jptrmzwvf] {
    font-size: 0.86rem;
    color: var(--ai-ink-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

.empty-state-suggestions[b-0jptrmzwvf] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    text-align: left;
}

.suggestion-card[b-0jptrmzwvf] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--ai-surface-subtle);
    border: 1px solid var(--ai-border);
    color: var(--ai-ink);
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-card:hover[b-0jptrmzwvf] {
    background: var(--ai-surface);
    border-color: var(--ai-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.suggestion-icon[b-0jptrmzwvf] {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.suggestion-body strong[b-0jptrmzwvf] {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ai-ink);
    margin-bottom: 2px;
}

.suggestion-body small[b-0jptrmzwvf] {
    display: block;
    font-size: 0.74rem;
    color: var(--ai-ink-muted);
    line-height: 1.3;
}

.msg-row[b-0jptrmzwvf] {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: flex-start;
}

.msg-row-user[b-0jptrmzwvf] {
    justify-content: flex-end;
}

.msg-row-assistant[b-0jptrmzwvf] {
    justify-content: flex-start;
}

.msg-avatar-assistant[b-0jptrmzwvf] {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.2);
}

.msg-bubble[b-0jptrmzwvf] {
    max-width: 84%;
    padding: 12px 18px;
    word-break: break-word;
    font-size: 0.92rem;
    line-height: 1.55;
}

.msg-bubble-user[b-0jptrmzwvf] {
    background: var(--ai-user-bg);
    color: var(--ai-user-ink);
    border-radius: 18px 18px 4px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.msg-bubble-assistant[b-0jptrmzwvf] {
    background: var(--ai-assistant-bg);
    color: var(--ai-assistant-ink);
    border: 1px solid var(--ai-assistant-border);
    border-radius: 18px 18px 18px 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.markdown-body[b-0jptrmzwvf]  p:last-child {
    margin-bottom: 0;
}

.markdown-body[b-0jptrmzwvf]  table {
    width: 100%;
    margin: 12px 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--ai-border);
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.84rem;
}

.markdown-body[b-0jptrmzwvf]  th {
    background: color-mix(in srgb, var(--ai-surface) 92%, #0f172a);
    padding: 8px 12px;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid var(--ai-border);
}

.markdown-body[b-0jptrmzwvf]  td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--ai-border);
}

.markdown-body[b-0jptrmzwvf]  tr:last-child td {
    border-bottom: none;
}

.markdown-body[b-0jptrmzwvf]  code {
    background: rgba(0, 0, 0, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
    font-family: monospace;
}

.markdown-body[b-0jptrmzwvf]  pre {
    background: #0f172a;
    color: #f1f5f9;
    padding: 12px 14px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.82rem;
    margin: 10px 0;
}

.msg-attachments[b-0jptrmzwvf] {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.msg-attachment-chip[b-0jptrmzwvf] {
    font-size: 0.78rem;
    background: rgba(0, 0, 0, 0.08);
    padding: 3px 10px;
    border-radius: 9999px;
}

.doc-link-container[b-0jptrmzwvf], .export-file-container[b-0jptrmzwvf] {
    margin-top: 10px;
}

.doc-link-card[b-0jptrmzwvf], .export-file-card[b-0jptrmzwvf] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--ai-surface);
    border: 1px solid var(--ai-border);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.doc-link-card:hover[b-0jptrmzwvf], .export-file-card:hover[b-0jptrmzwvf] {
    border-color: var(--ai-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.doc-card-icon[b-0jptrmzwvf], .export-card-icon[b-0jptrmzwvf] {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.doc-card-title[b-0jptrmzwvf], .export-card-title[b-0jptrmzwvf] {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ai-ink);
}

.doc-card-meta[b-0jptrmzwvf], .export-card-meta[b-0jptrmzwvf] {
    display: block;
    font-size: 0.74rem;
    color: var(--ai-ink-muted);
}

.confirmation-panel[b-0jptrmzwvf] {
    padding: 14px 18px;
    border: 1px solid #fbbf24;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.1);
    color: var(--ai-ink);
}

.confirmation-badge[b-0jptrmzwvf] {
    font-weight: 700;
    font-size: 0.84rem;
    color: #d97706;
}

.confirmation-text[b-0jptrmzwvf] {
    margin: 8px 0 12px 0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.confirmation-buttons[b-0jptrmzwvf] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.disambiguation-panel[b-0jptrmzwvf] {
    padding: 14px 18px;
    border: 1px solid var(--ai-primary);
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.disambiguation-prompt[b-0jptrmzwvf] {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--ai-primary);
}

.disambiguation-grid[b-0jptrmzwvf] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.disambiguation-item[b-0jptrmzwvf] {
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--ai-border);
    background: var(--ai-surface);
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.disambiguation-item:hover[b-0jptrmzwvf] {
    border-color: var(--ai-primary);
    background: var(--ai-surface-subtle);
}

.disambiguation-label[b-0jptrmzwvf] {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--ai-ink);
}

.disambiguation-details[b-0jptrmzwvf] {
    font-size: 0.76rem;
    color: var(--ai-ink-muted);
}

.resolution-note[b-0jptrmzwvf] {
    color: var(--ai-ink-muted);
    font-style: italic;
    font-size: 0.82rem;
    text-align: center;
    padding: 4px 0;
}

.loading-row[b-0jptrmzwvf] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.loading-bubble[b-0jptrmzwvf] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 18px 18px 18px 4px;
    background: var(--ai-assistant-bg);
    border: 1px solid var(--ai-assistant-border);
    color: var(--ai-ink-muted);
    font-size: 0.85rem;
}

.typing-dots[b-0jptrmzwvf] {
    display: flex;
    gap: 4px;
}

.typing-dot[b-0jptrmzwvf] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ai-primary);
    animation: typing-dot-anim-b-0jptrmzwvf 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1)[b-0jptrmzwvf] {
    animation-delay: 0s;
}

.typing-dot:nth-child(2)[b-0jptrmzwvf] {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3)[b-0jptrmzwvf] {
    animation-delay: 0.4s;
}

@keyframes typing-dot-anim-b-0jptrmzwvf {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.3; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.loading-label[b-0jptrmzwvf] {
    font-style: italic;
}

.btn-cancel-task[b-0jptrmzwvf] {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.74rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-cancel-task:hover[b-0jptrmzwvf] {
    background: rgba(239, 68, 68, 0.1);
}

.assistant-input-area[b-0jptrmzwvf] {
    padding: 14px 18px;
    background: var(--ai-surface);
    border-top: 1px solid var(--ai-border);
}

.pending-uploads[b-0jptrmzwvf] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.upload-chip[b-0jptrmzwvf] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ai-surface-subtle);
    border: 1px solid var(--ai-border);
    border-radius: 9999px;
    padding: 4px 12px;
    font-size: 0.78rem;
    color: var(--ai-ink);
}

.upload-chip-remove[b-0jptrmzwvf] {
    background: none;
    border: none;
    color: var(--ai-ink-muted);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.upload-chip-remove:hover[b-0jptrmzwvf] {
    color: #ef4444;
}

.input-container[b-0jptrmzwvf] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 14px;
    background: var(--ai-surface-subtle);
    border: 1px solid var(--ai-border);
    border-radius: 28px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.input-container:focus-within[b-0jptrmzwvf] {
    border-color: var(--ai-primary);
    box-shadow: 0 0 0 3px var(--ai-primary-glow);
    background: var(--ai-surface);
}

.btn-attach[b-0jptrmzwvf] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ai-ink-muted);
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    margin: 0;
}

.btn-attach:hover[b-0jptrmzwvf] {
    color: var(--ai-primary);
    background: rgba(37, 99, 235, 0.08);
}

.chat-input[b-0jptrmzwvf] {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--ai-ink);
    font-size: 0.92rem;
    outline: none;
}

.chat-input[b-0jptrmzwvf]::placeholder {
    color: var(--ai-ink-muted);
}

.btn-send[b-0jptrmzwvf] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--ai-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s;
    flex-shrink: 0;
}

.btn-send:hover:not(:disabled)[b-0jptrmzwvf] {
    transform: scale(1.08);
}

.btn-send:disabled[b-0jptrmzwvf] {
    opacity: 0.35;
    cursor: not-allowed;
}

.conv-notice[b-0jptrmzwvf] {
    align-self: center;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 96%;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.84rem;
    text-align: center;
    color: #92400e;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.conv-notice-action[b-0jptrmzwvf] {
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--ai-primary);
    border: 1px solid var(--ai-primary);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.conv-notice-action:disabled[b-0jptrmzwvf] {
    opacity: 0.5;
    cursor: not-allowed;
}

.conv-older[b-0jptrmzwvf] {
    align-self: center;
    padding: 6px 14px;
    border-radius: 9999px;
    background: var(--ai-surface-subtle);
    border: 1px solid var(--ai-border);
    color: var(--ai-ink);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
}

.conv-older:hover:not(:disabled)[b-0jptrmzwvf] {
    border-color: var(--ai-primary);
}

.conv-older:disabled[b-0jptrmzwvf] {
    opacity: 0.5;
    cursor: progress;
}
