
:root{--ce-bg:var(--bg);--ce-fg:var(--ink);--ce-muted:var(--muted);--ce-border:var(--line);--ce-surface:var(--surface);--ce-accent:var(--accent);--ce-accent-fg:#0B0B0C;--ce-accent-text:var(--accent);--ce-accent-text-deep:#9C5400;--ce-county:var(--orange);--ce-rest:var(--chart-mute);--ce-us:#3F3F46;--ce-higher:#8a3a10;--ce-lower:#1d4f8a;--ce-similar:var(--muted);--ce-radius:var(--radius);--ce-font:var(--font-b);--cp-terra:#C2591C;--cp-terra-deep:#9A4413;--cp-terra-text:#9A4413;--cp-terra-light:#FDF4EE;--cp-slate:#3B6E8C;--cp-slate-deep:#2F5A75;--cp-slate-light:#F0F6FA;--cp-ink:#14181F;--cp-body:#3D4656;--cp-muted:#333333;--cp-line:#E2E4E9;--cp-cream:#FAF9F6;--cp-hover:#FAF6F0;--cp-num:var(--font-d)}
.ce-summary p{ font-size: 17px; margin: 0 0 8px; }
.ce-caution{ font-size: 12px; font-weight: 600; color: var(--ce-higher); }
.ce-gap{ font-size: 13px; font-weight: 600; margin-top: 4px; }
.ce-table-wrap{ overflow-x: auto; }
.ce-table{ border-collapse: collapse; width: 100%; font-size: 14px; }
.ce-table th, .ce-table td{ text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--ce-border); vertical-align: top; }
.ce-table thead th{ font-weight: 700; color: var(--ce-fg); background: var(--ce-surface); border-bottom: 2px solid var(--ce-border); }
.ce-table th.num, .ce-table td.num{ text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ce-table tbody tr:hover{ background: var(--ce-surface); }
/* The pinned state row on a County Profiles state page (State Profiles
   spec): the state itself above its counties, bold on a light band. The
   sort/filter/pager code never moves or hides it (app.js excludes
   [data-pinned] rows from every control). */
.ce-table tbody tr.ce-state-row{ background: var(--ce-surface); }
.ce-table tbody tr.ce-state-row th, .ce-table tbody tr.ce-state-row td{ font-weight: 700; border-bottom: 2px solid var(--ce-border); }
.ce-table tbody th[scope="row"] a{ font-weight: 600; }
.ce-tag{ font-size: 11px; color: var(--ce-muted); border: 1px solid var(--ce-border); border-radius: 999px; padding: 1px 6px; white-space: nowrap; }
.ce-chart svg{ width: 100%; height: auto; display: block; margin-bottom: 8px; }
.ce-cta{ border: 1px solid var(--ce-border); border-radius: var(--ce-radius); padding: 26px 28px; background: var(--tint-finance); margin-top: 32px; }
.ce-cta h2{ margin-top: 0; }
.ce-cta > :last-child{ margin-bottom: 0; }
.ce-split-top, .ce-split-rest, .ce-rail{ min-width: 0; }
@media (min-width: 901px){
  .ce-split-rail { grid-template-columns: minmax(0, 1fr) 330px; grid-template-areas: "top rail" "rest rail"; }
  .ce-split-top { grid-area: top; }
  .ce-split-rest { grid-area: rest; }
  /* .ce-rail must NOT get grid-area here: the class is shared with the
     redesigned .ce-profile-layout grid, which has no named areas — a
     "rail" area placement there makes the browser invent implicit named
     tracks and collapses the main column to zero width at desktop
     widths (fix round 2026-11-12; checks.py check 14 guards this). The
     named-area placement survives only scoped to the retired split
     layout, below. */
  .ce-split-rail .ce-rail { grid-area: rail; }
  .ce-rail { align-self: start; }
  .ce-rail h2 { margin-top: 32px; }
}
.ce-spot .ce-gap{ margin-top: 4px; }
.ce-select-field{ display: flex; flex-direction: column; gap: 6px; flex: 1 1 220px; }
.ce-select-field label{ font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ce-muted); }
.ce-select-field select, .ce-select-field input{ font: inherit; padding: 10px 12px; border: 1px solid var(--ce-border); border-radius: 10px; background: var(--card); color: var(--ce-fg); min-height: 44px; box-sizing: border-box; width: 100%; }
/* State page */
.ce-controls{ display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin: 16px 0 8px; }
.ce-controls .ce-select-field{ flex: 0 1 260px; }
.ce-controls .ce-filter-field{ flex: 1 1 220px; }
.ce-tablist{ display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--ce-border); margin: 24px 0 6px; }
.ce-tab{ border: 1px solid transparent; border-bottom: 0; background: none; border-radius: 10px 10px 0 0; padding: 10px 16px; min-height: 44px; font-weight: 600; color: var(--ce-muted); }
.ce-tab:hover{ background: var(--ce-surface); color: var(--ce-fg); }
.ce-tone-dark .ce-caution{ color: #ffb066; }
.ce-tone-dark .ce-tag{ color: #b9b5aa; border-color: #4a4a50; }
.ce-key-card .ce-gap{ margin-top: 8px; }
.ce-domain h3{ margin-top: 24px; }
.ce-steps-list{ margin: 0 0 14px; padding-left: 22px; }
.ce-steps-list li{ margin: 6px 0; font-size: 15.5px; }
@media (max-width: 600px){
  .ce-hero h1 { font-size: 27px; }
  .ce-stat-big { font-size: 36px; }
  .ce-tab { padding: 9px 11px; font-size: 14.5px; }
}
.ce-profile-head .ce-select-field{ flex: 1 1 150px; }
.ce-summary{ margin-top: 20px; }
/* Key indicators: heading with the significance note at its right.
   The heading's 32px section rhythm rides on the flex row's own
   margin: the h2 inside a flex row keeps its margin inside the
   section box, which measured 46px above the heading where sibling
   sections (h2 a direct child, margin collapsed through) get 32px. */
.ce-key-head{ display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; justify-content: space-between; margin-top: 32px; }
.ce-key-head h2{ margin-top: 0; }
/* The Higher/Lower reading on a Key indicators card is a pill. */
.ce-key-card .ce-gap{ display: inline-block; border-radius: 999px; padding: 3px 11px; font-size: 12.5px; }
/* Find a county: a dropdown and a Go button, the profile switcher's
   pattern. The select inside the form picks up .ce-select-field's
   select styling; the row keeps the button at the select's height. */
.ce-controls .ce-find-field{ flex: 1 1 320px; max-width: 480px; }
.ce-controls .ce-view-toggle button{ min-height: 44px; }
.ce-heroband{ background: var(--cp-cream); color: var(--cp-ink); margin-top: -40px; padding: 30px 0 26px; box-shadow: 0 0 0 100vmax var(--cp-cream); clip-path: inset(0 -100vmax); }
.ce-heroband .ce-note{ color: var(--cp-muted); margin: 12px 0 0; }
/* Path bar (this section's own ruled form) */
.ce-crumb{ display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cp-muted); margin-bottom: 22px; }
.ce-crumb-dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--cp-terra); flex: none; }
.ce-crumb a{ color: var(--cp-slate-deep); text-decoration: none; }
.ce-crumb a:hover{ color: var(--cp-ink); text-decoration: underline; }
.ce-crumb-cur{ color: var(--cp-ink); font-weight: 700; }
.ce-crumb-meta{ margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--cp-muted); white-space: nowrap; }
.ce-vdot{ width: 6px; height: 6px; border-radius: 50%; background: #1E9E6A; display: inline-block; }
@media (max-width: 700px){ .ce-crumb-meta, .ce-crumb-cur { display: none; } }
.ce-heroband .ce-btn-primary, .ce-switchband .ce-btn-primary{ background: var(--cp-terra-text); color: #fff; border-color: transparent; min-height: 46px; padding: 10px 22px; border-radius: 10px; font-weight: 600; }
.ce-heroband .ce-btn-primary:hover, .ce-switchband .ce-btn-primary:hover{ background: var(--cp-terra-deep); }
.ce-heroband .ce-btn-primary:disabled{ opacity: .45; cursor: not-allowed; }
.ce-main-col > .ce-controls{ display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-bottom: 6px; }
/* County head + switcher band */
.ce-county-name{ font-family: var(--font-d); font-size: 42px; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
.ce-county-sub{ color: var(--cp-muted); font-size: 15.5px; margin: 8px 0 0; }
.ce-switchband{ background: var(--cp-slate); border-radius: 14px; padding: 18px 20px; margin-top: 20px; display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 14px; align-items: end; }
.ce-sw-field label{ display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FFFFFF; margin-bottom: 6px; }
.ce-sw-field select{ font: inherit; font-size: 15px; width: 100%; min-height: 46px; padding: 10px 12px; border: 0; border-radius: 9px; background: #fff; color: var(--cp-ink); box-sizing: border-box; }
.ce-sw-btns{ display: flex; gap: 9px; }
.ce-switchband .ce-btn-secondary{ background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); min-height: 46px; padding: 10px 18px; border-radius: 10px; font-weight: 600; }
.ce-switchband .ce-btn-secondary:hover{ background: rgba(255, 255, 255, .12); }
@media (max-width: 760px){ .ce-switchband { grid-template-columns: 1fr; } .ce-county-name { font-size: 32px; } }
/* County layout + rail */
.ce-profile-layout{ display: grid; gap: 36px; margin-top: 28px; align-items: start; }
@media (min-width: 1080px){ .ce-profile-layout { grid-template-columns: minmax(0, 1fr) 330px; } }
.ce-loc{ margin: 0 0 18px; border: 1px solid var(--cp-line); border-radius: 14px; background: #fff; padding: 14px; }
.ce-loc-map{ position: relative; }
.ce-loc-map img{ display: block; width: 100%; height: auto; }
.ce-loc-map svg{ position: absolute; inset: 0; width: 100%; height: 100%; }
.ce-loc figcaption{ font-size: 12px; color: var(--cp-muted); margin-top: 10px; line-height: 1.45; }
.ce-qf{ border: 1px solid var(--cp-line); border-radius: 14px; background: #fff; padding: 4px 20px 12px; }
.ce-qf h2{ font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cp-muted); margin: 14px 0 2px; font-family: var(--ce-font); }
.ce-qf dl{ margin: 0; }
.ce-qf-row{ display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--cp-line); }
.ce-qf-row dt{ color: var(--cp-muted); font-size: 13.5px; }
.ce-qf-row dd{ margin: 0; font-family: var(--cp-num); font-weight: 600; font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; }
/* Tabs */
.ce-tablist{ display: flex; flex-wrap: nowrap; gap: 2px; border-bottom: 2px solid var(--cp-line); overflow-x: auto; grid-column: 1 / -1; margin: 0; scrollbar-width: thin; }
.ce-tab{ border: 0; background: transparent; padding: 11px 15px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--cp-muted); border-radius: 10px 10px 0 0; white-space: nowrap; flex: 0 0 auto; }
.ce-tab:hover{ color: var(--cp-ink); background: var(--cp-hover); }
.ce-tpanel{ padding-top: 22px; }
/* Phone jump bar: mirrors Valuation Studio's Jump to section. The desktop
   tab strip hides at the phone breakpoint and the fixed bottom bar takes
   its place; the panel switches sections exactly like the tabs. */
.ce-phone-bar, .ce-jump, .ce-jump-scrim{ display: none; }
@media (max-width: 1023px){
  .ce-tablist { display: none; }
  body.ce-has-phone-bar { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  .ce-phone-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--cp-line); box-shadow: 0 -6px 18px rgba(20, 26, 38, .08); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .ce-phone-bar-btn { flex: 1 1 0; min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; color: var(--cp-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
  .ce-phone-bar-btn[aria-expanded="true"] { color: var(--cp-terra-deep); }
  .ce-jump-scrim { display: block; position: fixed; inset: 0; z-index: 48; background: rgba(20, 26, 38, .35); }
  .ce-jump-scrim[hidden] { display: none; }
  .ce-jump { display: block; position: fixed; left: 0; right: 0; bottom: calc(56px + env(safe-area-inset-bottom, 0px)); z-index: 49; background: #fff; border-top: 1px solid var(--cp-line); box-shadow: 0 -10px 28px rgba(20, 26, 38, .14); padding: 10px 10px 6px; max-height: 62vh; overflow-y: auto; }
  .ce-jump[hidden] { display: none; }
  .ce-jump-head { display: flex; align-items: center; justify-content: space-between; }
  .ce-jump-title { margin: 2px 12px 6px; font-size: 13px; font-weight: 700; color: var(--cp-muted); }
  .ce-jump-close { border: 0; background: transparent; font-size: 22px; line-height: 1; padding: 6px 12px; color: var(--cp-muted); cursor: pointer; }
  .ce-jump ul { list-style: none; margin: 0; padding: 0; }
  .ce-jump li button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 12px; font: inherit; font-size: 16px; font-weight: 600; color: var(--cp-ink); cursor: pointer; border-radius: 8px; }
  .ce-jump li button[aria-current="true"] { color: var(--cp-terra-deep); background: var(--cp-hover); }
  .ce-profile-layout { scroll-margin-top: 90px; }
}
.ce-tpanel[hidden]{ display: none; }
.ce-tpanel h2{ font-family: var(--font-d); font-size: 24px; margin: 0 0 14px; }
/* Finding cards + headline cards */
.ce-hl-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 14px; margin-bottom: 26px; }
.ce-find-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
@media (max-width: 760px){ .ce-find-grid{ grid-template-columns: 1fr; } }
.ce-find, .ce-hl-card{ border: 1px solid var(--cp-line); border-radius: 14px; background: #fff; padding: 17px 19px; }
.ce-find-top{ display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.ce-find-label{ font-size: 14.5px; font-weight: 600; color: var(--cp-ink); }
.ce-find-diff{ font-size: 12px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.ce-cat-slate .ce-find-diff{ color: var(--cp-slate-deep); }
.ce-cat-terra .ce-find-diff{ color: var(--cp-terra-deep); }
.ce-find-value, .ce-hl-value{ font-family: var(--cp-num); font-size: 29px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 3px; }
.ce-find-text{ font-size: 14.5px; line-height: 1.55; color: var(--cp-body); margin: 8px 0 0; }
.ce-find-moe, .ce-hl-moe{ font-size: 12.5px; color: var(--cp-muted); margin-top: 8px; }
.ce-find-cmp{ font-size: 12.5px; color: var(--cp-muted); margin-top: 3px; }
.ce-find-text + .ce-find-cmp, .ce-find-moe + .ce-find-cmp, .ce-caution + .ce-find-cmp{ margin-top: 12px; border-top: 1px solid var(--cp-line); padding-top: 10px; }
.ce-bullet-key + .ce-hl-cmp, .ce-hl-value + .ce-hl-cmp{ margin-top: 12px; padding-top: 9px; }
.ce-hl-label{ font-size: 13.5px; font-weight: 600; color: var(--cp-muted); }
.ce-hl-cmp{ display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--cp-muted); border-top: 1px solid var(--cp-line); padding: 5px 0 0; margin-top: 5px; }
.ce-hl-cmp span:last-child{ font-weight: 600; color: var(--cp-body); font-variant-numeric: tabular-nums; }
.ce-bullet{ position: relative; height: 8px; border-radius: 99px; background: #EDEEF1; margin: 11px 0 7px; }
.ce-bullet-fill{ position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: #F29B26; min-width: 3px; }
.ce-bullet-terra .ce-bullet-fill{ background: #F29B26; }
.ce-bullet-tick{ position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--cp-ink); transform: translateX(-1px); }
.ce-bullet-us{ position: absolute; top: -3px; bottom: -3px; width: 2px; background: #9AA3B2; transform: translateX(-1px); }
.ce-bk-comp{ background: var(--cp-ink); }
.ce-bk-us{ background: #9AA3B2; }
.ce-gap{ font-size: 13px; font-weight: 600; color: var(--cp-ink); margin-top: 7px; }
/* About card */
.ce-aboutcard{ border: 1px solid var(--cp-line); border-radius: 14px; background: #fff; padding: 22px 24px; margin-bottom: 26px; }
.ce-aboutcard p{ font-size: 16px; line-height: 1.7; color: var(--cp-body); margin: 0 0 14px; max-width: 44rem; }
.ce-aboutcard p:last-of-type{ margin-bottom: 0; }
/* Focus visibility inside the redesigned surfaces */
.ce-heroband :focus-visible, .ce-layout :focus-visible, .ce-profile-layout :focus-visible{ outline: 2px solid var(--cp-slate); outline-offset: 2px; }
/* County head eyebrow (SPEC-COUNTY §2): FIPS badge, tribal segment, seat */
.ce-eyebrow{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 14px 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cp-muted); }
.ce-fips-badge{ background: var(--cp-terra-light); color: var(--cp-terra-deep); padding: 3px 8px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.ce-eyebrow-seg::before{ content: "\2022"; margin-right: 10px; color: var(--cp-line); }
/* About card head chip + typology footer (SPEC-COUNTY §4) */
.ce-about-head{ display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.ce-about-foot{ display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; border-top: 1px solid var(--cp-line); margin-top: 14px; padding-top: 12px; font-size: 13.5px; }
/* Quick-facts head with the population rank pill (SPEC-COUNTY §6) */
.ce-qf-head{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
/* State Profiles redesign (2026-11-12): additions for the state profile
   rebuilt on the county profile pattern.

   MERGE: append this whole block to the END of web/styles.css in
   ~/workspace/county-explorer, after the county redesign section. Every
   other class the new state_profile.html.j2 uses already exists in
   styles.css (heroband, crumb, eyebrow, switchband, tablist, findings,
   headline cards, bullets, layout, state table, inspection panel,
   pager, locator, quick facts, jump bar). Only the rules below are
   new. (Second pass, 2026-11-12: the template no longer uses the
   at-a-glance cards or an Overview About card — neither exists in the
   county profile anatomy; see COMPLIANCE.md.) */

/* The state switcher band carries ONE field (State) plus its buttons,
   where the county band carries two fields (State, County) plus buttons.
   The base .ce-switchband grid is "1fr 1.3fr auto", which would strand
   the buttons in the wide middle track; one wide field track and one
   auto track put the field and the buttons where the county band puts
   them. Specificity is one class, the same as .ce-switchband, so this
   later rule wins at desktop widths on source order alone. */
.ce-switchband-one{ grid-template-columns: minmax(0, 1fr) auto; }
/* At phone widths the county band stacks to one column (the existing
   max-width:760px rule for .ce-switchband); the one-field band stacks
   the same way. This rule must stay after the one above: at equal
   specificity the media rule for .ce-switchband alone would lose to
   the later .ce-switchband-one rule and leave two columns on phones. */
@media (max-width: 760px){ .ce-switchband-one { grid-template-columns: 1fr; } }
/* The Counties tab embeds the county state page's .ce-layout (table
   column + inspection panel). .ce-layout carries margin-top: 26px for
   its place under a hero band; inside a tab panel the panel's own
   padding-top (22px) is the spacing, so the extra 26px goes. */
.ce-tpanel .ce-layout{ margin-top: 0; }
/* Profile audit fixes (2026-11-13, PROFILE_AUDIT_2026-11-13.md):
   domain groups inside a tab become delimited units, the domain and
   similar tables get a real head band, numeric cells stop wrapping
   mid-figure, the estimates tab's download section gets air and a
   separator, and phone-width domain tables keep their row labels. */
/* F1: group delimitation */
.ce-tpanel .ce-domain{ margin-top: 44px; }
.ce-tpanel .ce-domain:first-child{ margin-top: 4px; }
.ce-domain > h3{ font-family: var(--font-d); font-size: 19px; font-weight: 700; color: var(--cp-terra-text); border-top: 2px solid var(--cp-line); padding-top: 20px; margin: 0 0 14px; }
.ce-domain .ce-table-wrap{ margin-top: 14px; }
/* F2 (owner's ruling, 2026-11-13): every table in the data hub takes
   the classic statistics-table format ruled for Insights and Guides —
   black head band, full thin grid on every cell, centered figures,
   first column left, compact padding, no striping or fills. Sticky
   table columns separate with their grid border, never a box-shadow
   (the shadow on the right of the frozen column he flagged on
   mobile). */
.ce-table{ font-family: var(--font-b); }
.ce-table button{ font: inherit; }
.ce-table th, .ce-table td{ border: 1px solid #8a8f98; padding: 6px 10px; }
.ce-table thead th{ background: #5C646D; color: #fff; text-align: center; font-weight: 700; border: 1px solid #8a8f98; vertical-align: middle; }
.ce-table thead th:first-child{ text-align: left; }
.ce-table tbody th[scope="row"]{ text-align: left; }
.ce-table td{ text-align: center; }
/* F3: managed rank column + row-header measure; the figure cells
   take ce-num from the template — tabular numerals, never wrapping
   mid-figure, alignment unchanged (the house num class right-aligns;
   these tables are left-aligned by design) */
.ce-table td.ce-num{ font-variant-numeric: tabular-nums; white-space: nowrap; }
.ce-domain .ce-table tbody th[scope="row"]{ min-width: 168px; }
/* F4: the download section's spacing and separator */
.ce-download{ margin-top: 38px; border-top: 1px solid var(--cp-line); padding-top: 26px; }
/* The older county-layout rule set a slate focus outline inside the
   profile layouts; it outranks the bare :focus-visible above, so the
   orange is restated at the same specificity, later in the file. */
.ce-heroband :focus-visible, .ce-layout :focus-visible, .ce-profile-layout :focus-visible{ outline: 2px solid #F29B26; outline-offset: -2px; }
/* F7 (2026-11-13, owner review round 2, corrected by owner): Quick Facts
   values at 14px. The font is --cp-num (Space Grotesk) as declared on the
   base rule; the wrong-font views were the frame font stylesheet's
   display=optional fallback on cold loads, fixed by the font preloads in
   templates/base.html.j2, not by any size change. */
.ce-qf-row dd{ font-size: 14px; }
.ce-select-band .ce-select-field label{ color: #D7E5EE; }
/* F10 (2026-11-13, owner review round 2): a key under every card bullet —
   the black tick is the comparison, the grey tick is the United States;
   nothing on the page said what the two ticks meant (owner). */
.ce-bullet-key{ font-size: 9.5px; color: var(--cp-muted); margin: 2px 0 0; }
.ce-bk{ display: inline-block; width: 2px; height: 11px; margin: 0 5px 0 12px; vertical-align: -1px; }
.ce-bullet-key .ce-bk:first-child{ margin-left: 0; }
/* F11 (2026-11-13, owner review round 2): the county page's reading text
   down a step (owner, from the Platte County page) — hero subline 15.5 to
   14, hero summary 17 to 15.5 (15 in the county trim), About card 16 to
   15, finding sentences 14.5 to 13.5; and the finding card's gap line
   matches the two lines above it at 12.5px (owner). */
.ce-county-sub{ font-size: 14px; }
.ce-summary p{ font-size: 15.5px; }
#ce-county .ce-summary p{ font-size: 15px; }
.ce-aboutcard p{ font-size: 15px; }
.ce-find-text{ font-size: 13.5px; }
.ce-find .ce-gap{ font-size: 12.5px; }
/* F12 (2026-11-13): chart legend as a right-side stacked box, one entry per
   line, faint border (owner-approved preview); on phones it stacks below. */
.ce-chart{display:flex;flex-direction:column;gap:10px;border:1px solid #E2E4E9;border-radius:10px;padding:16px 18px;background:#fff}
.ce-chart svg{flex:1;min-width:0}
.ce-legend{border-top:1px solid #EDEEF1;padding:2px 0 0;font-size:10px;line-height:1.45;color:var(--cp-body);display:flex;flex-wrap:wrap;column-gap:22px}
.ce-tab:focus-visible{outline:none;box-shadow:inset 0 -3px 0 var(--cp-terra)}
/* Owner, 2026-11-13 (evening): the About-these-numbers and Reliability
   notes lists read at small-print size, not body size. */
.ce-about ul, section[aria-labelledby="ce-h-notes"] ul{ font-size: 12.5px; line-height: 1.6; }
/* Owner, 2026-11-13 (evening): the ruled line above a domain heading
   separates stacked domains; the first (or only) heading in a tab has
   nothing above it to separate from, so it carries no line. */
#ce-county .ce-tpanel > .ce-domain:first-child > h3, #ce-state-profile .ce-tpanel > .ce-domain:first-child > h3{ border-top: 0; padding-top: 0; }

.zp .ce-wrap{max-width:1120px;margin:0 auto;padding:0 32px}
@media(max-width:700px){.zp .ce-wrap{padding:0 18px}}
.zp{background:var(--cp-cream);color:var(--cp-ink);font-family:var(--font-b)}
.zp .ce-tpanel>.ce-domain:first-child>h3{border-top:0;padding-top:0}
.zp h2{font-family:var(--font-d);font-weight:700;font-size:21px;line-height:1.3;margin:32px 0 12px;color:#C2591C}
.zp .ce-aboutcard h2{margin:0 0 12px}
.zp .zp-static h2{color:var(--cp-ink)}
.zp .zp-static{font-size:16px;line-height:1.65;color:var(--cp-body);padding:34px 0 8px}
.zp .zp-static p{margin:0 0 14px;max-width:46rem}
.zp .zp-static ul{margin:0 0 14px;padding-left:20px;max-width:46rem}
.zp .zp-static li{margin-bottom:8px}
.zp-tag{display:inline-block;font-size:11px;font-weight:600;border:1px solid var(--cp-line);border-radius:999px;padding:1px 8px;color:var(--cp-slate-deep);background:var(--cp-slate-light);white-space:nowrap}
.zp-crude-note{font-size:13.5px;line-height:1.55;color:var(--cp-body);background:var(--cp-terra-light);border:1px solid var(--cp-line);border-radius:10px;padding:12px 14px;margin:0 0 6px;max-width:46rem}
.zp-overlap{font-size:13.5px;color:var(--cp-body);margin:10px 0 0;max-width:46rem;line-height:1.55}
.zp-sources{color:var(--cp-muted);font-size:10px;border-top:1px solid var(--cp-line);padding-top:18px;margin-top:48px;line-height:1.6}
.zp-rank-dots{width:100%;height:auto;display:block}
.zp select:disabled{opacity:.55}
.ce-sw-btns .zp-go{background:var(--cp-terra-text);color:#fff;border:1px solid var(--cp-terra-text);border-radius:8px;font:inherit;font-weight:600;padding:0 22px;min-height:44px;cursor:pointer}
.ce-sw-btns .zp-go:disabled{background:#C9C4B8;border-color:#C9C4B8;cursor:default}
/* ---- ZIP profile type trim, desktop widths only (owner, 2026-11-15;
   board 290: "Shrink state and ZIP to the county scale") ----
   The county trim (web/styles.css, min-width:601px, #ce-county), copied
   for the ZIP results panel so ZIP areas render at the county desktop
   scale. Values are the county trim's own, measured rendered on the
   county reference (H1 28 / H2 19 / H3 16 / tables 13). Two ZIP
   readings differ from the audit's code-read values and are trimmed
   from what actually renders: results h2s render 21px, not 24px
   (.zp h2, equal specificity, later in this file, beats
   .ce-tpanel h2's 24px), and the summary renders 15.5px (F11).
   Rules already at the county scale need no line here: .ce-tab 15px,
   .ce-aboutcard p 15px, .ce-find-text 13.5px, .ce-county-sub 14px,
   headline/find values 29px (the county trim leaves those alone).
   Phone widths are untouched: the media query is desktop-only, so the
   phone scale (H1 32px) is exactly what it was. */
@media (min-width: 601px) {
  .ce-county-name { font-size: 28px; }
  .ce-tpanel h2 { font-size: 19px; }
  .zp h2 { font-size: 19px; }
  .ce-domain > h3 { font-size: 16px; }
  .ce-table { font-size: 13px; }
  .ce-summary p { font-size: 15px; }
  .ce-steps-list li { font-size: 14.5px; }
  .ce-rank-phrase { font-size: 15px; }
  .ce-note { font-size: 12px; }
}

/* ZIP band: four fields (state, county, ZIP, button) on one line on desktop. */
.ce-switchband-zip{grid-template-columns:1fr 1.3fr 1fr auto;}
@media (max-width: 760px){ .ce-switchband-zip{grid-template-columns:1fr;} }
.zp-has-result>.ce-heroband h1,.zp-has-result>.ce-heroband .ce-county-sub,.zp-has-result>.ce-heroband .ce-note{display:none}
.zp-has-result>.ce-heroband{padding-bottom:0}
.zp .zp-resultband{margin-top:0;padding-top:6px}
