.fc-gallery,.fc-gallery-empty{min-width:0;max-width:100%}
.fc-gallery-stage,.fc-gallery-empty{aspect-ratio:1;background:#f2f4f5;position:relative;overflow:hidden;border:1px solid #e1e6e9}
.fc-gallery-stage{touch-action:pan-y;cursor:zoom-in}
.fc-gallery-slide{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:18px}
.fc-gallery-slide[hidden]{display:none}
.fc-gallery-slide img{display:block;width:100%;height:100%;object-fit:contain;min-width:0;min-height:0}
.fc-gallery-empty{display:grid;place-items:center;text-align:center;padding:28px;color:#536470}
.fc-gallery-enlarge{position:absolute;bottom:12px;right:12px;background:#fff;border:1px solid #c6d0d6;padding:8px 12px;color:#172b3a;cursor:zoom-in}
.fc-gallery-thumbnails{display:flex;gap:10px;overflow-x:auto;padding:12px 3px 6px;max-width:100%;scrollbar-width:thin}
.fc-gallery-thumbnails a{flex:0 0 72px;border:2px solid transparent;background:#f2f4f5;display:block;padding:3px}
.fc-gallery-thumbnails a[aria-current=true]{border-color:#a8402e}
.fc-gallery-thumbnails img{display:block;width:62px;height:62px;object-fit:contain}
.fc-gallery-count{font-size:12px;color:#536470;margin:5px 0 0}
.fc-lightbox{width:min(1100px,96vw);max-width:96vw;max-height:94dvh;padding:16px;border:0;background:#fff;color:#172b3a;box-sizing:border-box}
.fc-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px}
.fc-lightbox::backdrop{background:rgba(12,23,31,.85)}
.fc-lightbox-close{justify-self:end}
.fc-lightbox-stage{height:min(70dvh,780px);min-height:0;touch-action:pan-y;display:grid;place-items:center}
.fc-lightbox-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.fc-lightbox-controls{display:flex;align-items:center;justify-content:space-between;gap:10px}
.fc-lightbox button{padding:10px 14px;border:1px solid #c6d0d6;background:#fff;color:#172b3a;cursor:pointer}
.fc-lightbox button:focus-visible,.fc-gallery a:focus-visible,.fc-gallery button:focus-visible,.fc-gallery-stage:focus-visible{outline:3px solid #a8402e;outline-offset:2px}
@media(max-width:520px){.fc-gallery-thumbnails a{flex-basis:62px}.fc-gallery-thumbnails img{width:52px;height:52px}.fc-lightbox{padding:10px}.fc-lightbox button{padding:10px 8px;font-size:13px}.fc-lightbox-stage{height:65dvh}}
