.topbar nav { min-width: 0; overflow-x: auto; padding-bottom: 1px; scrollbar-width: thin; }
.topbar .nav-tab { flex-shrink: 0; font-size: 13px; }
.national-open .hero-actions, .community-open .hero-actions,
.national-open .search-button, .community-open .search-button { display: none; }

.national-toolbar, .national-news-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.national-toolbar { justify-content: space-between; margin-bottom: 15px; }
.national-toolbar button:disabled { opacity: .55; cursor: wait; }
.national-date { margin: 0 0 4px; color: var(--gold-soft); font: 600 13px var(--mono); }
#national-status { margin: 0; color: var(--muted); font-size: 13px; }
.national-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.national-card { padding: 18px clamp(14px, 2.5vw, 27px); }
.national-card h2 { margin: 0 0 8px; font-size: 17px; }
.national-card p, .national-method { color: var(--muted); margin: 8px 0 0; line-height: 1.5; font-size: 13px; }
.national-card .national-method { margin-top: 16px; font-size: 12px; }
.national-bars, .national-list { list-style: none; margin: 0; padding: 0; }
.national-bars { display: grid; gap: 12px; margin-top: 14px; }
.national-bar-heading { display: flex; gap: 12px; justify-content: space-between; font-size: 13px; }
.national-bar-heading strong { font: 600 13px var(--mono); color: var(--gold-soft); }
.national-bar-track { height: 5px; border-radius: 4px; background: #0d1020; margin-top: 6px; overflow: hidden; }
.national-bar-track span { display: block; height: 100%; min-width: 0; border-radius: inherit; background: var(--gold); }
.national-bar-row.good .national-bar-track span { background: #83cfb0; }
.national-bar-row.bad .national-bar-track span { background: #eb9a92; }
.national-bar-row.neutral .national-bar-track span { background: #a8b2dd; }
.national-bar-track span { animation: national-chart-in 300ms ease-out both; transform-origin: left; }
@keyframes national-chart-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.national-news { margin-top: 15px; }
.national-news-header h2 { margin: 0 auto 0 0; }
.national-news-header label { font-size: 12px; color: var(--muted); }
.national-news-header select {
  max-width: 100%;
  color: var(--text);
  background: #101327;
  border: 1px solid #715b4e;
  border-radius: 5px;
  padding: 6px 9px;
}
.national-headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 10px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.national-list:not(:empty) { margin-top: 15px; }
.national-headline-info { grid-column: 1 / -1; color: var(--muted); font: 11px var(--mono); }
.national-headline-info span + span::before { content: " · "; }
.national-headline a { color: var(--gold-soft); text-decoration: none; overflow-wrap: anywhere; }
.national-headline a:hover { text-decoration: underline; text-underline-offset: 3px; }
.national-tone-tag { padding: 3px 5px; border: 1px solid var(--border); border-radius: 4px; color: #c7d0f1; font-size: 11px; }
.national-tone-tag.good { color: #a5e2c8; }
.national-tone-tag.bad { color: #ffc0b8; }
.community-placeholder { padding: clamp(44px, 12vw, 130px) 20px; text-align: center; }
.community-placeholder-icon { color: var(--gold-soft); }
.community-placeholder-icon svg { width: 35px; height: 35px; }
.community-placeholder p { color: var(--gold-soft); font: 28px var(--title-font); margin: 12px 0 0; }

@media (max-width: 670px) {
  .national-panels { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .national-bar-track span { animation: none; }
}

.national-toolbar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
