/* "<Country> state by state" section (scripts/lib/country-states.mjs). Shares
   the .cgi-* card system from country-global-investors.css; this file only
   handles the wide comparison table and the per-state rounds table. */
.country-states .cst-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.country-states .cst-table { min-width: 760px; }
.country-states .cst-table tbody th small { display: block; font-weight: 400; color: var(--text-lighter); font-size: 0.78em; margin-top: 0.1rem; }
.country-states .cst-table tbody tr.is-hl th, .country-states .cst-table tbody tr.is-hl td { background: var(--surface-card, transparent); }
.country-states .cst-table td { white-space: nowrap; }
.country-states .cst-rounds th[scope="row"] { width: 3.5rem; }
.country-states .cst-rounds td:nth-child(2) { white-space: nowrap; }
.country-states .cst-rounds td:nth-child(2) a { color: inherit; text-decoration: none; }
.country-states .cst-rounds td:nth-child(2) a:hover { text-decoration: underline; }
.country-states .hubs-map-layout .hubs-side .cgi-hbars { margin-top: 0.4rem; }
@media (max-width: 720px) {
  .country-states .cst-table { min-width: 680px; }
}

/* Founder factories (scripts/lib/country-founder-factories.mjs). */
.country-founder-factories .cff-bars .cgi-h-label { display: flex; align-items: center; gap: 0.45rem; min-width: 0; }
.country-founder-factories .cff-bars .cgi-h-label a { color: inherit; text-decoration: none; white-space: nowrap; }
.country-founder-factories .cff-bars .cgi-h-label a:hover { text-decoration: underline; }
.country-founder-factories .cff-bars .cgi-h-label small { color: var(--text-lighter); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.country-founder-factories .cff-corp-title { margin-top: 1.1rem; }

/* Period control and its panels: the table and the map cards share the grid. */
.country-states .cst-window { margin: 1rem 0 0.8rem; }
.country-states .cst-panel { display: grid; gap: 1.2rem; }
.country-states .cst-panel[hidden] { display: none; }
