/* FieldCentral theme - matches fieldcentral.com (navy 002B49 text, green 009944 / 70D44B, yellow FEC524,
     pill buttons) and the AI Hub Client Map restyle. Brandon Grotesque is licensed: Montserrat (headings) and
     Inter (text) stand in. White text on 009944 is only 3.7:1, so buttons use 00843B (4.8:1). */
  :root {
    --page: #F4F7FA; --surface: #FFFFFF; --surface-alt: #EEF3F8; --surface-hi: #F7F9FB;
    --ink: #002B49; --ink-soft: #3E5568; --ink-faint: #5D6F7E;
    --rule: #DCE4EC; --rule-soft: #E7ECF2;
    --brand: #009944; --brand-lite: #70D44B; --brand-btn: #00843B; --brand-btn-hover: #006F31; --on-brand: #FFFFFF;
    --brand-soft: #E7F6ED; --brand-ink: #0A7C3D; --yellow: #FEC524;
    --link: #0B70A8;
    --ok: #0A8F4B; --ok-bg: #E7F6ED;
    --warn: #8A5A00; --warn-dot: #E0A21A; --warn-bg: #FDF3D7;
    --risk: #C93B3B; --risk-bg: #FBE4E1;
    --info: #0B6FA8; --info-bg: #E3F1FA;
    --st-full: #0E86C4; --st-full-pill: #0B6FA8; --st-some: #7CC3E8; --st-state: #93A2AE;  /* coverage status - never the grade colours */
    --land: #E7EDF3; --ocean: #EFF4F9;
    --shadow: 0 1px 2px rgba(6,24,44,.05), 0 10px 28px rgba(6,24,44,.07);
    --rad: 14px; --rad-sm: 10px;
    color-scheme: light;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --page: #0A1119; --surface: #111D2B; --surface-alt: #0E1926; --surface-hi: #15243A;
      --ink: #E9F0F7; --ink-soft: #B9C7D4; --ink-faint: #93A6B7;
      --rule: #243447; --rule-soft: #1B2A3B;
      --brand: #22C77E; --brand-lite: #70D44B; --brand-btn: #22C77E; --brand-btn-hover: #3ED894; --on-brand: #06121C;
      --brand-soft: #12351F; --brand-ink: #7BE0AA; --yellow: #FEC524;
      --link: #3DB2EC;
      --ok: #22C77E; --ok-bg: #12351F;
      --warn: #F2B23A; --warn-dot: #F2B23A; --warn-bg: #33290F;
      --risk: #F16B55; --risk-bg: #3F1F1A;
      --info: #3DB2EC; --info-bg: #12304A;
      --st-full: #3DB2EC; --st-full-pill: #3DB2EC; --st-some: #2A6F95; --st-state: #63788C;
      --land: #152434; --ocean: #0A1521;
      --shadow: 0 2px 8px rgba(0,0,0,.4), 0 16px 40px rgba(0,0,0,.45);
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --page: #0A1119; --surface: #111D2B; --surface-alt: #0E1926; --surface-hi: #15243A;
    --ink: #E9F0F7; --ink-soft: #B9C7D4; --ink-faint: #93A6B7;
    --rule: #243447; --rule-soft: #1B2A3B;
    --brand: #22C77E; --brand-lite: #70D44B; --brand-btn: #22C77E; --brand-btn-hover: #3ED894; --on-brand: #06121C;
    --brand-soft: #12351F; --brand-ink: #7BE0AA; --yellow: #FEC524;
    --link: #3DB2EC;
    --ok: #22C77E; --ok-bg: #12351F;
    --warn: #F2B23A; --warn-dot: #F2B23A; --warn-bg: #33290F;
    --risk: #F16B55; --risk-bg: #3F1F1A;
    --info: #3DB2EC; --info-bg: #12304A;
    --st-full: #3DB2EC; --st-full-pill: #3DB2EC; --st-some: #2A6F95; --st-state: #63788C;
    --land: #152434; --ocean: #0A1521;
    --shadow: 0 2px 8px rgba(0,0,0,.4), 0 16px 40px rgba(0,0,0,.45);
    color-scheme: dark;
  }

  * { box-sizing: border-box; }
  body { margin: 0; background: var(--page); color: var(--ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
  a { color: var(--link); }
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
  .wrap { max-width: 1000px; margin: 0 auto; padding: 16px 20px 64px; }
  .lbl { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  /* brand bar: FieldCentral logo (colour in light, white in dark), theme switch, link out */
  .brandbar { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--rad); box-shadow: var(--shadow); padding: 10px 14px 10px 18px; margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .brandbar img { height: 34px; width: auto; display: block; }
  .brandbar .logo-dark { display: none; }
  :root[data-theme="dark"] .brandbar .logo-light { display: none; } :root[data-theme="dark"] .brandbar .logo-dark { display: block; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brandbar .logo-light { display: none; } :root:not([data-theme="light"]) .brandbar .logo-dark { display: block; } }
  .brandbar .tools { display: flex; align-items: center; gap: 8px; }
  .brandbar a { background: var(--brand-btn); color: var(--on-brand); font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; padding: 9px 16px; border-radius: 999px; min-height: 40px; display: inline-flex; align-items: center; }
  .brandbar a:hover { background: var(--brand-btn-hover); }
  .theme { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--rule); background: var(--surface); color: var(--ink-soft); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
  .theme:hover { color: var(--ink); border-color: var(--ink-faint); }
  .theme svg { width: 18px; height: 18px; } .theme .sun { display: none; }
  :root[data-theme="dark"] .theme .sun { display: block; } :root[data-theme="dark"] .theme .moon { display: none; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .sun { display: block; } :root:not([data-theme="light"]) .theme .moon { display: none; } }
  @media (max-width: 480px) { .brandbar { padding: 8px 10px 8px 12px; } .brandbar img { height: 28px; } .brandbar a { font-size: 12.5px; padding: 8px 12px; white-space: normal; text-align: center; line-height: 1.2; } }

  .mast h1 { color: var(--ink); font-family: Montserrat, Inter, system-ui, sans-serif; font-weight: 700; font-size: clamp(28px, 4.4vw, 42px); line-height: 1.05; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
  .mast h1::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin-top: 12px; background: linear-gradient(90deg, var(--brand) 0 60%, var(--brand-lite) 60% 100%); }
  .mast .sub { font-size: 15px; color: var(--ink-soft); margin: 12px 0 0; max-width: 64ch; }

  /* finder */
  .finder { margin-top: 24px; position: relative; }
  .finder label { display: block; font-family: Montserrat, Inter, sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
  .finder input { width: 100%; font: inherit; font-size: 17px; color: var(--ink); min-height: 52px; padding: 12px 18px; background: var(--surface); border: 1.5px solid var(--rule); border-radius: 999px; box-shadow: var(--shadow); }
  .finder input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent), var(--shadow); }
  .finder input::placeholder { color: var(--ink-faint); }
  .qwrap { position: relative; }
  .finder .qwrap input { padding-right: 52px; }
  .finder input::-webkit-search-cancel-button { display: none; }   /* our own x clears the selection too */
  .qclear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-alt); color: var(--ink-soft); font-size: 22px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0 0 2px; }
  .qclear:hover { background: var(--rule); color: var(--ink); }
  .clearbtn { font: inherit; font-size: 14px; font-weight: 600; min-height: 44px; padding: 6px 16px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink-soft); border-radius: 999px; cursor: pointer; }
  .clearbtn:hover { color: var(--ink); border-color: var(--ink-faint); }
  .hits { position: absolute; left: 0; right: 0; z-index: 10; margin-top: 6px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--rad); box-shadow: var(--shadow); overflow: hidden; }
  .hit { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; min-height: 46px; background: none; border: 0; border-top: 1px solid var(--rule-soft); font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
  .hit:first-child { border-top: 0; }
  .hit:hover, .hit.on { background: var(--brand-soft); }
  .hit small { color: var(--ink-faint); font-size: 12.5px; margin-left: 6px; }
  .hits .none { padding: 14px 16px; font-size: 14px; color: var(--ink-soft); }
  .hits .dym { padding: 10px 16px 4px; font-size: 13px; color: var(--ink-faint); }
  .browse { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
  .browse span { font-size: 14px; color: var(--ink-soft); }
  .browse select { font: inherit; font-size: 15px; min-height: 44px; padding: 6px 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; max-width: 100%; }
  .browse .cov { margin-left: auto; font-size: 13px; color: var(--ink-faint); }
  @media (max-width: 640px) { .browse .cov { margin-left: 0; width: 100%; } .browse select { flex: 1; } }

  /* coverage pills */
  .pill { font-size: 12px; font-weight: 600; letter-spacing: .01em; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
  .pill.full { background: var(--st-full-pill); color: var(--surface); }
  .pill.some { background: var(--info-bg); color: var(--info); box-shadow: inset 0 0 0 1px var(--st-some); }
  .pill.state { background: var(--surface-alt); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--rule); }
  .pill.offline { color: var(--ink-soft); border: 1px dashed var(--st-state); }
  .pill.none { border: 1px solid var(--rule); color: var(--ink-faint); }

  /* card */
  .card { margin-top: 22px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--rad); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 12px; overflow-wrap: anywhere; }  /* overflow is hidden, so unbreakable strings would be clipped on phones */
  .card-head { padding: 20px 22px 16px; border-bottom: 1px solid var(--rule); background: linear-gradient(180deg, var(--surface-hi), var(--surface)); }
  .card-head .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
  .card-head h2 { margin: 0 0 6px; font-family: Montserrat, Inter, sans-serif; font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
  .card-head .prov { font-size: 13px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .card-head .prov i { font-style: normal; } .card-head .prov .lbl { font-size: 12px; margin-right: 6px; }
  .caveat { padding: 9px 22px; background: var(--surface-alt); font-size: 12.5px; color: var(--ink-soft); border-bottom: 1px solid var(--rule); }
  .caveat a { color: inherit; }
  .lead { padding: 15px 22px; font-size: 15px; border-bottom: 1px solid var(--rule-soft); }
  .lead b { font-weight: 600; }
  .watch { padding: 13px 22px 15px; background: var(--warn-bg); border-bottom: 1px solid var(--rule); border-left: 4px solid var(--yellow); }
  .watch .lbl { color: var(--warn); display: block; margin-bottom: 6px; }
  .watch ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
  .watch li { font-size: 15px; font-weight: 600; color: var(--ink); padding-left: 18px; position: relative; line-height: 1.4; }
  .watch li::before { content: "!"; position: absolute; left: 3px; top: 0; font-weight: 800; color: var(--warn); }
  .grp { padding: 16px 22px 8px; border-bottom: 1px solid var(--rule-soft); }
  .grp h3 { margin: 0 0 6px; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--brand-ink); font-weight: 700; }
  .row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-top: 1px solid var(--rule-soft); }
  .grp > .row:first-of-type { border-top: 0; }
  @media (max-width: 640px) { .row { grid-template-columns: minmax(0, 1fr); gap: 3px; } }
  .row .k { font-size: 13.5px; font-weight: 600; color: var(--ink); display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; align-content: flex-start; }
  .row .k .gw { flex-basis: 100%; padding-left: 17px; font-size: 12px; font-weight: 500; color: var(--ink-faint); }
  @media (max-width: 640px) { .row .k .gw { flex-basis: auto; padding-left: 0; } .row .k .gw::before { content: "· "; } }
  .row .v { font-size: 14px; color: var(--ink-soft); }
  .row .v em { font-style: normal; font-weight: 600; color: var(--ink); }
  .bl { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; }
  .bl li { position: relative; padding-left: 15px; line-height: 1.45; }
  .bl li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
  .ans { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 1px 9px; border-radius: 999px; margin: 0 0 5px; }
  .ans.yes { background: var(--brand-soft); color: var(--brand-ink); } .ans.no { background: var(--surface-alt); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--rule); }
  .row .v .ans { margin-right: 6px; }
  .cite { color: var(--ink-faint); font-size: .9em; white-space: normal; }
  .cmpt .bl { gap: 3px; } .cmpt .bl li { padding-left: 12px; }
  .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
  .dot.high { background: var(--ok); border: 1.5px solid var(--ok); }
  .dot.medium { background: linear-gradient(90deg, var(--warn-dot) 50%, transparent 50%); border: 1.5px solid var(--warn-dot); }
  .dot.low { background: transparent; border: 1.5px solid var(--risk); }
  .legend { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 11px 22px; font-size: 12.5px; color: var(--ink-faint); border-bottom: 1px solid var(--rule-soft); }
  .legend span { display: inline-flex; align-items: center; gap: 6px; }
  .note { margin: 0; padding: 12px 22px; font-size: 13px; color: var(--ink-soft); border-bottom: 1px solid var(--rule-soft); }
  .note b { color: var(--ink); }
  .foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--surface-hi); }  /* minmax(0,..): a long file name must not widen the card */
  @media (max-width: 700px) { .foot { grid-template-columns: minmax(0, 1fr); } }
  .foot > div { padding: 16px 22px; }
  .foot > div + div { border-left: 1px solid var(--rule-soft); }
  @media (max-width: 700px) { .foot > div + div { border-left: 0; border-top: 1px solid var(--rule-soft); } }
  .foot .lbl { margin-bottom: 8px; display: block; }
  .foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
  .foot li { font-size: 13px; color: var(--ink-soft); }
  .foot a { font-size: 13px; }
  .gaps li { padding-left: 14px; position: relative; }
  .gaps li::before { content: "\2014"; position: absolute; left: 0; color: var(--ink-faint); }
  .card .more { padding: 12px 22px; font-size: 13.5px; }

  /* county view */
  .ctable { width: 100%; border-collapse: collapse; }
  .ctable td { padding: 11px 22px; border-top: 1px solid var(--rule-soft); font-size: 14px; vertical-align: middle; }
  .ctable tr:first-child td { border-top: 0; }
  .ctable td.n a { font-weight: 600; text-decoration: none; }
  .ctable td.n small { color: var(--ink-faint); font-size: 12px; margin-left: 6px; }
  .ctable td.s { text-align: right; width: 1%; white-space: nowrap; }
  .cmp { padding: 15px 22px; border-bottom: 1px solid var(--rule-soft); }
  .cmp-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .cmp-pick button { font: inherit; font-size: 13px; cursor: pointer; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: var(--surface); color: var(--ink-soft); border: 1px solid var(--rule); }
  .cmp-pick button:hover { border-color: var(--brand); color: var(--ink); }
  .cmp-pick button[aria-pressed="true"] { background: var(--brand-btn); color: var(--on-brand); border-color: var(--brand-btn); font-weight: 600; }
  .tbl-scroll { overflow-x: auto; }
  .cmpt { border-collapse: collapse; width: 100%; min-width: 560px; }
  .cmpt th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; padding: 10px 22px; background: var(--surface-alt); }
  .cmpt td { padding: 10px 22px; border-top: 1px solid var(--rule-soft); font-size: 13.5px; color: var(--ink-soft); vertical-align: top; }
  .cmpt td.c { font-weight: 600; white-space: nowrap; overflow-wrap: normal; } .cmpt td.c a { text-decoration: none; }
  .cmpt td.g { white-space: nowrap; font-size: 12.5px; color: var(--ink-faint); } .cmpt td.g .dot { margin-right: 6px; }
  .cmpt td.x { color: var(--ink-faint); font-style: italic; }

  /* map */
  .mapbtn { font: inherit; font-size: 14px; font-weight: 600; min-height: 44px; padding: 6px 18px; border: 1.5px solid var(--brand-btn); background: var(--surface); color: var(--brand-ink); border-radius: 999px; cursor: pointer; }
  .mapbtn:hover { background: var(--brand-soft); }
  .mapbtn[aria-expanded="true"] { background: var(--brand-btn); color: var(--on-brand); }
  .mapwrap { margin-top: 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--rad); box-shadow: var(--shadow); overflow: hidden; }
  .maptools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 9px 12px; border-bottom: 1px solid var(--rule-soft); }
  .maptools button { font: inherit; font-size: 13px; font-weight: 600; min-width: 40px; min-height: 40px; padding: 4px 14px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink-soft); border-radius: 999px; cursor: pointer; }
  .maptools button:hover { color: var(--ink); border-color: var(--brand); }
  .maptools button[aria-pressed="true"] { background: var(--brand-btn); color: var(--on-brand); border-color: var(--brand-btn); }
  .maphint { font-size: 12.5px; color: var(--ink-faint); margin-left: auto; }
  @media (max-width: 640px) { .maphint { margin-left: 0; width: 100%; } }
  .mapbox svg { display: block; width: 100%; height: auto; max-height: 72vh; touch-action: none; background: var(--ocean); }
  .mapbox svg.pass { touch-action: pan-x pan-y pinch-zoom; }  /* touch screens: a finger scrolls the page until "Move map" is on */
  .cty { fill: var(--land); stroke: var(--surface); stroke-width: .7px; vector-effect: non-scaling-stroke; cursor: pointer; }
  .cty.cx { fill: var(--rule-soft); cursor: default; }
  .cty.c1 { fill: color-mix(in srgb, var(--st-full) 16%, var(--land)); }
  .cty.c2 { fill: color-mix(in srgb, var(--st-full) 32%, var(--land)); }
  .cty.c3 { fill: color-mix(in srgb, var(--st-full) 50%, var(--land)); }
  svg.zoomed .cty:not(.sel) { fill-opacity: .45; }
  svg.zoomed .cty.sel { fill: var(--land); }
  .cty:hover { stroke: var(--brand); stroke-width: 1.6px; }
  .cty.sel { stroke: var(--brand); stroke-width: 2.8px; }
  .pts.hide { display: none; }
  .pt { stroke: var(--surface); stroke-width: .9px; vector-effect: non-scaling-stroke; cursor: pointer; }
  .pt.full { fill: var(--st-full); } .pt.some { fill: var(--st-some); } .pt.state { fill: var(--st-state); }
  .pt.offline { fill: var(--surface); stroke: var(--st-state); stroke-width: 1.6px; }
  .pt.none { fill: var(--surface); stroke: var(--ink-faint); }
  .pt.sel { stroke: var(--brand); stroke-width: 3px; }
  .labs text { fill: var(--ink); stroke: var(--surface); paint-order: stroke; stroke-linejoin: round; font-family: Inter, system-ui, sans-serif; font-weight: 600; cursor: pointer; }
  .labs.still text { pointer-events: none; font-weight: 700; }
  .labs text.sel { fill: var(--brand-ink); }
  .maplegend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 11px 14px; border-top: 1px solid var(--rule-soft); font-size: 12.5px; color: var(--ink-faint); }
  .maplegend span { display: inline-flex; align-items: center; gap: 6px; }
  .sw { width: 14px; height: 10px; border-radius: 3px; display: inline-block; border: 1px solid var(--rule); }
  .sw.c0 { background: var(--land); } .sw.c1 { background: color-mix(in srgb, var(--st-full) 16%, var(--land)); }
  .sw.c2 { background: color-mix(in srgb, var(--st-full) 32%, var(--land)); } .sw.c3 { background: color-mix(in srgb, var(--st-full) 50%, var(--land)); }
  .dt { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
  .dt.full { background: var(--st-full); } .dt.some { background: var(--st-some); } .dt.state { background: var(--st-state); }
  .dt.offline { border: 1.6px solid var(--st-state); } .dt.none { border: 1px solid var(--ink-faint); }

  /* sections */
  .sec { margin-top: 40px; }
  .sec-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); margin-bottom: 16px; }
  .sec-head h2 { margin: 0; font-family: Montserrat, Inter, sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
  .sec-head .note { font-size: 13px; color: var(--ink-faint); margin-left: auto; padding: 0; border: 0; }
  .state { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--rad); box-shadow: var(--shadow); overflow: hidden; }
  .state-top { padding: 14px 20px; background: var(--surface-alt); border-bottom: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-soft); }
  .state-top .lbl { color: var(--brand-ink); margin-right: 10px; }
  .req { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 13px 20px; border-bottom: 1px solid var(--rule-soft); }
  @media (max-width: 640px) { .req { grid-template-columns: 1fr; gap: 5px; } }
  .req:last-child { border-bottom: 0; }
  .req .k { display: flex; flex-direction: column; gap: 3px; } .req .k b { font-size: 13.5px; font-weight: 600; }
  .req .k code { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; color: var(--brand-ink); }
  .req .t { font-size: 13.5px; color: var(--ink-soft); } .req .t em { font-style: normal; font-weight: 600; color: var(--ink); }
  .fold > summary { cursor: pointer; padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--brand-ink); list-style: none; min-height: 46px; display: flex; align-items: center; }
  .fold > summary::-webkit-details-marker { display: none; }
  .fold > summary::before { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: var(--brand-soft); font-weight: 700; }
  .fold[open] > summary::before { content: "\2212"; }
  .fold[open] > summary { border-bottom: 1px solid var(--rule); }
  .about { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  @media (max-width: 760px) { .about { grid-template-columns: 1fr; } }
  .about h3 { font-family: Montserrat, Inter, sans-serif; font-size: 15.5px; font-weight: 700; margin: 0 0 8px; }
  .about p { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 8px; }
  .about .btn { display: inline-flex; align-items: center; margin-top: 6px; padding: 10px 20px; min-height: 44px; border-radius: 999px; background: var(--brand-btn); color: var(--on-brand); text-decoration: none; font-weight: 700; font-size: 14px; }
  .about .btn:hover { background: var(--brand-btn-hover); }
  .tally { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 18px; }
  .tally div { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--rad-sm); padding: 13px 15px; }
  .tally .n { font-family: Montserrat, Inter, sans-serif; font-size: 24px; font-weight: 700; line-height: 1; color: var(--ink); }
  .tally .l { font-size: 12px; color: var(--ink-faint); margin-top: 6px; }
  .disclaim { margin-top: 28px; padding: 14px 18px; background: var(--surface-alt); border-radius: var(--rad-sm); font-size: 13px; color: var(--ink-soft); scroll-margin-top: 12px; overflow-wrap: anywhere; }
  .disclaim b { color: var(--ink); }
  @media print { .brandbar .tools, .finder, .about .btn, .cmp, .mapwrap { display: none !important; } .card, .state, .brandbar { box-shadow: none; } body { background: #fff; color: #000; } }
