#photo-viewer{width:min(1100px,96vw);max-width:96vw;max-height:96dvh;padding:16px;border:1px solid #dce5ea;border-radius:12px;background:#102d3e;color:white;overflow:auto}#photo-viewer::backdrop{background:rgba(0,0,0,.8)}#photo-viewer .gallery-toolbar,#photo-viewer .gallery-controls{display:flex;justify-content:space-between;align-items:center;gap:12px}#photo-viewer .gallery-image{display:flex;align-items:center;justify-content:center;min-height:160px;margin:12px 0}#photo-viewer img{display:block;max-width:100%;max-height:calc(96dvh - 165px);width:auto;height:auto;object-fit:contain}#photo-viewer [hidden]{display:none!important}#photo-viewer .gallery-controls .button{min-width:0}@media(max-width:480px){#photo-viewer{padding:10px}#photo-viewer .button{padding:10px;font-size:14px}}@media print{#photo-viewer{display:none!important}}

#photo-viewer .gallery-toolbar{flex-wrap:wrap}
