.evidence-viewer{position:fixed;inset:0;margin:auto;width:max-content;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:12px;background:#fff;color:#173047;border:0;border-radius:14px;overflow:auto}
.evidence-viewer::backdrop{background:rgba(10,23,35,.8)}
.evidence-viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.evidence-viewer-bar h2{margin:0;font-size:15px}
.evidence-viewer-bar button{padding:8px 12px;border-radius:8px;background:#173047;color:white;white-space:nowrap}
.evidence-viewer>img{display:block;max-width:100%;max-height:calc(100dvh - 95px);width:auto;height:auto;object-fit:contain;margin:auto}
html:has(.evidence-viewer[open]){overflow:hidden}
