:root{--forest:#163d32;--pine:#245945;--ink:#1a2e29;--muted:#63716c;--line:#e1e7e0;--canvas:#f6f7f3;--white:#fff;--soft:#edf3ec;--shadow:0 12px 45px rgba(23,53,43,.055);color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
html{font-size:16px;scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--canvas);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,textarea{font:inherit}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #6eab8c;outline-offset:3px}button:disabled{cursor:default}button,textarea{touch-action:manipulation}
[hidden]{display:none!important}.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:20px;top:-100px;background:#fff;padding:12px 16px;z-index:110;color:var(--ink);border-radius:8px}.skip-link:focus{top:12px}
.app{min-height:100vh;display:grid;grid-template-columns:270px minmax(0,1fr)}
.sidebar{background:#f0f3ed;border-right:1px solid #dde5dc;display:flex;flex-direction:column;min-height:100vh;padding:32px 19px 23px;position:sticky;top:0;height:100vh;overflow-y:auto;scrollbar-width:thin}
.sidebar-top{padding:0 13px 33px}.brand{display:inline-flex;gap:11px;align-items:center;text-decoration:none;font-weight:760;font-size:20px;letter-spacing:-.06em;white-space:nowrap}.brand-symbol{display:grid;place-items:center;background:var(--forest);width:38px;height:38px;border-radius:11px;color:#fff;font-size:27px;line-height:1;padding-bottom:5px}.brand-symbol span{color:#c5e48e}.brand-name{letter-spacing:-.045em}.brand-light{font-weight:450}.sidebar-mode{display:flex;align-items:center;gap:8px;color:#4d7765;font-size:10px;letter-spacing:.17em;font-weight:750;margin-top:23px;margin-left:2px}.status-dot{display:inline-block;flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:#4b9a72;box-shadow:0 0 0 3px #4b9a7217}
.sidebar-section{flex:1}.new-chat{border:1px solid #d4ded3;display:flex;align-items:center;gap:12px;width:100%;border-radius:11px;background:white;color:var(--forest);padding:13px 16px;text-align:left;font-size:13px;font-weight:680;box-shadow:0 3px 9px #254a3510}.new-chat:hover{border-color:#a3bba9}.plus-icon{font-size:21px;line-height:14px;font-weight:350}.sidebar-caption{font-size:10px;letter-spacing:.14em;color:#79887d;font-weight:760;margin:36px 15px 13px}.category-list{display:grid;gap:4px}.category{display:flex;gap:12px;align-items:center;text-align:left;padding:12px 13px;border:none;background:transparent;border-radius:9px;font-size:13px;font-weight:560;color:#53665c;width:100%;transition:background .15s}.category:hover{background:#e3eae0;color:var(--forest)}.category.active{background:#dfeae0;color:#1e4b3a;font-weight:740}.cat-ico{width:20px;text-align:center;font-size:17px;line-height:1}.cat-arrow{margin-left:auto;font-size:19px;font-weight:350;opacity:.55}.sidebar-bottom{padding:15px 6px 0}.aside-note{display:flex;gap:10px;padding:17px 13px;background:#e7eee5;border:1px solid #dae5d8;border-radius:12px}.note-icon{font-size:19px;color:#3d815b}.aside-note strong{font-size:12px}.aside-note p{margin:7px 0 0;line-height:1.55;color:#6c7d70;font-size:11px}.classic-link{display:flex;align-items:center;gap:11px;text-decoration:none;color:#274e40;font-size:13px;font-weight:690;margin:20px 6px 10px}.classic-link span{font-size:18px}.classic-link:hover{text-decoration:underline}.privacy-link{display:block;margin:12px 7px 0;color:#7a877c;font-size:11px;text-decoration:none}.privacy-link:hover{text-decoration:underline}
.content{min-width:0;display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}.topbar{position:sticky;top:0;z-index:14;height:81px;min-height:81px;padding:0 clamp(24px,5.5vw,83px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#ffffffa8;backdrop-filter:blur(15px)}.topbar-name{display:flex;gap:17px;align-items:center;font-size:13px;color:#566a5f;font-weight:590;white-space:nowrap}.topbar-brand{color:var(--forest);font-size:14px;font-weight:750}.topbar-divider{height:20px;border-left:1px solid #d4ded4}.topbar-actions{display:flex;align-items:center;gap:22px}.grounded-label{display:flex;align-items:center;gap:10px;color:#78877c;font-size:11px;white-space:nowrap}.classic-pill{border:1px solid #dce5dc;background:#fff;color:#264a3a;display:inline-flex;align-items:center;gap:9px;padding:10px 15px;border-radius:99px;font-size:12px;text-decoration:none;font-weight:700;white-space:nowrap}.classic-pill:hover{background:#e7f0e5;border-color:#b4c8b5}.menu-button{display:none}
.workspace{flex:1;width:100%;padding:0 clamp(22px,5.5vw,80px);outline:none}.page-container{max-width:1040px;margin:0 auto;min-width:0}.welcome{max-width:960px;margin:0 auto;padding:clamp(55px,8.6vh,102px) 0 42px}.eyebrow{display:flex;align-items:center;gap:12px;font-size:10px;letter-spacing:.185em;color:#72917c;font-weight:790}.eyebrow-line{width:27px;border-top:2px solid #6b9b7a}.welcome-title-wrap{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(210px,.8fr);gap:26px;align-items:end;margin:24px 0 43px}.welcome h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:clamp(48px,5.55vw,80px);line-height:1.07;letter-spacing:-.061em;margin:0;color:#193d31}.welcome h1 em{color:#54846b;font-weight:400}.welcome-title-wrap>p{font-size:15px;line-height:1.85;color:#66766e;max-width:330px;margin:0 0 10px}.context-card{display:flex;align-items:center;background:#ecf2e8;border:1px solid #d7e5d3;border-radius:13px;padding:14px 14px;margin:-9px 0 25px;gap:13px}.context-mark{color:#4e765f;background:#dce9d6;border-radius:10px;padding:8px}.context-card>div{display:grid;gap:4px;min-width:0}.context-caption{font-size:9px;letter-spacing:.1em;font-weight:800;color:#698a71}.context-card strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:650}.context-card button{margin-left:auto;background:transparent;border:0;font-size:23px;color:#617969}.suggestions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.suggestion{min-height:112px;padding:20px;border-radius:14px;border:1px solid #e1e8df;background:#fff;box-shadow:var(--shadow);display:flex;align-items:center;gap:16px;text-align:left;transition:transform .18s,box-shadow .18s,border-color .18s;min-width:0}.suggestion:hover{transform:translateY(-2px);border-color:#bed4c1;box-shadow:0 16px 35px #163d3212}.suggestion-icon{width:49px;height:49px;border-radius:13px;display:grid;place-items:center;flex-shrink:0;font-size:23px}.suggestion-icon.money{background:#e5f0e5;color:#306444}.suggestion-icon.work{background:#eaf0f8;color:#4b6c9d}.suggestion-icon.career{background:#f5eee4;color:#906a42}.suggestion-icon.travel{background:#edf0ec;color:#54776f}.suggestion strong{display:block;font-size:14px;font-weight:720;letter-spacing:-.015em;margin-bottom:7px;color:#284638}.suggestion small{font-size:12px;color:#859088;line-height:1.35;display:block}.suggestion-arrow{margin-left:auto;align-self:flex-start;color:#a0aea2;font-size:17px}.explore-teaser{display:flex;justify-content:center;align-items:center;gap:15px;color:#9ca9a0;font-size:10px;letter-spacing:.15em;font-weight:660;margin:43px 0 0;text-align:center}.teaser-line{width:36px;border-top:1px solid #dbe2d9}
.composer-zone{position:sticky;bottom:0;z-index:10;background:linear-gradient(to bottom,rgba(246,247,243,0),#f6f7f3 15%);padding:16px clamp(22px,5.5vw,80px) max(21px,env(safe-area-inset-bottom))}.composer-inner{max-width:920px;margin:0 auto}.composer{display:flex;gap:10px;align-items:flex-end;background:#fff;border:1px solid #d7e2d6;border-radius:18px;padding:13px 13px 13px 19px;box-shadow:0 5px 31px #153b2612;transition:border-color .18s}.composer:focus-within{border-color:#8cbaa1;box-shadow:0 5px 31px #153b2614,0 0 0 3px #60ac7e13}.composer textarea{border:0;outline:none!important;box-shadow:none!important;width:100%;background:transparent;resize:none;min-height:29px;max-height:160px;overflow-y:auto;line-height:1.5;color:#1e3c2f;padding:4px 0;white-space:pre-wrap;font-size:14px}.composer textarea::placeholder{color:#96a39a}.send-button{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;border:0;border-radius:11px;background:#20513c;color:white}.send-button:hover:not(:disabled){background:#173d2d}.send-button:disabled{background:#dce4dc;color:#9aad9e}.composer-bottom{display:flex;justify-content:space-between;gap:12px;padding:10px 8px 0;color:#91a096;font-size:10px}.safety-note{text-align:center;font-size:10px;color:#a1a9a2;line-height:1.5;margin:12px 0 0}.safety-note a{text-underline-offset:2px}
.conversation{max-width:850px;padding:36px 0 32px;margin:0 auto;display:grid;gap:24px}.exchange{display:grid;gap:20px;animation:appear .22s ease-out}.question-row{display:flex;justify-content:flex-end}.question-bubble{background:#e7ede5;padding:13px 18px;border:1px solid #dce6da;border-radius:17px 17px 4px 17px;max-width:min(88%,620px);line-height:1.6;color:#2d4837;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.response{display:flex;gap:14px;align-items:flex-start}.avatar{flex:0 0 33px;width:33px;height:33px;border-radius:10px;background:#1d4936;color:white;display:grid;place-items:center;font-weight:700;font-size:18px;line-height:1}.avatar span{color:#b6dc9d}.answer-body{flex:1;min-width:0;font-size:14px;line-height:1.85;color:#344b40;overflow-wrap:anywhere;padding-top:2px}.answer-body p{margin:0 0 11px}.answer-body p:last-child{margin-bottom:0}.answer-body ul{padding-left:20px;margin:6px 0 13px}.answer-body li{margin:5px 0}.answer-body a{color:#1d634b;font-weight:650;text-decoration:underline;text-underline-offset:3px}.answer-body a:hover{color:#0a412d}.typing{display:inline-flex;gap:6px;align-items:center;padding:10px 0}.typing i{height:6px;width:6px;border-radius:50%;background:#91b19a;animation:pulse 1s infinite}.typing i:nth-child(2){animation-delay:.16s}.typing i:nth-child(3){animation-delay:.32s}.response-note{font-size:11px;color:#89988e;margin-top:9px}.sources{margin-top:17px}.sources-title{font-size:10px;letter-spacing:.13em;font-weight:800;color:#879a88;margin-bottom:11px}.source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.source-card{display:flex;flex-direction:column;text-decoration:none;background:white;border:1px solid #e1e7e0;padding:16px;border-radius:12px;gap:7px;min-width:0;transition:border-color .18s,transform .18s}.source-card:hover{border-color:#9dbda9;transform:translateY(-1px)}.source-category{font-size:10px;letter-spacing:.1em;color:#649078;font-weight:760;text-transform:uppercase}.source-card strong{font-size:13px;line-height:1.4;font-weight:710}.source-card p{font-size:11px;line-height:1.55;color:#78867c;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.source-open{display:flex;align-items:center;justify-content:space-between;margin-top:auto;font-size:11px;color:#276445;font-weight:770;padding-top:4px}.message-error{color:#9b4837}.response .retry{font-size:12px;color:#276445;background:transparent;border:1px solid #c3d6c7;padding:8px 12px;border-radius:8px;margin-top:12px}.response .retry:hover{background:#ecf2ec}
.browse-view{padding:67px 0 50px}.browse-kicker{letter-spacing:.17em;color:#73947d;font-size:11px;font-weight:790}.browse-view h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(35px,4.8vw,57px);letter-spacing:-.06em;line-height:1.1;margin:19px 0 12px;color:var(--forest)}.browse-view>p{color:#6b7f71;font-size:14px;line-height:1.8;max-width:540px;margin:0 0 30px}.browse-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.browse-card{border:1px solid #e2e8df;border-radius:13px;background:#fff;padding:20px;display:flex;flex-direction:column;gap:10px;min-height:156px;text-decoration:none;box-shadow:var(--shadow)}.browse-card:hover{border-color:#acc8b1;transform:translateY(-1px)}.browse-card .source-category{display:block}.browse-card strong{font-size:15px;color:#264a37}.browse-card p{color:#718276;line-height:1.6;font-size:12px;margin:0}.browse-card .source-open{margin-top:auto}
.drawer-backdrop{position:fixed;inset:0;background:#0b211c66;z-index:24}.drawer-backdrop[hidden]{display:none}
@keyframes pulse{0%,70%,100%{opacity:.35;transform:translateY(1px)}35%{opacity:1;transform:translateY(-2px)}}@keyframes appear{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:1170px){.sidebar{padding-left:13px;padding-right:13px}.app{grid-template-columns:240px minmax(0,1fr)}.topbar{padding-left:28px;padding-right:28px}.workspace{padding:0 30px}.composer-zone{padding-left:30px;padding-right:30px}.welcome-title-wrap{grid-template-columns:1fr;gap:12px;margin-bottom:29px}.welcome-title-wrap>p{max-width:570px}.welcome{padding-top:60px}.grounded-label{display:none}}
@media(max-width:790px){.app{display:block}.sidebar{position:fixed;z-index:30;top:0;left:0;bottom:0;height:100dvh;width:min(300px,86vw);transform:translateX(-104%);box-shadow:6px 0 28px #132f2d13;transition:transform .25s;visibility:hidden}.sidebar.open{transform:translateX(0);visibility:visible}.content{min-height:100dvh}.drawer-backdrop:not([hidden]){display:block}.topbar{height:66px;min-height:66px;padding:0 20px;gap:15px}.menu-button{display:flex;flex-direction:column;gap:4px;justify-content:center;border:none;background:transparent;min-width:40px;min-height:44px;padding:10px}.menu-button span{background:#234f3c;height:2px;width:19px;border-radius:1px}.topbar-name{margin-right:auto;gap:10px}.topbar-brand{display:none}.topbar-divider{display:none}.classic-pill{padding:10px 12px}.workspace{padding:0 22px}.welcome{padding:55px 0 20px}.composer-zone{padding:12px 16px max(14px,env(safe-area-inset-bottom))}.explore-teaser{margin-top:29px}}
@media(max-width:510px){.topbar-name{font-size:13px}.topbar{padding:0 12px}.welcome{padding-top:43px}.welcome h1{font-size:clamp(42px,12vw,58px)}.welcome-title-wrap{gap:12px;margin-top:18px;margin-bottom:24px}.welcome-title-wrap>p{font-size:13px;line-height:1.7}.eyebrow{font-size:9px;letter-spacing:.12em}.suggestions{grid-template-columns:1fr;gap:9px}.suggestion{min-height:78px;padding:11px 14px;gap:13px}.suggestion-icon{width:42px;height:42px;font-size:20px}.suggestion small{font-size:11px;margin-top:-3px}.suggestion strong{font-size:13px}.explore-teaser{display:none}.workspace{padding:0 18px}.classic-pill span{font-size:11px}.composer-bottom>span:last-child{display:none}.composer-bottom{font-size:9px;padding-left:4px}.composer{padding:10px 9px 10px 13px;border-radius:14px}.composer textarea{font-size:14px}.safety-note{font-size:9px;margin-top:7px}.source-grid,.browse-cards{grid-template-columns:1fr}.conversation{padding-top:26px;gap:18px}.question-bubble{max-width:94%;font-size:13px;padding:11px 13px}.response{gap:9px}.avatar{height:28px;width:28px;flex-basis:28px;font-size:15px}.answer-body{font-size:13px}.source-card{padding:12px}.browse-view{padding-top:41px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Source-card links have their own typographic treatment, independent of inline citations. */
.answer-body a.source-card{text-decoration:none;color:var(--ink);font-weight:400}
.answer-body a.source-card strong{color:#284b3a;font-weight:710;text-decoration:none}
.answer-body a.source-card .source-open{color:#276445}

/* Conversation-first responses, with unobtrusive links to source pages. */
.answer-references{margin:18px 0 4px;border-top:1px solid var(--line);padding-top:13px}
.answer-references-title{color:#718578;font-size:11px;font-weight:700;margin-bottom:8px}
.answer-reference-links{display:flex;gap:8px;flex-wrap:wrap}
.answer-body .answer-reference-links a{display:inline-flex;align-items:center;max-width:100%;border:1px solid #d8e6d9;border-radius:9px;background:#fff;color:#285940;text-decoration:none;padding:7px 10px;font-size:11px;font-weight:640;line-height:1.4;overflow-wrap:anywhere}
.answer-body .answer-reference-links a:hover{background:#eaf2e9;border-color:#b9cfb9}
@media(max-width:510px){.answer-reference-links{gap:6px}.answer-body .answer-reference-links a{font-size:11px}}

/* v7 — visitor-controlled AI Mode appearance. No styles are applied to Classic Site. */
:root{--ai-font-adjust:0px}
.topbar-actions{gap:11px}
.appearance-anchor{position:relative;display:flex;align-items:center}
.appearance-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 12px;border:1px solid #dce5dc;border-radius:99px;background:#fff;color:#264a3a;font-size:12px;font-weight:680;white-space:nowrap;transition:background .15s,border-color .15s}
.appearance-toggle:hover,.appearance-toggle[aria-expanded="true"]{background:#e7f0e5;border-color:#b4c8b5}
.appearance-panel{position:absolute;right:0;top:calc(100% + 13px);width:min(348px,calc(100vw - 24px));max-height:min(540px,calc(100dvh - 90px));overflow:auto;padding:20px;border:1px solid #dbe6da;background:#fff;color:#244132;border-radius:17px;box-shadow:0 22px 65px #122d2430;z-index:45;line-height:1.5}
.appearance-panel-heading{display:grid;gap:2px;padding-bottom:15px;border-bottom:1px solid #e6ebe5;margin-bottom:7px}
.appearance-panel-heading strong{font-size:16px;letter-spacing:-.02em}.appearance-panel-heading span{font-size:12px;color:#6c7b72}
.appearance-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0ec;font-size:13px;font-weight:650}
.appearance-stepper,.appearance-theme{display:flex;align-items:center;gap:6px}
.appearance-stepper button{display:grid;place-items:center;width:33px;height:33px;border:1px solid #d9e3d9;border-radius:9px;background:#f6f9f5;color:#244735;font-size:18px}
.appearance-stepper button:hover{background:#e9f1e9}.appearance-stepper output{min-width:38px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums}
.appearance-theme button{border:1px solid #d9e3d9;border-radius:9px;background:#fff;color:#52665a;padding:7px 10px;font-size:12px}
.appearance-theme button[aria-pressed="true"]{background:#22533e;color:#fff;border-color:#22533e}
.appearance-colors{display:grid;gap:10px;padding:14px 0 9px;font-size:13px;font-weight:650}
.appearance-swatches{display:flex;gap:10px;flex-wrap:wrap}
.appearance-swatches button{width:30px;height:30px;flex:0 0 30px;border:1px solid #a2afa3;border-radius:50%;box-shadow:0 1px 3px #00000012}
.appearance-swatches button:hover{transform:scale(1.08)}
.appearance-swatches button[aria-pressed="true"]{outline:2px solid #2b7b57;outline-offset:3px}
.appearance-swatches [data-appearance-color="#F6F7F3"]{background:#f6f7f3}
.appearance-swatches [data-appearance-color="#FFF4DF"]{background:#fff4df}
.appearance-swatches [data-appearance-color="#E4F2FA"]{background:#e4f2fa}
.appearance-swatches [data-appearance-color="#172F4D"]{background:#172f4d}
.appearance-swatches [data-appearance-color="#15241E"]{background:#15241e}
.appearance-tip{font-size:11px;line-height:1.6;color:#75867b;margin:9px 0 15px}
.appearance-panel-actions{display:flex;justify-content:space-between;gap:9px}
.appearance-panel-actions button{background:#f3f7f2;border:1px solid #d6e3d5;border-radius:9px;padding:8px 11px;color:#29533c;font-size:12px;font-weight:650}
.appearance-panel-actions button:hover:not(:disabled){background:#e2efe2}
.appearance-panel-actions button:disabled{opacity:.45}
/* Each font command adds or removes exactly one CSS pixel from regular text. */
.answer-body,.composer textarea{font-size:calc(14px + var(--ai-font-adjust))}
.question-bubble,.browse-view>p,.suggestion strong,.topbar-name,.new-chat,.category,.classic-link,.context-card strong{font-size:calc(13px + var(--ai-font-adjust))}
.suggestion small,.answer-body .answer-reference-links a,.classic-pill,.appearance-toggle,.browse-card p,.aside-note strong,.appearance-panel,.appearance-row,.appearance-tip,.appearance-panel-actions button,.appearance-panel-heading span,.appearance-theme button,.composer-bottom,.safety-note{font-size:calc(12px + var(--ai-font-adjust))}
.browse-card strong,.welcome-title-wrap>p{font-size:calc(15px + var(--ai-font-adjust))}
@media(max-width:510px){.appearance-toggle{width:42px;min-width:42px;height:42px;padding:0}.appearance-toggle span{display:none}.topbar-actions{gap:7px}.topbar{gap:7px}.classic-pill{gap:6px;padding:10px 11px}.appearance-panel{position:fixed;right:8px;top:70px;width:min(348px,calc(100vw - 16px));max-height:calc(100dvh - 82px)}
 .answer-body,.composer textarea{font-size:calc(13px + var(--ai-font-adjust))}
 .question-bubble,.suggestion strong{font-size:calc(13px + var(--ai-font-adjust))}
}
/* User-selected themes: resolved from validated accessible colour pairs. */
html[data-ai-theme="custom"]{--forest:var(--ai-foreground);--ink:var(--ai-foreground);--line:var(--ai-border);--canvas:var(--ai-background);--white:var(--ai-panel);--soft:var(--ai-panel-2)}
html[data-ai-theme="custom"] body,html[data-ai-theme="custom"] .content,html[data-ai-theme="custom"] .workspace{color:var(--ai-foreground);background:var(--ai-background)}
html[data-ai-theme="custom"] .sidebar{background:var(--ai-panel-2);color:var(--ai-foreground);border-color:var(--ai-border)}
html[data-ai-theme="custom"] .topbar{background:var(--ai-panel);border-color:var(--ai-border)}
html[data-ai-theme="custom"] .composer-zone{background:linear-gradient(to bottom,transparent,var(--ai-background) 20%)}
html[data-ai-theme="custom"] .composer,html[data-ai-theme="custom"] .suggestion,html[data-ai-theme="custom"] .browse-card,html[data-ai-theme="custom"] .new-chat,html[data-ai-theme="custom"] .classic-pill,html[data-ai-theme="custom"] .appearance-toggle,html[data-ai-theme="custom"] .answer-body .answer-reference-links a,html[data-ai-theme="custom"] .context-card,html[data-ai-theme="custom"] .aside-note{background:var(--ai-panel);border-color:var(--ai-border);color:var(--ai-foreground)}
html[data-ai-theme="custom"] .question-bubble,html[data-ai-theme="custom"] .category.active,html[data-ai-theme="custom"] .category:hover{background:var(--ai-bubble);color:var(--ai-foreground);border-color:var(--ai-border)}
html[data-ai-theme="custom"] .suggestion strong,html[data-ai-theme="custom"] .suggestion small,html[data-ai-theme="custom"] .welcome h1,html[data-ai-theme="custom"] .welcome h1 em,html[data-ai-theme="custom"] .welcome-title-wrap>p,html[data-ai-theme="custom"] .topbar-name,html[data-ai-theme="custom"] .topbar-brand,html[data-ai-theme="custom"] .new-chat,html[data-ai-theme="custom"] .category,html[data-ai-theme="custom"] .category.active,html[data-ai-theme="custom"] .classic-link,html[data-ai-theme="custom"] .brand,html[data-ai-theme="custom"] .browse-view h1,html[data-ai-theme="custom"] .browse-view>p,html[data-ai-theme="custom"] .browse-card strong,html[data-ai-theme="custom"] .browse-card p,html[data-ai-theme="custom"] .question-bubble,html[data-ai-theme="custom"] .answer-body,html[data-ai-theme="custom"] .composer textarea,html[data-ai-theme="custom"] .composer textarea::placeholder{color:var(--ai-foreground)}
html[data-ai-theme="custom"] .aside-note p,html[data-ai-theme="custom"] .grounded-label,html[data-ai-theme="custom"] .category,html[data-ai-theme="custom"] .sidebar-caption,html[data-ai-theme="custom"] .safety-note,html[data-ai-theme="custom"] .composer-bottom,html[data-ai-theme="custom"] .privacy-link,html[data-ai-theme="custom"] .answer-references-title,html[data-ai-theme="custom"] .context-caption,html[data-ai-theme="custom"] .response-note{color:var(--ai-muted-foreground)}
html[data-ai-theme="custom"] .answer-body a,html[data-ai-theme="custom"] .answer-body .answer-reference-links a,html[data-ai-theme="custom"] .classic-link{color:var(--ai-link)}
html[data-ai-theme="custom"] .answer-references{border-color:var(--ai-border)}
html[data-ai-theme="custom"] .brand-symbol,html[data-ai-theme="custom"] .avatar{background:var(--ai-foreground);color:var(--ai-background)}
html[data-ai-theme="custom"] .status-dot{background:var(--ai-link)}
/* Appearance panel always uses a stable readable interface, even in custom themes. */
html[data-ai-theme="custom"] .appearance-panel{background:#fff;color:#244132}
html[data-ai-theme="custom"] .appearance-panel-heading span,html[data-ai-theme="custom"] .appearance-tip{color:#64786c}
/* Responsive comparison table generated from the site's published catalog. */
.ai-comparison{margin:19px 0 8px}.ai-comparison-title{font-size:calc(17px + var(--ai-font-adjust));line-height:1.35;margin:0 0 6px;font-weight:760;letter-spacing:-.02em}
.ai-comparison-intro{font-size:calc(12px + var(--ai-font-adjust));opacity:.8;margin:0 0 14px!important}
.ai-table-wrap{width:100%;overflow-x:auto;border-radius:12px;border:1px solid var(--line)}
.ai-tools-table{border-collapse:collapse;table-layout:auto;width:100%;background:var(--white);font-size:calc(12px + var(--ai-font-adjust));line-height:1.5}
.ai-tools-table th{text-align:left;color:#5b7566;letter-spacing:.035em;font-size:calc(11px + var(--ai-font-adjust));background:#ebf2ea;padding:11px 13px;font-weight:750}
.ai-tools-table td{vertical-align:top;padding:13px;border-top:1px solid var(--line);overflow-wrap:anywhere}
.ai-tools-table th:first-child,.ai-tools-table td:first-child{width:28%;font-weight:690}
.ai-tools-table th:nth-child(2),.ai-tools-table td:nth-child(2){width:15%}
.ai-tools-table th:last-child,.ai-tools-table td:last-child{white-space:nowrap;width:10%}
.ai-tools-table tr[hidden]{display:none!important}
.ai-tools-table a{white-space:nowrap;text-decoration:none}
.ai-table-more{margin:12px 0 0;background:transparent;color:var(--forest);border:1px solid var(--line);border-radius:9px;padding:10px 13px;font-size:calc(12px + var(--ai-font-adjust));font-weight:720}
.ai-table-more:hover{background:var(--soft)}
html[data-ai-theme="custom"] .ai-tools-table{background:var(--ai-panel);color:var(--ai-foreground)}
html[data-ai-theme="custom"] .ai-tools-table th{background:var(--ai-panel-2);color:var(--ai-foreground)}
html[data-ai-theme="custom"] .ai-tools-table td,html[data-ai-theme="custom"] .ai-table-wrap{border-color:var(--ai-border)}
html[data-ai-theme="custom"] .ai-tools-table a{color:var(--ai-link)}
html[data-ai-theme="custom"] .ai-table-more{background:var(--ai-panel);color:var(--ai-foreground);border-color:var(--ai-border)}
@media(max-width:620px){
 .ai-table-wrap{overflow:visible;border:0}.ai-tools-table,.ai-tools-table tbody,.ai-tools-table tr,.ai-tools-table td{display:block;width:100%!important;white-space:normal!important}
 .ai-tools-table{background:transparent}.ai-tools-table thead{display:none}.ai-tools-table tr{border:1px solid var(--line);border-radius:12px;margin:0 0 10px;overflow:hidden;background:var(--white)}
 .ai-tools-table td{padding:7px 12px;border:none;display:grid;grid-template-columns:74px minmax(0,1fr);gap:8px;font-weight:400!important}
 .ai-tools-table td:first-child{padding-top:13px;font-weight:700!important}.ai-tools-table td:last-child{padding-bottom:13px}
 .ai-tools-table td::before{content:attr(data-label);font-size:11px;font-weight:700;color:#738978}
 html[data-ai-theme="custom"] .ai-tools-table tr{background:var(--ai-panel);border-color:var(--ai-border)}
 html[data-ai-theme="custom"] .ai-tools-table td::before{color:var(--ai-muted-foreground)}
}
/* Discreet examples to introduce the conversational interface controls. */
.feature-prompt-line{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:22px auto 0;font-size:11px;color:#738579;line-height:1.7}
.feature-prompt-line>span{margin-right:2px}
.feature-prompt-line button{border:1px solid #d9e6d9;background:#fdfefd;border-radius:99px;padding:6px 10px;color:#315e46;font-weight:650;font-size:11px}
.feature-prompt-line button:hover{background:#eaf3e9}
.feature-prompt-line button span{margin-left:3px}
html[data-ai-theme="custom"] .feature-prompt-line{color:var(--ai-muted-foreground)}
html[data-ai-theme="custom"] .feature-prompt-line button{background:var(--ai-panel);color:var(--ai-foreground);border-color:var(--ai-border)}
@media(max-width:510px){.feature-prompt-line{justify-content:flex-start;gap:6px}.feature-prompt-line>span{width:100%;font-size:11px}}

/* Keep the displayed 14px base consistent on mobile; commands adjust it in 1px steps. */
@media(max-width:510px){.answer-body,.composer textarea{font-size:calc(14px + var(--ai-font-adjust))}}

/* Category summary is intentionally a compact 2-column aggregate, not tool cards. */
.ai-category-count-table th:first-child,.ai-category-count-table td:first-child{width:74%}
.ai-category-count-table th:nth-child(2),.ai-category-count-table td:nth-child(2),.ai-category-count-table th:last-child,.ai-category-count-table td:last-child{width:26%;white-space:normal;text-align:right;font-variant-numeric:tabular-nums}
.ai-category-total{font-weight:800;background:var(--soft)}
html[data-ai-theme="custom"] .ai-category-total{background:var(--ai-panel-2)}
@media(max-width:600px){
 .ai-category-count-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:8px 12px}
 .ai-category-count-table td{display:block;width:auto!important;padding:7px 0!important;font-weight:600!important}
 .ai-category-count-table td::before{content:none}
 .ai-category-count-table td:last-child{min-width:2.5em;text-align:right;font-weight:750!important}
}

/* v9 — read-aloud experience, independent of OpenAI credentials. */
.voice-anchor{position:relative;display:flex;align-items:center}
.voice-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 12px;border:1px solid #dce5dc;border-radius:99px;background:#fff;color:#264a3a;font-size:12px;font-weight:680;white-space:nowrap;transition:background .15s,border-color .15s}
.voice-toggle:hover,.voice-toggle[aria-expanded="true"]{background:#e7f0e5;border-color:#b4c8b5}
.voice-toggle:disabled{opacity:.55}
.voice-panel{position:absolute;right:0;top:calc(100% + 13px);width:min(350px,calc(100vw - 20px));max-height:calc(100dvh - 85px);overflow:auto;padding:18px;border:1px solid #dbe6da;background:#fff;color:#244132;border-radius:17px;box-shadow:0 22px 65px #122d2430;z-index:46;line-height:1.5;font-size:13px}
.voice-panel-heading{display:grid;gap:3px;padding-bottom:14px;border-bottom:1px solid #e6ebe5;margin-bottom:9px}
.voice-panel-heading strong{font-size:16px;letter-spacing:-.02em}
.voice-panel-heading span,.voice-auto-line small,.voice-note{color:#63766c;font-size:11px;line-height:1.5}
.voice-auto-line{display:flex;align-items:flex-start;gap:10px;padding:12px 0 16px;cursor:pointer}
.voice-auto-line input{accent-color:#245945;min-width:17px;min-height:17px;margin:2px 0}
.voice-auto-line>span{display:grid;gap:2px}
.voice-auto-line strong{font-size:12px;font-weight:720}
.voice-setting{display:flex;justify-content:space-between;gap:12px;font-weight:680;font-size:12px;margin:0 0 8px}
.voice-setting:not(:first-of-type){margin-top:13px}
.voice-panel select{width:100%;padding:10px 12px;border-radius:10px;border:1px solid #ccdace;background:#fafcf9;color:#244132;font-size:12px;min-width:0}
.voice-global-stop{margin-top:15px;padding:9px 13px;border:1px solid #ccdace;border-radius:9px;background:#f3f7f2;color:#244132;font-size:12px;font-weight:680}
.voice-global-stop:disabled{opacity:.45}
.voice-note{margin:13px 0 0}
.voice-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:-11px 0 7px 47px;min-height:28px}
.voice-actions button{font-size:11px;line-height:1.2;font-weight:680;padding:6px 10px;border:1px solid #d9e7da;border-radius:8px;background:transparent;color:#32604a}
.voice-actions button:hover{background:#eaf2e9}
.voice-actions.voice-reading [data-voice-action="play"]{background:#e8f1e8;border-color:#b8d0bb}
html[data-ai-theme="custom"] .voice-toggle,html[data-ai-theme="custom"] .voice-actions button{background:var(--ai-panel);color:var(--ai-foreground);border-color:var(--ai-border)}
html[data-ai-theme="custom"] .voice-panel{background:#fff;color:#244132}
html[data-ai-theme="custom"] .voice-panel-heading span,html[data-ai-theme="custom"] .voice-auto-line small,html[data-ai-theme="custom"] .voice-note{color:#63766c}
@media(max-width:790px){.voice-panel{position:fixed;top:68px;right:8px;width:min(350px,calc(100vw - 16px));max-height:calc(100dvh - 78px)}}
@media(max-width:510px){.voice-toggle{width:42px;min-width:42px;height:42px;padding:0}.voice-toggle span{display:none}.topbar-actions{gap:6px}.voice-actions{margin-left:37px;margin-top:-10px}.voice-panel{top:68px}}
@media(max-width:360px){.topbar-name{display:none}.topbar-actions{margin-left:auto}}

/* v10 — personal workspace: clocks, countdowns, stopwatch and sticky notes. */
.utility-dock{position:fixed;z-index:19;top:96px;right:clamp(12px,1.8vw,28px);width:264px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 166px);display:flex;flex-direction:column;pointer-events:none;filter:drop-shadow(0 15px 26px rgba(28,45,34,.12));color:#274034;font-size:13px}
.utility-dock-toolbar{pointer-events:auto;display:flex;justify-content:space-between;align-items:center;gap:8px;background:#f1f5ef;border:1px solid #dce6da;border-bottom:0;border-radius:13px 13px 0 0;padding:9px 12px;font-size:10px;letter-spacing:.12em;font-weight:750;color:#496958}
.utility-dock-toolbar>span{display:flex;align-items:center;gap:7px;min-width:0;white-space:nowrap}
.utility-dock-mark{font-size:16px;color:#48765c}.utility-dock-toolbar small{font-size:9px;letter-spacing:0;color:#85998a;font-weight:600}
.utility-dock-toolbar button{border:0;background:transparent;color:#2d654a;font-weight:700;font-size:11px;padding:3px;white-space:nowrap}
.utility-items{pointer-events:auto;overflow:auto;overscroll-behavior:contain;max-height:calc(100dvh - 213px);scrollbar-width:thin;border:1px solid #dce6da;border-radius:0 0 14px 14px;background:#f1f5ef;padding:6px;display:grid;gap:7px}
.utility-dock.minimized{width:177px}.utility-dock.minimized .utility-dock-toolbar{border:1px solid #dce6da;border-radius:14px}.utility-dock.minimized .utility-items{display:none}
.utility-card{background:#fff;border:1px solid #e4e9e1;border-radius:11px;padding:12px;min-width:0}
.utility-card-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 10px}
.utility-card-label{font-size:9px;letter-spacing:.135em;color:#748a78;font-weight:800}
.utility-head-actions{display:flex;gap:7px;align-items:center}
.utility-card button{font-family:inherit}.utility-head-link{background:none;border:0;color:#32664c;font-size:10px;font-weight:700;padding:3px}
.utility-close{border:0;background:#edf2ec;color:#53715c;border-radius:7px;width:23px;height:23px;font-size:18px;line-height:1;display:grid;place-items:center}
.utility-clock-time{text-align:center;font-variant-numeric:tabular-nums;letter-spacing:-.03em;font-size:26px;font-weight:680;color:#214633;padding:8px 0 3px}
.utility-clock-date{text-align:center;color:#738677;font-size:11px;padding-bottom:3px}
.utility-clock-face{position:relative;width:145px;height:145px;border:6px solid #e8efe8;border-radius:50%;margin:5px auto 6px;background:radial-gradient(circle,#fff 60%,#f3f7f1 100%);box-shadow:inset 0 0 0 1px #ccdccc}
.utility-dial-num{position:absolute;font-size:12px;color:#3e644b;font-weight:720;line-height:1}
.utility-dial-12{top:8px;left:50%;transform:translateX(-50%)}.utility-dial-3{right:9px;top:50%;transform:translateY(-50%)}.utility-dial-6{bottom:8px;left:50%;transform:translateX(-50%)}.utility-dial-9{left:9px;top:50%;transform:translateY(-50%)}
.utility-hand{position:absolute;left:calc(50% - 1px);bottom:50%;width:2px;border-radius:6px;background:#2c6046;transform-origin:50% 100%}
.utility-hand-hour{height:35px;width:4px;left:calc(50% - 2px)}.utility-hand-minute{height:50px;width:3px;left:calc(50% - 1.5px)}.utility-hand-second{height:55px;width:1.5px;left:calc(50% - .75px);background:#d06840}
.utility-clock-center{position:absolute;left:50%;top:50%;width:7px;height:7px;transform:translate(-50%,-50%);border-radius:50%;background:#315e48}
.utility-analog-caption{text-align:center;font-size:11px;color:#738677;padding-bottom:4px;font-variant-numeric:tabular-nums}
.utility-timer-time{font-size:31px;font-weight:750;letter-spacing:-.05em;text-align:center;font-variant-numeric:tabular-nums;color:#234734;margin:2px 0 4px}
.utility-timer-state{text-align:center;color:#748578;font-size:11px;margin:0 0 10px}
.utility-timer-actions{display:flex;gap:8px;justify-content:center}.utility-timer-actions button{padding:8px 12px;border-radius:9px;font-size:11px;font-weight:700}
.utility-primary{color:white;border:1px solid #21523e;background:#21523e}.utility-secondary{background:#f1f5f0;color:#375e48;border:1px solid #d4e0d5}
.utility-sticky{background:#fff6d9;border:1px solid #f1e4ae;box-shadow:0 2px 7px #96743d13;transform:none}
.utility-sticky .utility-card-label{color:#8f7946}.utility-sticky .utility-close{color:#816e40;background:#f9e9b9}
.utility-note-edit{display:block;resize:vertical;width:100%;max-height:190px;min-height:64px;background:transparent;outline-color:#a49257;border:1px solid transparent;border-radius:6px;padding:3px 2px;line-height:1.5;font-size:13px;color:#4e4125;overflow-wrap:anywhere}
.utility-note-edit:focus{border-color:#c9b773;background:#fffae7}.utility-note-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#a3936b;font-size:9px;margin-top:6px}
.utility-note-save{border:1px solid #e7d7a1;background:#fffaeb;padding:5px 9px;border-radius:6px;color:#66572b;font-size:10px;font-weight:700}
.app.has-widgets .conversation{padding-right:min(22vw,250px)}
.cli-exit{border:1px solid #bcd9c3;background:#eaf4e9;color:#244e37;border-radius:30px;padding:9px 12px;font-size:11px;font-weight:760;white-space:nowrap}
/* CLI is a visual mode only; the actual AI and privacy constraints remain in effect. */
.app.cli-mode{--forest:#7decaa;--pine:#7decaa;--ink:#c5f5d2;--muted:#9dbcaa;--line:#26503a;--canvas:#08140e;--white:#0e2016;--soft:#12291b;--shadow:none;color:#b6e7c2;font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace}
.app.cli-mode .content,.app.cli-mode .workspace,.app.cli-mode .sidebar{background:#08140e;color:#b6e7c2}
.app.cli-mode .sidebar{border-color:#26503a}.app.cli-mode .topbar{background:#0b1d13;border-color:#26503a;backdrop-filter:none}
.app.cli-mode .topbar-name,.app.cli-mode .topbar-brand,.app.cli-mode .grounded-label,.app.cli-mode .brand,.app.cli-mode .welcome-title-wrap>p,.app.cli-mode .welcome h1,.app.cli-mode .welcome h1 em,.app.cli-mode .answer-body,.app.cli-mode .question-bubble,.app.cli-mode .sidebar-caption,.app.cli-mode .aside-note p{color:#b6e7c2}
.app.cli-mode .welcome h1{font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;font-size:clamp(31px,4vw,50px);letter-spacing:-.05em}
.app.cli-mode .eyebrow,.app.cli-mode .sidebar-mode,.app.cli-mode .browse-kicker{color:#7decaa}
.app.cli-mode .suggestion,.app.cli-mode .browse-card,.app.cli-mode .new-chat,.app.cli-mode .aside-note,.app.cli-mode .context-card,.app.cli-mode .classic-pill,.app.cli-mode .voice-toggle,.app.cli-mode .appearance-toggle,.app.cli-mode .question-bubble,.app.cli-mode .composer{background:#0e2016;border-color:#26503a;color:#b6e7c2;box-shadow:none}
.app.cli-mode .suggestion strong,.app.cli-mode .suggestion small,.app.cli-mode .browse-card strong,.app.cli-mode .browse-card p,.app.cli-mode .category,.app.cli-mode .category.active,.app.cli-mode .classic-link,.app.cli-mode .composer textarea,.app.cli-mode .composer textarea::placeholder{color:#b6e7c2}
.app.cli-mode .category.active,.app.cli-mode .category:hover{background:#174128;color:#a7efbb}
.app.cli-mode .composer-zone{background:linear-gradient(to bottom,transparent,#08140e 22%)}
.app.cli-mode .composer:before{content:'vic@tools:~$';color:#7decaa;font-size:12px;font-weight:740;white-space:nowrap;margin:7px 2px 0 0}
.app.cli-mode .send-button,.app.cli-mode .brand-symbol,.app.cli-mode .avatar{background:#25593b;color:#ccf5d9}
.app.cli-mode .answer-body a,.app.cli-mode .answer-body .answer-reference-links a{color:#7decaa}
.app.cli-mode .answer-body .answer-reference-links a{background:#0e2016;border-color:#26503a}
.app.cli-mode .menu-button span{background:#9ad9ad}
.app.cli-mode .utility-dock{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
@media(max-width:1170px){.app.has-widgets .conversation{padding-right:225px}}
@media(max-width:950px){.app.has-widgets .conversation{padding-right:0}.utility-dock{top:79px;width:235px;max-height:calc(100dvh - 150px)}.utility-items{max-height:calc(100dvh - 200px)}}
@media(max-width:510px){.utility-dock{top:74px;right:9px;width:190px;max-width:calc(100vw - 18px);max-height:calc(100dvh - 155px)}.utility-dock-toolbar{padding:6px 8px}.utility-dock-toolbar small{display:none}.utility-card{padding:9px}.utility-items{max-height:calc(100dvh - 195px)}.utility-clock-time{font-size:19px}.utility-clock-face{width:118px;height:118px}.utility-dial-num{font-size:10px}.utility-hand-hour{height:26px}.utility-hand-minute{height:40px}.utility-hand-second{height:45px}.utility-timer-time{font-size:23px}.utility-note-edit{font-size:12px;min-height:48px}.cli-exit{padding:9px 8px;font-size:10px}.app.cli-mode .composer:before{content:'>$';font-size:11px}}
@media(max-width:360px){.cli-exit{padding:7px 5px;font-size:9px}.app.cli-mode .topbar-name{display:none}}
/* Terminal workspace widgets share the terminal palette, without changing note contents. */
.app.cli-mode .utility-dock{filter:drop-shadow(0 10px 28px rgba(0,0,0,.3))}
.app.cli-mode .utility-dock-toolbar,.app.cli-mode .utility-items{background:#0d2115;border-color:#285438;color:#9cdeb0}
.app.cli-mode .utility-card{background:#102619;border-color:#285438;color:#b6e7c2}
.app.cli-mode .utility-card-label,.app.cli-mode .utility-timer-state,.app.cli-mode .utility-clock-date,.app.cli-mode .utility-analog-caption{color:#90bba0}
.app.cli-mode .utility-clock-time,.app.cli-mode .utility-timer-time{color:#a8f5b7}
.app.cli-mode .utility-head-link,.app.cli-mode .utility-dock-toolbar button{color:#b1f5c2}
.app.cli-mode .utility-close,.app.cli-mode .utility-secondary{background:#1b3c26;border-color:#285438;color:#a8e5b5}
.app.cli-mode .utility-clock-face{background:#12291b;border-color:#244b32;box-shadow:inset 0 0 0 1px #326e4b}
.app.cli-mode .utility-dial-num{color:#b1f5c2}
.app.cli-mode .utility-hand-hour,.app.cli-mode .utility-hand-minute{background:#b1f5c2}
.app.cli-mode .utility-sticky{background:#332b16;border-color:#766026}
.app.cli-mode .utility-sticky .utility-card-label,.app.cli-mode .utility-sticky .utility-note-foot{color:#e9ca73}
.app.cli-mode .utility-note-edit{color:#f5e6af}.app.cli-mode .utility-note-edit:focus{background:#453619;border-color:#806d35}
.app.cli-mode .utility-note-save{background:#493b1f;border-color:#756337;color:#f6e2a3}
@media(max-width:510px){
  .app.cli-mode .topbar-name{display:none}
  .app.cli-mode .classic-pill{padding:10px;min-width:40px;justify-content:center}
  .app.cli-mode .classic-pill span{display:none}
}
@media(min-width:361px) and (max-width:510px){.app.cli-mode .classic-pill span{display:inline}}

/* v11: long location labels remain readable in the multi-clock dock. */
.utility-clock .utility-card-label{min-width:0;overflow-wrap:anywhere;line-height:1.4;letter-spacing:.07em}
.utility-clock .utility-head-actions{flex-shrink:0;gap:3px}
@media(max-width:510px){.utility-clock .utility-card-label{font-size:8px}.utility-clock .utility-head-link{font-size:9px;padding:2px}}
/* Keep the fixed widget dock above the input composer on narrow screens. */
@media(max-width:950px){
  .utility-dock{max-height:calc(100dvh - 290px)}
  .utility-items{max-height:calc(100dvh - 335px)}
}
@media(max-width:510px){
  .utility-dock{max-height:calc(100dvh - 295px)}
  .utility-items{max-height:calc(100dvh - 340px)}
}
/* The composer must never become inaccessible behind a tall widget stack. */
.utility-dock{max-height:calc(100dvh - 300px)}
.utility-items{max-height:calc(100dvh - 345px)}
.composer-zone{z-index:22}
@media(max-width:950px){.utility-dock{max-height:calc(100dvh - 290px)}.utility-items{max-height:calc(100dvh - 335px)}}
@media(max-width:510px){.utility-dock{max-height:calc(100dvh - 295px)}.utility-items{max-height:calc(100dvh - 340px)}}

/* v12 — iPhone-friendly, distraction-free chat composer. Keep pinch zoom enabled. */
.composer-zone{
  padding-top:12px;
  padding-bottom:max(12px,env(safe-area-inset-bottom));
}
.composer{
  border-radius:16px;
  padding:10px 11px 10px 16px;
  gap:10px;
  box-shadow:0 3px 20px rgba(24,57,42,.095);
}
.composer:focus-within{
  border-color:#70a98a;
  box-shadow:0 3px 20px rgba(24,57,42,.095),0 0 0 2px rgba(63,137,89,.12);
}
.composer textarea{
  min-height:42px;
  padding:9px 0;
  line-height:1.5;
  letter-spacing:0;
}
.send-button{
  flex-basis:42px;
  width:42px;
  height:42px;
  border-radius:11px;
}
.conversation{padding-bottom:26px;gap:21px}
.question-bubble{line-height:1.55}
.answer-body{line-height:1.75}
/* Font size below 16px causes Safari on iPhone to zoom when an input receives focus.
   This minimum also holds when the visitor has selected a smaller AI text size. */
@media (max-width:790px){
  .composer textarea{font-size:max(16px,calc(14px + var(--ai-font-adjust)))}
  .utility-note-edit,.voice-panel select{font-size:16px}
}
@media (max-width:510px){
  .composer-zone{
    padding:8px 12px max(10px,env(safe-area-inset-bottom));
  }
  .composer{padding:7px 8px 7px 14px;border-radius:15px;gap:8px}
  .composer textarea{
    min-height:42px;
    padding:9px 0;
    font-size:max(16px,calc(14px + var(--ai-font-adjust)));
  }
  .send-button{width:42px;height:42px;flex-basis:42px}
  .conversation{padding-top:22px;padding-bottom:20px;gap:18px}
  .answer-body{line-height:1.7}
}
/* Also protect iOS Safari on wider devices or in landscape orientation. */
@supports (-webkit-touch-callout:none){
  .composer textarea{font-size:max(16px,calc(14px + var(--ai-font-adjust)))}
  .utility-note-edit,.voice-panel select{font-size:16px}
}

/* v13: desktop-first, genuinely wide chat with reserved widget clearance. */
@media(min-width:951px){
  .workspace{padding-left:clamp(20px,3vw,60px);padding-right:clamp(20px,3vw,60px)}
  .page-container{max-width:1480px;width:100%}
  .conversation{max-width:none;width:100%;margin:0;padding-left:0;padding-right:0;}
  .composer-zone{padding-left:clamp(20px,3vw,60px);padding-right:clamp(20px,3vw,60px)}
  .composer-inner{max-width:1480px;width:100%}
  .app.has-widgets .conversation{padding-right:clamp(260px,24vw,330px)}
  .app.has-widgets .composer-inner{padding-right:clamp(260px,24vw,330px)}
  .question-bubble{max-width:min(86%,820px)}
}
@media(min-width:951px) and (max-width:1170px){
  .app.has-widgets .conversation{padding-right:260px}
  .app.has-widgets .composer-inner{padding-right:260px}
}
/* Keep responsive chat width on tablets and mobile, unchanged font zoom protection. */
@media(min-width:511px) and (max-width:950px){
  .conversation{max-width:100%;width:100%}
  .composer-inner{max-width:100%}
}
.ai-launch-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 17px;margin:12px 0 4px;background:var(--white);border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 20px #0e30230b;text-decoration:none!important;color:var(--ink)!important;max-width:600px;transition:background .15s,border-color .15s}
.ai-launch-card:hover{border-color:#78a88a;background:var(--soft)}
.ai-launch-name{display:block;font-size:15px;font-weight:740;line-height:1.35}
.ai-launch-caption{display:block;font-size:12px;line-height:1.45;font-weight:450;margin-top:4px;opacity:.8}
.ai-launch-arrow{flex:none;display:grid;place-items:center;width:30px;height:30px;background:var(--soft);border-radius:9px;font-size:17px;font-weight:700}
.ai-launch-options{display:flex;flex-wrap:wrap;gap:9px;padding:8px 0}
.ai-launch-options a{border:1px solid var(--line);border-radius:10px;padding:9px 12px;background:var(--white);font-weight:600;font-size:13px;text-decoration:none!important}
.ai-launch-options a:hover{border-color:#6c9e83;background:var(--soft)}
@media(max-width:510px){.ai-launch-card{padding:12px}.ai-launch-name{font-size:14px}.ai-launch-caption{font-size:12px}}


/* v14 — Keep the composer at the bottom of the *visible* application viewport.
   The middle pane scrolls independently; the document itself never scrolls. */
html,body{height:100%;overflow:hidden}
.app{
  position:fixed;
  top:var(--ai-viewport-top,0px);
  left:0;
  width:100%;
  height:var(--ai-viewport-height,100dvh);
  min-height:0;
  overflow:hidden;
}
.content{height:100%;min-height:0;overflow:hidden}
.topbar{position:relative;top:auto;flex:0 0 auto}
.workspace{
  flex:1 1 auto;
  min-height:0;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
}
.composer-zone{
  position:relative;
  bottom:auto;
  flex:0 0 auto;
  width:100%;
  margin-top:auto;
}
/* Mobile layouts use a single content column without an independent body scroll. */
@media(max-width:790px){
  .content{height:100%;min-height:0}
  .sidebar{height:var(--ai-viewport-height,100dvh)}
  .workspace{scrollbar-gutter:auto}
}

/* v15 — Local rich-text documents and a compact, independent chat/editor mode. */
.composer-zone[hidden],.document-view[hidden]{display:none!important}
.editor-switch{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;align-self:center;border:0;border-radius:10px;color:#416453;background:#eef4ee;cursor:pointer;transition:background .15s,color .15s}
.editor-switch:hover,.editor-switch:focus-visible{background:#dcebe0;color:#174a32;outline:2px solid transparent}
.sidebar-files{width:100%;min-height:39px;display:flex;align-items:center;gap:9px;margin-top:7px;border:1px solid #46617c;border-radius:10px;padding:9px 13px;background:transparent;color:#dfebeb;text-align:left;font-size:12px;font-weight:650;cursor:pointer}
.sidebar-files:hover,.sidebar-files:focus-visible{background:#3c5672}
.sidebar-files span{font-size:17px;line-height:1}
.document-view{width:100%;max-width:980px;margin:0 auto;padding:36px 4px 45px;color:#23382e}
.document-top{padding:0 2px 20px}
.document-topline{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}
.document-kicker{font-size:10px;font-weight:800;letter-spacing:.15em;color:#718877}
.document-back{font-size:12px;font-weight:700;border:1px solid #d5e3d9;background:#fff;border-radius:9px;color:#275641;padding:10px 12px;cursor:pointer}
.document-name{display:block;width:100%;padding:5px 0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;font-size:clamp(24px,3vw,37px)!important;line-height:1.25;font-weight:760;color:inherit;letter-spacing:-.03em;min-width:0}
.document-name::placeholder{color:#8a9e93}
.document-subtitle{font-size:11px;color:#758b7d;margin-top:7px}
.document-toolbar{position:sticky;top:0;z-index:3;display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:9px;background:#fff;border:1px solid #dce7dc;border-bottom:0;border-radius:15px 15px 0 0;box-shadow:0 3px 10px #1d47320a}
.document-toolbar button{min-height:34px;padding:7px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#375846;font-size:13px;font-weight:650;white-space:nowrap;cursor:pointer}
.document-toolbar button:hover,.document-toolbar button:focus-visible{background:#edf4ee;border-color:#c9ddcd}
.document-tool-separator{height:22px;border-left:1px solid #dfe8e0;margin:0 4px}
.document-toolbar-spacer{flex:1 1 12px}
.document-toolbar button.document-save{background:#22513b;color:#fff;padding:8px 16px}
.document-toolbar button.document-save:hover{background:#153d2a}
.document-paper{box-sizing:border-box;min-height:clamp(350px,53vh,760px);padding:clamp(24px,4vw,54px);outline:0;background:white;border:1px solid #dce7dc;border-radius:0 0 15px 15px;box-shadow:0 12px 36px #2d543110;font-size:max(16px,calc(16px + var(--ai-font-adjust,0px)));line-height:1.78;color:#22372d;overflow-wrap:anywhere;white-space:normal}
.document-paper:focus-visible{border-color:#93b8a0}
.document-paper:empty:before{content:attr(data-placeholder);color:#a0b1a5;pointer-events:none}
.document-paper p{margin:0 0 .8em}.document-paper h2{font-size:1.35em;line-height:1.4}.document-paper ul,.document-paper ol{margin:0 0 .8em 0;padding-left:25px}
.document-paper blockquote{border-left:3px solid #98bd9e;padding-left:16px;color:#5a7162}
.document-footer{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:13px 3px;font-size:11px;color:#788f81}
.document-footer .is-error{color:#b13d36;font-weight:700}
.document-link-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:9px;margin-top:14px}
.document-link{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;text-align:left;background:#fff;border:1px solid #d7e5d8;border-radius:11px;padding:13px 14px;color:#244c35;cursor:pointer}
.document-link:hover,.document-link:focus-visible{border-color:#6ca27e;background:#eff6f0}
.document-link strong{font-size:13px;max-width:100%;overflow-wrap:anywhere}.document-link small{color:#758a7c;font-size:10px}
.app.cli-mode .document-view{color:#c1e6ca}.app.cli-mode .document-toolbar{background:#0e2016;border-color:#26503a}.app.cli-mode .document-paper{background:#10241a;color:#b6e7c2;border-color:#26503a}
.app.cli-mode .document-name{color:#b6e7c2}.app.cli-mode .document-toolbar button{color:#b6e7c2}.app.cli-mode .document-toolbar button.document-save{background:#25593b;color:#fff}
.app.cli-mode .editor-switch{background:#255039;color:#c1ebcb}.app.cli-mode .sidebar-files{color:#b6e7c2;border-color:#345942}
html[data-ai-theme="custom"] .document-paper,html[data-ai-theme="custom"] .document-toolbar,html[data-ai-theme="custom"] .document-back{background:var(--ai-panel);border-color:var(--ai-border);color:var(--ai-foreground)}
html[data-ai-theme="custom"] .document-view,html[data-ai-theme="custom"] .document-name{color:var(--ai-foreground)}
@media(max-width:790px){
  .document-view{padding:20px 0 26px}
  .document-top{padding-bottom:16px}
  .document-toolbar{position:relative;gap:2px;padding:6px}
  .document-toolbar button{min-height:38px;padding:8px 9px;font-size:12px}
  .document-tool-separator{margin:0 1px}
  .document-paper{min-height:48vh;padding:22px 18px;font-size:max(16px,calc(16px + var(--ai-font-adjust,0px)))}
  .document-footer>span:last-child{display:none}
  .editor-switch{width:36px;flex-basis:36px}
  .sidebar-files{font-size:13px}
}
@media(max-width:375px){.document-toolbar{gap:1px}.document-toolbar button{padding:7px 8px}.document-toolbar button.document-save{padding:8px 11px}.document-calc{font-size:11px!important}}

.document-math-preview{color:#1f7548!important;font-size:13px;font-weight:800;margin-left:auto;white-space:nowrap}
/* Match the light sidebar; retain high contrast in both color schemes. */
.sidebar-files{background:#fff;border-color:#d4ded3;color:#244e3b;box-shadow:0 3px 9px #254a3510}
.sidebar-files:hover,.sidebar-files:focus-visible{background:#e5efe5;border-color:#93b49c;color:#153d2c}
.app.cli-mode .sidebar-files{background:#0e2016;color:#b6e7c2;border-color:#345942}

/* v16: clean, accessible everyday toolbox */
.sidebar-toolbox{width:100%;min-height:43px;display:flex;align-items:center;gap:11px;margin:8px 0;border:1px solid #a5c4ad;border-radius:10px;padding:10px 13px;background:#e5f0e5;color:#1e533a;text-align:left;font-size:13px;font-weight:750;cursor:pointer}
.sidebar-toolbox:hover{background:#d5e8d7}.sidebar-toolbox span{font-size:20px}
.quick-toolbox{margin:-15px 0 22px}.quick-workspace{width:100%;display:flex;align-items:center;gap:16px;text-align:left;border:1px solid #bed8c5;background:#eaf3ea;border-radius:15px;padding:17px 21px;color:#244b36;cursor:pointer}.quick-workspace>span:first-child{font-size:30px}.quick-workspace>span:nth-child(2){display:grid;gap:4px;flex:1}.quick-workspace strong{font-size:15px}.quick-workspace small{font-size:12px;color:#607865}.quick-workspace:hover{border-color:#7aa38a;background:#e0efdf}
.toolbox-view{max-width:1150px;margin:0 auto;padding:36px 0 70px}.toolbox-view[hidden]{display:none!important}.toolbox-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px}.toolbox-kicker{font-size:10px;font-weight:800;letter-spacing:.16em;color:#5b856b}.toolbox-heading h1{font-family:Georgia,serif;font-size:clamp(40px,4vw,58px);letter-spacing:-.065em;font-weight:400;color:#214b35;margin:7px 0}.toolbox-heading-dot{color:#66a273}.toolbox-heading p{color:#637969;font-size:14px;line-height:1.65;margin:0}.toolbox-return{flex-shrink:0;border:1px solid #d5e3d6;background:#fff;border-radius:11px;padding:12px 16px;color:#24583e;font-weight:700;cursor:pointer}
.toolbox-tabs{display:flex;gap:6px;overflow-x:auto;padding:4px 0 10px;scrollbar-width:thin}.toolbox-tabs button{flex:0 0 auto;border:1px solid #dbe6db;background:#fff;color:#546d5a;border-radius:11px;padding:12px 17px;font-size:13px;font-weight:700;cursor:pointer}.toolbox-tabs button.active{background:#1d543b;color:#fff;border-color:#1d543b}.toolbox-tabs button:hover{border-color:#84ab8b}
.toolbox-content{background:#fff;border:1px solid #e0e9df;box-shadow:0 6px 35px #25422e08;border-radius:18px;padding:clamp(18px,3vw,32px);min-height:360px}.toolbox-pane[hidden]{display:none!important}.toolbox-section-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px}.toolbox-section-header h2{margin:0 0 5px;font-size:22px;color:#234b36;letter-spacing:-.035em}.toolbox-section-header p{margin:0;color:#6f8171;font-size:13px;line-height:1.5}.toolbox-private{color:#407452;background:#ebf4ec;border:1px solid #d8eadc;padding:6px 9px;border-radius:20px;font-weight:750;font-size:10px;white-space:nowrap}
.toolbox-content label,.toolbox-create-list>label,.toolbox-list-header>label{display:block;font-size:12px;font-weight:750;color:#405b46;margin-bottom:7px}.toolbox-content input[type=text],.toolbox-content input[type=number],.toolbox-content select,.toolbox-content textarea{width:100%;min-width:0;padding:12px 13px;border:1px solid #d7e3d9;background:#fff;border-radius:10px;color:#1e4130;font:inherit;font-size:16px;outline:none}.toolbox-content textarea{line-height:1.55;resize:vertical}.toolbox-content input:focus,.toolbox-content select:focus,.toolbox-content textarea:focus{border-color:#578d69;box-shadow:0 0 0 3px #4a98651a}.toolbox-content button,.toolbox-download{cursor:pointer}.toolbox-primary,.toolbox-download{border:0;border-radius:10px;background:#1f553c;color:#fff;padding:12px 18px;font-size:13px;font-weight:750;text-decoration:none;white-space:nowrap}.toolbox-primary:disabled{opacity:.46;cursor:not-allowed}.toolbox-inline{display:flex;align-items:stretch;gap:10px}.toolbox-inline input{flex:1}.toolbox-create-list{max-width:550px;margin-bottom:24px}.toolbox-list-header{display:flex;align-items:center;gap:12px;margin-bottom:15px}.toolbox-list-header label{margin:0}.toolbox-list-header select{width:min(360px,70%)}.toolbox-text-button{background:none;border:0;color:#8a554d;font-size:12px;font-weight:650;padding:10px}.toolbox-list-board{padding:22px;border:1px solid #e0e8df;background:#fcfdfb;border-radius:14px}.toolbox-list-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:14px}.toolbox-list-heading h3{font-size:19px;margin:0;color:#264d37}.toolbox-list-heading span{color:#6a8370;font-size:12px}.toolbox-list-items{display:grid;gap:0;margin-bottom:20px}.toolbox-task{display:flex;align-items:center;gap:10px;border-bottom:1px solid #ebefe9;min-height:46px}.toolbox-task label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;overflow-wrap:anywhere;font-weight:500!important;font-size:14px!important}.toolbox-task input{width:18px;height:18px;accent-color:#275d40}.toolbox-task span.done{text-decoration:line-through;color:#96a69a}.toolbox-icon-btn{border:0;background:transparent;color:#788a80;font-size:22px;padding:5px 10px}.toolbox-icon-btn:hover{color:#b04e41}.toolbox-empty{color:#89998d;font-size:13px;padding:18px 0;margin:0}.toolbox-pane-footer{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.toolbox-pane-footer button,.toolbox-chips button{border:1px solid #d3e1d4;background:#f8fbf7;color:#315d40;border-radius:9px;padding:10px 13px;font-size:12px;font-weight:700}.toolbox-pane-footer button:disabled{opacity:.4;cursor:not-allowed}.toolbox-chips{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0 23px}.toolbox-meter{color:#829387;font-size:12px;margin:8px 0 16px}.toolbox-convert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:22px}.toolbox-convert-grid label{display:grid;gap:6px}.toolbox-convert-result{padding:24px;border:1px solid #cfe5d2;background:#edf7ed;border-radius:13px;display:grid;gap:9px}.toolbox-convert-result span{font-size:12px;color:#5d7a63}.toolbox-convert-result output{font-size:clamp(23px,4vw,39px);font-weight:750;letter-spacing:-.04em;color:#215439;overflow-wrap:anywhere}.toolbox-footnote{font-size:12px;color:#7e8d81;line-height:1.7;margin:17px 0 0}.toolbox-file-picker{display:flex!important;flex-direction:column;gap:8px;border:2px dashed #bcd6c0;border-radius:15px;padding:22px!important;text-align:center;cursor:pointer;font-size:15px!important}.toolbox-file-picker span{font-size:11px;color:#859889}.toolbox-file-picker input{margin:5px auto;max-width:100%}.toolbox-image-preview{margin-top:20px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.toolbox-image-preview img{max-width:100%;width:auto;max-height:310px;border-radius:10px;object-fit:contain;border:1px solid #e0e7df}.toolbox-download{display:inline-block;margin-top:18px}.toolbox-shortcut-create{display:grid;grid-template-columns:1fr 1.6fr auto;align-items:end;gap:12px;margin-bottom:24px}.toolbox-shortcut-create label{margin-bottom:0}.toolbox-shortcut-create label input{margin-top:7px}.toolbox-shortcuts-list{display:grid;gap:9px}.toolbox-shortcut{display:grid;grid-template-columns:minmax(110px,1fr) 1.5fr auto;gap:16px;align-items:center;padding:12px;border:1px solid #e1e9e0;border-radius:11px}.toolbox-shortcut>button:first-child{border:0;text-align:left;background:transparent;color:#1d5940;font-weight:750}.toolbox-shortcut small{color:#889789;overflow-wrap:anywhere}.toolbox-status{margin-top:28px;min-height:19px;font-size:12px;color:#5b8465}.toolbox-status.error{color:#af4d3c}
.app.cli-mode .toolbox-content,.app.cli-mode .toolbox-tabs button,.app.cli-mode .toolbox-list-board{background:#0e2016;color:#b6e7c2;border-color:#345942}.app.cli-mode .toolbox-heading h1,.app.cli-mode .toolbox-heading p{color:#b6e7c2}
@media(max-width:790px){.toolbox-view{padding:22px 0 55px}.toolbox-heading{align-items:flex-start;flex-direction:column}.toolbox-tabs button{padding:10px 13px}.toolbox-section-header{gap:8px}.toolbox-shortcut-create{grid-template-columns:1fr}.toolbox-return{padding:10px 13px}}
@media(max-width:510px){.toolbox-content{padding:16px}.toolbox-section-header{flex-wrap:wrap}.toolbox-section-header h2{font-size:20px}.toolbox-inline{gap:7px}.toolbox-inline .toolbox-primary{padding:10px 12px}.toolbox-list-header{flex-wrap:wrap}.toolbox-list-header label{width:100%}.toolbox-list-header select{width:calc(100% - 96px)}.toolbox-list-board{padding:14px}.toolbox-convert-grid{gap:11px}.toolbox-convert-result{padding:17px}.toolbox-shortcut{grid-template-columns:minmax(0,1fr) auto}.toolbox-shortcut small{grid-column:1/-1;grid-row:2}.toolbox-shortcut .toolbox-icon-btn{grid-column:2;grid-row:1}.quick-toolbox{margin:-15px 0 18px}}
@media print{.sidebar,.topbar,.composer-zone,.toolbox-tabs,.toolbox-return,.toolbox-pane-footer{display:none!important}.toolbox-content{box-shadow:none;border:0}}

/* Keep floating clocks from covering toolbox inputs; their state remains unchanged. */
.toolbox-active .utility-dock{display:none!important}

/* v17 – Layer menus above floating clocks, and provide legible dark-mode surfaces. */
.topbar{z-index:70}
.appearance-panel{z-index:80}
.voice-panel{z-index:80}
:root[data-ai-scheme="dark"] .document-view,
:root[data-ai-scheme="dark"] .toolbox-view{color:var(--ai-foreground)}
:root[data-ai-scheme="dark"] .document-kicker,
:root[data-ai-scheme="dark"] .document-subtitle,
:root[data-ai-scheme="dark"] .document-footer,
:root[data-ai-scheme="dark"] .toolbox-kicker,
:root[data-ai-scheme="dark"] .toolbox-heading p,
:root[data-ai-scheme="dark"] .toolbox-section-header p,
:root[data-ai-scheme="dark"] .toolbox-meter,
:root[data-ai-scheme="dark"] .toolbox-footnote,
:root[data-ai-scheme="dark"] .toolbox-empty,
:root[data-ai-scheme="dark"] .toolbox-shortcut small{color:var(--ai-muted-foreground)}
:root[data-ai-scheme="dark"] .toolbox-heading h1,
:root[data-ai-scheme="dark"] .toolbox-section-header h2,
:root[data-ai-scheme="dark"] .toolbox-list-heading h3,
:root[data-ai-scheme="dark"] .toolbox-list-heading span,
:root[data-ai-scheme="dark"] .toolbox-content label,
:root[data-ai-scheme="dark"] .toolbox-create-list>label,
:root[data-ai-scheme="dark"] .toolbox-list-header>label,
:root[data-ai-scheme="dark"] .toolbox-task label,
:root[data-ai-scheme="dark"] .toolbox-convert-result span,
:root[data-ai-scheme="dark"] .toolbox-convert-result output,
:root[data-ai-scheme="dark"] .document-toolbar button:not(.document-save),
:root[data-ai-scheme="dark"] .document-math-preview,
:root[data-ai-scheme="dark"] .toolbox-shortcut>button:first-child{color:var(--ai-foreground)!important}
:root[data-ai-scheme="dark"] .toolbox-content,
:root[data-ai-scheme="dark"] .toolbox-list-board,
:root[data-ai-scheme="dark"] .toolbox-convert-result,
:root[data-ai-scheme="dark"] .toolbox-shortcut,
:root[data-ai-scheme="dark"] .document-link,
:root[data-ai-scheme="dark"] .document-toolbar,
:root[data-ai-scheme="dark"] .document-paper{background:var(--ai-panel);border-color:var(--ai-border);color:var(--ai-foreground)}
:root[data-ai-scheme="dark"] .toolbox-tabs button,
:root[data-ai-scheme="dark"] .toolbox-return,
:root[data-ai-scheme="dark"] .toolbox-pane-footer button,
:root[data-ai-scheme="dark"] .toolbox-chips button,
:root[data-ai-scheme="dark"] .toolbox-text-button,
:root[data-ai-scheme="dark"] .document-back,
:root[data-ai-scheme="dark"] .document-toolbar button:not(.document-save){background:var(--ai-panel-2);border:1px solid var(--ai-border);color:var(--ai-foreground)}
:root[data-ai-scheme="dark"] .toolbox-tabs button.active,
:root[data-ai-scheme="dark"] .toolbox-primary,
:root[data-ai-scheme="dark"] .document-toolbar button.document-save{background:#B7EACA;color:#102D21!important;border-color:#B7EACA}
:root[data-ai-scheme="dark"] .toolbox-content input[type=text],
:root[data-ai-scheme="dark"] .toolbox-content input[type=number],
:root[data-ai-scheme="dark"] .toolbox-content select,
:root[data-ai-scheme="dark"] .toolbox-content textarea{background:var(--ai-panel-2);color:var(--ai-foreground);border-color:var(--ai-border);color-scheme:dark}
:root[data-ai-scheme="dark"] .toolbox-content input::placeholder,
:root[data-ai-scheme="dark"] .toolbox-content textarea::placeholder{color:var(--ai-muted-foreground)}
:root[data-ai-scheme="dark"] .toolbox-private{background:var(--ai-panel-2);border-color:var(--ai-border);color:var(--ai-foreground)}
:root[data-ai-scheme="dark"] .toolbox-file-picker{border-color:var(--ai-border)}
:root[data-ai-scheme="dark"] .toolbox-task{border-color:var(--ai-border)}
:root[data-ai-scheme="dark"] .toolbox-task span.done{color:var(--ai-muted-foreground)}
:root[data-ai-scheme="dark"] .toolbox-status,
:root[data-ai-scheme="dark"] .document-link small{color:var(--ai-muted-foreground)}
:root[data-ai-scheme="dark"] .document-toolbar button:hover:not(.document-save),
:root[data-ai-scheme="dark"] .toolbox-tabs button:hover{background:var(--ai-border)}
:root[data-ai-scheme="dark"] .toolbox-download{background:#B7EACA;color:#102D21!important}
/* Currency tab */
.currency-actions{display:flex;gap:10px;align-items:end;justify-content:flex-end;flex-wrap:wrap}
.currency-actions button{min-height:46px}
.currency-actions .toolbox-text-button{border:1px solid var(--line);border-radius:10px;padding:11px 13px}
.currency-meta{font-size:12px;line-height:1.6;color:#556f5e}
.currency-status{font-size:12px;color:#546f5c;min-height:18px;margin:12px 0}
.currency-status.is-error{color:#b34d43}
.currency-result output{font-variant-numeric:tabular-nums}
:root[data-ai-scheme="dark"] .currency-meta,:root[data-ai-scheme="dark"] .currency-status{color:var(--ai-muted-foreground)}
:root[data-ai-scheme="dark"] .currency-status.is-error{color:#ffb9ad}
@media(max-width:510px){.currency-actions{justify-content:stretch}.currency-actions button{flex:1}}
/* Editing is a focused workspace; clocks remain saved but cannot cover Back to chat. */
body.document-active .utility-dock{display:none!important}

/* v18: private everyday workspace. Inherits light/dark appearance tokens. */
.v18-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 17px}
.v18-two-col label{display:grid!important;gap:7px;margin:0!important}
.v18-button-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:13px 0 19px}
.toolbox-content .v18-button-row button,.v18-entry-actions button,.v18-entry.compact button{background:#f4f8f4;border:1px solid #d3e1d4;color:#23513a;border-radius:9px;padding:10px 13px;font-size:12px;font-weight:680}
.toolbox-content .v18-button-row .toolbox-primary{background:#1f553c;border-color:#1f553c;color:white}
.v18-button-row button:disabled{opacity:.45;cursor:not-allowed}
.v18-grow{flex:1 1 240px;width:auto!important}
.v18-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.v18-stat{display:flex;flex-direction:column;gap:6px;padding:20px 16px;border:1px solid #e0e9df;background:#f8faf7;border-radius:14px}
.v18-stat strong{font-size:28px;line-height:1;color:#194d33;letter-spacing:-.04em;font-weight:750;font-variant-numeric:tabular-nums}
.v18-stat span{font-size:12px;color:#6c8070;font-weight:650}
.v18-subheading{font-size:15px;font-weight:750;color:#244c37;margin:27px 0 12px}
.v18-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.v18-action-grid button{text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-height:150px;padding:20px;border-radius:13px;border:1px solid #e0e9df;background:#fff;color:#28553d;transition:border-color .15s,transform .15s}
.v18-action-grid button:hover{border-color:#80b492;transform:translateY(-1px)}
.v18-action-grid button>span{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#eaf3ea;font-size:18px}
.v18-action-grid strong{font-size:14px}.v18-action-grid small{font-size:11px;color:#748575;line-height:1.5}
.v18-recent{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.v18-recent-link{text-align:left;background:#f7faf6;color:#2b533b;border:1px solid #dce7de;padding:11px 13px;border-radius:9px;min-width:0;overflow-wrap:anywhere;font-size:12px;font-weight:650}
.v18-muted,.v18-caption{font-size:12px;color:#687f71;line-height:1.65}.v18-caption{margin:10px 0 16px}
.v18-entries{display:grid;gap:10px;margin-top:15px}.v18-entry{padding:15px 16px;border:1px solid #e0e9e0;border-radius:12px;background:#fbfcfa;overflow-wrap:anywhere}
.v18-entry>strong{display:block;color:#2b533d;font-size:13px;margin-bottom:5px}.v18-entry-preview{font-size:12px;line-height:1.55;white-space:pre-wrap;color:#6a7e70;margin:5px 0 12px;overflow-wrap:anywhere}
.v18-entry-actions{display:flex;flex-wrap:wrap;gap:7px}.v18-entry.compact{display:flex;align-items:center;justify-content:space-between;gap:10px}
.v18-entry.compact strong{display:block;font-size:12px;color:#244d36}.v18-entry.compact small{display:block;font-size:11px;color:#7b8e7d;margin-top:5px}
.v18-sheet-scroller{margin-top:16px;overflow:auto;max-height:470px;border:1px solid #dfe9df;border-radius:12px;background:#fff;scrollbar-width:thin;overscroll-behavior:contain}
.v18-sheet{border-spacing:0;border-collapse:separate;width:100%;min-width:480px;font-size:13px;table-layout:fixed}
.v18-sheet td,.v18-sheet th{border-right:1px solid #e1e8e1;border-bottom:1px solid #e1e8e1;padding:0;min-width:100px}
.v18-sheet th:first-child{width:42px;min-width:42px;text-align:center;background:#eef3ed;color:#66816c;font-size:11px;position:sticky;left:0;z-index:2}
.v18-sheet thead th{background:#f1f6f1;position:sticky;top:0;z-index:3}.v18-sheet thead th:first-child{z-index:4}
.v18-sheet td input,.v18-sheet th input{display:block;border:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;color:inherit!important;padding:12px 9px!important;font-size:13px!important;width:100%;font-family:inherit!important}
.v18-sheet th input{font-weight:750!important}.v18-sheet td input:focus,.v18-sheet th input:focus{outline:2px solid #70a282!important;outline-offset:-2px}
.v18-sheet-summary{font-size:12px;font-weight:650;color:#25533b;margin:12px 0;line-height:1.6}
.v18-expense-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.v18-expense-form label{display:grid!important;gap:7px;margin:0!important}
.v18-month-label{display:flex!important;align-items:center!important;gap:9px;margin:0!important}.v18-month-label input{max-width:175px}
.v18-expense-total{font-size:clamp(18px,2.8vw,25px);font-weight:750;color:#23563b;letter-spacing:-.035em;margin:16px 0 5px}
.v18-chart-layout{margin-top:18px}.v18-chart-layout>div{min-width:0}.v18-chart-layout h3{margin-top:5px}
.v18-bars{display:grid;gap:14px}.v18-bar-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#3d5d46}
.v18-bar-label strong{font-size:12px;font-variant-numeric:tabular-nums}.v18-bar-track{background:#e4eee5;border-radius:10px;height:9px;margin-top:5px;overflow:hidden}.v18-bar-track span{display:block;background:#428565;height:100%;border-radius:10px;max-width:100%}
.v18-workflow-preview{border:1px solid #dce9dd;background:#f7faf6;padding:16px;border-radius:12px;font-size:13px;line-height:1.7;margin-top:15px;min-height:58px}
.v18-workflow-preview ol{padding-left:22px;margin-bottom:0}.v18-samples{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:22px;font-size:12px}
.v18-samples button{background:none;color:#285f42;border:0;text-decoration:underline;text-align:left;padding:4px 0}
.toolbox-content input[type=search],.toolbox-content input[type=date],.toolbox-content input[type=month]{width:100%;min-width:0;padding:12px 13px;border:1px solid #d7e3d9;border-radius:10px;background:#fff;color:#1e4130;font:inherit;font-size:16px;outline:none}
.toolbox-content input[type=search]:focus,.toolbox-content input[type=date]:focus,.toolbox-content input[type=month]:focus{border-color:#578d69;box-shadow:0 0 0 3px #4a98651a}
:root[data-ai-scheme="dark"] .v18-stat,:root[data-ai-scheme="dark"] .v18-action-grid button,:root[data-ai-scheme="dark"] .v18-entry,:root[data-ai-scheme="dark"] .v18-recent-link,:root[data-ai-scheme="dark"] .v18-workflow-preview,:root[data-ai-scheme="dark"] .v18-sheet-scroller{background:var(--ai-panel-2);color:var(--ai-foreground);border-color:var(--ai-border)}
:root[data-ai-scheme="dark"] .v18-stat strong,:root[data-ai-scheme="dark"] .v18-action-grid strong,:root[data-ai-scheme="dark"] .v18-subheading,:root[data-ai-scheme="dark"] .v18-entry>strong,:root[data-ai-scheme="dark"] .v18-entry.compact strong,:root[data-ai-scheme="dark"] .v18-sheet-summary,:root[data-ai-scheme="dark"] .v18-expense-total,:root[data-ai-scheme="dark"] .v18-bar-label,:root[data-ai-scheme="dark"] .v18-entry button,:root[data-ai-scheme="dark"] .v18-recent-link{color:var(--ai-foreground)!important}
:root[data-ai-scheme="dark"] .v18-stat span,:root[data-ai-scheme="dark"] .v18-caption,:root[data-ai-scheme="dark"] .v18-muted,:root[data-ai-scheme="dark"] .v18-action-grid small,:root[data-ai-scheme="dark"] .v18-entry-preview,:root[data-ai-scheme="dark"] .v18-entry.compact small{color:var(--ai-muted-foreground)}
:root[data-ai-scheme="dark"] .v18-action-grid button>span,:root[data-ai-scheme="dark"] .v18-sheet th,:root[data-ai-scheme="dark"] .v18-entry button,:root[data-ai-scheme="dark"] .v18-button-row button:not(.toolbox-primary){background:var(--ai-panel);color:var(--ai-foreground);border-color:var(--ai-border)}
:root[data-ai-scheme="dark"] .v18-sheet td,:root[data-ai-scheme="dark"] .v18-sheet th{border-color:var(--ai-border)}
:root[data-ai-scheme="dark"] .v18-sheet td input,:root[data-ai-scheme="dark"] .v18-sheet th input{color:var(--ai-foreground)!important}
:root[data-ai-scheme="dark"] .toolbox-content input[type=search],:root[data-ai-scheme="dark"] .toolbox-content input[type=date],:root[data-ai-scheme="dark"] .toolbox-content input[type=month]{background:var(--ai-panel-2);color:var(--ai-foreground);border-color:var(--ai-border);color-scheme:dark}
:root[data-ai-scheme="dark"] .v18-bar-track{background:var(--ai-border)}:root[data-ai-scheme="dark"] .v18-bar-track span{background:#a3d8b5}
:root[data-ai-scheme="dark"] .v18-button-row .toolbox-primary{background:#b7eaca;color:#102d21}
@media(max-width:920px){.v18-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.v18-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v18-expense-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.v18-two-col,.v18-chart-layout{grid-template-columns:1fr}.v18-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.v18-action-grid{grid-template-columns:1fr}.v18-action-grid button{min-height:100px}.v18-recent{grid-template-columns:1fr}.v18-expense-form{grid-template-columns:1fr 1fr}.toolbox-content .v18-button-row button{min-height:42px}.v18-stat{padding:15px}}
@media(max-width:360px){.v18-expense-form{grid-template-columns:1fr}}
.v18-cell-result{display:block;font-size:11px;color:#326b4b;padding:0 9px 5px;font-variant-numeric:tabular-nums;line-height:1.3}
.v18-cell-result[hidden]{display:none!important}
:root[data-ai-scheme="dark"] .v18-cell-result{color:#b2e5c1}
.v18-ai-generate{background:#f5faf5;border:1px solid #dceade;border-radius:13px;padding:17px;margin-bottom:18px}
.v18-ai-generate .v18-button-row{margin-bottom:0}.v18-ai-generate .v18-caption{margin:0}
:root[data-ai-scheme="dark"] .v18-ai-generate{background:var(--ai-panel-2);border-color:var(--ai-border)}
