/* Frameless Werft lightbox: the real page stays visible beneath a blurred veil. */
.ws-lightbox-trigger { display: block; position: relative; cursor: zoom-in; }
.ws-lightbox-trigger::after { content: '↗'; position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #c9d3d2; border-radius: 2px; background: #f4f6f3; color: #102b3b; font: 600 20px/1 Inter,sans-serif; pointer-events: none; }
.ws-lightbox-trigger:focus-visible { outline: 3px solid #216b80; outline-offset: 5px; }
.ws-lightbox-source-hidden { visibility: hidden; }
html.ws-lightbox-open,.ws-lightbox-open body { overflow: hidden; }
html.ws-lightbox-open { scrollbar-gutter: var(--ws-lightbox-gutter, auto); }
dialog.ws-lightbox { position: fixed; inset: 0; padding: 0; margin: 0; width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; border: 0; border-radius: 0; background: transparent; color: #fff; font: 400 16px/1.5 Inter,sans-serif; overflow: hidden; }
dialog.ws-lightbox:not([open]) { display: none; }
.ws-lightbox::backdrop { background: rgb(16 43 59 / 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); transition: background .28s ease, backdrop-filter .28s ease; }
.ws-lightbox.is-visible::backdrop { background: rgb(16 43 59 / .42); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.ws-lightbox :is(button,a) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 4px 10px; border: 0; border-radius: 0; background: transparent; color: #fff; font: 500 1.5rem/1 Inter,sans-serif; text-decoration: none; text-shadow: 0 1px 5px #102b3b; cursor: pointer; touch-action: manipulation; }
.ws-lightbox button:hover { color: #ffb89a; }
.ws-lightbox button:disabled { opacity: .5; cursor: default; }
.ws-lightbox :is(button,a,.ws-lightbox-stage):focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.ws-lightbox [hidden] { display: none !important; }
.ws-lightbox [data-lb-close] { position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); z-index: 3; font-size: 2.25rem; }
.ws-lightbox-stage { position: absolute; inset: 0; overflow: auto; overscroll-behavior: contain; background: transparent; touch-action: pan-y pinch-zoom; }
.ws-lightbox-stage.is-zoomed { touch-action: pan-x pan-y pinch-zoom; }
.ws-lightbox-canvas { display: grid; place-items: center; width: max-content; min-width: 100%; min-height: 100%; }
.ws-lightbox-image { display: block; max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.ws-lightbox-flight { position: fixed; max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; transform-origin: 0 0; pointer-events: none; z-index: 2; }
.is-zoomed .ws-lightbox-image { cursor: zoom-out; }
.ws-lightbox-status { position: absolute; inset: 0; display: grid; place-content: center; max-width: 580px; margin: auto; padding: 30px; color: #fff; text-align: center; text-shadow: 0 1px 5px #102b3b; }
.ws-lightbox-navigation { position: absolute; bottom: max(12px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; justify-content: center; gap: 8px; max-width: calc(100% - 24px); }
.ws-lightbox-navigation p { color: #fff; margin: 0; font-size: .85rem; white-space: nowrap; text-shadow: 0 1px 5px #102b3b; }
.ws-lightbox-navigation,.ws-lightbox [data-lb-close] { transition: opacity .2s ease; }
.ws-lightbox:not(.is-visible) .ws-lightbox-navigation,.ws-lightbox:not(.is-visible) [data-lb-close] { opacity: 0; pointer-events: none; }
.ws-lightbox-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .ws-lightbox::backdrop,.ws-lightbox-navigation,.ws-lightbox [data-lb-close] { transition: none; }
}
