/* The Data Center page, after site.css: only what the kit does not say. The agenda's question-set face, the tab questions, the Why Now band, count squares in
   the instruments, the jobs bars, the forecast check, the matrix, the policy grid, the atlas and its county card, the records by state, and the question sets.
   Tokens, type, marks, variants, and the window stay in site.css. Orange marks the reading only (DIRECTION-R2 2.2); bullets and chosen states are ink. */

/* Tab questions are short enough for one line each from 1600, where site.css shows them, so every tab name shares one top line (a longer one may still wrap). */
.section-strip .tab-q { max-width: 11.5rem; white-space: normal; }
.section-strip a[href="#perception"] .tab-q { max-width: none; white-space: nowrap; } /* the longest question, kept on the shared line */
/* From 1600 to 1699, where the questions show, the strip's Sources link gives way to the eight tabs (a departure from DIRECTION-R2 3.10): the brief carries the
   same link one screen up. Below 1600 the tabs are their names alone, and Sources has room again. */
@media (min-width: 1600px) and (max-width: 1699px) { .section-strip .strip-out { display: none; } }
/* A tab's one-line lead: what the panel holds, with a term's first use marked. */
main p.dc-tab-lead { max-width: var(--measure-wide); margin: 20px 0 16px; color: var(--atni-text-secondary); }

/* A figure with only a floor ("at least 260", "over 70", Public Perception): the kit hides a row's mark when the row has no middle figure, only --lo. Here it
   stands at the floor, with a line that fades toward the ruler's end for "this or more"; solid, so it never reads as a dashed projection. Shortcut: the
   selector reads the row's inline style; move it into the kit if another page needs floors. */
.ladder-row[style*="--lo"]:not([style*="--x"], [style*="--hi"]) .ladder-track::before { content: ""; position: absolute; z-index: 1; left: calc(var(--lo) * 100%); right: 0; top: calc(50% - 1px); height: 2px; background: linear-gradient(to right, var(--series-context), transparent); }
.ladder-row[style*="--lo"]:not([style*="--x"], [style*="--hi"]) .ladder-track::after { content: ""; position: absolute; z-index: 2; left: calc(var(--lo) * 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-row.is-on[style*="--lo"]:not([style*="--x"], [style*="--hi"]) .ladder-track::before { background: linear-gradient(to right, var(--energy-mark), transparent); }
.ladder-row.is-on[style*="--lo"]:not([style*="--x"], [style*="--hi"]) .ladder-track::after { background: var(--energy-mark); }
@media (forced-colors: active) { .ladder-row[style*="--lo"] .ladder-track::after { forced-color-adjust: none; } }

/* The agenda's third face: each question set by its first question, and the set's own Add, in columns that fit the face without scrolling. */
.dc-asks-face { padding: 4px 0; }
main p.dc-asks-lead { max-width: var(--measure-wide); margin: 0 0 12px; color: var(--atni-text-secondary); }

/* Why Now: its account as a prose band, whole paragraphs in two columns of the body measure (DIRECTION-R2 2.4), so no sentence or citation breaks across a
   column; then the three places it names, folded under their one-line findings; then a band of the rate figure and the Purpose, under its one-line stance. */
.dc-why { margin-top: 24px; }
.dc-why > h3 { margin: 0 0 12px; font-size: 1.5rem; line-height: 1.15; }
.dc-why-text { display: grid; grid-template-columns: repeat(2, minmax(0, 36rem)); gap: 0 48px; align-items: start; }
@media (max-width: 1099px) { .dc-why-text { grid-template-columns: minmax(0, 1fr); } }
.dc-why-text p { max-width: none; margin-top: 0; }
main p.dc-why-lead { max-width: var(--measure-wide); margin: 8px 0 4px; font-family: var(--display); font-weight: 500; font-size: 1.0625rem; color: var(--atni-text-heading); }
.dc-why-more { margin-top: 16px; column-gap: 48px; }
.dc-why-more > .pull { align-content: start; }
.dc-why-more .disclosure-body { max-width: var(--measure); }

/* Plates: the claim zone stays short enough to fit a 900px window. */
.plate-claim .legend { gap: 2px 16px; }
.plate .slider { row-gap: 0; }
.plate .slider label { line-height: 1.3; }
.plate .slider-stops { line-height: 1.15; } /* 1.1 at the small size left Noto's glyphs 2px out of their box at 1920 (R3) */
.plate .slider.is-typed { grid-template-columns: minmax(0, 1fr) 5rem; }
.plate .slider.is-typed label { grid-column: 1; }
@media (pointer: fine) {
  .plate .slider input[type="range"] { height: 32px; }
  .plate .slider input[type="range"]::-webkit-slider-thumb { height: 32px; margin-top: -15px; }
  .plate .slider input[type="range"]::-moz-range-thumb { height: 32px; }
  .plate .slider input[type="number"] { min-height: 32px; padding: 4px 8px; font-size: 0.875rem; }
}
/* The Growth strip holds plates only: a note the kit sets after a plate takes the strip's full width below them, so it never takes a plate's column. */
#growth .plate-strip > :not(.plate) { grid-column: 1 / -1; order: 1; }
/* Under a 1680px strip the outlooks run one a row, so each takes the repeater's geometry, plot and window side by side, rather than a full-width plot over a
   short Reading (data-centers-20, -30): about half the height a row. From 1680 the strip's own columns hold. */
@media screen and (min-width: 1100px) {
  @container (max-width: 1679px) {
    #growth .plate-strip > .plate { 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; }
    #growth .plate-strip > .plate > .plate-claim { display: grid; grid-template-columns: minmax(0, 70fr) minmax(18rem, 30fr); column-gap: var(--plate-gap); align-items: start; }
    #growth .plate-strip > .plate > .plate-claim > * { grid-column: 1; }
    #growth .plate-strip > .plate > .plate-claim > .plate-controls { grid-column: 2; grid-row: 1 / span 8; }
  }
}
/* Direct labels and the case control name the series, so these keys hold only what the plot cannot say. */
:is(#dc-pnw-load, #dc-eia-servers) .plate-legend li:is([data-series], :has(.plate-square)) { display: none; }
/* The region today, a rule across the load plate's own axis (data-centers-19). */
.dc-ref line { stroke: var(--atni-text-secondary); stroke-width: 1.5px; }

/* Count squares: one square per unit in a row's track, drawn from its measured size so it cannot feed back. */
.dc-sq { position: absolute; left: 0; top: 0; display: block; overflow: hidden; }
.dc-sqrow .instrument-ruler::before, .dc-sqrow .instrument-ruler > :not(.dc-sq) { display: none; }
.dc-faint { opacity: 0.45; }
.dc-ctx { fill: var(--series-context); fill-opacity: 0.6; }
.dc-lit { fill: var(--energy-mark); }
.dc-unit { flex: none; margin: 0 0 4px; }
.dc-words .ladder-value { font-family: var(--body); font-weight: 500; font-size: 0.875rem; line-height: 1.35; }

/* The proposal: Count first, three fields of squares a hundred aMW each, in rows of 25; Rulers puts its rows under one needle and the region's squares below. */
.dc-count { display: none; align-content: start; padding-top: 4px; }
.dc-is-count > .dc-count { display: grid; }
/* Count draws the squares; its rows leave the screen, not the accessibility tree, since they are the plot's options and the selection must still be heard
   (axe plot-selection-heard on #dc-project-row-amw). The .sr-only box. */
.dc-is-count > .instrument { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.dc-count-label { max-width: none; margin: 0; padding: 6px 0 4px; font-family: var(--display); font-weight: 500; font-size: 0.9375rem; line-height: 1.3; color: var(--atni-text-heading); }
.dc-count-field svg { display: block; }
#dc-project [data-param="p_lf"] .slider-stops { display: none; } /* its three presets and the typed twin say its range; the face keeps one row less */
#dc-project .instrument { --l: clamp(8rem, 22%, 14rem); }
/* The face counts; the View switch waits under "Rulers view and water assumptions", and the water inputs show only once Rulers is chosen, the one view that
   reads them (data-centers-33): in Count they would move nothing on screen. Home's copy of the face follows the same rule. */
.plate:has([data-param="p_view"] input[value="count"]:checked) .plate-more :is([data-param="p_l"], [data-param="p_plant"]) { display: none; }
#dc-project [data-row="share"] { grid-row: span 2; }
/* A phone stacks the rows. The needle's place is worked out from their three columns, and every value prints, so it goes; and a ruler's numbers need room above the value under them. */
@media (max-width: 719px) {
  .instrument > .needle { display: none; }
  .instrument-row:not(.dc-sqrow) .instrument-ruler { min-height: 64px; }
}

/* Jobs: one ruler, so the lengths compare. The fill runs to the low figure and the outline to the high one: outlined, as modeled marks are, with the mark's ink when selected. */
#dc-jobs-per-mw { --row-min: 96px; }
#dc-jobs-per-mw .instrument { --l: clamp(8rem, 22%, 14rem); }
#dc-jobs-per-mw [data-row]:not([data-row="mw"], .is-fixed) .ladder-mark { display: none; }
#dc-jobs-per-mw [data-row]:not([data-row="mw"], .is-fixed) .instrument-ruler::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  top: calc(50% - 12px);
  box-sizing: border-box;
  width: calc(var(--lo, var(--x)) * 100%);
  height: 24px;
  background: color-mix(in srgb, var(--series-context) 40%, transparent);
  border: 1.5px solid var(--series-context);
  transition: width 120ms var(--ease);
}
#dc-jobs-per-mw .ladder-range { top: calc(50% - 12px); box-sizing: border-box; height: 24px; background: none; opacity: 1; border: 1.5px solid var(--series-context); border-left: 0; }
#dc-jobs-per-mw .is-on .ladder-range { background: none; border-color: var(--energy-mark); }
#dc-jobs-per-mw [data-row].is-on:not([data-row="mw"], .is-fixed) .instrument-ruler::after { background: color-mix(in srgb, var(--energy-mark) 40%, transparent); border-color: var(--energy-mark); }
#dc-jobs-per-mw .instrument-ends { top: calc(50% + 16px); }
/* The ruler's numbers print under the last row and faintly under the first, where the reader's own mark is. The needle crosses that row, so they sit over it on the ground. */
#dc-jobs-per-mw.is-live [data-row]:not([data-row="other"], [data-row="mw"]) .instrument-ends { display: none; }
#dc-jobs-per-mw.is-live .instrument-ends > span { position: absolute; left: calc(var(--t) * 100%); transform: translateX(-50%); }
#dc-jobs-per-mw.is-live [data-row="mw"] .instrument-ends > span { z-index: 2; padding-inline: 2px; color: var(--atni-text-muted); background: var(--plot-ground); }
/* Four rows of 24px bars need no window-tall plot: it takes 96 to 120px a row and rides beside an open record, which stretches nothing. */
@media screen and (min-width: 1100px) {
  #dc-jobs-per-mw.is-live > .plate-plot { position: sticky; top: 64px; align-self: stretch; min-height: 0; max-height: 30rem; }
  #dc-jobs-per-mw.is-live > .plate-detail { align-self: start; }
}
/* The fixed record: the panel's details under the Reading, whose rows keep their keys and selection. */
.dc-fixed { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 0 24px; margin: 8px 0 0; padding: 0; list-style: none; }
.dc-fixed .instrument-group { grid-column: 1 / -1; padding-top: 4px; }
.dc-fixed .instrument-row.is-fixed { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 4px; align-content: start; padding: 10px 4px; }
.dc-fixed .is-fixed .ladder-value { order: 1; }
.dc-fixed .is-fixed .instrument-spark { order: 2; }
.dc-fixed .is-fixed .ladder-label { order: 3; font-family: var(--body); font-weight: 400; font-size: 0.875rem; line-height: 1.35; color: var(--atni-text-secondary); }
.dc-fixed .instrument-line { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; font-family: var(--body); }
.dc-fixed .ladder-num { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.01em; color: var(--atni-text-heading); }
.dc-fixed .ladder-unit { flex: 1 1 8rem; font-size: 0.875rem; line-height: 1.3; color: var(--atni-text-body); }
.dc-fixed .spark { height: 28px; }
.dc-fixed .instrument-row.is-on { outline: 1px solid var(--energy-mark); outline-offset: -1px; } /* selected as a matrix cell is; the 2px line is the needle's alone */
.dc-fixed .is-on .spark .m-line { stroke: var(--energy-mark); }

/* The check of past projections: four rulers, two by two where they fit. On each row a diamond is a projection, a circle what came after, and the bar between them the
   difference. Shape says which is which. Fill says only whether the later value is reported (filled) or itself an estimate (open), never how new an edition is. */
#dc-forecast-check { --row-min: 44px; --l: 6.75rem; --v: 3.5rem; --mark: clamp(15px, 0.5vw + 8px, 20px); }
#dc-forecast-check .plate-plot { container-type: inline-size; }
@container (min-width: 600px) {
  #dc-forecast-check .ladder-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
}
#dc-forecast-check .ladder-needle { display: none; } /* it would stand at a projection, and the tallest line on the plot would read as what happened */
#dc-forecast-check .ladder { padding-top: 0; }
#dc-forecast-check .ladder.has-ticks { padding-top: 24px; }
#dc-forecast-check .ladder-tick span { top: 0; }
#dc-forecast-check .ladder-group-label { font-size: 0.9375rem; color: var(--atni-text-heading); }
#dc-forecast-check .ladder-label { font-size: 1rem; }
#dc-forecast-check .ladder-value { justify-content: flex-end; font-size: 1rem; text-align: right; }
#dc-forecast-check .ladder-unit { font-size: 0.875rem; font-weight: 400; line-height: 1.3; }
#dc-forecast-check .ladder-row:not([data-row^="n-"]) .ladder-unit { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; } /* the ruler's label names it, and a row still says it aloud */
/* The diamond's points clear the circle, so a projection that nearly hit still shows as a diamond around the circle. */
#dc-forecast-check .ladder-mark:not(.is-b) { width: calc(var(--mark) * 0.8); height: calc(var(--mark) * 0.8); transform: translate(-50%, -50%) rotate(45deg); }
#dc-forecast-check .ladder-mark.is-b { width: calc(var(--mark) * 0.7); height: calc(var(--mark) * 0.7); border-radius: 50%; background: var(--atni-text-heading); }
#dc-forecast-check :is([data-row="l-2024"], [data-row="l-2025"]) .ladder-mark.is-b { background: var(--plot-ground); border: 2.5px solid var(--atni-text-heading); }
#dc-forecast-check [data-row="l-base"] .ladder-mark { width: 3px; height: 18px; border: 0; border-radius: 0; background: var(--atni-text-secondary); transform: translate(-50%, -50%); }
#dc-forecast-check [data-row="l-base"].is-on .ladder-mark { background: var(--energy-mark); }
#dc-forecast-check .ladder-row.is-ghost .ladder-track { display: none; }
#dc-forecast-check .ladder-row.is-ghost .ladder-value { grid-column: 2 / -1; justify-self: start; position: relative; z-index: 2; padding-right: 8px; text-align: left; background: var(--plot-ground); } /* its words sit over the rule */
#dc-forecast-check .plate-legend li:last-child { flex-basis: 100%; }
#dc-forecast-check .plate-table td:is(:nth-child(2), :nth-child(3), :nth-last-child(2)) { text-align: left; }
#dc-forecast-check .plate-table td:nth-last-child(2) { min-width: 13rem; } /* the publisher and its status on one or two lines, so a row is not tall for it */
#dc-forecast-check .plate-table td:last-child { min-width: 8rem; }
@media (max-width: 719px) { /* a ruler that does not start at zero prints its first number at the edge, and its realized figure has the row's width */
  #dc-forecast-check .ladder-axis span:first-child { transform: none; }
  #dc-forecast-check .ladder-tick span { max-width: none; white-space: nowrap; }
}
.plate-square.is-diamond { box-sizing: border-box; width: 10px; height: 10px; margin-inline: 1px; background: none; border: 2px solid var(--series-context); transform: rotate(45deg); }
.plate-square.is-circle { width: 10px; height: 10px; border-radius: 50%; background: var(--atni-text-heading); }
.plate-square.is-open { box-sizing: border-box; width: 11px; height: 11px; border-radius: 50%; background: none; border: 2px solid var(--atni-text-heading); }
.plate-square.is-tick { width: 3px; height: 14px; background: var(--atni-text-secondary); }
.dc-revisions p { max-width: var(--measure-wide); margin: 0 0 8px; }

/* The matrix fills the plot zone: each row shares what the figures leave, and its open question reads under its name, so the width goes to the two columns of figures. The cells
   keep their keys and selection; roles are set by plate.js, so the grid display costs no semantics. Without scripts, and in print, it stays a plain table. */
#dc-tradeoff-matrix .plate-values { display: none; } /* the sentence holds the same figures, each with its words */
#dc-tradeoff-matrix .matrix tbody td.is-on { outline-width: 1px; outline-offset: -1px; } /* the 2px orange line is the needle's alone */
#dc-tradeoff-matrix .matrix thead :is(th, td) { padding-bottom: 4px; }
#dc-tradeoff-matrix .matrix tbody :is(td, th) { padding-block: 3px; }
#dc-tradeoff-matrix .matrix thead :is(th, td):last-child { width: 20%; }
#dc-tradeoff-matrix .matrix-figures { gap: 2px; }
#dc-tradeoff-matrix .matrix-figure { grid-template-columns: 10px minmax(0, 1fr); line-height: 1.25; }
#dc-tradeoff-matrix .matrix-words { line-height: 1.25; }
#dc-tradeoff-matrix .matrix-figure strong { font-size: 1rem; }
#dc-tradeoff-matrix .matrix-figure .plate-square { width: 10px; height: 10px; margin-top: 0.25em; }
#dc-tradeoff-matrix .matrix-figure.is-hollow .plate-square { border-width: 2px; }
#dc-tradeoff-matrix .matrix-bar { margin-top: 2px; }
@media screen and (min-width: 1100px) {
  #dc-tradeoff-matrix.is-live .matrix { flex: 1; display: flex; flex-direction: column; height: auto; }
  /* auto, not 1fr: under a height that is only a minimum, every 1fr row would be as tall as the tallest. Auto rows take their own height and share what is left. */
  #dc-tradeoff-matrix.is-live .matrix tbody { flex: 1; display: grid; grid-auto-rows: auto; align-content: stretch; }
  #dc-tradeoff-matrix.is-live .matrix thead { display: block; }
  #dc-tradeoff-matrix.is-live .matrix tr { display: grid; grid-template-columns: minmax(8rem, 22%) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; border-bottom: 1px solid var(--rule); }
  #dc-tradeoff-matrix.is-live .matrix thead tr { grid-template-rows: auto; border-bottom-color: var(--control); }
  #dc-tradeoff-matrix.is-live .matrix tr > * { border: 0; }
  #dc-tradeoff-matrix.is-live .matrix tr > :nth-child(1) { grid-area: 1 / 1; width: auto; }
  #dc-tradeoff-matrix.is-live .matrix tr > :nth-child(2) { grid-area: 1 / 2 / 3; }
  #dc-tradeoff-matrix.is-live .matrix tr > :nth-child(3) { grid-area: 1 / 3 / 3; width: auto; }
  #dc-tradeoff-matrix.is-live .matrix tbody tr > :nth-child(4) { grid-area: 2 / 1; padding: 0 12px 8px 0; }
  #dc-tradeoff-matrix.is-live .matrix thead tr > :nth-child(4) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); }
  #dc-tradeoff-matrix.is-live .matrix tbody tr > :nth-child(4) .matrix-words::before { content: "Open question: "; }
}

/* The policy grid: a static figure, rows by governments, one mark per sentence; its claim at the left and the grid at the right. It takes the height of its
   sentences, never the window's, so wide screens leave no empty rows (data-centers-13). */
#policy-grid { align-items: start; grid-template-areas: "claim" "side"; }
#policy-grid > .plate-claim { grid-area: claim; grid-template-columns: minmax(0, 1fr); padding-top: 16px; } /* one column: the kit's lead split would leave its words 0px in this 16rem area */
#policy-grid > .dc-policy-side { grid-area: side; min-width: 0; }
@media screen and (min-width: 1100px) {
  #policy-grid { grid-template-columns: minmax(16rem, 22fr) minmax(0, 78fr); grid-template-areas: "claim side"; grid-template-rows: auto; max-width: 112rem; }
}
.dc-policy-key { margin: 8px 0 0; }
.dc-grid-wrap { overflow-x: auto; }
.dc-grid { width: 100%; min-width: 44rem; border-collapse: collapse; table-layout: fixed; }
.dc-grid thead :is(th, td) { padding: 8px 12px; font-family: var(--display); font-weight: 500; font-size: 1.0625rem; text-align: left; color: var(--atni-text-secondary); border-bottom: 1px solid var(--control-edge); }
.dc-grid thead :is(th, td):first-child { width: 8rem; padding-left: 0; } /* a fixed table cannot resolve a percentage inside clamp(), and fell back to four equal columns */
.dc-grid tbody th { padding: 8px 12px 8px 0; font-family: var(--display); font-weight: 500; font-size: 1.125rem; text-align: left; vertical-align: top; color: var(--atni-text-heading); border-bottom: 1px solid var(--rule); }
.dc-grid td { padding: 8px 12px; vertical-align: top; border-bottom: 1px solid var(--rule); }
.dc-grid td p { position: relative; max-width: 36rem; margin: 0 0 4px; padding-left: 16px; font-size: 0.875rem; line-height: 1.4; }
.dc-grid td p:last-child { margin-bottom: 0; }
.dc-grid td p::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 10px; height: 10px; }
.dc-grid .is-in::before { background: var(--series-context); }
.dc-grid .is-open::before { border: 2px solid var(--series-context); }
.dc-grid .is-none { color: var(--atni-text-secondary); }
.dc-grid .is-none::before { top: 0.65em; height: 1px; background: var(--control-edge); }
.dc-none-key { flex: none; width: 10px; height: 1px; background: var(--control-edge); }
/* Policy Watch leads the tab (data-centers-34); the Tribal, State, Federal and Alternatives sections follow, three columns at most. */
.dc-watch { margin-top: 20px; }
.dc-policy-parts { grid-template-columns: repeat(auto-fill, minmax(max(min(100%, 26rem), calc((100% - 64px) / 3)), 1fr)); }

/* Details in a grid: each summary skims as a sentence; a long one opens across the width, in columns. The marker is a plain caret, right when closed and down
   when open, never a square: squares on this site are claim statuses (measured, modeled), and these hold prose (data-centers-21). */
.dc-details { margin-top: 8px; }
:is(.dc-details, .dc-record-states) > :is(.disclosure, .pull) { margin: 0; padding-top: 12px; border-top: 1px solid var(--rule); }
:is(.dc-details, .dc-record-states) > .disclosure > summary { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 10px; width: auto; min-height: 44px; padding: 0 0 12px; font-family: var(--body); font-weight: 400; font-size: 0.9375rem; line-height: 1.45; color: var(--atni-text-secondary); list-style: none; cursor: pointer; }
:is(.dc-details, .dc-record-states) > .disclosure > summary::-webkit-details-marker { display: none; }
:is(.dc-details, .dc-record-states) > .disclosure > summary::before { content: ""; grid-row: 1; box-sizing: border-box; width: 7px; height: 7px; margin: 0.5em 0 0 0; border: solid var(--atni-text-secondary); border-width: 0 2px 2px 0; transform: rotate(-45deg); }
:is(.dc-details, .dc-record-states) > .disclosure[open] > summary::before { margin: 0.4em 0 0 1px; transform: rotate(45deg); }
:is(.dc-details, .dc-record-states) > .disclosure > summary > * { grid-column: 2; margin: 0; }
:is(.dc-details, .dc-record-states) > .disclosure > summary :is(h2, h3, h4) { margin-bottom: 2px; font-size: 1.0625rem; line-height: 1.25; letter-spacing: -0.01em; color: var(--atni-text-heading); }
:is(.dc-details, .dc-record-states) > .disclosure > summary:hover :is(h2, h3, h4) { text-decoration: underline 1px var(--control-edge); text-underline-offset: 0.2em; }
.dc-details > .disclosure > ul { max-width: none; font-size: 0.9375rem; line-height: 1.5; }
.dc-long > .disclosure > .disclosure-body { max-width: none; padding-bottom: 16px; }
.disclosure-body h4 { break-after: avoid; }
.disclosure-body > ul { max-width: var(--measure); }
@media (min-width: 900px) {
  .dc-long > .disclosure[open]:has(> .disclosure-body) { grid-column: 1 / -1; }
  .dc-long > .disclosure > .disclosure-body { columns: 26rem 4; column-gap: 32px; }
}
.dc-three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 0 24px; align-items: start; margin-bottom: 12px; }
.dc-three .disclosure { margin: 0; }
.pull .caption { display: block; }

/* What follows the plates. */
.dc-after { margin-top: 24px; }
.dc-after > h2, .dc-after > h3 { margin: 0 0 12px; font-size: 1.5rem; line-height: 1.15; }
.dc-anchor { display: grid; gap: 4px 24px; align-items: baseline; margin: 20px 0 16px; }
.dc-anchor p { margin: 0; font-family: var(--display); font-weight: 500; color: var(--atni-text-heading); }
.dc-anchor ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 4px 32px; margin: 0; }
.dc-anchor li { margin: 0; }
.dc-anchor li::marker { color: var(--atni-text-muted); }
main p.dc-wide-note { max-width: var(--measure-wide); margin-bottom: 16px; font-size: 0.875rem; color: var(--atni-text-secondary); }
.dc-work-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: 0 24px; }
/* No ruler on these two: a rule with one tick and no numbers reads as an empty axis, and the row prints the figure. */
.dc-work-links .bench-ruler { display: none; }
.dc-work-links .bench-figure { padding-bottom: 0; }
.dc-work-links .bench-link { font-size: 0.9375rem; }

/* County climate: the 2040 to 2059 median is the pair's first mark, so the kit's selection orange is the finding; 1995 to 2014, the second, is the hollow mark it moved from.
   One line a county ("87 F, from 84"), so the default eighteen rows end above a 900px window's fold. The plot keeps 26rem of axis at 1280 (data-centers-06). */
#dc-climate-counties { --l: clamp(10rem, 22%, 13rem); --v: clamp(9rem, 18%, 13rem); --row-min: 32px; }
#dc-climate-counties .ladder-groups { min-width: 0; }
#dc-climate-counties :is(.ladder-mark, .plate-square).is-b, #dc-climate-counties .plate-values li:last-child .plate-square { background: var(--plot-ground); border: 2px solid var(--series-context); }
#dc-climate-counties .ladder-row.is-on .ladder-mark.is-b { border-color: var(--atni-text-heading); }
#dc-climate-counties .plate-values li:first-child .plate-square { background: var(--energy-mark); }
.dc-where-climate { margin-top: var(--section-pad); }
.dc-where-climate > .climate-voice { max-width: var(--measure-wide); }
.dc-where-land { margin-top: var(--section-pad); }

/* The atlas (the Where tab): the relief bake_relief.py bakes is the plot's ground, and the field always holds the part of the sheet where the proposals are
   (VIEW in build_project_map.py): the sheet scales by the smaller of the field's two fits, from the field's own size, so it draws without scripts. Squares,
   rings, and names keep their size on screen; their places are percentages of the sheet. Dark relief in the dark theme, paper relief in the light one and in
   print; the larger file from 1800px, where the sheet is drawn wider than the smaller file. Water is blue and only water; squares are --mark-quiet until chosen. */
.dc-atlas > .plate-plot { overflow: hidden; min-height: 0; padding: 0; }
@media (max-width: 1099px) { .dc-atlas > .plate-plot { height: clamp(22rem, 72vw, 36rem); } }
.dc-field { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.dc-sheet {
  --s: min(100cqw / var(--vw), 100cqh / var(--vh));
  position: absolute;
  left: calc(50cqw - var(--s) * var(--cx));
  top: calc(50cqh - var(--s) * var(--cy));
  width: calc(var(--s) * var(--sw));
  height: calc(var(--s) * var(--sh));
  background: image-set(url("../img/relief/nw-dark-1600.webp") 1x, url("../img/relief/nw-dark-2520.webp") 2x) 0 0 / 100% 100% no-repeat;
}
[data-theme="light"] .dc-sheet { background-image: image-set(url("../img/relief/nw-light-1600.webp") 1x, url("../img/relief/nw-light-2520.webp") 2x); }
@media (min-width: 1800px) {
  .dc-sheet { background-image: url("../img/relief/nw-dark-2520.webp"); }
  [data-theme="light"] .dc-sheet { background-image: url("../img/relief/nw-light-2520.webp"); }
}
.dc-sheet-svg { position: absolute; inset: 0; overflow: visible; }
.dc-names text { font-family: var(--display); font-weight: 500; font-size: 0.875rem; fill: var(--atni-text-secondary); paint-order: stroke; stroke: var(--atni-ground-base); stroke-width: 3px; stroke-linejoin: round; }
.dc-names .is-water, .dc-names .is-sea { font-family: var(--body); font-style: italic; font-weight: 400; fill: var(--water-label); }
.dc-names .is-land { font-size: 0.9375rem; }
.dc-city circle { fill: var(--atni-ground-base); stroke: var(--atni-text-body); stroke-width: 1.5px; }
.dc-city text { fill: var(--atni-text-body); }
.dc-cty { cursor: pointer; }
.dc-hit { fill: transparent; }
.dc-ring { fill: none; stroke: none; }
.dc-m { fill: var(--mark-quiet); transition: fill 120ms var(--ease), opacity 120ms var(--ease); }
.dc-m.is-dim { opacity: 0.25; }
.dc-cty:hover .dc-ring { stroke: var(--atni-text-muted); stroke-width: 1px; }
.dc-cty.is-on .dc-m { fill: var(--energy-mark); }
.dc-cty.is-on .dc-ring { stroke: var(--atni-text-heading); stroke-width: 2px; } /* orange on --mark-quiet is 1.7:1, so the chosen county also takes a ring of ink */
.dc-atlas-side { gap: 16px; }
.dc-atlas-side .segmented legend { width: 100%; }
.dc-key-sq { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--mark-quiet); }
.dc-atlas-pick { display: grid; gap: 4px; }
.dc-atlas-pick label { font-family: var(--display); font-weight: 500; font-size: 0.875rem; color: var(--atni-text-secondary); }
.dc-atlas-pick select { min-height: 44px; padding: 6px 8px; font: inherit; color: var(--atni-text-heading); background: var(--atni-ground-overlay); border: 1px solid var(--control-edge); border-radius: 0; }
.dc-atlas-pick select:focus-visible { outline: 2px solid var(--atni-text-heading); outline-offset: 2px; }
.dc-atlas-card { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--rule); }
.dc-atlas-card:empty { display: none; }
.dc-atlas-card h4 { margin: 0; font-size: 1.375rem; line-height: 1.2; }
.dc-card-records { margin: 0; padding: 0; list-style: none; }
.dc-card-records li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--rule); }
.dc-rec-name { font-family: var(--display); font-weight: 500; font-size: 1.0625rem; line-height: 1.25; color: var(--atni-text-heading); }
.dc-rec-mw { font-family: var(--display); font-weight: 600; font-variant-numeric: tabular-nums; }
.dc-rec-meta { font-size: 0.875rem; line-height: 1.4; color: var(--atni-text-secondary); }
.dc-atlas-card > .button { justify-self: start; }
.dc-card-climate { display: grid; gap: 6px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--rule); }
.dc-card-climate b { font-family: var(--display); font-weight: 600; color: var(--atni-text-heading); }
.dc-off { margin-top: auto; }
/* The map sticks while the card beside it is read, so near the plate's foot it slides under the collar, which keeps the ground. */
.dc-atlas > .plate-collar { position: relative; z-index: 1; background: var(--atni-ground-base); }

/* Every record, by state: three across where they fit; an open state takes the width, its records in columns. */
.dc-records { margin-top: var(--section-pad); }
.dc-records > h3 { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.15; }
.dc-record-states { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 0 32px; align-items: start; }
.dc-record-states > .disclosure[open] { grid-column: 1 / -1; }
.dc-record-states .disclosure-body { max-width: none; padding-bottom: 16px; }
.dc-record-list { margin: 0; padding-left: 1.25rem; columns: 30rem 3; column-gap: 48px; }
.dc-record-list li { margin: 0 0 12px; break-inside: avoid; }
.dc-record-list p { max-width: var(--measure); margin: 0 0 4px; }
.dc-record-list blockquote { margin: 4px 0 4px 8px; padding-left: 12px; border-left: 2px solid var(--grid); }

@media (prefers-reduced-motion: reduce) { .dc-m { transition: none; } }
@media print {
  .slot-label { display: none; }
  .dc-sheet { background-image: url("../img/relief/nw-light-1600.webp"); }
  .dc-long > .disclosure > .disclosure-body, .dc-record-list { columns: auto; }
  .dc-grid { min-width: 0; height: auto; }
  #dc-forecast-check .plate-table td:is(:nth-last-child(2), :last-child) { min-width: 0; } /* on screen the table scrolls; on paper these ran it 123px off the page */
}
