/* ==========================================================================
   COURT PREP · public membership pages · v6 "Marked Record"
   Every morning COURT PREP takes the court's record and marks it up for you. The site
   is typeset like a legal publication, and its colours are the materials on a
   litigator's desk. Each material keeps exactly one meaning on every page, and every
   footer prints the key:
     Paper (+ ink)  the court's record: its wording, documents, sources and terms
     Night          the clock: when we looked (checks, stamps, strips, dials)
     Violet         COURT PREP speaking and acting: claims, buttons, links, labels
     Marker         what moved since the last check: a highlight, never a text colour
     Dawn           the last successful check, drawn only on Night (under 2% of a view)
   Status keeps Cadence and is coded by construction, so it survives forced colours:
   CHECKED is a Night plate with a Dawn bar (never a tick glyph, seal or green);
   CHECK FAILED is dashed and always states the age of what is shown; NOT COVERED is
   dashed. Built / Pilot design / Proposed are solid / double / dashed. No red, no
   green, no gradient used as a glow, no blur.
   Grounds: every coloured surface carries a g-* class that sets role variables
   (--fg --fg-2 --inv --accent --rule --focus --btn-* --plate --plate-line --failed-*
   --none --sample-* --tt-rule). Components read only those, so a chip or strip
   resolves against its nearest ground. The page itself reads as Paper.
   CSP: the pages allow no inline style or script, so all styling lives in these
   partials, joined in filename order into /marketing/site.css. Fonts are self-hosted.
   Shared component breakpoints live in 95-responsive.css; preferences in 99.
   ========================================================================== */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 100% 125%; font-display: swap; src: url("/brand/fonts/archivo-latin.woff2") format("woff2"); }
@font-face { font-family: "Azeret Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/brand/fonts/azeret-mono-latin.woff2") format("woff2"); }

/* ---- Tokens --------------------------------------------------------------------------------- */
:root {
  /* ---- Cadence v0.1 (values unchanged) ---- */
  --night: #0D1B2A;       /* THE CLOCK: instrument grounds, stamp plates, strip tracks; ink on light grounds; the mark */
  --daylight: #F7F9FB;    /* neutral reading ground; text, keylines and focus rings on dark grounds */
  --dawn: #F3A73A;        /* THE LAST SUCCESSFUL CHECK. Only ever drawn on Night (plates, tracks, dial, tick edge, mark) */
  --dawn-text: #8A5600;   /* CHECK FAILED text and dashed outline on neutral light grounds only */
  --dawn-wash: #FBF5EA;   /* CHECK FAILED chip fill and failed-card fill only */
  --steel: #4D5D6E;       /* secondary text on paper/daylight/white/wash; NOT COVERED on neutral light */
  --mist: #D9E1E8;        /* rules on daylight and white */
  --body: #24313F;        /* long reading on light; secondary text on lilac and marker */
  /* ---- Night family: the clock ---- */
  --night-2: #15283C;     /* instrument panel on Night (estimator, code chrome), dial band */
  --deep: #08131F;        /* footer ground */
  --rule-night: #2A3D52;  /* rules on Night grounds (decorative only) */
  --tick-off: #56708C;    /* unlit tick on a Night track (3.39:1 on Night: UI) */
  --tick-fine: #3A5068;   /* dial minute-ring texture only (decorative) */
  --on-night: #A9B6C3;    /* secondary text on Night / Night-2 / Deep */
  --on-night-2: #C9D3DD;  /* status-rail text; decks and intros on Night */
  /* ---- Paper family: the court's record ---- */
  --paper: #F4EFE6;       /* documents, record grounds, the masthead */
  --paper-deep: #EAE1D1;  /* document footer band (sources checked), tables' zebra */
  --paper-rule: #D6CAB6;  /* rules on paper (decorative) */
  --white: #FFFFFF;       /* selected register row; succeeded card; form fields */
  /* ---- Violet family: COURT PREP's pen ---- */
  --violet: #3B2FA8;      /* owned field; primary buttons and links on light grounds; selection */
  --indigo: #2A1F7A;      /* violet hover/pressed; offset sheet on violet; links on lilac and marker */
  --lilac: #B8A9FF;       /* our pen on dark grounds (buttons, links); SAMPLE tags; one lilac band per page; Solo card */
  --lilac-pale: #D7CFFF;  /* secondary text on violet; lilac button hover */
  /* ---- Marker: what moved ---- */
  --marker: #8BD7F7;      /* highlighter behind new values; MOVED; panel 01; JSON value/before lines. Never text. */

  /* ---- Type ---- */
  --sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Azeret Mono", "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  /* ---- Layout and spacing ---- */
  --wrap: 1320px;
  --gutter: clamp(20px, 4.2vw, 60px);
  --band: clamp(64px, 8.4vw, 120px);          /* section padding-block */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --radius: 2px; --radius-tab: 3px;
  --mast-h: 64px;
  --tt: linear-gradient(var(--night) 0 2px, transparent 2px 4px, var(--night) 4px 5px);          /* thick-thin rule, 5 px, light grounds */
  --tt-dark: linear-gradient(var(--on-night) 0 2px, transparent 2px 4px, var(--on-night) 4px 5px); /* on Night/violet */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- Grounds --------------------------------------------------------------------------------
   Every coloured surface carries one of these. `body` is the outermost ground (the page is
   Paper), so a component outside any band still resolves its roles. */
/* Neutral light grounds: the record */
body, .g-paper, .g-paper-deep, .g-day, .g-white, .g-wash {
  --fg: var(--night); --fg-2: var(--steel); --inv: var(--daylight); --accent: var(--violet); --rule: var(--paper-rule); --focus: var(--night);
  --btn-bg: var(--violet); --btn-fg: var(--daylight); --btn-hover: var(--indigo); --btn-line: var(--night);
  --plate: var(--night); --plate-line: var(--night);
  --failed-fg: var(--dawn-text); --failed-bg: var(--dawn-wash); --failed-line: var(--dawn-text);
  --none: var(--steel); --sample-bg: var(--lilac); --sample-fg: var(--night); --sample-line: var(--lilac);
  --tt-rule: var(--tt);
}
body, .g-paper { --bg: var(--paper); }
.g-paper-deep { --bg: var(--paper-deep); }
.g-day        { --bg: var(--daylight); --rule: var(--mist); }
.g-white      { --bg: var(--white); --rule: var(--mist); }
.g-wash       { --bg: var(--dawn-wash); --rule: #EFE2C8; }

/* Saturated light grounds: lilac (our pen) and marker (what moved). Steel and Violet text are not allowed here. */
.g-lilac, .g-marker {
  --fg: var(--night); --fg-2: var(--body); --inv: var(--daylight); --accent: var(--indigo); --rule: rgba(13, 27, 42, .28); --focus: var(--night);
  --btn-bg: var(--violet); --btn-fg: var(--daylight); --btn-hover: var(--indigo); --btn-line: var(--night);
  --plate: var(--night); --plate-line: var(--night);
  --failed-fg: var(--dawn); --failed-bg: var(--night); --failed-line: var(--dawn);    /* CHECK FAILED as a Night inset */
  --none: var(--body); --sample-bg: transparent; --sample-fg: var(--night); --sample-line: var(--night);
  --tt-rule: var(--tt);
}
.g-lilac  { --bg: var(--lilac); }
.g-marker { --bg: var(--marker); }

/* The clock: Night family */
.g-night, .g-night2, .g-deep {
  --fg: var(--daylight); --fg-2: var(--on-night); --inv: var(--night); --accent: var(--lilac); --rule: var(--rule-night); --focus: var(--daylight);
  --btn-bg: var(--lilac); --btn-fg: var(--night); --btn-hover: var(--lilac-pale); --btn-line: var(--daylight);
  --plate: var(--night); --plate-line: var(--on-night);
  --failed-fg: var(--dawn); --failed-bg: transparent; --failed-line: var(--dawn);
  --none: var(--on-night); --sample-bg: var(--lilac); --sample-fg: var(--night); --sample-line: var(--lilac);
  --tt-rule: var(--tt-dark);
}
.g-night  { --bg: var(--night); }
.g-night2 { --bg: var(--night-2); --rule: #2E4560; }
.g-deep   { --bg: var(--deep); --rule: #1E2F42; }

/* COURT PREP's owned field. Dawn never touches violet directly: statuses sit on Night insets. */
.g-violet {
  --bg: var(--violet); --fg: var(--daylight); --fg-2: var(--lilac-pale); --inv: var(--night); --accent: var(--daylight);
  --rule: rgba(215, 207, 255, .38); --focus: var(--daylight);
  --btn-bg: var(--lilac); --btn-fg: var(--night); --btn-hover: var(--lilac-pale); --btn-line: var(--daylight);
  --plate: var(--night); --plate-line: var(--lilac-pale);
  --failed-fg: var(--dawn); --failed-bg: var(--night); --failed-line: var(--dawn);
  --none: var(--lilac-pale); --sample-bg: var(--lilac); --sample-fg: var(--night); --sample-line: var(--lilac);
  --tt-rule: var(--tt-dark);
}

.g-paper, .g-paper-deep, .g-day, .g-white, .g-wash, .g-lilac, .g-marker, .g-night, .g-night2, .g-deep, .g-violet {
  background-color: var(--bg); color: var(--fg);
}

/* ---- Base ------------------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--mast-h) + 24px); }
body { margin: 0; background: var(--paper); color: var(--night); --focus: var(--night); font: 400 17px/1.6 var(--sans); font-synthesis: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
p a:not(.btn):not(.more), dd a, li > span a { color: var(--accent); text-decoration-thickness: 1.5px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
[hidden] { display: none !important; }          /* a class that sets display never un-hides an element */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--violet); color: var(--daylight); }     /* selection is our pen */
.g-violet ::selection { background: var(--lilac); color: var(--night); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 60; background: var(--night); color: var(--daylight); padding: 10px 14px; font-weight: 650; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.band { position: relative; padding-block: var(--band); }
.sec-head { display: grid; gap: 16px; max-width: 820px; margin-bottom: clamp(36px, 4.4vw, 60px); }
.sec-head.split { max-width: none; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); align-items: end; }
.sec-head.split .kicker { grid-column: 1 / -1; }
.sec-head.split > :not(.kicker):not(h2) { grid-column: 2; }
.sec-head > p:not(.kicker) { font-size: 18.5px; line-height: 1.55; color: var(--fg-2); max-width: 36em; }
.sec-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 40px; font-size: 15.5px; color: var(--fg-2); }

/* ---- Type -------------------------------------------------------------------------------------- */
/* Poster: the home h1 only. "MOVED" is struck by the highlighter (static, never animated). */
.poster { font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.035em; line-height: .86; font-size: clamp(64px, 8.6vw, 124px); }
.poster mark { background: linear-gradient(transparent 7%, var(--marker) 7% 95%, transparent 95%); color: var(--night); padding: 0 .06em; margin-left: -.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.poster .tail { display: inline-block; margin-left: .3em; font: 650 clamp(24px, 2.6vw, 38px)/1.1 var(--sans); font-stretch: 100%; letter-spacing: -.015em; text-transform: none; color: var(--fg); vertical-align: baseline; }   /* Daylight on the violet hero */
/* Display: inner h1, five words or fewer (the fitted one-line form is in 26-shell-page-head.css). */
.display { font-weight: 800; font-stretch: 122%; text-transform: uppercase; letter-spacing: -.03em; line-height: .9; font-size: clamp(44px, 6.6vw, 96px); text-wrap: balance; }
h2, .h2 { font-weight: 780; font-stretch: 106%; letter-spacing: -.03em; line-height: 1.02; font-size: clamp(32px, 4.2vw, 60px); text-wrap: balance; }
.panel-title { font-weight: 800; font-stretch: 112%; letter-spacing: -.035em; line-height: .94; font-size: clamp(36px, 3.6vw, 54px); }
h3, .h3 { font-weight: 720; font-stretch: 100%; letter-spacing: -.01em; line-height: 1.22; font-size: 21px; }
.deck { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 36em; }
.fine { font-size: 14.5px; line-height: 1.5; color: var(--fg-2); }
.label { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.data { font-family: var(--mono); font-variant-numeric: tabular-nums; }
/* Kicker: "§ 1 / ONE SAMPLE RECORD · THREE QUESTIONS". The slash is decoration, not read aloud. */
.kicker { font: 500 12.5px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
.kicker b { font-weight: 500; color: var(--fg); }
.kicker b + span::before { content: "/"; content: "/" / ""; margin: 0 .8em; color: var(--fg-2); }
/* Court wording: the source's own words, ruled like a quotation in a filing. */
.wording { padding-left: 20px; border-left: 4px solid var(--night); font-size: clamp(20px, 1.8vw, 25px); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.g-night .wording, .g-night2 .wording, .g-deep .wording { border-left-color: var(--on-night); }
/* What moved: the highlighter behind a new value. Always Night text on Marker (10.90:1), whatever
   the ground: the colour is set here, never inherited, so a value on Night or violet stays legible. */
mark.mk { background-color: transparent; background-image: linear-gradient(transparent 14%, var(--marker) 14% 92%, transparent 92%); background-repeat: no-repeat; background-size: 100% 100%; color: var(--night); padding: 0 .08em; margin: 0 -.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Numerals */
.price-xl, .price-l { font-weight: 800; font-stretch: 116%; letter-spacing: -.045em; line-height: .92; font-variant-numeric: tabular-nums; }
.price-xl { font-size: clamp(60px, 5.6vw, 88px); }
.price-l { font-size: clamp(44px, 4.4vw, 68px); }
.num-xl { font-weight: 800; font-stretch: 125%; font-size: 64px; line-height: .8; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

/* ---- Textures: the thick-thin rule and flat offset sheets (never blurred) ------------------------ */
:where(.tt-top, .tt-bottom) { position: relative; }
.tt-top::before, .tt-bottom::after { content: ""; position: absolute; left: 0; right: 0; height: 5px; background: var(--tt-rule); }
.tt-top::before { top: 0; }
.tt-bottom::after { bottom: 0; }
.offset-indigo { box-shadow: 14px 14px 0 var(--indigo); }   /* paper on violet */
.offset-violet { box-shadow: 10px 10px 0 var(--violet); }   /* paper on lilac */
.offset-night { box-shadow: 8px 8px 0 var(--night); }       /* paper on daylight */
.offset-lilac { box-shadow: 10px 10px 0 var(--lilac); }     /* the selected morning on Night */

/* ==== Components ================================================================================ */

/* ---- Buttons and links (§6.1). One label set: "Open the sample brief" then "Ask about membership". */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 13px 22px; border: 1.5px solid transparent; border-radius: var(--radius); font: 650 16px/1.2 var(--sans); letter-spacing: -.005em; text-decoration: none; text-align: center; cursor: pointer; }
.btn .arrow { display: inline-block; }
.btn.primary { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.btn.primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn.line { background: transparent; border-color: var(--btn-line); color: var(--btn-line); }
.btn.line:hover { background: color-mix(in srgb, var(--btn-line) 10%, transparent); }
.btn:active { transform: translateY(1px); }
.btn.small { min-height: 44px; padding: 9px 15px; font-size: 15px; gap: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { margin-top: 10px; font: 500 12.5px/1.45 var(--mono); letter-spacing: .02em; color: var(--fg-2); }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 650 16px/1.3 var(--sans); color: var(--accent); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em; }
.more .arrow { display: inline-block; }
.more:hover { text-decoration-thickness: 2.5px; }
button.more { background: none; border: 0; padding: 0; }

/* ---- Tags: SAMPLE is our disclosure; stages are coded by construction (§6.3) --------------------- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 4px; border: 1.5px solid transparent; border-radius: var(--radius); font: 500 11.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; vertical-align: middle; }
.tag-sample { background: var(--sample-bg); color: var(--sample-fg); border-color: var(--sample-line); }
.tag-built { background: var(--fg); color: var(--inv); border-color: var(--fg); }
.tag-pilot { border: 4px double currentColor; padding: 3px 8px 2px; color: var(--fg); }
.tag-proposed { border-style: dashed; border-color: currentColor; color: var(--fg-2); }
/* Kind icons: ink only, never a hue */
.ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico.is-proposed { stroke-dasharray: 2 2; }

/* ---- Status stamps (§6.4). Authored in capitals; every time carries PT. -------------------------- */
.st { display: inline-flex; align-items: center; gap: 10px; min-height: 30px; padding: 6px 11px; border: 1.5px solid transparent; border-radius: var(--radius); font: 500 12.5px/1.35 var(--mono); letter-spacing: .07em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.st-check { background: var(--plate); color: var(--daylight); border-color: var(--plate-line); padding-left: 8px; }
.st-check::before { content: ""; flex: none; align-self: stretch; width: 4px; min-height: 16px; background: var(--dawn); }
.st-failed { background: var(--failed-bg); color: var(--failed-fg); border: 1.5px dashed var(--failed-line); }
.st-none { background: transparent; color: var(--none); border: 1.5px dashed var(--none); }
.st-lg { font-size: 14px; min-height: 38px; padding-block: 8px; }

/* ---- Tick strips, the two-day ribbon: instruments on their own Night track (§5.3) -------------- */
.strip { --n: 24; display: inline-grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); align-items: end; gap: 3px; flex: none;
  width: 184px; height: 28px; padding: 5px 7px; background: var(--night); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--plate-line); }
.strip i { height: 50%; background: var(--tick-off); border-radius: 1px; }
.strip i:nth-child(6n + 1) { height: 72%; }                          /* 00 06 12 18 */
.strip i.lit { height: 100%; background: var(--dawn); }               /* hour of the last successful check */
.strip i.miss { height: 100%; background: transparent; border: 1.5px dashed var(--dawn); }   /* hour of a failed attempt */
.strip.lg { width: 100%; max-width: 560px; height: 46px; padding: 8px 10px; gap: 5px; }
.strip-scale { display: flex; justify-content: space-between; max-width: 560px; padding: 6px 10px 0; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.ribbon { display: grid; gap: 4px; width: 100%; max-width: 560px; padding: 8px 10px; background: var(--night); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--plate-line); }
.ribbon-age, .ribbon-ticks { display: grid; grid-template-columns: repeat(48, minmax(0, 1fr)); column-gap: 2px; }
.ribbon-age { height: 10px; }
.ribbon-age i { grid-column: 7 / 32; border: 1.5px solid var(--on-night-2); border-bottom: 0; border-radius: 2px 2px 0 0; }   /* Mon 06 → Tue 06: about a day */
.ribbon-ticks { height: 30px; align-items: end; }
.ribbon-ticks i { height: 45%; background: var(--tick-off); border-radius: 1px; }
.ribbon-ticks i:nth-child(6n + 1) { height: 70%; }
.ribbon-ticks i.lit { height: 100%; background: var(--dawn); }
.ribbon-ticks i.miss { height: 100%; background: transparent; border: 1.5px dashed var(--dawn); }
/* Source rows: name, strip, stamp (§6.5) */
.src-row { display: grid; grid-template-columns: auto minmax(0, 184px); justify-content: start; align-items: center; gap: 8px 16px; }
.src-row .strip { width: 100%; }                        /* the strip gives way first on a narrow phone */
.src-row .st { grid-column: 1 / -1; justify-self: start; }
.src-name { font-weight: 680; font-size: 15px; min-width: 7.5em; }

/* ---- The Day Dial: a 24-hour instrument, every mark means something (§5.2, §6.6) ----------------
   Part selectors are prefixed with .dial so v5 rules for the old dial cannot reach them. */
.dial { width: 100%; height: auto; overflow: visible; }
.dial.dial-inset { max-width: 232px; }
.dial.dial-hero { max-width: 440px; }
.dial .d-back { fill: var(--night); }
.dial .d-band { fill: none; stroke: var(--night-2); stroke-width: 30; }
.dial .d-face { fill: var(--night); stroke: var(--rule-night); stroke-width: 1; }
.dial .d-hours { fill: none; stroke: var(--tick-off); stroke-width: 3; }
.dial .d-majors { fill: none; stroke: var(--daylight); stroke-width: 3.5; }
.dial .d-minutes { fill: none; stroke: var(--tick-fine); stroke-width: 1.5; }
.dial text { font-family: var(--mono); font-weight: 500; text-anchor: middle; dominant-baseline: central; }
.dial .d-num { fill: var(--on-night); font-size: 18px; letter-spacing: .04em; }
.dial .d-halo { fill: none; stroke: var(--night); stroke-width: 15; }
.dial .d-check { fill: none; stroke: var(--dawn); stroke-width: 9; stroke-dasharray: 38; }      /* 38 = the tick's length; static state is the full tick */
.dial .d-fail { fill: none; stroke: var(--dawn); stroke-width: 4; stroke-dasharray: 5 4; }
.dial .d-stale { fill: none; stroke: var(--on-night); stroke-width: 3; stroke-dasharray: 1 7; stroke-linecap: round; }
.dial .d-time { fill: var(--dawn); font-size: 54px; letter-spacing: -.03em; }      /* clears the 06 and 18 numerals */
.dial .d-src:not(.is-on) { display: none; }
.dial-cap { display: grid; gap: 10px; justify-items: start; align-content: center; }

/* ---- Sheets, exhibit tabs and slips (§6.8) ------------------------------------------------------ */
.sheet { position: relative; }                         /* always paired with a ground class, usually g-paper */
.ex-tab { position: absolute; left: clamp(16px, 2vw, 28px); bottom: 100%; padding: 10px 14px 9px; background: var(--lilac); color: var(--night); font: 500 11.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; border-radius: var(--radius-tab) var(--radius-tab) 0 0; white-space: nowrap; }
.ex-tab.is-paper { background: var(--paper); }
.slip { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 0 20px 20px; background: var(--paper); color: var(--night); border-top: 6px solid var(--night); }
.slip-stamp { justify-self: start; display: inline-flex; gap: 10px; margin: 18px 0 4px; padding: 7px 10px 6px; border: 1.5px solid var(--night); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.slip h3 { font-size: 24px; font-weight: 780; font-stretch: 106%; letter-spacing: -.02em; }
.slip p { font-size: 15.5px; line-height: 1.5; color: var(--body); }
.slip .slip-who { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); padding-top: 12px; border-top: 1px solid var(--paper-rule); }
.slip.is-corrected { border: 2px dashed var(--night); padding-top: 6px; }
.slip.is-corrected .slip-stamp { border-style: dashed; }
.slip-ribbon { position: absolute; top: -13px; right: 14px; background: var(--night); color: var(--daylight); font: 500 11px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; padding: 7px 9px 6px; }

/* ---- People card: reviewer solid, backup outline (§6.9) ----------------------------------------- */
.people { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.people .person { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--fg); }
.people .person b { font-weight: 700; color: inherit; }
.av { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; font: 500 12px/1 var(--mono); letter-spacing: .04em; }
.av-solid { background: var(--fg); color: var(--inv); }
.av-line { border: 1.5px solid var(--fg); color: var(--fg); }

/* ---- Every check ends one of three ways (§6.11) ------------------------------------------------- */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(24px, 3vw, 44px); padding-top: 22px; border-top: 1px solid var(--rule); }
.ways li { display: grid; gap: 12px; justify-items: start; align-content: start; }
.ways p { font-size: 15.5px; color: var(--fg-2); }

/* ---- Proof of method (§6.12) --------------------------------------------------------------------- */
.method { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--fg); }
.method li { display: flex; align-items: center; gap: 10px; padding: 13px 10px 13px 0; border-bottom: 1px solid var(--rule); font: 500 12.5px/1.35 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.method li:nth-child(odd) { border-right: 1px solid var(--rule); }
.method li:nth-child(even) { padding-left: 16px; }
.method .ico { width: 18px; height: 18px; }

/* ---- Tables: real table semantics, stacked rows on phones (§6.14) -------------------------------- */
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 15px 18px 15px 0; border-top: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.table thead th { padding-top: 0; padding-bottom: 14px; border-top: 0; border-bottom: 2px solid var(--fg); font: 500 12.5px/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.table tbody th { font-weight: 650; }
.table tbody tr:hover { background: color-mix(in srgb, var(--white) 45%, transparent); }
.table .is-none { color: var(--fg-2); }

/* ---- Forms (§6.16) -------------------------------------------------------------------------------- */
.field { display: grid; gap: 6px; }
label { font-weight: 650; font-size: 15.5px; }
label small { font: 500 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); margin-left: 6px; }
input:not([type]), input[type="text"], input[type="email"], select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--fg); border-radius: var(--radius); background: var(--white); color: var(--night); font: 400 16.5px/1.3 var(--sans); }
input:not([type]):hover, input[type="text"]:hover, input[type="email"]:hover, select:hover, textarea:hover { box-shadow: inset 0 0 0 .5px var(--fg); }
select { appearance: none; padding-right: 44px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230D1B2A' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px; }
.check { display: flex; align-items: center; gap: 10px; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--violet); }
.g-night .check input, .g-night2 .check input { accent-color: var(--lilac); }
.form-status { font: 500 13px/1.5 var(--mono); color: var(--fg-2); }

/* ---- Ledger: what is real today, coded by construction (§6.18) ---------------------------------- */
.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 1px solid var(--rule); }
.ledger-col { padding: 0 clamp(18px, 2vw, 30px) 8px; border-right: 1px solid var(--rule); }
.ledger-col > header { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 16px; padding: 22px 0 18px; }
.ledger-col > header .tag { justify-self: start; }
.ledger-col.built > header { border-top: 8px solid var(--fg); }
.ledger-col.pilot > header { border-top: 8px double var(--fg); }
.ledger-col.proposed > header { border-top: 3px dashed var(--fg-2); padding-top: 27px; }
.ledger-col.proposed .num-xl { color: transparent; -webkit-text-stroke: 1.5px var(--fg-2); }
.ledger-def { grid-column: 1 / -1; font-size: 14.5px; color: var(--fg-2); }
.ledger-more > summary { display: none; }
.ledger-col li { display: grid; gap: 3px; padding: 14px 0 15px; border-top: 1px solid var(--rule); }
.ledger-col li strong { font-weight: 720; font-size: 17px; line-height: 1.3; }
.ledger-col li strong a { color: var(--fg); text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
.ledger-col li span { font-size: 15px; line-height: 1.5; color: var(--fg-2); }

/* ---- Code panel: JSON on Night (§6.19) ------------------------------------------------------------ */
.code { margin: 0; padding: 18px 20px; overflow-x: auto; background: var(--night); color: var(--daylight); border-radius: var(--radius); font: 500 13.5px/1.65 var(--mono); tab-size: 2; }
.code .k { color: var(--lilac); }          /* keys: 8.41 */
.code .s { color: var(--daylight); }       /* strings: 16.48 */
.code .n { color: var(--on-night-2); }     /* numbers, true, false, null: 11.47 */
.code .p { color: var(--on-night); }       /* punctuation: 8.42 */
.code .mv { background: var(--marker); color: var(--night); }   /* "value" and "before" lines: what moved (10.90) */
.code .mv span { color: var(--night); }
.code .tm { text-decoration: underline dotted var(--on-night); text-underline-offset: .25em; }   /* observed / attempt keys: when we looked */
.code .ok { box-shadow: inset 4px 0 0 var(--dawn); }    /* a source's last-success line: the last successful check, on Night */

/* ==========================================================================
   LEGACY · removed after P1–P4
   Aliases that keep the v5 page partials (20–53) and the v5 page markup readable until each
   page is rebuilt on the grounds above. Nothing new may use them. When P1–P4 have landed,
   delete this whole block and the matching LEGACY block at the end of 95-responsive.css.
   ========================================================================== */
:root { --panel: #112235; --panel-2: #172C42; --line: #24364A; --line-2: #3A5068; --mist-bg: #E9EEF3; --dawn-line: #EFE2C8; --radius-lg: 14px; }
/* v5 bands: .paper and .mist read as the light record grounds, .night as the clock. */
.paper, .mist {
  --fg: var(--night); --fg-2: var(--steel); --inv: var(--daylight); --accent: var(--violet); --rule: var(--paper-rule); --focus: var(--night);
  --btn-bg: var(--violet); --btn-fg: var(--daylight); --btn-hover: var(--indigo); --btn-line: var(--night);
  --plate: var(--night); --plate-line: var(--night);
  --failed-fg: var(--dawn-text); --failed-bg: var(--dawn-wash); --failed-line: var(--dawn-text);
  --none: var(--steel); --sample-bg: var(--lilac); --sample-fg: var(--night); --sample-line: var(--lilac); --tt-rule: var(--tt);
}
.paper { --bg: var(--paper); }
.mist { --bg: var(--paper-deep); }
.night {
  --bg: var(--night); --fg: var(--daylight); --fg-2: var(--on-night); --inv: var(--night); --accent: var(--lilac); --rule: var(--rule-night); --focus: var(--daylight);
  --btn-bg: var(--lilac); --btn-fg: var(--night); --btn-hover: var(--lilac-pale); --btn-line: var(--daylight);
  --plate: var(--night); --plate-line: var(--on-night);
  --failed-fg: var(--dawn-text); --failed-bg: var(--dawn-wash); --failed-line: var(--dawn-text);   /* a self-contained wash chip */
  --none: var(--on-night); --sample-bg: var(--lilac); --sample-fg: var(--night); --sample-line: var(--lilac); --tt-rule: var(--tt-dark);
}
.paper, .mist, .night { background-color: var(--bg); color: var(--fg); }
.section-head { display: grid; gap: 16px; max-width: 820px; margin-bottom: clamp(36px, 4.4vw, 60px); }
.section-head > p:not(.kicker) { font-size: 18.5px; line-height: 1.55; color: var(--fg-2); max-width: 36em; }
.section-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 40px; font-size: 15.5px; color: var(--fg-2); }
:is(.night, .paper, .mist) :not(.section-head) > .kicker + h2 { margin-top: 14px; }
.muted { font-size: 14.5px; color: var(--fg-2); }
.fine.center { margin-top: 40px; text-align: center; }
.display .line { display: block; color: var(--on-night); }
.btn.dark { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.btn.dark:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn.ghost { background: transparent; border-color: var(--btn-line); color: var(--btn-line); }
button.link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: none; border: 0; font: 650 15.5px/1.3 var(--sans); color: var(--accent); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em; }
.status-checked, .status-failed { display: inline-flex; align-items: center; min-height: 30px; padding: 6px 11px; border: 1.5px solid transparent; border-radius: var(--radius); font: 500 12.5px/1.35 var(--mono); letter-spacing: .07em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.status-checked { background: var(--plate); color: var(--daylight); border-color: var(--plate-line); }
.status-failed { background: var(--failed-bg); color: var(--failed-fg); border: 1.5px dashed var(--failed-line); }
.ledger:not([data-board]) { border-left: 0; }                 /* the notes page's v5 .ledger (53-notes.css) */
.ledger[data-board] { gap: 0; }
.ledger[data-board] .ledger-def { font-size: 14.5px; color: var(--fg-2); }
:is(.night, .paper, .mist) select { appearance: auto; }
/* ==========================================================================
   Shell · status rail, masthead and mobile menu (every page, from documentShell)
   The rail states what this site is before anything else: a preview, sample civil
   records, proposed pricing, and no court feed yet. "No court feed yet" stays
   visible at every width; it uses the dashed NOT COVERED construction. The rail
   scrolls away; the paper masthead stays, ruled underneath with the thick-thin rule.
   ========================================================================== */

/* ---- Status rail ----------------------------------------------------------------------------
   Every item carries its own leading separator of a fixed width (--sep), and the list is
   shifted left by that width inside a clipped row: whichever item starts a line, its
   separator falls outside the clip, so a wrapped line never begins with an orphan dot. */
.rail { background: var(--night); color: var(--on-night-2); }
.rail-row { display: flex; align-items: center; min-height: 34px; padding-block: 8px; overflow: hidden; }
.rail-list { --sep: 2.1em; display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; width: calc(100% + var(--sep)); margin-left: calc(-1 * var(--sep)); font: 500 11.5px/1.45 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.rail-list li { display: inline-flex; align-items: center; white-space: nowrap; }      /* items never break: no orphaned words */
.rail-list li::before { content: "·"; content: "·" / ""; flex: none; width: var(--sep); text-align: center; color: var(--on-night); }
.rail-gap { margin-left: auto; padding-left: var(--sep); }
.rail-gap::before { content: none !important; }
.rail-feed { color: var(--daylight); }
.rail-feed i { width: 9px; height: 9px; margin-right: 9px; border: 1.5px dashed var(--on-night-2); flex: none; }   /* the NOT COVERED construction */

/* ---- Lockup (masthead and footer). The mark is never recoloured: its ticks and P follow
   the ground, the Dawn check tick is fixed in the SVG. */
.lockup { display: inline-flex; align-items: center; gap: 11px; color: var(--fg); text-decoration: none; }
.lockup .mark { flex: none; }
.wordmark { font-weight: 800; font-stretch: 125%; letter-spacing: .02em; word-spacing: .3em; font-size: 18px; line-height: 1; white-space: nowrap; }

/* ---- Masthead ----------------------------------------------------------------------------------- */
.mast { position: sticky; top: 0; z-index: 40; }
.mast::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 5px; background: linear-gradient(var(--night) 0 2px, var(--paper) 2px 4px, var(--night) 4px 5px); pointer-events: none; }
.mast-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--mast-h); }
.mast .lockup { color: var(--night); }
.mast-nav { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.mast-nav a, .mast-signin { position: relative; padding: 12px 2px; font-weight: 620; font-size: 15.5px; color: var(--night); text-decoration: none; white-space: nowrap; }
.mast-nav a::after, .mast-signin::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 3px; background: var(--violet); transform: scaleX(0); transform-origin: left; }
.mast-nav a:hover::after, .mast-nav a[aria-current]::after, .mast-signin:hover::after { transform: none; }
.mast-actions { display: flex; align-items: center; gap: 20px; }

/* ---- Mobile menu: a paper slip with a flat violet offset ------------------------------------- */
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--night); border-radius: var(--radius); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 18px; height: 2px; background: var(--night); position: relative; }
.menu summary span::before, .menu summary span::after { content: ""; position: absolute; left: 0; }
.menu summary span::before { top: -6px; }
.menu summary span::after { top: 6px; }
.menu summary:hover { background: var(--paper-deep); }
.menu[open] summary { background: var(--night); }
.menu[open] summary span { background: transparent; }                        /* the bars become a cross */
.menu[open] summary span::before, .menu[open] summary span::after { background: var(--daylight); top: 0; }
.menu[open] summary span::before { transform: rotate(45deg); }
.menu[open] summary span::after { transform: rotate(-45deg); }
.menu nav { position: absolute; right: 0; top: 56px; width: min(340px, 100vw - 2 * var(--gutter)); display: grid; gap: 2px; padding: 10px; background: var(--paper); border: 1.5px solid var(--night); box-shadow: 8px 8px 0 var(--violet); }
.menu nav a:not(.btn) { padding: 13px 12px; font-weight: 620; text-decoration: none; border-bottom: 1px solid var(--paper-rule); }
.menu nav a:not(.btn):last-child { border-bottom: 0; }
.menu nav a:not(.btn):hover { background: var(--paper-deep); }
.menu nav a[aria-current] { box-shadow: inset 4px 0 0 var(--violet); }
.menu nav .btn { margin: 8px 0 6px; }

/* Wide → laptop: the rail drops to four facts (all six need about 1005 px plus a gap). */
@media (max-width: 1179px) { .rail-list .r3 { display: none; } }
/* The nav folds into the menu. */
@media (max-width: 1099px) {
  .mast-nav, .mast-signin { display: none; }
  .menu { display: block; }
}
/* Phone: a one-line rail with the two most important facts, a 58 px masthead. */
@media (max-width: 679px) {
  :root { --mast-h: 58px; }
  .rail-row { min-height: 30px; padding-block: 7px; }
  .rail-list { font-size: 11px; letter-spacing: .06em; }
  .rail-list .r2 { display: none; }
  .mast-actions > .btn { display: none; }
  .menu nav { top: 52px; }
}

/* Production account actions (src/membership/shared.mjs publicAccount): on courtprep.com the Worker removes the
   variant that does not apply to the visitor on inner pages; on the home page both are served and data-session picks. */
html[data-session="member"] .signin.guest, html:not([data-session="member"]) .signin.member { display: none; }
.mast-actions { gap: clamp(10px, 1.4vw, 22px); }
.mast-actions .mast-demo { font: 600 .95rem/1.2 var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.mast-actions .mast-demo:hover { color: var(--violet); }
.mast-actions .sales-apply:not(.btn) { display: inline-flex; align-items: center; min-height: 40px; padding: .55rem 1rem; background: var(--violet); color: var(--daylight); border: 2px solid var(--violet); font: 600 .95rem/1.1 var(--sans); text-decoration: none; }
@media (max-width: 899px) {
  .mast-row { flex-wrap: wrap; row-gap: 6px; }
  .mast .mast-nav { display: flex; order: 3; flex: 1 0 100%; overflow-x: auto; gap: 18px; padding-bottom: 4px; }
  .mast .mast-nav a { white-space: nowrap; }
  .mast-actions .mast-demo { display: none; }
}
/* ==========================================================================
   Home (/) · "show the artifact, then the method" · owned by P1
   Grounds in order: the violet poster with the paper sample brief → Daylight § 1 head →
   the triptych (Marker | Night | Paper) → Daylight doors → Night § 2 (the failure rule,
   three ways, two mornings) → the page's one Lilac band § 3 (the reviewer relay) → Paper
   § 4 (what is real today) → Night § 5 (tickets) → the violet closing (shell).
   Budgets: at 1440 × 900 the redline's new value and its OBSERVED stamp sit in the first
   screen; at 390 × 844 the register's first change does; the page stays within 7,400 px
   at 1440 and 10,800 px at 390, which is why home bands are a little tighter than --band.
   Dawn is never drawn here (the instruments in 00-foundation.css draw it); Marker is only
   a ground or the highlighter behind Night text. Generic names are scoped under .pg-home;
   the console's own names (.brief, .reg-*, .console-*, .caption) exist only on this page.
   Rows that sit side by side (triptych panels, doors, mornings) share their row lines
   through subgrid where it is supported, so titles, art and rules line up across them.
   ========================================================================== */

.pg-home .band { padding-block: clamp(36px, 5.2vw, 76px); }

/* ---- Hero: the poster on the owned violet field ----------------------------------------------- */
.pg-home .hero { padding-block: 24px clamp(40px, 4.4vw, 64px); }
.hero-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.edition-stamp { padding: 7px 10px 6px; border: 1.5px solid var(--lilac-pale); font: 500 12px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--daylight); white-space: nowrap; }
.pg-home .hero .poster { margin-top: 20px; }
.hero-lede { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 48px; margin-top: 22px; }
.hero-lede .deck { color: var(--lilac-pale); text-wrap: pretty; }
.hero-cta { display: grid; justify-items: start; }

/* ---- The sample brief (console) ----------------------------------------------------------------- */
.brief { position: relative; margin-top: 50px; scroll-margin-top: 48px; }
.brief-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; padding: 15px clamp(18px, 2vw, 26px) 20px; }
.brief-title { font-weight: 800; font-stretch: 118%; text-transform: uppercase; letter-spacing: .03em; font-size: 15px; line-height: 1.2; }
.brief-date, .brief-count { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.brief-count { margin-left: auto; color: var(--steel); }
.brief-count b { font-weight: 500; color: var(--night); }
.brief-body { display: grid; grid-template-columns: clamp(280px, 91.6vw - 892px, 344px) minmax(0, 1fr) 290px; }
/* Six entries: where the page is wide enough the register widens (up to 344 px) so each title keeps to one line,
   but never so far that the four view tabs (about 540 px) stop fitting on one line beside it. */

/* Register of changes (tablist 1) */
.register { border-right: 1px solid var(--rule); padding: 12px 0 18px; }
.register-label { padding: 6px 22px 12px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--steel); }
.reg-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 10px; width: 100%; padding: 11px 22px 12px; background: none; border: 0; border-top: 1px solid var(--rule); text-align: left; color: var(--night); }
.reg-row:last-child { border-bottom: 1px solid var(--rule); }
.reg-row:hover { background: rgba(255, 255, 255, .55); }
.reg-row[aria-selected="true"] { background: var(--white); box-shadow: inset 5px 0 0 var(--violet); }
.reg-row:focus-visible { outline-offset: -3px; }
.reg-kind, .reg-time, .reg-delta { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.reg-time { color: var(--night); }
.reg-title { grid-column: 1 / -1; margin-top: 2px; font-weight: 720; font-size: 16px; line-height: 1.25; }
.reg-matter, .reg-delta { grid-column: 1 / -1; }
.reg-matter { font-size: 14px; line-height: 1.4; color: var(--steel); }

/* The selected change, four ways (tablist 2 and its one panel) */
.brief-main { min-width: 0; display: grid; gap: 18px; align-content: start; padding: 20px clamp(18px, 2.4vw, 32px) 24px; }
.console-views { display: flex; flex-wrap: wrap; gap: 2px 6px; border-bottom: 1px solid var(--rule); }   /* wraps: never clipped, never a hidden scroller */
.console-views [role="tab"] { min-height: 44px; padding: 10px 12px 11px; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; font-weight: 620; font-size: 15px; line-height: 1.3; color: var(--steel); }
.console-views [role="tab"]:first-child { padding-left: 0; }
.console-views [role="tab"]:hover { color: var(--night); }
.console-views [role="tab"][aria-selected="true"] { color: var(--night); border-bottom-color: var(--violet); }
.console-panel { display: grid; gap: 14px; align-content: start; justify-items: start; min-width: 0; }
.console-panel > * { max-width: 100%; }
.console-panel:focus-visible { outline-offset: 8px; }
.view-label { display: flex; align-items: center; gap: 8px; font: 500 12px/1.45 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
/* What changed: the redline. The old value struck in Steel, the new value in Night on the marker. */
.redline { display: grid; gap: 6px; justify-items: start; margin-top: -4px; }
.redline .was { color: var(--steel); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.3; text-decoration-line: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--steel); }
.redline .was.none { text-decoration: none; }
.redline .now { font-weight: 780; font-stretch: 108%; letter-spacing: -.025em; line-height: 1.08; font-size: clamp(30px, 3.2vw, 46px); font-variant-numeric: tabular-nums; text-wrap: balance; }
.view-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; margin-top: -6px; }
/* The original and the amended order, side by side (only where the court amended an order) */
.view-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; width: 100%; margin-top: 4px; }
.view-pair li { display: grid; gap: 2px; align-content: start; justify-items: start; padding-top: 10px; border-top: 2px solid var(--fg); }
.view-pair span { font: 500 11.5px/1.35 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--fg-2); }
.view-pair b { font: 500 14px/1.4 var(--mono); letter-spacing: .03em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.view-pair i { font-style: normal; font-size: 15.5px; line-height: 1.4; }
.view-pair .more { min-height: 40px; font-size: 15px; }
/* Trace the source */
.pg-home .wording, .q-note, .m-line, .sec-aside > p, .callout { text-wrap: pretty; }
.console-panel .wording { font-size: clamp(18px, 1.5vw, 21px); }
.clocks3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; width: 100%; }
.clocks3 li { display: grid; gap: 3px; align-content: start; padding-top: 10px; border-top: 2px solid var(--fg); }
.clocks3 li:first-child { border-top-style: dashed; }                                   /* the source states a date only */
.clocks3 li:last-child { padding-top: 8px; border-top: 4px double var(--accent); }        /* delivered: COURT PREP acting */
.clocks3 span { font: 500 11.5px/1.35 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--fg-2); }
.clocks3 b { font: 500 14px/1.4 var(--mono); letter-spacing: .03em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.clocks3 i { font-style: normal; font-size: 13.5px; line-height: 1.4; color: var(--fg-2); }
.callout { padding: 12px 16px; background: var(--failed-bg); border: 1.5px dashed var(--failed-line); font-size: 15px; line-height: 1.5; }
/* Judge and court */
.context-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; width: 100%; }
.context-grid > div { display: grid; gap: 8px; align-content: start; justify-items: start; }
.context-grid .fine + .view-label { margin-top: 8px; }
.ctx-name { font-weight: 720; font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }
.ctx-list { display: grid; gap: 2px; font-size: 15.5px; }
.ctx-list a { color: var(--violet); text-decoration-thickness: 1.5px; }
.ghost-chart { display: flex; align-items: flex-end; gap: 10px; width: 100%; max-width: 220px; height: 44px; margin-top: 6px; padding: 0 6px; border-bottom: 1.5px dashed var(--steel); }
.ghost-chart i { flex: 1; height: 100%; border: 1.5px dashed var(--steel); border-bottom: 0; }   /* the Proposed construction: no figures, so no shape */
.ctx-proposed { font-size: 14.5px; line-height: 1.5; color: var(--steel); }
.ctx-proposed .tag { margin-right: 8px; }
/* Assign a review: the people card, the notice, its steps and the correction */
.review-notices { display: grid; gap: 22px; justify-self: stretch; }
.notice { position: relative; display: grid; gap: 10px; justify-items: start; padding: 16px 18px 18px; background: var(--white); border: 1.5px solid var(--night); }
.notice .label { color: var(--steel); }
.notice-value { font-weight: 720; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.2; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.notice.is-old { background: transparent; border: 1.5px dashed var(--steel); gap: 6px; }
.notice.is-old .notice-value s { color: var(--steel); text-decoration-thickness: 2px; }
.notice.is-new { margin-top: 4px; }
.steps { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 500 12px/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--steel); }
.steps li { display: inline-flex; align-items: center; gap: 8px; }
.steps li::before { content: ""; flex: none; width: 10px; height: 10px; border: 1.5px solid currentColor; border-radius: 1px; }
.steps li.done, .steps li.here { color: var(--night); }
.steps li.done::before { background: var(--night); }
.steps li.here::before { border-style: dashed; }
.notice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 4px; }
.st-done { background: var(--plate); color: var(--daylight); border-color: var(--plate-line); }   /* a Night plate; no Dawn: it is not a check */
/* The status line stays rendered (so it is announced when it changes); empty, it gives back its gap. */
.demo-status { font: 500 13px/1.5 var(--mono); letter-spacing: .02em; color: var(--night); }
.demo-status:empty { margin-top: -14px; }

/* Case caption under the panel: parties, the ")" column, the docket */
.caption { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.cap-parties { display: grid; align-content: center; font-weight: 750; font-stretch: 112%; text-transform: uppercase; letter-spacing: .01em; font-size: 15px; line-height: 1.35; }
.cap-parties .v { padding-left: 1.4em; font-weight: 500; font-stretch: 100%; text-transform: none; color: var(--steel); }
.cap-paren { display: grid; font: 500 15px/1.35 var(--mono); color: var(--steel); }
.cap-meta { display: grid; align-content: center; font: 500 12px/1.69 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.cap-meta b { font-weight: 500; color: var(--night); }
.cap-meta a { justify-self: start; color: var(--night); text-decoration-color: var(--violet); text-decoration-thickness: 1.5px; }

/* The court's date as a stamp (stDate in shared.mjs): ink on paper, never a Night plate or a Dawn bar,
   because it is the court's record, not a check. Usable on any ground. */
.st-date { background: var(--paper); color: var(--night); border-color: var(--night); padding-left: 8px; }
.st-date::before { content: ""; flex: none; align-self: stretch; width: 4px; min-height: 16px; background: var(--night); }

/* The Night inset: the Year Dial (yearDial in shared.mjs) and its caption at real sizes. It marks the
   court's date on the twelve months of its year: a light tick and the date in the centre, no Dawn. */
.dial-year .d-num { font-size: 17px; }
.dial .d-court { fill: none; stroke: var(--daylight); stroke-width: 9; stroke-dasharray: 38; }   /* 38 = the tick's length */
.dial .d-date { fill: var(--daylight); font-size: 42px; letter-spacing: -.02em; }
.dial .d-year { fill: var(--on-night); font-size: 19px; letter-spacing: .1em; }
@media (prefers-reduced-motion: no-preference) {      /* the signature's last beat: the court-date tick lands */
  [data-console].play .d-src.is-on .d-court { animation: cp-tick .45s var(--ease) 1.35s both; }
  [data-console].play .view .st-date::before { animation: cp-bar .45s var(--ease) 1.35s both; transform-origin: bottom; }
}
.brief-dial { display: grid; align-content: center; justify-items: center; gap: 16px; padding: 24px 18px; }
.brief-dial .dial { max-width: 208px; }
.brief-dial .dial-cap { justify-items: center; text-align: center; }
.brief-dial .dial-cap .label { text-wrap: balance; }
/* Cases in this brief: one row per case, its docket and court, and its latest record */
.brief-foot { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px clamp(20px, 3vw, 44px); padding: 16px clamp(18px, 2vw, 26px) 12px; border-top: 1px solid var(--rule); }
.brief-foot .register-label { padding: 4px 0 0; }
.foot-cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px clamp(14px, 1.8vw, 26px); }
.foot-case { display: grid; gap: 3px; align-content: start; justify-items: start; padding-left: 12px; border-left: 3px solid var(--paper-rule); }
.foot-case.is-on { border-left-color: var(--violet); }       /* the case of the selected entry */
.foot-case .src-name { min-width: 0; color: var(--night); line-height: 1.3; text-decoration-color: var(--violet); text-decoration-thickness: 1.5px; }
.foot-case .label { font-size: 11px; letter-spacing: .06em; line-height: 1.45; }
.foot-case .more { min-height: 36px; font-size: 14.5px; }
.brief-noscript { padding: 14px clamp(18px, 2vw, 26px); border-top: 1px solid var(--rule); }

/* What this preview is */
.pg-home .truth { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 3vw, 40px); border-top: 1.5px solid var(--lilac-pale); }
.pg-home .truth li { display: grid; gap: 4px; align-content: start; padding: 16px 24px 0 0; font-size: 15px; line-height: 1.45; color: var(--lilac-pale); }
.pg-home .truth li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.pg-home .truth b { font: 500 12.5px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--daylight); }

/* ---- § 1 · one sample record, three questions ------------------------------------------------- */
.q3-head { padding-block: clamp(40px, 5vw, 72px) clamp(24px, 2.8vw, 40px); }
.q3-head .sec-head { margin-bottom: 0; }
.q3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); container-type: inline-size; }
.q { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: clamp(28px, 2.8vw, 40px) clamp(24px, 3vw, 44px); }
/* The outer panels pad to the edge of the wrap, so the triptych's text lines up with the page. */
.q:first-child { padding-left: max(var(--gutter), (100vw - var(--wrap)) / 2); padding-left: max(var(--gutter), (100cqw - var(--wrap)) / 2); }
.q:last-child { padding-right: max(var(--gutter), (100vw - var(--wrap)) / 2); padding-right: max(var(--gutter), (100cqw - var(--wrap)) / 2); }
.q-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding-bottom: 14px; border-bottom: 1.5px solid currentColor; }
.q-num { font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.q-num b { font-weight: 500; font-size: 15px; }
.q-art { display: grid; gap: 14px; align-content: start; justify-items: start; }
.q-note { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.5; color: var(--fg-2); max-width: 26em; }
.q-redline { display: grid; gap: 6px; }
.q-redline .was { color: var(--body); font-size: 19px; line-height: 1.3; text-decoration-thickness: 2px; text-decoration-color: var(--body); }
.q-redline .now { font-weight: 800; font-stretch: 108%; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.04; letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-wrap: balance; }
.q-strip { display: grid; width: 100%; }
.q-stamps { display: grid; gap: 10px; justify-items: start; }
.q .clocks3 { grid-template-columns: minmax(0, 1fr); gap: 0; }
.q .clocks3 li { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: baseline; padding-block: 8px 9px; }
.q .clocks3 li:last-child { padding-top: 7px; }
.q .clocks3 b { text-align: right; }
.q .clocks3 i { grid-column: 2; margin-top: -2px; text-align: right; }
.q-source .more { margin-top: 2px; }
.q-links { display: grid; justify-items: start; }
.q-links .more { min-height: 40px; }
.q-pair { margin-top: -4px; }
@media (min-width: 1180px) { .q3 { min-height: 560px; } }
@media (min-width: 900px) and (max-width: 1179px) {          /* narrow panels: each clock reads label, then value */
  .q .clocks3 li { grid-template-columns: minmax(0, 1fr); }
  .q .clocks3 b, .q .clocks3 i { grid-column: 1; text-align: left; }
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 900px) {
    .q3 { grid-template-rows: auto auto 1fr auto; }
    .q { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 20px; }
    .q-note { align-self: start; margin-top: 0; }      /* the notes' rules line up across the three panels */
  }
}

/* ---- Doors: four ways into the same brief ------------------------------------------------------- */
.doors-band { padding-block: clamp(40px, 5vw, 72px); }
.doors-band .sec-head { max-width: none; }
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--night); }
.door { display: flex; flex-direction: column; gap: 12px; padding: 22px clamp(16px, 1.8vw, 26px) 8px; border-right: 1px solid var(--rule); }
.door:first-child { padding-left: 0; }
.door:last-child { padding-right: 0; border-right: 0; }
.door .label b { font-weight: 500; color: var(--night); }
.door h3 { max-width: 15em; }
.door-art { display: grid; align-content: start; padding: 35px 8px 4px 0; }   /* room for the vignette's exhibit tab */
.door-meta { margin-top: auto; font: 500 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.door .more { align-self: flex-start; justify-self: start; }
.door-art .ex-tab { left: 0; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 680px) {
    .doors { grid-template-rows: auto auto 1fr auto auto; }
    .door { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 12px; }
    .door-meta { margin-top: 0; }
  }
}
/* 01 · the phone-width brief slip */
.phone-slip { position: relative; display: grid; gap: 10px; justify-items: start; width: 100%; max-width: 250px; padding: 14px 12px 16px; }
.phone-slip .st { letter-spacing: .04em; }     /* at phone width the failed stamp breaks after its separator */
.ps-hello { font-size: 14.5px; line-height: 1.4; }
.ps-hello b { font-weight: 750; }
.ps-rows { display: grid; gap: 5px; width: 100%; padding-block: 8px; border-block: 1px solid var(--rule); font-size: 13.5px; line-height: 1.35; }
.ps-rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 8px; }
.ps-time { font: 500 12px/1.5 var(--mono); letter-spacing: .02em; white-space: nowrap; }
.ps-rows .ico { margin-top: 1px; }
/* 02 · the reviewer, the backup and their log */
.team-slip { position: relative; display: grid; gap: 12px; width: 100%; padding: 14px 16px 10px; border-top: 6px solid var(--night); }
.team-slip .ex-tab { bottom: calc(100% + 6px); }          /* the tab sits on the slip's Night band */
.team-people { display: flex; }
.team-people .av + .av { margin-left: -6px; background: var(--paper); }
.team-log { display: grid; font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.team-log li { display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; gap: 8px; padding-block: 7px; border-top: 1px solid var(--rule); }
.team-log b { font-weight: 500; color: var(--steel); }
/* 03 · sources, their last good check and their failures */
.source-sheet { position: relative; display: grid; gap: 14px; width: 100%; padding: 14px 16px 16px; }
.source-sheet .src-row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }    /* name, strip, stamp: a wide stamp never squeezes the strip */
.source-sheet .src-name { min-width: 0; }
.source-sheet .strip { width: 100%; max-width: 184px; }
/* 04 · the read only sample API: each key over its value, so nothing wraps mid-string */
.api-sheet { position: relative; width: 100%; }
.door-code.code { padding: 12px 14px; font-size: 12.5px; line-height: 1.55; white-space: pre; overflow: hidden; }
.door-code .ln { display: block; margin-inline: -6px; padding-inline: 6px; }
.door-code .v { display: block; padding-left: 2ch; }

/* ---- § 2 · a failed check is not a quiet day --------------------------------------------------- */
.fail-band .sec-head > p:not(.kicker) { color: var(--on-night-2); }
.ways-title { margin-bottom: 14px; font-size: 21px; }
.m-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: clamp(28px, 2.8vw, 36px); }
.pg-home .switch { display: inline-flex; border: 1.5px solid var(--on-night); border-radius: var(--radius); }
.pg-home .switch button { min-height: 44px; padding: 9px 16px; background: none; border: 0; color: var(--daylight); font-weight: 620; font-size: 15.5px; }
.pg-home .switch button + button { border-left: 1.5px solid var(--on-night); }
.pg-home .switch button:hover { background: var(--night-2); }
.pg-home .switch button[aria-pressed="true"] { background: var(--lilac); color: var(--night); }
.pg-home .switch button:focus-visible { outline-offset: 2px; }
.switch-status { font: 500 13px/1.5 var(--mono); letter-spacing: .02em; color: var(--on-night-2); max-width: 56em; }
.pg-home .mornings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.morning { display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 14px; align-content: start; padding: clamp(20px, 2.2vw, 30px); }
@supports (grid-template-rows: subgrid) {
  .pg-home .mornings { grid-template-rows: auto auto auto auto 1fr auto; }
  .pg-home .morning { grid-row: span 6; grid-template-rows: subgrid; row-gap: 14px; }
}
.morning > .strip, .morning > .ribbon { align-self: end; }
.morning .strip-scale { margin-top: -8px; }
.morning.is-failed { border: 1.5px dashed var(--dawn-text); }
.morning.is-current { box-shadow: 10px 10px 0 var(--lilac); }
.m-label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 14px; font: 500 11.5px/1.45 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.m-label > span:first-child { flex: 1 1 0; min-width: 12em; }    /* the tag keeps its place beside the label on a narrow card */
.m-line { max-width: 26em; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.36; font-weight: 620; letter-spacing: -.012em; }
.m-age { font: 500 12.5px/1.5 var(--mono); letter-spacing: .04em; color: var(--steel); }
.morning.is-failed .m-age { color: var(--dawn-text); }
@media (prefers-reduced-motion: no-preference) {
  .morning.is-current { transition: box-shadow .25s var(--ease); }
  .morning.replay .strip i.lit { animation: cp-bar .45s var(--ease) both; transform-origin: bottom; }      /* the lit tick grows again */
  .morning.replay .ribbon-age i { animation: m-age .6s var(--ease) both; transform-origin: right; }       /* the age bracket draws from Tue back to Mon */
}
@keyframes m-age { from { transform: scaleX(0); } }

/* ---- § 3 · the reviewer relay on the page's one lilac band ------------------------------------ */
.sec-aside { display: grid; gap: 20px; justify-items: start; }
.sec-aside > p { font-size: 18.5px; line-height: 1.55; color: var(--fg-2); max-width: 36em; }
.pg-home .relay { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pg-home .relay::before { content: ""; position: absolute; left: 0; right: 0; top: 33px; border-top: 2px dashed var(--night); }
.pg-home .relay .slip { z-index: 1; }
.pg-home .relay .slip-stamp { font-size: 12px; line-height: 1; }
.pg-home .relay .slip.is-corrected { padding-top: 4px; }   /* its content starts level with the other slips */      /* .slip p (00-foundation) would otherwise set the stamp at 15.5 px */
.relay-band .sec-head.split { align-items: start; }
.relay-band .sec-foot { color: var(--body); }

/* ---- § 4 · what is real today ------------------------------------------------------------------ */
.ledger-band .sec-head { margin-bottom: clamp(28px, 3.2vw, 44px); }
.pg-home .ledger-col li { padding-block: 10px 11px; }
.pg-home .ledger-col > header { padding-block: 18px 14px; }
.pg-home .ledger-col.proposed > header { padding-top: 23px; }

/* ---- § 5 · two sizes, as tickets ------------------------------------------------------------------ */
.tease-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 32px clamp(36px, 6vw, 96px); align-items: center; }
.tease-copy { display: grid; gap: 18px; justify-items: start; }
.tease-copy > p:not(.kicker) { font-size: 18.5px; line-height: 1.55; color: var(--on-night-2); max-width: 28em; }
.pg-home .tickets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pg-home .tickets .fine { grid-column: 1 / -1; }
.ticket { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px 24px; text-decoration: none; }
.ticket.g-violet { box-shadow: inset 0 0 0 1.5px var(--lilac); }
.ticket:hover { transform: translateY(-4px); }
.ticket:focus-visible { outline: 3px solid var(--daylight); outline-offset: 4px; }       /* the ring sits on the Night band */
.t-name { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 10px; font: 500 12.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.t-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 10px; }
.t-price small { font: 500 13px/1 var(--mono); letter-spacing: .04em; color: var(--fg-2); }
.t-terms { margin-top: 4px; padding-top: 12px; border-top: 1.5px dashed currentColor; font-size: 15px; line-height: 1.45; }
.t-unit { font: 500 12.5px/1.5 var(--mono); letter-spacing: .03em; color: var(--fg-2); text-wrap: balance; }
@media (prefers-reduced-motion: no-preference) { .ticket { transition: transform .25s var(--ease); } }

/* ---- Breakpoints (max-width): 1179 · 1099 · 899 · 679 · 419 -------------------------------------- */
@media (max-width: 1179px) {
  .brief-body { grid-template-columns: 250px minmax(0, 1fr); }
  .brief-dial { grid-column: 1 / -1; grid-template-columns: 150px minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 24px; padding: 18px clamp(18px, 2vw, 26px); }
  .brief-dial .dial-cap { justify-items: start; text-align: left; }
  .foot-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .door:nth-child(2) { padding-right: 0; border-right: 0; }
  .door:nth-child(3) { padding-left: 0; }
  .door:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 1099px) {
  .hero-lede { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .brief-body { grid-template-columns: minmax(0, 1fr); }
  .register { border-right: 0; padding-bottom: 0; }
  .brief-foot { grid-template-columns: minmax(0, 1fr); }
  .pg-home .truth { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .pg-home .truth li, .pg-home .truth li + li { padding: 12px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .q3 { grid-template-columns: minmax(0, 1fr); }
  .q, .q:first-child, .q:last-child { padding-inline: var(--gutter); }
  .q .panel-title br { display: none; }
  .pg-home .relay { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .pg-home .relay::before { display: none; }
  .tease-grid { grid-template-columns: minmax(0, 1fr); }
  .pg-home .mornings { grid-template-columns: minmax(0, 1fr); }
}
/* Phone: everything stacks, in a tighter rhythm (the page's phone budget is 10,800 px at 390). */
@media (max-width: 679px) {
  .pg-home .band { padding-block: 36px; }
  .pg-home .sec-head { gap: 10px; margin-bottom: 22px; }
  .pg-home main .kicker { font-size: 11.5px; letter-spacing: .06em; }
  .pg-home .hero { padding-block: 16px 44px; }
  .hero-top { padding-bottom: 10px; }
  .edition-stamp { display: none; }
  .pg-home .hero .poster { margin-top: 14px; }
  .hero-lede { gap: 16px; margin-top: 14px; }
  .hero-lede .deck { font-size: 17px; }
  .brief { margin-top: 42px; margin-right: 8px; }
  .brief-head { padding: 11px 14px 15px; gap: 3px 14px; }
  .brief-count { margin-left: 0; flex-basis: 100%; font-size: 11px; letter-spacing: .05em; }
  .register { padding-top: 4px; }
  .register-label { padding: 6px 14px 8px; }
  .reg-row { padding: 9px 14px 10px; }
  .brief-main { gap: 14px; padding: 16px 14px 18px; }
  .console-panel { gap: 12px; }
  .view-label { font-size: 11.5px; letter-spacing: .05em; }
  .redline .now { font-size: clamp(24px, 7.2vw, 30px); }
  .clocks3, .context-grid, .view-pair { grid-template-columns: minmax(0, 1fr); }
  .caption { grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr); gap: 0 10px; padding-top: 12px; }
  .cap-parties { font-size: 13.5px; }
  .cap-paren { font-size: 13.5px; line-height: 1.35; }
  .cap-meta { font-size: 11px; line-height: 1.66; letter-spacing: .04em; }
  .brief-dial { grid-template-columns: 104px minmax(0, 1fr); gap: 8px 14px; padding: 12px 14px; }
  .brief-dial .dial-cap { gap: 8px; }
  .brief-dial .dial-cap .label { font-size: 11.5px; letter-spacing: .06em; }
  .brief-foot { gap: 8px; padding: 12px 14px 14px; }
  .brief-foot .src-row { row-gap: 6px; }
  .pg-home .truth { margin-top: 28px; }
  .pg-home .truth li, .pg-home .truth li + li { display: block; padding: 8px 0; font-size: 14.5px; }
  .pg-home .truth b { margin-right: .7em; }
  .q3-head { padding-block: 40px 24px; }
  .q { gap: 14px; padding-block: 32px; }
  .q-top { padding-bottom: 8px; }
  .q .st { letter-spacing: .05em; }
  .q .panel-title { font-size: clamp(30px, 8.6vw, 36px); }
  .q-note { padding-top: 12px; font-size: 15px; }
  .q .wording { font-size: 19px; }
  .q .clocks3 li { padding-block: 7px 8px; }
  .doors-band { padding-block: 40px; }
  .doors { grid-template-columns: minmax(0, 1fr); }
  .door, .door:nth-child(n) { gap: 6px; padding: 12px 0 8px; border-right: 0; border-top: 0; border-bottom: 1px solid var(--rule); }
  .door h3 { font-size: 19px; }
  .door-art { display: none; }
  .door-meta { margin-top: 2px; }
  .ways-title { margin-bottom: 12px; font-size: 19px; }
  .pg-home .ways { gap: 14px; padding-top: 16px; }
  .pg-home .ways li { gap: 8px; }
  .pg-home .ways p { font-size: 15px; }
  .m-controls { row-gap: 0; margin-top: 28px; }
  .switch-status:not(:empty) { margin-top: 10px; }
  .pg-home .switch { width: 100%; }
  .pg-home .switch button { flex: 1 1 50%; }
  .pg-home .mornings { gap: 16px; margin-top: 16px; }
  .morning { gap: 12px; padding: 18px 16px; }
  .pg-home .morning { row-gap: 12px; }
  .m-label { letter-spacing: .06em; }
  .m-line { font-size: 17px; }
  .m-age { letter-spacing: .02em; }
  .sec-aside { gap: 16px; }
  .sec-aside > p { font-size: 17px; }
  .pg-home .relay { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pg-home .relay .slip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 0 16px 14px; }   /* stamp and step share a line when they fit */
  .pg-home .relay .slip-stamp { margin: 14px 0 0; }
  .pg-home .relay .slip h3 { margin-top: 14px; font-size: 21px; }
  .pg-home .relay .slip > p:not(.slip-stamp) { flex: 1 1 100%; }
  .pg-home .relay .slip > p:not(.slip-stamp):not(.slip-who) { font-size: 15px; }
  .pg-home .relay .slip .slip-who { padding-top: 10px; }
  .relay-band .sec-foot { display: block; margin-top: 26px; }
  .relay-band .sec-foot .tag { margin-right: 8px; }
  .relay-band .sec-foot .more { display: flex; width: fit-content; margin-top: 4px; }
  .tease-copy { gap: 12px; }
  .tease-copy > p:not(.kicker) { font-size: 17px; }
  .pg-home .tickets { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ticket { padding: 18px 16px 16px; gap: 8px; }
  .pg-home .ledger-col + .ledger-col { margin-top: 12px; }
  .pg-home .ledger-col > header, .pg-home .ledger-col.proposed > header { padding-block: 14px 6px; }
}
/* Two tickets side by side, like stubs, wherever two columns still hold their arithmetic. */
@media (min-width: 360px) and (max-width: 679px) {
  .pg-home .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ticket { padding: 16px 14px 14px; }
  .t-price { margin-top: 4px; }
}
@media (max-width: 419px) {
  .console-views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .console-views [role="tab"], .console-views [role="tab"]:first-child { padding-inline: 12px; text-align: left; }
}
/* COURT PREP v6 · production home bands: the seven features, CP Firm Brain and the integrations register.
   Same materials and constructions as the rest of the home page; no Dawn (not an instrument), Marker never as text. */
.features-band .sec-head { margin-bottom: clamp(20px, 2.6vw, 36px); }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.feature { display: grid; align-content: start; gap: .55rem; padding: clamp(18px, 2vw, 26px) clamp(16px, 1.8vw, 24px) clamp(20px, 2.2vw, 28px); border-bottom: 1px solid var(--paper-rule); border-right: 1px solid var(--paper-rule); background: var(--paper); scroll-margin-top: 96px; }
.feature:target { background: var(--white); box-shadow: inset 0 0 0 2px var(--violet); }
.feature-n { display: flex; align-items: baseline; gap: .7rem; margin: 0; font: 500 .78rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.feature-n b { font: 700 1.6rem/1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.feature h3 { margin: .2rem 0 0; font: 700 clamp(1.25rem, 1.6vw, 1.5rem)/1.12 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.feature p { margin: 0; color: var(--ink-2, var(--ink)); }
.feature .more { margin-top: .35rem; }
.brain-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.brain-copy h2 { margin: .4rem 0 1rem; }
.brain-copy p { max-width: 60ch; }
.brain-sources { padding: clamp(18px, 2vw, 28px); background: var(--white); }
.brain-sources .ex-tab { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.brain-sources ul { display: grid; gap: 0; margin: .8rem 0; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); }
.brain-sources li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--paper-rule); }
.brain-sources li b { font: 500 .78rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.integrations { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: clamp(18px, 2vw, 28px) clamp(16px, 2vw, 32px); margin-top: clamp(18px, 2.4vw, 30px); }
.int-group h3 { margin: 0 0 .5rem; padding-bottom: .4rem; border-bottom: 2px solid var(--ink); font: 500 .8rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.int-group ul { margin: 0; padding: 0; list-style: none; }
.int-group li { padding: .32rem 0; border-bottom: 1px solid var(--paper-rule); font: 500 .98rem/1.35 var(--sans); color: var(--ink); }
.int-group li.is-not-built { color: var(--steel, var(--ink)); }
.int-group li small { margin-left: .35rem; padding: 0 .35rem; border: 1px dashed currentColor; font: 500 .66rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.tease-copy .actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 1.2rem; }
@media (max-width: 899px) { .brain-grid { grid-template-columns: 1fr; } .brain-sources li { grid-template-columns: 1fr; gap: .2rem; } }
/* ==========================================================================
   Shell · closing band (every page except /demo; helper closing(title, text))
   The violet field again, so the page ends where COURT PREP speaks. A left-hung
   headline and, on the right, a routing slip: a paper sheet with the two next steps,
   both of which say exactly what happens (nothing is sent from this site).
   ========================================================================== */
.closing { padding-block: clamp(64px, 7.6vw, 112px); }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.closing h2 { margin-top: 18px; font-size: clamp(36px, 4.8vw, 68px); }
.closing-copy > p:not(.kicker) { margin-top: 18px; font-size: 19px; color: var(--lilac-pale); max-width: 30em; }
.routing { position: relative; padding: 26px clamp(20px, 2.4vw, 30px) 24px; margin-top: 30px; }
.routing-tab { position: absolute; left: 24px; bottom: 100%; background: var(--lilac); color: var(--night); font: 500 11.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; padding: 10px 14px 9px; border-radius: var(--radius-tab) var(--radius-tab) 0 0; white-space: nowrap; }
.routing li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--paper-rule); }
.routing li:first-child { border-top: 0; padding-top: 4px; }
.routing li:last-child { padding-bottom: 4px; }
.routing-n { grid-row: span 2; align-self: start; font: 800 40px/1 var(--sans); font-stretch: 125%; letter-spacing: -.04em; color: var(--violet); font-variant-numeric: tabular-nums; }
.routing .btn { justify-self: start; }
.routing li p { grid-column: 2; font-size: 15px; line-height: 1.5; color: var(--steel); }
@media (max-width: 899px) { .closing-grid { grid-template-columns: 1fr; } .routing { max-width: 560px; } }
@media (max-width: 679px) {
  .routing { padding-inline: 18px; }
  .routing li { column-gap: 14px; }
  .routing-n { font-size: 32px; }
  .routing .btn { width: 100%; }
  .routing.offset-indigo { box-shadow: 8px 8px 0 var(--indigo); margin-right: 8px; }
}
@media (max-width: 359px) { .routing-tab { left: 14px; letter-spacing: .06em; } }
/* ==========================================================================
   Shell · inner page heads (helper pageHead(); variants by ground)
   Every head: a kicker that names the page, a Display h1, a deck, and the one CTA
   pair (Open the sample brief, then Ask about membership). Page-specific actions are
   .more links in .head-links, never a third button. Grounds: violet (/partners),
   night (/product, /counties/los-angeles, /developers), paper (/counties, /insights,
   /source-notes), lilac (/pricing), daylight (/demo).
   Heads without an aside may set their title on one fitted line: the main column is a
   size container and the page partial sets --fit, the line's measured width in em
   (+3%), e.g. .pg-developers .phead .display.is-fit { --fit: 17.05; }.
   ========================================================================== */
.phead { position: relative; padding-block: clamp(40px, 5.6vw, 84px) clamp(48px, 6vw, 88px); overflow: hidden; }
.phead-grid { display: grid; gap: 36px clamp(32px, 5vw, 80px); align-items: end; }
.phead-grid.has-aside { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.phead-main { min-width: 0; container-type: inline-size; }
.phead .kicker { margin-bottom: 20px; }
.phead .deck { margin-top: 22px; max-width: 38em; }
.g-violet .phead-main .deck, .phead.g-violet .deck { color: var(--lilac-pale); }
.g-night .phead-main .deck, .phead.g-night .deck { color: var(--on-night-2); }
.phead .actions { margin-top: 28px; }
.head-links { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 10px; }
.phead-aside { min-width: 0; }
.phead.tt-bottom::after { bottom: 0; }        /* when the next band is a different light material */

/* Fitted one-line display (heads without an aside) */
.phead .display.is-fit { font-size: clamp(40px, 5.4vw, 96px); font-size: clamp(40px, calc(100cqi / var(--fit, 18)), 112px); white-space: nowrap; }

@media (max-width: 899px) {
  .phead-grid.has-aside { grid-template-columns: 1fr; }
  .phead .display.is-fit { white-space: normal; font-size: clamp(36px, 10.4vw, 58px); }
}
/* ==========================================================================
   /product · "the mechanism, for the docketing lead" (P2; rules scoped to .pg-product)
   Night head with the Year Dial at hero size (the amended order's court date, the original
   order's lighter tick and the dotted arc between them) → Paper § 1: "Read it as" role tabs
   over an annotated exhibit (a white sheet pinned 01–04, each pin level with the screen it
   explains) → Violet: the court's case lookup beside the dated brief → Night § 2: the three
   clocks on one ruler of the court's day → Paper § 3: the ledger and its stage filter →
   Violet close. No Dawn on this page's content: the public records carry no check time.
   Class names avoid the unscoped v5 names still in other partials (.lane, .compare).
   ========================================================================== */

/* A long inner page: its bands run a little tighter than the home page's. */
.pg-product { --band: clamp(48px, 6.1vw, 88px); }
/* Section heads: a little closer to their content; two-line headlines where the split allows. */
.pg-product .band .sec-head { margin-bottom: clamp(32px, 3.4vw, 48px); }
.pg-product :is(.tour-band, .scope-band) .sec-head h2 { text-wrap: pretty; }
@media (min-width: 900px) {
  .pg-product .tour-band .sec-head.split { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
  .pg-product .scope-band .sec-head.split { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); column-gap: clamp(32px, 4.4vw, 64px); }
}

/* ---- Head: a two-line display set to its column, the Year Dial at hero size ----------- */
/* The dial is tall: the head's own padding gives way a little to it. */
.pg-product .phead { padding-block: clamp(36px, 4.4vw, 64px) clamp(44px, 5vw, 72px); }
.pg-product .phead-grid.has-aside { grid-template-columns: minmax(0, 1fr) minmax(0, clamp(300px, 32vw, 420px)); align-items: center; }
.pg-product .phead .display { font-size: clamp(30px, calc(100cqi / 9.2), 96px); }   /* THE CHANGE, / ON THE PAGE.: set to the column like v6's two lines */
.pg-product .hero-dial { display: grid; gap: 18px; justify-items: start; }
.pg-product .dial.dial-hero { max-width: 420px; }
.pg-product .dial-key { font-size: 14.5px; line-height: 1.5; color: var(--on-night); max-width: 28em; }
/* The order it amends: a lighter, shorter tick on its court date and a dotted arc back to it (dates, not checks). */
.pg-product .dial .d-prior { fill: none; stroke: var(--on-night); stroke-width: 5; }
.pg-product .dial .d-span { fill: none; stroke: var(--on-night); stroke-width: 3; stroke-dasharray: 1 7; stroke-linecap: round; }

/* ---- § 1 · Read it as: three roles over the tour --------------------------------------
   Without site.js the tabs stay hidden and the three notes read as a stacked list. */
.pg-product .roles { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 6px 26px; padding: 10px 0 14px; border-top: 2px solid var(--night); border-bottom: 1px solid var(--rule); }
.pg-product .roles-label { grid-column: 1; grid-row: 1; color: var(--night); }
.pg-product .role-tabs { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; gap: 2px 6px; border-bottom: 1px solid var(--rule); }
.pg-product .role-tabs [role="tab"] { min-height: 44px; margin-bottom: -1px; padding: 10px 14px 9px; background: none; border: 0; border-bottom: 3px solid transparent; font-weight: 620; font-size: 15.5px; color: var(--steel); }
.pg-product .role-tabs [role="tab"]:first-child { padding-left: 2px; }
.pg-product .role-tabs [role="tab"]:hover { color: var(--night); }
.pg-product .role-tabs [role="tab"][aria-selected="true"] { color: var(--night); border-bottom-color: var(--violet); }
.pg-product .role-notes { grid-column: 2; display: grid; gap: 6px; padding-top: 4px; }
.pg-product .role-note { font-size: 17px; line-height: 1.5; color: var(--body); max-width: 62em; }
.pg-product .role-note b { font-weight: 700; color: var(--night); }

/* ---- § 1 · The tour: the exhibit (left) and its four screens (right) --------------------
   Each step is one row: its part of the sheet and its explanation share a row, so the parts
   stack into one continuous white sheet with one flat offset, and every pin is level with
   its screen. Below 1100 px each screen is followed by its own part of the sheet. */
.pg-product .tour { --gap: clamp(56px, 6.4vw, 96px); display: grid; margin-top: 52px; }
.pg-product .tour-step { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); column-gap: var(--gap); }
.pg-product .tour-art { grid-column: 1; grid-row: 1; position: relative; display: grid; gap: 12px; align-content: start; padding: 22px clamp(24px, 2.6vw, 38px) 24px; box-shadow: 8px 8px 0 var(--night); }
.pg-product .tour-step + .tour-step .tour-art { border-top: 1px solid var(--rule); }
.pg-product .tour-copy { grid-column: 2; grid-row: 1; display: grid; gap: 10px; align-content: start; justify-items: start; padding: 24px 0 30px 24px; border-left: 4px solid transparent; }
.pg-product .tour-step + .tour-step .tour-copy { box-shadow: inset 0 1px 0 var(--paper-rule); }
.pg-product .tour-step.is-focus .tour-copy { border-left-color: var(--violet); }
.pg-product .tour-n { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--violet); color: var(--daylight); border-radius: var(--radius); font: 500 13px/1 var(--mono); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.pg-product .tour-copy h3 { margin-top: 4px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 780; font-stretch: 106%; letter-spacing: -.02em; line-height: 1.1; }
.pg-product .tour-copy p:not(.tour-n) { font-size: 17px; line-height: 1.55; color: var(--steel); max-width: 27em; }
/* Pins: Violet squares on the sheet's right edge, each on the line its screen is about, with a
   leader to the screen. Set in full here, so no other pin rule can reach them. */
.pg-product .pin { position: absolute; top: auto; right: -16px; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin: -3px 0 0; padding: 0; background: var(--violet); color: var(--daylight); border: 0; border-radius: var(--radius); font: 500 12.5px/1 var(--mono); letter-spacing: .04em; text-decoration: none; text-transform: none; font-variant-numeric: tabular-nums; }
.pg-product .pin::after { content: ""; position: absolute; left: 100%; top: 50%; width: calc(var(--gap) - 16px); border-top: 1.5px solid var(--violet); }
/* The exhibit's own type */
.pg-product .tour-art .ex-tab { left: clamp(20px, 2.4vw, 34px); }
.pg-product .ex-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding-bottom: 15px; margin-bottom: 8px; }
.pg-product .ex-title { font-weight: 800; font-stretch: 118%; text-transform: uppercase; letter-spacing: .03em; font-size: 15px; }
.pg-product .ex-date { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.pg-product .ex-kind { display: flex; align-items: center; gap: 8px; }
.pg-product .ex-moved { display: grid; gap: 4px; }
.pg-product .ex-was { justify-self: start; color: var(--steel); font-size: clamp(17px, 1.4vw, 19px); text-decoration-thickness: 2px; text-decoration-color: var(--steel); }
.pg-product .ex-now { font-weight: 780; font-stretch: 108%; letter-spacing: -.025em; line-height: 1.1; font-size: clamp(28px, 2.8vw, 40px); font-variant-numeric: tabular-nums; }
.pg-product .ex-matter { font-size: 15px; color: var(--steel); }
/* 02: what the document says (COURT PREP's summary of the page, set as a statement, not a quotation) */
.pg-product .tour-art .wording { padding: 0 0 0 18px; border: 0; border-left: 4px solid var(--night); font-size: clamp(19px, 1.6vw, 22px); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; color: var(--night); }
.pg-product .ex-facts { display: grid; margin-top: 4px; border-top: 1px solid var(--rule); }
.pg-product .ex-facts > div { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); align-items: baseline; gap: 4px 14px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.pg-product .ex-facts dt { font: 500 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.pg-product .ex-facts dd { font-size: 15.5px; line-height: 1.4; }
.pg-product .ex-facts a { font-weight: 650; color: var(--night); text-decoration-color: var(--violet); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
/* 03: the source and its signed orders, each linked at its page */
.pg-product .ex-src { margin-top: -4px; font-size: 15px; line-height: 1.45; color: var(--steel); }
.pg-product .ex-docs { display: grid; }
.pg-product .ex-docs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 18px; padding: 10px 0; border-top: 1px solid var(--rule); }
.pg-product .ex-docs li:last-child { border-bottom: 1px solid var(--rule); }
.pg-product .ex-doc-name { grid-column: 1; font-weight: 700; font-size: 15.5px; }
.pg-product .ex-doc-meta { grid-column: 1; font: 500 12px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--steel); font-variant-numeric: tabular-nums; }
.pg-product .ex-docs .more { grid-column: 2; grid-row: 1 / span 2; min-height: 40px; font-size: 15px; }
/* 04: the review, an illustration (roles, never people) */
.pg-product .ex-handoff { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-product .ex-handoff li { padding: 7px 10px 6px; border: 1.5px solid var(--night); border-radius: var(--radius); font: 500 12px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.pg-product .ex-handoff li.is-done { background: var(--night); color: var(--daylight); }
.pg-product .tour-art .people { margin-top: 4px; }

/* ---- Statement · the case lookup beside the dated brief (table on violet) ----------------
   The headline carries the comparison: the lookup's sentence in Lilac-pale, the brief's in Daylight. */
.pg-product .lookup-band .sec-head { max-width: 1000px; }
.pg-product .lk-line { display: block; }
.pg-product .lk-line.is-lookup { color: var(--lilac-pale); }
.pg-product .lookup { font-size: 17px; }
.pg-product .lookup :is(th, td) { padding-block: 14px; }
.pg-product .lookup thead th { padding-block: 0 14px; vertical-align: bottom; color: var(--daylight); }
.pg-product .lookup thead th:nth-child(2) { color: var(--lilac-pale); }
.pg-product .lookup tbody th { width: 22%; font-weight: 700; font-size: 18px; color: var(--daylight); }
.pg-product .lookup td { width: 39%; }
.pg-product .lookup td:nth-child(2) { color: var(--lilac-pale); }
.pg-product .lookup td:last-child { color: var(--daylight); }
.pg-product .lookup tbody tr:hover { background: none; }
.pg-product .lk-text { display: block; font-weight: 650; }
.pg-product .lk-spec { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 18px; }
.pg-product .lk-spec mark { font-weight: 700; }
.pg-product .lk-spec .more { min-height: 0; font-size: 16px; }
.pg-product .lk-was { color: var(--lilac-pale); text-decoration-thickness: 2px; }
.pg-product .lk-people { display: inline-flex; gap: 8px; }
.pg-product .lk-people .av { width: 32px; height: 32px; font-size: 11.5px; }
.pg-product .lookup-note { margin-top: 20px; color: var(--lilac-pale); }

/* ---- § 2 · The three clocks on one ruler of the court's day (Night-2 instrument panel) ------
   A public record carries its court date only: the stated lane runs the whole day, dashed (a date
   with no time), and the observed and delivered lanes stay empty, each saying why. */
.pg-product .clock-lanes { --name-w: 200px; --value-w: 270px; padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.6vw, 36px) clamp(10px, 1.4vw, 18px); border: 1px solid var(--rule); border-radius: var(--radius); }
.pg-product .cl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.pg-product .cl-head .label { color: var(--on-night-2); }
.pg-product .cl-ruler, .pg-product .cl-row { display: grid; grid-template-columns: var(--name-w) minmax(0, 1fr) var(--value-w); column-gap: 28px; align-items: center; }
.pg-product .cl-ruler { row-gap: 6px; padding-top: 16px; }
.pg-product .cl-scale, .pg-product .cl-ticks { grid-column: 2; position: relative; }
.pg-product .cl-scale { height: 12px; font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--on-night); }
.pg-product .cl-scale span { position: absolute; top: 0; transform: translateX(-50%); }
.pg-product .cl-scale span:nth-child(1) { left: 0; transform: none; }
.pg-product .cl-scale span:nth-child(2) { left: 25%; }
.pg-product .cl-scale span:nth-child(3) { left: 50%; }
.pg-product .cl-scale span:nth-child(4) { left: 75%; }
.pg-product .cl-scale span:nth-child(5) { left: 100%; transform: translateX(-100%); }
.pg-product .cl-ticks { display: flex; justify-content: space-between; align-items: end; height: 12px; }
.pg-product .cl-ticks i { width: 1.5px; height: 50%; background: var(--tick-off); }
.pg-product .cl-ticks i:nth-child(6n + 1) { height: 100%; background: var(--on-night); }
.pg-product .cl-row { padding: 16px 0; border-top: 1px solid var(--rule); }
.pg-product .cl-row:first-child { border-top: 0; }
.pg-product .cl-name { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--daylight); }
.pg-product .cl-value { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 15.5px; line-height: 1.45; color: var(--on-night-2); }
.pg-product .is-stated .cl-value { font: 500 15px/1.45 var(--mono); letter-spacing: .02em; color: var(--daylight); font-variant-numeric: tabular-nums; }
.pg-product .cl-track { position: relative; height: 30px; }
.pg-product .cl-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--rule); }
.pg-product .cl-run { position: absolute; top: 50%; }
.pg-product .is-stated .cl-run { left: 0; right: 0; margin-top: -1px; border-top: 2px dashed var(--on-night); }   /* a date: the whole day */
.pg-product .cl-cap { padding: 14px 0 6px; border-top: 1px solid var(--rule); font-size: 14.5px; line-height: 1.5; color: var(--on-night); }

/* ---- § 3 · Scope: the ledger and its stage filter ----------------------------------------
   Segmented, Night outline; pressed is the Violet fill. Set in full, so no other filter rule reaches it. */
.pg-product .filter { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 0 0 30px; padding: 0; border: 0; border-radius: 0; background: none; }
.pg-product .filter::before { content: "Show"; content: "Show" / ""; margin-right: 16px; font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.pg-product .filter button { min-height: 44px; margin: 0 0 0 -1.5px; padding: 10px 18px; background: none; border: 1.5px solid var(--night); border-radius: 0; font: 620 15.5px/1.2 var(--sans); color: var(--night); transition: none; }
.pg-product .filter button:first-of-type { margin-left: 0; border-radius: var(--radius) 0 0 var(--radius); }
.pg-product .filter button:last-of-type { border-radius: 0 var(--radius) var(--radius) 0; }
.pg-product .filter button:hover { background: var(--paper-deep); }
.pg-product .filter button[aria-pressed="true"] { position: relative; background: var(--violet); color: var(--daylight); }
.pg-product .filter button:focus-visible { position: relative; z-index: 1; outline-offset: 2px; }
/* One stage shown: its column takes the width and its list runs in two columns. */
.pg-product .ledger.is-filtered { grid-template-columns: minmax(0, 1fr); }
.pg-product .ledger.is-filtered ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 3.4vw, 56px); }
.pg-product .ledger.is-filtered li { align-content: start; }

/* ---- Breakpoints ----------------------------------------------------------------------------- */
@media (max-width: 1099px) {
  .pg-product .tour { gap: 36px; margin-top: 40px; }
  .pg-product .tour-step { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
  .pg-product .tour-copy, .pg-product .tour-art { grid-column: 1; grid-row: auto; }
  .pg-product .tour-copy { padding: 0 0 0 18px; box-shadow: none !important; }
  .pg-product .tour-step:not(.is-focus) .tour-copy { padding-left: 0; border-left: 0; }
  .pg-product .tour-art { margin-right: 8px; border-top: 0 !important; }
  .pg-product .tour-step:first-child .tour-art { margin-top: 34px; }
  .pg-product .pin { right: 14px; }
  .pg-product .pin::after { content: none; }
  .pg-product .tour-art .ex-now, .pg-product .tour-art .wording, .pg-product .tour-art > .label { padding-right: 44px; }
}
@media (max-width: 899px) {
  .pg-product .phead-grid.has-aside { grid-template-columns: minmax(0, 1fr); }
  .pg-product .hero-dial { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: center; column-gap: 32px; }
  .pg-product .dial.dial-hero { max-width: 300px; }
  .pg-product .roles { grid-template-columns: minmax(0, 1fr); }
  .pg-product .roles-label, .pg-product .role-tabs, .pg-product .role-notes { grid-column: 1; grid-row: auto; }
  .pg-product .clock-lanes { --name-w: minmax(0, 1fr); --value-w: minmax(0, 1fr); }
  .pg-product .cl-ruler, .pg-product .cl-row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .pg-product .cl-scale, .pg-product .cl-ticks { grid-column: 1; }
  .pg-product .ledger.is-filtered ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 679px) {
  .pg-product .hero-dial { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .pg-product .hero-dial .dial-cap { justify-self: stretch; }
  .pg-product .dial.dial-hero { max-width: 250px; }
  .pg-product .role-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 4px; }
  .pg-product .role-tabs [role="tab"], .pg-product .role-tabs [role="tab"]:first-child { padding: 8px 6px 7px; font-size: 15px; line-height: 1.25; text-align: center; }
  .pg-product .ex-docs li { grid-template-columns: minmax(0, 1fr); }
  .pg-product .ex-docs .more { grid-column: 1; grid-row: auto; justify-self: start; }
  .pg-product .lookup.stack tr { grid-template-columns: minmax(0, 1fr); }
  .pg-product .lookup tbody th, .pg-product .lookup td { width: auto; }
  .pg-product .filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pg-product .filter::before { grid-column: 1 / -1; margin: 0; }
  .pg-product .filter button, .pg-product .filter button:first-of-type, .pg-product .filter button:last-of-type { margin: 0; border-radius: var(--radius); }
}
@media (forced-colors: active) {
  .pg-product .filter button[aria-pressed="true"], .pg-product .role-tabs [aria-selected="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .pg-product .tour-step.is-focus .tour-copy { border-left-color: Highlight; }
  .pg-product .tour-art { border: 1px solid CanvasText; }
  .pg-product .pin, .pg-product .tour-n { forced-color-adjust: none; }
  .pg-product .clock-lanes { forced-color-adjust: none; }        /* a self-contained instrument: it keeps its own colours */
}
@media print {
  .pg-product .role-tabs, .pg-product .pin::after { display: none !important; }
  .pg-product .role-note[hidden], .pg-product .ledger-col[hidden] { display: block !important; }
  .pg-product .tour-art { box-shadow: none !important; border: 1px solid #000; }
}
/* ==========================================================================
   /counties · "honest coverage" and /counties/los-angeles · "a local instrument"
   (P2; rules scoped to .pg-counties and .pg-la)
   /counties: Paper head with the counts (the 0 at poster size) → Paper § 1: the
   California map (Los Angeles in the violet hatch, every other county dashed: not
   covered) beside the record-class table, then the cases in the collection → Violet: one
   county first → Night § 2: four gates joined by a dashed rule (none is passed) → Violet close.
   /counties/los-angeles: Night head with its matters on a ruler of court dates → Paper § 1
   record classes → Daylight § 2: a signed order, marked → Violet: before real coverage
   (dashed, none done) → Paper § 3 field notes → Violet close.
   No Dawn on these pages' content: the public records carry court dates, never a check.
   ========================================================================== */

/* Long inner pages: their bands run a little tighter than the home page's. */
:is(.pg-counties, .pg-la) { --band: clamp(48px, 6.1vw, 88px); }
:is(.pg-counties, .pg-la) .band .sec-head { margin-bottom: clamp(32px, 3.4vw, 48px); }

/* ---- Shared by both pages: the record-class table --------------------------------------- */
:is(.pg-counties, .pg-la) .rc-table { font-size: 16px; }
:is(.pg-counties, .pg-la) .rc-table thead th { color: var(--night); }
:is(.pg-counties, .pg-la) .rc-table tbody th { width: 30%; font-weight: 700; font-size: 16.5px; }
:is(.pg-counties, .pg-la) .rc-table :is(tbody th, td) a { color: var(--night); text-decoration-color: var(--violet); text-decoration-thickness: 1.5px; }
:is(.pg-counties, .pg-la) .rc-table td { color: var(--body); }
:is(.pg-counties, .pg-la) .rc-table td:last-child { width: 40%; }
:is(.pg-counties, .pg-la) .rc-status { display: grid; justify-items: start; gap: 6px; }
:is(.pg-counties, .pg-la) .rc-text { font-size: 14.5px; line-height: 1.4; color: var(--steel); }
:is(.pg-counties, .pg-la) .rc-fine { margin-top: 18px; max-width: 44em; }

/* ---- /counties · head: a two-line display and the counts ---------------------------------- */
.pg-counties .phead-grid.has-aside { grid-template-columns: minmax(0, 1fr) minmax(0, clamp(280px, 30vw, 420px)); }
.pg-counties .phead .display { font-size: clamp(30px, calc(100cqi / 9.65), 96px); }    /* EXACTLY WHAT / IS COVERED.: 9.37 em, +3% */
.pg-counties .counts { display: grid; border-top: 2px solid var(--night); }
.pg-counties .counts > div { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.pg-counties .counts dt { grid-column: 2; grid-row: 1; font-size: 15.5px; line-height: 1.35; color: var(--body); }
.pg-counties .counts dd { grid-column: 1; grid-row: 1; font-weight: 800; font-stretch: 125%; font-size: 52px; line-height: .8; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--night); }
.pg-counties .counts > div:first-child { grid-template-columns: minmax(0, 1fr); padding: 14px 0 20px; }
.pg-counties .counts > div:first-child dt { grid-column: 1; font: 500 12.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night); }
.pg-counties .counts > div:first-child dd { grid-column: 1; grid-row: 2; margin-top: 14px; font-size: clamp(96px, 11vw, 160px); }

/* ---- /counties · § 1 · the map, the record classes, then the cases in the collection ------- */
.pg-counties .ca-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "map head" "map table" "cases cases"; grid-template-rows: auto 1fr auto; gap: 36px clamp(40px, 5.6vw, 88px); align-items: start; }
.pg-counties .ca-grid > .sec-head { grid-area: head; margin-bottom: 0; }
.pg-counties .ca-classes { grid-area: table; }
.pg-counties .ca-cases { grid-area: cases; padding-top: clamp(8px, 1.4vw, 20px); }
.pg-counties .ca-figure { grid-area: map; display: grid; gap: 18px; justify-items: start; }
.pg-counties .ca-frame { position: relative; width: 100%; max-width: 470px; }
.pg-counties .ca-map { display: block; width: 100%; height: auto; overflow: visible; }
.pg-counties .ca-map .county { fill: var(--paper); stroke: var(--steel); stroke-width: 1; stroke-dasharray: 3 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pg-counties .ca-map .county.is-pilot { fill: url(#la-hatch); stroke: var(--violet); stroke-width: 1.5; stroke-dasharray: none; }
.pg-counties .hatch-bg { fill: var(--paper); }
.pg-counties .hatch-line { stroke: var(--violet); stroke-width: 4; }    /* the tile clips half the stroke: 2 units show */
/* A callout over the ocean, with a leader to the county (positions are the map's, in % of the frame) */
.pg-counties .ca-callout { position: absolute; right: 47.5%; top: 81.5%; display: grid; padding: 7px 10px 6px; background: var(--violet); color: var(--daylight); border-radius: var(--radius); font: 500 11px/1.25 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.pg-counties .ca-callout b { font-weight: 500; font-size: 12px; }
.pg-counties .ca-callout::after { content: ""; position: absolute; left: 100%; top: 50%; width: 22px; border-top: 1.5px solid var(--violet); transform: rotate(-32deg); transform-origin: left; }
.pg-counties .ca-key { display: grid; gap: 8px; font-size: 14.5px; color: var(--body); }
.pg-counties .ca-key > span { display: inline-flex; align-items: center; gap: 12px; }
.pg-counties .ca-sw { flex: none; width: 26px; height: 16px; overflow: visible; }
.pg-counties .ca-sw-pilot { fill: url(#la-hatch); stroke: var(--violet); stroke-width: 1.5; }
.pg-counties .ca-sw-none { fill: var(--paper); stroke: var(--steel); stroke-width: 1; stroke-dasharray: 3 2.5; }
.pg-counties .ca-sub { margin-bottom: 18px; font-size: 19px; }
/* The cases in the collection: the record-class table's construction, full width; the case column a little wider */
.pg-counties .case-table tbody th { width: 34%; }
.pg-counties .case-table td:nth-child(2) { width: 28%; }
.pg-counties .case-table td:last-child { width: 38%; }

/* ---- /counties · statement: one county first --------------------------------------------- */
.pg-counties .one-band { padding-block: clamp(56px, 6.4vw, 96px); }
.pg-counties .one-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(40px, 6vw, 96px); align-items: end; }
.pg-counties .one-grid h2 { font-size: clamp(40px, 5.8vw, 84px); line-height: .96; }
.pg-counties .one-copy { display: grid; gap: 10px; justify-items: start; }
.pg-counties .one-copy p { font-size: 19px; line-height: 1.5; color: var(--lilac-pale); max-width: 30em; }

/* ---- /counties · § 2 · four gates, in order (none is passed) ----------------------------
   Each gate is an open (dashed) frame hanging from one dashed line; its plate sits on the line. */
.pg-counties .gates { --plate: 36px; --gap: clamp(20px, 2.4vw, 32px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px var(--gap); padding-top: calc(var(--plate) / 2); }
.pg-counties .gate { position: relative; display: grid; gap: 12px; align-content: start; justify-items: start; padding: calc(var(--plate) / 2 + 20px) clamp(18px, 1.8vw, 24px) 24px; border: 1.5px dashed var(--on-night); border-radius: var(--radius); }
.pg-counties .gate::before { content: ""; position: absolute; top: -1.5px; left: 100%; width: calc(var(--gap) + 1.5px); border-top: 1.5px dashed var(--on-night); }   /* the line that joins them */
.pg-counties .gate:last-child::before { content: none; }
.pg-counties .gate-n { position: absolute; top: calc(var(--plate) / -2); left: clamp(16px, 1.6vw, 22px); display: inline-flex; align-items: center; min-height: var(--plate); padding: 0 12px; background: var(--night); color: var(--daylight); border: 1.5px solid var(--on-night); border-radius: var(--radius); font: 500 12.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.pg-counties .gate h3 { font-size: 22px; }
.pg-counties .gate p { font-size: 16px; line-height: 1.5; color: var(--on-night); }
.pg-counties .gate-chip span { white-space: nowrap; }
.pg-counties .gate .gate-chip { margin-top: 4px; padding: 6px 10px 5px; background: var(--lilac); color: var(--night); border-radius: var(--radius); font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* ---- /counties/los-angeles · head: its matters on a ruler of court dates ---------------------
   The ruler runs from the quarter before the oldest document to the month of the edition, each
   month a column of equal width. The month labels and ticks are HTML on that grid; each case's
   track is an SVG on the same scale (preserveAspectRatio none, strokes that do not scale), so a
   document's tick sits over its month at every width. Ticks are court dates in Daylight, never
   Dawn; the dashed line is the edition. */
.pg-la .phead-grid.has-aside { grid-template-columns: minmax(0, 1fr) minmax(0, clamp(300px, 36vw, 500px)); }
.pg-la .phead .display { font-size: clamp(30px, calc(100cqi / 8.9), 96px); }           /* LOS ANGELES / COUNTY.: 8.62 em, +3% */
.pg-la .head-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pg-la .day-lanes { display: grid; gap: 12px; padding: 18px clamp(16px, 1.8vw, 24px) 16px; background: var(--night); border: 1px solid var(--on-night); border-radius: var(--radius); }
.pg-la .dl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 14px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.pg-la .dl-title { font: 500 12.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--daylight); }
.pg-la .dl-ruler { display: grid; gap: 6px; }
.pg-la .dl-months { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); height: 12px; font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--on-night); }
.pg-la .dl-months span { white-space: nowrap; }
.pg-la .dl-months .is-jan { color: var(--daylight); }
.pg-la .dl-ticks { display: flex; justify-content: space-between; align-items: end; height: 12px; }
.pg-la .dl-ticks i { width: 1.5px; height: 50%; background: var(--tick-off); }
.pg-la .dl-ticks i:nth-child(3n + 1) { height: 100%; background: var(--on-night); }      /* quarters */
.pg-la .dl-rows { display: grid; }
.pg-la .dl-row { display: grid; gap: 4px; padding: 10px 0 11px; border-top: 1px solid var(--rule); }
.pg-la .dl-name { font-weight: 650; font-size: 15px; line-height: 1.3; color: var(--daylight); }
.pg-la .dl-note { font-size: 13.5px; line-height: 1.45; color: var(--on-night); }
.pg-la .dl-svg { display: block; width: 100%; height: 24px; overflow: visible; }
.pg-la .dl-svg line { fill: none; vector-effect: non-scaling-stroke; }
.pg-la .dl-base { stroke: var(--rule); stroke-width: 1; }
.pg-la .dl-ed { stroke: var(--on-night); stroke-width: 1; stroke-dasharray: 3 3; }                 /* this edition */
.pg-la .dl-span { stroke: var(--daylight); stroke-width: 2; }                                        /* one case, from its first document to its last */
.pg-la .dl-doc { stroke: var(--daylight); stroke-width: 4; }                                         /* a document, on its court date */
.pg-la .dl-cap { padding-top: 12px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.5; color: var(--on-night-2); }

/* ---- /counties/los-angeles · § 1 · record classes and what is open today ----------------- */
.pg-la .la-classes .sec-head { max-width: none; }
.pg-la .la-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 44px clamp(40px, 5vw, 80px); align-items: start; }
.pg-la .open-today .label { padding-bottom: 13px; border-bottom: 2px solid var(--night); color: var(--night); }
.pg-la .sheet-links li { display: grid; gap: 2px; padding: 13px 0 14px; border-bottom: 1px solid var(--rule); }
.pg-la .sheet-links a { justify-self: start; font-weight: 700; font-size: 17px; color: var(--night); text-decoration-color: var(--violet); text-decoration-thickness: 1.5px; }
.pg-la .sheet-links span { font-size: 15px; line-height: 1.45; color: var(--steel); }

/* ---- /counties/los-angeles · § 2 · a signed order, marked ------------------------------ */
.pg-la .cal-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px clamp(40px, 5vw, 80px); align-items: center; }
.pg-la .cal-grid .sec-head { margin-bottom: 0; }
.pg-la .cal-sheet { position: relative; margin: 34px 8px 8px 0; padding: 22px clamp(18px, 2.4vw, 30px) 20px; }
.pg-la .cal-head { padding-bottom: 15px; font: 500 12.5px/1.45 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.pg-la .cal-rows { display: grid; margin-top: 8px; }
.pg-la .cal-row { padding: 16px 0 15px; border-bottom: 1px solid var(--rule); }
.pg-la .cal-line { font: 500 15px/1.7 var(--mono); letter-spacing: .01em; }
.pg-la .cal-note { margin-top: 4px; font-size: 14.5px; color: var(--steel); }
.pg-la .cal-note s { text-decoration-thickness: 2px; text-decoration-color: var(--steel); }
.pg-la .cal-row.is-docs { padding: 8px 0 7px; }
.pg-la .cal-docs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 26px; }
.pg-la .cal-docs .more { font-size: 15.5px; }
.pg-la .cal-row.is-rest { padding: 22px 0 4px; border-bottom: 0; font-size: 14.5px; color: var(--steel); }

/* ---- /counties/los-angeles · statement: before real coverage (none done: dashed) --------- */
.pg-la .before-band .sec-head.split { align-items: end; }
.pg-la .before-band .sec-head > p:not(.kicker) { color: var(--lilac-pale); }
.pg-la .before-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pg-la .before-list li { display: grid; gap: 22px; align-content: start; padding: 18px 20px 22px; border: 1.5px dashed var(--lilac-pale); border-radius: var(--radius); font-weight: 650; font-size: 18.5px; line-height: 1.35; letter-spacing: -.01em; }
.pg-la .before-n { font: 500 12.5px/1 var(--mono); letter-spacing: .1em; color: var(--lilac-pale); }

/* ---- /counties/los-angeles · § 3 · field notes ------------------------------------------- */
.pg-la .field-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--night); }
.pg-la .field-note { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; justify-items: start; padding: 22px clamp(20px, 2.4vw, 36px) 6px; border-left: 1px solid var(--rule); }
.pg-la .field-note:first-child { padding-left: 0; border-left: 0; }
.pg-la .field-note:last-child { padding-right: 0; }
.pg-la .fn-stamp { padding: 6px 9px 5px; border: 1.5px solid var(--night); border-radius: var(--radius); font: 500 11.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.pg-la .field-note h3 { margin-top: 4px; }
.pg-la .field-note p:not(.fn-stamp) { font-size: 16px; line-height: 1.55; color: var(--body); }
.pg-la .notes-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; margin-top: 32px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--steel); }

/* ---- Breakpoints ------------------------------------------------------------------------------ */
@media (max-width: 1179px) {
  .pg-counties .gates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-counties .gate:nth-child(2n)::before { content: none; }
  .pg-la .before-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .pg-counties .phead-grid.has-aside, .pg-la .phead-grid.has-aside { grid-template-columns: minmax(0, 1fr); }
  .pg-counties .ca-grid, .pg-la .la-grid, .pg-la .cal-grid { grid-template-columns: minmax(0, 1fr); }
  .pg-counties .ca-grid { grid-template-areas: "head" "map" "table" "cases"; grid-template-rows: none; }
  .pg-counties .ca-figure { justify-items: center; }
  .pg-counties .ca-key { justify-self: start; }
  .pg-counties .one-grid { grid-template-columns: minmax(0, 1fr); }
  .pg-counties .counts { max-width: 460px; }
  .pg-la .field-notes { grid-template-columns: minmax(0, 1fr); }
  .pg-la .field-note, .pg-la .field-note:first-child { padding: 20px 0 22px; border-left: 0; border-top: 1px solid var(--rule); }
  .pg-la .field-note:first-child { border-top: 0; }
  .pg-la .day-lanes { max-width: 560px; }
}
@media (max-width: 679px) {
  :is(.pg-counties, .pg-la) .rc-table tbody th, :is(.pg-counties, .pg-la) .rc-table td:last-child, .pg-counties .case-table td:nth-child(2) { width: auto; }
  /* One column: the frames stack and the dashed line runs down between them. */
  .pg-counties .gates { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .pg-counties .gate::before, .pg-counties .gate:nth-child(2n)::before { content: ""; top: 100%; left: 36px; width: 0; height: 40px; border-top: 0; border-left: 1.5px dashed var(--on-night); }
  .pg-counties .gate:last-child::before { content: none; }
  .pg-la .before-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pg-la .before-list li { grid-template-columns: auto minmax(0, 1fr); gap: 16px; font-size: 17.5px; }
  .pg-la .before-n { padding-top: 4px; }
}
@media (forced-colors: active) {
  /* The map and the date ruler are self-contained instruments: they keep their own colours. */
  .pg-counties .ca-map, .pg-counties .ca-sw, .pg-counties .ca-callout, .pg-la .day-lanes { forced-color-adjust: none; }
  .pg-counties .gate { border: 1.5px dashed CanvasText; }               /* open: never the solid (Built) construction */
  .pg-counties .gate-chip { border: 1px solid CanvasText; }
}
@media print {
  .pg-counties .ca-map, .pg-counties .ca-sw, .pg-la .day-lanes { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Production county access guides (coverage.mjs countyGuides): one <details> per county, v6 paper ledger. */
.county-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 clamp(16px, 2vw, 28px); border-top: 2px solid var(--ink); }
.county-guide { border-bottom: 1px solid var(--paper-rule); }
.county-guide summary { cursor: pointer; padding: .85rem 0; font: 700 1.08rem/1.25 var(--sans); color: var(--ink); list-style-position: inside; }
.county-guide summary:hover { color: var(--violet); }
.county-guide dl { display: grid; gap: .7rem; margin: 0 0 1rem; }
.county-guide dt { font: 500 .74rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.county-guide dd { margin: .15rem 0 0; }
/* /pricing (P3). Lilac head with the terms on one paper sheet; Night band with the two proposed
   memberships and the estimator; Paper § 2: arithmetic tiles and the comparison; Daylight § 3:
   plain answers. Rules are scoped to .pg-pricing or to classes only this page uses. Dashed = proposed. */
.pg-pricing .band { padding-block: clamp(56px, 6vw, 84px); }

/* ---- Head: the terms on one paper sheet ---- */
.pg-pricing .phead { padding-block: clamp(36px, 4.6vw, 68px) clamp(48px, 5.4vw, 78px); }
/* Two lines: the longer, "YOUR DOCKET.", is 9.35 em, so the size follows the column (a size container). */
.pg-pricing .phead .display { font-size: max(36px, min(10.4vw, calc(100cqi / 9.7))); }
@media (min-width: 680px) { .pg-pricing .phead .display { font-size: clamp(44px, calc(100cqi / 9.7), 88px); } }
@media (min-width: 900px) {
  .pg-pricing .phead-grid.has-aside { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
  .pg-pricing .phead-aside { display: grid; justify-items: end; }
}
.terms { display: grid; gap: 6px; width: 100%; max-width: 460px; padding: 20px 24px 10px; }
.terms > .label { padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.terms-eq { margin-top: 10px; font-weight: 700; font-stretch: 112%; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.terms-out { font-weight: 800; font-stretch: 122%; font-size: clamp(52px, 5.4vw, 80px); line-height: .92; letter-spacing: -.045em; }
.terms-out span { text-decoration: underline double var(--violet); text-decoration-thickness: 3px; text-underline-offset: .12em; text-decoration-skip-ink: none; }   /* a total, ruled twice */
.terms-foot { margin-top: 8px; font: 500 12px/1.5 var(--mono); letter-spacing: .04em; color: var(--fg-2); }
.terms-list { margin-top: 10px; }
.terms-list div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--rule); }
.terms-list dt { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.terms-list dd { font-weight: 650; font-size: 15.5px; line-height: 1.35; }
.terms-list div:last-child dd { justify-self: start; padding: 2px 8px 1px; border: 1.5px dashed; border-radius: var(--radius); white-space: nowrap; }   /* the status, drawn as Proposed */

/* ---- § 1: the memberships and the estimator, on Night ---- */
.plans-band .kicker { margin-bottom: 54px; }                    /* room for the exhibit tabs */
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.18fr); gap: 22px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px clamp(22px, 2.3vw, 32px) clamp(24px, 2.3vw, 30px); }
.plan.g-violet { box-shadow: inset 0 0 0 1.5px var(--lilac); }
.plan-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 12px; }
.plan h2 { font-size: clamp(36px, 3.4vw, 50px); font-stretch: 116%; line-height: 1; }
.plan-fit { display: none; margin-top: 4px; padding: 7px 9px 6px; border-radius: var(--radius); background: var(--night); color: var(--daylight); font: 500 11.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.plan.is-fit .plan-fit { display: block; }
.plan.g-violet .plan-fit { background: var(--daylight); color: var(--violet); }
.plan-line { margin-top: 8px; font-size: 17px; line-height: 1.4; color: var(--fg-2); }
.plan-price { margin-top: 20px; font: 500 15px/1 var(--mono); color: var(--fg-2); }
.plan-price .price-xl { margin-right: 4px; color: var(--fg); }
.plan-terms { margin-top: 18px; padding: 12px 0; border-block: 1.5px dashed; font-size: 15.5px; line-height: 1.4; }
.plan-incl { display: grid; gap: 7px; margin: 16px 0 24px; font-size: 15.5px; line-height: 1.4; }
.plan-incl li { display: grid; grid-template-columns: 22px minmax(0, 1fr); }
.plan-incl li::before { content: "+"; content: "+" / ""; font: 500 15px/1.4 var(--mono); }
.plan-incl .no { color: var(--fg-2); }
.plan-incl .no::before { content: "–"; content: "–" / ""; }
/* The arithmetic takes any slack above it, so the ask follows it directly. */
.plan-unit { display: grid; gap: 3px; margin-top: auto; padding-top: 14px; border-top: 1.5px solid; font: 500 13px/1.5 var(--mono); letter-spacing: .01em; }
.plan-unit b { margin-left: .2em; font: 750 18px/1.3 var(--sans); font-stretch: 106%; letter-spacing: -.012em; }
.plan .btn { align-self: flex-start; margin-top: 18px; }
.plans-note { margin-top: 30px; }

/* The estimator: a Night-2 instrument panel. Without JavaScript each scale is a plain row. */
.fit { display: grid; gap: 0 clamp(24px, 3.4vw, 48px); align-content: start; padding: clamp(22px, 2.2vw, 30px); color-scheme: dark; border: 1.5px solid #2E4560; scroll-margin-top: calc(var(--mast-h) + 24px); }
.fit h2 { font-size: clamp(26px, 2.2vw, 30px); }
.fit-inputs > .fine { margin-top: 4px; }
.fit-field { margin-top: 14px; }
.fit-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fit-row label, .fit .check { font-weight: 620; }
.fit output { font: 500 24px/1 var(--mono); color: var(--daylight); }
.fit input[type="range"] { display: block; width: 100%; height: 36px; margin: 0; accent-color: var(--lilac); cursor: pointer; }
.fit .scale { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 4px 0 0; font: 500 11px/1.1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-night); }
.fit .scale li { display: grid; justify-items: center; gap: 2px; }
.fit .scale b { font-weight: 500; color: var(--daylight); }
/* With JavaScript each mark sits under the thumb for its value (--f, set through CSSOM): number over
   plan name, two short lines, so neighbouring marks never collide, even at 320 px. */
.js .fit .scale { position: relative; display: block; height: 32px; }
.js .fit .scale li { position: absolute; top: 4px; left: calc(var(--thumb, 16px) / 2 + (100% - var(--thumb, 16px)) * var(--f, 0)); transform: translateX(-50%); }
.js .fit .scale li::before { content: ""; position: absolute; top: -9px; left: 50%; width: 1.5px; height: 6px; background: var(--on-night); }
.js .fit .scale .at-start { transform: none; justify-items: start; }
.js .fit .scale .at-start::before { left: 0; }
.js .fit .scale .at-end { transform: translateX(-100%); justify-items: end; }
.js .fit .scale .at-end::before { left: auto; right: 0; }
.fit-add { display: grid; gap: 2px; margin-top: 14px; }
.fit .check { flex-wrap: wrap; column-gap: 10px; }
.fit-add-price { font: 500 13px/1.3 var(--mono); color: var(--fg-2); }
.fit-add .fine { padding-left: 30px; }
.fit-result { display: grid; gap: 6px; align-content: start; margin-top: 18px; padding-top: 16px; border-top: 1.5px dashed var(--rule); }
.fit-plan { font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
/* The total, ruled twice; its unit drops below the rules when it wraps. */
.fit-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 8px; font: 500 14px/1.3 var(--mono); color: var(--fg-2); }
.fit-total span { font: 800 clamp(52px, 4.4vw, 64px)/1 var(--sans); font-stretch: 116%; letter-spacing: -.045em; color: var(--daylight);
  text-decoration: underline double var(--lilac); text-decoration-thickness: 2px; text-underline-offset: .16em; text-decoration-skip-ink: none; }
.fit-total a { font: 800 clamp(40px, 3.6vw, 54px)/1.05 var(--sans); font-stretch: 116%; letter-spacing: -.035em; color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: .14em; }
.fit-unit { font: 500 13px/1.5 var(--mono); color: var(--on-night-2); }
.fit-unit span { white-space: nowrap; }                       /* each sum stays whole; a line breaks only between sums */
.fit-lines { display: grid; gap: 4px; font-size: 15px; line-height: 1.45; color: var(--on-night-2); }
:is(.terms, .plan, .fit, .sums) { font-variant-numeric: tabular-nums; }

/* ---- § 2: the arithmetic, then the comparison ---- */
/* Each tile spans three rows of the list (subgrid), so labels, figures and notes align across a row. */
.sums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 40px); }
.sum { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 8px; padding: 18px 0 4px; border-top: 3px solid var(--night); }
.sum.is-proposed { border-top: 3px dashed var(--steel); }
.sum-eq { display: flex; flex-wrap: wrap; align-items: center; align-content: end; gap: 6px 10px; min-height: 28px; font: 500 15px/1.3 var(--mono); letter-spacing: .02em; color: var(--steel); }
.sum-out { font-weight: 800; font-stretch: 116%; font-size: clamp(38px, 3.6vw, 54px); line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.sum.is-proposed .sum-out { color: var(--steel); }
.sum-note { font-size: 15px; line-height: 1.45; color: var(--body); max-width: 19em; }
.compare-title { margin: clamp(48px, 4.6vw, 64px) 0 16px; }
.sums-band thead th:first-child { width: 44%; }
.sums-band thead th + th { width: 28%; }
@media (min-width: 680px) {
  .sums-band .table :is(tbody th, td) { padding-block: 12px; }
  .sums-band .table .grp > * { border-top: 1.5px solid var(--night); }      /* size · what it does · what costs extra */
}
.swatch { display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px; border-radius: 1px; }
.swatch.is-solo { background: var(--lilac); box-shadow: inset 0 0 0 1px var(--night); }
.swatch.is-firm { background: var(--violet); }
.cell-v { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }

/* ---- § 3: plain answers ---- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 32px clamp(40px, 5.6vw, 88px); align-items: start; }
.faq-grid > .sec-head { margin: 0; }
.faq-grid h2 { font-size: clamp(32px, 3.6vw, 52px); }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 3.6vw, 56px); border-top: 2px solid var(--night); }
.faq > div { padding: 20px 0 22px; border-bottom: 1px solid var(--rule); }
.faq dt { font-weight: 720; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.faq dd { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--body); max-width: 34em; }

@media (max-width: 1179px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .fit-result { margin-top: 0; padding: 4px 0 0 clamp(24px, 3.4vw, 48px); border-top: 0; border-left: 1.5px dashed var(--rule); }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  .pg-pricing .phead-aside { justify-items: start; }
  .terms { max-width: 520px; }
  .sums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sum:nth-child(n + 3) { margin-top: 28px; }
}
@media (max-width: 679px) {
  .plans-band .kicker { margin-bottom: 50px; }
  .plans { grid-template-columns: 1fr; row-gap: 58px; }
  .plan { padding-top: 24px; }
  .plan .btn { align-self: stretch; }
  .fit { grid-template-columns: 1fr; }
  .fit-result { margin-top: 18px; padding: 16px 0 0; border-left: 0; border-top: 1.5px dashed var(--rule); }
  .sums { column-gap: 18px; }
  .sum-eq { font-size: 13.5px; }
  .sum-out { font-size: clamp(28px, 8.6vw, 38px); }
  .sum-note { font-size: 14.5px; }
  .compare-title { margin-top: 48px; }
  .sums-band .table.stack tr { row-gap: 6px; padding: 12px 0; }
  .sums-band .table.stack .grp { border-top: 1.5px solid var(--night); }
  .sums-band .table.stack tbody th { font-size: 15.5px; line-height: 1.35; }
  .faq { grid-template-columns: 1fr; }
  .faq dt { font-size: 18px; }
}
@media (max-width: 419px) {
  .terms { padding-inline: 18px; }
  .terms-list div { grid-template-columns: 86px minmax(0, 1fr); }
}
@media (forced-colors: active) { .plan-fit, .swatch { border: 1px solid CanvasText; } }
@media print {
  .pg-pricing .fit .scale { display: none; }
  .terms { box-shadow: none; border: 1px solid #000; }
}
/* /developers (P3). Night head on one fitted line; Paper § 1: the explorer (an endpoint register
   beside the response on Night, in the code tokens of 00-foundation.css, with a key to its marks),
   then three notes on reading the data, ruled solid (built); violet statement: one real court change
   as paper slips joined by a Lilac-pale rule; Daylight § 2: what is proposed, dashed. Rules are
   scoped to .pg-developers or to classes only this page uses. */
.pg-developers .band { padding-block: clamp(56px, 6vw, 84px); }
/* A field name inside running text: the mono face, a step smaller, never wrapped apart. */
.pg-developers :is(.model-band .sec-head, .field-notes) code { font: 500 .86em/1 var(--mono); letter-spacing: 0; white-space: nowrap; }

/* ---- Head: one fitted line, then deck | actions ---- */
.pg-developers .phead .display.is-fit { --fit: 17.05; }
@media (min-width: 900px) {
  .pg-developers .phead-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); align-items: start; }
  .pg-developers .phead-main > :is(.kicker, .display) { grid-column: 1 / -1; }
  .pg-developers .phead .deck { grid-column: 1; grid-row: 3 / span 2; }
  .pg-developers .phead .actions { grid-column: 2; grid-row: 3; margin-top: 22px; }
  .pg-developers .phead .head-links { grid-column: 2; grid-row: 4; }
}

/* ---- § 1: the explorer ---- */
.pg-developers .explorer { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px clamp(24px, 3vw, 44px); align-items: start; scroll-margin-top: calc(var(--mast-h) + 24px); }
.explorer-side { display: grid; gap: 20px; min-width: 0; }
.explorer-list { display: grid; border-top: 2px solid var(--night); }
.endpoint { display: grid; gap: 4px; width: 100%; padding: 14px 16px 15px 20px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; color: var(--night); }
.endpoint:hover { background: rgba(255, 255, 255, .55); }
.endpoint[aria-pressed="true"] { background: var(--white); box-shadow: inset 5px 0 0 var(--violet); }   /* as the brief's register */
.endpoint:focus-visible { outline-offset: -3px; }
.endpoint code { font: 500 13.5px/1.4 var(--mono); overflow-wrap: anywhere; }
.endpoint .verb { margin-right: .3em; color: var(--violet); }
.endpoint .id { white-space: nowrap; }                                   /* a record id is never split */
.endpoint > span { font-size: 14.5px; line-height: 1.4; color: var(--steel); }
.explorer-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 15px; line-height: 1.5; color: var(--fg-2); }
.explorer-out { display: grid; min-width: 0; }
.explorer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 50px; padding: 10px 18px; border-radius: var(--radius) var(--radius) 0 0; }
.explorer-meta { min-width: 0; font: 500 12.5px/1.5 var(--mono); letter-spacing: .02em; color: var(--fg-2); overflow-wrap: anywhere; }
.explorer-meta b { font-weight: 500; color: var(--fg); }
/* The response wraps (never sideways) inside a fixed height that scrolls; each line hangs under its own text. */
.pg-developers .explorer-out .code { height: clamp(380px, 36vw, 520px); overflow: auto; border-radius: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.pg-developers .code .ln { display: flex; }
.pg-developers .code .ind { flex: none; white-space: pre; }
.pg-developers .code .tx { flex: 1 1 auto; min-width: 0; padding-left: 2ch; text-indent: -2ch; }
.pg-developers .code .mv { padding-block: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pg-developers .code .ok { margin-left: -10px; padding-left: 10px; }       /* a source's last success (none in the records today): the Dawn bar sits in the indent */
.code-key { display: flex; flex-wrap: wrap; gap: 6px 26px; padding: 11px 18px 12px; border-radius: 0 0 var(--radius) var(--radius); font: 500 12px/1.6 var(--mono); letter-spacing: .02em; color: var(--fg-2); }
.code-key > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.code-key .mv { padding: 0 5px; background: var(--marker); color: var(--night); }
.code-key .tm { color: var(--lilac); text-decoration: underline dotted var(--on-night); text-underline-offset: .25em; }
.explorer-noscript { margin-top: 16px; font-size: 15.5px; }
.explorer-noscript ul { display: grid; gap: 2px; margin-top: 6px; }
.explorer-noscript a { font: 500 13.5px/1.9 var(--mono); color: var(--accent); text-decoration-thickness: 1.5px; }

/* Reading the data: three notes ruled solid (they describe what is built), as the arithmetic tiles on /pricing. */
.field-notes { margin-top: clamp(44px, 4.6vw, 64px); }
.field-notes > .label { margin-bottom: 14px; }
.field-notes dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(20px, 2.6vw, 40px); }
.field-notes dl > div { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 3px solid var(--night); }
.field-notes dt { font-weight: 720; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.field-notes dd { font-size: 15.5px; line-height: 1.55; color: var(--body); max-width: 34em; }

/* ---- Statement: the shape of the data ---- */
.model-band .sec-head { margin-bottom: clamp(40px, 4.4vw, 56px); }
.model-chain { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 22px clamp(16px, 2vw, 28px); }
.model-chain::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 2px; background: var(--lilac-pale); }
.mc { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 18px; box-shadow: 6px 6px 0 var(--indigo); }
.mc-type { font: 500 11.5px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--fg-2); }
.mc-type .mk { padding: 1px .3em; margin: 0 -.3em; }
.mc-id code { font: 500 15px/1.35 var(--mono); overflow-wrap: anywhere; }
.mc-body { display: grid; gap: 8px; justify-items: start; }
.mc-note { font-size: 15px; line-height: 1.45; color: var(--body); }
.mc-date { font: 500 11.5px/1.45 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }   /* a court date: ink on paper, never a check */
.mc-date span { white-space: nowrap; }
.mc-red s { color: var(--steel); text-decoration-thickness: 2px; }        /* the redline: the earlier value struck */
.mc-red b { font-weight: 720; color: var(--night); }
.mc-stamps { display: grid; gap: 8px; justify-items: start; }
/* At the foot of every slip: the field of the JSON that holds the link. */
.mc-key { align-self: stretch; margin-top: auto; padding-top: 9px; border-top: 1px solid var(--rule); }
.mc-key code { font: 500 12px/1.4 var(--mono); letter-spacing: .02em; color: var(--violet); overflow-wrap: anywhere; }
.model-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 34px; }

/* ---- § 2: proposed for partners ---- */
.proposed-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(20px, 2.6vw, 40px); }
.proposed-list li { display: grid; gap: 10px; align-content: start; justify-items: start; padding-top: 18px; border-top: 3px dashed var(--steel); }
.proposed-list h3 { margin-top: 4px; }
.proposed-list p { font-size: 15.5px; line-height: 1.5; color: var(--fg-2); }

@media (max-width: 1099px) {
  /* One slip per row: what it is | its identifier and what it says | its field in the JSON. */
  .model-chain { grid-template-columns: 1fr; gap: 16px; }
  .model-chain::before { left: 30px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .mc { display: grid; grid-template-columns: 8.5em minmax(0, 1fr) 12.5em; grid-template-areas: "type id key" "type body key"; gap: 6px 24px; align-items: baseline; }   /* the key column holds entry.previous_entry whole */
  .mc-type { grid-area: type; }
  .mc > .mc-id { grid-area: id; }
  .mc > .mc-body { grid-area: body; }
  .mc-key { grid-area: key; align-self: center; margin: 0; padding: 4px 0 4px 18px; border-top: 0; border-left: 1px solid var(--rule); }
  .proposed-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .pg-developers .explorer { grid-template-columns: 1fr; }
  .explorer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .field-notes dl { grid-template-columns: 1fr; }
}
@media (max-width: 679px) {
  .pg-developers .head-links { column-gap: 20px; }                       /* both links on one line at 390 px */
  .explorer-list { grid-template-columns: 1fr; }
  .endpoint { padding: 12px 14px 13px 18px; }
  .explorer-bar, .code-key { padding-inline: 14px; }
  .pg-developers .explorer-out .code { height: 340px; padding: 14px; font-size: 12.5px; }
  .field-notes dt { font-size: 18px; }
  .field-notes dd { font-size: 15px; }
  .model-chain::before { left: 24px; }
  .mc { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "type id" "body body" "key key"; column-gap: 14px; padding: 14px 16px; }
  .mc-key { margin-top: 2px; padding: 9px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .proposed-list { grid-template-columns: 1fr; gap: 24px; }
  .proposed-list li { grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; align-items: baseline; }   /* the tag beside the name */
  .proposed-list li > .tag { grid-area: 1 / 2; }
  .proposed-list h3 { grid-area: 1 / 1; margin-top: 0; }
  .proposed-list p { grid-column: 1 / -1; }
}
@media (forced-colors: active) {
  .endpoint[aria-pressed="true"] { border-left: 5px solid CanvasText; }
  .pg-developers .code .mv, .code-key .mv { forced-color-adjust: none; background: Mark; color: MarkText; }
  .pg-developers .code .ok { box-shadow: none; border-left: 4px solid CanvasText; }
  .mc { border: 1px solid CanvasText; }
}
@media print {
  .pg-developers .explorer-out .code { height: auto; overflow: visible; }
  .mc { box-shadow: none; border: 1px solid #000; }
}
/* ==========================================================================
   /insights [P4] · field notes: selected court orders and opinions in context
   Paper head on one fitted line (ruled underneath), six editorial covers on Paper-deep, one
   for each dated public court record: each note's art is drawn in its own material (the
   court's dates on Night, what moved on the marker, the record on paper or white) over a
   paper caption with the court's date, the case and docket, and links to the record page
   and the court's own document. Every art is labelled PUBLIC RECORD; nothing on Night here
   is a check, so no Dawn is drawn. Then the benchmark protocol on violet (every target
   dashed: the Proposed construction; the measured column says "Not measured yet"), and
   the reports that do not exist yet, drawn as a blank, dashed form. No figures anywhere.
   ========================================================================== */
.pg-insights .phead .display.is-fit { --fit: 19.9; }

/* Prose avoids one-word last lines; a long stamp breaks into even halves instead of orphaning its time. */
.pg-insights main p { text-wrap: pretty; }
.pg-insights main .st { text-wrap: balance; }

/* ---- § 1 · Covers ---------------------------------------------------------------------------- */
.pg-insights .covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.2vw, 32px); }
/* Each cover spans two rows of the grid and shares them (subgrid), so the arts in a row end on one line
   and every caption starts on it. Without subgrid, each cover keeps its own two rows. */
.pg-insights .cover { display: grid; grid-row: span 2; grid-template-rows: auto 1fr; grid-template-rows: subgrid; row-gap: 0; min-width: 0; border: 1.5px solid var(--night); }
.pg-insights .cover-art { display: grid; grid-template-rows: auto 1fr; gap: 20px; min-height: 252px; padding: 18px 22px 24px; }
.pg-insights .cover-art > .tag { justify-self: start; }
.pg-insights .cover-fig { display: grid; align-content: end; min-width: 0; }
.pg-insights .cover-cap { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 22px 14px; border-top: 1.5px solid var(--night); }
.pg-insights .cover-n { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; align-self: stretch; font: 500 13px/1 var(--mono); letter-spacing: .1em; }
.pg-insights .cover-n > span span { color: var(--fg-2); }
.pg-insights .cover-n time { letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }   /* the court's date: a date, never a time */
.pg-insights .cover h3 { font-size: 24px; font-weight: 780; font-stretch: 106%; letter-spacing: -.02em; line-height: 1.12; }
.pg-insights .cover-case { font-size: 14px; line-height: 1.45; color: var(--steel); }
.pg-insights .cover-case b { font-weight: 650; color: var(--night); }
.pg-insights .cover .no { white-space: nowrap; }                                   /* a docket number never breaks at its hyphen */
.pg-insights .cover-text { font-size: 15.5px; line-height: 1.5; color: var(--body); }
.pg-insights .cover-links { display: flex; flex-direction: column; align-items: flex-start; margin-top: auto; }   /* the record page, then the court's document */

/* 01 · three clocks, one recorded: the court's date (dashed: a date, no time) and two clocks with nothing recorded (dotted) */
.pg-insights .art-clocks { display: grid; gap: 14px; }
.pg-insights .art-clocks li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; }
.pg-insights .art-clocks li > :not(.clock-line) { font: 500 11.5px/1.35 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.pg-insights .clock-name { color: var(--fg-2); }
.pg-insights .clock-line { position: relative; flex: 1 0 100%; height: 14px; margin-top: 6px; }
.pg-insights .clock-line::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; }
.pg-insights .is-stated .clock-line::before { border-top: 2px dashed var(--on-night); }                      /* a date, no time: it spans the day */
.pg-insights .is-unknown b { color: var(--on-night); }
.pg-insights .is-unknown .clock-line::before { border-top: 2px dotted var(--tick-off); }                      /* nothing recorded */
.pg-insights .art-clocks + .strip-scale { max-width: none; padding: 10px 0 0; }

/* 02 · a denial of review: the months between two courts' dates on a Night track, each date lit in Daylight */
.pg-insights .cover .src-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
.pg-insights .cover .src-name { margin-bottom: 12px; font-size: 16px; }
.pg-insights .src-when { font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.pg-insights .strip.is-months { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }   /* one column a month, however many */
.pg-insights .strip.is-months i { height: 50%; }
.pg-insights .strip.is-months i:nth-child(3n + 1) { height: 72%; }                     /* the quarters */
.pg-insights .strip.is-months i.court { height: 100%; background: var(--daylight); }   /* a court's date, not a check */
.pg-insights .cover-stamps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* 03 · a correction is its own document: the earlier order above the amended one */
.pg-insights .art-slips { display: grid; gap: 22px; padding-top: 4px; }
.pg-insights .art-slips .slip { grid-template-rows: none; gap: 4px; padding: 0 16px 14px; }
.pg-insights .art-slips .slip-stamp { margin: 14px 0 4px; font-size: 11.5px; }
.pg-insights .art-slips .slip-who { padding-top: 8px; font-size: 11.5px; }
.pg-insights .art-slips .slip.is-old { width: 84%; border: 1.5px dashed var(--night); }
.pg-insights .art-slips .slip.is-new { width: 84%; margin-left: 16%; }        /* the amended order, set after the order it amends */
.pg-insights .art-value { font-weight: 720; font-size: 17px; line-height: 1.3; }
.pg-insights .art-value s { font-weight: 500; color: var(--steel); text-decoration-thickness: 2px; }

/* 04 · read the whole section: the two items that named the form, the later amendment marked dashed */
.pg-insights .art-items { display: grid; gap: 10px; }
.pg-insights .art-items ol { border-top: 2px solid var(--night); }
.pg-insights .art-items li { display: grid; grid-template-columns: 7.6em minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--paper-rule); font: 500 13px/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.pg-insights .art-items :is(.item-n, .item-v) { white-space: nowrap; }
.pg-insights .art-items .item-n { color: var(--steel); }
.pg-insights .art-items .item-note { padding: 4px 8px 3px; border: 1.5px dashed var(--night); font-size: 11px; line-height: 1.2; letter-spacing: .07em; white-space: nowrap; }

/* 05 · reading the minutes: one formulaic line */
.pg-insights .art-register { display: grid; gap: 10px; }
.pg-insights .art-label { font: 500 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.pg-insights .reg-entry { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 14px 0 16px; border-top: 2px solid var(--night); border-bottom: 1px solid var(--paper-rule); font: 500 13px/1.6 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.pg-insights .reg-date { white-space: nowrap; }

/* 06 · read the page that says so: the opinion, cited by its page */
.pg-insights .art-cite { justify-self: start; display: grid; gap: 6px; padding: 16px 22px 14px; border: 2px solid var(--night); }
.pg-insights .art-cite span { font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.pg-insights .art-cite b { font-weight: 800; font-stretch: 116%; font-size: clamp(32px, 2.9vw, 42px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }

/* ---- Benchmark protocol (violet): targets dashed, nothing measured ------------------------- */
.pg-insights .protocol .sec-head { margin-bottom: clamp(32px, 3.6vw, 52px); }
.pg-insights .protocol-table thead th { color: var(--daylight); }
.pg-insights .protocol-table thead th:first-child { width: 38%; }
.pg-insights .protocol-table tbody th { padding-right: 32px; font-size: 18px; font-weight: 680; line-height: 1.35; }
.pg-insights .protocol-table tbody :is(th, td) { padding-block: 16px; vertical-align: middle; }
.pg-insights .protocol-table tbody tr:hover { background: color-mix(in srgb, var(--indigo) 45%, transparent); }   /* a darker violet, never a light tint under Daylight text */
.pg-insights .th-key { display: inline-block; width: 18px; height: 12px; margin-right: 10px; vertical-align: -1px; border: 1.5px dashed var(--lilac-pale); }
.pg-insights .target { display: block; max-width: 30em; padding: 9px 13px 8px; border: 1.5px dashed var(--lilac-pale); border-radius: var(--radius); font-size: 15.5px; line-height: 1.4; color: var(--daylight); }
.pg-insights .unmeasured { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1.35 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--lilac-pale); }
.pg-insights .unmeasured::before { content: ""; flex: none; width: 13px; height: 13px; border: 1.5px dashed currentColor; border-radius: 1px; }

/* ---- § 2 · Later: the reports that do not exist yet ------------------------------------------ */
.pg-insights .later { padding-block: clamp(56px, 6.4vw, 96px); }
.pg-insights .later-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.pg-insights .later-copy h2 { margin-top: 16px; }
.pg-insights .later-note { margin-top: 22px; font-size: 18px; line-height: 1.55; color: var(--steel); max-width: 36em; }
.pg-insights .later-note .tag { margin-right: 6px; vertical-align: 2px; }
.pg-insights .report-blank { position: relative; display: grid; gap: 4px; margin-top: 34px; padding: 22px 24px 18px; border: 1.5px dashed var(--steel); }
.pg-insights .report-tab { position: absolute; left: 18px; bottom: 100%; margin-bottom: -1px; padding: 9px 12px 8px; border: 1.5px dashed var(--steel); border-bottom: 0; background: var(--daylight); font: 500 11.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--steel); white-space: nowrap; }
.pg-insights .report-blank dl > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 16px; align-items: end; padding: 10px 0; }
.pg-insights .report-blank dt { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.pg-insights .report-blank dd { height: 1.4em; border-bottom: 1.5px dashed var(--steel); }
.pg-insights .report-foot { margin-top: 12px; font: 500 12px/1.45 var(--mono); letter-spacing: .04em; color: var(--steel); }

/* ---- Breakpoints ------------------------------------------------------------------------------ */
@media (max-width: 1099px) { .pg-insights .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .pg-insights .later-grid { grid-template-columns: 1fr; }
  .pg-insights .report-blank { max-width: 460px; }
}
@media (max-width: 679px) {
  .pg-insights .covers { grid-template-columns: 1fr; gap: 18px; }
  .pg-insights .cover-art { min-height: 0; gap: 16px; padding: 16px 18px 20px; }
  .pg-insights .cover-cap { padding: 16px 18px 12px; }
  .pg-insights .cover h3 { font-size: 22px; }
  .pg-insights .protocol-table tbody th { font-size: 17px; }
  .pg-insights .table.stack.protocol-table tbody td { padding-block: 0; }      /* the stacked rows space themselves */
  .pg-insights .report-blank { display: none; }          /* a drawing of the sentence above it; the sentence stays */
}
@media (max-width: 479px) {
  .pg-insights .art-items .item-note { grid-column: 2 / -1; justify-self: start; }   /* under its value, on its own line */
  .pg-insights .art-slips .slip.is-old, .pg-insights .art-slips .slip.is-new { width: 100%; margin-left: 0; }   /* full width: the ribbon keeps one line */
  .pg-insights .art-slips .slip-ribbon { right: 8px; white-space: nowrap; font-size: 10.5px; letter-spacing: .06em; }
}
@media (max-width: 419px) { .pg-insights .table.stack.protocol-table tr { grid-template-columns: 1fr; } }   /* outranks the shared stacked rows (95-responsive.css) */

/* ---- Preferences ------------------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .pg-insights .more.ext:hover .arrow { transform: translate(3px, -3px); }
}
@media print {
  .pg-insights .cover { break-inside: avoid; }
  .pg-insights .report-blank { display: none; }
}
/* ==========================================================================
   /partners [P4] · shape the pilot
   Violet head on one fitted line. § 1: two lanes drawn as two folders, each with a tab in
   its own material (litigation practices on lilac, software teams on Night). § 2: the
   design-partner criteria as a paper form on Daylight, each criterion after an empty
   outlined square (never a tick: nothing has started). § 3: legal organizations, with
   the kept statement that no partner or customer is named.
   ========================================================================== */
.pg-partners .phead .display.is-fit { --fit: 15.05; }

/* Prose avoids one-word last lines. */
.pg-partners main p, .pg-partners main dd { text-wrap: pretty; }
.pg-partners .criteria span { text-wrap: balance; }

/* ---- § 1 · Two lanes, two folders -------------------------------------------------------------- */
.pg-partners .lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(20px, 2.4vw, 36px); padding-top: 36px; }
.pg-partners .lane { position: relative; display: flex; flex-direction: column; gap: 22px; min-width: 0; padding: clamp(26px, 3vw, 42px) clamp(22px, 3vw, 42px) clamp(20px, 2.2vw, 30px); }
.pg-partners .lane-tab { position: absolute; left: 0; bottom: 100%; display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 11px 16px 9px; background-color: var(--bg); color: var(--fg); border-radius: var(--radius-tab) var(--radius-tab) 0 0; font: 500 11.5px/1.2 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.pg-partners .lane-tab b { flex: none; font-weight: 500; padding-right: 12px; border-right: 1px solid currentColor; white-space: nowrap; }
.pg-partners .lane h3 { max-width: 12em; font-weight: 800; font-stretch: 112%; font-size: clamp(32px, 3.4vw, 50px); line-height: .98; letter-spacing: -.035em; }
.pg-partners .lane-terms { border-top: 1.5px solid currentColor; }
.pg-partners .lane-terms > div { display: grid; grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr); gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.pg-partners .lane-terms dt { padding-top: 4px; font: 500 12px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.pg-partners .lane-terms dd { font-size: 17.5px; line-height: 1.5; }
.pg-partners .lane .more { margin-top: auto; }

/* ---- § 2 · Design partners: an empty form to hold against your own team ------------------- */
/* Reading order: the headline, the criteria, then their status. On wide screens the status sits under the headline. */
.pg-partners .design-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy sheet" "foot sheet"; grid-template-rows: auto 1fr; gap: 0 clamp(40px, 6vw, 96px); }
.pg-partners .design-copy { grid-area: copy; display: grid; gap: 16px; align-content: start; }
.pg-partners .design-copy h2 { max-width: 13em; }
.pg-partners .design-foot { grid-area: foot; align-self: end; padding-top: 22px; font-size: 16.5px; line-height: 1.5; color: var(--steel); }
.pg-partners .design-foot .tag { margin-right: 6px; vertical-align: 2px; }
.pg-partners .criteria-sheet { grid-area: sheet; position: relative; align-self: end; margin-top: 34px; padding: 8px clamp(20px, 2.6vw, 34px); }
.pg-partners .criteria li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 18px; align-items: start; padding: 20px 0; border-top: 1px solid var(--rule); font-size: 18px; line-height: 1.45; font-weight: 560; }
.pg-partners .criteria li:first-child { border-top: 0; }
.pg-partners .criteria i { width: 18px; height: 18px; margin-top: 4px; border: 1.5px solid var(--steel); border-radius: 2px; }   /* empty: nothing is ticked */

/* ---- § 3 · Legal organizations ----------------------------------------------------------------- */
.pg-partners .orgs { padding-block: clamp(56px, 6.4vw, 96px); }
.pg-partners .orgs .sec-head { margin-bottom: clamp(28px, 3vw, 40px); }
.pg-partners .orgs-copy { display: grid; gap: 10px; justify-items: start; }
.pg-partners .orgs-copy p { font-size: 18.5px; line-height: 1.55; color: var(--steel); max-width: 34em; }
.pg-partners .orgs-foot { padding-top: 18px; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.5; color: var(--steel); }

/* ---- Breakpoints ------------------------------------------------------------------------------ */
@media (max-width: 899px) {
  .pg-partners .lanes { grid-template-columns: 1fr; }
  .pg-partners .design-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "sheet" "foot"; grid-template-rows: none; }
  .pg-partners .criteria-sheet { align-self: stretch; margin-top: 46px; }
  .pg-partners .design-foot { padding-top: 26px; }
}
@media (max-width: 679px) {
  .pg-partners .lanes { gap: 52px; padding-top: 34px; }
  .pg-partners .lane { gap: 18px; }
  .pg-partners .lane-terms > div { grid-template-columns: 1fr; padding: 14px 0; }
  .pg-partners .lane-terms dd { font-size: 16.5px; }
  .pg-partners .criteria li { gap: 14px; padding: 16px 0; font-size: 16.5px; }
  .pg-partners .criteria-sheet { margin-right: 8px; }
}
@media (max-width: 419px) {
  .pg-partners .lane-tab { gap: 8px; padding-inline: 12px; letter-spacing: .06em; }
  .pg-partners .lane-tab b { padding-right: 8px; }
  .pg-partners .criteria-sheet { margin-top: 54px; }                           /* room for a two-line tab */
}

/* ---- Preferences ------------------------------------------------------------------------------ */
@media (forced-colors: active) {
  .pg-partners .lane-tab { border: 1px solid CanvasText; border-bottom: 0; }
}
@media print {
  .pg-partners .criteria-sheet { box-shadow: none; border: 1px solid #000; }
}
/* ==========================================================================
   /demo [P4] · two minutes with one public record, then a pilot request
   Daylight head on one fitted line. § 1: three stops, the home triptych in miniature,
   joined by a dashed route, on the amended order (what moved on the marker, what the
   document says on white paper with a Night offset, the signed orders on Night). The
   records carry court dates and no check times, so the source stop shows a dashed
   NO AUTOMATIC CHECK YET instead of check stamps, and this partial draws no Dawn.
   § 2 on Paper-deep: the pilot form beside a paper sheet with its exhibit tab that says
   what happens next. Once the request is saved, the receipt (a white sheet with the
   confirmation number) takes the form's place. No closing band here: the request is the close.
   The no-JavaScript result page of the same form (src/pilot.mjs) is set at the end.
   ========================================================================== */
.pg-demo .phead .display.is-fit { --fit: 21.61; }
@media (min-width: 900px) {
  .pg-demo .phead .display.is-fit { font-size: clamp(36px, calc(100cqi / var(--fit)), 112px); }   /* still one line from 900 to 940 px, where the 40 px floor would clip it */
}

/* Prose avoids one-word last lines. */
.pg-demo main p, .pg-demo .wording, .pg-demo .next-list dd { text-wrap: pretty; }

/* ---- § 1 · Three stops ----------------------------------------------------------------------------- */
.pg-demo .stops { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.pg-demo .stops::before { content: ""; position: absolute; left: 0; right: 0; top: 40px; border-top: 2px dashed var(--night); }   /* the route, seen between the stops */
.pg-demo .stop { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 22px clamp(20px, 2.2vw, 30px) 22px; }
.pg-demo .stop-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding-bottom: 14px; border-bottom: 1.5px solid currentColor; }
.pg-demo .stop-n { font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.pg-demo .stop-n b { font-weight: 500; font-size: 15px; }
.pg-demo .stop h3 { margin-top: 6px; font-weight: 800; font-stretch: 112%; font-size: clamp(28px, 2.35vw, 34px); line-height: .98; letter-spacing: -.035em; }
.pg-demo .stop-text { font-size: 16.5px; line-height: 1.5; color: var(--fg-2); }
.pg-demo .stop-art { display: grid; gap: 10px; align-content: end; margin-top: auto; padding-top: 10px; min-width: 0; container-type: inline-size; }
.pg-demo .stop-label { font: 500 11.5px/1.45 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.pg-demo .stop-was { font-size: 20px; line-height: 1.2; color: var(--body); }
.pg-demo .stop-was s { text-decoration-thickness: 2px; }
.pg-demo .stop-now { font-weight: 800; font-stretch: 116%; font-size: clamp(56px, 5.4vw, 84px); line-height: .9; letter-spacing: -.045em; white-space: nowrap; }   /* a form number never breaks at its hyphen */
.pg-demo .stop .wording { font-size: clamp(17px, 1.45vw, 20px); }
.pg-demo .nb { white-space: nowrap; }
/* The source stop: the signed documents, oldest first, ruled on their own Night track. */
.pg-demo .stop-docs { display: grid; padding: 2px 14px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--plate-line); }
.pg-demo .stop-docs li { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: 4px 14px; align-items: baseline; padding: 11px 0 12px; }   /* 6.6em holds AUG 25, 2026 */
.pg-demo .stop-docs li + li { border-top: 1px solid var(--rule); }
.pg-demo .doc-date { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-demo .stop-docs a { font-weight: 650; font-size: 16px; line-height: 1.35; color: var(--accent); text-decoration-thickness: 1.5px; }
.pg-demo .stop-docs a:hover { text-decoration-thickness: 2.5px; }
@container (max-width: 339px) { .pg-demo .stop-docs li { grid-template-columns: 1fr; gap: 3px; } }   /* a narrow stop sets the date above its document */
.pg-demo .stop-stamps { display: grid; gap: 8px; justify-items: start; margin-top: 6px; }
.pg-demo .stop-stamps .st { font-size: 12px; text-wrap: balance; }          /* a status is never set below 12 px */
.pg-demo .stop-note { font-size: 14.5px; line-height: 1.45; color: var(--fg-2); }
.pg-demo .stop .more { margin-top: 2px; }

/* ---- § 2 · The request and what happens next ------------------------------------------------------- */
.pg-demo .request .sec-head { margin-bottom: clamp(32px, 3.6vw, 52px); }
.pg-demo .inquiry-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px clamp(40px, 6vw, 96px); align-items: start; }
.pg-demo .inquiry-main { min-width: 0; max-width: 560px; }
.pg-demo .inquiry { display: grid; gap: 20px; }
.pg-demo .inquiry-lede { padding-left: 18px; border-left: 4px solid var(--violet); font-size: 17.5px; line-height: 1.55; }   /* COURT PREP speaking: what we need, exactly */
.pg-demo .inquiry .check { align-items: flex-start; line-height: 1.4; }
.pg-demo .inquiry .check input { margin-top: 1px; }
.pg-demo .inquiry .actions { margin-top: 2px; }
.pg-demo .inquiry-care { font-size: 15px; color: var(--steel); }
.pg-demo .form-status { min-height: 1.5em; }                               /* the line is reserved, so the form does not jump when news arrives */
/* What happens next: a paper sheet with its exhibit tab, beside the form. */
.pg-demo .next { position: sticky; top: calc(var(--mast-h) + 56px); display: grid; gap: 14px; margin-top: 34px; padding: 24px clamp(20px, 2.6vw, 34px) 22px; }
.pg-demo .next-list > div { display: grid; grid-template-columns: 5.4em minmax(0, 1fr); gap: 12px; padding: 11px 0 12px; border-top: 1px solid var(--rule); }
.pg-demo .next-list dt { font: 500 12px/1.75 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.pg-demo .next-list dd { font-size: 16px; line-height: 1.5; color: var(--body); }
.pg-demo .next .fine { padding-top: 14px; border-top: 1px solid var(--rule); }
/* The receipt: a white sheet that takes the form's place, the confirmation number set as a stamp. */
.pg-demo .receipt { position: relative; display: grid; gap: 12px; justify-items: start; margin-top: 34px; padding: 26px clamp(20px, 2.6vw, 34px) 22px; }
.pg-demo .receipt-title { font-weight: 800; font-stretch: 112%; font-size: clamp(28px, 2.35vw, 34px); line-height: .98; letter-spacing: -.035em; }
.pg-demo .receipt-label { margin-top: 8px; font: 500 11.5px/1.45 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.pg-demo .receipt-code { max-width: 100%; }
.pg-demo .receipt-code strong { display: inline-block; max-width: 100%; padding: 10px 14px 9px; border: 1.5px solid var(--fg); border-radius: var(--radius); font: 500 clamp(19px, 1.9vw, 26px)/1.15 var(--mono); letter-spacing: .06em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pg-demo .receipt-text { font-size: 17px; line-height: 1.5; color: var(--body); }
.pg-demo .receipt-links { padding-top: 6px; }

/* ---- Breakpoints --------------------------------------------------------------------------------- */
@media (max-width: 1099px) {
  .pg-demo .stops { grid-template-columns: 1fr; }
  .pg-demo .stops::before { left: 40px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--night); }
  .pg-demo .stop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 48px); align-items: start; }
  .pg-demo .stop > :not(.stop-art) { grid-column: 1; }
  .pg-demo .stop-art { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; padding-top: 0; align-self: center; }
}
@media (max-width: 899px) {
  .pg-demo .inquiry-grid { grid-template-columns: 1fr; gap: 24px; }
  .pg-demo .inquiry-main { max-width: none; }
  .pg-demo .next { position: relative; top: auto; }                       /* not sticky, still the exhibit tab's anchor */
}
@media (max-width: 679px) {
  .pg-demo .stop { display: flex; padding: 18px; }
  .pg-demo .stop-art { align-self: stretch; margin-top: 4px; }
  .pg-demo .stops::before { left: 30px; }
  .pg-demo .stop.offset-night { margin-right: 8px; }
  .pg-demo .stop-now { font-size: 56px; }
  .pg-demo .next, .pg-demo .receipt { margin-right: 8px; }
}
@media (max-width: 479px) {
  .pg-demo .next-list > div { grid-template-columns: 1fr; gap: 2px; }       /* each answer keeps the full measure */
}

/* ---- Preferences --------------------------------------------------------------------------------- */
@media (forced-colors: active) {
  .pg-demo .stop, .pg-demo .next, .pg-demo .receipt, .pilot-result { border: 1px solid CanvasText; }
  .pg-demo .stop-docs { border: 1px solid CanvasText; }
}
@media print {
  .pg-demo .stop, .pg-demo .next, .pg-demo .receipt, .pilot-result { box-shadow: none; border: 1px solid #000; }
  .pg-demo .next { position: relative; top: auto; }
  .pg-demo .stops::before { display: none; }
}

/* ==========================================================================
   The no-JavaScript pilot result (src/pilot.mjs): when the browser posts the form itself, the
   API answers with a bare page that loads this stylesheet and nothing else (no shell, no body
   class): a kicker, a heading, one paragraph and the way back. It is set as a white sheet on
   Paper with a Night offset, like the receipt; a saved request's reference reads as a stamp.
   ========================================================================== */
.pilot-result { display: grid; gap: 18px; justify-items: start; width: min(680px, 100% - 2 * var(--gutter)); margin: clamp(40px, 12vh, 128px) auto clamp(48px, 10vh, 96px);
  padding: clamp(24px, 4vw, 44px) clamp(22px, 4vw, 44px) clamp(22px, 3.4vw, 36px); background: var(--white); color: var(--night); border-top: 6px solid var(--night); box-shadow: 8px 8px 0 var(--night); }
.pilot-result h1 { font-weight: 800; font-stretch: 122%; text-transform: uppercase; letter-spacing: -.03em; line-height: .92; font-size: clamp(34px, 5.6vw, 56px); text-wrap: balance; }
.pilot-result p:not(.kicker) { max-width: 36em; font-size: 17.5px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.pilot-result strong { display: inline-block; padding: 1px 7px 0; border: 1.5px solid var(--night); border-radius: var(--radius); font: 500 .94em/1.45 var(--mono); letter-spacing: .05em; color: var(--night); overflow-wrap: anywhere; }
.pilot-result .kicker { color: var(--night); }                             /* the page's only kicker names COURT PREP: set in ink, like a kicker's <b> */
.pilot-result .more { margin-top: 2px; }
.pilot-result .more::after { content: "→"; content: "→" / ""; display: inline-block; }   /* the v6 link arrow, without changing the server's markup */
/* ==========================================================================
   /source-notes [P4] · the trust-centre equivalent: how documents are selected, dated and
   linked, and how pilot inquiries are handled
   Paper head on one fitted line. § 1 on Daylight: every label drawn at large size the way it
   is used, in three ruled groups (records and illustrations; capabilities in their
   constructions; the three check stamps, tagged ILLUSTRATION because no court source is
   checked automatically yet), then the key to the materials at large scale on its own Night
   plate (the footer key's classes, so Dawn stays on Night), and the method strip. § 2 on
   Paper: the notes as a two-column ledger with a column rule, one note listing the sources.
   § 3 on Night: the diligence sheet, stacked on phones.
   ========================================================================== */
.pg-notes .phead .display.is-fit { --fit: 20.45; }

/* Prose avoids one-word last lines; a long stamp breaks into even halves instead of orphaning its time. */
.pg-notes main p, .pg-notes main dd, .pg-notes .diligence-table .where { text-wrap: pretty; }
.pg-notes main .st { text-wrap: balance; }

/* ---- § 1 · The legend ------------------------------------------------------------------------- */
/* Set like a printed key: each label above its meaning, in ruled columns (the three-ways legend, at large scale). */
.pg-notes .legend-groups { display: grid; gap: clamp(36px, 4vw, 56px); }
.pg-notes .legend-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding-bottom: 12px; border-bottom: 2px solid var(--night); }
.pg-notes .legend-title { font: 500 12.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.pg-notes .legend { display: grid; }
.pg-notes .legend.is-records { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-notes .legend.is-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-notes .legend.is-checks { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); }   /* room for the long CHECK FAILED stamp */
.pg-notes .legend > div { display: grid; gap: 14px; align-content: start; justify-items: start; min-width: 0; padding: 22px clamp(16px, 2vw, 28px) 4px 0; }
.pg-notes .legend > div + div { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--rule); }
.pg-notes .legend dt { display: flex; max-width: 100%; }
.pg-notes .legend dd { font-size: 16.5px; line-height: 1.5; color: var(--body); max-width: 24em; }
.pg-notes .legend dt .st { text-wrap: balance; }
.pg-notes .legend .tag { font-size: 13px; padding: 6px 11px 5px; }
.pg-notes .legend .tag-pilot { padding: 3px 9px 2px; }

/* The key to the materials, at large scale, on its own Night plate */
.pg-notes .key-plate { margin-top: clamp(44px, 4.8vw, 64px); padding: clamp(22px, 2.6vw, 36px) clamp(20px, 2.8vw, 40px) clamp(26px, 3vw, 40px); }
.pg-notes .key-plate-title { margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); font: 500 12.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--daylight); }
.pg-notes .key-list.is-large { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px clamp(20px, 2.4vw, 36px); }
.pg-notes .key-list.is-large > div { display: grid; gap: 10px; align-content: start; }
.pg-notes .key-list.is-large dt { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; font-weight: 800; font-stretch: 112%; font-size: clamp(22px, 2vw, 28px); line-height: 1; letter-spacing: -.02em; color: var(--daylight); }
.pg-notes .key-list.is-large dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--on-night); max-width: 16em; }
.pg-notes .key-list.is-large .sw { width: 48px; height: 32px; }
.pg-notes .key-list.is-large .sw-dawn { width: 8px; margin-inline: 20px; }                 /* a tick, as everywhere it is drawn */

/* How every line is made */
.pg-notes .method-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 14px clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(36px, 4vw, 52px); }
.pg-notes .method-title { padding-top: 10px; font-weight: 720; font-size: 21px; line-height: 1.22; letter-spacing: -.01em; }

/* ---- § 2 · The notes: a two-column ledger ---------------------------------------------------- */
.pg-notes .notes-ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--night); }
.pg-notes .notes-ledger article { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); gap: 6px 14px; align-content: start; padding: 22px clamp(24px, 3.6vw, 56px) 26px 0; border-bottom: 1px solid var(--rule); }
.pg-notes .notes-ledger article:nth-child(even) { padding: 22px 0 26px clamp(24px, 3.6vw, 56px); border-left: 1px solid var(--rule); }
.pg-notes .nl-n { grid-row: span 2; padding-top: 4px; font: 500 13px/1.6 var(--mono); letter-spacing: .06em; }
.pg-notes .notes-ledger h3 { font-size: 21px; }
.pg-notes .notes-ledger p:not(.nl-n) { grid-column: 2; font-size: 16.5px; line-height: 1.55; color: var(--body); max-width: 34em; }
/* Where each record comes from: one ruled line per source, its name linked to the source page */
.pg-notes .note-sources { grid-column: 2; display: grid; margin-top: 6px; border-top: 1px solid var(--rule); }
.pg-notes .note-sources li { display: grid; gap: 2px; padding: 9px 0 10px; border-bottom: 1px solid var(--rule); }
.pg-notes .note-sources a { justify-self: start; font-weight: 650; font-size: 16.5px; line-height: 1.4; color: var(--accent); text-decoration-thickness: 1.5px; }
.pg-notes .note-sources span { font-size: 14.5px; line-height: 1.45; color: var(--steel); }

/* ---- § 3 · The diligence sheet on Night -------------------------------------------------------- */
.pg-notes .diligence .sec-head { margin-bottom: clamp(32px, 3.6vw, 52px); }
.pg-notes .diligence .sec-head > p:not(.kicker) { color: var(--on-night-2); }
.pg-notes .diligence-table thead th { color: var(--daylight); }
.pg-notes .diligence-table thead th:first-child { width: 25%; }
.pg-notes .diligence-table thead th:nth-child(2) { width: 12%; }
.pg-notes .diligence-table tbody th { padding-right: 28px; font-size: 17px; font-weight: 680; line-height: 1.4; }
.pg-notes .diligence-table .duty { font: 500 13px/1.65 var(--mono); letter-spacing: .04em; color: var(--on-night-2); white-space: nowrap; }
.pg-notes .diligence-table .where { line-height: 1.55; color: var(--on-night-2); }
.pg-notes .diligence-table .stage { white-space: nowrap; justify-items: start; }      /* a tag keeps its own width when the row stacks */
.pg-notes .diligence-table .where a { color: var(--accent); text-decoration-thickness: 1.5px; }
.pg-notes .label-note { display: block; margin-top: 8px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-night); }
.pg-notes .diligence-table tbody tr:hover { background: var(--night-2); }        /* never a light tint under Daylight text */

/* ---- Breakpoints --------------------------------------------------------------------------------- */
@media (max-width: 1179px) {
  .pg-notes .key-list.is-large { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg-notes .legend.is-records { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-notes .legend.is-records > div:nth-child(3) { padding-left: 0; border-left: 0; }   /* the second row starts at the edge */
}
@media (max-width: 899px) {
  .pg-notes .legend:is(.is-checks, .is-stages) { grid-template-columns: 1fr; }
  .pg-notes .legend:is(.is-checks, .is-stages) > div { padding: 18px 0 6px; border-left: 0; }
  .pg-notes .legend dd { max-width: 34em; }
  .pg-notes .key-list.is-large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-notes .method-row { grid-template-columns: 1fr; }
  .pg-notes .notes-ledger { grid-template-columns: 1fr; }
  .pg-notes .notes-ledger article, .pg-notes .notes-ledger article:nth-child(even) { padding: 20px 0 22px; border-left: 0; }
}
@media (max-width: 679px) {
  .pg-notes .legend.is-records { grid-template-columns: 1fr; }
  .pg-notes .legend > div, .pg-notes .legend > div + div { gap: 10px; padding: 16px 0 4px; border-left: 0; }
  .pg-notes .legend .st-lg { font-size: 12.5px; }
  .pg-notes .key-list.is-large { grid-template-columns: 1fr; gap: 18px; }
  .pg-notes .key-list.is-large > div { gap: 6px; }
  .pg-notes .key-list.is-large dt { flex-direction: row; align-items: center; gap: 14px; font-size: 22px; }
  .pg-notes .key-list.is-large dd { padding-left: 62px; max-width: none; }
  .pg-notes .table.stack.diligence-table tr { grid-auto-flow: row dense; }          /* duty and label share a row; the text runs full width */
  .pg-notes .table.stack.diligence-table td.where { grid-column: 1 / -1; }
  .pg-notes .diligence-table .duty, .pg-notes .diligence-table .stage { white-space: normal; }
}

/* ---- Preferences --------------------------------------------------------------------------------- */
@media print {
  .pg-notes .key-plate { border: 1px solid #000; }
  .pg-notes .key-list.is-large .sw { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* ==========================================================================
   Shell · footer, tick edge and the key to the materials (every page)
   A full-bleed 24-hour ruler opens the footer with one Dawn tick at 06: the last
   successful check. Below the links, the key prints what every colour and every
   construction on this site means. Selectors are scoped to .foot so v5 page rules
   (31-coverage.css styles a .key swatch) cannot reach them.
   ========================================================================== */
.foot { padding-bottom: 30px; }
.tick-edge { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); align-items: end; height: 20px; padding: 4px 0; background: var(--night); }
.tick-edge i { justify-self: center; width: 4px; height: 45%; background: var(--tick-off); border-radius: 1px; }
.tick-edge i:nth-child(6n + 1) { height: 70%; }
.tick-edge i.lit { height: 100%; background: var(--dawn); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-top: 60px; }
.foot .lockup { color: var(--daylight); }
.foot-line { margin-top: 22px; font-weight: 800; font-stretch: 112%; font-size: 22px; letter-spacing: -.015em; color: var(--daylight); }
.foot-note { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--on-night); max-width: 30em; }
.foot nav { display: grid; gap: 2px; align-content: start; }
.foot nav h2 { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--daylight); margin-bottom: 12px; text-wrap: wrap; }
.foot nav a { justify-self: start; padding: 8px 0; font-size: 15.5px; line-height: 1.45; text-decoration: none; color: var(--on-night-2); }
.foot nav a:hover { color: var(--daylight); text-decoration: underline; text-decoration-thickness: 1.5px; }

/* The key to the materials */
.foot .key { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 32px; width: min(var(--wrap), 100% - 2 * var(--gutter)); height: auto; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule); border-radius: 0; background: none; }
.foot .key-title { font: 500 12px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--daylight); grid-row: span 2; text-wrap: wrap; }
/* Set as a printed key: three aligned columns, the constructions under the materials. */
.foot .key-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 28px; font-size: 13.5px; line-height: 1.5; color: var(--on-night); }
.foot .key-list > div { display: flex; align-items: flex-start; gap: 9px; }
.foot .key-list dt { display: flex; align-items: center; gap: 9px; flex: none; min-height: 1.5em; font-weight: 650; color: var(--daylight); }
.foot .key-list dd { margin: 0; }
.sw { flex: none; width: 22px; height: 14px; border-radius: 2px; }
.sw-paper { background: var(--paper); }
.sw-night { background: var(--night); box-shadow: inset 0 0 0 1px var(--on-night); }
.sw-violet { background: var(--violet); box-shadow: inset 0 0 0 1px var(--lilac); }
.sw-marker { background: var(--marker); }
.sw-dawn { width: 4px; height: 16px; margin-inline: 9px; background: var(--dawn); }
.sw-solid { border: 2px solid var(--on-night-2); }
.sw-double { border: 4px double var(--on-night-2); }
.sw-dashed { border: 1.5px dashed var(--on-night-2); }

.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--rule); font: 500 11.5px/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--on-night-2); }

@media (max-width: 1179px) { .foot .key-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot .key { grid-template-columns: 1fr; }
  .foot .key-title { grid-row: auto; }
}
@media (max-width: 679px) {
  .foot-grid { gap: 28px 20px; padding-top: 48px; }
  .foot .key-list { grid-template-columns: 1fr; gap: 8px; }
  .foot .key-list dt { min-width: 6.4em; }
}
/* ==========================================================================
   Motion: one signature, played once; content is never hidden
   site.js adds .play to [data-console] once, the first time the brief is at least
   35% in view, only when motion is allowed. The sequence: the old value is struck,
   the new value is marked, the Dawn tick lands. Text never changes colour or opacity,
   and the end state is identical to the no-JS and reduced-motion state. The h1's
   highlighter is static. Hover only: arrow nudge, nav underline wipe, button tints.
   No scroll-triggered entrances, no opacity-0 starting states, no counters, no pulses.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  [data-console].play .redline .was { animation: cp-strike .5s var(--ease) .2s both; }
  [data-console].play .redline mark.mk { animation: cp-mark .65s var(--ease) .75s both; }
  [data-console].play .d-src.is-on .d-check { animation: cp-tick .45s var(--ease) 1.35s both; }
  [data-console].play .view .st-check::before { animation: cp-bar .45s var(--ease) 1.35s both; transform-origin: bottom; }
  .btn .arrow, .more .arrow { transition: transform .22s var(--ease); }
  .btn:hover .arrow, .more:hover .arrow { transform: translateX(4px); }
  .mast-nav a::after, .mast-signin::after { transition: transform .22s var(--ease); }
  .btn { transition: background-color .18s, color .18s, border-color .18s; }
}
@keyframes cp-strike { from { text-decoration-color: transparent; } }
@keyframes cp-mark { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes cp-tick { from { stroke-dashoffset: 38; } to { stroke-dashoffset: 0; } }
@keyframes cp-bar { from { transform: scaleY(0); } }
mark.mk { background-repeat: no-repeat; background-size: 100% 100%; }
/* ==========================================================================
   Breakpoints for the shared components (max-width): 1179 wide → laptop, 1099 nav
   folds into the menu (10-shell-header.css), 899 two- and three-up grids stack,
   679 phone, 479 small phone, 419 narrow phone. The shell partials keep their own
   breakpoints; page-specific rules belong in each page's own partial.
   ========================================================================== */
@media (max-width: 899px) {
  .sec-head.split { grid-template-columns: 1fr; }
  .sec-head.split > :not(.kicker):not(h2) { grid-column: 1; }
  .ways { grid-template-columns: 1fr; gap: 18px; }
  .ledger { grid-template-columns: 1fr; border-left: 0; }
  .ledger-col { border-right: 0; padding: 0 0 12px; }
  .ledger-col + .ledger-col { margin-top: 20px; }
}
@media (max-width: 679px) {
  body { font-size: 16.5px; }
  .sec-head > p:not(.kicker) { font-size: 17px; }
  /* The poster: "KNOW WHAT" on one line, MOVED the largest word on a phone */
  .poster { font-size: clamp(34px, 10.8vw, 70px); line-height: .9; }
  .poster mark { font-size: 1.32em; }
  .poster .tail { display: block; margin: .45em 0 0; font-size: 21px; }
  .display { font-size: clamp(36px, 10.4vw, 58px); }
  .actions .btn { flex: 1 1 100%; }
  .offset-indigo { box-shadow: 8px 8px 0 var(--indigo); }
  /* Tables: rows stack, each cell labelled by its column (data-col) */
  .table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table.stack tr { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
  .table.stack tbody th { grid-column: 1 / -1; padding: 0; border: 0; }
  .table.stack td { display: grid; gap: 4px; align-content: start; padding: 0; border: 0; }
  .table.stack td::before { content: attr(data-col); font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
  /* Ledger: counts and summaries stay, the lists fold (site.js closes them under 680 px) */
  .ledger-more > summary { display: flex; align-items: center; min-height: 44px; font-weight: 650; color: var(--accent); text-decoration: underline; text-underline-offset: .28em; cursor: pointer; }
  .ledger-more > summary::-webkit-details-marker { display: none; }
  .ledger-more > summary { list-style: none; }
  .ledger-more > summary::after { content: "+"; content: "+" / ""; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 10px; border: 1.5px solid currentColor; border-radius: var(--radius); font: 500 15px/1 var(--mono); text-decoration: none; }
  .ledger-more[open] > summary::after { content: "–"; content: "–" / ""; }
  .ledger-col > header { padding-bottom: 6px; }
  .ledger .num-xl { font-size: 52px; }
}
@media (max-width: 479px) {
  .dial .d-num { display: none; }        /* numerals would render under 6 px */
  .ribbon-scale span:nth-child(2), .ribbon-scale span:nth-child(4) { visibility: hidden; }
}
@media (max-width: 419px) {
  .tag { white-space: normal; line-height: 1.3; }
  .ex-tab { white-space: normal; max-width: calc(100% - 24px); line-height: 1.35; }
  .method li { font-size: 11.5px; letter-spacing: .05em; }    /* stays 2 × 2 on phones */
}

/* ==========================================================================
   LEGACY · removed after P1–P4
   The v5 pages' own breakpoints, kept so pages not yet rebuilt do not overflow. Every
   selector is scoped to a v5-only ancestor (the v5 grounds .night, .paper, .mist, or the
   v5 .console), so none of it reaches rebuilt g-* markup even where class names are
   reused. Delete together with the LEGACY block in 00-foundation.css.
   ========================================================================== */
@media (max-width: 1120px) {
  .console .console-body { grid-template-columns: 240px minmax(0, 1fr); }
  .console .console-dial { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); grid-template-columns: 150px 1fr; align-items: center; padding: 16px 22px; }
  .console .console-dial .dial { max-width: 150px; margin: 0; }
  .console .dial-note { text-align: left; }
  .paper .plans { grid-template-columns: 1fr 1fr; }
  .paper .fit { grid-column: 1 / -1; }
  .mist .gates { grid-template-columns: 1fr 1fr; }
  .mist .gates li:not(:last-child)::after { display: none; }
}
@media (max-width: 900px) {
  .night .hero-copy { grid-template-columns: 1fr; }
  .night .hero-side, .night .hero-copy .display { grid-column: 1; grid-row: auto; }
  .night .hero-side { margin-top: 20px; }
  :is(.night, .paper, .mist) :is(.anatomy, .quiet-grid, .tease, .clocks-grid, .map-grid, .sheet, .model-grid, .inquiry-grid) { grid-template-columns: 1fr; }
  .paper .relay { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .paper .relay::before { display: none; }
  .paper :is(.tour-step, .note) { grid-template-columns: 56px minmax(0, 1fr); }
  .paper :is(.tour-art, .note-art) { grid-column: 1 / -1; }
  .paper .explorer { grid-template-columns: 1fr; }
  .paper .explorer-list { grid-template-columns: 1fr 1fr; }
  .mist .ledger:not([data-board]) { grid-template-columns: 1fr 1fr; }
  .mist .draft { position: static; }
  .mist .proposed-list li { grid-template-columns: 1fr; gap: 6px; justify-items: start; }
  .paper .legend div { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 680px) {
  .console .console-body { grid-template-columns: 1fr; min-height: 0; }
  .console .console-list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scroll-snap-type: x proximity; scrollbar-width: none; }
  .console .console-list::-webkit-scrollbar { display: none; }
  .console .console-list [role="tab"] { flex: 0 0 78%; scroll-snap-align: start; }
  .console .console-list [role="tab"][aria-selected="true"] { box-shadow: inset 0 3px 0 var(--daylight); }
  .console .console-count { margin-left: 0; }
  .console .console-dial { grid-template-columns: 112px 1fr; padding: 14px 18px; }
  .console .console-dial .dial { max-width: 112px; }
  .console :is(.clocks3, .context-grid) { grid-template-columns: 1fr; }
  .night .truth { grid-template-columns: 1fr; border-top: 0; }
  .night .truth li { padding: 12px 0; border-bottom: 1px solid var(--line); }
  :is(.night, .paper, .mist) :is(.tickets, .plans, .lanes, .stops, .gates, .relay, .explorer-list, .ledger:not([data-board])) { grid-template-columns: 1fr; }
  .paper .stops::before { display: none; }
  .paper :is(.lane, .lane + .lane) { padding: 0; border: 0; }
  .paper .lane + .lane { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--mist); }
  .paper .sheet-links li { grid-template-columns: 1fr; gap: 4px; }
  .paper table.register thead { display: none; }
  .paper table.register tr { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--mist); }
  .paper table.register :is(th, td) { border: 0; padding: 0; }
  .mist .compare :is(th, td) { padding: 12px 10px; font-size: 14.5px; }
  .paper .explorer-out pre { height: 320px; }
  .night .quiet-line { min-height: 5.6em; }
}
@media print { .paper, .mist, .night { background: #fff !important; color: #000 !important; } }
/* ==========================================================================
   Preferences: reduced motion, forced colours, print
   Every status, stage and tab is a construction (solid, double, dashed border), not a
   fill or a shadow, so it survives forced colours. The Night instruments (strips,
   ribbon, dial, tick edge, key swatches) are self-contained and keep their colours.
   Without JavaScript every page reads completely; nothing is hidden before .js.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .btn, .tag, .st, .sheet, .brief, .slip, .morning, .plan, .ticket, .fit, .terms, .routing, .door-art, .cover, .lane, .gate, .edition-stamp, .menu nav, .brief-tab, .routing-tab, .plan-flag, .ex-tab { border: 1px solid CanvasText; }
  .tag-built { border: 1.5px solid CanvasText; }
  .tag-pilot { border: 4px double CanvasText; }
  .tag-proposed, .st-failed, .st-none, .morning.is-failed, .slip.is-corrected, .notice.is-old, .cover.is-proposed { border: 1.5px dashed CanvasText; }
  .ledger-col.built > header { border-top: 8px solid CanvasText; }
  .ledger-col.pilot > header { border-top: 8px double CanvasText; }
  .ledger-col.proposed > header { border-top: 3px dashed CanvasText; }
  .ledger-col.proposed .num-xl { color: CanvasText; -webkit-text-stroke: 0; }
  mark, mark.mk, .poster mark { forced-color-adjust: none; background: Mark; color: MarkText; }
  .strip, .ribbon, .dial, .tick-edge, .sw { forced-color-adjust: none; }          /* self-contained Night instruments keep their colours */
  .st-check::before { forced-color-adjust: none; background: CanvasText; }       /* the bar stays as a solid construction */
  .mast::after, .tt-top::before, .tt-bottom::after { forced-color-adjust: none; background: CanvasText; height: 3px; }
  .menu summary span, .menu summary span::before, .menu summary span::after { forced-color-adjust: none; background: CanvasText; }
  .menu[open] summary span { background: transparent; }
  .mast-nav a::after, .mast-signin::after { forced-color-adjust: none; background: CanvasText; }
  .rail-feed i { border-color: CanvasText; }
  :focus-visible { outline-color: Highlight; }
}
@media print {
  .rail, .mast, .closing, .foot nav, .tick-edge, .actions, .head-links, .menu, .console-views, .switch, .filter, .skip, .estimator-scale { display: none !important; }
  .g-violet, .g-night, .g-night2, .g-deep, .g-lilac, .g-marker, .g-paper, .g-paper-deep, .g-day, .g-wash, .g-white { background: #fff !important; color: #000 !important; }
  .brief, .sheet, .slip, .morning, .plan, .ticket, .routing { box-shadow: none !important; border: 1px solid #000; }
  .strip, .ribbon, .dial, mark { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .poster { font-size: 48px; }
  .phead, .band { padding-block: 24px; }
}
