:root { --navy:#07134c; --blue:#145aff; --ink:#182044; --muted:#65708a; --line:#e3e8f1; --pale:#f5f7fc; --white:#fff; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; color:var(--ink); background:#fff; font-synthesis:none; }
* { box-sizing:border-box; }
body { margin:0; font-size:14px; -webkit-font-smoothing:antialiased; }
button,input,select,textarea { font:inherit; color:inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button,a { touch-action:manipulation; }
button { cursor:pointer; }
button:disabled { opacity:.45; cursor:not-allowed; }
a { color:inherit; text-decoration:none; }
button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible,input:focus-visible { outline:3px solid #6a9bff; outline-offset:3px; }
[hidden] { display:none!important; }
h1,h2,p { margin:0; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; left:12px; top:-80px; padding:12px; z-index:100; background:white; }
.skip-link:focus { top:12px; }
.app-header { height:82px; display:flex; align-items:center; justify-content:space-between; padding:0 30px; background:var(--navy); color:white; gap:24px; }
.brand { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.brand img { width:54px; height:54px; border-radius:13px; }
.brand>span { font-size:32px; font-weight:850; letter-spacing:-.065em; font-family:ui-rounded,"Arial Rounded MT Bold",inherit; }
.brand-dot { color:#85c8ff; }
.header-center { font-size:12px; color:#aab8df; letter-spacing:.04em; }
.back-link { font-size:12px; color:#d2dcf9; display:flex; gap:24px; }
.back-link:hover { color:white; }
.app-layout { height:calc(100dvh - 82px); min-height:560px; display:grid; grid-template-columns:276px minmax(0,1fr); }
.knowledge-panel { padding:29px 22px 22px; background:#f6f8fc; border-right:1px solid var(--line); display:flex; flex-direction:column; overflow-y:auto; }
.workspace-heading { display:flex; gap:11px; align-items:center; margin-bottom:24px; }
.workspace-monogram { display:grid; place-items:center; width:37px; height:37px; border:1px solid #d3dff6; border-radius:11px; font-weight:750; background:#eaf0fe; color:var(--blue); }
.workspace-heading strong { font-size:13px; display:block; }
.workspace-heading div>span { font-size:10px; color:var(--muted); display:block; margin-top:4px; }
.new-conversation { display:flex; align-items:center; justify-content:center; gap:9px; background:white; border:1px solid #d9e0ee; border-radius:9px; padding:10px; min-height:43px; font-weight:600; font-size:12px; margin-bottom:33px; box-shadow:0 2px 3px #17376604; }
.new-conversation:hover { border-color:var(--blue); color:var(--blue); }
.new-conversation>span { font-size:20px; line-height:1; }
.knowledge-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:9px; }
.knowledge-heading h2 { font-size:11px; text-transform:uppercase; letter-spacing:.11em; font-weight:700; }
.knowledge-heading>span { font-size:10px; border:1px solid #dce3f1; min-width:21px; border-radius:6px; text-align:center; padding:2px; color:var(--muted); }
.source-helper { color:var(--muted); font-size:11px; margin-bottom:13px; }
.source-list { display:flex; flex-direction:column; gap:7px; }
.source-option { display:flex; gap:10px; padding:12px 10px; background:white; border:1px solid #e2e8f2; border-radius:9px; cursor:pointer; align-items:flex-start; }
.source-option:has(input:checked) { border-color:#b7caf1; background:#f1f5ff; }
.source-option input { margin:2px 0 0; accent-color:var(--blue); width:15px; height:15px; flex-shrink:0; }
.source-option strong { display:block; font-size:11px; line-height:1.6; overflow-wrap:anywhere; font-weight:650; }
.source-option small { display:block; font-size:10px; line-height:1.6; color:var(--muted); margin-top:2px; }
.source-empty { font-size:12px; color:var(--muted); line-height:1.8; padding:14px 0; }
.source-selection-note { color:var(--muted); font-size:10px; line-height:1.7; margin-top:13px; }
.workspace-connection { padding-top:24px; margin-top:auto; }
.small-label { font-size:9px; font-weight:700; letter-spacing:.1em; color:var(--muted); }
.connection-status { display:flex; gap:7px; align-items:center; margin:12px 0 6px; font-size:11px; }
.status-dot { background:var(--blue); width:6px; height:6px; border-radius:50%; flex-shrink:0; }
.workspace-connection p { color:var(--muted); font-size:11px; line-height:1.8; overflow-wrap:anywhere; }
.quiet-button { border:0; padding:0; background:none; color:var(--blue); font-weight:600; font-size:11px; line-height:1.7; text-align:left; }
.quiet-button:hover { text-decoration:underline; text-underline-offset:4px; }
.workspace-connection .quiet-button { margin-top:12px; display:block; }
.sidebar-bottom { font-size:10px; color:#7b87a0; padding-top:22px; margin-top:22px; border-top:1px solid var(--line); }
.sidebar-bottom span { margin-right:8px; color:var(--blue); }
.chat-panel { min-width:0; display:flex; flex-direction:column; background:radial-gradient(ellipse at 45% 28%,#f5f8ff88,transparent 60%); }
.chat-toolbar { min-height:68px; padding:0 30px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); gap:16px; }
.toolbar-title { display:flex; align-items:center; gap:12px; min-width:0; }
.mode-badge { font-size:8px; font-weight:750; letter-spacing:.09em; padding:4px 7px; color:var(--blue); background:#edf2ff; border:1px solid #dbe5ff; border-radius:5px; white-space:nowrap; }
.toolbar-subtitle { color:#8791a5; font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.toolbar-actions { display:flex; align-items:center; gap:15px; flex-shrink:0; }
.toolbar-button { display:flex; gap:4px; align-items:center; color:var(--muted); background:none; border:none; min-height:36px; padding:4px; font-size:12px; }
.toolbar-button:hover { color:var(--blue); }
.toolbar-button>span:first-child { font-size:18px; }
.language-select select { border:1px solid #dde4f0; padding:7px 8px; border-radius:7px; background:white; font-size:11px; max-width:115px; }
.sources-toggle { display:none; }
.chat-scroll { overflow-y:auto; flex:1; padding:38px 34px 22px; overscroll-behavior:contain; }
.welcome { text-align:center; max-width:740px; margin:12px auto 20px; }
.welcome>img { border-radius:27px; width:108px; height:108px; margin:0 auto 25px; display:block; box-shadow:0 13px 30px #07134c19; }
.welcome-eyebrow { font-size:9px; color:var(--blue); font-weight:700; letter-spacing:.14em; margin-bottom:13px; }
.welcome h1 { font-size:clamp(30px,3vw,45px); line-height:1.15; font-weight:750; letter-spacing:-.055em; }
.welcome-copy { margin:15px 0 28px; font-size:13px; color:var(--muted); line-height:1.8; }
.starter-prompts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; text-align:left; }
.starter-prompt { padding:18px 17px; border:1px solid #e1e7f2; border-radius:12px; background:#fff; text-align:left; min-height:135px; transition:border-color .15s,transform .15s; box-shadow:0 3px 9px #1d3d7103; display:flex; flex-direction:column; }
.starter-prompt:hover { border-color:#9db9fa; transform:translateY(-2px); }
.starter-prompt .prompt-category { display:flex; justify-content:space-between; gap:8px; font-size:9px; color:var(--blue); letter-spacing:.05em; font-weight:700; margin-bottom:14px; }
.starter-prompt .prompt-copy { font-size:12px; line-height:1.7; }
.message-list { max-width:780px; margin:0 auto; }
.chat-message { margin-bottom:29px; }
.user-message { display:flex; justify-content:flex-end; }
.user-bubble { max-width:85%; padding:14px 18px; background:#edf2ff; border:1px solid #e0e8fc; border-radius:15px 15px 4px 15px; font-size:13px; line-height:1.85; white-space:pre-wrap; overflow-wrap:anywhere; }
.bot-message { display:flex; gap:13px; align-items:flex-start; }
.bot-message>img { width:32px; height:32px; border-radius:9px; flex-shrink:0; }
.bot-answer { min-width:0; flex:1; }
.bot-name { font-size:11px; font-weight:700; margin:0 0 9px; display:block; }
.answer-text { font-size:13px; line-height:1.95; white-space:pre-wrap; overflow-wrap:anywhere; }
.citation-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:15px; }
.citation-chip { display:inline-flex; align-items:center; gap:9px; background:#f5f7fc; color:#415b92; font-size:10px; padding:8px 11px; border:1px solid #dce5f3; border-radius:7px; text-align:left; max-width:100%; overflow-wrap:anywhere; }
.citation-chip:hover { background:#eaf0ff; border-color:#b3c7f1; }
.no-citations { color:#7d879d; font-size:10px; margin-top:13px; }
.composer-area { padding:14px 34px 20px; margin:auto; width:100%; max-width:848px; }
.composer { border:1px solid #cdd9ef; border-radius:16px; background:white; box-shadow:0 5px 24px #163c7510; padding:13px 15px 10px; }
.composer:focus-within { border-color:#91b0f7; box-shadow:0 0 0 3px #145aff08; }
.composer textarea { display:block; border:0; outline:none; width:100%; resize:vertical; max-height:180px; min-height:53px; line-height:1.7; font-size:14px; background:transparent; }
.composer textarea:focus-visible { outline:none; }
.composer textarea::placeholder { color:#8b95aa; }
.composer-bottom { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.composer-bottom>span { color:#8a95ac; font-size:10px; }
.composer-bottom>div { display:flex; gap:12px; align-items:center; }
.send-button { width:36px; height:36px; display:grid; place-items:center; border:0; border-radius:10px; color:white; background:var(--blue); font-size:25px; line-height:1; }
.send-button:hover { background:#0649df; }
.stop-button { border:1px solid #bdcbea; background:white; border-radius:7px; font-size:11px; padding:6px 11px; }
.composer-note { text-align:center; font-size:9px; color:#8b94a6; line-height:1.7; margin-top:11px; }
.request-notice { padding:11px 15px; background:#f0f4fe; border:1px solid #dbe5ff; border-radius:10px; margin-bottom:12px; }
.request-notice p { font-size:11px; color:#42567f; line-height:1.7; }
.request-notice button { margin-top:6px; }
.working-status { font-size:11px; color:#637490; display:flex; align-items:center; gap:8px; padding:0 3px 12px; }
.working-dot { width:6px; height:6px; border-radius:50%; background:var(--blue); animation:pulse 1.4s ease infinite; }
dialog { border:1px solid #e3e9f3; border-radius:18px; padding:30px; width:min(560px,calc(100% - 32px)); color:var(--ink); box-shadow:0 30px 100px #06114140; max-height:calc(100dvh - 40px); overflow-y:auto; }
dialog::backdrop { background:#07134c80; backdrop-filter:blur(4px); }
.dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; }
.close-button { width:32px; height:32px; font-size:26px; border:0; border-radius:7px; background:#f1f4fa; line-height:1; }
dialog h2 { font-size:26px; letter-spacing:-.04em; line-height:1.3; overflow-wrap:anywhere; }
.citation-meta { color:var(--muted); font-size:11px; margin-top:10px; }
.citation-dialog blockquote { margin:24px 0; background:#f3f6fd; border-left:3px solid var(--blue); padding:20px; font-size:14px; line-height:1.9; white-space:pre-wrap; overflow-wrap:anywhere; }
.citation-footnote,.reset-dialog p { font-size:12px; color:var(--muted); line-height:1.8; }
.reset-dialog p { margin-top:12px; }
.dialog-actions { display:flex; align-items:center; justify-content:flex-end; gap:24px; margin-top:25px; }
.primary-button { background:var(--blue); color:white; border:0; border-radius:9px; padding:12px 18px; font-size:12px; font-weight:650; }
.toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); padding:11px 18px; color:white; background:var(--navy); font-size:12px; line-height:1.6; border-radius:10px; box-shadow:0 10px 40px #07134c33; max-width:calc(100% - 32px); z-index:20; }
@keyframes pulse { 50% { opacity:.3; } }
@media (min-width:1600px) { .welcome { margin-top:55px; } }
@media (max-width:1100px) { .app-layout { grid-template-columns:240px minmax(0,1fr); }.knowledge-panel { padding:24px 17px; }.toolbar-subtitle { display:none; }.starter-prompts { gap:8px; }.starter-prompt { padding:14px 12px; }.chat-scroll { padding:30px 25px 20px; }.composer-area { padding:14px 25px 18px; } }
@media (max-width:760px) { .app-header { height:70px; padding:0 18px; }.brand img { width:44px; height:44px; }.brand>span { font-size:28px; }.header-center { display:none; }.back-link { font-size:10px; gap:10px; }.app-layout { height:calc(100dvh - 70px); min-height:520px; grid-template-columns:minmax(0,1fr); position:relative; }.knowledge-panel { display:none; position:absolute; width:min(320px,100%); top:60px; bottom:0; left:0; z-index:5; box-shadow:18px 0 55px #07134c22; background:#f7f9fd; }.knowledge-panel.is-open { display:flex; }.sources-toggle { display:flex; }.chat-toolbar { padding:0 16px; min-height:60px; gap:8px; }.toolbar-actions { gap:11px; }.toolbar-button { font-size:11px; }.language-select select { max-width:100px; }.chat-scroll { padding:28px 18px 12px; }.welcome { margin-top:8px; }.welcome>img { width:84px; height:84px; border-radius:22px; margin-bottom:21px; }.welcome h1 { font-size:32px; }.welcome-copy { font-size:12px; margin:13px 0 22px; }.welcome-eyebrow { font-size:8px; }.starter-prompts { grid-template-columns:1fr; gap:8px; max-width:410px; margin:auto; }.starter-prompt { min-height:auto; padding:13px 15px; }.starter-prompt .prompt-category { font-size:8px; margin-bottom:6px; }.starter-prompt .prompt-copy { font-size:11px; }.composer-area { padding:10px 13px 14px; }.composer { padding:12px 13px 9px; border-radius:13px; }.composer textarea { font-size:16px; min-height:49px; }.composer textarea::placeholder { font-size:12px; }.composer-note { font-size:8px; }.composer-bottom>span { font-size:9px; }.answer-text { font-size:13px; line-height:1.9; }.user-bubble { font-size:13px; max-width:93%; }.bot-message { gap:10px; }.bot-message>img { width:28px; height:28px; }.chat-message { margin-bottom:26px; }.citation-chip { font-size:9px; }.new-label { display:none; }.dialog-actions { gap:18px; }.mode-badge { font-size:7px; } }
@media (max-height:760px) and (min-width:761px) { .welcome>img { width:77px; height:77px; border-radius:20px; margin-bottom:17px; }.welcome { margin-top:0; }.welcome h1 { font-size:35px; }.welcome-copy { margin:12px 0 20px; }.starter-prompt { min-height:115px; }.chat-scroll { padding-top:25px; } }
@media (prefers-reduced-motion:reduce) { *,*:before,*:after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }

.sidebar-bottom a{display:block;padding:5px 0}.sidebar-bottom a:hover{color:var(--blue)}

.source-option strong{font-size:12px}.source-option small{font-size:11px}.workspace-heading strong{font-size:14px}.composer-note{font-size:10px}
@media(max-width:760px){.starter-prompt .prompt-copy{font-size:12px}.composer-note{font-size:9px}.toolbar-button{min-width:32px;min-height:40px}}
