/* Shared by the workbench, account console and static website. No page layout here. */
:root {
  color-scheme: dark;
  --bg:#18181b; --bg-subtle:#202023; --bg-card:#252528;
  --bg-card-hover:#2d2d31; --bg-card-active:#343439; --bg-input:#202023;
  --bg-glass:#202023; --bg-chrome:#202023;
  --border:#3f3f46; --border-subtle:#34343a; --border-highlight:#71717a; --separator:#3f3f46;
  --text:#e4e4e7; --text-muted:#ababb3; --text-dim:#a1a1aa;
  --accent:#e4e4e7; --accent-hover:#fafafa; --accent-active:#d4d4d8;
  --accent-subtle:#343439; --accent-ink:#e4e4e7; --on-accent:#18181b;
  --green:#78d0a3; --green-subtle:#20392c; --yellow:#ebc47e; --yellow-subtle:#3a3020;
  --red:#f3948c; --red-subtle:#422b2a; --blue:#a3bdf0; --blue-subtle:#273247;
  --radius-xl:16px; --radius-lg:12px; --radius:8px; --radius-sm:6px;
  --surface-radius:8px; --control-radius:6px;
  --shadow-sm:none; --shadow-card:none; --shadow-card-hover:none;
  --shadow-pop:0 8px 24px #00000040; --shadow-dock:none;
  --shadow-glow:none; --accent-glow:none; --green-glow:none;
  --red-glow:none; --yellow-glow:none; --border-glow:transparent; --blur-chrome:none;
  --surface:var(--bg-card); --surface-raised:var(--bg-subtle);
  --muted:var(--text-muted); --danger:var(--red);
  --font-ui:"Segoe UI","Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif;
  --font-mono:"Cascadia Code",Consolas,ui-monospace,monospace;
  --focus-ring:0 0 0 2px color-mix(in srgb,var(--accent) 20%,transparent);
  --ll-line-faint:var(--border-subtle); --ll-line-lo:var(--border);
  --ll-line-mid:var(--border-highlight); --ll-line-hi:var(--text-muted);
  --ll-line-lit:var(--accent); --ll-line-status:var(--yellow); --ll-line-alarm:var(--red); --ll-lift:none;
  --terminal-magenta:#c4a5ed; --terminal-cyan:#81cad3;
  --text-caption:12px; --text-body:13px; --text-conversation:16px;
  --text-section:16px; --text-title:20px;
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-6:24px; --space-8:32px;
  --control-height:32px; --compact-height:28px; --input-height:36px; --touch-height:44px;
  --safe-bottom:env(safe-area-inset-bottom,0px);
  --composer-blue:var(--accent); --composer-blue-hover:var(--accent-hover);
  --memory-accent:var(--accent); --memory-accent-strong:var(--accent-hover);
  --memory-accent-text:var(--text); --memory-tag:var(--text-muted); --memory-tag-text:var(--text);
  --stage-primary:var(--accent); --stage-primary-text:var(--on-accent);
  --ui-radius:var(--control-radius); --ui-panel:var(--bg-card); --ui-muted:var(--text-muted);
  --ui-hairline:var(--border); --ui-soft-shadow:none; --surface-shadow:var(--shadow-pop);
  --workspace-header-height:116px;
}
html.light {
  color-scheme:light;
  --bg:#f7f7f8; --bg-subtle:#efeff1; --bg-card:#ffffff;
  --bg-card-hover:#f5f5f6; --bg-card-active:#e8e8ec; --bg-input:#ffffff;
  --bg-glass:#f7f7f8; --bg-chrome:#f7f7f8;
  --border:#dedee3; --border-subtle:#e9e9ed; --border-highlight:#a1a1aa; --separator:#e4e4e7;
  --text:#18181b; --text-muted:#5e5e68; --text-dim:#65656e;
  --accent:#222225; --accent-hover:#3f3f46; --accent-active:#09090b;
  --accent-subtle:#e9e9ed; --accent-ink:#27272a; --on-accent:#ffffff;
  --green:#216f41; --green-subtle:#eaf6ed; --yellow:#805b11; --yellow-subtle:#fff5e3;
  --red:#b42318; --red-subtle:#fceceb; --blue:#345c9c; --blue-subtle:#edf2fc;
  --terminal-magenta:#7847a3; --terminal-cyan:#216773;
  --shadow-pop:0 8px 24px #18181b18;
}
html[data-platform="mobile"] { --text-body:14px; --control-height:44px; --compact-height:44px; --input-height:44px; }
