.hub-main { padding-bottom: 24px; }
.hub-breadcrumb { display: flex; gap: 10px; padding-top: 22px; color: var(--muted); font-size: 12px; }
.hub-breadcrumb a { color: var(--accent); }
.hub-intro { padding-block: 34px 36px; }
.hub-intro h1 { font-size: clamp(34px, 4.3vw, 49px); line-height: 1.28; letter-spacing: -.045em; }
.hub-deck { margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.9; word-break: keep-all; }
.hub-section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 15px; }
.hub-section-heading h2 { font-size: 21px; letter-spacing: -.03em; }
.hub-section-heading > p { color: var(--muted); font-size: 12px; }
.hub-district-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.hub-district { display: flex; flex-direction: column; min-width: 0; padding: 18px 19px 0; border: 1px solid var(--rule); border-radius: 9px; background: #f8f9fb; }
.hub-district-ready { border-color: #9eb4d8; background: linear-gradient(135deg, #fff 20%, #f1f6ff); }
.hub-district-top { display: flex; align-items: center; justify-content: space-between; min-height: 32px; gap: 8px; }
.hub-status { color: #246b5c; font-size: 11px; font-weight: 700; }
.hub-status-pending { color: var(--muted); font-weight: 400; }
.hub-district .hub-favorite { min-height: 30px; width: 30px; padding: 5px; border: 0; background: transparent; }
.hub-district .hub-favorite[aria-pressed="true"] { background: var(--selection); }
.hub-district h3 { margin-top: 16px; font-size: 25px; letter-spacing: -.04em; }
.hub-district > p { flex: 1; margin-top: 9px; padding-bottom: 20px; color: var(--muted); font-size: 12px; line-height: 1.85; word-break: keep-all; }
.hub-district-link, .hub-district .hub-district-pending { display: flex; align-items: center; justify-content: space-between; flex: 0; min-height: 55px; margin-top: auto; padding: 12px 0; border-top: 1px solid var(--hairline); color: var(--accent); font-size: 12px; font-weight: 700; text-decoration: none; }
.hub-district-link span { font-size: 23px; }
.hub-district .hub-district-pending { color: var(--muted); font-size: 11px; font-weight: 400; }
.hub-page .hub-comparison { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--rule); scroll-margin-top: 18px; }
.hub-kicker { margin-bottom: 6px; color: var(--accent); font-size: 11px; font-weight: 700; }
.hub-comparison-intro { color: var(--muted); font-size: 13px; line-height: 1.9; word-break: keep-all; }
.hub-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.hub-mode { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--rule); border-radius: 7px; background: var(--surface); }
.hub-mode button { min-height: 40px; padding: 8px 14px; border: 0; border-radius: 4px; background: transparent; font-size: 13px; }
.hub-mode button[aria-pressed="true"] { color: #fff; background: var(--accent); font-weight: 700; }
.hub-period-controls { display: flex; align-items: end; gap: 10px; }
.hub-period-controls label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; }
.hub-period-controls select { min-height: 39px; padding: 7px 25px 7px 9px; border: 1px solid var(--rule); border-radius: 5px; background: #fff; font-size: 12px; }
.hub-period-controls > span { padding-bottom: 10px; color: var(--muted); }
.hub-status-note { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.9; word-break: keep-all; }
.hub-chart-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 7px 20px; margin-top: 24px; }
.hub-chart-heading h3 { font-size: 17px; }
.hub-chart-heading p { color: var(--muted); font-size: 12px; }
.hub-legend { display: flex; flex-wrap: wrap; gap: 7px 20px; margin-top: 13px; font-size: 12px; }
.hub-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.hub-swatch { display: inline-block; width: 17px; height: 3px; }
.hub-chart { margin-top: 8px; }
.hub-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.hub-chart svg text { fill: var(--muted); font-family: var(--type); font-size: 11px; }
.hub-chart-note { color: var(--muted); font-size: 11px; line-height: 1.8; word-break: keep-all; }
.hub-table-wrap { max-width: 100%; overflow-x: auto; margin-top: 20px; border: 1px solid var(--rule); border-radius: 7px; }
.hub-table { width: 100%; min-width: 570px; border-collapse: collapse; font-size: 12px; line-height: 1.8; }
.hub-table caption { padding: 12px 14px; color: var(--muted); background: var(--surface); text-align: left; font-size: 11px; }
.hub-table th, .hub-table td { padding: 11px 14px; border-bottom: 1px solid var(--hairline); text-align: right; vertical-align: top; }
.hub-table thead th { color: var(--muted); background: var(--surface); font-weight: 400; white-space: nowrap; }
.hub-table th:first-child, .hub-table td:first-child { text-align: left; }
.hub-table tbody th { font-weight: 700; }
.hub-table tr:last-child > * { border-bottom: 0; }
.hub-table td small { display: block; color: var(--notice); font-size: 10px; }
.hub-table .hub-pending-cell { color: var(--muted); text-align: left; font-size: 11px; }
.hub-observations { margin-top: 20px; }
.hub-observations > summary { display: flex; align-items: center; min-height: 45px; color: var(--accent); font-size: 12px; font-weight: 700; }
.hub-observations .hub-table-wrap { margin-top: 7px; }
.hub-observations .hub-table { min-width: 740px; }
.hub-method { margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 11px; line-height: 1.9; word-break: keep-all; }
.hub-method p + p { margin-top: 7px; }
@media (max-width: 950px) { .hub-district-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .hub-intro { padding-block: 25px 28px; }
  .hub-deck { font-size: 13px; }
  .hub-deck br { display: none; }
  .hub-district-grid { gap: 10px; }
  .hub-district { padding-inline: 13px; }
  .hub-district h3 { font-size: 22px; }
  .hub-district > p { font-size: 11px; padding-bottom: 16px; }
  .hub-section-heading h2 { font-size: 19px; }
  .hub-page .hub-comparison { margin-top: 32px; padding-top: 23px; }
  .hub-controls { align-items: stretch; gap: 13px; }
  .hub-mode { width: 100%; }
  .hub-mode button { flex: 1; }
  .hub-period-controls { width: 100%; }
  .hub-period-controls label { flex: 1; min-width: 0; }
  .hub-period-controls select { width: 100%; padding-right: 18px; }
  .hub-chart-heading h3 { font-size: 16px; }
  .hub-breadcrumb { padding-top: 18px; }
}
