/* use-case-life — this case study's own figure styles, scoped to .story. */
.story .tl .lane{font-size:10.5px;letter-spacing:.06em}
.story .tl .band{fill:var(--held-soft)}
.story .tl .bandt{fill:var(--held);font-size:10.5px}
.story .tl .uc{stroke:var(--recorded);stroke-width:4;fill:none;stroke-linecap:round}
.story .tl .ucdot{fill:var(--recorded)}
.story .tl .ink{fill:var(--fg);font-size:11px}
.story .tl .gov{stroke:var(--rule);stroke-width:2}
.story .tl .tick{stroke:var(--fg);stroke-width:2}
.story .tl .ring{fill:var(--st-surface);stroke:var(--fg);stroke-width:2}
.story .tl .ring.gap{stroke:var(--held);stroke-dasharray:3 3}
.story .tl .conn{stroke:var(--verified);stroke-width:1.2;stroke-dasharray:3 3}
.story .tl .nolink{stroke:var(--held);stroke-width:1.5;stroke-dasharray:4 4;fill:none}
.story .tl .gapt{fill:var(--held);font-size:10.5px}
.story .tl .amk{fill:var(--held)}
.story .gate{display:grid;grid-template-columns:96px minmax(0,1fr);gap:5px 10px;align-items:center;font-size:.8rem}
.story .gate .cost{display:flex;gap:3px;min-width:0}
.story .gate .cost span{font-family:var(--mono);font-size:.68rem;padding:3px 7px;border-radius:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.story .c-full{background:var(--fg);color:var(--st-surface);flex:1}
.story .c-self{background:var(--recorded-soft);color:var(--recorded);flex:0 0 38%}
.story .c-exp{background:var(--fg);color:var(--st-surface);flex:1}
.story .c-gone{opacity:.35}
.story .c-ghost{flex:1;border:1.5px dashed var(--held);color:var(--held)!important;background:transparent}
.story .gate .axis{font:500 .64rem var(--mono);color:var(--muted);letter-spacing:.04em}
.story .note{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:.8rem}
.story .disclose{border:1px dashed var(--verified);border-radius:8px;padding:10px 12px;font-size:var(--s-1);color:var(--muted);max-width:660px;margin-top:16px}
.story .disclose b{color:var(--fg)}
.story .qrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:center;padding:7px 0;border-bottom:1px solid var(--rule);font-size:.88rem;line-height:1.3}
.story .qrow .qchips{grid-column:1;display:flex;gap:4px;flex-wrap:wrap}
.story .qrow .qchips span{font-family:var(--mono);font-size:.64rem;color:var(--muted)}
.story .qrow .seg{grid-column:2;grid-row:1 / span 2}
.story .seg{position:relative;display:inline-flex;border:1px solid var(--rule);border-radius:6px;overflow:hidden}
.story .seg input{position:absolute;opacity:0;width:1px;height:1px}
.story .seg label{font:600 .74rem var(--body);padding:5px 9px;cursor:pointer;color:var(--muted);border-left:1px solid var(--rule)}
.story .seg label:first-of-type{border-left:0}
.story .seg input:checked+label{background:var(--fg);color:var(--st-surface)}
.story .seg input[value="unsure"]:checked+label{background:var(--held);color:var(--st-surface)}
.story .seg input:focus-visible+label{outline:2px solid var(--recorded);outline-offset:-2px}
.story .result{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:12px}
.story .col{border-radius:8px;padding:10px;border:1px solid var(--rule);min-width:0}
.story .col ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:3px;font-family:var(--mono);font-size:.7rem;overflow-wrap:anywhere}
.story .col.stated{background:var(--bg)}
.story .v-flag{color:var(--fg);font-weight:500}
.story .v-review{color:var(--held);font-weight:500}
.story .v-none{color:var(--muted)}
.story .overall{margin-top:12px;font:700 1rem var(--display)}
.story .review{margin-top:8px;font-size:.8rem;color:var(--held)}
.story .review.none{color:var(--muted)}
.story .retro{margin-top:4px;font-size:.8rem;color:var(--muted)}
.story .hlz{transition:box-shadow .35s;border-radius:8px}
.story .hlz.on{box-shadow:0 0 0 5px var(--st-surface),0 0 0 7px var(--fg)}
.story .rstrip{margin-top:14px;padding:10px 12px;border:1px solid var(--fg);border-radius:8px;display:grid;gap:8px;background:var(--st-surface)}
.story .rs-top{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px}
.story .rs-level{font:700 1.05rem var(--display)}
.story .lvlbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
.story .lvlbar span{font:600 .72rem var(--mono);text-align:center;padding:5px 4px;border:1.5px solid var(--rule);border-radius:4px;color:var(--muted);transition:background-color .2s ease-out,color .2s ease-out,border-color .2s ease-out}
.story .lvlbar span.cur{background:var(--fg);border-color:var(--fg);color:var(--st-surface)}
.story .lvlbar span.maybe{border-style:dashed;border-color:var(--held);color:var(--held);background:var(--held-soft)}
.story .rs-pills{display:flex;flex-wrap:wrap;gap:6px}
.story .pill{font:500 .72rem var(--mono);padding:2px 8px;border-radius:999px;border:1px solid var(--rule);color:var(--muted)}
.story .pill.flag{border-color:var(--fg);color:var(--fg)}
.story .pill.rev{border-color:var(--held);color:var(--held);background:var(--held-soft)}
.story .nghost{margin-top:12px;border:1.5px dashed var(--verified);border-radius:8px;padding:8px 10px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 10px;align-items:center;font:500 .68rem var(--mono);color:var(--muted)}
.story .nghost i{display:block;height:7px;border-radius:2px;background:var(--dot)}
.story .nghost .lab{grid-column:1 / -1;margin:0}
.story .nghost a{grid-column:1 / -1;font:600 .8rem var(--body)}
.story .pipe{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;align-items:center;font-size:.85rem;margin-top:6px}
.story .pipe .pk{font:500 .7rem var(--mono);color:var(--muted)}
.story .pipe .ar{grid-column:1 / -1;font:600 .8rem var(--mono);color:var(--muted);line-height:1;padding-left:4px}
.story .marks{display:inline-flex;flex-wrap:wrap;gap:3px}
.story .mk{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:4px;font:600 .68rem var(--mono);border:1px solid var(--rule);color:var(--muted)}
.story .mk.yes{background:var(--fg);color:var(--st-surface);border-color:var(--fg)}
.story .mk.unsure{border:1.5px dashed var(--held);color:var(--held)}
.story .swout{font:700 1rem var(--display);border-radius:4px;padding:1px 4px;margin-left:-4px;justify-self:start}
.story .swout s{color:var(--muted);font-weight:500}
.story .swout .chg{color:var(--held)}
.story .swout .ok{font:500 .72rem var(--mono);color:var(--recorded);margin-left:8px}
.story .swaphint{font-size:.78rem;color:var(--muted);margin-top:8px}
.story .selfref{margin-top:12px;font-size:.82rem}
.story .seg2 button:focus-visible, .story .rbtn:focus-visible, .story .rreset:focus-visible{outline:2px solid var(--recorded);outline-offset:2px}
.story .seg2 button:focus-visible{outline-offset:-3px}
.story .swap{display:grid;gap:6px}
.story .swap .row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 10px;border:1px solid var(--rule);border-radius:8px;font-size:.9rem}
.story .auth{display:grid;gap:5px}
.story .auth .row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center;font-size:.85rem}
.story .auth .holder{border:1.5px dashed var(--verified);border-radius:6px;padding:3px 8px;font-family:var(--mono);font-size:.7rem;color:var(--muted)}
.story .struck{text-decoration:line-through;color:var(--muted);font-size:.8rem;margin-top:8px}
.story .cstat{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.story .cstat span{font-family:var(--mono);font-size:.72rem;padding:2px 7px;border-radius:4px;border:1px solid var(--fg)}
.story .cstat .v{background:var(--fg);color:var(--st-surface)}
.story .cstat .p{border-style:dotted}
.story .gaps{display:grid;gap:8px}
.story .minilife{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:14px}
.story .ml-line{position:relative;display:grid;grid-template-columns:repeat(4,72px)}
.story .ml-line::before{content:"";position:absolute;left:36px;right:36px;top:5px;height:2px;background:var(--rule)}
.story .ml-s{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;font:500 .66rem var(--mono);color:var(--muted);white-space:nowrap}
.story .ml-s i{width:12px;height:12px;border-radius:50%;background:var(--st-surface);border:2px solid var(--verified);box-sizing:border-box}
.story .ml-s.on{color:var(--recorded)}
.story .ml-s.on i{background:var(--recorded);border-color:var(--recorded)}
.story .ml-label{font:500 .74rem var(--mono);color:var(--recorded);align-self:flex-start}
.story .notice{margin-top:14px}
.story .notice-out{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(24px,5vw,64px);align-items:start;padding-bottom:16px}
.story .notice-out .notice{margin-top:0}
.story .notice-lede{padding-left:20px;border-left:2px solid var(--fg)}
.story .notice-lede .kicker{font-family:var(--mono);font-size:var(--s-1);color:var(--muted);margin-bottom:8px;letter-spacing:.04em}
.story .notice-lede h3{font-size:var(--s2);font-weight:700;margin-bottom:10px}
@media (max-width:820px){
.story .notice-out{grid-template-columns:minmax(0,1fr);gap:12px}
.story .notice-lede{padding-left:14px}
}
.story .mail{border:1px solid var(--fg);border-radius:8px;overflow:hidden;font-size:.84rem;background:var(--st-surface)}
.story .mh{display:flex;gap:10px;align-items:baseline;padding:8px 10px;background:var(--bg);border-bottom:1px solid var(--rule)}
.story .mh span{font:500 .7rem var(--mono);color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.story .nd{display:grid;grid-template-columns:auto minmax(0,1fr);margin:0}
.story .nd dt, .story .nd dd{margin:0;padding:6px 10px;border-top:1px solid var(--rule)}
.story .nd dt:first-of-type, .story .nd dd:first-of-type{border-top:0}
.story .nd dt{font:500 .72rem var(--mono);color:var(--muted)}
.story .nd ul{margin:0;padding-left:1.1em}
.story .lim{padding:8px 10px;border-top:1px dashed var(--rule);font-size:.76rem;color:var(--muted)}
.story .swapctl{display:grid;grid-template-columns:auto auto;gap:8px 12px;align-items:center;justify-content:start;font-size:.85rem}
.story .seg2{justify-self:start;display:inline-flex;border:1px solid var(--rule);border-radius:6px;overflow:hidden}
.story .seg2 button{font:600 .76rem var(--body);border:0;background:var(--st-surface);color:var(--muted);padding:5px 10px;cursor:pointer;border-left:1px solid var(--rule)}
.story .seg2 button:first-child{border-left:0}
.story .seg2 button[aria-pressed="true"]{background:var(--fg);color:var(--st-surface)}
.story .swapout{margin-top:10px;font-size:.95rem}
.story .swapnote{font-size:.8rem;color:var(--muted);margin-top:2px}
.story .swapnote.changed{color:var(--held)}
.story .race{position:relative;padding-top:16px;margin-top:4px}
.story .race .cut{position:absolute;top:0;bottom:-3px;left:calc(94px + (100% - 94px) * .45);border-left:1.5px dashed var(--fg)}
.story .race .cut b{position:absolute;top:-2px;left:4px;font:500 .62rem var(--mono);color:var(--fg);white-space:nowrap}
.story #between .graphic .mini.dim:not(.on){display:none}
.story .hatchkey{display:inline-block;width:18px;height:10px;border-radius:2px;background:repeating-linear-gradient(135deg,var(--held) 0 2px,var(--held-soft) 2px 6px)}
.story .rgrid{display:grid;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);align-items:stretch}
.story .rcard{border:1px solid var(--fg);border-radius:8px;padding:8px 9px;background:var(--st-surface);font-size:.76rem;line-height:1.35;min-width:0}
.story .rcard.b{border-style:dashed;border-color:var(--verified);display:grid;align-content:center;justify-items:start}
.story .reassess.done .rcard.b{border:1px solid var(--fg);align-content:start}
.story .rc-k{font:500 .62rem var(--mono);color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-top:4px}
.story .rcard > .rc-k:first-child, .story .rb-full > .rc-k:first-child{margin-top:0}
.story .rc-ref{font:600 .8rem var(--mono);margin-top:2px}
.story .rc-sum{margin-top:2px}
.story .rc-chg{margin-top:4px;color:var(--recorded)}
.story .rc-id{margin-top:6px;font:500 .64rem var(--mono);color:var(--muted)}
.story .rc-id span{color:var(--held);border:1px dashed var(--held);border-radius:3px;padding:0 4px;margin-left:2px}
.story .rb-full, .story .reassess.done .rb-empty{display:none}
.story .reassess.done .rb-full{display:block}
.story .rlink{display:grid;place-items:center;align-content:center;gap:2px;opacity:0;transition:opacity .3s ease-out}
.story .reassess.done .rlink{opacity:1}
.story .rlink svg{width:40px;height:22px;overflow:visible}
.story .rl-arc{fill:none;stroke:var(--held);stroke-width:1.6;stroke-dasharray:3 3}
.story .rlink span{font:500 .6rem var(--mono);color:var(--held);white-space:nowrap}
.story .rbtn{font:600 .76rem var(--body);padding:6px 10px;border-radius:999px;border:1px solid var(--fg);background:var(--fg);color:var(--st-surface);cursor:pointer;text-align:left}
.story .rreset{display:none;margin-top:6px;font:500 .72rem var(--mono);border:0;background:none;color:var(--muted);text-decoration:underline;cursor:pointer;padding:0}
.story .reassess.done .rreset{display:inline}
.story .rmsg{margin-top:8px;font-size:.8rem}
.story .nojs-q{display:none}
.story .gapline{margin-bottom:6px}
.story .gapline text{font-size:10px}
.story .gl-base{stroke:var(--rule);stroke-width:2}
.story .gl-pt{fill:var(--st-surface);stroke:var(--fg);stroke-width:1.5}
.story .gl-arc{fill:none;stroke:var(--held);stroke-width:1.5;stroke-dasharray:4 4}
.story .gm circle{fill:var(--st-surface);stroke:var(--held);stroke-width:1.5}
.story .gm text{fill:var(--held);font:600 10px var(--mono)}
.story .gapline.g1 .m1 circle, .story .gapline.g2 .m2 circle, .story .gapline.g3 .m3 circle, .story .gapline.g4 .m4 circle, .story .gapline.g0 .gm circle{fill:var(--held)}
.story .gapline.g1 .m1 text, .story .gapline.g2 .m2 text, .story .gapline.g3 .m3 text, .story .gapline.g4 .m4 text, .story .gapline.g0 .gm text{fill:var(--st-surface)}
.story .gnum{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--held);color:var(--st-surface);font:600 .7rem var(--mono)}
.story .gapcard{border:1px solid var(--rule);border-radius:8px;padding:10px 12px}
.story .gapcard h4{font:600 .92rem var(--body);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.story .mini{margin-top:8px;font-size:.78rem}
.story .bars{display:grid;gap:4px}
.story .bars .row{display:grid;grid-template-columns:86px minmax(0,1fr);gap:8px;align-items:center;font-family:var(--mono);font-size:.7rem;color:var(--muted)}
.story .bar{height:12px;border-radius:3px;display:block}
.story .bar.wait{width:45%;background:var(--fg)}
.story .bar.calc{width:72%;background:linear-gradient(90deg,var(--verified) 0 62.5%,transparent 62.5%),repeating-linear-gradient(135deg,var(--held) 0 2px,var(--held-soft) 2px 6px)}
@media (max-width: 820px){
.story .stage .t .chips{display:none}
.story .m-fig .stage .t .chips{display:flex}
.story .qrow{font-size:.84rem}
}
