.jobs-map {
  --map-ink: #24483f;
  --map-line: #c8d0c4;
  --map-home: #a24929;
  padding: 0;
  overflow: hidden;
  margin-block: .75rem 1.1rem;
  border: 1px solid var(--map-line);
  border-radius: 12px;
  background: #fbfaf4;
  color: var(--map-ink);
}
.jobs-map [hidden] {display:none !important;}
.geo-heading, .geo-homebar, .geo-key, .geo-foot {
  display:flex; align-items:center; flex-wrap:wrap; gap:.45rem 1rem; padding-inline:1rem;
}
.geo-heading {justify-content:space-between; padding-block:.85rem; gap:.65rem;}
.geo-heading h3 {margin:0; font:normal 1.55rem/1.15 var(--serif, Georgia, serif);}
.geo-heading p {margin:.25rem 0 0; font-size:.84rem; color:#4c6056;}
.geo-heading label,.geo-homebar label {display:flex;align-items:center;gap:.45rem;font-size:.86rem;}
.jobs-map select {
  width:auto; max-width:100%; min-height:2.3rem; margin:0; border:1px solid var(--map-line);
  border-radius:6px; padding:.25rem .5rem; background:#fffdf8; color:var(--map-ink); font:inherit;
}
.geo-stage {
  position:relative; width:100%; aspect-ratio:1.7; min-height:245px; max-height:540px; overflow:hidden;
  border-block:1px solid var(--map-line);
  background-color:#e5eeeb;
  background-image:linear-gradient(#91a69d1b 1px,transparent 1px),linear-gradient(90deg,#91a69d1b 1px,transparent 1px);
  background-size:28px 28px;
}
.geo-canvas {display:block;width:100%;height:100%;touch-action:pan-y;user-select:none;}
.geo-canvas.can-pan {touch-action:none;cursor:grab;}
.geo-canvas.can-pan:active {cursor:grabbing;}
.geo-state {fill:#e3e8d7;stroke:#97a593;stroke-width:1;stroke-linejoin:round;vector-effect:non-scaling-stroke;}
.geo-state[data-zone="West"] {fill:#d5dfc9;}
.geo-state[data-zone="Southwest"] {fill:#e6dbbd;}
.geo-state[data-zone="Southeast"] {fill:#e7e6cb;}
.geo-state[data-zone="Northeast"] {fill:#d7e0d4;}
.geo-state.muted {fill:#eef0e4;stroke:#bec7b7;}
.geo-state.selected {fill:#c2d6b8;stroke:#587a62;stroke-width:1.6;}
.geo-state[role="button"], .city-pin {cursor:pointer;}
.geo-state[role="button"]:hover,.geo-state:focus-visible {fill:#c4d3ba;stroke:#557664;}
.geo-label {fill:#4e6357;font:600 10px/1 system-ui,sans-serif;text-anchor:middle;pointer-events:none;paint-order:stroke;stroke:#f3f3e7;stroke-width:2;stroke-opacity:.8;}
.geo-range {fill:#e0873c;fill-opacity:.17;stroke:var(--map-home);stroke-width:2;stroke-dasharray:6 4;vector-effect:non-scaling-stroke;pointer-events:none;}
.map-hit {fill:transparent;}
.map-teardrop,.map-cluster {fill:#245749;stroke:#fffdf4;stroke-width:1.5;}
.map-cluster {fill:#396856;}
.city-pin:focus-visible .map-teardrop,.city-pin:focus-visible .map-cluster,
.city-pin:hover .map-teardrop,.city-pin:hover .map-cluster,
.city-pin[aria-pressed="true"] .map-teardrop,.city-pin[aria-pressed="true"] .map-cluster {fill:#153d32;stroke:#ddaa55;stroke-width:2.5;}
.map-count {font:700 11px system-ui,sans-serif;fill:white;text-anchor:middle;pointer-events:none;}
.map-count.small {font-size:9px;}
.map-home-mark {pointer-events:none;}
.map-home-mark rect,.home-anchor {fill:var(--map-home);stroke:#fffdf6;stroke-width:1.5;}
.map-home-mark text {fill:white;font:600 11px system-ui,sans-serif;}
.home-leader {stroke:var(--map-home);stroke-width:2;}
.geo-zoom {position:absolute;top:.6rem;right:.6rem;display:grid;overflow:hidden;background:#fffdf8;border:1px solid #b6c4b7;border-radius:7px;box-shadow:0 2px 7px #2e47361c;}
.geo-zoom button {border:0;background:transparent;color:var(--map-ink);width:36px;height:35px;font:500 1.3rem/1 system-ui,sans-serif;cursor:pointer;}
.geo-zoom button+button {border-top:1px solid #d7ddd1;}
.geo-zoom button:hover,.geo-homebar button:hover {background:#edf2e8;}
.geo-zoom svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;vertical-align:middle;}
.geo-message {position:absolute;bottom:.7rem;left:.7rem;max-width:calc(100% - 1.4rem);background:#fafbf3ed;color:var(--map-ink);padding:.4rem .65rem;border:1px solid var(--map-line);border-radius:5px;font-size:.9rem;}
.geo-message button,.geo-homebar button {cursor:pointer;}
.geo-homebar {justify-content:space-between;padding-block:.5rem;border-bottom:1px solid #dce1d6;}
.geo-homebar button {border:1px solid var(--map-line);border-radius:5px;background:#fffdf8;color:var(--map-ink);padding:.4rem .7rem;font-family:inherit;font-size:.88rem;line-height:1.4;font-weight:600;}
.geo-homebar button:disabled {opacity:.65;cursor:default;}
.geo-key {padding-top:.6rem;font-size:.81rem;}
.geo-key span {display:inline-flex;gap:.36rem;align-items:center;}
.geo-pin-key {width:.55rem;height:.55rem;border-radius:50% 50% 0 50%;background:#245749;transform:rotate(45deg);margin-inline:.15rem;}
.geo-cluster-key {display:inline-grid;place-items:center;border-radius:50%;width:1rem;height:1rem;background:#396856;color:white;font:700 .67rem/1 system-ui,sans-serif;}
.geo-ring-key {width:1.1rem;height:.8rem;border:1.5px dashed var(--map-home);border-radius:50%;background:#e0873c33;}
.geo-foot {padding-block:.35rem .65rem;font-size:.79rem;color:#536557;align-items:baseline;}
.geo-sources summary {cursor:pointer;text-decoration:underline;text-underline-offset:2px;}
.geo-sources[open] {flex-basis:100%;}
.geo-sources a {color:var(--map-ink);text-decoration:underline;}
.geo-selection {padding:.7rem 1rem;border-bottom:1px solid var(--map-line);}
.geo-selection>div:first-child {display:flex;align-items:center;justify-content:space-between;}
.geo-selection h4 {font:normal 1.2rem/1.25 var(--serif,Georgia,serif);margin:0;}
.geo-selection button {width:34px;height:34px;background:transparent;color:var(--map-ink);border:0;font-size:1.25rem;cursor:pointer;}
.geo-guide-links {display:grid;max-height:14rem;overflow:auto;}
.geo-guide-links a {display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.55rem 0;border-top:1px solid #dce1d6;color:inherit;text-decoration:none;}
.geo-guide-links a:hover strong,.geo-guide-links a:focus-visible strong {text-decoration:underline;}
.geo-guide-links strong,.geo-guide-links small {display:block;}
.geo-guide-links small,.geo-guide-links a>span:last-child {font-size:.82rem;}
.geo-guide-links a>span:last-child {flex-shrink:0;text-decoration:underline;}
#useDeviceLocation {margin-top:.4rem;}
@media(max-width:600px) {
  .geo-heading,.geo-homebar,.geo-key,.geo-foot,.geo-selection {padding-inline:.7rem;}
  .geo-heading label {font-size:.8rem;}
  .geo-heading h3 {font-size:1.3rem;}
  .geo-zoom button {width:36px;height:38px;}
  .geo-stage {aspect-ratio:1.28; min-height:240px;}
}
