#region-map [hidden], #region-map[hidden] { display: none; }
.gw-national-map {
  --atlas-ink: #163945;
  --atlas-border: #c5d9e0;
  --atlas-bg: #f3f8fa;
  --atlas-road: #246475;
  --atlas-rail: #655388;
  --atlas-flight: #a75d38;
  --atlas-cruise: #347890;
  --atlas-trek: #347363;
  margin: 0 0 36px;
  padding: 0;
  border: 1px solid var(--atlas-border);
  background: var(--atlas-bg);
  color: var(--atlas-ink);
  scroll-margin-top: 96px;
}
.gw-national-controls, .gw-national-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  padding: .65rem .85rem;
  border-bottom: 1px solid var(--atlas-border);
}
.gw-national-controls label { display: flex; align-items: center; gap: .55rem; font-size: .82rem; }
.gw-national-map button, .gw-national-map select { font: inherit; color: inherit; }
.gw-national-controls select, .gw-national-map button[data-map-mode], .gw-national-toolbar button {
  min-height: 38px;
  padding: .38rem .62rem;
  background: var(--atlas-bg);
  border: 1px solid var(--atlas-border);
  font-size: .8rem;
}
.gw-national-map button, .gw-national-controls select { cursor: pointer; }
.gw-national-map button:disabled { opacity: .55; cursor: default; }
.gw-national-map button[aria-pressed="true"] { color: #fff; background: #285c6d; border-color: #285c6d; }
.gw-national-map :focus-visible { outline: 2px solid #9c4e37; outline-offset: -2px; }
.gw-national-modes { display: flex; gap: .35rem; margin-inline-start: auto; }
.gw-national-grid { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(15rem, 1fr); }
.gw-national-figure { min-width: 0; border-right: 1px solid var(--atlas-border); }
.gw-national-toolbar { min-height: 52px; justify-content: space-between; color: #42636e; font-size: .79rem; }
.gw-national-toolbar button { min-width: 37px; }
.gw-national-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1000 / 660;
  background: #eef3e8;
  touch-action: pan-y;
}
.gw-national-stage svg { display: block; width: 100%; height: 100%; }
.gw-national-stage.is-zoomed { cursor: grab; }
.gw-national-stage.is-panning { cursor: grabbing; }
.gw-national-stage path { vector-effect: non-scaling-stroke; }
.gw-national-path {
  fill: none;
  stroke: var(--atlas-path);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.gw-national-path.is-casing { stroke: #fff; stroke-width: 4.7; opacity: .88; }
.gw-national-stop { fill: #f4f8f5; stroke: var(--atlas-road); stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.gw-national-stop.is-base { fill: var(--atlas-road); stroke: #fff; stroke-width: 1.3; }
.gw-national-path.rail, .gw-national-legend .rail { stroke-dasharray: 5 3; border-top-style: dashed; --atlas-path: var(--atlas-rail); }
.gw-national-path.flight, .gw-national-legend .flight { stroke-dasharray: 1 4; border-top-style: dotted; --atlas-path: var(--atlas-flight); }
.gw-national-path.road, .gw-national-legend .road { --atlas-path: var(--atlas-road); }
.gw-national-path.cruise, .gw-national-legend .cruise { stroke-dasharray: 9 3 2 3; border-top-style: dashed; --atlas-path: var(--atlas-cruise); }
.gw-national-path.trek, .gw-national-legend .trek { stroke-dasharray: 3 2; border-top-style: dotted; --atlas-path: var(--atlas-trek); }
.gw-national-north {
  position: absolute;
  top: 10px;
  right: 12px;
  color: var(--atlas-ink);
  font-size: .72rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  pointer-events: none;
  text-shadow: 0 0 3px #fff;
}
.gw-national-pins { position: absolute; inset: 0; pointer-events: none; }
.gw-atlas-city {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  pointer-events: auto;
}
.gw-atlas-city::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid #416b76;
  border-radius: 50%;
  background: #f5faf9;
  box-shadow: 0 0 0 1px #fff;
}
.gw-atlas-city.is-stop::before { background: var(--atlas-road); border-color: #fff; box-shadow: 0 0 0 1px var(--atlas-road); }
.gw-atlas-city.is-filter::before { background: var(--atlas-flight); box-shadow: 0 0 0 2px #285c6d, 0 0 0 4px #f4f9fa; }
.gw-atlas-label {
  position: absolute;
  width: max-content;
  color: #254754;
  font-size: 11px;
  font-weight: 610;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 1px 1px #fafcf8, -1px -1px #fafcf8, 1px -1px #fafcf8, -1px 1px #fafcf8, 0 0 4px #fafcf8;
  pointer-events: none;
}
.gw-atlas-label.is-stop { color: #153945; font-weight: 730; }
.gw-atlas-label.is-region {
  color: #456875;
  font-size: 11px;
  letter-spacing: .105em;
  font-weight: 690;
}
.gw-national-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .36rem .9rem;
  margin: 0;
  padding: .45rem .85rem;
  border-top: 1px solid var(--atlas-border);
  color: #375a68;
  font-size: .73rem;
  list-style: none;
}
.gw-national-legend span, .gw-national-legend li { display: inline-flex; align-items: center; gap: .4rem; }
.gw-national-legend i { width: 19px; border-top: 2px solid var(--atlas-path); }
#gw-map-elevations i { width: .66rem; height: .66rem; background: var(--swatch); border: 1px solid #768984; }
.gw-national-caption, .gw-national-attribution { margin: .5rem .85rem 0; color: #42616e; font-size: .75rem; }
.gw-national-attribution { margin: .18rem .85rem .75rem; font-size: .69rem; }
.gw-national-results { min-width: 0; padding: 1rem; }
.gw-national-current { padding-bottom: .9rem; border-bottom: 1px solid var(--atlas-border); }
.gw-national-current h3 { margin: 0 0 .4rem; color: var(--atlas-ink); font: 500 clamp(1.22rem, 2vw, 1.7rem)/1.18 Fraunces, Georgia, serif; }
.gw-national-current a { font-size: .83rem; color: #245b6c; text-underline-offset: .22em; }
.gw-national-results h4 { margin: .85rem 0 .2rem; font-size: .94rem; }
#gw-map-result-count { margin: 0 0 .46rem; color: #42616e; font-size: .78rem; }
#gw-map-results-list { margin: 0; padding: 0; list-style: none; max-height: 270px; overflow: auto; scrollbar-width: thin; }
#gw-map-results-list li + li { border-top: 1px solid #dce8eb; }
.gw-national-results button {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .45rem;
  padding: .55rem .5rem;
  min-height: 44px;
  border: 0;
  background: transparent;
  text-align: start;
  line-height: 1.35;
  font-size: .86rem;
}
.gw-national-results button[aria-pressed="false"]:hover { background: #e5edf1; }
.gw-national-results small { opacity: .88; white-space: nowrap; }
@media (max-width: 850px) {
  .gw-national-grid { grid-template-columns: minmax(0, 1fr); }
  .gw-national-figure { border-right: 0; border-bottom: 1px solid var(--atlas-border); }
  #gw-map-results-list { max-height: 210px; }
}
@media (max-width: 560px) {
  .gw-national-controls { gap: .45rem .6rem; }
  .gw-national-controls label { flex: 1 1 100%; justify-content: space-between; }
  .gw-national-controls select { width: 75%; }
  .gw-national-modes { margin-inline-start: 0; }
  .gw-atlas-label { font-size: 9.5px; }
  .gw-atlas-label.is-region { font-size: 9px; letter-spacing: .08em; }
}
