/* co dashboard: budget.css. Moved out of the Python modules (design-system's
   tokens plan, step 1, 2026-11-12); served by co_web at /static/css/budget.css. */
.budget-gauges { display: flex; flex-direction: column; gap: 8px; }
.budget-row { display: flex; align-items: center; gap: 8px; }
.budget-label { font-size: 12px; color: var(--muted); width: 40px; text-align: right; }
.budget-track { flex: 1; height: 18px; background: var(--border); border-radius: 9px; overflow: hidden; }
.budget-fill { height: 100%; border-radius: 9px; transition: width 0.5s, background 0.5s; min-width: 2px; }
.budget-fill.ok { background: var(--accent2); }
.budget-fill.warn { background: #d4a72c; }
.budget-fill.danger { background: var(--danger); }
.budget-track { position: relative; }
.budget-time-marker { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--text);
    opacity: 0.5; z-index: 1; transition: left 0.5s; }
.budget-time-ghost { position: absolute; top: 0; bottom: 0; left: 0; background: var(--text);
    opacity: 0.07; border-radius: 9px; z-index: 0; transition: width 0.5s; }
.budget-pct { font-size: 13px; font-weight: 600; width: 42px; text-align: right; }
.budget-detail { font-size: 11px; color: var(--muted); margin-top: 2px; padding-left: 48px; }  /* starts under the meters: label 40px + gap 8px */
.budget-detail .stale { color: #b06000; } .budget-detail .nolive { color: #c5221f; }
@media (max-width: 900px) {
  .budget-gauges { gap: 6px; }
  .budget-label { width: 40px; font-size: 11px; }   /* 28px clipped "Session" */
  .budget-pct { width: 36px; font-size: 12px; }
  .budget-detail { font-size: 10px; }
}
