/* Admin appearance only: no request, eligibility, or accounting behavior. */
:root{--admin-accent:#b52636;--admin-accent-hover:#972131;--admin-accent-text:#fff;--admin-soft:#fff1f3;--admin-ring:#b5263633;--admin-page:#f3f5f8;--admin-surface:#fff;--admin-text:#202937;--admin-muted:#657184;--admin-border:#dfe5ed;--admin-hover:#f7f9fc;--admin-head:#f6f8fb;--panel-line:var(--admin-border);--panel-focus:var(--admin-accent);--panel-muted:var(--admin-muted);--panel-hover:var(--admin-hover)}
[data-theme='dark']{--admin-page:#171a20;--admin-surface:#20252d;--admin-text:#edf1f7;--admin-muted:#b0bac9;--admin-border:#39424f;--admin-hover:#282f39;--admin-head:#272e38;--admin-soft:#3c2630;--admin-ring:#df667c44;--panel-line:var(--admin-border);--panel-hover:var(--admin-hover);--panel-muted:var(--admin-muted);--panel-focus:var(--admin-accent)}
#workspace{background:var(--admin-page);color:var(--admin-text);font-family:Arial,Helvetica,sans-serif;line-height:1.5}
#workspace main{padding:30px 32px 44px;min-width:0;max-width:2000px}
#workspace main>header{margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--admin-border);align-items:center}
#workspace h1{font-size:25px;letter-spacing:-.45px;line-height:1.3}
#workspace h2{font-size:18px;line-height:1.4;letter-spacing:-.15px}
#workspace aside{background:#101318;border-right:1px solid #252b34;padding:28px 18px 20px}
#workspace aside nav .nav-group-links button{border-radius:9px;min-height:44px;margin:2px 0;transition:background-color .15s,color .15s}
#workspace #role{background:var(--admin-soft);color:var(--admin-text);border:1px solid var(--admin-border);border-radius:20px;padding:5px 12px;font-size:12px;font-weight:600}
#workspace .stats{gap:16px;margin-bottom:28px}
#workspace .stats .stat{background:var(--admin-surface);border:1px solid var(--admin-border);border-radius:12px;box-shadow:0 3px 12px #16243a05;padding:21px 22px;min-width:0}
#workspace .stats:not(.request-stats) .stat{border-top:3px solid var(--admin-accent)}
#workspace .stats .stat strong{font-size:28px;line-height:1.25;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
#workspace .stats .stat span{font-size:13px;line-height:1.55}
#workspace .stats:not(.request-stats) .stat strong{color:var(--admin-text)}
#workspace .stat span,#workspace .view-note,#workspace .list-subtitle,#workspace .request-date,#workspace .request-player small,#workspace .pagination span{color:var(--admin-muted)}
#workspace .filters{background:var(--admin-surface);border:1px solid var(--admin-border);border-radius:12px;padding:18px 20px;margin:0 0 24px;gap:16px;align-items:flex-end}
#workspace .filters label{font-size:12px;font-weight:600;margin-bottom:0;gap:7px}
#workspace :is(input,select,textarea){background:var(--admin-surface);color:var(--admin-text);border:1px solid var(--admin-border);border-radius:8px;font-size:14px}
#workspace :is(input,select,button){min-height:42px}
#workspace :is(input,select,textarea):focus-visible,#editor :is(input,select,textarea):focus-visible{outline:2px solid var(--admin-accent);outline-offset:2px;box-shadow:0 0 0 4px var(--admin-ring)}
#workspace button{border-radius:8px;font-weight:600;transition:background-color .15s,border-color .15s}
#workspace button:disabled,#editor button:disabled{cursor:not-allowed;opacity:.5;transform:none}
#workspace .request-list{border-top:0;padding-top:0}
#workspace .request-toolbar{gap:14px;padding:6px 0;margin:14px 0 18px}
#workspace .request-toolbar label{font-size:12px;color:var(--admin-muted)}
#workspace .table-wrap,#workspace .request-list .table-wrap{background:var(--admin-surface);border:1px solid var(--admin-border);border-radius:12px;box-shadow:0 3px 14px #16243a05;max-height:68vh;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--admin-border) transparent}
#workspace table{border-collapse:separate;border-spacing:0;width:100%;color:var(--admin-text);font-size:13px}
#workspace thead th{position:sticky;top:0;z-index:2;background:var(--admin-head);color:var(--admin-muted);font-size:12px;font-weight:700;padding:14px 16px;line-height:1.5;border-bottom:1px solid var(--admin-border);box-shadow:none;white-space:nowrap}
#workspace tbody td{padding:16px;line-height:1.65;vertical-align:middle;border-bottom:1px solid var(--admin-border)}
#workspace tbody tr{background:var(--admin-surface)}

#workspace tbody tr:hover{background:var(--admin-hover)}
#workspace tbody tr:last-child td{border-bottom:0}
#workspace .request-player{gap:4px}#workspace .request-player strong{font-size:13px}
#workspace .request-date{font-size:12px;font-variant-numeric:tabular-nums;gap:3px}
#workspace .amount-badge{background:transparent;color:var(--admin-text);padding:0;font-size:14px;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
#workspace .request-list:not(.rejected-list) th:nth-child(3),#workspace .request-list:not(.rejected-list) td:nth-child(3){text-align:right}
#workspace .tag{font-size:12px;font-weight:600;padding:5px 10px;border:1px solid transparent;border-radius:7px;line-height:1.65;max-width:100%}
#workspace .tag.approved{background:#e7f5ee;color:#226748;border-color:#cbe9da}
#workspace .tag.rejected,#workspace .tag.failed{background:#fff0f1;color:#9f3145;border-color:#f1d0d6}
#workspace .tag.pending,#workspace .tag.processing{background:#fff5dc;color:#755519;border-color:#efdfb7}
[data-theme='dark'] #workspace .tag.approved{background:#203e31;color:#b2ebcb;border-color:#365d49}
[data-theme='dark'] #workspace .tag.rejected,[data-theme='dark'] #workspace .tag.failed{background:#452b35;color:#ffc1cd;border-color:#6e414f}
[data-theme='dark'] #workspace .tag.pending,[data-theme='dark'] #workspace .tag.processing{background:#413822;color:#f4d88f;border-color:#675738}
#workspace .pagination{padding:6px 0;gap:12px;flex-wrap:wrap}
#workspace .bonus-thumb{border-radius:7px;border:1px solid var(--admin-border)}
#workspace .bonus-editor,#workspace .rejection-messages{line-height:1.6}
#workspace .rejection-message-row h3{color:var(--admin-text);line-height:1.6}
#workspace .empty{padding:40px 20px;color:var(--admin-muted)}
#editor{background:var(--admin-surface);color:var(--admin-text);border:1px solid var(--admin-border);border-radius:14px;box-shadow:0 24px 80px #0004}
#editor footer{background:var(--admin-surface)}
@media(max-width:1000px){#workspace main{padding:24px 20px 36px}#workspace .stats .stat{padding:18px}}
@media(max-width:640px){#workspace main{padding:20px 14px 30px}#workspace aside{padding:16px}#workspace h1{font-size:21px}#workspace .filters{padding:14px;gap:12px}#workspace .stats{gap:10px}#workspace .stats .stat{padding:16px 12px}#workspace .stats .stat strong{font-size:23px}#workspace tbody td,#workspace thead th{padding:12px}#workspace .request-toolbar{gap:12px}#workspace .table-wrap{border-radius:10px}#workspace .filters label{flex:1 1 140px;max-width:100%}}
@media(prefers-reduced-motion:reduce){#workspace *,#editor *{transition:none!important}}

/* Compact request rows; keep text size and natural wrapping. */
#workspace .request-list tbody td{padding:10px 16px;line-height:1.5}
#workspace .request-list thead th{padding:11px 16px}
#workspace .request-list .request-player{gap:2px}
#workspace .request-list .request-date{gap:2px}
#workspace .request-list .request-detail-button{min-height:24px;padding:2px 8px;margin-top:2px}
#workspace .request-list .tag{padding:4px 9px;line-height:1.5}
@media(max-width:640px){#workspace .request-list tbody td{padding:9px 12px}#workspace .request-list thead th{padding:10px 12px}}

/* Compact branded page heading. */
#workspace #page-title{display:inline-block;max-width:100%;padding:6px 13px;border-left:3px solid #b52636;border-radius:3px 9px 9px 3px;background:var(--admin-surface);box-shadow:0 1px 5px #16243a08;font-size:22px;font-weight:700;line-height:1.3;letter-spacing:-.3px;overflow-wrap:anywhere}
#workspace main>header{gap:14px;margin-bottom:18px;padding-bottom:14px}
@media(max-width:640px){#workspace #page-title{font-size:18px;padding:6px 10px}#workspace main>header{gap:10px;flex-wrap:wrap}}
