.mp-scan-backdrop{position:fixed;inset:0;z-index:2500;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(8,14,24,.68)}
.mp-scan-dialog{width:min(900px,100%);max-height:min(88dvh,950px);display:flex;flex-direction:column;overflow:hidden;color:#eaf0fa;background:#151d2a;border:1px solid #34435a;border-radius:12px;box-shadow:0 24px 80px rgba(0,0,0,.45);outline:none}
.mp-scan-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid #34435a}
.mp-scan-header h2{margin:0;font-size:18px;font-weight:650}
.mp-scan-close{min-height:34px;padding:6px 11px;border:1px solid #465873;border-radius:7px;background:#202c3d;color:#edf3fc;font:inherit;cursor:pointer}
.mp-scan-content{overflow:auto;padding:16px 18px 20px}
.mp-scan-history-note{margin:0 0 14px;padding:10px 12px;border-left:3px solid #788ba8;background:#101927;color:#c5d0e0;font-size:13px;line-height:1.45}
.mp-scan-queue,.mp-scan-run{margin:0 0 12px;padding:12px 14px;border:1px solid #34435a;border-radius:8px;background:#111a27}
.mp-scan-queue h3,.mp-scan-runs-title{margin:0 0 9px;font-size:14px;font-weight:650}
.mp-scan-runs-title{margin-top:18px}
.mp-scan-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.mp-scan-metric{display:flex;flex-direction:column;gap:4px;padding:9px;border-radius:7px;background:#1a2636}
.mp-scan-metric strong{font-size:18px;font-variant-numeric:tabular-nums}
.mp-scan-metric span,.mp-scan-muted{color:#9eacc0;font-size:12px}
.mp-scan-queue-note{margin:10px 0 5px;color:#ccd7e5;font-size:12px}
.mp-scan-run summary{display:flex;align-items:baseline;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}
.mp-scan-run summary::-webkit-details-marker{display:none}
.mp-scan-run summary::after{content:'›';margin-left:auto;color:#91a6c2;font-size:18px}
.mp-scan-run[open] summary::after{content:'⌄'}
.mp-scan-run-counts{color:#b8c6d9;font-size:12px;font-variant-numeric:tabular-nums}
.mp-scan-run-meta{display:flex;justify-content:space-between;gap:8px;margin:8px 0;color:#9eacc0;font-size:12px}
.mp-scan-list-section{margin-top:12px;padding-top:9px;border-top:1px solid #2c394b}
.mp-scan-list-section h4{margin:0 0 6px;font-size:12px;font-weight:650;color:#cbd6e5}
.mp-scan-list{display:grid;gap:4px;margin:0;padding-left:19px;color:#d0dae8;font-size:12px;overflow-wrap:anywhere}
.mp-scan-empty,.mp-scan-error{margin:8px 0;color:#ff9a91;font-size:13px;overflow-wrap:anywhere}
@media(max-width:560px){.mp-scan-backdrop{padding:7px;align-items:flex-end}.mp-scan-dialog{max-height:92dvh;border-radius:12px 12px 6px 6px}.mp-scan-header{padding:12px 14px}.mp-scan-content{padding:12px 14px 18px}.mp-scan-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.mp-scan-run summary{align-items:flex-start;flex-direction:column;gap:5px}.mp-scan-run summary::after{position:absolute;right:26px}.mp-scan-run-meta{flex-direction:column}}
