/* Admin > Usage Report (js/usage-report.js). */
#usage-report-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.ur-controls { display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.ur-pills { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.ur-pill {
  font: inherit; font-size: 0.76rem; padding: 0.25rem 0.75rem; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface); color: var(--text2); border-radius: 4px;
}
.ur-pill.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.ur-totals { font-size: 0.82rem; color: var(--text2); margin-bottom: 0.2rem; }
.ur-totals b { color: var(--text); }
.ur-note { font-size: 0.7rem; color: var(--text3); margin-bottom: 0.6rem; }
.ur-scroll { overflow: auto; flex: 1; min-height: 0; }
.ur-empty { padding: 1.5rem 0; color: var(--text2); font-size: 0.85rem; }
.ur-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.ur-table th {
  position: sticky; top: 0; background: var(--surface); z-index: 1;
  text-align: left; font-size: 0.68rem; font-weight: 600; color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.04em; padding: 0.3rem 0.5rem;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.ur-table td { padding: 0.38rem 0.5rem; border-bottom: 1px solid var(--grid); white-space: nowrap; }
.ur-table .ur-r { text-align: right; font-variant-numeric: tabular-nums; }
.ur-row { cursor: pointer; }
.ur-row:hover { background: var(--surface2); }
.ur-row.ur-open { background: var(--accent-light); }
.ur-strong { font-weight: 600; }
.ur-caret { display: inline-block; width: 1rem; color: var(--text3); font-size: 0.7rem; }
.ur-sub td { font-size: 0.78rem; color: var(--text2); background: var(--bg); }
.ur-sub td:first-child { padding-left: 1.6rem; }
.ur-dim { color: var(--text3); font-weight: 400; margin-left: 0.3rem; }
.ur-barcell { width: 22%; min-width: 80px; }
.ur-bar { display: block; height: 6px; background: var(--grid); border-radius: 3px; overflow: hidden; }
.ur-bar span { display: block; height: 100%; background: var(--accent); border-radius: 3px; }

/* Opens over whatever page is showing (ADMIN_OVER_PAGE in index.html), so it
   sits above the other page windows, still under the pinned header (250). */
#usage-report-overlay, #prescout-archive-overlay { z-index: 245; }
