/* The Access, first release. The Lane's tokens (DESIGN.md) plus the sheet from the clean-slate plan
   (section 4): table first, a control block like a policy header, four marks ordered by ink, sources
   that carry the passage. Flat paper, one highlighter, no motion. Everything works without JavaScript. */
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(./fonts/PublicSans-normal.woff2) format("woff2"); }
/* the name only: Bodoni Moda bold. The file is not in src/fonts yet; until it is, the name falls back to a system Didone. */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(./fonts/BodoniModa-name.woff2) format("woff2"); }
:root {
  --graphite: #1B2430; --slate-sub: #4A5666; --slate-faint: #6B7684; --rule-grey: #D3DAE2; --hairline: #E6EBF0;
  --paper: #FFFFFF; --wash: #F6F8FA; --bar-sub: #B9C3CF; --link: #1F4F82;
  --hl: #F3D23B; --hl-soft: #F8E58A; --hl-ink: #3D3200;
  --kidney: #F4782A; /* John 2026-11-15: the mark's middle dot and the current-section underline */
  --measure: 760px; --frame: 1240px; --rail: 340px; --gutter: clamp(16px, 4vw, 48px);
  --font: "Public Sans", ui-sans-serif, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--graphite);
  font: 400 17px/1.6 var(--font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
::selection { background: var(--hl-soft); color: var(--graphite); }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--graphite); }
a, summary, button { transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease; }
@media (prefers-reduced-motion: reduce) { a, summary, button { transition: none; } }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 3px; }
.bar :focus-visible, .foot :focus-visible { outline-color: var(--hl); }
p { margin: 0 0 14px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 9; padding: 12px 16px; background: var(--hl); color: var(--hl-ink); border-radius: 3px; font-weight: 700; }

/* Top bar: wordmark, Find, one row of nav */
.bar { background: var(--graphite); }
.bar-in { max-width: var(--frame); margin: 0 auto; padding: 0 var(--gutter); min-height: 60px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; }
.mark { color: var(--paper); font-family: "Bodoni Moda", "Didot", "Bodoni 72", serif; font-weight: 700; font-size: 25px; line-height: 1; letter-spacing: -0.008em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.mark .dots { display: inline-flex; align-items: flex-end; gap: 2.5px; }
.mark .dots i { display: block; border-radius: 50%; background: var(--paper); width: 4px; height: 4px; }
.mark .dots i:nth-child(2) { width: 10px; height: 10px; background: var(--kidney); }
.mark .dots i:nth-child(3) { width: 20px; height: 20px; }
.mark:hover { color: var(--paper); }
/* the button's edge is a non-text boundary: --bar-sub on graphite is 8.8:1 (WCAG 1.4.11 asks 3:1); hover and current go to paper */
.find { color: var(--paper); font-size: 15px; text-decoration: none; padding: 6px 12px; border: 1px solid var(--bar-sub); border-radius: 3px; min-height: 32px; }
.find:hover, .find[aria-current] { color: var(--paper); border-color: var(--paper); }
.nav { margin-left: auto; display: flex; flex-wrap: wrap; column-gap: 22px; }
.nav a { color: var(--bar-sub); font-size: 15px; text-decoration: none; padding: 18px 0 15px; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--paper); }
.nav a[aria-current] { color: var(--paper); border-bottom-color: var(--kidney); }
@media (max-width: 700px) {
  .bar-in { padding-top: 12px; justify-content: space-between; }
  .nav { margin-left: 0; width: 100%; column-gap: 8px; justify-content: space-between; flex-wrap: nowrap; }
  .nav a { padding: 10px 0 9px; font-size: 14.5px; white-space: nowrap; }
}
/* below 360px the five links wrap to a second row rather than run into the gutter; size and tap height unchanged */
@media (max-width: 359px) {
  .nav { flex-wrap: wrap; row-gap: 4px; column-gap: 18px; justify-content: flex-start; }
}

main { flex: 1 0 auto; width: 100%; max-width: var(--frame); margin: 0 auto; padding: 32px var(--gutter) 64px; }
.col { max-width: var(--measure); }
.crumb { margin: 0 0 12px; font-size: 14px; color: var(--slate-sub); }
.crumb a { color: var(--slate-sub); }
.state { display: inline-block; margin: 0 0 14px; padding: 4px 10px; font-size: 13px; font-weight: 700; color: var(--graphite); background: var(--wash); border: 1px solid var(--rule-grey); border-radius: 3px; }

h1 { margin: 0 0 16px; font-size: 28px; line-height: 1.18; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
@media (min-width: 760px) { h1 { font-size: 34px; } }
@media (min-width: 1100px) { h1 { font-size: 38px; } }
h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.35; font-weight: 700; }
.sec { margin-top: 52px; padding-top: 16px; border-top: 2px solid var(--graphite); }
.sec.tight { margin-top: 32px; }
.lede, .answer { font-size: 17px; line-height: 1.55; max-width: 64ch; text-wrap: pretty; }
@media (min-width: 760px) { .lede, .answer { font-size: 19px; } }
.hl { background: linear-gradient(transparent 55%, var(--hl) 55%); }
.meta { font-size: 14px; line-height: 1.45; color: var(--slate-sub); }
.prose { max-width: var(--measure); }
.prose p, .prose li { font-size: 17px; }
sup.c { font-size: 12px; line-height: 0; margin-left: 1px; }
sup.c a { text-decoration: none; padding: 0 2px; }
sup.c a:hover { text-decoration: underline; }
a.term { color: inherit; text-decoration: underline dotted var(--slate-faint); text-underline-offset: 3px; }
a.term:hover { color: var(--link); }

/* Control block: the document header every page wears */
.ctl { margin: 0 0 22px; padding: 12px 0; border-top: 1px solid var(--rule-grey); border-bottom: 1px solid var(--rule-grey); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; max-width: var(--measure); }
@media (min-width: 760px) { .ctl { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ctl > div { min-width: 0; }
.ctl .wide { grid-column: 1 / -1; }
.ctl dt { font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--slate-sub); }
.ctl dd { margin: 2px 0 0; font-size: 14.5px; line-height: 1.4; }

/* The four marks: more ink, more binding */
.rung { display: inline-grid; grid-template-columns: 12px minmax(0, auto); column-gap: 7px; align-items: start; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.rung svg { width: 12px; height: 12px; margin-top: 4px; }
.rung small { grid-column: 2; font-size: 13px; font-weight: 400; color: var(--slate-sub); }
.ladder { list-style: none; margin: 0; padding: 0; }
.ladder li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 6px; padding: 10px 0; border-top: 1px solid var(--hairline); }
.ladder li:last-child { border-bottom: 1px solid var(--hairline); }
.ladder svg { width: 13px; height: 13px; margin-top: 6px; }
.ladder b { display: block; font-size: 16px; }
.ladder span { display: block; font-size: 14.5px; line-height: 1.45; color: var(--slate-sub); }

/* Reference table: the hero */
.tbl-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 8px; }
.tbl-head h2 { margin: 0; }
.sheet-link { font-size: 15px; font-weight: 600; }
table.ref { width: 100%; border-collapse: collapse; border: 1px solid var(--rule-grey); font-size: 15px; line-height: 1.45; }
table.ref caption { caption-side: top; text-align: left; padding: 0 0 10px; font-size: 14px; color: var(--slate-sub); max-width: var(--measure); }
table.ref th, table.ref td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--hairline); }
table.ref thead th { background: var(--wash); border-bottom: 1px solid var(--rule-grey); font-size: 13px; font-weight: 700; color: var(--slate-sub); }
table.ref tbody th { font-weight: 600; }
table.ref tr.grp th { padding-top: 14px; border-bottom: 1px solid var(--rule-grey); font-size: 14px; color: var(--slate-sub); }
table.ref td.cite { min-width: 9em; }
table.ref td.binds { min-width: 11em; }
table.ref .chg { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; }
table.ref .note { display: block; margin-top: 4px; font-size: 13.5px; color: var(--slate-sub); }
table.ref .quote { display: block; margin-top: 4px; font-size: 13.5px; color: var(--slate-sub); }
table.ref td.fold { display: none; }
table.ref td.fold summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--link); min-height: 44px; padding: 12px 0; }
table.ref td.fold details[open] summary { margin-bottom: 4px; }
@media screen and (max-width: 760px) {
  table.ref, table.ref tbody, table.ref tr, table.ref th, table.ref td, table.ref caption { display: block; width: auto; }
  table.ref { border: 0; }
  table.ref thead { position: absolute; left: -9999px; }
  table.ref tr { margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--rule-grey); border-radius: 4px; }
  table.ref tr.grp { margin: 18px 0 6px; padding: 0; border: 0; }
  table.ref tr.grp th { padding: 0; border: 0; }
  table.ref tbody th { padding: 0 0 8px; border: 0; font-size: 16px; }
  table.ref td { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 10px; padding: 6px 0; border: 0; border-top: 1px solid var(--hairline); min-width: 0; }
  table.ref td.empty, table.ref td.cite, table.ref td.mod { display: none; }
  table.ref td.fold { display: block; padding: 8px 0 0; border-top: 1px solid var(--hairline); }
  table.ref td.fold::before { content: none; }
  table.ref td::before { content: attr(data-h); font-size: 13px; font-weight: 700; color: var(--slate-sub); }
}

/* Lists on hairlines */
.rows { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.rows > li { padding: 14px 0; border-top: 1px solid var(--hairline); }
.rows > li:last-child { border-bottom: 1px solid var(--hairline); }
.rows .when { display: block; margin-bottom: 2px; font-size: 14px; font-weight: 600; color: var(--slate-sub); }
.rows a.q { font-size: 18px; line-height: 1.35; font-weight: 700; text-decoration: none; }
.rows a.q:hover { text-decoration: underline; }
.rows p { margin: 4px 0 0; font-size: 16px; line-height: 1.5; }
.rows p.meta { font-size: 14px; }
.links { list-style: none; margin: 0; padding: 0; }
.links li { border-top: 1px solid var(--hairline); }
.links li:last-child { border-bottom: 1px solid var(--hairline); }
.links a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 14px; min-height: 44px; padding: 11px 0; font-size: 16px; font-weight: 600; text-decoration: none; }
.links a span { font-size: 14px; font-weight: 400; color: var(--slate-sub); }
.links a:hover b { text-decoration: underline; }
.links .counts { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.links .counts .rung { font-size: 14px; font-weight: 400; color: var(--slate-sub); }
.plain { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.55; max-width: var(--measure); }
.plain li { margin-bottom: 8px; }
.onward { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.onward a { font-weight: 600; }

/* Ledger */
.latest .stamp, .entry-stamp { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 8px; font-size: 14px; color: var(--slate-sub); }
.latest h2 { font-size: 23px; }
@media (min-width: 760px) { .latest h2 { font-size: 26px; } }
.latest h2 a { text-decoration: none; }
.latest h2 a:hover { text-decoration: underline; }
.verdict { display: inline-grid; grid-template-columns: 12px auto; column-gap: 6px; align-items: center; font-weight: 600; color: var(--graphite); }
.verdict svg { width: 12px; height: 12px; }
.earlier { list-style: none; margin: 16px 0 10px; padding: 0; font-size: 15px; line-height: 1.5; }
.earlier li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); column-gap: 12px; padding: 9px 0; border-top: 1px solid var(--hairline); }
.earlier li:last-child { border-bottom: 1px solid var(--hairline); }
.earlier time { color: var(--slate-sub); white-space: nowrap; }
.h-rail .sec { margin-top: 36px; }
.key-note { margin-top: 12px; }
.desks { margin: 0; max-width: var(--measure); }
.desks > div { padding: 12px 0; border-top: 1px solid var(--hairline); }
.desks > div:last-child { border-bottom: 1px solid var(--hairline); }
.desks dt { font-size: 15px; font-weight: 700; }
.desks dd { margin: 2px 0 0; font-size: 16px; line-height: 1.5; }
@media (min-width: 640px) { .desks > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 20px; } .desks dd { margin: 0; } }

/* Email promise */
.promise { padding: 18px 20px 20px; background: var(--wash); border: 1px solid var(--rule-grey); border-radius: 4px; }
.promise h2 { font-size: 17px; margin-bottom: 6px; }
.promise p { font-size: 16px; line-height: 1.5; }
.promise p:last-child { margin-bottom: 0; }
.promise .alt { font-size: 14px; color: var(--slate-sub); }

/* Home: document order is phone order */
.home { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
.home .sec { margin-top: 0; }
@media (min-width: 1000px) {
  .home { grid-template-columns: minmax(0, var(--measure)) var(--rail); column-gap: 64px; justify-content: space-between; align-items: start; }
  .h-intro { grid-column: 1 / -1; }
  .h-latest { grid-column: 1; grid-row: 2; }
  .h-moments { grid-column: 1; grid-row: 3; }
  .h-rail { grid-column: 2; grid-row: 2 / span 2; }
}
.two-col { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .two-col { grid-template-columns: minmax(0, var(--measure)) var(--rail); column-gap: 64px; justify-content: space-between; align-items: start; } }

/* Where it breaks */
.breaks { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.breaks > li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; padding: 16px 0; border-top: 1px solid var(--hairline); }
.breaks > li:last-child { border-bottom: 1px solid var(--hairline); }
.brk { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--graphite); background: var(--hl); font-size: 13px; font-weight: 700; }
.brk.silent { background: var(--graphite); color: var(--paper); }
.breaks p { margin: 4px 0 0; font-size: 16px; line-height: 1.5; }
.breaks .lbl { font-weight: 600; }
.quiet { display: inline-block; margin-left: 6px; padding: 2px 8px; font-size: 13px; font-weight: 700; color: var(--paper); background: var(--graphite); border-radius: 3px; vertical-align: 1px; }

/* The path: swimlane from 760px; the step sequence is its text form */
.fig { margin: 8px 0 0; border: 1px solid var(--rule-grey); border-radius: 4px; overflow-x: auto; background: var(--paper); }
.fig figcaption { padding: 10px 14px; font-size: 14px; color: var(--slate-sub); border-top: 1px solid var(--hairline); }
.fig .keys { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 6px; vertical-align: middle; }
.fig .key { display: inline-flex; align-items: center; gap: 6px; color: var(--graphite); }
@media (max-width: 759px) { .fig { display: none; } }
.lane-svg { display: block; width: 100%; height: auto; min-width: 900px; font-family: var(--font); }
.lane-svg .lane-rule { stroke: var(--rule-grey); stroke-width: 1; }
.lane-svg .lane-label { font-size: 13px; font-weight: 700; }
.lane-svg .lane-head, .lane-svg .lane-split { stroke: var(--graphite); stroke-opacity: .35; }
.lane-svg .delay { fill: var(--paper); stroke: var(--graphite); stroke-width: 1.5; }
.lane-svg .delay-label { font-size: 13px; fill: var(--slate-sub); text-anchor: middle; }
.lane-svg .ruler-k { fill: var(--slate-sub); }
.lane-svg .ruler { font-size: 13px; fill: var(--slate-sub); text-anchor: middle; }
.lane-svg .box { fill: var(--paper); stroke: var(--graphite); stroke-width: 1.6; }
.lane-svg .box-label { font-size: 14px; font-weight: 600; fill: var(--graphite); text-anchor: middle; }
.lane-svg .box-no { font-size: 13px; font-weight: 700; fill: var(--slate-sub); }
.lane-svg .edge { fill: none; stroke: var(--graphite); stroke-width: 1.5; }
.lane-svg .arrowhead { fill: var(--graphite); }
.lane-svg .hl { fill: var(--hl); opacity: .75; }
.lane-svg .bmark circle { fill: var(--paper); stroke: var(--graphite); stroke-width: 1.6; }
.lane-svg .bmark text { font-size: 13px; font-weight: 700; text-anchor: middle; fill: var(--graphite); }
.lane-svg .bmark.silent circle { fill: var(--graphite); }
.lane-svg .bmark.silent text { fill: var(--paper); }
.lane-svg .silent-label { font-size: 13px; font-weight: 700; fill: var(--graphite); text-anchor: end; }
.path { list-style: none; margin: 8px 0 0; padding: 0; max-width: var(--measure); }
.path > li { position: relative; padding: 0 0 16px 46px; }
.path > li::before { content: ""; position: absolute; left: 15px; top: 36px; bottom: 2px; width: 2px; background: var(--rule-grey); }
.path > li:last-child::before { display: none; }
.path .n { position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; font-size: 14px; font-weight: 700; border: 1.5px solid; border-radius: 3px; }
.path h3 { margin: 4px 0 0; }
.path .meta { margin: 0; }
.path .hand { margin: 2px 0 0; font-size: 14px; color: var(--slate-sub); }
.path .hand b { color: var(--graphite); }

details.more { margin-top: 20px; border: 1px solid var(--rule-grey); border-radius: 4px; max-width: var(--frame); }
details.more > summary { padding: 14px 16px; font-size: 16px; font-weight: 700; cursor: pointer; min-height: 44px; }
details.more > summary:hover { background: var(--wash); }
details.more[open] > summary { border-bottom: 1px solid var(--rule-grey); }
details.more .in { padding: 14px 16px 16px; }

.limits { margin-top: 28px; padding: 16px 20px 8px; background: var(--wash); border: 1px solid var(--rule-grey); border-radius: 4px; max-width: var(--measure); }
.limits h2 { font-size: 17px; margin-bottom: 8px; }
.limits ul { margin: 0 0 8px; padding-left: 20px; font-size: 15.5px; line-height: 1.5; }
.limits li { margin-bottom: 6px; }

.sources { margin: 0; padding-left: 26px; font-size: 14.5px; line-height: 1.5; max-width: var(--measure); }
.sources li { margin-bottom: 10px; scroll-margin-top: 16px; }
.sources li:target { background: var(--hl-soft); }
.sources span { display: block; font-size: 13.5px; color: var(--slate-sub); }
.reg { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.reg > li { padding: 12px 0; border-top: 1px solid var(--hairline); scroll-margin-top: 16px; }
.reg > li:target { background: var(--hl-soft); }
.reg b { display: block; }
.reg span { display: block; font-size: 14px; color: var(--slate-sub); }
dl.gloss { margin: 0; max-width: var(--measure); }
dl.gloss > div { padding: 12px 0; border-top: 1px solid var(--hairline); scroll-margin-top: 16px; }
dl.gloss > div:target { background: var(--hl-soft); }
dl.gloss dt { font-weight: 700; }
dl.gloss dd { margin: 2px 0 0; font-size: 16px; line-height: 1.5; }
dl.gloss dd .meta { display: block; margin-top: 2px; }
@media (min-width: 560px) { dl.gloss > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); column-gap: 20px; } dl.gloss dd { margin: 0; } }
.az h2 { font-size: 18px; margin: 28px 0 6px; }
.az ul { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.az li { padding: 7px 0; border-top: 1px solid var(--hairline); font-size: 16px; }
.az li span { color: var(--slate-sub); font-size: 14px; }
.letters { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 8px; padding: 0; list-style: none; font-weight: 600; }
.letters a { display: inline-block; min-width: 24px; min-height: 24px; text-align: center; }

.foot { background: var(--graphite); color: var(--bar-sub); font-size: 14px; line-height: 1.55; }
.foot-in { max-width: var(--frame); margin: 0 auto; padding: 28px var(--gutter) 36px; display: grid; row-gap: 10px; }
.foot .mark { font-size: 22px; }
.foot p { margin: 0; max-width: 78ch; }
.foot a { color: var(--paper); }

/* Printing any page gives the sheet */
/* ---------- The summary layer (2026-11-12): topics first, the short version and a picture before the detail ---------- */
/* Fills follow the four marks: more ink, more binding */
.fill-required { background: var(--graphite); border: 1.5px solid var(--graphite); }
.fill-cms-guidance { background: repeating-linear-gradient(135deg, var(--graphite) 0 2.5px, var(--paper) 2.5px 5.5px); border: 1.5px solid var(--graphite); }
.fill-guideline { background: var(--paper); border: 1.5px solid var(--graphite); }
.fill-house { background: var(--paper); border: 1.5px dashed var(--slate-sub); }
.fill-wait { background: var(--wash); border: 1.5px solid var(--rule-grey); }

.byl { margin: -4px 0 20px; font-size: 14.5px; line-height: 1.45; color: var(--slate-sub); }
.byl.vt-alias { margin-bottom: 6px; }
.gist { margin: 0; padding: 18px 20px 6px; background: var(--wash); border: 1px solid var(--rule-grey); border-radius: 4px; max-width: var(--measure); }
.gist h2 { margin: 0 0 10px; font-size: 15px; letter-spacing: 0; color: var(--slate-sub); }
.gist ul { list-style: none; margin: 0; padding: 0; }
.gist li { position: relative; padding: 0 0 12px 20px; font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.gist li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; background: var(--graphite); }
.gist b { font-weight: 700; }
@media (min-width: 760px) { .gist li { font-size: 18px; } }

.viz h2 { margin-bottom: 16px; }
.viz-sub { margin: 22px 0 10px; font-size: 16px; }
.viz-sub:first-of-type { margin-top: 0; }
.viz-note { margin: 12px 0 0; max-width: 64ch; }
.viz-after { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: 16px; line-height: 1.5; max-width: 64ch; }

/* how much a set of lines binds, as one bar */
.rbar { margin: 18px 0 20px; max-width: var(--measure); }
.rbar-h { margin: 0 0 7px; font-size: 14px; font-weight: 600; color: var(--slate-sub); }
.rbar-track { display: flex; gap: 3px; height: 14px; }
.rbar-track span { min-width: 8px; border-radius: 1px; }
.rbar-key, .ev-key { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--slate-sub); }
.rbar-key li, .ev-key li { display: inline-grid; grid-template-columns: 12px auto; column-gap: 6px; align-items: center; }
.rbar-key svg, .ev-key svg { width: 12px; height: 12px; color: var(--graphite); }
.rbar-key b { color: var(--graphite); }

/* clocks to scale */
.ck { max-width: 980px; }
.ck-axis, .ck-rows > li { display: grid; grid-template-columns: minmax(0, 1fr); }
.ck-gap { display: none; }
.ck-ticks { position: relative; height: 20px; font-size: 12.5px; color: var(--slate-sub); border-bottom: 1px solid var(--rule-grey); }
.ck-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.ck-ticks span.at-start { transform: none; }
.ck-ticks span.at-end { transform: translateX(-100%); }
.ck-rows { list-style: none; margin: 0; padding: 0; }
.ck-rows > li { padding: 12px 0; border-bottom: 1px solid var(--hairline); row-gap: 6px; }
.ck-l b { display: block; font-size: 16px; line-height: 1.35; }
.ck-l span { display: block; font-size: 15px; line-height: 1.4; }
.ck-t { position: relative; height: 16px; background: linear-gradient(var(--hairline), var(--hairline)) 0 50% / 100% 1px no-repeat; }
.ck-b { position: absolute; top: 0; height: 16px; min-width: 6px; border-radius: 1px; }
.ck-b.open { border-right-style: none; border-radius: 1px 0 0 1px; }
.ck-b.open::after { content: ""; position: absolute; right: -7px; top: 50%; transform: translateY(-50%); width: 7px; height: 12px; background: var(--graphite); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ck-s { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--slate-sub); }
@media (min-width: 760px) {
  .ck-axis, .ck-rows > li { grid-template-columns: 260px minmax(0, 1fr); column-gap: 24px; }
  .ck-gap { display: block; }
  .ck-l { grid-row: 1 / span 2; }
  .ck-t { grid-column: 2; margin-top: 3px; }
  .ck-s { grid-column: 2; }
}

/* how often: one grid */
.ev { --evw: 27px; max-width: 760px; }
@media (min-width: 640px) { .ev { --evw: 48px; } }
.ev-head, .ev-axis, .ev-rows > li { display: grid; grid-template-columns: minmax(0, 1fr) repeat(8, var(--evw)); align-items: center; }
.ev-axis { margin: 0; padding-top: 2px; font-size: 12.5px; color: var(--slate-sub); }
.ev-axis span { grid-column: 3 / 9; text-align: center; border-bottom: 1px solid var(--rule-grey); padding-bottom: 2px; }
.ev-head { font-size: 12.5px; font-weight: 600; color: var(--slate-sub); text-align: center; padding: 4px 0 6px; }
.ev-head span { grid-row: 1; }
.ev-head { order: 2; }
.ev-rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--hairline); }
.ev-rows > li { min-height: 44px; border-top: 1px solid var(--hairline); }
.ev-rows > li > * { grid-row: 1; }
.ev-l { grid-column: 1; padding: 8px 10px 8px 0; font-size: 15px; line-height: 1.3; }
.ev-c { align-self: stretch; border-left: 1px solid var(--hairline); }
.ev-b { height: 14px; margin: 0 3px; border-radius: 1px; }
.ev-b.dot { width: 12px; height: 12px; justify-self: center; margin: 0; }
.ev-none { justify-self: center; width: 12px; border-top: 1.5px dashed var(--slate-faint); }

/* the ladder, as steps */
.lad { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.lad li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 10px 0; border-top: 1px solid var(--hairline); }
.lad li:last-child { border-bottom: 1px solid var(--hairline); }
@media (min-width: 640px) { .lad li { margin-left: calc(var(--step) * 28px); } }
.lad-sw { align-self: stretch; min-height: 48px; border-radius: 1px; }
.lad b { display: block; font-size: 17px; }
.lad span { display: block; font-size: 15px; line-height: 1.45; color: var(--slate-sub); }
.lad .lad-ex { color: var(--graphite); margin-top: 2px; }

/* who answers for what */
.own { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 32px; max-width: 1080px; }
@media (min-width: 900px) { .own { grid-template-columns: 1.4fr 1fr 1fr; } }
.own section { border-top: 2px solid var(--graphite); padding-top: 10px; }
.own h3 { font-size: 16px; margin-bottom: 6px; }
.own ul { list-style: none; margin: 0; padding: 0; }
.own li { display: grid; grid-template-columns: 12px minmax(0, 1fr); column-gap: 9px; padding: 8px 0; border-top: 1px solid var(--hairline); font-size: 15.5px; line-height: 1.45; }
.own li:first-child { border-top: 0; }
.own li svg { width: 12px; height: 12px; margin-top: 5px; }

/* one treatment's money */
.money { max-width: var(--measure); }
.money-total { font-size: 17px; margin-bottom: 10px; }
.money-total b { font-size: 26px; letter-spacing: -0.01em; margin-right: 4px; }
.money-bar { display: flex; gap: 3px; height: 30px; }
.money-bar span { border-radius: 1px; }
.money-key { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 15.5px; }
.money-key li { display: flex; gap: 9px; align-items: baseline; }
.money-key .sw { flex: none; width: 12px; height: 12px; transform: translateY(1px); }
.money-key b { margin-right: 4px; }

/* questions by their short name */
.qlist { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.qlist li { border-top: 1px solid var(--hairline); }
.qlist li:last-child { border-bottom: 1px solid var(--hairline); }
.qlist a { display: block; padding: 12px 0; text-decoration: none; min-height: 44px; }
.qlist b { display: block; font-size: 18px; line-height: 1.3; }
.qlist span { display: block; margin-top: 2px; font-size: 15px; line-height: 1.45; color: var(--slate-sub); }
.qlist a:hover b { text-decoration: underline; }

/* topics: the front door */
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 40px; }
@media (min-width: 700px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.topics > li { padding: 14px 0 16px; border-top: 1px solid var(--rule-grey); }
.t-name { font-size: 20px; line-height: 1.3; font-weight: 700; text-decoration: none; }
.t-name:hover { text-decoration: underline; }
.topics p { margin: 3px 0 8px; font-size: 15.5px; line-height: 1.45; color: var(--slate-sub); }
.t-qs { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.4; }
.t-qs li { padding: 3px 0; }
.t-qs a::before { content: "→ "; color: var(--slate-faint); }
.links.subj a { display: grid; gap: 3px; }
.links .t-intro { font-size: 15px; font-weight: 400; color: var(--slate-sub); }
.grp-h { margin: 22px 0 6px; font-size: 15px; }
.grp-h a { color: var(--graphite); text-decoration: none; }
.grp-h a:hover { text-decoration: underline; }

/* home: what changed, one line each */
.changes { list-style: none; margin: 0 0 10px; padding: 0; font-size: 15.5px; line-height: 1.45; }
.changes li { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); column-gap: 12px; row-gap: 3px; padding: 10px 0; border-top: 1px solid var(--hairline); }
.changes li:last-child { border-bottom: 1px solid var(--hairline); }
.changes time { color: var(--slate-sub); white-space: nowrap; grid-row: span 2; }
.changes .verdict { font-size: 13.5px; font-weight: 400; color: var(--slate-sub); }
@media (min-width: 1000px) {
  .h-topics { grid-column: 1; grid-row: 2; }
  .h-latest { grid-column: 1; grid-row: 3; }
  .h-rail { grid-column: 2; grid-row: 2 / span 2; }
}

/* V-tag pages (2026-11-12): one page per tag, the regulation and CMS's guidance verbatim, connected tags linked */
.vt-num { display: inline-block; margin-right: 6px; padding: 0 8px; border: 2px solid var(--graphite); border-radius: 999px; font-size: 0.72em; vertical-align: 0.12em; letter-spacing: 0; }
.vt-sum { margin: 0 0 12px; font-size: 18px; line-height: 1.5; }
/* CMS's text with CMS's own formatting (John 11/13): no boxes; headings, lists and line breaks as the PDF sets them */
.vt-cms { max-width: var(--measure); }
.vt-cms > p, .vt-cms .vt-guid p { font-size: 16px; line-height: 1.6; margin: 0 0 14px; }
.vt-cms .vt-src { margin: 0 0 12px; font-size: 14px; line-height: 1.45; color: var(--slate-sub); }
.vt-cms .vt-h { margin: 26px 0 8px; font-size: 17px; line-height: 1.35; font-weight: 700; }
.vt-cms .vt-src + .vt-h { margin-top: 4px; }
.vt-cms h2 + .vt-h { margin-top: 0; }
.vt-list { margin: 0 0 14px; padding-left: 1.25em; font-size: 16px; line-height: 1.6; }
.vt-list li { margin: 0 0 6px; padding-left: 2px; }
.vt-cms strong { font-weight: 700; }
.vt-cms p.meta { font-size: 14px; color: var(--slate-sub); }
.vt-cms .vt-verbatim { margin-top: 22px; }
.vt-links a { justify-content: flex-start; gap: 2px 10px; font-weight: 400; }
.vt-links a b { min-width: 3.4em; }
.vt-guid { max-width: var(--measure); }
.vt-diff { margin: 0 0 8px; font-size: 14.5px; color: var(--slate-sub); }
.vt-fall { margin: 0 0 12px; padding: 10px 14px; border: 1px dashed var(--slate-sub); border-radius: 3px; font-size: 15px; max-width: var(--measure); }
.vt-guid p { font-size: 16px; line-height: 1.6; margin: 0 0 12px; }
/* CMS tables typed by hand from the PDF page (John 11/13); the source line under them is quieter than CMS's text */
.vt-table { margin: 4px 0 20px; }
.vt-table table.ref sup { font-size: 0.7em; line-height: 0; }
.vt-table p.meta, .vt-guid .vt-table p.meta { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--slate-sub); }
.vt-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 15px; }

/* Conditions for Coverage (2026-11-12): 42 CFR Part 494 word for word, every paragraph with the V-tags that enforce it.
   Depth shows as a step in, never as type size; the tag line under each paragraph is quieter than the regulation. */
.cfr { max-width: var(--measure); }
.cfr-std { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--rule-grey); }
.cfr-std h2 { margin: 0 0 8px; font-size: 19px; line-height: 1.35; }
.cfr-sum { margin: 0 0 10px; font-size: 16.5px; line-height: 1.5; }
.cfr-p { margin: 0; padding: 10px 0; border-top: 1px solid var(--hairline); scroll-margin-top: 12px; }
.cfr-p.d0 { padding-top: 0; border-top: 0; }
.cfr-std > .cfr-p.d1 { border-top: 0; padding-top: 2px; }
.cfr-p.d2 { padding-left: 8px; } .cfr-p.d3 { padding-left: 16px; } .cfr-p.d4 { padding-left: 24px; } .cfr-p.d5 { padding-left: 30px; }
@media (min-width: 640px) { .cfr-p.d2 { padding-left: 16px; } .cfr-p.d3 { padding-left: 32px; } .cfr-p.d4 { padding-left: 48px; } .cfr-p.d5 { padding-left: 60px; } }
.cfr-p:target { background: var(--wash); outline: 1px solid var(--rule-grey); outline-offset: 0; padding-right: 10px; }
.cfr-t { margin: 0 0 6px; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.cfr-m { margin-right: 2px; font-weight: 700; }
.cfr-v { margin: 0; font-size: 14px; line-height: 1.45; color: var(--slate-sub); }
.cfr-v + .cfr-v { margin-top: 4px; }
.cfr-v q { color: var(--graphite); }
.cfr-vk { display: block; font-size: 12.5px; font-weight: 700; color: var(--slate-sub); }
.cfr-cond .cfr-vk { display: inline; margin-right: 6px; }
.cfr-tags { list-style: none; margin: 0; padding: 0; }
.cfr-tags a { display: inline-flex; align-items: baseline; gap: 8px; min-height: 28px; padding: 3px 0; font-size: 14.5px; line-height: 1.4; text-decoration: none; }
.cfr-tags a b { min-width: 3.2em; text-decoration: underline; }
.cfr-tags a:hover { text-decoration: underline; }
.cfr-fold summary { min-height: 44px; padding: 12px 0; font-size: 14.5px; font-weight: 600; color: var(--link); cursor: pointer; }
.cfr-cond { margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.cfr-lone { margin: 0 0 16px; }
.cfr-note p { font-size: 16px; line-height: 1.55; }

@media print {
  @page { size: letter; margin: 0.35in 0.4in; }
  .skip, .bar, .foot, .promise, .no-print, .fig, details.more, .viz { display: none !important; }
  body { display: block; min-height: 0; font-size: 9pt; line-height: 1.32; }
  main { max-width: none; padding: 0; }
  .col, .ctl, .limits, .sources, .plain, .answer, .prose, .desks { max-width: none; }
  a { color: var(--graphite); text-decoration: none; }
  sup.c { display: none; }
  p { margin-bottom: 5pt; }
  h1 { margin-bottom: 5pt; font-size: 21px; }
  h2 { margin-bottom: 4pt; font-size: 11pt; }
  .crumb { margin-bottom: 3pt; font-size: 8pt; }
  .sec, .sec.tight { margin-top: 5pt; padding-top: 3pt; border-top-width: 1pt; }
  .answer, .lede { font-size: 9pt; line-height: 1.32; }
  .meta { font-size: 8pt; }
  .ctl { margin-bottom: 8pt; padding: 5pt 0; gap: 3pt 14pt; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ctl dt { font-size: 7.5pt; } .ctl dd { font-size: 8.5pt; margin-top: 0; }
  .ctl .wide { grid-column: span 2; }
  .rung { font-size: 8pt; } .rung small { font-size: 7.3pt; } .rung svg { width: 7.5pt; height: 7.5pt; margin-top: 2pt; }
  table.ref { font-size: 7.5pt; line-height: 1.22; }
  table.ref caption { padding-bottom: 3pt; font-size: 7.8pt; }
  table.ref th, table.ref td { padding: 1.8pt 4pt; }
  table.ref thead th { font-size: 7.3pt; }
  table.ref tr.grp th { padding-top: 4pt; font-size: 7.8pt; }
  table.ref td.cite { min-width: 0; }
  table.ref td.binds, .sheetpage table.ref thead th:nth-child(3) { width: 1.12in; min-width: 1.12in; }
  table.ref td.binds .rung { font-size: 7.4pt; }
  table.ref .chg, table.ref .note, table.ref .quote { margin-top: 1pt; font-size: 7.2pt; }
  .desks > div { display: block; padding: 2pt 0; } .desks dt, .desks dd { font-size: 8.3pt; }
  .plain { font-size: 8.3pt; } .plain li { margin-bottom: 2pt; }
  .limits { margin-top: 6pt; padding: 4pt 9pt 0; }
  .limits h2 { font-size: 9.5pt; margin-bottom: 3pt; }
  .limits ul { font-size: 8pt; line-height: 1.32; margin-bottom: 4pt; } .limits li { margin-bottom: 2pt; }
  .sources { columns: 2; column-gap: 18pt; font-size: 7.6pt; line-height: 1.28; padding-left: 14pt; }
  .sources li { margin-bottom: 2pt; break-inside: avoid; } .sources span { font-size: 7.2pt; }
  .breaks > li { padding: 4pt 0; } .breaks p { font-size: 8.3pt; } .brk { width: 16pt; height: 16pt; font-size: 8pt; }
  tr { break-inside: avoid; }
  .print-url { display: block !important; }
  .sheet-src { font-size: 7.2pt; line-height: 1.25; margin-top: 4pt; }
  .sheetpage h1 { font-size: 17px; margin-bottom: 3pt; }
  .sheetpage .ctl { margin-bottom: 4pt; padding: 3pt 0; }
  .sheetpage .answer { font-size: 8.4pt; line-height: 1.26; margin-bottom: 4pt; }
  .sheetpage table.ref { font-size: 7pt; line-height: 1.16; }
  .sheetpage table.ref th, .sheetpage table.ref td { padding: 1.5pt 4pt; }
  .sheetpage .ctl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sheetpage .ctl .wide { grid-column: span 4; }
  .sheetpage table.ref caption { display: none; }
  .sheetpage .limits { margin-top: 4pt; }
  .limits { break-inside: avoid; }
}
.print-url { display: none; font-size: 8pt; color: var(--slate-sub); }

/* ---------- Phone audit fixes (Pass 4, 2026-11-13) ---------- */
/* thumb-sized hit areas: padding with a matching negative margin, so nothing on the page moves (44px floor) */
summary { min-height: 44px; }
.t-qs a, .changes a, .foot a, table.ref th[scope="row"] > a { display: inline-block; padding: 11px 0; margin: -11px 0; }
.foot a, .t-qs a { padding: 12px 0; margin: -12px 0; }
/* table notes and quotes read at 15px on a phone; print sizes are set in the print block */
@media (max-width: 639px) { table.ref .note, table.ref .quote, .ck-s { font-size: 15px; } }
/* "On this page": the deeper sections of a question, by name and count; each link is a 44px row target */
.otp { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 18px; margin: 10px 0 0; max-width: var(--measure); font-size: 14.5px; }
.otp b { color: var(--slate-sub); font-weight: 700; }
.otp a { padding: 12px 0; }
/* the V-tag index: one jump per Condition, a 44px row each */
.jumps ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); column-gap: 28px; max-width: var(--measure); }
.jumps li { border-top: 1px solid var(--hairline); }
.jumps a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 44px; padding: 11px 0; text-decoration: none; font-size: 15px; line-height: 1.4; }
.jumps a:hover b { text-decoration: underline; }
.jumps b { font-weight: 600; }
.jumps span { flex: none; color: var(--slate-sub); font-size: 14px; font-variant-numeric: tabular-nums; }
/* the tag page's meta block: alias, enforces line, then the citation pointer */
.byl.vt-cited { margin-top: -12px; }

/* F1(b), ruled vtag-lookup = A (2026-11-14): "Go to a V-tag". Rendered hidden; its own script unhides it, so without
   JavaScript nothing shows and the jump row carries the page. 44px controls, 16px input text (no iOS zoom), the input's
   edge at --slate-faint (4.6:1 on paper, WCAG 1.4.11 asks 3:1). */
.vgo { margin: 22px 0 6px; max-width: var(--measure); }
.vgo[hidden] { display: none; }
.vgo label { display: block; margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.vgo-row { display: flex; gap: 8px; max-width: 22em; }
.vgo input { flex: 1 1 auto; min-width: 0; min-height: 44px; margin: 0; padding: 8px 12px; font: inherit; font-size: 16px; color: var(--graphite);
  background: var(--paper); border: 1px solid var(--slate-faint); border-radius: 4px; }
.vgo input::placeholder { color: var(--slate-faint); }
.vgo button { flex: none; min-height: 44px; min-width: 64px; margin: 0; padding: 8px 18px; font: inherit; font-size: 16px; font-weight: 700;
  color: var(--paper); background: var(--graphite); border: 0; border-radius: 4px; cursor: pointer; }
.vgo button:hover { background: var(--link); }
.vgo-msg { margin: 8px 0 0; font-size: 15px; }
.vgo-msg:empty { margin: 0; }

/* F1(c): below 640px the V-tag index is one row per tag (title held to two lines), the whole line the link (the tag number's link stretched over
   the row). The paragraph citation and the PDF page leave the phone view; 640px and up and print are unchanged. */
@media screen and (max-width: 639px) {
  .vt-idx table.ref caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .vt-idx table.ref tr { position: relative; display: flex; align-items: baseline; gap: 12px; min-height: 44px; margin: 0; padding: 11px 0;
    border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0; }
  .vt-idx table.ref tbody tr:first-child { border-top: 1px solid var(--hairline); }
  .vt-idx table.ref tbody th { flex: none; width: 3.3em; padding: 0; font-size: 16px; }
  .vt-idx table.ref th[scope="row"] > a { padding: 0; margin: 0; }
  .vt-idx table.ref th[scope="row"] > a::after { content: ""; position: absolute; inset: 0; }
  .vt-idx table.ref th[scope="row"] > a:focus-visible { outline: none; }
  .vt-idx table.ref th[scope="row"] > a:focus-visible::after { outline: 2px solid var(--link); outline-offset: -2px; border-radius: 3px; }
  .vt-idx table.ref tr:hover th > a { color: var(--graphite); }
  .vt-idx table.ref td { display: block; min-width: 0; padding: 0; border: 0; font-size: 15px; line-height: 1.4; }
  .vt-idx table.ref td::before { content: none; }
  .vt-idx table.ref td.cite, .vt-idx table.ref .note { display: none; }
  /* two lines at most: one line (about 40 characters at 390px) would make 59 more tags read the same as a sibling; two lines costs 2 */
  .vt-idx table.ref td > div { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
}

/* Page stats, moved out of the control block to the foot of the page (John, 2026-11-14: "metadata... not prominent
   anywhere"). One quiet line above the footer; not printed. */
.pstats { margin: 40px 0 0; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: 14px; color: var(--slate-sub); }
