/* ═══════════════════════════════════════════════════════
   PODUL ÎNALT 1475: a wet January survey sheet. Bone, pewter, blood-brown.
   One pinned hillshade story, one placement map, witness lanes, verdict.
   Engine pattern copied from turnul-din-dunare (hillshade-plan-story).
   ═══════════════════════════════════════════════════════ */

@font-face { font-family: 'Cormorant'; src: url('/podul-inalt-1475/assets/fonts/Cormorant.woff2?v=09515caf46') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('/podul-inalt-1475/assets/fonts/Cormorant-Italic.woff2?v=163033751d') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  --paper: #f1ece0; --surface: #e7e1d2; --surface-2: #d9d2bd; --stone: #b3a98f;
  --ink: #1c1a15; --ink-2: #38342a; --ink-3: #57503f; --ink-4: #6b6350;
  --accent: #7a2d12; --accent-bg: #f3ddd0;
  --blood: #7a2d12; --blood-bg: #f3ddd0;
  --marsh: #2e5a66; --marsh-bg: #d5e4e6;
  --fog: #8d8fa0;
  --sea: #ccd6d4; --land: #eae5d5; --land-edge: #a89e83; --river: #3d7285; --river-ink: #1f4a5a; --road: #8a7f63;
  --built: #dbd3bc; --water: #a9c6cf; --water-deep: #7fa8b5; --forest: #ccd3b4; --halo: rgba(241,236,224,.93); --scrim: rgba(241,236,224,.93);
  --focus: #1d5d83; --border: rgba(28,26,21,.17);
  --bar-h: 2.75rem; --measure: 38rem; --gap: clamp(1.5rem, 3vw, 3rem);
  --font-display: 'Cormorant', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Georgia', 'Times New Roman', serif;
}
:root[data-theme="dark"] {
  --paper: #141210; --surface: #1d1a16; --surface-2: #27231c; --stone: #4a4438;
  --ink: #ece7da; --ink-2: #d3cdbd; --ink-3: #b3ab97; --ink-4: #9a927e;
  --accent: #e09a5f; --accent-bg: #2c1d11;
  --blood: #e09a5f; --blood-bg: #2c1d11;
  --marsh: #7fc0d4; --marsh-bg: #12242b;
  --fog: #a9adbd;
  --sea: #0c1113; --land: #1c1a15; --land-edge: #4a4438; --river: #5b97ab; --river-ink: #9cc4d2; --road: #7d7260;
  --built: #2a251e; --water: #14313c; --water-deep: #0e2833; --forest: #1a2b22; --halo: rgba(20,18,16,.9); --scrim: rgba(20,18,16,.9);
  --focus: #8fc9e6; --border: rgba(236,231,218,.17);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #141210; --surface: #1d1a16; --surface-2: #27231c; --stone: #4a4438;
    --ink: #ece7da; --ink-2: #d3cdbd; --ink-3: #b3ab97; --ink-4: #9a927e;
    --accent: #e09a5f; --accent-bg: #2c1d11;
    --blood: #e09a5f; --blood-bg: #2c1d11;
    --marsh: #7fc0d4; --marsh-bg: #12242b;
    --fog: #a9adbd;
    --sea: #0c1113; --land: #1c1a15; --land-edge: #4a4438; --river: #5b97ab; --river-ink: #9cc4d2; --road: #7d7260;
    --built: #2a251e; --water: #14313c; --water-deep: #0e2833; --forest: #1a2b22; --halo: rgba(20,18,16,.9); --scrim: rgba(20,18,16,.9);
    --focus: #8fc9e6; --border: rgba(236,231,218,.17);
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: clamp(1.05rem, 1rem + .22vw, 1.17rem); line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }
.wrap-wide { max-width: 62rem; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--paper); color: var(--ink); padding: .5rem 1rem; }
.skip:focus { left: .5rem; top: .5rem; }

.topbar { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: .5rem; height: var(--bar-h); padding: 0 clamp(.75rem, 2vw, 1.25rem); background: var(--paper); border-bottom: 1px solid var(--border); font-family: var(--font-display); font-size: .95rem; letter-spacing: .02em; }
.topbar .home { color: var(--ink-3); text-decoration: none; white-space: nowrap; }
.topbar .home:hover { color: var(--ink); }
.topnav { display: flex; gap: .15rem; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 0 1 auto; }
.topbar .home, .topbar .chip, .topbar .icon-btn { flex: none; }
.topnav::-webkit-scrollbar { display: none; }
.topnav a { color: var(--ink-3); text-decoration: none; white-space: nowrap; padding: .25rem .5rem; border-radius: 4px; }
.topnav a:hover { color: var(--ink); background: var(--surface); }
.topnav a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.spacer { flex: 1; }
.chip { color: var(--ink-3); text-decoration: none; white-space: nowrap; padding: .2rem .6rem; border-radius: 4px; font-size: .9rem; }
.chip:hover { color: var(--ink); background: var(--surface); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: none; background: none; color: var(--ink-3); cursor: pointer; padding: 0; }
.icon-btn:hover { color: var(--ink); background: var(--surface); }
.icon-btn svg[hidden] { display: none; }

/* progress hairline with a little bridge riding it (decorative) */
.progress { position: fixed; top: var(--bar-h); left: 0; right: 0; height: 3px; z-index: 99; pointer-events: none; }
#prog { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
#pstamp { position: absolute; left: 0; top: -.95rem; width: 1.4rem; height: 1.05rem; color: var(--accent); transform: translateX(0); }
#pstamp svg { display: block; width: 100%; height: 100%; }

section { scroll-margin-top: calc(var(--bar-h) + 1rem); }
.block { padding: var(--gap) 0; }
.block + .block { border-top: 1px solid var(--border); }

h1 { font-family: var(--font-display); font-size: clamp(1.95rem, 1.2rem + 2.8vw, 3.4rem); line-height: 1.1; font-weight: 500; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); line-height: 1.15; font-weight: 500; color: var(--ink); margin-bottom: 1rem; text-wrap: balance; }
h2 .anchor { color: inherit; text-decoration: none; display: inline-block; min-height: 2.75rem; }
h2 .anchor:hover { text-decoration: underline; text-decoration-thickness: 1px; }
h3 { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; font-weight: 600; color: var(--ink); margin: .15rem 0 .5rem; }
.kicker { font-family: var(--font-display); font-size: 1rem; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; font-weight: 600; }
.deck { font-size: clamp(1.08rem, 1rem + .35vw, 1.26rem); line-height: 1.55; color: var(--ink-2); max-width: 38rem; margin: 1rem auto 0; }
.lede { font-size: 1.1rem; color: var(--ink-2); margin-bottom: 1.5rem; }
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1em; }
.nb { white-space: nowrap; }

.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.5rem, 4vw, 3rem); text-align: center; }
.hero-text { max-width: 50rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero-fig { margin: 0 auto; max-width: 72rem; padding: 0 clamp(.5rem, 2vw, 1.5rem); }
.hero-fig img { width: 100%; border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }
.hero-fig figcaption { font-size: .92rem; color: var(--ink-3); margin-top: .6rem; line-height: 1.45; text-align: left; max-width: 46rem; margin-left: auto; margin-right: auto; }
.cr { display: block; font-size: .85rem; margin-top: .25rem; }
.cr a { color: var(--ink-3); }
.hint { margin-top: 1.5rem; color: var(--ink-3); font-size: .95rem; }
.hint span { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* town picker */
.picker { margin: 1.5rem auto 0; max-width: 30rem; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.2rem; }
.picker label { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; display: block; margin-bottom: .35rem; }
.picker select { width: 100%; min-height: 2.75rem; font-size: 1.05rem; font-family: var(--font-body); color: var(--ink); background: var(--paper); border: 1px solid var(--border); border-radius: 6px; padding: .4rem .6rem; }
.picker .answer { margin-top: .6rem; color: var(--ink-2); font-size: 1rem; min-height: 1.6em; }
.picker .help { margin-top: .3rem; color: var(--ink-3); font-size: .88rem; }

.fig { margin: 1.5rem 0 0; }
.fig img { border-radius: 6px; }
.fig figcaption { font-size: .92rem; color: var(--ink-3); margin-top: .5rem; line-height: 1.45; }
.fig .cr { font-size: .85rem; display: block; margin-top: .25rem; }
.tag { display: inline-block; font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--border); border-radius: 3px; padding: .1rem .45rem; margin-left: .3rem; vertical-align: .08em; white-space: nowrap; }

/* ── Stories: stage + steps ─────────────────────────── */
.block-wide { padding-left: 0; padding-right: 0; }
.story { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 80rem; margin: 0 auto; padding: 0 clamp(.75rem, 3vw, 2rem); gap: 0; }
.stage { position: sticky; top: var(--bar-h); z-index: 5; height: 46svh; min-height: 15rem; background: var(--paper); padding: .5rem 0; }
.stage-in { position: relative; height: 100%; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.steps { padding: 0 0 12vh; }
.step { position: relative; margin: 0 0 min(55vh, 28rem); padding: 1.15rem 1.3rem; border: 1px solid var(--border); border-left: 4px solid var(--border); border-radius: 8px; background: var(--paper); transition: border-color .3s; scroll-margin-top: calc(var(--bar-h) + 48svh); }
.step:first-child { margin-top: 38vh; }
.step.on { border-left-color: var(--accent); }
.step p { font-size: 1rem; color: var(--ink-2); line-height: 1.58; }
.step p + p { margin-top: .6em; }
.step .note { font-size: .9rem; color: var(--ink-3); }
.step .yr-tag { font-family: var(--font-display); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: .1rem; }
@media (min-width: 62rem) {
  .story { grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr); gap: 1.75rem; }
  .stage { top: calc(var(--bar-h) + .5rem); height: calc(100svh - var(--bar-h) - 1.5rem); min-height: 24rem; background: transparent; padding: 0; }
  .step { margin-bottom: 70vh; scroll-margin-top: calc(var(--bar-h) + 2rem); }
  .step:first-child { margin-top: 30vh; }
}
@media (max-height: 34rem) { .stage { position: static; height: 70svh; } .step, .step:first-child { margin-top: 1.5rem; margin-bottom: 1.5rem; } }

/* ── Maps ───────────────────────────────────────────── */
.stage-row { flex: 1 1 0; min-height: 0; display: flex; }
.map { display: block; width: 100%; height: 100%; --fs: 9px; --r: 3.5px; touch-action: pan-y; flex: 1 1 0; min-width: 0; }
.map .frame-bg { fill: var(--surface); }
.map image { transition: opacity .6s; }
.map .dem-d { display: none; }
:root[data-theme="dark"] .map .dem-l { display: none; }
:root[data-theme="dark"] .map .dem-d { display: inline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map .dem-l { display: none; } :root:not([data-theme="light"]) .map .dem-d { display: inline; } }
.map .lay-forest path { fill: var(--forest); stroke: none; opacity: .8; }
.map .lay-water path { fill: var(--water); stroke: none; opacity: .9; }
.map .riv { fill: none; stroke: var(--river); stroke-width: 1.6px; vector-effect: non-scaling-stroke; stroke-linecap: round; opacity: .95; }
.map .riv.vaslui { stroke-width: 1.1px; opacity: .8; }
.map .road { fill: none; stroke: var(--road); stroke-width: 1.2px; vector-effect: non-scaling-stroke; opacity: .85; }
.map .road.dn24 { stroke: var(--ink-3); stroke-width: 2px; }
.map .march { fill: none; stroke: var(--blood); stroke-width: 2.2px; stroke-dasharray: 7 5; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .5s; }
.map[data-march="1"] .march { opacity: .9; }
.map .fogbank { fill: var(--fog); opacity: 0; transition: opacity 1.2s; }
.map[data-fog="1"] .fogbank { opacity: .55; }
.map[data-fog="1"] .fogbank.f2 { opacity: .35; }
.pt { transition: opacity .45s; }
.js .pt.off { opacity: 0; pointer-events: none; }
.pt .dot { r: var(--r); fill: var(--ink-3); stroke: var(--paper); stroke-width: 1.6px; vector-effect: non-scaling-stroke; }
.pt .lbl { font-family: var(--font-display); font-weight: 700; font-size: var(--fs); fill: var(--ink); paint-order: stroke; stroke: var(--halo); stroke-width: 3.5px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pt.r .lbl { text-anchor: start; transform: translate(calc(var(--r) * 1.9), calc(var(--fs) * .33)); }
.pt.l .lbl { text-anchor: end; transform: translate(calc(var(--r) * -1.9), calc(var(--fs) * .33)); }
.pt.u .lbl { text-anchor: middle; transform: translate(0, calc(var(--r) * -1.9)); }
.pt.d .lbl { text-anchor: middle; transform: translate(0, calc(var(--fs) + var(--r) * 1.2)); }
.pt.k-town .dot { fill: var(--ink-4); r: calc(var(--r) * .7); }
.pt.k-town .lbl { fill: var(--ink-3); font-weight: 600; }
.pt.k-city .dot { fill: var(--ink-2); }
.pt.k-site .dot { fill: var(--blood); r: calc(var(--r) * 1.25); }
.pt.k-site .lbl { fill: var(--blood); }
.pt.k-ref .dot { fill: var(--paper); stroke: var(--marsh); stroke-width: 2.4px; stroke-dasharray: 3 2; }
.pt.k-ref .lbl { fill: var(--marsh); }
.clock { position: absolute; left: .6rem; top: .6rem; padding: .15rem .7rem .2rem; border-radius: 8px; background: var(--scrim); border: 1px solid var(--border); pointer-events: none; z-index: 2; }
.clock .yr { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 1rem + 1.4vw, 2.1rem); color: var(--ink); letter-spacing: .01em; }
.scale { position: absolute; right: .7rem; bottom: 3.3rem; display: flex; flex-direction: column; align-items: flex-end; gap: .1rem; padding: .25rem .5rem; border-radius: 6px; background: var(--scrim); pointer-events: none; font-size: .78rem; color: var(--ink-2); font-family: var(--font-body); z-index: 2; }
.scale i { display: block; width: 3rem; height: 7px; border: 2px solid var(--ink-2); border-top: none; }
.legend { list-style: none; padding: .35rem .7rem; display: flex; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; gap: .15rem 1rem; font-size: .8rem; color: var(--ink-2); margin: 0; flex: none; background: var(--paper); border-top: 1px solid var(--border); }
@media (min-width: 62rem) { .legend { flex-wrap: wrap; white-space: normal; } }
.legend li { display: flex; align-items: center; gap: .35rem; }
.legend .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.lg-river .dot { background: var(--river); }
.lg-road .dot { background: var(--road); }
.lg-site .dot { background: var(--blood); }
.lg-town .dot { background: var(--ink-4); width: 8px; height: 8px; }

/* ── Placement ──────────────────────────────────────── */
.place { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; max-width: 80rem; margin: 0 auto; padding: 0 clamp(.75rem, 3vw, 2rem); }
.place-map { position: relative; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface); height: 62svh; min-height: 22rem; }
.place-map svg { display: block; width: 100%; height: 100%; cursor: crosshair; }
.place-map .mark { pointer-events: none; }
.place-map .mark .pin { fill: var(--blood); stroke: var(--paper); stroke-width: 2px; r: var(--r); }
.place-map .mark .ring { fill: none; stroke: var(--blood); stroke-width: 1.5px; stroke-dasharray: 4 3; opacity: .8; r: calc(var(--r) * 2.6); }
.place-out { border: 1px solid var(--border); border-radius: 10px; background: var(--paper); padding: 1.1rem 1.25rem; }
.place-out .score { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: .4rem; }
.place-out ul { list-style: none; padding: 0; margin: 0 0 .8rem; }
.place-out li { display: flex; gap: .5rem; align-items: baseline; padding: .3rem 0; border-top: 1px solid var(--border); font-size: .98rem; color: var(--ink-2); }
.place-out li:first-child { border-top: none; }
.place-out li .v { margin-left: auto; font-weight: 700; white-space: nowrap; }
.place-out li.yes .v { color: var(--marsh); }
.place-out li.no .v { color: var(--blood); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .45rem 1.1rem; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--surface-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
@media (min-width: 62rem) {
  .place { grid-template-columns: minmax(0, 1.6fr) minmax(17rem, 1fr); align-items: start; }
  .place-map { height: calc(100svh - var(--bar-h) - 6rem); min-height: 26rem; }
}

/* ── Rule + sites + verdict bars ────────────────────── */
.rule { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .98rem; }
.rule caption { text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem; }
.rule th, .rule td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-top: 1px solid var(--border); }
.rule thead th { border-top: none; border-bottom: 2px solid var(--border); font-family: var(--font-display); }
.rule .src { color: var(--ink-3); font-size: .9rem; }
.rule-note { font-size: .95rem; color: var(--ink-2); border-left: 4px solid var(--accent); padding-left: 1rem; margin: 1rem 0 2rem; }
.sites { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 48rem) { .sites { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.site { border: 1px solid var(--border); border-radius: 10px; background: var(--paper); padding: 1.1rem 1.25rem; scroll-margin-top: calc(var(--bar-h) + 1rem); }
.site h3 { margin-top: 0; }
.site .cite { font-size: .88rem; color: var(--ink-3); margin-bottom: .4rem; }
.site p { font-size: .98rem; color: var(--ink-2); }
.site .bars { display: flex; gap: 4px; margin: .7rem 0 .3rem; }
.site .bars i { flex: 1; height: 10px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--border); }
.site .bars i.on { background: var(--marsh); border-color: var(--marsh); }
.site .bars i.off { background: transparent; }
.site .tot { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.verdict { border: 2px solid var(--accent); border-radius: 10px; background: var(--accent-bg); padding: 1.25rem 1.4rem; margin: 1.5rem 0; }
.verdict h3 { margin-top: 0; }
.verdict p { color: var(--ink-2); }
.crasna { border: 1px dashed var(--border); border-radius: 10px; padding: 1.1rem 1.25rem; margin: 1rem 0; }
.crasna p { font-size: .98rem; color: var(--ink-2); }

/* ── Witness lanes + number line ────────────────────── */
.lanes { display: grid; gap: 1rem; margin: 1.5rem 0; }
.lane { border: 1px solid var(--border); border-left: 4px solid var(--marsh); border-radius: 8px; background: var(--paper); padding: 1rem 1.2rem; }
.lane.ott { border-left-color: var(--blood); }
.lane.late { border-left-color: var(--stone); }
.lane .who { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; }
.lane .when { font-size: .88rem; color: var(--ink-3); }
.lane .says { margin-top: .4rem; font-size: .98rem; color: var(--ink-2); }
.numline { margin: 2rem 0 1rem; }
.numline .axis { position: relative; height: 17.5rem; border-bottom: 2px solid var(--ink-3); margin: 0 .5rem; }
.numline .tick { position: absolute; bottom: 0; width: 2px; height: .7rem; background: var(--ink-3); }
.numline .tick.lab { height: auto; background: none; font-size: .8rem; color: var(--ink-3); transform: translateX(-50%); bottom: -1.4rem; white-space: nowrap; }
.numline .pin { position: absolute; bottom: .7rem; transform: translateX(-50%); max-width: 9rem; }
.numline .pin.r1 { bottom: 6rem; }
.numline .pin.r2 { bottom: 10.8rem; }
.numline .pin.r1::after, .numline .pin.r2::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; margin-left: -1px; background: var(--ink-3); opacity: .6; }
.numline .pin.r1::after { height: 5.3rem; }
.numline .pin.r2::after { height: 10.1rem; }
.numline .pin i { display: block; width: 12px; height: 12px; border-radius: 50%; margin: 0 auto .2rem; border: 2px solid var(--paper); }
.numline .pin.ott i { background: var(--blood); }
.numline .pin.mol i { background: var(--marsh); }
.numline .pin.est i { background: var(--paper); border: 2px solid var(--ink-3); }
.numline .pin b { display: block; text-align: center; font-size: .92rem; background: var(--paper); padding: 0 .2rem; }
.numline .pin span { display: block; text-align: center; font-size: .78rem; color: var(--ink-3); line-height: 1.3; background: var(--paper); padding: 0 .2rem; }
.numline .gap { position: absolute; bottom: .85rem; height: 8px; background: repeating-linear-gradient(45deg, var(--blood), var(--blood) 3px, transparent 3px, transparent 7px); opacity: .5; border-radius: 4px; }
.numline-note { font-size: .92rem; color: var(--ink-2); margin-top: 2.2rem; }

/* ── Ledger ─────────────────────────────────────────── */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.2rem 0; }
.table-scroll > .ledger { margin: 0; min-width: 30rem; }
.ledger { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .96rem; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: .5rem .6rem; border-top: 1px solid var(--border); }
.ledger thead th { border-top: none; border-bottom: 2px solid var(--border); font-family: var(--font-display); }
.ledger td.n { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.ledger td.w { color: var(--ink-3); font-size: .88rem; }
.dropped { margin: 1rem 0 0; padding: 1rem 1.2rem; border: 1px dashed var(--border); border-radius: 10px; }
.dropped h3 { font-size: 1.1rem; }
.dropped li { font-size: .95rem; color: var(--ink-2); margin: .35rem 0 .35rem 1.1rem; }

/* ── Sources, share, footer ─────────────────────────── */
.src-h { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 1.25rem 0 .25rem; }
.srcs { padding: 0; list-style: none; }
.srcs li { padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .95rem; color: var(--ink-2); }
.srcs li:last-child { border-bottom: none; }
.srcs a { overflow-wrap: anywhere; }
.share-block .share { --sr-line: var(--border); --sr-ink: var(--ink-2); --sr-acc: var(--accent); --sr-ok: var(--ink-2); }
.share-block { padding: 1.5rem 0; }
.foot { padding: 2rem 0; text-align: center; font-size: .9rem; color: var(--ink-3); border-top: 1px solid var(--border); }
.foot a { color: var(--ink-2); }
.foot p + p { margin-top: .25rem; }
.rail { display: none; }
@media (min-width: 90rem) {
  .rail { display: flex; flex-direction: column; gap: .15rem; position: fixed; right: 1.5rem; top: 50%; transform: translateY(-50%); z-index: 90; }
  .rail a { display: flex; align-items: center; gap: .5rem; color: var(--ink-3); text-decoration: none; font-size: .9rem; font-family: var(--font-display); justify-content: flex-end; }
  .rail a i { width: 8px; height: 8px; border-radius: 50%; background: var(--stone); display: block; flex-shrink: 0; }
  .rail a[aria-current="true"] { color: var(--ink); font-weight: 700; }
  .rail a[aria-current="true"] i { background: var(--accent); }
}
.notfound { padding-top: 4rem; text-align: center; }
.notfound p { margin-top: .5rem; }
.see-also { margin-top: 1.25rem; font-size: .98rem; color: var(--ink-2); }
details.fig-what { margin-top: .8rem; font-size: .92rem; color: var(--ink-2); }
details.fig-what summary { cursor: pointer; min-height: 2.75rem; display: inline-flex; align-items: center; color: var(--accent); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hint span { animation: none; }
  .map image, .map .fogbank, .map .march, .pt, .step { transition: none; }
}
@media (max-width: 39.99rem) {
  .numline .pin { max-width: 7.5rem; }
  .numline .pin span { font-size: .72rem; }
}

/* share row (standards/v2/tools/share_row.py) */
.share-row{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
.share-row .lab{font-size:.95rem;margin-inline-end:.3rem}
.share-row a,.share-row button{display:inline-grid;place-items:center;flex:none;width:2.5rem;height:2.5rem;padding:0;border-radius:50%;border:1px solid var(--sr-line,color-mix(in srgb,currentColor 28%,transparent));background:transparent;color:var(--sr-ink,inherit);text-decoration:none;cursor:pointer;font:inherit;transition:color .15s,border-color .15s}
.share-row a:hover,.share-row button:hover,.share-row a:focus-visible,.share-row button:focus-visible{color:var(--sr-acc,inherit);border-color:var(--sr-acc,currentColor)}
.share-row [hidden]{display:none}
@media (pointer:coarse){.share-row a,.share-row button{width:2.75rem;height:2.75rem}}
@media (max-width:30rem){.share-row .lab{flex-basis:100%;margin:0 0 .15rem}}
.share-status{font-size:.92rem;color:var(--sr-ok,inherit);min-height:1.2em;margin:.4rem 0 0}
.share-status:empty{display:none}
.share-field{display:block;width:100%;max-width:36rem;margin-top:.4rem;font:inherit;font-size:.9rem}

.nlp0d0{left:0.0%}
.nlp23d1{left:23.1%}
.nlp30d8{left:30.8%}
.nlp36d2{left:36.2%}
.nlp46d2{left:46.2%}
.nlp69d2{left:69.2%}
.nlp92d3{left:92.3%}
.nlw46d2{width:46.2%}
