/* Agathos: graphite surfaces, silver typography, ruby focus. */




body.agathos-interface{
  --paper:#111213;--surface:#1b1b1e;--soft:#212124;--rose:#2c2d32;--ink:#e8e6e6;--muted:#afa5a7;--line:#45474d;
  --wine:#b7afb0;--wine2:#d0cbcc;--accent:#b7afb0;--green:#a7c9b5;--amber:#beb6b8;--gold:#b4acad;--shadow:0 8px 24px #00000022;
  --ui-mono:Consolas,"Cascadia Code","SFMono-Regular",AgathosSans,monospace;
  background:radial-gradient(ellipse at 92% 0,#3132372b,transparent 42%),linear-gradient(#bbb4b510 1px,transparent 1px),linear-gradient(90deg,#bbb4b507 1px,transparent 1px),#111213;
  background-size:auto,100% 88px,88px 100%,auto;color:var(--ink);font-size:16px;line-height:1.8;color-scheme:dark;
}
body.agathos-interface ::selection{background:#b3abac;color:#151517}
body.agathos-interface a{color:#c0b9ba;text-underline-offset:.2em}
body.agathos-interface :is(h1,h2,h3,h4){color:#e8e6e6;letter-spacing:.03em}
body.agathos-interface :is(.eyebrow,.topbar-label,.data-status,.skill-id,.calc-step-no,.benchmark-kicker,.site-legal>span){font-family:var(--ui-mono);font-weight:400;letter-spacing:.1em}
body.agathos-interface :is(.number,.metric strong,.detail-metrics strong,.detail-extremes strong,.part>b,.character-detail-head>strong,.fact-row strong,.skill-source-timing b){font-family:var(--ui-mono);font-variant-numeric:tabular-nums;font-feature-settings:"zero" 1;letter-spacing:-.035em}
body.agathos-interface :is(.eyebrow,.topbar-label){color:#aea4a6}
body.agathos-interface .topbar{background:#151517f5;border-bottom:1px solid #554c4e;backdrop-filter:none}
body.agathos-interface .top-inner{gap:14px;min-height:74px}
body.agathos-interface .global-search{border-color:#5f5557;background:#1d1e20;border-radius:3px;height:42px;box-shadow:inset 3px 0 #b06679;color:#c0b8ba}
body.agathos-interface .global-search input{color:#e3e0e0;font-size:15px;min-height:0}
body.agathos-interface :is(.sidebar-open-trigger,.sidebar-toggle){background:#212225;color:#d3cecf;border-color:#615658;border-radius:3px}
body.agathos-interface .language-switch{border-color:#544c4d;border-radius:3px;background:#1d1e21}
body.agathos-interface .language-switch button{color:#c6c0c1;font-size:12px}
body.agathos-interface .language-switch button[aria-pressed=true]{background:#42444a;color:#e2dfdf}

body.agathos-interface .site-sidebar{background:#161719;border-color:#6e4c55;box-shadow:14px 0 45px #00000055}
body.agathos-interface .site-sidebar .brand{border-color:#4a4b52;background:#1c1c1f}
body.agathos-interface .brand-gem{fill:#b0677a33;stroke:#beb7b8;filter:none}
body.agathos-interface .site-sidebar .brand strong{color:#eae8e8}
body.agathos-interface .site-sidebar .brand small{color:#b9b1b2;font-family:var(--ui-mono);font-size:8px}
body.agathos-interface .site-sidebar .nav{border-radius:2px;color:#c4bebf;min-height:51px;font-size:15px}
body.agathos-interface .site-sidebar .nav:hover{background:#28292d;color:#ebe9e9}
body.agathos-interface .site-sidebar .nav.active{background:linear-gradient(90deg,#643c474d,#232427);border-left-color:#c2babc;color:#e7e5e5}
body.agathos-interface .nav-icon{color:#bab3b4}

body.agathos-interface .site-sidebar .agathos-nav-icon{display:block;flex:none;width:23px;height:23px;fill:none;stroke:#b8b0b1;stroke-width:1.2;stroke-linecap:square;stroke-linejoin:miter}
body.agathos-interface .nav-icon-bolt{fill:#b5acae;filter:none}
body.agathos-interface .sidebar-tail{border-color:#494a51;color:#bcb4b6}
body.agathos-interface .sidebar-tail>span{font-family:AgathosSans,sans-serif;font-size:13px;line-height:1.9;letter-spacing:.12em}
body.agathos-interface .sidebar-backdrop{background:#070808ad;backdrop-filter:none}
body.agathos-interface main{padding-top:27px}
body.agathos-interface .workspace-intro{min-height:225px;padding:30px 250px 29px 32px;gap:25px;border:1px solid #754955;border-radius:3px;background:radial-gradient(ellipse at 90% 30%,#7b3f4f29,transparent 46%),#1c1c1f;box-shadow:inset 0 1px #c5bebf0a}
body.agathos-interface .workspace-intro:before{inset:12px;border:1px solid #6b434e2b;background:none;z-index:0}
body.agathos-interface .workspace-intro:after{display:block;content:"+";position:absolute;right:14px;top:4px;color:#b7afb0;font:18px var(--ui-mono);background:transparent;inset:auto 14px auto auto;width:auto;height:auto}
body.agathos-interface .workspace-intro h1{font-size:clamp(27px,2.2vw,36px);font-weight:550;letter-spacing:.06em;margin:10px 0 10px}
body.agathos-interface .workspace-intro p{color:#bdb5b7;font-size:15px;max-width:650px}
body.agathos-interface .hero-gem{width:220px;background:none;border-left:1px dashed #804c5a77;color:#c5bfc0;gap:0;overflow:hidden}
body.agathos-interface .hero-gem>svg{display:none}

body.agathos-interface .hero-gem span{font:12px/1.7 AgathosSans,sans-serif;letter-spacing:.2em}
body.agathos-interface .hero-gem:after{height:10px;margin-top:7px;background:#9b6271}
body.agathos-interface .workflow{gap:8px;align-self:center}
body.agathos-interface .workflow button{border-color:#5f5657;background:#26272a;border-radius:2px;min-width:100px;min-height:72px;color:#dedbdb;padding:11px}
body.agathos-interface .workflow button:hover{transform:none;background:#313237;border-color:#ba7a8b}
body.agathos-interface .workflow b{border:0;border-radius:0;background:none;color:#bab3b4;font:18px var(--ui-mono)}
body.agathos-interface .workflow small{font-size:11px;color:#b2aaab}
body.agathos-interface .contact-strip{border-color:#584e50;background:#202124;color:#cbc5c6;font-size:12px}
body.agathos-interface .contact-label{color:#c5bfc0}
body.agathos-interface :is(.panel,.metric,.control-panel){position:relative;background:#1d1e20;border:1px solid #544b4d;border-radius:3px;box-shadow:var(--shadow)}
body.agathos-interface :is(.panel,.control-panel):after{content:"";position:absolute;top:-1px;right:-1px;width:13px;height:13px;border-top:1px solid #c38c9a;border-right:1px solid #c38c9a;pointer-events:none}
body.agathos-interface :is(.control-panel,.panel){padding:22px 24px}
body.agathos-interface .control-panel{border-left:3px solid #bd7f8f;background:linear-gradient(100deg,#242528,#1e1f22)}
body.agathos-interface .control-heading{border-color:#5c5354}
body.agathos-interface :is(.panel-title,.section-heading){border-color:#564d4f}
body.agathos-interface .panel-title{position:relative;border-bottom:1px solid #5f5557;border-image:none;padding-bottom:15px;margin-bottom:18px}
body.agathos-interface .panel-title:before{content:"+";width:auto;height:auto;border:0;border-radius:0;box-shadow:none;color:#c28897;font:17px var(--ui-mono);transform:none;background:none}
body.agathos-interface .panel-title h2{font-size:19px;line-height:1.6;font-weight:550}
body.agathos-interface :is(.panel-title>span,.help,.table-foot,.section-heading p,.matrix-head p){color:#b4abad;line-height:1.85}
body.agathos-interface :is(.metric,.detail-metrics>div,.detail-extremes>div){border-color:#544c4d;background:#242428;border-radius:2px}
body.agathos-interface .metric{padding:17px 20px;border-top-color:#834f5d;min-height:110px}
body.agathos-interface .metric:before{background:#c28897!important;height:1px;left:0;width:30px}
body.agathos-interface .metric strong{color:#d2cccd;font-size:27px}
body.agathos-interface .metric:first-child strong{font-family:AgathosSans,sans-serif;font-size:18px;letter-spacing:0}
body.agathos-interface :is(label,.control-heading p){color:#c4bdbe;font-size:14px}
body.agathos-interface :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){border:1px solid #695e60;border-radius:3px;background:#292a2e;color:#e7e5e5;font-size:15px;min-height:40px}
body.agathos-interface .global-search input[type=search]{min-height:0;border:0;background:transparent;box-shadow:none}
body.agathos-interface input[type=range]{min-height:20px;accent-color:#c48c9b;border:0;background:transparent}
body.agathos-interface :is(input,select,textarea):focus-visible{outline:1px solid #bbb3b4;outline-offset:2px;box-shadow:0 0 0 3px #aea4a622}
body.agathos-interface .global-search input[type=search]:focus-visible{outline:0;box-shadow:none}
body.agathos-interface #global-search{min-height:0;border:0;background:transparent;outline:0;box-shadow:none}
body.agathos-interface :is(select option,select optgroup){background:#292a2e!important;color:#e5e3e3!important}
body.agathos-interface .field-hint{font-size:12px;color:#aca3a4;line-height:1.7}
body.agathos-interface .scenario{border-color:#67474f}
body.agathos-interface .scenario summary{color:#c2bbbc;font-size:15px}
body.agathos-interface :is(.primary,.secondary,.text-button){border-radius:3px}
body.agathos-interface .primary{background:#73424f;border-color:#ad7483;color:#f0eeee;box-shadow:none}
body.agathos-interface .secondary{background:#2b2c30;border-color:#726668;color:#cdc8c9;font-size:14px}
body.agathos-interface .text-button{color:#c1b9bb}
body.agathos-interface .table-wrap{background:#1a1b1d;border:1px solid #615658;border-radius:2px;scrollbar-color:#895f6a #1c1d1f}
body.agathos-interface .table-wrap :is(th,td){border-color:#3d3e44;font-size:15px}
body.agathos-interface .table-wrap thead th{background:#2c2c31!important;color:#cac4c5!important;border-bottom:1px solid #9a606f!important;padding-block:14px;font-size:13px;font-weight:500;letter-spacing:.06em}
body.agathos-interface .table-wrap tbody tr{background:#1d1e20}
body.agathos-interface .table-wrap tbody tr:nth-child(even){background:#222326}
body.agathos-interface .table-wrap tbody tr:hover{background:#2d2e32}
body.agathos-interface .table-wrap tbody tr.selected{background:#37383d;box-shadow:inset 2px 0 #b3abac}
body.agathos-interface .table-wrap td{color:#d9d4d5;padding-block:15px}
body.agathos-interface :is(.number.strong,.part>b,.character-detail-head>strong){color:#c4bdbe}
body.agathos-interface .character-name strong{font-size:18px;color:#e8e5e6;font-weight:550}
body.agathos-interface .character-name small{color:#aba2a3;font-size:12px}
body.agathos-interface .character-portrait{border-color:#b27a89;border-radius:3px;box-shadow:0 0 0 3px #222326}
body.agathos-interface .style-chip{border-radius:2px;font-size:13px;border:1px solid #ffffff20}
body.agathos-interface .style-1{background:#35363b;color:#b1d1de}
body.agathos-interface .style-2{background:#313237;color:#b9d4b7}
body.agathos-interface .style-3{background:#333439;color:#beb6b8}
body.agathos-interface .style-4{background:#35363b;color:#c3bbbd}
body.agathos-interface :is(.tag,.pill,.matrix-verdict){background:#2d2e33;border:1px solid #716668;border-radius:2px;color:#cfcacb}
body.agathos-interface :is(.tag.good,.matrix-verdict.is-positive){background:#2d2e33;border-color:#658370;color:#c2d7b9}
body.agathos-interface :is(.tag.warn,.pill.warning,.matrix-verdict.is-caution){background:#303136;border-color:#a35469;color:#c1babb}
body.agathos-interface .character-bottom{grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);align-items:start}
body.agathos-interface .part-list{background:#1d1e20;border-radius:2px;border-color:#6d4e56}
body.agathos-interface .part-audit{border-color:#494a51}
body.agathos-interface .part-audit>summary.part{grid-template-columns:78px minmax(130px,1fr) 88px;min-height:80px;gap:6px 15px;font-size:15px;padding:16px}
body.agathos-interface .part-audit>summary.part>small{grid-column:2/-1;text-align:left;display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;font-size:12px}
body.agathos-interface .part-audit>summary.part .scenario-assumption-label{margin:0;font-size:12px}
body.agathos-interface .part-audit>summary.part>strong{font-weight:550}
body.agathos-interface :is(.part-audit>summary:hover,.part-audit[open]>summary){background:#2b2b2f}
body.agathos-interface .part-open-hint{font-size:12px;color:#b2aaab}
body.agathos-interface .skill-source-panel{background:#1d1e21;border-color:#75525b;padding:24px}
body.agathos-interface .skill-source-description{font-size:16px;color:#e4e0e1}
body.agathos-interface :is(.skill-source-caption,.skill-source-footnote,.skill-source-code dt){color:#b2aaab}
body.agathos-interface .skill-source-timing>div{background:#28292d;border-color:#5e5556;border-radius:2px}
body.agathos-interface .skill-source-timing b{font-size:18px;color:#c6c0c1}
body.agathos-interface .skill-source-effects{border-color:#615658;border-radius:2px}
body.agathos-interface .skill-source-effects thead th{background:#2c2d31;color:#cbc6c7}
body.agathos-interface .skill-source-effects :is(th,td){border-color:#414248;color:#ddd8d9}
body.agathos-interface .skill-source-code code{background:#171719;border-color:#b67284;color:#c8c1c2;font-family:var(--ui-mono);font-size:13px}
body.agathos-interface :is(.skill-scenario-conditions,.lane-source-demo){border-color:#8c485a;border-radius:2px;background:#26272a}
body.agathos-interface .skill-scenario-conditions :is(p,li,dd){font-size:14px}
body.agathos-interface :is(.scenario-assumption-label,.partial-longitudinal){color:#c2babc!important}
body.agathos-interface .scenario-assumption-label{font-size:12px}
body.agathos-interface :is(.band-button,.character-note){border-color:#5a5152}
body.agathos-interface :is(.group-line,.bar-track){background:#2d2e33;border-color:#62444c;border-radius:1px}
body.agathos-interface :is(.group-line span,.bar-fill){border-radius:0;background:linear-gradient(90deg,#a45c6f,#b7aeb0)}
body.agathos-interface :is(.skill-algorithm-viz,.composition-algorithm-viz){background:#1f2023;border-color:#64595b;border-radius:2px}
body.agathos-interface .route-panel .course-svg{background:#212225;border-color:#62585a;border-radius:2px}
body.agathos-interface .route-panel .route-key span{background:#27282c;border-color:#675c5e;color:#ddd9da;border-radius:2px}
body.agathos-interface #tab-matrix :is(.matrix-head,.main-grid .panel){border-color:#76545d;background:#212225}
body.agathos-interface #tab-matrix .matrix-head:after{background:#c38a99}
body.agathos-interface #tab-matrix .matrix-verdict{background:#2b2b2f;color:#ccc7c8;border-color:#675c5e}
body.agathos-interface #tab-matrix .number.strong{color:#c4bdbe}
body.agathos-interface #tab-data .matrix-head{background:linear-gradient(120deg,#242528,#252629 55%,#2c2c31);border-color:#726668;border-radius:3px}
body.agathos-interface #tab-data .matrix-head:after{background:linear-gradient(90deg,#bf8393,#b0a7a9,#b78290)}
body.agathos-interface #tab-data .matrix-head :is(h1,p){color:#e4e1e1}
body.agathos-interface #tab-data :is(.algorithm-chart,.formula-panel){background:#212124;border-color:#6f6466}
body.agathos-interface #tab-data :is(.algorithm-controls,.algorithm-svg){background:#292a2e;border-color:#685d5f;border-radius:2px}
body.agathos-interface #tab-data .algorithm-chart .panel-title{border-image:none;border-color:#76696c}
body.agathos-interface #tab-data .algorithm-facts{background:#26272b;border-color:#726769}
body.agathos-interface #tab-data .fact-row{background:#2f3034;border-color:#6f6365;border-radius:2px;color:#cec8c9}
body.agathos-interface #tab-data .fact-row strong{color:#d5d0d1;font-size:21px}
body.agathos-interface #tab-data .fact-row.prominent{background:#3c3d43;border-color:#b29099}
body.agathos-interface #tab-data .fact-row.prominent strong{font-size:30px;color:#d1cbcc}
body.agathos-interface #tab-data .formula-grid>div{background:#28292d;border-color:#5f5557;border-radius:2px}
body.agathos-interface #tab-data .formula-grid :is(h3,h4){color:#d1cccd}
body.agathos-interface #tab-data .formula-grid code{background:#1e1e21;color:#c8d9cc}
body.agathos-interface #tab-data .formula-viz{background:linear-gradient(90deg,#1c1d20,#26272b,#1c1d20);border-color:#665b5d}
body.agathos-interface #tab-data .formula-viz .viz-grid{stroke:#b3aaac;stroke-dasharray:1 5;stroke-opacity:.24}
body.agathos-interface #tab-data :is(.calc-flow,.calc-flow-note){background:#252629;border-color:#675c5e;border-radius:2px}
body.agathos-interface #tab-data .calc-step{border-color:#75696b;background:#2a2b2f;border-radius:2px}
body.agathos-interface #tab-data .calc-step-icon{background:transparent;border:1px solid #9f7a84;border-radius:2px;box-shadow:none;color:#bcb4b6}
body.agathos-interface #tab-data :is(.calc-step h3,.calc-flow-note strong){color:#cac3c5}
body.agathos-interface #tab-data :is(.benchmark-card,.benchmark-metric){background:#26272a;border-color:#64595b;border-radius:2px}
body.agathos-interface #tab-account :is(.account-head,.account-panel){background:#212225;border-color:#77525c;border-radius:3px}
body.agathos-interface #tab-account .account-head{background:linear-gradient(115deg,#222326,#2c2d32)}
body.agathos-interface #tab-account .account-head:after{background:#b3abac}
body.agathos-interface #tab-account .account-panel :is(input,.secondary){background:#2c2d31;border-color:#766a6c;color:#dedadb}
body.agathos-interface #tab-account .account-panel .primary{background:#784b57;border-color:#b88190;color:#efeeee}
body.agathos-interface .site-legal{color:#af8993;border-color:#6a4c54;padding-top:19px}
body.agathos-interface .site-legal:before{content:"+ ──";margin-right:12px;color:#bd7f8f;font:14px var(--ui-mono)}
@media(min-width:1500px){body.agathos-interface .workspace-intro{gap:38px}body.agathos-interface .workflow button{min-width:122px}body.agathos-interface .character-bottom{grid-template-columns:minmax(0,2.2fr) minmax(300px,1fr)}}
@media(max-width:1150px){body.agathos-interface .workspace-intro{flex-wrap:wrap;gap:18px;padding-right:230px}body.agathos-interface .workspace-intro>div:first-child{flex-basis:100%}body.agathos-interface .workflow button{min-height:55px}body.agathos-interface .topbar-label{display:none}body.agathos-interface .character-bottom{grid-template-columns:minmax(0,1fr)}}
@media(max-width:820px){body.agathos-interface{font-size:15px}body.agathos-interface .top-inner{min-height:56px;padding:9px 13px;gap:8px}body.agathos-interface .topbar{height:auto}body.agathos-interface .global-search{height:36px}body.agathos-interface .global-search input{font-size:13px}body.agathos-interface .data-status{display:none}body.agathos-interface main{padding-top:19px}body.agathos-interface .workspace-intro{min-height:0;padding:25px 180px 25px 23px}body.agathos-interface .workspace-intro h1{font-size:27px}body.agathos-interface .hero-gem{width:160px}body.agathos-interface .workspace-intro p{font-size:14px}body.agathos-interface :is(.control-panel,.panel){padding:18px}body.agathos-interface .panel-title h2{font-size:18px}}
@media(max-width:560px){body.agathos-interface .top-inner{padding:8px 10px;gap:6px}body.agathos-interface .language-switch button{font-size:10px;padding:5px 6px}body.agathos-interface .global-search{padding:0 9px;gap:5px}body.agathos-interface .global-search input{font-size:12px}body.agathos-interface .workspace-intro{display:block;padding:23px 20px 20px;border-radius:2px}body.agathos-interface .workspace-intro>div:first-child{min-width:0}body.agathos-interface .workspace-intro h1{font-size:26px;letter-spacing:.01em;max-width:100%}body.agathos-interface .workspace-intro p{font-size:14px;line-height:1.9}body.agathos-interface .hero-gem{display:none}body.agathos-interface .workflow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:22px;gap:7px}body.agathos-interface .workflow button{padding:8px 6px;min-width:0;gap:4px;min-height:60px}body.agathos-interface .workflow span{font-size:12px}body.agathos-interface .workflow small{font-size:10px}body.agathos-interface .contact-strip{font-size:11px}body.agathos-interface .panel-title{padding-bottom:12px}body.agathos-interface :is(.control-panel,.panel){padding:16px}body.agathos-interface .metric{padding:14px;min-height:103px}body.agathos-interface .metric strong{font-size:24px}body.agathos-interface .metric:first-child strong{font-size:16px}body.agathos-interface .part-audit>summary.part{grid-template-columns:58px minmax(0,1fr) 65px;padding:13px 10px;font-size:13px;gap:6px 8px}body.agathos-interface .part-open-hint{font-size:10px;gap:4px}body.agathos-interface .skill-source-panel{padding:14px}body.agathos-interface .skill-source-description{font-size:15px}body.agathos-interface .skill-scenario-conditions{padding:13px}body.agathos-interface .table-wrap :is(th,td){font-size:14px}body.agathos-interface .table-wrap thead th{font-size:12px}body.agathos-interface .character-name strong{font-size:16px}body.agathos-interface .scenario-assumption-label{font-size:12px}}
@media(prefers-reduced-motion:reduce){body.agathos-interface *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep the introductory study compact, and leave the race workspace in view. */
body.agathos-interface .workspace-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center}
body.agathos-interface .workspace-intro>div:first-child{min-width:0}
body.agathos-interface .workspace-intro:after{content:"";inset:9px 9px auto auto;transform:none;width:9px;height:9px;border:0;border-top:1px solid #c38c9a;border-right:1px solid #c38c9a;background:none}
body.agathos-interface .hero-gem:after{width:1px;height:12px}
body.agathos-interface .workflow span{font-size:13px}
@media(max-width:1350px){body.agathos-interface .workspace-intro{grid-template-columns:minmax(0,1fr);padding:24px 230px 23px 29px;gap:16px}body.agathos-interface .workflow{justify-self:start}body.agathos-interface .workflow button{min-height:54px;padding:7px 12px}body.agathos-interface .workspace-intro p{margin-bottom:10px}body.agathos-interface .contact-strip{padding-block:7px}}
@media(max-width:820px){body.agathos-interface .workspace-intro{padding:23px 176px 23px 22px}}
@media(max-width:560px){body.agathos-interface .workspace-intro{display:block;padding:23px 20px 20px}body.agathos-interface .workflow button{min-height:59px;padding:8px 5px}body.agathos-interface .workflow span{font-size:12px}}
body.agathos-interface[data-tab]:not([data-tab="race"]) .workspace-intro{display:none}
@media(min-width:561px) and (max-width:820px){body.agathos-interface .hero-gem{position:absolute;inset:0 0 0 auto;margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center;border-top:0;border-left:1px dashed #804c5a77}}

/* One visual language: measured rails, registration marks and drawn signals. */
body.agathos-interface .ui-framed{position:relative;isolation:isolate}
body.agathos-interface .ui-framed:after{display:none}
body.agathos-interface .ui-frame{position:absolute;inset:-1px;width:calc(100% + 2px);height:calc(100% + 2px);overflow:visible;pointer-events:none;fill:none;z-index:1}
body.agathos-interface .ui-frame path{vector-effect:non-scaling-stroke;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;fill:none}
body.agathos-interface .ui-frame-rail{stroke:#aa707f;opacity:.6}
body.agathos-interface .ui-frame-ticks{stroke:#b9b0b2;opacity:.7}
body.agathos-interface .ui-frame-trace{stroke:#c8c2c3;stroke-dasharray:1;stroke-dashoffset:1;opacity:.9}
body.agathos-interface .ui-entered>.ui-frame .ui-frame-trace{animation:agathos-rail-draw 1.25s cubic-bezier(.2,.65,.25,1) var(--ui-delay,0ms) both}
body.agathos-interface .ui-framed:focus-within>.ui-frame .ui-frame-rail{opacity:.95;stroke:#c7c0c1}
body.agathos-interface .panel-title{border-bottom-style:dashed;border-color:#885f6a;padding-left:4px;gap:13px}
body.agathos-interface .panel-title:before{content:"";width:9px;height:9px;border:1px solid #b1a8aa;border-radius:0;transform:rotate(45deg);flex:none;opacity:.9}
body.agathos-interface .panel-title:after{content:"";position:absolute;bottom:-1px;left:0;right:68%;height:1px;background:#bab2b3;transform-origin:left;pointer-events:none}
body.agathos-interface .ui-entered>.panel-title:after{animation:agathos-divider-draw .95s ease-out var(--ui-delay,0ms) both}
body.agathos-interface .panel-title h2{letter-spacing:.06em}
body.agathos-interface .section-heading .eyebrow:before,
body.agathos-interface .matrix-head .eyebrow:before,
body.agathos-interface .workspace-intro .eyebrow:before{content:"[ ";color:#b67687}
body.agathos-interface .section-heading .eyebrow:after,
body.agathos-interface .matrix-head .eyebrow:after,
body.agathos-interface .workspace-intro .eyebrow:after{content:" ]";color:#b67687}
body.agathos-interface .topbar:after{content:"";position:absolute;left:30px;right:30px;bottom:-1px;height:1px;background:linear-gradient(90deg,#bab1b3 0 5%,transparent 5% 8%,#b27081 8% 14%,transparent 14% 91%,#be8191 91% 100%);pointer-events:none}
body.agathos-interface .site-sidebar .nav{position:relative;transition:color .18s,background-color .18s}
body.agathos-interface .site-sidebar .nav:after{content:"";position:absolute;right:10px;top:50%;width:15px;height:5px;border-top:1px solid #b8afb1;border-right:1px solid #b8afb1;transform:translate(-7px,-50%);opacity:0;transition:transform .24s,opacity .24s}
body.agathos-interface .site-sidebar .nav:hover:after,
body.agathos-interface .site-sidebar .nav:focus-visible:after,
body.agathos-interface .site-sidebar .nav.active:after{transform:translate(0,-50%);opacity:.9}
body.agathos-interface .workflow button{position:relative;overflow:hidden;transition:border-color .2s,background-color .2s}
body.agathos-interface .workflow button:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background:#b9b0b2;transform:scaleX(.13);transform-origin:left;transition:transform .35s}
body.agathos-interface .workflow button:hover:after,
body.agathos-interface .workflow button:focus-visible:after{transform:scaleX(1)}
body.agathos-interface .hero-gem{background:radial-gradient(ellipse at 50% 45%,#994f621a,transparent 65%)}

body.agathos-interface .ui-ink-path{stroke-dasharray:1;stroke-dashoffset:0;animation:agathos-signal-draw 1.2s cubic-bezier(.2,.65,.25,1) both}
body.agathos-interface #tab-data .calc-flow-track{background:repeating-linear-gradient(90deg,#afa6a8 0 5px,transparent 5px 9px);height:1px;opacity:.65}
body.agathos-interface #tab-data .calc-arrow{font-family:var(--ui-mono);color:#b2a9ab;font-size:23px}
body.agathos-interface #tab-data .calc-step{box-shadow:none;border-left:2px solid #9c6f7b;transition:border-color .2s,background-color .2s}
body.agathos-interface #tab-data .calc-step:hover{border-color:#b6aeaf;background:#2f3034}
body.agathos-interface #tab-data .calc-step-no{font-size:12px;color:#c6bfc0}
body.agathos-interface .ui-entered .calc-flow .calc-step{animation:agathos-node-pass 1.1s ease-out var(--signal-delay,0ms) both}
body.agathos-interface .ui-entered .calc-flow .calc-arrow{animation:agathos-link-pass .9s ease-out var(--signal-delay,0ms) both}
body.agathos-interface #tab-data .formula-grid>div{position:relative;border-top:1px solid #a2717e}
body.agathos-interface #tab-data .formula-grid>div>small{display:flex;align-items:center;gap:12px;font:12px/1.7 var(--ui-mono);color:#bfb7b9;letter-spacing:.04em}
body.agathos-interface #tab-data .formula-grid>div>small:after{content:"";height:1px;flex:1;background:repeating-linear-gradient(90deg,#906570 0 2px,transparent 2px 7px)}
body.agathos-interface #tab-data .formula-viz{border-top:0;border-bottom:1px dotted #706466}
body.agathos-interface .skill-source-panel{position:relative;isolation:isolate}
body.agathos-interface details[open]>.skill-source-panel{animation:agathos-detail-reveal .32s ease-out both}
body.agathos-interface .skill-source-code code{border-left-width:1px;border-top:1px dotted #6f5058;padding:11px 13px}
body.agathos-interface .skill-source-branch-head strong:before{content:"[ ";font-family:var(--ui-mono);color:#a77280}
body.agathos-interface .skill-source-branch-head strong:after{content:" ]";font-family:var(--ui-mono);color:#a77280}
body.agathos-interface .ui-compute-line{position:absolute;bottom:0;left:0;right:0;height:2px;pointer-events:none;opacity:0;overflow:hidden;z-index:2;transition:opacity .2s}
body.agathos-interface .ui-working>.ui-compute-line{opacity:1;background:#b36b7e22}
body.agathos-interface .ui-compute-line i{display:block;height:100%;width:24%;background:linear-gradient(90deg,transparent,#bab3b4,#c8c2c3);transform:translateX(-100%)}
body.agathos-interface .ui-working:not(.ui-work-known)>.ui-compute-line i{animation:agathos-work-signal 1.25s linear infinite}
body.agathos-interface .ui-working.ui-work-known>.ui-compute-line i{width:var(--work-progress,0%);transform:none;transition:width .22s linear}
body.agathos-interface.ui-backgrounded *{animation-play-state:paused!important}
@keyframes agathos-rail-draw{0%{stroke-dashoffset:1;opacity:.25}75%{opacity:1}100%{stroke-dashoffset:0;opacity:.8}}
@keyframes agathos-divider-draw{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes agathos-signal-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes agathos-detail-reveal{from{opacity:.55;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@keyframes agathos-work-signal{from{transform:translateX(-100%)}to{transform:translateX(520%)}}
@keyframes agathos-node-pass{0%,100%{box-shadow:none}40%{border-color:#c1b9bb;box-shadow:inset 0 1px #c8c2c3,0 0 12px #bb7a8b14}}
@keyframes agathos-link-pass{0%,100%{color:#b28994}40%{color:#cfc9ca;text-shadow:0 0 6px #b1697c}}
@media(max-width:820px){body.agathos-interface .topbar:after{left:13px;right:13px}}
@media(prefers-reduced-motion:reduce){
  body.agathos-interface .ui-frame-trace,body.agathos-interface .ui-ink-path{stroke-dashoffset:0!important}
  body.agathos-interface .ui-working:not(.ui-work-known)>.ui-compute-line i{transform:none;width:100%;opacity:.55}
}

/* The opening is composed as a single room, without nested decorative cards. */
body.agathos-interface{--paper:#101114;--surface:#191b20;--soft:#22232a;--rose:#302129;--ink:#ece9e5;--muted:#a8a5ad;--line:#3c3a43;--wine:#dfa1b2;--wine2:#edc2cf;--accent:#bd637d;--gold:#c5b9bf;--shadow:none;background:radial-gradient(ellipse at 87% 0,#74253f12,transparent 40%),#101114}
body.agathos-interface .topbar{height:auto;background:#121317;border-color:#36343d}
body.agathos-interface .topbar:after{display:none}
body.agathos-interface .top-inner{min-height:76px;gap:22px;padding:0 clamp(20px,3vw,54px)}
body.agathos-interface .top-signature{display:flex;align-items:center;gap:11px;flex:none;padding-right:24px;border-right:1px solid #41353f}
body.agathos-interface .top-signature svg{width:22px;height:34px;fill:#9c364b16;stroke:#cc7c92;stroke-width:1}
body.agathos-interface .top-signature span{font:400 19px/1 Georgia,"Times New Roman",serif;letter-spacing:.16em;color:#e4dde0}
body.agathos-interface .global-search{height:38px;max-width:560px;margin-left:auto;padding:0 6px;border:0;border-bottom:1px solid #48404b;background:transparent;border-radius:0;box-shadow:none;color:#b68494}
body.agathos-interface #global-search{font-size:14px;color:#e4e1e5;background:transparent}
body.agathos-interface .topbar-label{display:none}
body.agathos-interface .data-status{font-size:10px;letter-spacing:.02em;color:#9a8c9c}
body.agathos-interface .language-switch{background:transparent;border:0;border-left:1px solid #453646;padding-left:13px;border-radius:0;gap:4px}
body.agathos-interface .language-switch button{background:transparent;color:#b3a5b7;border-radius:1px;padding:5px 8px;font-size:11px}
body.agathos-interface .language-switch button[aria-pressed=true]{background:#3b2433;color:#f1ccd7}
body.agathos-interface .sidebar-open-trigger{background:transparent;border-color:#51414d;box-shadow:none}
body.agathos-interface main{padding:0 clamp(20px,3vw,54px) 70px}
body.agathos-interface .workspace-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,.66fr);gap:0 25px;align-items:center;min-height:0;margin:0 0 28px;padding:36px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden}
body.agathos-interface .workspace-intro:before,body.agathos-interface .workspace-intro:after{display:none}
body.agathos-interface .workspace-intro>div:first-child{min-width:0;flex-basis:auto}
body.agathos-interface .intro-copy{padding:12px 0 27px;z-index:1}
body.agathos-interface .intro-copy>.eyebrow{display:flex;align-items:center;gap:16px;color:#ac95a6;font-size:10px;letter-spacing:.23em;margin:0 0 17px}
body.agathos-interface .intro-copy>.eyebrow:before{content:"";width:28px;height:1px;background:#bf657c}
body.agathos-interface .intro-copy>.eyebrow:after{display:none}
body.agathos-interface .intro-wordmark{display:flex;align-items:center;gap:23px;font:400 clamp(52px,5.3vw,83px)/1.06 Georgia,"Times New Roman",serif;letter-spacing:.075em;color:#ede9e4;margin-left:-3px}
body.agathos-interface .intro-wordmark>span{font-size:19px;color:#ae526b;font-family:Georgia,serif;font-weight:400}
body.agathos-interface .workspace-intro h1{font-size:22px;letter-spacing:.15em;line-height:1.5;font-weight:450;margin:18px 0 11px;color:#d5ced4}
body.agathos-interface .workspace-intro p{font-size:14px;line-height:1.9;max-width:620px;color:#afa6b2;margin:0}
body.agathos-interface .hero-gem{position:relative;inset:auto;display:block;width:100%;height:263px;margin:0;padding:0;background:transparent;border:0;overflow:visible;color:#c19baa}
body.agathos-interface .hero-gem:after{display:none}
body.agathos-interface .hero-gem .gem-constellation{display:block;width:100%;height:100%;fill:none;stroke:none;filter:none;overflow:visible}
body.agathos-interface .hero-gem>span{position:absolute;right:0;top:45%;font:11px/2 AgathosSans,sans-serif;letter-spacing:.26em;color:#bca0ad;text-align:center}
body.agathos-interface .constellation-guides{stroke:#8e737f;stroke-width:.55;opacity:.28;fill:none}
body.agathos-interface .constellation-guides>ellipse{stroke-dasharray:1 7}
body.agathos-interface .gem-orbits{fill:none;stroke:#a3526d;stroke-width:.65;opacity:.62}
body.agathos-interface .gem-orbits>path{stroke:#b8abb4;stroke-dasharray:2 7;opacity:.36}
body.agathos-interface .gem-facets{fill:none;stroke:#cf7e94;stroke-width:.8;stroke-dasharray:1;stroke-dashoffset:0;animation:agathos-signal-draw 2s cubic-bezier(.22,.7,.25,1) both}
body.agathos-interface .satellite-gems{stroke:#c1778d;stroke-width:.7;fill:#7c2d442b;transition:transform .7s ease}
body.agathos-interface .gem-stars{stroke:#c59cab;stroke-width:.65;fill:#b37087}
body.agathos-interface .gem-coordinates{font:8px var(--ui-mono);letter-spacing:2px;fill:#987f8c;stroke:none}
body.agathos-interface .gem-body{transform-origin:286px 150px;animation:agathos-gem-settle 1.7s ease-out both}
body.agathos-interface .hero-gem:hover .satellite-gems{transform:translateY(-4px)}
body.agathos-interface .intro-bottom{grid-column:1/-1;display:grid;grid-template-columns:minmax(470px,1.2fr) minmax(290px,1fr);align-items:center;gap:30px;border-block:1px solid #4b3547;padding:0;background:transparent}
body.agathos-interface .workflow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:none;padding:0;border-radius:0;max-width:none;margin:0}
body.agathos-interface .workflow button{position:relative;display:flex;align-items:center;gap:14px;text-align:left;padding:18px 18px 18px 0;min-width:0;min-height:83px;border:0;border-right:1px solid #3b303d;border-radius:0;background:transparent;box-shadow:none;color:#e4dce2;overflow:hidden;transition:color .2s}
body.agathos-interface .workflow button+button{padding-left:22px}
body.agathos-interface .workflow button:last-child{border-right:0}
body.agathos-interface .workflow button:hover{background:transparent;transform:none;color:#f5dce4}
body.agathos-interface .workflow button:after{left:0;right:17px;width:auto;transform:scaleX(0);background:#d08c9f}
body.agathos-interface .workflow button:hover:after,body.agathos-interface .workflow button:focus-visible:after{transform:scaleX(1)}
body.agathos-interface .workflow b{display:block;background:none;border:0;width:auto;height:auto;color:#ad788b;border-radius:0;font:12px var(--ui-mono);font-weight:400}
body.agathos-interface .workflow span{font-size:14px;font-weight:500;line-height:1.6}
body.agathos-interface .workflow small{display:block;font-size:10px;color:#ab9baf;font-weight:400;margin-top:2px}
body.agathos-interface .workflow i{font:16px Georgia,serif;color:#b38e9e;margin-left:auto}
body.agathos-interface .contact-strip{margin:0;padding:13px 0;display:flex;align-items:center;gap:2px 15px;flex-wrap:wrap;font-size:10px;line-height:1.8;border:0;background:transparent;color:#ae9cb1;border-radius:0}
body.agathos-interface .contact-label{flex-basis:100%;color:#bfa9b6;font-size:10px}
body.agathos-interface .control-panel{background:#1d1c23;border-color:#443b49;border-left:2px solid #a65c7b}
body.agathos-interface :is(.panel,.metric){background:#1b1c22;border-color:#3c3b45;box-shadow:none}
body.agathos-interface .panel-title{border-bottom:1px solid #4a3c4e}
body.agathos-interface .panel-title h2{font-weight:500}
body.agathos-interface .metric{border:0;border-left:1px solid #5c3f54;background:#1d1b24}
body.agathos-interface .metric:before{width:4px!important;height:4px;left:-3px;top:19px;background:#bf8198!important;transform:rotate(45deg);border:0;border-radius:0}
body.agathos-interface .metric strong{color:#ecdee7;font-weight:450}
body.agathos-interface .ui-frame-rail{opacity:.34;stroke:#9b718d}
body.agathos-interface .ui-frame-ticks{opacity:.4;stroke:#c99bb9}
body.agathos-interface .ui-frame-trace{stroke:#d4acc9;opacity:.65}
body.agathos-interface .table-wrap thead th{background:#302634!important;color:#dfcadb!important;border-bottom-color:#78516c!important}
body.agathos-interface .table-wrap tbody tr{background:#1a191f}
body.agathos-interface .table-wrap tbody tr:nth-child(even){background:#222029}
body.agathos-interface .table-wrap tbody tr:hover{background:#332738}
body.agathos-interface .table-wrap tbody tr.selected{background:#402a3c;box-shadow:inset 2px 0 #cc8eb0}
body.agathos-interface .table-wrap td{border-color:#3a303f}
body.agathos-interface #tab-data .matrix-head{background:linear-gradient(110deg,#1c2027,#252128);border-color:#49414d}
body.agathos-interface #tab-data :is(.algorithm-chart,.formula-panel){background:#1c1f25;border-color:#44434e}
body.agathos-interface #tab-data :is(.algorithm-svg,.algorithm-controls){background:#22252e;border-color:#4d4958}
body.agathos-interface #tab-data .formula-grid>div{background:#24232b;border-color:#514756}
body.agathos-interface #tab-data .formula-viz{background:#1d2028;border-color:#53465b}
body.agathos-interface #tab-data .formula-grid code{background:#1b1c24;color:#b8d0c9}
body.agathos-interface #tab-data .algorithm-facts{background:#1f282a;border-color:#4c6261}
body.agathos-interface #tab-data .fact-row{background:#283234;border-color:#4b6261;color:#a9c3bc}
body.agathos-interface #tab-data .fact-row strong{font-size:19px;color:#d4e1db;overflow-wrap:normal;word-break:normal}
body.agathos-interface #tab-data .fact-row.prominent{background:#31423f;border-color:#7b9c8d}
body.agathos-interface #tab-data .fact-row.prominent strong{font-size:30px;color:#d7e8d9}
body.agathos-interface #tab-account :is(.account-head,.account-panel){background:#201e25;border-color:#514151}
body.agathos-interface #tab-account .account-head{background:linear-gradient(110deg,#211e25,#2a222c)}
body.agathos-interface #tab-characters .number.strong{color:#e2b4c5}
body.agathos-interface :is(.section-heading h1,.matrix-head h1){font-weight:500}
body.agathos-interface[data-tab]:not([data-tab="race"]) main{padding-top:24px}
body.agathos-interface .control-heading h2{font-weight:500}
body.agathos-interface .control-heading p{font-size:12px;color:#ac9eae}
body.agathos-interface .metric{background:#1c1c23}
body.agathos-interface .metric span,body.agathos-interface .metric small{color:#aaa0af}
body.agathos-interface .brand-gem{stroke:#c97894;fill:#8e2b4922}
body.agathos-interface .site-sidebar .agathos-nav-icon{stroke:#bf92ab}
body.agathos-interface .site-sidebar .nav.active{background:linear-gradient(90deg,#68304c55,transparent);border-left-color:#cd8da7;color:#f0dae8}
body.agathos-interface .gem-facets{stroke:#d4798e}
body.agathos-interface .gem-orbits>ellipse{animation:agathos-orbit-reveal 1.8s ease-out both}
@keyframes agathos-orbit-reveal{from{opacity:0}to{opacity:1}}
@keyframes agathos-gem-settle{from{opacity:.1;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1650px){body.agathos-interface .workspace-intro{grid-template-columns:minmax(0,1fr) minmax(400px,.7fr);padding-top:42px}body.agathos-interface .hero-gem{height:280px}body.agathos-interface .intro-wordmark{font-size:86px}body.agathos-interface .intro-copy{padding-bottom:35px}body.agathos-interface .intro-bottom{grid-template-columns:minmax(590px,1fr) minmax(400px,.7fr)}}
@media(max-width:1150px){body.agathos-interface .data-status{display:none}body.agathos-interface .top-inner{gap:17px}body.agathos-interface .intro-bottom{grid-template-columns:minmax(400px,1.3fr) minmax(210px,1fr);gap:22px}body.agathos-interface .hero-gem>span{right:-7px;font-size:10px}body.agathos-interface .intro-wordmark{font-size:61px}body.agathos-interface .workspace-intro h1{font-size:21px}}
@media(max-width:820px){body.agathos-interface .top-inner{min-height:62px;padding:0 20px;gap:13px}body.agathos-interface .top-signature{padding-right:15px;gap:8px}body.agathos-interface .top-signature span{font-size:16px}body.agathos-interface .top-signature svg{width:18px;height:28px}body.agathos-interface main{padding:0 20px 50px}body.agathos-interface .workspace-intro{grid-template-columns:minmax(0,1fr) 230px;padding-top:26px;margin-bottom:23px;gap:0}body.agathos-interface .intro-copy{padding:12px 0 23px}body.agathos-interface .intro-wordmark{font-size:48px;gap:14px}body.agathos-interface .workspace-intro h1{font-size:19px;letter-spacing:.07em}body.agathos-interface .workspace-intro p{font-size:13px}body.agathos-interface .hero-gem{position:relative;inset:auto;height:220px;width:100%;border:0;background:none}body.agathos-interface .hero-gem>span{display:none}body.agathos-interface .intro-bottom{grid-template-columns:1fr;gap:0}body.agathos-interface .contact-strip{border-top:1px solid #403140;padding:9px 0;gap:3px 15px}body.agathos-interface .contact-label{flex-basis:auto}body.agathos-interface .workflow button{min-height:76px}body.agathos-interface .language-switch{padding-left:8px}body.agathos-interface .language-switch button{padding:5px;font-size:10px}}
@media(max-width:560px){body.agathos-interface .top-inner{padding:0 14px;gap:9px;min-height:58px}body.agathos-interface .top-signature{padding-right:0;border:0}body.agathos-interface .top-signature span{display:none}body.agathos-interface .top-signature svg{width:16px;height:26px}body.agathos-interface .sidebar-open-trigger{width:31px;height:32px}body.agathos-interface .global-search{height:32px;padding:0 2px;gap:4px}body.agathos-interface #global-search{font-size:12px;height:30px}body.agathos-interface .language-switch{border:0;padding:0;gap:1px}body.agathos-interface .language-switch button{padding:5px 4px;font-size:10px}body.agathos-interface main{padding:0 16px 45px}body.agathos-interface .workspace-intro{display:block;padding:24px 0 0;overflow:hidden}body.agathos-interface .intro-copy{position:relative;padding:9px 0 22px;z-index:1}body.agathos-interface .intro-copy>.eyebrow{font-size:8px;letter-spacing:.16em;gap:11px;margin-bottom:19px}body.agathos-interface .intro-copy>.eyebrow:before{width:18px}body.agathos-interface .intro-wordmark{font-size:clamp(40px,10vw,57px);letter-spacing:.065em;gap:14px}body.agathos-interface .intro-wordmark>span{font-size:14px}body.agathos-interface .workspace-intro h1{font-size:20px;letter-spacing:.04em;margin:19px 0 10px}body.agathos-interface .workspace-intro p{font-size:13px;line-height:1.9;max-width:90%}body.agathos-interface .hero-gem{display:block;position:absolute;right:-140px;top:-4px;width:340px;height:260px;opacity:.24;pointer-events:none;z-index:0}body.agathos-interface .intro-bottom{position:relative;display:block;z-index:1;margin:0}body.agathos-interface .workflow{margin:0;gap:0}body.agathos-interface .workflow button{padding:13px 10px 13px 0;gap:9px;min-height:75px}body.agathos-interface .workflow button+button{padding-left:12px}body.agathos-interface .workflow span{font-size:12px}body.agathos-interface .workflow small{font-size:9px}body.agathos-interface .workflow b{font-size:10px}body.agathos-interface .workflow i{display:none}body.agathos-interface .contact-strip{font-size:9px;gap:1px 12px;padding:10px 0}body.agathos-interface .contact-label{font-size:9px;flex-basis:100%}}
@media(prefers-reduced-motion:reduce){body.agathos-interface *,body.agathos-interface *:before,body.agathos-interface *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}body.agathos-interface .gem-facets{stroke-dashoffset:0!important}}
@media(max-width:560px){body.agathos-interface .control-heading p{max-width:120px;font-size:10px;line-height:1.7}body.agathos-interface .control-heading h2{font-size:18px}body.agathos-interface[data-tab]:not([data-tab="race"]) main{padding-top:16px}}

/* One continuous course workspace: the source diagram and its evidence share width. */
body.agathos-interface .race-workspace{padding:24px 28px;overflow:hidden}
body.agathos-interface .race-workspace .route-panel{min-height:0;padding:0 0 24px}
body.agathos-interface .race-workspace .detail-panel{min-height:0;border:0;border-top:1px solid #51424b;border-radius:0;padding:25px 0 0;margin:0;background:none;box-shadow:none}
body.agathos-interface .race-workspace .panel-title h2{font-size:21px}
body.agathos-interface .race-workspace .panel-title>span{font-size:15px}
body.agathos-interface .race-workspace .course-svg{margin:0;width:100%}
body.agathos-interface .race-workspace .route-key{font-size:15px;gap:12px 24px;margin-top:16px}
body.agathos-interface .race-workspace #skill-detail{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:20px 32px;align-items:start}
body.agathos-interface .race-workspace .skill-detail-facts{min-width:0}
body.agathos-interface .race-workspace .skill-algorithm-viz{width:100%;min-width:0;margin:0;padding:19px 20px;align-self:start}
body.agathos-interface .race-workspace .detail-header h3{font-size:23px;line-height:1.5}
body.agathos-interface .race-workspace .skill-id{font-size:13px}
body.agathos-interface .race-workspace .pill{font-size:14px;line-height:1.5;padding:7px 10px}
body.agathos-interface .race-workspace .detail-metrics{margin:16px 0 12px;gap:12px}
body.agathos-interface .race-workspace .detail-metrics strong{font-size:23px}
body.agathos-interface .race-workspace .detail-metrics span,body.agathos-interface .race-workspace .detail-extremes span{font-size:14px;line-height:1.6}
body.agathos-interface .race-workspace .detail-extremes strong{font-size:17px}
body.agathos-interface .race-workspace .description{font-size:17px;line-height:1.9;margin:17px 0 0}
body.agathos-interface .race-workspace .detail-note{grid-column:1/-1;font-size:15px;line-height:1.9;margin:0}
body.agathos-interface .race-workspace .detail-note p{margin:8px 0}
body.agathos-interface .race-workspace details.detail-note{padding-top:16px;border-top:1px solid #3f3940}
body.agathos-interface .race-workspace details.detail-note>summary{font-size:16px}
@media(min-width:1700px){body.agathos-interface .race-workspace #skill-detail{gap:24px 46px}body.agathos-interface .race-workspace .description{font-size:18px}}
@media(max-width:1000px){body.agathos-interface .race-workspace #skill-detail{grid-template-columns:1fr}body.agathos-interface .race-workspace .skill-algorithm-viz{max-width:720px}body.agathos-interface .race-workspace .detail-note{grid-column:auto}}
@media(max-width:560px){body.agathos-interface .race-workspace{padding:18px 14px}body.agathos-interface .race-workspace .panel-title{align-items:flex-start;flex-wrap:wrap}body.agathos-interface .race-workspace .panel-title h2{font-size:18px}body.agathos-interface .race-workspace .panel-title>span{font-size:13px}body.agathos-interface .race-workspace .route-key{font-size:13px;gap:9px 15px}body.agathos-interface .race-workspace .detail-header h3{font-size:20px}body.agathos-interface .race-workspace .detail-metrics{gap:7px}body.agathos-interface .race-workspace .detail-metrics strong{font-size:20px}body.agathos-interface .race-workspace .detail-metrics span,body.agathos-interface .race-workspace .detail-extremes span{font-size:12px}body.agathos-interface .race-workspace .pill{font-size:12px;padding:5px 7px}body.agathos-interface .race-workspace .description{font-size:16px}body.agathos-interface .race-workspace .skill-algorithm-viz{padding:14px 10px}}

/* Deliberate structure in the margins; data surfaces remain quiet. */
body.agathos-interface{background-image:radial-gradient(ellipse at 92% 0,#4c2e3a35,transparent 43%),linear-gradient(90deg,transparent 35px,#c4b4bd18 35px,#c4b4bd18 36px,transparent 36px,transparent calc(100% - 36px),#c4b4bd18 calc(100% - 36px),#c4b4bd18 calc(100% - 35px),transparent calc(100% - 35px)),repeating-linear-gradient(0deg,transparent 0,transparent 127px,#bdb6bf09 127px,#bdb6bf09 128px),repeating-linear-gradient(90deg,transparent 0,transparent 127px,#bdb6bf07 127px,#bdb6bf07 128px);background-size:auto,auto,128px 128px,128px 128px}
body.agathos-interface main{position:relative}
body.agathos-interface .workspace-intro:after{content:"";position:absolute;left:0;right:0;bottom:-13px;height:6px;pointer-events:none;background:linear-gradient(90deg,#b27d8c 0 44px,transparent 44px calc(50% - 3px),#b27d8c calc(50% - 3px) calc(50% + 3px),transparent calc(50% + 3px) calc(100% - 44px),#b27d8c calc(100% - 44px));opacity:.55;clip-path:polygon(0 40%,49.6% 40%,50% 0,50.4% 40%,100% 40%,100% 60%,50.4% 60%,50% 100%,49.6% 60%,0 60%)}
body.agathos-interface .section-heading{position:relative;border-bottom:1px solid #6c53604d;padding-bottom:21px;margin-bottom:23px}
body.agathos-interface .section-heading:after{content:"";position:absolute;left:0;bottom:-1px;width:85px;height:1px;background:#c090a0;box-shadow:100px 0 #5a4f58}
body.agathos-interface .panel{background-image:linear-gradient(90deg,#bbb3bb08 1px,transparent 1px);background-size:calc(100% - 46px) 100%;background-position:23px 0}
body.agathos-interface .panel-title{position:relative}
body.agathos-interface .panel-title:after{content:"";position:absolute;right:0;bottom:-1px;width:36px;height:4px;border-right:1px solid #a07c89;border-bottom:1px solid #a07c89;pointer-events:none}
body.agathos-interface .ui-frame-rail{stroke:#b098a550;stroke-width:.09}
body.agathos-interface .ui-frame-ticks{stroke:#c9b5bf80;stroke-width:.14}
body.agathos-interface .style-chip.style-1{color:#1882e7!important}
body.agathos-interface .style-chip.style-2{color:#31be1d!important}
body.agathos-interface .style-chip.style-3{color:#f7ba00!important}
body.agathos-interface .style-chip.style-4{color:#e77926!important}
body.agathos-interface .semantic-label{font-weight:600}
@media(max-width:560px){body.agathos-interface{background-size:auto,auto,96px 96px,96px 96px}body.agathos-interface .panel{background-image:none}body.agathos-interface .section-heading{padding-bottom:15px;margin-bottom:17px}}

body.agathos-interface .race-workspace .route-panel{background:none;box-shadow:none;border:0}
@media(max-width:760px){body.agathos-interface .race-workspace .course-svg{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-color:#a07c89 #202124}body.agathos-interface .race-workspace .course-svg svg{width:760px;min-width:760px;max-width:none}body.agathos-interface .race-workspace .route-panel:after{content:"窄屏可横向滑动查看赛道";display:block;color:#b5aab0;font-size:12px;margin-top:8px}}

/* CONTINUUM — a woven surface, a suspended ruby, and a quiet reading plane. */
body.agathos-interface.continuum-interface{position:relative;min-height:100vh;background:#121116;color:#e8e7e4;--paper:#121116;--surface:#1b1b20;--line:#444047;--soft:#232127;--muted:#aaa5ad;isolation:isolate}
/* One long engraving follows the document, never the viewport or a tile grid. */
.continuum-backdrop{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:linear-gradient(180deg,#13121700,#13121700 80%,#151318)}
.continuum-backdrop>picture{display:block;position:absolute;inset:0;overflow:hidden}
.continuum-backdrop img{display:block;width:100%;height:auto;max-width:none;opacity:1;user-select:none;pointer-events:none}
.continuum-backdrop:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#12111618,transparent 13%,transparent 87%,#12111618);pointer-events:none}
body.continuum-interface main{max-width:1920px;margin:auto}
body.continuum-interface .workspace-intro{position:relative;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr);align-items:center;gap:0 30px;min-height:360px;margin:0 0 30px;padding:18px 0 0;border:0;border-radius:0;overflow:visible;background:none;box-shadow:none}
body.continuum-interface .workspace-intro:before,body.continuum-interface .workspace-intro:after{display:none}
body.continuum-interface .intro-copy{position:relative;padding:26px 0 31px;z-index:1}
body.continuum-interface .intro-copy>.eyebrow{color:#c1a7af;letter-spacing:.23em;font-size:10px;margin-bottom:26px}
body.continuum-interface .intro-copy>.eyebrow:before{width:29px;background:#c27c92}
body.continuum-interface .intro-wordmark{font-family:Georgia,'Times New Roman',serif;font-size:clamp(60px,5.9vw,100px);line-height:1.03;font-weight:400;letter-spacing:.065em;gap:20px;color:#efede8}
body.continuum-interface .intro-wordmark>span{color:#ca8096;font-size:22px;font-weight:400}
body.continuum-interface .workspace-intro h1{font-size:24px;font-weight:450;letter-spacing:.16em;margin:26px 0 13px;color:#d3d7d9}
body.continuum-interface .workspace-intro p{max-width:460px;font-size:15px;line-height:1.95;color:#9da8b0}
body.continuum-interface .hero-gem{position:relative;inset:auto;display:block;width:100%;height:340px;min-width:0;border:0;overflow:visible;background:none;opacity:1;pointer-events:auto;z-index:0;box-shadow:none}
body.continuum-interface .hero-gem:before,body.continuum-interface .hero-gem:after{display:none}
body.continuum-interface .hero-gem>.continuum-sculpture{position:relative;display:block;width:100%;height:100%;max-width:none;overflow:visible;transform:none;fill:none}
body.continuum-interface .hero-gem>.continuum-sculpture>ellipse{stroke:none!important}
.continuum-strand,.continuum-cross{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.continuum-strand{stroke:#c7b8bf;stroke-width:.65;stroke-opacity:.44;stroke-dasharray:1;stroke-dashoffset:0;animation:continuum-ink 2.5s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--strand-delay)}
.continuum-strand:nth-child(4n){stroke:#9c6072;stroke-opacity:.65}
.continuum-strand:first-child,.continuum-strand:nth-child(33){stroke:#e8d5da;stroke-width:1.05;stroke-opacity:.8}
.continuum-cross{stroke:#9ba8b2;stroke-width:.52;stroke-opacity:.18;animation:continuum-mesh 2.2s ease both;animation-delay:.7s}
.continuum-ruby{animation:continuum-crystallize 2.7s ease both;transform-box:fill-box;transform-origin:50% 50%}
.continuum-seeds{stroke:#c28c9e;fill:#d9b4bf;stroke-width:.7;animation:continuum-seed 2.8s ease both}
.continuum-seeds .continuum-satellite{fill:#8e344b16;stroke:#c08b9b;stroke-width:.8}
body.continuum-interface .hero-gem>span{display:block;position:absolute;right:0;top:auto;bottom:36px;margin:0;padding:0;font-size:11px;line-height:2;letter-spacing:.25em;color:#b9a5ae;writing-mode:vertical-rl;text-orientation:upright}
body.continuum-interface .intro-bottom{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.95fr);gap:32px;position:relative;margin:7px 0 0;border-top:1px solid #3b444d;border-bottom:1px solid #303840;background:linear-gradient(100deg,#20232944,transparent 75%)}
body.continuum-interface .intro-bottom:before{content:"";position:absolute;top:-3px;left:0;width:42px;height:5px;background:#a56c7e;clip-path:polygon(0 0,36px 0,42px 5px,0 5px)}
body.continuum-interface .workflow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:auto;margin:0;gap:0;border:0}
body.continuum-interface .workflow button{position:relative;min-height:87px;border:0;border-right:1px solid #39424a;background:none;padding:16px 18px;gap:14px;transition:background .25s}
body.continuum-interface .workflow button:first-child{padding-left:8px}
body.continuum-interface .workflow button:hover{background:#62646b10}
body.continuum-interface .workflow button:after{height:1px;bottom:0;left:8px;right:18px;background:#c68c9e;transform-origin:left}
body.continuum-interface .workflow span{font-size:15px;color:#d2d6d8}
body.continuum-interface .workflow small{font-size:11px;color:#87949e}
body.continuum-interface .workflow b{font-size:11px;color:#c17c93}
body.continuum-interface .workflow i{color:#9faeb7}
body.continuum-interface .contact-strip{padding:14px 0;background:none;color:#9ba3ac;gap:2px 18px;font-size:11px}
body.continuum-interface .contact-label{font-size:11px;color:#a4a9af}
body.continuum-interface .topbar{background:#0e1215eb;border-color:#313a42;backdrop-filter:blur(12px)}
body.continuum-interface :is(.panel,.control-panel,.metric){background-color:#171b20;border-color:#384149;background-image:none;box-shadow:0 10px 25px #0000000d}
body.continuum-interface :is(.panel,.control-panel):after{display:none}
body.continuum-interface .control-panel{border-left:1px solid #a06e81;background:linear-gradient(110deg,#1e2027e6,#151a1fe8)}
body.continuum-interface .control-heading{border-color:#46515a}
body.continuum-interface .control-heading .eyebrow{color:#af808f}
body.continuum-interface .metric{background:linear-gradient(125deg,#1c2127,#171b20);border-left-color:#56636d}
body.continuum-interface .metric:before{background:#bc8297!important;opacity:.8}
body.continuum-interface .metric strong{color:#dce1e3}
body.continuum-interface .panel-title{border-color:#424c55}
body.continuum-interface .panel-title:after{display:none}
body.continuum-interface .panel-title:before{content:"";width:9px;height:9px;border:1px solid #a48090;transform:rotate(45deg);opacity:.9}
body.continuum-interface .ui-frame{opacity:.15}
body.continuum-interface .ui-frame-trace{stroke:#cf9cab;stroke-width:.13}
body.continuum-interface .ui-frame-rail{stroke:#b8c5ce;opacity:.5}
body.continuum-interface .section-heading{position:relative;overflow:hidden;border:0;border-bottom:1px solid #434d56;background:linear-gradient(100deg,#181c20b3,transparent 75%);padding:24px 24px 25px}
body.continuum-interface .section-heading:after{width:72px;background:#b78094;box-shadow:90px 0 #51565d}
body.continuum-interface .section-heading>div{position:relative;z-index:1}
.continuum-heading-art{position:absolute;right:0;top:0;height:100%;width:36%;max-width:450px;fill:none;stroke:#b4bac3;stroke-width:.55;opacity:.18;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 70%)}
body.continuum-interface .matrix-head,body.continuum-interface .account-head{position:relative;overflow:hidden;background:linear-gradient(115deg,#1b2026,#191b22);border-color:#424b55}
body.continuum-interface .matrix-head>div:not(.ui-compute-line),body.continuum-interface .account-head>div:not(.ui-compute-line){position:relative;z-index:1}
body.continuum-interface .table-wrap{border-color:#46505b;background:#15191d;scrollbar-color:#826677 #171c21}
body.continuum-interface .table-wrap thead th{background:#242c33!important;color:#b9c5cd!important;border-bottom-color:#7c6475!important}
body.continuum-interface .table-wrap tbody tr{background:#171b20}
body.continuum-interface .table-wrap tbody tr:nth-child(even){background:#1b2026}
body.continuum-interface .table-wrap tbody tr:hover{background:#29272e}
body.continuum-interface .table-wrap tbody tr.selected{background:#302831;box-shadow:inset 2px 0 #c18ba0}
body.continuum-interface .table-wrap td{border-color:#303942}
body.continuum-interface .table-foot,body.continuum-interface .help{color:#9faab2}
body.continuum-interface :is(select,input:not([type=range]):not([type=checkbox]),textarea){background-color:#20262c;border-color:#59616b}
body.continuum-interface .global-search input{background:transparent!important}
body.continuum-interface :is(select option,select optgroup){background:#20262c!important}
body.continuum-interface .race-workspace .route-panel,body.continuum-interface .race-workspace .detail-panel{background:none}
body.continuum-interface .race-workspace .detail-panel{border-top-color:#414a54}
body.continuum-interface .race-workspace .course-svg{background:#161b1f;border-color:#46525d}
body.continuum-interface .site-sidebar{background:linear-gradient(165deg,#14191f,#0e1217)}
body.continuum-interface .site-sidebar .nav.active{background:linear-gradient(90deg,#8e4e6638,transparent);border-left-color:#c88fa3}
body.continuum-interface[data-art-motion="off"] .hero-gem *,body.continuum-interface .hero-gem.art-offscreen *{animation:none!important}
body.continuum-interface.ui-backgrounded .hero-gem *{animation-play-state:paused!important}
@keyframes continuum-ink{from{stroke-dashoffset:1;opacity:.08}to{stroke-dashoffset:0;opacity:1}}
@keyframes continuum-mesh{from{opacity:0}to{opacity:1}}
@keyframes continuum-crystallize{0%{opacity:0;transform:translateY(12px) scaleY(.86)}55%{opacity:.5}100%{opacity:1;transform:none}}
@keyframes continuum-seed{0%,30%{opacity:0}100%{opacity:1}}
@media(min-width:1650px){body.continuum-interface .workspace-intro{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);min-height:390px}body.continuum-interface .hero-gem{height:375px}body.continuum-interface .intro-copy{padding:28px 0 40px}}
@media(max-width:1100px){body.continuum-interface .workspace-intro{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px;min-height:310px}body.continuum-interface .intro-wordmark{font-size:62px;gap:14px}body.continuum-interface .hero-gem{height:285px}body.continuum-interface .workspace-intro h1{font-size:21px}body.continuum-interface .intro-bottom{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px}body.continuum-interface .contact-strip{font-size:10px}body.continuum-interface .workflow button{padding-inline:10px;gap:9px}}
@media(max-width:820px){body.continuum-interface .workspace-intro{min-height:0;padding-top:16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}body.continuum-interface .intro-wordmark{font-size:49px;gap:10px}body.continuum-interface .intro-copy{padding-bottom:23px}body.continuum-interface .intro-copy>.eyebrow{font-size:8px;letter-spacing:.13em;margin-bottom:20px}body.continuum-interface .workspace-intro h1{font-size:19px;letter-spacing:.08em;margin-top:20px}body.continuum-interface .workspace-intro p{font-size:13px;max-width:310px}body.continuum-interface .hero-gem{height:275px}body.continuum-interface .hero-gem>span{display:none}body.continuum-interface .intro-bottom{grid-template-columns:1fr;gap:0}body.continuum-interface .contact-strip{padding:12px 8px;border-top:1px solid #354049}body.continuum-interface .contact-label{flex-basis:auto}body.continuum-interface .workflow button{min-height:75px}}
@media(max-width:560px){body.continuum-interface .workspace-intro{display:grid;grid-template-columns:1fr;margin-bottom:23px;padding-top:10px;overflow:hidden;gap:0}body.continuum-interface .intro-copy{padding:17px 0 0}body.continuum-interface .intro-copy>.eyebrow{margin-bottom:20px;font-size:8px}body.continuum-interface .intro-wordmark{font-size:clamp(40px,11.5vw,61px);letter-spacing:.07em;gap:15px}body.continuum-interface .workspace-intro h1{font-size:21px;margin-top:20px;margin-bottom:10px}body.continuum-interface .workspace-intro p{font-size:13px;max-width:94%;margin-bottom:0}body.continuum-interface .hero-gem{position:relative;inset:auto;width:100%;height:230px;opacity:1;margin-top:-10px;margin-bottom:-13px}body.continuum-interface .hero-gem>.continuum-sculpture{width:115%;max-width:none;margin-left:-7.5%;overflow:visible}body.continuum-interface .intro-bottom{display:grid;grid-template-columns:1fr;margin-top:0;gap:0;background:none}body.continuum-interface .workflow{grid-template-columns:repeat(3,minmax(0,1fr))}body.continuum-interface .workflow button,body.continuum-interface .workflow button:first-child{padding:12px 9px;gap:8px;min-height:76px}body.continuum-interface .workflow button:last-child{border-right:0}body.continuum-interface .workflow span{font-size:13px}body.continuum-interface .workflow small{font-size:10px}body.continuum-interface .workflow b{font-size:10px}body.continuum-interface .contact-strip{font-size:10px;padding:10px 7px;gap:1px 14px}body.continuum-interface .contact-label{flex-basis:100%;font-size:10px}body.continuum-interface .section-heading{padding:16px 12px 19px}body.continuum-interface .continuum-heading-art{width:53%;opacity:.11}body.continuum-interface .continuum-backdrop>svg{opacity:.08}}
@media(prefers-reduced-motion:reduce){body.continuum-interface .hero-gem *{animation:none!important}}

/* Header decoration is out of flow: size these surfaces from their controls. */
body.continuum-interface #tab-matrix .matrix-head,body.continuum-interface #tab-data .matrix-head{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:18px;min-height:0;height:auto;padding:22px 24px;margin-bottom:20px}
body.continuum-interface #tab-matrix .matrix-head h1,body.continuum-interface #tab-data .matrix-head h1{font-size:29px;line-height:1.4;margin:5px 0 10px}
body.continuum-interface #tab-matrix .matrix-head p,body.continuum-interface #tab-data .matrix-head p{margin:0;max-width:920px}
body.continuum-interface #tab-matrix .matrix-controls{display:grid;grid-template-columns:minmax(260px,2fr) repeat(3,minmax(125px,1fr));align-items:end;gap:16px;border-top:1px solid #414a54;padding-top:17px;margin-top:0}
body.continuum-interface #tab-data .matrix-head .contact-strip{display:flex;width:fit-content;max-width:100%;padding:10px 13px;margin:15px 0 0;gap:3px 18px;border:1px solid #414550;background:#20242d66}
body.continuum-interface #tab-data .matrix-head .contact-label{flex-basis:auto}
body.continuum-interface .matrix-head>svg.ui-frame,body.continuum-interface .account-head>svg.ui-frame{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
body.continuum-interface .matrix-head>.continuum-heading-art{position:absolute;right:0;top:0;bottom:auto;height:100%;width:34%;max-height:240px;z-index:0}
@media(max-width:900px){body.continuum-interface #tab-matrix .matrix-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){body.continuum-interface #tab-matrix .matrix-head,body.continuum-interface #tab-data .matrix-head{padding:17px 14px;gap:14px}body.continuum-interface #tab-matrix .matrix-head h1,body.continuum-interface #tab-data .matrix-head h1{font-size:24px}body.continuum-interface #tab-matrix .matrix-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.continuum-interface #tab-matrix .matrix-controls>label:first-child{grid-column:1/-1}body.continuum-interface #tab-data .matrix-head .contact-label{flex-basis:100%}body.continuum-interface #tab-data .matrix-head .contact-strip{font-size:11px;gap:2px 12px}}

/* Current-model benchmark: frozen parameters, inspectable cases and ranks. */
body.continuum-interface #model-benchmark{background:linear-gradient(130deg,#201d24,#191c21 64%);border-color:#514650}
#model-benchmark:before{display:none}
#model-benchmark .benchmark-version{display:flex;flex-wrap:wrap;gap:8px 22px;color:#be9caa;font:11px/1.8 var(--ui-mono);margin:0 0 13px}
#model-benchmark .benchmark-version span+span{padding-left:17px;border-left:1px solid #564550}
#model-benchmark .benchmark-config{margin:14px 0 20px;border-block:1px solid #4c424b;padding:10px 0;color:#bcb4bf;font-size:13px}
#model-benchmark summary{cursor:pointer;font-size:14px;color:#d7c7d0;line-height:1.8}
#model-benchmark .benchmark-config p{margin:9px 0;font-size:13px;line-height:1.85;color:#bbb4be}
#model-benchmark .benchmark-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 27px}
#model-benchmark .benchmark-course-card{display:block;min-width:0;width:100%;text-align:left;padding:18px 20px;background:#242229;border:1px solid #514650;border-radius:2px;box-shadow:none;transform:none;color:#d6cdd4;transition:border-color .2s,background .2s}
#model-benchmark .benchmark-course-card:hover,#model-benchmark .benchmark-course-card.is-active{background:#2b252e;border-color:#a17589}
#model-benchmark .benchmark-course{padding-bottom:13px;margin-bottom:12px;border-color:#544650;gap:12px}
#model-benchmark .benchmark-course strong{font-size:16px;font-weight:500;line-height:1.6}
#model-benchmark .benchmark-course small{white-space:nowrap;color:#c1aab7;font:12px var(--ui-mono)}
#model-benchmark .benchmark-stat{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:14px}
#model-benchmark .benchmark-stat b{font:24px/1.4 var(--ui-mono);color:#e1c3d0;font-weight:400}
#model-benchmark .benchmark-correlation{display:block;width:100%;height:38px;margin:2px 0 17px;fill:#a99da9;font:10px var(--ui-mono)}
#model-benchmark .benchmark-agreement-track{display:block;height:3px;background:#443943;margin:11px 0 12px}
#model-benchmark .benchmark-agreement-track i{display:block;height:100%;background:linear-gradient(90deg,#9e788b,#c5a0af)}
#model-benchmark .benchmark-pairs{display:block;font-size:12px;line-height:1.7;color:#afa3b1}
#model-benchmark .benchmark-case-heading{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,.7fr) minmax(220px,1.3fr);align-items:end;gap:18px;border-top:1px solid #63525f;padding-top:21px;margin-top:12px;margin-bottom:17px}
#model-benchmark .benchmark-kicker{color:#be91a4;font-size:10px;letter-spacing:.1em}
#model-benchmark .benchmark-case-heading h3{font-size:21px;margin:4px 0 0;font-weight:450}
#model-benchmark .benchmark-case-heading label{font-size:12px;color:#b8a8b6;min-width:0}
#model-benchmark .benchmark-case-heading select{width:100%;margin-top:5px;font-size:14px;background:#28252c;border-color:#6a5665;overflow:hidden;text-overflow:ellipsis}
#model-benchmark .benchmark-current-case{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:30px;padding:23px;border:1px solid #61505e;background:linear-gradient(115deg,#30273055,transparent);border-radius:2px}
#model-benchmark .benchmark-case-copy h3{display:flex;align-items:center;gap:13px;font-size:23px;font-weight:450;line-height:1.5;margin:9px 0 5px}
#model-benchmark .benchmark-skill-name{display:block;font-size:17px;color:#e0d5de;font-weight:500;margin:9px 0 12px;overflow-wrap:anywhere}
#model-benchmark .benchmark-case-copy p{font-size:14px;line-height:1.9;margin:12px 0;color:#c8becb}
#model-benchmark .benchmark-case-copy small{font:11px/1.8 var(--ui-mono);color:#ad9eae}
#model-benchmark .benchmark-case-graphic{min-width:0;align-self:center;padding-left:26px;border-left:1px solid #544653}
#model-benchmark .benchmark-value-bar{display:grid;grid-template-columns:1fr auto;gap:8px 12px;margin:14px 0 24px;font-size:13px;color:#c8bac8}
#model-benchmark .benchmark-value-bar b{font:21px var(--ui-mono);font-weight:400;color:#d5cad8}
#model-benchmark .benchmark-value-bar>div{grid-column:1/-1;height:7px;background:#111317;border:1px solid #493c4b}
#model-benchmark .benchmark-value-bar i{display:block;height:100%;background:#9e9baa}
#model-benchmark .benchmark-value-bar.after i{background:#cb8ba4}
#model-benchmark .benchmark-value-bar.after b{color:#e0adc3}
#model-benchmark .benchmark-delta{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #574650;padding-top:12px;font-size:13px;color:#c3afbf}
#model-benchmark .benchmark-delta strong{font:22px var(--ui-mono);font-weight:400;color:#d8bac9}
#model-benchmark .benchmark-case-graphic>p{font-size:11px;color:#ab9cac;text-align:right;line-height:1.8;margin:9px 0 0}
#model-benchmark .benchmark-rank-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid #4e414d;padding:10px 0;margin:14px 0;gap:12px}
#model-benchmark .benchmark-rank-facts span{font-size:11px;color:#afa1b0;display:block}
#model-benchmark .benchmark-rank-facts b{font:22px/1.8 var(--ui-mono);font-weight:400;color:#e0c9d5}
#model-benchmark .benchmark-rank-graph{display:block;width:100%;fill:#baaeba;font:12px AgathosSans,sans-serif}
#model-benchmark .benchmark-sample-detail{margin:22px 0 14px;border-top:1px solid #51444f;padding-top:13px;min-width:0}
#model-benchmark .benchmark-sample-scroll{overflow:auto;max-height:510px;margin:15px 0;border:1px solid #5b4c58;scrollbar-color:#8a7182 #211f27}
#model-benchmark table{width:100%;min-width:640px;border-collapse:collapse;font-size:13px}
#model-benchmark th{position:sticky;top:0;background:#332b35;color:#d9c8d6;font-size:12px;white-space:nowrap}
#model-benchmark td{font-size:13px;background:#201f27;border-color:#443947;padding:10px 13px}
#model-benchmark tr:nth-child(even) td{background:#26232d}
#model-benchmark td:not(:first-child){font-family:var(--ui-mono);text-align:right}
#model-benchmark td strong{font-weight:500;margin-right:11px}
#model-benchmark td small{display:block;font-size:10px;color:#a99aaa;line-height:1.7}
#model-benchmark .benchmark-source{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#b29eaf;line-height:1.8;border-bottom:1px solid #4f414e;padding-bottom:15px}
#model-benchmark .benchmark-units{border:0;margin-top:4px;padding-top:14px;gap:9px 20px;font-size:12px;color:#bcb0bf;line-height:1.9}
#model-benchmark .benchmark-units code{color:#d8c0d0;background:#26222b;border-color:#5b4759;font-size:12px}
@media(max-width:1100px){#model-benchmark .benchmark-grid{gap:10px}#model-benchmark .benchmark-course-card{padding:14px}#model-benchmark .benchmark-course{flex-wrap:wrap;gap:4px}#model-benchmark .benchmark-stat{font-size:12px}#model-benchmark .benchmark-case-heading{grid-template-columns:1fr 1fr}#model-benchmark .benchmark-case-picker{grid-column:1/-1}}
@media(max-width:760px){#model-benchmark .benchmark-grid{grid-template-columns:1fr}#model-benchmark .benchmark-course-card{padding:15px 18px}#model-benchmark .benchmark-course{flex-wrap:nowrap}#model-benchmark .benchmark-current-case{grid-template-columns:1fr;gap:18px;padding:17px}#model-benchmark .benchmark-case-graphic{border-left:0;border-top:1px solid #544653;padding:12px 0 0}#model-benchmark .benchmark-case-copy h3{font-size:21px}#model-benchmark .benchmark-case-heading{gap:14px}#model-benchmark .benchmark-case-heading>div{grid-column:1/-1}#model-benchmark .benchmark-case-picker{grid-column:auto}#model-benchmark .benchmark-case-heading select{font-size:12px}#model-benchmark .benchmark-version{gap:5px 12px}#model-benchmark .benchmark-version span+span{padding-left:0;border:0}#model-benchmark .benchmark-units code{white-space:normal;overflow-wrap:anywhere}}
.resource-load-error{border-color:#ad7d79!important;position:relative;z-index:3;margin:20px 0;padding:24px!important;background:#30252b!important}.resource-load-error h2{font-size:21px}.resource-load-error p{line-height:1.85;color:#d5c0c9}.resource-load-error button{margin-top:8px}
body.agathos-interface .style-chip.style-5{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:4px 9px;border:1px solid #c8b76e!important;border-radius:3px;color:#e4f8ac!important;background:linear-gradient(110deg,#283b2c,#354822)!important;box-shadow:inset 0 1px 0 #e8ffd51c;font-size:14px!important;font-weight:650;line-height:1.4;letter-spacing:.05em;white-space:nowrap;min-width:56px}.oonige-mark{display:block;flex:none;width:26px;height:18px;overflow:visible}.style-chip.style-5>span{color:inherit!important}.character-running-mode{padding:14px 17px;margin:17px 0;border:1px solid #536071;background:#20293280}.character-running-mode header{display:flex;align-items:center;gap:12px}.character-running-mode header>strong{font-size:15px;font-weight:500;color:#d5dce6}.character-running-mode p{font-size:13px;line-height:1.9;color:#c0c5ce;margin:11px 0}.character-running-mode small{display:block;font-size:12px;line-height:1.9;color:#a6b59f}.character-running-mode.is-oonige{border-color:#7b8057;background:linear-gradient(115deg,#293329b8,#202b2b85)}.character-running-mode.is-oonige header>strong{color:#dce8b8}
.character-instability-badge{display:inline-block!important;width:fit-content;margin-top:5px;padding:2px 8px;border:1px solid #af7c62;border-radius:3px;color:#efc09b!important;background:#65423140;font-size:12px!important;line-height:1.6;font-weight:500}
.character-curated-facts{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px;padding:12px 0;border-top:1px solid #56444f;border-bottom:1px solid #56444f;font-size:13px}.character-curated-facts>span{color:#afa0ae}.character-curated-facts>b{color:#e3d4df;font-weight:500;margin-right:14px}.character-curated-facts>small{flex-basis:100%;color:#c5a7ae;line-height:1.8}
.character-instability-panel{margin:18px 0;padding:17px 20px;border:1px solid #71554f;background:linear-gradient(115deg,#35272bd9,#24232ae8);min-width:0}.character-instability-panel>header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #725850;padding-bottom:11px}.character-instability-panel h4{margin:0;font-size:17px;color:#edc2a0}.character-instability-panel header>span{font-size:12px;color:#bc9c92}.character-instability-panel p{font-size:13px;color:#c8b8bd;line-height:1.9;margin:11px 0}.character-instability-panel ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.character-instability-panel li{min-width:0;border-top:1px solid #5c484c;padding:13px 0}.character-instability-panel li>div{display:flex;flex-wrap:wrap;gap:5px 12px;align-items:baseline}.character-instability-panel li strong{font-size:14px;color:#e7b997;font-weight:500}.character-instability-panel li span{font-size:12px;color:#c2adb8}.character-instability-panel code{display:block;color:#b9b2c0;font-size:11px;line-height:1.8;white-space:normal;overflow-wrap:anywhere}.character-instability-panel .instability-unresolved{color:#ddbc9c}@media(max-width:700px){.character-instability-panel ul{grid-template-columns:1fr}.character-instability-panel{padding:14px}}
/* Event calendar and contextual skill premises share the graphite/ruby frame. */
body .scenario>.scenario-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:23px 22px}body .mechanism-controls>.scenario-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}@media(min-width:1650px){body .scenario>.scenario-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:1100px){body .scenario>.scenario-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){body .scenario>.scenario-grid,body .mechanism-controls>.scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){body .scenario>.scenario-grid,body .mechanism-controls>.scenario-grid{grid-template-columns:1fr}.scenario-grid>.slider,.scenario-grid>.scenario-check{grid-column:1/-1}}
.parameter-hint{display:flex!important;flex-direction:column;gap:7px!important;font-size:13px!important;line-height:1.85!important;margin-top:8px!important;font-weight:400}.parameter-hint>span{display:block}.parameter-hint b{font-weight:500;color:#d5bec9}.parameter-hint>span+span{border-top:1px solid #b3a0b51a;padding-top:6px}.parameter-hint>span:last-child{color:#b9b0bd}.control-main .parameter-hint{font-size:13px!important}.scenario-grid>.slider .parameter-hint{grid-column:1/-1}.algorithm-controls .parameter-hint{max-width:520px}body .scenario-grid{align-items:start}.scenario-grid>.scenario-check .parameter-hint{grid-column:1/-1}
.score-controls .score-scope-note{border-left:2px solid #c38d9d;padding:10px 14px;background:#2c252c;color:#e2d4dd;font-size:14px}.score-controls .field-hint b{color:#e0c5d2;font-weight:500}.score-controls .field-hint{line-height:2}.score-weight-example{border:1px solid #61505c;padding:17px;margin:16px 0;background:#1d2127}.score-weight-example h4{font-size:15px;margin:0 0 8px}.score-points{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.score-points>div{padding:12px;border:1px solid #504955;display:flex;flex-direction:column;gap:7px;min-width:0}.score-points span{font-size:12px;color:#c1b2c1}.score-points strong{font-size:22px;color:#e3c4d0;font-weight:500}.score-points small{font-size:12px;line-height:1.8;overflow-wrap:anywhere;color:#b5aab7}.score-points .score-total{border-color:#91717e;background:#382a3380}.score-worked-example table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.score-worked-example th,.score-worked-example td{padding:10px 8px;border:1px solid #514653;white-space:normal;overflow-wrap:anywhere}.score-worked-example th:first-child{width:40%}@media(max-width:760px){.score-points{grid-template-columns:repeat(2,minmax(0,1fr))}.score-weight-example{padding:12px}.score-worked-example th,.score-worked-example td{padding:8px 5px;font-size:12px}}
body.continuum-interface .event-calendar{padding:24px 28px;margin:0 0 24px;background:linear-gradient(115deg,#211b24e8,#181d22ef);border-color:#68515d}
body[data-tab]:not([data-tab="race"]) #event-calendar{display:none}
.event-calendar-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:18px;border-bottom:1px solid #66545d}
.event-calendar-head h2{margin:5px 0 8px;font-size:23px}.event-calendar-head p{margin:0;color:#d5bbc1}.event-calendar-head>a{color:#dac9d1;text-align:right;font-size:14px;flex-shrink:0}.event-calendar-head>a small{display:block;font-size:11px;color:#a39aa0;margin-top:6px}
.event-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 22px;margin-top:15px}
.event-card{display:grid;grid-template-columns:54px minmax(0,1fr);gap:14px;padding:20px 0;position:relative;border-bottom:1px solid #49414a;min-width:0}
.event-month{display:flex;flex-direction:column;gap:4px;align-items:center;color:#bca7af;border-right:1px solid #51424c;padding-right:10px}.event-month>span{font-size:11px;letter-spacing:.08em}.event-month>strong{font-family:Georgia,serif;font-size:32px;line-height:1.1;font-weight:400}.event-month>small{font-size:11px}
.event-card.featured .event-month{color:#e5b6bd;border-color:#c58b9c}.event-card.featured:before{content:"";position:absolute;top:23px;left:-6px;width:4px;height:4px;border:1px solid #dba5b2;transform:rotate(45deg)}
.event-body{min-width:0}.event-status{font-size:11px;letter-spacing:.08em;color:#bca7af}.event-body h3{font-family:Georgia,serif;letter-spacing:.035em;font-size:20px;margin:6px 0 8px;color:#e5dfe3}.event-body>strong{font-size:15px;font-weight:500;line-height:1.65;color:#d8d7dc;display:block}.event-body p{color:#aaa4ae;line-height:1.75;font-size:13px;margin:7px 0}.event-body button{font-size:13px;min-height:34px;padding:0}.event-card.is-applied .event-body button{color:#b2d2c4}.event-pending{font-size:12px;color:#8f8c95}.event-calendar-note{font-size:12px;line-height:1.9;color:#a9a2ad;margin:16px 0 0}
.skill-premise-editor,.character-premise-summary,.score-controls{padding:16px 18px;border:1px solid #5b4a57;background:linear-gradient(115deg,#28212b80,#1c232980);margin:16px 0;min-width:0;color:#d8d4db}
.premise-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #51424e;padding-bottom:10px}.premise-editor-head h4{margin:0;font-size:16px}.premise-editor-head button{font-size:12px;white-space:normal}.skill-premise-editor p,.character-premise-summary p,.score-controls p{font-size:13px;line-height:1.85;color:#b7acb8}
.premise-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.premise-editor-grid>label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:14px}.premise-current{font-size:12px;color:#ddbac6}.premise-editor-grid input{width:100%;min-width:0;box-sizing:border-box}.premise-editor-grid small{font-size:12px;line-height:1.8;color:#a9a4ae}
.character-premise-summary summary,.score-controls>summary{font-size:16px;color:#dfcbd4}.character-premise-summary summary small,.score-controls>summary small{font-size:12px;color:#a6a2ad;display:inline-block;margin-left:10px;line-height:1.8}.character-premise-summary ul{padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin:0}.character-premise-summary li{display:flex;flex-direction:column;gap:5px;border-top:1px solid #413b46;padding:12px 0;min-width:0;overflow-wrap:anywhere}.character-premise-summary li span{font-size:12px;color:#bba2b0}.character-premise-summary li strong{font-size:14px;font-weight:500}.character-premise-summary li small{color:#a9a4ad;font-size:12px;line-height:1.8}.character-premise-summary .manual-premise strong{color:#e7c58e}
body .scenario-grid>.score-controls{grid-column:1/-1}.score-controls .weight-set{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:100%;margin:16px 0;align-items:start}.score-controls .weight-set label{min-width:0;display:flex;flex-direction:column;gap:7px}.score-controls .weight-set input{width:100%;box-sizing:border-box}.score-controls output{display:block;font-size:13px;line-height:1.9;color:#d4c2d0;border-top:1px solid #50424e;padding-top:12px}.score-controls>details{margin:14px 0;color:#bcb3c2}.score-controls>details summary{font-size:13px}
@media(max-width:1050px){.event-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.continuum-interface .event-calendar{padding:19px 16px}.event-calendar-head{gap:10px}.event-calendar-head h2{font-size:20px}.event-calendar-head>a{font-size:12px}.event-calendar-head p{font-size:13px}.event-timeline{grid-template-columns:1fr}.event-card{padding:17px 0}.premise-editor-grid,.character-premise-summary ul{grid-template-columns:1fr}.skill-premise-editor,.character-premise-summary,.score-controls{padding:14px 12px}.score-controls .weight-set{grid-template-columns:1fr;gap:16px}.score-controls>summary small,.character-premise-summary summary small{display:block;margin-left:0}.premise-editor-head{align-items:flex-start}.event-calendar-note{font-size:12px}}
