.gallery-control{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:2.3rem;height:2.3rem;border:0;border-radius:50%;background:#07175dcc;color:white;font-size:1.4rem;line-height:1;display:grid;place-items:center}.gallery-control.prev{left:.55rem}.gallery-control.next{right:.55rem}.gallery-zoom{position:absolute;z-index:4;bottom:.55rem;right:.55rem;border:0;border-radius:.5rem;background:#07175ddd;color:#fff;padding:.4rem .6rem}.gallery-dialog{width:min(64rem,calc(100vw - 1rem));max-width:none;max-height:95dvh;padding:1rem;background:#fff}.gallery-dialog::backdrop{background:#050b24ed}.gallery-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}.gallery-head h2{margin:.2rem 0;font-size:1rem}.gallery-head button,.gallery-tools button{border:1px solid #cfdbf0;border-radius:.6rem;padding:.55rem .8rem;background:#fff;color:#10265c;font-weight:700}.gallery-image-wrap{height:min(65dvh,650px);overflow:auto;display:flex;align-items:center;justify-content:center;background:#f2f6fc;margin:.75rem 0;border-radius:.7rem}.gallery-image-wrap img{display:block;max-width:100%;max-height:100%;object-fit:contain}.gallery-image-wrap img.zoomed{max-width:none;max-height:none;width:160%;align-self:flex-start}.gallery-tools{display:flex;justify-content:center;align-items:center;gap:.55rem;flex-wrap:wrap}.gallery-status{font-size:.8rem;color:#53688f}.gallery-error{color:#ad243e;font-size:.8rem}img,video{max-width:100%}dialog{max-width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem);overflow:auto}.data-row,.work-card,.info-card,.workspace-panel,.modulehero{min-width:0;overflow-wrap:anywhere}.nav-actions [hidden]{display:none!important}@media(max-width:760px){.topbar{flex-wrap:wrap}.brand{min-width:0}.brand-name small{display:none}.nav-actions{flex-wrap:wrap;justify-content:flex-end}.nav-actions button{min-height:38px}.module,.wrap{min-width:0}.grid,.catalogue,.functional-grid,.module-grid,.plans,.two-column{grid-template-columns:minmax(0,1fr)}.gallery-dialog{padding:.7rem}.gallery-image-wrap{height:55dvh}.gallery-tools button{min-height:44px}.gallery-control,.gallery-zoom{min-width:44px;min-height:44px}.footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}.toTop{bottom:5.7rem}}
