/* Hanken Grotesk: google/fonts, OFL license in /fonts/OFL-HankenGrotesk.txt. */
@font-face{font-family:"Hanken Grotesk";src:url('/fonts/HankenGrotesk.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}

/* White paper, neutral typography and restrained blue emphasis. */
html[data-theme="light"]:not(.myxos-theme){color-scheme:light;--page:#fff;--surface:#f5f6f8;--surface-line:#dadde2;--hover:#f3f6fa;--ink:#202124;--body:#3c4043;--muted:#69717c;--toward:#5f6368;--line:#e1e4e8;--section-line:#dadde2;--accent:#285c9e;--accent-rgb:40,92,158;--link:#285c9e;--accent-soft:#eaf2ff;--accent-hover:#194579;--on-accent:#fff;--button-ink:#3c4043}
html[data-theme="light"]:not(.myxos-theme) body{font-family:"Hanken Grotesk","Helvetica Neue",Arial,sans-serif;background:#fff;color:var(--ink)}
html[data-theme="light"] body:not(.lab-home,.myxos-page,.frontier-guides){background:#fff}
html[data-theme="light"] .brand-logo{filter:none}
html[data-theme="light"] body:not(.lab-home) .global-header{min-height:92px;border-bottom:1px solid var(--line);gap:30px}
html[data-theme="light"] body:not(.lab-home) .global-header .brand{font-size:23px;font-weight:500;gap:11px;letter-spacing:-.025em}
html[data-theme="light"] body:not(.lab-home) .global-header .brand-name strong{font-weight:650}
html[data-theme="light"] body:not(.lab-home) .global-header .brand-logo{width:32px;height:32px}
html[data-theme="light"] body:not(.lab-home) .global-header .global-nav{font-family:inherit;font-size:14px;letter-spacing:0;font-weight:500;gap:27px}
html[data-theme="light"] body:not(.lab-home) .global-header .global-nav a{color:var(--body)}
html[data-theme="light"] body:not(.lab-home) .global-header .global-nav a:hover,html[data-theme="light"] body:not(.lab-home) .global-header .global-nav a[aria-current="page"]{color:var(--link)}
html[data-theme="light"] .content-page h1{font-weight:600;letter-spacing:-.035em}
html[data-theme="light"] .content-page h2,html[data-theme="light"] .content-page .section-heading h2,html[data-theme="light"] .content-page .catalog-group h2,html[data-theme="light"] .content-page .about-section h2,html[data-theme="light"] .content-page .detail-section h2{font-weight:550;letter-spacing:-.025em}
html[data-theme="light"] .content-page h3{font-weight:550}
html[data-theme="light"] .page-description,html[data-theme="light"] .story-summary,html[data-theme="light"] .environment-card p{color:var(--body)}
html[data-theme="light"] .environment-card{border-top-color:var(--line)}
html[data-theme="light"] .experiment-entry h4{color:var(--ink);font-weight:550}
html[data-theme="light"] .experiment-entry p,html[data-theme="light"] .experiment-label,html[data-theme="light"] .experiment-category{color:var(--body)}
html[data-theme="light"] .experiment-entry:hover h4{color:var(--link)}
html[data-theme="light"] .global-footer{font-family:inherit;font-size:12px;border-top-color:var(--line);color:var(--muted)}

/* Directory, reports, guides and editorial pages share the same paper surface. */
html[data-theme="light"] :is(.track-summary,.track-baselines,.research-selection,.research-figure,.track-page .fixture-notice,.contribution-objective,.contribution-environment,.task-definition-example,.guide-note,.review-prompt,.story-body pre,.contribution-participant){background:var(--surface);color:var(--body)}
html[data-theme="light"] :is(.results-table thead th,.guide-table-scroll th){background:var(--surface);color:var(--muted);font-family:inherit;font-weight:500}
html[data-theme="light"] :is(.results-table th,.results-table td){border-bottom-color:var(--line)}
html[data-theme="light"] :is(.results-table tbody tr:hover,.research-legend-item:hover,.research-legend-item.research-selected){background:var(--hover)}
html[data-theme="light"] .track-jump-nav{background:rgba(255,255,255,.95)}
html[data-theme="light"] .track-jump-nav a[aria-current="location"]{background:var(--accent-soft);color:var(--link)}
html[data-theme="light"] :is(.primary-link,.prompt-copy){border-color:#c5ccd5;color:var(--link);font-family:inherit}
html[data-theme="light"] :is(.primary-link:hover,.prompt-copy:hover){background:var(--accent-soft);color:var(--accent-hover)}
html[data-theme="light"] :is(.catalog-domain:hover,.catalog-domain[aria-pressed="true"]){background:var(--accent-soft);color:var(--link)}
html[data-theme="light"] .environment-visual{background:var(--surface)}
html[data-theme="light"] .environment-visual>img{opacity:1}
html[data-theme="light"] .person-email{color:var(--link)}
html[data-theme="light"] .global-footer .footer-wordmark{color:var(--body);font-family:inherit}
html[data-theme="light"] :is(.eyebrow,.catalog-count,.category,.story-meta,.story-byline,.contribution-lane,.guide-step-label,.summary-label,.detail-back,.detail-source,.track-section-note,.story-read,.research-figure figcaption,.fixture-badge){color:var(--muted)}
html[data-theme="light"] :is(.environment-film video,.gallery-page .film,.gallery-page .film>video){background:var(--surface)}

/* Explorers use these semantic tokens, with their original dark colors as fallbacks. */
html[data-theme="light"]:not(.myxos-theme){--explorer-bg:#f5f7fa;--explorer-panel:#fff;--explorer-soft:#edf2f8;--explorer-line:#d2dae4;--explorer-ink:#202124;--explorer-muted:#596570;--explorer-blue:#285c9e;--explorer-orange:#98601e;--explorer-violet:#73529a;--explorer-on-accent:#fff;--explorer-pass-bg:#eaf5ee;--explorer-pass-ink:#276147;--explorer-warn-bg:#fff3df;--explorer-warn-ink:#8a591d;--explorer-fail-bg:#faedef;--explorer-fail-ink:#9c3c51}
html[data-theme="light"] [data-explorer]{font-family:inherit}
html[data-theme="light"] [data-scientific-process]{background:var(--surface);color:var(--body);font-family:inherit;border-color:var(--line)}
html[data-theme="light"] [data-scientific-process] :is(button,select){color:var(--body);background:var(--page);border-color:#c5ccd5;color-scheme:light}
html[data-theme="light"] [data-scientific-process] :is(button[aria-pressed="true"],button[aria-current="step"]){background:var(--accent-soft);color:var(--link);border-color:#a4bddd}
html[data-theme="light"] [data-scientific-process] :is(button:hover,select:hover){background:var(--hover)}
html[data-theme="light"] [data-scientific-process] :is(.process-label,.el-label){background:var(--page);text-shadow:none}
html[data-theme="light"] [data-explorer] :is(button,select,input){font-family:inherit;color-scheme:light}
html[data-theme="light"] [data-explorer] svg text{fill:var(--body);font-family:inherit}
html[data-theme="light"] [data-explorer] svg [fill="#8bcbd7"]{fill:var(--explorer-blue)}
html[data-theme="light"] [data-explorer] svg [stroke="#8bcbd7"]{stroke:var(--explorer-blue)}
html[data-theme="light"] [data-explorer] svg [fill="#e6ac6a"]{fill:var(--explorer-orange)}
html[data-theme="light"] [data-explorer] svg [stroke="#e6ac6a"]{stroke:var(--explorer-orange)}
html[data-theme="light"] [data-explorer] svg :is([fill="#dce6ec"],[fill="#a4b3bd"],[fill="#eaf4f7"],[fill="#edf4f7"]){fill:var(--body)}
html[data-theme="light"] [data-explorer] svg :is([stroke="#dce6ec"],[stroke="#a4b3bd"],[stroke="#526d79"],[stroke="#526975"],[stroke="#526874"]){stroke:var(--explorer-muted)}
html[data-theme="light"] [data-explorer] svg :is([fill="#071015"],[fill="#0d1820"],[fill="#132630"],[fill="#142630"],[fill="#14252e"],[fill="#162b37"]){fill:var(--explorer-soft)}
html[data-theme="light"] .fly-guide .dark{background:var(--surface);color:var(--ink)}
html[data-theme="light"] .fly-guide .dark :is(p,td,th){color:var(--body)}
html[data-theme="light"] .fly-guide .dark :is(hr,details,td,th){border-color:var(--line)}

/* Compact research pages: the layout is shared with the approved dark previews. */
html[data-theme="light"] :is(.fb-page,.am-page){--fb-green:#285c9e;--fb-green-surface:#dce9fb;--am-green:#285c9e;--am-tint:#dce9fb}
html[data-theme="light"] :is(.fb-page,.am-page) h1{font-size:clamp(34px,3.5vw,46px);font-weight:600;line-height:1.1;letter-spacing:-.035em}
html[data-theme="light"] :is(.fb-tagline,.am-tagline){font-size:24px;font-weight:450;letter-spacing:-.02em;line-height:1.4}
html[data-theme="light"] :is(.fb-description,.am-description){font-size:15px;line-height:1.7}
html[data-theme="light"] :is(.fb-breadcrumb,.am-breadcrumb){font-size:13px;color:var(--muted)}
html[data-theme="light"] :is(.fb-chips,.am-chips) span{border-color:transparent;background:#f2f3f5;font-size:12px;padding:4px 10px}
html[data-theme="light"] :is(.fb-links,.am-links){gap:10px;font-size:13px}
html[data-theme="light"] :is(.fb-links,.am-links) a:not([href^="#"]){display:inline-flex;align-items:center;justify-content:center;padding:7px 13px;background:#e0ebfd;border-radius:20px;color:#213c63;font-weight:500}
html[data-theme="light"] :is(.fb-links,.am-links) a:not([href^="#"]):hover{background:#d1e2fc}
html[data-theme="light"] :is(.fb-model,.am-visual-model){background:#dce9fb;border-color:transparent}
html[data-theme="light"] :is(.fb-given,.am-visual-input){background:#f3f4f6;border-color:transparent}
html[data-theme="light"] :is(.fb-model,.am-visual-model) :is(.fb-visual-label,.am-kicker){color:#41618c}
html[data-theme="light"] :is(.fb-task-visual,.am-visual) strong{font-size:13px;font-weight:550}
html[data-theme="light"] :is(.fb-output-labels,.am-output) span{background:#f4f8ff;border-color:transparent;color:#41618c}
html[data-theme="light"] :is(.fb-brief,.am-brief){gap:38px;padding-top:28px}
html[data-theme="light"] :is(.fb-page .fb-brief,.am-page .am-brief) h2{font-size:14px;font-weight:600;margin-bottom:10px}
html[data-theme="light"] :is(.fb-page .fb-brief,.am-page .am-brief) p{font-size:15px;line-height:1.65;color:var(--body)}
html[data-theme="light"] :is(.fb-brief-item,.am-brief-item)>span{font-size:11px;line-height:1.7}
html[data-theme="light"] :is(.fb-results-lede,.am-result-panel>p){font-size:14px;line-height:1.7}
html[data-theme="light"] :is(.fb-section-heading,.am-section-heading) h2{font-size:29px;font-weight:600;letter-spacing:-.025em}
html[data-theme="light"] :is(.fb-test-table,.am-table){border-color:var(--line)}
html[data-theme="light"] :is(.fb-test-table,.am-table) thead th{background:#f5f6f8;color:#5f6368;font-size:12px;font-weight:500;border-top-color:var(--line)}
html[data-theme="light"] :is(.fb-test-table,.am-table) th span{font-size:11px;color:var(--muted)}
html[data-theme="light"] .fb-test-table td.fb-number{font-family:inherit;font-size:15px;font-weight:400}
html[data-theme="light"] .am-table td{font-family:inherit;font-size:16px;font-weight:450}
html[data-theme="light"] .am-table tbody th{font-size:14px;font-weight:400}
html[data-theme="light"] .fb-test-table tfoot{background:#edf3fd}
html[data-theme="light"] :is(.fb-test-table,.am-table) tbody tr:hover{background:#f7f9fc}
html[data-theme="light"] :is(.fb-table-note,.am-reference-note,.am-result-note){font-size:12px;line-height:1.8}
html[data-theme="light"] :is(.fb-explainer,.am-disclosure){border-color:var(--line);background:var(--page)}
html[data-theme="light"] :is(.fb-explainer,.am-disclosure)>summary{font-size:13px}
html[data-theme="light"] :is(.fb-explainer,.am-disclosure)>summary:hover{background:var(--surface)}
html[data-theme="light"] :is(.fb-explainer,.am-disclosure)>summary>span:nth-child(2){font-size:11px}

/* Keep interactive scientific explanations legible when expanded in light mode. */
html[data-theme="light"] :is([data-explorer="foldbench"],[data-explorer="atomistic-materials"]){background:#f5f7fa;color:var(--ink);border-color:var(--line);font-family:inherit;border-radius:8px}
html[data-theme="light"] :is([data-explorer="foldbench"],[data-explorer="atomistic-materials"]) :is(h4,label){color:var(--ink)}
html[data-theme="light"] :is([data-explorer="foldbench"],[data-explorer="atomistic-materials"]) :is(p,figcaption,figcaption span){color:var(--body)}
html[data-theme="light"] :is([data-explorer="foldbench"],[data-explorer="atomistic-materials"]) :is(button,select){background:#fff;color:var(--body);border-color:#c5ccd5}
html[data-theme="light"] :is([data-explorer="foldbench"],[data-explorer="atomistic-materials"]) :is(input,button,select){accent-color:var(--accent)}
html[data-theme="light"] :is([data-explorer="foldbench"],[data-explorer="atomistic-materials"]) :is(figure,.am-panel){background:#fff;border-color:var(--line);border-radius:6px}
html[data-theme="light"] :is([data-explorer="foldbench"],[data-explorer="atomistic-materials"]) :is(.fb-contract,.am-readout,.am-flow li){background:#eaf1fb;border-color:var(--link);color:var(--body)}
html[data-theme="light"] :is([data-explorer="foldbench"],[data-explorer="atomistic-materials"]) :is(.fb-kicker,.am-eyebrow,.am-ref,.fb-mean strong,output){color:var(--link)}
html[data-theme="light"] [data-explorer="atomistic-materials"] .am-fit{color:#a76721}
html[data-theme="light"] [data-explorer="atomistic-materials"] .am-flow b{color:var(--ink)}
html[data-theme="light"] [data-explorer="atomistic-materials"] .am-flow span{color:var(--body)}
html[data-theme="light"] :is([data-explorer="foldbench"],[data-explorer="atomistic-materials"]) svg text{fill:var(--body)!important;font-family:inherit}
html[data-theme="light"] :is([data-explorer="foldbench"],[data-explorer="atomistic-materials"]) svg [stroke="#8bcbd7"]{stroke:#285c9e}
html[data-theme="light"] :is([data-explorer="foldbench"],[data-explorer="atomistic-materials"]) svg [fill="#8bcbd7"]{fill:#285c9e}
html[data-theme="light"] :is([data-explorer="foldbench"],[data-explorer="atomistic-materials"]) svg [stroke="#e6ac6a"]{stroke:#a76721}
html[data-theme="light"] :is([data-explorer="foldbench"],[data-explorer="atomistic-materials"]) svg [fill="#e6ac6a"]{fill:#c38a43}
html[data-theme="light"] [data-explorer="foldbench"] svg [fill="#14252e"]{fill:#edf1f5}
html[data-theme="light"] [data-explorer="atomistic-materials"] svg [fill="#132a32"]{fill:#edf3fc}
html[data-theme="light"] [data-explorer="foldbench"] svg :is([stroke="#dce6ec"],[stroke="#eaf4f7"]){stroke:#69717c}

/* The live homepage renderer already supports a matching light-mode shader. */
html[data-theme="light"] .home-page .lab-hero{background:#fff}
html[data-theme="light"] .lab-hero:after{background:none}
html[data-theme="light"] .lab-home .global-header .brand,html[data-theme="light"] .lab-home .global-header .global-nav a{color:var(--body)}
html[data-theme="light"] .home-page .lab-hero [data-task-goal] .build-line{color:var(--muted)}
html[data-theme="light"] .home-page .lab-hero [data-task-goal] .phrase-line{color:var(--ink);font-weight:450}
html[data-theme="light"] .home-page .lab-hero h1,html[data-theme="light"] .home-page .lab-hero h1>span:last-child{color:var(--ink)}
html[data-theme="light"] :is(.lab-hero .toward,.field-readout,.lab-scroll,.lab-scroll span,.lab-caption,.field-pause,.home-page .environment-preview:before,.experiment-number){color:var(--muted)}
html[data-theme="light"] .field-pause:hover{color:var(--link)}
html[data-theme="light"] .intro-rule{background:var(--line)}
html[data-theme="light"] .cross{color:#b7c4d3}

@media(max-width:1000px){html[data-theme="light"] body:not(.lab-home) .global-header{gap:20px}html[data-theme="light"] body:not(.lab-home) .global-header .global-nav{gap:19px}}
@media(max-width:720px){.global-header .global-nav{order:2}html[data-theme="light"] body:not(.lab-home) .global-header{min-height:0;padding:20px 0 10px;gap:10px}html[data-theme="light"] body:not(.lab-home) .global-header .global-nav{width:100%;font-size:12px;gap:18px}html[data-theme="light"] body:not(.lab-home) .global-header .brand{font-size:21px}html[data-theme="light"] :is(.fb-page,.am-page) h1{font-size:35px}html[data-theme="light"] :is(.fb-tagline,.am-tagline){font-size:22px}html[data-theme="light"] :is(.fb-breadcrumb,.am-breadcrumb){font-size:11px}html[data-theme="light"] :is(.fb-links,.am-links){font-size:12px;gap:8px}html[data-theme="light"] :is(.fb-links,.am-links) a:not([href^="#"]){padding:7px 11px}html[data-theme="light"] :is(.fb-brief,.am-brief){gap:24px}html[data-theme="light"] .fb-test-table td.fb-number{font-size:15px}html[data-theme="light"] .fb-test-table thead th{font-size:11px}html[data-theme="light"] .fb-test-table th span{font-size:10px}html[data-theme="light"] :is(.fb-explainer,.am-disclosure)>summary>span:nth-child(2){font-size:10px}html[data-theme="light"] .am-table tbody th:first-child{background:#fff}html[data-theme="light"] .am-table thead th:first-child{background:#f5f6f8}}
