.photo-enlarge{position:absolute;right:12px;bottom:12px;z-index:3;padding:8px 12px;border:1px solid #cbd6df;border-radius:999px;background:#fff;color:#12324d;font:600 12px system-ui;cursor:pointer;box-shadow:0 2px 8px #102c461a}
.portal-enlarge{position:static;align-self:center;margin:0 0 10px;min-height:36px}
.photo-viewer{box-sizing:border-box;width:min(1100px,96vw);max-width:96vw;height:92dvh;max-height:92dvh;padding:0;border:1px solid #cbd6df;border-radius:16px;background:#fff;color:#12324d;overflow:hidden}
.photo-viewer::backdrop{background:#071a2ddd}
.photo-viewer-head{display:flex!important;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px!important;background:#fff!important;color:#12324d!important}
.photo-viewer-head h2{margin:0;font:700 20px system-ui}
.photo-viewer button{font:600 14px system-ui;color:#12324d;background:#fff;border:1px solid #cbd6df;border-radius:8px;padding:10px 14px;cursor:pointer;min-height:42px}
.photo-viewer-tools{display:flex;align-items:center;justify-content:center;gap:12px;padding:8px;border-block:1px solid #e3e9ed}
.photo-viewer-scroll{height:calc(92dvh - 140px);overflow:auto;display:flex;align-items:flex-start;justify-content:flex-start;background:#fff;padding:10px;box-sizing:border-box}
.photo-viewer-scroll img{display:block;flex-shrink:0;margin:auto;width:auto;height:auto;max-width:100%;max-height:calc(92dvh - 160px);object-fit:contain;mix-blend-mode:normal}
.photo-viewer button:focus-visible,.photo-enlarge:focus-visible{outline:3px solid #00a9ad;outline-offset:3px}

.catalog-photo{cursor:zoom-in}
