/* Admin workspaces share the review workspace visual system. */
#adm-sec-copyright { padding:28px; }
#adm-sec-copyright .adm-toolbar { padding:0; border:0; margin-bottom:20px; gap:10px; }
#adm-sec-copyright :is(.adm-form-ctrl,.adm-btn) { min-height:44px; border-radius:9px; padding:10px 16px; }
#adm-sec-copyright .adm-q-card { padding:22px; margin-bottom:14px; border:1px solid var(--border); border-radius:14px; background:var(--surface); gap:16px; }
#adm-sec-copyright .adm-q-card:hover { border-color:var(--accent); }
#adm-sec-copyright .adm-q-top { flex-wrap:wrap; gap:10px; margin-bottom:12px; }
#adm-sec-copyright .adm-q-meta { white-space:normal; overflow-wrap:anywhere; line-height:1.6; }
#adm-sec-copyright .adm-q-snippet { white-space:normal; overflow-wrap:anywhere; padding:12px; margin-top:12px; background:var(--bg); border-radius:8px; line-height:1.6; font-style:normal; }
#adm-sec-copyright .adm-q-arrow { color:var(--accent); min-height:44px; font-weight:600; }
#adm-sec-copyright .adm-state-empty { min-height:160px; padding:24px; border:1px dashed var(--border); border-radius:14px; }
#adm-sec-copyright :is(button,select):focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
/* Only copyright uses this status field in the shared confirmation dialog. */
#adm-confirm-ov:has(#adm-cf-newstatus) .adm-confirm-modal { width:680px; max-width:calc(100vw - 32px); max-height:calc(100dvh - 32px); overflow-y:auto; box-sizing:border-box; padding:24px; border:1px solid var(--border); }
#adm-confirm-ov:has(#adm-cf-newstatus) #adm-confirm-target { overflow-wrap:anywhere; line-height:1.6; }
#adm-confirm-ov:has(#adm-cf-newstatus) #adm-confirm-warning { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.8; background:var(--bg); color:var(--text); border:1px solid var(--border); padding:16px; }
#adm-confirm-ov:has(#adm-cf-newstatus) :is(select,textarea) { min-height:44px; border-radius:9px; color-scheme:dark; }
body.light #adm-confirm-ov:has(#adm-cf-newstatus) :is(select,textarea) { color-scheme:light; }
@media(max-width:800px) { #adm-sec-copyright { padding:18px; } }
@media(max-width:480px) {
  #adm-sec-copyright { padding:14px; }
  #adm-sec-copyright .adm-q-card { padding:16px; flex-direction:column; align-items:stretch; }
  #adm-sec-copyright .adm-q-arrow { align-self:flex-start; }
  #adm-cr-count { flex-basis:100%; margin-left:0!important; }
  #adm-confirm-ov:has(#adm-cf-newstatus) .adm-confirm-modal { padding:18px; }
}
#adm-sec-users { padding:28px; }
#adm-sec-users .adm-toolbar { padding:0; border:0; margin-bottom:20px; gap:10px; }
#adm-sec-users .adm-form-ctrl { min-width:0; min-height:44px; padding:12px; border-radius:9px; background:var(--bg); color:var(--text); }
#adm-sec-users input:autofill { box-shadow:0 0 0 1000px var(--bg) inset; -webkit-text-fill-color:var(--text); }
#adm-sec-users .adm-usr-result { display:flex; align-items:center; flex-wrap:wrap; gap:18px; padding:22px; margin-bottom:14px; border:1px solid var(--border); border-radius:14px; background:var(--surface); }
#adm-sec-users .adm-usr-result-info { display:flex; flex:1 1 240px; min-width:0; align-items:center; gap:14px; }
#adm-sec-users .adm-usr-result-info > div:not(.adm-usr-result-av) { flex:1; min-width:0; overflow:visible; overflow-wrap:anywhere; line-height:1.6; }
#adm-sec-users .adm-usr-result-av { display:flex; width:46px; height:46px; flex:0 0 46px; align-items:center; justify-content:center; border-radius:50%; background:var(--accent); color:#161612; font-weight:700; }
#adm-sec-users :is(.adm-btn,.adm-action-btn) { width:auto; min-height:44px; padding:12px 16px; border-radius:9px; flex-shrink:0; font-weight:600; color:var(--text); background:var(--surface-raised,var(--surface)); }
#adm-sec-users .adm-state-empty { min-height:160px; padding:24px; border:1px dashed var(--border); border-radius:14px; color:var(--muted); text-align:center; }
#adm-sec-users :is(input,button):focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
@media(max-width:800px) { #adm-sec-users { padding:18px; } }
@media(max-width:480px) {
  #adm-sec-users { padding:14px; }
  #adm-sec-users .adm-usr-result { padding:16px; }
  #adm-sec-users .adm-action-btn { width:100%; }
}
#adm-sec-tools { padding:28px; }
#adm-tools-form { max-width:760px; padding:24px; border:1px solid var(--border); border-radius:14px; background:var(--surface); gap:20px!important; box-sizing:border-box; }
#adm-tools-form .adm-form-label { font-size:12px; font-weight:600; margin-bottom:8px; }
#adm-tools-form .adm-form-ctrl { min-width:0; min-height:44px; padding:12px; border-radius:9px; background:var(--bg); font-size:14px; box-sizing:border-box; }
#adm-tools-form .btn { min-height:44px; padding:12px 18px; border-radius:9px; font-weight:600; flex-shrink:0; }
#adm-tools-form > .btn { width:auto!important; align-self:flex-start; }
#adm-tools-form :is(input,button):focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
#admin-user-info,#admin-msg { overflow-wrap:anywhere; line-height:1.6; }
#adm-sec-auditlog .adm-audit-group-badge.reviews { color:var(--accent); background:var(--bg); border:1px solid var(--border); }
@media(max-width:800px) { #adm-sec-tools { padding:18px; } }
@media(max-width:480px) {
  #adm-sec-tools { padding:14px; }
  #adm-tools-form { padding:16px; }
  #adm-tools-form > .btn { width:100%!important; }
}
/* Explicit arrow avoids the white native select-button block on Windows. */
#admin-ov select.adm-form-ctrl,#adm-detail-ov select.adm-form-ctrl {
  appearance:none; -webkit-appearance:none; color-scheme:dark;
  padding-right:36px; background-color:var(--surface);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a9a69f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center;
}
body.light #admin-ov select.adm-form-ctrl,body.light #adm-detail-ov select.adm-form-ctrl { color-scheme:light; }
#adm-sec-enforce,#adm-sec-auditlog { padding:28px; }
#adm-enf-form { padding:24px; border:1px solid var(--border); border-radius:14px; background:var(--surface); gap:20px!important; max-width:760px; }
#adm-enf-form .adm-form-label { font-size:12px; font-weight:600; margin-bottom:8px; }
#adm-enf-form .adm-form-ctrl { min-height:44px; padding:12px; border-radius:9px; background-color:var(--bg); font-size:14px; min-width:0; box-sizing:border-box; }
#adm-enf-form select.adm-form-ctrl { padding-right:36px; }
#adm-enf-form textarea { line-height:1.6; }
#adm-enf-form > .btn { min-height:46px; align-self:flex-start; padding:12px 24px; border-radius:9px; }
#adm-enf-form .adm-btn,#adm-sec-auditlog .adm-btn,#adm-sec-auditlog .adm-audit-pg-btn { min-height:44px; padding:10px 16px; border-radius:9px; font-weight:600; color:var(--text); background:var(--surface-raised,var(--surface)); }
#adm-sec-auditlog .adm-toolbar { padding:0; border:0; margin:0 0 20px; gap:10px; }
#adm-sec-auditlog .adm-form-ctrl { min-height:44px; border-radius:9px; }
#adm-sec-auditlog .adm-audit-row { padding:20px; border:1px solid var(--border); border-radius:14px; margin:0 0 12px; background:var(--surface); }
#adm-sec-auditlog .adm-audit-row:hover { border-color:var(--accent); }
#adm-sec-auditlog .adm-audit-row-top { gap:10px; flex-wrap:wrap; }
#adm-sec-auditlog .adm-audit-meta { line-height:1.7; margin-top:10px; overflow-wrap:anywhere; }
#adm-sec-auditlog .adm-audit-detail-panel { padding:18px; border-radius:9px; background:var(--bg); margin-top:16px; }
#adm-sec-auditlog .adm-state-empty { min-height:180px; border:1px dashed var(--border); border-radius:14px; }
:is(#adm-sec-enforce,#adm-sec-auditlog) :is(button,input,textarea,select):focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
@media(max-width:800px) { #adm-sec-enforce,#adm-sec-auditlog { padding:18px; } }
@media(max-width:480px) {
  #adm-sec-enforce,#adm-sec-auditlog { padding:14px; }
  #adm-enf-form { padding:16px; }
  #adm-enf-form > .btn { width:100%; }
  #adm-sec-auditlog .adm-audit-row { padding:16px; }
  #adm-audit-count { flex-basis:100%; margin-left:0!important; }
  #adm-sec-auditlog .adm-audit-detail-grid { grid-template-columns:1fr; }
}
#adm-enf-expires { color-scheme:dark; }
body.light #adm-enf-expires { color-scheme:light; }
#adm-sec-reports,#adm-sec-appeals { padding:28px; }
.adm-workspace-eyebrow { color:var(--accent); font-size:10px; font-weight:700; letter-spacing:.14em; }
.adm-workspace-header h3 { margin:6px 0 10px; font-size:25px; line-height:1.2; color:var(--text); }
.adm-workspace-header p { margin:10px 0; font-size:13px; color:var(--muted); line-height:1.6; }
.adm-workspace-header .adm-workspace-notice { margin:18px 0 22px; padding:12px 16px; border-left:3px solid var(--accent); border-radius:0 8px 8px 0; background:var(--surface-raised,var(--surface)); font-size:12px; }
:is(#adm-sec-reports,#adm-sec-appeals) .adm-toolbar { padding:0; border:0; margin:0 0 20px; gap:10px; }
.adm-filter-label { font-size:12px; font-weight:600; color:var(--muted); }
:is(#adm-sec-reports,#adm-sec-appeals) .adm-form-ctrl { min-height:44px; padding:10px 14px; border-radius:9px; }
:is(#adm-sec-reports,#adm-sec-appeals,#adm-detail-ov) .adm-btn { min-height:44px; padding:10px 16px; font-size:13px; font-weight:600; border-radius:9px; background:var(--surface-raised,var(--surface)); color:var(--text); }
:is(#adm-sec-reports,#adm-sec-appeals,#adm-detail-ov) button:focus-visible,
:is(#adm-sec-reports,#adm-sec-appeals,#adm-detail-ov) select:focus-visible,
#adm-detail-ov textarea:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
#adm-sec-reports .adm-q-card,#adm-sec-appeals .adm-apl-card { padding:22px; margin:0 0 14px; border:1px solid var(--border); border-radius:14px; background:var(--surface); box-sizing:border-box; }
#adm-sec-reports .adm-q-card:hover { border-color:var(--accent); background:var(--surface-raised,var(--surface)); }
#adm-sec-reports .adm-q-top { gap:9px; margin-bottom:12px; }
#adm-sec-reports .adm-q-reason { font-size:15px; }
#adm-sec-reports .adm-q-meta { white-space:normal; line-height:1.6; overflow-wrap:anywhere; }
#adm-sec-reports .adm-q-snippet { margin-top:14px; padding:12px 14px; border-radius:8px; background:var(--bg); color:var(--text); line-height:1.6; white-space:normal; overflow-wrap:anywhere; }
#adm-sec-reports .adm-q-arrow { min-height:40px; color:var(--accent); font-weight:600; }
:is(#adm-sec-reports,#adm-sec-appeals) .adm-row-tag { padding:5px 10px; font-size:11px; }
#adm-sec-appeals .adm-row-hdr { margin-bottom:16px; gap:14px; line-height:1.6; }
#adm-sec-appeals .adm-row-hdr > div { min-width:0; overflow-wrap:anywhere; }
#adm-sec-appeals .adm-row-actions { border-top:1px solid var(--border); padding-top:16px; margin-top:18px; gap:10px; }
#adm-sec-appeals .adm-btn.ok { color:var(--text); border-color:#598771; }
#adm-sec-appeals .adm-btn.danger { color:#ed947e; border-color:#995949; }
:is(#adm-sec-reports,#adm-sec-appeals) .adm-state-empty { min-height:200px; border:1px dashed var(--border); border-radius:14px; background:var(--surface); }
#adm-detail-ov .adm-detail-modal { border:1px solid var(--border); }
#adm-detail-ov .adm-detail-left,#adm-detail-ov .adm-detail-right { padding:24px; }
#adm-detail-ov .adm-section { padding:20px; border:1px solid var(--border); border-radius:14px; background:var(--surface); margin-bottom:18px; }
#adm-detail-ov .adm-section-title { color:var(--accent); font-size:11px; letter-spacing:.1em; margin-bottom:16px; }
#adm-detail-ov .adm-meta-grid { gap:18px 14px; }
#adm-detail-ov .adm-evidence-box { font-style:normal; line-height:1.7; background:var(--bg); padding:16px; }
#adm-detail-ov .adm-action-btn { min-height:44px; padding:12px; }
#adm-detail-ov .adm-action-btns { gap:8px; }
#adm-detail-ov .adm-action-group { margin-bottom:22px; }
#adm-detail-ov .adm-action-group-label { font-size:11px; margin-bottom:10px; }
@media(max-width:800px) {
  #adm-sec-reports,#adm-sec-appeals { padding:18px; }
  #adm-sec-reports .adm-q-card { align-items:stretch; flex-direction:column; }
  #adm-sec-reports .adm-q-arrow { align-self:flex-start; }
  #adm-detail-ov .adm-detail-left,#adm-detail-ov .adm-detail-right { padding:14px; }
}
@media(max-width:480px) {
  #adm-sec-reports,#adm-sec-appeals { padding:14px; }
  #adm-sec-reports .adm-q-card,#adm-sec-appeals .adm-apl-card,#adm-detail-ov .adm-section { padding:16px; }
  #adm-sec-appeals .adm-row-hdr { flex-wrap:wrap; }
  #adm-sec-appeals .adm-row-actions .adm-btn { flex:1 1 120px; }
  #adm-rpt-count { flex-basis:100%; margin-left:0!important; }
}
