.donut-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.05fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 1000px) {
  .donut-panel {
    grid-template-columns: 1fr;
  }

  .chart-wrap.donut {
    height: 320px;
  }
}

.chart-wrap.donut {
  height: clamp(240px, 34vw, 340px);
}

.donut-table-wrap {
  background: var(--neo-muted) !important;
}

.phish-breakdown-chart {
  height: clamp(260px, 48vw, 420px);
}

.phish-rabbit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

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

.rabbit-hole-card .card-title.surface-head {
  justify-content: space-between;
  align-items: center;
}

.rabbit-hole-card .card-title .meta,
.rabbit-holes-accordion > button .meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rabbit-hole-table-shell {
  margin-top: 10px;
}

.rabbit-hole-static-scroll {
  overflow-x: auto;
  overflow-y: visible;
}

.rabbit-hole-table {
  min-width: 100%;
}

.rabbit-hole-detail-table th:first-child,
.rabbit-hole-detail-table td:first-child {
  min-width: 120px;
}

.rabbit-hole-detail-table th:not(:first-child),
.rabbit-hole-detail-table td:not(:first-child) {
  min-width: 92px;
}

.compact-rabbit-table thead th,
.compact-rabbit-table tbody td {
  padding: 12px 14px !important;
}

.phish-show-song-table thead th,
.phish-show-song-table thead td {
  padding: 12px 10px !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.06em !important;
}

.phish-show-song-table tbody th,
.phish-show-song-table tbody td {
  padding: 12px 10px !important;
  font-size: 1rem !important;
  line-height: 1.28 !important;
}

.phish-show-song-table th:nth-child(1),
.phish-show-song-table td:nth-child(1) {
  width: 54px;
  min-width: 54px;
}

.phish-show-song-table th:nth-child(3),
.phish-show-song-table td:nth-child(3),
.phish-show-song-table th:nth-child(4),
.phish-show-song-table td:nth-child(4),
.phish-show-song-table th:nth-child(5),
.phish-show-song-table td:nth-child(5),
.phish-show-song-table th:nth-child(6),
.phish-show-song-table td:nth-child(6) {
  white-space: nowrap;
}

.phish-show-song-table th:nth-child(3),
.phish-show-song-table td:nth-child(3) {
  min-width: 118px;
}

.phish-show-song-table th:nth-child(4),
.phish-show-song-table td:nth-child(4),
.phish-show-song-table th:nth-child(5),
.phish-show-song-table td:nth-child(5),
.phish-show-song-table th:nth-child(6),
.phish-show-song-table td:nth-child(6) {
  min-width: 92px;
}

.rabbit-holes-wrap > .acc.surface-accordion {
  width: 100%;
}

.rabbit-holes-body {
  padding-top: 12px;
}

.rabbit-holes-accordion > .acc-body {
  display: none;
}

.rabbit-holes-accordion > button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.rabbit-holes-accordion .acc-body {
  margin-top: 0;
}

.rabbit-holes-accordion.open .acc-body {
  display: block;
}

.dash-card-song-highlight .dash-metric {
  display: block;
}

.dash-card-song-highlight .dash-value {
  font-size: clamp(1.18rem, 1.8vw, 2.05rem);
  line-height: 0.96;
  max-inline-size: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .dash-card-song-highlight .dash-value {
    font-size: clamp(1.12rem, 7vw, 1.9rem);
  }
}

@media (max-width: 1000px) {
  .phish-breakdown-chart {
    height: clamp(240px, 58vw, 360px);
  }

  .phish-rabbit-grid,
  .phish-set-placement-grid {
    grid-template-columns: 1fr;
  }
}
