/* Area map (/areas/) - ported from the supplied cmr-relocation-map.html design.
   Everything is scoped under .gm-map so it can't restyle the site header, footer or headings. */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/fonts/barlow-condensed-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-700.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600 800; font-display: swap; src: url(/fonts/bricolage-grotesque.woff2) format("woff2"); }

.gm-map {
  --map-bg: #fff; --map-land: #e9edf3; --map-land-hi: #d6dde8; --map-ink: #1d2c4a; --map-muted: #6b6b6e;
  --map-rule: rgba(69,69,71,.2); --map-brand: #2e5576; --map-focus: #10aee0;
  --map-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --map-label: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  color: var(--map-ink); font-size: 15.5px; line-height: 1.45;
  display: flex; flex-direction: column; gap: 14px; margin: 1rem 0 0;
}
.gm-map button, .gm-map select { font: inherit; color: inherit; }
.gm-map :focus-visible { outline: 2px solid var(--map-focus); outline-offset: 2px; }
.gm-map .gm-head { display: flex; flex-direction: column; gap: 6px; }
.gm-map .gm-eyebrow, .auto-map .gm-eyebrow { font-family: var(--map-label); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--map-brand); margin: 0; }
.auto-map .gm-head { margin-bottom: 14px; }
.gm-map .gm-title, .auto-map .gm-title { font-family: var(--map-display); font-weight: 800; font-size: clamp(24px, 1vw + 19px, 28px); line-height: 1.05; letter-spacing: -.02em; margin: 0; color: var(--map-ink); }
.gm-map .gm-lede, .auto-map .gm-lede { margin: 0; color: var(--map-muted); max-width: 60ch; }

.gm-map .gm-stage { position: relative; height: 76vw; min-height: 300px; max-height: 70vh; border: 1px solid var(--map-rule); border-radius: 10px; overflow: hidden; background: var(--map-bg); }
.gm-map canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.gm-map canvas.dragging { cursor: grabbing; }
.gm-map canvas.pointing { cursor: pointer; }
.gm-map .gm-pins { position: absolute; inset: 0; pointer-events: none; }
.gm-map .gm-pin { position: absolute; transform: translateY(-50%); pointer-events: auto; white-space: nowrap; line-height: 1.2;
  font-family: var(--map-label); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--map-ink); text-decoration: none; text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff; }
.gm-map .gm-pin.t0, .gm-map .gm-pin.t1 { font-weight: 700; }
.gm-map .gm-pin:hover, .gm-map .gm-pin.is-key { color: var(--map-brand); }
.gm-map .gm-pin:focus-visible { outline: 2px solid var(--map-focus); outline-offset: 1px; border-radius: 2px; }
.gm-map .gm-pin.is-off { opacity: 0; pointer-events: none; }   /* hidden labels must not catch taps meant for the town beneath */
.gm-map .gm-pin.is-off:focus { opacity: 1; }
.gm-map .gm-tip { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--map-ink); color: #fff; font-size: 13.5px; pointer-events: none; white-space: nowrap; }

.gm-map .gm-controls { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.gm-map .gm-modes, .gm-map .gm-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.gm-map .gm-mode { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border: 1px solid var(--map-rule); border-radius: 999px; background: #fff; cursor: pointer; }
.gm-map .gm-mode .swatch { width: 24px; height: 9px; border-radius: 2px; background: var(--sw); }
.gm-map .gm-mode[aria-pressed="false"] { opacity: .5; }
.gm-map .gm-mode:hover { border-color: var(--map-brand); }
.gm-map .gm-tool { padding: 6px 12px; border: 1px solid var(--map-rule); border-radius: 8px; background: #fff; cursor: pointer; min-width: 38px; }
.gm-map .gm-tool:hover { border-color: var(--map-muted); }

.gm-map .gm-panel { background: #fff; border: 1px solid var(--map-rule); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gm-map .gm-panel h3 { font-family: var(--map-display); font-weight: 600; font-size: 22px; line-height: 1.1; margin: 0; color: var(--map-ink); }
.gm-map .gm-where { margin: 0; color: var(--map-muted); font-size: 14px; }
.gm-map .gm-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gm-map .gm-panel-head > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.gm-map .gm-label { font-family: var(--map-label); font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--map-muted); margin: 0; }
.gm-map .gm-jump { display: flex; flex-direction: column; gap: 6px; }
.gm-map .gm-jump select { width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--map-rule); background: #fff; }
.gm-map .gm-dests { list-style: none; margin: 0; padding: 0; }
.gm-map .gm-dest { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: none; border: 0; border-top: 1px solid var(--map-rule); padding: 7px 2px; cursor: pointer; text-align: left; }
.gm-map .gm-dest:hover .to { color: var(--map-brand); }
.gm-map .gm-dest .via { color: var(--map-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.gm-map .gm-cta { display: block; text-align: center; padding: 10px 14px; border-radius: 8px; background: var(--map-brand); color: #fff; font-weight: 700; text-decoration: none; }
.gm-map .gm-cta:hover { background: #6a1d1e; color: #fff; }
.gm-map .gm-note { color: var(--map-muted); font-size: 12.5px; }
.gm-map .gm-price { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--map-rule); padding-top: 12px; }
.gm-map .gm-price b { font-family: var(--map-display); font-size: 28px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.gm-map .gm-price span:last-child { color: var(--map-muted); font-size: 13px; }
.gm-map .gm-facts { margin: 0; }
.gm-map .gm-facts > div { border-top: 1px solid var(--map-rule); padding: 10px 0; display: flex; flex-direction: column; gap: 3px; }
.gm-map .gm-facts dt { font-family: var(--map-label); font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--map-brand); }
.gm-map .gm-facts dd { margin: 0; }
.gm-map .gm-facts dd.lead { font-weight: 600; }
.gm-map .gm-facts dd.note { color: var(--map-muted); font-size: 13px; }
.gm-map .gm-footnote { margin: 0; color: var(--map-muted); font-size: 13px; }

.gm-map .gm-stage { min-height: 320px; }
@media (min-width: 1040px) { .gm-map .gm-stage { height: 620px; max-height: none; } }

/* town stats dashboard underneath the map */
.gm-map .gm-panel { padding: 0; border: 0; background: none; gap: 16px; overflow: visible; max-height: none; }
.gm-map .gm-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gm-map .gm-card { background: #fff; border: 1px solid var(--map-rule); border-radius: 14px; padding: 18px; min-width: 0; }
.gm-map .gm-card h4 { margin: 0 0 10px; font-family: var(--map-display); font-weight: 700; font-size: 18px; color: var(--map-ink); }
/* header band */
.gm-map .gm-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: 16px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #2e5576 0%, #335f84 45%, #224058 100%); position: relative; overflow: hidden; }
.gm-map .gm-band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 14px, transparent 14px 28px); pointer-events: none; }
.gm-map .gm-band > * { position: relative; z-index: 1; }
.gm-map .gm-band-eyebrow { margin: 0 0 2px; font-family: var(--map-label); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #e7a3a4; }
.gm-map .gm-band h3 { margin: 0 0 10px; font-family: var(--map-display); font-weight: 800; font-size: clamp(28px, 2vw + 18px, 38px); line-height: 1; color: #fff; letter-spacing: -.02em; }
.gm-map .gm-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gm-map .gm-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: 14px; color: #f3eded; }
.gm-map .gm-chips .gm-ico { width: 15px; height: 15px; color: #e7a3a4; }
.gm-map .gm-cta { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; background: #fff; color: #2e5576; font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .2s, box-shadow .2s; }
.gm-map .gm-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.3); color: #6a1d1e; background: #fff; }
.gm-map .gm-cta .gm-ico { transition: transform .2s; }
.gm-map .gm-cta:hover .gm-ico { transform: translateX(4px); }
/* KPI tiles: 4 equal */
.gm-map .gm-kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) { .gm-map .gm-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gm-map .gm-kpi { position: relative; background: #fff; border: 1px solid var(--map-rule); border-radius: 14px; padding: 16px 18px 14px; display: flex; flex-direction: column; min-height: 150px; overflow: hidden; }
.gm-map .gm-kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #2e5576; }
.gm-map .gm-kpi-top { display: flex; align-items: center; gap: 8px; color: #2e5576; }
.gm-map .gm-kpi-top .gm-ico { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: #e6eef6; }
.gm-map .gm-kpi-label { font-family: var(--map-label); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--map-muted); }
.gm-map .gm-kpi-value { margin: 10px 0 2px; font-family: var(--map-display); font-weight: 800; font-size: 30px; line-height: 1.05; color: var(--map-ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.gm-map .gm-kpi-sub { margin: 0; color: var(--map-muted); font-size: 13px; line-height: 1.35; }
.gm-map .gm-spark { display: block; width: 100%; height: 38px; margin-top: auto; padding-top: 8px; }
.gm-map .gm-spark path { vector-effect: non-scaling-stroke; }
/* main: chart card + about column */
.gm-map .gm-main { display: grid; gap: 16px; }
@media (min-width: 1000px) { .gm-map .gm-main { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: stretch; } }
.gm-map .gm-chart-box { font-size: 14px; }
.gm-map .gm-chart-box .tc-svg { max-height: 360px; }
.gm-map .gm-about { display: flex; flex-direction: column; gap: 4px; }
.gm-map .gm-fact { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--map-rule); }
.gm-map .gm-about h4 + .gm-fact { border-top: 0; padding-top: 2px; }
.gm-map .gm-fact > .gm-ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #e6eef6; color: #2e5576; }
.gm-map .gm-fact p { margin: 0; }
.gm-map .gm-fact-label { font-family: var(--map-label); font-weight: 600; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #2e5576; }
.gm-map .gm-fact-lead { font-weight: 700; color: var(--map-ink); }
.gm-map .gm-fact-text { color: var(--map-ink); font-size: 15px; line-height: 1.45; }
.gm-map .gm-school { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--map-rule); }
.gm-map .gm-school .tc-svg { max-height: 200px; }
.gm-map .gm-school .gm-fact-label { margin: 0 0 6px; }
/* nothing selected: intro + jump + ranked price bars */
.gm-map .gm-intro h3 { font-family: var(--map-display); font-size: 24px; margin: 0 0 4px; }
.gm-map .gm-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
@media (min-width: 860px) { .gm-map .gm-rank { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.gm-map .gm-rank-row { width: 100%; display: grid; grid-template-columns: 110px minmax(0, 1fr) 82px; align-items: center; gap: 10px; background: none; border: 0; padding: 5px 4px; border-radius: 8px; cursor: pointer; text-align: left; }
.gm-map .gm-rank-row:hover { background: #faf6f5; }
.gm-map .gm-rank-row:hover .gm-rank-name { color: #2e5576; }
.gm-map .gm-rank-name { font-weight: 600; font-size: 15px; color: var(--map-ink); }
.gm-map .gm-rank-bar { height: 12px; background: #f1ecea; border-radius: 0 4px 4px 0; overflow: hidden; }
.gm-map .gm-rank-fill { display: block; height: 100%; background: #2e5576; border-radius: 0 4px 4px 0; transition: width .4s; }
.gm-map .gm-rank-val { text-align: right; font-variant-numeric: tabular-nums; font-size: 14.5px; color: var(--map-ink); font-weight: 600; }
@media (min-width: 860px) {
  .gm-map .gm-panel:not(.is-town) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .gm-map .gm-panel:not(.is-town) > .gm-hubs { grid-column: 1 / -1; }
}

/* the crawlable list of every area page, collapsed under the map (Google can't follow canvas links) */
.area-list-wrap { margin-top: 1rem; border-top: 1px solid var(--line, #e4e0dd); padding-top: .8rem; }
.area-list-wrap summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; color: var(--btn, #3f77a5); }
.area-list { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 1rem; }
@media (min-width: 640px) { .area-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .area-list { grid-template-columns: repeat(4, 1fr); } }
.area-list h3 { font-size: 18px; margin-bottom: .4rem; }
.area-list ul { list-style: none; padding: 0; margin: 0; }
.area-list li { margin-bottom: .3rem; }

/* trend charts in the panel (src/js/area-charts.js) */
.gm-map .gm-trend { margin-top: .5rem; }
.gm-map .gm-trend-btn { display: inline-flex; align-items: center; gap: .4rem; background: none; border: 1px solid var(--map-rule); border-radius: 999px; padding: 5px 12px; font-size: 13.5px; font-weight: 700; color: var(--map-brand); cursor: pointer; }
.gm-map .gm-trend-btn::after { content: "▾"; transition: transform .2s; }
.gm-map .gm-trend-btn[aria-expanded="true"]::after { transform: rotate(180deg); }
.gm-map .gm-trend-btn:hover { border-color: var(--map-brand); }
.gm-map .gm-trend-box { margin-top: .6rem; font-size: 13.5px; }
.tc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
.tc-tabs, .tc-ranges { display: flex; gap: 4px; flex-wrap: wrap; }
.tc-btn { border: 1px solid var(--map-rule); background: #fff; border-radius: 999px; padding: 3px 9px; font-size: 12.5px; font-weight: 600; color: var(--map-ink); cursor: pointer; }
.tc-btn[aria-pressed="true"] { background: var(--map-ink); border-color: var(--map-ink); color: #fff; }
.tc-legend { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--map-ink); }
.tc-legend li { display: inline-flex; align-items: center; gap: 6px; }
.tc-sw { display: inline-block; width: 14px; height: 3px; border-radius: 2px; flex: none; }
.tc-sw.dash { background: repeating-linear-gradient(90deg, #8a8a8d 0 4px, transparent 4px 7px) !important; }
.tc-plot { position: relative; }
.tc-svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.tc-svg:focus-visible { outline: 2px solid var(--map-focus); outline-offset: 2px; }
.tc-tick { font-size: 10.5px; fill: var(--map-muted); font-variant-numeric: tabular-nums; }
.tc-end { font-size: 10.5px; fill: var(--map-ink); font-weight: 600; }
.tc-bar:focus { outline: none; stroke: var(--map-ink); stroke-width: 1.5; }
.tc-tip { position: absolute; top: 0; z-index: 2; background: #fff; border: 1px solid var(--map-rule); border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.12); padding: 6px 9px; pointer-events: none; white-space: nowrap; }
.tc-tip p { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--map-ink); }
.tc-tip .tc-tip-x { color: var(--map-muted); font-size: 12px; margin-bottom: 2px; }
.tc-tip strong { font-variant-numeric: tabular-nums; }
.tc-note { margin: 6px 0 0; color: var(--map-ink); font-weight: 600; font-size: 13px; }
.tc-src { margin: 6px 0 0; color: var(--map-muted); font-size: 11.5px; line-height: 1.4; }
.tc-table { margin-top: 6px; }
.tc-table summary { cursor: pointer; font-weight: 700; font-size: 12.5px; color: var(--map-brand); min-height: 28px; display: flex; align-items: center; }
.tc-table table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tc-table caption { text-align: left; color: var(--map-muted); font-size: 11.5px; padding-bottom: 4px; }
.tc-table th, .tc-table td { padding: 3px 4px; border-bottom: 1px solid var(--map-rule); text-align: right; }
.tc-table th:first-child { text-align: left; }

.gm-map > .gm-head { order: -2; }
.gm-map > .gm-controls { order: -1; }

.gm-map .gm-rank-ref { cursor: default; }
.gm-map .gm-rank-ref:hover { background: none; }
.gm-map .gm-rank-ref .gm-rank-fill { background: #8a8a8d; }
.gm-map .gm-rank-ref .gm-rank-name, .gm-map .gm-rank-ref .gm-rank-val { color: var(--map-muted); font-style: italic; }

.gm-map .gm-cmp { margin-top: auto; padding-top: 8px; display: grid; gap: 5px; }
.gm-map .gm-cmp-row { display: grid; grid-template-columns: 1fr; gap: 2px; }
.gm-map .gm-cmp-l { font-size: 12px; color: var(--map-muted); line-height: 1.1; }
.gm-map .gm-cmp-bar { height: 7px; background: #f1ecea; border-radius: 0 4px 4px 0; overflow: hidden; }
.gm-map .gm-cmp-fill { display: block; height: 100%; background: #2e5576; border-radius: 0 4px 4px 0; }
.gm-map .gm-cmp-row.ref .gm-cmp-fill { background: #8a8a8d; }
.gm-map .gm-chart-box .tc-svg { max-height: 420px; }

/* ===== stats beside the map ===== */
.gm-map .gm-mapgrid { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 1040px) {
  .gm-map .gm-mapgrid { grid-template-columns: minmax(0, 1fr) 380px; }
  .gm-map .gm-mapgrid .gm-stage { height: auto; min-height: 700px; max-height: none; }
  .gm-map .gm-side { overflow: visible; }  /* never scrolls: the map stretches to the column's height */
}
.gm-map .gm-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gm-map .gm-panel:empty { display: none; }
/* compact header band in the side column */
.gm-map .gm-side .gm-band { padding: 18px; border-radius: 14px; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; }
.gm-map .gm-side .gm-band h3 { font-size: 30px; margin-bottom: 8px; }
.gm-map .gm-side .gm-chips li { font-size: 13px; padding: 4px 10px; }
.gm-map .gm-side .gm-cta { justify-content: center; padding: 11px 16px; font-size: 15px; }
/* KPI tiles as slim rows: text left, chart right */
.gm-map .gm-side .gm-kpis { grid-template-columns: 1fr !important; gap: 10px; }
.gm-map .gm-side .gm-kpi { display: grid; grid-template-columns: minmax(0, 1fr) 120px; grid-template-areas: "top top" "val viz" "sub viz"; column-gap: 12px; min-height: 0; padding: 12px 14px 12px 16px; align-items: center; }
.gm-map .gm-side .gm-kpi-top { grid-area: top; }
.gm-map .gm-side .gm-kpi-top .gm-ico { width: 26px; height: 26px; padding: 5px; }
.gm-map .gm-side .gm-kpi-label { font-size: 12px; }
.gm-map .gm-side .gm-kpi-value { grid-area: val; margin: 6px 0 0; font-size: 24px; }
.gm-map .gm-side .gm-kpi-sub { grid-area: sub; font-size: 12.5px; }
.gm-map .gm-side .gm-kpi-viz { grid-area: viz; align-self: end; }
.gm-map .gm-side .gm-spark { height: 40px; padding-top: 0; }
.gm-map .gm-side .gm-cmp { padding-top: 0; }
/* nothing selected: single column in the side */
.gm-map .gm-side .gm-intro, .gm-map .gm-side .gm-jump { background: #fff; border: 1px solid var(--map-rule); border-radius: 14px; padding: 14px 16px; }
.gm-map .gm-side .gm-rank { grid-template-columns: 1fr !important; gap: 2px; }
.gm-map .gm-side .gm-rank-row { grid-template-columns: 96px minmax(0, 1fr) 74px; padding: 4px 2px; }
.gm-map .gm-side .gm-rank-name, .gm-map .gm-side .gm-rank-val { font-size: 13.5px; }
.gm-map .gm-side .gm-hubs { padding: 14px 16px; }

.gm-map .gm-side > * { flex-shrink: 0; }

.gm-map .gm-side .gm-chips { gap: 6px; }
.gm-map .gm-side .gm-chips li { padding: 3px 9px; }
.gm-map .gm-side .gm-band h3 { margin-bottom: 6px; }

/* ===== mobile usability fixes ===== */
/* map town labels: 12px minimum text, and an invisible 24px+ tap area around each */
.gm-map .gm-pin { padding: 6px 3px; margin: -6px -3px; }
@media (max-width: 1024px) {
  .gm-map .gm-tool, .gm-map .gm-mode { min-height: 44px; min-width: 44px; }
  .gm-map .gm-jump select { min-height: 44px; }
  .gm-map .gm-rank-row { min-height: 44px; }
}
.gm-map .gm-jump select { font-size: 16px; }

/* chart controls: readable labels everywhere, finger-sized on touch screens */
.tc-src, .tc-table caption { font-size: 12px; }
@media (max-width: 1024px) {
  .tc-btn { min-height: 44px; min-width: 44px; padding: 6px 14px; font-size: 14px; }
  .tc-table summary { min-height: 44px; display: flex; align-items: center; font-size: 14px; }
}

/* town header band: royal blue to navy, matching the site buttons (2026-10-11) */
.gm-map .gm-band { background: linear-gradient(135deg, #4682b4 0%, #3c6f9a 55%, #2e5576 100%); box-shadow: 0 12px 28px rgba(22,63,143,.28); }
.gm-map .gm-band::after { display: none; }
.gm-map .gm-band-eyebrow { color: #fff; opacity: .92; }
.gm-map .gm-chips li { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; }
.gm-map .gm-chips .gm-ico { color: #fff; }
.gm-map .gm-cta { color: #3f77a5; box-shadow: 0 8px 18px rgba(10,29,66,.25); }
.gm-map .gm-cta:hover { color: #2e5576; }
