/* ══════════════════════════════════════════════════════════════
   ZoneScout: the Data and coverage page (/coverage/, generated by scripts/build-coverage.mjs).

   The state hubs' blocks (home.css, hx-) and the Accounts page's table (accounts.css, ac-), plus
   these, namespaced cv-. A row of state tabs, one table per state; greys, hairlines and one
   accent. Without /coverage.js the tabs are links and every table shows, one after another.
   ══════════════════════════════════════════════════════════════ */

.cv .hx-sec { padding: 56px 0 72px }
@media (max-width: 760px) { .cv .hx-sec { padding: 36px 0 52px } }
.cv .hx-hub-hero .hx-wrap { padding-bottom: 40px }
.cv .hx-hub-hero .hx-h1 { max-width: none; margin-top: 24px }
.cv-updated { margin-top: 14px; font-size: 14px; color: var(--ink3) }

/* The tabs: one row, scrolling sideways when it does not fit. */
.cv-tabs {
  position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--border); margin-bottom: 32px;
}
.cv-tabs::-webkit-scrollbar { display: none }
.cv-tabs a {
  flex: none; padding: 12px 16px 13px; font-size: 15px; font-weight: 600; letter-spacing: -.005em;
  color: var(--ink3); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.cv-tabs a:hover { color: var(--ink) }
.cv-tabs a[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent) }
.cv-tabs a:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 6px }
@media (max-width: 560px) { .cv-tabs a { padding: 11px 13px 12px; font-size: 14.5px } }

/* The tables. Stacked (no script), each state is set apart by a hairline; as tabs, one shows. */
.cv-state { scroll-margin-top: 88px }
.cv-state:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 12px }
.cv-state + .cv-state { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--border-light) }
.cv-tabbed .cv-state + .cv-state { margin-top: 0; padding-top: 0; border-top: 0 }
.cv-h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -.025em; color: var(--ink) }
.cv-state .ac-tablewrap { margin-top: 18px }

.cv-table { min-width: 0; table-layout: fixed }
.cv-table caption.cv-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.cv-table thead th:nth-child(2), .cv-table thead th:nth-child(3) { width: 7.5rem }
.cv-table thead th:nth-child(4) { width: 13.5rem }
.cv-table tbody th { white-space: normal; overflow-wrap: anywhere }
.cv-table tbody th small { color: var(--ink3); font-size: 13px; margin-top: 2px }
.cv-table td.num { color: var(--ink); font-weight: 500 }
.cv-none { color: var(--ink3); font-weight: 400 }
.cv-badge {
  display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 500; line-height: 1.5;
  color: var(--ink2); background: var(--paper); border: 1px solid var(--border);
}

/* A phone: the columns size to what they hold, so the dataset wraps between words only. Fixed
   widths here left the dataset 12 to 82 px at 320 to 414 px, and its words split mid-word
   ("Developmen / t"; 16 Nov 2026). The figures stay on one line. */
@media (max-width: 640px) {
  .cv-table { font-size: 13.5px; table-layout: auto }
  .cv-table th, .cv-table td { padding: 11px 10px }
  .cv-table thead th { font-size: 12px }
  .cv-table thead th:nth-child(n) { width: auto }
  .cv-table tbody th { overflow-wrap: normal }
  .cv-table tbody th small { font-size: 12px }
  .cv-badge { font-size: 11.5px; padding: 1px 7px; border-radius: 8px }
}
@media (max-width: 400px) {
  .cv-table th, .cv-table td { padding: 11px 7px }
}

.cv-notes { margin-top: 28px; font-size: 14px; line-height: 1.65; color: var(--ink3); max-width: 80ch }
.cv-notes a { color: var(--accent) }
