/* State program pages and the /states table (drawn by assets/state-shell.js; shells and data from site-src/tools/gen_state_pages.mjs). Tokens come from styles.css. */
.sp-info { display: inline-flex; vertical-align: -2px; width: 14px; height: 14px; margin-left: 4px; color: var(--muted); opacity: .75; text-decoration: none; cursor: help; flex: none; }
.sp-info:hover, .sp-info:focus-visible { opacity: 1; color: var(--teal); }
.sp-info svg { width: 100%; height: 100%; display: block; }
.sp-head h1 { margin-bottom: .2em; }
.sh-viewbody .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.sh-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 44px 0 14px; }
.sh-head-l { min-width: 0; }
.sh-head h1 { margin: 0 0 4px; }
.sh-head .lede { margin: 6px 0 0; }
.sh-allstates { margin: 8px 0 0; font-size: 14px; }
.sh-contracted { margin: 10px 0 0; }
.sh-head-r { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.sh-stsel { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.sh-stsel select { font: 600 13px var(--sans); letter-spacing: 0; text-transform: none; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); }
.sh-mini { width: 160px; display: block; position: relative; text-decoration: none; }
.sh-mini svg { width: 100%; height: auto; max-height: 170px; display: block; }
.sh-mini path { stroke: #fff; stroke-width: .6; }
.sh-mini:hover path, .sh-mini:focus-visible path { stroke: var(--teal); }
.sh-mini span { position: absolute; left: 0; right: 0; bottom: -2px; font-size: 11px; color: var(--teal); text-align: center; opacity: 0; transition: opacity .15s; background: rgba(255, 255, 255, .85); }
.sh-mini:hover span, .sh-mini:focus-visible span { opacity: 1; }
.sh-minilink { font-size: 13px; }

#sh-subhost { position: sticky; top: var(--header-h); z-index: 30; }
.sh-subbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.sh-sub { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: thin; }
.sh-sub button { font: inherit; font-size: 14.5px; padding: 11px 14px; border: 0; background: none; color: var(--ink-soft); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.sh-sub button:hover { color: var(--teal); }
.sh-sub button.on { color: var(--navy); font-weight: 600; border-bottom-color: var(--teal); }
.sh-sub button:focus-visible, .sh-go:focus-visible, .sh-chips button:focus-visible, .sh-ind button:focus-visible, .sh-sort:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.sh-viewbody { padding: 18px 0 8px; outline: none; }
.sh-body { padding-bottom: 48px; }
.sh-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.sh-s5 { grid-column: span 5; } .sh-s7 { grid-column: span 7; } .sh-s12 { grid-column: span 12; }
.sh-tile { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sh-tile h3 { margin: 0; font-family: var(--sans); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.sh-tile h4 { margin: 0; font-family: var(--sans); font-size: 14.5px; color: var(--navy); }
.sh-big { font-family: var(--serif); font-size: 30px; line-height: 1.1; color: var(--navy); overflow-wrap: anywhere; }
.sh-unit { font-size: 12.5px; color: var(--muted); }
.sh-sm { font-size: 14px; color: var(--ink-soft); margin: 4px 0; max-width: none; }
.sh-go { margin-top: auto; padding: 6px 0 0; font: inherit; font-size: 13px; color: var(--teal); background: none; border: 0; text-align: left; cursor: pointer; align-self: flex-start; }
.sh-go:hover { text-decoration: underline; }
.sh-empty { background: var(--teal-mist); border-style: dashed; box-shadow: none; }
.sh-emptyline { color: var(--muted); font-size: 14px; margin: 6px 0; max-width: none; }
.sh-na { display: inline-block; font-size: 12.5px; color: var(--warm); background: var(--warm-soft); border-radius: 5px; padding: 0 6px; }

.sh-grid-top { align-items: start; }
.sh-ki { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; align-items: start; margin-top: 8px; }
.sh-ind { position: relative; border-top: 1px solid var(--line-soft); margin-right: 12px; display: flex; }
.sh-ind button { flex: 1; font: inherit; text-align: left; background: none; border: 0; padding: 9px 22px 9px 0; cursor: pointer; color: inherit; display: flex; flex-direction: column; position: relative; min-width: 0; }
.sh-ind button:hover { background: var(--teal-mist); }
.sh-ind button:hover .sh-big { color: var(--teal); }
.sh-ind .sp-info { position: absolute; right: 2px; bottom: 8px; margin: 0; }
.sh-ind .sh-l { font-size: 12px; color: var(--muted); line-height: 1.3; }
.sh-ind .sh-big { font-size: 26px; margin: 2px 0; }
.sh-ind-txt .sh-big { font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sh-ind.sh-empty { background: none; border-style: solid; border-left: 0; border-right: 0; border-bottom: 0; }
.sh-ind.sh-empty .sh-big { font-family: var(--sans); font-size: 13.5px; color: var(--muted); line-height: 1.35; }

.sh-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.sh-chips button { font: inherit; font-size: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); border-radius: 20px; padding: 2px 11px; cursor: pointer; }
.sh-chips button.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.sh-feed { list-style: none; margin: 6px 0 0; padding: 0; max-width: none; }
.sh-feed li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 3px 12px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.sh-feed li:first-child { border-top: 0; }
.sh-d { font-size: 12px; color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; }
.sh-t { color: var(--navy); font-weight: 500; }
.sh-t a { color: inherit; text-decoration-color: var(--line); }
.sh-t a:hover { color: var(--teal); }
.sh-s { grid-column: 2; font-size: 13.5px; color: var(--ink-soft); }
.sh-m { grid-column: 2; display: flex; flex-wrap: wrap; gap: 5px; align-items: center; font-size: 12px; color: var(--muted); }
.sh-tag { display: inline-block; font-size: 11px; background: var(--teal-soft); color: var(--teal); border-radius: 20px; padding: 1px 9px; }
.sh-tag.sh-contract { background: var(--navy); color: #fff; font-size: 12px; padding: 2px 10px; }
.sh-tag.sh-cah { background: var(--warm-soft); color: var(--warm); white-space: nowrap; }

.sh-bul { margin: 4px 0; padding-left: 18px; font-size: 13.5px; max-width: none; }
.sh-bul li { margin: 3px 0; }
.sh-torch { font-size: 15px; color: var(--navy); font-weight: 500; margin: 2px 0 6px; max-width: none; }
.sh-rh-top { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-end; margin: 6px 0 2px; }
.sh-rh-top .sh-big { font-size: 34px; }
.sh-rh-lead { max-width: 420px; }
.sh-inits { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 10px; }
.sh-init { background: var(--teal-mist); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--ink-soft); }
.sh-init h4 { margin: 0; font-family: var(--sans); font-size: 14.5px; color: var(--navy); }
.sh-init .sh-tag { align-self: flex-start; }
.sh-init p { margin: 0; max-width: none; font-size: 13px; }
.sh-amt { font-family: var(--serif); font-size: 18px; color: var(--navy); margin-top: auto; }
.sh-src { font-size: 12px; overflow-wrap: anywhere; }

.sh-block { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px; box-shadow: var(--shadow); }
.sh-block h3 { margin: 0 0 8px; font-family: var(--sans); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.sh-lead { font-size: 14px; color: var(--ink-soft); margin: 0 0 8px; max-width: none; }
.sh-glance { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 4px 0; }
.sh-glance .sh-tile { box-shadow: none; background: var(--sand-2); }
.sh-glance .sh-big { font-size: 26px; }
.sh-cmp { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.sh-cmp-higher { color: var(--warm); }
.sh-cmp-lower { color: var(--teal); }
.sh-tablewrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--card); max-width: 100%; margin: 6px 0; }
.sh-table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.sh-table th, .sh-table td { padding: 7px 10px; border-top: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.sh-table thead th { background: var(--teal-mist); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-top: 0; white-space: nowrap; }
.sh-table tbody th { font-weight: 600; color: var(--ink); }
.sh-table td.sh-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sh-table td.sh-num .sh-unit { display: block; }
.sh-table .sh-lead-cell { min-width: 220px; max-width: 360px; font-size: 13px; }
.sh-sort { font: inherit; font-weight: inherit; color: inherit; background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: inherit; letter-spacing: inherit; text-transform: inherit; }
.sh-sort::after { content: ""; display: inline-block; margin-left: 5px; border: 4px solid transparent; border-top-color: var(--line); vertical-align: middle; }
th[aria-sort="ascending"] .sh-sort::after { border-top-color: transparent; border-bottom-color: var(--teal); margin-top: -4px; }
th[aria-sort="descending"] .sh-sort::after { border-top-color: var(--teal); }
.sh-fold { margin: 6px 0; }
.sh-fold > summary { cursor: pointer; font-size: 14px; color: var(--teal); font-weight: 600; padding: 4px 0; }

.sh-mapview { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 14px; }
.sh-ctl { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 14px; font-size: 13px; display: flex; flex-direction: column; gap: 12px; align-self: start; }
.sh-ctl h4 { margin: 0 0 4px; font-family: var(--sans); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.sh-quick { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.sh-btn { display: inline-block; background: var(--teal); color: #fff; border-radius: 9px; padding: 8px 14px; font-size: 13.5px; text-decoration: none; text-align: center; }
.sh-btn:hover { background: var(--navy); color: #fff; }
.sh-mapbox { background: var(--blue-mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; position: relative; min-height: 320px; min-width: 0; }
.sh-mapbox svg { width: 100%; height: auto; max-height: 560px; display: block; }
.sh-mapbox path { stroke: #fff; stroke-width: .7; }
.sh-badge { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: 12.5px; color: var(--navy); font-weight: 600; margin-bottom: 6px; }
.sh-maplegend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0; margin: 8px 0 0; font-size: 12.5px; max-width: none; }
.sh-maplegend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 5px; vertical-align: -2px; border: 1px solid var(--line-soft); }

.sh-idx-tools { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin-bottom: 6px; }
.sh-idx-filter { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); flex: 1 1 260px; max-width: 360px; }
.sh-idx-filter .search { text-transform: none; letter-spacing: 0; padding: 8px 12px; font-size: 15px; }
#sh-idx-table tbody th a { color: var(--teal); text-decoration: none; }
#sh-idx-table tbody th a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .sh-s5, .sh-s7 { grid-column: span 12; }
  .sh-mapview { grid-template-columns: minmax(0, 1fr); }
  .sh-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sh-head { padding-top: 28px; gap: 12px; }
  .sh-mini { width: 96px; }
  .sh-stsel { flex-direction: column; align-items: flex-end; gap: 2px; }
  .sh-ki { grid-template-columns: 1fr; }
  .sh-inits { grid-template-columns: 1fr; }
  .sh-feed li { grid-template-columns: 1fr; }
  .sh-m, .sh-s { grid-column: 1; }
  .sh-glance { grid-template-columns: 1fr; }
}
