body.admin { height: auto; }
.admin .top { position: sticky; top: 0; z-index: 2; }
.admin .top a { color: var(--accent); }
.admin-main { max-width: 1280px; margin: 0 auto; padding: 8px 16px 40px; }
.admin-main h2 { font-size: 18px; margin: 24px 0 8px; }
.admin-main .status { border: 0; padding: 8px 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td .sub { color: var(--muted); font-size: 12px; }
td a { color: var(--accent); }
.pill { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--note); font-size: 12px; white-space: nowrap; }
.pill.good { color: var(--good); }
.pill.bad { color: var(--bad); }
.pill.warn { color: var(--warn); }
.credit { display: flex; gap: 6px; flex-wrap: wrap; min-width: 260px; }
.credit input[type=number] { width: 80px; }
.credit input[type=text] { flex: 1; min-width: 120px; }
.credit button, td button { padding: 5px 10px; white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.admin .top strong { display: flex; align-items: center; gap: 8px; }
.admin .top .logo { width: 24px; height: 24px; }
#sites td:first-child a, #people td:first-child strong { white-space: nowrap; }
.admin-main .status:empty { display: none; }
.totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 12px; }
.total { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; display: grid; gap: 2px; }
.total strong { font-size: 20px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
