/* One palette for public pages, account pages, and hosted tools. */
:root[data-neo-theme]{--bg:#fafafa!important;--panel:#f1f1f1!important;--surface:#fff;--ink:#202020!important;--muted:#686868!important;--line:#dedede!important;--accent:#333!important;--mint:#202020!important;--blue:#606060!important;--art:#ededed!important;--soft:#e8e8e8;--inverse:#fafafa;--neo-bg:var(--bg);--neo-panel:var(--panel);--neo-ink:var(--ink);--neo-muted:var(--muted);--neo-line:var(--line);--danger:#a82b32;--danger-bg:#fff0f0;--success:#356544;--success-bg:#edf5ef}
:root[data-neo-theme=dark]{--bg:#101010!important;--panel:#1b1b1b!important;--surface:#151515;--ink:#ededed!important;--muted:#aaa!important;--line:#363636!important;--accent:#d4d4d4!important;--mint:#ededed!important;--blue:#bbb!important;--art:#222!important;--soft:#2b2b2b;--inverse:#101010;--danger:#ff9ba1;--danger-bg:#351b20;--success:#9ec9aa;--success-bg:#1b2d22}
html[data-neo-theme],html[data-neo-theme] body{background:var(--bg);color:var(--ink);color-scheme:inherit}
html[data-neo-theme] .scroll-header,html[data-neo-theme] .scroll-header::before{background:var(--bg)}
html[data-neo-theme] .wordmark,html[data-neo-theme] .wordmark-lab,html[data-neo-theme] nav,html[data-neo-theme] .hero h1,html[data-neo-theme] .intelligence-title,html[data-neo-theme] .models-feature h2,html[data-neo-theme] .model-facts strong{color:var(--ink)}
html[data-neo-theme] .eyebrow,html[data-neo-theme] .hero-english,html[data-neo-theme] .hero-note,html[data-neo-theme] .tiny-cross,html[data-neo-theme] .vision-label>span,html[data-neo-theme] .purpose-step small,html[data-neo-theme] .num,html[data-neo-theme] .capability-terms,html[data-neo-theme] .model-description,html[data-neo-theme] .model-lead,html[data-neo-theme] .model-facts span,html[data-neo-theme] .model-facts p,html[data-neo-theme] .contact-caption,html[data-neo-theme] .company-location,html[data-neo-theme] .contact-social>span,html[data-neo-theme] footer>span,html[data-neo-theme] footer small,html[data-neo-theme] .knowledge p,html[data-neo-theme] .knowledge-date,html[data-neo-theme] .works-schedule{color:var(--muted)}
html[data-neo-theme] .button,html[data-neo-theme] .primary,html[data-neo-theme] .admin-primary,html[data-neo-theme] .skip{background:var(--ink);color:var(--inverse);border-color:var(--ink)}
html[data-neo-theme] .button:hover,html[data-neo-theme] .primary:hover,html[data-neo-theme] .admin-primary:hover{background:var(--ink);color:var(--inverse);opacity:.85}
html[data-neo-theme] .nav-action{background:transparent;color:var(--ink);border-color:var(--line)}
html[data-neo-theme] .nav-action:hover{background:var(--ink);color:var(--inverse)}
html[data-neo-theme] .text-link,html[data-neo-theme] .email,html[data-neo-theme] .contact-social-icons a,html[data-neo-theme] footer .footer-social a{color:var(--ink);border-color:var(--line)}
html[data-neo-theme] .journey,html[data-neo-theme] .principles{background:var(--panel)}
html[data-neo-theme] .hero .hero-collage{filter:none;mix-blend-mode:multiply}
html[data-neo-theme=dark] .hero .hero-collage{filter:invert(1);mix-blend-mode:screen}
html[data-neo-theme=dark] .purpose-logo,html[data-neo-theme=dark] .header .brand img{filter:invert(1)}
html[data-neo-theme] .main-art{background:radial-gradient(ellipse at 50% 35%,var(--surface),var(--art))}
html[data-neo-theme] .language-menu,html[data-neo-theme] .language-menu summary,html[data-neo-theme] .language-menu .language-options .language-switch{color:var(--ink)}
html[data-neo-theme] .language-options{background:var(--surface);border-color:var(--line)}
html[data-neo-theme] .language-options .language-switch:hover{background:var(--panel)}
html[data-neo-theme] .panel{background:var(--surface)}
html[data-neo-theme] .badge,html[data-neo-theme] .avatar{background:var(--soft);color:var(--ink)}
html[data-neo-theme] .notice,html[data-neo-theme] .admin-notice{background:var(--panel);color:var(--ink)}
html[data-neo-theme] .notice.error,html[data-neo-theme] .offline,html[data-neo-theme] .admin-notice.error{background:var(--danger-bg);color:var(--danger);border-color:var(--danger)}
html[data-neo-theme] .danger{color:var(--danger)}
html[data-neo-theme] .form-row input,html[data-neo-theme] .form-row textarea,html[data-neo-theme] .form-row select,html[data-neo-theme] .admin-shell input,html[data-neo-theme] .admin-shell textarea,html[data-neo-theme] .admin-shell select{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-neo-theme] .inbox-layout,html[data-neo-theme] .inbox-item,html[data-neo-theme] .inbox-pagination button,html[data-neo-theme] .contact-confirmation{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-neo-theme] .inbox-item:hover,html[data-neo-theme] .inbox-item.selected,html[data-neo-theme] .reply-entry,html[data-neo-theme] .admin-badge,html[data-neo-theme] .mail-connection-status{background:var(--panel)}
html[data-neo-theme] .admin-secondary,html[data-neo-theme] .contact-confirmation button{color:var(--ink);border-color:var(--line)}
html[data-neo-theme] .admin-muted,html[data-neo-theme] .inbox-sender,html[data-neo-theme] .inbox-preview,html[data-neo-theme] .inbox-date,html[data-neo-theme] .empty-detail,html[data-neo-theme] .message-meta dt,html[data-neo-theme] .admin-footer{color:var(--muted)}
html[data-neo-theme] .neo-assistant{color:var(--ink)}
html[data-neo-theme] .neo-assistant section{background:var(--surface);border-color:var(--line)}
html[data-neo-theme] .neo-assistant-toggle{background:var(--ink);color:var(--inverse);border-color:var(--line)}
/* Shared navigation and accessible theme control. */
.neo-controls{display:inline-flex;align-items:center;gap:14px;font:12px/1.5 Inter,"Helvetica Neue",Arial,sans-serif;color:var(--ink);letter-spacing:0;flex-shrink:0}
.neo-controls *{box-sizing:border-box}.neo-controls a{color:var(--ink);text-decoration:none}.neo-controls a:hover{text-decoration:underline}
.neo-menu{position:relative;margin:0;padding:0;border:0;color:var(--ink)}
.neo-menu>summary{list-style:none;min-height:42px;display:flex;align-items:center;cursor:pointer;gap:5px;font:inherit;color:var(--ink)}
.neo-menu>summary::-webkit-details-marker{display:none}.neo-menu>summary:after{content:'⌄';color:var(--muted)}
.neo-menu-panel{position:absolute;right:0;top:calc(100% + 8px);width:280px;max-width:calc(100vw - 32px);max-height:70vh;overflow:auto;background:var(--surface);border:1px solid var(--line);box-shadow:0 12px 40px #0002;padding:14px;z-index:120}
.neo-menu-panel section+section{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.neo-menu-panel strong{display:block;font:10px/1.5 ui-monospace,monospace;letter-spacing:.6px;color:var(--muted);padding:4px 10px}
.neo-menu-panel a{display:block!important;font:13px/1.6 Inter,Arial,sans-serif!important;padding:9px 10px;min-height:38px;white-space:normal!important}
.neo-menu-panel a:hover,.neo-menu-panel a[aria-current=page]{background:var(--panel);text-decoration:none}
.neo-theme-label{display:block;margin:0;font:inherit}.neo-theme-select{display:block;width:auto;max-width:115px;min-height:36px;margin:0;border:1px solid var(--line);border-radius:4px;padding:6px 5px;color:var(--ink);background:var(--surface);font:inherit;cursor:pointer}
.neo-controls :focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.neo-dock{position:fixed;right:18px;bottom:18px;z-index:120;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:4px 10px;box-shadow:0 4px 18px #0002}
.neo-dock .neo-menu-panel{top:auto;bottom:calc(100% + 10px)}
.workspace-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 36px}
.workspace-tools .panel{padding:24px}.workspace-tools h2{font-size:20px}.workspace-tools p{font-size:13px}.workspace-tools a.text-link{display:inline-block;margin-top:8px}.workspace-tools .eyebrow{margin-bottom:12px}
.header nav{flex-wrap:wrap}.header .brand{flex-shrink:0}
html[data-neo-theme] body:has(.neo-controls) .header{gap:18px}
@media(max-width:1180px){.header nav{gap:18px}.header .nav-tools{gap:14px}.header nav>a:not(.nav-action){display:none!important}}
@media(max-width:720px){.neo-controls{gap:10px;font-size:11px}.neo-theme-select{max-width:100px;min-height:34px}.header .nav-tools{gap:10px}.header .nav-tools>.language-menu{display:none}.header .nav-tools .nav-action{padding:8px 10px;font-size:11px}.header:has(.neo-controls){height:auto!important;min-height:84px!important;flex-wrap:wrap;padding-block:14px;gap:10px!important}.header:has(.neo-controls) nav{width:auto;flex:1;justify-content:flex-end;gap:12px}.header .wordmark,.header .wordmark-lab{font-size:20px}.header .brand-symbol{--brand-size:30px}.header .neo-menu-panel{position:fixed;top:76px;right:16px;left:auto;max-height:65vh}.workspace-tools{grid-template-columns:1fr}.neo-dock{bottom:10px;right:10px;gap:10px}.neo-dock .neo-menu-panel{position:absolute;top:auto;bottom:calc(100% + 10px);right:0}.header nav form{margin:0}body:has(.neo-dock){padding-bottom:65px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
/* Strata and model monitoring use the same palette, retaining semantic chart colors. */
:root[data-neo-theme]{--st-bg:var(--bg)!important;--st-surface:var(--surface)!important;--st-surface-2:var(--panel)!important;--st-line:var(--line)!important;--st-line-soft:var(--line)!important;--st-ink:var(--ink)!important;--st-ink-soft:var(--ink)!important;--st-ink-muted:var(--muted)!important;--st-icon:var(--ink)!important;--st-accent:var(--ink)!important;--st-accent-hover:var(--muted)!important;--st-accent-ink:var(--inverse)!important;--st-accent-tint:var(--soft)!important;--st-accent-text:var(--ink)!important;--st-focus:var(--ink)!important}
html[data-neo-theme] .bar{background:var(--soft)}
/* Training UI: native theme handles components; branding uses shared tokens. */
html[data-neo-theme] #root{background:var(--bg)!important;color:var(--ink)}
html[data-neo-theme] aside:has([data-neoteric-brand]){background:var(--surface)!important}
html[data-neo-theme] nav a[aria-current=page]{color:var(--ink)!important;background:var(--panel)!important}
html[data-neo-theme] nav a:hover{color:var(--ink)!important;background:var(--panel)!important}
html[data-neo-theme] .ag-theme-balham{--ag-background-color:var(--bg)!important;--ag-foreground-color:var(--ink)!important;--ag-header-background-color:var(--panel)!important;--ag-header-foreground-color:var(--muted)!important;--ag-border-color:var(--line)!important;--ag-odd-row-background-color:var(--surface)!important;--ag-row-hover-color:var(--soft)!important;--ag-selected-row-background-color:var(--soft)!important}
html[data-neo-theme] .ag-theme-balham .ag-root-wrapper,html[data-neo-theme] .ag-theme-balham .ag-body-viewport,html[data-neo-theme] .ag-theme-balham .ag-center-cols-viewport,html[data-neo-theme] .ag-theme-balham .ag-body-horizontal-scroll{background:var(--bg)!important;border-color:var(--line)!important}
html[data-neo-theme] .ag-theme-balham .ag-header,html[data-neo-theme] .ag-theme-balham .ag-header-cell,html[data-neo-theme] .ag-theme-balham .ag-header-group-cell{background:var(--panel)!important;color:var(--muted)!important;border-color:var(--line)!important}
html[data-neo-theme] .ag-theme-balham .ag-row,html[data-neo-theme] .ag-theme-balham .ag-row-odd{background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important}
html[data-neo-theme] .ag-theme-balham .ag-row-hover,html[data-neo-theme] .ag-theme-balham .ag-row-selected{background:var(--soft)!important}
html[data-neo-theme] .ag-theme-balham .ag-cell,html[data-neo-theme] .ag-theme-balham .ag-cell a{color:var(--ink)!important;border-color:var(--line)!important}

/* Harness token adapter, on every native theme scope. */
html[data-neo-theme],html[data-neo-theme] body,html[data-neo-theme] [data-ds-dark-theme],html[data-neo-theme] [data-ds-light-theme]{
--dsw-alias-bg-base:var(--bg)!important;
--dsw-alias-bg-layer-1:var(--panel)!important;
--dsw-alias-bg-layer-2:var(--panel)!important;
--dsw-alias-bg-layer-3:var(--panel)!important;
--dsw-alias-bg-layer-4:var(--panel)!important;
--dsw-specific-sidebar-fill:var(--bg)!important;
--dsw-specific-input-major:var(--panel)!important;
--dsw-specific-menu:var(--panel)!important;
--dsw-menu-surface-fill:var(--panel)!important;
--dsw-alias-label-primary:var(--ink)!important;
--dsw-alias-label-secondary:var(--muted)!important;
--dsw-alias-label-tertiary:var(--muted)!important;
--dsw-alias-label-caption:var(--muted)!important;
--dsw-alias-label-dimmed:var(--muted)!important;
--dsw-alias-label-primary-foreground:var(--inverse)!important;
--dsw-alias-border-l1:var(--line)!important;
--dsw-alias-border-l2:var(--line)!important;
--dsw-alias-border-l3:var(--line)!important;
--dsw-alias-border-l4:var(--line)!important;
--dsw-alias-brand-primary:var(--ink)!important;
--dsw-alias-state-business-primary:var(--ink)!important;
--dsw-alias-link:var(--ink)!important;
--dsw-alias-button-primary-fill:var(--ink)!important;
--dsw-alias-button-primary-hover:var(--soft)!important;
--dsw-alias-interactive-bg-hover:var(--soft)!important;
--dsw-alias-interactive-bg-active:var(--soft)!important;
--dsw-alias-button-tool-bar-fill:var(--panel)!important;
--dsw-alias-button-tool-bar-hover:var(--soft)!important;
--dsw-alias-markdown-code-block:var(--panel)!important;
--dsw-alias-markdown-code-block-banner:var(--panel)!important;
--dsw-alias-markdown-inline-code:var(--panel)!important;
--dsw-alias-scrollbar-bg-l2:var(--panel)!important;
--dsw-alias-scrollbar-hover-l2:var(--soft)!important;
--dsw-focus-ring-color:var(--ink)!important;
--dsw-alias-button-elevated-fill:var(--panel)!important;
--dsw-alias-button-floating-hover:var(--soft)!important;
--dsw-alias-label-primary-inverted:var(--inverse)!important;
--dsw-static-deepseek-400:var(--ink)!important;
--dsw-static-deepseek-450:var(--ink)!important;
--dsw-static-deepseek-500:var(--ink)!important;
--dsw-specific-bubble:var(--panel)!important;
--dsw-specific-selector:var(--panel)!important;
--dsw-alias-bg-module-platform:var(--panel)!important;
--dsw-alias-label-primary-bluish:var(--ink)!important;
--dsw-alias-label-primary-dimmed:var(--muted)!important;
--dsw-alias-label-deep-diving:var(--muted)!important;
--dsw-alias-label-deep-diving-shimmer:var(--muted)!important;
--dsw-alias-label-shimmer:var(--ink)!important;
--dsw-alias-interactive-bg-hover-solid:var(--soft)!important;
--dsw-alias-state-business-tertiary:var(--panel)!important;
--dsw-alias-button-floating-fill:var(--panel)!important;
--dsw-alias-button-info-hover:var(--soft)!important;
--dsw-alias-turn-trigger-bg:var(--panel)!important;
--dsw-alias-turn-trigger-bg-hover:var(--soft)!important;
--dsw-alias-separator-primary:var(--line)!important;
}
html[data-neo-theme] [class*="_brandName"]::after{content:"NeoteriCloud AI";color:var(--ink)}
html[data-neo-theme] [class*="_brandMark"],html[data-neo-theme] svg[viewBox="0 0 23.16 17.04"]{background:var(--ink)!important}
html[data-neo-theme] [class*="_newSession"]{color:var(--ink)}
html[data-neo-theme] button[aria-label="发送消息"]:not(:disabled),html[data-neo-theme] button[aria-label="Send message"]:not(:disabled){background:var(--ink)!important;color:var(--inverse)!important}
html[data-neo-theme] button[aria-label="发送消息"]:disabled,html[data-neo-theme] button[aria-label="Send message"]:disabled{background:var(--soft)!important;color:var(--muted)!important}
/* Legacy presentation sheets contain literal light-mode text colors. */
html[data-neo-theme] .header nav>a,html[data-neo-theme] .header .nav-action,html[data-neo-theme] .hero-actions>a:not(.button),html[data-neo-theme] .text-link,html[data-neo-theme] .contact-action>a,html[data-neo-theme] .knowledge-links a,html[data-neo-theme] .discovery-links a{color:var(--ink)}
html[data-neo-theme] .header .nav-action:hover{color:var(--inverse)}
html[data-neo-theme] .principles .wrap,html[data-neo-theme] .art-label,html[data-neo-theme] .art-footer,html[data-neo-theme] .hero-art figcaption,html[data-neo-theme] .hero-visual figcaption,html[data-neo-theme] .learning-hero figcaption,html[data-neo-theme] .contact-caption,html[data-neo-theme] footer .admin-entry,html[data-neo-theme] .steps span,html[data-neo-theme] .purpose-index{color:var(--muted)}

/* Compact public masthead: primary links plus one menu for secondary controls. */
html[data-neo-compact] .header{height:72px!important;min-height:72px!important;padding-block:0!important;flex-wrap:nowrap!important;gap:24px!important}
html[data-neo-compact] .header .brand{gap:10px!important;white-space:nowrap}
html[data-neo-compact] .header .wordmark{display:flex!important;align-items:baseline!important;gap:4px!important;font-size:23px!important;line-height:1.1!important}
html[data-neo-compact] .header .wordmark-lab{font:inherit!important;letter-spacing:inherit!important;padding:0!important;border:0!important}
html[data-neo-compact] .header .brand-symbol{--brand-size:30px}
html[data-neo-compact] .header nav{display:flex;width:auto!important;flex:0 1 auto;gap:28px!important;flex-wrap:nowrap!important;align-items:center}
html[data-neo-compact] .header nav>a{display:inline-flex!important;font-size:12px}
html[data-neo-compact] .header .nav-tools{gap:0!important;margin:0!important}
html[data-neo-compact] .header .neo-controls{gap:0}
html[data-neo-compact] .header .neo-menu>summary{width:36px;height:36px;min-height:36px;justify-content:center;border-radius:4px}
html[data-neo-compact] .header .neo-menu>summary:hover{background:var(--panel)}
html[data-neo-compact] .header .neo-menu>summary:after{display:none}
html[data-neo-compact] .header .neo-menu-panel{top:calc(100% + 12px);width:260px}
html[data-neo-compact] .neo-menu-panel .neo-theme-label{padding:6px 10px}
html[data-neo-compact] .neo-menu-panel .neo-theme-select{width:100%;max-width:none}
@media(max-width:720px){
 html[data-neo-compact] .header{height:64px!important;min-height:64px!important;gap:16px!important}
 html[data-neo-compact] .header .wordmark{font-size:20px!important}
 html[data-neo-compact] .header .brand-symbol{--brand-size:26px}
 html[data-neo-compact] .header nav{gap:12px!important;flex:0 1 auto!important}
 html[data-neo-compact] .header nav>a:not(.neo-contact){display:none!important}
 html[data-neo-compact] .header nav>a.neo-contact{font-size:11px}
 html[data-neo-compact] .header .neo-menu-panel{position:absolute;right:0;top:calc(100% + 8px);max-height:calc(100dvh - 90px)}
}

.neo-account-panel {position:fixed;z-index:1000;width:240px;padding:14px;background:var(--surface,#171717);color:var(--ink,#eee);border:1px solid var(--line,#444);box-shadow:0 8px 32px #0004;max-height:70vh;overflow:auto;}
.neo-account-panel[hidden] {display:none;}
.neo-account-panel strong,.neo-account-panel small {display:block;padding:4px 10px;}
.neo-account-panel small {color:var(--muted,#aaa);margin-bottom:10px;}
.neo-account-panel a,.neo-account-panel button {display:block;padding:10px;width:100%;text-align:left;font:inherit;color:inherit;background:none;border:0;text-decoration:none;cursor:pointer;box-sizing:border-box;}
.neo-account-panel a:hover,.neo-account-panel button:hover {background:var(--panel,#292929);}

/* One compact appearance control; readable navigation across both sites. */
.neo-theme-label.neo-theme-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;padding:0;margin:0;cursor:pointer;border-radius:4px;}
.neo-theme-icon>span{display:flex;align-items:center;justify-content:center;pointer-events:none;}
.neo-theme-label.neo-theme-icon>.neo-theme-select{position:absolute;inset:0;width:32px!important;height:32px!important;min-height:32px!important;max-width:32px!important;margin:0;padding:0;opacity:0;cursor:pointer;}
.neo-theme-icon:hover{background:var(--soft,#ddd3);}
.neo-theme-icon:focus-within{outline:2px solid var(--ink);outline-offset:2px;}
html[data-neo-compact] .header nav>a,html[data-neo-compact] .header nav>a.neo-contact{font-size:14px!important;line-height:1.5;}
.neo-controls{font-size:14px;}
.neo-menu-panel a{font-size:14px!important;}

/* One quiet entry in the native Harness header; no extra row or bottom overlay. */
html[data-neo-app-nav] body {padding-bottom:0!important;}
.neo-controls.neo-app-nav {
 position:relative;inset:auto;z-index:120;display:inline-flex;
 height:32px;padding:0;gap:0;border:0;border-radius:0;
 background:transparent;box-shadow:none;color:var(--muted);
}
body>.neo-app-nav {position:fixed;top:8px;right:12px;}
header>.neo-app-nav {grid-column:2;grid-row:1;justify-self:end;align-self:center;}
.neo-app-nav .neo-menu>summary {
 display:flex;align-items:center;justify-content:center;
 width:32px;height:32px;min-height:32px;border-radius:8px;
}
.neo-app-nav .neo-menu>summary:after {display:none;}
.neo-app-nav .neo-menu>summary:hover,.neo-app-nav .neo-menu[open]>summary {background:var(--soft);color:var(--ink);}
.neo-dock.neo-app-nav .neo-menu-panel {
 position:absolute;top:calc(100% + 8px);bottom:auto;right:0;
 width:248px;padding:8px;border-radius:12px;
 max-height:calc(var(--neo-viewport-height,100dvh) - 64px);
 box-shadow:0 8px 30px #00000014;
}
.neo-app-nav .neo-menu-panel a {border-radius:6px;padding:9px 10px;}
.neo-app-nav .neo-app-appearance {border-top:1px solid var(--line);margin-top:6px;padding-top:6px;}
.neo-app-nav .neo-app-appearance .neo-theme-select {width:100%;max-width:none;}

html[data-neo-site=cloud] .header .wordmark{gap:0!important;}
html[data-neo-site=cloud] .header .wordmark-lab{margin-left:0!important;padding-left:0!important;}

.neo-sidebar-open,.neo-sidebar-shade{display:none;}
@media(max-width:900px){
 html[data-neo-app-nav] [class*="_frame"][data-rightbar-collapsed]{grid-template-columns:0 minmax(0,1fr) 0!important;}
 html[data-neo-app-nav] [class*="_frame"]>[class*="_centerCol"]{grid-column:2;grid-row:1;}
 html[data-neo-app-nav] [class*="_frame"]>[class*="_rightbarCol"]{grid-column:3;grid-row:1;}
 html[data-neo-app-nav] [class*="_frame"]>[class*="_sidebarCol"]{
  position:absolute;inset:0 auto 0 0;z-index:31;
  width:min(280px,calc(100% - 52px));border-right:1px solid var(--line);
  transform:translateX(0);transition:transform .2s ease;box-shadow:12px 0 32px #0002;
 }
 html[data-neo-app-nav] [class*="_sidebarCol"]>[class*="_root"]{width:100%!important;}
 html[data-neo-app-nav] [data-sidebar-collapsed]>[class*="_sidebarCol"]{transform:translateX(-100%);visibility:hidden;pointer-events:none;box-shadow:none;}
 html[data-neo-app-nav] [class*="_frame"]>[class*="_handle"]{display:none;}
 .neo-sidebar-open{display:inline-flex;align-items:center;justify-content:center;width:36px;height:32px;padding:0;border:0;border-radius:8px;background:none;color:var(--ink);cursor:pointer;}
 .neo-sidebar-open>span{display:block;width:23px;height:23px;background:currentColor;mask:var(--neoteric-mark) center/contain no-repeat;-webkit-mask:var(--neoteric-mark) center/contain no-repeat;}
 .neo-sidebar-open:hover{background:var(--soft);}
 html[data-neo-app-nav] [class*="_frame"]:not([data-sidebar-collapsed])>.neo-sidebar-shade{display:block;position:absolute;inset:0;z-index:30;background:#0005;border:0;padding:0;}
 html[data-neo-app-nav] [class*="_logoRow"]{height:56px!important;min-height:56px!important;margin-bottom:8px!important;padding:4px!important;}
 html[data-neo-app-nav] [class*="_brand"]{flex-shrink:0;}
 html[data-neo-app-nav] [class*="_newSession"]{position:relative;}
}
@media(prefers-reduced-motion:reduce){html[data-neo-app-nav] [class*="_frame"]>[class*="_sidebarCol"]{transition:none;}}

/* Phone gestures belong to the transcript/draft, never desktop resize handles. */
@media(max-width:900px){
 html[data-neo-app-nav],html[data-neo-app-nav] body {
  height:100%;overflow:hidden!important;overscroll-behavior:none;
 }
 html[data-neo-app-nav] #root,html[data-neo-app-nav] [class*="_centerCol"] {
  min-height:0;overflow:hidden;overscroll-behavior:none;
 }
 html[data-neo-app-nav] [data-conversation-scroll] {
  min-height:0;overflow-y:auto;overscroll-behavior-y:contain;
  touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch;
 }
 html[data-neo-app-nav] [class*="_widthHandle"],html[data-neo-app-nav] [class*="_frame"]>[data-side] {
  display:none!important;pointer-events:none!important;
 }
 html[data-neo-app-nav] [class*="_scroll"]:has(>[class*="_grow"]>[data-composer-input]) {
  overscroll-behavior-y:contain;touch-action:pan-y pinch-zoom;
 }
}

.neo-photo-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--ink);cursor:pointer;}
.neo-photo-button:hover:not(:disabled){background:var(--soft);}
.neo-photo-button:disabled{opacity:.4;cursor:default;}

/* Neoteric Lab: the official mark, quiet typography and thin monochrome rules. */
html[data-neo-app-nav] {
 --dsw-font-family:Inter,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif!important;
 --dsw-specific-sidebar-fill:var(--bg)!important;
 --dsw-specific-input-major:var(--surface)!important;
 --dsw-specific-bubble:var(--panel)!important;
 --dsw-radius-panel:12px!important;
}
html[data-neo-app-nav] body {--dsh-content-font-size:16px!important;--dsh-content-font-delta:2px!important;--dsh-code-font-size:12px!important;}
html[data-neo-app-nav] [class*="_brandName"]::after {content:"Neoteric Lab";font-weight:500;letter-spacing:-.65px;}
html[data-neo-app-nav] [class*="_logoRow"] {border-bottom:1px solid var(--line);}
html[data-neo-app-nav] [class*="_headline"]>.neo-lab-hero {display:block;}
html[data-neo-app-nav] [class*="_headline"]:has(>.neo-lab-hero)>:not(.neo-lab-hero) {display:none!important;}
.neo-lab-hero {width:100%;text-align:center;padding:0 0 16px;color:var(--ink);}
.neo-lab-lockup {display:flex;align-items:center;justify-content:center;gap:14px;font:400 36px/1.2 Inter,"Helvetica Neue",Arial,sans-serif;letter-spacing:-1.5px;}
.neo-lab-lockup b {font-weight:600;}
.neo-lab-mark {display:block;flex:none;width:36px;height:36px;background:currentColor;mask:var(--neoteric-mark) center/contain no-repeat;-webkit-mask:var(--neoteric-mark) center/contain no-repeat;}
.neo-lab-hero p {margin:16px 0 0;font:400 14px/1.7 Inter,"Helvetica Neue",Arial,"PingFang SC",sans-serif;letter-spacing:.5px;color:var(--muted);}
html[data-neo-app-nav] [class*="_card"]:has([data-composer-input]) {
 background:var(--surface);border:1px solid var(--line);border-radius:12px;
 box-shadow:none;gap:10px;padding-top:12px;
}
html[data-neo-app-nav] [class*="_card"]:has([data-composer-input]):focus-within {border-color:color-mix(in srgb,var(--ink) 45%,var(--line));}
html[data-neo-app-nav] [data-composer-input] {font-size:16px;line-height:26px;}
html[data-neo-app-nav] [class*="_newSession"] {border-radius:6px;box-shadow:none;}
html[data-neo-app-nav] [class*="_sidebarCol"]:not(:has([class*="_collapsed"])) button[class*="_newSession"] {background:var(--ink)!important;color:var(--inverse)!important;border-color:var(--ink);}
html[data-neo-app-nav] [class*="_newSession"]:hover {opacity:.88;}
html[data-neo-app-nav] [data-content-phase=hero] [class*="_composerHero"] {gap:14px;}
@media(max-width:900px){
 .neo-lab-lockup {gap:11px;font-size:29px;letter-spacing:-1.1px;}
 .neo-lab-mark {width:30px;height:30px;}
 .neo-lab-hero {padding-bottom:8px;}
 .neo-lab-hero p {font-size:13px;margin-top:12px;letter-spacing:.2px;}
 html[data-neo-app-nav] [data-content-phase=hero] [class*="_composerHero"] {gap:10px;}
}
html[data-neo-app-nav] button[class*="_newSession"] * {color:inherit!important;}
