.graal-photo-viewer{box-sizing:border-box;width:min(1120px,96vw);max-width:96vw;max-height:94vh;max-height:94dvh;padding:16px;border:1px solid #d8e0e8;border-radius:16px;background:#fff;color:#152d46;overflow:auto;box-shadow:0 20px 80px #0006}.graal-photo-viewer::backdrop{background:rgba(6,18,32,.85)}.graal-photo-viewer header,.graal-photo-viewer footer{display:flex;gap:12px;align-items:center}.graal-photo-viewer header{justify-content:space-between}.graal-photo-viewer button{min-width:44px;min-height:44px;border:1px solid #ccd7e1;border-radius:10px;background:#f3f7fa;color:#132e48;font-size:24px;cursor:pointer}.graal-photo-viewer button:focus-visible,.graal-photo-viewer a:focus-visible{outline:3px solid #ee843b;outline-offset:3px}.graal-photo-viewer [hidden]{display:none!important}.graal-photo-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:150px;margin:10px 0;background:#f5f7f9;border-radius:8px}.graal-photo-stage img{display:block;width:100%;height:auto;max-height:65vh;max-height:65dvh;object-fit:contain}.graal-photo-caption{margin:8px 0 14px;font-size:14px;line-height:1.4}.graal-photo-viewer footer>a{margin-left:auto;color:#174d78;font-size:14px}.graal-photo-error{padding:16px}.graal-photo-viewer footer{flex-wrap:wrap}.graal-photo-viewer footer span{min-width:45px;text-align:center}@media(max-width:600px){.graal-photo-viewer{padding:12px;width:96vw}.graal-photo-viewer header strong{font-size:15px}.graal-photo-stage img{max-height:55vh;max-height:55dvh}.graal-photo-viewer footer>a{font-size:13px}.graal-photo-caption{font-size:13px}}