.svh-pm-gallery{display:flex!important;flex-wrap:wrap;gap:12px;margin:10px 0;max-width:560px}
.svh-pm-gallery>a.svh-pm-preview{display:flex!important;flex-direction:column;align-items:center;gap:4px;width:112px;min-width:96px;padding:8px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#243346;text-decoration:none!important;line-height:1.35}
.svh-pm-gallery>a:hover,.svh-pm-gallery>a:focus-visible{outline:2px solid #126bb0;outline-offset:2px}
.svh-pm-gallery a img{display:block!important;width:96px!important;height:96px!important;max-width:100%!important;object-fit:contain!important;margin:0!important;border-radius:4px;background:#f3f4f6}
.svh-pm-purpose{font-size:12px;font-weight:700}.svh-pm-filename{font-size:12px;overflow-wrap:anywhere;text-align:center;max-width:100%}.svh-pm-open{font-size:12px;color:#075b9e;text-decoration:underline}
.svh-pm-viewer{width:min(1100px,94vw);max-width:94vw;height:min(850px,92vh);max-height:92vh;padding:16px;border:1px solid #94a3b8;border-radius:12px;background:#fff;color:#1e293b;box-shadow:0 20px 70px #0008;box-sizing:border-box}
.svh-pm-viewer[open]{display:flex;flex-direction:column;gap:12px}.svh-pm-viewer::backdrop{background:#101827c9}
.svh-pm-viewer-toolbar,.svh-pm-viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
.svh-pm-viewer-caption{font:600 16px/1.4 system-ui,sans-serif;margin:0;overflow-wrap:anywhere}
.svh-pm-viewer button{background:#1e293b;color:#fff;border:0;border-radius:6px;padding:10px 14px;font:600 14px/1.2 system-ui,sans-serif;cursor:pointer}.svh-pm-viewer button:disabled{opacity:.45;cursor:default}
.svh-pm-viewer-stage{min-height:0;flex:1;display:flex;align-items:center;justify-content:center;background:#f1f3f5;overflow:auto;border-radius:6px}
.svh-pm-viewer-image{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain}.svh-pm-viewer-pdf{width:100%;height:100%;border:0;align-self:stretch;min-height:250px}
.svh-pm-viewer [hidden]{display:none!important}.svh-pm-viewer-error{padding:20px;max-width:500px}.svh-pm-viewer-footer a{font:14px/1.4 system-ui,sans-serif;color:#075b9e}
@media(max-width:600px){.svh-pm-viewer{padding:10px;gap:8px}.svh-pm-viewer-footer{flex-wrap:wrap}.svh-pm-viewer-footer a{order:3;width:100%;text-align:center}.svh-pm-viewer-caption{font-size:14px}}
