/* State mini-site (drawn by assets/state-shell.js; the shells come 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-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-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; 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(251, 249, 245, .85); }
.sh-mini:hover span, .sh-mini:focus-visible span { opacity: 1; }
.sh-minilink { font-size: 13px; }

.sh-subbar { position: sticky; top: var(--header-h); z-index: 30; 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 { 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-s4 { grid-column: span 4; } .sh-s5 { grid-column: span 5; } .sh-s7 { grid-column: span 7; } .sh-s8 { grid-column: span 8; } .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, .sh-card 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; }
.sh-go:hover { text-decoration: underline; }
a.sh-go, a.sh-mapprev { text-decoration: none; }
a.sh-go:hover { text-decoration: underline; }
.sh-empty { background: var(--teal-mist); border-style: dashed; box-shadow: none; }
.sh-empty .sh-big { font-size: 18px; color: var(--muted); }
.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-ok { font-weight: 600; color: var(--teal); }
.sh-built { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.sh-built li { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.sh-built a { font-weight: 600; color: var(--teal); text-decoration: none; }
.sh-built a:hover { text-decoration: underline; }
.sh-built span { font-size: 14px; color: var(--ink-soft); }
.sh-pending { color: var(--muted); }

.sh-newstile, .sh-keytile { height: 100%; }
.sh-ki { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; 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; }
.sh-ind button:hover { background: var(--teal-mist); }
.sh-ind button:hover .sh-big { color: var(--teal); }
.sh-ind .sh-pin { position: absolute; right: 4px; top: 11px; width: 13px; height: 13px; color: var(--teal); opacity: 0; }
.sh-ind button:hover .sh-pin, .sh-ind button:focus-visible .sh-pin { opacity: 1; }
.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.sh-empty { background: none; border-style: solid; border-left: 0; border-right: 0; border-bottom: 0; }
.sh-ind.sh-empty .sh-big { font-size: 15px; }

.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-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.ty-closure { background: #f3e0e0; color: #8f2f2f; }
.sh-tag.ty-soon { background: #fdf1d3; color: #6f5106; }
.sh-tag.sh-warm { background: var(--warm-soft); color: var(--warm); align-self: flex-start; }
.sh-tag-prog { background: var(--sand); color: var(--ink-soft); }

.sh-list { margin: 6px 0 0; padding: 0; list-style: none; font-size: 13.5px; }
.sh-list li { padding: 6px 0; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 12px; }
.sh-list li:first-child { border-top: 0; }
.sh-list span { color: var(--muted); font-size: 12.5px; text-align: right; }
.sh-bul { margin: 4px 0; padding-left: 18px; font-size: 13.5px; max-width: none; }
.sh-bul li { margin: 3px 0; }
.sh-bars { display: flex; height: 16px; border-radius: 5px; overflow: hidden; margin: 8px 0 4px; }
.sh-bars i { display: block; height: 100%; }
.sh-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--ink-soft); }
.sh-legend em { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; }
.sh-mapprev { background: none; border: 0; padding: 0; cursor: pointer; max-height: 160px; display: flex; justify-content: center; }
.sh-mapprev svg { height: 150px; width: auto; max-width: 100%; }
.sh-mapprev path, .sh-mapbox path { stroke: #fff; stroke-width: .7; }

.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-inits { display: grid; grid-template-columns: repeat(4, minmax(0, 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 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-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; }
.sh-cols h4 { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 0 2px; }

.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.sh-empty { background: var(--teal-mist); box-shadow: none; }
.sh-block h2, .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-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin: 4px 0 10px; }
.sh-tiles .sh-tile { box-shadow: none; background: var(--sand-2); border-color: var(--line-soft); }
.sh-tiles .sh-big { font-size: 24px; }
.sh-dl { display: grid; grid-template-columns: minmax(150px, 30%) 1fr; gap: 6px 16px; font-size: 14px; margin: 6px 0 4px; }
.sh-dl dt { color: var(--muted); }
.sh-dl dd { margin: 0; }
.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-fold { margin: 6px 0; }
.sh-fold > summary { cursor: pointer; font-size: 14px; color: var(--teal); font-weight: 600; padding: 4px 0; }
.sh-line { width: 100%; height: 70px; display: block; }
.sh-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin: 0 0 4px; max-width: none; }
.sh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.sh-card { background: var(--sand-2); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 14px; }
.sh-card p { margin: 4px 0; max-width: none; }

.sh-mapview { display: grid; grid-template-columns: 250px 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 label { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.sh-ctl select { font: 13px var(--sans); padding: 5px; border: 1px solid var(--line); border-radius: 7px; text-transform: none; letter-spacing: 0; color: var(--ink); max-width: 100%; }
.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); }
.sh-mapbox { background: #eef3f2; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; position: relative; min-height: 360px; min-width: 0; }
.sh-mapbox.sh-empty { border-style: dashed; }
.sh-mapbox svg { width: 100%; height: auto; max-height: 560px; display: block; }
.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-hatch { background: #e7e1d5; }

@media (max-width: 900px) {
  .sh-s4, .sh-s5, .sh-s7, .sh-s8 { grid-column: span 12; }
  .sh-inits { grid-template-columns: 1fr 1fr; }
  .sh-cols, .sh-mapview { grid-template-columns: 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-dl { grid-template-columns: 1fr; gap: 0; }
  .sh-dl dt { margin-top: 8px; }
  .sh-feed li { grid-template-columns: 1fr; }
  .sh-m { grid-column: 1; }
  [data-sh-view="county"] .sh-head { padding: 14px 0 8px; align-items: center; }
  [data-sh-view="county"] .sh-head .eyebrow, [data-sh-view="county"] .sh-head .lede, [data-sh-view="county"] .sh-head-r { display: none; }
  [data-sh-view="county"] .sh-head h1 { font-size: 1.15rem; margin: 0; display: inline; }
  [data-sh-view="county"] .sh-allstates { display: inline; margin: 0 0 0 10px; }
}
