/* Scoped administrative UI only. No permission or customer-site behavior changes. */
body.bg-admin.mlx-bento #adminStaff .staff-card{background:#101d34!important;color:#edf3ff!important;border:1px solid #3b5174!important;box-shadow:0 10px 30px #0003}
body.bg-admin.mlx-bento #adminStaff .staff-card :is(h3,h4,strong){color:#edf3ff!important}
body.bg-admin.mlx-bento #adminStaff .staff-card :is(p,small,.sub){color:#b9c8e3!important;font-size:14px!important;line-height:1.6}
body.bg-admin.mlx-bento #adminStaff .permission-tag{background:#1a354e!important;color:#e1efff!important;border:1px solid #52718e;font-size:14px!important;padding:6px 9px;line-height:1.45}
body.bg-admin.mlx-bento #adminStaff .permission-note{background:#15263e!important;color:#c5d4ec!important;border:1px solid #465b7a!important;padding:10px 12px;line-height:1.6;font-size:14px!important}
body.bg-admin.mlx-bento #adminStaff .staff-card button{background:#253c60!important;color:#f1f5ff!important;border-color:#6c83a7!important;font-size:14px}
body.bg-admin.mlx-bento #adminStaff .staff-card button:is(.danger,.danger-btn){background:#4a2330!important;color:#ffdce3!important;border-color:#ac6577!important}
body.bg-admin.mlx-bento #adminStaff .staff-card button:disabled{opacity:1;color:#b7c4da!important;background:#28344a!important}
body.bg-admin.mlx-bento #adminStaff .staff-card .visibility{background:#173c3b!important;color:#c8fff0!important;border:1px solid #438777}
body.bg-admin.mlx-bento #adminStaff .staff-card .visibility.off{background:#4a2330!important;color:#ffdce3!important;border-color:#ac6577!important}
body.bg-admin.mlx-bento :is(#adminReconciliation,#adminExceptions) :is(input,select,textarea),body.bg-admin.mlx-bento .ops-dialog :is(input,select,textarea){background:#0c192c!important;color:#edf3ff!important;border:1px solid #647da4!important;min-height:42px;color-scheme:dark;padding:9px 11px;font-size:14px;box-sizing:border-box;width:100%}
.ops-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;align-items:end}
.ops-filters label,.ops-dialog label{display:grid;gap:7px;min-width:0;color:#c8d8f1!important;font-size:14px!important}
.ops-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
body.bg-admin.mlx-bento :is(#adminReconciliation,#adminExceptions) button{background:#253c60;color:#f1f5ff;border:1px solid #6c83a7;border-radius:8px;padding:10px 15px;font-size:14px}
body.bg-admin.mlx-bento :is(#adminReconciliation,#adminExceptions) .ops-actions button{width:auto!important;flex:none}
body.bg-admin.mlx-bento :is(#adminReconciliation,#adminExceptions) button:disabled{opacity:1;background:#1a283d;color:#9baecb;border-color:#40516c;cursor:not-allowed}
.ops-filters .ops-actions{grid-column:1/-1}.ops-actions button{min-height:40px}
.ops-pager{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:18px;flex-wrap:wrap}
body.bg-admin.mlx-bento :is(#adminReconciliation,#adminExceptions) :is(td,th){color:#e0eaff!important;white-space:normal;font-size:14px;line-height:1.6;vertical-align:top}
body.bg-admin.mlx-bento :is(#adminReconciliation,#adminExceptions) td small{display:block;color:#bdcce3!important;overflow-wrap:anywhere}
body.bg-admin.mlx-bento :is(#adminReconciliation,#adminExceptions) :is(.tip,p){color:#bdcce3!important;line-height:1.7}
body.bg-admin.mlx-bento :is(#adminReconciliation,#adminExceptions) .table-wrap{max-height:none!important;overflow:auto}
:is(#adminReconciliation,#adminExceptions) table{min-width:960px;width:100%}.ops-wrap{min-width:200px;white-space:pre-wrap!important;overflow-wrap:anywhere}
.ops-dialog{background:#101d34;color:#edf3ff;border:1px solid #647da4;border-radius:18px;width:min(600px,calc(100vw - 36px));max-height:85vh;overflow:auto;box-sizing:border-box;padding:24px}
.ops-dialog::backdrop{background:#000a}.ops-dialog form{display:grid;gap:16px}.ops-dialog h2{margin:0;font-size:22px;color:#edf3ff!important}.ops-dialog p{margin:0;line-height:1.6;color:#c8d8f1}.ops-dialog-error{color:#ffd0d7!important;white-space:pre-wrap}.ops-case-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
.ops-dialog button{background:#253c60;color:#f1f5ff;border:1px solid #7890b5;padding:10px 18px;border-radius:8px}
:is(.ops-filters,.ops-dialog) :focus-visible{outline:3px solid #a9c7ff!important;outline-offset:2px}
@media(max-width:640px){.ops-filters{grid-template-columns:1fr}.ops-dialog{padding:18px}}
