/* Grand Old Banner — Campaign Dashboard (Grafana-style panels) */
.dash {
  background: var(--navy-deep);
  color: var(--cream);
  padding: clamp(48px, 8vw, 96px) 0;
  border-top: 3px solid var(--gold);
}
.dash__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.dash__head { margin-bottom: clamp(28px, 4vw, 44px); }
.dash__kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.dash__kicker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201, 161, 74, 0.6);
  animation: dashPulse 2.4s ease-out infinite;
}
@keyframes dashPulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 161, 74, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(201, 161, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 161, 74, 0); }
}
.dash__title {
  font-family: var(--display);
  font-size: clamp(30px, 5vw, 52px);
  line-height: 0.98;
  margin: 0 0 14px;
  color: var(--cream);
}
.dash__sub {
  max-width: 60ch;
  color: rgba(247, 243, 233, 0.74);
  font-size: clamp(14px, 1.6vw, 16px);
  margin: 0;
}

.dash__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.dash__panel {
  background: var(--navy-lift);
  border: 1px solid rgba(247, 243, 233, 0.14);
  border-radius: 0;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dash__panel--wide { grid-column: span 2; }
@media (max-width: 720px) { .dash__panel--wide { grid-column: span 1; } }

.dash__cap {
  display: flex;
  align-items: baseline;
  gap: 9px;
  border-bottom: 1px solid rgba(247, 243, 233, 0.12);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.dash__idx {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.dash__name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: var(--cream);
  flex: 1;
  min-width: 0;
}
.dash__type {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 233, 0.5);
  border: 1px solid rgba(247, 243, 233, 0.2);
  border-radius: 0;
  padding: 2px 6px;
  white-space: nowrap;
}
.dash__viz { width: 100%; }
.dash__viz svg { width: 100%; height: auto; display: block; }

/* legends */
.dash__legend {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.dash__legend li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: rgba(247, 243, 233, 0.82);
}
.dash__legend .sw {
  width: 11px; height: 11px;
  border-radius: 0;
  flex: none;
}
.dash__legend .val {
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(247, 243, 233, 0.55);
}

/* in-panel data table */
.dash__table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dash__table thead th {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 243, 233, 0.55);
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(247, 243, 233, 0.18);
}
.dash__table tbody td {
  padding: 9px 8px;
  border-bottom: 1px solid rgba(247, 243, 233, 0.08);
  vertical-align: middle;
}
.dash__table tbody tr:last-child td { border-bottom: 0; }
.dash__table .t-idx { font-family: var(--mono); color: var(--gold); font-weight: 600; }
.dash__table .t-name { font-weight: 700; color: var(--cream); }
.dash__table .t-focus { font-family: var(--mono); text-align: right; color: rgba(247, 243, 233, 0.85); }
.dash__tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(87, 184, 148, 0.16);
  color: #8fdcc0;
  border: 1px solid rgba(87, 184, 148, 0.4);
}

.dash__foot {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 233, 0.5);
}
/* panels reuse the site-wide .reveal / .is-revealed transition from style.css */

/* ===== sourced-data additions ===== */
.dash__src {
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: rgba(247, 243, 233, 0.5);
  line-height: 1.45;
}
.dash__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(247, 243, 233, 0.12);
  border: 1px solid rgba(247, 243, 233, 0.12);
}
.dash__stat {
  background: var(--navy-lift);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.dash__stat-num {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  color: var(--gold);
}
.dash__stat-lab { font-size: 11.5px; line-height: 1.3; color: rgba(247, 243, 233, 0.8); }
.dash__table .t-focus { font-family: var(--mono); color: var(--cream); font-weight: 600; text-align: left; }
.dash__table .dash__srclab { font-family: var(--mono); font-size: 10.5px; color: rgba(247, 243, 233, 0.55); }
