/* Article-specific explainers. All controls and motion are local to the figure. */
.blog-visual-ready>img,.blog-visual-ready>picture,.blog-visual-ready>figcaption{display:none}
.blog-content .bv{margin:34px 0;padding:24px 0;border-top:2px solid #0d110f;border-bottom:1px solid #d4d4d4;color:#0d110f;font-family:var(--sans,Arial,sans-serif)}
.blog-content .bv h3{font-size:var(--figure-title-size);line-height:1.35;margin:0 0 8px;font-weight:500;letter-spacing:-.025em}
.blog-content .bv p{font-size:var(--figure-body-size);line-height:1.55;margin:0}
.bv .bv-kicker{font:11px/1.4 var(--mono);letter-spacing:.09em;text-transform:uppercase;margin-bottom:12px;color:#555b57}
.bv .bv-intro{max-width:600px;color:#555b57}
.bv-controls{display:flex;gap:18px;flex-wrap:wrap;align-items:end;margin:22px 0}
.bv-controls label{display:flex;flex:1 1 180px;flex-direction:column;gap:9px;font-size:var(--figure-label-size);line-height:1.4;min-width:0}
.bv-controls label>span{display:flex;justify-content:space-between;gap:10px}
.bv output{font-variant-numeric:tabular-nums;font-weight:600}
.bv input[type=range]{width:100%;min-height:30px;accent-color:#0d110f;margin:0;cursor:ew-resize}
.bv select{font:inherit;font-size:var(--figure-body-size);min-height:44px;padding:8px 32px 8px 10px;border:1px solid #aeb2af;background:#fff;color:#0d110f;border-radius:0;max-width:100%}
.bv button{font:500 14px/1.3 var(--sans,Arial,sans-serif);border:1px solid #0d110f;border-radius:0;padding:12px 16px;min-height:44px;background:#fff;color:#0d110f;cursor:pointer;white-space:normal}
.bv button:hover{background:#efeeea}
.bv button:focus-visible,.bv input:focus-visible,.bv select:focus-visible{outline:3px solid #067a53;outline-offset:3px}
.bv button.bv-primary{background:#0d110f;color:#fff}
.bv button.bv-primary:hover{background:#28332c}
.bv button:disabled{opacity:.45;cursor:default}
.bv svg{display:block;width:100%;height:auto;overflow:visible;font-family:var(--sans,Arial,sans-serif)}
.bv svg text{fill:#0d110f;font-size:var(--figure-svg-label-size)}
.bv svg .bv-axis{fill:#626862;font-size:var(--figure-svg-label-size)}
.bv svg .bv-grid{stroke:#dedfda;stroke-width:1}
.bv svg .bv-line{fill:none;stroke:#0d110f;stroke-width:var(--figure-line-width)}
.bv svg .bv-dot{fill:#04f7a4;stroke:#0d110f;stroke-width:2}
.bv .bv-result{font-size:var(--figure-body-size);line-height:1.5;margin-top:16px;padding:12px 0;border-top:1px solid #d4d4d4;font-variant-numeric:tabular-nums}
.bv .bv-note{font-size:var(--figure-note-size);line-height:1.5;color:#626862;margin-top:10px}
.blog-content .bv .bv-note{font-size:var(--figure-note-size)}
.bv-legend{display:flex;flex-wrap:wrap;gap:10px 24px;font-size:13px;margin:12px 0;color:#555b57}
.bv-key::before{content:'';display:inline-block;width:10px;height:10px;margin-right:7px;background:#0d110f}
.bv-key-mint::before{background:#04f7a4;border:1px solid #067a53}
.bv-key-gray::before{background:#d4d4d4}
.bv-scheduler .bv-streams{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:22px 0}
.bv-stream{background:#efeeea;padding:12px 8px;text-align:center;font-size:12px}
.bv-stream strong{display:block;font-size:var(--figure-count-size);line-height:1.3}
.bv-stream.is-advancing{animation:bv-advance .6s ease-out 1}
@keyframes bv-advance{from{background:#04f7a4}to{background:#efeeea}}
.blog-content .bv .bv-stage-label{font-size:var(--figure-label-size);color:#555b57;margin:18px 0 8px}
.bv-prompt-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px}
.bv-prompt-token{height:26px;background:#efeeea;border:1px solid #c9ccc8;transition:background .25s}
.bv-prompt-token.is-processed{background:#04f7a4;border-color:#067a53}
.bv-step-budget{display:flex;gap:4px;min-height:26px}
.bv-step-token{flex:1;height:24px;background:#efeeea;border-bottom:3px solid #b7bcb7}
.bv-step-token.is-decode{background:#0d110f;border-color:#0d110f}
.bv-step-token.is-prefill{background:#04f7a4;border-color:#067a53}
.bv-pipeline .bv-stage{margin-top:24px}
.bv-motion-note{display:none}
@media(max-width:550px){
 /* SVG text scales with the plot; compensate on small screens. */
 .bv svg text,.bv svg .bv-axis{font-size:var(--figure-svg-mobile-label-size)}
 .bv select{font-size:16px}
 .bv-controls{gap:14px;margin:18px 0}
 .bv-controls label{flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){
 .bv *, .bv *::before{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .blog-content .bv .bv-motion-note{display:block;font-size:var(--figure-note-size);color:#626862;margin-top:8px}
}
@media print{
 .blog-visual-ready>img,.blog-visual-ready>picture,.blog-visual-ready>figcaption{display:block}
 .blog-visual-ready>.bv{display:none}
}
