/* Exact shared measurements from procedural-pretraining-page/static/css/style.css.
   Page-specific diagrams retain their own functional layout. */
@font-face{font-family:'Source Serif 4';src:url('assets/source-serif-800.ttf') format('truetype');font-weight:800;font-display:swap}
:root{--color-bg:#fff;--color-bg-alt:#F7F2E9;--color-text:#252817;--color-text-secondary:#585A4D;--color-border:#DDD5C7;--color-code-bg:#F0F0F2;--max-width:960px;--nav-height:56px;--ink:var(--color-text);--muted:var(--color-text-secondary);--line:var(--color-border);--canvas:var(--color-bg-alt)}
html{scroll-padding-top:72px;overflow-x:hidden}body{font-size:16px;line-height:1.7;color:var(--color-text);background:#fff;overflow-x:hidden}
body .container{box-sizing:border-box;max-width:960px;width:100%;padding-left:24px;padding-right:24px;margin-left:auto;margin-right:auto}
body .section{padding-top:80px;padding-bottom:80px}
body .header,body .site-header{height:56px;position:fixed;top:0;left:0;right:0;width:100%;max-width:none;margin:0;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid #DDD5C7;z-index:1000;padding:0}
body .header-inner,body .nav-wrap{box-sizing:border-box;max-width:960px;margin:0 auto;padding:0 24px;display:flex;align-items:center;height:100%;gap:32px;width:100%}
body .wordmark,body .brand{font-size:.95rem;font-weight:700;letter-spacing:normal;white-space:nowrap;color:#252817;flex-shrink:0;gap:0}
body .header .brand-icon,body .brand>svg{display:none}
body .header nav,body .nav-links{display:flex;gap:24px;margin-left:auto;align-items:center}
body .header nav a,body .nav-links a{font-size:.85rem;font-weight:500;color:#585A4D;white-space:nowrap;position:relative;padding:4px 0;border:0;border-radius:0;line-height:1.7}
body .header nav a:hover,body .nav-links a:hover{color:var(--accent)}body .nav-paper svg,body .nav-paper span{display:none}
body .hero.container{padding-top:136px;padding-bottom:80px;text-align:center;position:relative;isolation:isolate}
body .hero::before{background:linear-gradient(180deg,var(--surface) 0%,#E9DECB 100%)}
body .hero>.eyebrow{display:none}
body .hero h1{font-size:3.2rem;font-weight:800;line-height:1.15;letter-spacing:normal;margin:0 auto 20px;color:var(--hero-accent);max-width:none}
body .hero h1 em{font:inherit;color:inherit}
body .paper-subtitle,body .hero-summary{font-family:Inter,Arial,sans-serif;font-size:1.15rem;font-weight:400;line-height:1.6;color:#585A4D;max-width:680px;margin:0 auto 28px;letter-spacing:normal}
body .paper-subtitle br{display:none}
body .hero .institution-row{display:flex;justify-content:center;align-items:center;gap:40px;margin:0 auto 28px;flex-wrap:wrap;padding:0;background:none;border:0;border-radius:0;width:auto}
body .hero .institution-row img,body .hero .institution-row img.adelaide{height:40px;width:auto;max-width:220px;opacity:.85;object-fit:contain}
body .hero .paper-overview{margin:36px auto 28px;max-width:780px;text-align:center;padding:0;background:#fff;border:1px solid #DDD5C7;border-radius:12px;overflow:hidden}
body .hero .paper-overview figcaption{font-size:.82rem;line-height:1.5;text-align:left;padding:12px 16px;margin:0;color:#585A4D;border-top:1px solid #DDD5C7}
body .hero .authors{font-size:.95rem;line-height:1.7;margin:0;padding:0;color:#252817}
body .authors p,body .hero>.authors{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px}
body .hero .authors p>.author,body .hero .authors a{color:#252817;font-weight:500;margin:0}
body .hero .authors sup{font-size:.7em;color:#585A4D}
body .hero .authors>div,body .affiliations{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 20px;font-size:.9rem;line-height:1.7;color:#585A4D;margin:0 0 32px;padding:0}
body .hero-copy p{font-size:1.05rem;line-height:1.7;color:#252817;max-width:620px;margin:0 auto 32px}
body .hero-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:0}
body .button,body .hero-actions .text-action{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;font-size:.9rem;font-weight:600;font-family:Inter,Arial,sans-serif;line-height:1.7;border-radius:8px;border:2px solid var(--accent);background:var(--accent);color:#fff;letter-spacing:normal}
body .button:not(.primary),body .hero .button:not(.primary),body .hero-actions .text-action{background:transparent;color:var(--accent);border:2px solid var(--accent)}
body .button:hover,body .hero .button:hover,body .hero-actions .text-action:hover{background:var(--accent-dark);border-color:var(--accent-dark);color:#fff;transform:translateY(-1px)}
body .section-heading,body .overview-layout{display:block;margin-bottom:40px}
body .section-heading h2,body .overview-layout>h2,body .abstract-copy h2,body .resource-heading h2{font-family:'Source Serif 4',Georgia,serif;font-size:2rem;font-weight:700;line-height:1.7;letter-spacing:normal;text-align:center;color:#252817;margin:0 0 40px}
body .section-heading h2 br,body .overview-layout>h2 br{display:none}
body .section-heading h2 span,body .overview-layout h2 em{font:inherit;color:inherit}
body .section-heading>p,body .overview-layout>.prose,body .abstract-copy{max-width:760px;margin:0 auto 48px;font-size:1.05rem;line-height:1.7;color:#252817}
body .prose p,body .abstract-copy p{font-size:1.05rem;line-height:1.7;color:#252817}
body .section-number,body .section-kicker{display:none}
body .metrics{display:grid;gap:20px;border:0;background:none;margin-top:40px}
body .metrics>div,body .metrics>article{background:#fff;border:1px solid #DDD5C7;border-radius:12px;padding:28px 20px;text-align:center}
body .metrics strong{font-family:Inter,Arial,sans-serif;font-size:2.2rem;font-weight:800;line-height:1.1;margin-bottom:8px;color:var(--accent)}
body .metrics p,body .metrics span{font-size:.88rem;line-height:1.45;color:#585A4D}
body .results-panel,body .paper-figure,body .paper-card,body .reasoning-type{border:1px solid #DDD5C7;border-radius:12px;background:#fff;box-shadow:none}
body .paper-card{padding:32px 28px}body .hx-explorer{box-shadow:none;border-color:#DDD5C7;border-radius:12px;margin-top:48px}body .pipeline{margin-top:48px}
body .citation,body .citation-box{background:#F0F0F2;border:1px solid #DDD5C7;border-radius:12px;padding:20px 24px}
body .citation pre,body .citation-box pre{font-size:.82rem;line-height:1.7;color:#252817}
body .method-takeaway,body .scope-note{border:1px solid var(--takeaway-border);background:var(--hero-fill);border-radius:12px;padding:20px 24px}
body .method-takeaway .small-number{color:var(--hero-accent);font-weight:700}
body .discussion-band{background:#F7F2E9;color:#252817}body .discussion h2{font-size:2rem;font-weight:700;letter-spacing:normal}body .discussion em{color:var(--accent)}body .discussion .prose p,body .discussion .prose .limitations,body .limitations strong{color:#585A4D}
body .nav-toggle,body .menu-toggle{display:none;background:none;border:0;cursor:pointer;padding:8px;margin-left:auto;flex-direction:column;gap:4px;font-size:0}
body .nav-toggle span,body .menu-toggle span{display:block;width:20px;height:2px;background:#252817;border-radius:1px}
@media(max-width:768px){body .section{padding-top:56px;padding-bottom:56px}body .hero.container{padding-top:104px;padding-bottom:56px}body .hero h1{font-size:2.2rem}body .hero-summary,body .paper-subtitle{font-size:1rem}body .section-heading h2,body .overview-layout>h2,body .abstract-copy h2,body .resource-heading h2{font-size:1.6rem}body .header nav,body .nav-links{display:none;position:absolute;top:56px;left:0;right:0;background:rgba(255,255,255,.98);backdrop-filter:blur(12px);flex-direction:column;align-items:stretch;padding:16px 24px;gap:12px;border-bottom:1px solid #DDD5C7;box-shadow:0 4px 16px #0000000f}body .header nav.open,body .nav-links.open{display:flex}body .nav-toggle,body .menu-toggle{display:flex}body .metrics{grid-template-columns:repeat(2,1fr)}body .hero .institution-row{gap:40px}body .hero .institution-row img{max-width:180px}body .header-inner,body .nav-wrap{gap:0}}
@media(max-width:480px){body .hero h1{font-size:1.8rem}body .hero-actions{flex-direction:column;align-items:stretch}body .hero-actions .button,body .hero-actions .text-action{justify-content:center;justify-self:stretch}body .metrics{grid-template-columns:1fr}}



body .hero>.authors{display:block}

body .hero .authors>div>span{margin:0}body .hero .institution-row img:last-child{grid-column:auto}

@font-face{font-family:'JetBrains Mono';src:url('assets/jetbrains-400.ttf');font-weight:400;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('assets/jetbrains-500.ttf');font-weight:500;font-display:swap}
:root{--mono:'JetBrains Mono',monospace}body .citation pre,body .citation-box pre{font-family:var(--mono)}

:root{--sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body .hero.container{padding-left:24px;padding-right:24px}


:root{--accent:#124A1D;--accent-dark:#103B18;--hero-accent:#252817;--hero-fill:#EDF0E6;--takeaway-border:#C2CBB7;--soft:#EDF0E6;--hero-title:#252817;--surface:#FBF7F0;--chart-baseline:#9B8547}
body .section-heading h2 em,body .overview-layout h2 em{font:inherit;color:inherit}
body .hero h1{margin-bottom:28px}
body .hero>.authors{display:flex;gap:4px 16px;justify-content:center;flex-wrap:wrap}
body .hero .authors>span{font-weight:500;margin:0}
body .hero .institution-row{margin-top:0}
body .hero-actions svg{display:none}
body .pipeline{padding:24px;gap:16px;align-items:stretch;border:1px solid #DDD5C7;border-radius:12px;background:white;box-shadow:none}
body .pipeline-stage{padding:20px 14px;border-radius:8px;background:#fff;border:1px solid #DDD5C7;min-width:0}
body .pipeline-stage h2{font-family:Inter,Arial,sans-serif;font-size:1rem;font-weight:600;line-height:1.4;letter-spacing:0;margin:16px 0 8px}
body .stage-number{font-size:.68rem;color:#585A4D;line-height:1.5}
body .stage-number span{display:none}
body .stage-meta{font-size:.65rem;line-height:1.6;letter-spacing:0;color:#585A4D}
body .pipeline-connector{align-self:center;color:var(--accent)}
body .token-demo{gap:4px;flex-wrap:wrap;justify-content:center}
body .token-demo span{width:22px;height:26px;font-size:12px}
body .token-demo .answer{background:var(--accent);color:white}
body .language-lines i{background:#b7c3d1}
body .reasoning-chain b{border-color:var(--takeaway-border);background:var(--hero-fill);color:var(--accent);width:26px;height:26px;font-size:12px}
body .pipeline-caption{max-width:760px;font-size:.8rem;color:#585A4D;margin:18px auto 0;line-height:1.7}
body .overview .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body .metrics>div,body .metrics>div:first-child,body .metrics>div:last-child{border:1px solid #DDD5C7;padding:28px 20px;min-width:0}
body .metrics strong{font-size:2rem;letter-spacing:-.035em}
body .metrics strong span{color:var(--accent)}
body #overview{padding-bottom:24px}body #method{padding-top:40px}
body .demo{border:1px solid #DDD5C7;border-radius:12px;overflow:hidden}
body .memory-display{background:#F7F2E9}
body .memory-token{background:var(--hero-fill);color:var(--accent);border-color:var(--takeaway-border)}
body .method-note{margin-top:20px;font-size:.9rem;color:#585A4D}
body .segmented{border:1px solid #DDD5C7;background:white;padding:4px;border-radius:8px}
body .segmented button{background:none;color:#585A4D;font-size:.85rem}
body .segmented button.selected{color:var(--accent);background:var(--hero-fill);box-shadow:none}
body .tinted{background:#F7F2E9}
body .results-panel{background:transparent;border:0;padding:0}
body .panel-top{gap:16px;flex-wrap:wrap}
body .panel-top h3{font-size:1.6rem;font-weight:500}
body .benchmark-charts{gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}
body .benchmark-card{padding:22px;border:1px solid #DDD5C7;border-radius:12px;background:white;min-width:0}
body .benchmark-header{display:block;min-height:0}
body .benchmark-header h4{font-size:1rem;line-height:1.5;margin:0 0 6px}
body .gain-text{font-size:.8rem;color:var(--accent);font-weight:500}
body .gain-text.neutral{color:#585A4D}
body .bar-label{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:.72rem;color:#585A4D;margin:16px 0 6px;line-height:1.5}
body .bar-label strong{color:#252817;font-variant-numeric:tabular-nums;white-space:nowrap}
body .bar-track{height:12px;background:#edf0f5;border-radius:3px;overflow:hidden}
body .bar{height:12px;background:var(--chart-baseline);border-radius:3px;padding:0;min-width:0}
body .bar.stack-bar{background:var(--accent)}
body .bar-pair{margin-top:0;padding-bottom:8px}
body .bar-axis{font-size:.65rem;color:#585A4D}
body .legend-random{background:var(--chart-baseline)}body .legend-stack{background:var(--accent)}
body .loss-layout{margin-top:40px;padding-top:32px;gap:36px}
body .loss-copy h3{font-family:'Source Serif 4',Georgia,serif;font-size:1.65rem;font-weight:700;line-height:1.35;letter-spacing:0}
body .loss-copy p{font-size:.95rem;line-height:1.7}
body .curve-random{stroke:var(--chart-baseline)}body .curve-stack{stroke:var(--accent)}
body .loss-endpoints{display:none}
body .figure-caption{font-size:.8rem;line-height:1.7;color:#585A4D}
body .paper-figure{padding:20px;margin-top:28px}
body .paper-figure figcaption{font-size:.78rem;line-height:1.7}
body .analysis-text{display:block;max-width:760px;margin:40px auto 24px}
body .analysis-text h3{font-family:'Source Serif 4',Georgia,serif;font-size:1.8rem;font-weight:700;line-height:1.35;letter-spacing:0;margin-bottom:16px}
body .analysis-text p{font-size:1.05rem;line-height:1.7}
body .reasoning-type{background:#fff;padding:24px}
body .reasoning-type svg circle{fill:var(--hero-fill);stroke:var(--takeaway-border)}
body .reasoning-type svg text{fill:var(--accent)}
body .timing-panel{border:1px solid #DDD5C7;border-radius:12px;overflow:hidden;box-shadow:none}
body .timing-detail{background:#F7F2E9}
body .timing-detail>strong{color:var(--accent)}
body .timing-bar,body .schedule-stack{background:var(--accent)}
body .timing-column:not(.selected) .timing-bar{background:var(--takeaway-border)}
body .discussion h2{font-family:'Source Serif 4',Georgia,serif;font-size:2rem;line-height:1.4;font-weight:700}
body .paper-card{padding:40px}
body .paper-card .tag{font:11px var(--mono);color:var(--accent);letter-spacing:.1em}
body .paper-card h2{font-size:2.75rem;line-height:1.2;font-weight:600;margin:24px 0}
body .paper-card p{font-size:.95rem;color:#585A4D;line-height:1.8;margin-bottom:24px}
body .citation-box{margin-top:32px}body .citation-top .button{padding:6px 12px;font-size:.75rem}
body .resource-links{margin-top:28px;font-size:.85rem}
body .release-note{font-size:.8rem;color:#585A4D}
@media(max-width:768px){body .pipeline{grid-template-columns:1fr;padding:16px;gap:12px}body .pipeline-stage{padding:16px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:6px 16px;text-align:left}body .stage-number{display:none}body .pipeline-stage h2{grid-column:1;grid-row:1;margin:0}body .pipeline-stage .stage-meta{grid-column:1;grid-row:2}body .token-demo,body .language-lines,body .reasoning-chain{grid-column:2;grid-row:1/3;margin:0;min-height:45px}body .pipeline-connector{display:none}body #overview{padding-bottom:20px}body #method{padding-top:28px}body .benchmark-charts{grid-template-columns:1fr}body .benchmark-header{display:flex}body .bar-label{font-size:.8rem}body .loss-layout{grid-template-columns:1fr}body .overview .metrics{grid-template-columns:1fr}body .hero-actions{display:flex}body .analysis-text h3{font-size:1.5rem}body .timing-chart-area,body .timing-detail{padding:20px}body .timing-chart{gap:6px}body .timing-value{font-size:.72rem}body .timing-percent{font-size:.7rem}body .paper-card{padding:24px}body .paper-card h2{font-size:1.8rem}body .paper-card p{font-size:.85rem}}
@media(max-width:480px){body .hero-actions{flex-direction:column}body .pipeline-stage{gap:6px 8px;padding:14px 10px}body .reasoning-chain b{width:20px;height:20px;font-size:10px}body .reasoning-chain i{width:8px}body .token-demo span{width:17px;height:23px;font-size:10px}body .demo-explanation,body .memory-display{padding:20px}body .demo-controls{flex-wrap:wrap}body .loss-slider-label{display:flex;flex-wrap:wrap;gap:4px}body .checkpoint-values{flex-wrap:wrap}body .figure-toolbar{flex-wrap:wrap}}

body .hero .affiliations{color:#585A4D}
body .hero .pipeline-caption{color:#585A4D}
body .stack-teaser{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:64px;margin-top:18px}
body .stack-teaser span{width:50px;height:26px;display:grid;place-items:center;font-size:13px;border:1px solid var(--takeaway-border);border-radius:4px;background:var(--hero-fill);color:var(--accent)}
body .pipeline-stage .language-lines,body .pipeline-stage .reasoning-chain{min-height:64px;margin-top:18px}
@media(max-width:768px){body .stack-teaser,body .pipeline-stage .language-lines,body .pipeline-stage .reasoning-chain{margin-top:0}}

/* Coordinated focus and operation states. */
body button:focus-visible,body a:focus-visible,body summary:focus-visible,body input:focus-visible{outline-color:var(--accent)}
body .operation-list button.done{background:var(--hero-fill);border-color:var(--takeaway-border)}
body .hero .pipeline-stage{background:#fff}

/* Flat, illustrative research pipeline. */
body .visual-pipeline{grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr) 16px minmax(0,1fr);gap:12px;padding:20px;border-radius:6px}
body .visual-pipeline .pipeline-stage{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:18px 14px;background:#fff;border-color:#DDD5C7;border-radius:3px;overflow:hidden}
body .visual-pipeline .stage-number{display:block;font:500 9px/1.5 var(--mono);letter-spacing:.04em;color:#707184}
body .visual-pipeline .pipeline-stage h2{margin:16px 0 6px;font-size:1rem}
body .visual-pipeline .stage-meta{font-size:9px;letter-spacing:-.02em;line-height:1.7}
body .visual-note{font-size:10px;line-height:1.6;color:#6b6878;margin:8px 0 0}
body .stage-art{height:200px;flex:none;margin-top:14px;position:relative;overflow:hidden}
body .block-art{display:flex;align-items:center;justify-content:center}
body .stack-timeline{width:100%;height:auto;overflow:visible}
body .stack-timeline text{text-anchor:middle;fill:#585A4D}
body .stack-timeline .operation-label{font:10px var(--mono)}
body .stack-timeline .stack-label{font:13px var(--mono);fill:#252817}
body .stack-timeline .state-label{font:9px var(--sans)}
body .language-art{display:flex;align-items:center;padding:0 10px}
body .language-example{font:18px/1.85 var(--serif);color:#252817;margin:0;text-align:left}
body .qa-art{display:flex;flex-direction:column;justify-content:center;gap:10px}
body .qa-question{font:500 12px/1.5 var(--sans);color:#252817}
body .qa-graph{width:100%;height:150px;overflow:visible}
body .qa-graph .edge-label{font:10px var(--sans);fill:#646b78}
body .qa-graph .node-label{font:12px var(--sans);fill:#252817;text-anchor:middle}

body .pipeline-example-note{grid-column:1/-1;font:9px/1.5 var(--sans);color:#767181;text-align:center;padding-top:3px}
@media(max-width:768px){body .visual-pipeline{grid-template-columns:1fr;gap:12px;padding:16px}body .visual-pipeline .pipeline-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,1fr);grid-template-rows:auto auto auto 1fr;gap:3px 16px;padding:16px}body .visual-pipeline .stage-number{grid-column:1;grid-row:1}body .visual-pipeline .pipeline-stage h2{grid-column:1;grid-row:2;margin:10px 0 4px}body .visual-pipeline .stage-meta{grid-column:1;grid-row:3}body .visual-pipeline .visual-note{grid-column:1;grid-row:4}body .visual-pipeline .stage-art{grid-column:2;grid-row:1/5;margin:0;height:200px}body .visual-pipeline .pipeline-connector{display:none}}
@media(max-width:480px){body .visual-pipeline .pipeline-stage{display:flex;padding:16px}body .visual-pipeline .stage-art{width:100%;max-width:270px;align-self:center;margin-top:12px;height:200px}body .visual-pipeline .pipeline-stage h2{margin-top:16px}body .visual-pipeline .stage-meta{font-size:10px}body .visual-note{font-size:11px}body .language-example{font-size:17px}body .stack-top{font-size:8px;left:calc(50% + 47px)}}
@media(max-width:480px){body .qa-graph .edge-label{font-size:13px}body .qa-graph .node-label{font-size:16px}body .stack-timeline .operation-label{font-size:12px}body .stack-timeline .state-label{font-size:11px}body .stack-timeline .stack-label{font-size:16px}}

body .stack-timeline .stack-label text{fill:#fff}body .stack-timeline .stack-label .token-b{fill:#352900}





/* Warm surfaces, ink typography and welcoming blue accents. */
body{background:var(--surface)}
body .site-header{background:rgba(255,253,250,.94)}
body .hero h1{color:var(--hero-title)}
body .visual-pipeline{background:#FFFFFFB3;border-color:#DDD5C7}
body .visual-pipeline .pipeline-stage{background:#fff;border-color:#DDD5C7}
body .visual-pipeline .stage-number,body .visual-note,body .pipeline-example-note{color:#686E7E}
body .language-example,body .qa-question{color:#252817}
body .qa-question{font-weight:600;padding-bottom:10px;border-bottom:1px solid #DDD5C7}
body .qa-graph{height:150px}
body .qa-graph .entity-node{fill:#E9F8F2;stroke:#9BCDBB;stroke-width:1.2}
body .qa-graph .node-label{fill:#252817}
body .qa-graph .edge-label{fill:#656C7D;font-size:10px}
body .qa-graph .answer-node{fill:var(--accent)}
body .qa-graph .answer-caption{font:8px var(--mono);letter-spacing:.12em;fill:#FBF7F0}
body .qa-graph .answer-label{font:600 15px var(--sans);text-anchor:start;fill:#fff}
body .curve-random{stroke-dasharray:5 3}
body .reasoning-type svg{stroke:#9CA4BD}
body .muted-type svg circle{fill:#F3F3F4;stroke:#C4C7CE}
body .muted-type svg text{fill:#727987}
body .discussion .prose .limitations{border-color:#DADCE3}
body .footer{border-color:#DEDFE4}
@media(max-width:768px){body .nav-links{background:rgba(255,253,250,.98)}}
@media(max-width:480px){body .qa-graph .node-label{font-size:14px}body .qa-graph .edge-label{font-size:11px}}

/* Small, warm highlights keep the research layout welcoming. */
body .overview .metrics>div:first-child{background:transparent;border-color:#C2CBB7}
body .timing-detail{background:#FFF0D3}
body .paper-card .tag{background:#F0DFA5;color:#443D19;padding:5px 8px;border-radius:3px}

/* Reference palette: violet, mint, cyan and sunny yellow. */
body .site-header{background:rgba(251,247,240,.96)}
body .memory-display{min-width:0;background:#F7F2E9}
body .memory-visual{flex:none;max-height:320px;overflow:auto;padding:12px 70px 30px 12px;align-items:center;justify-content:flex-start;min-height:180px}
body .memory-visual.queue{padding:24px 12px 40px;align-items:center}
body .memory-token{flex-shrink:0;min-height:49px;height:auto;max-width:160px;overflow-wrap:anywhere;padding:8px;background:#DEE7D4;border-color:#A6B89A;color:#252817}
body .queue .memory-token{min-width:75px;width:100px}
body #memory-form label{display:block;font-size:13px;margin-bottom:6px}
body .memory-entry{display:flex;gap:8px;max-width:340px}
body #memory-input{min-width:0;width:100%;font:16px var(--mono);padding:9px 12px;border:1px solid #BEBDAE;border-radius:4px;background:#fff;color:var(--ink)}
body .memory-history{margin-top:20px;font-size:13px}
body .memory-history ol{max-height:180px;overflow:auto;padding-left:28px;overflow-wrap:anywhere}
body .memory-top{gap:12px;flex-wrap:wrap}
body .stack-timeline .stack-label text{fill:#20201F}
body .stack-timeline .stack-label .token-b{fill:#403717}
body .schedule-language,body .legend-language{background:#F0DFA5}
@media(max-width:768px){body .nav-links{background:#FBF7F0}}

body .demo-controls{margin-top:14px}

/* Palette hierarchy: violet first, yellow second, mint third. */
body .qa-graph .entity-node{fill:#DEE7D4;stroke:#A6B89A}
body .qa-graph .entity-node~.entity-node{fill:#F0DFA5;stroke:#C7B781}
body .qa-graph .answer-node{fill:#E9DECB;stroke:#BCAD91;stroke-width:1.2}
body .qa-graph .answer-caption,body .qa-graph .answer-label{fill:#252817}
body .overview .metrics>div:nth-child(2){background:transparent;border-color:#DDD5C7}
body .visual-pipeline .abstract-stage{border-top-color:#72936A}
body .visual-pipeline .language-stage{border-top-color:#C7B781}
body .visual-pipeline .reasoning-stage{border-top-color:#BCAD91}

/* Keep the longer illustrative answer within its node. */
body .qa-graph .answer-label{font-size:13px}

/* Pastel baseline bars; retain the darker dashed line for visibility. */
body .bar:not(.stack-bar),body .legend-random{background:#EFDEAA;box-shadow:inset 0 0 0 1px #C7B781}

/* Arrival-inspired cream, sand, charcoal and forest green. */
:root{--color-bg:#FBF7F0;--color-bg-alt:#F7F2E9;--color-text:#252817;--color-text-secondary:#585A4D;--color-border:#DDD5C7;--color-code-bg:#EDE3D2}
body .hero .pipeline-stage,body .benchmark-card,body .reasoning-type,body .paper-card{background:#FFFDFA}
body .visual-pipeline{background:#FBF7F0B3}
body .qa-graph .node-label,body .qa-question,body .language-example{color:#252817;fill:#252817}
body .overview .metrics>div:first-child,body .overview .metrics>div:nth-child(2){background:transparent;border-color:#CFC5B4}
body .bar-track{background:#EDE8DE}
body .segmented{background:#EDE8DE;border-color:#DDD5C7}
body .paper-card .tag{background:#FFF0D3;color:#58503A}
body .citation-box{background:#F7F2E9;border-color:#DDD5C7}

/* Knock out white raster backdrops against the light hero without redrawing logos. */
body .hero .institution-row img.logo-blend{mix-blend-mode:multiply;background:transparent}
