.hm-r2pv{box-sizing:border-box;width:min(1120px,calc(100vw - 32px));height:min(840px,calc(100dvh - 32px));max-width:none;max-height:none;padding:0;border:1px solid #dededb;border-radius:3px;background:#fff;color:#272727;font-family:Arial,Helvetica,sans-serif;overflow:hidden}
.hm-r2pv:not([open]){display:none}
.hm-r2pv[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.hm-r2pv::backdrop{background:rgb(0 0 0/.58)}
.hm-r2pv *{box-sizing:border-box}
.hm-r2pv .hm-r2pv-toolbar{display:flex;align-items:center;gap:20px;padding:14px 20px;border-bottom:1px solid #dededb}
.hm-r2pv .hm-r2pv-toolbar h2{font:400 18px/1.3 Arial,Helvetica,sans-serif;letter-spacing:0;margin:0 auto 0 0;text-transform:none}
.hm-r2pv .hm-r2pv-size{display:flex;align-items:center;border:1px solid #dededb;border-radius:2px}
.hm-r2pv button{appearance:none;min-height:44px;border:0;margin:0;padding:10px 14px;background:#fff;color:#272727;font:400 12px/1.4 Arial,Helvetica,sans-serif;cursor:pointer;letter-spacing:0;text-transform:none}
.hm-r2pv .hm-r2pv-size button[aria-pressed=true]{background:#f3f0eb;color:#922026}
.hm-r2pv button:disabled{opacity:.55;cursor:default}
.hm-r2pv .hm-r2pv-close{display:flex;align-items:center;justify-content:center;min-width:44px;flex-shrink:0;padding:10px}
.hm-r2pv button:focus-visible,.hm-r2pv a:focus-visible,.hm-r2pv-viewport:focus-visible{outline:2px solid #b51c22;outline-offset:-3px}
.hm-r2pv .hm-r2pv-viewport{position:relative;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto;overscroll-behavior:contain;padding:18px;background:#fff;touch-action:pan-x pan-y pinch-zoom}
.hm-r2pv .hm-r2pv-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;flex:0 0 auto}
.hm-r2pv .hm-r2pv-viewport[data-mode=native]{display:block}
.hm-r2pv .hm-r2pv-viewport[data-mode=native] .hm-r2pv-image{width:auto;height:auto;max-width:none;max-height:none;margin:0}
.hm-r2pv .hm-r2pv-status{font-size:14px;line-height:1.6;color:#656563;margin:0;text-align:center}
.hm-r2pv .hm-r2pv-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 20px;border-top:1px solid #dededb;background:#fff}
.hm-r2pv .hm-r2pv-footer p{margin:0;font:400 12px/1.6 Arial,Helvetica,sans-serif;color:#656563}
.hm-r2pv .hm-r2pv-footer .hm-r2pv-hint{margin-top:3px;font-size:11px}
.hm-r2pv .hm-r2pv-footer a{display:inline-flex;gap:10px;align-items:center;flex-shrink:0;min-height:44px;color:#272727;font:400 12px/1.4 Arial,Helvetica,sans-serif;text-decoration:underline;text-underline-offset:4px}
.hm-r2pv [hidden]{display:none!important}
@media(max-width:700px){.hm-r2pv{width:calc(100vw - 16px);height:calc(100dvh - 16px)}.hm-r2pv .hm-r2pv-toolbar{flex-wrap:wrap;gap:8px;padding:10px 12px}.hm-r2pv .hm-r2pv-toolbar h2{font-size:16px}.hm-r2pv .hm-r2pv-size{order:3;width:100%}.hm-r2pv .hm-r2pv-size button{flex:1}.hm-r2pv .hm-r2pv-viewport{padding:10px}.hm-r2pv .hm-r2pv-footer{align-items:flex-start;flex-direction:column;gap:4px;padding:10px 12px}.hm-r2pv .hm-r2pv-footer a{font-size:11px}}
