.vr-dialog{box-sizing:border-box;width:min(900px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:18px;border:1px solid #d6e1d8;border-radius:14px;background:#f8fbf8;color:#203a33;overflow:auto}.vr-dialog::backdrop{background:#122d257d}.vr-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-18px;background:#f8fbf8;z-index:2}.vr-heading h2{font-size:19px;margin:10px 0}.vr-close{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;border:0;background:none;font-size:28px;color:inherit;line-height:1;cursor:pointer}.vr-context,.vr-note,.vr-status{font-size:12px;line-height:1.55;margin:10px 0}.vr-context{font-variant-numeric:tabular-nums}.vr-viewport{height:min(48vh,430px);min-height:150px;background:#c3d6da;border-radius:9px;overflow:hidden}.vr-canvas{display:block;width:100%;height:100%;touch-action:none}.vr-actions{display:flex;gap:10px;flex-wrap:wrap}.vr-actions button{min-height:44px;padding:8px 18px;border-radius:7px;border:1px solid #42695b;background:white;color:#153c32;font:inherit;cursor:pointer}.vr-actions #vr-enter{background:#194d3f;color:white}.vr-actions button:disabled{opacity:.55;cursor:default}.vr-dialog button:focus-visible{outline:3px solid #79b7a0;outline-offset:2px}@media(max-width:640px){.vr-dialog{padding:12px}.vr-heading{top:-12px}.vr-context{font-size:11px}.vr-viewport{height:36vh}.vr-actions button{flex:1}.vr-note{font-size:11px}}
/* Persistent map-tool entry: visible at every zoom, independent of scene panels. */
.maplibregl-ctrl-group.vr-map-control{border:1px solid #d6e1d8;box-shadow:0 2px 8px #173d351a;border-radius:8px;overflow:hidden}.maplibregl-ctrl-group .vr-map-button{width:44px;height:44px;min-width:44px;min-height:44px;font:700 13px/1 Inter,system-ui,sans-serif;color:#194d3f;background:#fff;letter-spacing:.04em}.maplibregl-ctrl-group .vr-map-button:hover{background:#eef5f0}.maplibregl-ctrl-group .vr-map-button:focus-visible{outline:3px solid #67987b;outline-offset:-3px}.vr-chooser{padding:6px 0 16px}.vr-chooser>p{font-size:13px;line-height:1.6;margin:0 0 16px}.vr-locations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 4px}.vr-location{display:block;min-height:48px;padding:13px 14px;border:1px solid #ccdad1;border-radius:8px;background:white;font:inherit;font-size:13px;color:#194d3f;text-align:left;cursor:pointer}.vr-location:hover{background:#edf5ef}.vr-location:disabled{opacity:.5;cursor:default}.vr-chooser>.vr-location-hint{font-size:11px;color:#62766b;margin:7px 0 0}#scene-vr-sidebar{min-height:44px}.vr-dialog [hidden]{display:none!important}@media(max-width:640px){.vr-locations{grid-template-columns:1fr;gap:8px}.vr-map-control{margin-bottom:8px!important}.vr-location{min-height:48px}}

.vr-actions .scene-quality{margin:0}.vr-actions{align-items:center}

/* Share is created only on request; its close row never scrolls away. */
.vr-share-dialog{box-sizing:border-box;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #d6e1d8;border-radius:14px;background:#f8fbf8;color:#203a33;overflow:hidden}
.vr-share-dialog[open]{display:flex;flex-direction:column}.vr-share-dialog::backdrop{background:#122d257d}
.vr-share-heading{display:flex;align-items:center;justify-content:space-between;flex:none;gap:12px;padding:8px 12px;border-bottom:1px solid #d6e1d8}.vr-share-heading h2{margin:0;font-size:18px}
.vr-share-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px 16px;line-height:1.5;font-size:13px}.vr-share-body p{margin:0 0 12px;overflow-wrap:anywhere}.vr-share-description{font-variant-numeric:tabular-nums}
.vr-share-code{display:flex;justify-content:center}.vr-share-code canvas{display:block;width:min(100%,300px);height:auto;aspect-ratio:1;background:#fff;image-rendering:pixelated;margin:0 0 12px}
.vr-share-body label{display:block;font-weight:600}.vr-share-body input{display:block;box-sizing:border-box;min-width:0;width:100%;min-height:44px;margin:6px 0 10px;padding:8px;border:1px solid #42695b;border-radius:7px;font:inherit;background:white;color:#153c32}
.vr-share-body button{min-height:44px;min-width:44px;padding:8px 18px;border:1px solid #42695b;border-radius:7px;background:white;color:#153c32;font:inherit;cursor:pointer}.vr-share-body button:disabled{opacity:.55;cursor:default}.vr-share-body #vr-share-copy-status{margin:10px 0 0}
.vr-share-dialog :focus-visible{outline:3px solid #79b7a0;outline-offset:2px}@media(max-width:640px),(max-height:500px) and (pointer:coarse){.vr-share-dialog{max-height:calc(100dvh - 16px);width:min(440px,calc(100vw - 16px))}.vr-share-code canvas{width:min(100%,260px)}}
.vr-page-link{display:block;box-sizing:border-box;min-height:44px;margin:0 0 14px;padding:12px 16px;border-radius:7px;background:#194d3f;color:white;text-align:center;text-decoration:none;font-weight:600}.vr-page-link[hidden]{display:none}
