/* ATNI Energy Task Forces: site styles.
   Color, type, and space values come from tokens.css, vendored unchanged from the ATNI Climate
   Design System. This file adds the Energy program roles and the site layout: the full window width
   with tight margins, lists and prose in columns. Dark is the default theme; print is always light.
   The system is Council Agenda (DIRECTION-R2): each main page opens as an agenda item, a brief and up to four questions answered beside the
   instruments that answer them. Orange marks the reading (the needle, the selection, today, the example project, a followed claim, ENERGY in the
   lockup) and, as --here, where the reader is (the join bar, the current tab and rail item, the chosen stair step; R3); links, buttons, chosen settings
   and focus are ink, except the Energy family's paper button and current page. One raised surface, the window; no shadows, radius or cards; the one
   image is the relief under each page's opening. Six type sizes (R3 6): small, body, lead and title tokens, the h1, and the readout. Type grows 12.5
   percent from 1280 to 2560 with the root. Nothing on a first screen is under 0.875rem; 0.8125rem survives in Sources, Table, and print. */

/* Each face is two files, cut by scripts/subset_fonts.py: a Latin core every page loads, and a Latin-extended file the browser fetches only for a page
   that draws one of its letters, so a Tribal-language name stays in its face. Combining marks are in both, since a letter and its marks are drawn
   from one file; the extended rule comes second, so its own letters are drawn from it (of two rules whose ranges overlap, the later one is tried first). */
@font-face { font-family: "League Spartan"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/LeagueSpartan-Medium.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0300-036F, U+2000-22FF; }
@font-face { font-family: "League Spartan"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/LeagueSpartan-Medium-LatinExt.woff2") format("woff2"); unicode-range: U+0100-036F, U+1E00-1EFF; }
@font-face { font-family: "League Spartan"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/LeagueSpartan-SemiBold.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0300-036F, U+2000-22FF; }
@font-face { font-family: "League Spartan"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/LeagueSpartan-SemiBold-LatinExt.woff2") format("woff2"); unicode-range: U+0100-036F, U+1E00-1EFF; }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/NotoSans-Regular.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0300-036F, U+2000-22FF; }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/NotoSans-Regular-LatinExt.woff2") format("woff2"); unicode-range: U+0100-036F, U+1E00-1EFF; }
@font-face { font-family: "Noto Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/NotoSans-Italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0300-036F, U+2000-22FF; }
@font-face { font-family: "Noto Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/NotoSans-Italic-LatinExt.woff2") format("woff2"); unicode-range: U+0100-036F, U+1E00-1EFF; }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/NotoSans-Medium.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0300-036F, U+2000-22FF; }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/NotoSans-Medium-LatinExt.woff2") format("woff2"); unicode-range: U+0100-036F, U+1E00-1EFF; }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/NotoSans-Bold.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0300-036F, U+2000-22FF; }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/NotoSans-Bold-LatinExt.woff2") format("woff2"); unicode-range: U+0100-036F, U+1E00-1EFF; }
/* Until a face arrives, a local Arial (or a metric twin) draws in its place at the width and the line metrics the face will have, so the swap re-wraps
   nothing (home-shell-04, resource-use-06, library-summit-about-17). Measured from the woff2 files, per weight: size-adjust is the face's mean advance over
   Arial's on a sample of the site's own sentences; the overrides are the face's typo ascent and descent over that. font-size-adjust is left off on purpose:
   League Spartan's x-height is 0.41 of its em to Arial's 0.52, so matching x-heights would draw the stand-in 16 percent narrower and re-wrap every heading. */
@font-face { font-family: "Noto Sans Fallback"; font-style: normal; font-weight: 400; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo"); size-adjust: 105.4%; ascent-override: 101.5%; descent-override: 27.8%; line-gap-override: 0%; }
@font-face { font-family: "Noto Sans Fallback"; font-style: italic; font-weight: 400; src: local("Arial Italic"), local("Arial-ItalicMT"), local("Liberation Sans Italic"), local("Arimo Italic"); size-adjust: 105.4%; ascent-override: 101.5%; descent-override: 27.8%; line-gap-override: 0%; }
@font-face { font-family: "Noto Sans Fallback"; font-style: normal; font-weight: 500; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo"); size-adjust: 107.3%; ascent-override: 99.6%; descent-override: 27.3%; line-gap-override: 0%; }
@font-face { font-family: "Noto Sans Fallback"; font-style: normal; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold"); size-adjust: 104.4%; ascent-override: 102.4%; descent-override: 28.1%; line-gap-override: 0%; }
@font-face { font-family: "League Spartan Fallback"; font-style: normal; font-weight: 500; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo"); size-adjust: 94.6%; ascent-override: 74%; descent-override: 23.3%; line-gap-override: 0%; }
@font-face { font-family: "League Spartan Fallback"; font-style: normal; font-weight: 600; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold"); size-adjust: 90.2%; ascent-override: 77.6%; descent-override: 24.4%; line-gap-override: 0%; }
/* An agenda answer is Noto, its figures League Spartan 600 (DIRECTION-R2 2.1): this face draws digits only, from the file every page already loads, at
   Noto's cap height, so a sentence the kit writes as plain text still sets its figures apart. */
@font-face { font-family: "Answer Figures"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/LeagueSpartan-SemiBold.woff2") format("woff2"); unicode-range: U+0030-0039; size-adjust: 108%; }

/* The root grows from 16px at 1280 to 18px at 2560 (16.25 at 1440, 17 at 1920), so every rem grows 12.5 percent across the desktop range; percent keeps
   the reader's own default size (DIRECTION-R2 2.1). */
html { font-size: clamp(100%, 87.5% + 0.15625vw, 112.5%); }

:root {
  --gutter: clamp(16px, 1.25vw + 4px, 36px);
  --section-pad: clamp(24px, 1.25vw + 8px, 40px);
  --page: 100%;
  --measure: 36rem;
  --measure-wide: 44rem;
  --display: "League Spartan", "League Spartan Fallback", "Noto Sans", sans-serif;
  --body: "Noto Sans", "Noto Sans Fallback", sans-serif;
  --rule: var(--atni-non-text-rule);
  --control: var(--atni-text-muted);
  --baseline: var(--atni-text-secondary);
  --tag-bg: var(--atni-color-core-grey-overlay);
  --poster: clamp(4.25rem, 1.5rem + 3vw, 6rem); /* retired (DIRECTION-R2 2.1): an alias of the face and lead readout's size, for what still names it */
  --ease: cubic-bezier(.2, 0, 0, 1); /* press 120ms, swap 180ms, draw 240ms; nothing after a key press */
  --plate-gap: clamp(24px, 1.8vw, 48px);
  --plot-ground: var(--atni-ground-base); /* a plot sits on the page ground; rings and label grounds wear it */
  --unit: 8px; /* the square unit: Count at its smallest, the library field, the waffles. Pitch is the unit and --unit-gap */
  --unit-gap: 2px;
  --here: var(--energy-mark); /* where the reader is (R3 3): the join bar, the current tab and rail item, the chosen stair step; #FF914C dark, #E85500 light */
  /* Six type sizes (R3 6): these four, the h1 (37 and 42px at 1440 and 1920, with the 2.25rem readout of a repeater or a strip), and the face and lead
     readout (69 and 83px). 0.8125rem stays only in Sources and Table text. */
  --t-small: .875rem;
  --t-body: 1rem;
  --t-lead: 1.1875rem;
  --t-title: 1.375rem;
  /* Plan stages, an ordinal one-hue ramp (1 goal or interest to 4 installed or operating). The design
     system has no ramps yet, so each theme keeps the dataviz reference blue step nearest its ground and the
     other three are re-stepped at that hue: no four reference steps clear both the 3:1 floor and the
     validate_palette.js normal-vision floor of 15. Adjacent OKLab distance is 15.9, 15.5, 15.4 on dark and
     15.5, 15.6, 15.8 on light; --ordinal passes on each theme's base and raised grounds. The step nearest
     the ground passes 3:1 as a mark: dark 3.68 on the base, 3.41 raised; light 3.39 and 3.64. */
  --stage-1: #256abf;
  --stage-2: #619ce7;
  --stage-3: #a8caf6;
  --stage-4: #f0f6fe;
}

/* Energy program roles, in four blocks that mirror the cascade in tokens.css. The design system has no
   orange token yet; these are proposed to its owner as a program.energy group. Orange #FF914C fails
   contrast on light grounds, so light has its own steps, chosen to pass on every ground that carries them.
   Light --energy-text is 4.56 on --tag-bg (#EEF1F6), its lowest, 4.60 on --energy-wash, 4.81 on the base, 5.17 on
   white, and white on --energy-fill is 5.17. Light --energy-mark is 3.24 on --tag-bg, 3.26 on the wash. Dark is
   7.00 or more on every ground. scripts/page_checks/plate.js holds these to 4.5 and 3. */
:root, [data-theme="dark"] {
  --energy-text: #FF914C;
  --energy-mark: #FF914C;
  --energy-fill: #FF914C;
  --energy-on-fill: #010B13;
  --energy-hover: #FFAB73;
  --energy-wash: #2C201A;
  --lead-ink: var(--atni-text-body);
  --series-context: #8A94A6;
  --grid: #2B323C;
  /* Orange is the reading's (DIRECTION-R2 2.2): a link is heading ink over a muted underline, a button is paper, focus is 2px of heading ink, and a bullet,
     a status square or a held slot is muted. */
  --accent: var(--atni-text-muted);
  --atni-text-red: var(--energy-text);
  --atni-text-link: var(--atni-text-heading);
  --atni-text-link-hover: var(--atni-text-heading);
  --atni-non-text-button-fill: var(--paper);
  --atni-non-text-button-border: var(--paper);
  --atni-non-text-button-text: var(--on-paper);
  /* The one raised surface is the window, navy on the navy ground: the token's grey #141414 read as a slab of another temperature (home-shell-14). */
  --atni-ground-raised: var(--window);
  /* Water and the proposals on the Where tab's atlas only. */
  --water: #5A9BD5;
  --water-label: #8CB9E3;
  --mark-quiet: #DCE3EA;
  /* The kit's surfaces and controls (DIRECTION-R2 section 2.2): the window is the one raised surface; a control edge passes 3:1 (WCAG 1.4.11); the paper button
     is the one filled action on a screen; parts on a needle plate are two inks and an outline, never chart hues. */
  --window: #0B1825;
  --window-edge: #1B2D40;
  --window-ring: inset 0 1px 0 var(--window-edge);
  --control-edge: #5E7186;
  --control-on: #1D3045;
  --paper: #E8ECF0;
  --on-paper: #010B13;
  --paper-hover: #FFFFFF;
  --part-1: #E8ECF0;
  --part-2: #8A94A6;
}
[data-theme="light"] {
  --window: #FFFFFF;
  --window-edge: #D9E0EA;
  --window-ring: inset 0 0 0 1px var(--window-edge);
  --control-edge: #7D8A9C;
  --control-on: #E1E8F1;
  --paper: #010B13;
  --on-paper: #FFFFFF;
  --paper-hover: #1E242C;
  --part-1: #010B13;
  --part-2: #667085;
  --energy-text: #BC4800;
  --energy-mark: #E85500;
  --energy-fill: #BC4800;
  --energy-on-fill: #FFFFFF;
  --energy-hover: #A33F00;
  --energy-wash: #FEEFE6;
  --lead-ink: var(--atni-text-body);
  --series-context: #667085;
  --grid: #D9E0EA;
  --baseline: #667085;
  /* Body is the darker grey and secondary the lighter (10.4 and 5.6 to 1 on the ground): the design system's light pair had them the other way round, so a
     caption read darker than the sentence above it (resource-use-10, library-summit-about-21). */
  --atni-text-body: var(--atni-color-core-grey-alt);
  --atni-text-secondary: var(--atni-color-core-grey);
  --water: #2F7FC1;
  --water-label: #1F639D;
  --mark-quiet: #263240;
  --tag-bg: var(--atni-color-support-tag-neutral-bg);
  --stage-1: #3987e5;
  --stage-2: #1a5aa4;
  --stage-3: #073261;
  --stage-4: #000e25;
}
/* Nothing sets data-theme="auto" (dark is the default, R-24), so this file keeps no rules for it; tokens.css keeps its own, upstream (home-shell-11). */
@media print {
  :root, [data-theme] {
    --poster: 2.25rem;
    --readout: 2.25rem;
    --window: #FFFFFF;
    --window-edge: #D9E0EA;
    --window-ring: none;
    --control-edge: #7D8A9C;
    --control-on: #E1E8F1;
    --paper: #010B13;
    --on-paper: #FFFFFF;
    --paper-hover: #1E242C;
    --part-1: #010B13;
    --part-2: #667085;
    --plot-ground: #FFFFFF;
    --energy-text: #BC4800;
    --energy-mark: #BC4800;
    --energy-fill: #BC4800;
    --energy-on-fill: #FFFFFF;
    --energy-hover: #A33F00;
    --energy-wash: #FEEFE6;
    --lead-ink: var(--atni-text-body);
    --series-context: #667085;
    --grid: #D9E0EA;
    --baseline: #667085;
    --atni-text-body: var(--atni-color-core-grey-alt);
    --atni-text-secondary: var(--atni-color-core-grey);
    --water: #2F7FC1;
    --water-label: #1F639D;
    --mark-quiet: #263240;
    --tag-bg: var(--atni-color-support-tag-neutral-bg);
    --stage-1: #3987e5;
    --stage-2: #1a5aa4;
    --stage-3: #073261;
    --stage-4: #000e25;
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--atni-ground-base);
  color: var(--atni-text-body);
  font-family: var(--body);
  font-weight: var(--atni-type-body-weight);
  font-size: 1rem;
  line-height: 1.6;
  font-kerning: normal;
  overflow-wrap: break-word;
}
main { flex: 1 0 auto; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  color: var(--atni-text-heading);
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
  scroll-margin-top: 56px;
}
/* 36 / 37.4 / 41.8 / 47.3px at 1280 / 1440 / 1920 / 2560; 30ch keeps a long one to two balanced lines beside the brief's lead (DIRECTION-R2 2.1). */
h1 { font-size: clamp(2.25rem, 1.75rem + 0.625vw, 2.625rem); line-height: 1.06; letter-spacing: -0.02em; max-width: 30ch; }
h2 { font-size: var(--t-title); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 12px; }
h3 { font-size: var(--t-lead); line-height: 1.25; letter-spacing: -0.01em; color: var(--atni-text-heading-3); margin-bottom: 8px; }
h4 { margin: 24px 0 8px; font-family: var(--display); font-weight: 600; font-size: var(--t-body); line-height: 1.3; color: var(--atni-text-heading-3); text-wrap: balance; }
p { margin: 0 0 0.875rem; }
main p { max-width: var(--measure); }
ul { padding-left: 1.25rem; list-style: square; }
ol { padding-left: 1.5rem; }
li { margin-bottom: 8px; }
li::marker { color: var(--accent); }
strong { font-weight: 700; }
/* A link is heading ink over a 1px muted underline, 2px of heading ink under the pointer; focus is 2px of heading ink, 2px off (DIRECTION-R2 2.2). */
a { color: var(--atni-text-link); text-decoration-thickness: 1px; text-decoration-color: var(--atni-text-muted); text-underline-offset: 0.2em; }
a:hover { color: var(--atni-text-link-hover); text-decoration-thickness: 2px; text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--atni-text-heading); outline-offset: 2px; }
[hidden]:not([hidden="until-found"]) { display: none !important; }
/* A closed tab panel or view that find-in-page can open (plate.js): the browser skips what it holds, and its own box takes no room until a match opens it. */
@media screen { [hidden="until-found"] { margin: 0 !important; padding: 0 !important; border: 0 !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* The page track is the window: tight gutters, no max width below 2560px. Measures limit running text only. */
.wrap { width: var(--page); max-width: 2560px; margin-inline: auto; padding-inline: var(--gutter); }
.prose > ul, .prose > ol, .prose > figure:not(.plate), .prose > .slot, [data-policy-watch] > ol { max-width: var(--measure); }

/* Type roles, sentence case throughout: tracked capitals were template chrome and the least legible text on the site. The readout is the
   poster on a plate: its figure shrinks only as far as its own text needs to fit the zone (plate.js sets --chars). */
.kicker, .eyebrow, .label, .toc-title, .key-facts h2, .card-status, .entry-type, .slot-label {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: var(--atni-text-secondary);
}
.reading { font-family: var(--display); font-weight: 500; color: var(--lead-ink); font-size: var(--t-lead); line-height: 1.5; }
/* A lead is Noto, 500 on dark and 400 on light (the body's weight in each), at most two sentences in 44rem (DIRECTION-R2 2.1). */
.lead, .brief-lead { max-width: var(--measure-wide); font-family: var(--body); font-weight: var(--atni-type-body-weight); font-size: var(--t-lead); line-height: 1.4; color: var(--lead-ink); }
.readout {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  font-family: var(--display);
  font-weight: 600;
  color: var(--atni-text-heading);
}
/* The readout: 4.25 to 6rem on a face or a lead plate (69px at 1440, 83 at 1920), the first screen's one focal point, in heading ink; 2.25rem on a repeater or
   a strip (each plate sets --readout); its unit 0.42em on its baseline, its range 1rem under it. The figure shrinks only as far as its own text needs to fit the
   window (plate.js sets --chars). */
.readout { font-size: var(--readout, var(--poster)); }
.readout-value {
  font-size: min(1em, calc(100cqi / (var(--chars, 4) * 0.6)));
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.readout-unit { font-family: var(--body); font-weight: 500; font-size: max(1rem, 0.42em); line-height: 1.4; letter-spacing: 0; /* 1.4 holds Noto's 1.36em of ascent and descent, which ran 2px out of a 1.2 box at 2560 */ color: var(--atni-text-body); }
.readout-unit:has(> .readout-range) { display: contents; } /* the unit stays on the figure's baseline and the range takes its own line */
.readout-u { color: var(--atni-text-body); }
.readout-range { order: 1; flex-basis: 100%; font-weight: 400; font-size: 1rem; line-height: 1.3; font-variant-numeric: tabular-nums; color: var(--atni-text-secondary); }
.readout.is-long { font-size: calc(var(--readout, var(--poster)) * 0.75); }
.plate-title { margin: 0 0 4px; font-family: var(--display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; color: var(--atni-text-heading); }
.caption { font-size: var(--t-small); line-height: 1.4; color: var(--atni-text-secondary); }
.muted { color: var(--atni-text-muted); }
.nowrap { white-space: nowrap; }
.fine { font-size: 0.875rem; color: var(--atni-text-muted); }

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -200px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--atni-ground-overlay);
  color: var(--atni-text-heading);
  font-family: var(--display);
  font-weight: 500;
}
.skip-link:focus { top: 12px; }

/* Header (DIRECTION-R2 3.13): 56px, and it does not stick. The lockup, one image per theme; the nav in four groups behind hairlines (the task forces;
   the Explorer and the Briefing; the Summit, the Library and About; the Sources hub), its labels the pages' own name lines; then the theme toggle. The
   current page or section is heading ink over 2px of heading ink. The header is copied by hand into every page, the same in each (tests/test_page_meta.py). */
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "brand toggle" "nav nav";
  align-items: center;
  gap: 8px 24px;
  padding-block: 8px 0;
}
.wordmark { grid-area: brand; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; }
.lockup { display: block; width: auto; height: 40px; }
.lockup-on-light { display: none; }
[data-theme="light"] .lockup-on-dark { display: none; }
[data-theme="light"] .lockup-on-light { display: block; }
.site-nav { grid-area: nav; min-width: 0; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.site-nav li { display: flex; align-items: center; margin: 0; }
.site-nav .nav-group::before { content: ""; width: 1px; height: 1.25rem; margin-right: 20px; background: var(--grid); }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--atni-text-secondary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--atni-text-heading); border-bottom-color: var(--control-edge); }
.site-nav a[aria-current] { color: var(--atni-text-heading); border-bottom-color: var(--atni-text-heading); }
/* The Energy family (R3 3; body[data-family="energy"] on its three pages and their Sources pages): the Energy orange ruling reaches the current nav item, the
   current page in the name line, and the paper button. Dark #FF914C on #010B13, 8.9 to 1; light #BC4800 under white, 5.2 to 1. Links, other buttons,
   chosen settings and focus stay ink. */
[data-family="energy"] { --paper: var(--energy-fill); --on-paper: var(--energy-on-fill); --paper-hover: var(--energy-hover); }
[data-family="energy"] .site-nav a[aria-current] { border-bottom-color: var(--here); }
[data-family="energy"] .brief-name a[aria-current] { text-decoration-color: var(--here); }
/* One label, "Light theme", and its state in aria-pressed (theme.js): a 10px square before it, filled when the light theme is on (R3 8). */
.theme-toggle {
  grid-area: toggle;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.2;
  color: var(--atni-text-heading);
  background: none;
  border: 1px solid var(--control-edge);
  border-radius: 0;
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--atni-text-heading); }
.theme-toggle::before { content: ""; flex: none; box-sizing: border-box; width: 10px; height: 10px; border: 1.5px solid currentColor; }
.theme-toggle[aria-pressed="true"]::before { background: currentColor; }
@media (min-width: 1100px) {
  .header-inner { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav toggle"; gap: 0 32px; min-height: 56px; padding-block: 0; }
  .site-nav ul { flex-wrap: nowrap; justify-content: flex-end; }
  .site-nav a { min-height: 55px; }
  .lockup { height: 48px; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; max-width: none; margin: 24px 0 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--on-paper);
  background: var(--paper);
  border: 1px solid var(--paper);
  border-radius: 0;
  cursor: pointer;
}
/* Five jobs, five looks (DIRECTION-R2 3.11). The paper button is the one filled action on a screen, for what leaves the screen or assembles something to take;
   it is never disabled. Every other button is an edge: 1px --control-edge, heading ink, no fill. Orange is the reading's alone. */
.button:hover, .paper:hover { color: var(--on-paper); background: var(--paper-hover); border-color: var(--paper-hover); }
[data-sheet-add].is-added { color: var(--atni-text-heading); background: var(--control-on); border-color: var(--atni-text-heading); } /* its set is in the sheet */
.paper { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; font-family: var(--display); font-weight: 500; font-size: 0.875rem; line-height: 1.2; text-decoration: none; color: var(--on-paper); background: var(--paper); border: 1px solid var(--paper); border-radius: 0; cursor: pointer; }
.button-secondary { color: var(--atni-text-heading); background: transparent; border-color: var(--control-edge); }
.button-secondary:hover { color: var(--atni-text-heading); background: transparent; border-color: var(--atni-text-heading); }

/* Sections sit on the one ground, a hairline apart: only the window rises. */
.section { padding-block: var(--section-pad); }
main > .section + .section { border-top: 1px solid var(--grid); }
.section-head { max-width: var(--measure-wide); margin-bottom: 24px; }
.section-head h2 { margin-bottom: 8px; }
.section-head p { max-width: none; margin: 0; }
@media (min-width: 900px) {
  .section-head { display: grid; grid-template-columns: auto minmax(0, var(--measure-wide)); column-gap: 48px; align-items: end; justify-content: start; max-width: none; }
  .section-head h2 { margin-bottom: 0; }
}

/* The page band: h1 and one line of lead at the left, bare key figures at the right end, no box. A page moves to .page-band and
   .page-band-figures as its builder reaches it; .page-hero and .key-facts draw the same row until then, and keep it without scripts and in print. */
.page-hero { padding-block: 16px; }
.page-hero h1, .page-band h1 { margin-bottom: 8px; }
.page-hero .lead, .page-band .lead { margin-bottom: 0; }
@media (max-width: 719px) {
  h1 { font-size: 1.75rem; }
  .section-strip ul { scroll-padding-inline: 24px; }
}
.page-hero .lead + .lead { margin-top: 12px; }
.page-hero .kicker a { color: inherit; }
.page-band, .page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 48px; }
.page-band { padding-block: 16px; }
.page-band-figures, .key-facts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 48px; }
.page-band-figures li { display: grid; gap: 2px; align-content: end; margin: 0; max-width: 16rem; }
.key-facts li { margin: 0; max-width: 16rem; }
.page-band-figures .figure-num { font-family: var(--display); font-weight: 600; font-size: var(--t-title); line-height: 1.1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--atni-text-heading); }
.page-band-figures .figure-num a { color: inherit; text-decoration-color: var(--control); }
.page-band-figures .figure-label { margin: 0; font-family: var(--body); font-weight: 400; font-size: 0.875rem; line-height: 1.3; color: var(--atni-text-secondary); }
.key-facts { align-self: end; }
.key-facts ul { font-size: 0.875rem; line-height: 1.4; }
.key-facts strong { display: block; font-family: var(--display); font-weight: 500; color: var(--atni-text-heading); }
@media screen { .key-facts h2 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; } }
@media (min-width: 1100px) {
  .page-band { grid-template-columns: minmax(0, 1fr) auto; align-items: end; min-height: 120px; }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 46rem); align-items: end; }
}

/* The brief (DIRECTION-R2 3.1), every page's opener: header.brief > p.brief-name (a link to the parent on a subpage; on the Energy family a row of its three
   pages, the current one aria-current), h1 (what the page settles), p.brief-lead (two sentences at most), p.brief-meta (<span class="figure-num">date</span>
   <span class="figure-label">Sources checked</span>, the Sources link with data-sources, a resolution or a reference, 24px apart), p.photo-credit. No
   figures. From 1100px the h1 stands at the left, 30ch at most, with the lead and the meta line at its right, so the brief stays near 200px at 1440. */
.brief { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "title" "lead" "meta" "census" "credit"; padding-block: 12px 16px; } /* 8px under R2's, for the name line's and the lead's lead size (R3 6, 8), so no face plot moves down */
.brief > :is(.brief-name, .breadcrumb) { grid-area: name; }
.brief > h1 { grid-area: title; margin: 0 0 12px; }
.brief > .brief-lead { grid-area: lead; margin: 0 0 10px; }
.brief > .brief-meta { grid-area: meta; }
.brief > .photo-credit { grid-area: credit; }
.brief > .census { grid-area: census; }
.brief-name { margin: 0 0 6px; font-family: var(--display); font-weight: 600; font-size: var(--t-lead); line-height: 1.25; color: var(--atni-text-heading); } /* the page's name, at lead size in heading ink (R3 8) */
.brief-name a { color: inherit; text-decoration-color: var(--control-edge); }
.brief-name a:hover { color: var(--atni-text-heading); text-decoration-color: currentColor; }
.brief-name:has(> a + a) { display: flex; flex-wrap: wrap; gap: 0 24px; }
.brief-name:has(> a + a) a { text-decoration: none; }
.brief-name:has(> a + a) a:not([aria-current]) { font-weight: 500; color: var(--atni-text-secondary); } /* the Energy row: its other pages step back */
.brief-name:has(> a + a) a:not([aria-current]):hover { color: var(--atni-text-heading); }
.brief-name a[aria-current] { color: var(--atni-text-heading); text-decoration: underline 2px var(--atni-text-heading); text-underline-offset: 0.35em; }
.brief-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; max-width: none; margin: 0; font-size: 0.875rem; line-height: 1.4; color: var(--atni-text-secondary); }
.brief-meta .figure-num { margin-right: calc(0.35em - 24px); font-variant-numeric: tabular-nums; color: var(--atni-text-heading); } /* the date keeps beside its "Sources checked" */
@media (min-width: 1100px) {
  /* The name line heads the h1's column only, and the lead starts on the brief's top line beside it (R3: the lead at lead size ran a line longer, and the
     name's row over both columns made every such brief 30px taller). */
  .brief { grid-template-columns: auto minmax(0, 44rem); grid-template-areas: "name lead" "title lead" "title meta" "census census" "credit credit"; grid-template-rows: auto auto 1fr; justify-content: start; column-gap: 48px; }
  .brief:not(:has(> :is(.brief-name, .breadcrumb))) { grid-template-areas: "title lead" "title meta" "census census" "credit credit"; grid-template-rows: auto 1fr; } /* home: no name row to share */
  .brief > h1 { margin: 0; }
  .brief > .brief-lead { margin-top: 0; }
}

/* The agenda (DIRECTION-R2 3.2): the questions a page can settle, each answered in a sentence read off its face. Markup, by the page: section.agenda >
   div.agenda-qs > div.agenda-q > (a#q-{face}[href="#face-{face}"] + p.agenda-a[data-answer="{plate}"]), then div.agenda-faces > div#face-{face}, each
   around one plate block or list face. plate.js makes the questions a vertical tablist (Up, Down, Home, End; Tab enters the face) and keeps each answer
   with its plate. Questions sit on the ground between 1px rules; the chosen one takes the window color and meets its face, raised, with no gap, a 3px
   --here join bar between them that slides with the choice (orange: where the reader is, R3 3). An answer is plain text, so a press anywhere in the cell chooses it. Without scripts
   the questions are jump links and the faces stack below them, whole; with them, the js class holds the later faces back before the first paint. */
.agenda { display: grid; grid-template-columns: minmax(0, 1fr); margin-block: 0 var(--section-pad); }
.agenda-qs { position: relative; display: grid; align-content: start; border-top: 1px solid var(--rule); }
.agenda-q { position: relative; display: grid; gap: 6px; padding: 16px 20px 18px; border-bottom: 1px solid var(--rule); }
.agenda-q > a { font-family: var(--display); font-weight: 600; font-size: var(--t-lead); line-height: 1.25; color: var(--atni-text-heading); text-decoration: none; text-wrap: balance; }
.agenda-q > a::after { content: ""; position: absolute; inset: 0; }
.agenda-q:not(.is-on) > a:hover { text-decoration: underline 1px var(--control-edge); text-underline-offset: 0.2em; }
.agenda-q.is-on > a { text-decoration: none; } /* the chosen question needs no link's underline (R3 8) */
.agenda-q > a:focus-visible { outline: none; }
.agenda-q:has(> a:focus-visible) { outline: 2px solid var(--atni-text-heading); outline-offset: -2px; }
.agenda-a { margin: 0; max-width: none; font-family: "Answer Figures", var(--body); font-weight: 500; font-size: 1rem; line-height: 1.45; color: var(--atni-text-body); }
.agenda-q.is-on, .js .agenda:not(.is-live) .agenda-q:first-child { background: var(--window); }
.js .agenda:not(.is-live) .agenda-faces > :not(:first-child) { display: none; }
.agenda-faces { min-width: 0; }
.agenda-faces > * > .plate { margin-bottom: 0; }
/* A face (R2 fix round; R3): the plot starts under the title. The title, its captions and the settings keep the left 64 percent, the title with two lines'
   room so a rewrite moves nothing (resource-use critic 17), the settings in rows under it (home 4, data-centers 4, ai 9, system 5). The window rises to the
   face's top, so its readout is the first screen's one focal point, level with the eyebrow where a switch takes the bar into the left column, and under
   Chart and Table where none does (R3 1, which ended a 160px dead band top right). The plot takes 40vh, so the axis, the key and the readout fit a 1440 by
   900 window (home 3, ai 4). The Table, pressed, spans both columns under the claim, so it covers no claim text. */
.plate:is([data-variant="face"], :where(.agenda-faces *):not([data-variant])) { --plot-h: clamp(18rem, 40vh, 40rem); }
@media screen and (min-width: 1100px) {
  .plate:is([data-variant="face"], :where(.agenda-faces *):not([data-variant])) > .plate-claim { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--plate-gap); align-items: start; padding-bottom: 12px; }
  .plate:is([data-variant="face"], :where(.agenda-faces *):not([data-variant])) > .plate-claim > * { grid-column: 1; }
  .plate:is([data-variant="face"], :where(.agenda-faces *):not([data-variant])) > .plate-claim > .plate-title { min-height: 2lh; }
  .plate:is([data-variant="face"], :where(.agenda-faces *):not([data-variant])) > .plate-claim > .plate-controls { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 32px; }
  .plate:is([data-variant="face"], :where(.agenda-faces *):not([data-variant])) > .plate-claim > .plate-controls > .slider { flex: 1 1 15rem; max-width: 24rem; }
  .plate:is([data-variant="face"], :where(.agenda-faces *):not([data-variant])) > .plate-claim > .plate-controls > details[open] { flex-basis: 100%; }
  @media (max-width: 1599px) { /* two sliders and a closed disclosure keep one row in the claim's column, so the plot does not drop (R3 1) */
    .plate:is([data-variant="face"], :where(.agenda-faces *):not([data-variant])) > .plate-claim > .plate-controls > .slider { flex-basis: 12rem; }
    .plate:is([data-variant="face"], :where(.agenda-faces *):not([data-variant])) > .plate-claim > .plate-controls > details:not([open]) { flex: 0 1 9.5rem; }
  }
  .plate:is([data-variant="face"], :where(.agenda-faces *):not([data-variant])):not(.has-switch) { grid-template-areas: "claim bar" "claim window" "plot window" "under window" ". window" "table table" "collar collar"; grid-template-rows: auto auto auto auto 1fr auto auto; }
  .plate:is([data-variant="face"], :where(.agenda-faces *):not([data-variant])).has-switch { grid-template-areas: "claim window" "bar window" "plot window" "under window" ". window" "table table" "collar collar"; grid-template-rows: auto auto auto auto 1fr auto auto; }
  .plate:is([data-variant="face"], :where(.agenda-faces *):not([data-variant])):not(.has-switch) > .plate-bar { padding: 0 0 12px 20px; }
  .plate:is([data-variant="face"], :where(.agenda-faces *):not([data-variant])).is-live > .plate-view[data-view="table"] { grid-row: plot-start / under-end; grid-column: 1 / -1; }
}
@media screen and (min-width: 1100px) {
  .agenda { grid-template-columns: minmax(18rem, 25fr) minmax(0, 75fr); min-height: max(28rem, var(--plate-h, 0px)); }
  .agenda-faces { --plot-ground: var(--window); padding: 20px 24px 16px; background: var(--window); box-shadow: var(--window-ring); } /* rings and label grounds wear the face's own ground */
  .agenda.is-live .agenda-qs::after { content: ""; position: absolute; top: 0; right: 0; width: 3px; height: var(--join-h, 0); transform: translateY(var(--join-y, 0)); background: var(--here); transition: transform 180ms var(--ease), height 180ms var(--ease); }
  .agenda:has(:focus-visible) .agenda-qs::after { transition-duration: 0ms; }
}
.agenda-faces > :first-child :is(.needle, .ladder-needle) { animation: needle-draw 240ms ease-out backwards; }
@media print {
  .agenda-faces { padding: 0; box-shadow: none; }
  /* The questions in columns, so the first sheet holds less above the first face (R3 8, Data Centers on Letter). */
  .agenda-qs { display: grid; grid-template-columns: repeat(auto-fit, minmax(2in, 1fr)); column-gap: 18pt; }
  .agenda-q { break-inside: avoid; padding: 4pt 0; }
}

/* The relief (R3 2, which retires the photographs of owner ruling 9): every page opens on the Northwest's own ground, ETOPO 2022 relief with Natural
   Earth's rivers (scripts/bake_relief.py, the Data Centers atlas's own images), behind the header and the brief in both themes. CSS backgrounds only, from
   1100px on a screen with no forced colors, so phones, print and High Contrast fetch nothing, and each theme fetches only its own image. ::before is the
   relief and ::after the veil, which ends in the page ground, so the agenda or the strip starts on true ground; the 50% 46% place puts the Columbia through
   the band. Text holds 4.5:1 over the brightest backdrop pixel in its rect at 1440 by 900 and 1920 by 1080 (B2's floor method). No credit on screen;
   About's Credits name the relief. The photographs' classes and credit lines stay in the markup, hidden, so restoring the block from 37bc900 brings them
   back (its selectors outrank this one). */
.photo-credit { display: none; font-size: 0.875rem; color: var(--atni-text-muted); }
@media screen and (min-width: 1100px) and (forced-colors: none) {
  main > .brief { position: relative; }
  main > .brief::before, main > .brief::after { content: ""; position: absolute; inset: -57px 0 0; z-index: -1; pointer-events: none; }
  main > .brief::before { background: url("../img/relief/nw-dark-1600.webp") 50% 46% / cover no-repeat; }
  [data-theme="light"] main > .brief::before { background-image: url("../img/relief/nw-light-1600.webp"); }
  main > .brief::after { background: linear-gradient(90deg, rgba(1, 11, 19, .82) 0, rgba(1, 11, 19, .64) 28%, rgba(1, 11, 19, .60) 78%, rgba(1, 11, 19, .28) 100%), linear-gradient(180deg, rgba(1, 11, 19, .80) 0 57px, rgba(1, 11, 19, 0) 92px calc(100% - 56px), #010B13); }
  [data-theme="light"] main > .brief::after { background: linear-gradient(90deg, rgba(244, 247, 251, .90) 0, rgba(244, 247, 251, .84) 28%, rgba(244, 247, 251, .84) 78%, rgba(244, 247, 251, .40) 100%), linear-gradient(180deg, rgba(244, 247, 251, .85) 0 57px, rgba(244, 247, 251, 0) 92px calc(100% - 56px), #F4F7FB); }
}
@media screen and (min-width: 1700px) and (forced-colors: none) {
  main > .brief::before { background-image: url("../img/relief/nw-dark-2520.webp"); }
  [data-theme="light"] main > .brief::before { background-image: url("../img/relief/nw-light-2520.webp"); }
}

/* Callouts. A held slot marks unfilled work with a hollow square and never holds a plot. */
.notice {
  max-width: var(--measure);
  margin: 16px 0;
  padding: 16px 20px;
  color: var(--atni-text-heading);
  background: var(--atni-ground-raised);
}
.slot { margin: 24px 0; }
.slot-label { margin: 0 0 4px; color: var(--atni-text-secondary); display: flex; align-items: center; gap: 8px; }
.slot-label::before { content: ""; flex: none; width: 10px; height: 10px; border: 2px solid var(--accent); }
.slot p:last-child { margin-bottom: 0; color: var(--atni-text-secondary); }

/* The track and the stair (DIRECTION-R2 4; docs/PLATE-KIT.md, "The system as built"): steps a reader opens in place, one at a time, with no script. Each is
   a fieldset of label.track-step (or .stair-step) holding its radio (.track-pick, .stair-pick), each followed by its .track-detail (.stair-detail). The track
   is a numbered sequence on a horizontal rail (home's How the Work Moves, the Summit's stops, About's life of a claim); the stair is the tier stair, its steps
   rising in their order, a lit one (.is-lit) drawn with a heavy tread (About's T0). From 720px the steps stand in one row and every detail shares the one cell
   under them, the unchosen hidden but holding their room, so a choice moves nothing below; under 720px each opens under its step. Without :has(), and on
   paper, every step and detail reads in order as a list, radios showing. Chosen is the chosen-setting look (control-on and heading ink); no orange. */
:is(.track, fieldset.stair) { --steps: 4; display: block; min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
:is(.track, fieldset.stair):has(> label:nth-of-type(2)) { --steps: 2; }
:is(.track, fieldset.stair):has(> label:nth-of-type(3)) { --steps: 3; }
:is(.track, fieldset.stair):has(> label:nth-of-type(4)) { --steps: 4; }
:is(.track, fieldset.stair):has(> label:nth-of-type(5)) { --steps: 5; }
:is(.track, fieldset.stair):has(> label:nth-of-type(6)) { --steps: 6; }
:is(.track, fieldset.stair):has(> label:nth-of-type(7)) { --steps: 7; }
:is(.track, fieldset.stair):has(> label:nth-of-type(8)) { --steps: 8; }
:is(.track, fieldset.stair) > legend { margin: 0 0 12px; padding: 0; font-family: var(--display); font-weight: 500; font-size: 0.875rem; color: var(--atni-text-secondary); }
:is(.track-step, .stair-step) { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 8px 0; cursor: pointer; }
:is(.track-detail, .stair-detail) { margin: 0 0 12px; padding: 12px 0 0; max-width: var(--measure-wide); border-top: 1px solid var(--rule); }
:is(.track-detail, .stair-detail) > :last-child { margin-bottom: 0; }
:is(.track-detail, .stair-detail) dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 12px 32px; margin: 0; max-width: none; }
:is(.track-detail, .stair-detail) dt { font-family: var(--display); font-weight: 500; font-size: 0.875rem; color: var(--atni-text-secondary); }
:is(.track-detail, .stair-detail) dd { margin: 4px 0 0; }
.track-n { display: grid; place-items: center; flex: none; box-sizing: border-box; width: 2rem; height: 2rem; font-family: var(--display); font-weight: 600; font-size: var(--t-small); line-height: 1; font-variant-numeric: tabular-nums; color: var(--atni-text-heading); background: var(--atni-ground-base); border: 1px solid var(--control-edge); }
:is(.track-name, .stair-name) { font-family: var(--display); font-weight: 500; font-size: var(--t-body); line-height: 1.25; color: var(--atni-text-heading); }
.stair-code { font-family: var(--display); font-weight: 600; font-size: var(--t-title); line-height: 1.1; color: var(--atni-text-heading); }
.stair-tag { flex-basis: 100%; font-size: 0.875rem; line-height: 1.3; color: var(--atni-text-secondary); }
.stair-step.is-lit .stair-tag { color: var(--atni-text-heading); }
@supports selector(:has(*)) {
  :is(.track-pick, .stair-pick) { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
  :is(.track-step, .stair-step):has(> :focus-visible) { outline: 2px solid var(--atni-text-heading); outline-offset: 2px; }
  .track-step:has(> .track-pick:checked) .track-n { color: var(--atni-ground-base); background: var(--atni-text-heading); border-color: var(--atni-text-heading); }
  :is(.track-step:has(> .track-pick:checked), .stair-step:has(> .stair-pick:checked)) :is(.track-name, .stair-name) { font-weight: 600; }
  .stair-step:has(> .stair-pick:checked) { background: var(--control-on); }
  @media screen {
    :is(.track-step:not(:has(> .track-pick:checked)) + .track-detail, .stair-step:not(:has(> .stair-pick:checked)) + .stair-detail) { display: none; }
  }
  @media screen and (min-width: 720px) {
    :is(.track, fieldset.stair) { display: grid; grid-template-columns: repeat(var(--steps), minmax(0, 1fr)); }
    :is(.track, fieldset.stair) > legend { grid-column: 1 / -1; }
    :is(.track-step, .stair-step) { grid-row: 1; }
    :is(.track-detail, .stair-detail) { grid-row: 2; grid-column: 1 / -1; align-self: start; margin: 0; }
    :is(.track-step:not(:has(> .track-pick:checked)) + .track-detail, .stair-step:not(:has(> .stair-pick:checked)) + .stair-detail) { display: block; visibility: hidden; }
    /* The track: a rail through the numbers, each step a column; the chosen one's 3px heading-ink bar joins it to the detail under the row. */
    .track-step { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; padding: 0 16px 16px 0; }
    .track-step::before { content: ""; position: absolute; left: 0; right: 0; top: calc(1rem - 1px); height: 2px; background: var(--baseline); }
    .track-step:last-of-type::before { right: auto; width: 2rem; }
    .track-n { position: relative; }
    .track-step:has(> .track-pick:checked)::after { content: ""; position: absolute; left: 0; right: 16px; bottom: 0; height: 3px; background: var(--atni-text-heading); }
    /* The stair: each step one tread higher than the last, a 2px tread and a 1px riser; the lit step's tread is 6px of heading ink. */
    fieldset.stair { align-items: end; column-gap: 2px; }
    .stair-step { align-self: end; align-content: flex-start; box-sizing: border-box; min-height: calc(5.5rem + var(--rise, 0rem)); padding: 10px 12px; border-top: 2px solid var(--control-edge); border-left: 1px solid var(--rule); }
    .stair-step:nth-of-type(2) { --rise: 1.5rem; }
    .stair-step:nth-of-type(3) { --rise: 3rem; }
    .stair-step:nth-of-type(4) { --rise: 4.5rem; }
    .stair-step:nth-of-type(5) { --rise: 6rem; }
    .stair-step:nth-of-type(6) { --rise: 7.5rem; }
    .stair-step.is-lit { border-top: 6px solid var(--atni-text-heading); }
    .stair-detail { padding-top: 16px; }
    fieldset.stair > .stair-detail { grid-column: auto / span 1; max-width: none; padding: 16px 12px 0; border-top: 2px solid transparent; }
    fieldset.stair > .stair-step:has(> .stair-pick:checked) + .stair-detail { border-top-color: var(--here); }
    fieldset.stair > .stair-detail dl { grid-template-columns: minmax(0, 1fr); max-width: none; }
    fieldset.stair > .stair-detail:nth-of-type(1) { grid-column: 1; }
    fieldset.stair > .stair-detail:nth-of-type(2) { grid-column: 2; }
    fieldset.stair > .stair-detail:nth-of-type(3) { grid-column: 3; }
    fieldset.stair > .stair-detail:nth-of-type(4) { grid-column: 4; }
    fieldset.stair > .stair-detail:nth-of-type(5) { grid-column: 5; }
    fieldset.stair > .stair-detail:nth-of-type(6) { grid-column: 6; }
  }
  /* Steppers that print every stop (R3 7). The stair's details already hold their own columns and room, so from 1280px each shows, the chosen one under a
     --here rule and the rest under a 1px rule; the page keeps its height. A track shows each stop's detail in its own column once a column has 18rem: four
     steps from a 72rem container, five or six from 108rem (Summit's six keep the stepper at 1440). There it has nothing to choose, so the picks, the chosen
     bar and the chosen look go; .is-stepper keeps a track a stepper. */
  @media screen and (min-width: 1280px) {
    fieldset.stair > .stair-step:not(:has(> .stair-pick:checked)) + .stair-detail { visibility: visible; border-top-color: var(--rule); }
  }
  @container (min-width: 72rem) {
    @media screen and (min-width: 720px) {
      fieldset.track:not(.is-stepper):not(:has(> label:nth-of-type(5))) > .track-detail { visibility: visible; grid-column: auto; max-width: none; padding-right: 16px; }
      fieldset.track:not(.is-stepper):not(:has(> label:nth-of-type(5))) > .track-step { cursor: default; }
      fieldset.track:not(.is-stepper):not(:has(> label:nth-of-type(5))) > .track-step > .track-pick { display: none; }
      fieldset.track:not(.is-stepper):not(:has(> label:nth-of-type(5))) > .track-step::after { content: none; }
      fieldset.track:not(.is-stepper):not(:has(> label:nth-of-type(5))) > .track-step .track-n { color: var(--atni-text-heading); background: var(--atni-ground-base); border-color: var(--control-edge); }
      fieldset.track:not(.is-stepper):not(:has(> label:nth-of-type(5))) > .track-step .track-name { font-weight: 500; text-decoration: none; }
    }
  }
  @container (min-width: 108rem) {
    @media screen and (min-width: 720px) {
      fieldset.track:not(.is-stepper) > .track-step + .track-detail { visibility: visible; grid-column: auto; max-width: none; padding-right: 16px; }
      fieldset.track:not(.is-stepper) > .track-step { cursor: default; }
      fieldset.track:not(.is-stepper) > .track-step > .track-pick { display: none; }
      fieldset.track:not(.is-stepper) > .track-step::after { content: none; }
      fieldset.track:not(.is-stepper) > .track-step .track-n { color: var(--atni-text-heading); background: var(--atni-ground-base); border-color: var(--control-edge); }
      fieldset.track:not(.is-stepper) > .track-step .track-name { font-weight: 500; text-decoration: none; }
    }
  }
}
@media (forced-colors: active) { :is(.track-step:has(> .track-pick:checked), .stair-step:has(> .stair-pick:checked)) { outline: 2px solid Highlight; outline-offset: -2px; } }
@media (hover: hover) { :is(.track-step, .stair-step):hover :is(.track-name, .stair-name) { text-decoration: underline; text-decoration-color: var(--control-edge); text-underline-offset: 0.2em; } }

/* The ruled row, the one list grammar: no boxes, and lists flow into as many columns as fit. A row is a
   left cell (figure, date, number, or status) and a right cell (title, text, meta). */
.cards, .figures, .resolutions, .entries, .records, .deadlines {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr));
  column-gap: 24px;
}
.card, .figure, .resolution, .entry, .record, .deadline {
  margin: 0;
  padding-block: 24px;
  border-bottom: 1px solid var(--rule);
}
.record > * { max-width: var(--measure); }
@media (min-width: 720px) {
  .card, .figure, .resolution, .entry, .deadline {
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr);
    column-gap: 24px;
    align-content: start;
  }
  /* The left cell spans the right cell's rows; spans with no content collapse to nothing. */
  .entry { grid-template-columns: 6rem minmax(0, 1fr); column-gap: 16px; }
  .entry > * { grid-column: 2; }
  .entry > .entry-type { grid-column: 1; grid-row: 1 / span 6; }
  .figure { grid-template-columns: 5rem minmax(0, 1fr); column-gap: 16px; }
  .figure > * { grid-column: 2; }
  .figure > .figure-value { grid-column: 1; grid-row: 1 / span 2; }
  .deadline-date, .deadline-when { grid-column: 1; }
  .deadline-what { grid-column: 2; grid-row: 1 / span 2; }
  .deadline-what:only-child { grid-column: 1 / -1; }
  .card { grid-template-areas: "status title" "grounds text"; grid-template-rows: auto 1fr; }
  .card > .card-status { grid-area: status; }
  .card > h3 { grid-area: title; }
  .card > p { grid-area: text; }
  .card > .card-grounds { grid-area: grounds; }
}

/* Workstreams: two across, then four across with each row stacked inside its column. */
.card { position: relative; }
.card h3 { margin-bottom: 8px; }
.card h3 a { color: var(--atni-text-heading); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover h3 a { text-decoration: underline; text-decoration-color: var(--accent); }
.card-status { margin: 0 0 4px; color: var(--atni-text-secondary); display: flex; align-items: baseline; gap: 8px; }
.card-status::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--accent); }
.card-status.is-open::before { background: transparent; border: 2px solid var(--accent); }
.card-grounds { margin: auto 0 0; font-size: 0.875rem; color: var(--atni-text-muted); }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1400px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card { display: flex; flex-direction: column; }
}

/* Resolution register */
.resolution-number { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: var(--t-title); line-height: 1; letter-spacing: -0.02em; color: var(--atni-text-heading); font-variant-numeric: tabular-nums; }
.resolution-number .label { display: block; margin-bottom: 4px; color: var(--atni-text-muted); }
.resolution h3 { margin-bottom: 4px; }
.resolution h3 a { color: var(--atni-text-heading); text-decoration-color: var(--accent); }
.resolution h3 a:hover { color: var(--atni-text-link-hover); }
.resolution-meta { font-size: 0.875rem; color: var(--atni-text-muted); margin-bottom: 8px; }
.resolution-body p:last-child { margin-bottom: 0; }
.format { font-family: var(--body); font-weight: 400; font-size: 0.875rem; color: var(--atni-text-muted); letter-spacing: 0; }

/* Figures read from the data files: one row across the page. */
.figure-value { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: var(--t-title); line-height: 1; letter-spacing: -0.02em; color: var(--atni-text-heading); }
.figure-label { margin: 0 0 4px; font-family: var(--display); font-weight: 500; font-size: 0.875rem; line-height: 1.3; }
.figure-label a { color: var(--atni-text-heading); text-decoration-color: var(--accent); }
.figure-label a:hover { color: var(--atni-text-link-hover); }
.figure-detail { margin: 0; font-size: 0.875rem; color: var(--atni-text-muted); }
@media (min-width: 640px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Upcoming deadlines */
.deadlines { margin-top: 16px; }
.deadline { break-inside: avoid; }
.deadline p { margin: 0; }
.deadline-date { font-family: var(--display); font-weight: 600; font-size: var(--t-title); line-height: 1.2; color: var(--atni-text-heading); }
.deadline .deadline-when { margin-block: 4px; font-size: 0.875rem; color: var(--atni-text-muted); }

/* Library entries (library page and short feeds) */
.entry-type { margin: 0 0 4px; color: var(--atni-text-secondary); }
.entry-title { margin: 0 0 4px; }
.entry-title a { color: var(--atni-text-heading); text-decoration-color: transparent; }
.entry-title a:hover, .entry-title a:focus-visible { color: var(--atni-text-link-hover); text-decoration-color: currentColor; }
.entry-format { font-family: var(--body); font-weight: 400; font-size: 0.875rem; color: var(--atni-text-muted); letter-spacing: 0; }
.entry-meta { margin: 0 0 8px; font-size: 0.875rem; color: var(--atni-text-muted); }
.entry-summary { margin-bottom: 12px; }
.entry .entry-summary:last-child { margin-bottom: 0; }
.entry-summary.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.entry-more { justify-self: start; min-height: 32px; margin: -8px 0 8px; padding: 0; font-family: var(--display); font-weight: 500; font-size: 0.875rem; color: var(--atni-text-link); background: none; border: 0; cursor: pointer; }
.entry-more:hover { color: var(--atni-text-link-hover); text-decoration: underline; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { margin: 0; padding: 4px 8px; font-family: var(--display); font-weight: 500; font-size: 0.875rem; line-height: 1.2; color: var(--atni-text-secondary); background: var(--tag-bg); }
.tags .tag-tribal { display: inline-flex; align-items: center; gap: 8px; color: var(--atni-text-heading); }
.tags .tag-tribal::before { content: ""; width: 8px; height: 8px; background: var(--atni-text-heading); }

/* What's New (scripts/build_whats_new.py): ruled rows of date, kind, title, and area, on the home page and, in a disclosure, on the Library page. A row's kind is
   a word, never a color. Hover outlines a row in 1px muted ink and changes nothing else (DIRECTION-R2 2.5); the disclosure's sign is muted, since orange is the reading's. */
.whats-new-grid { display: grid; gap: 16px 48px; }
.whats-new-head h2 { margin: 0 0 8px; }
.whats-new-head p { margin: 0 0 8px; max-width: 36rem; color: var(--atni-text-secondary); }
p.whats-new-since { margin: 0 0 8px; font-family: var(--display); font-weight: 500; font-size: var(--t-lead); line-height: 1.3; color: var(--atni-text-heading); }
.whats-new-rows { margin: 0; padding: 0; list-style: none; }
.whats-new-rows li { display: grid; grid-template-columns: 6rem 3.5rem minmax(0, 1fr) 10.5rem; gap: 2px 16px; align-items: baseline; margin: 0; padding-block: 11px; border-top: 1px solid var(--grid); }
.whats-new-rows li:first-child { border-top-color: var(--rule); }
.whats-new-rows li:hover { outline: 1px solid var(--atni-text-muted); outline-offset: -1px; }
.whats-new-rows time { font-size: var(--t-small); font-variant-numeric: tabular-nums; color: var(--atni-text-secondary); }
.whats-new-kind { font-family: var(--display); font-weight: 500; font-size: 0.875rem; color: var(--atni-text-secondary); }
.whats-new-rows a { display: block; margin-block: -11px; padding-block: 11px; line-height: 1.35; color: var(--atni-text-heading); text-decoration-color: var(--control); overflow-wrap: anywhere; } /* the row's height is the link's target */
.whats-new-area { font-size: 0.875rem; line-height: 1.3; color: var(--atni-text-secondary); }
.whats-new-all { margin-bottom: 16px; border-block: 1px solid var(--grid); }
.whats-new-all summary { display: flex; align-items: center; min-height: 44px; font-family: var(--display); font-weight: 500; font-size: var(--t-body); color: var(--atni-text-heading); cursor: pointer; }
.whats-new-all summary::before { content: "+"; width: 1.25rem; color: var(--atni-text-muted); }
.whats-new-all[open] summary::before { content: "\2212"; }
.whats-new-all .caption { margin: 8px 0 16px; max-width: none; }
@media screen and (min-width: 1100px) {
  .whats-new-grid { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); }
  .whats-new-all .whats-new-rows { columns: 2; column-gap: 28px; } /* down and then across, so the dates still run in order */
  .whats-new-all .whats-new-rows li { break-inside: avoid; grid-template-columns: 6rem 3.5rem minmax(0, 1fr); }
  .whats-new-all .whats-new-area { grid-column: 3; }
}
@media (max-width: 719px) {
  .whats-new-rows li { grid-template-columns: auto minmax(0, 1fr); }
  .whats-new-rows li :is(a, .whats-new-area) { grid-column: 1 / -1; }
}
@media print {
  .whats-new-grid { display: block; }
  .whats-new-rows li { break-inside: avoid; padding-block: 4pt; }
  .whats-new-all summary::before { display: none; }
}

/* Records: Tribes, programs, notices, and watched policy (data pages). A record has no figure or status
   to set in a left cell and holds long disclosures, so it stacks inside its column. */
.record h3 { margin: 0 0 4px; }
.record h3 a, .record h4 a { color: var(--atni-text-heading); text-decoration-color: var(--accent); }
.record h3 a:hover, .record h4 a:hover { color: var(--atni-text-link-hover); }
.record h4 { margin: 16px 0 4px; }
.record-kicker { margin: 0 0 4px; font-family: var(--display); font-weight: 500; font-size: 0.875rem; color: var(--atni-text-secondary); }
.record-meta { margin: 0 0 12px; font-size: 0.875rem; color: var(--atni-text-muted); }
.record-note { font-size: 0.875rem; color: var(--atni-text-secondary); }
.record-links, .watch-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 8px 0 0; }
.record-deadline { padding: 8px 12px; background: var(--atni-ground-raised); }
.watch-item h4 { margin-top: 0; }
[data-policy-watch] > h3 { margin-top: 32px; }
.query { padding: 1px 8px; color: var(--atni-text-heading); background: var(--tag-bg); overflow-wrap: anywhere; }
.doc-list { font-size: 0.875rem; }

/* Tags: the word carries the meaning; the square marks it (filled, hollow, or plain). */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--atni-text-heading);
  background: var(--tag-bg);
}
.tag::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--atni-text-heading); }
.tag.is-hollow::before { background: transparent; border: 2px solid var(--atni-text-heading); }
.tag.is-plain::before { background: var(--control); }
.stage-1 { --stage: var(--stage-1); }
.stage-2 { --stage: var(--stage-2); }
.stage-3 { --stage: var(--stage-3); }
.stage-4 { --stage: var(--stage-4); }
.tag.stage::before { width: 10px; height: 10px; background: var(--stage); border: 0; }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 0.875rem; color: var(--atni-text-muted); }

/* Ranked energy types for one Tribe */
.findings { list-style: none; margin: 4px 0 12px; padding: 0; }
.findings li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 8px; border-top: 1px solid var(--rule); }
.findings li:last-child { border-bottom: 1px solid var(--rule); }
.findings li.is-match { box-shadow: inset 3px 0 0 var(--energy-mark); } /* the reader's Tribe's match is a selection: a rule, never a row wash */
.finding-rank { flex: none; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 0.875rem; color: var(--atni-text-heading); border: 1px solid var(--control); }
.finding-type { flex: 1 1 12rem; font-weight: 700; color: var(--atni-text-heading); }

/* Interior page body: a section rail at left, and the rest of the window in columns. Below 1100px the
   rail is a one-row strip of links. A .section-strip is that same row on a workbench page: a tab list
   with JS, a jump list without. It sticks only when given .is-sticky. */
.page-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 24px 48px; }
.toc, .section-strip { min-width: 0; font-family: var(--display); background: var(--atni-ground-base); border-bottom: 1px solid var(--rule); }
.section-strip { border-bottom-color: var(--grid); }
.section-strip > .wrap { display: flex; flex-wrap: nowrap; justify-content: space-between; } /* one 64px row: the tabs scroll under their fade before Sources or the sheet button wraps */
.section-strip ul { flex: 1 1 auto; min-width: 0; }
.section-strip > .wrap > a { margin-inline: 12px 0; } /* 24px of air after the last tab, and none taken from the sheet button beside it (data-centers critic 5) */
.section-strip > .wrap > .paper { flex: none; align-self: center; margin-left: 12px; white-space: nowrap; }
/* A strip too narrow for its tab questions shows the names alone, every tab in view, with a 1px rule where a group starts (ai critic 1): under 1600px,
   and wherever plate.js finds the row still runs past its edge (.is-tight). The questions stay in each tab panel's heading. */
@media (max-width: 1599px) {
  .section-strip .tab-q { display: none; }
  .section-strip .strip-group { width: 1px; margin: 18px 12px; padding: 0; overflow: hidden; font-size: 0; background: var(--rule); }
  .section-strip .strip-group:first-child { display: none; }
}
.section-strip.is-tight .tab-q { display: none; }
.section-strip.is-tight .strip-group { width: 1px; margin: 18px 12px; padding: 0; overflow: hidden; font-size: 0; background: var(--rule); }
.section-strip.is-tight .strip-group:first-child { display: none; }
.toc-title { display: none; margin: 0 0 8px; padding-left: 14px; color: var(--atni-text-muted); }
.toc ul, .section-strip ul, .section-strip [role="tablist"] {
  list-style: none;
  margin: 0 -12px;
  padding: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
:is(.toc, .section-strip) ul.is-cut { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent); } /* plate.js sets it while more of the row waits past the edge; 64px, because a 24px fade read as a hard edge at 390 */
.toc li, .section-strip li { flex: none; margin: 0; }
:is(.toc, .section-strip) :is(a, [role="tab"]) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  scroll-snap-align: start;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--atni-text-secondary);
  text-decoration: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
}
/* Tabs (DIRECTION-R2 3.10): one fixed 64px strip, so sticking changes no height; a tab is its name over its question (a > span.tab-name + span.tab-q), the
   current one a 3px --here underline (R3 3), a hovered one 3px of --control-edge. Group labels (span.strip-group) are muted words, out of the tab order; a.strip-out[data-not-tab] (Sources) and
   button.paper[data-sheet-open] stand at the right end. The underline lives on a pseudo-element, so forced colors keep it and no tab changes size. */
.section-strip > .wrap { align-items: stretch; min-height: 64px; }
.section-strip :is(a, [role="tab"]) { position: relative; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; min-height: 64px; font-size: var(--t-body); border-bottom: 0; }
.section-strip :is(a, [role="tab"])::after { content: ""; position: absolute; inset: auto 12px 0; border-bottom: 3px solid transparent; }
.tab-name { font-family: var(--display); font-weight: 500; font-size: var(--t-body); line-height: 1.2; }
.tab-q { font-family: var(--display); font-weight: 500; font-size: 0.875rem; line-height: 1.2; color: var(--atni-text-secondary); white-space: nowrap; }
.strip-group { align-self: center; padding: 0 12px 0 20px; font-size: 0.875rem; color: var(--atni-text-muted); }
.section-strip .strip-out { align-self: center; }
:is(.toc, .section-strip) :is(a, [role="tab"]):hover { color: var(--atni-text-heading); }
.toc :is(a, [role="tab"]):hover, .section-strip :is(a, [role="tab"]):hover::after { border-bottom-color: var(--control-edge); }
.toc :is(a[aria-current], [aria-selected="true"]) { color: var(--atni-text-heading); border-bottom-color: var(--here); }
.section-strip :is(a[aria-current], [aria-selected="true"]) { color: var(--atni-text-heading); }
.section-strip :is(a[aria-current], [aria-selected="true"])::after { border-bottom-color: var(--here); }
/* These rows scroll, which would clip an outer focus ring, so the ring sits inside the link. */
:is(.toc, .section-strip) :is(a, [role="tab"]):focus-visible { outline-offset: -3px; }
.section-strip.is-sticky { position: sticky; top: 0; z-index: 2; }
/* A page with a strip keeps focus and a landing out from under it (WCAG 2.4.11). */
html:has(.section-strip[data-workbench]) { scroll-padding-top: 72px; }
/* The strip shows at the foot of the first screen (R3 4): until the reader scrolls to it, it stands at the window's foot, so the tabs and "Meeting sheet (N)"
   stay in view. A departure from "nothing covers live content" (DIRECTION-R2 3.12): it is the page's own navigation, it covers only until the reader scrolls,
   focus keeps 72px clear of it, and a face's plot takes 37vh so it ends above it at 1440 by 900. */
@media screen and (min-width: 1100px) {
  .section-strip[data-workbench] { position: sticky; bottom: 0; z-index: 2; box-shadow: 0 -1px 0 var(--grid); }
  html:has(.section-strip[data-workbench]) { scroll-padding-bottom: 72px; }
  html:has(.section-strip[data-workbench]) .agenda-faces .plate { --plot-h: clamp(17rem, 37vh, 38rem); }
  html:has(.section-strip[data-workbench]) .agenda { min-height: max(28rem, calc(var(--plate-h, 0px) - 64px)); } /* the agenda runs to the strip's top, not under it */
}
.content { min-width: 0; }
.content > section + section { margin-top: 32px; }
.content > section > h3 { margin-top: 32px; }
.content > section > h2 + h3 { margin-top: 0; }
/* A prose band (DIRECTION-R2 2.4): two columns of at most 36rem, 48px apart and left-aligned, from 1100px; one below. Headings span them, so no column
   runs taller than one subsection. Lists of records keep repeat(auto-fill, minmax(26rem, 1fr)). Policy watch holds record lists that lay out their own
   columns. .band gives a page's own block the same two columns. */
.content > .prose, .band { display: grid; grid-template-columns: minmax(0, 36rem); column-gap: 48px; align-items: start; }
@media (min-width: 1100px) { .content > .prose, .band { grid-template-columns: repeat(2, minmax(0, 36rem)); } }
.content > .prose > :is(h2, h3, h4, .table-wrap, .plate, .disclosure-grid), .band > :is(h2, h3, .table-wrap, .plate) { grid-column: 1 / -1; }
.content > .prose > .notice { margin-block: 0 16px; }
/* A single block has no neighbor to share the row with, so it takes the band's width, in columns. */
.content > .prose > :is(.notice, h2 + p:last-child) { grid-column: 1 / -1; max-width: none; columns: 26rem 2; column-gap: 48px; }
.content > .prose > .disclosure-grid:has(> :only-child) { grid-column: auto; }
.content > .prose > .quote { margin-block: 0 16px; }
@media (min-width: 1240px) { .content > .prose > .quote { grid-column: -2 / -1; grid-row: 2 / span 3; } }
.content > .prose:has(> [data-policy-watch]) { display: block; }
@media (min-width: 960px) { .toc { position: sticky; top: 0; z-index: 2; } }
@media (min-width: 1100px) {
  /* The rail stays only where a long reference page keeps its nav; a page that drops the nav gets the column back. */
  .page-body:has(> .toc) { grid-template-columns: 14rem minmax(0, 1fr); gap: 32px; }
  .page-body > .toc { top: 16px; align-self: start; max-height: calc(100vh - 32px); overflow-y: auto; background: none; border-bottom: 0; }
  .page-body > .toc .toc-title { display: block; }
  .page-body > .toc ul { display: block; margin: 0; overflow: visible; }
  .page-body > .toc a { display: block; min-height: 0; padding: 8px 0 8px 12px; white-space: normal; border-bottom: 0; border-left: 2px solid transparent; }
  .page-body > .toc a:hover { border-left-color: var(--control); }
  .page-body > .toc a[aria-current] { color: var(--atni-text-heading); border-left-color: var(--here); } /* the rail's mark, a 2px rule at its left from here up */
}

/* Details in columns (workbench panels): each summary is a full sentence a reader can skim. */
.disclosure-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); gap: 24px; align-items: start; }
/* What a plate's claim zone does not keep (plate.js moveProse): a single sentence or a foot line is a ruled row beside the disclosures, its first line level with their summaries. */
.plate-note { margin: 0; padding-block: 18px 10px; max-width: none; border-top: 1px solid var(--rule); }
.plate-notes { margin-bottom: 24px; }
/* On a rail page a heading and a full sentence skim as one summary; an open one takes the row, in cells that never split a sentence. */
.rail-details { gap: 0 24px; margin-block: 4px 16px; }
.rail-details > .disclosure { margin: 0; border-top: 1px solid var(--rule); }
.rail-details > .disclosure > summary { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 10px; width: auto; padding-block: 10px; font-family: var(--body); font-weight: 400; font-size: var(--t-small); line-height: 1.45; color: var(--atni-text-secondary); list-style: none; }
.rail-details > .disclosure > summary::-webkit-details-marker { display: none; }
.rail-details > .disclosure > summary::before { content: ""; grid-row: 1; width: 10px; height: 10px; margin-top: 0.35em; border: 2px solid var(--control-edge); }
.rail-details > .disclosure[open] > summary::before { background: var(--atni-text-heading); border-color: var(--atni-text-heading); }
.rail-details > .disclosure > summary > * { grid-column: 2; margin: 0; }
.rail-details > .disclosure > summary > :is(h3, h4) { margin-bottom: 2px; font-size: var(--t-body); line-height: 1.25; color: var(--atni-text-heading); }
.rail-details > .disclosure > summary:hover > :is(h3, h4) { color: var(--atni-text-link-hover); }
.rail-details > .disclosure[open] { grid-column: 1 / -1; }
.rail-details > .disclosure > :not(summary) { max-width: none; }
.rail-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); column-gap: 48px; align-items: start; padding-bottom: 16px; }
.rail-body > :is(h3, h4, .table-wrap, .records, .deadlines, .actions, [data-policy-searches], [data-policy-follow]) { grid-column: 1 / -1; }

/* The plate (DIRECTION-R2 3.3 and 2.4). Zones by name: claim (eyebrow, title, settings), bar (the plot's switch, and Chart and Table), plot, under (the key),
   window (readout, Reading, facts, evidence and card, actions), the Table, and the collar (sources line, link, and what leaves the page). A variant sets the
   grid: lead (a tab's or a section's first plate, the Briefing), face (an agenda face), repeater (later plates in a tab), strip (one column of a strip or a pair),
   atlas (DC's map and side column). plate.js writes data-variant; until it runs, a plate without one draws as a lead and a later sibling as a repeater, so
   nothing jumps. Variant rules ask the nearest container (a section, a tab panel, the agenda's faces, a strip), never the plate. Below 1100px it all stacks,
   and print reads it in order. Without scripts the Table stands under the window, whole; with them it takes the plot's and the window's place when pressed,
   and the claim zone stays, so nothing beside it moves. No frame, no radius, no shadow but the window's inset line. */
main > section, [role="tabpanel"], .agenda-faces, .plate-strip, .plate-pair { container-type: inline-size; }
.plate {
  --row-min: 3.5rem;
  --mark: clamp(16px, 1vw + 5px, 26px);
  --l: clamp(7rem, 26%, 15rem);
  --v: clamp(8rem, 18%, 13rem);
  --readout: clamp(4.25rem, 1.5rem + 3vw, 6rem);
  --plot-h: clamp(20rem, 46vh, 44rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "claim" "bar" "plot" "under" "window" "table" "collar";
  column-gap: var(--plate-gap);
  margin: 0 0 32px;
  align-items: start;
}
.plate:is([data-variant="repeater"], [data-variant="strip"], .plate:not([data-variant]) ~ .plate:not([data-variant])) { --readout: 2.25rem; --plot-h: clamp(18rem, 40vh, 36rem); }
.plate[data-variant="strip"] { --plot-h: clamp(18rem, 32vh, 26rem); }
.plate:is([data-variant="repeater"], [data-variant="strip"]) .plate-title { font-size: var(--t-lead); }
.plate > * { min-width: 0; }
.plate > .plate-claim { grid-area: claim; }
.plate > .plate-bar { grid-area: bar; }
.plate > .plate-plot { grid-area: plot; min-height: var(--plot-h); }
.plate > .plate-under { grid-area: under; }
.plate > .plate-detail { grid-area: window; }
.plate > .plate-view[data-view="table"] { grid-area: table; }
.plate > .plate-collar { grid-area: collar; }
.plate a:not(.button) { color: var(--atni-text-heading); text-decoration-color: var(--control-edge); }
.plate > .plate-claim { padding-bottom: 16px; }
@media screen and (min-width: 1100px) {
  .plate { grid-template-columns: minmax(0, 64fr) minmax(18rem, 36fr); grid-template-areas: "claim claim" "bar bar" "plot window" "under window" ". window" "table table" "collar collar"; grid-template-rows: auto auto auto auto 1fr auto auto; }
  .plate:is([data-variant="face"], :where(.agenda-faces *):not([data-variant])) { grid-template-columns: minmax(0, 64fr) minmax(19rem, 36fr); }
  /* A lead in a narrower container keeps the plot on the first screen: its title at the left, its settings at the right, over the window (a departure: the
     direction gives this split to the repeater; at 1280 a lead's settings stacked under its title pushed the plot below the fold). */
  .plate:is([data-variant="lead"], :not([data-variant]):not(.plate:not([data-variant]) ~ *):not(:where(.agenda-faces) *)) > .plate-claim { display: grid; grid-template-columns: minmax(0, 64fr) minmax(18rem, 36fr); column-gap: var(--plate-gap); align-items: start; }
  .plate:is([data-variant="lead"], :not([data-variant]):not(.plate:not([data-variant]) ~ *):not(:where(.agenda-faces) *)) > .plate-claim > * { grid-column: 1; }
  .plate:is([data-variant="lead"], :not([data-variant]):not(.plate:not([data-variant]) ~ *):not(:where(.agenda-faces) *)) > .plate-claim > .plate-controls { grid-column: 2; grid-row: 1 / span 8; }
  .plate:is([data-variant="repeater"], .plate:not([data-variant]) ~ .plate:not([data-variant])) { grid-template-columns: minmax(0, 70fr) minmax(18rem, 30fr); }
  /* A repeater's claim zone: its title at the left, its settings at the right, over the window. */
  .plate:is([data-variant="repeater"], .plate:not([data-variant]) ~ .plate:not([data-variant])) > .plate-claim { display: grid; grid-template-columns: minmax(0, 70fr) minmax(18rem, 30fr); column-gap: var(--plate-gap); align-items: start; }
  .plate:is([data-variant="repeater"], .plate:not([data-variant]) ~ .plate:not([data-variant])) > .plate-claim > * { grid-column: 1; }
  .plate:is([data-variant="repeater"], .plate:not([data-variant]) ~ .plate:not([data-variant])) > .plate-claim > .plate-controls { grid-column: 2; grid-row: 1 / span 8; }
  .plate[data-variant="strip"] { grid-template-columns: minmax(0, 1fr); grid-template-areas: "claim" "bar" "plot" "under" "window" "table" "collar"; grid-template-rows: none; }
  .plate[data-variant="atlas"] { grid-template-columns: minmax(0, 1fr) clamp(22rem, 28vw, 34rem); grid-template-areas: "claim window" "bar window" "plot window" "under window" ". window" "table table" "collar collar"; }
  .plate[data-variant="atlas"] > .plate-plot { position: sticky; top: 64px; height: clamp(30rem, calc(100svh - 96px), 62rem); }
  /* With scripts the Table, when pressed, takes the plot's and the window's place (plot and Reading in a repeater); the claim zone and the bar stay. */
  .plate.is-live > .plate-view[data-view="table"] { grid-row: plot-start / under-end; grid-column: plot-start / window-end; }
  .plate[data-variant="strip"].is-live > .plate-view[data-view="table"] { grid-row: plot-start / window-end; }
}
/* A lead plate in a wide container: claim column, plot, window. The third row takes what is left, so a tall window never stretches the plot. */
@container (min-width: 1360px) {
  @media screen and (min-width: 1100px) {
    .plate:is([data-variant="lead"], :not([data-variant]):not(.plate:not([data-variant]) ~ *):not(:where(.agenda-faces) *)) { grid-template-columns: minmax(17rem, 20fr) minmax(0, 52fr) minmax(19rem, 28fr); grid-template-areas: "claim bar bar" "claim plot window" "claim under window" "claim . window" "table table table" "collar collar collar"; grid-template-rows: auto auto auto 1fr auto auto; }
    .plate:is([data-variant="lead"], :not([data-variant]):not(.plate:not([data-variant]) ~ *):not(:where(.agenda-faces) *)) > .plate-claim { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0 0 16px; }
    .plate:is([data-variant="lead"], :not([data-variant]):not(.plate:not([data-variant]) ~ *):not(:where(.agenda-faces) *)) > .plate-claim > .plate-controls { grid-column: 1; grid-row: auto; }
  }
}
/* A strip: one across under a 1680px container, two from 1680, three from 2400 (DIRECTION-R2 2.4); a pair is two. */
.plate-strip, .plate-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; }
@container (min-width: 1680px) { .plate-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 1679px) {
  @media screen and (min-width: 1100px) {
    .plate-strip > .plate[data-variant="strip"] { grid-template-columns: minmax(0, 70fr) minmax(18rem, 30fr); grid-template-areas: "claim claim" "bar bar" "plot window" "under window" ". window" "table table" "collar collar"; grid-template-rows: auto auto auto auto 1fr auto auto; }
    .plate-strip > .plate[data-variant="strip"] > .plate-detail { padding: 0 0 0 20px; border-top: 0; border-left: 1px solid var(--rule); }
    .plate-strip > .plate[data-variant="strip"].is-live > .plate-view[data-view="table"] { grid-row: plot-start / under-end; }
  }
}
@container (min-width: 2400px) { .plate-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media screen and (min-width: 1100px) { .plate-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (pointer: fine) { .plate .segmented label { min-height: 32px; } }
/* No content-visibility on plates or Sources lists (tried at bbc8680): a link to a plate lower on the page landed on placeholder heights and jumped as much as
   565px while the plates above it drew. Without it the page lays out once, at about 0.15 to 0.25 s more script time on Data Centers. */

/* A workbench panel sits on the base ground and its h2 is compact, so the plate starts on the first screen. */
.panel, main > .panel:nth-of-type(n) { padding-block: 24px 24px; background: none; } /* 24px over a panel's first line, as under it (R3 8) */
.panel > .wrap > :first-child:not(.is-tab-label), .panel > .wrap > .is-tab-label:first-child + * { margin-top: 0; } /* and only 24px: its first line's own margin would add to it */
main > .panel + .panel { border-top: 0; }
/* A deep link lands under the 64px strip, not behind it (html's scroll-padding-top keeps 72px on a page with one). */
[role="tabpanel"], [role="tabpanel"] [id] { scroll-margin-top: 0; }
.panel-title { margin: 16px 0 12px; font-size: var(--t-title); line-height: 1.15; }
@media screen {
  [role="tabpanel"] .panel-title.is-tab-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
/* Motion (DIRECTION-R2 2.5). Press, 120ms: the needle, marks, rings, and fills. Swap, 180ms: an opacity crossfade for a tab panel, the Chart and the Table, the
   card, and the tip. Draw, 240ms: the first face's needle, once a load. Nothing else moves: not layout, not chrome, not a row on hover, not a re-sort, not a
   scroll, and nothing after a key press. Reduced motion is 0ms throughout (the rule at this file's foot). */
.needle, .ladder-needle, .ladder-mark, .ladder-range, .ladder-shared { transition: left 120ms var(--ease), width 120ms var(--ease); }
.is-entering .plate-plot > * { animation: plate-enter 180ms var(--ease); }
.plate.is-live > :is(.plate-plot, .plate-detail, .plate-view):not([hidden]) { animation: plate-enter 180ms var(--ease); }
.plate:has(:focus-visible) *, .agenda:has(:focus-visible) * { transition-duration: 0ms !important; animation-duration: 0ms !important; }
@keyframes plate-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes needle-draw { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

/* ========== Plate kit: everything site/assets/js/plate.js and scripts/build_plates.py write. ==========
   Zones start at the top. The plot is the one focus stop. A drawn SVG fills its zone absolutely, so it cannot feed
   back into the size it was measured from. */
/* A part only a script can run (data-js) is hidden until theme.js marks the page as scripted, before it paints, so it never appears late (ai-08). */
html:not(.js) [data-js] { display: none !important; }
/* The first paint is the live one (the R2 critics' CLS, 0.12 to 0.55 on every page with plates). build_plates.py writes the live arrangement: the switch in the
   bar, the key under the plot, the settings shown under the js class, the evidence line, the readout's length. Until plate.js starts a plate, the js class
   hides the one part it hides, the Table under the window; without scripts and on paper the Table stands. A face guesses its variant above, as plate.js will. */
@media screen { html.js .plate:not(.is-live) > .plate-view[data-view="table"] { display: none; } }
html[data-address="none"] .plate-link-note { display: none; } /* the Briefing keeps nothing in the address; plate.js removes it there */
.plate li::marker { color: var(--atni-text-muted); }
.plate .reading { color: var(--atni-text-heading); }
/* The Reading holds six lines whatever it says, so the actions under it never move (resource-use-02, explorer-03). The sentence with the figure, which plate.js
   marks, is in the heading's face and ink; the rest is body. */
.plate-detail .reading { min-height: 6lh; font-family: var(--body); font-weight: 400; font-size: 1rem; line-height: 1.45; color: var(--atni-text-body); }
.plate-detail .reading b { font-family: var(--display); font-weight: 500; font-size: var(--t-body); color: var(--atni-text-heading); }
.plate-claim, .plate-view, .plate-controls { display: grid; gap: 12px; align-content: start; min-width: 0; }
.plate-claim > .plate-controls:not(:has(> *)) { display: none; } /* emptied when its one view control moves to the bar above the plot; it held 8 grid rows */
.plate-claim p, .plate-detail p { margin: 0; }
.plate-plot {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 20rem;
  touch-action: pan-y;
}
.plate-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.no-needle :is(.ladder-needle, .m-needle, .m-needle-label) { display: none; }
.plate-svg text { font-family: var(--body); font-size: clamp(0.875rem, 0.8rem + 0.15vw, 1rem); fill: var(--atni-text-secondary); }
/* Hover outlines a row in 1px muted ink and changes nothing else: no readout, no Reading, no mark (CD 1). */
.plate-plot [data-row]:not(.is-ghost):hover { outline: 1px solid var(--atni-text-muted); outline-offset: -1px; }
.plate-plot .plate-svg [data-row]:hover { outline: none; }
.plate-plot .plate-svg [data-row]:hover > .m-hit { stroke: var(--atni-text-muted); stroke-width: 1; }
/* The bar over the plot: a switch that is part of the picture at its full width (plot.switch), then Chart and Table, two small pressed buttons, at the right. */
.plate-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 16px; padding-bottom: 12px; }
.plate-views { display: inline-flex; margin-left: auto; }
.plate-views button { min-height: 32px; padding: 4px 12px; font-family: var(--display); font-weight: 500; font-size: 0.875rem; line-height: 1.2; color: var(--atni-text-secondary); background: none; border: 1px solid var(--control-edge); border-radius: 0; cursor: pointer; }
.plate-views button + button { margin-left: -1px; }
.plate-views button:hover { color: var(--atni-text-heading); }
.plate-views button[aria-pressed="true"] { position: relative; color: var(--atni-text-heading); background: var(--control-on); border-color: var(--atni-text-heading); }
.plate-views button:focus-visible { position: relative; z-index: 1; }
.plate-switch { flex: 1 1 24rem; min-width: 0; }
.plate-switch .segmented { display: flex; flex-wrap: wrap; gap: 0; }
.plate-switch legend { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.plate-switch .segmented label { display: flex; }
.plate-switch .segmented label + label { margin-left: -1px; }
.plate-switch .segmented label { flex: 0 1 auto; max-width: 16rem; }
.plate-switch .segmented span { padding: 0.5rem 1rem; }
/* The axis caption and the key, under the plot. */
.plate-under { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 24px; padding-top: 8px; }
.plate-under > .caption { max-width: none; font-size: 0.875rem; }
.plate-under .legend { margin: 0; gap: 2px 20px; }
.plate-legend { margin: 0; }
.plate-key { flex: none; width: 14px; height: 2px; background: var(--series-context); }
.plate-key.is-on { background: var(--energy-mark); }
.plate-key.is-proj { height: 0; background: none; border-top: 2px dashed var(--series-context); }
.plate-key.is-band { height: 10px; background: var(--grid); }
.plate-square { flex: none; width: 8px; height: 8px; background: var(--series-context); }
.plate-square.is-hollow { background: none; border: 2px solid var(--series-context); }
.plate-square.is-b { background: var(--atni-text-heading); }
.plate-square.is-on { background: var(--energy-mark); }
.plate-square.is-hollow.is-on { background: none; border-color: var(--energy-mark); }
.plate-foot { color: var(--atni-text-secondary); }
.plate-setting { color: var(--atni-text-secondary); }
@media screen { .plate.is-live .plate-setting { display: none; } } /* the controls say it; the line stays for print and for no scripts */
.plate-more > summary { min-height: 32px; font-family: var(--display); font-weight: 500; font-size: var(--t-small); color: var(--atni-text-heading); cursor: pointer; }
.plate-more > .plate-controls { padding-top: 12px; }
.plate-facts .plate-more > p { margin-top: 8px; }

/* Settings: segmented stops, native radios laid over their labels. An unchosen stop has a 1px --control-edge; the chosen one --control-on and a 1px heading-ink
   edge (DIRECTION-R2 3.11). One weight for both, so choosing a stop moves nothing beside it. */
.segmented { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; margin: 0; padding: 0; border: 0; }
.segmented legend { padding: 0; margin-bottom: 6px; font-family: var(--display); font-weight: 500; font-size: 0.875rem; color: var(--atni-text-secondary); }
.segmented label { position: relative; display: inline-flex; align-items: stretch; min-height: 44px; cursor: pointer; }
.segmented input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.segmented span { display: flex; align-items: center; padding: 4px 12px; font-family: var(--display); font-weight: 500; font-size: var(--t-small); line-height: 1.25; color: var(--atni-text-secondary); border: 1px solid var(--control-edge); }
.segmented input:hover + span { color: var(--atni-text-heading); }
.segmented input:checked + span { position: relative; color: var(--atni-text-heading); background: var(--control-on); border-color: var(--atni-text-heading); }
.segmented input:focus-visible + span { outline: 2px solid var(--atni-text-heading); outline-offset: 2px; }
.plate-switch .segmented input:focus-visible + span { outline-offset: -4px; }

/* A model input: a range with a typed twin. The thumb is a 4px bar of heading ink in a 44px hit area (a control wears ink; orange is the reading's). A typed
   figure off the scale is marked invalid while typed and goes to the end it passed on leaving the box. Presets set the pair. */
.slider { display: grid; grid-template-columns: minmax(0, 1fr) 5rem; gap: 4px 12px; align-items: center; }
.slider label { grid-column: 1 / -1; font-family: var(--display); font-weight: 500; font-size: 0.875rem; color: var(--atni-text-secondary); }
.slider input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: none; cursor: pointer; }
.slider input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--control-edge); }
.slider input[type="range"]::-moz-range-track { height: 2px; background: var(--control-edge); }
.slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 4px; height: 28px; margin-top: -13px; background: var(--atni-text-heading); border: 0; border-radius: 0; }
.slider input[type="range"]::-moz-range-thumb { width: 4px; height: 28px; background: var(--atni-text-heading); border: 0; border-radius: 0; }
.slider input[type="number"] { width: 100%; min-height: 44px; padding: 8px; font-family: var(--body); font-size: 1rem; font-variant-numeric: tabular-nums; color: var(--atni-text-heading); background: var(--atni-ground-overlay); border: 1px solid var(--control-edge); border-radius: 0; }
.slider input[aria-invalid="true"] { border-color: var(--atni-text-heading); border-style: dashed; }
.slider-stops { grid-column: 1; display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.slider-presets { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.slider-presets button[aria-pressed="true"] { position: relative; background: var(--control-on); box-shadow: inset 0 0 0 1px var(--atni-text-heading); } /* the preset the value matches */
.slider-presets button { min-height: 32px; padding: 4px 8px; font-family: var(--body); font-size: 0.875rem; font-variant-numeric: tabular-nums; color: var(--atni-text-heading); background: var(--tag-bg); border: 0; border-radius: 0; cursor: pointer; }
.slider.is-typed { grid-template-columns: minmax(0, 9rem); }

/* The window, in order (DIRECTION-R2 3.3): readout; the Reading; the first facts and the parts bar; the evidence and its card; at the foot Copy reading and, once
   a setting moves, Back to the starting point; the privacy note. A lead's window is the one raised surface, its inset line at the top (a 1px ring in light);
   a repeater's or a strip's is flat behind a 1px rule; a face's is the agenda's to raise. */
.plate-detail { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 20px 20px 16px; container-type: inline-size; }
.plate:is([data-variant="lead"], [data-variant="atlas"], :not([data-variant]):not(.plate:not([data-variant]) ~ *):not(:where(.agenda-faces) *)) > .plate-detail { background: var(--window); box-shadow: var(--window-ring); }
.plate:is([data-variant="repeater"], [data-variant="strip"], .plate:not([data-variant]) ~ .plate:not([data-variant])) > .plate-detail { padding: 16px 0 0; border-top: 1px solid var(--rule); }
.plate:is([data-variant="face"], :where(.agenda-faces *):not([data-variant])) > .plate-detail { padding: 0 0 0 20px; }
@media screen and (min-width: 1100px) { .plate:is([data-variant="repeater"], .plate:not([data-variant]) ~ .plate:not([data-variant])) > .plate-detail { padding: 0 0 0 20px; border-top: 0; border-left: 1px solid var(--rule); } }
.plate-detail > .readout { margin: 0; }
.plate-view[data-view="table"] > .label { margin: 0 0 8px; }
.plate.is-live > .plate-view[data-view="table"] > .label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; } /* the pressed button names the view */
.plate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: auto; padding-top: 4px; }
.plate-actions .button { min-height: 36px; padding: 6px 12px; }
.plate-status { flex-basis: 100%; }
.plate-status:empty { display: none; }
.plate-link-note { max-width: none; font-size: 0.875rem; }
.plate-scale-note { margin: 0; font-size: 0.875rem; color: var(--atni-text-secondary); }
.plate-print-head, .plate-print-foot { display: none; }
/* Under the Reading: the selection's claims by status, then a text button per publisher, its count after a comma for repeats. Heading ink, a 1px underline,
   2px when its card is open. A full square is verified, a half-filled one partly verified (.st-v, .st-p), always with the word. */
.plate-evidence { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--rule); }
.plate-evidence:empty { display: none; }
.plate-evidence-line { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 0.875rem; line-height: 1.4; color: var(--atni-text-secondary); }
.plate-evidence-line::before { content: "This reading:"; margin-right: -8px; }
.plate-evidence-count { display: inline-flex; align-items: center; gap: 6px; }
.st { display: inline-block; flex: none; box-sizing: border-box; width: 10px; height: 10px; border: 1.5px solid currentColor; vertical-align: -1px; }
.st-v { background: currentColor; }
.st-p { background: linear-gradient(currentColor, currentColor) bottom / 100% 50% no-repeat; }
.plate-evidence .plate-chips { display: flex; flex-wrap: wrap; gap: 0 12px; }
/* Quiet until asked (R3 5): secondary ink over a 1px grid-line underline; heading ink over a control-edge underline under the pointer or focus. */
.plate-evidence .receipt { gap: 6px; min-height: 32px; padding: 0; color: var(--atni-text-secondary); background: none; text-decoration: underline 1px var(--grid); text-underline-offset: 0.3em; }
.plate-evidence .receipt:is(:hover, :focus-visible) { color: var(--atni-text-heading); text-decoration-color: var(--control-edge); }
.plate-evidence .receipt[aria-expanded="true"] { color: var(--atni-text-heading); background: none; text-decoration: underline 2px var(--atni-text-heading); }
@media (pointer: coarse) { .plate-evidence .receipt { min-height: 44px; } }
/* The collar: across the plate's foot behind a 1px rule, one line. Its sources line and the link to its section of the Sources page (which prints its address)
   at the left; at the right, "Take this plate", a disclosure that opens what leaves the page under it, right-aligned and in flow, as text buttons 24px apart
   (R3 5). Its sign is muted, as What's New's is. */
.plate-collar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; margin-top: 16px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 0.875rem; }
.plate-collar-sources { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; min-width: 0; }
.plate-collar .plate-source-line { max-width: none; font-size: 0.875rem; color: var(--atni-text-secondary); }
.plate-collar .plate-source-line::before { content: "This plate: "; }
.plate-sources-link a { font-family: var(--display); font-weight: 500; }
.plate-take { margin-left: auto; }
.plate-take > summary { display: flex; justify-content: flex-end; align-items: center; min-height: 32px; font-family: var(--display); font-weight: 500; font-size: var(--t-small); color: var(--atni-text-heading); list-style: none; cursor: pointer; }
.plate-take > summary::-webkit-details-marker { display: none; }
.plate-take > summary::before { content: "+"; width: 1.25rem; color: var(--atni-text-muted); }
.plate-take[open] > summary::before { content: "\2212"; }
.plate-take > .plate-out { justify-content: flex-end; }
.plate-out { display: flex; flex-wrap: wrap; gap: 0 24px; }
.plate-out :is(button, a), .plate-more-rows { display: inline-flex; align-items: center; min-height: 32px; padding: 0; font-family: var(--body); font-size: 0.875rem; color: var(--atni-text-heading); background: none; border: 0; text-decoration: underline 1px var(--control-edge); text-underline-offset: 0.25em; cursor: pointer; }
.plate-out :is(button, a):hover, .plate-more-rows:hover { text-decoration-color: var(--atni-text-heading); }
@media (pointer: coarse) { .plate-out :is(button, a), .plate-more-rows { min-height: 44px; } }
.plate-facts { display: grid; gap: 8px; }
.plate-facts:empty { display: none; }
.plate-values { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 1rem; }
.plate-values li { display: grid; grid-template-columns: 14px minmax(0, max-content) minmax(8rem, 1fr); align-items: baseline; column-gap: 8px; margin: 0; font-variant-numeric: tabular-nums; }
.plate-values strong { color: var(--atni-text-heading); }
.plate-values strong:has(+ span:empty) { grid-column: 2 / -1; }
.plate-segments { display: flex; gap: 2px; height: 12px; }
.plate-seg { flex: 0 1 0; min-width: 2px; background: var(--series-context); }
.plate-seg.is-hollow { background: none; border: 1.5px solid var(--series-context); }
:is(.plate-seg, .plate-square).is-part { background: var(--part-2); border: 0; }
:is(.plate-seg, .plate-square).is-part.is-p1 { background: var(--part-1); }
:is(.plate-seg, .plate-square).is-part.is-p3 { background: none; border: 2px solid var(--part-2); }
.plate-chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* A receipt chip (the Explorer's and a pull figure's; a plate's own are text buttons, above). Open, it is heading ink and a 2px underline, never an orange slab (data-centers-24). */
.receipt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 4px 8px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.2;
  text-align: left;
  color: var(--atni-text-heading);
  background: var(--tag-bg);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.receipt.is-extra { display: none; }
.receipt-mark { flex: none; width: 8px; height: 8px; background: currentColor; }
.receipt.is-hollow .receipt-mark { background: none; border: 1.5px solid currentColor; }
.receipt[aria-expanded="true"] { color: var(--atni-text-heading); background: none; text-decoration: underline 2px var(--atni-text-heading); text-underline-offset: 0.3em; }
/* The card: B0's .plate-receipt, inside the window behind a 1px rule, one at a time, never open before the reader asks. Its source as a link, the publisher and
   dates, status and limit, the claim id in muted ink, and the way on to the full receipt. */
.plate-receipt { display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--rule); overflow-wrap: anywhere; } /* a filing's long field name must not widen the zone */
.plate-receipt:not([hidden]) { animation: plate-enter 180ms var(--ease); }
.plate-receipt-item { display: grid; gap: 2px; }
.plate-receipt-item.is-again { margin-top: -8px; } /* another claim from the document above: one line under it */
.plate-receipt .plate-source-title { font-family: var(--body); font-weight: 500; font-size: var(--t-small); line-height: 1.35; }
.plate-receipt .plate-source-title a { color: var(--atni-text-heading); }
.plate-receipt .caption { font-size: 0.875rem; }
.plate-receipt-status { display: flex; align-items: baseline; gap: 6px; }
.plate-receipt-id { color: var(--atni-text-muted); }
.plate-receipt[tabindex]:focus { outline: none; }
.plate-receipt[tabindex]:focus-visible { outline: 2px solid var(--atni-text-heading); outline-offset: 2px; }
.plate-sources { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.plate-sources:focus { outline: none; }
.plate-sources { overflow-wrap: anywhere; }
.plate-sources li { display: grid; gap: 4px; margin: 0; }
.plate-source-title { font-family: var(--display); font-weight: 500; font-size: var(--t-small); line-height: 1.3; }
.plate-sources .caption { font-size: 0.8125rem; }
.plate-quote { margin: 0; padding-left: 12px; font-size: 0.8125rem; line-height: 1.5; color: var(--atni-text-body); border-left: 1px solid var(--rule); }
.plate-source-line, .plate-sources-link, .plate-receipt-more { margin: 0; }
/* The Table (DIRECTION-R2 3.4): it spans the plot and the window, so it needs no inner scroll and no sticky head; a caption (the Reading's lead sentence), a
   3px orange rule on the selected row's first cell (never a row wash), and a row count. Past 25 rows it opens with 25 and a button appends the rest in place;
   without scripts and on paper every row shows. Each claim id links to its receipt with its status as a square and a word. */
.plate-view[data-view="table"] { gap: 8px; }
.plate-table caption { margin: 0 0 8px; font-family: var(--body); font-size: var(--t-small); line-height: 1.4; text-align: left; color: var(--atni-text-body); }
table.plate-table :is(th, td) { padding: 6px 8px; font-size: 0.8125rem; }
.plate-table td:last-child { text-align: left; }
.plate-table tbody tr:hover > * { outline: 0; }
.plate-table tbody tr.is-on > :first-child { box-shadow: inset 3px 0 0 var(--energy-mark); }
@media screen { .plate-table tr.is-more { display: none; } }
.plate-table tr[tabindex]:focus-visible > :first-child { outline: 2px solid var(--atni-text-heading); outline-offset: -2px; }
.claim-ref { white-space: nowrap; }
.plate-table .claim-ref { white-space: normal; }
.plate-table .claim-ref > a { white-space: nowrap; }
.claim-ref .st { margin-right: 4px; }
.plate-count { display: inline; margin: 0 16px 0 0; font-size: 0.875rem; }
.plate-also { margin: 12px 0 0; padding: 0; list-style: none; }
.plate-also li { margin: 0 0 4px; }
/* A claim reference in prose (scripts/pour_claim_refs.py): a page may hold over a hundred, so a 1px dotted underline in muted ink, the sentence's own ink, and no
   glyph. A plain click opens the one tip (cite.js) with its source, status, and limit; without scripts, or with a modifier, the link goes to the Sources page. */
a.cr, a.term { color: inherit; text-decoration: underline dotted 1px var(--atni-text-muted); text-underline-offset: 0.2em; }
a.cr:hover, a.term:hover { text-decoration-style: solid; text-decoration-color: var(--atni-text-heading); }
a.cr[aria-expanded="true"], a.term[aria-expanded="true"] { text-decoration: underline solid 2px var(--atni-text-heading); }
/* The tip: one popover on the window color, placed under its mark by cite.js (turned or held in at an edge). Focus moves into it; Escape, a click outside, or
   focus leaving closes it and gives focus back. */
#cr-tip { position: fixed; inset: auto; margin: 0; width: min(24rem, calc(100vw - 32px)); max-height: min(24rem, calc(100vh - 32px)); overflow-y: auto; padding: 14px 16px; font-size: 0.875rem; line-height: 1.45; color: var(--atni-text-body); background: var(--window); border: 0; box-shadow: var(--window-ring), 0 0 0 1px var(--window-edge); overscroll-behavior: contain; }
#cr-tip:popover-open { animation: plate-enter 180ms var(--ease); }
#cr-tip p { margin: 0 0 6px; max-width: none; }
#cr-tip .cr-tip-title { font-family: var(--body); font-weight: 500; font-size: var(--t-body); color: var(--atni-text-heading); }
#cr-tip .cr-tip-title a, #cr-tip a { color: var(--atni-text-heading); }
#cr-tip:focus-visible { outline: 2px solid var(--atni-text-heading); outline-offset: 2px; }
/* Focus in the kit: 2px heading ink, 2px off (DIRECTION-R2 2.2); orange is the reading's. */
.plate :focus-visible { outline: 2px solid var(--atni-text-heading); outline-offset: 2px; }
.plate .plate-plot:focus-visible { outline-offset: 4px; }
/* The Count view's key: what one square is, before any square (ai-35). */
.count-key { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 0.875rem; }
.count-key-square { flex: none; width: 10px; height: 10px; background: var(--series-context); }
/* Dialogs and drawers (DIRECTION-R2 3.12). Detail opens in flow beside what it describes; nothing that does not block the page covers what can take focus,
   and the prose tip is the one popover. A modal is a <dialog> opened with showModal() only: the meeting sheet at the right, Fine-tune at the left, full
   height on the window color, an h2, a visible Close in <form method="dialog">, Escape, a ground backdrop at 35 percent, and focus back to the opener. */
dialog.drawer { margin: 0; padding: 0; height: 100dvh; max-height: 100dvh; max-width: 100vw; color: var(--atni-text-body); background: var(--window); border: 0; box-shadow: var(--window-ring); overscroll-behavior: contain; }
dialog.drawer[open] { display: flex; flex-direction: column; }
dialog.drawer::backdrop { background: color-mix(in srgb, var(--atni-ground-base) 35%, transparent); overflow: hidden; overscroll-behavior: contain; }
dialog.drawer-right { inset: 0 0 0 auto; width: clamp(28rem, 40vw, 44rem); }
dialog.drawer-left { inset: 0 auto 0 0; width: clamp(28rem, 34vw, 40rem); }
.drawer-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 24px 16px; border-bottom: 1px solid var(--rule); }
.drawer-head h2 { margin: 0; }
.drawer-head form { margin: 0; }
.drawer-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 20px 24px; }
.drawer-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 24px; border-top: 1px solid var(--rule); }
dialog.drawer[open] { animation: plate-enter 180ms var(--ease); }
@media (max-width: 719px) { dialog.drawer-right, dialog.drawer-left { width: 100vw; } }
/* The page's questions (sheet.js): one form.asks, each question once with a checkbox, in sets that flow into columns; a set's Add and the agenda tick the
   same boxes. The meeting sheet lists the ticked ones by set in the right drawer, and on paper prints a clone of them alone. */
.asks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(26rem, 100%), 1fr)); gap: 24px 48px; margin: 0; }
.ask-set { min-width: 0; margin: 0; padding: 0; border: 0; }
.ask-set > legend { margin-bottom: 8px; padding: 0; font-family: var(--display); font-weight: 600; font-size: var(--t-lead); line-height: 1.25; color: var(--atni-text-heading); }
.ask-set ol { list-style: none; margin: 0; padding: 0; }
.ask-set li { margin: 0; border-top: 1px solid var(--rule); }
.ask-set label { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 10px; padding: 10px 0; cursor: pointer; }
.ask-set input { width: 1.125rem; height: 1.125rem; margin: 0.2rem 0 0; accent-color: var(--atni-text-heading); }
/* An agenda face of question sets, each by its first question and the set's own Add (Data Centers, and home's copy of it), in columns that fit the face. */
.ask-firsts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.ask-firsts li { display: grid; grid-template-rows: 1fr auto; gap: 8px; margin: 0; padding: 12px 0 14px; border-top: 1px solid var(--rule); }
.ask-firsts p { max-width: none; margin: 0; line-height: 1.4; }
.ask-firsts b { font-family: var(--display); font-weight: 600; color: var(--atni-text-heading); }
.ask-firsts .button { justify-self: start; min-height: 36px; padding-block: 4px; font-size: 0.875rem; }
.sheet .drawer-body h3 { margin: 20px 0 6px; font-size: var(--t-body); }
.sheet .drawer-body h3:first-child { margin-top: 0; }
.sheet .drawer-body ol { margin: 0; padding-left: 1.5rem; }
.sheet-status:empty { display: none; }
.sheet-status, .sheet-privacy { flex-basis: 100%; margin: 0; }
.sheet-print { display: none; }
@media print {
  html.is-print-sheet body > :not(.sheet-print) { display: none !important; }
  html.is-print-sheet .sheet-print { display: block; }
}
/* A main page's line to its Sources page, and the breadcrumb a Sources page opens with; the rest of the Sources pages' look is sources.css. */
.page-sources { margin: 8px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0 0 8px; padding: 0; list-style: none; font-family: var(--display); font-weight: 500; font-size: 0.875rem; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--atni-text-muted); }
.breadcrumb a { color: var(--atni-text-secondary); text-decoration-color: var(--control-edge); }
.breadcrumb a[aria-current] { color: var(--atni-text-heading); text-decoration: none; }
@media print {
  a.cr { text-decoration: none; }
  a.cr::after { content: " [" attr(data-claim) "]"; font-size: 0.75em; color: inherit; }
}

/* Ladder: rows whose mark sits on one shared ruler; a plate may hold two, each with its own axis and label. Grid lines, the shared band, and the
   needle lie under the rows, on the tracks' column. --l is the label column, --v the value column. A row is its own hit target. Marks and ranges are
   grey until selected. A range is a band at 40 percent, under 3:1 by design, because the row prints the same range in words beside it. */
.ladder-groups { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.ladder-group { flex: 1 1 0; display: flex; flex-direction: column; }
.ladder-group-label { margin: 0 0 8px; font-family: var(--display); font-weight: 500; font-size: 0.875rem; line-height: 1.3; color: var(--atni-text-secondary); }
.ladder { position: relative; flex: 1; display: flex; flex-direction: column; }
.ladder[data-form="square"] { padding-top: 24px; } /* room for the needle's label */
.ladder.has-ticks:has(.ladder-tick:not([hidden])) { padding-top: 28px; }
.ladder:is([data-form="square"], :not(.no-needle)).has-ticks:has(.ladder-tick:not([hidden])) { padding-top: 48px; } /* the needle's name on the top line, the tick's on the next */
.ladder-rows { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(var(--row-min), auto); row-gap: 0.5rem; margin: 0 0 24px; padding: 0; list-style: none; }
.ladder-row { display: grid; grid-template-columns: var(--l) minmax(0, 1fr) var(--v); column-gap: 12px; align-items: center; margin: 0; cursor: pointer; }
.ladder-label { font-family: var(--display); font-weight: 500; font-size: 1.1875rem; line-height: 1.2; color: var(--atni-text-heading); }
.ladder-tag { display: block; margin-top: 2px; font-family: var(--body); font-weight: 400; font-size: 0.875rem; color: var(--atni-text-secondary); }
.ladder-value { font-family: var(--display); font-weight: 600; font-size: 1.375rem; line-height: 1.1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--atni-text-heading); }
.ladder-value:has(> .ladder-num) { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.25em; }
.ladder-unit { font-family: var(--body); font-weight: 500; font-size: 1rem; letter-spacing: 0; }
.ladder-value > .ladder-tag { order: 1; flex-basis: 100%; margin-top: 2px; font-size: 1rem; line-height: 1.3; letter-spacing: 0; }
.plate .ladder-row:is(.is-gap, .is-ghost) .ladder-value { font-family: var(--body); font-weight: 400; font-size: 0.875rem; line-height: 1.3; letter-spacing: 0; color: var(--atni-text-secondary); }
.ladder-row.is-gap .ladder-label { color: var(--atni-text-muted); }
/* A row this boundary does not count stays on the plot with no mark, so a reader watches the boundary do the work. */
.ladder-row.is-ghost { cursor: default; }
.ladder-row.is-ghost .ladder-label { color: var(--atni-text-heading); opacity: 0.4; }
.ladder-track { position: relative; align-self: stretch; }
.ladder-mark {
  position: absolute;
  left: calc(var(--x) * 100%);
  top: 50%;
  box-sizing: border-box;
  width: var(--mark);
  height: var(--mark);
  background: var(--series-context);
  outline: 2px solid var(--plot-ground);
  transform: translate(-50%, -50%);
}
.ladder-mark.is-hollow { background: var(--plot-ground); border: 2.5px solid var(--series-context); }
.ladder-mark.is-b { left: calc(var(--x2) * 100%); background: var(--atni-text-heading); }
.ladder-range { position: absolute; left: calc(var(--lo) * 100%); width: calc((var(--hi) - var(--lo)) * 100%); top: calc(50% - 4px); height: 8px; background: var(--series-context); opacity: 0.4; }
.ladder-range.is-proj { top: calc(50% - 1px); height: 0; background: none; opacity: 1; border-top: 2px dashed var(--series-context); }
:is(.ladder-row, .instrument-row).is-on .ladder-range:not(.is-proj) { opacity: 1; background: var(--energy-mark); }
:is(.ladder-row, .instrument-row).is-on .ladder-range.is-proj { border-top-color: var(--energy-mark); }
.ladder-bar {
  position: absolute;
  left: calc(min(var(--x), var(--z, 0)) * 100%);
  width: calc((max(var(--x), var(--z, 0)) - min(var(--x), var(--z, 0))) * 100%);
  min-width: 1px;
  top: 50%;
  height: min(24px, 56%);
  background: var(--series-context);
  transform: translateY(-50%);
  transition: left 160ms ease-out, width 160ms ease-out;
}
.ladder-bar.is-hollow { background: color-mix(in srgb, var(--series-context) 18%, transparent); border: 1.5px solid var(--series-context); }
.ladder-bar.is-proj::after { content: ""; position: absolute; top: -1.5px; bottom: -1.5px; right: -2px; border-right: 2px dashed var(--atni-text-heading); }
.is-neg .ladder-bar.is-proj::after { right: auto; left: -2px; }
/* A sign reads from the side of zero and the printed + or -; two greys, since chromatic ink on a plate is the selection's alone. */
.is-pos :is(.ladder-bar, .ladder-mark):not(.is-hollow) { background: var(--series-context); }
.is-neg :is(.ladder-bar, .ladder-mark):not(.is-hollow) { background: var(--atni-text-secondary); }
:is(.ladder-row, .instrument-row).is-on .ladder-mark:not(.is-b, .is-hollow) { background: var(--energy-mark); }
:is(.ladder-row, .instrument-row).is-on .ladder-mark.is-hollow { border-color: var(--energy-mark); }
.ladder-row.is-on .ladder-bar:not(.is-hollow) { background: var(--energy-mark); }
.ladder-row.is-on .ladder-bar.is-hollow { background: color-mix(in srgb, var(--energy-mark) 18%, transparent); border-color: var(--energy-mark); }
/* A meter (DIRECTION-R2 3.7, item 4): rows of stacked parts on one fixed linear scale, 2px of ground between parts. Two inks and an outline, never chart hues on
   a needle plate: the first part --part-1, the second --part-2, a third a hollow 2px --part-2 outline. A part the stop does not count is a dashed ghost; the needle
   stands at the counted total. The spread is a thin line under the bar, keyed as a spread, not a confidence interval. A row past the scale is one hatched bar
   to the end with an arrow, its figure printed. */
.meter-parts { position: absolute; inset: 0; }
.meter-part { position: absolute; left: calc(var(--a) * 100%); width: max(2px, calc(var(--w) * 100% - 2px)); top: 50%; height: min(24px, 56%); box-sizing: border-box; background: var(--part-2); transform: translateY(-50%); transition: left 120ms var(--ease), width 120ms var(--ease); }
.meter-part.is-p1 { background: var(--part-1); }
.meter-part.is-p3 { background: var(--plot-ground); border: 2px solid var(--part-2); }
.meter-part.is-ghost { background: none; border: 1.5px dashed var(--part-2); }
.meter-part.is-off { width: 100%; background: repeating-linear-gradient(135deg, var(--part-2) 0 2px, transparent 2px 7px); border: 1px solid var(--part-2); }
.meter-arrow { position: absolute; top: 50%; right: -10px; width: 0; height: 0; border-block: 7px solid transparent; border-left: 9px solid var(--part-2); transform: translateY(-50%); }
.ladder[data-form="meter"] .ladder-range { top: calc(50% + min(12px, 28%) + 4px); height: 2px; opacity: 1; background: var(--atni-text-secondary); }
.plate-key.is-part { width: 14px; height: 10px; background: var(--part-2); }
.plate-key.is-part.is-p1 { background: var(--part-1); }
.plate-key.is-part.is-p3 { background: none; border: 2px solid var(--part-2); }
.plate-key.is-part.is-ghost { background: none; border: 1.5px dashed var(--part-2); }
.plate-key.is-part.is-off { background: repeating-linear-gradient(135deg, var(--part-2) 0 2px, transparent 2px 5px); }
.plate-key.is-spread { width: 14px; height: 2px; background: var(--atni-text-secondary); }
/* The comparison plate: a row named in plot.yard is a yardstick, half the height of a row the reader does. Rows share the plot's height 2 to 1. */
.has-yard .ladder-rows { display: flex; flex-direction: column; }
.has-yard .ladder-row { flex: 2 1 96px; }
.has-yard .ladder-row.is-yard { flex: 1 1 56px; }
.has-yard .ladder-row.is-yard .ladder-label { white-space: nowrap; }
.has-yard .ladder-row:not(.is-yard) .ladder-label { font-size: var(--t-lead); }
.has-yard .ladder-row.is-yard + .ladder-row.is-yard, .has-yard .ladder-row:not(.is-yard) + .ladder-row { border-top: 1px solid var(--grid); }
.ladder-grid, .ladder-axis { position: absolute; left: calc(var(--l) + 12px); right: calc(var(--v) + 12px); }
.ladder-grid { z-index: 1; top: 0; bottom: 24px; pointer-events: none; }
.ladder-grid i { position: absolute; top: 0; bottom: 0; left: calc(var(--x) * 100%); width: 1px; background: var(--grid); }
.ladder-grid i.is-zero { background: var(--baseline); }
/* The needle: one 2px line in the mark ink at the reader's setting or at today, the only orange line on a plate, with its name at its top. */
.needle { position: absolute; width: 2px; background: var(--energy-mark); }
.ladder-grid .ladder-needle { left: calc(var(--at) * 100%); width: 2px; margin-left: -1px; background: var(--energy-mark); }
.needle-label { position: absolute; top: 0; left: 8px; padding-inline: 4px; font-family: var(--display); font-weight: 500; font-style: normal; font-size: 0.875rem; line-height: 1.2; white-space: nowrap; color: var(--energy-text); background: var(--plot-ground); }
.is-flip > .needle-label { left: auto; right: 8px; }
.ladder-grid .ladder-tick { background: var(--series-context); }
.ladder-tick span { position: absolute; top: 0; left: 6px; padding-inline: 4px; font-style: normal; font-size: 0.875rem; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--atni-text-secondary); background: var(--plot-ground); }
.ladder:is([data-form="square"], :not(.no-needle)) .ladder-tick span { top: 24px; }
.ladder-tick.is-right span { left: auto; right: 6px; }
.ladder-axis { bottom: 0; height: 24px; }
.ladder-axis span { position: absolute; left: calc(var(--x) * 100%); top: 4px; font-size: 0.875rem; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--atni-text-secondary); transform: translateX(-50%); }
.ladder-mark, .ladder-range, .ladder-bar { z-index: 2; }
/* Shared ground: where the selected row's range overlaps the others', one band across those rows, so the eye reads overlap before order. */
.ladder-shared { position: absolute; left: calc(var(--lo) * 100%); width: calc((var(--hi) - var(--lo)) * 100%); background: var(--grid); }
.ladder-shared-label { position: absolute; top: 4px; left: 4px; font-size: 0.875rem; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--atni-text-secondary); }
.ladder-shared.is-flip > .ladder-shared-label { left: auto; right: 4px; }

/* The square unit, outside a Count view: the library field and the waffles. A field sets --unit-ink on a square for its area. */
.unit-field { display: flex; flex-wrap: wrap; gap: var(--unit-gap); margin: 0; padding: 0; list-style: none; }
.unit-field > * { flex: none; width: var(--unit); height: var(--unit); margin: 0; background: var(--unit-ink, var(--series-context)); }

/* A stacked bar on the stage ramp: segments in one row, 2px apart, each --w of the track. For a row of counts by stage. */
.stack-bar { display: flex; gap: 2px; height: min(24px, 80%); }
.stack-bar > i { flex: none; width: calc(var(--w) * 100%); background: var(--stage); }

/* Two plates side by side, half a window each: claim and plot in two zones, the detail panel under them. Every live plate has a row under its plot
   (.has-under, for Read as a table), whose placement spans the detail down the rows beside the plot; here it takes a row of its own under them. */
@media screen and (min-width: 1100px) {
  .plate-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
  .plate-pair > .plate { grid-template-columns: minmax(8rem, 24fr) minmax(0, 76fr); }
  .plate-pair > .plate > .plate-detail { grid-column: 1 / -1; grid-row: auto; }
}

/* The ATNI Climate voice, in the three places the direction names and nowhere else: never on a plate, a tab, or a button. The 2px rule is Red Element on the base ground only;
   Red Element is never text and never a ground. The lockup is one image per theme, 40px tall: at the direction's 28px the wordmark is about 6px and cannot be read. */
.climate-voice { padding-left: 16px; border-left: 2px solid var(--atni-color-program-red-element); }
.climate-voice a { color: var(--atni-color-core-red-on-dark); }
[data-theme="light"] .climate-voice a { color: var(--atni-color-core-red-alt); }
.climate-lockup { display: block; width: auto; height: 40px; margin-bottom: 8px; }
.climate-on-light { display: none; }
[data-theme="light"] .climate-on-dark { display: none; }
[data-theme="light"] .climate-on-light { display: block; }

/* The strip: dates on one track from a checked date, the needle at today, a row of words under each mark, joined by a stem. Without scripts, and
   in print or on a phone, it is the list of rows. A deadline inside 14 days fills with heading ink, meaning soon; orange on the strip is today's alone. */
.strip { --sq: 24px; --rh: 80px; display: grid; gap: 12px; min-width: 0; }
@media (min-height: 1000px) { .strip { --rh: 112px; } }
.strip-area { position: relative; }
.strip-rows { list-style: none; margin: 0; padding: 0; }
.strip-row { margin: 0 0 12px; }
.strip-row > * { display: block; }
.strip-track, .strip-months, .strip .needle { display: none; }
.strip-n { font-family: var(--display); font-weight: 600; font-size: 2rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--atni-text-heading); }
.strip-unit { font-size: 1rem; color: var(--atni-text-secondary); }
.strip a { color: var(--atni-text-heading); text-decoration-color: var(--control); } /* orange on the strip means soon */
.strip-name { font-family: var(--display); font-weight: 500; font-size: var(--t-lead); line-height: 1.2; }
.strip-what { font-size: var(--t-small); line-height: 1.3; color: var(--atni-text-secondary); }
.strip-lane { padding-top: 12px; border-top: 1px solid var(--grid); }
.strip-lane-title, .strip-beyond-title { margin: 0 0 8px; font-family: var(--display); font-weight: 500; font-size: 0.875rem; color: var(--atni-text-secondary); }
.strip-undated { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 2px 20px; margin: 0; padding: 0; list-style: none; }
.strip-undated li { margin: 0; padding-left: 18px; position: relative; font-size: var(--t-small); line-height: 1.35; color: var(--atni-text-secondary); }
.strip-undated li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 10px; height: 10px; border: 2px solid var(--series-context); }
.strip-beyond { justify-self: end; text-align: right; }
.strip-beyond > * { display: block; }
.strip-foot { margin: 0; max-width: none; font-size: 0.875rem; }
@media screen and (min-width: 720px) {
  .strip.is-live .strip-area { margin-inline: 16px; padding-top: 24px; }
  .strip.is-live .needle { display: block; z-index: 3; top: 0; bottom: 0; left: calc(var(--t) * 100%); margin-left: -1px; }
  .strip.is-live .strip-track { display: block; position: relative; height: var(--sq); }
  .strip-track::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--baseline); }
  .strip-track i { position: absolute; top: 7px; left: calc(var(--t) * 100%); width: 1px; height: 10px; background: var(--grid); }
  .strip-mark { position: absolute; z-index: 2; top: 0; left: calc(var(--t) * 100%); width: var(--sq); height: var(--sq); margin-left: calc(var(--sq) / -2); background: var(--series-context); outline: 2px solid var(--plot-ground); }
  .strip-mark.is-soon { background: var(--atni-text-heading); } /* urgency is ink: orange is today's alone (CD 2) */
  .strip.is-live .strip-months { display: block; position: relative; height: 24px; }
  .strip-months span { position: absolute; top: 4px; left: calc(var(--t) * 100%); font-size: 0.875rem; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--atni-text-secondary); transform: translateX(-50%); }
  /* Furthest on top, so a stem never crosses a row's words. The list stays soonest first for a screen reader. */
  .strip.is-live .strip-rows { display: flex; flex-direction: column-reverse; margin-top: 6px; }
  .strip.is-live .strip-row { position: relative; height: var(--rh); margin: 0; }
  .strip.is-live .strip-row::before { content: ""; position: absolute; left: calc(var(--t) * 100%); bottom: calc(100% - 22px); height: calc(var(--i) * var(--rh) + 46px); width: 1px; background: var(--series-context); }
  .strip-row:has(a:focus-visible)::before, .strip-row:hover::before { background: var(--atni-text-heading); }
  .strip.is-live .strip-body { position: absolute; left: calc(var(--t) * 100%); top: 0; width: min(36rem, calc((1 - var(--t)) * 100%)); padding-left: 12px; }
  .strip.is-live .strip-row.is-flip .strip-body { left: auto; right: calc((1 - var(--t)) * 100%); width: min(36rem, calc(var(--t) * 80%)); padding: 0 12px 0 0; text-align: right; }
}
.strip-body > * { display: inline; }
.strip-body > .strip-what { display: block; margin-top: 2px; }

/* The countdown (DIRECTION-R2 3.7, item 5; scripts/plate_countdown.py): a 24-month ruler from the day the build counts from, then a row per dated deadline,
   soonest first: a gutter of its days (a fixed 7ch slot) over its date, its name, and its own track with its mark, so no stem crosses a row. Then the Passed
   and No date lanes, each counted in its gutter, their programs as names beside a hollow square. Orange is today's needle, one line down the scale and every
   track at --today (plate.js sets it), and the selected deadline's mark. A deadline passed since the build keeps its row, its mark hollow; one past the
   ruler's end is hatched at the end. Without scripts there is no needle, and the days count from the day the last line names. In a plot narrower than
   34rem the track drops under the name. */
.countdown { --cd-when: 7.5rem; --cd-name: clamp(9rem, 36%, 18rem); --cd-mark: 12px; container-type: inline-size; position: relative; flex: 1; }
.countdown-ruler, .countdown-row, .countdown-lane { display: grid; grid-template-columns: var(--cd-when) var(--cd-name) minmax(0, 1fr); column-gap: 16px; margin: 0; }
.countdown-ruler { height: 3rem; }
.countdown-scale, .countdown-track { position: relative; grid-column: 3; margin-inline: 8px; }
.countdown-scale { border-bottom: 1px solid var(--baseline); }
.countdown-scale > i { position: absolute; bottom: 0; left: calc(var(--t) * 100%); width: 1px; height: 6px; background: var(--grid); }
.countdown-month { position: absolute; bottom: 8px; left: calc(var(--t) * 100%); font-size: 0.875rem; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--atni-text-secondary); transform: translateX(-50%); }
.countdown-month.is-near { visibility: hidden; }
/* Within 32px of a ruler's end (plate.js near-start, near-end) the needle and its name stand where that end's label would, so the label gives way, on an
   instrument's per-row ends as on a ladder's axis (data-centers-09; data-centers critic 10). */
.plate-plot.near-start :is(.instrument-ends > :first-child, .ladder-axis > :first-child), .plate-plot.near-end :is(.instrument-ends > :last-child, .ladder-axis > :last-child) { visibility: hidden; }
.countdown-rows, .countdown-names { margin: 0; padding: 0; list-style: none; }
.countdown-row { align-items: center; min-height: 3.25rem; border-bottom: 1px solid var(--rule); cursor: pointer; }
.countdown-when { display: flex; flex-direction: column; justify-content: center; margin: 0; padding-block: 6px; }
.countdown-days { display: block; min-width: 7ch; font-size: 0.875rem; line-height: 1.2; color: var(--atni-text-secondary); }
.countdown-n { font-family: var(--display); font-weight: 600; font-size: var(--t-title); line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--atni-text-heading); }
.countdown-date { font-size: 0.875rem; line-height: 1.3; font-variant-numeric: tabular-nums; color: var(--atni-text-secondary); }
.countdown-name { font-family: var(--display); font-weight: 500; font-size: var(--t-body); line-height: 1.25; color: var(--atni-text-heading); }
.countdown-track { align-self: stretch; }
.countdown-track::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: var(--grid); }
.countdown-mark { position: absolute; z-index: 2; top: 50%; left: calc(var(--t) * 100%); box-sizing: border-box; width: var(--cd-mark); height: var(--cd-mark); background: var(--series-context); outline: 2px solid var(--plot-ground); transform: translate(-50%, -50%); }
.countdown-row.is-passed .countdown-mark { background: var(--plot-ground); border: 2px solid var(--series-context); }
.countdown-row.is-passed :is(.countdown-n, .countdown-name) { color: var(--atni-text-secondary); }
.countdown-row.is-passed .countdown-days .countdown-n { font-family: var(--body); font-weight: 500; font-size: .875rem; line-height: 1.3; color: var(--atni-text-secondary); } /* "date passed" is words, not a figure (R3 8) */
.countdown-row.is-beyond .countdown-mark { background: repeating-linear-gradient(135deg, var(--series-context) 0 2px, var(--plot-ground) 2px 4px); border: 1px solid var(--series-context); }
.countdown-row.is-on .countdown-mark { background: var(--energy-mark); border-color: var(--energy-mark); }
.countdown-row.is-on.is-passed .countdown-mark { background: var(--plot-ground); }
.countdown-lane { align-items: start; padding-block: 8px; border-bottom: 1px solid var(--rule); }
.countdown-names { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 0 24px; align-self: center; }
.countdown-names > li { position: relative; margin: 0; padding: 6px 4px 6px 20px; cursor: pointer; }
.countdown-names > li::before { content: ""; position: absolute; left: 2px; top: calc(6px + 0.4em); box-sizing: border-box; width: 10px; height: 10px; border: 2px solid var(--series-context); }
.countdown-names > li.is-on::before { background: var(--energy-mark); border-color: var(--energy-mark); }
.countdown-names .countdown-name { font-size: var(--t-body); }
.countdown-note { margin: 8px 0 0; max-width: none; font-size: 0.875rem; color: var(--atni-text-secondary); }
.countdown-today { display: none; }
.countdown.has-today :is(.countdown-scale, .countdown-track)::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: -1px; left: calc(var(--today) * 100%); width: 2px; margin-left: -1px; background: var(--energy-mark); }
.countdown.has-today .countdown-today { display: block; position: absolute; top: 0; bottom: 0; left: calc(var(--today) * 100%); }
.countdown.is-flip .countdown-today .needle-label { left: auto; right: 8px; }
@container (max-width: 34rem) {
  .countdown-ruler, .countdown-row, .countdown-lane { grid-template-columns: var(--cd-when) minmax(0, 1fr); }
  .countdown-scale { grid-column: 2; }
  .countdown-row { grid-template-rows: auto 1.5rem; }
  .countdown-row > .countdown-when { grid-row: 1 / span 2; }
  .countdown-row > .countdown-name { grid-column: 2; padding-top: 6px; }
  .countdown-row > .countdown-track { grid-column: 2; grid-row: 2; }
}
@media (forced-colors: active) { .countdown-mark, :is(.countdown-scale, .countdown-track)::before { forced-color-adjust: none; } }
@media print { .countdown { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* Count: the second view of a ladder, one square per unit. */
.count-rows { flex: 1; display: grid; grid-auto-rows: auto; align-content: start; gap: 2px; margin: 0; padding: 0; list-style: none; }
.count-over { font-size: 0.875rem; line-height: 1.35; color: var(--atni-text-secondary); }
.count-row.is-ghost { cursor: default; }
.count-row.is-ghost .ladder-label { opacity: 0.4; }
.count-row { display: grid; grid-template-columns: clamp(10rem, 31%, 16rem) minmax(0, 1fr); grid-template-areas: "label cell" "value cell"; grid-template-rows: auto 1fr; column-gap: 12px; align-items: start; margin: 0; padding-block: 4px; border-bottom: 1px solid var(--rule); cursor: pointer; }
.count-row .ladder-label { grid-area: label; }
.count-row .ladder-value { grid-area: value; }
.count-row .ladder-num { font-family: var(--display); font-weight: 600; font-size: var(--t-title); line-height: 1.1; letter-spacing: -0.015em; }
.count-row:has(.ladder-tag) .ladder-num { font-size: var(--t-title); }
.count-row .ladder-unit { font-size: 0.875rem; font-family: var(--body); font-weight: 400; color: var(--atni-text-secondary); }
.plate .count-row .ladder-value:not(:has(> .ladder-num)) { font-family: var(--body); font-weight: 400; font-size: 0.875rem; line-height: 1.3; color: var(--atni-text-secondary); }
.count-row.is-on .ladder-label { color: var(--atni-text-heading); }
.count-cell { grid-area: cell; min-width: 0; }
.count-marks { display: block; overflow: visible; }
.m-count { fill: var(--series-context); }
.m-count.is-hollow { fill: none; stroke: var(--series-context); stroke-width: 1.5; }
.is-on .m-count { fill: var(--energy-mark); }
.is-on .m-count.is-hollow { fill: none; stroke: var(--energy-mark); }

/* Instrument: the reader sets a project; each output is a ruled row, a large figure on its own ruler, with the ladder's marks and bands. plot.needle
   names a row whose place stands across them all as the needle, at the reader's own setting. */
.instrument { --l: clamp(8rem, 18%, 14rem); --v: clamp(9rem, 20%, 16rem); position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(var(--row-min), 1fr); margin: 0; padding: 0; list-style: none; }
.instrument > .needle { z-index: 1; top: 0; bottom: 0; left: calc(var(--l) + 16px + (100% - var(--l) - var(--v) - 32px) * var(--at)); margin: 0 0 0 -1px; list-style: none; pointer-events: none; }
.no-needle > .instrument > .needle { display: none; }
.instrument-row { display: grid; grid-template-columns: var(--l) minmax(0, 1fr) var(--v); column-gap: 16px; align-items: center; margin: 0; border-bottom: 1px solid var(--rule); cursor: pointer; }
.instrument-row.is-fixed .ladder-value { font-family: var(--body); font-weight: 500; font-size: 0.875rem; line-height: 1.35; letter-spacing: 0; }
.instrument-line { display: block; }
.instrument-ruler::before { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: var(--grid); }
.instrument-ends { position: absolute; left: 0; right: 0; top: calc(50% + 12px); display: flex; justify-content: space-between; font-size: 0.875rem; font-variant-numeric: tabular-nums; color: var(--atni-text-secondary); }
.instrument-fixed { display: block; }
.instrument-spark { display: block; align-self: center; }
.instrument-group { align-self: end; margin: 0; padding: 12px 0 4px; font-family: var(--display); font-weight: 500; font-size: 0.875rem; color: var(--atni-text-secondary); border-bottom: 1px solid var(--control); }
.spark { display: block; width: 100%; height: 32px; overflow: visible; }
.spark .m-line { vector-effect: non-scaling-stroke; }

/* Matrix: rows by columns, a figure and its evidence square in each cell, one cell selected. */
.matrix { width: 100%; height: 100%; border-collapse: collapse; table-layout: fixed; }
.matrix thead :is(th, td) { padding: 0 12px 8px; font-family: var(--display); font-weight: 500; font-size: 0.875rem; text-align: left; color: var(--atni-text-secondary); border-bottom: 1px solid var(--control); }
.matrix thead :is(th, td):first-child { width: clamp(5rem, 12%, 8rem); padding-left: 0; }
.matrix tbody th { padding: 12px 12px 12px 0; font-family: var(--display); font-weight: 600; font-size: clamp(0.9375rem, 0.85rem + 0.25vw, 1.125rem); text-align: left; vertical-align: top; color: var(--atni-text-heading); border-bottom: 1px solid var(--rule); }
.matrix tbody td { padding: 12px; vertical-align: top; border-bottom: 1px solid var(--rule); cursor: pointer; }
.matrix tbody td.is-on { outline: 2px solid var(--energy-mark); outline-offset: -2px; }
.matrix-figures { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.matrix-figure { display: grid; grid-template-columns: 6px minmax(0, 1fr); column-gap: 8px; margin: 0; font-size: 0.875rem; line-height: 1.35; color: var(--atni-text-body); }
.matrix-figure .plate-square { width: 6px; height: 6px; margin-top: 0.45em; }
.matrix-figure.is-hollow .plate-square { background: none; border: 1px solid var(--series-context); }
.matrix-figure strong { font-weight: 600; font-size: clamp(0.9375rem, 0.85rem + 0.25vw, 1.125rem); font-variant-numeric: tabular-nums; color: var(--atni-text-heading); }
.matrix-words { margin: 0; font-size: 0.875rem; line-height: 1.35; color: var(--atni-text-secondary); }
.matrix-bar { display: block; width: calc(var(--x) * 100%); min-width: 2px; height: 6px; margin-top: 4px; background: var(--series-context); }
.matrix-figure.is-hollow .matrix-bar { background: none; border: 1.5px solid var(--series-context); }
td.is-on .matrix-bar { background: var(--energy-mark); }
td.is-on .matrix-figure.is-hollow .matrix-bar { background: none; border-color: var(--energy-mark); }

@media (max-width: 599px) { .site-nav ul { gap: 0 14px; } }
@media screen and (max-width: 719px) { /* screen: a Letter sheet with wide margins is narrower than this, and a plate's rows should still read across it */
  .ladder-row, .count-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label value" "track track"; grid-template-rows: auto auto; }
  :not(.instrument-row) > .ladder-label { grid-area: label; }
  :not(.instrument-row) > .ladder-value { grid-area: value; }
  :not(.instrument-row) > .ladder-track, .count-cell { grid-area: track; min-height: 24px; }
  .ladder-grid, .ladder-axis { left: 0; right: 0; }
  .ladder-axis span:last-child { transform: translateX(-100%); }
  :is(.ladder-tick span, .needle-label, .ladder-shared-label) { max-width: 40vw; white-space: normal; }
  .instrument-row { grid-template-columns: minmax(0, 1fr); row-gap: 4px; padding-block: 8px; }
  .instrument-row .ladder-track { min-height: 32px; }
}

/* SVG marks. Text wears text tokens; hollow means modeled or estimated, dashed means projected and nothing else. */
.m-grid { stroke: var(--grid); stroke-width: 1; }
.m-base { stroke: var(--baseline); stroke-width: 1; }
.plate-svg .m-tick { font-variant-numeric: tabular-nums; }
.plate-svg .m-title { font-family: var(--display); font-weight: 500; fill: var(--atni-text-heading); }
.plate-svg .m-label { font-family: var(--display); font-weight: 500; }
.plate-svg .m-label.is-lead { fill: var(--atni-text-heading); paint-order: stroke; stroke: var(--plot-ground); stroke-width: 4px; stroke-linejoin: round; }
.plate-svg .m-end { font-size: 0.875rem; fill: var(--series-context); }
.plate-svg .is-on > .m-label { fill: var(--atni-text-heading); }
.m-line { fill: none; stroke: var(--series-context); stroke-width: 2; stroke-linejoin: miter; stroke-linecap: butt; }
.m-line.is-on { stroke: var(--energy-mark); }
.m-line.is-one { stroke: var(--atni-text-secondary); } /* a lone series, nothing selected: grey, a step brighter than context */
.m-line.is-proj { stroke-dasharray: 6 4; }
.m-band { fill: var(--series-context); fill-opacity: 0.1; stroke: none; }
.m-band-edge { fill: none; stroke: var(--series-context); stroke-width: 1; stroke-opacity: 0.6; }
.m-band-edge.is-proj { stroke-dasharray: 2 4; }
.m-range { stroke: var(--series-context); stroke-width: 1.5; }
.m-needle, .plate-svg .m-needle-label { pointer-events: none; transform: translateX(var(--at)); transition: transform 160ms ease-out; }
.m-needle { stroke: var(--energy-mark); stroke-width: 2; }
.plate-svg .m-needle-label { font-family: var(--display); font-weight: 500; font-size: 0.875rem; fill: var(--energy-text); paint-order: stroke; stroke: var(--plot-ground); stroke-width: 4px; stroke-linejoin: round; }
.m-hit { fill: transparent; pointer-events: all; cursor: pointer; }
.m-dot { display: none; fill: var(--series-context); stroke: var(--plot-ground); stroke-width: 4; paint-order: stroke; }
.m-dot.is-solo { display: block; }
.m-dot.is-lead { fill: var(--energy-mark); }
.m-dot.is-hollow { fill: var(--plot-ground); stroke: var(--series-context); stroke-width: 2.5; paint-order: normal; }
.m-dot.is-hollow.is-lead { stroke: var(--energy-mark); }
.is-on > .m-dot { display: block; }
.is-on > .m-dot.is-solo { stroke: var(--energy-mark); }

/* Pull figure and bench row: a claim's figure in a page's own text, and a plate's default Reading on another page. */
.pull { display: grid; gap: 4px; margin: 0 0 16px; }
.pull-value { font-family: var(--display); font-weight: 600; font-size: 2.25rem; line-height: 1; color: var(--atni-text-heading); }
.pull-unit { font-weight: 500; font-size: 0.875rem; color: var(--atni-text-body); }
.pull-label { font-family: var(--display); font-weight: 500; font-size: 0.875rem; line-height: 1.3; color: var(--atni-text-secondary); }
.pull .receipt { justify-self: start; }
.bench-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 24px; padding-block: 16px; border-bottom: 1px solid var(--rule); }
@media (min-width: 720px) { .bench-row { grid-template-columns: 12rem minmax(0, 1fr); } }
.bench-figure { position: relative; padding-bottom: 12px; }
.bench-value { font-family: var(--display); font-weight: 600; font-size: var(--t-title); line-height: 1; color: var(--atni-text-heading); }
.bench-unit { font-weight: 500; font-size: 0.875rem; color: var(--atni-text-body); }
.bench-ruler { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; border-bottom: 1px solid var(--baseline); }
.bench-ruler::after { content: ""; position: absolute; left: calc(var(--x) * 100%); bottom: -1px; width: 2px; height: 8px; margin-left: -1px; background: var(--energy-mark); }
.bench-body { min-width: 0; }
.bench-reading { max-width: var(--measure-wide); margin: 0 0 4px; }
.bench-link { margin: 0; font-family: var(--display); font-weight: 500; font-size: 0.875rem; }
.bench-claims { position: relative; z-index: 1; margin: 0 0 4px; font-size: 0.875rem; color: var(--atni-text-secondary); } /* above a row-wide link, so each claim opens its record */

/* The starting point: where a moved figure stood at the defaults, a hollow 1px mark in context ink, never orange, behind the figure's own mark. Its name stands
   at its end on the selected row only, and the Reading gives its figure. A ruler of squares gets a square, a bar ruler and the Explorer's Wall the bar's outline,
   whose end tick shows past a bar that has grown over it. The Wall's geometry follows its bar (--bar, in explorer.css). */
.start-mark { display: none; position: absolute; z-index: 1; box-sizing: border-box; border: 1px solid var(--series-context); pointer-events: none; }
.has-start .start-mark { display: block; }
.ladder-track > .start-mark { left: calc(var(--s) * 100%); top: 50%; width: var(--mark); height: var(--mark); transform: translate(-50%, -50%); }
:is([data-form="bar"] .ladder-track, .wall-track) > .start-mark::after { content: ""; position: absolute; top: -5px; bottom: -5px; right: -1px; width: 2px; background: var(--series-context); }
[data-form="bar"] .ladder-track > .start-mark { left: calc(min(var(--s), var(--z, 0)) * 100%); width: calc((max(var(--s), var(--z, 0)) - min(var(--s), var(--z, 0))) * 100%); height: min(24px, 56%); transform: translateY(-50%); }
.wall-track > .start-mark { z-index: 4; top: calc(50% - (var(--bar) + 10px) / 2); height: var(--bar); }
.wall-track > .start-mark.is-left::after { right: auto; left: -1px; }
.wall-track > .start-mark.is-off { border-right-width: 0; }
.wall-track > .start-mark.is-left.is-off { border-right-width: 1px; border-left-width: 0; }
.wall-track > .start-mark.is-off::after { display: none; } /* an end past the ruler has no place on it */
.start-mark > span { display: none; position: absolute; bottom: calc(100% + 4px); left: 0; padding-inline: 4px; font-family: var(--body); font-style: normal; font-weight: 400; font-size: 0.875rem; line-height: 1.2; white-space: nowrap; color: var(--atni-text-secondary); background: var(--plot-ground); } /* roman, though the mark is an <i> */
.is-on > * > .start-mark > span { display: block; }
.start-mark.is-flip > span { left: auto; right: 0; }
/* A bar's or the Wall's name starts at the end tick and reads outward, over the gap above the bar, on the row it names; only a long mark turns it back inside. */
:is([data-form="bar"] .ladder-track, .wall-track) > .start-mark > span { bottom: calc(100% + 1px); left: calc(100% + 4px); right: auto; }
:is([data-form="bar"] .ladder-track, .wall-track) > .start-mark.is-flip > span { left: auto; right: 4px; }
.wall-track > .start-mark.is-left > span { right: calc(100% + 4px); left: auto; }
.wall-track > .start-mark.is-left.is-flip > span { right: auto; left: 4px; }
.wall-track > .start-mark.is-below > span { bottom: auto; top: calc(100% + 12px); } /* the first row's: under its spread, where the plot's top would cut it */

/* The Table view as a chart: a thin bar under each figure on the plate's ruler, from its zero, or a square on a log ruler; under 3:1 on purpose, as the range
   band is, because the cell prints the figure. plate.js sets --b0 and --bw. */
.plate-table td.has-bar { position: relative; min-width: 6rem; padding-bottom: 10px; } /* a track wide enough to read rank and size; the table scrolls in its own region (section C) */
.plate-table .has-bar::after { content: ""; position: absolute; left: calc(8px + var(--b0) * (100% - 16px)); bottom: 3px; width: calc(var(--bw) * (100% - 16px)); min-width: 2px; height: 4px; background: var(--series-context); opacity: 0.4; }
.plate-table .has-bar.is-dot::after { bottom: 2px; width: 6px; height: 6px; margin-left: -3px; }
.plate-table .has-bar.is-on::after { background: var(--energy-mark); opacity: 1; }

/* What moves it most: one input a row, the figure at the input's low end to its high end, its claims in a column of their own. The figure's own place is a 1px neutral zero;
   the part of the swing under it takes one grey and the part over it the other, as the kit reads a sign. The words carry every figure. */
.plate-drivers { margin-top: 8px; }
.plate-drivers th[scope="row"] { width: 45%; }
.plate-drivers td { text-align: left; }
.plate-drivers .caption { display: block; font-size: 0.875rem; }
.plate-driver-bar { position: relative; display: block; height: 8px; margin: 6px 0; }
.plate-driver-bar::before, .plate-driver-bar::after { content: ""; position: absolute; top: 0; bottom: 0; }
.plate-driver-bar::before { left: calc(var(--l) * 100%); width: calc((var(--c) - var(--l)) * 100%); background: var(--atni-text-secondary); }
.plate-driver-bar::after { left: calc(var(--c) * 100%); width: calc((var(--h) - var(--c)) * 100%); background: var(--series-context); }
.plate-driver-bar > i { position: absolute; top: -4px; bottom: -4px; left: calc(var(--z) * 100%); width: 1px; background: var(--baseline); }

/* Print (DIRECTION-R2 3.7, item 10): Ctrl+P prints the open tab panel, and each plate on it as its plot, its Reading, its Table (every row, each claim id with
   its status) and its collar, which writes out the Sources page's address. What only a script runs stays off the paper. */
@media print {
  .plate-controls, .plate-switch, .plate-bar, .plate-actions, .plate-evidence, .plate-receipt, .plate-take, .plate-out, .count-rows, .count-key, .plate-more-rows { display: none !important; }
  .plate > :is(.plate-plot, .plate-detail, .plate-under, .plate-view)[hidden] { display: block !important; }
  .plate > .plate-detail[hidden] { display: flex !important; }
  :not([role="tabpanel"])[hidden="until-found"] { content-visibility: visible; } /* the browser's own rule skips what a findable view holds; paper shows it, and a closed tab stays closed */
  .ladder-groups[hidden] { display: flex !important; }
  .plate-table tr.is-more { display: table-row; }
  .plate.is-live > .plate-view[data-view="table"] > .label { position: static; width: auto; height: auto; margin: 0 0 4pt; overflow: visible; clip: auto; white-space: normal; }
  .plate { --readout: 2.25rem; display: block; margin: 0 0 16pt; padding: 0; } /* the print readout: a plate's own --readout outranks the print variables' */
  .plate > * + * { margin-top: 8pt; }
  .plate-detail { padding: 0; background: none; box-shadow: none; border: 0; }
  .plate-detail .reading { min-height: 0; }
  .plate, .tier-grid, .evidence-key, .tier-stair, .strip { -webkit-print-color-adjust: exact; print-color-adjust: exact; } /* marks are backgrounds */
  .plate-plot, .plate-under, .plate-detail > :is(.readout, .reading) { break-inside: avoid; }
  .plate-claim, .plate-plot, .plate-under, .plate-detail > .readout { break-after: avoid; } /* the title, the plot, its key, and the readout with its Reading stay together */
  .plate-plot { overflow: clip; } /* a needle or a grid line never crosses onto the next sheet */
  .plate-collar { break-before: avoid; }
  .plate-facts .is-also { display: none; } /* they print once, with their claims, under the Table */
  .plate-plot { min-height: 16rem; }
  /* A drawing keeps its own proportions at the sheet's full width, so no letterbox opens above it. */
  .plate-svg { position: static; width: 100%; height: auto; }
  .plate-plot:has(.plate-svg) { min-height: 0 !important; }
  .plate-link-note { display: none; }
  .plate-collar { margin-top: 8pt; }
  .plate-sources-link a::after { content: " " attr(data-url); font-size: 0.85em; overflow-wrap: anywhere; } /* the Sources page's address, on paper */
  :focus-visible { outline: none; } /* a deep link leaves focus on its panel, whose ring would frame every sheet */
  /* Print this plate: everything but that plate leaves the paper. As a table its head and foot lines repeat on every sheet a long Table runs to; up to 25
     rows it fits one sheet with its title, plot, and Reading. */
  html[data-print-one] main *:not(:has(.is-print-one), .is-print-one, .is-print-one *), html[data-print-one] :is(.site-footer, .site-nav) { display: none !important; }
  html[data-print-one] main { padding: 0; }
  html[data-print-one] .is-print-one { display: table; width: 100%; table-layout: fixed; margin: 0; padding: 0; border: 0; break-inside: auto; }
  .is-print-one > .plate-print-head { display: table-header-group; font-size: 0.875rem; color: var(--atni-text-secondary); }
  .is-print-one > .plate-print-foot { display: table-footer-group; font-size: 0.875rem; color: var(--atni-text-secondary); }
  .is-print-one > .plate-print-head p { margin: 0 0 2pt; max-width: none; }
  .is-print-one > :is(.plate-claim, .plate-plot, .plate-under, .plate-detail) { margin-bottom: 8pt; }
  .is-print-one:not(.is-long) { break-inside: avoid; }
  .is-print-one .plate-plot { min-height: 12rem; }
  .is-print-one > .plate-claim > :is(.eyebrow, p:not(.plate-foot, [class*="legend"])), .is-print-one .plate-facts .plate-more { display: none; }
  .is-print-one .plate-view > .label, .is-print-one .plate-table caption { break-after: avoid; }
}
/* ========== End of the plate kit. ========== */

/* Section navigation for a task force with subpages (energy) */
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 16px; }
.subnav li { margin: 0; }
.subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--atni-text-secondary);
  text-decoration: none;
}
.subnav a:hover { color: var(--atni-text-heading); text-decoration: underline; text-underline-offset: 0.2em; }
.subnav a[aria-current="page"] { font-weight: 600; color: var(--atni-text-heading); }
@media (pointer: coarse) { .subnav a { min-height: 44px; } }

/* Quotations from resolutions */
.quote { margin: 24px 0; }
.quote blockquote { margin: 0; font-style: italic; font-weight: 400; font-size: var(--atni-type-quote-size); line-height: var(--atni-type-quote-line-height); color: var(--atni-text-heading); }
.quote blockquote p { margin: 0; }
.quote figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--atni-text-muted); }

/* Quoted source text */
.citation { margin: 12px 0 24px; }
.citation blockquote { margin: 0; padding: 0 0 0 16px; border-left: 1px solid var(--rule); font-size: 0.875rem; color: var(--atni-text-body); }
.citation blockquote p { margin: 0; }
.citation figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--atni-text-muted); }

/* Library page and filter forms */
.filters {
  display: grid;
  gap: 16px;
  margin: 0;
}
.field label { display: block; margin-bottom: 4px; font-family: var(--display); font-weight: 500; font-size: 0.875rem; color: var(--atni-text-secondary); }
.field input, .field select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  font-family: var(--body);
  font-weight: var(--atni-type-body-weight);
  font-size: 1rem;
  color: var(--atni-text-heading);
  background: var(--tag-bg);
  border: 1px solid var(--control);
  border-radius: 0;
}
.filters .button { width: 100%; }
.library-status, .data-status { margin: 24px 0 12px; font-weight: 700; color: var(--atni-text-heading); }
.library-notes { margin-top: 32px; }
.library-page { padding-block: 24px 48px; }
.start-here { margin-bottom: 48px; }
@media (min-width: 720px) {
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-search { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .filters { grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)) auto; align-items: end; }
  .field-search { grid-column: auto; }
  .filters .button { width: auto; }
}
/* Filters that lay themselves out by the number of fields */
.filters.filters-auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); align-items: end; }
.filters.filters-auto .field-search { grid-column: 1 / -1; }
.filters.filters-auto .button { width: 100%; }
@media (min-width: 1100px) { .filters.filters-auto .field-search { grid-column: span 2; } }
.section-note { max-width: var(--measure-wide); color: var(--atni-text-secondary); }

.lead-ins { padding-left: 1.25rem; }
.lead-ins li { margin-bottom: 12px; }

/* Disclosure blocks */
.disclosure { margin: 12px 0; }
.disclosure > summary {
  display: list-item;
  width: fit-content;
  min-height: 24px;
  padding: 8px 0;
  font-family: var(--display);
  font-weight: 500;
  color: var(--atni-text-link);
  cursor: pointer;
}
.disclosure > summary:hover { color: var(--atni-text-link-hover); }
.disclosure[open] > summary { margin-bottom: 8px; }
.disclosure > :not(summary, .records, .table-scroll) { max-width: var(--measure); }

/* Definition lists of facts */
.facts { display: grid; gap: 4px 24px; margin: 12px 0 16px; font-size: 0.875rem; }
.facts dt { font-family: var(--display); font-weight: 500; color: var(--atni-text-secondary); }
.facts dd { margin: 0 0 8px; }
@media (min-width: 720px) {
  .facts { grid-template-columns: 10rem minmax(0, 1fr); }
  .facts dd { margin: 0; }
}

/* Chart: Tribes by energy type and stage (horizontal stacked bars) */
.chart { margin: 24px 0; }
.chart h3 { margin: 0 0 4px; }
.chart-sub { margin: 0 0 16px; font-size: 0.875rem; color: var(--atni-text-secondary); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 12px; padding: 0; font-size: 0.875rem; color: var(--atni-text-secondary); }
.legend li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.swatch { flex: none; width: 12px; height: 12px; background: var(--stage); }
.bars { list-style: none; margin: 0; padding: 0; }
.bars li { margin: 0; }
.bar {
  position: relative;
  display: grid;
  gap: 4px 16px;
  width: 100%;
  margin: 0;
  padding: 8px;
  font: inherit;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.bar:hover, .bar:focus-visible { background: var(--tag-bg); }
.bar:focus-visible { outline-offset: 0; }
.bar-label { font-family: var(--display); font-weight: 500; font-size: 0.875rem; line-height: 1.3; color: var(--atni-text-heading); }
.bar-track { display: flex; align-items: center; gap: 2px; min-height: 20px; }
.bar-seg { flex: none; width: calc((100% - 3.5rem) * var(--w)); min-width: 3px; height: 20px; background: var(--stage); }
.bar-total { margin-left: 8px; font-size: 0.875rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--atni-text-heading); }
.bar-tip {
  position: absolute;
  z-index: 3;
  top: calc(100% - 2px);
  left: 8px;
  display: none;
  min-width: 15rem;
  padding: 8px 12px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--atni-text-body);
  background: var(--atni-ground-overlay);
  border: 1px solid var(--control);
}
.bar:hover .bar-tip, .bar:focus-visible .bar-tip { display: block; }
.bar.tip-off .bar-tip { display: none; }
.tip-title { display: block; margin-bottom: 4px; font-weight: 700; color: var(--atni-text-heading); }
.tip-row { display: flex; align-items: center; gap: 8px; }
.tip-row strong { min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; color: var(--atni-text-heading); }
.tip-key { flex: none; width: 14px; height: 3px; background: var(--stage); }
.chart-note { margin: 16px 0 0; font-size: 0.875rem; color: var(--atni-text-secondary); }
@media (min-width: 720px) {
  .bar { grid-template-columns: 15rem minmax(0, 1fr); align-items: center; }
  .bar-tip { left: calc(15rem + 24px); }
}

/* Tables: .data-table holds figures; .table-wrap holds the plain text tables of a reference page. */
.table-scroll, .table-wrap { max-width: 100%; overflow-x: auto; }
.table-wrap { margin-block: 16px; }
.data-table, .table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table caption { margin-bottom: 8px; text-align: left; font-size: 0.875rem; color: var(--atni-text-muted); }
.data-table th, .data-table td, .table-wrap th, .table-wrap td { padding: 8px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.data-table thead th, .table-wrap thead th { font-family: var(--display); font-weight: 500; color: var(--atni-text-secondary); background: var(--tag-bg); border-bottom-color: var(--control); }
.data-table tbody th { font-weight: 400; color: var(--atni-text-heading); }
.table-wrap tbody td:first-child { color: var(--atni-text-heading); }
.data-table td { text-align: right; font-size: 0.875rem; font-variant-numeric: tabular-nums; }

/* Per-Tribe program matches: one panel for each ranked energy type, in columns. */
#tribe-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); gap: 0 24px; align-items: start; }
#tribe-results > :not(.match) { grid-column: 1 / -1; }
.match { margin: 16px 0 0; padding: 16px; background: var(--atni-ground-raised); }
.match h4 { margin: 0 0 8px; }
.match-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.match-head { margin: 12px 0 4px; font-family: var(--display); font-weight: 500; font-size: 0.875rem; color: var(--atni-text-secondary); }
.match-list { margin: 0 0 8px; }
.match-list li { margin-bottom: 4px; }

/* Evidence strength labels (youth and education) */
.evidence { display: block; margin-top: 8px; font-size: 0.875rem; color: var(--atni-text-secondary); }
.evidence b { font-family: var(--display); font-weight: 500; color: var(--atni-text-heading); }

/* Footer (DIRECTION-R2 3.13): flat on the page ground behind a 1px rule (home-shell-14); every page once, each family's pages under it (home-shell-22);
   the newest What's New date, which scripts/add_page_meta.py writes (home-shell-23); and Top (home-shell-20). The same copy on every page. */
.site-footer { margin-top: auto; padding-block: 32px 40px; font-size: 0.875rem; color: var(--atni-text-secondary); border-top: 1px solid var(--rule); }
.footer-inner { display: grid; gap: 32px; }
.footer-title { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: var(--t-lead); color: var(--atni-text-heading); }
.footer-inner p { max-width: var(--measure); }
.footer-nav > ul { list-style: none; margin: 0; padding: 0; columns: 3 10rem; column-gap: 32px; }
.footer-nav li { margin: 0; break-inside: avoid; }
.footer-nav ul ul { list-style: none; margin: 0; padding: 0 0 0 16px; }
.footer-nav a { display: inline-block; padding: 4px 0; color: var(--atni-text-secondary); text-decoration: none; }
.footer-nav a:hover { color: var(--atni-text-heading); text-decoration: underline 1px; }
.footer-nav a[aria-current] { color: var(--atni-text-heading); }
.footer-top { font-family: var(--display); font-weight: 500; }
@media (min-width: 840px) { .footer-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; } }

/* Motion answers the reader, but for the needle's one stroke on home; reduced motion takes it all to zero. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; scroll-behavior: auto !important; }
}

/* High Contrast. A transparent border is forced to a visible ink, so every tab and every option looked selected; and a mark drawn as a background vanishes. */
@media (forced-colors: active) {
  .toc :is(a, [role="tab"]), .section-strip :is(a, [role="tab"])::after, .site-nav a { border-bottom-color: Canvas; }
  .toc a[aria-current], .section-strip :is(a[aria-current], [aria-selected="true"])::after, .site-nav a[aria-current] { border-bottom-color: Highlight; }
  .segmented input:checked + span, .sources-show input:checked + span, .plate-views button[aria-pressed="true"] { border: 2px solid Highlight; }
  .slider-presets button[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: -2px; } /* its fill and inset ring are dropped, and it has no border to thicken */
  .ladder-mark, .ladder-range, .ladder-bar, .ladder-shared, .ladder-needle, .needle, .plate-seg, .plate-square, .plate-key, .strip-mark, .start-mark, .plate-driver-bar, .slider input[type="range"], .lockup, .st { forced-color-adjust: none; }
  .lockup-on-dark { background: #010B13; } /* a logo drawn for one ground keeps that ground on any other */
  .lockup-on-light { background: #FFFFFF; }
  [data-row].is-on { outline: 2px solid Highlight; outline-offset: -2px; }
  /* The chosen question's window ground and its join bar are backgrounds High Contrast drops, so it takes an outline; the census bar keeps its inks. */
  .agenda-q.is-on { outline: 2px solid Highlight; outline-offset: -2px; }
  .census-v, .census-p { forced-color-adjust: none; }
}

/* Print: light and linear, the open panel and every table open, link targets written out, in margins every sheet keeps (home-shell-11). */
@page { margin: 14mm 12mm; }
@media print {
  body { background: none; font-size: 11pt; }
  .skip-link, .site-nav, .theme-toggle, .subnav, .toc, .section-strip, .filters, .receipt, .plate fieldset, .bar-tip, .footer-nav { display: none !important; }
  .lockup, .climate-on-dark { display: none !important; }
  .wordmark { display: block; width: 160px; height: 76px; background: url("../img/atni-energy-lockup-mono-black.svg") left center / contain no-repeat; -webkit-print-color-adjust: exact; print-color-adjust: exact; } /* the large lockup, in black, heads every printed page */
  .climate-on-light { display: block; }
  .climate-voice a { color: var(--atni-color-core-red-alt); }
  .plate-table[hidden] { display: block !important; } /* a closed tab panel stays off the paper: Ctrl+P prints the one open (ai-14, data-centers-14) */
  details::details-content { display: block; height: auto; content-visibility: visible; }
  .wrap { max-width: none; padding-inline: 0; }
  .header-inner { display: block; padding: 0 0 8pt; }
  .page-body { display: block; padding-block: 12pt; }
  .content > .prose, .rail-body { display: block; }
  .content > .prose > * { columns: auto; }
  .page-hero, .section { padding-block: 16pt; }
  .page-hero-grid { display: block; }
  .cards, .figures, .resolutions, .entries, .records, .deadlines { display: block; }
  .key-facts, .card, .figure, .slot, .notice, .quote, .entry, .resolution, .deadline { break-inside: avoid; }
  .notice, .match, .record-deadline { background: none; }
  .key-facts { margin-top: 12pt; }
  .table-scroll, .table-wrap { overflow: visible; }
  h2, h3 { break-after: avoid; }
  .button { min-height: 0; padding: 0; border: 0; background: none; color: var(--atni-text-link); text-decoration: underline; }
  a.paper { min-height: 0; padding: 0; border: 0; background: none; color: var(--atni-text-heading); text-decoration: underline; } /* plain ink on paper (home critic 8) */
  button.paper { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; overflow-wrap: anywhere; }
  .card h3 a::after { content: none; }
  .entry-summary.is-clamped { display: block; overflow: visible; }
  .entry-more { display: none; }
  .rail-details > .disclosure > summary::before { display: none; }
  .site-footer { background: none; }
}
