.case-viewer{z-index:100;background:color-mix(in srgb, var(--foreground) 92%, transparent);height:100dvh;color:var(--background);letter-spacing:0;grid-template-rows:auto minmax(0,1fr) auto;padding:0 2vw;display:grid;position:fixed;inset:0}.case-viewer-controls,.case-viewer-navigation,.case-viewer-actions{align-items:center;gap:8px;display:flex}.case-viewer-controls{justify-content:space-between;min-height:52px}.case-viewer-actions{margin-left:auto}.case-viewer button{color:var(--background);background:var(--foreground);border:1px solid var(--background);font-family:var(--font-mono);letter-spacing:0;text-transform:none;box-shadow:none;border-radius:0;font-size:11px}.case-viewer button:hover{color:var(--foreground);background:var(--background)}.case-viewer button:focus-visible{outline:2px solid var(--background);outline-offset:2px}.case-viewer-counter{text-align:center;min-width:48px;font:11px var(--font-mono)}.case-viewer-viewport{touch-action:pan-y;min-height:0;max-height:86dvh;overflow:hidden}.case-viewer-page{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.case-viewer-page img{object-fit:contain;cursor:zoom-in;width:auto;max-width:100%;height:auto;max-height:100%;display:block}.case-viewer-viewport.is-zoomed{touch-action:pan-x pan-y;overscroll-behavior:contain;overflow:auto}.is-zoomed .case-viewer-page{width:max-content;min-width:100%;height:max-content;min-height:100%}.is-zoomed img{cursor:zoom-out;flex-shrink:0;max-width:none;max-height:none}.case-viewer-meta{text-align:center;max-height:18dvh;padding:10px 0 14px;overflow-y:auto}.case-viewer-title{font-size:14px;font-weight:600}.case-viewer-meta p{font:10px/1.5 var(--font-mono);letter-spacing:0;margin-top:4px}.case-viewer-redacted{background:var(--background);width:52px;height:12px;margin-left:6px;display:inline-block}
