.hero-vdp {
  align-items: stretch;
}

.hero-vdp-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-vdp-copy .lead {
  max-width: 40rem;
}

.hero-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
  font-family: "Oxanium", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-badge i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.16);
}

.process-alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.32);
  background: rgba(127, 29, 29, 0.26);
  color: #fecaca;
  font-family: "Oxanium", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 18px 38px rgba(127, 29, 29, 0.18);
}

.process-alert-badge i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.14);
}

.hero-intel-card {
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.01));
}

.intel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.intel-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.24);
  background: rgba(139, 92, 246, 0.12);
  color: #ddd6fe;
  font-family: "Oxanium", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.intel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.intel-stat {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  min-height: 120px;
}

.intel-stat span,
.table-toolbar-label {
  display: block;
  color: var(--text-muted);
  font-family: "Oxanium", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intel-stat strong {
  display: block;
  margin: 14px 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 0.95;
}

.intel-stat small {
  display: block;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.88rem;
}

.hero-callout {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.hero-callout strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-callout p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.72;
}

.fast-line-section {
  padding-top: 8px;
}

.fast-line-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(139, 92, 246, 0.08), rgba(34, 211, 238, 0.04)),
    rgba(255, 255, 255, 0.018);
}

.fast-line-shell strong {
  color: var(--text);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.fast-line-shell span {
  color: var(--text-muted);
  line-height: 1.5;
}

.fast-line-label {
  color: var(--text-muted);
  font-family: "Oxanium", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fast-line-latest {
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(34, 211, 238, 0.32);
  color: #67e8f9;
  font-family: "Oxanium", monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.04);
}

@media (max-width: 720px) {
  .fast-line-latest {
    margin-left: 0;
    margin-top: 4px;
  }
}

.queue-kpis .section-heading,
#validators .section-heading,
#chart .section-heading {
  margin-bottom: 20px;
}

.snapshot-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.snapshot-refresh {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.3;
}

.snapshot-refresh strong {
  color: var(--text-soft);
  font-weight: 600;
}

.mini-stats-grid-rich {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mini-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 104px;
  padding: 18px;
  align-items: flex-start;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}

.mini-card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mini-card-label > span:first-child {
  display: block;
  max-width: none;
  line-height: 1.45;
  color: var(--text-muted);
  font-family: "Oxanium", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mini-card-label .th-help {
  width: 17px;
  height: 17px;
  font-size: 0.68rem;
  flex: 0 0 auto;
}

.mini-card-label .th-tooltip {
  width: min(260px, 24vw);
}

.mini-card strong {
  font-size: 2rem;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.mini-card small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.mini-card-accent {
  border-color: rgba(139, 92, 246, 0.28);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.08));
}

.table-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.filter-context-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 54rem;
}

.filter-context-note strong {
  color: var(--text-soft);
  font-weight: 600;
}

.filter-context-note code {
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85em;
}

.table-toolbar-main {
  display: grid;
  gap: 14px;
}

.table-toolbar-copy {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.table-toolbar-copy strong {
  font-size: 1rem;
  line-height: 1.25;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}

.filter-chip-with-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.filter-help {
  width: 18px;
  height: 18px;
  font-size: 0.62rem;
}

.filter-help-wrap {
  flex: 0 0 auto;
}

.filter-chip-with-help .th-help {
  position: relative;
  z-index: 1;
}

.table-search {
  display: grid;
  gap: 8px;
  max-width: 420px;
}

.table-search span {
  color: var(--text-muted);
  font-family: "Oxanium", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-search input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.table-search input::placeholder {
  color: var(--muted);
}

.table-search input:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.34);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14);
}

.table-scroll-hint {
  display: none;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.funding-activity-shell {
  margin: 0 0 28px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.funding-activity-shell-below {
  margin: 28px 0 0;
}

.funding-subsection-header {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.funding-subsection-header h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.funding-subsection-header p:last-child {
  margin: 0;
  max-width: 980px;
  color: var(--text-soft);
  line-height: 1.6;
}

.funding-activity-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.funding-activity-head h3 {
  margin: 6px 0 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.funding-activity-head p {
  margin: 0;
  max-width: 520px;
  color: var(--text-soft);
  line-height: 1.55;
}

.funding-activity-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: rgba(11, 13, 18, 0.38);
}

.funding-activity-table {
  width: 100%;
  min-width: 880px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
}

.funding-activity-table thead th {
  padding: 14px 16px;
  text-align: left;
  color: var(--text-muted);
  background: rgba(18, 21, 28, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.funding-activity-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  vertical-align: middle;
  white-space: nowrap;
}

.funding-activity-table tbody tr:last-child td {
  border-bottom: none;
}

.funding-activity-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.funding-activity-table tbody tr:hover {
  background: rgba(139, 92, 246, 0.06);
}

.funding-entity {
  display: grid;
  gap: 4px;
}

.funding-entity strong {
  color: var(--text);
  font-weight: 600;
}

.funding-entity span,
.funding-tx-cell {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
}

.funding-entity .funding-recipient-addr {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.table-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.validator-meta {
  display: grid;
  gap: 6px;
}

.validator-meta-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.validator-address-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.validator-name {
  display: block;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.validator-name-muted {
  color: var(--muted);
  font-weight: 500;
}

.col-addr .addr-short {
  color: #b8ccff;
}

.table-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

.table-summary-label,
.rows-select span,
.pager-indicator {
  color: var(--text-muted);
  font-family: "Oxanium", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-summary strong {
  color: var(--text);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.table-controls-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}

.rows-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rows-select select {
  appearance: none;
  -webkit-appearance: none;
    min-height: 40px;
    padding: 0 38px 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    color-scheme: dark;
    font-family: "Oxanium", monospace;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rows-select select:focus {
  border-color: rgba(139, 92, 246, 0.36);
  box-shadow:
    0 0 0 3px rgba(139, 92, 246, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rows-select select option {
  background: #12151c;
  color: #f8fafc;
}

.pager {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pager-indicator {
  min-width: 106px;
  text-align: center;
}

.pager-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: "Oxanium", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.pager-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(139, 92, 246, 0.32);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.08));
}

.pager-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.filter-chip {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.72rem;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(139, 92, 246, 0.32);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.08));
}

.vdp-table-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (min-width: 1200px) {
  .vdp-table-wrap {
    overflow-x: clip;
  }
}

.vdp-table-wrap::-webkit-scrollbar {
  display: none;
}

.vdp-table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
}

.vdp-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 18px 16px;
  text-align: left;
  background: rgba(18, 21, 28, 0.92);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-family: "Oxanium", monospace;
  font-size: 0.71rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.th-with-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.th-help-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.th-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: "Oxanium", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.th-help:hover,
.th-help:focus-visible {
  outline: none;
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.34);
  background: rgba(34, 211, 238, 0.08);
}

.th-tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  bottom: auto;
  transform: translateX(-50%) translateY(-6px);
  width: min(260px, 42vw);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 13, 18, 0.98);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  color: var(--text-soft);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  line-height: 1.55;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  z-index: 5;
}

.th-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(11, 13, 18, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.th-help-wrap:hover .th-tooltip,
.th-help-wrap:focus-within .th-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.vdp-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.018);
}

.vdp-table tbody tr:hover {
  background: rgba(139, 92, 246, 0.08);
}

.vdp-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  white-space: nowrap;
  vertical-align: middle;
}

.vdp-table tbody tr:last-child td {
  border-bottom: none;
}

.col-num {
  width: 52px;
  color: var(--muted);
  font-size: 0.8rem;
}

.col-addr {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
}

.col-date {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.col-wait,
.col-id,
.col-stake,
.col-consensus {
  font-family: "Oxanium", monospace;
  font-size: 0.82rem;
}

.addr-short {
  cursor: default;
}

.copy-btn {
  min-height: 22px;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  cursor: pointer;
  font-family: "Oxanium", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.copy-btn:hover {
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.08);
}

.watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 0 9px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  color: #b8f5d6;
  font-family: "Oxanium", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.watch-btn-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  min-height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  color: #e7fff3;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.watch-btn:hover {
  color: #e7fff3;
  border-color: rgba(16, 185, 129, 0.34);
  background: rgba(16, 185, 129, 0.16);
  transform: translateY(-1px);
}

.status-badge,
.source-badge,
.consensus-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
}

.status-registered {
  background: rgba(34, 211, 238, 0.1);
  color: #a5f3fc;
  border-color: rgba(34, 211, 238, 0.22);
}

.status-approved {
  background: rgba(139, 92, 246, 0.14);
  color: #ddd6fe;
  border-color: rgba(139, 92, 246, 0.24);
}

.status-pending {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.16);
}

.status-funded {
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.22);
}

.source-vdp {
  background: rgba(139, 92, 246, 0.14);
  color: #ddd6fe;
  border-color: rgba(139, 92, 246, 0.24);
}

.source-foundation {
  background: rgba(34, 211, 238, 0.12);
  color: #a5f3fc;
  border-color: rgba(34, 211, 238, 0.22);
}

.source-other {
  background: rgba(245, 158, 11, 0.14);
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.22);
}

.source-self {
  background: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.18);
}

.consensus-yes {
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.22);
}

.consensus-no {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.16);
}

.loading-row {
  text-align: center;
  color: var(--text-muted);
  padding: 2.6rem !important;
  font-family: "Oxanium", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.chart-wrap {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  padding: 24px;
  height: 360px;
}

.sync-progress,
.sync-ok {
  color: inherit;
}

.sync-ok {
  color: #d1fae5;
  font-weight: 700;
}

.method-list {
  margin: 0.6rem 0 0;
  display: grid;
  gap: 0.42rem;
  color: var(--text-muted);
}

.cta-section {
  padding-top: 32px;
}

.cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 30px;
  border-radius: 28px;
  border: 1px solid rgba(139, 92, 246, 0.24);
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(17, 19, 27, 0.98), rgba(18, 21, 28, 0.94));
  box-shadow: var(--shadow-lg);
}

.cta-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.cta-copy p {
  margin: 0;
  max-width: 48rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-actions-vertical {
  align-items: stretch;
}

@media (max-width: 1180px) {
  .intel-grid,
  .mini-stats-grid-rich {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .table-toolbar,
  .table-controls,
  .cta-shell {
    grid-template-columns: 1fr;
  }

  .table-toolbar-copy {
    justify-items: start;
    text-align: left;
  }

  .funding-activity-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .table-search {
    max-width: none;
  }

  .table-controls-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .snapshot-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-vdp {
    grid-template-columns: 1fr;
  }

  .hero-vdp-copy .lead {
    max-width: none;
    font-size: 1rem;
  }

  .intel-head {
    flex-direction: column;
  }

  .intel-grid,
  .mini-stats-grid-rich {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-card,
  .intel-stat {
    min-height: auto;
  }

  .mini-card strong {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .table-scroll-hint {
    display: block;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .filters::-webkit-scrollbar {
    height: 6px;
  }

  .filters::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .chart-wrap {
    height: 320px;
    padding: 18px;
  }

  .fast-line-shell {
    padding: 14px 16px;
  }

  .table-controls {
    padding: 14px 16px;
  }

  .table-summary,
  .table-controls-actions {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .hero-copy,
  .hero-panel,
  .mini-card,
  .intel-stat,
  .cta-shell {
    padding: 18px;
  }

  .live-badge,
  .process-alert-badge,
  .intel-badge,
  .hero-tag,
  .pill {
    min-height: 34px;
    padding-inline: 12px;
  }

  .mini-stats-grid-rich {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mini-card,
  .intel-stat {
    border-radius: 18px;
  }

  .fast-line-shell {
    gap: 10px 14px;
  }

  .fast-line-shell strong {
    width: 100%;
  }

  .intel-stat small,
  .hero-callout p,
  .mini-card small {
    line-height: 1.55;
  }

  .table-toolbar {
    gap: 14px;
  }

  .th-tooltip {
    left: 0;
    transform: translateX(0) translateY(-6px);
    width: min(240px, 68vw);
  }

  .th-tooltip::after {
    left: 18px;
    transform: rotate(45deg);
  }

  .th-help-wrap:hover .th-tooltip,
  .th-help-wrap:focus-within .th-tooltip {
    transform: translateX(0) translateY(0);
  }

  .validator-meta-head {
    align-items: flex-start;
  }

  .table-controls-actions,
  .pager {
    width: 100%;
    justify-content: space-between;
  }

  .rows-select {
    width: 100%;
    justify-content: space-between;
  }

  .rows-select select {
    min-width: 98px;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }
}

/* ===== Stat skeleton-loading state (added 2026-05-29) ===== */
/* Prevent KPI cards from showing static `-` or 0 while the API call is in flight.
   Initial markup has [data-stat-loading="true"] and content `…`. setText() in
   vdp-tracker.js removes the attribute after a real value lands. */
[data-stat-loading="true"] {
  display: inline-block;
  letter-spacing: 0.05em;
  color: var(--muted, #97a1bb);
  opacity: 0.55;
  animation: stat-skeleton-pulse 1.2s ease-in-out infinite alternate;
}

@keyframes stat-skeleton-pulse {
  from { opacity: 0.30; }
  to   { opacity: 0.85; }
}

@media (prefers-reduced-motion: reduce) {
  [data-stat-loading="true"] {
    animation: none;
    opacity: 0.55;
  }
}
