/* Generated by superagent/theme.py from the light stylesheets. Do not edit; adjust static/theme.css. */
:root[data-theme=dark]{color-scheme:dark}
/* signup.css */
:root[data-theme=dark] .auth-registration{border-top:1px solid var(--line,#3d3d3d)}
:root[data-theme=dark] .auth-registration [role=status]:not(:empty),:root[data-theme=dark] .auth-bindings [role=status]:not(:empty){border:1px solid var(--line,#3d3d3d)}
:root[data-theme=dark] #login.auth-card{background:var(--white,#262626);border:1px solid var(--line);box-shadow:0 12px 40px rgba(0,0,0,0.193);color:var(--ink)}
:root[data-theme=dark] #login .auth-subtitle{color:var(--muted)}
:root[data-theme=dark] #login .auth-tabs{background:var(--wash)}
:root[data-theme=dark] #login .auth-tabs button{border:0;background:transparent;color:var(--muted)}
:root[data-theme=dark] #login .auth-tabs button.selected{background:var(--white,#262626);color:var(--ink);box-shadow:0 1px 4px rgba(0,0,0,0.207)}
:root[data-theme=dark] #login .auth-field,:root[data-theme=dark] #login label{color:var(--ink)}
:root[data-theme=dark] #login input:not([type=checkbox]){border:1px solid var(--line-strong);background:var(--white,#262626);color:var(--ink);box-shadow:none}
:root[data-theme=dark] #login input::placeholder{color:var(--muted)}
:root[data-theme=dark] #login input:focus-visible{outline:2px solid var(--accent-400);border-color:var(--accent-700)}
:root[data-theme=dark] #login button.primary{border:1px solid var(--accent-800);background:var(--accent-800);color:#262626;box-shadow:none}
:root[data-theme=dark] #login button.primary:hover:not(:disabled){background:var(--accent-900)}
:root[data-theme=dark] #login .auth-text-link{background:transparent;border:0;box-shadow:none;color:var(--accent-700)}
:root[data-theme=dark] #login .auth-text-link:hover{text-decoration:underline}
:root[data-theme=dark] #login .auth-reveal{border:0;background:transparent;color:var(--muted);box-shadow:none}
:root[data-theme=dark] #login .auth-divider{color:var(--muted)}
:root[data-theme=dark] #login .auth-divider:before,:root[data-theme=dark] #login .auth-divider:after{background:var(--line)}
:root[data-theme=dark] #login .auth-methods button{border:1px solid var(--line-strong);background:var(--white,#262626);color:var(--ink);box-shadow:none}
:root[data-theme=dark] #login .auth-methods button:hover:not(:disabled){background:var(--wash)}
:root[data-theme=dark] #login .auth-provider-icon{background:#2884ff;color:#262626}
:root[data-theme=dark] #login .auth-hint{color:var(--muted)}
:root[data-theme=dark] #login .auth-footer{color:var(--muted)}
:root[data-theme=dark] #login .auth-status:not(:empty),:root[data-theme=dark] #login .auth-social [role=status]:not(:empty),:root[data-theme=dark] #login .auth-recovery-panel [role=status]:not(:empty){background:var(--wash);color:var(--ink);border:1px solid var(--line)}
:root[data-theme=dark] #login .auth-setup-choice input{accent-color:var(--accent-800)}
:root[data-theme=dark] #login .auth-recovery-choices button{border:1px solid var(--line);background:transparent;color:var(--muted);box-shadow:none}
:root[data-theme=dark] #login .auth-recovery-choices button[aria-pressed=true]{border-color:var(--accent-700);background:var(--wash);color:var(--accent-800)}
:root[data-theme=dark] #login .auth-alipay-symbol{background:#2884ff;color:#262626}
/* tokens.css */
:root[data-theme=dark]{--wash-green:#35342e;--line:#383631;--muted:#9b9990;--muted-olive:#86847c;--white:#262626;--line-soft:#2b2a26;--wash:#21211e;--muted-dark:#9b9990;--danger:#da8279;--paper:#1d1c1a;--moss:#a6a49b;--muted-light:#74726b;--line-strong:#4b4942;--ink:#dcdad5;--slate:#adaca3;--danger-strong:#e9847c;--ink-green:#b7cbab;--cream:#1f1e19;--warn:#be9555;--accent-900:#b8d4c0;--accent-800:#aac9b3;--accent-700:#97bfa5;--accent-600:#8eab82;--accent-500:#74a67c;--accent-400:#687e58;--accent-300:#627356}
/* accents.css */
:root[data-theme=dark][data-accent=terracotta]{--accent-900:#d07353;--accent-800:#cc6644;--accent-700:#c15d3c;--accent-600:#9a604c;--accent-500:#935946;--accent-400:#77402d;--accent-300:#6f3927}
:root[data-theme=dark][data-accent=ocean]{--accent-900:#8dbbe7;--accent-800:#7eb0e0;--accent-700:#73a5d4;--accent-600:#6294c2;--accent-500:#5a8bb9;--accent-400:#4f6b84;--accent-300:#47627b}
:root[data-theme=dark][data-accent=plum]{--accent-900:#cba9da;--accent-800:#c19dd2;--accent-700:#b592c7;--accent-600:#a481b5;--accent-500:#9c79ad;--accent-400:#75617e;--accent-300:#6c5875}
:root[data-theme=dark][data-accent=graphite]{--accent-900:#d4d4d0;--accent-800:#cac9c5;--accent-700:#bfbebb;--accent-600:#afaeaa;--accent-500:#a7a6a2;--accent-400:#898884;--accent-300:#807f7c}
/* app.css */
:root[data-theme=dark]{color:var(--ink);background:var(--paper)}
:root[data-theme=dark] a{color:inherit;text-decoration:none}
:root[data-theme=dark] :focus-visible{outline:2px solid var(--accent)}
:root[data-theme=dark] header{border-bottom:1px solid var(--line);background:var(--paper)}
:root[data-theme=dark] .brand-mark{color:var(--accent)}
:root[data-theme=dark] nav a{color:var(--muted)}
:root[data-theme=dark] nav a:hover,:root[data-theme=dark] nav a[aria-current]{color:var(--ink)}
:root[data-theme=dark] nav a[aria-current]:after{background:var(--accent)}
:root[data-theme=dark] .account #logout{color:var(--muted)}
:root[data-theme=dark] .eyebrow{color:var(--muted)}
:root[data-theme=dark] p{color:var(--muted)}
:root[data-theme=dark] .quick-links a{border-bottom:1px solid var(--line-strong)}
:root[data-theme=dark] .quick-links a>span:last-child{color:var(--muted-light)}
:root[data-theme=dark] .quick-links a:hover{color:var(--accent);border-color:var(--accent)}
:root[data-theme=dark] .count{color:var(--muted)}
:root[data-theme=dark] .muted-link{color:var(--muted)}
:root[data-theme=dark] .empty{color:var(--muted)}
:root[data-theme=dark] .panel{background:var(--white);border:1px solid var(--line)}
:root[data-theme=dark] .understated{background:transparent;border:0;border-left:2px solid var(--line-strong)}
:root[data-theme=dark] .workspace form{background:#262626;border:1px solid var(--line)}
:root[data-theme=dark] .workspace>div[role=status]:not(:empty),:root[data-theme=dark] .workspace>p[role=status]:not(:empty){color:#b89a6d}
:root[data-theme=dark] label{color:var(--slate)}
:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea{border:1px solid var(--line);background:var(--white);color:var(--ink)}
:root[data-theme=dark] textarea::placeholder,:root[data-theme=dark] input::placeholder{color:var(--muted-light)}
:root[data-theme=dark] button{border:1px solid var(--line);background:var(--white);color:#bdbcb2}
:root[data-theme=dark] button:hover{background:var(--wash-green)}
:root[data-theme=dark] .primary{background:var(--accent-800)!important;color:#262626!important;border-color:var(--accent-800)}
:root[data-theme=dark] .primary:hover{background:var(--accent-900)!important}
:root[data-theme=dark] .quiet{border:0;background:transparent;color:var(--muted)}
:root[data-theme=dark] .quiet:hover{background:transparent;color:var(--ink)}
:root[data-theme=dark] .actions button:not(.primary):not(.danger){background:transparent}
:root[data-theme=dark] .source{color:var(--accent)}
:root[data-theme=dark] .source:hover{text-decoration:underline}
:root[data-theme=dark] .tabs,:root[data-theme=dark] .subnav{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .tabs button,:root[data-theme=dark] .subnav a{border:0;background:transparent;color:var(--muted);border-bottom:2px solid transparent}
:root[data-theme=dark] .tabs .selected,:root[data-theme=dark] .subnav [aria-current]{border-bottom-color:var(--accent);color:var(--accent-900);background:transparent!important}
:root[data-theme=dark] .tabs button:hover{color:var(--accent-900)}
:root[data-theme=dark] .row{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .tag{background:var(--line-soft);color:var(--moss)}
:root[data-theme=dark] summary{color:var(--moss)}
:root[data-theme=dark] .disclosure{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .history>summary{color:var(--muted)}
:root[data-theme=dark] #notice{border:1px solid #3c3b33;background:var(--cream);color:#b89a6d}
:root[data-theme=dark] #review-card blockquote{color:var(--muted)}
:root[data-theme=dark] blockquote{border-left:2px solid var(--line-strong)}
:root[data-theme=dark] dialog{border:1px solid var(--line)}
:root[data-theme=dark] dialog::backdrop{background:color-mix(in srgb,var(--ink) 30%,transparent)}
:root[data-theme=dark] iframe{border:1px solid var(--line);background:var(--white)}
:root[data-theme=dark] .meeting-point{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .warning{color:var(--warn)}
:root[data-theme=dark] .knowledge-passage{border-top:1px solid var(--line)}
:root[data-theme=dark] #code-incoming{background:var(--cream)}
:root[data-theme=dark] #reader-tools .explain-field{border-left:2px solid var(--line-strong)}
:root[data-theme=dark] footer{color:var(--muted-light)}
:root[data-theme=dark] body.chat-mode{background:var(--paper)}
:root[data-theme=dark] body.chat-mode header{border-bottom:1px solid var(--line-soft)}
:root[data-theme=dark] #home-overview>summary{color:#939393}
:root[data-theme=dark] .history-row{border:0;background:transparent;color:var(--slate)}
:root[data-theme=dark] .history-row:hover,:root[data-theme=dark] .history-row.selected{background:var(--line-soft);color:var(--ink)}
:root[data-theme=dark] .history-import{color:var(--muted-dark)}
:root[data-theme=dark] #chat-welcome>p:not(.eyebrow){color:var(--muted-olive)}
:root[data-theme=dark] .chat-suggestions button{background:transparent;border:1px solid var(--line);color:var(--slate)}
:root[data-theme=dark] #chat-composer{border:1px solid var(--line);background:#262626;box-shadow:0 3px 16px color-mix(in srgb,var(--accent-900) 6%,transparent)}
:root[data-theme=dark] #chat-input{border:0;box-shadow:none!important;background:transparent;outline:0}
:root[data-theme=dark] #chat-mode{border:0;background:var(--wash-green)}
:root[data-theme=dark] #chat-state{color:var(--muted-olive)}
:root[data-theme=dark] .message-author{color:var(--muted)}
:root[data-theme=dark] .chat-message.user{background:var(--line-soft)}
:root[data-theme=dark] .chat-markdown p{color:inherit}
:root[data-theme=dark] .chat-markdown pre{background:var(--wash)}
:root[data-theme=dark] .chat-markdown th,:root[data-theme=dark] .chat-markdown td{border:1px solid var(--line)}
:root[data-theme=dark] .activity-card{border:1px solid var(--line)}
:root[data-theme=dark] .artifact-link{color:var(--accent-700)}
:root[data-theme=dark] .sr-only{border:0}
:root[data-theme=dark] .sidebar-utilities{border-bottom:1px solid var(--line-soft)}
:root[data-theme=dark] .sidebar-utilities a{color:var(--muted-olive);text-decoration:none}
:root[data-theme=dark] .creation-links a{border:1px solid var(--line);text-decoration:none;color:#bdbcb2}
:root[data-theme=dark] .recall-card,:root[data-theme=dark] .tool-card{border:1px solid var(--line);background:var(--white)}
:root[data-theme=dark] .recall-card small{color:var(--muted)}
:root[data-theme=dark] .recall-question{color:var(--ink-green)!important}
:root[data-theme=dark] .recall-card blockquote{border-left:2px solid #55534d;color:var(--muted-olive)}
:root[data-theme=dark] #wiki-status{color:var(--muted)}
:root[data-theme=dark] #chat-composer{border:1px solid var(--line);box-shadow:0 4px 24px color-mix(in srgb,var(--ink) 2%,transparent)}
:root[data-theme=dark] #chat-composer .composer-icon,:root[data-theme=dark] #chat-composer #send-chat{border:0;background:transparent;color:var(--muted-dark)}
:root[data-theme=dark] #chat-composer .composer-icon:hover{background:var(--wash);color:var(--accent-900)}
:root[data-theme=dark] #chat-composer .composer-icon[aria-expanded=true]{background:var(--line-soft);color:var(--accent-800)}
:root[data-theme=dark] #chat-composer svg{fill:none;stroke:currentColor}
:root[data-theme=dark] #chat-composer #send-chat{color:#262626;background:var(--accent-800)}
:root[data-theme=dark] #chat-composer #chat-model,:root[data-theme=dark] #chat-composer #chat-mode{border:0;background-color:transparent;color:var(--slate)}
:root[data-theme=dark] #chat-composer #chat-mode{color:var(--muted-olive)}
:root[data-theme=dark] #chat-composer #chat-model:hover,:root[data-theme=dark] #chat-composer #chat-mode:hover{background-color:var(--wash-green)}
:root[data-theme=dark] #chat-composer #chat-state{color:var(--muted-olive)}
:root[data-theme=dark] #chat-composer #composer-panel{border:1px solid var(--line);background:var(--white);box-shadow:0 10px 38px color-mix(in srgb,var(--ink) 8%,transparent)}
:root[data-theme=dark] #composer-panel .composer-panel-heading{color:var(--muted-olive)}
:root[data-theme=dark] #composer-panel .composer-panel-heading button{border:0;background:none;color:var(--muted)}
:root[data-theme=dark] #chat-composer #composer-panel label{color:#bdbcb2}
:root[data-theme=dark] #chat-composer #composer-panel select{background:var(--paper);border:0;color:var(--moss)}
:root[data-theme=dark] #chat-composer #composer-panel input[type=checkbox]{accent-color:var(--accent-700)}
:root[data-theme=dark] #composer-panel>a{color:var(--muted-olive);border-top:1px solid var(--line-soft)}
:root[data-theme=dark] #composer-panel #model-hint{color:var(--muted)}
:root[data-theme=dark] #chat-composer #voice-bar{color:var(--danger-strong)}
:root[data-theme=dark] #voice-bar .voice-indicator{background:currentColor}
:root[data-theme=dark] #voice-bar button{border:0;background:transparent;color:inherit}
:root[data-theme=dark] #voice-bar[data-phase=transcribing]{color:var(--muted-olive)}
:root[data-theme=dark] #voice-bar[data-phase=error]{color:var(--danger)}
:root[data-theme=dark] #voice-input[aria-pressed=true]{color:var(--danger)!important;background:#27201e!important}
:root[data-theme=dark] .account-trigger{border:0;background:transparent}
:root[data-theme=dark] .avatar{background:var(--wash-green);color:var(--slate)}
:root[data-theme=dark] #account-menu{background:var(--white);border:1px solid var(--line);box-shadow:0 12px 44px color-mix(in srgb,var(--ink) 11%,transparent)}
:root[data-theme=dark] #account-menu>a,:root[data-theme=dark] #account-menu>button{border:0;background:transparent}
:root[data-theme=dark] #account-menu>a:hover,:root[data-theme=dark] #account-menu>button:hover{background:var(--wash)}
:root[data-theme=dark] #account-menu hr{border:0;border-top:1px solid var(--line)}
:root[data-theme=dark] .destination-grid>a{border:1px solid var(--line);background:#262626}
:root[data-theme=dark] .destination-grid>a:hover{border-color:#55534d}
:root[data-theme=dark] .destination-mark{color:var(--muted-light)}
:root[data-theme=dark] .destination-grid>a>span:last-child{color:var(--muted-olive)}
:root[data-theme=dark] #account-page small{color:var(--muted)}
:root[data-theme=dark] .memo-row{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .memo-row small{color:var(--muted)}
:root[data-theme=dark] .memo-row small.overdue{color:var(--danger)}
:root[data-theme=dark] .memo-check{border:1px solid #55534d;background:#262626;color:var(--accent)}
:root[data-theme=dark] .memo-actions button{background:transparent;border:0;color:var(--muted)}
:root[data-theme=dark] #memo-search{background:transparent}
:root[data-theme=dark] .history-search-trigger{color:var(--muted);background:transparent;border:0}
:root[data-theme=dark] .history-row.selected{background:var(--wash-green)}
:root[data-theme=dark] .history-row:hover{background:var(--line-soft)}
:root[data-theme=dark] .history-result{border:0;border-bottom:1px solid var(--line);background:transparent}
:root[data-theme=dark] .history-result small{color:var(--muted)}
:root[data-theme=dark] .history-result mark{background:var(--wash-green);color:var(--ink-green)}
:root[data-theme=dark] .dialog-heading{background:var(--paper);border-bottom:1px solid var(--line)}
:root[data-theme=dark] .dialog-close{border:0;background:transparent}
:root[data-theme=dark] .history-dialog #history-query{background:#262626}
:root[data-theme=dark] .management-dialog{background:var(--paper)}
:root[data-theme=dark] .management-dialog .tool-card{border:0;border-bottom:1px solid var(--line);background:transparent}
:root[data-theme=dark] .dialog-notice{background:var(--line-soft)}
:root[data-theme=dark] .danger-text{color:var(--danger)!important}
:root[data-theme=dark] .danger{color:#262626;background:var(--danger-strong);border-color:var(--danger-strong)}
:root[data-theme=dark] .delete-user-panel{border:1px solid #694b48;background:var(--white)}
:root[data-theme=dark] .composer-config small{color:var(--muted)}
:root[data-theme=dark] .chat-message.search-hit{outline:2px solid var(--accent-300)}
:root[data-theme=dark] #composer-panel .composer-config{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .community-row{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .community-row small{color:var(--muted)}
:root[data-theme=dark] #skill-market-content{background:#262626;border:1px solid var(--line)}
:root[data-theme=dark] #delete-user-error{color:var(--danger-strong)}
:root[data-theme=dark] .image-versions .selected{outline:2px solid var(--accent,var(--accent-800))}
:root[data-theme=dark] .history-item-menu[open]{background:var(--white);border:1px solid var(--line)}
:root[data-theme=dark] .history-item-menu button{background:none;border:0}
:root[data-theme=dark] .history-item-menu button:hover{background:var(--wash)}
:root[data-theme=dark] .history-pin{border:0;background:transparent;color:var(--muted)}
:root[data-theme=dark] .history-pin.pinned{color:var(--accent-800)}
:root[data-theme=dark] .upward-select:after{border-top:1.5px solid currentColor;border-left:1.5px solid currentColor}
:root[data-theme=dark] .upward-select:hover,:root[data-theme=dark] .upward-select[aria-expanded=true]{background:var(--wash-green)!important}
:root[data-theme=dark] .upward-select:focus-visible{outline:2px solid var(--accent-500)}
:root[data-theme=dark] .upward-options{background:var(--white);border:1px solid var(--line);box-shadow:0 10px 35px color-mix(in srgb,var(--accent-900) 15%,transparent);outline:0}
:root[data-theme=dark] .upward-options [role=option]{color:#bdbcb2}
:root[data-theme=dark] .upward-options [aria-selected=true]{background:var(--wash-green)}
:root[data-theme=dark] .upward-options .highlighted{background:var(--wash-green)}
:root[data-theme=dark] #chat-model.enhanced-select{border:0}
:root[data-theme=dark] #chat-model-trigger{background:transparent;border:0}
:root[data-theme=dark] #chat-model-menu{background:var(--white);border:1px solid var(--line);box-shadow:0 10px 35px color-mix(in srgb,var(--accent-900) 15%,transparent)}
:root[data-theme=dark] #chat-model-menu button{border:0;background:transparent}
:root[data-theme=dark] #chat-model-menu button:hover,:root[data-theme=dark] #chat-model-menu button:focus-visible{background:var(--wash-green)}
:root[data-theme=dark] #chat-model-menu [aria-selected=true]{background:var(--wash-green)}
:root[data-theme=dark] #chat-model-menu summary{color:var(--muted-olive);border-top:1px solid var(--wash-green)}
:root[data-theme=dark] #research-options{border-top:1px solid var(--line-soft)}
:root[data-theme=dark] #research-options p{color:var(--muted-olive)}
:root[data-theme=dark] .research-card{border:1px solid var(--line)}
:root[data-theme=dark] .research-card small{color:var(--muted)}
:root[data-theme=dark] .research-card .research-progress{color:var(--muted)}
:root[data-theme=dark] .research-card .research-activity{color:var(--muted)}
:root[data-theme=dark] .chat-jump{border:1px solid var(--line);background:var(--white);box-shadow:0 3px 16px color-mix(in srgb,var(--accent-900) 8%,transparent)}
:root[data-theme=dark] .turn-state{color:var(--muted-dark)}
:root[data-theme=dark] .turn-clock{color:var(--muted)}
:root[data-theme=dark] .thinking-orbit{border:2px solid var(--line);border-top-color:var(--accent-500);border-right-color:var(--accent-300)}
:root[data-theme=dark] .turn-state.settled .thinking-orbit{border-color:var(--accent-300);background:var(--accent-300)}
:root[data-theme=dark] .turn-state.settled{color:var(--muted)}
:root[data-theme=dark] .turn-error{color:var(--danger)!important}
:root[data-theme=dark] .thinking-note{color:var(--muted)}
:root[data-theme=dark] .turn-details{border-left:2px solid var(--wash-green);color:var(--muted-olive)}
:root[data-theme=dark] .turn-step[data-phase=error]::before{color:var(--danger)}
:root[data-theme=dark] .reasoning-text{color:var(--muted-dark)}
:root[data-theme=dark] .message-actions button,:root[data-theme=dark] .message-versions button{background:transparent;border:0;color:var(--muted)}
:root[data-theme=dark] .message-actions button:hover,:root[data-theme=dark] .message-versions button[aria-pressed=true]{background:var(--wash-green);color:var(--accent-700)}
:root[data-theme=dark] .answer-code{border:1px solid var(--line-soft)}
:root[data-theme=dark] .answer-code-head{background:var(--paper);color:#91908a}
:root[data-theme=dark] .answer-code-head button{border:0;background:transparent;color:var(--muted-dark)}
:root[data-theme=dark] .answer-figure{background:var(--white)}
:root[data-theme=dark] .answer-figure .edgeLabel text,:root[data-theme=dark] .answer-figure .edgeLabel tspan{fill:#91908a}
:root[data-theme=dark] .chat-markdown .answer-source{border-top:1px solid var(--wash)}
:root[data-theme=dark] .answer-source summary{color:var(--muted-olive)}
:root[data-theme=dark] .diagram-error{color:var(--danger)}
:root[data-theme=dark] .answer-toc{border:1px solid var(--wash-green);color:var(--muted-olive)}
:root[data-theme=dark] .answer-toc button{background:transparent;border:0;color:var(--moss)}
:root[data-theme=dark] .answer-clarify{border:1px solid var(--line)}
:root[data-theme=dark] .answer-clarify button{border:1px solid var(--line);background:var(--paper)}
:root[data-theme=dark] .chart-dialog{border:1px solid var(--line);background:#262626}
:root[data-theme=dark] .chart-dialog::backdrop{background:color-mix(in srgb,var(--ink) 50%,transparent)}
:root[data-theme=dark] .chart-dialog-head{background:#262626;border-bottom:1px solid var(--wash-green)}
:root[data-theme=dark] .chart-dialog-head button{background:var(--wash-green);border:0}
:root[data-theme=dark] #chat-editing{background:var(--wash-green);color:var(--muted-dark)}
:root[data-theme=dark] #chat-editing button{background:transparent;border:0}
:root[data-theme=dark] #chat-style-hint{color:var(--muted)}
:root[data-theme=dark] #chat-composer textarea:focus{outline:none}
:root[data-theme=dark] .chat-message a:focus-visible,:root[data-theme=dark] .answer-code button:focus-visible{outline:2px solid var(--accent-400)}
:root[data-theme=dark] .history-delete{border:0;background:transparent;color:var(--muted)}
:root[data-theme=dark] .history-delete:hover,:root[data-theme=dark] .history-delete:focus-visible{color:var(--danger-strong);background:#27201e}
:root[data-theme=dark] .history-menu-trigger{border:0;background:transparent;color:var(--muted-olive)}
:root[data-theme=dark] .history-menu-trigger:hover,:root[data-theme=dark] .history-menu-trigger[aria-expanded=true]{background:var(--wash-green);color:var(--ink-green)}
:root[data-theme=dark] .history-actions-menu{background:var(--white);border:1px solid var(--line);box-shadow:0 10px 32px color-mix(in srgb,var(--accent-900) 11%,transparent)}
:root[data-theme=dark] .history-actions-menu button{background:transparent;border:0}
:root[data-theme=dark] .history-actions-menu button:hover,:root[data-theme=dark] .history-actions-menu button:focus-visible{background:var(--wash-green)}
:root[data-theme=dark] .history-actions-menu .danger{color:var(--danger)}
:root[data-theme=dark] .rename-record-dialog{border:1px solid var(--line)}
:root[data-theme=dark] .rename-record-dialog::backdrop{background:color-mix(in srgb,var(--ink) 33%,transparent)}
:root[data-theme=dark] .rename-record-dialog form{border:0;background:transparent;box-shadow:none}
:root[data-theme=dark] .rename-record-dialog [role=status]{color:var(--danger)}
:root[data-theme=dark] .reading-import-card{border:1px solid var(--line);background:linear-gradient(120deg,var(--wash-green),var(--white) 65%)}
:root[data-theme=dark] .reading-import-heading p{color:var(--muted)}
:root[data-theme=dark] .reading-import-heading .eyebrow{color:var(--muted)}
:root[data-theme=dark] .reading-import-tabs button{border:1px solid transparent;background:transparent;color:var(--muted-olive)}
:root[data-theme=dark] .reading-import-tabs button span{color:var(--muted)}
:root[data-theme=dark] .reading-import-tabs button[aria-selected=true]{border-color:var(--line);background:var(--white);color:var(--accent-800);box-shadow:0 2px 8px color-mix(in srgb,var(--ink-green) 3%,transparent)}
:root[data-theme=dark] .reading-import-tabs button:hover{background:var(--wash-green)}
:root[data-theme=dark] #import-form{border:0;background:none;box-shadow:none}
:root[data-theme=dark] #import-form label{color:var(--muted-olive)}
:root[data-theme=dark] #import-form input:not([type=hidden]),:root[data-theme=dark] #import-form textarea{background:var(--white);border:1px solid var(--line)}
:root[data-theme=dark] .reading-import-footer p{color:var(--muted)}
:root[data-theme=dark] .reading-upload{border:1px dashed var(--line-strong);background:color-mix(in srgb,var(--white) 50%,transparent)}
:root[data-theme=dark] .reading-upload span:last-child{color:var(--muted)}
:root[data-theme=dark] #import-form .reading-upload input{border:0;background:transparent}
:root[data-theme=dark] .reading-import-job{border-top:1px solid var(--wash-green)}
:root[data-theme=dark] .reading-import-job small{color:var(--muted)}
:root[data-theme=dark] .reading-import-job a{color:var(--accent-600);text-decoration:none}
:root[data-theme=dark] .reading-upload strong,:root[data-theme=dark] #reading-media-label{color:var(--accent-500)}
:root[data-theme=dark] .reading-upload:focus-within{outline:2px solid var(--accent-400)}
:root[data-theme=dark] .reading-upload:hover{background:var(--wash-green)}
:root[data-theme=dark] .community-card{border:1px solid var(--line-soft);background:var(--white);box-shadow:0 3px 12px color-mix(in srgb,var(--accent-900) 2%,transparent)}
:root[data-theme=dark] .community-card small{color:var(--muted-olive)}
:root[data-theme=dark] .community-art{background:linear-gradient(135deg,var(--wash-green),var(--line-strong));color:var(--accent-500);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--white) 56%,transparent)}
:root[data-theme=dark] .community-art[data-tone="1"]{background:linear-gradient(135deg,#1f2228,#1f2228);color:#748ec1}
:root[data-theme=dark] .community-art[data-tone="2"]{background:linear-gradient(135deg,var(--cream),#3c3b33);color:#9e804b}
:root[data-theme=dark] .community-art[data-tone="3"]{background:linear-gradient(135deg,#2e2a34,#2e2a34);color:#9e7dae}
:root[data-theme=dark] .community-card .community-description{color:var(--muted-dark)}
:root[data-theme=dark] .community-tags span{background:var(--wash);color:var(--muted-dark)}
:root[data-theme=dark] .community-card-footer button{background:var(--wash);border:0;color:var(--accent-700)}
:root[data-theme=dark] .community-card-footer>a{color:var(--muted-olive);text-decoration:none}
:root[data-theme=dark] .community-remote details{color:var(--muted-olive)}
:root[data-theme=dark] .skills-tabs{background:var(--wash)}
:root[data-theme=dark] .skills-tabs button{border:0;background:transparent;color:var(--muted)}
:root[data-theme=dark] .skills-tabs button[aria-selected=true]{background:#262626;color:var(--ink-green);box-shadow:0 1px 4px color-mix(in srgb,var(--accent-900) 7%,transparent)}
:root[data-theme=dark] .skills-toolbar #skill-market-query{background:var(--white)}
:root[data-theme=dark] .skills-toolbar #skill-add{background:var(--accent-800);color:var(--white);border:0}
:root[data-theme=dark] .management-dialog #skills-list .community-card{border:1px solid var(--line-soft);background:#262626}
:root[data-theme=dark] #skill-tools .community-art{background:var(--wash);color:var(--muted-dark);border:1px solid var(--wash-green)}
:root[data-theme=dark] #skill-tools .community-card{box-shadow:none}
:root[data-theme=dark] #skill-tools .community-card-footer button{background:var(--wash);color:var(--moss)}
:root[data-theme=dark] #skill-featured{background:var(--line)}
:root[data-theme=dark] #skill-featured small{color:var(--muted-dark)}
:root[data-theme=dark] .management-dialog #skill-featured h3{color:var(--ink-green)}
:root[data-theme=dark] #skill-featured p{color:var(--muted-dark)}
:root[data-theme=dark] #skill-featured button{border:0;background:var(--accent-800);color:var(--white)}
:root[data-theme=dark] .skill-featured-art{color:var(--moss)}
:root[data-theme=dark] .skills-section-heading button{background:none;border:0;color:var(--muted)}
:root[data-theme=dark] .skills-source{color:var(--muted)}
:root[data-theme=dark] .skills-source a{color:inherit;text-decoration:none}
:root[data-theme=dark] #skill-market-status{color:var(--muted)}
:root[data-theme=dark] .skill-preview-heading button{border:0;background:var(--wash-green);color:var(--moss)}
:root[data-theme=dark] #skill-preview-state{color:var(--muted)}
:root[data-theme=dark] #skill-market-content{background:var(--white)}
:root[data-theme=dark] #skill-preview-error{border:1px solid #443a32;background:var(--paper)}
:root[data-theme=dark] #skill-preview-error p{color:#b38970}
:root[data-theme=dark] #skill-market-install{background:var(--accent-800);border:0;color:#262626}
:root[data-theme=dark] .skills-toolbar :is(#skill-filter,#connector-filter){background:var(--wash);border:0;color:var(--muted-olive)}
:root[data-theme=dark] .skills-toolbar #mcp-registry-query{background:var(--white)}
:root[data-theme=dark] .management-dialog .extension-add>summary{border:0;background:var(--accent-800);color:#262626}
:root[data-theme=dark] .extension-add>div{background:#262626;border:1px solid var(--line);box-shadow:0 8px 28px color-mix(in srgb,var(--accent-900) 10%,transparent)}
:root[data-theme=dark] .extension-add>div button,:root[data-theme=dark] .extension-add>div #skill-add{background:none;color:var(--moss);border:0}
:root[data-theme=dark] .extension-add>div button:hover{background:var(--wash)}
:root[data-theme=dark] .extension-editor{border:1px solid var(--line);background:#262626}
:root[data-theme=dark] .management-dialog #connectors-list .community-card{border:1px solid var(--line-soft);background:#262626}
:root[data-theme=dark] #connector-tools .community-card{box-shadow:none}
:root[data-theme=dark] #connector-tools :is(#connector-editor,#mcp-json-import){border:1px solid var(--line);background:#262626}
:root[data-theme=dark] .community-art.has-logo{background:var(--white);box-shadow:inset 0 0 0 1px var(--line-soft)}
:root[data-theme=dark] .community-art[data-tone="4"]{background:#27201e;color:var(--danger)}
:root[data-theme=dark] .community-art[data-tone="5"]{background:#252f31;color:#71a8ad}
:root[data-theme=dark] .community-sources label{color:var(--muted)}
:root[data-theme=dark] #skill-dependency-note{background:var(--wash)}
:root[data-theme=dark] .heatmap-month{color:var(--muted)}
:root[data-theme=dark] .heat-cell{border:none;background:var(--heat-0)}
:root[data-theme=dark] .heat-cell[data-level="0"]{background:var(--heat-0)}
:root[data-theme=dark] .heat-cell[data-level="1"]{background:var(--heat-1)}
:root[data-theme=dark] .heat-cell[data-level="2"]{background:var(--heat-2)}
:root[data-theme=dark] .heat-cell[data-level="3"]{background:var(--heat-3)}
:root[data-theme=dark] .heat-cell[data-level="4"]{background:var(--heat-4)}
:root[data-theme=dark] button.heat-cell:hover,:root[data-theme=dark] button.heat-cell:focus-visible{outline:2px solid var(--muted-light)}
:root[data-theme=dark] .heatmap-legend{color:var(--muted)}
:root[data-theme=dark] .heatmap-tip{background:var(--white);border:1px solid var(--line);color:var(--ink);box-shadow:0 4px 16px color-mix(in srgb,var(--ink) 13%,transparent)}
:root[data-theme=dark] .heatmap-tip-row{color:var(--muted)}
:root[data-theme=dark] .quota-row{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .quota-head span{color:var(--muted)}
:root[data-theme=dark] .meter{background:var(--line-soft)}
:root[data-theme=dark] .meter i{background:var(--accent)}
:root[data-theme=dark] .meter.warn i{background:#9e804b}
:root[data-theme=dark] .meter.high i{background:var(--danger)}
:root[data-theme=dark] .quota-row small{color:var(--muted)}
:root[data-theme=dark] #subscription-body pre{background:var(--wash)}
:root[data-theme=dark] .admin-row.presence-generating strong:before,:root[data-theme=dark] .admin-row.presence-online strong:before{background:var(--accent-500)}
:root[data-theme=dark] .admin-row.outcome-warn strong{color:var(--danger-strong)}
:root[data-theme=dark] .turn-substeps{border-left:1px solid var(--line)}
:root[data-theme=dark] .turn-substep{color:var(--muted-olive)}
:root[data-theme=dark] .turn-substep[data-phase=error]::before{color:var(--danger)}
:root[data-theme=dark] .regen-menu{background:var(--white);border:1px solid var(--line);box-shadow:0 10px 35px color-mix(in srgb,var(--accent-900) 15%,transparent)}
:root[data-theme=dark] .regen-menu>small{color:var(--muted)}
:root[data-theme=dark] .message-actions .regen-menu button{color:var(--ink)}
:root[data-theme=dark] .message-actions .regen-menu button small{color:var(--muted)}
:root[data-theme=dark] .message-actions .regen-menu button:hover,:root[data-theme=dark] .message-actions .regen-menu button:focus-visible{background:var(--wash-green)}
:root[data-theme=dark] .message-icon svg{fill:none;stroke:currentColor}
:root[data-theme=dark] .chat-message .message-actions .message-icon svg{color:var(--muted-dark)}
:root[data-theme=dark] #chat-model-menu .model-group{border-top:1px solid var(--wash-green);color:var(--muted-olive)}
:root[data-theme=dark] #chat-model-menu .model-note{color:var(--muted)}
:root[data-theme=dark] .model-basis{color:var(--muted-light)}
:root[data-theme=dark] .message-icon[aria-pressed=true]{background:var(--wash-green);color:var(--accent-700)}
:root[data-theme=dark] .share-menu input{border:1px solid var(--line);background:var(--paper)}
:root[data-theme=dark] .message-actions .share-menu>button{background:var(--wash-green)}
:root[data-theme=dark] .message-model{color:var(--muted-light)}
:root[data-theme=dark] .chat-message .message-actions .message-icon.done svg{color:var(--accent-600)}
:root[data-theme=dark] .turn-steps .reasoning-text{border-left:2px solid var(--line-soft)}
:root[data-theme=dark] .memory-scope summary{color:var(--muted)}
:root[data-theme=dark] .memory-fact .memory-text{color:var(--ink)}
:root[data-theme=dark] .memory-left-out .memory-text{color:var(--muted)}
:root[data-theme=dark] .memory-badge{background:var(--wash-green);color:var(--slate)}
:root[data-theme=dark] .memory-preview{background:var(--wash)}
:root[data-theme=dark] .reasoning-title{color:var(--moss)}
:root[data-theme=dark] .turn-team{border:1px solid var(--wash-green);background:var(--paper)}
:root[data-theme=dark] .turn-team-head{color:var(--moss)}
:root[data-theme=dark] .turn-agent{border-top:1px dashed var(--wash-green)}
:root[data-theme=dark] .turn-team-head+.turn-agent{border-top:0}
:root[data-theme=dark] .turn-agent>summary::before,:root[data-theme=dark] .turn-agent-head::before{background:var(--line-strong)}
:root[data-theme=dark] .turn-agent[data-phase=running]>summary::before{background:var(--accent-400)}
:root[data-theme=dark] .turn-agent[data-phase=done]>summary::before,:root[data-theme=dark] .turn-agent[data-phase=done]>.turn-agent-head::before{background:var(--accent-500)}
:root[data-theme=dark] .turn-agent[data-phase=error]>summary::before,:root[data-theme=dark] .turn-agent[data-phase=error]>.turn-agent-head::before{background:var(--danger)}
:root[data-theme=dark] .turn-agent-name{color:var(--moss)}
:root[data-theme=dark] .turn-agent-meta{color:var(--muted-light)}
:root[data-theme=dark] .turn-agent-line{color:var(--muted-olive)}
:root[data-theme=dark] .turn-section{color:var(--muted)}
:root[data-theme=dark] .turn-thoughts{color:var(--muted-dark)}
:root[data-theme=dark] .turn-raw summary{color:var(--muted-light)}
:root[data-theme=dark] .source-tag.official{background:var(--wash-green);color:var(--accent-600)}
:root[data-theme=dark] .source-tag.unopened{background:var(--cream);color:var(--warn)}
:root[data-theme=dark] .source-check{border-left:2px solid var(--wash-green);color:var(--muted-olive)}
:root[data-theme=dark] .source-check[data-state=warn] summary{color:var(--warn)}
:root[data-theme=dark] .source-check-note{color:var(--muted-light)}
:root[data-theme=dark] .source-number{color:var(--warn)}
:root[data-theme=dark] .turn-agent>summary{color:inherit}
:root[data-theme=dark] .turn-zoom{border:1px solid var(--line);background:var(--white);color:var(--muted-dark)}
:root[data-theme=dark] .turn-zoom:hover{background:var(--wash-green)}
:root[data-theme=dark] .turn-note{border-left:2px solid var(--line);color:var(--moss)}
:root[data-theme=dark] .turn-zoom-body{color:var(--muted-dark)}
:root[data-theme=dark] .message-time{color:var(--muted,var(--muted-olive))}
:root[data-theme=dark] .chat-message.user .message-author{color:var(--muted,var(--muted-olive))}
:root[data-theme=dark] .activity-hint,:root[data-theme=dark] .activity-refresh-warning{color:var(--muted-dark)}
:root[data-theme=dark] .activity-card[data-status=running] .activity-progress::before,:root[data-theme=dark] .activity-card[data-status=queued] .activity-progress::before{background:var(--accent-700);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent-700) 12%,transparent)}
:root[data-theme=dark] .turn-paused{border:1px solid var(--line,#3c3934);background:var(--panel,#1f1d1a)}
/* focused-pages.css */
:root[data-theme=dark] .page-panel{box-shadow:0 20px 80px rgba(0,0,0,0.348);background:#262626;color:#dcdad5}
:root[data-theme=dark] .panel-heading button{background:transparent;border:0;color:inherit}
:root[data-theme=dark] .page-panel .panel{border:0;background:transparent}
:root[data-theme=dark] .page-panel .panel-heading{background:inherit}
:root[data-theme=dark] #reading-library>.disclosure>summary{color:var(--accent)}
:root[data-theme=dark] .library-bar input{background:transparent}
:root[data-theme=dark] #documents .book-card{border:1px solid #353431;background:#262626}
:root[data-theme=dark] #documents .book-cover{background:#31302b;box-shadow:inset 4px 0 #000000;color:var(--accent-600)}
:root[data-theme=dark] #documents .book-card:nth-child(3n+2) .book-cover{background:#373128;box-shadow:inset 4px 0 #000000;color:#a88b69}
:root[data-theme=dark] #documents .book-card:nth-child(3n) .book-cover{background:#2d3132;box-shadow:inset 4px 0 #000000;color:#819aa2}
:root[data-theme=dark] #documents .actions button{background:#21201e;border:0}
:root[data-theme=dark] body.reading-mode{--reading-bg:#24211b;--reading-fg:#cac9c2;--muted:#87857e;background:var(--reading-bg);color:var(--reading-fg)}
:root[data-theme=dark] body.reading-mode[data-reader-theme=light]{--reading-bg:#262626;--reading-fg:#dcdad5}
:root[data-theme=dark] body.reading-mode[data-reader-theme=dark]{--reading-bg:#e4e4e7;--reading-fg:#464542;--muted:#7a7873;--line:#c3c2be}
:root[data-theme=dark] .reader-toolbar{border-bottom:1px solid color-mix(in srgb,var(--reading-fg) 10%,transparent)}
:root[data-theme=dark] .reader-toolbar h2{color:var(--muted)}
:root[data-theme=dark] .reader-toolbar button{border:1px solid color-mix(in srgb,currentColor 24%,transparent);background:color-mix(in srgb,currentColor 4%,transparent);color:inherit}
:root[data-theme=dark] .reader-toolbar button:hover{background:rgba(133,133,133,0.067)}
:root[data-theme=dark] body.reading-mode #reader{border:0;background:var(--reading-bg)}
:root[data-theme=dark] .reader-progress{color:var(--muted)}
:root[data-theme=dark] body.reading-mode #notice{box-shadow:0 8px 32px rgba(0,0,0,0.2)}
:root[data-theme=dark] body.reading-mode .page-panel{background:var(--reading-bg);color:var(--reading-fg)}
:root[data-theme=dark] body.reading-mode .page-panel input,:root[data-theme=dark] body.reading-mode .page-panel select,:root[data-theme=dark] body.reading-mode .page-panel textarea{background:var(--reading-bg);color:var(--reading-fg);border-color:var(--line)}
:root[data-theme=dark] body.reading-mode[data-reader-theme=dark] .page-panel button{color:var(--reading-fg);background:#d2d0cd}
:root[data-theme=dark] .reader-controls output{color:var(--muted)}
:root[data-theme=dark] .reader-controls input[type=range]{accent-color:var(--accent-600)}
:root[data-theme=dark] .offline-settings{border-top:1px solid var(--line)}
:root[data-theme=dark] .focus-detail .focused-content{border:0;background:transparent}
:root[data-theme=dark] .detail-back{background:transparent;border:0;color:var(--muted)}
@media(max-width:600px){:root[data-theme=dark] .reader-actions{border-top:1px solid rgba(133,133,133,0.133)}}
:root[data-theme=dark] .notice-dismiss{border:0;background:transparent;color:inherit}
:root[data-theme=dark] .panel-notice{border:1px solid #4a473d}
:root[data-theme=dark] .meeting-card{background:var(--surface,#262626);border:1px solid var(--line,#393732)}
:root[data-theme=dark] .meeting-card span{color:var(--muted,#8f8d86)}
:root[data-theme=dark] .meeting-workspace-actions{border-bottom:1px solid var(--line,#393732)}
:root[data-theme=dark] .meeting-workspace-actions .subnav{border:0}
:root[data-theme=dark] .meeting-recording-tabs .selected{background:#2e2d27;border-color:var(--accent-500)}
:root[data-theme=dark] .meeting-player{border:1px solid var(--line,#393732)}
:root[data-theme=dark] .meeting-topic{border-top:1px solid var(--line,#393732)}
:root[data-theme=dark] .meeting-topic h5{color:var(--muted,#8f8d86)}
:root[data-theme=dark] .meeting-person.guess{border-bottom:1px dashed #9d7435}
:root[data-theme=dark] .meeting-person sup{color:#bf9361}
:root[data-theme=dark] .meeting-person.unknown{color:var(--muted,#8f8d86)}
:root[data-theme=dark] .meeting-badge{color:#bf9361;border:1px solid #3c3b33}
:root[data-theme=dark] .meeting-owner-hint{color:#bf9361}
:root[data-theme=dark] .meeting-thinking{color:var(--accent-600)}
:root[data-theme=dark] #meeting-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;color:var(--muted)}
:root[data-theme=dark] #meeting-tabs button.selected{color:var(--accent);border-bottom-color:var(--accent)}
:root[data-theme=dark] #effort-hint{color:var(--muted)}
:root[data-theme=dark] #documents .book-open{color:inherit;text-decoration:none}
:root[data-theme=dark] #documents .book-card:has(.book-open):hover{border-color:#6e6b64;background:#1b1b17}
:root[data-theme=dark] #documents .book-open:focus-visible:after{outline:2px solid var(--accent-600)}
:root[data-theme=dark] #meeting-add-tabs button.selected{color:var(--accent-800);border-bottom:2px solid var(--accent-700)}
:root[data-theme=dark] .meeting-drop{border:1.5px dashed var(--line,#48473e);color:var(--muted,#96938b)}
:root[data-theme=dark] .meeting-drop strong{color:inherit;color:var(--accent-800)}
:root[data-theme=dark] .meeting-drop.dragging,:root[data-theme=dark] .meeting-drop:hover{border-color:var(--accent-700);background:#1f1f1c}
:root[data-theme=dark] .meeting-text-view li.selected{background:#271f06}
:root[data-theme=dark] .reader-deep-body ul{color:var(--muted-olive)}
:root[data-theme=dark] .reader-toolbar .deep-done{color:var(--muted)}
:root[data-theme=dark] .image-viewer{border:0;background:#ebebeb;color:#2b2b2b}
:root[data-theme=dark] .image-viewer::backdrop{background:#ebebeb}
:root[data-theme=dark] .image-viewer-bar{color:#4c4c4c}
:root[data-theme=dark] .image-viewer{--close-surface:#dbdbdb;--close-ink:#2b2b2b;--close-border:#bababa}
:root[data-theme=dark] .image-viewer-actions button,:root[data-theme=dark] .image-viewer-actions a{border:1px solid #b0b0b0;background:#dfdfdf;color:#2b2b2b;text-decoration:none}
:root[data-theme=dark] .meeting-fold{border:1px solid var(--line)}
:root[data-theme=dark] .meeting-fold .panel{box-shadow:none}
:root[data-theme=dark] .meeting-action-meta{color:var(--muted-dark)}
:root[data-theme=dark] .meeting-people-line{color:var(--muted-dark)}
:root[data-theme=dark] .meeting-discussion>.meeting-topic:first-of-type{border:0}
:root[data-theme=dark] .meeting-point blockquote strong{color:var(--muted-dark)}
:root[data-theme=dark] .chat-markdown>details{border:1px solid var(--line)}
/* quick.css */
:root[data-theme=dark] #quick-shortcuts button{border:1px solid var(--line,#3d3c38);background:transparent;color:var(--muted,#96938b)}
:root[data-theme=dark] #quick-shortcuts button[aria-pressed=true]{color:var(--accent-800);background:#23221e;border-color:#706d65}
:root[data-theme=dark] .quick-question{color:var(--muted,#96938b);border-left:2px solid #49473d}
:root[data-theme=dark] .quick-expressions{border-top:1px solid var(--line,#3d3c38)}
:root[data-theme=dark] .quick-expression{border-bottom:1px solid var(--line,#3d3c38)}
:root[data-theme=dark] .quick-expression span{color:var(--muted,#96938b)}
:root[data-theme=dark] .quick-actions button:first-child{background:var(--accent-700);color:#262626;border-color:var(--accent-700)}
:root[data-theme=dark] .quick-upgrade-hint{color:var(--muted,#96938b)}
:root[data-theme=dark] #quick-history summary{color:var(--muted,#96938b)}
:root[data-theme=dark] #quick-history-list button{border:0;background:transparent}
:root[data-theme=dark] #memo-notes-list .memo-note{border-bottom:1px solid var(--line,#3d3c38)}
:root[data-theme=dark] #quick-results .quick-actions button:first-child{background:transparent;color:inherit;border-color:var(--line,#3d3c38)}
:root[data-theme=dark] .quick-images img{border:1px solid var(--line,#3d3c38);background:#262626}
:root[data-theme=dark] .quick-question-copy{border:0;background:transparent;color:#8e8c84}
:root[data-theme=dark] .quick-question-copy:hover,:root[data-theme=dark] .quick-question-copy:focus-visible{color:var(--accent-800);text-decoration:underline}
:root[data-theme=dark] .capture-receipt{border:1px solid var(--line,#3d3c38);background:#262626}
:root[data-theme=dark] .capture-head strong{color:var(--accent-800)}
:root[data-theme=dark] .capture-kind{background:#23221e;color:var(--accent-800)}
:root[data-theme=dark] .capture-receipt[data-kind=note] .capture-kind{background:#292825;color:#a09f97}
:root[data-theme=dark] .capture-title{color:#dcdad5}
:root[data-theme=dark] .capture-meta{color:var(--muted,#96938b)}
:root[data-theme=dark] .capture-plan{border-top:1px dashed var(--line,#3d3c38)}
:root[data-theme=dark] .capture-dates button{background:transparent}
:root[data-theme=dark] .capture-actions button{border:0;background:transparent;color:var(--muted,#96938b)}
:root[data-theme=dark] .capture-actions a{color:var(--accent,var(--accent-700))}
:root[data-theme=dark] .capture-receipt.undone .capture-body,:root[data-theme=dark] .capture-receipt.undone .quick-images{text-decoration:line-through}
/* workspace.css */
:root[data-theme=dark]{--surface:#262626;--sidebar:#23221e;--line:#323231;--muted:#989691;--accent:#bbb9b1}
:root[data-theme=dark] body:not(.reading-mode){background:var(--paper);color:#dbdad6}
:root[data-theme=dark] .nav-icon{color:currentColor}
:root[data-theme=dark] #workspace-menu{border:0;background:transparent;color:#9b9994}
:root[data-theme=dark] #workspace-menu:hover,:root[data-theme=dark] #toggle-history:hover{background:#32312f}
:root[data-theme=dark] body.workspace-shell .empty{color:#8a8881}
:root[data-theme=dark] body.workspace-shell .subnav{border:0}
:root[data-theme=dark] body.workspace-shell .subnav :is(a,button){border:0;background:transparent;color:var(--muted)}
:root[data-theme=dark] body.workspace-shell .subnav :is(a[aria-current],button.selected){background:#2a2a27!important;color:#c9c8bf;box-shadow:none}
:root[data-theme=dark] body.workspace-shell .subnav :is(a,button):hover{background:#21201d}
:root[data-theme=dark] body.workspace-shell .reading-import-card{background:#262626;box-shadow:none}
:root[data-theme=dark] body.workspace-shell .reading-import-tabs{background:#20201c}
:root[data-theme=dark] body.workspace-shell .reading-import-tabs button{color:#a2a098}
:root[data-theme=dark] body.workspace-shell .reading-import-tabs button[aria-selected=true]{border-color:#403d34;background:#262626;color:var(--accent-800)}
:root[data-theme=dark] body.workspace-shell #import-form label{color:#a2a098}
:root[data-theme=dark] body.chat-mode{background:var(--paper)}
:root[data-theme=dark] body.chat-mode .chat-main{background:var(--paper)}
:root[data-theme=dark] #image-help li{border-bottom:1px solid var(--line)}
:root[data-theme=dark] #image-help li strong{color:var(--accent-800)}
@media(max-width:1023px){:root[data-theme=dark] body.workspace-shell #workspace-scrim:not([hidden]){border:0;background:rgba(222,219,211,0.22)}}
:root[data-theme=dark] .brand-version{background:#333230;color:#98968e}
:root[data-theme=dark] #reading-parse-jobs,:root[data-theme=dark] #reading-import-jobs{border:1px solid var(--line)}
:root[data-theme=dark] .book-progress summary{color:var(--muted)}
:root[data-theme=dark] .book-progress small{color:var(--muted)}
:root[data-theme=dark] .ai-reading-progress{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .ai-reading-progress blockquote{border-left:2px solid var(--accent)}
:root[data-theme=dark] .app-loading::after{background:var(--accent-600)}
:root[data-theme=dark] a.document-artifact{border:1px solid var(--line-strong,var(--line));background:var(--surface);color:var(--ink);text-decoration:none!important;box-shadow:0 1px 3px rgba(0,0,0,0.108)}
:root[data-theme=dark] a.document-artifact:hover{border-color:var(--accent);background:var(--wash-green)}
:root[data-theme=dark] .document-artifact-icon{border:1px solid var(--line);background:var(--paper);color:var(--muted)}
:root[data-theme=dark] .document-artifact-meta{color:var(--muted)}
:root[data-theme=dark] .document-artifact-action{color:var(--accent)}
:root[data-theme=dark] dialog.artifact-panel{border:1px solid var(--line);background:var(--surface);color:var(--ink);box-shadow:0 3px 18px rgba(0,0,0,0.136)}
:root[data-theme=dark] .artifact-panel-head{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .artifact-panel-type{color:var(--muted)}
:root[data-theme=dark] .artifact-panel button.artifact-icon-button{border:0;background:transparent;color:var(--muted)}
:root[data-theme=dark] .artifact-panel button.artifact-icon-button:hover{background:var(--wash-green);color:var(--ink)}
:root[data-theme=dark] .artifact-panel button.artifact-share-button{color:var(--ink);border:1px solid var(--line)}
:root[data-theme=dark] .artifact-panel-tools{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .artifact-panel-tools button{border:1px solid transparent;background:transparent;color:var(--muted)}
:root[data-theme=dark] .artifact-panel-tools [aria-pressed=true]{background:var(--wash);border-color:var(--line);color:var(--ink)}
:root[data-theme=dark] .artifact-panel-tools a{border:1px solid var(--line);text-decoration:none;color:var(--ink)}
:root[data-theme=dark] .artifact-panel-content>iframe{border:0!important}
:root[data-theme=dark] .artifact-resizer:after{background:transparent}
:root[data-theme=dark] .artifact-resizer:hover:after,:root[data-theme=dark] .artifact-resizer:focus-visible:after,:root[data-theme=dark] .artifact-resizing .artifact-resizer:after{background:var(--accent)}
:root[data-theme=dark] .artifact-popover{background:var(--surface);border:1px solid var(--line);box-shadow:0 8px 28px rgba(0,0,0,0.249)}
:root[data-theme=dark] .artifact-popover>p{color:var(--muted)}
:root[data-theme=dark] .artifact-popover>button,:root[data-theme=dark] .artifact-popover>a{border:0;background:transparent;color:var(--ink);text-decoration:none}
:root[data-theme=dark] .artifact-popover>button:hover,:root[data-theme=dark] .artifact-popover>a:hover{background:var(--wash-green)}
:root[data-theme=dark] .artifact-menu-label{border-top:1px solid var(--line);color:var(--muted)}
:root[data-theme=dark] .artifact-font-controls output{color:var(--muted)}
@media(max-width:900px){:root[data-theme=dark] dialog.artifact-panel{border:0}}
:root[data-theme=dark] .artifact-resizer:before{background:var(--line-strong,var(--line))}
:root[data-theme=dark] .artifact-panel .artifact-icon-button[aria-pressed=true]{background:var(--wash-green);color:var(--ink)}
/* creation-studio.css */
:root[data-theme=dark] .creation-template:focus-visible{outline:2px solid var(--accent)}
:root[data-theme=dark] .template-caption{color:#84827d}
:root[data-theme=dark] .template-art{background:#34332d;color:#89877f}
:root[data-theme=dark] .art-poster{background:#36342f}
:root[data-theme=dark] .art-product{background:linear-gradient(125deg,#2e2921,#4d4331)}
:root[data-theme=dark] .art-landscape{background:#2f2e2a}
:root[data-theme=dark] .art-interior{background:#35312a}
:root[data-theme=dark] .art-wave{background:#302f2b;color:var(--accent-400)}
:root[data-theme=dark] .art-narration{background:#38322a;color:#877351}
:root[data-theme=dark] .art-english{background:#313136;color:#75748c}
:root[data-theme=dark] .art-clip{background:#333138;color:#6f6589}
:root[data-theme=dark] .art-captions{background:#2f3336;color:#61788b}
:root[data-theme=dark] .art-convert{background:#31302c;color:#75736c}
:root[data-theme=dark] .upward-options .upward-group{color:#817f76}
:root[data-theme=dark] .upward-options [role=option] small{color:#8b8981}
:root[data-theme=dark] .upward-options .upward-tabs{background:#262626;border-bottom:1px solid #292825}
:root[data-theme=dark] .upward-options .upward-tabs [role=tab]{border:0;border-bottom:2px solid transparent;background:transparent;color:#96948c}
:root[data-theme=dark] .upward-options .upward-tabs [role=tab][aria-selected=true]{background:transparent;color:#cdcac2;border-bottom-color:var(--accent-600)}
:root[data-theme=dark] .upward-options .upward-note{color:#8b8981}
/* office-templates.css */
:root[data-theme=dark] body.workspace-shell #office-templates h2,:root[data-theme=dark] body.workspace-shell .office-history-heading{color:#8d8b83}
:root[data-theme=dark] .office-guide{border:1px solid var(--line,#393732);background:var(--surface,#262626)}
:root[data-theme=dark] .office-guide span{color:var(--muted,#8f8d86)}
:root[data-theme=dark] .office-guide:hover{border-color:var(--accent-500)}
:root[data-theme=dark] .office-template{border:0;background:transparent;color:#c3c1b9}
:root[data-theme=dark] .office-template:hover{background:transparent}
:root[data-theme=dark] .office-template:focus-visible{outline:2px solid var(--accent)}
:root[data-theme=dark] .office-template-art{background:#2f2e28;color:var(--accent-400)}
:root[data-theme=dark] .office-template-art.theme-huawei{background:#382e2c;color:#ff5a4c}
:root[data-theme=dark] .office-template-art.theme-sand{background:#342f29;color:#836c4c}
:root[data-theme=dark] .office-template-art.theme-lavender{background:#323036;color:#786e8e}
:root[data-theme=dark] .office-template-art.theme-blue{background:#2b3033;color:#597785}
:root[data-theme=dark] .office-template>span:last-child{color:var(--muted)}
:root[data-theme=dark] #office-template-preview{border:1px solid #383730;box-shadow:0 16px 60px color-mix(in srgb,var(--accent-900) 13%,transparent)}
:root[data-theme=dark] #office-template-preview::backdrop{background:rgba(223,220,212,0.2)}
:root[data-theme=dark] #office-template-preview form{border:0}
:root[data-theme=dark] #office-template-preview .bar button{border:0;background:transparent;color:#8b8981}
:root[data-theme=dark] #office-template-preview label{color:#8b8981}
/* responsive.css */
:root[data-theme=dark] #chat-welcome h1:before{background:conic-gradient(from 45deg,#6e6b64,var(--accent-700),#4f4d47,#6e6b64);box-shadow:inset 0 0 0 4px rgba(0,0,0,0.984)}
:root[data-theme=dark] .turn-state:not(.settled){border-left:2px solid var(--accent-400)}
/* composer-menu.css */
:root[data-theme=dark] body #chat-composer .composer-mention{border:0;background:var(--wash-green);color:var(--accent-700)}
:root[data-theme=dark] body #chat-composer .composer-mention:focus-visible{outline:2px solid var(--accent-400)}
:root[data-theme=dark] body #chat-composer #chat-input::placeholder{color:var(--muted)}
:root[data-theme=dark] .composer-footer .composer-disclaimer{color:#7c7a75}
:root[data-theme=dark] .composer-footer #chat-model-trigger{color:#bdbbb3}
:root[data-theme=dark] body .composer-footer #chat-effort{border:0;background-color:transparent;color:var(--muted)}
:root[data-theme=dark] .composer-footer #model-hint{color:var(--muted)}
:root[data-theme=dark] body #chat-composer .compose-menu{border:1px solid #383735;background:#262626;box-shadow:0 10px 40px rgba(0,0,0,0.299)}
:root[data-theme=dark] body #chat-composer .compose-menu .compose-menu-row{border:0;background:transparent;color:#cbcac1;text-decoration:none}
:root[data-theme=dark] body #chat-composer .compose-menu .compose-menu-row:hover,:root[data-theme=dark] body #chat-composer .compose-menu .compose-menu-row[aria-expanded=true]{background:#22211e}
:root[data-theme=dark] .compose-menu-row>[data-compose-icon]{color:#adaaa2}
:root[data-theme=dark] .compose-menu .menu-chevron{color:#76746c}
:root[data-theme=dark] .compose-menu hr{border:0;border-top:1px solid #31302d}
:root[data-theme=dark] body #chat-composer .compose-menu .compose-menu-back{border:0;border-bottom:1px solid #2d2d29;background:none;color:#838179}
:root[data-theme=dark] .compose-menu-row[aria-pressed=true]:after{color:var(--accent-600)}
:root[data-theme=dark] body #chat-composer #composer-panel{border:0;box-shadow:none;background:transparent}
:root[data-theme=dark] body #chat-composer #composer-panel select{background:#201f1d}
:root[data-theme=dark] body #chat-composer .compose-menu :is(.compose-menu-empty,#skill-mode-hint,#chat-connectors-status){color:#7d7c73}
:root[data-theme=dark] .compose-switch:after{background:radial-gradient(circle at 9px 9px,#262626 6px,transparent 7px),#4f4d47}
:root[data-theme=dark] .compose-switch[aria-checked=true]:after{background:radial-gradient(circle at 21px 9px,#262626 6px,transparent 7px),var(--accent-600)}
:root[data-theme=dark] .compose-menu button:focus-visible,:root[data-theme=dark] .compose-menu a:focus-visible{outline:2px solid var(--accent-400)}
:root[data-theme=dark] body #chat-composer #chat-send-mode button{border:1px solid transparent;background:transparent;color:var(--muted-dark)}
:root[data-theme=dark] body #chat-composer #chat-send-mode button[aria-pressed=true]{border-color:var(--line);background:var(--wash-green);color:var(--accent-700)}
:root[data-theme=dark] #chat-queue .queue-item{border:1px solid var(--line);background:var(--white);color:var(--muted-dark)}
:root[data-theme=dark] #chat-queue .queue-item[data-state=failed]{border-color:var(--danger)}
:root[data-theme=dark] #chat-queue .queue-state{color:var(--muted-olive)}
:root[data-theme=dark] #chat-queue .queue-item[data-state=failed] .queue-state{color:var(--danger)}
:root[data-theme=dark] #chat-queue .queue-text{color:var(--ink)}
:root[data-theme=dark] #chat-queue .queue-actions button{border:0;background:transparent;color:var(--accent-700)}
:root[data-theme=dark] #chat-queue .queue-editor{border:1px solid var(--line)}
/* conversation-list.css */
:root[data-theme=dark] .user-attachment-download{color:#918f87}
:root[data-theme=dark] .user-attachment-unavailable{border:1px dashed #4c493f;color:#918e86}
:root[data-theme=dark] body .chat-sidebar .history-list-tools>button{border:0;background:transparent;color:#95938c}
:root[data-theme=dark] body .chat-sidebar .history-list-tools>button:hover,:root[data-theme=dark] body .chat-sidebar .history-list-tools>button.is-filtered{background:#32312f;color:#d0cec5}
:root[data-theme=dark] .history-icon{color:currentColor}
:root[data-theme=dark] .history-section-toggle{border:0;background:transparent;color:#85837e}
:root[data-theme=dark] body.authenticated .chat-history-entry:hover{background:#2d2c2a}
:root[data-theme=dark] body.authenticated .chat-history-entry.selected{background:#31302d}
:root[data-theme=dark] body.authenticated .chat-history-entry .history-row{background:transparent;border:0;color:#b2afa8}
:root[data-theme=dark] body.authenticated .chat-history-entry.selected .history-row{color:#d8d7ce}
:root[data-theme=dark] .history-generating{background:var(--accent-500)}
:root[data-theme=dark] .history-group-empty{color:#777570}
:root[data-theme=dark] .quick-history-more{border:0;background:transparent;color:#8f8d85}
:root[data-theme=dark] .history-actions-menu{border-color:#3a3a35;box-shadow:0 8px 28px rgba(0,0,0,0.264),0 1px 4px rgba(0,0,0,0.172)}
:root[data-theme=dark] .history-actions-menu button{color:#d1cfc7}
:root[data-theme=dark] .history-actions-menu button>.history-icon:last-child:not(:first-child){color:#7d7b74}
:root[data-theme=dark] .history-actions-menu hr{border:0;border-top:1px solid #32312d}
:root[data-theme=dark] .history-actions-menu .danger{color:#f07266}
:root[data-theme=dark] .history-picker{border:1px solid #3a3a35;background:#262626;box-shadow:0 20px 70px rgba(0,0,0,0.334)}
:root[data-theme=dark] .history-picker::backdrop,:root[data-theme=dark] .history-dialog::backdrop{background:#201f1944}
:root[data-theme=dark] .history-picker .dialog-heading{background:#262626}
:root[data-theme=dark] .history-picker-content h3{color:#86847d}
:root[data-theme=dark] .picker-description{color:#88867e}
:root[data-theme=dark] .picker-row{border:0;background:transparent}
:root[data-theme=dark] .picker-row:hover{background:#22211d}
:root[data-theme=dark] .picker-row.is-current{background:#201f1d}
:root[data-theme=dark] .picker-add{color:var(--accent-600);border-top:1px solid #2e2c28}
:root[data-theme=dark] .history-picker-status{color:#d68374}
:root[data-theme=dark] .history-option-buttons button{background:transparent}
:root[data-theme=dark] .history-option-buttons button[aria-pressed=true]{background:#2b2a25;border-color:#5a5951;color:#bbb9b1}
:root[data-theme=dark] .group-management-row button{border:0;background:transparent}
:root[data-theme=dark] body .history-dialog{border:1px solid #3d3c39;background:#262626;box-shadow:0 24px 100px rgba(0,0,0,0.348)}
:root[data-theme=dark] body .history-dialog .history-search-heading #history-query{border:0;background:transparent;box-shadow:none}
:root[data-theme=dark] body .history-dialog #history-query:focus{outline:0}
:root[data-theme=dark] .history-search-heading .dialog-close{color:#b2afa8}
:root[data-theme=dark] #history-tabs{border-bottom:1px solid #31302c}
:root[data-theme=dark] #history-tabs button{border:0;background:transparent;color:#88867f}
:root[data-theme=dark] #history-tabs button[aria-selected=true]{background:#232220;color:#d7d6cd}
:root[data-theme=dark] #history-tabs button:hover{color:#d7d6cd;background:#1e1d1a}
:root[data-theme=dark] body .history-dialog #history-status{color:var(--muted)}
:root[data-theme=dark] .search-result-section h3,:root[data-theme=dark] #history-quick-actions h3{color:var(--muted)}
:root[data-theme=dark] body .history-dialog .history-result{border:0;background:transparent}
:root[data-theme=dark] body .history-dialog .history-result:hover,:root[data-theme=dark] body .history-dialog .history-result:focus-visible{background:#21201d}
:root[data-theme=dark] .history-result>.history-icon{color:#98968f}
:root[data-theme=dark] body .history-dialog .history-result p{color:#8f8d85}
:root[data-theme=dark] body .history-dialog .history-result small{color:#77756d}
:root[data-theme=dark] body .history-dialog .history-result mark{background:#302e26;color:var(--accent-800)}
:root[data-theme=dark] .search-quick-action{border:0;background:transparent;color:#b5b4aa}
:root[data-theme=dark] .search-quick-action:hover,:root[data-theme=dark] .search-quick-action:focus-visible{background:#21201d}
:root[data-theme=dark] .search-action-arrow{color:#716f68}
:root[data-theme=dark] .search-provider-error{background:#211e1a;color:#b08b64}
:root[data-theme=dark] .search-provider-error button{border:0;background:transparent}
:root[data-theme=dark] .history-search-empty{color:#818078}
:root[data-theme=dark] .history-search-footer{border-top:1px solid #2f2e29;background:#1c1b18;color:#77756d}
:root[data-theme=dark] .history-dialog button:focus-visible,:root[data-theme=dark] .history-picker button:focus-visible,:root[data-theme=dark] .history-actions-menu button:focus-visible,:root[data-theme=dark] .history-section-toggle:focus-visible{outline:2px solid var(--accent-300)}
/* chat-followup.css */
:root[data-theme=dark] .ask-bar{border:1px solid #3c3b33;background:#262626;box-shadow:0 6px 24px color-mix(in srgb,var(--accent-900) 13%,transparent)}
:root[data-theme=dark] .ask-bar button{border:0;background:transparent;color:#cfccc3}
:root[data-theme=dark] .ask-bar button:first-child{background:var(--accent-800);color:#262626}
:root[data-theme=dark] .ask-bar button:hover{filter:brightness(.96)}
:root[data-theme=dark] .ask-tip{background:#cfccc3;color:#262626;box-shadow:0 6px 20px color-mix(in srgb,var(--accent-900) 20%,transparent)}
:root[data-theme=dark] mark.ask-mark{background:transparent;color:inherit;border-bottom:2px solid var(--accent-400)}
:root[data-theme=dark] mark.ask-mark:hover,:root[data-theme=dark] mark.ask-mark:focus-visible{background:#302e27;outline:0}
:root[data-theme=dark] #ask-hub{border:1px solid #3c3a33;background:#262626;box-shadow:0 3px 16px color-mix(in srgb,var(--accent-900) 9%,transparent);color:#cfccc3}
:root[data-theme=dark] #ask-hub::before{background:var(--accent-400)}
:root[data-theme=dark] #ask-hub.has-new::before{background:#b56a28}
:root[data-theme=dark] .ask-panel{border:1px solid #3c3b33;background:#262626;box-shadow:0 12px 40px color-mix(in srgb,var(--accent-900) 16%,transparent)}
:root[data-theme=dark] .ask-head{border-bottom:1px solid #2d2d29}
:root[data-theme=dark] .ask-head .ask-back,:root[data-theme=dark] .ask-head .ask-close{border:0;background:transparent;color:#a6a49d}
:root[data-theme=dark] .ask-head .ask-back:hover,:root[data-theme=dark] .ask-head .ask-close:hover{background:#2b2a27}
:root[data-theme=dark] .ask-head .ask-title{border:0;background:transparent;color:#cfccc3}
:root[data-theme=dark] .ask-head .ask-title:not(.ask-panel.is-list *):hover{background:#2b2a27}
:root[data-theme=dark] .ask-question{background:#2c2b27}
:root[data-theme=dark] .ask-live .chat-message{border:0;background:transparent}
:root[data-theme=dark] .ask-row{border:0;border-bottom:1px solid #2d2d29;background:transparent}
:root[data-theme=dark] .ask-row:hover{background:#20201c}
:root[data-theme=dark] .ask-row-quote{color:#cfccc3;border-bottom:2px solid var(--accent-400)}
:root[data-theme=dark] .ask-row-question{color:#c2bfb7}
:root[data-theme=dark] .ask-row-state{color:#8d8b83}
:root[data-theme=dark] .ask-foot{border-top:1px solid #2d2d29}
:root[data-theme=dark] .ask-foot textarea{border:1px solid #3b3934}
:root[data-theme=dark] .ask-foot .ask-send.is-stop{background:#ed9281!important;border-color:#ed9281}
/* home-sheets.css */
:root[data-theme=dark] #home-sheets{background:#2d2d29}
:root[data-theme=dark] #quick-shortcuts .sheet-start{border:1px solid var(--line,#3d3c38);background:transparent;color:var(--muted,#96938b)}
:root[data-theme=dark] #quick-shortcuts .sheet-start:hover{border-color:#4e4d45;color:#c6c4bb;background:#1f1e1b}
:root[data-theme=dark] .chat-main.empty-chat #chat-welcome #sheet-lede{color:#88867f}
:root[data-theme=dark] .creation-ask-meta{color:#8b8981}
:root[data-theme=dark] .creation-turn .message-author{color:#8b8981}
:root[data-theme=dark] .creation-state{color:#a4a299}
:root[data-theme=dark] .creation-turn[data-status=failed] .creation-state{color:#de8270}
:root[data-theme=dark] .creation-spinner{border:2px solid #47453b;border-top-color:var(--accent-600)}
:root[data-theme=dark] .creation-picture{border:2px solid transparent;background:#21201d}
:root[data-theme=dark] .creation-picture.picked{border-color:var(--accent-600)}
:root[data-theme=dark] .creation-picture.picked::before{background:#3a3831d9;color:#262626}
:root[data-theme=dark] .creation-picture figcaption{background:#262626}
:root[data-theme=dark] .creation-picture figcaption a,:root[data-theme=dark] .creation-actions a{color:#a2a098;text-decoration:underline}
:root[data-theme=dark] .creation-picture figcaption button,:root[data-theme=dark] .creation-actions button{border:0;background:transparent;color:#c3c1b9}
:root[data-theme=dark] .creation-picture.picked .creation-pick{color:#cdcac2}
:root[data-theme=dark] .creation-transcript{color:#ccc9c1}
:root[data-theme=dark] .history-row .history-row-kind{color:#74726b}
:root[data-theme=dark] .creation-history-all{color:#96948c}
:root[data-theme=dark] .sheet-panel .creation-template[aria-pressed=true] .template-art{outline:2px solid #cdcbc3}
:root[data-theme=dark] .sheet-panel-head .deck-brand{color:#88867f}
:root[data-theme=dark] .answer-deck{border:1px solid #3b3934;background:#1c1b18}
:root[data-theme=dark] .answer-deck-kind{color:#94928a;background:#2d2c25}
:root[data-theme=dark] .answer-deck[data-brand] .answer-deck-kind{color:#ff7a6b;background:#3a2d2c}
:root[data-theme=dark] .answer-deck p.answer-deck-meta{color:#97958d}
:root[data-theme=dark] .answer-deck .deck-page{border:1px solid #383632;background:#262626;border-top:3px solid #cdcbc3}
:root[data-theme=dark] .answer-deck[data-brand] .deck-page{border-top-color:#ff5a4c}
:root[data-theme=dark] .answer-deck .deck-page strong{color:#e0ded7}
:root[data-theme=dark] .answer-deck .deck-page .deck-sub{color:#95938a}
:root[data-theme=dark] .answer-deck .deck-page ul{color:#acaaa1}
:root[data-theme=dark] .deck-cover .deck-page,:root[data-theme=dark] .deck-end .deck-page,:root[data-theme=dark] .deck-section .deck-page{background:#1f1f1b}
:root[data-theme=dark] .answer-deck[data-brand] :is(.deck-cover,.deck-end,.deck-section) .deck-page{background:#251f1e}
:root[data-theme=dark] .deck-reading section{border-bottom:1px solid var(--border,#383632)}
:root[data-theme=dark] .deck-preview-dialog{border:1px solid #3d3d3d;background:#1c1c1b;color:#d7dcd6}
:root[data-theme=dark] .deck-preview-dialog::backdrop{background:#0009}
:root[data-theme=dark] .deck-preview-viewport{background:#363634}
:root[data-theme=dark] .deck-preview-note{color:#a1a1a1}
:root[data-theme=dark] .answer-deck .deck-meta{color:var(--muted)}
:root[data-theme=dark] .answer-deck p.answer-deck-state{color:#97958d}
:root[data-theme=dark] .composer-footer #sheet-hint{color:var(--muted-dark)}
:root[data-theme=dark] .sheet-panel-head h2{color:#88867f}
:root[data-theme=dark] .sheet-panel-head a{color:#96938b}
:root[data-theme=dark] .sheet-panel-head a:hover{color:#c6c4bb}
:root[data-theme=dark] .sheet-panel .creation-template{border:0;background:transparent;color:#c3c0b8}
:root[data-theme=dark] .sheet-panel .creation-template .template-caption{color:var(--muted-dark)}
:root[data-theme=dark] .answer-task{border:1px solid #3c3a31;background:#1b1b17}
:root[data-theme=dark] .answer-task.created{background:#201f1b}
:root[data-theme=dark] .answer-task-kind{color:#94928a;background:#2d2c25}
:root[data-theme=dark] .answer-task p.answer-task-when{color:#97958d}
:root[data-theme=dark] .answer-task p.answer-task-prompt{color:#c4c2ba}
:root[data-theme=dark] .answer-task-actions a{color:#a2a098;text-decoration:underline}
:root[data-theme=dark] .answer-task p.answer-task-state{color:#97958d}
:root[data-theme=dark] .sheet-param select.enhanced-select{border:0}
:root[data-theme=dark] .sheet-quota{color:#a09d96}
:root[data-theme=dark] .creation-prompt{background:#1f1e1a;color:#b6b4ac}
:root[data-theme=dark] .creation-prompt-label{color:var(--muted)}
:root[data-theme=dark] .creation-prompt-edit{border:1px solid #393831}
:root[data-theme=dark] .creation-prompt-actions button{border:1px solid #393831;background:#262626;color:#c3c1b9}
:root[data-theme=dark] .creation-prompt-actions button.primary{background:#cdcac2;border-color:#cdcac2;color:#262626}
:root[data-theme=dark] .sheet-voice-manage{border:1px solid #45433a;background:#211f1b;color:var(--accent-600)}
:root[data-theme=dark] .my-voice{border:0;box-shadow:0 12px 48px rgba(0,0,0,0.419)}
:root[data-theme=dark] .my-voice::backdrop{background:rgba(223,220,212,0.2)}
:root[data-theme=dark] .my-voice-status{color:#8c8a82}
:root[data-theme=dark] .my-voice-row{border:1px solid #373530}
:root[data-theme=dark] .my-voice-row.chosen{border-color:var(--accent-400);background:#1e1d1a}
:root[data-theme=dark] .my-voice-list .empty{color:#8c8a82}
:root[data-theme=dark] .my-voice-pick small{color:#8c8a82}
:root[data-theme=dark] .my-voice-add{border-top:1px solid #292825}
:root[data-theme=dark] .my-voice-tabs button,:root[data-theme=dark] .my-voice-langs button{border:1px solid #393831;background:#262626}
:root[data-theme=dark] .my-voice-tabs button[aria-selected=true],:root[data-theme=dark] .my-voice-langs button[aria-pressed=true]{background:#cdcac2;border-color:#cdcac2;color:#262626}
:root[data-theme=dark] .my-voice-help{color:#a7a59c}
:root[data-theme=dark] .my-voice-script{background:#1f1e1a;color:#cfccc3}
:root[data-theme=dark] .my-voice-rec{border:1px solid #e56157;background:#262626;color:#f17568}
:root[data-theme=dark] .my-voice-rec.live{background:#e56157;color:#262626}
:root[data-theme=dark] .my-voice-timer{color:#a7a59c}
:root[data-theme=dark] .my-voice-full{color:#ad9977}
:root[data-theme=dark] .my-voice-picked{color:#a7a59c}
:root[data-theme=dark] .sheet-param-row{border:1px solid var(--line);background:var(--line)}
:root[data-theme=dark] .sheet-params .sheet-param{border:0;background:var(--wash);color:var(--muted)}
:root[data-theme=dark] .sheet-params .sheet-param:is(:hover,:focus-within),:root[data-theme=dark] .sheet-params .sheet-exclude[aria-expanded=true]{background:var(--wash-green)}
:root[data-theme=dark] .sheet-params .sheet-param:focus-within{outline:0}
:root[data-theme=dark] .sheet-param .upward-select{border:0;background:transparent!important;box-shadow:none;color:var(--ink)}
:root[data-theme=dark] .sheet-param .upward-select:after{color:var(--muted)}
:root[data-theme=dark] .sheet-param .upward-select:focus-visible{outline:0}
:root[data-theme=dark] .sheet-exclude-value{color:var(--ink)}
:root[data-theme=dark] .sheet-exclude-value:not(.filled){color:var(--muted)}
:root[data-theme=dark] .sheet-negative input{border:1px solid var(--line);background:transparent}
:root[data-theme=dark] .sheet-negative input:focus{border-color:var(--line-strong);outline:0}
:root[data-theme=dark] .sheet-param-row .sheet-voice-manage{border:0;background:var(--wash);color:var(--slate)}
:root[data-theme=dark] .composer-footer .sheet-param-hint{color:var(--muted)}
:root[data-theme=dark] .composer-footer .sheet-quota{color:var(--muted)}
/* assistants.css */
:root[data-theme=dark] .assistant-avatar{border:1px solid rgba(38,38,38,0.651);box-shadow:inset 0 1px 0 #000000,0 3px 10px rgba(0,0,0,0.193)}
:root[data-theme=dark] .assistant-avatar[data-tone=teal]{color:#69b9b0;background:linear-gradient(145deg,#17201d,#253c36)}
:root[data-theme=dark] .assistant-avatar[data-tone=cyan]{color:#64b2cb;background:linear-gradient(145deg,#171f22,#253a40)}
:root[data-theme=dark] .assistant-avatar[data-tone=blue]{color:#79a6fa;background:linear-gradient(145deg,#1c1f25,#30394a)}
:root[data-theme=dark] .assistant-avatar[data-tone=violet]{color:#b194ef;background:linear-gradient(145deg,#201d24,#3e3449)}
:root[data-theme=dark] .assistant-avatar[data-tone=rose]{color:#d979ab;background:linear-gradient(145deg,#231c1f,#403039)}
:root[data-theme=dark] .assistant-avatar[data-tone=amber]{color:#bb944f;background:linear-gradient(145deg,#1f1c14,#3b321d)}
:root[data-theme=dark] .assistant-shortcut .assistant-avatar{box-shadow:none}
:root[data-theme=dark] .assistant-shortcut[aria-pressed=true],:root[data-theme=dark] .assistant-tabs [aria-pressed=true]{background:var(--accent,#8eb398);color:var(--on-accent,#262626)}
:root[data-theme=dark] #assistant-center{border:1px solid #354245;background:linear-gradient(160deg,#181a19,#1c1e20);color:var(--ink,#d7dcd6);box-shadow:0 24px 80px rgba(0,0,0,0.419)}
:root[data-theme=dark] #assistant-center::backdrop{background:#152c3d59}
:root[data-theme=dark] .assistant-center-head{border-bottom:1px solid #2f3738;background:radial-gradient(ellipse at 5% 0,rgba(30,57,50,0.502),transparent 65%),linear-gradient(90deg,rgba(70,138,155,0.043) 1px,transparent 1px)}
:root[data-theme=dark] .assistant-eyebrow{color:#6aa2a8}
:root[data-theme=dark] .assistant-center-head>button{background:rgba(38,38,38,0.651);border-color:#343d3e;color:#94aeb8}
:root[data-theme=dark] .assistant-tabs{border:1px solid #303537;background:rgba(39,43,44,0.502)}
:root[data-theme=dark] .assistant-tabs button{border:0;background:transparent;color:#86969f}
:root[data-theme=dark] .assistant-tabs [aria-pressed=true]{color:#7fc1bc;background:#26312e;box-shadow:0 2px 7px rgba(0,0,0,0.207)}
:root[data-theme=dark] .assistant-count{color:#7f919a}
:root[data-theme=dark] .assistant-card{border:1px solid #303739;background:rgba(38,38,38,0.851);box-shadow:0 3px 12px rgba(0,0,0,0.129)}
:root[data-theme=dark] .assistant-card:hover{border-color:#385055;box-shadow:0 6px 18px rgba(0,0,0,0.193)}
:root[data-theme=dark] .assistant-card[data-selected=true]{border-color:#306d64;background:#191e1c}
:root[data-theme=dark] .assistant-source-badge{border:1px solid #2f3436;color:#7c939f;background:#1b1d1e}
:root[data-theme=dark] .assistant-card p{color:#899aa5}
:root[data-theme=dark] .assistant-card small{color:#778890}
:root[data-theme=dark] .assistant-card-actions>button{border-color:#31383a;color:#8ca4b1;background:#1b1c1d}
:root[data-theme=dark] #assistant-center .assistant-primary{color:#262626;background:linear-gradient(120deg,#8abfbb,#7bafbe);border-color:#8abfbb;box-shadow:0 2px 5px rgba(0,0,0,0.221)}
:root[data-theme=dark] #assistant-center .assistant-primary:hover:not(:disabled){background:#99c7c8}
:root[data-theme=dark] #assistant-center button:focus-visible{outline:2px solid #4e9da3}
:root[data-theme=dark] .assistant-center-body input:not([type=checkbox]),:root[data-theme=dark] .assistant-center-body textarea,:root[data-theme=dark] .assistant-center-body select{border:1px solid var(--line,#3c4037);background:var(--surface,#262626);color:inherit}
:root[data-theme=dark] .assistant-pin-row{border-bottom:1px solid var(--line,#3c4037)}
:root[data-theme=dark] .assistant-pin-row .assistant-avatar{box-shadow:none}
:root[data-theme=dark] .assistant-pin-row.is-dragging{background:var(--wash-green);box-shadow:0 2px 8px rgba(0,0,0,0.2)}
:root[data-theme=dark] .assistant-sort-status,:root[data-theme=dark] .assistant-market-status{color:var(--muted,#8e9589)}
:root[data-theme=dark] .assistant-topics>[aria-pressed=true]{color:#7fc1bc;background:#26312e;border-color:#305e55}
:root[data-theme=dark] .assistant-skeleton{background:linear-gradient(var(--wash-green),var(--wash-green)) 14px 18px/50% 16px no-repeat,linear-gradient(var(--wash-green),var(--wash-green)) 14px 48px/75% 12px no-repeat,linear-gradient(var(--wash-green),var(--wash-green)) 14px 70px/60% 12px no-repeat}
@media(max-width:600px){:root[data-theme=dark] .assistant-shortcuts-label{color:var(--muted)}:root[data-theme=dark] body #assistant-shortcuts #assistant-open{border:0;background:var(--wash-green);color:var(--slate);box-shadow:none}}
/* deck-steps.css */
:root[data-theme=dark] #deck-steps{border:1px solid var(--line);background:var(--white)}
:root[data-theme=dark] .deck-steps-list li{color:var(--muted)}
:root[data-theme=dark] .deck-steps-list li:not(:last-child)::after{background:var(--line)}
:root[data-theme=dark] .deck-steps-dot{border:1px solid var(--line-strong)}
:root[data-theme=dark] .deck-steps-list li.done{color:var(--slate)}
:root[data-theme=dark] .deck-steps-list li.done .deck-steps-dot{border-color:var(--accent-400);color:var(--accent-700)}
:root[data-theme=dark] .deck-steps-list li.current{color:var(--ink)}
:root[data-theme=dark] .deck-steps-list li.current .deck-steps-dot{background:var(--accent-700);border-color:var(--accent-700);color:var(--white)}
:root[data-theme=dark] .deck-steps-next{color:var(--muted-dark)}
:root[data-theme=dark] .answer-deck-step{border:1px solid var(--line);background:var(--white)}
:root[data-theme=dark] .answer-deck-step-kind{color:var(--accent-700);background:var(--wash)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-thesis-option{border:1px solid var(--line);background:var(--paper)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-thesis-option.recommended{border-color:var(--accent-400)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-thesis-letter{background:var(--accent-700);color:var(--white)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-thesis-tag{color:var(--muted-dark);background:var(--wash)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-thesis-option p{color:var(--slate)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-thesis-option p.answer-thesis-risk{color:var(--muted)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-thesis{color:var(--slate)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-page{border:1px solid var(--line-soft);background:var(--paper)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-number{color:var(--muted)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-meta span{color:var(--muted-dark);background:var(--wash)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-data{color:var(--muted)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-data.missing{color:var(--warn)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-tools button{background:transparent;border:1px solid transparent;color:var(--muted)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-tools button:not(:disabled):hover{border-color:var(--line);color:var(--ink)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-summary,:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-help{color:var(--muted-dark)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-question{color:var(--ink)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-drag{color:var(--muted);background:transparent;border:0}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-page.dragging{outline:2px solid var(--accent-400)}
:root[data-theme=dark] .deck-outline-editor{border:1px solid var(--line);background:var(--white);color:var(--ink)}
:root[data-theme=dark] .deck-outline-editor::backdrop{background:#0008}
:root[data-theme=dark] .deck-outline-editor .deck-preview-head{background:var(--white)}
:root[data-theme=dark] .outline-editor-fields fieldset{border:1px solid var(--line)}
:root[data-theme=dark] .outline-editor-fields label{color:var(--muted-dark)}
:root[data-theme=dark] .deck-steps-list li.skipped{color:var(--muted-dark)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-context{border:1px solid var(--line-strong)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-context legend{color:var(--slate)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-context-from{background:var(--surface-2,#202122);color:var(--muted-dark)}
:root[data-theme=dark] .chat-markdown .answer-deck-step .answer-outline-context-from.memory{background:#241e14;color:#cf8c45}
/* scheduled-tasks.css */
:root[data-theme=dark] .tasks-head p{color:#8a8881}
:root[data-theme=dark] #task-search-toggle{border:0;background:transparent;color:#b4b2aa}
:root[data-theme=dark] #task-search-toggle:hover,:root[data-theme=dark] #task-search-toggle[aria-expanded=true]{background:#2a2a27}
:root[data-theme=dark] .task-sort{border:1px solid var(--line);background:#262626;color:#86847d}
:root[data-theme=dark] .tasks-actions .task-sort select{border:0;background-color:transparent;color:#cfcdc4}
:root[data-theme=dark] #new-task:after{border:solid currentColor}
:root[data-theme=dark] #task-new-menu{border:1px solid #383631;background:#262626;box-shadow:0 10px 38px rgba(0,0,0,0.221)}
:root[data-theme=dark] #task-new-menu button{border:0;background:transparent;color:#cfcdc4}
:root[data-theme=dark] #task-new-menu button:hover,:root[data-theme=dark] #task-new-menu button:focus-visible{background:#22211f;outline:0}
:root[data-theme=dark] .tasks-empty{color:#8a8881}
:root[data-theme=dark] .tasks-empty-art{background:#2b2a27;color:#b3b1a9}
:root[data-theme=dark] .task-icon{background:#282825;color:#b4b2aa}
:root[data-theme=dark] .task-paused{background:#2f2d28;color:#9e8d69}
:root[data-theme=dark] .task-when{color:#97958d}
:root[data-theme=dark] .task-prompt{color:#b7b5ad}
:root[data-theme=dark] .task-last{color:#8a8881}
:root[data-theme=dark] .task-last a{text-decoration:underline}
:root[data-theme=dark] #tasks-page .task-card[data-enabled=false] :is(h3,.task-prompt){color:var(--muted)}
:root[data-theme=dark] .tasks-divider{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='8' viewBox='0 0 28 8'%3E%3Cpath d='M0 4c3.5 0 3.5-3 7-3s3.5 3 7 3 3.5-3 7-3 3.5 3 7 3' fill='none' stroke='%2341433c' stroke-width='1.2'/%3E%3C/svg%3E") repeat-x left center}
:root[data-theme=dark] #tasks-page #task-templates-title{color:#8d8b83}
:root[data-theme=dark] .task-template{border:0;background:transparent;color:inherit}
:root[data-theme=dark] .task-template:hover{background:#21201d}
:root[data-theme=dark] .task-template-text strong{color:#dcdad5}
:root[data-theme=dark] .task-template-text>span{color:#a9a79f}
:root[data-theme=dark] .task-template-text .task-template-when{color:var(--muted)}
:root[data-theme=dark] .tasks-loading{color:var(--muted-dark)}
/* radar.css */
:root[data-theme=dark] .radar{--radar-ink:#dddad1;--radar-soft:#21201d;--radar-tint:#2e2d27}
:root[data-theme=dark] .radar-head{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .radar-date{color:var(--accent)}
:root[data-theme=dark] #wiki-overview .radar-head h2{color:var(--radar-ink)}
:root[data-theme=dark] .radar-overview{color:#b3b0a8}
:root[data-theme=dark] .radar-shift{color:#bba97b;background:#201f18}
:root[data-theme=dark] .radar #radar-status{color:#817f77}
:root[data-theme=dark] .radar-section-head span{color:var(--muted)}
:root[data-theme=dark] .radar-card{border:1px solid var(--line);background:#262626}
:root[data-theme=dark] .radar-card-meta{color:var(--muted)}
:root[data-theme=dark] .radar-kind{background:var(--radar-tint);color:var(--accent)}
:root[data-theme=dark] .kind-frontier .radar-kind{background:#282d32;color:#8fb5dd}
:root[data-theme=dark] .kind-trend .radar-kind{background:#2f2a23;color:#c8a170}
:root[data-theme=dark] #wiki-overview .radar-card h3{color:var(--radar-ink)}
:root[data-theme=dark] .radar-card small{color:#8b8981}
:root[data-theme=dark] .radar-why{background:var(--radar-soft)}
:root[data-theme=dark] .radar-why p{color:#c6c4bb}
:root[data-theme=dark] .radar-body dt{color:#8b8981}
:root[data-theme=dark] .radar-body dd{color:#cccbc2}
:root[data-theme=dark] .radar-evidence>div>a{color:var(--radar-ink)}
:root[data-theme=dark] .radar-evidence>div>a[href]:hover{color:var(--accent)}
:root[data-theme=dark] .radar-evidence>div>span{color:#78766f}
:root[data-theme=dark] .radar-evidence blockquote{border-left:2px solid #4c493f;color:#9b9990}
:root[data-theme=dark] .radar-forecast p{color:#b2afa8}
:root[data-theme=dark] .radar-check-q{background:transparent}
:root[data-theme=dark] .radar-check-q summary{color:#a4a299}
:root[data-theme=dark] .radar-link{border:0!important;background:transparent!important;color:var(--accent)!important}
:root[data-theme=dark] .radar-link:hover{text-decoration:underline}
:root[data-theme=dark] .radar-refs{color:var(--muted)}
:root[data-theme=dark] .radar-refs a{color:#a4a299;text-decoration:underline;text-decoration-color:#49473d}
:root[data-theme=dark] .radar-empty{border:1px dashed #49463d;background:#262626}
:root[data-theme=dark] .radar-style small{color:var(--muted)}
:root[data-theme=dark] .radar-style span{background:var(--radar-soft);border:1px solid #36352e;color:#bab7af}
:root[data-theme=dark] .radar-directions{border:1px solid var(--line);background:#262626}
:root[data-theme=dark] .radar-direction{border:0;background:transparent}
:root[data-theme=dark] .radar-check-q,:root[data-theme=dark] .radar-history details{border-left:0}
:root[data-theme=dark] .radar-direction+.radar-direction{border-top:1px solid var(--line)}
:root[data-theme=dark] .radar-direction summary:hover{background:#1b1b17}
:root[data-theme=dark] .radar-direction[open] summary{background:#1b1b17}
:root[data-theme=dark] .radar-direction-name strong{color:var(--radar-ink)}
:root[data-theme=dark] .radar-direction-summary{color:var(--muted)}
:root[data-theme=dark] .radar-stage{background:#22221e;color:#98968e}
:root[data-theme=dark] .radar-trend.rising{background:#28201c;color:#d9845c}
:root[data-theme=dark] .radar-trend.steady{background:#292825;color:#a3a198}
:root[data-theme=dark] .radar-trend.fading{background:#23221f;color:#808080}
:root[data-theme=dark] .radar-direction h5{color:#aaa8a0}
:root[data-theme=dark] .radar-known li{color:#cccbc2}
:root[data-theme=dark] .radar-known li:before{background:#69675f}
:root[data-theme=dark] .radar-open li{background:#1f1e1a;color:#bbb19d}
:root[data-theme=dark] .radar-history details{background:transparent;border-top:1px solid var(--line)}
:root[data-theme=dark] .radar-history-row{border-top:1px dashed var(--line)}
:root[data-theme=dark] .radar-history-row:hover>span:nth-child(2){color:var(--accent)}
:root[data-theme=dark] .radar-history-row small{color:var(--muted)}
:root[data-theme=dark] .radar-quiet{color:#75736c}
:root[data-theme=dark] .radar-guidance{border:1px solid var(--line);background:#262626}
:root[data-theme=dark] .radar-note{background:#201f18;border:1px solid #36342c;color:#bbb19d}
:root[data-theme=dark] .radar-note-remove{border:0!important;background:transparent!important;color:#8d805e!important}
:root[data-theme=dark] .radar-note-remove:hover{color:#bbb19d!important}
:root[data-theme=dark] .radar-card-more{border:0;background:transparent}
:root[data-theme=dark] .radar-card-more>summary{color:var(--muted)}
:root[data-theme=dark] .radar-history-row{background:transparent;color:inherit}
:root[data-theme=dark] .radar-history-row:focus-visible{outline:2px solid var(--accent)}
:root[data-theme=dark] .radar-card-dialog .radar-card{border:0}
:root[data-theme=dark] #radar-source-filters button[aria-pressed=true]{background:var(--accent);color:#262626}
:root[data-theme=dark] .radar-source-item{border-top:1px solid var(--line)}
:root[data-theme=dark] .radar-source-item small{color:var(--muted)}
:root[data-theme=dark] .radar-source-item p{color:var(--muted)}
:root[data-theme=dark] #radar-source-filters button[aria-pressed=false]{background:transparent;color:var(--text,#bab7af);border:1px solid var(--line)}
:root[data-theme=dark] .radar-activity{border:1px solid var(--line);background:#262626}
:root[data-theme=dark] .radar-activity .field-help{color:var(--muted)}
:root[data-theme=dark] #radar-periods button[aria-pressed=true]{background:var(--accent);color:#262626}
:root[data-theme=dark] #radar-periods button[aria-pressed=false]{background:transparent;color:var(--text);border:1px solid var(--line)}
:root[data-theme=dark] .radar-activity-stats strong{color:var(--accent)}
:root[data-theme=dark] .radar-activity-stats span{color:var(--muted)}
:root[data-theme=dark] .radar-heatmap .radar-heatmap-cell{border:1px solid transparent;color:#9e9c93}
:root[data-theme=dark] .radar-heatmap-cell[data-level="0"],:root[data-theme=dark] .radar-heatmap-legend i[data-level="0"]{background:#22221e}
:root[data-theme=dark] .radar-heatmap-cell[data-level="1"],:root[data-theme=dark] .radar-heatmap-legend i[data-level="1"]{background:#3f3c33}
:root[data-theme=dark] .radar-heatmap-cell[data-level="2"],:root[data-theme=dark] .radar-heatmap-legend i[data-level="2"]{background:var(--accent-300)}
:root[data-theme=dark] .radar-heatmap-cell[data-level="3"],:root[data-theme=dark] .radar-heatmap-legend i[data-level="3"]{background:var(--accent-500)}
:root[data-theme=dark] .radar-heatmap-cell[data-level="4"],:root[data-theme=dark] .radar-heatmap-legend i[data-level="4"]{background:var(--accent-800)}
:root[data-theme=dark] .radar-heatmap-cell[data-level="3"],:root[data-theme=dark] .radar-heatmap-cell[data-level="4"]{color:#262626}
:root[data-theme=dark] .radar-heatmap .radar-heatmap-cell[aria-pressed=true],:root[data-theme=dark] .radar-heatmap-cell:focus-visible{outline:2px solid var(--accent)}
:root[data-theme=dark] .radar-heatmap-legend{color:var(--muted)}
:root[data-theme=dark] .radar-topic-stat small{color:var(--muted)}
:root[data-theme=dark] #radar-day-detail{border:0;border-top:1px solid var(--line);background:transparent}
:root[data-theme=dark] .radar-day-question{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .radar-day-question a{color:var(--accent)}
:root[data-theme=dark] .radar-day-question p{color:var(--muted)}
:root[data-theme=dark] #radar-activity-status{color:var(--muted)}
:root[data-theme=dark] .radar-weekday{color:var(--muted)}
:root[data-theme=dark] .radar-topic-panel{border-left:1px solid var(--line)}
:root[data-theme=dark] .radar-topic-bar{background:var(--radar-soft)}
:root[data-theme=dark] .radar-topic-bar>span{background:var(--accent-300)}
@media(max-width:760px){:root[data-theme=dark] .radar-topic-panel{border-left:0;border-top:1px solid var(--line)}}
/* reading-ai.css */
:root[data-theme=dark] .reader-modes select{background:transparent;color:inherit;border-color:color-mix(in srgb,currentColor 22%,transparent)}
:root[data-theme=dark] .reader-modes button{background:transparent;color:inherit;border-color:color-mix(in srgb,currentColor 22%,transparent)}
:root[data-theme=dark] .reader-modes button[aria-pressed=true]{background:color-mix(in srgb,var(--accent) 18%,transparent);border-color:var(--accent)}
:root[data-theme=dark] .reader-loadbar{color:var(--muted)}
:root[data-theme=dark] .reader-loadbar::before{background:color-mix(in srgb,var(--accent) 16%,transparent)}
:root[data-theme=dark] .reader-loadbar i{background:var(--accent)}
:root[data-theme=dark] #reader-guide-open.fresh::after{background:var(--accent)}
:root[data-theme=dark] .reader-ai-panel progress{accent-color:var(--accent)}
:root[data-theme=dark] .ai-meta{color:var(--muted)}
:root[data-theme=dark] .ai-lead{color:inherit!important}
:root[data-theme=dark] .ai-block{border-top:1px solid color-mix(in srgb,currentColor 12%,transparent)}
:root[data-theme=dark] .ai-for-you,:root[data-theme=dark] .ai-known-list{background:color-mix(in srgb,var(--accent) 9%,transparent)}
:root[data-theme=dark] .ai-for-you p,:root[data-theme=dark] .ai-known-list p{color:inherit}
:root[data-theme=dark] .ai-for-you small,:root[data-theme=dark] .ai-known-list small{color:var(--muted)}
:root[data-theme=dark] .ai-outline-row{border-bottom:1px solid color-mix(in srgb,currentColor 8%,transparent)}
:root[data-theme=dark] .ai-concepts dd{color:var(--muted)}
:root[data-theme=dark] .ai-foot small{color:var(--muted)}
:root[data-theme=dark] .reader-digest{border-top:1px solid color-mix(in srgb,currentColor 12%,transparent)}
:root[data-theme=dark] .ai-node rect{fill:color-mix(in srgb,var(--accent) 10%,transparent);stroke:color-mix(in srgb,var(--accent) 55%,transparent)}
:root[data-theme=dark] .ai-node text{fill:currentColor}
:root[data-theme=dark] .ai-node.hidden rect{fill:transparent}
:root[data-theme=dark] .ai-node:focus{outline:none}
:root[data-theme=dark] .ai-edge{fill:none;stroke:color-mix(in srgb,currentColor 38%,transparent)}
:root[data-theme=dark] .ai-arrow{fill:color-mix(in srgb,currentColor 50%,transparent)}
:root[data-theme=dark] .ai-edge-bg{fill:var(--reading-bg,#262626)}
:root[data-theme=dark] .ai-edge-label{fill:var(--muted)}
:root[data-theme=dark] .ai-timeline{border-left:2px solid color-mix(in srgb,var(--accent) 40%,transparent)}
:root[data-theme=dark] .ai-timeline button{background:transparent;border:0;color:inherit}
:root[data-theme=dark] .ai-timeline small{color:var(--muted)}
:root[data-theme=dark] .ai-compare th,:root[data-theme=dark] .ai-compare td{border:1px solid color-mix(in srgb,currentColor 14%,transparent)}
:root[data-theme=dark] .ai-compare th.linked{color:var(--accent)}
:root[data-theme=dark] #reader-assist:not(:empty){border-left:2px solid var(--accent)}
:root[data-theme=dark] #reader-assist summary{color:inherit}
:root[data-theme=dark] .ai-source{color:var(--muted)}
:root[data-theme=dark] .ai-expand{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .ai-verdict.got{color:var(--accent-600)}
:root[data-theme=dark] .ai-verdict.partial{color:#b2894a}
:root[data-theme=dark] .ai-verdict.missed{color:#d7836a}
:root[data-theme=dark] .ai-hit{color:var(--accent-600)!important}
:root[data-theme=dark] .ai-miss{color:#d7836a!important}
:root[data-theme=dark] .ai-reference{background:color-mix(in srgb,currentColor 5%,transparent)}
:root[data-theme=dark] .ai-reference p{color:inherit}
:root[data-theme=dark] .ai-coverage li{color:var(--muted)}
:root[data-theme=dark] .ai-coverage li.covered{color:var(--accent-600)}
:root[data-theme=dark] .ai-coverage li.missed{color:#d7836a}
:root[data-theme=dark] .ai-coverage li p{color:inherit}
:root[data-theme=dark] .ai-card{border:1px solid color-mix(in srgb,currentColor 14%,transparent)}
:root[data-theme=dark] .ai-card small{color:var(--muted)}
:root[data-theme=dark] .ai-card summary{color:inherit}
:root[data-theme=dark] .ai-card summary::marker{color:var(--muted)}
:root[data-theme=dark] .ai-card blockquote{color:var(--muted)}
:root[data-theme=dark] .book-ai{color:var(--accent)!important}
:root[data-theme=dark] #reader-tools{color:var(--reading-fg,inherit);background:var(--reading-bg,var(--surface,#262626))}
:root[data-theme=dark] #reader-tools .reader-tools-heading{background:var(--reading-bg,var(--surface,#262626));border-bottom:1px solid var(--line)}
:root[data-theme=dark] #reader-selection{border-left:3px solid var(--accent,var(--accent-700));background:color-mix(in srgb,currentColor 4%,transparent)}
:root[data-theme=dark] #reader-tools .ai-actions{border-bottom:1px solid var(--line)}
:root[data-theme=dark] #reader-tools .ai-actions button[aria-pressed=true]{background:var(--accent,var(--accent-700));color:var(--on-accent,#262626)}
:root[data-theme=dark] #reader-tools .reader-operation{color:var(--muted)}
:root[data-theme=dark] #reader-tools .explanation-card{border:1px solid var(--line)}
:root[data-theme=dark] #reader-tools .explanation-card h3{color:var(--muted)}
:root[data-theme=dark] #reader-tools .explanation-lead{background:color-mix(in srgb,currentColor 3%,transparent)}
:root[data-theme=dark] #reader-tools details{border-top:1px solid var(--line)}
:root[data-theme=dark] #reader-tools details summary{color:var(--muted)}
:root[data-theme=dark] #reader-tools #reader-conversation:not(:empty){background:color-mix(in srgb,currentColor 3%,transparent)}
:root[data-theme=dark] #reader-tools #reader-question-form .reader-web-search{color:var(--muted)}
:root[data-theme=dark] #reader-tools .explanation-card p,:root[data-theme=dark] #reader-tools #reader-selection{color:inherit}
:root[data-theme=dark] body.reading-mode[data-reader-theme=dark] #reader-tools button,:root[data-theme=dark] body.reading-mode[data-reader-theme=dark] #reader-tools textarea{background:#d2d0cd;color:var(--reading-fg);border-color:var(--line)}
:root[data-theme=dark] body.reading-mode[data-reader-theme=dark] #reader-tools .ai-actions button[aria-pressed=true]{background:var(--accent-700);color:#262626}
:root[data-theme=dark] #reader-ai-status .ai-pending{border:0;background:none;color:inherit;text-decoration:underline}
:root[data-theme=dark] body.reading-mode :is(.ai-ref,.ai-timeline button,#close-reader-tools){border:1px solid color-mix(in srgb,currentColor 24%,transparent);background:color-mix(in srgb,currentColor 4%,transparent);color:inherit}
:root[data-theme=dark] body.reading-mode :is(.reader-toolbar button,.ai-ref,.ai-timeline button,#close-reader-tools):is(:hover,:active):not(:disabled){background:color-mix(in srgb,currentColor 10%,transparent);border-color:color-mix(in srgb,currentColor 40%,transparent)}
:root[data-theme=dark] body.reading-mode :is(.reader-toolbar button,.ai-ref,.ai-timeline button,#close-reader-tools):focus-visible{outline:2px solid currentColor}
/* settings.css */
:root[data-theme=dark] .settings-nav{border-right:1px solid var(--line);background:#21201d}
:root[data-theme=dark] .settings-nav a{color:#b5b3ab}
:root[data-theme=dark] .settings-nav a:hover{background:#31302c;color:#dcdad5}
:root[data-theme=dark] .settings-nav a[aria-current]{background:#35342e;color:#dad9d0}
:root[data-theme=dark] .settings-icon{color:#9b9990}
:root[data-theme=dark] .settings-nav a[aria-current] .settings-icon{color:var(--accent)}
:root[data-theme=dark] .settings-nav-group{color:#76746d}
:root[data-theme=dark] .settings-group>h3,:root[data-theme=dark] .settings-group-bar h3{color:#828079}
:root[data-theme=dark] .setting-row{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .settings-group>.setting-row:last-child,:root[data-theme=dark] .settings-group>.setting-row:has(+.setting-expand[hidden]:last-child),:root[data-theme=dark] .settings-group form>.setting-row:last-child{border-bottom:0}
:root[data-theme=dark] .settings .setting-text{color:inherit}
:root[data-theme=dark] .setting-text strong{color:#dcdad5}
:root[data-theme=dark] .setting-text span{color:var(--muted)}
:root[data-theme=dark] .setting-value{color:var(--muted)}
:root[data-theme=dark] .settings-empty{color:var(--muted)}
:root[data-theme=dark] .settings .setting-inline input[type=file]{border:0;background:transparent;color:var(--muted)}
:root[data-theme=dark] .setting-inline input[type=file]::file-selector-button{border:1px solid #3e3c36;background:#262626;color:#bdbcb2}
:root[data-theme=dark] .setting-inline input[type=file]::file-selector-button:hover{background:#22221e}
:root[data-theme=dark] .settings a.button{border:1px solid #3e3c36;background:#262626;color:#bdbcb2}
:root[data-theme=dark] .settings a.button:hover{background:#22221e}
:root[data-theme=dark] .switch i{background:#474540}
:root[data-theme=dark] .switch i:after{background:#262626;box-shadow:0 1px 2px rgba(0,0,0,0.44)}
:root[data-theme=dark] .switch input:checked+i{background:var(--accent)}
:root[data-theme=dark] .switch input:focus-visible+i{outline:2px solid var(--accent)}
:root[data-theme=dark] .segmented{background:#2e2e2b}
:root[data-theme=dark] .settings .segmented label{color:#a7a59d}
:root[data-theme=dark] .segmented label:has(input:checked){background:#262626;color:#dad9d0;box-shadow:0 1px 3px rgba(0,0,0,0.299)}
:root[data-theme=dark] .segmented label:has(input:focus-visible){outline:2px solid var(--accent)}
:root[data-theme=dark] .settings-identity{border:1px solid var(--line);background:#262626}
:root[data-theme=dark] .setting-expand{border:1px solid var(--line);background:#262626}
:root[data-theme=dark] .settings .memory-scope h3{color:#828079}
:root[data-theme=dark] .token-created{background:#24221d}
:root[data-theme=dark] .token-created p{color:#afada4}
:root[data-theme=dark] .usage-window{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .usage-window:last-child{border-bottom:0}
:root[data-theme=dark] .usage-head div span{color:var(--muted)}
:root[data-theme=dark] .usage-percent{color:#b5b3ab}
:root[data-theme=dark] .usage-reset,:root[data-theme=dark] .usage-models{color:var(--muted)}
:root[data-theme=dark] .management-dialog .dialog-notice{background:#d7d4cb;color:#21201e;box-shadow:0 12px 32px rgba(0,0,0,0.532)}
:root[data-theme=dark] .management-dialog .dialog-notice .notice-dismiss{color:#21201e}
@media(max-width:720px){:root[data-theme=dark] .settings-nav{border-right:0;border-bottom:1px solid var(--line);background:#1c1c19}}
:root[data-theme=dark] .settings .accent-choice label{border:1px solid var(--line);color:#a7a59d}
:root[data-theme=dark] .accent-swatch{box-shadow:inset 0 0 0 1px rgba(0,0,0,0.71)}
:root[data-theme=dark] .settings .accent-choice label:has(input:checked){border-color:var(--accent-800);color:var(--ink);box-shadow:0 0 0 1px var(--accent-800)}
:root[data-theme=dark] .accent-choice label:has(input:focus-visible){outline:2px solid var(--accent-700)}
:root[data-theme=dark] .api-guide-row>span,:root[data-theme=dark] .api-guide-row>label{color:#a7a59d}
:root[data-theme=dark] .api-guide-row code{border:1px solid var(--line);background:#262626}
:root[data-theme=dark] .api-model-list code{background:#24221d}
:root[data-theme=dark] .api-model-list .api-model-meta{color:var(--muted)}
:root[data-theme=dark] .api-model-list .api-model-alias{color:#a7a59d}
:root[data-theme=dark] .api-sample{border:1px solid var(--line);background:#d7d4cb;color:#21201e}
:root[data-theme=dark] .api-sample code{background:none;color:inherit}
:root[data-theme=dark][data-theme=dark] .api-sample{background:#edece2;border-color:#cdcbbf}
:root[data-theme=dark] .api-docs-link a{color:var(--accent);text-decoration:underline}
:root[data-theme=dark] .statement-line{border-bottom:1px solid var(--border,rgba(140,140,140,0.2))}
/* purchases.css */
:root[data-theme=dark] .purchase-availability{background:var(--wash);color:var(--muted)}
:root[data-theme=dark] .purchase-categories button.selected{border-color:var(--accent-600);background:var(--wash);color:var(--accent-700)}
:root[data-theme=dark] .purchase-mode button.selected{border-color:var(--accent-600);color:var(--accent-700)}
:root[data-theme=dark] .purchase-card{border:1px solid var(--line);background:var(--paper)}
:root[data-theme=dark] .purchase-card.is-selected{border-color:var(--accent-600);box-shadow:0 0 0 1px var(--accent-600)}
:root[data-theme=dark] .purchase-card .purchase-price{color:var(--ink)}
:root[data-theme=dark] .purchase-card .purchase-units{color:var(--ink)}
:root[data-theme=dark] .purchase-card .purchase-caption{color:var(--muted)}
:root[data-theme=dark] .purchase-review{border:1px solid var(--accent-600);background:var(--wash)}
:root[data-theme=dark] .purchase-review .purchase-total{color:var(--ink)}
:root[data-theme=dark] .purchase-rules ul{color:var(--muted)}
:root[data-theme=dark] .purchase-order,:root[data-theme=dark] .purchase-bundle{border-bottom:1px solid var(--line)}
:root[data-theme=dark] .purchase-order small,:root[data-theme=dark] .purchase-bundle small{color:var(--muted)}
/* images.css */
:root[data-theme=dark]{--img-bg:#262626;--img-text:#ebebeb;--img-muted:#9b9b9b;--img-line:#353535;--img-fill:#202020;--img-fill-strong:#2d2d2d;--img-send:#ebebeb;--img-send-text:#262626;--img-danger:#f86443}
:root[data-theme=dark] .images-page{background:var(--img-bg);color:var(--img-text)}
:root[data-theme=dark] .images-page :where(label){color:inherit}
:root[data-theme=dark] .images-page :where(p){color:inherit}
:root[data-theme=dark] .images-page svg{fill:none;stroke:currentColor}
:root[data-theme=dark] .images-page button,:root[data-theme=dark] .images-page select,:root[data-theme=dark] .images-page textarea,:root[data-theme=dark] .images-page input{color:inherit}
:root[data-theme=dark] .images-back{color:var(--img-text)}
:root[data-theme=dark] .images-back:hover{background:var(--img-fill)}
:root[data-theme=dark] .images-quota{color:var(--img-muted)}
:root[data-theme=dark] .images-page .images-wipe{border:0;background:transparent;color:var(--img-muted)}
:root[data-theme=dark] .images-page .images-wipe:hover{background:var(--img-fill);color:var(--img-danger)}
:root[data-theme=dark] .images-tabs a{color:var(--img-muted);text-decoration:none}
:root[data-theme=dark] .images-tabs a:hover{color:var(--img-text)}
:root[data-theme=dark] .images-tabs a[aria-current=page]{background:var(--img-fill);color:var(--img-text)}
:root[data-theme=dark] .images-idea{border:0;background:var(--img-fill)}
:root[data-theme=dark] .images-idea span{background:linear-gradient(transparent,hsl(0 0% 0%/.5));color:hsl(0 0% 100%)}
:root[data-theme=dark] .images-tile{border:0;background:var(--img-fill)}
:root[data-theme=dark] .images-tile-busy{color:var(--img-muted)}
:root[data-theme=dark] .images-tile-failed p{color:var(--img-danger)}
:root[data-theme=dark] .images-tile-actions button{border:1px solid var(--img-line);background:var(--img-bg)}
:root[data-theme=dark] .images-ask p{background:var(--img-fill)}
:root[data-theme=dark] .images-reply-busy,:root[data-theme=dark] .images-reply-failed{background:var(--img-fill)}
:root[data-theme=dark] .images-reply-busy{color:var(--img-muted)}
:root[data-theme=dark] .images-reply-failed p{color:var(--img-danger)}
:root[data-theme=dark] .images-picture{border:0;background:var(--img-fill)}
:root[data-theme=dark] .images-page .images-picture-actions a,:root[data-theme=dark] .images-page .images-picture-actions button{border:0;background:transparent;color:var(--img-muted);text-decoration:none}
:root[data-theme=dark] .images-page .images-picture-actions a:hover,:root[data-theme=dark] .images-page .images-picture-actions button:hover{background:var(--img-fill);color:var(--img-text)}
:root[data-theme=dark] .images-composer{background:var(--img-bg);box-shadow:0 0 0 1px rgba(0,0,0,0.188),0 4px 16px hsl(0 0% 0%/.1)}
:root[data-theme=dark] .images-plain{border:0;background:transparent}
:root[data-theme=dark] .images-plain:hover:not(:disabled){background:var(--img-fill)}
:root[data-theme=dark] .images-composer textarea{border:0;outline:0;background:transparent}
:root[data-theme=dark] .images-page .images-options-toggle{border:0;background:transparent;color:var(--img-muted)}
:root[data-theme=dark] .images-options-toggle:hover,:root[data-theme=dark] .images-options-toggle[aria-expanded=true]{background:var(--img-fill)}
:root[data-theme=dark] .images-effort{color:var(--img-muted)}
:root[data-theme=dark] .images-effort:hover{background:var(--img-fill)}
:root[data-theme=dark] .images-effort select{border:0;outline:0;background:transparent;color:inherit}
:root[data-theme=dark] .images-effort select:focus-visible{box-shadow:0 0 0 2px var(--img-line)}
:root[data-theme=dark] .images-page .images-send{border:0;background:var(--img-send);color:var(--img-send-text)}
:root[data-theme=dark] .images-options{background:var(--img-bg);box-shadow:0 0 0 1px rgba(0,0,0,0.188),0 8px 24px hsl(0 0% 0%/.12)}
:root[data-theme=dark] .images-option span{color:var(--img-muted)}
:root[data-theme=dark] .images-option select{border:0;outline:0;background:transparent}
:root[data-theme=dark] .images-option select:hover{background:var(--img-fill)}
:root[data-theme=dark] .images-option input{border:0;outline:0;background:var(--img-fill)}
:root[data-theme=dark] .images-attachment{background:var(--img-fill)}
:root[data-theme=dark] .images-attachment button{border:0;background:transparent}
:root[data-theme=dark] .images-template{border:0;background:var(--img-bg);color:var(--img-text)}
:root[data-theme=dark] .images-template::backdrop{background:hsl(0 0% 0%/.45)}
:root[data-theme=dark] .images-template>img{background:var(--img-fill)}
:root[data-theme=dark] .images-template-text{color:var(--img-muted)}
:root[data-theme=dark] .images-page .images-template-add{border:1px dashed var(--img-line);background:transparent}
:root[data-theme=dark] .images-template-add:hover{background:var(--img-fill)}
:root[data-theme=dark] .images-page .images-template-use{border:0;background:var(--img-send);color:var(--img-send-text)}
:root[data-theme=dark] .images-viewer{border:0;background:var(--img-bg);color:var(--img-text)}
:root[data-theme=dark] .images-page .images-viewer-link{border:0;background:transparent;color:var(--img-muted)}
:root[data-theme=dark] .images-viewer-link:hover,:root[data-theme=dark] .images-viewer-link[aria-expanded=true]{background:var(--img-fill);color:var(--img-text)}
:root[data-theme=dark] .images-actions a,:root[data-theme=dark] .images-actions button{border:0;background:transparent;color:inherit;text-decoration:none;box-shadow:0 0 0 1px var(--img-line)}
:root[data-theme=dark] .images-actions a:hover,:root[data-theme=dark] .images-actions button:hover{background:var(--img-fill)}
:root[data-theme=dark] .images-actions .images-danger{color:var(--img-danger)}
:root[data-theme=dark] .images-prompt{background:var(--img-bg);box-shadow:0 0 0 1px rgba(0,0,0,0.188),0 8px 24px hsl(0 0% 0%/.12)}
:root[data-theme=dark] .images-notice{background:var(--img-send);color:var(--img-send-text)}
:root[data-theme=dark] .images-notice a{color:inherit;text-decoration:underline}
/* button-controls.css */
:root[data-theme=dark] body :is(button.quiet:not([aria-label]):not(.ai-ref):not(.ai-pending),
  #cancel-chat-edit, #voice-bar button,
  .composer-footer #chat-model-trigger, .composer-footer #chat-effort,
  .message-actions > button:not(.message-icon), .message-versions button,
  .answer-code-head button, .memo-actions button, .capture-actions button,
  .creation-picture figcaption :is(button,a), .creation-actions :is(button,a),
  #ask-bar button + button, .ask-panel:not(.is-list) .ask-title,
  .group-management-row button, .search-provider-error button,
  .skills-section-heading button){border:1px solid var(--line-strong);background-color:var(--white);color:var(--slate)}
:root[data-theme=dark] body :is(button.quiet:not([aria-label]):not(.ai-ref):not(.ai-pending),
  #cancel-chat-edit, #voice-bar button,
  .composer-footer #chat-model-trigger, .composer-footer #chat-effort,
  .message-actions > button:not(.message-icon), .message-versions button,
  .answer-code-head button, .memo-actions button, .capture-actions button,
  .creation-picture figcaption :is(button,a), .creation-actions :is(button,a),
  #ask-bar button + button, .ask-panel:not(.is-list) .ask-title,
  .group-management-row button, .search-provider-error button,
  .skills-section-heading button):is(:hover,:active):not(:disabled){background-color:var(--wash-green);border-color:var(--muted-light);color:var(--ink)}
:root[data-theme=dark] body :is(button.quiet:not([aria-label]):not(.ai-ref):not(.ai-pending),
  #cancel-chat-edit, #voice-bar button,
  .composer-footer #chat-model-trigger, .composer-footer #chat-effort,
  .message-actions > button:not(.message-icon), .message-versions button,
  .answer-code-head button, .memo-actions button, .capture-actions button,
  .creation-picture figcaption :is(button,a), .creation-actions :is(button,a),
  #ask-bar button + button, .ask-panel:not(.is-list) .ask-title,
  .group-management-row button, .search-provider-error button,
  .skills-section-heading button):focus-visible{outline:2px solid var(--accent)}
:root[data-theme=dark] body :is(.creation-picture figcaption a,.creation-actions a){text-decoration:none}
@media(max-width:600px){:root[data-theme=dark] body .composer-footer :is(#chat-model-trigger,#chat-effort){border:0;background-color:var(--wash-green);color:var(--slate)}}
/* close-controls.css */
:root[data-theme=dark] body :is(.dialog-close,[data-panel-close],[data-close-meeting],.ask-close,.notice-dismiss,
  .my-voice-head button[aria-label="关闭"],.rename-record-dialog button[aria-label="关闭改名窗口"],
  #office-template-preview button[aria-label="关闭模板"]){border:1px solid var(--close-border,var(--line));background:var(--close-surface,var(--wash));color:var(--close-ink,var(--slate))}
:root[data-theme=dark] body :is(.dialog-close,[data-panel-close],[data-close-meeting],.ask-close,.notice-dismiss,
  .my-voice-head button[aria-label="关闭"],.rename-record-dialog button[aria-label="关闭改名窗口"],
  #office-template-preview button[aria-label="关闭模板"])::before{background:currentColor}
:root[data-theme=dark] body :is(.dialog-close,[data-panel-close],[data-close-meeting],.ask-close,.notice-dismiss,
  .my-voice-head button[aria-label="关闭"],.rename-record-dialog button[aria-label="关闭改名窗口"],
  #office-template-preview button[aria-label="关闭模板"]):hover:not(:disabled){background:var(--close-hover-surface,var(--wash-green));border-color:var(--close-hover-border,var(--line-strong));color:var(--close-hover-ink,var(--ink))}
:root[data-theme=dark] body :is(.dialog-close,[data-panel-close],[data-close-meeting],.ask-close,.notice-dismiss,
  .my-voice-head button[aria-label="关闭"],.rename-record-dialog button[aria-label="关闭改名窗口"],
  #office-template-preview button[aria-label="关闭模板"]):active:not(:disabled){filter:brightness(.95)}
:root[data-theme=dark] body :is(.dialog-close,[data-panel-close],[data-close-meeting],.ask-close,.notice-dismiss,
  .my-voice-head button[aria-label="关闭"],.rename-record-dialog button[aria-label="关闭改名窗口"],
  #office-template-preview button[aria-label="关闭模板"]):focus-visible{outline:2px solid var(--accent)}
:root[data-theme=dark] body #management-dialog #management-notice button.notice-dismiss,:root[data-theme=dark] body #management-dialog #management-notice button.notice-dismiss:hover:not(:disabled){color:inherit}
/* code-usage.css */
:root[data-theme=dark] #code-usage-panel{--cu-blue:#4692f3;--cu-orange:#c15924;--cu-green:#279d7b;--cu-purple:#9673c8;border:0;background:none}
:root[data-theme=dark] #code-usage-panel button,:root[data-theme=dark] #code-usage-panel select,:root[data-theme=dark] #code-usage-panel input{box-shadow:none}
:root[data-theme=dark] #code-usage-panel button{background:var(--white);border:1px solid var(--line-strong);color:var(--ink)}
:root[data-theme=dark] #code-usage-panel button:hover{background:var(--wash)}
:root[data-theme=dark] #code-usage-panel :is(button,select,input,summary):focus-visible{outline:2px solid var(--cu-blue)}
:root[data-theme=dark] #code-usage-panel select,:root[data-theme=dark] #code-usage-panel input{border:1px solid var(--line-strong);background:var(--white);color:var(--ink)}
:root[data-theme=dark] #code-usage-panel .cu-subtitle{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-tabs{border-bottom:1px solid var(--line-strong)}
:root[data-theme=dark] #code-usage-panel .cu-tabs button{border:0;border-bottom:2px solid transparent;background:none;color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-tabs button[aria-pressed=true]{border-bottom-color:var(--cu-blue);color:var(--ink)}
:root[data-theme=dark] #code-usage-panel .cu-more{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-more select{box-shadow:0 4px 16px rgba(0,0,0,0.32)}
:root[data-theme=dark] #code-usage-status{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-tile,:root[data-theme=dark] #code-usage-panel .cu-card,:root[data-theme=dark] #code-usage-panel .cu-device{border:1px solid var(--line-strong);background:var(--white)}
:root[data-theme=dark] #code-usage-panel .cu-label{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-hint,:root[data-theme=dark] #code-usage-panel .cu-muted{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-total{border-color:color-mix(in srgb,var(--cu-blue) 45%,var(--line-strong));background:color-mix(in srgb,var(--cu-blue) 4%,var(--white))}
:root[data-theme=dark] #code-usage-panel .cu-blue .cu-value,:root[data-theme=dark] #code-usage-panel .cu-blue{color:var(--cu-blue)}
:root[data-theme=dark] #code-usage-panel .cu-orange .cu-value,:root[data-theme=dark] #code-usage-panel .cu-orange{color:var(--cu-orange)}
:root[data-theme=dark] #code-usage-panel .cu-green .cu-value,:root[data-theme=dark] #code-usage-panel .cu-green{color:var(--cu-green)}
:root[data-theme=dark] #code-usage-panel .cu-purple .cu-value,:root[data-theme=dark] #code-usage-panel .cu-purple{color:var(--cu-purple)}
:root[data-theme=dark] #code-usage-panel .cu-bg-blue{background:var(--cu-blue)}
:root[data-theme=dark] #code-usage-panel .cu-bg-orange{background:var(--cu-orange)}
:root[data-theme=dark] #code-usage-panel .cu-bg-green{background:var(--cu-green)}
:root[data-theme=dark] #code-usage-panel .cu-bg-purple{background:var(--cu-purple)}
:root[data-theme=dark] #code-usage-panel .cu-segment{border:1px solid var(--line-strong)}
:root[data-theme=dark] #code-usage-panel .cu-segment button{border:0;background:none;color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-segment button[aria-pressed=true]{background:var(--cu-blue);color:#262626}
:root[data-theme=dark] #code-usage-panel .cu-yaxis{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-plot{border-bottom:1px solid var(--line-strong);background:repeating-linear-gradient(to top,transparent 0,transparent calc(50% - 1px),var(--line) calc(50% - 1px),var(--line) 50%)}
:root[data-theme=dark] #code-usage-panel .cu-bar{border:0;background:transparent}
:root[data-theme=dark] #code-usage-panel .cu-bar:hover,:root[data-theme=dark] #code-usage-panel .cu-bar[aria-pressed=true]{background:color-mix(in srgb,var(--cu-blue) 10%,transparent)}
:root[data-theme=dark] #code-usage-panel .cu-xaxis{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-legend{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-chart-readout{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-rank{border-top:1px solid var(--line)}
:root[data-theme=dark] #code-usage-panel .cu-rank-name i{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-rank small{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-rail{background:var(--wash)}
:root[data-theme=dark] #code-usage-panel .cu-composition{background:var(--wash)}
:root[data-theme=dark] #code-usage-panel .cu-composition-row{border-bottom:1px solid var(--line)}
:root[data-theme=dark] #code-usage-panel .cu-tool-split{border-top:1px solid var(--line)}
:root[data-theme=dark] #code-usage-panel .cu-detail>summary{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-detail>p{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-state:before{background:currentColor}
:root[data-theme=dark] #code-usage-panel .cu-ok{color:var(--cu-green)}
:root[data-theme=dark] #code-usage-panel .cu-warn{color:var(--warn)}
:root[data-theme=dark] #code-usage-panel .cu-bad,:root[data-theme=dark] #code-usage-panel .cu-error{color:var(--danger)}
:root[data-theme=dark] #code-usage-panel .cu-notice{background:color-mix(in srgb,var(--warn) 6%,var(--white));border-left:2px solid var(--warn);color:var(--warn)}
:root[data-theme=dark] #code-usage-panel .cu-meter{background:var(--wash)}
:root[data-theme=dark] #code-usage-panel .cu-empty{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-status.cu-status-loading::before{border:2px solid currentColor;border-right-color:transparent}
:root[data-theme=dark] #code-usage-panel .cu-filter-label{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-filter-actions [aria-expanded=true]{border-color:var(--cu-blue);color:var(--cu-blue);background:color-mix(in srgb,var(--cu-blue) 5%,var(--white))}
:root[data-theme=dark] #code-usage-panel .cu-other-sources{border:1px solid var(--line-strong);background:var(--white)}
:root[data-theme=dark] #code-usage-panel .cu-other-choices button{border-color:var(--line)}
:root[data-theme=dark] #code-usage-panel .cu-other-choices span{color:var(--muted-dark)}
:root[data-theme=dark] #code-usage-panel .cu-hour-chart{border-bottom:1px solid var(--line-strong);background:repeating-linear-gradient(to top,transparent 0,transparent calc(50% - 1px),var(--line) calc(50% - 1px),var(--line) 50%)}
:root[data-theme=dark] #code-usage-panel .cu-hour-bar{border:0;background:transparent}
:root[data-theme=dark] #code-usage-panel .cu-hour-bar:hover,:root[data-theme=dark] #code-usage-panel .cu-hour-bar[aria-pressed=true]{background:color-mix(in srgb,var(--cu-blue) 12%,transparent)}
:root[data-theme=dark] #code-usage-panel .cu-hour-axis{color:var(--muted-dark)}
/* app-shell.css */
:root[data-theme=dark] .chat-sidebar{background:var(--sidebar);border-right:1px solid var(--line)}
:root[data-theme=dark] .sidebar-top button,:root[data-theme=dark] #toggle-history{border:0;background:transparent;color:var(--muted)}
:root[data-theme=dark] .sidebar-top button:hover,:root[data-theme=dark] #toggle-history:hover{background:var(--row-hover)}
:root[data-theme=dark] .sidebar-nav :is(a,button){border:0;background:transparent;color:var(--ink);text-decoration:none}
:root[data-theme=dark] .sidebar-nav :is(a,button):hover{background:var(--row-hover)}
:root[data-theme=dark] .sidebar-nav a[aria-current]{border:0;background:var(--row-current)}
:root[data-theme=dark] .chat-sidebar .empty{color:var(--muted)}
:root[data-theme=dark] .sidebar-label{color:var(--muted)}
:root[data-theme=dark] .sidebar-account .account-trigger:hover{background:var(--row-hover)}
:root[data-theme=dark] .account-menu-version{color:var(--muted)}
:root[data-theme=dark] #chat-title .chat-title-trigger{border:0;background:transparent;color:var(--ink)}
:root[data-theme=dark] #chat-title .chat-title-trigger:hover{background:var(--row-hover)}
:root[data-theme=dark] body.chat-mode .chat-message.user{background:color-mix(in srgb,var(--ink) 5%,transparent)}
:root[data-theme=dark] body.chat-mode .message-author .message-time{color:var(--muted)}
:root[data-theme=dark] body #chat-composer{border:1px solid var(--line);box-shadow:0 1px 3px color-mix(in srgb,var(--ink) 6%,transparent)}
:root[data-theme=dark] body.chat-mode .composer-footer :is(#chat-model-trigger,#chat-effort){border:0;background-color:transparent;box-shadow:none}
:root[data-theme=dark] body.chat-mode .composer-footer :is(#chat-model-trigger,#chat-effort):hover{background-color:var(--row-hover)}
@media(min-width:1024px){:root[data-theme=dark] .chat-main.empty-chat .assistant-shortcuts-label{color:var(--muted)}:root[data-theme=dark] .chat-main.empty-chat #assistant-open{border:0;background:transparent;color:var(--muted)}}
@media(max-width:1023px){:root[data-theme=dark] .chat-sidebar{box-shadow:8px 0 32px color-mix(in srgb,var(--ink) 12%,transparent)}:root[data-theme=dark] #workspace-scrim:not([hidden]){border:0;background:color-mix(in srgb,var(--ink) 22%,transparent)}}
/* meeting-player.css */
:root[data-theme=dark]{--bg:#1c1b18;--panel:#1c1b18;--panel-2:#22221e;--line:#393732;--text:#d8d7ce;--dim:#9c9a93;--faint:#88867e}
