/* Fire stations article (7f PS-3): drive-time bands, station dots and controls. Own file; tokens per colour mode. */
.bxf-map { --bxf-dot: #c2410c; --bxf-halo: #fcfcfb; }
html:root[data-theme="dark"] .bxf-map, html:root:where(:not([data-theme="light"])) .bxf-map { --bxf-dot: #fb923c; --bxf-halo: #1a1a19; }
html:root[data-theme="light"] .bxf-map { --bxf-dot: #c2410c; --bxf-halo: #fcfcfb; }

/* station dots: all the same size; town departments solid, State Police and sheriffs hollow */
.bxf-st { cursor: pointer; outline: none; }
/* one-station areas keep the three single-station blues; the coverage zones are in bx-cover.css */
.bxf-map { --bxf-b5: #1f6aa8; --bxf-b10: #7fb1d8; --bxf-b15: #cfe3f1; --bxf-edge: #1d1d1b; }
html:root[data-theme="dark"] .bxf-map, html:root:where(:not([data-theme="light"])) .bxf-map { --bxf-b5: #4aa3f0; --bxf-b10: #3b78ad; --bxf-b15: #2c4a66; --bxf-edge: #f0efec; }
html:root[data-theme="light"] .bxf-map { --bxf-b5: #1f6aa8; --bxf-b10: #7fb1d8; --bxf-b15: #cfe3f1; --bxf-edge: #1d1d1b; }
.bxf-selected { pointer-events: none; display: none; }
.bxc-map.has-sel .bxc-bands { opacity: .3; }
.bxf-map.has-sel .bxf-selected { display: inline; }
.bxf-selected .s15 { fill: var(--bxf-b15); } .bxf-selected .s10 { fill: var(--bxf-b10); } .bxf-selected .s5 { fill: var(--bxf-b5); }
.bxf-selected path { fill-opacity: .9; stroke: var(--bxf-edge); stroke-width: 1px; vector-effect: non-scaling-stroke; fill-rule: evenodd; }
/* station dots */
.bxf-st { cursor: pointer; outline: none; }
.bxf-st circle { r: calc(4.5px * var(--bx-px, 1)); fill: var(--bxf-dot); stroke: var(--bxf-halo); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.bxf-st:hover circle, .bxf-st:focus circle, .bxf-st.is-on circle { stroke: var(--bp-ink, #1d1d1b); stroke-width: 2.5px; }
.bxf-st:focus-visible circle { stroke: var(--bp-focus, #2a78d6); stroke-width: 3px; }
.bxf-sw-dot { display: inline-block; width: 14px !important; height: 14px !important; border-radius: 50% !important; box-sizing: border-box; background: var(--bxf-dot); border: 1.5px solid var(--bxf-halo); }
/* controls above the map */
.bxf-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 8px; }
.bxf-ctl[hidden], .bxf-bar[hidden] { display: none; }
.bxf-bar { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--bp-rule, #d9d6cf); border-radius: 10px; overflow: hidden; }
.bxf-bar button { min-height: 40px; padding: 0 14px; border: 0; border-right: 1px solid var(--bp-rule, #d9d6cf); background: transparent; color: inherit; font: inherit; font-size: .875rem; font-weight: 500; cursor: pointer; }
.bxf-bar button[aria-pressed="true"] { background: var(--bp-ink, #1d1d1b); color: var(--theme-palette-color-8, #fcfcfb); }
.bxf-bar button:focus-visible, .bxf-sel select:focus-visible { outline: 3px solid var(--bp-focus, #2a78d6); outline-offset: 2px; }
.bxf-sel { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .875rem; }
.bxf-sel label { font-weight: 600; }
.bxf-sel select { min-height: 40px; max-width: min(100%, 22rem); padding: 0 10px; border: 1px solid var(--bp-rule, #d9d6cf); border-radius: 8px; background: transparent; color: inherit; font: inherit; }
.bxf-note { flex-basis: 100%; margin: 0; font-size: .875rem; }
.bxf-msg { font-size: .875rem; }
