/* Lysbordet (BYG-769, F2.1): panelet i fuld skærm på stribesiden. Mørk baggrund, panelet så stort som skærmen
   tillader (contain), vandret swipe med scroll-snap, pinch-zoom tilladt. Dialogen bygges af lysbord.js. */
.lysbord{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:100vw;max-height:100vh;max-height:100dvh;margin:0;padding:0;border:0;background:#0b0d0c;color:#e6e4dc;overflow:hidden}
.lysbord::backdrop{background:#000}
.lysbord-top{position:fixed;top:0;left:0;right:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-family:var(--mono);font-size:13px;letter-spacing:.04em;pointer-events:none}
.lysbord-top>*{pointer-events:auto}
.lysbord button{font:inherit;color:#fff;background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.35);border-radius:999px;cursor:pointer;padding:0;line-height:1}
.lysbord button:hover{background:rgba(255,255,255,.18)}
.lysbord :focus-visible{outline:2px solid #fff;outline-offset:2px}
.lysbord-luk{width:44px;height:44px;font-size:24px}
.lysbord-rulle{display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain}
.lysbord-rulle::-webkit-scrollbar{display:none}
.lysbord-rulle:focus-visible{outline-offset:-3px}
.lysbord-panel{flex:0 0 100%;width:100%;height:100%;margin:0;box-sizing:border-box;padding:60px 8px 52px;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center}
.lysbord-panel img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;touch-action:pan-x pinch-zoom;user-select:none;-webkit-user-drag:none}
.lysbord-forrige,.lysbord-naeste{position:fixed;top:50%;transform:translateY(-50%);z-index:2;width:44px;height:44px;font-size:26px}
.lysbord-forrige{left:8px}.lysbord-naeste{right:8px}
.lysbord-forrige[disabled],.lysbord-naeste[disabled]{opacity:.3;cursor:default}
.lysbord-prikker{position:fixed;left:0;right:0;bottom:10px;z-index:2;display:flex;justify-content:center;gap:10px;margin:0;padding:0;list-style:none}
.lysbord-prikker button{width:14px;height:14px;border-color:rgba(255,255,255,.55)}
.lysbord-prikker button[aria-current="true"]{background:#fff}
@media (min-width:700px){.lysbord-panel{padding:64px 60px 56px}}
@media (prefers-reduced-motion:reduce){.lysbord-rulle{scroll-behavior:auto}}
