.brand-symbol{color:#361895}
:is(.home-header, .launch-nav) .language-switch{color:#475569}
:is(.home-header, .launch-nav) .language-switch button[aria-pressed=true]{color:#4c317d}
:is(.home-header, .launch-nav) .language-switch button:focus-visible{outline:2px solid rgba(135,114,202,0.500)}
:root{--bg:#ffffff;--paper:#ffffff;--surface:#ffffff;--ink:#0f172a;--muted:#526078;--line:#dce4ef;--accent:#0b7f83;--mint:#0b7f83;--orange:#a15b16}
button:hover{color:#0f172a}
::selection{background:rgba(78,109,147,0.130);color:#0f172a}
.site-header{border-bottom:1px solid rgba(109,133,169,0.180);background:linear-gradient(rgba(255,255,255,0.808),transparent)}
.site-header nav{color:#475569}
.language-switch{color:#475569}
.language-switch button[aria-pressed=true]{color:#3b1895}
.nav-watch{border:1px solid rgba(109,133,169,0.180)}
.nav-watch:hover{background:rgba(148,129,207,0.051)}
.effects-switch{color:#475569}
.hero-grid{background-image:radial-gradient(rgba(141,129,207,0.129) .75px,transparent .75px)}
.hero-glow{background:radial-gradient(ellipse,rgba(149,134,203,0.130),transparent 65%)}
.eyebrow{color:#52446a}
.live-dot{box-shadow:0 0 12px rgba(15,23,42,0.120)}
.live-dot.mint{box-shadow:0 0 12px rgba(15,23,42,0.120)}
.hero h1 em,.end-section h2 em{background:linear-gradient(100deg,#341895,#3e1d90);-webkit-background-clip:text;background-clip:text}
.button.primary{background:#f6f5fa;color:#0f172a}
.button.primary:hover{background:#f6f5fa}
.text-play{color:#52416c}
.play-ring{border:1px solid rgba(109,133,169,0.180)}
.hero-meta{color:#475569}
.orbit{border:1px solid rgba(150,114,202,0.180)}
.axis{background:rgba(78,109,147,0.031)}
.field-center .brand-symbol{filter:drop-shadow(0 0 18px rgba(15,23,42,0.120))}
.field-center strong{text-shadow:0 2px 15px rgba(15,23,42,0.120)}
.field-center>span:last-child{color:#52406d}
.orbit-tool{border:1px solid rgba(135,114,202,0.180);background:rgba(255,255,255,0.800);color:#45238b;box-shadow:0 10px 30px rgba(15,23,42,0.120)}
.orbit-tool:hover{background:#f7f5f9;border-color:rgba(135,114,202,0.500)}
.float-card{border:1px solid rgba(135,114,202,0.180);background:rgba(255,255,255,0.804);box-shadow:0 20px 44px rgba(15,23,42,0.120)}
.float-card>span:first-child{color:#56426b}
.pass-float{color:#371895}
.mini-signal{background:linear-gradient(90deg,transparent,rgba(207,162,129,0.130),transparent)}
.hero-audit{color:#475569}
.scroll-hint{color:#475569}
.capability-strip{background:rgba(78,109,147,0.130)}
.capability-strip a:hover{background:rgba(148,129,207,0.031)}
.capability-strip span{color:#475569}
.case-tab{background:#ffffff}
.case-tab.selected{background:linear-gradient(110deg,rgba(161,144,193,0.130),#ffffff);border-color:rgba(135,114,202,0.439)}
.case-number{color:#475569}
.case-tab>span:last-child{color:#51436b}
.case-duration{color:#534767}
.theater{border:1px solid rgba(135,114,202,0.180);background:#ffffff;box-shadow:0 28px 90px rgba(15,23,42,0.120)}
.theater-toolbar{border-bottom:1px solid rgba(109,133,169,0.180);background:linear-gradient(90deg,#ffffff,#ffffff)}
.replay-badge{color:#554667}
.replay-badge i{box-shadow:0 0 10px rgba(15,23,42,0.120)}
.mode-switch{border:1px solid rgba(109,133,169,0.180)}
.mode-switch button{color:#475569}
.mode-switch button[aria-pressed=true]{background:#f7f5f9;color:#461d91}
.icon-button{color:#544965}
.icon-button:hover{background:rgba(148,129,207,0.082);color:#461e8f}
.film-stage{background:#ffffff}
.film-stage video{background:#ffffff}
.transport{background:#ffffff;border-top:1px solid rgba(109,133,169,0.180)}
.play-toggle{background:rgba(148,129,207,0.125);color:#3a1895}
.play-toggle:hover{background:rgba(148,129,207,0.130)}
.timecode{color:#475569}
.transport select{background:#f6f6f9;color:#543f6e;border:1px solid rgba(109,133,169,0.180)}
.loop-toggle{color:#475569}
input[type=range]::-webkit-slider-runnable-track{background:#f7f6f9}
input[type=range]::-webkit-slider-thumb{background:#f6f5fa;box-shadow:0 0 9px rgba(15,23,42,0.120)}
input[type=range]::-moz-range-track{background:#f7f6f9}
input[type=range]::-moz-range-thumb{background:#f6f5fa}
.chapter-bar button{border:1px solid rgba(109,133,169,0.180);color:#475569;background:rgba(78,109,147,0.130)}
.chapter-bar button>span{color:#475569}
.chapter-bar button.active{background:rgba(161,144,193,0.130);border-color:rgba(135,114,202,0.439);color:#461b92}
.chapter-caption{color:#554865}
.lab-shell{border:1px solid rgba(135,114,202,0.180);background:linear-gradient(130deg,rgba(78,109,147,0.130),#ffffff)}
.segmented{border:1px solid rgba(109,133,169,0.180);background:rgba(144,151,193,0.130)}
.segmented button{color:#475569}
.segmented button[aria-pressed=true]{background:#f7f5f9;color:#4a1895}
.slider-label{color:#554668}
.formula-card{border:1px solid rgba(135,114,202,0.180);background:rgba(159,143,194,0.130);color:#50327b}
.formula-card>span{color:#475569}
.reset-button{color:#475569}
.chart-head{color:#475569}
.status-pill{border:1px solid rgba(114,202,175,0.200);background:rgba(129,207,183,0.043)}
.status-pill.amber{border-color:rgba(202,150,114,0.188);background:rgba(207,161,129,0.043)}
.plot-legend{color:#475569}
.readout-grid>div{border:1px solid rgba(109,133,169,0.180);background:#ffffff}
.readout-grid span{color:#584865}
.readout-grid strong{color:#45248a}
.readout-grid .residual-readout{border-color:rgba(202,150,114,0.180);background:#ffffff}
.readout-grid.fixed .residual-readout{border-color:rgba(114,202,175,0.188);background:#ffffff}
.limit-row>span:first-child{color:#475569}
.limit-row button{border:1px solid rgba(109,133,169,0.180);color:#54406d}
.limit-row button[aria-pressed=true]{background:rgba(148,129,207,0.098);border-color:rgba(135,114,202,0.439)}
.method-details{color:#475569}
.method-details summary{color:#584865}
.method-details p{color:#475569}
.measurement-card{background:#ffffff;border:1px solid rgba(109,133,169,0.180)}
.measurement-card>span{color:#475569}
.measurement-card>strong{color:#431895}
.balance-metal{border:1px solid rgba(135,114,202,0.180);background:rgba(163,143,194,0.130)}
.balance-metal>strong{color:#3d1895}
.balance-metal small{color:#574568}
.balance-metal.copper{border-color:rgba(202,150,114,0.180);background:rgba(78,109,147,0.130)}
.balance-metal.net{border-color:rgba(114,202,175,0.180);background:rgba(140,196,179,0.130)}
.math-op{color:#475569}
.mass-bars span{color:#475569}
.mass-bars>div>div{background:rgba(78,109,147,0.024)}
.mass-bars output{color:#56436a}
.chem-gap{background:rgba(78,109,147,0.130);border:1px solid rgba(202,150,114,0.180)}
.chem-gap>span{color:#475569}
.chem-results.checked .chem-gap{background:rgba(140,196,179,0.130);border-color:rgba(114,202,175,0.180)}
.composition-row>span{color:#475569}
.composition-row>strong{color:#452687}
.tool-orchestrator{border:1px solid rgba(135,114,202,0.180);background:radial-gradient(ellipse at 50% 0%,rgba(166,137,200,0.106),transparent 70%)}
.tool-hub{background:#f7f5fa;border:1px solid rgba(135,114,202,0.282);box-shadow:0 0 40px rgba(15,23,42,0.031)}
.tool-connectors:before{background:rgba(148,129,207,0.130)}
.tool-connectors:after{background:linear-gradient(90deg,rgba(148,129,207,0.098),rgba(148,129,207,0.130),rgba(148,129,207,0.098))}
.tool-connectors i{background:rgba(148,129,207,0.130)}
.tool-connectors i:after{box-shadow:0 0 12px rgba(15,23,42,0.120)}
.tool-cards button{border:1px solid rgba(109,133,169,0.180);background:#ffffff}
.tool-cards button[aria-pressed=true]{border-color:rgba(135,114,202,0.500);background:rgba(163,144,193,0.130);box-shadow:inset 0 0 35px rgba(15,23,42,0.024)}
.tool-cards small{color:#475569}
.tool-evidence{border:1px solid rgba(135,114,202,0.180);background:#ffffff}
.tool-evidence article{border-right:1px solid rgba(109,133,169,0.180)}
.tool-evidence article>span{color:#554568}
.tool-evidence article>p{color:#564469}
.end-glow{background:radial-gradient(ellipse,rgba(157,129,207,0.078),transparent 65%)}
.end-section>p{color:#574866}
.outcome-grid>button{background:rgba(163,145,191,0.130);border:1px solid rgba(135,114,202,0.180)}
.outcome-grid>button:hover{border-color:rgba(135,114,202,0.439);background:#f7f5fa}
.outcome-grid>button>span{color:#56416c}
.result-line{color:#501c92}
.result-line i{color:#475569}
.purple{color:#3d1895}
.outcome-grid p{color:#475569}
.button.secondary{border:1px solid rgba(135,114,202,0.188);color:#573c71}
.button.secondary:hover{background:rgba(148,129,207,0.071)}
footer>span{color:#475569}
footer>button{color:#574569}
dialog{background:#ffffff;border:1px solid rgba(135,114,202,0.251);box-shadow:0 30px 120px rgba(15,23,42,0.120)}
dialog::backdrop{background:rgba(255,255,255,0.859)}
.cinema-head>span{color:#584667}
.cinema-hint{color:#475569;background:#ffffff}
.source-dialog p{color:#554766}
.source-block{background:#ffffff;border:1px solid rgba(135,114,202,0.180)}
.source-dialog h3{color:#56317c}
.source-links{color:#542885}
#toast{border:1px solid rgba(135,114,202,0.314);background:rgba(247,245,250,0.933);color:#522886}
@media(max-width:520px){.tool-evidence article{border-bottom:1px solid rgba(109,133,169,0.180)}}
.svg-scene [data-film-tool]:focus-visible{filter:drop-shadow(0 0 4px rgba(15,23,42,0.120))}
.bio-window-buttons button{border:1px solid rgba(135,114,202,0.180);background:rgba(148,129,207,0.024)}
.bio-window-buttons button:hover{border-color:rgba(135,114,202,0.500);color:#4b2885}
.bio-test-note{color:#44695f!important}
.bio-test-note.changed{color:#954d18!important}
.bio-reference-card{border:1px solid rgba(135,114,202,0.180);background:rgba(148,129,207,0.024)}
.bio-reference-card>span{color:#475569}
.bio-reference-card>strong{color:#381895}
.bio-track-label{color:#475569}
.bio-track{background:#f9f6f6}
.bio-track>i{background:linear-gradient(90deg,#f6f9f9,#f5faf9)}
.bio-track>b{border:1px solid rgba(149,114,202,0.500);background:rgba(160,129,207,0.130)}
.bio-tail-note{color:#684f46}
.bio-readouts{border-top:1px solid rgba(109,133,169,0.180)}
.bio-readouts>div>span{color:#475569}
.bio-readouts strong{color:#2d816a}
.bio-readouts>div:last-child strong{color:#42208d}
.case-tab:focus-visible,[data-bio-change]:focus-visible,[data-bio-window]:focus-visible{outline:2px solid rgba(135,114,202,0.500)}
.showcase-navigation a.showcase-return-link{border:1px solid rgba(135,114,202,0.314);background:rgba(148,129,207,0.078);color:#3a1895}
.showcase-navigation a.showcase-return-link:hover{background:rgba(148,129,207,0.130);border-color:rgba(135,114,202,0.500)}
.showcase-navigation a.showcase-return-link:focus-visible{outline:2px solid rgba(138,114,202,0.500)}
.lab-sidebar .showcase-navigation a.showcase-return-link{border-color:rgba(152,133,184,0.376);background:rgba(163,146,191,0.071)}
:root{--shell-text:#0f172a;--shell-muted:#526078;--shell-accent:#0b7f83;--shell-line:#dce4ef}
header.site-shell-header[data-site-header]{background:rgba(255,255,255,0.961)}
.site-shell-header .showcase-navigation a.showcase-return-link{background:rgba(78,109,147,0.016)}
.site-shell-header .showcase-navigation a.showcase-return-link:hover{border-color:rgba(135,114,202,0.400);background:rgba(148,129,207,0.071)}
.site-shell-header .language-switch{background:rgba(78,109,147,0.016)}
.site-shell-header .language-switch button[aria-pressed=true]{color:#411895;background:rgba(148,129,207,0.125)}
.site-shell-header .language-switch button:hover{color:#421995}
.site-shell-header :is(.nav-watch, .effects-switch){background:rgba(78,109,147,0.016)}
footer.site-shell-footer[data-site-footer]{background:#ffffff}
.site-shell-footer .site-shell-case{color:#475569}
.site-shell-footer button.site-shell-top{color:#513f6e}
.site-shell-footer .site-shell-footer-notes{color:#475569}
.site-shell-footer .site-shell-footer-notes :is(button, summary){color:#523b72}
.site-shell-footer .site-shell-footer-notes details p{color:#475569}
.lab-sidebar a.site-shell-brand{color:#0f172a}
footer.site-shell-workspace-footer[data-site-footer]{--shell-text:#0f172a;--shell-muted:#526078;--shell-line:#dce4ef}
@media (max-width: 1200px){.site-shell-header .site-shell-header-inner > nav{border-top:1px solid rgba(109,133,169,0.180)}}
/* A cool white canvas, slate typography and blue/teal accents, inspired by Agents-A1. */
html[data-theme="light"] { color-scheme: light; background: #f6f8fb; }
html[data-theme="light"] body {
  color: #0f172a;
  background: linear-gradient(180deg, #eef6f8 0, #f8fafc 420px, #f6f8fb 100%);
  --bg: #f6f8fb; --paper: #fff; --panel: #fff; --surface: #f1f5f9;
  --surface2: #f8fafc; --soft: #f1f5f9; --ink: #0f172a; --ink2: #334155;
  --text: #0f172a; --muted: #526078; --dim: #64748b; --faint: #64748b;
  --line: #dce4ef; --accent: #0b7f83; --accent2: #0b7f83;
  --shell-text: #0f172a; --shell-muted: #526078; --shell-accent: #2563eb; --shell-line: #dce4ef;
  --preview-ink: #0f172a; --preview-muted: #526078;
}
html[data-theme="light"] ::selection { color: #fff; background: #2563eb; }
html[data-theme="light"] :is(input, select, textarea) { color-scheme: light; accent-color: #2563eb; }
html[data-theme="light"] :is(button, a, input, select, summary):focus-visible { outline-color: #2563eb; }
html[data-theme="light"] header.site-shell-header[data-site-header] {
  background: #f8fafcf2; border-bottom-color: #dce4ef; box-shadow: 0 8px 28px #0f172a06;
}
html[data-theme="light"] footer.site-shell-footer[data-site-footer] { background: #f6f8fb; border-top-color: #dce4ef; }
html[data-theme="light"] .site-shell-header .language-switch { background: #fff; }
html[data-theme="light"] .site-shell-header .language-switch button[aria-pressed="true"] { background: #e7eefc; color: #1d4ed8; }
html[data-theme="light"] .site-shell-header .language-switch button:hover { color: #1d4ed8; }
html[data-theme="light"] .site-shell-header .showcase-navigation a.showcase-return-link { background: #fff; color: #475569; }
html[data-theme="light"] .site-shell-header .showcase-navigation a.showcase-return-link:hover { background: #edf4ff; color: #1d4ed8; }
html[data-theme="light"] :is(dialog, .modal, .modal-card, .dialog-card) { background-color: #fff; color: #0f172a; border-color: #dce4ef; box-shadow: 0 24px 100px #0f172a26; }
html[data-theme="light"] dialog::backdrop { background: #0f172a77; backdrop-filter: blur(8px); }
html[data-theme="light"] :is(pre, .source-text, .code-box, .code-block) { color: #25334a; background-color: #f3f6fb; }
html[data-theme="light"] :is(.btn, .primary-btn, .primary-button) { color: #fff; background: #2563eb; border-color: #2563eb; }
html[data-theme="light"] :is(.btn.secondary, .secondary-btn, .secondary-button) { color: #1d4ed8; background: #fff; border-color: #c7d8f0; }
html[data-theme="light"] :is(a, button):is(.primary, .btn-primary) { color: #fff; background: #2563eb; border-color: #2563eb; }
html[data-theme="light"] .hero-finding { box-shadow: 0 10px 30px #0f172a08; }
html[data-theme="light"] .local-processor > ellipse[fill="#03050b"] { opacity: .08; }
html[data-theme="light"] .machine { --device-accent: #2563b8; }
html[data-theme="light"] .machine[data-hardware="nvidia"] { --device-accent: #087f83; }
html[data-theme="light"] .machine-tag { box-shadow: 0 4px 14px #1937570a; }
html[data-theme="light"] .die-parameter { fill: #526078; }
html[data-theme="light"] .die-modelname { fill: #172b45; }
html[data-theme="light"] :is(.play-toggle, .film-play, .icon-button, .preview-toggle) { color: #2563b8; }
html[data-theme="light"] :is(.film-stage, .film-frame, .film-shell, .film-player, .cinema-frame, .process-player) {
  background-color: #f5f8fc; border-color: #d4dfed; box-shadow: 0 8px 28px #19375708;
}
/* Match the author's light atlas transfer function; these are data scales. */
html[data-theme="light"] .atlas-scale i { background: linear-gradient(90deg, hsl(255 40% 97%), hsl(255 52% 35%)); }
html[data-theme="light"] .gradient-legend i { background: linear-gradient(90deg, #eeebfa, #7261bd); }
html[data-theme="light"] .video-launch { background: transparent; color: #172b45; }
html[data-theme="light"] .video-play-icon { background: #2563eb; color: #fff; border-color: #2563eb; box-shadow: 0 8px 28px #2563eb26; }
html[data-theme="light"] :is(.flow-main-label, .flow-count) { fill: #6a4ca3; }
html[data-theme="light"] .flow-main rect { fill: #f3eefb; stroke: #987abc; }
html[data-theme="light"] .flow-main.active rect { fill: #e9def9; stroke: #7952b8; }
html[data-theme="light"] .flow-main text { fill: #4e3477; }
html[data-theme="light"] .flow-worker > circle:first-of-type { fill: #f3eefb; stroke: #987abc; }
html[data-theme="light"] .hero-pattern-key i { background: #667085; }
html[data-theme="light"] .hero-pattern-key i.calculated-key { background: #7952b8; }
html[data-theme="light"] .atom-key span:first-child .swatch { background: #7052bc !important; }
html[data-theme="light"] .atom-key span:nth-child(2) .swatch { background: #b67e2b !important; }
html[data-theme="light"] .spectrum-replay .legend span:nth-child(1) i { background: #667085 !important; }
html[data-theme="light"] .spectrum-replay .legend span:nth-child(2) i { background: #7952b8; }
html[data-theme="light"] .spectrum-replay .legend span:nth-child(3) i { background: #0b8f83 !important; }
html[data-theme="light"] button:is(.active, [aria-selected="true"]) { background-color: #e7f3f3; color: #0b6b70; }
html[data-theme="light"] .home-main { padding-top: 52px; }
html[data-theme="light"] .collection-heading h2 { color: #0f172a; font-weight: 550; }
html[data-theme="light"] .showcase-card {
  padding: 12px; border: 1px solid #d9e3ef; border-radius: 20px;
  background: #fff; box-shadow: 0 6px 24px #0f172a04;
  transition: box-shadow .25s, border-color .25s;
}
html[data-theme="light"] .showcase-card:hover { border-color: #aec9e8; box-shadow: 0 14px 36px #1738570c; }
html[data-theme="light"] .card-cover {
  border: 1px solid #dce5f2; border-radius: 12px;
  background: radial-gradient(ellipse at 72% 42%, #e6e4fa, transparent 68%), linear-gradient(130deg, #f7faff, #eef5fb);
}
html[data-theme="light"] [data-case="deep-research"] .card-cover { background: radial-gradient(ellipse at 72% 42%, #dcedf8, transparent 68%), #f3f8fd; }
html[data-theme="light"] .published-cover::before { opacity: .12; }
html[data-theme="light"] .cover-visual { filter: none; }
html[data-theme="light"] .available:is(:hover, :focus-visible) .cover-visual { filter: drop-shadow(0 5px 14px #4b4a9122); }
html[data-theme="light"] .card-cover-title { color: #172c4a; font-weight: 500; }
html[data-theme="light"] :is(.cover-label, .card-cover-scope) { color: #50617a; }
html[data-theme="light"] .card-copy { padding: 18px 4px 6px; }
html[data-theme="light"] .card-heading h3 { color: #17233b; font-weight: 500; }
html[data-theme="light"] .available:hover h3 { color: #1d4ed8; }
html[data-theme="light"] .card-subtitle { color: #334155; }
html[data-theme="light"] .card-description { color: #526078; }
html[data-theme="light"] .card-meta { color: #465974; }
html[data-theme="light"] .card-meta > span { border-color: #dce5ef; background: #f8fafc; }
html[data-theme="light"] .card-arrow { color: #3d6088; border-color: #d2dfed; background: #f8fafc; }
html[data-theme="light"] .available:is(:hover, :focus-visible) .card-arrow { color: #fff; background: #2563eb; }
/* The recordings and research figures retain their original pixels. */
html[data-theme="light"] :is(video, img, canvas) { filter: none; }
@media (max-width: 700px) {
  html[data-theme="light"] .home-main { padding-top: 34px; }
  html[data-theme="light"] .showcase-card { padding: 12px; }
}
