/* =========================================================
   Stages page — 관점의 5단계
   Colors via design tokens only (dark mode safe).
   ========================================================= */

/* ---------- Hero ---------- */
.stages-hero {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: end;
}
.stages-hero .display { max-width: 14ch; }
@media (max-width: 900px) { .stages-hero { grid-template-columns: 1fr; align-items: start; } }

.abstract {
  padding: 1.2rem 1.3rem 1.1rem;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.abstract__title {
  margin: 0 0 .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.abstract .kv { font-size: 14px; gap: .55rem 1rem; }
.abstract .kv dd { line-height: 1.6; }
.abstract a { color: var(--accent); font-weight: 600; text-decoration: none; }
.abstract a:hover { text-decoration: underline; }

/* ---------- Premise ---------- */
.premise {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
@media (max-width: 860px) { .premise { grid-template-columns: 1fr; } }
.premise__label, .kicker-line {
  margin: 0 0 .5rem;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.premise h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: .8rem; }
.premise__intro p { color: var(--ink-2); max-width: 62ch; }
.premise__intro p:last-child { margin-bottom: 0; }
.premise__compare { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.1rem; }
.lens-card {
  position: relative; padding: 1.1rem 1.25rem;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg);
}
.lens-card--stage { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.lens-card:first-child::after {
  content: "↓"; position: absolute; left: 50%; bottom: -1.72rem; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 16px; line-height: 1; color: var(--accent);
}
.lens-card__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--ink-3); }
.lens-card--stage .lens-card__tag { color: var(--accent); }
.lens-card__q { margin: .3rem 0 .35rem; font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.lens-card__desc { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ---------- §01 Spectrum figure ---------- */
.spectrum__plot { max-width: 880px; margin-inline: auto; }
.spectrum__svg { display: block; width: 100%; height: auto; overflow: visible; }
.sp-grid line { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 5; }
.sp-grid line:first-child { stroke: var(--rule-strong); stroke-dasharray: none; }
.sp-step { fill: var(--s); opacity: .16; cursor: pointer; transition: opacity .2s; }
.sp-step:hover { opacity: .26; }
.sp-step.is-active { opacity: .4; }
.sp-curve { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.sp-react { fill: none; stroke: var(--signal); stroke-width: 1.6; stroke-dasharray: 5 5; stroke-linecap: round; opacity: .75; }
.sp-node { cursor: pointer; }
.sp-halo { fill: none; stroke: var(--s); stroke-width: 1.5; opacity: 0; transition: opacity .2s; }
.sp-dot { fill: var(--surface); stroke: var(--s); stroke-width: 3; transition: fill .2s, stroke-width .15s; }
.sp-node:hover .sp-dot { stroke-width: 4; }
.sp-node text {
  font-family: var(--font-mono); font-size: 14px; font-weight: 600;
  text-anchor: middle; fill: var(--ink); pointer-events: none;
}
.sp-node.is-active .sp-halo { opacity: .6; }
.sp-node.is-active .sp-dot { fill: var(--s); }
.sp-node.is-active text { fill: var(--paper); }
.sp-node[data-stage="1"].is-active text,
.sp-node[data-stage="2"].is-active text { fill: var(--ink); }

/* tabs only work with JS; without it every panel is shown in full */
html:not(.js) .stage-tabs, html:not(.js) .spectrum__hint { display: none; }
.stage-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; margin-top: .9rem; }
.stage-tab {
  position: relative; appearance: none; -webkit-appearance: none;
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  min-width: 0; padding: .7rem .4rem .75rem;
  background: transparent; color: var(--ink-2);
  border: 1px solid var(--rule); border-top: 3px solid var(--s);
  border-radius: 0 0 var(--radius) var(--radius);
  text-align: center; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.stage-tab:hover { background: var(--surface); border-color: var(--rule-strong); border-top-color: var(--s); color: var(--ink); }
.stage-tab[aria-selected="true"] {
  background: var(--surface); color: var(--ink);
  border-color: var(--ink); border-top-color: var(--s); box-shadow: var(--shadow);
}
.stage-tab__n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--ink-3); white-space: nowrap; }
.stage-tab[aria-selected="true"] .stage-tab__n { color: var(--ink); }
.stage-tab__name { font-family: var(--font-serif); font-size: 14.5px; font-weight: 700; line-height: 1.35; }
@media (max-width: 640px) {
  .stage-tab { padding: .55rem .2rem .6rem; }
  .stage-tab__n { font-size: 10px; letter-spacing: .02em; }
  .stage-tab__name { font-size: 12.5px; }
}
@media (max-width: 480px) {
  .stage-tab__n { font-size: 14px; font-weight: 600; letter-spacing: .04em; }
  .stage-tab__pre,
  .stage-tab__name {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

.spectrum__legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.2rem; margin-top: .9rem;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--ink-3);
}
.lg { display: inline-block; width: 22px; height: 0; margin-right: .45rem; vertical-align: middle; border-top: 2px solid var(--ink); }
.lg--react { border-top: 2px dashed var(--signal); }
.spectrum__hint { margin-left: auto; }
@media (max-width: 640px) { .spectrum__hint { display: none; } }

/* ---------- Stage panels ---------- */
.stage-panels { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.stage-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--s);
  border-radius: var(--radius-lg);
}
.stage-panel + .stage-panel { margin-top: 1.25rem; }
.stage-panel:focus-visible { outline-offset: 4px; }
.stage-panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.stage-panel__kicker { margin: 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.stage-panel__name { margin: .35rem 0 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.stage-panel__view {
  margin: 1rem 0 1.6rem; padding: .9rem 1.1rem;
  border-left: 3px solid var(--s);
  background: color-mix(in srgb, var(--s) 11%, transparent);
  font-family: var(--font-serif); font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 700; line-height: 1.45; color: var(--ink);
}
.stage-meter { display: inline-flex; align-items: flex-end; gap: 3px; flex-shrink: 0; padding-top: .2rem; }
.stage-meter i { display: block; width: 9px; background: var(--rule-strong); border-radius: 1px; opacity: .6; }
.stage-meter i:nth-child(1) { height: 8px; }
.stage-meter i:nth-child(2) { height: 12px; }
.stage-meter i:nth-child(3) { height: 16px; }
.stage-meter i:nth-child(4) { height: 20px; }
.stage-meter i:nth-child(5) { height: 24px; }
[data-stage="1"] .stage-meter i:nth-child(-n+1),
[data-stage="2"] .stage-meter i:nth-child(-n+2),
[data-stage="3"] .stage-meter i:nth-child(-n+3),
[data-stage="4"] .stage-meter i:nth-child(-n+4),
[data-stage="5"] .stage-meter i:nth-child(-n+5) { background: var(--s); opacity: 1; }

.stage-panel__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 760px) { .stage-panel__grid { grid-template-columns: 1fr; } }
.stage-panel h4 {
  margin: 1.5rem 0 .55rem;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.stage-panel__col > h4:first-child { margin-top: 0; }
.stage-panel p { font-size: 15.5px; color: var(--ink-2); }
.traits { list-style: none; margin: 0; padding: 0; }
.traits li {
  position: relative; padding: .45rem 0 .45rem 1.35rem;
  border-bottom: 1px dashed var(--rule); font-size: 15px; line-height: 1.6; color: var(--ink-2);
}
.traits li:last-child { border-bottom: 0; }
.traits li::before {
  content: ""; position: absolute; left: 0; top: 1.05em;
  width: 8px; height: 8px; border: 2px solid var(--s); border-radius: 50%;
}
.voices { display: grid; gap: .6rem; }
.stage-panel .voice {
  margin: 0; padding: .8rem 1rem;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  font-family: var(--font-serif); font-size: 15.5px; line-height: 1.6; color: var(--ink);
}
.voice__tag { display: block; margin-bottom: .25rem; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--ink-3); }
.stage-panel__practice {
  margin-top: 1.6rem; padding: 1rem 1.2rem;
  background: var(--surface); border: 1px dashed var(--rule-strong); border-radius: var(--radius);
}
.stage-panel__practice h4 { margin-top: 0; color: var(--accent); }
.stage-panel__practice p:last-child { margin-bottom: 0; }
.stage-panel__practice a { color: var(--accent); font-weight: 600; }
.stage-panel__nav {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem;
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
}
.stage-panel__nav a { color: var(--ink-2); text-decoration: none; }
.stage-panel__nav a:hover { color: var(--accent); text-decoration: underline; }
.stage-panel__nav .next { margin-left: auto; }

/* principles below the figure */
.principles { margin-top: clamp(2rem, 4vw, 2.75rem); }
.principle__n { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--accent); }
.principle h3 { margin: .5rem 0 .4rem; font-size: 1.1rem; }
.principle p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ---------- §02 Comparison table ---------- */
.compare-table { min-width: 900px; }
.compare-table tbody th { min-width: 160px; border-left: 3px solid var(--s); }
.compare-table .st { display: flex; align-items: flex-start; gap: .55rem; }
.compare-table .st small { display: block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; color: var(--ink-3); }
.compare-table .view { font-family: var(--font-serif); font-weight: 700; color: var(--ink); }
.compare-table .talk { font-family: var(--font-serif); color: var(--ink); }
.compare-table tbody tr:hover > * { background: var(--accent-soft); }
.compare-table a { color: inherit; text-decoration: none; }
.compare-table a:hover { color: var(--accent); text-decoration: underline; }
.s-dot { display: inline-block; width: 10px; height: 10px; margin-top: .45em; border-radius: 50%; background: var(--s); flex-shrink: 0; }
.table-note { margin: 1rem 0 0; font-size: 14px; color: var(--ink-3); }
.table-scroll-hint { display: none; margin: 0 0 .5rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3); }
@media (max-width: 960px) { .table-scroll-hint { display: block; } }

/* ---------- §03 Interpretation experiment ---------- */
.interp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 960px) { .interp-layout { grid-template-columns: 1fr; } }
.interp { padding: 0; overflow: hidden; }
.interp__head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .85rem 1.25rem; border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
.interp__count { font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.interp .progress { border-radius: 0; }
.interp__body { padding: clamp(1.2rem, 3vw, 2rem); }
.interp__foot {
  padding: .8rem 1.25rem; border-top: 1px solid var(--rule); background: var(--paper-2);
  font-size: 13px; line-height: 1.6; color: var(--ink-3);
}
.interp__q { margin: 0; padding: 0; border: 0; min-width: 0; }
.interp__q legend { width: 100%; padding: 0; margin-bottom: .5rem; }
.interp__kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.interp__title { margin: .4rem 0 0; font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
.interp__title:focus, .result__title:focus { outline: none; }
.interp__title:focus-visible, .result__title:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.interp__context { margin: .35rem 0 1rem; color: var(--ink-2); }
.interp__ask { margin: 0 0 .8rem; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-3); }
.opts { display: grid; gap: .55rem; }
.opt {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .85rem; align-items: start;
  padding: .85rem 1rem;
  background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--radius);
  cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
}
.opt:hover { border-color: var(--ink); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.opt__key {
  display: grid; place-items: center; width: 26px; height: 26px; margin-top: .05rem;
  border: 1px solid var(--rule-strong); border-radius: 50%;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--ink-2);
  transition: background .15s, color .15s, border-color .15s;
}
.opt__text { font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.opt.is-checked { border-color: var(--ink); background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.opt.is-checked .opt__key { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.opt:focus-within { border-color: var(--accent); } /* fallback where :has() is unsupported */
.opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.interp__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 1.25rem; }
.interp__nav .btn--primary { margin-left: auto; }

.interp-aside { font-size: 14px; }
.interp-aside h3 { margin: 0 0 .7rem; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.interp-aside .kv { font-size: 14px; }
.interp-aside .evidence { margin-bottom: 1rem; }
.interp-aside p { color: var(--ink-2); }
.interp-aside .callout { margin-top: 1.25rem; font-size: 14px; }

/* result */
.result__kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.result__title { margin: .4rem 0 0; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.result__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1rem; margin: 1.25rem 0; }
@media (max-width: 640px) { .result__grid { grid-template-columns: 1fr; } }
.score, .dist-fig { margin: 0; padding: 1.1rem 1.2rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.score__label, .dist-fig figcaption { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.score__num { margin-top: .4rem; font-family: var(--font-serif); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.score__num small { margin-left: .3em; font-family: var(--font-mono); font-size: .3em; font-weight: 500; color: var(--ink-3); }
.score__name { margin: .5rem 0 0; font-size: 14px; color: var(--ink-2); }
.scale {
  position: relative; height: 10px; margin: 1.1rem 9px .45rem; border-radius: 999px;
  background: linear-gradient(90deg, var(--s1), var(--s2), var(--s3), var(--s4), var(--s5));
}
.scale__mark {
  position: absolute; top: 50%; left: var(--pos, 0%);
  width: 18px; height: 18px; transform: translate(-50%, -50%);
  background: var(--surface); border: 3px solid var(--ink); border-radius: 50%;
}
.scale__ticks { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); }
.dist-fig figcaption { padding: 0; border: 0; margin-bottom: .6rem; }
.dist-fig .fig-label { font-size: 11px; }
.dist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; align-items: end; height: 150px; border-bottom: 1px solid var(--rule-strong); }
.dist li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .3rem; height: 100%; }
.dist__count { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.dist__bar { width: 100%; max-width: 40px; height: calc(var(--v, 0) * 104px); min-height: 2px; background: var(--s); border-radius: 2px 2px 0 0; transition: height .5s ease; }
.dist-labels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; margin-top: .35rem; text-align: center; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); }
.picks { list-style: none; margin: 0 0 1.25rem; padding: 0; border-top: 1px solid var(--rule); }
.picks li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); }
.picks__scene { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3); }
.picks__text { grid-column: 1; margin: 0; font-size: 15px; color: var(--ink-2); }
.picks__stage {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .2rem .6rem; border: 1px solid var(--rule-strong); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; white-space: nowrap; color: var(--ink-2);
}
.picks__stage .s-dot { margin-top: 0; width: 8px; height: 8px; }
@media (max-width: 480px) {
  .picks li { grid-template-columns: 1fr; }
  .picks__stage { grid-column: 1; grid-row: auto; justify-self: start; }
}
.result__msg { font-size: 16px; color: var(--ink-2); }
.result__msg strong { color: var(--ink); }
.result__actions { margin-top: 1.25rem; }
.result__note { margin: .9rem 0 0; font-size: 13px; color: var(--ink-3); }

/* ---------- §04 Research ---------- */
.research-card { display: flex; flex-direction: column; }
.research-card .evidence { align-self: flex-start; margin-bottom: .8rem; }
.research-card h3 { margin-bottom: .3rem; font-size: 1.12rem; }
.research-card__cite { margin: 0 0 .8rem; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em; color: var(--ink-3); }
.research-card__cite a { color: var(--accent); text-decoration: none; }
.research-card p { font-size: 15px; color: var(--ink-2); }
.research-card__link { margin: auto 0 0; padding-top: .8rem; border-top: 1px dashed var(--rule); font-size: 14px; }
.research-card__link b { display: block; margin-bottom: .2rem; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.research-card--wide { grid-column: 1 / -1; }
.map-figure { margin-top: clamp(2rem, 4vw, 2.75rem); }
.map-table { min-width: 640px; }
/* keep .visually-hidden descendants inside the scroll container (prevents page-level horizontal overflow) */
.map-figure .table-wrap, .compare-table, .map-table td, .dist li { position: relative; }
.map-table th.c, .map-table td.c { text-align: center; width: 64px; }
.map-table thead th.c { color: var(--ink); }
.map-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--s); vertical-align: middle; }
.map-dot--weak { background: transparent; border: 2px solid var(--s); }
.map-none { color: var(--rule-strong); }
.map-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: .8rem 0 0; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }
.map-legend .map-dot { --s: var(--ink-2); margin-right: .4rem; }
.caveat { margin-top: clamp(1.5rem, 3vw, 2rem); }
.caveat .evidence { margin-left: .4rem; }

/* ---------- §05 State, not technique ---------- */
.state-lede { max-width: 68ch; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); font-size: 16.5px; color: var(--ink-2); }
.state-lede p:last-child { margin-bottom: 0; }
.practice-card { display: flex; flex-direction: column; }
.practice-card__n { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.practice-card h3 { margin: .5rem 0 .5rem; font-size: 1.18rem; }
.practice-card p { font-size: 15px; color: var(--ink-2); }
.steps { margin: 0 0 1rem; padding-left: 1.25em; font-size: 14.5px; color: var(--ink-2); }
.steps li { margin: .3rem 0; }
.steps li::marker { font-family: var(--font-mono); color: var(--ink-3); }
.practice-card__links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--rule); }
.practice-card__links a { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.practice-card__links a:hover { text-decoration: underline; }
.prompts { list-style: none; counter-reset: prompt; margin: 0 0 .5rem; padding: 0; }
.prompts li {
  counter-increment: prompt; position: relative;
  padding: .5rem 0 .5rem 2rem; border-bottom: 1px dashed var(--rule);
  font-size: 14.5px; line-height: 1.6; color: var(--ink-2);
}
.prompts li:last-child { border-bottom: 0; }
.prompts li::before {
  content: counter(prompt, decimal-leading-zero); position: absolute; left: 0; top: .6rem;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-3);
}
.prompts li.is-today { color: var(--ink); font-weight: 600; }
.prompts li.is-today::before { color: var(--accent); }
.today-tag {
  display: inline-block; margin-left: .45rem; padding: 0 .4rem;
  border: 1px solid var(--accent); border-radius: 3px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; color: var(--accent); vertical-align: 1px;
}
.state-notes { margin-top: clamp(1.75rem, 4vw, 2.5rem); }
.state-notes .callout { height: 100%; }

/* ---------- References & related ---------- */
.refs-block { max-width: 880px; }
.refs-block .refs li { scroll-margin-top: calc(var(--header-h) + 24px); }
.refs-block .refs li:target { background: var(--accent-soft); outline: 1px solid var(--rule); border-radius: 2px; }
.related-card .card__kicker { display: block; }
.related-card .card__body { margin-top: .2rem; }

/* ---------- Generated illustrations (P2) ---------- */
.premise__intro .sec-plate { --plate-ar: 16 / 9; margin: 1.5rem 0 0; }
@media (max-width: 960px) { .interp-aside .sec-plate { max-width: 360px; } }
