
:root{--paper:#faf9f5!important;--ink:#272c29!important;--muted:#626962!important;--accent:#34765b!important;--line:#d8ddd5!important;--card:#fffefb;--paper-deep:#f0f2ed!important;color-scheme:light}html[data-theme=dark]{--paper:#191a1e!important;--ink:#e8e8ec!important;--muted:#a9abb5!important;--accent:#b6a3ed!important;--line:#34363e!important;--card:#24262d;--paper-deep:#24262d!important;color-scheme:dark}*{box-sizing:border-box}body{margin:0!important;padding:0!important;background:var(--paper)!important;color:var(--ink)!important;font:16px/1.8 Arial,Helvetica,sans-serif!important}body:before,body:after,.ambient,.ambient-orb,.orb,.hero-orb{display:none!important}main{padding:0!important;width:calc(100% - 48px)!important;max-width:1000px!important;margin:0 auto!important}.site-shell,.shell{width:100%!important;max-width:none!important;margin:0!important;padding-left:0!important;padding-right:0!important}.article-layout{display:block!important;padding-top:0!important}.article-layout>article,.article-body,.article-prose,.article--others{width:100%!important;max-width:none!important;margin:0!important;padding-left:0!important;padding-right:0!important}.article--others{padding-top:0!important}.unified-hero{padding:38px 0 28px!important;border-bottom:1px solid var(--line);margin:0 0 30px!important;display:block!important}.unified-hero h1{font:700 34px/1.3 Arial,Helvetica,sans-serif!important;letter-spacing:-.025em!important;max-width:none!important;margin:12px 0 16px!important;color:var(--ink)!important}.unified-hero h1 em{font:inherit!important;color:var(--accent)!important}.unified-hero>p{max-width:none!important;font:16px/1.8 Arial,Helvetica,sans-serif!important;margin:16px 0 0!important;color:var(--muted)!important}.unified-hero>.eyebrow,.unified-hero>.hero-eyebrow{font:11px/1.5 Consolas,monospace!important;letter-spacing:.07em;margin:0!important}.preview-reading{font:13px/1.5 Arial,sans-serif;color:var(--muted);margin:0 0 20px}.hero-actions{display:flex!important;align-items:center!important;gap:24px!important;margin:22px 0 0!important}.hero-actions a{font:600 14px/1.5 Arial,sans-serif!important;padding:8px 0!important;background:transparent!important;color:var(--accent)!important;border:0!important;border-bottom:1px solid var(--line)!important;min-height:0!important;box-shadow:none!important}.unified-media{width:100%!important;max-width:none!important;margin:0 0 30px!important;padding:24px!important;border:1px solid var(--line)!important;border-radius:6px!important;background:var(--card)!important}.article-body{padding-top:0!important}.article-section{padding:30px 0!important;margin:0!important}.article-prose p,.article-body p,.article-section p{font-size:16px!important;line-height:1.8!important;max-width:none!important;color:var(--ink)}.article h2,.article-prose h2,.article-section h2,.article-body h2{font:650 26px/1.4 Arial,sans-serif!important;letter-spacing:-.02em!important;margin-top:26px!important}.article h3,.article-section h3{font:600 21px/1.45 Arial,sans-serif!important}.article-prose>div,.article-section>div{max-width:100%}.desktop-toc,.mobile-toc{display:none!important}.reveal{opacity:1!important;transform:none!important}.preview-article-nav{max-width:1000px;width:calc(100% - 48px);margin:auto;padding:24px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font:14px/1.5 Arial,sans-serif}.preview-article-nav a{color:var(--accent);text-decoration:none}.preview-article-nav>div{display:flex;gap:22px;align-items:center}.article-theme-toggle{background:transparent;border:1px solid var(--line);border-radius:50%;color:var(--ink);font:20px Arial;width:34px;height:34px;cursor:pointer}.preview-toc{position:fixed;left:max(12px,calc(50vw - 720px));top:110px;width:180px;max-height:76vh;overflow:auto;font:12px/1.5 Arial,sans-serif;border-left:1px solid var(--line);padding-left:12px;scrollbar-width:thin}.preview-toc a{display:block;padding:5px 0;color:var(--muted);text-decoration:none;overflow-wrap:anywhere}.preview-toc a:hover{color:var(--accent)}.preview-toc strong{display:block;margin-bottom:12px}.article-breadcrumbs,.hero-top,.article-facts{display:none!important}img,svg{max-width:100%}pre{overflow-x:auto}html{scroll-behavior:smooth;scroll-padding-top:25px}body>.site-header,body>.masthead,body>header,body>.site-nav{display:none!important}.unified-hero,.hero-copy{animation:none!important;opacity:1!important;transform:none!important;filter:none!important}body>footer,.site-footer{max-width:1000px!important;width:calc(100% - 48px)!important;margin:40px auto 0!important;padding:22px 0!important;border-top:1px solid var(--line)}html[data-theme=dark] .unified-media,html[data-theme=dark] .article-section aside,html[data-theme=dark] .article-prose aside{background:var(--card)!important;color:var(--ink)!important}html[data-theme=dark] pre,html[data-theme=dark] .citation-box{background:var(--paper-deep)!important;color:var(--ink)!important}html[data-theme=dark] .hero-authors a{color:var(--ink)!important}
@media(max-width:1390px){.preview-toc{position:static;width:calc(100% - 48px);max-width:1000px;margin:20px auto 0;max-height:170px}}@media(max-width:700px){main,.preview-article-nav{width:calc(100% - 36px)!important}.unified-hero{padding-top:24px!important}.unified-hero h1{font-size:28px!important}.unified-hero>p,.article-prose p,.article-body p,.article-section p{font-size:15px!important}.unified-media{padding:14px!important}.hero-actions{gap:17px!important;flex-wrap:wrap}.preview-toc{width:calc(100% - 36px)}.article-layout{overflow-x:clip}.article h2,.article-section h2{font-size:23px!important}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.article-prose,.article-body,.article-section,.article-prose p,.article-body p,.article-section p,.article-prose li,.article-body li{font-family:Arial,Helvetica,sans-serif!important}.article-prose p,.article-body p,.article-section p{width:100%!important;max-width:none!important}.unified-media{box-shadow:none!important}.unified-media .schematic{max-width:100%}html[data-theme=dark] .article-prose,html[data-theme=dark] .article-body,html[data-theme=dark] .article-section{color:var(--ink)!important}.article-body p:last-child{margin-bottom:0!important}

html[data-theme=dark] body{--accent:#b6a3ed!important;--ink:#e8e8ec!important;--muted:#a9abb5!important;--paper:#191a1e!important}html[data-theme=dark] .hero-actions a,html[data-theme=dark] .article-prose a,html[data-theme=dark] .article-body a,html[data-theme=dark] .article-section a{color:#c2b1ef!important}

/* Editorial pass: consistent reading column, restrained hierarchy, aligned figures. */
main,.preview-article-nav{max-width:880px!important}.preview-article-nav{padding:22px 0}.unified-hero{padding:32px 0 23px!important;margin-bottom:25px!important}.unified-hero h1{font-size:32px!important;line-height:1.28!important;letter-spacing:-.035em!important;font-weight:650!important;margin:10px 0 14px!important;text-wrap:pretty}.unified-hero h1 em{font-weight:inherit!important}.unified-hero>p{font-size:15px!important;line-height:1.75!important}.unified-hero .hero-eyebrow,.unified-hero .eyebrow{font-size:10px!important;color:var(--muted)!important;letter-spacing:.09em!important}.preview-reading{font-size:12px;line-height:1.6;margin-bottom:14px}.hero-actions{margin-top:17px!important;gap:22px!important}.hero-actions a{font-size:13px!important;padding:6px 0!important}.unified-media{padding:20px 23px!important;border-radius:4px!important;margin-bottom:27px!important}.preview-toc{left:max(20px,calc(50vw - 650px));top:110px;width:175px;font-size:11px;line-height:1.6;border-left:0;padding-left:0}.preview-toc strong{font-size:10px;letter-spacing:.08em;color:var(--muted);margin-bottom:14px}.preview-toc a{padding:7px 0;border-left:1px solid var(--line);padding-left:13px}.preview-toc a:hover{border-color:var(--accent)}.article-lede,.evidence-note,.article-prose>.article-lede,.article-prose>.evidence-note{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}.article-lede{margin-top:0!important;margin-bottom:25px!important;padding:0!important;border:0!important}.article-lede p{margin:0!important}.evidence-note{background:var(--paper-deep)!important;border:1px solid var(--line)!important;border-left:3px solid var(--accent)!important;border-radius:3px!important;box-shadow:none!important;padding:18px 22px!important;margin-bottom:26px!important}.evidence-note::before{display:none!important}.evidence-note p{margin:0!important;font-size:14px!important}.wide-figure,.geometry-lab,.wide-figure-focus,.article-section>figure{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}.article-section{padding-top:25px!important;padding-bottom:25px!important}.article h2,.article-section h2,.article-prose h2{font-size:24px!important;line-height:1.4!important;margin:12px 0 19px!important}.article h3,.article-section h3{font-size:19px!important;line-height:1.5!important;margin:22px 0 10px!important}.article-body p,.article-prose p,.article-section p{font-size:16px!important;line-height:1.8!important;margin-top:0;margin-bottom:20px}.article-section>.eyebrow,.article-section>.section-label,.section-number{font:11px/1.5 Consolas,monospace!important;color:var(--muted)!important;letter-spacing:.06em}.article-section>header{margin-bottom:20px!important}.unified-media .cover-heading,.token-anatomy-head,.optimizer-anatomy-head,.hero-figure-head{font-size:10px!important;margin-bottom:18px!important;padding:0!important}.unified-media.cover-figure .cover-diagrams{display:grid;grid-template-columns:1fr 1fr;gap:24px}.unified-media.cover-figure .cover-path{padding:0!important;min-height:0!important}.unified-media.cover-figure .cover-path+.cover-path{border-top:0!important;border-left:1px solid var(--line);padding-left:24px!important}.unified-media.cover-figure .cover-path>p{display:block!important;margin:0 0 10px!important}.unified-media.cover-figure .cover-path>p>strong{font:400 23px/1.35 Georgia,serif!important;display:block;margin-top:6px}.unified-media.cover-figure .cover-path svg{width:100%!important;height:140px!important;display:block}.unified-media.cover-figure .cover-note{font:12px/1.7 Arial,sans-serif!important;margin:17px 0 0!important;color:var(--muted)}.unified-media.hero-figure img{display:block;width:100%!important;height:auto!important;max-height:380px;object-fit:contain}.unified-media figcaption{font:12px/1.7 Arial,sans-serif!important;color:var(--muted);margin-top:14px}.unified-media.token-anatomy,.unified-media.optimizer-anatomy{min-height:0!important;gap:0!important}.anatomy-word{font-size:34px!important;margin:12px 0!important}.anatomy-arrow{margin:10px 0!important;padding:0!important}.anatomy-tokens{min-height:34px!important;padding:7px 0!important}.anatomy-bytes{margin-top:7px!important}.anatomy-caption,.optimizer-caption{font-size:13px!important;margin:15px 0 0!important;padding-top:12px!important}.optimizer-flow{margin:15px 0!important;gap:15px!important}.flow-node{min-height:65px!important;padding:10px!important}.optimizer-equation-preview{padding:15px 0!important;margin:12px 0!important}.optimizer-legend{padding:10px 0!important;margin:0!important}.unified-media .hero-figure-head{margin-bottom:10px!important}.article-body,.article-prose{font-size:16px!important}.article-body blockquote{margin-left:0!important;margin-right:0!important}.article-section pre{border-radius:3px!important}.article-section table{max-width:100%}.article-prose>div:has(>table),.article-section>div:has(>table){overflow-x:auto}.site-footer,body>footer{max-width:880px!important;font:12px/1.6 Arial,sans-serif!important;margin-top:35px!important}.article-body{min-height:0!important}.article-body>p:last-child{margin-bottom:0!important}
@media(max-width:1390px){.preview-toc{max-width:880px;width:calc(100% - 48px);margin:15px auto 0;border-bottom:1px solid var(--line);padding-bottom:12px}.preview-toc strong{margin-bottom:6px}.preview-toc a{border-left:0;padding:4px 0}}@media(max-width:700px){.unified-hero h1{font-size:27px!important}.unified-hero{padding-top:23px!important}.unified-media{padding:17px!important}.unified-media.cover-figure .cover-diagrams{grid-template-columns:1fr;gap:17px}.unified-media.cover-figure .cover-path+.cover-path{border-left:0;border-top:1px solid var(--line)!important;padding:16px 0 0!important}.unified-media.hero-figure img{max-height:300px}.preview-toc{max-height:150px;width:calc(100% - 36px)}.article-body p,.article-prose p,.article-section p{font-size:15px!important}.optimizer-flow{gap:8px!important}.evidence-note{padding:15px!important}.article h2,.article-section h2{font-size:22px!important}} 

.article-prose li{max-width:none!important}.article-section h2,.article-section h3,.article-prose h2,.article-prose h3{max-width:none!important}.article-section p.section-label{font:10px/1.6 Consolas,monospace!important;color:var(--muted)!important;margin:0 0 10px!important;letter-spacing:.08em}article .lede,.caution-note,.theory-note{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}.caution-note,.theory-note{border-radius:3px!important;box-shadow:none!important}.unified-hero h1{color:var(--ink)!important}html[data-theme=dark] .evidence-note,html[data-theme=dark] .caution-note,html[data-theme=dark] .theory-note{background:var(--paper-deep)!important}

.unified-media.cover-figure .cover-diagrams{aspect-ratio:auto!important;grid-template-rows:auto!important;height:auto!important;margin:18px 0!important}.unified-media.cover-figure .cover-path{display:block!important;height:auto!important}.unified-media.cover-figure figcaption{margin:10px 0 0!important}.unified-media.cover-figure .cover-path svg{flex:none!important}.unified-media.hero-figure img{max-height:350px}

.article-body>p{margin:0 0 23px!important}.article-body>p:last-child{margin-bottom:0!important}

/* v12: keep teaching figures inside the reading column and math at prose scale. */
.pathway-visual{width:100%!important;max-width:100%!important;margin:24px 0 28px!important}
.pathway-visual .pv-scroll{max-width:840px;margin-inline:auto}
.pathway-visual .pv-footer,.pathway-visual .pv-description{margin-left:0!important;margin-right:0!important}
.pathway-visual .pv-description{font-size:13px!important;line-height:1.65!important;min-height:0!important;margin-top:12px!important;color:var(--muted)!important}
.pathway-visual .pv-footer{padding-top:10px;border-top:1px solid var(--line)}
.wide-figure figcaption{margin-left:0!important;max-width:none!important}
.article-section .section-kicker,.article-section .pathway-heading .eyebrow{font:10px/1.6 Consolas,monospace!important;letter-spacing:.08em!important;margin-bottom:10px!important}
.article-section .pathway-heading{margin-top:32px!important;padding-top:25px!important}
.article-section .evidence-copy h4{font:600 18px/1.45 Arial,Helvetica,sans-serif!important;letter-spacing:-.01em!important;margin:8px 0 12px!important}
.article-section .paper-figure{margin-top:24px;margin-bottom:26px}
.article-section .paper-figure figcaption{font-size:12px!important;line-height:1.65!important}
.equation,.equation.equation--compact,.insight-panel .equation{font-size:18px!important;line-height:1.5!important;margin:22px 0!important;padding:18px 12px!important}
.equation .katex{font-size:1.08em!important}
.equation .katex-display{margin:0!important}
.reduction-strip{margin:25px 0!important;background:transparent!important}
.reduction-strip>div{gap:7px 15px!important;padding:17px 22px 17px 0!important}
.reduction-strip>div+div{padding-left:22px!important}
.reduction-strip strong,.reduction-strip .math-stat{font-size:20px!important;line-height:1.4!important}
.reduction-strip .math-stat .katex{font-size:1em!important}
.reduction-strip p{font-size:13px!important;line-height:1.65!important;margin:0!important;color:var(--muted)!important}
.reduction-strip>div>span{font-size:9px!important}
.insight-panel{margin:27px 0!important;padding:4px 0 4px 20px!important}
.insight-panel .equation{padding-left:0!important;padding-right:0!important}
.metric-ribbon{margin:26px 0!important}
.metric-ribbon>div{padding-top:18px!important;padding-bottom:18px!important}
.metric-ribbon strong{font-size:24px!important;line-height:1.3!important}
.metric-ribbon>div>span{font-size:12px!important;line-height:1.6!important}
@media(max-width:700px){
  .pathway-visual .pv-scroll{margin:0}
  .pathway-visual .pv-svg{min-width:720px!important}
  .pathway-visual .pv-footer{flex-wrap:wrap;gap:8px 16px}
  .pathway-visual .pv-description{font-size:12px!important}
  .equation,.equation.equation--compact,.insight-panel .equation{font-size:16px!important;justify-content:flex-start!important;padding:15px 0!important;margin:18px 0!important}
  .reduction-strip>div,.reduction-strip>div+div{padding:15px 0!important}
  .reduction-strip strong,.reduction-strip .math-stat{font-size:19px!important}
}

.article-prose p.micro-label,.article-section .lab-heading p.eyebrow,.article-section .memory-kicker{font:10px/1.6 Consolas,monospace!important;letter-spacing:.07em!important;color:var(--muted)!important;margin:0 0 8px!important}
.reduction-strip>div>span{font-size:10px!important}
.formula-note{font-size:19px!important;padding:17px 16px!important;margin:24px 0!important;border-radius:3px!important;background:var(--paper-deep)!important}
.bpe-lab,.optimizer-lab,.memory-calculator{margin:32px 0 24px!important;padding:24px!important;border:1px solid var(--line)!important;border-radius:4px!important;background:var(--paper-deep)!important;box-shadow:none!important}
.bpe-lab::before,.optimizer-lab::before,.memory-calculator::before{display:none!important}
.lab-heading{gap:16px!important;align-items:start!important}
.article-section .lab-heading h3{margin:0 0 14px!important;font-size:18px!important}
.article-section .lab-intro{font-size:14px!important;line-height:1.75!important;margin-bottom:20px!important}
.article-section .control-block p,.article-section .trajectory-explanation,.article-section .memory-assumption,.article-section .lab-input-group>p{font-size:12px!important;line-height:1.6!important;margin:0!important;color:var(--muted)!important}
.lab-controls-panel{gap:15px!important;padding:16px!important}
.trajectory-panel,.lab-controls-panel,.memory-form,.memory-result,.lab-canvas,.lab-rules{border-radius:3px!important;background:var(--paper)!important;box-shadow:none!important}
.trajectory-panel{align-self:start}
.article-section .memory-total{margin:12px 0!important}
.memory-total strong{font-size:34px!important}
.lab-badge{font-size:8px;white-space:normal;max-width:190px;line-height:1.6}
@media(max-width:700px){.bpe-lab,.optimizer-lab,.memory-calculator{padding:16px!important}.formula-note{font-size:17px!important;padding:15px 12px!important}.lab-heading{flex-direction:column}.lab-badge{max-width:none}.article-section .lab-heading h3{font-size:17px!important}}

html{scrollbar-gutter:auto!important}
:root{--accent-ink:#34765b!important}html[data-theme=dark]{--accent-ink:#b6a3ed!important}
.article-lede a,.article-body a,.article-prose a:not(.figure-zoom),.article-section a:not(.figure-zoom){color:var(--accent)!important}
.lab-button--accent{background:var(--accent)!important;border-color:var(--accent)!important;color:var(--paper)!important}

/* Consistent research blog label decoration. */
.unified-hero>.eyebrow,.unified-hero>.hero-eyebrow{display:flex!important;align-items:center;gap:12px}.unified-hero>.eyebrow>.small-dot,.unified-hero>.hero-eyebrow>span[aria-hidden="true"]{display:inline-block!important;width:8px;height:8px;min-width:8px;flex:0 0 8px;border-radius:50%;background:linear-gradient(135deg,#78c9b0,#b5a1ed);margin:0}
