/* s12 — Limits: dropping gauges */
.slide .src.s12-src { bottom: 62px; max-width: 1680px; }
.s12-lead { font-size: 24px; color: var(--ink2); margin: 10px 0 0; }
.s12-k { font: 600 17px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 6px; vertical-align: 3px; }
.s12-k.pr { color: var(--ink2); border: 1px dashed var(--ink3); }
.s12-k.re { color: var(--red); border: 1px solid var(--red); }

.s12-row { position: absolute; left: 0; top: 168px; width: 1680px; height: 452px; display: grid; grid-template-columns: 372px 500px 410px 350px; gap: 16px; }
.s12-p { position: relative; padding: 20px 22px 18px; border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; }
.s12-ph b { display: block; font-size: 23px; line-height: 1.2; }
.s12-ph span { display: block; font: 500 15px var(--mono); color: var(--ink3); margin-top: 4px; letter-spacing: .02em; }
.s12-g { width: 100%; max-width: 270px; display: block; margin: 8px auto 0; overflow: visible; }
.s12-g .trk { fill: none; stroke: rgba(170, 230, 200, .12); stroke-width: 22; stroke-linecap: round; }
.s12-g .val { fill: none; stroke-width: 22; stroke-linecap: round; transition: stroke .4s; }
.s12-g .over { fill: none; stroke: rgba(255, 77, 94, .22); stroke-width: 22; }
.s12-g .budget { stroke: var(--gold); stroke-width: 3; }
.s12-g .band { fill: none; stroke: rgba(236, 247, 240, .7); stroke-width: 8; stroke-linecap: butt; }
.s12-g .ghost-n line { stroke: rgba(236, 247, 240, .5); stroke-width: 4; stroke-dasharray: 5 5; }
.s12-g .ndl line { stroke: var(--ink); stroke-width: 6; stroke-linecap: round; }
.s12-g .ndl circle { fill: var(--ink); }
.s12-g .tk { stroke: var(--ink4); stroke-width: 2; }
.s12-g .tl { font: 500 15px var(--mono); fill: var(--ink3); text-anchor: middle; }
.s12-p[data-p="4"] .s12-g { max-width: 230px; }
.s12-p:not(.dropped) .s12-g .val { stroke: var(--ink3) !important; }

.s12-v { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; flex-wrap: wrap; justify-content: center; }
.s12-num { font: 800 56px/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink2); transition: color .5s; }
.s12-u { font: 700 30px var(--font); color: var(--ink3); }
.s12-st { width: 100%; text-align: center; font: 500 16px var(--mono); letter-spacing: .03em; min-height: 22px; }
.s12-st i { font-style: normal; } .s12-st .a { color: var(--ink3); } .s12-st .b { display: none; color: var(--red); }
.s12-p.dropped .s12-st .a { display: none; } .s12-p.dropped .s12-st .b { display: inline; }
.s12-p.dropped .s12-num { color: var(--ink); }
.s12-p[data-p="1"].dropped .s12-num { color: var(--amber); }
.s12-p[data-p="2"].dropped .s12-num, .s12-p[data-p="4"].dropped .s12-num { color: var(--red); }
.s12 .s12-cap { margin: auto 0 0; font-size: 18px; line-height: 1.35; color: var(--ink2); }
.s12-cap b { color: var(--ink); font-weight: 600; }
.s12-p.dropped { border-color: rgba(255, 77, 94, .35); }
.s12-p[data-p="1"].dropped { border-color: rgba(255, 176, 32, .4); }

/* hero gauge: base rate (closes loop L3) */
.s12-hero { border-color: var(--line2); }
.s12-hero.dropped { box-shadow: 0 0 0 1px rgba(255, 77, 94, .2), 0 30px 90px rgba(255, 77, 94, .14); }
.s12-hrow { display: grid; grid-template-columns: 1fr 162px; gap: 12px; align-items: center; margin-top: 4px; }
.s12-hg .s12-g { max-width: 290px; }
.s12-hg .s12-num { font-size: 60px; }
.s12-hg .s12-st { font-size: 15px; }
.s12-dots-w { opacity: 0; }
.s12-dots { display: grid; grid-template-columns: repeat(10, 12px); gap: 4px; }
.s12-dots i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 77, 94, .75); transition: background .5s, box-shadow .5s; }
.s12-dots i.ok { background: var(--green); box-shadow: 0 0 10px 2px rgba(62, 224, 143, .8); }
.s12-dl { margin-top: 10px; font-size: 17px; color: var(--ink2); line-height: 1.3; opacity: 0; }
.s12-dl b { color: var(--ink); } .s12-n3 { font-size: 22px; }
.s12 .s12-l3 { font-size: 19px; line-height: 1.32; opacity: 0; color: var(--ink2); }
.s12 .s12-l3 b { color: var(--ink); }

/* zero-shot cards (not a gauge: n = 4) */
.s12-rep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 14px; }
.s12-r { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: rgba(255, 255, 255, .025); min-height: 92px; display: flex; flex-direction: column; justify-content: space-between; }
.s12-r b { display: block; font-size: 17px; line-height: 1.25; font-weight: 600; }
.s12-r .q { display: none; }
.s12-r .a { display: block; font: 600 15px var(--font); color: var(--ink3); margin-top: 6px; }
.s12-r .a em { font-style: normal; color: var(--violet); font-size: 17px; }
.s12-r.hot1 { border-color: rgba(255, 77, 94, .5); }
.s12-r .a { display: flex !important; align-items: center; gap: 6px; }
.s12-r .stamp { position: static; margin-left: auto; display: inline-block; font: 800 15px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red); border: 2px solid var(--red); border-radius: 6px; padding: 2px 6px; background: rgba(40, 6, 10, .85); }
.s12-lsum { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; font-size: 17px; color: var(--ink2); margin-top: 14px; }
.s12-lsum b { color: var(--ink); font-family: var(--mono); }
.s12-n4 { margin-top: auto; align-self: flex-start; font-size: 14px; white-space: nowrap; }

/* bottom: legal limit + closing line */
.s12-bot { position: absolute; left: 0; top: 640px; width: 1680px; display: grid; grid-template-columns: 820px 1fr; gap: 28px; align-items: stretch; }
.s12-law { padding: 18px 24px; border-radius: 18px; }
.s12-lh b { display: block; font-size: 22px; color: var(--gold); } .s12-lh span { display: block; font: 500 14px var(--mono); color: var(--ink3); margin-top: 2px; }
.s12-scope { display: flex; gap: 8px; margin: 10px 0 8px; }
.s12-scope span { font: 600 15px var(--mono); padding: 5px 12px; border-radius: 999px; border: 1px dashed var(--ink4); color: var(--ink4); text-decoration: line-through; }
.s12-scope span.on { border: 1px solid var(--gold); color: #1a1200; background: var(--gold); text-decoration: none; }
.s12 .s12-law p { margin: 0; font-size: 19px; line-height: 1.35; color: var(--ink2); }
.s12-law p b { color: var(--ink); font-weight: 600; }
.s12-close { display: flex; flex-direction: column; justify-content: center; border-left: 3px solid var(--amber); padding-left: 28px; }
.s12-close .quote { font-size: 32px; margin: 0; line-height: 1.3; }
.s12 .s12-design { margin: 10px 0 0; font-size: 21px; color: var(--ink2); }
.s12-design b { color: var(--gold); }

/* step 3: the ladder (3/100 is the raw-pixel figure, not the system's) */
.s12-lad { position: absolute; z-index: 4; }
.s12-lad.shown { transition: opacity .6s var(--ease-out), visibility 0s; }
.s12-lad.shown:not(.current-step) { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .5s var(--ease-out), visibility 0s .5s; }
.s12-ladon .s12-p[data-p="1"] { filter: brightness(.4) saturate(.6) !important; transition: filter .6s; }
.s12-lad-r { left: 904px; top: 168px; width: 776px; height: 690px; padding: 16px 22px 12px; border-radius: 20px; border: 1px solid rgba(76, 201, 240, .35); background: linear-gradient(180deg, #0b1d17, #07130e); box-shadow: 0 30px 90px rgba(0, 0, 0, .55); display: flex; flex-direction: column; }
.s12-lt b { display: block; font-size: 28px; line-height: 1.2; }
.s12-lt span { display: block; font: 500 22px var(--mono); color: var(--ink3); margin-top: 4px; }
.s12-rungs { position: relative; list-style: none; margin: 8px 0 0; padding: 0; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 0; }
.s12-rail { position: absolute; left: 23px; top: 26px; bottom: 26px; width: 4px; border-radius: 2px; background: linear-gradient(0deg, var(--red), var(--cyan) 22%, var(--cyan) 42%, var(--green) 56%, var(--violet) 74%, var(--gold)); }
.s12-rail::before { content: ''; position: absolute; left: -8px; top: -14px; border: 10px solid transparent; border-bottom: 14px solid var(--gold); border-top: 0; }
.s12-rg { position: relative; display: grid; grid-template-columns: 50px minmax(0, 1fr) 220px; gap: 16px; align-items: center; padding: 6px 14px 6px 0; border-bottom: 1px solid var(--line); flex: 1; }
.s12-rg:last-child { border-bottom: 0; }
.s12-b { position: relative; z-index: 1; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font: 700 26px/1 var(--font); font-style: normal; background: #07130e; border: 3px solid var(--c); color: var(--c); }
.s12-rg.cyan { --c: var(--cyan); } .s12-rg.green { --c: var(--green); } .s12-rg.violet { --c: var(--violet); } .s12-rg.gold { --c: var(--gold); } .s12-rg.raw { --c: var(--red); }
.s12-rg.raw .s12-b::after { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--red); }
.s12-rx b { display: block; font-size: 24px; line-height: 1.2; color: var(--ink); }
.s12-rx > span:not(.tag) { display: block; font-size: 22px; line-height: 1.25; color: var(--ink2); margin-top: 2px; }
.s12-rx .s12-tg { margin-top: 6px; font: 600 22px/1 var(--font); letter-spacing: .01em; text-transform: none; padding: 5px 12px; }
.s12-rf { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.s12-rf .fr { font: 500 22px/1.2 var(--mono); color: var(--ink3); }
.s12-rf .to { font: 800 36px/1.1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--c); }
.s12-rg.raw .to { color: var(--red); }
.s12-bar { position: relative; display: block; width: 100%; height: 10px; margin-top: 6px; border-radius: 5px; background: rgba(170, 230, 200, .12); overflow: hidden; }
.s12-bar i { position: absolute; top: 0; bottom: 0; left: 0; }
.s12-bar .f { background: var(--c); border-radius: 5px; }
.s12-bar .bd { background: var(--c); opacity: .45; }
.s12-bar .tk { width: 3px; margin-left: -1px; background: var(--ink); }
.s12-tbd { font: 600 22px/1.2 var(--font); font-style: normal; color: var(--gold); border: 2px dashed var(--gold); border-radius: 999px; padding: 8px 14px; white-space: nowrap; }

.s12-lad-b { left: 0; top: 640px; width: 888px; height: 218px; display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: stretch; }
.s12-prec { padding: 14px 20px; border-radius: 18px; border-color: rgba(62, 224, 143, .45); display: flex; flex-direction: column; justify-content: center; }
.s12-pk { font: 600 22px var(--mono); color: var(--green); }
.s12-pn { display: flex; align-items: baseline; gap: 12px; margin: 4px 0; }
.s12-pn b { font: 800 50px/1.05 var(--font); letter-spacing: -.02em; }
.s12-pn i { font-style: normal; font-size: 34px; color: var(--ink3); }
.s12 .s12-prec p { margin: 0; font-size: 19px; line-height: 1.3; color: var(--ink2); }
.s12-lmsg { display: flex; flex-direction: column; justify-content: center; border-left: 3px solid var(--green); padding-left: 24px; }
.s12-lmsg .quote { font-size: 29px; line-height: 1.3; margin: 0; }
.s12 .s12-lm2 { margin: 10px 0 0; font-size: 23px; line-height: 1.35; color: var(--ink2); }
.s12-lm2 b { color: var(--green); font-weight: 600; }
/* glossary chips (core/glossary.js): free band under the cards, steps 2–5; the ladder (st 3) and the law/close row (st 6+) take it over */
.s12 > .gl-chip { position: absolute; top: 640px; z-index: 2; }
.s12 > .s12-glr { left: 388px; width: 500px; }
.s12 > .s12-glt { left: 1330px; width: 350px; }
.s12-ladon > .gl-chip, .s12:has(.s12-law.shown) > .gl-chip { opacity: 0 !important; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility 0s .3s; }

/* polish pass: gauge tick labels ≥ 14px on stage (viewBox 340 is drawn at 230–290px) */
.s12-g .tl { font-size: 19px; }
.s12-p[data-p="4"] .s12-g .tl { font-size: 21px; }

/* measured result (pre-registered, data/out/precision): the queue's top-10 regions on the real 1-year pair */
.s12-rg.hi { background: linear-gradient(90deg, transparent 0 34px, rgba(62, 224, 143, .09) 60px); border-radius: 0 14px 14px 0; }
.s12-rg.hi .to { font-size: 40px; }
.s12-sys { padding: 14px 22px 14px; border-radius: 18px; border-color: rgba(62, 224, 143, .55); box-shadow: 0 0 0 1px rgba(62, 224, 143, .18), 0 24px 70px rgba(62, 224, 143, .12); display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.s12-sk { font: 600 17px var(--mono); color: var(--green); letter-spacing: 0; white-space: nowrap; }
.s12-sn { display: flex; align-items: center; gap: 18px; margin: 2px 0; }
.s12-sn > b { font: 800 66px/1 var(--font); letter-spacing: -.03em; color: var(--green); font-variant-numeric: tabular-nums; white-space: nowrap; }
.s12 .s12-sn p { margin: 0; font-size: 23px; line-height: 1.22; color: var(--ink); }
.s12-sn p b { font-weight: 700; }
.s12-sn p span { display: block; font: 500 19px/1.3 var(--mono); color: var(--ink2); margin-top: 4px; }
.s12 .s12-sf { margin: 0; font: 500 16px/1.4 var(--mono); color: var(--ink2); }
.s12-sf span { display: block; white-space: nowrap; }
.s12 .s12-l3b { display: none; font-size: 19px; line-height: 1.32; color: var(--ink2); }
.s12-syson .s12-hero .s12-l3 { display: none; }
.s12-syson .s12-hero .s12-l3b { display: block; }
.s12-l3b b.c-green { color: var(--green); }
.s12-prec .s12-pk { font-size: 19px; white-space: nowrap; }
.s12-prec .s12-pn b { font-size: 46px; }
/* pre-drop "59–65" is wide: keep it clear of the gauge's "0" tick label */
.s12-hero:not(.dropped) .s12-hg .s12-num { font-size: 50px; }
