/* Station selection uses the original map card's typography and spacing. */
:root[data-theme] #app .config-page.ui-system-master #cfgName{font-size:var(--arch-fs-config-control)!important;}
:root[data-theme] #app .config-page.ui-system-master .sensor-choice.map-button{height:auto!important;min-height:38px!important;padding-block:6px!important;}
:root[data-theme] #app .config-page.ui-system-master .sensor-choice.map-button>span:last-child{white-space:normal!important;overflow-wrap:anywhere;min-width:0;}
:root[data-theme] .map-legend-row[data-map-help],
:root[data-theme] [data-selection-help]{cursor:pointer;touch-action:manipulation;}
:root[data-theme] .map-legend-row[data-map-help]:focus-visible,
:root[data-theme] [data-selection-help]:focus-visible{outline:2px solid var(--arch-heading);outline-offset:3px;border-radius:5px;}
:root[data-theme="light"]{--msl-target-ring:#111;}
:root[data-theme="dark"]{--msl-target-ring:#fff;}
/* The 38px ring is centred on the existing icon column; text never moves. */
:root[data-theme] .config-modal .map-legend-target::before{content:"";position:absolute;box-sizing:border-box;width:38px;height:38px;left:50%;top:50%;transform:translate(-50%,-50%);border:2px solid var(--msl-target-ring);border-radius:50%;pointer-events:none;}
:root[data-theme] .msl-selection-help-panel .map-choice-location-icon{border-color:var(--msl-target-ring)!important;color:#e00000!important;}
:root[data-theme] .msl-selection-help-panel{max-height:min(92dvh,1080px,calc(100dvh - 24px))!important;}
:root[data-theme] .msl-selection-help{display:grid;gap:var(--arch-s2);}
:root[data-theme] .msl-selection-help p{margin:0!important;padding:0!important;font-size:var(--arch-fs-body)!important;font-weight:var(--arch-fw-regular)!important;line-height:var(--arch-lh-body)!important;}
:root[data-theme] .msl-selection-help strong{font-weight:var(--arch-fw-strong)!important;color:inherit!important;}
:root[data-theme] .map-choice-check.msl-selection-unavailable{color:var(--arch-text-2)!important;}
/* Inline mode changes positioning only; the same panel and row styles apply. */
:root[data-theme] .msl-selection-summary>.map-choice-panel{max-height:none!important;overflow:visible!important;}
:root[data-theme] .msl-selection-summary .msl-selection-close-space{width:38px;height:38px;flex:0 0 38px;margin:0!important;}
:root[data-theme] .msl-selection-summary .map-choice-body{margin-bottom:0!important;}
:root[data-theme] .msl-selection-summary .map-choice-footer{padding-top:4px;margin:0 0 14px;}
:root[data-theme] .msl-selection-summary .map-choice-stamp{color:var(--muted);font-size:.74em;font-weight:400;line-height:1.2;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;}
