.image-viewer{box-sizing:border-box;width:min(1440px,94vw);max-width:94vw;height:90dvh;max-height:90dvh;margin:auto;padding:0;border:1px solid #deded8;border-radius:12px;background:#faf8ef;color:#252522;overflow:hidden;box-shadow:0 16px 80px #0004}.image-viewer::backdrop{background:rgba(19,22,28,.72)}.image-viewer-toolbar{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 18px;border-bottom:1px solid #deded8;min-height:68px}.image-viewer-toolbar h2{min-width:0;margin:0;font:500 15px/1.4 'DM Sans',sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-viewer-toolbar>div{display:flex;gap:8px;flex-shrink:0}.image-viewer-toolbar button{border:1px solid #d5d5cf;border-radius:6px;background:transparent;color:inherit;padding:9px 12px;font:inherit;font-size:13px;cursor:pointer}.image-viewer-toolbar button:focus-visible{outline:2px solid #252522;outline-offset:3px}.image-viewer-toolbar button:disabled{opacity:.5;cursor:default}.image-viewer-scroll{box-sizing:border-box;height:calc(100% - 68px);overflow:auto;padding:18px;overscroll-behavior:contain}.image-viewer-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;margin:0 auto}.image-viewer-image[hidden],.image-viewer-status[hidden]{display:none}.image-viewer-actual .image-viewer-image{max-width:none;max-height:none;margin:0}.image-viewer-status{margin:24px 0;font-size:14px;color:#62625b}@media(max-width:600px){.image-viewer{width:96vw;max-width:96vw;height:92dvh;max-height:92dvh}.image-viewer-toolbar{gap:8px;padding:12px;min-height:64px}.image-viewer-toolbar h2{font-size:13px}.image-viewer-toolbar button{padding:8px;font-size:12px}.image-viewer-scroll{height:calc(100% - 64px);padding:10px}}
