/* Fixed overlays keep browser results stable while explaining or mapping them.
 * Created by LT Sean Egan, PhD 2026-11-25 */
html{scrollbar-gutter:stable}.privacy-map-open{overflow:hidden}.permission-result{min-height:5rem;margin-top:.6rem}.optional-actions{display:flex;gap:.5rem;flex-wrap:wrap}#location-dialog{width:min(920px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--line,#294052);border-radius:6px;background:var(--surface,#0c1825);color:var(--text,#e4eef5);margin:auto;overflow:auto;box-shadow:0 24px 90px #0007}#location-dialog::backdrop{background:#020710bb;backdrop-filter:blur(2px)}.location-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border-bottom:1px solid var(--line,#294052)}.location-dialog-head h2{font-size:1.4rem;margin:0}.location-dialog-head button{min-height:44px;flex-shrink:0}.location-dialog-content{padding:1rem 1.2rem}.location-coordinates{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;margin:0 0 1rem}.location-coordinates dt{color:var(--muted,#a6b9cb);font-size:.85rem}.location-coordinates dd{margin:0;font-family:ui-monospace,monospace;font-size:1rem;overflow-wrap:anywhere}.location-map-frame{height:clamp(240px,44dvh,420px);background:#081f36;border:1px solid var(--line,#294052);overflow:hidden}#location-map{display:block;width:100%;height:100%;background:#0c2940}.map-grid{fill:none;stroke:#3d6379;stroke-width:.6;opacity:.55}.map-land{fill:#315d67;stroke:#8cc3bc;stroke-width:.6}.map-city{fill:#e0efeb}.map-label{fill:#e5f1ed;font:13px system-ui,sans-serif;paint-order:stroke;stroke:#173345;stroke-width:3px;stroke-linejoin:round}.map-axis{fill:#a8c8d8;font:12px system-ui,sans-serif}.map-pin{fill:#ffd16c;stroke:#152d3a;stroke-width:1.5}.map-pin-center{fill:#173144;stroke:none}.map-accuracy{fill:#ffd16c22;stroke:#ffd16c;stroke-width:1.5;stroke-dasharray:4 3}.location-map-controls{display:flex;gap:.5rem;flex-wrap:wrap;margin:.7rem 0}.location-map-controls button{min-height:44px}.location-map-note{font-size:.85rem;color:var(--muted,#a6b9cb);margin:.6rem 0}.info-button{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;min-height:36px;min-width:36px;width:36px;padding:6px;border:0;background:transparent;color:var(--accent,#37d4e4);border-radius:50%;cursor:help}.info-symbol{display:inline-flex;width:19px;height:19px;border:1.5px solid currentColor;border-radius:50%;font:700 13px Georgia,serif;align-items:center;justify-content:center}.privacy-tip{position:fixed;inset:auto;margin:0;width:310px;max-width:calc(100vw - 24px);padding:.9rem 1rem;border:1px solid var(--line,#294052);border-radius:4px;background:var(--surface,#0c1825);color:var(--text,#e4eef5);box-shadow:0 8px 30px #0005;z-index:20;font:14px/1.5 system-ui,sans-serif;text-align:left;overflow-wrap:anywhere}.privacy-tip strong{display:block;margin-bottom:.35rem}.privacy-tip p{margin:0}.privacy-tip::backdrop{background:transparent}@media(max-width:600px){.location-dialog-head,.location-dialog-content{padding:.8rem}.location-coordinates{grid-template-columns:1fr 1fr}.location-coordinates>div:last-child{grid-column:1/-1}.location-dialog-head h2{font-size:1.2rem}.info-button{min-width:44px;min-height:44px;width:44px}.location-map-frame{height:36dvh;min-height:220px}.privacy-tip{font-size:14px}}
.privacy-tip::backdrop{pointer-events:none}

.location-map-frame{position:relative}#location-map[hidden]{display:none}.location-vector-map{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none}.location-vector-map.ready{opacity:1;pointer-events:auto}.location-vector-map .maplibregl-ctrl-attrib{color:#273943;background:#ffffffe6}
