/* Local Bootstrap dropdown positioning, with controls matched to the dispatch desk. */
.form-options { inset:auto; margin:0; padding:5px; max-width: min(390px,92vw); max-height: min(330px,42vh); overflow:auto; background:#202b33; color:#edf2f3; border:1px solid #50616d; border-radius:9px; box-shadow:0 14px 38px #050a10a8; z-index:1100; }
.form-options:not(.show) { display:none; }
.form-options.show { display:grid; gap:2px; }
.form-options .dropdown-item { justify-content:flex-start; display:flex; padding:7px 11px; min-height:32px; text-align:left; width:100%; border:0; background:transparent; color:#e8edef; font-size:13px; font-weight:470; border-radius:5px; }
.form-options .dropdown-item[aria-selected=true] { background:#384145; color:#ffda8b; }
.form-options .dropdown-item[aria-selected=true]::after { content:'✓'; margin-left:auto; padding-left:12px; }
.form-options .dropdown-item:focus-visible,.form-options .dropdown-item:hover { background:#344451; outline:1px solid #8eaaaf; outline-offset:-1px; }
select:not([multiple]) { appearance:none; cursor:pointer; border:1px solid #43545f; border-radius:6px; padding-right:29px!important; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='m2 3 4 4 4-4' fill='none' stroke='%23ced9da' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 9px center; }
.incident-look { width:40px;height:52px; object-fit:contain; background:#111a21; border-radius:6px; }
#tripsTab[hidden],.live-world[hidden],label[hidden],#newBan[hidden] { display:none!important; }
.feed .segments { gap:4px; flex-wrap:wrap; } .feed .segments button { flex:1 1 auto; }
#workspace { --panel:#18222b; --raised:#202d36; --line:#33414b; }
#players .search-strip { background:transparent; border:none; padding:0; margin:0 0 15px; }
#players .search-strip label { max-width:420px; }
.directory-face { width:38px; height:42px; flex:0 0 38px; background:#273740; border:1px solid #3a4952; color:#a6c7c6; display:grid; place-items:center; overflow:hidden; border-radius:8px; }
.directory-face .icon { width:20px; }
.directory-face img { width:100%; height:100%; object-fit:contain; }
#playerList .record-link-text,.case-layout .record-link-text { flex:1; min-width:0; }
#playerList .record-link { min-height:64px; padding:10px 17px; }
#playerList .record-link[aria-current=true],#reportList .record-link[aria-current=true] { background:#25343c; box-shadow:inset 3px 0 #e1bd77; }
#playerList .record-id,#playerList time { font-variant-numeric:tabular-nums; }
.case-date { align-self:center; display:grid; justify-items:center; align-content:center; min-width:40px; line-height:1.12; font-variant-numeric:tabular-nums; color:#d9e4e7; }
.case-date strong { font-size:19px; font-weight:580; }
.case-date small { color:#a6b8c3;font-size:10px;text-transform:uppercase;letter-spacing:.065em; }
.case-layout:not(:has(#case:not(:empty))) { display:block; }
#reportList .record-link { min-height:68px; gap:14px; }
#reportList .record-link-text>div:first-child strong { display:-webkit-box; overflow:hidden; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.record-top { padding:20px 23px; background:linear-gradient(110deg,#26353d,#1b2730 70%); }
.record-section,.case-section { padding:16px 22px; }
.case-summary { margin:12px 0 16px; font-size:17px; line-height:1.45; font-weight:450; }
#reports .record-filter,#bans .record-filter { background:#1b2730; padding:13px 17px; }
.ledger-head { display:flex; justify-content:space-between; align-items:center; margin:0 0 16px; }
.ledger-head h2 { font-size:18px; letter-spacing:-.03em; }
.decision-dialog { position:fixed; margin:auto; padding:0; width:min(440px,calc(100vw - 24px)); color:var(--ink); border:1px solid #4d616c; border-radius:13px; background:#18242e; box-shadow:0 24px 90px #0008; }
.decision-dialog::backdrop { background:#080f17b8; }
.decision-dialog :is(#banForm,#povArchiveForm) { display:grid; grid-template-columns:1fr; gap:14px; padding:23px; border:none; background:transparent; margin:0; }
.decision-dialog :is(#banForm,#povArchiveForm) h2 { font-size:21px; }
#povArchiveForm p { margin:0; }
#povArchiveStatus:empty { display:none; }
.dialog-actions { display:flex; gap:8px; justify-content:flex-end; padding-top:8px; }
#banList .ban-record { padding:16px 18px; }
#banList .ban-reason { font-size:16px; margin:8px 0; }
#banList .record-empty { padding:38px 20px; }
@media(min-width:1280px) {
 .desk { max-width:none; padding:24px clamp(18px,2vw,38px); }
 .desk .page-head { margin-bottom:20px; }
 #workspace .page-head h1 { font-size:clamp(27px,2.4vw,38px); }
 .investigation { grid-template-columns:minmax(0,1fr) minmax(285px,26%); }
 #players:not(:has(#profile:not([hidden]))) .record-items { display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:1px; background:var(--line); }
 #players:not(:has(#profile:not([hidden]))) .record-link { background:var(--panel); border:0; }
}
@media(max-width:700px) { .case-date { min-width:31px; }.record-top {padding:15px}.form-options .dropdown-item{min-height:38px} }

.revoke-form{display:grid;gap:12px;padding:23px}.revoke-form textarea{width:100%;min-height:70px}.feed-tabs:has(#tripsTab[hidden]){grid-template-columns:1fr}
