/* V146 map-only presentation; shared Dark/Bright/System theme tokens. */
#mapInspector.map-inspector {
    position:absolute; inset:auto auto 32px 10px; z-index:9;
    display:flex; flex-direction:column; gap:4px;
    width:272px; max-width:calc(100% - 20px); max-height:calc(100% - 88px);
    padding:9px 11px 5px; margin:0; overflow:auto; overscroll-behavior:contain;
    border:1px solid var(--border-strong); border-radius:13px;
    color:var(--text); background:var(--surface); box-shadow:var(--shadow);
    font-size:.78rem; line-height:1.4; font-variant-numeric:tabular-nums;
    pointer-events:auto; backdrop-filter:none;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
    #mapInspector.map-inspector {
        background:color-mix(in srgb,var(--surface) 88%,transparent);
        -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
    }
}
#mapInspector.hidden { display:none; }
#mapInspector strong { color:var(--text); font-weight:750; }
#mapInspector .map-inspector-summary { display:flex; flex-wrap:wrap; gap:3px 12px; min-width:0; }
#mapInspector .map-inspector-summary > span:first-child { flex-basis:100%; }
#mapInspector .map-inspector-summary > span { min-width:0; overflow-wrap:anywhere; }
#mapInspector [data-map-inspector-toggle] {
    display:block; width:100%; min-height:44px; padding:8px 0;
    border:0; border-radius:7px; background:transparent; box-shadow:none;
    text-align:left; color:var(--text); font:inherit; font-weight:700; cursor:pointer;
}
#mapInspector [data-map-inspector-toggle]:hover { color:var(--teal); }
#mapInspector [data-map-inspector-toggle]:focus-visible { outline:2px solid var(--focus-ring); outline-offset:-2px; }
#mapInspector .map-inspector-details { display:grid; gap:5px; border-top:1px solid var(--border-strong); padding:8px 0; overflow-wrap:anywhere; }
#mapInspector .map-inspector-details[hidden] { display:none; }
/* The dedicated Analysis Workspace already docks this same node below its map. */
.analysis-workspace #mapInspector.map-inspector { position:static; flex:0 0 auto; order:4; width:100%; max-width:100%; max-height:210px; margin-top:5px; }
@media(max-width:640px) {
    #mapInspector.map-inspector { width:248px; font-size:.75rem; max-height:55%; }
}
@media(max-height:480px) {
    #mapInspector.map-inspector { max-height:calc(100% - 60px); }
}

/* Desktop keeps the established inspector; this HUD is used only by expanded mobile maps. */
#mapInspector .map-inspector-hud { display:none; }
