/* Scoped to staff operations; public profiles, ranks and classic tabs are untouched. */
html:has(.admin-page),html body:has(.admin-page){min-width:0!important}
html body .cb-site .admin-page {max-width:1480px!important;width:calc(100% - 32px)!important;margin:16px auto!important;font-size:13px!important}
html body .cb-site .admin-page .admin-workspace{display:grid!important;grid-template-columns:210px minmax(0,1fr)!important;gap:16px!important;align-items:start}
html body .cb-site .admin-page .admin-sidebar{position:sticky!important;top:12px;max-height:calc(100vh - 24px);overflow:auto}
html body .cb-site .admin-page .admin-main{min-width:0!important;width:auto!important}
html body .cb-site .admin-page .admin-sidebar button{min-height:36px!important;padding:8px 10px!important;text-align:left!important;white-space:normal}
html body .cb-site .admin-page .admin-section-heading{padding:14px!important;margin-bottom:14px!important}
html body .cb-site .admin-page .admin-section-heading h2{font-size:19px!important;margin:0 0 5px!important;line-height:1.3}
html body .cb-site .admin-page button{height:auto!important;min-height:32px!important;line-height:1.3!important;padding:6px 11px!important;text-decoration:none!important;white-space:normal;cursor:pointer;box-sizing:border-box}
html body .cb-site .admin-page button:disabled{opacity:.55;cursor:not-allowed}
html body .cb-site .admin-page :is(button,input,select,textarea,a,summary):focus-visible{outline:2px solid #ffd365!important;outline-offset:3px}
html body .cb-site .admin-page :is(input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box}
html body .cb-site .admin-page .ops-queue[hidden]{display:none!important}
.admin-page .ops-queue{border:1px solid #37617a;background:#152833;margin:12px 0 18px;min-width:0}
.admin-page .ops-queue-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;background:#0b1d28;border-bottom:1px solid #315166}
.admin-page .ops-queue-heading h3{font-size:16px!important;margin:0!important;color:#eee!important}
.admin-page .ops-queue-heading>span{margin-left:auto;font-size:11px;color:#adc0cb}
.admin-page .ops-quick-filters,.admin-page .ops-tabs{display:flex;flex-wrap:wrap;gap:7px;padding:12px 14px 0}
.admin-page .ops-tabs{padding:0 0 8px}
html body .cb-site .admin-page .ops-quick-filters button,html body .cb-site .admin-page .ops-tabs button{background:#203e50;border:1px solid #47718a;color:#dcebf3;box-shadow:none;text-transform:none;font-size:12px!important}
html body .cb-site .admin-page .ops-tabs button[aria-pressed=true]{background:#267ba7;color:white;border-color:#65b6df}
.admin-page .ops-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;padding:14px}
.admin-page .ops-filters label,.admin-page .ops-control-form label,.admin-page .ops-filter-options label{display:flex;flex-direction:column;gap:5px;color:#bdcdd6;font-weight:600;font-size:12px;text-transform:none}
.admin-page .ops-filters label{flex:0 1 150px}
.admin-page .ops-filters .ops-search{flex:1 1 230px}
html body .cb-site .admin-page .ops-filters :is(input,select),html body .cb-site .admin-page .ops-control-form :is(input,select){width:100%!important;min-height:34px!important;margin:0!important;padding:6px 8px!important;font:13px Arial,sans-serif!important}
html body .cb-site .admin-page .ops-primary{background:#287da7!important;border:1px solid #62b6df!important;color:#fff!important;box-shadow:none!important}
.admin-page .ops-advanced{flex:1 0 100%;padding-top:2px}
.admin-page :is(.ops-advanced,.ops-case-controls,.ops-audit,.ops-account-lookup,.ops-integrity)>summary{cursor:pointer;color:#8ed7f5;font-size:13px;padding:8px 0;font-weight:bold}
.admin-page .ops-filter-options{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding-top:10px}
.admin-page .ops-staff-picker{display:flex;align-items:end;gap:8px;flex-wrap:wrap;min-width:0}
.admin-page .ops-staff-picker>label{flex:1 1 130px}
.admin-page .ops-staff-picker>small{flex-basis:100%;color:#f7ba8b}
.admin-page .ops-check{flex-direction:row!important;align-items:center!important;min-height:32px}
html body .cb-site .admin-page .ops-check input{width:16px!important;height:16px!important;min-height:0!important}
.admin-page .ops-filter-summary{padding:8px 14px;background:#10212b;color:#adc5d2;font-size:12px;overflow-wrap:anywhere;border-top:1px solid #294959}
.admin-page .ops-table-scroll{overflow-x:auto;max-width:100%;min-width:0}
html body .cb-site .admin-page .ops-table-scroll table{width:100%!important;min-width:620px;border-collapse:collapse!important;table-layout:auto!important;margin:0!important;background:#192c36!important}
html body .cb-site .admin-page .ops-table-scroll :is(th,td){padding:10px 12px!important;height:auto!important;line-height:1.4!important;text-align:left!important;vertical-align:middle!important;border:0!important;border-bottom:1px solid #2c424e!important;color:#e5ecf0;font-size:12px!important;max-width:330px;overflow-wrap:anywhere;white-space:normal!important}
html body .cb-site .admin-page .ops-table-scroll th{background:#081923!important;color:#bbced9!important;font-size:11px!important;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap!important}
html body .cb-site .admin-page .ops-table-scroll tbody tr:nth-child(even){background:#1d313d!important}
html body .cb-site .admin-page .ops-table-scroll tbody tr:hover{background:#244354!important}
.admin-page .ops-table-scroll td small{display:block;color:#adc3ce;margin-top:3px}
.admin-page .ops-table-scroll td strong{display:block;font-size:13px}
.admin-page .ops-badge{display:inline-block;padding:3px 7px;border:1px solid #537182;background:#263f50;border-radius:3px;white-space:nowrap;text-transform:capitalize;font-size:11px}
.admin-page .ops-badge:is(.urgent,.escalated,.failed,.banned){background:#5c292e;border-color:#ab5f64;color:#ffd3d3}
.admin-page .ops-badge:is(.high,.held,.under-review){background:#57471d;border-color:#978451;color:#ffe6a0}
.admin-page .ops-badge:is(.resolved,.active,.paid,.verified){background:#204c3c;border-color:#4c836d;color:#b5f0d5}
.admin-page .ops-pagination{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border-top:1px solid #315166;clear:both}
.admin-page .ops-pagination>span{margin-right:auto;color:#b6c9d5;font-size:12px}
.admin-page .ops-error,.admin-page .ops-notice{padding:12px 14px;background:#39292c;color:#f2cfcb;border:1px solid #775158;margin:10px 0}
.admin-page .ops-empty{padding:32px 16px;text-align:center;color:#b1c5d0}
.admin-page .ops-muted,.admin-page .ops-help{color:#a4bac7;font-size:12px;line-height:1.5}
.admin-page .ops-overdue{color:#ffb5a6!important;font-weight:bold}
.admin-page .ops-on-time{color:#a6dfc1!important}
.admin-page .ops-timing{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:6px 0 12px}
.admin-page .ops-timing>div{padding:12px;background:#102530;border:1px solid #3b5869;display:flex;flex-direction:column;gap:6px}
.admin-page .ops-timing span{font-size:12px;color:#b8ccd7}
.admin-page .ops-timing strong,.admin-page .ops-timing strong span{font-size:18px;color:#eee;line-height:1.4}
.admin-page .ops-timing small{font-size:11px;color:#a4bac7}
.admin-page .ops-case-context{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-block:1px solid #3a5361;margin:12px 0}
.admin-page :is(.ops-case-controls,.ops-integrity,.ops-audit,.ops-account-lookup){margin:12px 0;padding:10px 14px;background:#142b37;border:1px solid #3b5869}
.admin-page .ops-control-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end;padding:12px 0}
.admin-page .ops-control-form textarea{width:100%;font:13px/1.5 Arial,sans-serif;padding:10px;resize:vertical;box-sizing:border-box}
.admin-page .ops-wide{grid-column:1/-1}
.admin-page .ops-control-form>button{justify-self:start}
.admin-page .ops-case-file{padding:16px;border:1px solid #42677e;background:#1d303b}
.admin-page .ops-case-file>header{display:flex;justify-content:space-between;gap:12px;align-items:center}
.admin-page .ops-post-preview{padding:16px;background:#10222c;border:1px solid #405562;overflow-wrap:anywhere;margin:14px 0;max-height:420px;overflow:auto}
.admin-page .ops-post-preview img{max-width:100%;height:auto}
html body .cb-site .admin-page .support-reply{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:12px!important;padding:16px!important;border:1px solid #3b5869;background:#132b38}
.admin-page .support-reply>label:first-child{grid-column:1/-1;display:grid;gap:8px}
html body .cb-site .admin-page .support-reply textarea{width:100%!important;min-height:130px;padding:10px;box-sizing:border-box}
.admin-page .support-reply>button{justify-self:start}
.admin-page .support-thread{max-height:650px;overflow:auto;border:1px solid #354e5e;margin:16px 0}
html body .cb-site .admin-page .admin-case-summary{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))!important;gap:8px!important}
html body .cb-site .admin-page .admin-case-summary>span{padding:10px!important;overflow-wrap:anywhere}
html body .cb-site .admin-page .theme-asset-picker>button{min-height:72px!important}
@media(max-width:1000px){html body .cb-site .admin-page .admin-workspace{grid-template-columns:175px minmax(0,1fr)!important;gap:10px!important}.admin-page .ops-timing{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-page .ops-queue-heading>span{margin-left:0}}
@media(max-width:720px){html body .cb-site .admin-page{width:calc(100% - 16px)!important}html body .cb-site .admin-page .admin-workspace{display:block!important}html body .cb-site .admin-page .admin-sidebar{position:static!important;max-height:230px;margin-bottom:16px}.admin-page .ops-control-form{grid-template-columns:minmax(0,1fr)}.admin-page .ops-queue-heading{gap:8px}.admin-page .ops-filters{gap:8px;padding:10px}.admin-page .ops-timing strong,.admin-page .ops-timing strong span{font-size:16px}html body .cb-site .admin-page .support-reply{display:block!important}.admin-page .support-reply>*{margin-bottom:12px}}
