/* Tidemark Institute: Open Public Data visual system */
@font-face {
  font-family: 'Prompt';
  src: url('./fonts/prompt-latin-ext-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: fallback;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Prompt';
  src: url('./fonts/prompt-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: fallback;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Prompt';
  src: url('./fonts/prompt-latin-ext-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: fallback;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Prompt';
  src: url('./fonts/prompt-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: fallback;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Overpass';
  src: url('./fonts/overpass-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: fallback;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Overpass';
  src: url('./fonts/overpass-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: fallback;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Overpass';
  src: url('./fonts/overpass-latin-ext-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: fallback;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Overpass';
  src: url('./fonts/overpass-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: fallback;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Overpass';
  src: url('./fonts/overpass-latin-ext-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: fallback;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Overpass';
  src: url('./fonts/overpass-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: fallback;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --paper: #ffffff;
  --navy: #1d3d63;
  --navy-deep: #163050;
  --ink: #24292e;
  --muted: #57606a;
  --rule: #7d8691;
  --rule-strong: #6e7781;
  --bronze: #9a5b13;
  --bronze-tint: #f6ecdf;
  --oxblood: #9b2226;
  --oxblood-tint: #fdf2f2;
  --pine: #2d6a4f;
  --pine-tint: #edf6f1;
  --tint: #f3f5f8;
  --on-navy-2: #dbe5f0;
  --rule-on-navy: #8fa3bd;
  --display: 'Prompt', 'Overpass', system-ui, sans-serif;
  --body: 'Overpass', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(1rem, 5.5vw, 5rem);
  --header-h: 4.75rem;
  --bar-h: 3rem;
  --ease-out-3: cubic-bezier(.33, 1, .68, 1);
  --dur: 200ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.site-header :focus-visible, .hero :focus-visible, .doc-hero :focus-visible, .site-footer :focus-visible { outline-color: #ffffff; }

.wrap { width: min(100% - 2 * var(--gutter), 80rem); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.num, .ruled .n, .bar-head .n { font-family: var(--body); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; padding: .75rem 1rem; background: #ffffff; color: var(--navy); font-weight: 700; border-radius: 3px; }
.skip:focus { top: 1rem; }

/* Header */
.site-header { background: var(--navy); color: #ffffff; border-bottom: 1px solid var(--navy); transition: border-color 220ms var(--ease-out-3); }
.site-header.is-scrolled { border-bottom-color: var(--rule-on-navy); }
.site-header .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1rem; padding-top: .75rem; padding-bottom: .5rem; }
.brand { order: 1; display: inline-flex; align-items: center; gap: .625rem; min-height: 2.75rem; color: #ffffff; font: 700 1.5rem/1 var(--display); letter-spacing: -.01em; text-decoration: none; }
.brand svg { display: block; flex: none; }
.btn-header { order: 2; margin-left: auto; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.25rem; background: #ffffff; color: var(--navy); font-weight: 700; font-size: .9375rem; text-decoration: none; border-radius: 3px; white-space: nowrap; transition: background-color 150ms var(--ease-out-3), transform 150ms var(--ease-out-3); }
.nav { order: 3; flex: 1 1 auto; display: flex; flex-wrap: wrap; margin-left: -.5rem; }
.nav a, .lang a, .lang span { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 .5rem; color: var(--on-navy-2); font-weight: 600; font-size: .9375rem; text-decoration: none; border-radius: 3px; white-space: nowrap; transition: background-color 150ms var(--ease-out-3), color 150ms var(--ease-out-3); }
.nav a[aria-current="page"] { color: #ffffff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
.lang { order: 4; display: flex; }
.lang a, .lang span { min-width: 2.75rem; font-weight: 600; }
.lang span[aria-current] { color: #ffffff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
.btn-header:active, .btn:active, .chip:active, .copy:active { transform: scale(.97); }
@media (hover: hover) {
  .nav a:hover, .lang a:hover { background: rgba(255, 255, 255, .12); color: #ffffff; }
  .btn-header:hover { background: var(--on-navy-2); }
}

/* Cohort filter bar */
.cohort-bar { display: none; background: var(--tint); border-bottom: 1px solid var(--rule); }
.js .cohort-bar { display: block; }
.cohort-bar .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .75rem; padding-block: .625rem; }
.bar-label { font-weight: 600; font-size: .9375rem; color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; min-height: 2.75rem; padding: 0 .875rem; border: 1px solid var(--rule-strong); border-radius: 3px; background: #ffffff; color: var(--ink); font: 600 .9375rem/1 var(--body); cursor: pointer; white-space: nowrap; transition: background-color 180ms var(--ease-out-3), border-color 180ms var(--ease-out-3), color 180ms var(--ease-out-3), transform 150ms var(--ease-out-3); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #ffffff; }
.chip[data-set="contested"][aria-pressed="true"] { background: var(--bronze); border-color: var(--bronze); }
@media (hover: hover) {
  .chip[aria-pressed="false"]:hover { background: var(--on-navy-2); border-color: var(--navy); }
}
.bar-summary { flex: 1 1 100%; font-size: .9375rem; line-height: 1.4; font-variant-numeric: tabular-nums; color: var(--muted); }

/* Hero + subpage banner */
.hero, .doc-hero { position: relative; isolation: isolate; overflow: hidden; overflow: clip; background: var(--navy); color: #ffffff; }
.hero::before, .doc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 40px); }
.hero .wrap { padding-block: 2.25rem 1.75rem; text-align: center; }
.doc-hero .wrap { padding-block: 2.25rem 2.25rem; text-align: left; }
.doc-crumb { font-size: .9375rem; font-weight: 600; color: var(--on-navy-2); margin-bottom: .625rem; }
.doc-crumb a { color: #ffffff; }
h1 { max-width: 58rem; margin-inline: auto; font: 600 1.75rem/1.22 var(--display); letter-spacing: -.012em; text-wrap: balance; }
.doc-hero h1 { margin-inline: 0; max-width: 48rem; }
.lede { max-width: 44rem; margin: 1rem auto 0; font-size: 1.0625rem; line-height: 1.55; color: var(--on-navy-2); }
.doc-hero .lede { margin-inline: 0; max-width: 46rem; }
.doc-meta { margin-top: 1rem; padding-top: .875rem; border-top: 1px solid var(--rule-on-navy); font-size: .9375rem; font-variant-numeric: tabular-nums; color: var(--on-navy-2); }
.sep { display: inline-block; vertical-align: .22em; width: .22em; height: .22em; margin-inline: .45em; border-radius: 50%; background: currentColor; opacity: .75; overflow: hidden; line-height: 0; text-indent: 99px; }
.strip { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1.75rem; border-block: 1px solid var(--rule-on-navy); text-align: left; }
.cell { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 1rem 0; border-top: 1px solid var(--rule-on-navy); min-width: 0; }
.cell:first-child { grid-column: 1 / -1; border-top: 0; }
.cell:nth-child(even) { padding-right: .75rem; }
.cell:nth-child(odd):not(:first-child) { padding-left: 1rem; border-left: 1px solid var(--rule-on-navy); }
@media (max-width: 43.99rem) {
  .bar-label, .bar-summary { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.cell dd { display: flex; align-items: flex-end; font: 700 1.625rem/1 var(--body); font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap; }
.cell:first-child dd { font-size: 2.5rem; }
.cell dt { margin-top: .625rem; font-size: .9375rem; line-height: 1.35; color: var(--on-navy-2); }
.stance { margin-top: 1.25rem; font-size: .9375rem; line-height: 1.5; color: var(--on-navy-2); }

/* Cohort views */
body:not([data-cohort="all"]) [data-view="all"],
body:not([data-cohort="ready"]) [data-view="ready"],
body:not([data-cohort="contested"]) [data-view="contested"],
body[data-cohort="contested"] [data-row="ready"],
body[data-cohort="ready"] [data-row="contested"] { display: none; }
@keyframes swap-in { from { opacity: 0; } to { opacity: 1; } }
.is-swapping [data-view], .is-swapping [data-row] { animation: swap-in var(--dur) var(--ease-out-3) both; }

/* Sections */
.section { padding-block: 3.5rem; border-top: 1px solid var(--rule); }
.section-tint { background: var(--tint); }
h2 { max-width: 46rem; color: var(--navy); font: 600 1.5625rem/1.24 var(--display); letter-spacing: -.01em; text-wrap: balance; }
h3 { color: var(--navy); font: 600 1.1875rem/1.3 var(--display); text-wrap: balance; }
.intro { max-width: 42rem; margin-top: .75rem; }
.more { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .75rem; font-weight: 600; }

.exhibit { margin-top: 2rem; }
.frame { margin-top: .875rem; padding: 1rem; border: 1px solid var(--rule); border-radius: 3px; background: #ffffff; }
figcaption, .caption { margin-top: .625rem; font-size: .875rem; line-height: 1.45; color: var(--muted); }

/* Verification funnel */
.funnel { display: grid; grid-template-columns: 5rem minmax(0, 1fr); grid-template-areas: "src src" "svg lab"; column-gap: .75rem; row-gap: .75rem; align-items: center; }
.fn-source { grid-area: src; font-weight: 600; line-height: 1.3; color: var(--ink); }
.fn-source .num { display: block; font-size: 1.9375rem; font-weight: 700; line-height: 1.1; color: var(--ink); }
.fn-svg { grid-area: svg; width: 100%; height: 392px; overflow: visible; }
.fn-svg svg { overflow: visible; }
.band { stroke-width: 1; vector-effect: non-scaling-stroke; }
.band-aside { fill: #eef1f4; stroke: var(--rule-strong); }
.band-ready { fill: #c5cfda; stroke: var(--navy); }
.band-contested { fill: var(--bronze-tint); stroke: var(--bronze); }
.node-source { fill: var(--muted); }
.node-aside { fill: url(#fn-hatch); stroke: var(--muted); stroke-width: 1.5; }
.node-ready { fill: var(--navy); }
.node-contested { fill: #ffffff; stroke: var(--bronze); stroke-width: 2.5; }
.band, .node { transition: opacity var(--dur) var(--ease-out-3); }
body[data-cohort="ready"] .band-aside, body[data-cohort="ready"] .node-aside,
body[data-cohort="ready"] .band-contested, body[data-cohort="ready"] .node-contested,
body[data-cohort="contested"] .band-aside, body[data-cohort="contested"] .node-aside,
body[data-cohort="contested"] .band-ready, body[data-cohort="contested"] .node-ready { opacity: .22; }
.fn-labels { grid-area: lab; display: grid; grid-template-rows: 240px 52px 68px; row-gap: 16px; height: 392px; }
.fn-labels li { display: flex; flex-direction: column; justify-content: center; min-width: 0; line-height: 1.25; }
.fn-big { font-size: 1.9375rem; font-weight: 700; line-height: 1.1; color: var(--ink); }
.fn-name { font-weight: 700; font-size: .9375rem; }
.fn-sub { font-size: .875rem; color: var(--muted); }
.fn-ready .fn-name { color: var(--navy); }
.fn-contested .fn-name { color: var(--bronze); }
.fn-aside .fn-sub { margin-top: .375rem; line-height: 1.4; }
@keyframes fn-in { from { opacity: .01; } to { opacity: 1; } }
#funnel[data-revealed] .fn-anim { animation: fn-in 260ms var(--ease-out-3) both; animation-delay: calc(var(--i) * 35ms); }

/* Ruled tables */
.ruled { width: 100%; margin-top: .875rem; border-collapse: collapse; border-top: 2px solid var(--navy); }
.ruled thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ruled tr { display: block; padding: .875rem 0; border-bottom: 1px solid var(--rule); }
.ruled th, .ruled td { display: block; padding: .25rem 0; text-align: left; font-weight: 400; vertical-align: top; }
.ruled td { position: relative; padding-left: 8.25rem; min-height: 2.6rem; overflow-wrap: anywhere; }
.ruled td::before { content: attr(data-label); position: absolute; left: 0; top: .25rem; width: 7.5rem; font-size: .875rem; font-weight: 600; color: var(--muted); line-height: 1.35; }
.ruled th[scope="row"] { display: block; padding-bottom: .375rem; font-weight: 700; color: var(--ink); }
.ruled .sub { display: block; font-size: .875rem; line-height: 1.4; color: var(--muted); font-weight: 400; }
.ruled .n { font-family: var(--body); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.reg-id { font: 700 1.0625rem/1.3 var(--body); font-variant-numeric: tabular-nums; letter-spacing: .01em; color: var(--navy); }
.sw { display: inline-block; width: .75rem; height: .75rem; margin-right: .5rem; vertical-align: -1px; }
.sw-ready { background: var(--navy); }
.sw-contested { background: #ffffff; border: 2.5px solid var(--bronze); }
.sw-aside { border: 1px solid var(--muted); background: repeating-linear-gradient(45deg, var(--muted) 0 2px, #ffffff 2px 5px); }

/* Two-column research layout with a centre rule */
.split { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; margin-top: 2rem; }
.split > * { min-width: 0; }
.split > * + * { padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.split > .exhibit { margin-top: 0; }

/* Pew-style Report Layout (Method) and Prose Column (Privacy) */
.report-grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
.toc-col { border-bottom: 1px solid var(--rule); padding-bottom: 1.25rem; }
.toc-title { font: 700 .9375rem/1.3 var(--body); color: var(--navy); margin-bottom: .5rem; }
.toc-list { display: flex; flex-wrap: wrap; gap: .375rem 1rem; }
.toc-list a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .9375rem; font-weight: 600; text-decoration: none; }
.toc-list a:hover { text-decoration: underline; }
.doc-flow { max-width: 48rem; }
.doc-flow section + section { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.doc-flow p + p, .doc-flow p + ul, .doc-flow p + ol, .doc-flow p + .frame, .doc-flow ul + p { margin-top: 1rem; }
.doc-flow h3 { margin-top: 1.5rem; margin-bottom: .5rem; }
.doc-prose { max-width: 48rem; }
.doc-prose > section + section { margin-top: 2.75rem; padding-top: 2.25rem; border-top: 1px solid var(--rule); }
.doc-prose p + p, .doc-prose p + ul, .doc-prose ul + p { margin-top: 1rem; }
.doc-prose h3 { margin-top: 1.5rem; }
.plain-list { margin-top: .75rem; border-top: 1px solid var(--rule); }
.plain-list li { padding: .75rem 0; border-bottom: 1px solid var(--rule); }
.callout-panel { margin-top: 1.5rem; padding: 1.25rem 1.5rem; border: 1px solid var(--navy); border-radius: 3px; background: var(--tint); }
.callout-panel h3 { margin-top: 0; }
.callout-panel p { margin-top: .5rem; }

.rules { margin-top: .875rem; border-top: 2px solid var(--navy); counter-reset: rule; }
.rules li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); padding: .875rem 0; border-bottom: 1px solid var(--rule); counter-increment: rule; }
.rules li::before { content: counter(rule); font: 700 1.0625rem/1.6 var(--body); font-variant-numeric: tabular-nums; color: var(--navy); }
.rules strong { display: block; font-weight: 700; }

.dossier { display: grid; grid-template-columns: minmax(0, 1fr); }
.dossier > div + div { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.dossier h4 { margin: 0 0 .5rem; font: 700 1rem/1.3 var(--body); color: var(--ink); }
.dossier li { display: grid; grid-template-columns: 1.375rem minmax(0, 1fr); align-items: baseline; padding: .375rem 0; }
.dossier li::before { content: ""; width: .75rem; height: .75rem; align-self: center; }
.dossier .yes li::before { background: var(--navy); }
.dossier .no li::before { border: 2px solid var(--ink); background: linear-gradient(to top right, transparent calc(50% - 1px), var(--ink) calc(50% - 1px), var(--ink) calc(50% + 1px), transparent calc(50% + 1px)); }

/* Legal feature */
.photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 65%; background: var(--tint); }
.bars { display: grid; row-gap: 1.25rem; }
.bar-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; font-weight: 600; }
.bar-head .n { font: 700 1.0625rem/1.3 var(--body); font-variant-numeric: tabular-nums; }
.bar-head small { font-size: .875rem; font-weight: 400; color: var(--muted); }
.bar-track { display: block; margin-top: .5rem; height: 1.5rem; }
.bar { display: block; height: 100%; width: var(--w); }
.bar-ready { background: var(--navy); }
.bar-contested { background: #ffffff; border: 2.5px solid var(--bronze); }

/* Roadmap */
.stages { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 2rem; }
.stage { padding: 1.25rem 0 1.5rem; border-top: 3px solid var(--rule); }
.stage.is-live { border-top-color: var(--navy); }
.stage .num { display: block; font-size: 1.0625rem; font-weight: 700; color: var(--muted); }
.stage.is-live .num { color: var(--navy); }
.stage h3 { margin-top: .25rem; }
.stage p { margin-top: .5rem; max-width: 24rem; }

/* Access form */
.statement { margin-top: 1.5rem; max-width: 30rem; color: var(--navy); font: 600 1.25rem/1.4 var(--display); }
.direct { margin-top: 1.5rem; }
.direct + .email-row { margin-top: .375rem; }
.form { display: grid; row-gap: 1.125rem; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.125rem; }
.field label { display: block; font-weight: 700; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 2.75rem; margin-top: .375rem; padding: .5rem .75rem; border: 1px solid var(--rule-strong); border-radius: 3px; background: #ffffff; transition: border-color 150ms var(--ease-out-3); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%231e293b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 5.25 7 8.75l3.5-3.5'/%3E%3C/svg%3E") no-repeat right .875rem center / 14px 14px; cursor: pointer; }
.field textarea { min-height: 6.5rem; resize: vertical; line-height: 1.5; }
.field [aria-invalid="true"] { border: 2px solid var(--ink); }
@media (hover: hover) { .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); } }
.err { margin-top: .375rem; font-size: .9375rem; font-weight: 700; color: var(--ink); }
.count { margin-top: .375rem; font-size: .875rem; line-height: 1.4; font-variant-numeric: tabular-nums; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.5rem; border: 0; border-radius: 3px; background: var(--navy); color: #ffffff; font-weight: 700; cursor: pointer; transition: background-color 150ms var(--ease-out-3), transform 150ms var(--ease-out-3); }
@media (hover: hover) { .btn:hover { background: var(--navy-deep); } }
.btn[aria-disabled="true"], .btn[disabled] { background: var(--muted); cursor: progress; }
.form-note { margin-top: .5rem; font-size: .9375rem; color: var(--muted); }
.form-note a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.verify-note { font-size: .875rem; color: var(--muted); }
.status-panel { padding: 1rem; border: 2px solid var(--navy); border-radius: 3px; background: var(--tint); }
.status-panel--error { border-color: var(--ink); background: #ffffff; }
.status-title { font-weight: 700; color: var(--navy); }
.status-panel p + p, .status-panel p + .copy { margin-top: .5rem; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .375rem; }
.email { font-weight: 600; overflow-wrap: anywhere; }
.copy { min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--rule-strong); border-radius: 3px; background: #ffffff; color: var(--ink); font-weight: 600; font-size: .9375rem; cursor: pointer; transition: background-color 150ms var(--ease-out-3), color 150ms var(--ease-out-3), transform 150ms var(--ease-out-3); }
@media (hover: hover) { .copy:hover { background: var(--on-navy-2); } }
.copy--icon { width: 2rem; height: 2rem; min-height: 2rem; padding: 0; border: 0; border-radius: 3px; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.copy--icon .ic-check { display: none; }
.copy--icon.is-copied .ic-copy { display: none; }
.copy--icon.is-copied .ic-check { display: block; color: var(--pine); }
@media (hover: hover) { .copy--icon:hover { background: var(--tint); color: var(--navy); } }
@media (max-width: 43.99rem), (pointer: coarse) {
  .copy--icon { width: 2.75rem; height: 2.75rem; min-height: 2.75rem; }
  .email-row a.email { display: inline-flex; align-items: center; min-height: 2.75rem; }
}

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-2); font-size: .9375rem; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 2.5rem; }
.site-footer .brand { min-height: 0; }
.site-footer p { margin-top: .75rem; max-width: 30rem; }
.site-footer h2 { color: #ffffff; font: 700 1rem/1.3 var(--body); letter-spacing: 0; }
.site-footer .email-row { margin-top: .5rem; }
.site-footer .email { color: #ffffff; }
.site-footer .copy { border-color: var(--rule-on-navy); background: transparent; color: #ffffff; }
.site-footer .copy--icon { border: 0; color: var(--on-navy-2); }
.site-footer .copy--icon.is-copied .ic-check { color: #86efac; }
@media (hover: hover) { .site-footer .copy:hover { background: rgba(255, 255, 255, .12); color: #ffffff; } }
.foot-links { margin-top: .25rem; margin-left: -.5rem; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.foot-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .5rem; color: #ffffff; }

/* Tablet and up */
@media (min-width: 44rem) {
  .hero .wrap { padding-block: 3rem 2.25rem; }
  .doc-hero .wrap { padding-block: 2.75rem; }
  h1 { font-size: 2.5rem; line-height: 1.2; }
  .lede { font-size: 1.125rem; }
  h2 { font-size: 1.9375rem; }
  h3 { font-size: 1.25rem; }
  .section { padding-block: 4.5rem; }
  .frame { padding: 1.5rem; }
  .bar-summary { flex: 0 1 auto; margin-left: auto; }
  .funnel { grid-template-columns: 10.5rem minmax(0, 1fr) 17.5rem; grid-template-areas: "src svg lab"; column-gap: 1.25rem; }
  .fn-source { text-align: right; }
  .fn-name { font-size: 1.0625rem; }
  .fn-sub { font-size: .9375rem; }
  .dossier { grid-template-columns: 1fr 1fr; }
  .dossier > div + div { margin-top: 0; padding-top: 0; border-top: 0; padding-left: 1.5rem; border-left: 1px solid var(--rule); }
  .dossier > div:first-child { padding-right: 1.5rem; }
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stage { padding-right: 2rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }

  .ruled thead { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .ruled tr { display: table-row; padding: 0; }
  .ruled th, .ruled td, .ruled th[scope="row"] { display: table-cell; position: static; min-height: 0; padding: .875rem 1.25rem .875rem 0; border-bottom: 1px solid var(--rule); }
  .ruled thead th { padding-block: .625rem; font-size: .875rem; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--rule-strong); }
  .ruled td::before { content: none; }
  .ruled th:last-child, .ruled td:last-child { padding-right: 0; }
  .ruled .num-col { text-align: right; }
  .ledger th[scope="row"] { white-space: nowrap; }
  .ledger th:last-child, .ledger td:last-child { width: 17rem; padding-left: 1.25rem; }
  .ledger td:nth-child(5) { padding-left: 1.25rem; }
  .ledger thead th:nth-child(5) { padding-left: 1.25rem; }
  .statement { font-size: 1.5625rem; line-height: 1.36; }
}

/* Desktop: 76px header, sticky filter bar, ruled two-column sections */
@media (min-width: 64rem) {
  html { scroll-padding-top: calc(var(--header-h) + var(--bar-h) + 1.25rem); }
  .site-header { position: sticky; top: 0; z-index: 30; height: var(--header-h); }
  .site-header .wrap { flex-wrap: nowrap; height: 100%; padding-top: 0; padding-bottom: 0; gap: 0 2rem; }
  .brand { order: 0; }
  .nav { order: 0; margin-left: 0; gap: .25rem; flex: 1 1 auto; }
  .nav a { padding: 0 .875rem; }
  .lang { order: 0; }
  .btn-header { order: 0; margin-left: 0; min-height: 2.5rem; padding: 0 1.5rem; }
  .cohort-bar { position: sticky; top: var(--header-h); z-index: 20; }
  .cohort-bar .wrap { flex-wrap: nowrap; min-height: var(--bar-h); padding-block: 0; }
  .chip { min-height: 2rem; }
  .chip::after { content: ""; position: absolute; inset: -8px 0; }
  .strip { grid-template-columns: 1.55fr repeat(4, minmax(0, 1fr)); }
  .cell, .cell:nth-child(odd):not(:first-child) { padding: 1.25rem 1rem 1.25rem 1.5rem; border-top: 0; border-left: 1px solid var(--rule-on-navy); }
  .cell:first-child { grid-column: auto; padding-left: 0; border-left: 0; }
  .cell dd { height: 3rem; font-size: 2.125rem; }
  .cell:first-child dd { font-size: 3rem; }
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split.split-rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split > * + * { padding-top: 0; border-top: 0; padding-left: 2.5rem; border-left: 1px solid var(--rule); }
  .split > *:first-child { padding-right: 2.5rem; }
  .stage { padding-right: 2.5rem; }

  .report-grid { grid-template-columns: 16rem minmax(0, 1fr); column-gap: 3rem; align-items: start; }
  .toc-col { position: sticky; top: calc(var(--header-h) + 2rem); border-bottom: 0; padding-bottom: 0; border-right: 1px solid var(--rule); padding-right: 1.5rem; }
  .toc-list { flex-direction: column; gap: .25rem; }
  .toc-list a { min-height: 2.5rem; }
}

/* Observatory Workbench & Briefings (flat archival ledger tokens) */
/* Seven view tabs: always one row. They fit at 1280px and scroll sideways on a phone, never wrap. */
.obs-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; gap: .25rem; border-bottom: 1px solid var(--rule-strong); margin-top: 0; scrollbar-width: thin; }
.obs-tabs .obs-tab { flex: none; min-height: 2.75rem; padding: .5rem .8rem; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; white-space: nowrap; font-size: .9375rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: color 120ms ease-out, border-color 120ms ease-out; }
.obs-tabs .obs-tab:hover { color: var(--navy); }
.obs-tabs .obs-tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.tab-cnt { font-weight: 400; font-size: .875rem; font-variant-numeric: tabular-nums; }
.obs-paid-btn { min-height: 2.75rem; padding: .35rem .85rem; }
.obs-paid-btn[aria-pressed="true"] { background: var(--navy); color: #ffffff; border-color: var(--navy); }
.obs-hint { margin-top: .75rem; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.obs-controls { margin-top: .75rem; display: flex; flex-wrap: wrap; align-items: flex-end; gap: .625rem 1rem; padding: .625rem 1rem .75rem; border: 1px solid var(--rule); border-radius: 0; background: var(--tint); }
.obs-ctl { display: flex; flex-direction: column; gap: .25rem; flex: 1 1 9rem; min-width: 0; }
.obs-ctl--search { flex: 1 1 100%; }
.obs-ctl-label { font-size: .8125rem; font-weight: 600; line-height: 1.3; color: var(--muted); }
.obs-controls select, .obs-search { width: 100%; min-height: 2.75rem; padding: .35rem .75rem; border: 1px solid var(--rule-strong); border-radius: 3px; background: #ffffff; font-size: .9375rem; }
.obs-controls select { appearance: none; -webkit-appearance: none; padding-right: 2.25rem; background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%231e293b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 5.25 7 8.75l3.5-3.5'/%3E%3C/svg%3E") no-repeat right .75rem center / 14px 14px; cursor: pointer; }
.obs-search::placeholder { color: var(--muted); opacity: 1; }
.obs-count { display: inline-flex; align-items: center; min-height: 2.75rem; margin-left: auto; font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.obs-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1.5rem; margin-top: .75rem; }
.obs-meta-main { flex: 1 1 22rem; min-width: 0; }
.obs-meta .obs-hint { margin-top: 0; }
.obs-subrange-note { margin-top: .25rem; font-size: .8125rem; line-height: 1.4; color: var(--bronze); }
.obs-meta .obs-count { flex: none; min-height: 0; margin-left: 0; white-space: nowrap; }
.obs-ctl--period { flex: 1 1 100%; position: relative; }
.obs-period-wrap { position: relative; }
.obs-period-btn { display: flex; align-items: center; gap: .5rem; width: 100%; min-height: 2.75rem; padding: .35rem .75rem; border: 1px solid var(--rule-strong); border-radius: 3px; background: #ffffff; color: var(--ink); font-size: .9375rem; font-variant-numeric: tabular-nums; text-align: left; cursor: pointer; }
@media (hover: hover) { .obs-period-btn:hover { border-color: var(--navy); } }
.obs-period-ic { display: inline-flex; flex: none; color: var(--navy); }
.obs-period-val { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.obs-period-chev { flex: none; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%231e293b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 5.25 7 8.75l3.5-3.5'/%3E%3C/svg%3E") no-repeat center / 14px 14px; }
.obs-period-pop { position: absolute; left: 0; top: calc(100% + 4px); z-index: 25; width: min(38.5rem, calc(100vw - 2rem)); max-width: calc(100vw - 2rem); border: 1px solid var(--rule-strong); border-radius: 3px; background: #ffffff; box-shadow: 0 12px 30px rgba(22, 48, 80, .14); color: var(--ink); }
.obs-period-pop[hidden] { display: none; }
.period-body { display: grid; grid-template-columns: minmax(0, 14.5rem) minmax(0, 1fr); }
.period-presets { padding: .75rem; border-right: 1px solid var(--rule); background: var(--tint); display: flex; flex-direction: column; gap: .25rem; }
.period-col-title { margin: 0 0 .375rem; font-size: .75rem; font-weight: 700; color: var(--muted); }
.period-preset { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: .45rem .625rem; border: 1px solid transparent; border-radius: 3px; background: transparent; text-align: left; cursor: pointer; transition: background-color 120ms ease-out, border-color 120ms ease-out; }
.period-preset:disabled { opacity: .45; cursor: not-allowed; }
@media (hover: hover) { .period-preset:not(:disabled):hover { background: #ffffff; border-color: var(--rule); } }
.period-preset[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #ffffff; }
.preset-name { font-size: .875rem; font-weight: 700; line-height: 1.3; }
.preset-sub { font-size: .75rem; font-variant-numeric: tabular-nums; opacity: .82; line-height: 1.35; }
.period-custom { padding: .75rem .875rem; }
.period-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.period-field { display: flex; flex-direction: column; gap: .2rem; font-size: .75rem; font-weight: 600; color: var(--muted); }
.period-field input { width: 100%; min-height: 2.25rem; padding: .25rem .5rem; border: 1px solid var(--rule-strong); border-radius: 3px; background: #ffffff; color: var(--ink); font-size: .875rem; font-variant-numeric: tabular-nums; }
.period-err { margin-top: .375rem; font-size: .75rem; font-weight: 600; color: var(--oxblood); }
.cal-nav { display: flex; align-items: center; gap: .375rem; margin-top: .625rem; }
.cal-step { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border: 1px solid var(--rule-strong); border-radius: 3px; background: #ffffff; color: var(--navy); font-size: 1.125rem; line-height: 1; cursor: pointer; }
.cal-step:disabled { opacity: .4; cursor: not-allowed; }
.cal-nav select { flex: 1 1 auto; min-height: 2rem; padding: .15rem 1.5rem .15rem .45rem; font-size: .8125rem; font-weight: 600; background-position: right .4rem center; }
.cal-wkdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: .5rem; text-align: center; font-size: .75rem; font-weight: 600; color: var(--muted); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin-top: .25rem; }
.cal-day { min-height: 2rem; border: 1px solid transparent; border-radius: 3px; background: transparent; color: var(--ink); font-size: .8125rem; font-variant-numeric: tabular-nums; cursor: pointer; }
.cal-day:disabled { color: #b6bec7; cursor: not-allowed; }
@media (hover: hover) { .cal-day:not(:disabled):hover { border-color: var(--navy); background: var(--tint); } }
.cal-day.is-inrange { background: var(--tint); color: var(--navy); font-weight: 600; }
.cal-day.is-start, .cal-day.is-end { background: var(--navy); border-color: var(--navy); color: #ffffff; font-weight: 700; }
.period-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .625rem .875rem; border-top: 1px solid var(--rule); background: var(--tint); }
.period-preview { font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--navy); }
.period-actions { display: flex; gap: .5rem; margin-left: auto; }
.period-reset-btn, .period-apply-btn { min-height: 2.125rem; padding: 0 .75rem; border-radius: 3px; font-size: .8125rem; font-weight: 700; cursor: pointer; }
.period-reset-btn { border: 1px solid var(--rule-strong); background: #ffffff; color: var(--ink); }
.period-apply-btn { border: 1px solid var(--navy); background: var(--navy); color: #ffffff; }
@media (max-width: 43.99rem) {
  .obs-period-pop { left: calc(-1rem - 1px); right: calc(-1rem - 1px); width: auto; max-width: none; }
  .period-body { grid-template-columns: minmax(0, 1fr); }
  .period-presets { border-right: 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .375rem; }
  .period-presets .period-col-title { grid-column: 1 / -1; margin-bottom: .125rem; }
}
@media (min-width: 44rem) {
  .obs-ctl { flex: 0 1 auto; }
  .obs-ctl--period { flex: 0 1 auto; min-width: 17.5rem; max-width: 24rem; }
  .obs-ctl--search { flex: 1 1 12rem; }
}
/* Pointer-sized controls on desktop keep the filter bar to one compact row; phones keep 44px targets. */
@media (min-width: 64rem) {
  .obs-controls select, .obs-controls .obs-search, .obs-controls .obs-paid-btn, .obs-controls .obs-period-btn { min-height: 2.5rem; }
}
.obs-root { min-height: 44rem; }
#an-root { min-height: 60rem; }
.sem-legend { margin-top: 0; padding: .5rem 1rem; border: 1px solid var(--rule); border-top: 0; background: #ffffff; display: flex; flex-wrap: wrap; align-items: center; gap: .375rem 1.5rem; font-size: .8125rem; line-height: 1.4; color: var(--ink); }
.sem-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .375rem .875rem; }
.sem-key { display: inline-flex; align-items: center; gap: .375rem; white-space: nowrap; }
.sem-key svg { flex: none; color: var(--navy); }
.sem-mk { display: inline-flex; align-items: center; justify-content: center; width: .75rem; height: .75rem; flex: none; }
.mk-high { background: var(--oxblood); transform: rotate(45deg) scale(.82); }
.mk-caveat { border: 2px solid var(--bronze); background: #ffffff; }
.mk-lead { background: var(--navy); }
.obs-table-wrap { margin-top: .625rem; overflow-x: auto; }
.ruled.obs-table { margin-top: 0; }
.obs-table td.num-col, .obs-table th.num-col, .obs-table td.mono { white-space: nowrap; }
.obs-table td:nth-child(3) { white-space: nowrap; }
/* Workbench density: registry names arrive in capitals, so rows use 15px text and tighter rules than prose tables. */
.obs-table tbody th[scope="row"] .obs-row-head { display: inline-flex; align-items: flex-start; gap: .45rem; }
.obs-table tbody th[scope="row"] .obs-row-head .sem-mk { margin-top: .32rem; }
.obs-table tbody th[scope="row"] strong { display: block; font-size: .9375rem; line-height: 1.35; }
.obs-tip { position: relative; display: inline-flex; align-items: center; cursor: help; }
.obs-tip--gloss { text-decoration: underline dotted var(--rule-strong); text-underline-offset: 3px; }
.obs-tip[data-tip]:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 6px);
  z-index: 40;
  width: max-content;
  max-width: min(19rem, calc(100vw - 2rem));
  padding: .5rem .6875rem;
  border: 1px solid var(--navy);
  border-radius: 3px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(22, 48, 80, .16);
  color: var(--ink);
  font: 400 .75rem/1.45 var(--body);
  letter-spacing: 0;
  text-align: left;
  white-space: normal;
  pointer-events: none;
}
.obs-tip--right[data-tip]:focus-visible::after { left: auto; right: 0; }
.obs-tip--down[data-tip]:focus-visible::after { bottom: auto; top: calc(100% + 6px); }
.obs-tip--wide[data-tip]:focus-visible::after { max-width: min(23rem, calc(100vw - 3rem)); }
@media (hover: hover) {
  .obs-tip[data-tip]:hover::after {
    content: attr(data-tip);
    position: absolute;
    left: 0;
    bottom: calc(100% + 6px);
    z-index: 40;
    width: max-content;
    max-width: min(19rem, calc(100vw - 2rem));
    padding: .5rem .6875rem;
    border: 1px solid var(--navy);
    border-radius: 3px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(22, 48, 80, .16);
    color: var(--ink);
    font: 400 .75rem/1.45 var(--body);
    letter-spacing: 0;
    text-align: left;
    white-space: normal;
    pointer-events: none;
  }
  .obs-tip--right[data-tip]:hover::after { left: auto; right: 0; }
  .obs-tip--down[data-tip]:hover::after { bottom: auto; top: calc(100% + 6px); }
  .obs-tip--wide[data-tip]:hover::after { max-width: min(23rem, calc(100vw - 3rem)); }
}
.has-js-tips .obs-tip[data-tip]:hover::after,
.has-js-tips .obs-tip[data-tip]:focus-visible::after { content: none; display: none; }
.obs-tip-pop {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 60;
  width: max-content;
  max-width: min(19rem, calc(100% - 1.5rem));
  padding: .5rem .6875rem;
  border: 1px solid var(--navy);
  border-radius: 3px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(22, 48, 80, .16);
  color: var(--ink);
  font: 400 .75rem/1.45 var(--body);
  letter-spacing: 0;
  text-align: left;
  white-space: normal;
  pointer-events: none;
}
.obs-tip-pop--page {
  position: fixed;
  max-width: min(19rem, calc(100vw - 1.5rem));
}
.obs-tip-pop--wide { max-width: min(23rem, calc(100% - 1.5rem)); }
.obs-tip-pop--page.obs-tip-pop--wide { max-width: min(23rem, calc(100vw - 1.5rem)); }
.obs-table tbody td { font-size: .9375rem; line-height: 1.4; }
.obs-table tbody .sub { margin-top: .125rem; font-size: .8125rem; }
.obs-table tbody .n { font-size: 1rem; }
@media (min-width: 44rem) {
  .obs-table-wrap { overflow-x: clip; }
  .ruled.obs-table tbody th[scope="row"], .ruled.obs-table tbody td { padding-block: .625rem; }
  .ruled.obs-table tbody td.obs-act { padding-right: .5rem; }
  .ruled.obs-table thead th { position: sticky; top: 0; z-index: 5; background: var(--paper); padding-block: .5rem; box-shadow: inset 0 -1px 0 var(--rule-strong), 0 2px 4px rgba(29, 61, 99, .05); }
  /* Every row carries a 3px severity bar and 16px of clearance, so the first header starts on the same line as the names. */
  .ruled.obs-table thead th:first-child { padding-left: 1rem; }
  .ruled.obs-table tbody th[scope="row"] { width: 31%; }
  .ruled.obs-table tbody td:nth-child(2) { width: 25%; }
  /* A long buyer name stops at two lines in the table; the record drawer shows it in full. */
  .obs-table .obs-buyer { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
}
@media (min-width: 64rem) {
  .ruled.obs-table thead th { top: var(--header-h); }
}
/* Cluster rows name two firms: the linked firm starts its own line. */
.obs-table tbody th[scope="row"] .obs-peer { display: block; font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.obs-table .nw { white-space: nowrap; }
/* Header row: every label, sortable or not, sits on one shared centre line. */
.obs-table thead th { vertical-align: middle; line-height: 1.3; }
.obs-sort { position: relative; display: inline-flex; align-items: center; gap: .375rem; margin: 0; padding: 0; min-width: 0; min-height: 0; border: 0; border-radius: 0; background: none; font: inherit; line-height: inherit; color: inherit; vertical-align: baseline; cursor: pointer; }
.obs-sort::before { content: ""; position: absolute; inset: -.875rem -.5rem; }
.obs-sort::after { content: ""; flex: none; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--rule); }
@media (max-width: 43.99rem) { .obs-sort { min-width: 2.75rem; min-height: 2.75rem; } }
th[aria-sort="descending"] .obs-sort, th[aria-sort="ascending"] .obs-sort { color: var(--navy); }
th[aria-sort="descending"] .obs-sort::after { border-top-color: var(--navy); }
th[aria-sort="ascending"] .obs-sort::after { border-top: 0; border-bottom: 5px solid var(--navy); }
@media (hover: hover) { .obs-sort:hover { color: var(--navy); } }
.obs-row { cursor: pointer; transition: background-color 120ms ease-out; }
.obs-row:hover, .obs-row.is-open { background: var(--tint); }
.obs-row th[scope="row"] { border-radius: 0; }
.obs-row[data-sev="high"] th[scope="row"] { box-shadow: inset 3px 0 0 var(--oxblood); background: linear-gradient(90deg, var(--oxblood-tint) 0%, transparent 18%); padding-left: 1rem; }
.obs-row[data-sev="caveat"] th[scope="row"] { box-shadow: inset 3px 0 0 var(--bronze); padding-left: 1rem; }
.obs-row[data-sev="lead"] th[scope="row"] { box-shadow: inset 3px 0 0 var(--navy); padding-left: 1rem; }
.obs-sig-bar { display: inline-flex; align-items: center; gap: .375rem; }
.sig-slot { display: inline-flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; color: #c2c8cf; }
.sig-slot.is-on { color: var(--navy); }
.sig-slot.is-alert { color: var(--oxblood); }
.sig-slot.is-caveat { color: var(--bronze); }
.sig-slot.is-paid { color: var(--pine); }
/* Signal sublabel: each phrase is unbreakable, so a line can only break between phrases (phones) and
   stays on one line on desktop, where the column sizes itself to the longest sublabel. */
.obs-sig-txt { display: flex; flex-wrap: wrap; align-items: baseline; margin-top: .25rem; font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.obs-sig-txt > span { white-space: nowrap; }
@media (min-width: 64rem) { .obs-sig-txt { flex-wrap: nowrap; } }
.obs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.obs-tag { display: inline-flex; align-items: center; padding: 2px 7px; border: 1px solid var(--rule-strong); border-radius: 0; background: #ffffff; color: var(--ink); font-size: .75rem; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.obs-tag.is-caveat { border: 1px dashed var(--bronze); color: var(--bronze); }
.obs-tag.is-alert { border-color: var(--oxblood); color: var(--oxblood); }
.val-bar { display: block; height: 3px; background: var(--tint); margin-top: 5px; width: 100%; min-width: 5.5rem; }
.val-bar-fill { display: block; height: 100%; background: var(--navy); }
.val-bar-fill.is-high { background: var(--oxblood); }
.val-bar-fill.is-caveat { background: var(--bronze); }
.val-struck { color: var(--muted); text-decoration: line-through; margin-right: .375rem; font-weight: 400; font-size: max(12px, .9em); }
.obs-act { white-space: nowrap; text-align: right; color: var(--navy); font-size: .8125rem; font-weight: 600; }
.obs-open { margin-right: .375rem; }
.obs-chev { display: inline-block; font-size: 1.125rem; font-weight: 700; line-height: 1; color: var(--navy); transition: transform 140ms ease-out; }
.obs-row:hover .obs-chev { transform: translateX(3px); }
.ev-meter { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .875rem; margin-bottom: 1rem; padding: .625rem .875rem; border: 1px solid var(--rule); border-radius: 0; background: var(--tint); }
.ev-meter-title { font-size: .8125rem; font-weight: 700; color: var(--ink); margin-right: .25rem; }
.ev-pip-item { display: inline-flex; align-items: center; gap: .35rem; font-size: .8125rem; color: var(--ink); white-space: nowrap; }
.ev-pip { display: inline-block; width: .625rem; height: .625rem; flex: none; }
.ev-pip.is-ok { background: var(--pine); }
.ev-pip.is-lead { background: var(--navy); }
.ev-pip.is-caveat { border: 2px solid var(--bronze); background: #ffffff; }
.ev-pip.is-alert { background: var(--oxblood); }
.ev-pip.is-none { border: 1.5px solid var(--muted); background: #ffffff; }
.hero .ev-meter { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); color: #ffffff; margin-top: 1.25rem; margin-bottom: 0; }
.hero .ev-meter .ev-meter-title, .hero .ev-meter .ev-pip-item,
.doc-hero .ev-meter .ev-meter-title, .doc-hero .ev-meter .ev-pip-item { color: #ffffff; }
.doc-hero .ev-meter { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); color: #ffffff; margin-top: 1.125rem; margin-bottom: 0; }
.doc-hero .ev-pip, .hero .ev-pip { outline: 1px solid rgba(255, 255, 255, .6); }
.brief-row-sev { border-radius: 0; }
.brief-row-sev[data-sev="high"] { box-shadow: inset 3px 0 0 var(--oxblood); background: linear-gradient(90deg, var(--oxblood-tint) 0%, transparent 14%); }
.brief-row-sev[data-sev="caveat"] { box-shadow: inset 3px 0 0 var(--bronze); }
/* The baseline `.ruled th[scope="row"]` (0,2,1) zeroes left padding, so the name touched the 3px bar.
   This selector (0,3,2) wins at every width and keeps 16px between bar and text. */
.ruled tbody th.brief-row-sev[data-sev] { padding-left: 1rem; }
@media (max-width: 43.99rem) {
  .ruled.obs-table tbody tr.obs-row,
  .ruled.brief-table tbody tr {
    padding: 1rem 1rem 1rem 1.125rem;
  }
  .ruled.obs-table tbody tr.obs-row[data-sev="high"],
  .ruled.brief-table.has-sev tbody tr:has(> th[data-sev="high"]) {
    box-shadow: inset 3px 0 0 var(--oxblood);
    background: linear-gradient(90deg, var(--oxblood-tint) 0%, transparent 18%);
  }
  .ruled.obs-table tbody tr.obs-row[data-sev="caveat"],
  .ruled.brief-table.has-sev tbody tr:has(> th[data-sev="caveat"]) {
    box-shadow: inset 3px 0 0 var(--bronze);
  }
  .ruled.obs-table tbody tr.obs-row[data-sev="lead"] {
    box-shadow: inset 3px 0 0 var(--navy);
  }
  .ruled.obs-table tbody tr.obs-row:hover,
  .ruled.obs-table tbody tr.obs-row.is-open {
    background: var(--tint);
  }
  .ruled.obs-table tbody tr.obs-row[data-sev] th[scope="row"],
  .ruled.brief-table.has-sev tbody th.brief-row-sev[data-sev] {
    box-shadow: none;
    background: none;
    padding-left: 0;
    padding-bottom: .5rem;
  }
  .ruled.obs-table tbody td {
    padding: .375rem 0 .375rem 8.75rem;
    min-height: 2rem;
  }
  .ruled.obs-table tbody td::before {
    left: 0;
    top: .375rem;
    width: 8rem;
  }
  .ruled.obs-table tbody td.obs-act {
    padding-left: 0;
    text-align: left;
    padding-top: .5rem;
  }
  .ruled.brief-table tbody td {
    padding: .375rem 0 .375rem 7.75rem;
    min-height: 2rem;
  }
  .ruled.brief-table tbody td::before {
    left: 0;
    top: .375rem;
    width: 7rem;
  }
}
.brief-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .875rem; margin-top: .25rem; }
.chrono-ruler { margin-top: 1.25rem; margin-bottom: 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--rule); border-radius: 0; background: var(--tint); }
.chrono-ruler-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; font-size: .875rem; font-weight: 700; line-height: 1.35; font-variant-numeric: tabular-nums; color: var(--navy); }
.chrono-ruler-head > span { white-space: nowrap; }
.chrono-ruler-note { font-weight: 400; color: var(--muted); }
@media (max-width: 43.99rem) { .chrono-ruler-head > .chrono-ruler-note { order: 3; flex-basis: 100%; white-space: normal; } }
.chrono-track { position: relative; height: 2.75rem; margin-top: .5rem; border-bottom: 2px solid var(--rule-strong); }
.chrono-span { position: absolute; top: 1rem; height: .375rem; background: var(--navy); }
.chrono-span.is-alert { background: var(--oxblood); }
/* The quarter under review: a taller block on the same axis. */
.chrono-span.is-window { top: .625rem; height: 1.125rem; }
.chrono-mark { position: absolute; top: .5rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.chrono-tick { width: 2px; height: 1.5rem; background: var(--navy); }
.chrono-mark.is-alert .chrono-tick { background: var(--oxblood); width: 3px; }
.chrono-mark.is-caveat .chrono-tick { background: var(--bronze); }
.chrono-lbls { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .625rem 1rem; margin-top: .75rem; font-size: .8125rem; }
.chrono-lbls div { border-left: 2px solid var(--rule-strong); padding-left: .5rem; }
.chrono-lbls div.is-alert { border-left-color: var(--oxblood); }
.chrono-lbls div.is-caveat { border-left-color: var(--bronze); }
/* Chronology milestones: one balanced row of four on desktop, 2x2 on tablet, one column on a phone. */
.chrono-events { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 1.5rem; margin-top: 1rem; }
.chrono-events > * { min-width: 0; padding-top: .625rem; border-top: 3px solid var(--navy); border-radius: 0; font-size: .875rem; line-height: 1.45; color: var(--ink); }
.chrono-events > .is-alert { border-top-color: var(--oxblood); }
.chrono-events > .is-caveat { border-top-color: var(--bronze); }
.chrono-events strong { display: block; margin-bottom: .125rem; font-size: .9375rem; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--navy); }
.chrono-events > .is-alert strong { color: var(--oxblood); }
.chrono-events > .is-caveat strong { color: var(--bronze); }
@media (min-width: 34rem) { .chrono-events { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .chrono-events { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 59.99rem) {
  .obs-table th.col-act-h, .obs-table td.obs-act { display: none; }
}
.obs-status, .obs-empty { margin-top: 1rem; padding: 1.25rem; border: 1px solid var(--rule); background: var(--tint); color: var(--muted); }
.obs-gate { margin-top: 1rem; padding: 1.25rem 1.5rem; border: 1px solid var(--rule); border-top: 2px solid var(--navy); border-radius: 0; background: var(--tint); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.obs-gate[hidden] { display: none; }
.obs-gate-main { flex: 1 1 24rem; min-width: 0; }
.obs-gate-title { margin: 0; font: 700 1.0625rem/1.35 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.obs-gate-body { margin: .375rem 0 0; font-size: .9375rem; line-height: 1.5; color: var(--ink); max-width: 58ch; }
.obs-gate-act { flex: none; }
.obs-gate-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .5rem 1.25rem; border: 1px solid var(--navy); border-radius: 3px; background: var(--navy); color: #ffffff; font-weight: 700; font-size: .9375rem; text-decoration: none; white-space: nowrap; transition: background-color 120ms ease-out, border-color 120ms ease-out; }
@media (hover: hover) { .obs-gate-btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); } }

/* Observatory record drawer (Direction C dossier parity): head and footer stay fixed, body scrolls. */
html:has(dialog.obs-drawer[open]) { overflow: hidden; }
dialog.obs-drawer { position: fixed; inset: 0 0 0 auto; width: min(780px, 100vw); max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; border-left: 2px solid var(--navy); border-radius: 0; background: #ffffff; color: var(--ink); overflow: hidden; opacity: 0; transform: translateX(28px);
  transition: opacity 160ms var(--ease-out-3), transform 160ms var(--ease-out-3), overlay 160ms allow-discrete, display 160ms allow-discrete; }
dialog.obs-drawer[open] { opacity: 1; transform: none; transition: opacity 240ms var(--ease-out-3), transform 240ms var(--ease-out-3), overlay 240ms allow-discrete, display 240ms allow-discrete; }
@starting-style { dialog.obs-drawer[open] { opacity: 0; transform: translateX(28px); } }
dialog.obs-drawer::backdrop { background: rgba(15, 25, 38, .56); }
.drawer-inner { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
.drawer-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 2rem 1rem; border-bottom: 2px solid var(--navy); background: #ffffff; }
.drawer-head-main { min-width: 0; }
.drawer-title { max-width: none; color: var(--navy); font: 600 1.375rem/1.25 var(--display); letter-spacing: -.01em; overflow-wrap: anywhere; text-wrap: balance; }
.drawer-sub { margin-top: .375rem; font-size: .875rem; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.drawer-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; flex: none; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--rule-strong); border-radius: 3px; background: #ffffff; color: var(--ink); font-weight: 600; font-size: .9375rem; white-space: nowrap; cursor: pointer; transition: background-color 150ms var(--ease-out-3), transform 150ms var(--ease-out-3); }
.drawer-btn:active { transform: scale(.97); }
.drawer-btn:disabled { border-color: var(--rule); background: var(--tint); color: var(--muted); cursor: not-allowed; transform: none; }
@media (hover: hover) { .drawer-btn:hover:not(:disabled) { background: var(--tint); } }
.drawer-btn kbd { padding: .0625rem .375rem; border: 1px solid var(--rule); font: 400 .75rem/1.4 var(--mono); color: var(--muted); }
.drawer-close-x { display: none; }
@media (max-width: 43.99rem), (pointer: coarse) {
  .drawer-close-txt, .drawer-close-kbd { display: none; }
  .drawer-close-x { display: block; }
  .drawer-close { width: 2.75rem; min-width: 2.75rem; padding: 0; }
}
@media (max-width: 43.99rem) {
  .drawer-tabs { gap: 0 1rem; }
  .drawer-tab { font-size: .875rem; }
}
.drawer-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 2rem 2rem; }
/* Three tracks keep "Record X of Y" on the true centre line, whatever the two button labels measure. */
.drawer-foot { position: sticky; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .75rem; padding: .75rem 2rem; border-top: 1px solid var(--rule); background: #ffffff; }
.drawer-foot .drawer-btn { justify-self: start; min-width: 6.5rem; }
.drawer-foot .drawer-btn:last-child { justify-self: end; }
.drawer-pos { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; text-align: center; white-space: nowrap; }

/* Registry verification meter: four 10px squares, filled when that registry holds a matching record. */
.reg-meter { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding-top: 1.25rem; }
.reg-meter-title { font-size: .8125rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.reg-meter-list { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.reg-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.reg-item.is-on { color: var(--ink); }
.reg-box { display: inline-block; flex: none; width: 10px; height: 10px; border: 1.5px solid var(--rule-strong); border-radius: 0; background: #ffffff; }
.reg-item.is-on .reg-box { border-color: var(--navy); background: var(--navy); }

/* Drawer tabs: underline only, no boxed chrome. */
/* The tab row pins to the top of the scrolling body, so a long signal list never hides the way to the other panels. */
.drawer-tabs { position: sticky; top: 0; z-index: 2; display: flex; gap: 0 1.5rem; margin: 1rem -2rem 0; padding: 0 2rem; overflow-x: auto; scrollbar-width: none; background: #ffffff; box-shadow: inset 0 -1px 0 var(--rule); }
.drawer-tab { flex: none; min-height: 2.75rem; padding: .5rem 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--muted); font: 600 .9375rem/1.25 var(--body); white-space: nowrap; cursor: pointer; transition: color 160ms var(--ease-out-3), border-color 160ms var(--ease-out-3); }
.drawer-tab[aria-selected="true"] { border-bottom-color: var(--navy); color: var(--navy); }
@media (hover: hover) { .drawer-tab:hover { color: var(--navy); } }
.drawer-panel { padding-top: 1.25rem; }
.drawer-panel > * + * { margin-top: 1.5rem; }
.drawer-h { color: var(--navy); font: 600 1rem/1.3 var(--display); }
.drawer-h + * { margin-top: .625rem; }
.sig-sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .625rem; }
.sig-sec-head .drawer-h { margin: 0; }
.sig-sort-bar { display: inline-flex; align-items: center; border: 1px solid var(--rule-strong); border-radius: 3px; background: #ffffff; overflow: hidden; }
.sig-sort-btn { min-height: 1.875rem; padding: 0 .625rem; border: 0; border-right: 1px solid var(--rule); border-radius: 0; background: transparent; color: var(--muted); font: 600 .75rem/1.2 var(--body); cursor: pointer; white-space: nowrap; }
.sig-sort-btn:last-child { border-right: 0; }
.sig-sort-btn[aria-pressed="true"] { background: var(--navy); color: #ffffff; }
@media (hover: hover) { .sig-sort-btn:not([aria-pressed="true"]):hover { background: var(--tint); color: var(--navy); } }

/* Plain-language case summary banner at the top of the drawer Summary panel */
.drawer-summary { padding: .9375rem 1.125rem; border: 1px solid #dce3ec; border-radius: 3px; background: var(--tint); }
.drawer-summary-title { margin: 0 0 .5rem; font: 700 .8125rem/1.3 var(--body); color: var(--navy); text-transform: none; }
.drawer-summary p { margin: 0; max-width: 66ch; font-size: .9375rem; line-height: 1.55; color: var(--ink); }
.drawer-glance { margin: 0; display: flex; flex-direction: column; gap: .375rem; }
.drawer-glance > div { display: grid; grid-template-columns: minmax(7.5rem, 9rem) minmax(0, 1fr); gap: .25rem .75rem; align-items: baseline; }
.drawer-glance dt { font-size: .8125rem; font-weight: 700; color: var(--muted); }
.drawer-glance dd { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 34rem) { .drawer-glance > div { grid-template-columns: minmax(0, 1fr); } }

/* Two-column metadata grid: quiet spacing without stacked horizontal rules */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .875rem 2rem; padding: .25rem 0; }
.facts > div { min-width: 0; padding-block: .125rem; }
.facts > .wide { grid-column: 1 / -1; }
.facts dt { font-size: .8125rem; font-weight: 600; line-height: 1.3; color: var(--muted); }
.facts dd { margin-top: .25rem; font-size: .9375rem; line-height: 1.45; overflow-wrap: anywhere; }
.facts dd .n { font-size: 1.0625rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.facts .val-bar { height: 2px; min-width: 0; margin-top: .375rem; background: #dfe3e8; }
.fact-note { display: block; margin-top: .25rem; font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.fact-status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.fact-list { margin-top: .25rem; }
.fact-list li { padding: .4375rem 0; line-height: 1.35; }
.fact-list li:first-child { padding-top: .125rem; }
.fact-list li:last-child { padding-bottom: .125rem; }
.fact-list li + li { border-top: 1px solid #e2e7ee; }
.fact-list + .fact-note, .fact-list + .sig-det { margin-top: .5rem; }
.fact-lines > span { display: block; padding: .28rem 0; line-height: 1.35; }
.fact-lines > span:first-child { padding-top: 0; }
.fact-lines > span:last-child { padding-bottom: 0; }
.fact-lines > span + span { border-top: 1px solid #e8ecf2; }
.fact-quote { margin: .4rem 0 .25rem; padding: .35rem .75rem; border-left: 2px solid #cbd5e1; font-size: .8125rem; line-height: 1.45; color: var(--muted); background: #f8fafc; }

/* Signal cards and source records: calm blocks aligned to table severity palette, zero accent bars */
.sig-list { display: grid; gap: .75rem; }
.sig-card { padding: .9375rem 1.125rem; border: 1px solid #dce3ec; border-radius: 3px; background: var(--tint); }
.sig-card--high { border-color: #e8c6c7; background: var(--oxblood-tint); }
.sig-card--caveat { border-color: #e4d1b5; background: var(--bronze-tint); }
.sig-card--lead { border-color: #dce3ec; background: var(--tint); }
.sig-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; }
.sig-title-wrap { display: inline-flex; align-items: center; gap: .45rem; min-width: 0; }
.sig-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--navy); }
.sig-icon--high { color: var(--oxblood); }
.sig-icon--caveat { color: var(--bronze); }
.sig-icon--lead { color: var(--navy); }
.sig-code { font-size: .9375rem; font-weight: 700; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.sig-cnt { font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.sig-det { font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.sig-text { max-width: 64ch; font-size: .9375rem; line-height: 1.5; }
.sig-head + .sig-text { margin-top: .25rem; }
.sig-facts { margin-top: .5rem; }
.sig-facts > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); column-gap: 1rem; padding: .3rem 0; font-size: .8125rem; line-height: 1.4; }
.sig-facts > div + div { border-top: 1px solid rgba(29, 61, 99, .08); }
.sig-facts dt { color: var(--muted); font-weight: 600; }
.sig-facts dd { color: var(--ink); overflow-wrap: anywhere; }
.sig-sublist { margin-top: .625rem; list-style: none; padding: 0; }
.sig-subitem { padding-top: .55rem; border-top: 1px solid rgba(29, 61, 99, .14); }
.sig-card--high .sig-subitem { border-top-color: rgba(155, 34, 38, .15); }
.sig-card--caveat .sig-subitem { border-top-color: rgba(154, 91, 19, .16); }
.sig-subitem + .sig-subitem { margin-top: .55rem; }
.sig-subitem .sig-facts { margin-top: 0; }
.sig-tl-note { margin: 0 0 .25rem; font-size: .75rem; font-weight: 600; color: var(--muted); }
.sig-timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.tl-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .45rem; padding: .375rem 0; font-size: .8125rem; line-height: 1.35; }
.tl-item:first-child { padding-top: .125rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item + .tl-item { border-top: 1px solid rgba(29, 61, 99, .1); }
.tl-seq { color: var(--muted); font-weight: 700; }
.tl-date { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.tl-type { color: var(--muted); }
.tl-val { font-weight: 700; color: var(--ink); }
.tl-run { color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-noval { color: var(--muted); }
.tl-tag { display: inline-block; padding: 0 5px; border: 1px solid rgba(29, 61, 99, .24); border-radius: 2px; background: rgba(255, 255, 255, .75); font-size: .75rem; color: var(--muted); }
.tl-reason { flex: 1 0 100%; font-size: .78rem; color: var(--muted); line-height: 1.4; padding-left: 1.55rem; }
.obs-vetting { margin-top: .75rem; border: 1px solid var(--rule); border-radius: 3px; background: #fbfcfd; overflow: hidden; }
.obs-vetting > summary { cursor: pointer; padding: .75rem 1rem; font-size: .875rem; font-weight: 600; color: var(--navy); user-select: none; }
.obs-vetting > summary:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
@media (hover: hover) { .obs-vetting > summary:hover { text-decoration: underline; text-underline-offset: 2px; } }
.obs-vetting-body { padding: .875rem 1rem 1rem; border-top: 1px solid var(--rule); display: grid; gap: .625rem; font-size: .84375rem; line-height: 1.55; color: var(--ink); }
.obs-vetting-body p { margin: 0; }
.obs-vetting-body .fact-note { margin: 0 0 .125rem; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.obs-vetting-body .fact-list { margin: 0; }
.obs-vetting-body .fact-list li { padding: .35rem 0; }
.sig-more { margin-top: .55rem; }
.sig-more > summary { cursor: pointer; font-size: .8125rem; font-weight: 600; color: var(--navy); padding: .25rem 0; user-select: none; }
@media (hover: hover) { .sig-more > summary:hover { text-decoration: underline; text-underline-offset: 2px; } }
.sig-proof-val { display: inline-block; padding: 1px 6px; border: 1px solid var(--rule); border-radius: 2px; background: #ffffff; font-weight: 600; color: var(--ink); }
.sig-ref-link { display: inline-flex; align-items: center; gap: .25em; color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; word-break: break-word; }
.sig-ref-link svg { flex: none; }
@media (hover: hover) { .sig-ref-link:hover { text-decoration-thickness: 2px; } }
.src-list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .125rem 1rem; padding: .5rem 0; }
.src-list li + li { border-top: 1px solid #eaedf2; }
.src-link { display: inline-flex; align-items: center; gap: .375rem; min-height: 1.75rem; font-size: .9375rem; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.src-link svg { flex: none; }
@media (hover: hover) { .src-link:hover { text-decoration-thickness: 2px; } }
.src-host { font-size: .8125rem; color: var(--muted); overflow-wrap: anywhere; }
.drawer-empty { font-size: .9375rem; color: var(--muted); }
.obs-caveat { padding: .75rem 1rem; border: 1px solid var(--rule-strong); border-radius: 0; background: var(--tint); font-size: .875rem; line-height: 1.45; }
.obs-disclaimer { margin-top: 1rem; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.drawer-panel > .facts:first-child { margin-top: -.25rem; }
@media (max-width: 39.99rem) {
  .drawer-head { padding: 1rem 1rem .875rem; }
  .drawer-body { padding: 0 1rem 1.5rem; }
  .reg-meter { padding-top: 1rem; }
  .drawer-foot { padding: .625rem 1rem; }
  .drawer-title { font-size: 1.1875rem; }
  .drawer-tabs { gap: 0 1.125rem; margin-inline: -1rem; padding-inline: 1rem; }
  .drawer-tab .tab-cnt { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .sig-facts > div { grid-template-columns: 7rem minmax(0, 1fr); column-gap: .75rem; }
  .drawer-foot .drawer-btn { min-width: 5.5rem; }
}
.drawer-sub .nw { white-space: nowrap; }
.mono { font-family: var(--mono); font-size: max(.8125rem, .9em); }
.brief-row-list { border-top: 1px solid var(--rule-strong); }
.brief-item { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: .75rem; }
.brief-item h3 { margin: 0; font-size: 1.35rem; color: var(--navy); }
.brief-meta { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.nav-title { color: rgba(255, 255, 255, .86); font-size: .9375rem; font-weight: 600; }

/* Briefing entries (briefings index and homepage): the label column sits beside the headline on
   desktop and under it on a phone, so nothing reads as an overline above a heading. */
.brief-list { margin-top: 2rem; border-top: 2px solid var(--navy); }
.brief-entry { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: .75rem; padding: 1.75rem 0; border-bottom: 1px solid var(--rule); }
.brief-entry > * { min-width: 0; }
.brief-entry h3 { max-width: 46rem; font-size: 1.3125rem; line-height: 1.28; }
.brief-entry h3 a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .16em; }
@media (hover: hover) { .brief-entry h3 a:hover { text-decoration-thickness: 2px; } }
.brief-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .125rem .75rem; font-size: .875rem; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; }
.brief-no { color: var(--navy); font: 700 1.0625rem/1.2 var(--body); font-variant-numeric: tabular-nums; }
.brief-sum { max-width: 46rem; }
.brief-entry .ev-meter { margin-bottom: 0; padding: .75rem 0 0; border: 0; border-top: 1px solid var(--rule); background: none; }
.brief-entry .more { margin-top: 0; }
@media (min-width: 62rem) {
  .brief-entry { grid-template-columns: 13rem minmax(0, 1fr); column-gap: 2.5rem; padding: 2.25rem 0; }
  .brief-entry > .brief-label > span { white-space: nowrap; }
  .brief-entry > * { grid-column: 2; }
  .brief-entry > .brief-label { grid-column: 1; grid-row: 1 / span 3; flex-direction: column; align-items: flex-start; gap: .25rem; }
  .brief-no { font-size: 2.125rem; line-height: 1; letter-spacing: -.02em; }
  .brief-entry h3 { font-size: 1.5rem; }
}

/* Briefing pages: prose keeps a readable 48rem measure, exhibits and the chronology take the full wrap. */
.doc-prose--wide { max-width: none; }
.doc-prose--wide > section > * { max-width: 48rem; }
.doc-prose--wide > section > h2 + p { margin-top: .875rem; }
/* Stacked phone layout: long docket and contract numbers may wrap instead of pushing the table past the screen edge. */
@media (max-width: 43.99rem) { .ruled.brief-table td .n, .ruled.brief-table .cite { white-space: normal; overflow-wrap: anywhere; } }
/* Penalty and citation cells: one fact per line. A register name, a date or a docket number never breaks mid-phrase. */
.brief-table .pen { display: block; font-weight: 700; }
.brief-table .pen-date { font-weight: 400; white-space: nowrap; }
.brief-table td .sub + .sub { margin-top: .125rem; }
.brief-table .cite { display: block; white-space: nowrap; }
.brief-table .cite + .cite { margin-top: .125rem; }
.brief-table .cite-k { margin-right: .375rem; font-size: .875rem; font-weight: 600; color: var(--muted); }
.brief-table time { white-space: nowrap; }
@media (min-width: 44rem) {
  /* Rows with a severity bar start 16px in, so their column header starts on the same line. */
  .ruled.brief-table.has-sev thead th:first-child { padding-left: 1rem; }
  .ruled.brief-table .date-col { white-space: nowrap; padding-right: 2rem; }
}
@media (min-width: 62rem) {
  .doc-prose--wide > section > .exhibit,
  .doc-prose--wide > section > .chrono-ruler { max-width: none; }
  .ruled.brief-table tbody th[scope="row"], .ruled.brief-table tbody td { padding-block: 1.125rem; }
  .ruled.brief-table tbody th.brief-row-sev { width: 30%; }
  .ruled.brief-table .num-col { width: 1%; white-space: nowrap; padding-left: 1.25rem; }
  .ruled.brief-table .date-col { width: 1%; }
  .ruled.brief-table .cite-col { width: 1%; padding-left: 1.25rem; }
}

/* Homepage hero actions */
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.btn-hero { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.5rem; border: 1px solid #ffffff; border-radius: 3px; background: #ffffff; color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color 150ms var(--ease-out-3), transform 150ms var(--ease-out-3); }
.btn-hero--ghost { border-color: var(--rule-on-navy); background: transparent; color: #ffffff; }
.btn-hero:active { transform: scale(.97); }
@media (hover: hover) {
  .btn-hero:hover { background: var(--on-navy-2); border-color: var(--on-navy-2); }
  .btn-hero--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #ffffff; }
}
@media (min-width: 64rem) {
  /* The filter strip under the header is gone, so anchors only clear the sticky header. */
  html { scroll-padding-top: calc(var(--header-h) + 1.25rem); }
}

/* Screening flow ribbons (homepage triage figure). Its layout lives with the .hm-sankey rules below. */
.sk-ribbon { stroke: none; }
.sk-edge { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.sk-ribbon.sk-aside { fill: var(--muted); fill-opacity: .13; }
.sk-ribbon.sk-ready { fill: var(--navy); fill-opacity: .26; }
.sk-ribbon.sk-contested { fill: var(--bronze); fill-opacity: .17; }
.sk-edge.sk-aside { stroke: var(--rule-strong); }
.sk-edge.sk-ready { stroke: var(--navy); }
.sk-edge.sk-contested { stroke: var(--bronze); }

/* Homepage: cohort notes, detector overview */
.cohort-notes strong { display: block; }
.ruled.detectors th[scope="row"] { color: var(--navy); }
.det-no { display: inline-block; min-width: 1.75rem; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.period-note { margin-top: .75rem; font-size: .9375rem; color: var(--muted); }
@media (min-width: 44rem) {
  .ruled.detectors th[scope="row"] { width: 17rem; white-space: nowrap; }
  .ruled.detectors td:last-child { width: 17rem; }
}

/* Observatory page: compact hero so the view tabs and table start higher */
/* Vertical budget at 1280 x 800: header 76px, hero about 170px, then tabs, filters and the first rows above the fold. */
.obs-page .hero .wrap { padding-block: 1.5rem 1.125rem; text-align: left; }
.obs-page .hero h1 { margin-inline: 0; }
.obs-page .hero .lede { max-width: 58rem; margin: .5rem 0 0; font-size: 1rem; line-height: 1.5; }
.obs-page .hero .strip { margin-top: 1rem; }
.obs-page .section { padding-block: 1.25rem 3.5rem; border-top: 0; }
.stance--page { max-width: 62rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--muted); }
.obs-notes { max-width: 62rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: .9375rem; line-height: 1.5; }
.obs-notes h2 { font: 700 1.1875rem/1.3 var(--body); letter-spacing: 0; color: var(--ink); }
.obs-notes p { margin-top: .5rem; }
.obs-notes .stance--page { margin-top: .5rem; padding-top: 0; border-top: 0; }
/* Phones: one compact line per figure (number, then label), so the view tabs sit inside the first screen. */
@media (max-width: 43.99rem) {
  .obs-page .hero .strip { grid-template-columns: minmax(0, 1fr); }
  .obs-page .hero .cell, .obs-page .hero .cell:nth-child(even), .obs-page .hero .cell:nth-child(odd):not(:first-child) { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: .75rem; padding: .5rem 0; border-left: 0; }
  .obs-page .hero .cell dd, .obs-page .hero .cell:first-child dd { flex: none; min-width: 4.5rem; font-size: 1.25rem; }
  .obs-page .hero .cell dt { margin-top: 0; font-size: .875rem; }
}
@media (min-width: 44rem) {
  .obs-page .hero h1 { font-size: 1.75rem; }
  .obs-page[data-an-lang] .hero h1 { font-size: 2.125rem; }
}
@media (min-width: 64rem) {
  .obs-page .hero .wrap { padding-block: 1.25rem 1rem; }
  .obs-page .hero h1 { max-width: none; }
  .obs-page .hero .lede { max-width: none; margin-top: .375rem; font-size: .9375rem; }
  /* Summary strip: figure and label share one line in five equal cells, instead of a tall stacked block. */
  .obs-page .hero .strip { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: .875rem; }
  .obs-page .hero .cell, .obs-page .hero .cell:nth-child(odd):not(:first-child) { flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: .625rem; padding: .625rem .875rem; }
  .obs-page .hero .cell:first-child { padding-left: 0; }
  .obs-page .hero .cell:last-child { padding-right: 0; }
  .obs-page .hero .cell dd, .obs-page .hero .cell:first-child dd { height: auto; font-size: 1.5rem; }
  .obs-page .hero .cell dt { margin-top: 0; font-size: .8125rem; line-height: 1.3; }
}

/* Analytics page: monthly bar exhibit, ruled stat grids, 27-state table */
/* Sections: one navy rule above each, headline, standfirst, then the exhibit */
/* Charts fill #an-root after the data loads: reserve its height so the notes and footer never jump into view. */
#an-root { min-height: 2400px; }
#an-root.an-failed { min-height: 0; }
.an-sec { margin-top: 3.75rem; padding-top: 1.5rem; border-top: 2px solid var(--navy); scroll-margin-top: calc(var(--header-h) + 1rem); }
.an-sec:first-child { margin-top: .5rem; }
.an-sec > h2 { max-width: 54rem; }
.an-dek { max-width: 36rem; margin-top: .75rem; font-size: 1.0625rem; line-height: 1.55; color: var(--ink); }
.an-block { margin-top: 3rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.an-block > .an-dek { font-size: 1rem; }
.an-aside > h3:not(:first-child) { margin-top: 2rem; }
.an-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.an-two > * { min-width: 0; }
@media (min-width: 60rem) {
  .an-two { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: 3.5rem; }
  .an-two--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .an-two--map { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .an-aside { margin-top: 1.5rem; }
}
.an-two--even { margin-top: 1.75rem; }

/* Controls */
.an-ctl { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1.25rem; margin-top: 1.5rem; }
.an-ctl-item { display: flex; flex-direction: column; gap: .25rem; min-width: 0; max-width: 100%; }
.an-ctl-label { font-size: .8125rem; font-weight: 600; line-height: 1.3; color: var(--muted); }
.an-toggle { display: inline-flex; flex-wrap: wrap; max-width: 100%; border: 1px solid var(--rule-strong); border-radius: 3px; overflow: hidden; background: #ffffff; }
.an-toggle button { flex: 1 1 auto; min-height: 2.5rem; padding: .375rem .875rem; border: 0; border-radius: 0; box-shadow: inset 0 0 0 .5px var(--rule); background: transparent; color: var(--ink); font: 600 .875rem/1.2 var(--body); cursor: pointer; }
.an-toggle button[aria-pressed="true"] { background: var(--navy); color: #ffffff; box-shadow: none; }
.an-select { min-height: 2.5rem; max-width: 100%; padding: .375rem 2.25rem .375rem .75rem; border: 1px solid var(--rule-strong); border-radius: 3px; background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%231e293b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 5.25 7 8.75l3.5-3.5'/%3E%3C/svg%3E") no-repeat right .75rem center / 14px 14px; color: var(--ink); font: 500 .9375rem/1.2 var(--body); appearance: none; -webkit-appearance: none; cursor: pointer; }
.an-export { min-height: 2.5rem; padding: 0 .875rem; border: 1px solid var(--rule-strong); border-radius: 3px; background: #ffffff; color: var(--navy); font: 600 .875rem/1.2 var(--body); cursor: pointer; }
.an-ctl .an-export { margin-left: auto; }
.an-fig-tools { display: flex; justify-content: flex-end; margin-top: .5rem; }
@media (hover: hover) {
  .an-toggle button:not([aria-pressed="true"]):hover, .an-export:hover { background: var(--tint); color: var(--navy); }
  .an-select:hover { border-color: var(--navy); }
}
@media (max-width: 43.99rem), (pointer: coarse) {
  .an-toggle button, .an-select, .an-export { min-height: 2.75rem; }
}

/* Exhibits: title, key, chart, note. No frame around the chart. */
.an-fig { min-width: 0; margin: 1.5rem 0 0; }
.an-fig--flush { margin-top: 1rem; }
.an-fig--narrow { max-width: 46rem; margin-top: 2.5rem; }
.an-fig-title { font: 700 1rem/1.35 var(--body); color: var(--ink); }
.an-fig-sub { margin-top: .125rem; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.an-key, .an-legend { display: flex; flex-wrap: wrap; gap: .375rem 1.25rem; margin-top: .625rem; padding: 0; list-style: none; font-size: .8125rem; line-height: 1.4; color: var(--ink); }
.an-key li, .an-legend li { display: inline-flex; align-items: center; gap: .4rem; }
.an-key li[hidden] { display: none; }
.an-legend { font-variant-numeric: tabular-nums; }
.an-sw { flex: none; width: .75rem; height: .75rem; background: var(--navy); }
.an-sw--soft { opacity: .3; }
.an-sw--bronze { background: var(--bronze); }
.an-sw--ox { background: var(--oxblood); }
.an-sw--thin { height: .25rem; }
.an-sw--dot { width: .625rem; height: .625rem; border-radius: 50%; }
.an-sw--box { box-shadow: inset 0 0 0 1px rgba(36, 41, 46, .18); }
.an-sw--line { width: 1.375rem; height: 0; background: none; border-top: 2px solid var(--navy); }
.an-sw--line.an-sw--ox { border-top-color: var(--oxblood); }
.an-sw--line.an-sw--dash { border-top-style: dashed; border-top-color: var(--rule); }
.an-sw--line.an-sw--ox.an-sw--dash { border-top-color: var(--oxblood); }
.an-echart { width: 100%; height: 320px; margin-top: .75rem; }
.an-echart .obs-status { margin-top: 0; }
.an-echart--art75 { height: 480px; }
.an-echart--flow { height: 350px; }
.an-echart--map { height: 460px; margin-top: .5rem; }
.an-echart--lag { height: 310px; }
.an-echart--own { height: 310px; }
.an-echart--trends { height: 460px; }
.an-echart--sanc { height: 330px; }
.an-echart--sample { height: 230px; }
@media (min-width: 60rem) { .an-echart--trends { height: 250px; } }
@media (max-width: 43.99rem) {
  .an-echart--art75 { height: 450px; }
  .an-echart--flow { height: 300px; }
  .an-echart--map { height: 350px; }
  .an-echart--lag, .an-echart--own, .an-echart--sanc { height: 290px; }
}
.an-note { max-width: 52rem; margin-top: .75rem; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.an-note strong { font-weight: 600; color: var(--ink); }
.an-read, .an-warn { max-width: 52rem; margin-top: 1.25rem; padding: .875rem 1rem; background: var(--tint); font-size: .9375rem; line-height: 1.5; color: var(--ink); }
.an-warn { margin-top: 0; background: var(--bronze-tint); }
.an-read[hidden] { display: none; }

/* Chart tooltip: classes only, no inline style in the generated markup */
.an-tt { font-family: var(--body); line-height: 1.4; }
.an-tt-h { display: block; margin-bottom: .25rem; font-weight: 700; color: var(--navy-deep); }
.an-tt-r { display: flex; justify-content: space-between; gap: 1.25rem; font-variant-numeric: tabular-nums; }
.an-tt-r b { font-weight: 700; white-space: nowrap; }

/* Verdict and tally */
.an-verdict { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 3.5rem; align-items: end; margin-top: 1.25rem; }
@media (min-width: 60rem) { .an-verdict { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.an-verdict-word { font: 700 clamp(2.5rem, 6.4vw, 4.25rem)/1.02 var(--display); letter-spacing: -.02em; color: var(--navy-deep); text-wrap: balance; }
.an-verdict-sum { max-width: 36rem; margin-top: .875rem; font-size: 1.0625rem; line-height: 1.55; }
.an-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--rule); }
.an-facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: .75rem 0; border-bottom: 1px solid var(--rule); }
.an-facts dd { font: 700 1.875rem/1.1 var(--display); font-variant-numeric: tabular-nums; color: var(--navy-deep); }
.an-facts dt { margin-top: .25rem; font-size: .875rem; line-height: 1.4; color: var(--muted); }
.an-facts--tally { margin-top: 0; }
.an-facts--tally dd { font-size: 2.25rem; }
.an-facts--tally dt { font-weight: 700; }
@media (min-width: 44rem) { .an-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.an-facts .an-tone--improving, .an-tone--improving { color: var(--pine); }
.an-facts .an-tone--flat, .an-tone--flat { color: var(--muted); }
.an-facts .an-tone--persistent_risk, .an-tone--persistent_risk { color: var(--oxblood); }
.an-facts .an-tone--caveated, .an-tone--caveated { color: var(--bronze); }
.an-tag { display: inline-block; padding: .1875rem .5rem; border: 1px solid currentColor; border-radius: 0; font: 700 .75rem/1.2 var(--body); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }

/* Ruled tables built on .ruled */
.an-table { margin-top: 1.75rem; font-variant-numeric: tabular-nums; }
.an-table th[scope="row"] strong { display: block; font-size: 1rem; line-height: 1.35; color: var(--ink); }
.an-table .sub { margin-top: .125rem; }
.an-shift { font-weight: 700; color: var(--ink); white-space: nowrap; }
.an-shift i { margin-inline: .375rem; font-style: normal; font-weight: 400; color: var(--muted); }
.an-flag { color: var(--bronze); }
.an-jump { font-weight: 600; white-space: nowrap; }
.an-uf { margin-left: .25rem; font-weight: 400; color: var(--muted); }
.an-table-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.an-table-tools .obs-search { flex: 1 1 14rem; max-width: 22rem; }
.an-table-wrap { margin-top: .75rem; overflow-x: auto; }
.an-table-wrap .an-table { margin-top: 0; }
.an-table--states tbody tr { cursor: pointer; }
.an-table--states tbody tr.an-row-on { background: var(--tint); }
.an-table--states tbody tr.an-row-on th[scope="row"] strong { color: var(--navy); }
.an-table--states .obs-sort { text-align: inherit; }
.an-table--states .obs-sort .obs-tip { cursor: pointer; }
.an-table--states th[aria-sort] .obs-sort { color: var(--navy); }
.an-table--states th[aria-sort] .obs-sort::after { border-top-color: var(--navy); }
.an-table--states th[aria-sort="ascending"] .obs-sort::after { transform: rotate(180deg); }
@media (max-width: 43.99rem) {
  .an-table td { min-height: 0; }
  .an-table--states tr { padding: .625rem 0; }
  .an-table--states tr.an-row-on { padding-inline: .5rem; }
  .an-table .an-hide-sm { display: none; }
}
@media (min-width: 44rem) {
  .an-table th.an-num, .an-table td.an-num { text-align: right; white-space: nowrap; }
  .an-table--score td { vertical-align: top; }
  .an-table--score th[scope="row"] { width: 50%; }
  .an-table--goals td, .an-table--goals th[scope="row"] { vertical-align: top; }
  .an-table--goals th[scope="row"] { width: 25%; }
  .an-table--goals td:last-child { width: 1%; white-space: nowrap; }
  .an-table--art { max-width: 52rem; }
  .an-table--states thead th, .an-table--states tbody th[scope="row"], .an-table--states tbody td { padding: .5rem .875rem .5rem 0; }
  .an-table--states thead th:first-child, .an-table--states tbody th[scope="row"] { padding-left: .5rem; }
  .an-table--states thead th:last-child, .an-table--states tbody td:last-child { padding-right: .5rem; }
  .an-table--states thead th { vertical-align: bottom; }
}

/* Data hygiene ledger: an account that runs from the raw total to the cleaned dataset */
.an-acct { width: 100%; margin-top: 1rem; border-collapse: collapse; border-top: 2px solid var(--navy); }
.an-acct th, .an-acct td { padding: .625rem 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 400; vertical-align: top; }
.an-acct th { padding-right: 1.25rem; }
.an-acct .sub { display: block; margin-top: .125rem; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.an-acct td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.an-acct-minus td { color: var(--oxblood); }
.an-acct-sum th, .an-acct-sum td { font-weight: 700; border-bottom-color: var(--ink); }
.an-acct-total th, .an-acct-total td { font-size: 1.125rem; font-weight: 700; color: var(--navy-deep); border-bottom: 2px solid var(--navy); }
.an-acct-of th { padding-left: 1.25rem; }
.an-scale-bar { display: flex; height: 2rem; margin-top: .875rem; box-shadow: inset 0 0 0 1px var(--rule); }
.an-scale-real { flex: none; min-width: 4px; background: var(--navy); }
.an-scale-typo { flex: 1 1 auto; background: repeating-linear-gradient(135deg, var(--oxblood-tint) 0 6px, #ecc4c5 6px 7.5px); }
.an-scale-labels { display: flex; justify-content: space-between; gap: 1rem; margin-top: .375rem; font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.an-scale-labels span:last-child { text-align: right; }
.an-scale-labels strong { display: block; font-size: .9375rem; font-variant-numeric: tabular-nums; color: var(--ink); }

/* Bar lists and ledgers */
.an-bars { margin-top: 1rem; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.an-bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3125rem 1rem; align-items: baseline; padding: .6875rem 0; border-bottom: 1px solid var(--rule); }
.an-bar-label { font-size: .9375rem; line-height: 1.35; }
.an-bar-label small { display: block; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.an-bar-val { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; color: var(--navy-deep); }
.an-bar-val small { display: block; font-size: .8125rem; font-weight: 400; color: var(--muted); }
.an-track { position: relative; grid-column: 1 / -1; height: .5rem; background: var(--tint); }
.an-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--navy); }
.an-fill--ox { background: var(--oxblood); }
.an-fill--bronze { background: var(--bronze); }
.an-fill--inner { top: 25%; bottom: 25%; }
.an-tick { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--ink); }
.an-bar-foot { grid-column: 1 / -1; font-size: .8125rem; line-height: 1.45; color: var(--muted); font-variant-numeric: tabular-nums; }
.an-ledger { margin-top: 1rem; border-top: 2px solid var(--navy); }
.an-ledger > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .5625rem 0; border-bottom: 1px solid var(--rule); }
.an-ledger dt { font-size: .9375rem; line-height: 1.4; }
.an-ledger dt small { display: block; font-size: .8125rem; color: var(--muted); }
.an-ledger dd { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--navy-deep); }
.an-ledger--plain { margin-top: 0; border-top: 0; }

/* State scorecard: name and rank share one line, no label stacked above the heading */
.an-state { margin-top: 1.5rem; }
.an-state-pick .an-select { width: 100%; }
.an-state-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1.25rem; margin-top: 1.25rem; padding-bottom: .625rem; border-bottom: 2px solid var(--navy); }
.an-state-head h3 { font-size: 1.5rem; }
.an-rank { font-size: .9375rem; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; }
.an-rank strong { font-weight: 700; color: var(--ink); }
.an-state .an-bars { margin-top: 0; border-top: 0; }

.print-page-foot { display: none; }

/* Homepage (PT and EN). Every rule in this block is scoped to an .hm-* class. The shared .strip, .cell
   and .dossier rules and all Observatory, Analytics, Method and Briefings rules above are unchanged,
   so .obs-page .hero .strip keeps its own layout. */

/* Hero figures: five cells, one number size, numbers on one line, short labels under them.
   .cell:nth-child(n) matches every cell and outranks the shared .cell:nth-child(odd):not(:first-child)
   rule without editing it. Phones: one row per figure, number first, label beside it. */
.hm-strip { grid-template-columns: minmax(0, 1fr); margin-top: 2rem; }
.hm-strip .cell:nth-child(n) { display: grid; grid-template-columns: 7.75rem minmax(0, 1fr); column-gap: 1rem; align-items: baseline; grid-column: auto; padding: .75rem 0; border-top: 1px solid var(--rule-on-navy); border-left: 0; }
.hm-strip .cell:first-child { border-top: 0; }
.hm-strip .cell dd { grid-column: 1; grid-row: 1; display: block; height: auto; font-size: 1.5rem; line-height: 1.1; }
.hm-strip .cell dt { grid-column: 2; grid-row: 1; margin-top: 0; font-size: .9375rem; line-height: 1.35; }
@media (min-width: 44rem) {
  .hm-strip { margin-top: 2.5rem; }
  .hm-strip .cell:nth-child(n) { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: stretch; padding: 1.25rem .75rem 1.25rem 1.25rem; border-left: 1px solid var(--rule-on-navy); }
  .hm-strip .cell dd { height: 1.875rem; font-size: 1.875rem; line-height: 1; }
  .hm-strip .cell dt { margin-top: .625rem; font-size: .875rem; }
}
/* Tablet: two figures on the first row, three on the second, so no cell is left alone. */
@media (min-width: 44rem) and (max-width: 63.99rem) {
  .hm-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hm-strip .cell:nth-child(n) { grid-column: span 2; }
  .hm-strip .cell:nth-child(-n+2) { grid-column: span 3; border-top: 0; }
  .hm-strip .cell:first-child, .hm-strip .cell:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (min-width: 64rem) {
  .hm-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hm-strip .cell:nth-child(n) { border-top: 0; }
  .hm-strip .cell:first-child { padding-left: 0; border-left: 0; }
}

/* Cross-check pipeline: four framed steps with an arrow drawn in the gap between them.
   No step carries a divider line, so an arrow tip never meets a rule. */
.hm-pipeline { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2.25rem; margin-top: 1.75rem; text-align: center; }
.hm-pipe-step { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; padding: .875rem .75rem; border: 1px solid var(--rule-on-navy); background: rgba(255, 255, 255, .06); }
.hm-pipe-reg { font: 700 1rem/1.3 var(--body); color: #ffffff; }
.hm-pipe-what { margin-top: .1875rem; font-size: .875rem; line-height: 1.35; color: var(--on-navy-2); }
.hm-pipe-step + .hm-pipe-step::before { content: ""; position: absolute; left: calc(50% - .875rem); top: -1.5rem; width: 1.75rem; height: .75rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12' viewBox='0 0 28 12' fill='none' stroke='%23dbe5f0' stroke-width='1.5'%3E%3Cpath d='M1 6h25M21 1.5 26 6l-5 4.5'/%3E%3C/svg%3E") no-repeat center / contain; transform: rotate(90deg); }
@media (min-width: 44rem) {
  .hm-pipeline { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2.5rem; margin-top: 2rem; }
  .hm-pipe-step + .hm-pipe-step::before { left: -2.125rem; top: calc(50% - .375rem); transform: none; }
}

/* What we do: text beside the triage figure, then three kinds of checks in one ruled strip. */
.hm-duo { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
.hm-duo > * { min-width: 0; }
.hm-duo .intro + .intro { margin-top: 1rem; }
.hm-sub { margin-top: 3.5rem; }
.hm-triage { padding: 1.25rem 1rem 1rem; border: 1px solid var(--rule); background: #ffffff; }
.hm-triage h3 { font-size: 1.125rem; }
.hm-corpus { margin-top: 1rem; }
.hm-corpus li { padding: .625rem 0 .75rem; border-top: 1px solid var(--rule); font-size: .9375rem; line-height: 1.35; }
.hm-corpus .num { margin-right: .375rem; font-size: 1.5rem; line-height: 1.1; color: var(--navy); }
.hm-corpus-bar { display: block; width: var(--w); height: .5rem; margin-top: .5rem; background: var(--navy); }
.hm-corpus-bar--raw { border: 1px solid var(--muted); background: repeating-linear-gradient(45deg, var(--muted) 0 2px, #ffffff 2px 5px); }
.hm-triage-step { padding-top: .875rem; border-top: 1px solid var(--rule); font-size: .9375rem; line-height: 1.45; }
/* Triage flow: fixed 360px height, so every label sits beside its own band at any width.
   Bands: 320px for 100% of initial matches, 16px gaps. Source 20 to 340, targets 4 to 356. */
.hm-sankey { display: grid; grid-template-columns: 1rem minmax(0, 1fr) 1rem minmax(0, 9.5rem); height: 360px; margin: 1rem 0 .5rem; }
.hm-sk-src { margin-block: 20px; background: var(--muted); }
.hm-sk-svg { width: 100%; height: 360px; }
.hm-sk-out, .hm-sk-labels { display: grid; grid-template-rows: 214.4px 44.8px 60.8px; row-gap: 16px; padding-block: 4px; }
.hm-sk-out > span { display: block; }
.hm-sk-out .is-aside { border: 1px solid var(--muted); background: repeating-linear-gradient(45deg, var(--muted) 0 2px, #ffffff 2px 5px); }
.hm-sk-out .is-ready { background: var(--navy); }
.hm-sk-out .is-contested { border: 2.5px solid var(--bronze); background: #ffffff; }
.hm-sk-labels { padding-left: .75rem; }
.hm-sk-labels li { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 0; line-height: 1.25; }
.hm-sk-big { font-size: 1.9375rem; line-height: 1.1; color: var(--ink); }
.hm-sk-name { font-size: .9375rem; font-weight: 700; }
.hm-sk-sub { margin-top: .125rem; font-size: .875rem; line-height: 1.35; color: var(--muted); }
.hm-sk-labels .is-ready .hm-sk-name { color: var(--navy); }
.hm-sk-labels .is-contested .hm-sk-name { color: var(--bronze); }
/* Phones: the two thin bands only fit their name, so their one-line notes are left to the caption. */
@media (max-width: 43.99rem) {
  .hm-sk-labels .is-ready .hm-sk-sub, .hm-sk-labels .is-contested .hm-sk-sub { display: none; }
}
.hm-checks { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 1.25rem; border-top: 2px solid var(--navy); }
.hm-check { display: flex; flex-direction: column; align-items: flex-start; padding: 1.25rem 0 .75rem; border-bottom: 1px solid var(--rule); }
.hm-check h4 { color: var(--navy); font: 600 1.1875rem/1.3 var(--display); text-wrap: balance; }
.hm-check p { margin-top: .5rem; }
.hm-check .more { margin-top: .5rem; }
@media (min-width: 44rem) {
  .hm-triage { padding: 1.5rem 1.5rem 1.25rem; }
  .hm-sankey { grid-template-columns: 1rem minmax(0, 1fr) 1rem minmax(0, 12.5rem); }
  .hm-sk-labels { padding-left: 1rem; }
  .hm-sk-name { font-size: 1rem; }
}
@media (min-width: 60rem) {
  .hm-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
  .hm-check { padding: 1.5rem 2rem 1rem; border-bottom: 0; border-left: 1px solid var(--rule); }
  .hm-check:first-child { padding-left: 0; border-left: 0; }
  .hm-check:last-child { padding-right: 0; }
  .hm-check .more { margin-top: auto; padding-top: .5rem; }
}
@media (min-width: 64rem) {
  .hm-duo { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 4rem; align-items: center; }
}

/* Projects: each tool gets copy, one call to action and a real screenshot in a square hairline plate. */
.hm-project { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; margin-top: 3rem; }
.hm-project > * { min-width: 0; }
.hm-project + .hm-project { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--rule); }
.hm-project h3 { font-size: 1.5rem; line-height: 1.22; }
.hm-project-for { margin-top: .5rem; font-weight: 600; color: var(--navy); }
.hm-project-copy > p + p { margin-top: .75rem; }
.hm-points { margin-top: .625rem; border-top: 1px solid var(--rule); }
.hm-points li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); padding: .5rem 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; line-height: 1.45; }
.hm-points li::before { content: ""; width: .5rem; height: .5rem; margin-top: .4375rem; background: var(--navy); }
.hm-cta { gap: .5rem; margin-top: 1.5rem; text-decoration: none; }
.hm-cta--line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
@media (hover: hover) { .hm-cta--line:hover { background: var(--navy); color: #ffffff; } }
.hm-plate { border: 1px solid var(--rule); background: #ffffff; overflow: hidden; overflow: clip; }
.hm-plate-bar { display: flex; align-items: center; min-height: 2rem; padding: .25rem .75rem; border-bottom: 1px solid var(--rule); background: var(--tint); color: var(--muted); font: 400 .8125rem/1.3 var(--mono); overflow-wrap: anywhere; }
.hm-plate img { width: 100%; height: auto; }
.hm-pair { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 3.5rem; border-top: 2px solid var(--navy); }
.hm-pair-item { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 2rem 0; }
.hm-pair-item + .hm-pair-item { border-top: 1px solid var(--rule); }
.hm-pair-item h3 { font-size: 1.375rem; }
.hm-pair-item > p { margin-top: .625rem; }
.hm-index { align-self: stretch; margin-top: 1.25rem; border-top: 1px solid var(--rule); }
.hm-index li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); padding: .75rem 0; border-bottom: 1px solid var(--rule); line-height: 1.45; }
.hm-index-no { padding-top: .5rem; color: var(--navy); font: 700 1.25rem/1.4 var(--body); font-variant-numeric: tabular-nums; }
.hm-index-mark { width: .625rem; height: .625rem; margin-top: .4375rem; background: var(--navy); }
.hm-index a { display: flex; align-items: center; min-height: 2.75rem; font-weight: 600; }
.hm-index-meta { display: block; font-size: .875rem; color: var(--muted); }
.hm-pair-item .hm-cta { margin-top: auto; }
.hm-pair-item .hm-index { margin-bottom: 1.5rem; }
@media (min-width: 60rem) {
  .hm-project { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 3.5rem; align-items: center; }
  .hm-project--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .hm-project--rev .hm-shot { order: -1; }
  .hm-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-pair-item { padding: 2.25rem 2.5rem 0 0; }
  .hm-pair-item + .hm-pair-item { padding: 2.25rem 0 0 2.5rem; border-top: 0; border-left: 1px solid var(--rule); }
}

/* Trust: what a dossier holds beside the Brasília photograph, then the legal basis and the citation line. */
.hm-trust { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
.hm-trust > * { min-width: 0; }
.hm-trust h3 { margin-top: 2rem; }
.hm-ledger { margin-top: .875rem; padding: 1.25rem; border: 1px solid var(--rule); background: #ffffff; }
.hm-photo-frame { border: 1px solid var(--rule); background: var(--tint); }
.hm-photo-frame img { width: 100%; height: auto; }
.hm-laws { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 1.25rem; border-top: 2px solid var(--navy); }
.hm-laws > div { padding: 1.125rem 0; border-bottom: 1px solid var(--rule); }
.hm-laws dt { color: var(--navy); font: 700 1.0625rem/1.3 var(--body); font-variant-numeric: tabular-nums; }
.hm-laws dd { margin-top: .375rem; font-size: .9375rem; line-height: 1.5; }
.hm-cite { display: flex; align-items: center; gap: .5rem 1rem; margin-top: 2rem; padding: .75rem 1rem; border: 1px solid var(--rule); background: var(--tint); }
.hm-cite p { flex: 1 1 auto; min-width: 0; font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.hm-cite .copy--icon { color: var(--navy); }
@media (hover: hover) { .hm-cite .copy--icon:hover { background: #ffffff; } }
@media (min-width: 44rem) {
  .hm-laws { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
}
@media (min-width: 60rem) {
  .hm-trust { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 4rem; align-items: center; }
  .hm-laws { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; border-bottom: 1px solid var(--rule); }
  .hm-laws > div { padding: 1.5rem 1.75rem; border-bottom: 0; border-left: 1px solid var(--rule); }
  .hm-laws > div:first-child { padding-left: 0; border-left: 0; }
  .hm-laws > div:last-child { padding-right: 0; }
}

/* Roadmap: one navy band, one hairline with a square marker per period (filled once live). */
.hm-navy { border-top-color: var(--navy); background: var(--navy); color: var(--on-navy-2); }
.hm-navy h2, .hm-navy h3, .hm-navy a { color: #ffffff; }
.hm-navy :focus-visible { outline-color: #ffffff; }
.hm-road { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 2.5rem; }
.hm-road-step { position: relative; padding: 1.5rem 0 1.75rem; border-top: 1px solid var(--rule-on-navy); }
.hm-road-step::before { content: ""; position: absolute; left: 0; top: -.375rem; width: .6875rem; height: .6875rem; border: 1.5px solid #ffffff; background: var(--navy); }
.hm-road-step.is-live::before { background: #ffffff; }
.hm-road-what { margin-top: .5rem; font-weight: 700; color: #ffffff; }
.hm-road-what + p { margin-top: .25rem; font-size: .9375rem; line-height: 1.5; }
@media (min-width: 44rem) {
  .hm-road { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-road-step { padding-right: 2rem; }
}
@media (min-width: 64rem) {
  .hm-road { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media print {
  @page { size: A4 portrait; margin: 13mm 14mm 19mm; }
  .print-page-foot {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-top: .375rem;
    border-top: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: .75rem;
    color: #4a5568;
    z-index: 90;
  }
  .print-page-brand { display: inline-flex; align-items: center; gap: .375rem; color: #1d3d63; }
  .print-page-brand strong { font-family: var(--display); font-weight: 700; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: 120ms !important; }
  .is-swapping [data-view], .is-swapping [data-row] { animation-duration: 120ms !important; }
  .btn-header:active, .btn:active, .chip:active, .copy:active, .btn-hero:active, .drawer-btn:active { transform: none; }
  dialog.obs-drawer, dialog.obs-drawer[open] { transform: none; }
}
