/* ==========================================================================
   geo-map.css — Processing Status Map page (MapLibre GL). Scoped under
   .geo-map. The map + all its controls (tool rail, filters/velocities panels,
   layers control, legend, ruler badge, spinner) are custom HTML positioned
   over the map; the native MapLibre zoom/scale/attribution controls sit
   bottom-right and are only restyled here. Tokens (--geo-*) come from
   geo-chrome.css. Real filter <input> elements are kept (the page JS reads
   them by class) and only restyled into the design's toggles/check pills.
   ========================================================================== */

/* full-bleed map stage below the dark crumb band.
   NB: the stage is NOT a flex container and #map fills it absolutely. Every control
   (rail, layers, legend, panels, spinner) is position:absolute over the map. If we
   let the stage be display:flex with #map as flex:1, any control whose absolute
   positioning failed to apply (e.g. an older cached geo-map.css during a reload)
   would fall back to being a stretched flex item — which rendered the legend as a
   full-height column down the right edge. Absolute-filling #map removes that failure
   mode entirely: a mis-styled control can never stretch the layout. */
.geo-map .geo-map-stage {
	position: relative;
	width: 100%;
	height: 85vh;          /* JS (fitStageHeight) overrides this to fill the viewport */
	min-height: 460px;
	background: #eef1f4;
	overflow: hidden;
}
.geo-map #map {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.geo-map .maplibregl-map { font-family: var(--geo-font-body); }
.geo-map .maplibregl-popup-content {
	font-family: var(--geo-font-body);
	border-radius: 10px;
	padding: 13px 15px 14px;
	box-shadow: 0 10px 28px rgba(16, 24, 40, .20);
	border: 1px solid #e4e9f0;
}
.geo-map .maplibregl-popup-close-button { font-size: 18px; color: #98a6b5; padding: 0 7px; line-height: 1; }
.geo-map .maplibregl-popup-close-button:hover { background: transparent; color: var(--geo-accent); }
.geo-map .maplibregl-ctrl-group {
	border-radius: 8px !important;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(16, 24, 40, .18) !important;
	border: 1px solid #e4e9f0;
}
.geo-map .maplibregl-ctrl-group button + button { border-top: 1px solid #edf1f6; }
/* icon-only "reset to initial view" control button */
.geo-map .maplibregl-ctrl-group button.geo-map-resetview {
	display: flex;
	align-items: center;
	justify-content: center;
}
.geo-map .maplibregl-ctrl-group button.geo-map-resetview i { font-size: 15px; color: #333; }
.geo-map .maplibregl-ctrl-scale {
	border-color: #c4d0dc;
	color: #546475;
	font-family: var(--geo-font-mono);
	background: rgba(255, 255, 255, .82);
}
.geo-map .maplibregl-ctrl-attrib { font-size: 11px; border-radius: 6px; }
/* the popup station/velocity tables reuse the design look */
.geo-map .geo-pop-title {
	font-weight: 700; font-size: 13.5px; font-family: var(--geo-font-mono);
	color: #101820; line-height: 1.3;
}
.geo-map .geo-pop-title small { color: #6b7a8c; font-weight: 600; font-family: var(--geo-font-mono); }
.geo-map .geo-pop-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 8px; }
.geo-map .geo-pop-table td { padding: 4px 0; border-bottom: 1px solid #edf1f6; }
.geo-map .geo-pop-table td.k { padding-right: 10px; color: #546475; white-space: nowrap; }
.geo-map .geo-pop-table td.v { font-weight: 600; color: #1f2937; }
.geo-map .geo-pop-table tr:last-child td { border-bottom: none; }
.geo-map .geo-pop-more {
	text-align: center; margin-top: 8px; padding-top: 7px; border-top: 1px solid #edf1f6;
}
.geo-map .geo-pop-more a { font-size: 12.5px; color: #1888bd; font-weight: 600; }

/* ---------- shared floating button ---------- */
.geo-map .geo-map-btn {
	width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
	border-radius: 8px; border: 1px solid #e4e9f0; font-size: 18px; cursor: pointer;
	box-shadow: 0 2px 8px rgba(16, 24, 40, .12);
	transition: background .18s, color .18s; background: #fff; color: #374151;
}
.geo-map .geo-map-btn:hover { background: #eef7fc; color: var(--geo-accent); }
.geo-map .geo-map-btn.is-on { background: var(--geo-accent); color: #fff; }
.geo-map .geo-map-btn.is-on:hover { background: var(--geo-accent-hover); color: #fff; }

/* ---------- left tool rail ---------- */
.geo-map .geo-map-rail {
	position: absolute; top: 12px; left: 12px; z-index: 26;
	display: flex; flex-direction: column; gap: 8px;
	transition: transform .28s ease;
}
.geo-map .geo-map-rail.shift-filters { transform: translateX(322px); }
.geo-map .geo-map-rail.shift-velo { transform: translateX(360px); }
.geo-map .geo-rail-sep { height: 1px; background: #e4e9f0; margin: 2px 4px; }
.geo-map .geo-rail-card {
	background: #fff; border: 1px solid #e4e9f0; border-radius: 8px;
	box-shadow: 0 2px 8px rgba(16, 24, 40, .12); padding: 9px 11px;
	display: flex; flex-direction: column; gap: 8px; margin-top: 2px;
}

/* ---------- tools popover (Fullscreen / Measure / Clusters / Labels) ---------- */
/* drops DOWN from its rail button (aligned to the button's left edge) */
.geo-map .geo-map-tools { position: relative; }
.geo-map .geo-tools-pop {
	position: absolute; top: calc(100% + 8px); left: 0; z-index: 27;
	width: 196px; background: #fff; border: 1px solid #e4e9f0; border-radius: 10px;
	box-shadow: 0 12px 28px rgba(16, 24, 40, .18); padding: 8px;
	display: flex; flex-direction: column; gap: 3px;
}
.geo-map .geo-tools-pop[hidden] { display: none; }
.geo-map .geo-tools-item {
	display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
	padding: 7px 9px; border: none; border-radius: 7px; background: transparent;
	font-family: inherit; font-size: 13.5px; color: #374151; cursor: pointer;
	transition: background .18s, color .18s;
}
.geo-map .geo-tools-item i { color: #98a6b5; font-size: 16px; }
.geo-map .geo-tools-item:hover { background: #eef7fc; color: var(--geo-accent); }
.geo-map .geo-tools-item:hover i { color: var(--geo-accent); }
.geo-map .geo-tools-item.is-on { background: var(--geo-accent); color: #fff; }
.geo-map .geo-tools-item.is-on i { color: #fff; }
.geo-map .geo-tools-sep { height: 1px; background: #edf1f6; margin: 4px 2px; }
/* the Clusters/Labels card sits flush inside the popover (no nested border/shadow) */
.geo-map .geo-tools-pop .geo-rail-card {
	border: none; box-shadow: none; padding: 5px 9px 3px; margin: 0; gap: 10px;
}

/* toggle switch (used in rail + Available/Status filters) */
.geo-map .geo-sw {
	display: flex; align-items: center; gap: 8px; cursor: pointer; margin: 0;
	font-size: 12px; color: #374151; white-space: nowrap; font-weight: 400;
}
.geo-map .geo-sw input { position: absolute; opacity: 0; width: 0; height: 0; }
.geo-map .geo-sw .track {
	width: 30px; height: 17px; border-radius: 9px; position: relative; flex: none;
	transition: background .15s; background: #cbd5e1;
}
.geo-map .geo-sw .track::after {
	content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px;
	border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
	transition: left .15s;
}
.geo-map .geo-sw input:checked + .track { background: var(--geo-accent); }
.geo-map .geo-sw input:checked + .track::after { left: 15px; }
.geo-map .geo-sw input:disabled + .track { opacity: .5; }
/* Clusters/Labels card locked while a velocity overlay is active */
.geo-map .geo-rail-card.is-disabled { opacity: .5; pointer-events: none; }
/* bigger variant for the panel filter rows */
.geo-map .geo-swrow { font-size: 13.5px; gap: 10px; }
.geo-map .geo-swrow .track { width: 34px; height: 19px; border-radius: 10px; }
.geo-map .geo-swrow .track::after { width: 15px; height: 15px; }
.geo-map .geo-swrow input:checked + .track::after { left: 17px; }
.geo-map .geo-cnt { margin-left: auto; font-size: 11.5px; color: #98a6b5; font-family: var(--geo-font-mono); }
/* Status-of-processing toggles carry the map marker colours when ON */
.geo-map .geo-swrow.is-actual input:checked + .track { background: #22a95c; }
.geo-map .geo-swrow.is-warn input:checked + .track { background: #e5a800; }
.geo-map .geo-swrow.is-crit input:checked + .track { background: #e04444; }

/* ---------- layers control (top-right) ---------- */
.geo-map .geo-map-layers {
	position: absolute; top: 12px; right: 12px; z-index: 20;
	display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.geo-map .geo-layers-pop {
	width: 236px; background: #fff; border: 1px solid #e4e9f0; border-radius: 10px;
	box-shadow: 0 12px 28px rgba(16, 24, 40, .18); padding: 13px 15px;
}
.geo-map .geo-layers-pop[hidden] { display: none; }
.geo-map .geo-layers-head {
	font-size: 11px; font-weight: 700; color: #6b7a8c; text-transform: uppercase;
	letter-spacing: .6px; margin-bottom: 9px;
}
.geo-map .geo-layers-sep { height: 1px; background: #edf1f6; margin: 12px 0; }
.geo-map .geo-layers-list { display: flex; flex-direction: column; gap: 8px; }
.geo-map .geo-radio {
	display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #374151;
	cursor: pointer; margin: 0; font-weight: 400;
}
.geo-map .geo-radio input[type="radio"] { accent-color: var(--geo-accent); width: 15px; height: 15px; margin: 0; }
.geo-map .geo-radio i { color: #98a6b5; }

/* ---------- slide-in panels (filters / velocities) ---------- */
.geo-map .geo-map-panel {
	position: absolute; top: 0; bottom: 0; left: 0; z-index: 25; background: #fff;
	border-right: 1px solid #e4e9f0; box-shadow: 6px 0 26px rgba(16, 24, 40, .16);
	display: flex; flex-direction: column; transform: translateX(-105%);
	transition: transform .28s ease;
}
.geo-map .geo-map-panel.is-open { transform: translateX(0); }
.geo-map .geo-panel-filters { width: 322px; max-width: 86%; }
.geo-map .geo-panel-velo { width: 360px; max-width: 90%; z-index: 24; }
.geo-map .geo-panel-head { padding: 13px 16px; border-bottom: 1px solid #edf1f6; flex: none; }
.geo-map .geo-panel-head-row { display: flex; align-items: center; justify-content: space-between; }
.geo-map .geo-panel-title {
	display: flex; align-items: center; gap: 8px;
	font-family: var(--geo-font-head); font-weight: 700; font-size: 15.5px; color: var(--geo-ink);
}
.geo-map .geo-panel-title i { color: var(--geo-accent); }
.geo-map .geo-panel-close {
	width: 26px; height: 26px; border: none; background: transparent; color: #98a6b5;
	cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center;
}
.geo-map .geo-panel-close:hover { color: var(--geo-accent); }
.geo-map .geo-panel-count {
	text-align: center; font-size: 12px; color: #6b7a8c; font-family: var(--geo-font-mono); margin-top: 5px;
}
.geo-map .geo-panel-count b { color: #1888bd; }
/* flex:1 + min-height:0 so the body scrolls INTERNALLY. Without this the body grows to
   its content, overflowing the 85vh stage into the footer — and clicking a checkbox that
   fell below the fold scrolled the whole PAGE down to it. */
.geo-map .geo-panel-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px; display: flex; flex-direction: column; gap: 15px; }
.geo-map .geo-panel-sep { height: 1px; background: #edf1f6; }
.geo-map .geo-fgroup-head {
	font-size: 11px; font-weight: 700; color: #6b7a8c; text-transform: uppercase;
	letter-spacing: .6px; margin-bottom: 8px;
}
.geo-map .geo-fgroup-head .muted { font-weight: 400; text-transform: none; letter-spacing: 0; color: #98a6b5; }
.geo-map .geo-fgroup-list { display: flex; flex-direction: column; gap: 8px; }

/* collapsible accordion header (Networks/Receiver/Antenna) */
.geo-map .geo-acc-head {
	display: flex; align-items: center; justify-content: space-between; cursor: pointer;
}
.geo-map .geo-acc-head .chev { color: #98a6b5; font-size: 11px; transition: transform .2s; }
.geo-map .geo-acc-body { margin-top: 9px; }
.geo-map .geo-acc-body[hidden] { display: none; }
.geo-map .geo-acc-actions { display: flex; gap: 6px; margin-bottom: 9px; }
.geo-map .geo-acc-btn {
	flex: 1; font-size: 11.5px; padding: 5px; border-radius: 6px; border: 1px solid #d4dde6;
	background: #f7f9fb; color: #546475; cursor: pointer; font-family: inherit;
}
.geo-map .geo-acc-btn:hover { border-color: var(--geo-accent); color: var(--geo-accent); }

/* round check pill (Networks / Receiver / Antenna) */
.geo-map .geo-check { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 13.5px; color: #374151; margin: 0; font-weight: 400; }
.geo-map .geo-check.sm { font-size: 13px; }
.geo-map .geo-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.geo-map .geo-check .box {
	width: 18px; height: 18px; border-radius: 50%; flex: none; display: flex;
	align-items: center; justify-content: center; border: 1.5px solid #b7c4d0;
	font-size: 12px; color: transparent; background: #fff;
	transition: background .15s, border-color .15s;
}
.geo-map .geo-check input:checked + .box { background: var(--geo-accent); border-color: var(--geo-accent); color: #fff; }
.geo-map .geo-check .cswatch { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.geo-map .geo-check .manuf { font-size: 11px; color: #b3bfcc; }
/* manufacturer sub-header inside the Receiver/Antenna accordions */
.geo-map .geo-fsub {
	font-size: 11.5px; font-weight: 700; color: #546475; margin: 6px 0 2px;
	padding-bottom: 3px; border-bottom: 1px solid #edf1f6;
}
.geo-map .geo-fsub:first-child { margin-top: 0; }

/* selects / range */
.geo-map .geo-map-select {
	width: 100%; padding: 8px 10px; border: 1px solid #d4dde6; border-radius: 8px;
	font-size: 13.5px; background: #fff; color: var(--geo-ink); font-family: inherit;
}
.geo-map .geo-map-select:focus { outline: 2px solid rgba(40, 171, 227, .35); border-color: var(--geo-accent); }
.geo-map .geo-map-range { width: 100%; accent-color: var(--geo-accent); }
.geo-map .geo-map-range-val { text-align: center; font-size: 12.5px; color: #374151; font-family: var(--geo-font-mono); }

/* velocities panel form bits */
.geo-map .geo-velo-row { display: flex; gap: 8px; }
.geo-map .geo-velo-num {
	width: 108px; padding: 8px 10px; border: 1px solid #d4dde6; border-radius: 8px;
	font-size: 13.5px; font-family: inherit;
}
.geo-map .geo-velo-daterange {
	flex: 1; display: flex; align-items: center; gap: 7px; padding: 8px 10px;
	border: 1px solid #d4dde6; border-radius: 8px; font-size: 12px; color: #546475; cursor: pointer;
}
.geo-map .geo-velo-daterange i { color: var(--geo-accent); }
.geo-map .geo-velo-daterange span { font-size: 12px; color: #374151; }
.geo-map .geo-velo-apply {
	display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
	padding: 10px; border-radius: 8px; border: none; font-family: inherit; font-weight: 700;
	font-size: 13px; background: var(--geo-accent); color: var(--geo-accent-ink); cursor: pointer;
	transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.geo-map .geo-velo-apply:hover { background: var(--geo-accent-hover); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(40, 171, 227, .4); }
.geo-map .geo-velo-note { text-align: center; font-size: 11.5px; color: #98a6b5; }
.geo-map table.geo-velo-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.geo-map .geo-velo-table thead tr { border-bottom: 2px solid #edf1f6; }
.geo-map .geo-velo-table th {
	padding: 7px 5px; text-align: left; cursor: pointer; color: #546475; font-weight: 700; white-space: nowrap;
}
.geo-map .geo-velo-table th:hover { color: var(--geo-accent); }
.geo-map .geo-velo-table th .sort-icon { color: var(--geo-accent); }
.geo-map .geo-velo-table tbody tr { border-bottom: 1px solid #f2f5f8; }
.geo-map .geo-velo-table td { padding: 6px 5px; font-family: var(--geo-font-mono); color: #374151; }
.geo-map .geo-velo-table td.name { font-weight: 700; color: #101820; }
.geo-map .geo-velo-table td.xyz { color: #98a6b5; }
.geo-map .geo-velo-table td a,
.geo-map .geo-velo-table td .idlink { color: #1888bd; cursor: pointer; }
.geo-map .geo-velo-table td .idlink:hover { color: #28ABE3; text-decoration: underline; }
.geo-map .geo-velo-table td.center { text-align: center; }

/* ---------- legend ---------- */
/* legend control: a toggle button in the bottom-left corner + a collapsible legend
   card stacked above it (column-reverse keeps the button pinned to the bottom).
   The card is open by default on desktop and collapsed on mobile — the page JS sets
   the initial state and the button toggles it, mirroring the layers control button. */
.geo-map .geo-map-legendctrl {
	position: absolute; left: 14px; bottom: 14px; z-index: 15;
	display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 8px;
	transition: transform .28s ease;
}
/* ride along with an open Filters (322px) / Velocities (360px) panel */
.geo-map .geo-map-legendctrl.shift-filters { transform: translateX(322px); }
.geo-map .geo-map-legendctrl.shift-velo { transform: translateX(360px); }
.geo-map .geo-map-legend {
	background: rgba(255, 255, 255, .94); backdrop-filter: blur(4px);
	border: 1px solid #e4e9f0; border-radius: 8px; box-shadow: 0 2px 8px rgba(16, 24, 40, .12);
	padding: 10px 14px; font-size: 12.5px; color: #374151; width: 230px; box-sizing: border-box;
}
.geo-map .geo-map-legend[hidden] { display: none; }
.geo-map .geo-legend-title { font-weight: 700; margin-bottom: 6px; font-family: var(--geo-font-head); }
.geo-map .geo-legend-rows { display: flex; flex-direction: column; gap: 5px; }
/* NB: use .lrow, NOT .row — Bootstrap's global .row has margin:0 -15px and would
   push the text past the legend padding. */
.geo-map .geo-legend-rows span.lrow { display: flex; align-items: flex-start; gap: 8px; line-height: 1.35; }
.geo-map .geo-legend-rows span.lrow i { margin-top: 2px; flex: none; }
.geo-map .geo-legend-dot { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #0f172a; flex: none; margin-top: 3px; }
.geo-map .geo-legend-upd { margin-top: 8px; font-size: 11.5px; }
.geo-map .geo-legend-upd b.d { color: #d0342c; }

/* ---------- ruler badge ---------- */
.geo-map .geo-map-ruler {
	position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 30;
	background: #101820; color: #fff; padding: 8px 15px; border-radius: 9px; font-size: 13px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .3); display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.geo-map .geo-map-ruler[hidden] { display: none; }
.geo-map .geo-map-ruler i { color: var(--geo-accent); }
.geo-map .geo-map-ruler b { font-family: var(--geo-font-mono); }
.geo-map .geo-map-ruler .sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .2); }
.geo-map .geo-map-ruler a { color: #8fd3f4; cursor: pointer; font-size: 12.5px; }

/* ---------- loading spinner ---------- */
.geo-map .geo-map-spin {
	position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .4); backdrop-filter: blur(1px);
}
.geo-map .geo-map-spin[hidden] { display: none; }
.geo-map .geo-map-spin span {
	width: 42px; height: 42px; border-radius: 50%;
	border: 4px solid rgba(40, 171, 227, .25); border-top-color: var(--geo-accent);
	animation: geo-map-spin .8s linear infinite;
}
@keyframes geo-map-spin { to { transform: rotate(360deg); } }

/* daterangepicker sits above the map (it is appended to <body>) */
.daterangepicker { z-index: 3001 !important; }

/* ==========================================================================
   Spider Status Map extras (Status of Spider Stations page). Same .geo-map
   shell as the Processing Status Map; these add the live Spider-server badge,
   the satellite-count popup table and the 5 station-status toggle colours.
   ========================================================================== */

/* live Spider server availability badge — top-left, right of the tool rail */
.geo-map .geo-map-spider {
	position: absolute; top: 14px; left: 62px; z-index: 16;
	background: rgba(255, 255, 255, .94); backdrop-filter: blur(4px);
	border: 1px solid #e4e9f0; border-radius: 8px; box-shadow: 0 2px 8px rgba(16, 24, 40, .12);
	padding: 7px 12px; display: flex; align-items: center; gap: 9px; font-size: 12.5px;
	white-space: nowrap; transition: transform .28s ease;
}
/* ride along when the Filters panel (322px) opens, like the rail/legend */
.geo-map .geo-map-spider.shift-filters { transform: translateX(322px); }
/* ride along when the Stations Status panel (360px, geo-panel-velo shell) opens */
.geo-map .geo-map-spider.shift-velo { transform: translateX(360px); }
.geo-map .geo-map-spider .dot {
	width: 11px; height: 11px; border-radius: 50%; flex: none;
	background: #e04444; box-shadow: 0 0 0 3px rgba(224, 68, 68, .18);
}
.geo-map .geo-map-spider.is-online .dot { background: #22a95c; box-shadow: 0 0 0 3px rgba(34, 169, 92, .18); }
.geo-map .geo-map-spider b { font-family: var(--geo-font-head); font-weight: 700; color: #1f2937; }
.geo-map .geo-map-spider .st { color: #98a6b5; font-family: var(--geo-font-mono); font-size: 11.5px; }

/* satellite-count grid inside the station popup (GPS/GLO/GAL/BEI/QZSS) */
.geo-map .geo-pop-sat { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12px; text-align: center; }
.geo-map .geo-pop-sat th { color: #546475; font-weight: 600; padding: 3px 4px; border-bottom: 1px solid #edf1f6; font-family: var(--geo-font-mono); }
.geo-map .geo-pop-sat td { padding: 4px; font-weight: 700; color: #1f2937; }

/* compact station-popup variant (Spider map only) — tighter spacing, SAME data.
   Scoped via :has so the Processing-map popups keep their roomier layout. */
.geo-map .maplibregl-popup-content:has(.geo-pop-compact) { padding: 9px 11px 10px; }
.geo-map .geo-pop-compact .geo-pop-title { font-size: 12.5px; line-height: 1.2; }
.geo-map .geo-pop-compact .geo-pop-sat { margin-top: 5px; font-size: 11px; }
.geo-map .geo-pop-compact .geo-pop-sat th { padding: 2px 3px; }
.geo-map .geo-pop-compact .geo-pop-sat td { padding: 2px 3px; }
.geo-map .geo-pop-compact .geo-pop-table { margin-top: 5px; font-size: 11.5px; }
.geo-map .geo-pop-compact .geo-pop-table td { padding: 2px 0; }
.geo-map .geo-pop-compact .geo-pop-table td.k { padding-right: 8px; }
.geo-map .geo-pop-compact .geo-pop-more { margin-top: 5px; padding-top: 5px; }
.geo-map .geo-pop-compact .geo-pop-more a { font-size: 11.5px; }

/* station-status toggles carry their map marker colour when ON */
.geo-map .geo-swrow.is-sconn   input:checked + .track { background: #22a95c; }
.geo-map .geo-swrow.is-snosat  input:checked + .track { background: #e5a800; }
.geo-map .geo-swrow.is-sdisc   input:checked + .track { background: #e04444; }
.geo-map .geo-swrow.is-sdism   input:checked + .track { background: #101820; }
.geo-map .geo-swrow.is-snoinfo input:checked + .track { background: #76448a; }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
	.geo-map .geo-map-stage { height: 78vh; }
	/* filters/velocities open FULL-SCREEN over the map (like the old design) */
	.geo-map .geo-panel-filters,
	.geo-map .geo-panel-velo { width: 100%; max-width: 100%; z-index: 45; }
	/* the panel covers everything, so don't shift the rail/legend out to the side */
	.geo-map .geo-map-rail.shift-filters,
	.geo-map .geo-map-rail.shift-velo,
	.geo-map .geo-map-legendctrl.shift-filters,
	.geo-map .geo-map-legendctrl.shift-velo,
	.geo-map .geo-map-spider.shift-filters,
	.geo-map .geo-map-spider.shift-velo { transform: translateX(0); }
}
