:root {
  color-scheme: dark;
  --paper: #171817;
  --ink: #e9e7df;
  --body: #c9cac3;
  --muted: #999e96;
  --line: #343832;
  --accent: #b5c9d3;
  --wash: #1e211e;
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 30px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
::selection { color: #fff5dd; background: #4b5546; }
a { color: var(--accent); text-decoration-color: #63746f; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: #e7eee4; text-decoration-color: currentColor; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid #adc6b2; outline-offset: 5px; }
.skip { position: absolute; top: -80px; left: 24px; padding: 12px; background: var(--paper); z-index: 2; }
.skip:focus { top: 10px; }
.site-header, .site-footer { max-width: 900px; padding: 36px 48px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wordmark { color: #d9dcd3; font-size: 14px; font-weight: 450; text-decoration: none; letter-spacing: -.15px; }
.site-header nav { display: flex; align-items: center; gap: 25px; font-size: 12px; }
.site-header nav a { color: var(--muted); text-decoration: none; padding: 7px 0; }
.site-header nav a:hover { color: var(--ink); }
.site-header nav a span { font-size: 10px; }
.home { max-width: 800px; margin: auto; padding: 0 48px 110px; min-height: calc(100vh - 190px); }
.intro { padding: 90px 0 86px; }
.intro h1 { font-family: var(--serif); font-size: clamp(38px,5vw,52px); line-height: 1.14; font-weight: 400; letter-spacing: -1.6px; margin: 0 0 28px; }
.intro-copy { font-size: 17px; line-height: 1.85; max-width: 560px; color: #b4bab0; margin: 0; }
.section-label { margin-bottom: 12px; }
.section-label h2 { font: 400 13px var(--sans); color: #919c8e; margin: 0; }
.post-row { display: grid; grid-template-columns: 130px 1fr; gap: 28px; border-top: 1px solid var(--line); padding: 27px 0 29px; }
.post-meta { font-size: 11px; line-height: 1.7; color: #8d978a; padding-top: 7px; font-variant-numeric: tabular-nums; }
.post-copy h3 { font: 400 25px/1.35 var(--serif); letter-spacing: -.45px; margin: 0 0 11px; text-wrap: pretty; }
.post-copy h3 a { color: var(--ink); text-decoration: none; }
.post-copy h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #899680; }
.post-copy>p { font-size: 13px; line-height: 1.8; color: #9fa99a; margin: 0; }
.site-footer { font-size: 11px; color: #7f897c; padding-top: 30px; padding-bottom: 34px; }
.site-footer a { color: #969f91; text-decoration: none; }
.article-main { max-width: 796px; margin: auto; padding: 42px 48px 80px; }
.back-link { font-size: 12px; color: #919d8c; text-decoration: none; }
.article-header { padding: 44px 0 24px; }
.eyebrow { font-size: 11px; color: #94a18e; font-weight: 400; line-height: 1.6; }
.article-header .eyebrow { margin: 0 0 21px; }
.article-header h1 { font: 400 clamp(35px,4.7vw,47px)/1.15 var(--serif); letter-spacing: -1.25px; margin: 0; text-wrap: pretty; }
.dek { font-size: 17px; line-height: 1.8; color: #acb5a7; margin: 25px 0 0; }
.article-meta { display: flex; gap: 12px; margin-top: 25px; color: #8b9785; font-size: 11px; }
.contents { color: #929f8b; font-size: 12px; padding: 0 0 22px; margin: 0 0 32px; border-bottom: 1px solid var(--line); }
.contents summary { cursor: pointer; width: fit-content; }
.contents nav { padding-top: 12px; line-height: 1.9; }
.contents ol { margin: 0; padding-left: 20px; }
.prose { font-size: 17px; line-height: 1.9; color: var(--body); overflow-wrap: break-word; }
.prose>p { margin: 0 0 25px; }
.prose h2 { font: 400 31px/1.3 var(--serif); letter-spacing: -.6px; color: var(--ink); margin: 58px 0 23px; text-wrap: pretty; }
.prose h3 { font-size: 19px; font-weight: 500; line-height: 1.5; color: var(--ink); margin: 37px 0 16px; letter-spacing: -.2px; }
.prose strong { font-weight: 600; color: #e0e5d9; }
.heading-link { font: 13px var(--sans); color: #8fa385; margin-left: 10px; text-decoration: none; opacity: 0; }
.prose h2:hover .heading-link, .prose h3:hover .heading-link, .heading-link:focus { opacity: 1; }
.prose ul, .prose ol { padding-left: 23px; }
.prose li { margin: 8px 0; padding-left: 3px; }
.prose code { font: 13px/1.7 ui-monospace, SFMono-Regular, monospace; background: var(--wash); padding: 3px 5px; border-radius: 2px; }
.prose pre { overflow: auto; padding: 18px 20px; margin: 28px 0; background: var(--wash); border-left: 2px solid #596650; }
.prose pre code { background: none; padding: 0; white-space: pre; }
.prose blockquote { border-left: 2px solid #788c6c; color: #acb9a4; margin: 28px 0; padding-left: 21px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
.math-block { overflow-x: auto; overflow-y: hidden; padding: 12px 0; margin: 25px 0; font-size: .95em; }
.math-block .katex-display { margin: .6em 0; }
.next-post { margin-top: 72px; padding-top: 25px; border-top: 1px solid var(--line); }
.next-post .eyebrow { margin: 0 0 13px; }
.next-post>a { font: 400 23px/1.45 var(--serif); text-decoration: none; color: #d4decc; }
.case-demo { margin: 35px 0; padding: 23px 0 25px; border-top: 1px solid #45513e; border-bottom: 1px solid #45513e; font-size: 13px; line-height: 1.7; }
.case-demo figcaption { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 20px; }
.case-demo .eyebrow { font-size: 13px; color: var(--ink); }
.demo-note { color: var(--muted); font-size: 11px; }
.case-demo label, .demo-label { display: block; font-size: 11px; color: #a1ae98; margin: 19px 0 8px; }
.case-demo input { width: 100%; background: #1c211b; border: 1px solid #4b5844; border-radius: 3px; color: var(--ink); padding: 12px; font-size: 15px; }
.example-buttons { display: flex; flex-wrap: wrap; gap: 15px; margin: 12px 0 23px; }
.example-buttons button { border: 0; border-bottom: 1px solid #526149; background: none; color: #acbba3; font-size: 10px; padding: 5px 0; cursor: pointer; border-radius: 0; }
.example-buttons button:hover { color: #dce9d3; border-color: #acbba3; }
.case-demo output { display: block; min-height: 40px; font: 13px/2.2 ui-monospace, SFMono-Regular, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.operator { display: inline-block; border: 1px solid #7f8760; border-radius: 2px; color: #c9d3a3; font-size: 9px; padding: 0 4px; margin: 0 3px; line-height: 1.6; vertical-align: middle; }
.demo-foot { font-size: 11px; color: var(--muted); margin: 14px 0 0; }
@media(max-width:650px) {
  .site-header, .site-footer { padding: 25px 26px; }
  .wordmark { font-size: 12px; }
  .site-header nav { gap: 18px; font-size: 11px; }
  .home { padding: 0 26px 65px; }
  .intro { padding: 65px 0 60px; }
  .intro h1 { font-size: 41px; letter-spacing: -1.2px; }
  .intro-copy { font-size: 16px; }
  .post-row { grid-template-columns: 1fr; gap: 10px; padding: 22px 0 26px; }
  .post-meta { padding: 0; font-size: 10px; }
  .post-copy h3 { font-size: 25px; line-height: 1.32; }
  .post-copy>p { font-size: 13px; }
  .article-main { padding: 30px 26px 65px; }
  .article-header { padding-top: 32px; }
  .article-header h1 { font-size: 37px; line-height: 1.17; letter-spacing: -.9px; }
  .dek { font-size: 16px; margin-top: 21px; }
  .prose { font-size: 16px; line-height: 1.85; }
  .prose h2 { font-size: 29px; margin-top: 46px; }
  .prose h3 { font-size: 18px; }
  .math-block { font-size: .83em; }
  .case-demo figcaption { display: block; }
  .demo-note { display: block; margin-top: 5px; }
}
@media print {
  :root { color-scheme: light; --paper:white; --ink:black; --body:#222; --muted:#555; --line:#ccc; --accent:#345d58; --wash:#f3f3f3; }
  .site-header, .site-footer, .back-link, .contents, .next-post, .heading-link, .example-buttons { display: none; }
  .article-main { max-width: none; padding: 0; }
  .article-header h1 { font-size: 30px; }
  .prose { font-size: 11pt; }
}
/* DiMuon: diagrams share the article's rhythm and work without a wide screen. */
.research-figure{margin:38px 0 42px;padding:28px;background:linear-gradient(145deg,#191f29,#161b22);border:1px solid #333e50;border-radius:12px;color:var(--ink);font-size:13px;line-height:1.65;overflow:hidden}
.research-figure figcaption{display:flex;flex-direction:column;gap:10px;margin-bottom:24px}
.research-figure figcaption>strong{font-size:19px;line-height:1.5;font-weight:500;letter-spacing:-.3px}
.figure-number{font:10px/1.6 ui-monospace,SFMono-Regular,monospace;text-transform:uppercase;letter-spacing:1.2px;color:#9eb6da}
.research-figure .figure-foot{font-size:12px;line-height:1.75;color:var(--muted);margin:22px 0 0;padding-top:17px;border-top:1px solid #303b4b}
.figure-intro{color:#b5bfce;font-size:13px;margin:0 0 20px}.lora-route{display:flex;align-items:center;gap:14px;padding:12px 0}.route-end{font-size:12px;color:#b8c8de;white-space:nowrap;display:flex;flex-direction:column;align-items:center;gap:8px}.route-end i{font:italic 22px Georgia,serif}.route-end b{font-size:25px;font-weight:400}.lora-branches{flex:1;display:flex;flex-direction:column;gap:20px}.lora-base,.lora-adapter{display:flex;align-items:center;gap:12px}.matrix-node{border:1px solid #5c789e;border-radius:7px;background:#24334a;min-width:66px;padding:13px 12px;text-align:center;display:flex;flex-direction:column;gap:4px}.matrix-node strong{font:italic 24px Georgia,serif;color:#d4e5ff}.matrix-node>span{font-size:10px;color:#b4c6df}.matrix-node.frozen{flex:1;background:#202731;border-color:#47515f}.matrix-node.frozen strong{color:#c5cad3}.route-arrow{color:#6f85a4;flex:1;text-align:center;font-size:21px}.rank-wire{flex:1;display:flex;flex-direction:column;align-items:center;font-size:9px;white-space:nowrap;color:#9eb6da}.rank-wire>span:last-child{font-size:21px;line-height:1.2}
.history-strip{display:flex;flex-wrap:wrap;align-items:center;gap:10px;border-left:2px solid #d8b184;padding:7px 0 7px 12px;font-size:11px;color:#bfc6d2;margin-bottom:20px}.history-strip b{color:#ecc79b;font:13px ui-monospace,monospace}.optimizer-steps{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0 26px}.optimizer-steps button{cursor:pointer;border:1px solid #42516a;background:#1c2635;color:#b4c4dd;font-size:11px;padding:8px 10px;border-radius:5px;min-height:36px}.optimizer-steps button[aria-pressed=true]{background:#a8c7f6;border-color:#a8c7f6;color:#111d2e}.axis-chart{display:grid;gap:15px;padding:18px 0}.axis-chart>div{display:grid;grid-template-columns:47px 1fr 50px;align-items:center;gap:12px;font-size:11px}.axis-chart b{font:12px ui-monospace,monospace;text-align:right;color:#c9d9ef}.bar-track{height:18px;border-radius:3px;background:#252f3e;overflow:hidden}.bar-track>span{display:block;height:100%;background:#9fbff2;border-radius:3px;transition:width 220ms ease}.axis-chart>div:nth-child(2) .bar-track>span{background:#d6ac7b}.stage-explanation{font-size:13px;color:#c2ccdb;margin:18px 0 0;min-height:92px}.isolation-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;list-style:none!important;padding:0!important;margin:0!important}.isolation-steps li{display:flex;flex-direction:column;gap:8px;padding:0;margin:0;font-size:12px;color:#aab8cc}.isolation-steps strong{font-size:13px}.mini-pair{height:58px;display:flex;align-items:flex-end;gap:7px;padding:8px 0;margin-bottom:8px}.mini-pair i{display:block;width:24px;height:35px;background:#9fbff2;border-radius:3px 3px 0 0}.mini-pair i+ i{background:#d6ac7b}.mini-pair.unequal i{height:20px}.mini-pair.unequal i+ i{height:40px}.ratio-result{display:flex;gap:22px;flex-wrap:wrap;margin-top:24px;padding-top:16px;border-top:1px solid #303b4b;color:#aab8cc;font-size:11px}.ratio-result>span{display:flex;flex-direction:column;gap:5px}.ratio-result b{font:14px ui-monospace,monospace;color:#d8e5f9}.rounding-figure svg{display:block;width:100%;height:auto;overflow:visible;font-family:ui-monospace,SFMono-Regular,monospace}
.replay-input{padding:13px;text-align:center;border:1px solid #4b5f7d;border-radius:6px;background:#253148;color:#c9d9f2;font-size:12px}.replay-fork{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:24px 0 20px}.replay-fork>div{position:relative;border:1px solid #3d4c62;border-radius:7px;padding:17px 13px;display:flex;flex-direction:column;gap:6px}.replay-fork>div:before{content:'';position:absolute;height:24px;width:1px;left:50%;top:-25px;background:#52647d}.replay-fork strong{font-size:13px}.replay-fork>div>span{font-size:11px;color:var(--muted)}.checkpoints{display:flex;gap:8px;margin-top:12px}.checkpoints i{display:grid;place-items:center;width:27px;height:27px;font:11px ui-monospace,monospace;color:#a5dfc8;background:#203b36;border:1px solid #41685b;border-radius:50%}.replay-result{display:flex;flex-direction:column;gap:7px;color:#a9d9c8;font-size:12px}.replay-result b{font-weight:500;color:#c6e9dc}.replay-result>span{font-family:ui-monospace,monospace;font-size:11px}.equation-details{border:1px solid #364253;border-radius:8px;margin:28px 0;padding:17px 20px;font-size:15px}.equation-details summary{cursor:pointer;color:#bfd4f3;font-size:13px}.equation-details>p{margin:20px 0 0}.equation-details .math-block{font-size:.88em;margin:18px 0}.article-update{font-size:12px;color:#91a0b5;margin:0 0 26px}.prose .part-marker{font:11px ui-monospace,monospace;color:#9fbff2;letter-spacing:1.5px;text-transform:uppercase;display:block;margin:54px 0 -25px}
@media(max-width:650px){.research-figure{padding:20px 17px;margin:30px 0 34px}.research-figure figcaption>strong{font-size:17px}.lora-route{gap:7px}.lora-base,.lora-adapter{gap:5px}.matrix-node{min-width:48px;padding:11px 8px}.matrix-node>span{font-size:9px}.route-end{font-size:10px}.route-arrow{font-size:17px}.rank-wire{font-size:8px}.history-strip{font-size:10px}.optimizer-steps button{font-size:10px;padding:7px 8px}.axis-chart>div{gap:8px;grid-template-columns:40px 1fr 44px}.stage-explanation{min-height:115px}.isolation-steps{grid-template-columns:1fr;gap:18px}.isolation-steps li{display:grid;grid-template-columns:52px 1fr;column-gap:12px;row-gap:3px}.mini-pair{grid-row:span 2;height:52px;margin:0}.mini-pair i{width:18px}.replay-fork{gap:11px}.replay-fork>div{padding:14px 9px}.replay-fork strong{font-size:11px}.replay-fork>div>span{font-size:10px}.checkpoints{gap:5px}.checkpoints i{width:23px;height:23px}.equation-details{padding:15px}.ratio-result{gap:18px}}
@media(prefers-reduced-motion:reduce){.bar-track>span{transition:none}}
@media print{.research-figure{background:#f5f7fa;color:#17212e;break-inside:avoid}.figure-number,.figure-foot,.figure-intro,.stage-explanation{color:#33435b!important}.equation-details{display:block}.optimizer-steps{display:none}}
.rounding-values{display:flex;justify-content:space-between;gap:14px;margin:0 8.5%;font:12px/1.8 ui-monospace,SFMono-Regular,monospace;color:#dbe4f2}
.sandwich-flow{display:grid;grid-template-columns:1fr 20px 1fr 20px 1fr;gap:10px;align-items:center}
.sandwich-flow>div{align-self:stretch;display:flex;flex-direction:column;gap:10px;padding:17px 13px;border:1px solid #42516a;border-radius:7px;background:#202c3d}
.sandwich-flow>div>strong{font-size:16px;font-weight:500}.sandwich-flow>div>span:last-child{font-size:12px;color:#b6c3d7}
.flow-index{font:11px ui-monospace,monospace;color:#a6c5f2}.flow-arrow{text-align:center;color:#9eb6da;font-size:20px}
.sandwich-flow .polar-step{background:#253a37;border-color:#41665e}.polar-step .flow-index{color:#9ad3bd}
.flow-finish{margin:20px 0 0;text-align:center;font-size:12px;color:#b6c3d7}
.polynomial-form{padding:14px 16px;border:1px solid #354257;border-radius:7px;background:#1c2431;margin-top:12px}
.polynomial-form>span{font:11px ui-monospace,monospace;color:#b4c2d7}.polynomial-form .math-block{margin:5px 0 0;padding:0;font-size:16px}
.horner-form{border-color:#44665e;background:#1c2d2a}.horner-form>span{color:#9ad3bd}
@media(max-width:650px){.sandwich-flow{grid-template-columns:1fr;gap:8px}.sandwich-flow>div{display:grid;grid-template-columns:25px 1fr;gap:5px 10px;padding:13px 15px}.sandwich-flow .flow-index{grid-row:span 2;padding-top:5px}.sandwich-flow>div>strong{font-size:15px}.sandwich-flow .flow-arrow{line-height:1;transform:rotate(90deg)}.polynomial-form{padding:12px}.polynomial-form .math-block{font-size:13px}}
@media(max-width:400px){.lora-route{display:grid;grid-template-columns:1fr;gap:16px}.route-end{flex-direction:row;justify-content:center}.lora-branches{width:100%}.rounding-values{margin:0;font-size:11px}}

/* Small, self-contained visual explanations. Motion only starts on request. */
.motion-figure{position:relative;background:radial-gradient(ellipse at 20% 0%,#23304466,transparent 65%),#171d26}
.motion-figure figcaption{margin-bottom:28px}.motion-figure .stage-kicker{font:10px/1.6 ui-monospace,SFMono-Regular,monospace;letter-spacing:1px;text-transform:uppercase;color:#9caec7}
.motion-caption{margin:24px 0 0;padding-top:18px;border-top:1px solid #334052;color:#c1cddd;font-size:13px;line-height:1.8;min-height:66px}
.motion-controls{display:flex;align-items:center;gap:10px;margin-top:18px}.motion-controls[hidden]{display:none}.motion-controls button{border:1px solid #445a76;background:#24344b;color:#d6e5fc;padding:8px 13px;border-radius:6px;font-size:11px;cursor:pointer;min-height:38px}.motion-controls button+button{background:transparent;color:#aebed4;border-color:#38475d}.motion-controls button:hover{border-color:#91b5ea;background:#2a3b55}.motion-controls [data-counter]{margin-left:auto;color:#91a4bf;font:11px ui-monospace,monospace;font-variant-numeric:tabular-nums}
.geometry-stages{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.geometry-card{position:relative;background:#1b2533;border:1px solid #35465d;border-radius:9px;padding:14px 12px;display:flex;flex-direction:column;gap:7px;transition:border-color .3s,background .3s}.geometry-card:nth-child(2){background:#1b2c2b;border-color:#35554d}.geometry-card svg{display:block;width:100%;height:auto;margin:0 0 5px}.geometry-card>strong{font-size:14px;font-weight:500}.geometry-card>span:last-child{font-size:11px;color:#a7b7cd;line-height:1.65}.plot-grid{stroke:#354458;stroke-width:1}.reference-circle{fill:none;stroke:#526078;stroke-dasharray:3 5}.shape-motion{transform-origin:90px 80px;transform:scaleY(var(--to))}.shape-motion ellipse{fill:#9dc1f21a;stroke:#b6cef4;stroke-width:1.6;vector-effect:non-scaling-stroke}.shape-axis{stroke:#e4ba82;stroke-width:2;vector-effect:non-scaling-stroke}.blue-axis{stroke:#a7c7f8}.geometry-card.is-current{border-color:#a2c5f5;background:#24354b;box-shadow:0 0 22px #7da5e110}.geometry-card.is-current .shape-motion{animation:axis-morph 1.25s cubic-bezier(.2,.7,.2,1) both}@keyframes axis-morph{from{transform:scaleY(var(--from))}to{transform:scaleY(var(--to))}}
.dot-product-label{font:11px ui-monospace,monospace;text-align:center;color:#aebed5;margin-bottom:13px}.dot-ribbon{display:flex;gap:5px;padding:12px 9px;background:#111923;border:1px solid #34445a;border-radius:7px}.dot-ribbon i{height:17px;flex:1;border-radius:2px;background:#9ebff0;opacity:.55;transition:opacity .3s,transform .3s}.dot-ribbon .chunk-1{background:#8bceb6}.dot-ribbon .chunk-2{background:#e1b881}.dot-ribbon i:nth-child(6),.dot-ribbon i:nth-child(12){margin-right:10px}.worker-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.worker{position:relative;margin-top:28px;background:#1d2939;border:1px solid #3b506e;padding:15px 7px;text-align:center;border-radius:8px}.worker-1{background:#1c2d2b;border-color:#365b50}.worker-2{background:#302a24;border-color:#60503b}.worker-wire{position:absolute;height:28px;width:1px;background:#5b6c82;top:-29px;left:50%}.partial-sum{font-size:25px;color:#d6e6fc;margin:10px 0}.worker-dots{font-size:18px;color:#9fb5d2;letter-spacing:4px}.precision-tag{display:inline-block;font:9px/1.5 ui-monospace,monospace;color:#c3ccda;border:1px solid #506079;padding:4px 7px;border-radius:4px;white-space:nowrap}.merge-wires,.learning-wires,.sharing-wires{display:block;width:100%;fill:none;stroke:#4d6585;stroke-width:1.5;overflow:visible}.sum-result{display:flex;gap:14px;align-items:center;justify-content:center;border:1px solid #496b61;background:#20312e;border-radius:7px;color:#b6dfce;font-size:25px;padding:12px}.sum-result span{font-size:12px}.splitk-figure[data-frame="0"] .dot-ribbon i{opacity:1;animation:chunk-lift .7s both;animation-delay:calc(var(--chunk)*100ms)}@keyframes chunk-lift{50%{transform:translateY(-5px)}}.splitk-figure[data-frame="1"] .worker{box-shadow:inset 0 0 24px #abcaff18}.splitk-figure[data-frame="1"] .worker-dots{animation:work-pulse .65s 2 alternate}.splitk-figure[data-frame="2"] .precision-tag{border-color:#f0c28e;color:#f5d2a6;background:#72502b55;animation:round-pulse .8s 1}.splitk-figure[data-frame="3"] .merge-wires{stroke:#9cd7c0;stroke-dasharray:6 4;animation:flow-dash 1.5s linear 1}.splitk-figure[data-frame="3"] .sum-result{border-color:#a5dac5}@keyframes flow-dash{to{stroke-dashoffset:-60}}@keyframes work-pulse{to{opacity:.3}}@keyframes round-pulse{50%{box-shadow:0 0 15px #e0b57966}}
.case-branches{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;text-align:center}.case-branches>div{display:flex;align-items:center;flex-direction:column;gap:9px;border-radius:8px;padding:10px 3px;border:1px solid transparent;transition:background .3s,border-color .3s}.word-variant{font:23px ui-monospace,SFMono-Regular,monospace;color:#dce7f7;letter-spacing:-.5px}.case-connector{font-size:17px;color:#526d90}.case-instruction{font:10px ui-monospace,monospace;letter-spacing:.6px;padding:6px 8px;border:1px solid #92734e;border-radius:4px;color:#ebc490;background:#3b302366}.case-instruction.no-op{border-color:#3d4c63;color:#9fb0ca;letter-spacing:0}.case-branches .is-current{background:#2d3f594d;border-color:#6e8db5}.case-branches .is-current .word-variant{color:#c9e1ff}.sharing-wires{margin-top:0}.shared-word{display:flex;flex-direction:column;gap:8px;align-items:center;margin:0 auto;background:#23394f;border:1px solid #719aca;border-radius:9px;width:170px;padding:16px}.shared-word>span{color:#acc2de;font:10px ui-monospace,monospace}.shared-word>strong{font:29px ui-monospace,monospace;color:#daeaff}.travel-dot{fill:#bcd6fb;stroke:none;opacity:0;cx:0;cy:0}.sharing-figure[data-frame] .travel-dot{opacity:1;animation:travel 1.2s ease-in-out both;offset-distance:100%}.sharing-figure[data-frame="0"] .travel-dot{offset-path:path('M100 0 V20 Q100 35 115 35 H285 Q300 35 300 50 V70')}.sharing-figure[data-frame="1"] .travel-dot{offset-path:path('M300 0 V70')}.sharing-figure[data-frame="2"] .travel-dot{offset-path:path('M500 0 V20 Q500 35 485 35 H315 Q300 35 300 50 V70')}@keyframes travel{from{offset-distance:0%;opacity:.2}to{offset-distance:100%;opacity:1}}
.document-groups{display:grid;grid-template-columns:1fr 1fr;gap:24px}.document-group>.stage-kicker{display:block;margin-bottom:13px}.document-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.document-card{padding:13px 10px;border:1px solid #4b6280;border-radius:6px;background:#1f2c3d;position:relative;transition:background .3s,border-color .3s}.document-name{font:11px ui-monospace,monospace;color:#c3d6f2}.document-lines{display:grid;gap:7px;margin:15px 0}.document-lines i{height:3px;background:#557599;border-radius:2px}.document-lines i:nth-child(2){width:75%}.document-lines i:nth-child(3){width:90%}.document-status{display:block;font-size:9px;line-height:1.6;color:#a9bad1}.future-doc{background:#1b242e;border-style:dashed;border-color:#465567}.future-doc .document-lines i{background:#3c4b5e}.document-group-note{display:block;font-size:10px;color:#9aabc1;margin-top:12px;line-height:1.6}.shared-base{display:grid;grid-template-columns:8px 1fr;column-gap:12px;row-gap:5px;padding:17px 21px;background:#23332f;border:1px solid #4b6d60;border-radius:8px;width:80%;margin:0 auto}.shared-base>strong{font-size:14px;font-weight:500;color:#c6e8d8}.shared-base>span:last-child{font-size:11px;color:#a0bdb2;grid-column:2}.base-pulse{height:8px;width:8px;border-radius:50%;background:#9cd8ba;margin-top:7px}.learning-figure[data-frame="0"] .prefix-group .document-lines i{animation:read-lines 1.2s ease-out both;transform-origin:left}.learning-figure[data-frame="1"] .shared-base{border-color:#a5dfc4;background:#2b483d}.learning-figure[data-frame="1"] .base-pulse{animation:round-pulse .6s 2}.learning-figure[data-frame="1"] .prefix-group .document-card{border-color:#8fb6e9}.learning-figure[data-frame="2"] .future-doc{border-style:solid;border-color:#8abca5;background:#223c32}.learning-figure[data-frame="2"] .future-doc .document-lines i{background:#7eb59a;animation:read-lines 1.2s ease-out both;transform-origin:left}@keyframes read-lines{from{transform:scaleX(.1);opacity:.3}to{transform:scaleX(1);opacity:1}}
@media(max-width:650px){.geometry-stages{gap:7px}.geometry-card{padding:11px 8px;gap:6px}.geometry-card>strong{font-size:12px}.geometry-card>span:last-child{font-size:10px}.geometry-card .stage-kicker{font-size:9px}.motion-caption{font-size:12px;min-height:83px}.worker-grid{gap:9px}.worker .stage-kicker{font-size:9px}.precision-tag{font-size:8px;padding:4px}.worker{padding:13px 4px}.partial-sum{font-size:23px}.worker-dots{font-size:15px;letter-spacing:2px}.sum-result span{font-size:11px}.case-branches{gap:7px}.word-variant{font-size:21px}.case-instruction{font-size:9px;padding:6px}.document-groups{gap:15px}.document-pair{gap:7px}.document-card{padding:11px 7px}.document-status{font-size:8px}.document-group>.stage-kicker{font-size:9px}.shared-base{width:94%}.motion-controls button{font-size:10px;padding:8px 10px}}
@media(max-width:390px){.geometry-card>span:last-child{font-size:10px}.geometry-card>strong{font-size:11px}.word-variant{font-size:18px}.case-instruction{font-size:8px}.document-pair{grid-template-columns:1fr}.document-lines{margin:9px 0;gap:5px}.document-status{font-size:9px}.worker-dots{letter-spacing:0}.precision-tag{font-size:9px}.dot-ribbon{gap:3px}.dot-ribbon i:nth-child(6),.dot-ribbon i:nth-child(12){margin-right:5px}}
@media(prefers-reduced-motion:reduce){.motion-figure *{animation:none!important;transition:none!important}.travel-dot{display:none}}
@media print{.motion-controls{display:none}.motion-figure *{animation:none!important}.motion-figure{break-inside:avoid}}

.sharing-figure[data-frame="0"] .travel-dot{animation-name:travel-left}.sharing-figure[data-frame="1"] .travel-dot{animation-name:travel-center}.sharing-figure[data-frame="2"] .travel-dot{animation-name:travel-right}
@keyframes travel-left{from{offset-distance:0%;opacity:.2}to{offset-distance:100%;opacity:1}}@keyframes travel-center{from{offset-distance:0%;opacity:.2}to{offset-distance:100%;opacity:1}}@keyframes travel-right{from{offset-distance:0%;opacity:.2}to{offset-distance:100%;opacity:1}}

/* Give each illustration its own visual voice; diagrams do not need UI chrome. */
.editorial-figure{background:none;border:0;border-radius:0;padding:8px 0 16px;overflow:visible}
.editorial-figure .figure-number{letter-spacing:.8px;text-transform:none;color:#9da8b8}
.editorial-figure figcaption>strong{font-size:21px}
.editorial-figure .motion-caption{min-height:0;border:0;padding:0;margin-top:22px;color:#aab7c8}
.editorial-figure .figure-foot{border:0;padding:0;margin-top:12px;font-size:11px;color:#8895a7}
.sandwich-figure .geometry-stages{gap:22px}.sandwich-figure .geometry-card{background:none;border:0;padding:0 5px;position:relative}.sandwich-figure .geometry-card+.geometry-card:before{content:'→';position:absolute;left:-21px;top:36%;font-size:20px;color:#778ba6}.sandwich-figure .geometry-card .stage-kicker{display:none}.sandwich-figure .geometry-card>strong{font-size:15px}.sandwich-figure .geometry-card>span:last-child{font-size:12px}.sandwich-figure .shape-motion ellipse{fill:#c2d9fa09;stroke:#c7d5e9}.sandwich-figure .geometry-card:nth-child(2) .shape-motion ellipse{stroke:#a1d3ba;fill:#a1d3ba0a}
.sharing-figure{padding:25px 24px 28px;border-top:1px solid #68513c;border-bottom:1px solid #68513c;background:linear-gradient(125deg,#2e241b55,transparent 75%);margin-top:32px}.sharing-figure .figure-number{color:#d6b690}.sharing-figure figcaption>strong{font-family:Georgia,serif;font-style:italic;font-weight:400;font-size:25px;color:#ead7bf}.sharing-figure .word-variant{font:32px Georgia,serif;color:#eadbc8}.sharing-figure .case-branches>div{padding:10px 0;border:0}.sharing-figure .case-instruction{background:none;border:0;border-bottom:1px solid #8b6948;border-radius:0;color:#e9b97e;padding:4px 0}.sharing-figure .no-op{border-color:transparent;color:#a49787}.sharing-figure .case-connector{color:#ad8b65}.sharing-figure .sharing-wires{stroke:#8c7357;stroke-dasharray:3 5;height:50px}.sharing-figure .shared-word{background:none;border:0;border-radius:0;padding:10px 0 2px}.sharing-figure .shared-word>strong{font:italic 58px Georgia,serif;letter-spacing:-2px;color:#f2dfc3}.sharing-figure .shared-word>span{color:#bfa88b;order:2}.sharing-figure .motion-caption{display:none}.sharing-figure .figure-foot{text-align:center;color:#a99a86;margin-top:20px}
.splitk-figure{border-left:2px solid #49615d;padding-left:22px}.splitk-figure .worker{background:none;border:0;border-top:2px solid #91acd1;border-radius:0;padding-top:12px}.splitk-figure .worker-1{border-color:#8bc2aa}.splitk-figure .worker-2{border-color:#c8a67d}.splitk-figure .dot-ribbon{background:none;padding:8px 0;border:0}.splitk-figure .precision-tag{border:0;padding:0;color:#acb9ca}.splitk-figure .sum-result{background:none;border:0;border-bottom:1px solid #3e554f;border-radius:0;justify-content:flex-start;padding:12px 0}.splitk-figure .partial-sum{margin:8px 0}.splitk-figure .worker-wire{background:#445365}.splitk-figure .motion-caption{margin-top:14px}
.horner-figure{background:none;border:0;border-radius:0;padding:10px 0}.horner-figure .polynomial-form{border:0;border-bottom:1px solid #394453;border-radius:0;background:none;padding:14px 0}.horner-figure .horner-form{border-left:2px solid #8ebfa8;border-bottom:0;padding-left:18px}.horner-figure .figure-foot{border:0;padding-top:0}
.ttt-scene{margin:40px -12px;padding:30px 24px 22px;background:#191d1c;border-top:2px solid #acb687;border-bottom:1px solid #41483c;color:#d6dfcf}
.ttt-scene figcaption{display:flex;flex-direction:column;gap:12px;margin-bottom:23px}.ttt-scene .figure-number{color:#aab78d;letter-spacing:.8px}.ttt-scene figcaption strong{font:400 23px/1.45 Georgia,serif;color:#e1e2cb;max-width:410px}
.ttt-scene>svg{display:block;width:100%;overflow:visible;color:#697b6a}.scene-label{font:17px ui-monospace,monospace;letter-spacing:2px;fill:#acbaa8}.scene-note{font:18px Georgia,serif;fill:#a0af9d}.rail-label{font:15px ui-monospace,monospace;fill:#9aa793}.reading-paper rect,.flying-paper rect{fill:#e2d6b9;stroke:#e9dec7;stroke-width:1}.reading-paper text{fill:#4c5143;font:17px Georgia,serif}.reading-lines,.flying-paper path{stroke:#979a7d;stroke-width:2;fill:none}.scan-line{stroke:#876336;stroke-width:3;opacity:0}.buffer-tray{fill:#a1b58b06;stroke:#63765c;stroke-width:2}.buffer-paper{opacity:.12;transition:opacity .2s}.buffer-paper rect{fill:#c7cba5;stroke:#d3d7b8;stroke-width:1}.buffer-paper path{stroke:#6a7b5b;stroke-width:1.5}.buffer-paper text{font:10px ui-monospace,monospace;fill:#425338;text-anchor:middle}.buffer-paper.is-buffered{opacity:1}.delivery-rail,.training-rail,.return-rail{fill:none;stroke:#54694f;stroke-width:1.5}.return-rail{stroke-dasharray:4 5}.return-label{font:italic 20px Georgia,serif;fill:#9cad8f}.model-neurons circle{fill:#697c58;stroke:#a5b28b;stroke-width:1;transition:fill .6s}.model-version{fill:#c6d2b3;font:19px ui-monospace,monospace}.flying-paper{opacity:0;transform:translate(76px,100px)}
.ttt-scene[data-mode="score"] .scan-line{opacity:1;animation:scan-document 1.1s ease-in-out both}.ttt-scene[data-mode="store"] .reading-paper{opacity:.3}.ttt-scene[data-mode="store"] .flying-paper{animation:buffer-document 1s cubic-bezier(.3,.1,.2,1) both}.ttt-scene[data-mode="store"] .just-arrived{animation:arrive-in-buffer 1s step-end both}.ttt-scene[data-mode="sgd"] .training-rail{stroke:#d9cb8b;stroke-width:3;stroke-dasharray:6 4;animation:flow-dash 1.3s linear both}.ttt-scene[data-mode="sgd"] .sgd-label{fill:#eadc9a}.ttt-scene[data-mode="sgd"] .model-neurons circle{animation:learn-weights .9s ease-in-out both;animation-delay:calc(var(--i)*40ms)}.ttt-scene[data-version="1"] .model-neurons circle{fill:#a0b77f}.ttt-scene[data-version="2"] .model-neurons circle{fill:#c8d59c}.ttt-scene[data-version="1"] .return-rail,.ttt-scene[data-version="2"] .return-rail{stroke:#c3ce99}
@keyframes scan-document{from{transform:translateY(0)}to{transform:translateY(36px)}}@keyframes buffer-document{0%{transform:translate(76px,100px) rotate(-7deg);opacity:1}85%{opacity:1}100%{transform:translate(var(--paper-x),var(--paper-y)) rotate(0);opacity:0}}@keyframes arrive-in-buffer{0%{opacity:0}100%{opacity:1}}@keyframes learn-weights{50%{fill:#e8d48d;stroke:#fff0be}100%{fill:#b4c78b}}
.ttt-status{border-top:1px solid #3c4738;padding-top:18px}.phase-label{font:10px ui-monospace,monospace;text-transform:uppercase;letter-spacing:1px;color:#b1c18e}.ttt-status p{font-size:14px;line-height:1.7;color:#c0cbb7;min-height:48px;margin:10px 0 0}.ttt-controls{display:flex;gap:18px;align-items:center;margin-top:20px}.ttt-controls[hidden]{display:none}.ttt-controls button{cursor:pointer;font:12px/1.5 ui-monospace,monospace;padding:7px 0;color:#d6dbb6;background:none;border:0;border-bottom:1px solid #768159;border-radius:0;min-height:36px}.ttt-controls button:hover{color:#fff5cd;border-color:#cfda9d}.ttt-controls [data-ttt-count]{margin-left:auto;font:11px ui-monospace,monospace;color:#859775}.scene-foot{font:11px/1.7 ui-monospace,monospace!important;color:#87977c;margin:20px 0 0!important}
@media(max-width:650px){.editorial-figure{margin:30px 0;padding-top:0}.editorial-figure figcaption>strong{font-size:20px}.sharing-figure{padding:23px 12px}.sharing-figure figcaption>strong{font-size:24px}.sharing-figure .word-variant{font-size:28px}.sandwich-figure .geometry-stages{gap:16px}.sandwich-figure .geometry-card{padding:0}.sandwich-figure .geometry-card+.geometry-card:before{left:-15px;font-size:15px}.sandwich-figure .geometry-card>strong{font-size:13px}.sandwich-figure .geometry-card>span:last-child{font-size:11px}.splitk-figure{padding-left:16px}.ttt-scene{margin:32px -10px;padding:24px 16px 20px}.ttt-scene figcaption strong{font-size:22px}.ttt-scene .scene-label{font-size:18px}.ttt-scene .rail-label{font-size:17px}.ttt-status p{font-size:13px;min-height:66px}}
@media(max-width:390px){.sharing-figure .word-variant{font-size:25px}.ttt-scene .scene-label{font-size:20px;letter-spacing:0}.ttt-scene .scene-note{font-size:21px}.ttt-scene .rail-label{font-size:19px}.ttt-scene .return-label{font-size:23px}.ttt-controls{gap:14px}.ttt-controls button{font-size:10px}}
@media(prefers-reduced-motion:reduce){.ttt-scene *{animation:none!important;transition:none!important}.ttt-scene .flying-paper{display:none}.ttt-scene .just-arrived{opacity:1}}
@media print{.ttt-controls{display:none}.ttt-scene *{animation:none!important}.ttt-scene{break-inside:avoid}}

.nano-figure{border-block:1px solid #44564f;padding:20px 0;color:#c4d0cc}
.nano-figure figcaption>strong{font:400 24px/1.35 Georgia,serif}
.nano-matrices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8%;max-width:520px;margin:auto}
.nano-matrices span,.nano-matrices small{display:block;font:12px/1.6 ui-monospace,monospace;color:#c1cec9}
.nano-matrices svg{display:block;width:100%;margin:12px 0}
.nano-vote{border-color:#65543e}
.nano-vote figcaption>strong{color:#ead7bf}
.nano-vote>p:not(.figure-foot){font-size:15px}
.nano-bar,.nano-slider:not([hidden]){display:grid;grid-template-columns:1fr auto;gap:5px 10px;margin:13px 0;font:13px/1.5 ui-monospace,monospace}
.nano-bar i,.nano-slider input{grid-column:1/-1;width:100%}
.nano-bar i{height:12px;background:#29313a}.nano-bar em{display:block;height:100%;background:#9ab7d3}
.nano-after em{background:#dfb67d}.nano-slider input{accent-color:#dfb67d;margin:4px 0}
.kl-figure svg{display:block;width:100%;height:auto}.kl-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:11px;color:#aab8cc;margin:14px 0 0}.kl-legend span{display:flex;align-items:center;gap:7px}.kl-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}.ptq-dot{background:#d6ac7b}.qad-dot{background:#9fbff2}.growth-chart{display:grid;gap:13px;padding:18px 0 4px}.growth-chart>div{display:grid;grid-template-columns:78px 1fr 92px;align-items:center;gap:12px;font-size:11px}.growth-chart b{font:11px ui-monospace,monospace;color:#c9d9ef;font-weight:400}.growth-chart em{font:11px ui-monospace,monospace;font-style:normal;color:#c9d9ef;text-align:right}.bar-pair{display:grid;gap:4px}.growth-chart .bar-track{height:9px}.growth-chart .bar-track>span{background:#9fbff2}.growth-chart .bar-track.conf>span{background:#d6ac7b}@media(max-width:650px){.growth-chart>div{grid-template-columns:64px 1fr 78px;gap:8px}}.test-chart{display:grid;gap:14px;padding:16px 0 4px}.test-chart>div{display:grid;grid-template-columns:170px 1fr 44px;align-items:center;gap:12px;font-size:11px}.test-chart b{font:11px ui-monospace,monospace;color:#c9d9ef;font-weight:400}.test-chart em{font:12px ui-monospace,monospace;font-style:normal;color:#d8e5f9;text-align:right}.test-chart .bar-track{height:14px}.test-chart .base>span{background:#8494a8}.test-chart .bad>span{background:#c98a7a}.test-chart .good>span{background:#9fbff2}@media(max-width:650px){.test-chart>div{grid-template-columns:110px 1fr 38px;gap:8px}}
