/* Team Budgets page. Written by scripts/build_budgets_page.py; edit it there. */
.budget-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0 18px; }
article.recap table.budget-table { margin: 0; font-size: 0.9rem; white-space: nowrap; }
article.recap table.budget-table th, article.recap table.budget-table td { padding: 6px 10px; }
article.recap table.budget-table .num { text-align: right; }
article.recap h3.budget-sub { color: var(--text); font-size: 1.05rem; margin: 28px 0 6px; }
article.recap p.tier-head { color: var(--gold); font-weight: 700; margin: 16px 0 0; }
article.recap table.tier-table { table-layout: fixed; min-width: 560px; }
article.recap table.tier-table th:nth-child(1) { width: 7%; }
article.recap table.tier-table th:nth-child(2) { width: 39%; }
article.recap table.tier-table th:nth-child(3) { width: 16%; }
article.recap table.tier-table th:nth-child(4) { width: 24%; }
article.recap table.tier-table th:nth-child(5) { width: 14%; }
a.budget-pdf { display: inline-block; border: 1px solid var(--gold); border-radius: 6px; padding: 6px 14px; font-weight: 600; }
a.budget-pdf:hover { background: rgba(245,166,35,0.12); }
article.recap details.budget-year { border: 1px solid var(--border); border-radius: 8px; padding: 10px 16px; margin: 12px 0; }
article.recap details.budget-year summary { cursor: pointer; color: var(--gold); font-weight: 700; }
article.recap table.budget-grid { margin: 0; font-size: 0.8rem; white-space: nowrap; width: auto; }
article.recap table.budget-grid th, article.recap table.budget-grid td { padding: 4px 7px; text-align: right; color: var(--text); }
article.recap table.budget-grid th { color: var(--gold); }
article.recap table.budget-grid .club { position: sticky; left: 0; z-index: 1; background: #0d1733; text-align: left; color: var(--text); font-weight: 600; }
article.recap table.budget-grid tr:first-child .club { color: var(--gold); }
article.recap table.budget-grid td.none { color: var(--text-dim); }
article.recap table.budget-grid tr.total td, article.recap table.budget-grid tr.total th { font-weight: 700; }
@media (max-width: 620px) {
  article.recap table.budget-table { font-size: 0.82rem; }
  article.recap table.budget-table th, article.recap table.budget-table td { padding: 5px 7px; }
}
