/* Super Admin dashboard — only what shell.css (panels, stats, KPI + chart cards, feed) doesn't already cover */
.sa-dash { display: grid; gap: 28px; }

/* Revenue graph (left) + earnings (right) */
.dash-top { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: stretch; }
@media (max-width: 1100px) { .dash-top { grid-template-columns: 1fr; } }
.earn { display: flex; flex-direction: column; }
.earn-cur { color: var(--muted); font-size: 12px; }
/* Two figures share the panel height evenly; everything left-aligned on one edge */
.earn-row { display: flex; flex: 1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 20px 16px; }
.earn-row + .earn-row { border-top: 1px solid var(--border); }
.earn-label { color: var(--fg-2); font-size: 13px; font-weight: 500; }
.earn-value { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.earn-hint { color: var(--muted); font-size: 12.5px; }
.kpi-delta .delta-vs { margin-left: 4px; color: var(--muted); font-weight: 400; }
.earn .kpi-delta, .rev-sum .kpi-delta { font-size: 12.5px; }
.earn .kpi-delta { margin: 0; }

.rev { gap: 14px; }
.rev-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rev-head h2 { font-size: 16px; font-weight: 600; }
.rev-head p { margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.rev-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rev-sum { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.rev-sum > div { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rev-sum strong { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rev-compare { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-2); font-size: 12.5px; }
.rev .switch[aria-checked="true"] { background: var(--brand); }
.rev-chart { min-height: 320px; }
.sa-dash .rarea { fill-opacity: 0.1; stroke: none; }
.is-pre .rline, .is-pre .rarea { opacity: 0; }

/* Sections below */
.dash-sec { display: grid; gap: 12px; }
.dash-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dash-sec-head h2 { font-size: 16px; font-weight: 600; }
.dash-link { display: inline-flex; align-items: center; gap: 4px; color: var(--fg-2); font-size: 13px; font-weight: 500; }
.dash-link:hover { color: var(--fg); }
.shell-page .dash-link svg.lucide { width: 14px; height: 14px; }
.dash-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dash-stats .stat small { color: var(--muted); font-size: 12px; }
@media (max-width: 1100px) { .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dash-stats .stat + .stat { border-left: 0; border-top: 1px solid var(--border); } }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Monthly vs yearly split: one bar, 2px surface gap between segments */
.split-bar { display: flex; gap: 2px; height: 10px; margin: 6px 0 14px; border-radius: 999px; overflow: hidden; }
.split-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.split-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: baseline; }
.split-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.split-name i { width: 8px; height: 8px; border-radius: 50%; }
.split-count { color: var(--muted); }
.split-list strong { font-variant-numeric: tabular-nums; }
.split-list small { color: var(--muted); font-weight: 400; }
.split-list + .rcard-foot { margin-top: auto; padding-top: 14px; }
.table th.num .th-inner { justify-content: flex-end; }
