.planner-gallery-open{overflow:hidden}
dialog.planner-gallery-viewer{box-sizing:border-box;width:min(1100px,96vw);height:min(960px,94dvh);max-width:96vw;max-height:94dvh;padding:0;border:1px solid #647781;border-radius:4px;background:#202d35;color:#fff;overflow:hidden}
.planner-gallery-viewer::backdrop{background:rgba(12,22,28,.86)}
.planner-gallery-viewer[open]{display:flex;flex-direction:column}
.planner-gallery-bar{display:flex;align-items:center;gap:16px;padding:12px 16px;border-bottom:1px solid #576772;flex-shrink:0}
.planner-gallery-bar h2{margin:0;min-width:0;font:22px/1.3 Oswald,Arial,sans-serif;color:#fff;letter-spacing:0;overflow-wrap:anywhere;text-transform:none}
.planner-gallery-count{margin-left:auto;white-space:nowrap;font:14px Ubuntu,Arial,sans-serif}
.planner-gallery-viewer button{box-sizing:border-box;display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid #71838e;border-radius:3px;background:#334752;cursor:pointer}
.planner-gallery-viewer button:hover{background:#496674}.planner-gallery-viewer button:focus-visible{outline:3px solid #76d0ea;outline-offset:2px}
.planner-gallery-viewer button img{display:block;width:22px;height:22px;filter:brightness(0) invert(1)}
.planner-gallery-stage{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;padding:14px 62px}
.planner-gallery-image{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.planner-gallery-stage button{position:absolute;top:calc(50% - 22px)}.planner-gallery-chevron-left{left:10px}.planner-gallery-chevron-right{right:10px}
@media(max-width:620px){.planner-gallery-bar{gap:8px;padding:10px}.planner-gallery-bar h2{font-size:18px}.planner-gallery-count{font-size:12px}.planner-gallery-stage{padding:8px 4px}.planner-gallery-stage button{background:rgba(32,45,53,.85)}.planner-gallery-chevron-left{left:5px}.planner-gallery-chevron-right{right:5px}}
