/* The atlas is a viewport, not a card. Chrome floats above its continuous scene. */
body[data-renderer="three"][data-view="atlas"] {
  --atlas-header-height: 80px;
  --atlas-nav-height: 0px;
  --atlas-edge: 24px;
  overflow: hidden;
  height: 100dvh;
}
body[data-renderer="three"][data-view="atlas"] .site-header {
  max-width: none;
  width: 100%;
  padding-inline: var(--atlas-edge);
  z-index: 40;
}
body[data-renderer="three"][data-view="atlas"] main {
  max-width: none;
  margin: 0;
  padding: 0;
}
body[data-renderer="three"][data-view="atlas"] #atlas-root {
  position: relative;
  height: calc(100dvh - var(--atlas-header-height) - var(--atlas-nav-height));
  overflow: visible;
}
body[data-renderer="three"][data-view="atlas"] #atlas-root .atlas-layout {
  display: block;
  position: static;
}
body[data-renderer="three"][data-view="atlas"] #atlas-root .globe-column {
  position: static;
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}
body[data-renderer="three"][data-view="atlas"] #atlas-root .globe-stage {
  position: fixed;
  inset: var(--atlas-header-height) 0 var(--atlas-nav-height);
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  isolation: isolate;
  z-index: 0;
}
body[data-renderer="three"][data-view="atlas"] #globe-three {
  width: 100%;
  height: 100%;
  inset: 0;
  overflow: visible;
}
body[data-renderer="three"][data-view="atlas"]
  #globe-three
  canvas:focus-visible {
  outline: 2px solid #8975b2;
  outline-offset: -3px;
}
body[data-renderer="three"][data-view="atlas"] #atlas-root .atlas-heading {
  position: fixed;
  inset: calc(var(--atlas-header-height) + 24px) var(--atlas-edge) auto;
  padding: 0;
  margin: 0;
  align-items: flex-start;
  pointer-events: none;
  z-index: 10;
}
body[data-renderer="three"][data-view="atlas"] #atlas-root h1 {
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: -1.1px;
  line-height: 1.12;
  margin-bottom: 8px;
}
body[data-renderer="three"][data-view="atlas"] #atlas-root .eyebrow {
  margin-bottom: 7px;
  font-size: 9px;
}
body[data-renderer="three"][data-view="atlas"] #atlas-root .atlas-intro {
  max-width: 296px;
  font-size: 12px;
  line-height: 1.5;
}
body[data-renderer="three"][data-view="atlas"] #atlas-root .atlas-controls {
  pointer-events: auto;
  width: auto;
  max-width: min(660px, calc(100vw - 370px));
  margin: 0;
  gap: 6px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
body[data-renderer="three"][data-view="atlas"]
  #atlas-root
  .atlas-controls
  .chip {
  border: 1px solid #dce0e6;
  min-height: 44px;
  box-shadow: 0 3px 12px #13151a08;
  white-space: nowrap;
}
body[data-renderer="three"][data-view="atlas"] #atlas-root .dock {
  position: fixed;
  top: calc(var(--atlas-header-height) + 154px);
  bottom: 24px;
  left: var(--atlas-edge);
  right: auto;
  width: 284px;
  height: auto;
  max-height: 650px;
  border-radius: 12px;
  box-shadow: 0 8px 28px #13151a0c;
  z-index: 15;
}
body[data-renderer="three"][data-view="atlas"] #atlas-root .dock.collapsed {
  bottom: auto;
  height: 72px;
}
body[data-renderer="three"][data-view="atlas"] #atlas-root .dock .cards {
  overscroll-behavior: contain;
}
body[data-renderer="three"][data-view="atlas"] #atlas-root .globe-caption {
  position: fixed;
  left: 332px;
  right: var(--atlas-edge);
  bottom: 86px;
  margin: 0;
  pointer-events: none;
  z-index: 8;
  font-size: 9px;
}
body[data-renderer="three"][data-view="atlas"] #atlas-root .ticker {
  position: fixed;
  left: 332px;
  right: var(--atlas-edge);
  bottom: 34px;
  width: auto;
  height: 38px;
  border: 1px solid #dce0e6;
  z-index: 8;
}
body[data-renderer="three"][data-view="atlas"] .globe-attribution {
  position: fixed;
  bottom: 10px;
  right: var(--atlas-edge);
  left: 332px;
  margin: 0;
  text-align: right;
  font-size: 8px;
  z-index: 8;
}
body[data-renderer="three"][data-view="atlas"] #atlas-root .hint {
  display: none;
}
body[data-renderer="three"][data-view="atlas"] #globe-tooltip {
  left: auto;
  right: 24px;
  bottom: 110px;
  max-width: min(280px, calc(100vw - 32px));
}
.header-end {
  gap: 8px;
}
.header-end .design-label {
  margin-right: 8px;
}
#theme-toggle svg {
  width: 20px;
  height: 20px;
}
#theme-toggle .theme-sun {
  display: none;
}
body[data-theme="dark"] #theme-toggle .theme-sun {
  display: block;
}
body[data-theme="dark"] #theme-toggle .theme-moon {
  display: none;
}
.model-size-control {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  width: 145px;
  min-height: 44px;
  padding: 7px 10px;
  gap: 3px 6px;
  border: 1px solid #dce0e6;
  border-radius: 9px;
  background: #ffffff;
  color: #13151a;
  pointer-events: auto;
  box-shadow: 0 3px 12px #13151a08;
}
.model-size-control label {
  font:
    500 10px/1.2 "DM Sans",
    sans-serif;
}
.model-size-control output {
  font:
    10px/1.2 "IBM Plex Mono",
    monospace;
}
.model-size-control input {
  grid-column: 1 / -1;
  accent-color: #8975b2;
  width: 100%;
  height: 15px;
  margin: 0;
  cursor: pointer;
}
.model-size-control input:focus-visible {
  outline-offset: 3px;
}
body[data-theme="dark"] .model-size-control {
  background: #1b1e29;
  color: #f3f4f8;
  border-color: #3b4254;
}
body[data-theme="dark"] .model-size-control input {
  accent-color: #c6b6f3;
}
.atlas-vehicle-legend {
  position: absolute;
  top: 78px;
  right: 24px;
  z-index: 6;
  display: flex;
  gap: 16px;
  padding: 8px 12px;
  border: 1px solid var(--line, #dce0e6);
  border-radius: 9px;
  background: var(--surface, #fff);
  color: var(--text, #13151a);
  font: 500 11px/1.2 "DM Sans", sans-serif;
  box-shadow: 0 3px 12px #13151a08;
}
.atlas-vehicle-legend[hidden] { display: none; }
.atlas-vehicle-legend span { display: flex; align-items: center; gap: 5px; }
.atlas-vehicle-legend svg {
  width: 18px;
  height: 18px;
  fill: var(--vehicle-color);
  stroke: #13151a;
  stroke-width: 1;
}
body[data-theme="dark"] .atlas-vehicle-legend {
  background: #1b1e29;
  color: #f3f4f8;
  border-color: #3b4254;
}
@media (max-width: 760px) {
  .atlas-vehicle-legend {
    position: fixed;
    top: auto;
    bottom: calc(var(--atlas-nav-height) + 113px);
    left: calc(var(--atlas-edge) + 176px);
    right: var(--atlas-edge);
    min-height: 48px;
    padding: 5px 10px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }
}
@media (max-height: 660px) and (max-width: 760px) {
  .atlas-vehicle-legend {
    left: var(--atlas-edge);
    right: auto;
    width: calc(100vw - 181px);
    bottom: calc(var(--atlas-nav-height) + 112px);
  }
}
@media (max-width: 1100px) and (min-width: 761px) {
  body[data-renderer="three"][data-view="atlas"]
    #atlas-root
    .atlas-controls
    .chip {
    padding-inline: 10px;
  }
  body[data-renderer="three"][data-view="atlas"] #atlas-root .atlas-intro {
    max-width: 250px;
  }
}
@media (max-width: 760px) {
  body[data-renderer="three"][data-view="atlas"] {
    --atlas-header-height: 68px;
    --atlas-nav-height: calc(74px + env(safe-area-inset-bottom));
    --atlas-edge: 16px;
  }
  /* Keep the same mobile destinations at every narrow width, including tablets. */
  body[data-renderer="three"][data-view="atlas"] .site-header {
    height: 68px;
  }
  body[data-renderer="three"][data-view="atlas"] .main-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 50;
    display: flex;
    justify-content: space-around;
    gap: 9px;
    padding: 8px 15px max(10px, env(safe-area-inset-bottom));
    background: #ffffff;
    border-top: 1px solid #dce0e6;
  }
  body[data-renderer="three"][data-view="atlas"] .main-nav button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 54px;
    min-width: 80px;
    font-size: 10px;
    padding: 8px 10px;
    gap: 5px;
  }
  body[data-renderer="three"][data-view="atlas"] .main-nav button svg {
    width: 21px;
    height: 21px;
  }
  .header-end {
    gap: 6px;
  }
  .header-end > .icon-button {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  body[data-renderer="three"][data-view="atlas"] .brand img.brand-lockup {
    width: 164px;
  }
  body[data-renderer="three"][data-view="atlas"] #atlas-root .atlas-heading {
    top: calc(var(--atlas-header-height) + 16px);
    display: block;
  }
  body[data-renderer="three"][data-view="atlas"] #atlas-root h1 {
    font-size: 26px;
  }
  body[data-renderer="three"][data-view="atlas"] #atlas-root .eyebrow {
    font-size: 8px;
    margin-bottom: 5px;
  }
  body[data-renderer="three"][data-view="atlas"] #atlas-root .atlas-intro {
    display: none;
  }
  body[data-renderer="three"][data-view="atlas"] #atlas-root .atlas-controls {
    position: fixed;
    inset: calc(var(--atlas-header-height) + 76px) var(--atlas-edge) auto;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: auto;
    max-width: none;
    gap: 5px;
    margin: 0;
  }
  body[data-renderer="three"][data-view="atlas"]
    #atlas-root
    .atlas-controls
    .chip {
    min-height: 48px;
    height: 48px;
    padding: 5px 2px;
    flex-direction: column;
    gap: 4px;
    border-radius: 8px;
    font-size: 9px;
  }
  body[data-renderer="three"][data-view="atlas"]
    #atlas-root
    .model-size-control {
    position: fixed;
    left: var(--atlas-edge);
    bottom: calc(var(--atlas-nav-height) + 113px);
    width: 164px;
    min-height: 48px;
    padding: 8px 11px;
  }
  body[data-renderer="three"][data-view="atlas"] #atlas-root .dock {
    top: auto;
    bottom: calc(var(--atlas-nav-height) + 12px);
    left: 12px;
    right: 12px;
    width: auto;
    height: min(52dvh, 470px);
    max-height: calc(
      100dvh - var(--atlas-header-height) - var(--atlas-nav-height) - 154px
    );
    z-index: 55;
    border-radius: 12px;
    box-shadow: 0 -8px 32px #13151a12;
  }
  body[data-renderer="three"][data-view="atlas"] #atlas-root .dock.collapsed {
    height: 66px;
  }
  body[data-renderer="three"][data-view="atlas"] #atlas-root .dock-head {
    padding: 12px 14px;
    min-height: 66px;
  }
  body[data-renderer="three"][data-view="atlas"] #atlas-root .drawer {
    top: auto;
    left: 12px;
    right: 12px;
    bottom: calc(var(--atlas-nav-height) + 12px);
    width: auto;
    height: min(68dvh, 600px);
  }
  body[data-renderer="three"][data-view="atlas"] #atlas-root .ticker {
    display: none;
  }
  body[data-renderer="three"][data-view="atlas"] #atlas-root .globe-caption {
    top: calc(var(--atlas-header-height) + 138px);
    bottom: auto;
    left: var(--atlas-edge);
    right: var(--atlas-edge);
    font-size: 8px;
  }
  body[data-renderer="three"][data-view="atlas"]
    #atlas-root
    .globe-caption
    span:first-child {
    display: none;
  }
  body[data-renderer="three"][data-view="atlas"] .globe-attribution {
    bottom: calc(var(--atlas-nav-height) + 84px);
    left: var(--atlas-edge);
    right: var(--atlas-edge);
    font-size: 7px;
    text-align: left;
  }
  body[data-renderer="three"][data-view="atlas"] #globe-tooltip {
    right: 12px;
    bottom: 186px;
    max-width: 240px;
  }
}
@media (max-width: 360px) {
  body[data-renderer="three"][data-view="atlas"] .brand img.brand-lockup {
    width: 151px;
  }
  body[data-renderer="three"][data-view="atlas"] .site-header {
    gap: 8px;
    padding-inline: 12px;
  }
  body[data-renderer="three"][data-view="atlas"]
    #atlas-root
    .atlas-controls
    .chip
    span {
    font-size: 8px;
  }
}
@media (max-height: 660px) and (max-width: 760px) {
  body[data-renderer="three"][data-view="atlas"]
    #atlas-root
    .model-size-control {
    left: auto;
    right: var(--atlas-edge);
    bottom: calc(var(--atlas-nav-height) + 112px);
    width: 145px;
  }
  body[data-renderer="three"][data-view="atlas"] #atlas-root .globe-caption {
    display: none;
  }
}
.globe-zoom {
  position: absolute;
  right: 24px;
  bottom: 124px;
  z-index: 6;
  display: grid;
  border: 1px solid var(--line, #dce0e6);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px #13151a12;
  background: var(--surface, #fff);
}
.globe-zoom button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--pine, #13151a);
  border: 0;
  background: transparent;
  cursor: pointer;
}
.globe-zoom button + button {
  border-top: 1px solid var(--line, #dce0e6);
}
.globe-zoom svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
}
#globe-tooltip .tip h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin: 0 0 9px;
}
#globe-tooltip .tip > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 11px;
  line-height: 1.55;
}
#globe-tooltip .tip b {
  font-weight: 500;
  text-align: right;
}
#globe-tooltip .tip span {
  opacity: 0.7;
}
@media (max-width: 760px) {
  .globe-zoom {
    right: 16px;
    bottom: 196px;
  }
  body[data-renderer="three"][data-view="atlas"] #globe-tooltip {
    left: 12px;
    right: auto;
    bottom: 244px;
  }
  .header-end .design-label {
    display: none;
  }
}
@media (max-width: 760px) {
  body[data-renderer="three"][data-view="atlas"] #atlas-root .dock.collapsed {
    top: auto;
    bottom: calc(var(--atlas-nav-height) + 12px);
  }
  body[data-renderer="three"][data-view="atlas"]
    #atlas-root
    .globe-caption
    span:last-child {
    max-width: none;
    text-align: left;
  }
}
body[data-atlas-zoom="neighbourhood"] #atlas-root .atlas-heading h1 {
  font-size: 22px;
}
body[data-atlas-zoom="neighbourhood"] #atlas-root .atlas-heading .atlas-intro,
body[data-atlas-zoom="neighbourhood"] #atlas-root .atlas-heading .eyebrow {
  display: none;
}
