/* Informant map: Paper skin. Add class "paper-off" to <body> to turn it off. */
@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Flex:wght@400..700&display=swap");

body.standalone-atlas:not(.paper-off) {
  --p-font: "Google Sans Flex", "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --p-surface: #ffffff;
  --p-surface-2: #f1f3f4;
  --p-surface-3: #f7f8fa;
  --p-text: #1f1f1f;
  --p-text-2: #444746;
  --p-text-3: #5f6368;
  --p-line: #e3e5e8;
  --p-line-soft: #eef0f2;
  --p-accent: #d81b7a;
  --p-accent-press: #b8166a;
  --p-accent-soft: #fce4ef;
  --p-accent-ink: #8e1050;
  --p-live: #f26b1d;
  --p-navy: #132336;
  --p-shadow-control: 0 1px 3px rgb(0 0 0 / 0.2), 0 2px 8px rgb(0 0 0 / 0.08);
  --p-shadow-sheet: 0 -2px 10px rgb(0 0 0 / 0.12);
  --p-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --p-ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);
  --p-top: max(10px, env(safe-area-inset-top));
  --p-bottom: env(safe-area-inset-bottom);
  --font: var(--p-font);
}

body.standalone-atlas:not(.paper-off) :is(#map-tools, #map-chips, #directory-panel, #navigation, #atlas-settings-panel,
  #minimap-dialog, #info, #theme-picker, #locate, #marker-filter, #legend) {
  --panel: var(--p-surface);
  --text: var(--p-text);
  --text2: var(--p-text-2);
  --text3: var(--p-text-3);
  --line: var(--p-line);
  --accent: var(--p-accent);
  --shadow: var(--p-shadow-control);
  color: var(--p-text);
  font-family: var(--p-font);
}
body.standalone-atlas:not(.paper-off) :is(#map-tools, #navigation, #atlas-settings-panel, #theme-picker, #info) .card,
body.standalone-atlas:not(.paper-off) :is(#directory-panel, #atlas-settings-panel, #info, #theme-picker) {
  backdrop-filter: none;
  border: 0;
}

body.standalone-atlas:not(.paper-off) :is(#map-tools, #map-chips, #navigation, #directory-panel, #atlas-settings-panel) :is(button, a, .p-chip) {
  transition: transform 160ms var(--p-ease-out), background-color 150ms ease, color 150ms ease;
}
body.standalone-atlas:not(.paper-off) :is(#map-tools, #map-chips, #navigation, #atlas-settings-panel) :is(button, a):active,
body.standalone-atlas:not(.paper-off) .p-chip:active {
  transform: scale(0.97);
  transition-duration: 100ms;
}

body.standalone-atlas:not(.paper-off) #map-tools {
  position: fixed;
  inset: var(--p-top) 12px auto 12px;
  width: auto;
  max-width: none;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 6px 0 8px;
  background: var(--p-surface);
  border-radius: 28px;
  box-shadow: var(--p-shadow-control);
  backdrop-filter: none;
  z-index: 1003;
}
body.standalone-atlas:not(.paper-off) #map-tools > .card {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
body.standalone-atlas:not(.paper-off) #home-link {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  flex: none;
}
body.standalone-atlas:not(.paper-off) #home-link img {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  object-fit: cover;
}
body.standalone-atlas:not(.paper-off) #place-search {
  flex: 1;
  min-width: 0;
  width: auto;
  position: static;
}
body.standalone-atlas:not(.paper-off) #place-query {
  height: 48px;
  padding: 0 8px;
  font: 400 16px/22px var(--p-font);
  color: var(--p-text);
  background: transparent;
  border: 0;
  outline: none;
}
body.standalone-atlas:not(.paper-off) #place-query::placeholder {
  color: var(--p-text-3);
}

body.standalone-atlas:not(.paper-off) :is(#minimap-button, #atlas-settings) {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  color: var(--p-text-2);
}
body.standalone-atlas:not(.paper-off) :is(#minimap-button, #atlas-settings):hover {
  background: var(--p-surface-2);
  color: var(--p-text);
}

body.standalone-atlas:not(.paper-off) #map-chips {
  position: fixed;
  z-index: 1001;
  top: calc(var(--p-top) + 66px);
  left: 0;
  right: 0;
  display: flex;
  gap: 8px;
  padding: 2px 12px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
}
body.standalone-atlas:not(.paper-off) #map-chips:not([data-p-start]) {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 24px), transparent);
}
body.standalone-atlas:not(.paper-off) #map-chips[data-p-end]:not([data-p-start]) {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px);
  mask-image: linear-gradient(90deg, transparent, #000 32px);
}
body.standalone-atlas:not(.paper-off) #map-chips[data-p-start][data-p-end] {
  -webkit-mask-image: none;
  mask-image: none;
}
body.standalone-atlas:not(.paper-off) .p-chips-step {
  position: fixed;
  z-index: 1004;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--p-surface);
  color: var(--p-text);
  box-shadow: var(--p-shadow-control);
  cursor: pointer;
  transition: transform 160ms var(--p-ease-out), background-color 150ms ease;
}
body.standalone-atlas:not(.paper-off) .p-chips-step[hidden],
body.paper-off .p-chips-step,
body.standalone-atlas:not(.paper-off).street-coverage .p-chips-step {
  display: none;
}
body.standalone-atlas:not(.paper-off) .p-chips-step:hover {
  background: var(--p-surface-3);
}
body.standalone-atlas:not(.paper-off) .p-chips-step:active {
  transform: scale(0.97);
  transition-duration: 100ms;
}
body.standalone-atlas:not(.paper-off) .p-chips-step:focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: 2px;
}
body.standalone-atlas:not(.paper-off) #map-chips::-webkit-scrollbar {
  display: none;
}
body.standalone-atlas:not(.paper-off) #map-chips[hidden] {
  display: none;
}
body.standalone-atlas:not(.paper-off) .p-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px 0 10px;
  border: 0;
  border-radius: 18px;
  background: var(--p-surface);
  color: var(--p-text);
  box-shadow: var(--p-shadow-control);
  font: 500 14px/18px var(--p-font);
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
body.standalone-atlas:not(.paper-off) .p-chip img {
  width: 20px;
  height: 20px;
  border-radius: 0;
  flex: none;
}
body.standalone-atlas:not(.paper-off) .p-chip[aria-pressed="true"] {
  background: var(--p-accent-soft);
  color: var(--p-accent-ink);
  box-shadow: var(--p-shadow-control), inset 0 0 0 1px #f3b6d3;
}
body.standalone-atlas:not(.paper-off) .p-chip:focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: 2px;
}
@media (hover: hover) and (pointer: fine) {
  body.standalone-atlas:not(.paper-off) .p-chip:not([aria-pressed="true"]):hover {
    background: var(--p-surface-3);
  }
}

body.standalone-atlas:not(.paper-off) .directory-cluster {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  font: 700 11px/1 var(--p-font);
  font-variant-numeric: tabular-nums;
}
body.standalone-atlas:not(.paper-off) .directory-cluster::before {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  border-radius: 4px;
  background: var(--p-navy);
  border: 1.5px solid #fff;
  box-shadow: 2px -2px 0 -0.5px #64738b, 2px -2px 0 1px #fff;
  transition: transform 160ms var(--p-ease-out);
}
body.standalone-atlas:not(.paper-off) .directory-cluster:active::before {
  transform: scale(0.95);
}
body.standalone-atlas:not(.paper-off) .directory-pin {
  transform-origin: 50% 93%;
  transition: transform 300ms var(--p-ease-out), filter 150ms ease;
}
body.standalone-atlas:not(.paper-off) .directory-marker:active .directory-pin:not(.selected) {
  transform: scale(0.95);
  transition-duration: 100ms;
}
body.standalone-atlas:not(.paper-off) .directory-pin.selected {
  transform: scale(1.6);
  filter: drop-shadow(1.4px 0 0 #e8338a) drop-shadow(-1.4px 0 0 #e8338a) drop-shadow(0 1.4px 0 #e8338a)
    drop-shadow(0 -1.4px 0 #e8338a) drop-shadow(0 2px 4px rgb(0 0 0 / 0.28));
}

body.standalone-atlas:not(.paper-off) #navigation {
  gap: 10px;
}
body.standalone-atlas:not(.paper-off) :is(#zoom, #camera) {
  border: 0;
  border-radius: 22px;
  background: var(--p-surface);
  box-shadow: var(--p-shadow-control);
  overflow: hidden;
}
body.standalone-atlas:not(.paper-off) #navigation :is(#zoom, #camera) button {
  width: 44px;
  height: 44px;
  color: var(--p-text-2);
  font-family: var(--p-font);
}
body.standalone-atlas:not(.paper-off) #navigation :is(#zoom, #camera) button + button {
  border-top: 1px solid var(--p-line-soft);
}
body.standalone-atlas:not(.paper-off) #navigation button:enabled:hover {
  background: var(--p-surface-3);
}
body.standalone-atlas:not(.paper-off) #north-compass,
body.standalone-atlas:not(.paper-off) #camera:not(:has(> button:not(#north-compass):not([hidden]))) {
  display: none;
}
body.standalone-atlas:not(.paper-off) #camera button[aria-pressed="true"] {
  color: var(--p-accent-ink);
  background: var(--p-accent-soft);
}
body.standalone-atlas:not(.paper-off) #navigation button:focus-visible {
  outline: 2px solid var(--p-accent);
}
body.standalone-atlas:not(.paper-off) #street-toggle {
  border: 0;
  background: var(--p-surface);
  color: var(--p-text);
  box-shadow: var(--p-shadow-control);
}
body.standalone-atlas:not(.paper-off) #street-toggle[aria-pressed="true"] {
  background: #fff4ec;
  box-shadow: var(--p-shadow-control), 0 0 0 2px var(--p-live);
}
body.standalone-atlas:not(.paper-off) #navigation #street-toggle {
  width: 48px;
  height: 48px;
  border-radius: 24px;
}
body.standalone-atlas:not(.paper-off) #camera-note {
  border: 0;
  border-radius: 16px;
  background: var(--p-surface);
  color: var(--p-text-2);
  box-shadow: var(--p-shadow-control);
}

body.standalone-atlas:not(.paper-off) #theme-picker {
  min-height: 44px;
  border-radius: 22px;
  background: var(--p-surface);
  color: var(--p-text-2);
  box-shadow: var(--p-shadow-control);
  font: 500 14px var(--p-font);
}
body.standalone-atlas:not(.paper-off) #theme-picker select {
  color: var(--p-text);
  color-scheme: light;
  font: 500 14px var(--p-font);
}
body.standalone-atlas:not(.paper-off) #theme-picker:focus-within {
  outline: 2px solid var(--p-accent);
}

body.standalone-atlas:not(.paper-off) #directory-panel {
  background: var(--p-surface);
  color: var(--p-text);
  box-shadow: var(--p-shadow-sheet);
  font: 400 14px/20px var(--p-font);
  -webkit-tap-highlight-color: transparent;
}
body.standalone-atlas:not(.paper-off) #directory-panel :is(button, a, input):focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: -2px;
}
body.standalone-atlas:not(.paper-off) #directory-panel button:hover {
  background: var(--p-surface-3);
}
body.standalone-atlas:not(.paper-off) #directory-panel :is(a, .directory-back, .mapx-more-results, .mapx-recent, .place-article-link) {
  color: var(--p-accent);
}
body.standalone-atlas:not(.paper-off) #directory-panel input[type="checkbox"] {
  accent-color: var(--p-accent);
  width: 18px;
  height: 18px;
}

body.standalone-atlas:not(.paper-off) #directory-panel :is(.mapx-section-title, .mapx-results-head h2) {
  margin: 18px auto 6px 0;
  color: var(--p-text);
  font: 500 16px/22px var(--p-font);
  letter-spacing: 0;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-explorer-actions button,
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-results-clear {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 18px;
  color: var(--p-accent);
  font: 500 14px var(--p-font);
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-recent {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0 6px 6px 0;
  padding: 0 14px;
  border-radius: 18px;
  background: var(--p-surface-2);
  color: var(--p-text);
  font: 500 14px var(--p-font);
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-group-head {
  border-bottom: 1px solid var(--p-line-soft);
}
body.standalone-atlas:not(.paper-off) #directory-panel :is(.mapx-group-head > button, .mapx-entry-link, .mapx-names) {
  min-height: 52px;
  gap: 12px;
  padding: 6px 4px;
  border-radius: 12px;
  font: 400 15px/20px var(--p-font);
  color: var(--p-text);
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-group-head small {
  color: var(--p-text-3);
  font: 400 13px var(--p-font);
  font-variant-numeric: tabular-nums;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-group-body {
  border-left-color: var(--p-line-soft);
}
body.standalone-atlas:not(.paper-off) #directory-panel :is(.mapx-square-art, .mapx-entry-icon, .directory-avatar) {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex: none;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-square-art {
  border-radius: 0;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-square-art[src^="data:image/svg+xml"] {
  box-sizing: border-box;
  padding: 3px;
  border-radius: 8px;
  background: var(--p-surface-2);
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-avatar {
  border-radius: 16px;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-entry-icon {
  display: grid;
  place-items: center;
  background: var(--p-surface-2);
  color: var(--p-text-2);
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-two strong {
  font: 500 15px/20px var(--p-font);
}
body.standalone-atlas:not(.paper-off) #directory-panel :is(.xs, .directory-detail p) {
  color: var(--p-text-2);
  font-size: 13px;
  line-height: 18px;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-list > li + li {
  border-top: 1px solid var(--p-line-soft);
}

body.standalone-atlas:not(.paper-off) #directory-panel .mapx-result-nav {
  gap: 4px;
  padding: 4px 0;
  color: var(--p-text-3);
  font: 400 13px var(--p-font);
  font-variant-numeric: tabular-nums;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-result-nav button {
  min-height: 36px;
  min-width: 36px;
  padding: 0 12px;
  border-radius: 18px;
  background: var(--p-surface-2);
  color: var(--p-text);
  font: 500 14px var(--p-font);
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-result-nav button:first-child {
  margin-right: auto;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-result-nav button[aria-label] {
  padding: 0;
  font-size: 20px;
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-back {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 2px 0 0;
  padding: 0 14px;
  border-radius: 18px;
  background: var(--p-surface-2);
  color: var(--p-text);
  font: 500 14px var(--p-font);
}

body.standalone-atlas:not(.paper-off) .p-chip svg {
  width: 18px;
  height: 18px;
  flex: none;
}
body.standalone-atlas:not(.paper-off) .directory-detail {
  display: flex;
  flex-direction: column;
}
body.standalone-atlas:not(.paper-off) .directory-detail > div:not(.p-actions) {
  display: contents;
}
body.standalone-atlas:not(.paper-off) .directory-detail > div:not(.p-actions) > * {
  order: 3;
}
body.standalone-atlas:not(.paper-off) .directory-detail > div:not(.p-actions) > .place-intro {
  order: 1;
}
body.standalone-atlas:not(.paper-off) .directory-detail > .p-actions {
  order: 2;
}
body.standalone-atlas:not(.paper-off) .p-actions {
  display: flex;
  gap: 8px;
  margin: 12px 0 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
body.standalone-atlas:not(.paper-off) .p-actions::-webkit-scrollbar {
  display: none;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-action {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 12px;
  border: 0;
  border-radius: 20px;
  background: var(--p-accent-soft);
  color: var(--p-accent-ink);
  font: 500 14px/18px var(--p-font);
  white-space: nowrap;
  text-decoration: none;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-action.primary {
  background: var(--p-accent);
  color: #fff;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-action:hover {
  background: #f8d3e4;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-action.primary:hover {
  background: var(--p-accent-press);
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-action:active {
  transform: scale(0.97);
  transition-duration: 100ms;
}
body.standalone-atlas:not(.paper-off) .directory-detail h3 {
  gap: 12px;
  margin: 10px 0 4px;
  color: var(--p-text);
  font: 500 24px/30px var(--p-font);
  letter-spacing: -0.01em;
}
body.standalone-atlas:not(.paper-off) .directory-detail h3 .mapx-square-art {
  width: 36px;
  height: 36px;
  border-radius: 0;
}
body.standalone-atlas:not(.paper-off) :is(#place-sheet, #directory-panel) .place-facts {
  color: var(--p-text-2);
  font: 400 14px/20px var(--p-font);
}
body.standalone-atlas:not(.paper-off) .place-street-photo {
  border-radius: 16px;
}
body.standalone-atlas:not(.paper-off) .place-article section {
  border-top-color: var(--p-line-soft);
}
body.standalone-atlas:not(.paper-off) :is(#place-sheet, #directory-panel) .place-article section > h2,
body.standalone-atlas:not(.paper-off) .directory-detail .place-article :is(h2, h3, h4) {
  color: var(--p-text);
  font: 500 16px/22px var(--p-font);
}
body.standalone-atlas:not(.paper-off) .directory-detail .place-article-link {
  text-decoration: none;
  font-weight: 500;
}
body.standalone-atlas:not(.paper-off) .directory-detail .place-article > .place-article-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--p-line-soft);
}
body.standalone-atlas:not(.paper-off) .place-article-photo {
  border-radius: 16px;
}
body.standalone-atlas:not(.paper-off) .directory-scope {
  border-bottom-color: var(--p-line-soft);
  padding: 8px 0;
}

body.standalone-atlas:not(.paper-off) #info {
  border-radius: 16px;
  background: var(--p-surface);
  color: var(--p-text);
  box-shadow: var(--p-shadow-control);
}
body.standalone-atlas:not(.paper-off) #minimap-dialog {
  border: 0;
  border-radius: 28px;
  background: var(--p-surface);
  color: var(--p-text);
  box-shadow: 0 8px 32px rgb(0 0 0 / 0.24);
}
body.standalone-atlas:not(.paper-off) #minimap-dialog::backdrop {
  background: rgb(0 0 0 / 0.32);
}
body.standalone-atlas:not(.paper-off) #minimap-dialog input:is([type="file"], [type="url"]) {
  border-radius: 16px;
  background: var(--p-surface-3);
  border-color: var(--p-line);
}
body.standalone-atlas:not(.paper-off) #minimap-dialog :is(a, button[type="submit"]) {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 22px;
  background: var(--p-accent);
  color: #fff;
  font: 600 14px/44px var(--p-font);
}
body.standalone-atlas:not(.paper-off) #street-hint {
  border: 0;
  border-radius: 22px;
  background: #1f1f1f;
  color: #fff;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.2);
  font: 400 14px/18px var(--p-font);
  padding: 13px 18px;
  backdrop-filter: none;
}

body.standalone-atlas:not(.paper-off) #panorama-view header,
body.standalone-atlas:not(.paper-off) #street-top {
  --text: var(--p-text);
  --text2: var(--p-text-2);
  --line: var(--p-line-soft);
  border: 0;
  border-radius: 28px;
  background: var(--p-surface);
  color: var(--p-text);
  box-shadow: var(--p-shadow-control);
  font-family: var(--p-font);
  backdrop-filter: none;
}
body.standalone-atlas:not(.paper-off) #panorama-view header button,
body.standalone-atlas:not(.paper-off) #street-top button {
  border-radius: 22px;
  color: var(--p-text);
}
body.standalone-atlas:not(.paper-off) #panorama-view header strong,
body.standalone-atlas:not(.paper-off) #street-top strong {
  font: 500 16px/21px var(--p-font);
}
body.standalone-atlas:not(.paper-off) :is(#panorama-view, #street-view) > #home-link {
  border: 0;
  border-radius: 22px;
  background: var(--p-surface);
  box-shadow: var(--p-shadow-control);
}
body.standalone-atlas:not(.paper-off) #walk-connections a {
  border-radius: 20px;
  background: rgb(31 31 31 / 0.88);
  font: 500 14px var(--p-font);
}
body.standalone-atlas:not(.paper-off) #walk-inset {
  border-radius: 16px;
  border-width: 3px;
}
body.standalone-atlas:not(.paper-off) :is(#street-steps, #street-lens) {
  border: 0;
  border-radius: 24px;
  background: rgb(31 31 31 / 0.88);
  backdrop-filter: none;
}
body.standalone-atlas:not(.paper-off) :is(#street-steps, #street-lens) button {
  border-radius: 20px;
  color: #fff;
}

@media (max-width: 767px), (pointer: coarse) and (max-height: 540px) {
    body.standalone-atlas:not(.paper-off) #map-tools {
    inset: var(--p-top) 12px auto 12px;
    height: 56px;
    border-radius: 28px;
  }
  body.standalone-atlas:not(.paper-off) #place-query {
    height: 48px;
    padding-inline: 8px;
  }

    /* Bottom right, under the Street View button. */
    body.standalone-atlas:not(.paper-off) #map-tools > #atlas-settings {
    position: fixed;
    top: auto;
    bottom: calc(24px + var(--p-bottom));
    right: 14px;
    width: 44px;
    height: 44px;
    background: var(--p-surface) no-repeat center / 22px
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444746' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5 9-5Z'/%3E%3Cpath d='m3 13 9 5 9-5'/%3E%3C/svg%3E");
    box-shadow: var(--p-shadow-control);
  }
  body.standalone-atlas:not(.paper-off) #atlas-settings svg {
    display: none;
  }
  body.standalone-atlas:not(.paper-off) #map-tools > #atlas-settings:hover {
    background-color: var(--p-surface-3);
  }

    body.standalone-atlas:not(.paper-off) #map-tools #street-toggle:not([hidden]) {
    position: fixed;
    right: 12px;
    bottom: calc(80px + var(--p-bottom));
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: var(--p-surface);
    box-shadow: var(--p-shadow-control);
    will-change: transform, opacity;
  }
  body.standalone-atlas:not(.paper-off) #map-tools #street-toggle .walker {
    width: 20px;
    height: 30px;
  }
  body.standalone-atlas:not(.paper-off) #map-tools .street-toggle-label {
    display: none;
  }

    body.standalone-atlas:not(.paper-off) #navigation {
    top: calc(var(--p-top) + 170px);
    right: 12px;
    bottom: auto;
  }
  @media (pointer: coarse) {
    body.standalone-atlas:not(.paper-off) #navigation #zoom {
      display: none;
    }
  }

    body.standalone-atlas:not(.paper-off) #street-hint {
    top: calc(var(--p-top) + 66px);
    bottom: auto;
    left: 12px;
    right: 12px;
    transform: none;
    width: auto;
    max-width: none;
    text-align: left;
  }
  body.standalone-atlas:not(.paper-off).street-coverage #map-chips,
  body.standalone-atlas:not(.paper-off):has(#street-hint:not([hidden])) #map-chips {
    visibility: hidden;
  }
  body.standalone-atlas:not(.paper-off) #info {
    top: calc(var(--p-top) + 116px);
    left: 12px;
    right: 68px;
    width: auto;
  }

    body.standalone-atlas:not(.paper-off) #directory-panel {
    position: fixed;
    inset: calc(var(--p-top) + 64px) 0 0;
    width: auto;
    max-height: none;
    padding: 0 16px max(18px, var(--p-bottom));
    border-radius: 28px 28px 0 0;
    overscroll-behavior: contain;
    z-index: 1002;
  }
  body.standalone-atlas:not(.paper-off) #directory-panel.results {
    top: max(48dvh, 70px);
  }
  body.standalone-atlas:not(.paper-off) #directory-panel[data-p-detent] {
    top: calc(var(--p-top) + 64px);
  }
    body.standalone-atlas:not(.paper-off) #directory-panel[data-p-detent]:not([data-p-detent="full"]) {
    overflow: hidden;
    touch-action: pan-x;
  }
  body.standalone-atlas:not(.paper-off)[data-p-sheet="full"] #atlas-settings {
    opacity: 0;
    pointer-events: none;
  }
  body.standalone-atlas:not(.paper-off) #directory-panel .sheet-grab {
    position: sticky;
    top: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: calc(100% + 32px);
    height: 28px;
    margin: 0 -16px;
    border-radius: 0;
    background: var(--p-surface);
    touch-action: none;
  }
  body.standalone-atlas:not(.paper-off) #directory-panel .sheet-grab::before {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: #c4c7c5;
  }
  body.standalone-atlas:not(.paper-off) #directory-panel .sheet-grab:hover {
    background: var(--p-surface);
  }
  body.standalone-atlas:not(.paper-off) #directory-panel :is(.mapx-group-head > button, .mapx-entry-link, .mapx-visibility, .mapx-names) {
    min-height: 52px;
  }

    body.standalone-atlas:not(.paper-off) #atlas-settings-panel:popover-open {
    inset: auto 0 0 0;
    width: auto;
    max-height: 72dvh;
    padding: 34px 20px max(20px, var(--p-bottom));
    gap: 12px;
    border-radius: 28px 28px 0 0;
    background: var(--p-surface);
    box-shadow: var(--p-shadow-sheet);
  }
  body.standalone-atlas:not(.paper-off) #atlas-settings-panel:popover-open::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 32px;
    height: 4px;
    margin-left: -16px;
    border-radius: 2px;
    background: #c4c7c5;
  }
  body.standalone-atlas:not(.paper-off) #atlas-settings-panel::backdrop {
    background: rgb(0 0 0 / 0.32);
  }
  body.standalone-atlas:not(.paper-off) #atlas-settings-panel #camera {
    gap: 8px;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  body.standalone-atlas:not(.paper-off) #atlas-settings-panel #camera button {
    flex: 1;
    min-height: 44px;
    border: 0;
    border-radius: 22px;
    background: var(--p-surface-2);
    color: var(--p-text);
    font: 500 14px var(--p-font);
  }
  body.standalone-atlas:not(.paper-off) #atlas-settings-panel #camera button + button {
    border-top: 0;
  }
  body.standalone-atlas:not(.paper-off) #atlas-settings-panel #camera button[aria-pressed="true"] {
    background: var(--p-accent-soft);
    color: var(--p-accent-ink);
    box-shadow: inset 0 0 0 1.5px var(--p-accent);
  }
  body.standalone-atlas:not(.paper-off) #atlas-settings-panel #theme-picker {
    justify-content: flex-start;
    gap: 10px;
    padding: 0 6px 0 16px;
    background: var(--p-surface-2);
    box-shadow: none;
  }
  body.standalone-atlas:not(.paper-off) #atlas-settings-panel #theme-picker select {
    margin-left: auto;
  }
  body.standalone-atlas:not(.paper-off) #atlas-settings-panel #edit-walk {
    border: 0;
    border-radius: 22px;
    background: var(--p-surface-2);
  }
}

@media (min-width: 768px) and (not ((pointer: coarse) and (max-height: 540px))) {
  body.standalone-atlas:not(.paper-off) {
    --p-panel-width: 432px;
  }
  body.standalone-atlas:not(.paper-off) #map-tools {
    inset: 12px auto auto 12px;
    width: calc(var(--p-panel-width) - 24px);
    height: 52px;
    border-radius: 26px;
    padding: 0 6px 0 6px;
  }
  body.standalone-atlas:not(.paper-off) #map-chips {
    top: 20px;
    left: var(--p-panel-width);
    right: 76px;
    padding: 2px 12px 8px 16px;
    scroll-padding-inline: 16px;
  }
    body.standalone-atlas:not(.paper-off) #directory-panel {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--p-panel-width);
    max-height: none;
    padding: 92px 24px 24px; /* 76px of search bar above, then room before the content */
    border-radius: 0;
    box-shadow: 2px 0 12px rgb(0 0 0 / 0.12);
    z-index: 1002;
    animation: p-panel-in 300ms var(--p-ease-sheet);
  }
  body.standalone-atlas:not(.paper-off) #directory-panel[data-p-closing] {
    animation: p-panel-out 200ms cubic-bezier(0.4, 0, 1, 1) forwards;
  }
  @keyframes p-panel-in {
    from { transform: translateX(-100%); }
  }
  @keyframes p-panel-out {
    to { transform: translateX(-100%); }
  }
  @media (prefers-reduced-motion: reduce) {
    body.standalone-atlas:not(.paper-off) #directory-panel {
      animation-name: p-fade-in;
      animation-duration: 150ms;
    }
    body.standalone-atlas:not(.paper-off) #directory-panel[data-p-closing] {
      animation-name: p-fade-out;
    }
    @keyframes p-fade-out {
      to { opacity: 0; }
    }
  }
  body.standalone-atlas:not(.paper-off) #directory-panel .sheet-grab {
    display: none;
  }
    body.standalone-atlas:not(.paper-off) #map-tools > :not(#place-search),
  body.standalone-atlas:not(.paper-off) #place-query {
    position: relative;
    z-index: 3;
  }
  body.standalone-atlas:not(.paper-off) #directory-panel {
    z-index: 2;
  }
  body.standalone-atlas:not(.paper-off) #directory-panel::before,
  body.standalone-atlas:not(.paper-off) #directory-panel::after {
    content: "";
    position: fixed;
    z-index: 1;
    pointer-events: none;
  }
  body.standalone-atlas:not(.paper-off) #directory-panel::before {
    top: 0;
    left: 0;
    width: var(--p-panel-width);
    height: 76px;
    background: var(--p-surface);
  }
  body.standalone-atlas:not(.paper-off) #map-tools:has(#directory-panel:not([data-p-closing])) > #place-search::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: 26px;
    background: var(--p-surface);
    pointer-events: none;
  }
  body.standalone-atlas:not(.paper-off) #directory-panel::after {
    top: 75px;
    left: 0;
    width: var(--p-panel-width);
    height: 1px;
    background: var(--p-line-soft);
  }
  body.standalone-atlas:not(.paper-off):has(#directory-panel:not([data-p-closing])) :is(#theme-picker, #info) {
    left: calc(var(--p-panel-width) + 16px);
  }
  body.standalone-atlas:not(.paper-off) #navigation {
    right: 16px;
    bottom: 24px;
  }
  body.standalone-atlas:not(.paper-off) #theme-picker {
    left: 16px;
    bottom: 24px;
  }
  body.standalone-atlas:not(.paper-off) #info {
    top: 84px;
    left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.standalone-atlas:not(.paper-off) :is(.directory-pin, .p-chip, #map-tools button, #navigation button),
  body.standalone-atlas:not(.paper-off) .directory-cluster::before {
    transition: none;
  }
  body.standalone-atlas:not(.paper-off) .directory-pin.selected {
    transform: none;
  }
}

body.paper-off .p-head,
body:not(.standalone-atlas) .p-head {
  display: none;
}
body.standalone-atlas:not(.paper-off) #map-tools {
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.18), 0 4px 14px rgb(0 0 0 / 0.08);
}
body.standalone-atlas:not(.paper-off) #place-search:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 2px;
}
body.standalone-atlas:not(.paper-off) #place-query {
  flex: 1;
  min-width: 0;
  text-overflow: ellipsis;
}
body.standalone-atlas:not(.paper-off) #place-query.p-named::placeholder {
  color: var(--p-text);
}
body.standalone-atlas:not(.paper-off) #map-tools .p-head {
  position: relative;
  z-index: 3;
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: var(--p-text-2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
body.standalone-atlas:not(.paper-off) #map-tools .p-back {
  color: var(--p-text);
  animation: p-fade-in 150ms var(--p-ease-out);
}
body.standalone-atlas:not(.paper-off) #map-tools .p-head:focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: -2px;
}
@media (hover: hover) and (pointer: fine) {
  body.standalone-atlas:not(.paper-off) #map-tools .p-head:hover {
    background: var(--p-surface-2);
  }
}
@keyframes p-fade-in {
  from { opacity: 0; }
}
body.standalone-atlas:not(.paper-off) #map-tools:has(#directory-panel:not([data-p-closing])) > #home-link {
  display: none;
}
body.standalone-atlas:not(.paper-off) #map-tools:has(#directory-panel:not([data-p-closing])) {
  padding-left: 6px;
}
body.standalone-atlas:not(.paper-off) #directory-panel :is(.directory-back, .mapx-results-clear, .mapx-result-nav > button:first-child) {
  display: none;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-result-nav > span {
  margin-right: auto;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-results-head h2 {
  margin: 4px 0 2px;
  color: var(--p-text-3);
  font: 400 13px/18px var(--p-font);
  font-variant-numeric: tabular-nums;
}
body.standalone-atlas:not(.paper-off) .directory-detail > div:not(.p-actions) > :is(h2, h3) {
  margin: 20px 0 4px;
  color: var(--p-text);
  font: 500 16px/22px var(--p-font);
  letter-spacing: 0;
}
body.standalone-atlas:not(.paper-off) .directory-detail > div:not(.p-actions) > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
body.standalone-atlas:not(.paper-off) .directory-detail > div:not(.p-actions) > ul > li + li {
  border-top: 1px solid var(--p-line-soft);
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail > div:not(.p-actions) > ul .place-article-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--p-text);
  font: 400 15px/20px var(--p-font);
  text-align: left;
  cursor: pointer;
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail > div:not(.p-actions) > ul .place-article-link::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border: solid var(--p-text-3);
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-explorer:has(.mapx-group-head > button[aria-expanded="true"]) >
  :not(.mapx-group:has(> .mapx-group-head > button[aria-expanded="true"])),
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-group-body:has(> .mapx-group > .mapx-group-head > button[aria-expanded="true"]) >
  :not(.mapx-group:has(> .mapx-group-head > button[aria-expanded="true"])),
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-group:has(> .mapx-group-body > .mapx-group > .mapx-group-head > button[aria-expanded="true"]) >
  .mapx-group-head {
  display: none !important;
}
body.standalone-atlas:not(.paper-off) #directory-panel {
  overflow-x: hidden;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-menu-ghost {
  position: absolute;
  margin: 0;
  pointer-events: none;
}
body.standalone-atlas:not(.paper-off) #directory-panel :is(.mapx-explorer-actions > a.mapx-more-results, .mapx-explorer > a.mapx-more-results) {
  display: none !important;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-group-head:has(> button[aria-expanded="true"]) {
  position: sticky;
  top: 28px;
  z-index: 2;
  margin: 0 -4px;
  padding: 0 4px;
  background: var(--p-surface);
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-group-head > button[aria-expanded="true"] {
  font: 500 18px/24px var(--p-font);
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-group-head > button[aria-expanded="true"] .mapx-disclosure {
  order: -1;
  display: grid;
  place-items: center;
  width: 28px;
  margin-right: -4px;
  color: var(--p-text);
  transform: rotate(180deg);
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-group-head > button[aria-expanded="true"] .mapx-disclosure svg {
  width: 20px;
  height: 20px;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-group-body {
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}
@media (min-width: 768px) and (not ((pointer: coarse) and (max-height: 540px))) {
  body.standalone-atlas:not(.paper-off) #directory-panel .mapx-group-head:has(> button[aria-expanded="true"]) {
    top: 0;
  }
}
body.standalone-atlas:not(.paper-off) #panorama-view header {
  box-sizing: border-box;
  height: 44px;
  gap: 8px;
  padding: 0 18px 0 4px;
}
body.standalone-atlas:not(.paper-off) #panorama-view header button {
  min-height: 36px;
  padding-block: 0;
}
body.standalone-atlas:not(.paper-off) #panorama-view #panorama-region {
  display: none;
}
body.standalone-atlas:not(.paper-off) :is(#panorama-view, #street-view) > #home-link {
  overflow: hidden;
  background: transparent;
}
body.standalone-atlas:not(.paper-off) :is(#panorama-view, #street-view) > #home-link img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
@media (max-width: 767px), (pointer: coarse) and (max-height: 540px) {
  /* With the sheet up, the search bar goes from its floating pill (sheet at half) to the full-width header (sheet at
     full) in step with the sheet: --p-k is how far the sheet is from half to full, 0 to 1, set by atlas-paper.js as
     it moves (dragged or settling). The sheet's top corners square off with it. */
  body.standalone-atlas:not(.paper-off) #map-tools:has(#directory-panel:not([data-p-closing])) {
    --k: var(--p-k, 0);
    top: calc(var(--p-top) * (1 - var(--k)));
    left: calc(12px * (1 - var(--k)));
    right: calc(12px * (1 - var(--k)));
    height: calc(46px + (var(--p-top) + 18px) * var(--k));
    padding: calc(var(--p-top) * var(--k)) calc(4px + 4px * var(--k)) 0 calc(4px * var(--k));
    border-radius: calc(23px * (1 - var(--k)));
    box-shadow: 0 1px 3px rgb(0 0 0 / calc(0.18 * (1 - var(--k)))), 0 4px 14px rgb(0 0 0 / calc(0.08 * (1 - var(--k))));
  }
  body.standalone-atlas:not(.paper-off) #directory-panel:not([data-p-closing]) {
    border-radius: calc(28px * (1 - var(--p-k, 0))) calc(28px * (1 - var(--p-k, 0))) 0 0;
  }
  body.standalone-atlas:not(.paper-off) #map-tools:has(#directory-panel:not([data-p-closing])) #map-chips {
    display: none;
  }
  body.standalone-atlas:not(.paper-off) #panorama-view header {
    gap: 4px;
    padding: 0 14px 0 0;
  }
  body.standalone-atlas:not(.paper-off) #panorama-view header button {
    min-height: 44px;
  }
  body.standalone-atlas:not(.paper-off) #panorama-view header div {
    padding-inline: 2px;
  }
}

body.standalone-atlas:not(.paper-off) #directory-panel .mapx-square-art[src*="/media/avatar/"] {
  border-radius: 50%;
  object-fit: cover;
}

body.standalone-atlas:not(.paper-off) #theme-picker {
  display: none;
}
body.standalone-atlas:not(.paper-off) #atlas-settings-panel .p-layers {
  display: flex;
  flex-direction: column;
  font-family: var(--p-font);
  color: var(--p-text);
}
body.standalone-atlas:not(.paper-off) .p-layers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 0 24px;
}
body.standalone-atlas:not(.paper-off) .p-layers-head h2 {
  margin: 0;
  font: 500 22px/28px var(--p-font);
  letter-spacing: -0.01em;
}
body.standalone-atlas:not(.paper-off) #atlas-settings-panel .p-layers-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--p-surface-2);
  color: var(--p-text-2);
  cursor: pointer;
}
body.standalone-atlas:not(.paper-off) .p-layers-type {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 24px 20px;
}
body.standalone-atlas:not(.paper-off) .p-layers-type h3 {
  margin: 0;
  font: 500 16px/22px var(--p-font);
}
body.standalone-atlas:not(.paper-off) .p-map-types {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
body.standalone-atlas:not(.paper-off) #atlas-settings-panel .p-map-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--p-text-2);
  font: 500 13px/16px var(--p-font);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--p-ease-out);
}
body.standalone-atlas:not(.paper-off) #atlas-settings-panel .p-map-type:active {
  transform: scale(0.95);
  transition-duration: 100ms;
}
body.standalone-atlas:not(.paper-off) .p-map-thumb {
  display: block;
  width: 72px;
  height: 72px;
  overflow: clip;
  border-radius: 16px;
  box-shadow: 0 0 0 1px #e0e3e7;
  transition: box-shadow 150ms ease;
}
body.standalone-atlas:not(.paper-off) .p-map-thumb svg {
  display: block;
}
body.standalone-atlas:not(.paper-off) #atlas-settings-panel .p-map-type[aria-pressed="true"] {
  color: #b8176a;
  font-weight: 600;
}
body.standalone-atlas:not(.paper-off) .p-map-type[aria-pressed="true"] .p-map-thumb {
  box-shadow: 0 0 0 2.5px var(--p-accent);
}
body.standalone-atlas:not(.paper-off) #atlas-settings-panel .p-map-type:focus-visible {
  outline: none;
}
body.standalone-atlas:not(.paper-off) .p-map-type:focus-visible .p-map-thumb {
  outline: 2px solid var(--p-accent);
  outline-offset: 4px;
}
body.standalone-atlas:not(.paper-off) #atlas-settings-panel {
  transition: transform 300ms var(--p-ease-sheet), opacity 200ms var(--p-ease-out),
    overlay 300ms allow-discrete, display 300ms allow-discrete;
}
body.standalone-atlas:not(.paper-off) #atlas-settings-panel::backdrop {
  transition: background-color 200ms ease, overlay 300ms allow-discrete, display 300ms allow-discrete;
}
@media (max-width: 767px), (pointer: coarse) and (max-height: 540px) {
  body.standalone-atlas:not(.paper-off) #atlas-settings-panel:popover-open {
    gap: 0;
    padding: 10px 0 max(24px, var(--p-bottom));
  }
  body.standalone-atlas:not(.paper-off) #atlas-settings-panel:not(:popover-open) {
    transform: translateY(100%);
  }
  @starting-style {
    body.standalone-atlas:not(.paper-off) #atlas-settings-panel:popover-open {
      transform: translateY(100%);
    }
    body.standalone-atlas:not(.paper-off) #atlas-settings-panel:popover-open::backdrop {
      background-color: transparent;
    }
  }
}
@media (min-width: 768px) and (not ((pointer: coarse) and (max-height: 540px))) {
  body.standalone-atlas:not(.paper-off) #map-tools > #atlas-settings {
    position: fixed;
    top: 20px;
    right: 16px;
    z-index: 3;
    display: grid;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 22px;
    background: var(--p-surface) no-repeat center / 22px
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444746' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5 9-5Z'/%3E%3Cpath d='m3 13 9 5 9-5'/%3E%3C/svg%3E");
    box-shadow: var(--p-shadow-control);
    cursor: pointer;
  }
  body.standalone-atlas:not(.paper-off) #map-tools > #atlas-settings:hover {
    background-color: var(--p-surface-3);
  }
  body.standalone-atlas:not(.paper-off) #atlas-settings svg {
    display: none;
  }
  body.standalone-atlas:not(.paper-off) #atlas-settings-panel:popover-open {
    position: fixed;
    inset: 72px 16px auto auto;
    display: block;
    width: 384px;
    margin: 0;
    padding: 14px 0 4px;
    border: 0;
    border-radius: 24px;
    background: var(--p-surface);
    box-shadow: 0 4px 24px rgb(0 0 0 / 0.16), 0 1px 4px rgb(0 0 0 / 0.08);
    transform-origin: top right;
  }
  body.standalone-atlas:not(.paper-off) #atlas-settings-panel:not(:popover-open) {
    opacity: 0;
    transform: scale(0.96);
    transition-duration: 150ms;
  }
  @starting-style {
    body.standalone-atlas:not(.paper-off) #atlas-settings-panel:popover-open {
      opacity: 0;
      transform: scale(0.96);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  body.standalone-atlas:not(.paper-off) #atlas-settings-panel {
    transition-property: opacity, overlay, display;
  }
}

body.standalone-atlas:not(.paper-off) .directory-detail > .p-title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
body.standalone-atlas:not(.paper-off) .directory-detail > .p-title h3 {
  flex: 1;
  min-width: 0;
}
body.standalone-atlas:not(.paper-off) .p-menu {
  position: relative;
  flex: none;
  margin: 7px -6px 0 0;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-menu-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--p-text-2);
  cursor: pointer;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-menu-button:is(:hover, [aria-expanded="true"]) {
  background: var(--p-surface-2);
}
body.standalone-atlas:not(.paper-off) .p-menu-list {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 5;
  min-width: 184px;
  padding: 6px 0;
  border-radius: 14px;
  background: var(--p-surface);
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.16), 0 1px 4px rgb(0 0 0 / 0.1);
  transform-origin: top right;
  animation: p-menu-in 150ms var(--p-ease-out);
}
@keyframes p-menu-in {
  from { opacity: 0; transform: scale(0.96); }
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-menu-list button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 44px;
  padding: 0 18px 0 16px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--p-text);
  font: 400 15px/20px var(--p-font);
  text-align: left;
  cursor: pointer;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-menu-list button:is(:hover, :focus-visible) {
  background: var(--p-surface-2);
  outline: none;
}
body.standalone-atlas:not(.paper-off) .p-menu-list svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--p-text-2);
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-result-nav button[aria-label] {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 0;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-result-nav button[aria-label]::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-result-nav button[aria-label="Next result"]::before {
  transform: scaleX(-1);
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-result-nav {
  gap: 6px;
  padding: 0 0 4px;
}
@media (min-width: 768px) and (not ((pointer: coarse) and (max-height: 540px))) {
  body.standalone-atlas:not(.paper-off) #directory-panel > .sheet-grab + * {
    margin-top: 14px;
  }
}

body.standalone-atlas:not(.paper-off) #place-query::-webkit-search-cancel-button,
body.standalone-atlas:not(.paper-off) #place-query::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
body.standalone-atlas:not(.paper-off) #directory-panel::-webkit-scrollbar {
  width: 8px;
}
body.standalone-atlas:not(.paper-off) #directory-panel::-webkit-scrollbar-track {
  background: transparent;
}
body.standalone-atlas:not(.paper-off) #directory-panel::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 4px;
  background: #c4c7c5 padding-box;
}
body.standalone-atlas:not(.paper-off) #directory-panel::-webkit-scrollbar-thumb:hover {
  background-color: #9aa0a6;
}
@supports (-moz-appearance: none) {
  body.standalone-atlas:not(.paper-off) #directory-panel {
    scrollbar-width: thin;
    scrollbar-color: #c4c7c5 transparent;
  }
}

body.standalone-atlas:not(.paper-off) #directory-panel .p-pano {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-pano.dragging {
  cursor: grabbing;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-pano:focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: 2px;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-pano-track {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  will-change: transform;
  pointer-events: none;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-pano-track img {
  flex: none;
  width: var(--face, 300px);
  height: var(--face, 300px);
  object-fit: cover;
  border-radius: 0;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-pano > span {
  pointer-events: none;
}

body.standalone-atlas:not(.paper-off) #directory-panel .mapx-result-nav button[aria-label] {
  position: relative;
  color: var(--p-text);
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-result-nav button[aria-label]::before {
  position: absolute;
  inset: 0;
  margin: auto;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-result-nav {
  padding: 4px 0 12px;
}
@media (min-width: 768px) and (not ((pointer: coarse) and (max-height: 540px))) {
  body.standalone-atlas:not(.paper-off) #directory-panel > .sheet-grab + * {
    margin-top: 22px;
  }
}

body.standalone-atlas:not(.paper-off) #directory-panel .p-pano-go {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: none;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.55));
  cursor: pointer;
  transition: background-color 160ms var(--p-ease-out), transform 160ms var(--p-ease-out);
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-pano-go:hover {
  background: rgb(0 0 0 / 0.38);
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-pano-go:active {
  transform: scale(0.95);
  transition-duration: 100ms;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-pano-go .walker {
  width: 22px;
  height: 33px;
}

body.standalone-atlas:not(.paper-off) #directory-panel .place-article-back,
body.standalone-atlas:not(.paper-off) #directory-panel .place-article > .place-kind-icon {
  display: none;
}
body.standalone-atlas:not(.paper-off) #directory-panel .place-article .p-see-all-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-see-all-section > * {
  grid-column: 1 / -1;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-see-all-section > h2 {
  grid-column: 1;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-see-all-section > .p-see-all {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}
body.standalone-atlas:not(.paper-off) .directory-pin.hovered:not(.selected) {
  transform: scale(1.6);
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.32));
}
body.standalone-atlas:not(.paper-off) .place-skeleton :is(span, i) {
  opacity: 1;
  background: linear-gradient(90deg, #eceef1 0%, #f6f7f9 40%, #eceef1 80%) 0 0 / 300% 100%;
  animation: p-skeleton 1.4s ease-in-out infinite;
}
body.standalone-atlas:not(.paper-off) #directory-panel .place-skeleton-row i {
  border-radius: 7px;
}
@keyframes p-skeleton {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.standalone-atlas:not(.paper-off) .place-skeleton :is(span, i) {
    animation: none;
  }
}
body.standalone-atlas:not(.paper-off).street-dragging #map .leaflet-marker-icon:not(.place-label) {
  visibility: visible;
  pointer-events: none;
}
body.standalone-atlas:not(.paper-off) .street-drag-person .walker-base {
  display: none;
}

/* ---- local edits 2026-12-04 ---- */
/* Pins hide while the Street View person is carried over a zoomed-out map. */
body.standalone-atlas:not(.paper-off).street-dragging-far #map .leaflet-marker-icon:is(.directory-marker, .directory-cluster, .poi-wrap) {
  visibility: hidden;
}
/* Chips: tighter, square corners. */
body.standalone-atlas:not(.paper-off) .p-chip {
  height: 30px;
  gap: 5px;
  padding: 0 10px 0 7px;
  border-radius: 0;
  font-size: 13px;
}
body.standalone-atlas:not(.paper-off) .p-chip img {
  width: 18px;
  height: 18px;
}
/* Search bar: tighter. */
body.standalone-atlas:not(.paper-off) #map-tools {
  height: 46px;
  border-radius: 23px;
  padding: 0 4px 0 4px;
}
body.standalone-atlas:not(.paper-off) #place-query {
  height: 40px;
  padding: 0 4px;
}
body.standalone-atlas:not(.paper-off) #home-link {
  width: 36px;
  height: 36px;
}
body.standalone-atlas:not(.paper-off) #home-link img {
  width: 30px;
  height: 30px;
}
@media (max-width: 767px), (pointer: coarse) and (max-height: 540px) {
  body.standalone-atlas:not(.paper-off) #map-tools {
    height: 46px;
    border-radius: 23px;
  }
  body.standalone-atlas:not(.paper-off) #place-query {
    height: 40px;
    padding-inline: 4px;
  }
}
body.standalone-atlas:not(.paper-off) #map-chips {
  top: calc(var(--p-top) + 54px);
  gap: 6px;
}
@media (min-width: 768px) and (not ((pointer: coarse) and (max-height: 540px))) {
  body.standalone-atlas:not(.paper-off) #map-chips {
    top: 18px;
  }
}

/* ---- local edits 2026-12-04, round 2 ---- */
/* Chip icons fill the chip's height, flush to its left edge. */
body.standalone-atlas:not(.paper-off) .p-chip {
  padding-left: 0;
  gap: 7px;
  overflow: hidden;
}
body.standalone-atlas:not(.paper-off) .p-chip img,
body.standalone-atlas:not(.paper-off) .p-chip svg {
  width: 30px;
  height: 30px;
}
/* The logo fills the search bar's height, flush to its left edge. */
body.standalone-atlas:not(.paper-off) #map-tools {
  padding-left: 0;
}
body.standalone-atlas:not(.paper-off) #home-link {
  width: 46px;
  height: 46px;
  border-radius: 23px;
  padding: 0;
  overflow: hidden;
}
body.standalone-atlas:not(.paper-off) #home-link img {
  width: 46px;
  height: 46px;
  border-radius: 23px;
}
/* A place's title: its icon sits at the top of the title, not halfway down two lines. */
body.standalone-atlas:not(.paper-off) .directory-detail h3 {
  align-items: flex-start;
}
/* The facts under a place's title: badges that filter the map. */
body.standalone-atlas:not(.paper-off) .place-facts > span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
body.standalone-atlas:not(.paper-off) .place-facet {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: var(--p-surface);
  color: var(--p-text);
  box-shadow: var(--p-shadow-control);
  font: 500 13px/18px var(--p-font);
  white-space: nowrap;
  cursor: pointer;
}
body.standalone-atlas:not(.paper-off) .place-facet:first-child {
  background: var(--p-accent-soft);
  color: var(--p-accent-ink);
}
@media (hover: hover) and (pointer: fine) {
  body.standalone-atlas:not(.paper-off) .place-facet:hover {
    background: var(--p-surface-3);
  }
}
body.standalone-atlas:not(.paper-off) .place-facet:focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: 2px;
}
/* Badge icons: flush to the badge's left edge, its full height. */
body.standalone-atlas:not(.paper-off) .place-facet {
  gap: 7px;
  overflow: hidden;
}
body.standalone-atlas:not(.paper-off) .place-facet:has(img) {
  padding-left: 0;
}
body.standalone-atlas:not(.paper-off) .place-facet img {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 0;
}
body.standalone-atlas:not(.paper-off) .place-facet img.place-facet-pin {
  padding: 5px;
  background: var(--p-surface-2);
}

/* ---- round 4 ---- */
/* Rows of a place's lists: 8px apart. */
body.standalone-atlas:not(.paper-off) .directory-detail .place-article ul:not(.place-badges) > li + li {
  margin-top: 8px;
}
/* Area outlines in badges get room around them. */
body.standalone-atlas:not(.paper-off) .place-facet img.place-facet-area {
  padding: 4px;
  background: var(--p-surface-2);
}
/* Lists of places with a count, as wrapped badges. */
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  list-style: none;
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges > li {
  display: contents;
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges .place-article-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  height: 28px;
  margin: 0;
  padding: 0 0 0 10px;
  border: 0;
  border-radius: 0;
  background: var(--p-surface);
  color: var(--p-text);
  box-shadow: var(--p-shadow-control);
  font: 500 13px/18px var(--p-font);
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges .place-article-link:has(img) {
  padding-left: 0;
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges .place-article-link img {
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 4px;
  flex: none;
  background: var(--p-surface-2);
}
body.standalone-atlas:not(.paper-off) .place-badge-count {
  align-self: stretch;
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  padding: 0 8px;
  background: var(--p-surface-2);
  color: var(--p-text-2);
  font-weight: 600;
}
@media (hover: hover) and (pointer: fine) {
  body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges .place-article-link:hover {
    background: var(--p-surface-3);
  }
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges .place-article-link {
  color: var(--p-text);
  text-decoration: none;
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges .place-article-link img.p-area-icon {
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 0;
  background: var(--p-surface-2);
}

/* ---- round 5 ---- */
/* Badges and chips: a 1px corner, so the square icon's corner pixel doesn't show past the edge. */
body.standalone-atlas:not(.paper-off) :is(.p-chip, .place-facet),
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges .place-article-link {
  border-radius: 1px;
}

/* ---- round 6: the place drawer, as in the drawer designs ---- */
/* Square icon art has rounded, outlined corners: fill them with its outline colour so no chip colour shows past them. */
body.standalone-atlas:not(.paper-off) .p-chip img,
body.standalone-atlas:not(.paper-off) .place-facet img:not(.place-facet-area):not(.place-facet-pin) {
  background: #10141f;
}

/* Order: title, actions (Watch live), badges, Street View, then the article (Nearby, About, the rest). */
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail {
  display: flex;
  flex-direction: column;
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail > * { order: 5; }
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail > div:not([class]),
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-intro { display: contents; }
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail > .p-title { order: 0; }
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail > .p-actions { order: 1; }
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-facts { order: 2; margin: 12px 0 0; }
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail :is(.place-preview, .p-pano, .place-street-photo) { order: 3; }
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article { order: 4; }

/* Header: icon, title over where it is, then save / share / close. */
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail > .p-title {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 12px;
  margin-top: 6px;
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail > .p-title > :is(.mapx-square-art, .mapx-entry-icon, .directory-avatar) {
  width: 40px;
  height: 40px;
  margin-top: 2px;
  border-radius: 1px;
  background: #10141f;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-title-text { min-width: 0; }
body.standalone-atlas:not(.paper-off) #directory-panel .p-title-text h3 {
  display: block;
  margin: 0;
  font: 500 22px/28px var(--p-font);
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-subtitle {
  margin: 2px 0 0;
  color: var(--p-text-2);
  font: 400 13px/18px var(--p-font);
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-subtitle::before { content: attr(data-initial); }
body.standalone-atlas:not(.paper-off) #directory-panel .p-subtitle[data-loc]::before { content: attr(data-loc); }
body.standalone-atlas:not(.paper-off) #directory-panel .p-card-actions {
  display: flex;
  gap: 8px;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-card-action {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--p-surface-2);
  color: var(--p-text-2);
  cursor: pointer;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-card-action svg { width: 18px; height: 18px; }
body.standalone-atlas:not(.paper-off) #directory-panel .p-card-action[aria-pressed="true"] { color: var(--p-accent); }
@media (hover: hover) and (pointer: fine) {
  body.standalone-atlas:not(.paper-off) #directory-panel .p-card-action:hover { background: var(--p-surface-3); color: var(--p-text); }
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-card-action:focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: 2px;
}

/* Street View: a rounded picture with a dark "Street View" pill. */
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail :is(.place-preview, .p-pano, .place-street-photo) {
  margin: 14px 0 0;
  border-radius: 12px;
  overflow: hidden;
}
body.standalone-atlas:not(.paper-off) #directory-panel .place-preview > span,
body.standalone-atlas:not(.paper-off) #directory-panel .p-pano > span,
body.standalone-atlas:not(.paper-off) #directory-panel .place-street-photo figcaption {
  left: 10px;
  bottom: 10px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: rgb(16 20 31 / 0.88);
  color: #fff;
  font: 500 12px/16px var(--p-font);
}

/* Sections: heading with "See all N" on the right; a thick break before About. */
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article { margin-top: 6px; }
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article > section {
  position: relative;
  margin: 0;
  padding: 16px 0 8px;
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article > section > h2 {
  margin: 0 0 6px;
  font: 500 15px/20px var(--p-font);
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-see-all-btn {
  position: absolute;
  top: 16px;
  right: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--p-accent);
  font: 500 13px/20px var(--p-font);
  cursor: pointer;
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article > section.p-about {
  margin: 10px -16px 0;
  padding: 16px 16px 8px;
  border-top: 8px solid var(--p-surface-2);
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-about > p {
  margin: 0 0 8px;
  color: var(--p-text-2);
  font: 400 14px/20px var(--p-font);
}

/* Rows: a direction (or the kind's icon), the name over direction · where, and a chevron. */
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul:has(> li > .p-row) {
  margin: 0;
  padding: 0;
  list-style: none;
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul > li:has(> .p-row) {
  margin: 0;
}
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul > li:has(> .p-row) + li {
  border-top: 1px solid var(--p-line-soft);
}
/* Nearby shows the closest three; "See all" puts every one in the region on the map. */
body.standalone-atlas:not(.paper-off) #directory-panel .p-nearby ul > li:nth-child(n + 4) { display: none; }
body.standalone-atlas:not(.paper-off) #directory-panel .place-article .p-row {
  display: grid;
  grid-template-columns: 36px 1fr 18px;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--p-text);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-row .p-dir,
body.standalone-atlas:not(.paper-off) #directory-panel .p-row .p-row-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--p-surface-2);
  color: var(--p-text-2);
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-row .p-row-icon { border-radius: 1px; background: none; }
body.standalone-atlas:not(.paper-off) #directory-panel .p-row .p-row-icon img { width: 28px; height: 28px; margin: 0; }
body.standalone-atlas:not(.paper-off) #directory-panel .p-row-text { display: grid; min-width: 0; }
body.standalone-atlas:not(.paper-off) #directory-panel .p-row-title {
  font: 500 14px/20px var(--p-font);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-row-sub { color: var(--p-text-2); font: 400 12px/16px var(--p-font); }
body.standalone-atlas:not(.paper-off) #directory-panel .p-row-chevron { color: var(--p-text-3); }
@media (hover: hover) and (pointer: fine) {
  body.standalone-atlas:not(.paper-off) #directory-panel .place-article .p-row:hover .p-row-title { color: var(--p-accent); }
}
body.standalone-atlas:not(.paper-off) #directory-panel .place-article .p-labelled {
  margin: 0 0 8px;
  color: var(--p-text-2);
  font: 400 14px/20px var(--p-font);
}
body.standalone-atlas:not(.paper-off) #directory-panel .place-article .p-labelled strong {
  display: block;
  color: var(--p-text);
  font-weight: 500;
}
/* A long name gets more of the width: a smaller title and buttons. */
body.standalone-atlas:not(.paper-off) #directory-panel .p-title-text h3 { font: 500 20px/26px var(--p-font); }
body.standalone-atlas:not(.paper-off) #directory-panel .p-card-actions { gap: 6px; }
body.standalone-atlas:not(.paper-off) #directory-panel .p-card-action { width: 32px; height: 32px; }
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail > .p-title > :is(.mapx-square-art, .mapx-entry-icon, .directory-avatar) {
  width: 36px;
  height: 36px;
}
body.standalone-atlas:not(.paper-off) #directory-panel .place-article .p-labelled strong { margin-top: 4px; }
body.standalone-atlas:not(.paper-off) #directory-panel .place-article .p-facts-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 8px 0;
  font: 400 14px/20px var(--p-font);
}
body.standalone-atlas:not(.paper-off) #directory-panel .place-article .p-facts-grid dt { color: var(--p-text-2); }
body.standalone-atlas:not(.paper-off) #directory-panel .place-article .p-facts-grid dd { margin: 0; color: var(--p-text); font-weight: 500; }

/* ---- round 7: pill badges (card, article lists, homepage chips) ---- */
body.standalone-atlas:not(.paper-off) :is(.p-chip, .place-facet),
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges .place-article-link {
  height: 34px;
  gap: 8px;
  padding: 0 14px 0 12px;
  border: 1px solid #c4c7c5;
  border-radius: 999px;
  background: var(--p-surface);
  color: var(--p-text);
  box-shadow: none;
  font: 500 14px/18px var(--p-font);
  overflow: visible;
}
/* Chips float over the map: keep a soft shadow so they read against it. */
body.standalone-atlas:not(.paper-off) .p-chip {
  height: 32px;
  border-color: transparent;
  box-shadow: var(--p-shadow-control);
}
/* With the kind's square art: inset 4px, rounded. */
body.standalone-atlas:not(.paper-off) .p-chip:has(> img),
body.standalone-atlas:not(.paper-off) .place-facet:has(> img:not(.place-facet-pin):not(.place-facet-area)),
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges .place-article-link:has(> img:not(.p-area-icon)) {
  padding-left: 4px;
}
body.standalone-atlas:not(.paper-off) .p-chip img,
body.standalone-atlas:not(.paper-off) .p-chip svg,
body.standalone-atlas:not(.paper-off) .place-facet img:not(.place-facet-pin):not(.place-facet-area),
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges .place-article-link img:not(.p-area-icon) {
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border-radius: 6px;
  background: none;
  flex: none;
}
/* Line icons (pin, map, area outline): plain, no tile. */
body.standalone-atlas:not(.paper-off) .place-facet img:is(.place-facet-pin, .place-facet-area),
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges .place-article-link img.p-area-icon {
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  flex: none;
}
body.standalone-atlas:not(.paper-off) .place-facet:first-child {
  background: var(--p-surface);
  color: var(--p-text);
}
/* The count in list badges: plain text at the end. */
body.standalone-atlas:not(.paper-off) .place-badge-count {
  align-self: auto;
  display: inline;
  min-width: 0;
  padding: 0;
  background: none;
  color: var(--p-text-2);
  font-weight: 500;
}
/* On chips: the accent, with its border. */
body.standalone-atlas:not(.paper-off) .p-chip[aria-pressed="true"] {
  border-color: #f3b6d3;
  background: var(--p-accent-soft);
  color: var(--p-accent-ink);
}
@media (hover: hover) and (pointer: fine) {
  body.standalone-atlas:not(.paper-off) .place-facet:hover,
  body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges .place-article-link:hover {
    background: var(--p-surface-2);
  }
}
body.standalone-atlas:not(.paper-off) .place-facts > span,
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges,
body.standalone-atlas:not(.paper-off) #map-chips {
  gap: 8px;
}
body.standalone-atlas:not(.paper-off) #directory-panel .place-facet {
  height: 34px;
  padding: 0 14px 0 12px;
  border: 1px solid #c4c7c5;
  border-radius: 999px;
  background: var(--p-surface);
  color: var(--p-text);
  box-shadow: none;
}
body.standalone-atlas:not(.paper-off) #directory-panel .place-facet:has(> img:not(.place-facet-pin):not(.place-facet-area)) {
  padding-left: 4px;
}
@media (hover: hover) and (pointer: fine) {
  body.standalone-atlas:not(.paper-off) #directory-panel .place-facet:hover { background: var(--p-surface-2); }
}
/* Kind icons in a round container: clip the art's own square frame away, leaving its colour and symbol in a circle. */
body.standalone-atlas:not(.paper-off) .p-chip img,
body.standalone-atlas:not(.paper-off) .p-chip svg,
body.standalone-atlas:not(.paper-off) #directory-panel .place-facet img:not(.place-facet-pin):not(.place-facet-area),
body.standalone-atlas:not(.paper-off) #directory-panel .directory-detail .place-article ul.place-badges .place-article-link img:not(.p-area-icon) {
  width: 28px;
  height: 28px;
  margin: 0 -2px 0 -2px;
  border-radius: 0;
  clip-path: circle(12px);
}

/* ---- account: avatar (or sign in) at the end of the search bar ---- */
body.standalone-atlas:not(.paper-off) #p-account {
  position: relative;
  flex: none;
  margin-right: 4px;
}
body.paper-off #p-account { display: none; }
body.standalone-atlas:not(.paper-off) .p-account-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--p-surface-2);
  color: var(--p-text-2);
  cursor: pointer;
}
body.standalone-atlas:not(.paper-off) .p-account-button img { width: 100%; height: 100%; object-fit: cover; }
body.standalone-atlas:not(.paper-off) .p-account-initials { font: 600 13px/1 var(--p-font); color: var(--p-text); }
body.standalone-atlas:not(.paper-off) .p-account-button:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
body.standalone-atlas:not(.paper-off) .p-account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: -4px;
  z-index: 1200;
  display: grid;
  min-width: 200px;
  padding: 6px;
  border-radius: 12px;
  background: var(--p-surface);
  box-shadow: 0 6px 24px rgb(0 0 0 / 0.18);
}
body.standalone-atlas:not(.paper-off) .p-account-menu[hidden] { display: none; }
body.standalone-atlas:not(.paper-off) .p-account-who {
  margin: 0;
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--p-line-soft);
  color: var(--p-text);
  font: 500 14px/18px var(--p-font);
}
body.standalone-atlas:not(.paper-off) .p-account-menu :is(a, button) {
  display: block;
  width: 100%;
  margin-top: 2px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--p-text);
  font: 400 14px/18px var(--p-font);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
body.standalone-atlas:not(.paper-off) .p-account-menu :is(a, button):is(:hover, :focus-visible) { background: var(--p-surface-2); outline: none; }
body.standalone-atlas:not(.paper-off) #map-tools:has(.p-account-menu:not([hidden])) { z-index: 2000; }

/* ---- sign in, on the map ---- */
.p-login {
  width: min(400px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--p-surface, #fff);
  color: var(--p-text, #1f1f1f);
  box-shadow: 0 12px 48px rgb(0 0 0 / 0.28);
  font-family: var(--p-font, system-ui, sans-serif);
}
.p-login::backdrop { background: rgb(16 20 31 / 0.45); }
.p-login-body { padding: 28px 24px 24px; }
.p-login h2 { margin: 0 32px 6px 0; font: 500 22px/28px var(--p-font); }
.p-login-lede { margin: 0 0 18px; color: var(--p-text-2); font: 400 14px/20px var(--p-font); }
.p-login-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--p-surface-2);
  color: var(--p-text-2);
  cursor: pointer;
}
.p-login-providers { display: grid; gap: 8px; }
.p-login-provider {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #c4c7c5;
  border-radius: 999px;
  background: var(--p-surface);
  color: var(--p-text);
  font: 500 15px/20px var(--p-font);
  cursor: pointer;
}
.p-login-provider:disabled { opacity: 0.6; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .p-login-provider:not(:disabled):hover { background: var(--p-surface-2); }
}
.p-si-mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex: none; }
.p-login-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 14px;
  color: var(--p-text-2);
  font: 500 12px/16px var(--p-font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.p-login-or span { flex: 1; height: 1px; background: var(--p-line-soft, #e3e3e3); }
.p-login-form { display: grid; gap: 8px; }
.p-login-form label { font: 500 13px/18px var(--p-font); color: var(--p-text-2); }
.p-login-form input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid #c4c7c5;
  border-radius: 12px;
  background: var(--p-surface);
  color: var(--p-text);
  font: 400 16px/20px var(--p-font);
}
.p-login-form input:focus { outline: 2px solid var(--p-accent); outline-offset: -1px; border-color: transparent; }
.p-login-error { margin: 0; color: #b3261e; font: 400 13px/18px var(--p-font); }
.p-login-error:empty { display: none; }
.p-login-send {
  height: 46px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--p-accent);
  color: #fff;
  font: 500 15px/20px var(--p-font);
  cursor: pointer;
}
.p-login-send:disabled { opacity: 0.6; }
.p-login-small { margin: 14px 0 0; color: var(--p-text-2); font: 400 12px/17px var(--p-font); }
.p-login-small a { color: var(--p-accent); }
.p-login-link {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--p-accent);
  font: 500 14px/20px var(--p-font);
  cursor: pointer;
}
.p-login :focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }

/* ---- desktop: avatar top right; layers above the zoom buttons ---- */
@media (min-width: 768px) and (not ((pointer: coarse) and (max-height: 540px))) {
  body.standalone-atlas:not(.paper-off) #p-account {
    position: fixed;
    top: 16px;
    right: 16px;
    margin: 0;
  }
  body.standalone-atlas:not(.paper-off) #p-account .p-account-button {
    width: 44px;
    height: 44px;
    background: var(--p-surface);
    box-shadow: var(--p-shadow-control);
  }
  body.standalone-atlas:not(.paper-off) #p-account .p-account-menu { right: 0; top: calc(100% + 8px); }
  body.standalone-atlas:not(.paper-off).p-layers-below #navigation > #atlas-settings {
    position: static;
    inset: auto;
    margin: 0;
  }
}
/* Menu: the lists with their counts, then the account. */
body.standalone-atlas:not(.paper-off) .p-account-menu .p-account-list {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
body.standalone-atlas:not(.paper-off) .p-account-count { color: var(--p-text-2); }
body.standalone-atlas:not(.paper-off) .p-account-menu hr {
  margin: 4px 0;
  border: 0;
  border-top: 1px solid var(--p-line-soft);
}

/* ---- the lists in the drawer ---- */
body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-tabs {
  display: flex;
  gap: 6px;
  margin: 4px 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #c4c7c5;
  border-radius: 999px;
  background: var(--p-surface);
  color: var(--p-text);
  font: 500 14px/18px var(--p-font);
  white-space: nowrap;
  cursor: pointer;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-tabs button[aria-selected="true"] {
  border-color: #f3b6d3;
  background: var(--p-accent-soft);
  color: var(--p-accent-ink);
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-count { color: var(--p-text-2); font-weight: 400; }
body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-filter {
  width: 100%;
  height: 40px;
  margin: 0 0 10px;
  padding: 0 14px;
  border: 1px solid #c4c7c5;
  border-radius: 999px;
  background: var(--p-surface);
  color: var(--p-text);
  font: 400 15px/20px var(--p-font);
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-kinds { margin: 0 0 10px; }
body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-kinds .place-facet[aria-pressed="true"] {
  border-color: #f3b6d3;
  background: var(--p-accent-soft);
  color: var(--p-accent-ink);
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-kind-count { color: var(--p-text-2); font-weight: 400; }
body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--p-text);
  font: 400 14px/20px var(--p-font);
  cursor: pointer;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-toggle input { width: 18px; height: 18px; accent-color: var(--p-accent); }
body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-list > li {
  display: flex;
  align-items: center;
  gap: 4px;
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-list > li > .mapx-entry-link { flex: 1; min-width: 0; }
body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-remove {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--p-text-2);
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-remove:hover { background: var(--p-surface-2); color: var(--p-text); }
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-empty {
  margin: 12px 0;
  color: var(--p-text-2);
  font: 400 14px/20px var(--p-font);
}
body.standalone-atlas:not(.paper-off) #directory-panel .p-lib-signin,
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-results-save {
  height: 34px;
  padding: 0 16px;
  border: 1px solid #c4c7c5;
  border-radius: 999px;
  background: var(--p-surface);
  color: var(--p-text);
  font: 500 14px/18px var(--p-font);
  cursor: pointer;
}
body.standalone-atlas:not(.paper-off) #directory-panel .mapx-results-save[aria-pressed="true"] {
  border-color: #f3b6d3;
  background: var(--p-accent-soft);
  color: var(--p-accent-ink);
}
/* The card's check: green when done. */
body.standalone-atlas:not(.paper-off) #directory-panel .p-card-done[aria-pressed="true"] { background: #1e8e3e; color: #fff; }
/* Done pins on the map: faded, with a green tick. */
body.standalone-atlas:not(.paper-off) #map .directory-pin.done { opacity: 0.55; }
body.standalone-atlas:not(.paper-off) #map .directory-pin.done::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #1e8e3e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
body.standalone-atlas:not(.paper-off) #map .directory-pin.done.selected { opacity: 1; }
@media (min-width: 768px) and (not ((pointer: coarse) and (max-height: 540px))) {
  body.standalone-atlas:not(.paper-off) #map-tools > #p-account {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 3;
    margin: 0;
  }
  body.standalone-atlas:not(.paper-off) #navigation > #atlas-settings {
    position: static;
    display: grid;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: var(--p-surface) no-repeat center / 22px
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444746' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5 9-5Z'/%3E%3Cpath d='m3 13 9 5 9-5'/%3E%3C/svg%3E");
    box-shadow: var(--p-shadow-control);
    cursor: pointer;
  }
  body.standalone-atlas:not(.paper-off) #navigation > #atlas-settings:hover { background-color: var(--p-surface-3); }
}
@media (min-width: 768px) and (not ((pointer: coarse) and (max-height: 540px))) {
  body.standalone-atlas:not(.paper-off) #map-chips { right: 72px; }
}
@media (min-width: 768px) and (not ((pointer: coarse) and (max-height: 540px))) {
  /* Opens beside its button, now at the bottom right. */
  body.standalone-atlas:not(.paper-off).p-layers-below #atlas-settings-panel:popover-open {
    inset: auto 72px 24px auto;
    max-height: calc(100dvh - 120px);
    overflow: auto;
  }
}

/* ---- the designed pins (designs/informant-map-pins.zip): 36 by 46, point at the bottom centre ---- */
body.standalone-atlas:not(.paper-off) #map .directory-pin.art {
  width: 36px;
  height: 46px;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 1px 2px rgb(11 26 42 / 0.35));
}
body.standalone-atlas:not(.paper-off) #map .directory-pin.art img { width: 36px; height: 46px; }
body.standalone-atlas:not(.paper-off) #map .directory-pin.art.selected {
  transform: scale(1.12);
  filter: drop-shadow(1px 0 0 #e8338a) drop-shadow(-1px 0 0 #e8338a) drop-shadow(0 1px 0 #e8338a)
    drop-shadow(0 -1px 0 #e8338a) drop-shadow(0 2px 4px rgb(0 0 0 / 0.28));
}
body.standalone-atlas:not(.paper-off) #map .directory-pin.art.hovered:not(.selected) { transform: scale(1.15); }
/* Done: a small tick inside the pin's head, not over its neighbours. The open pin's card shows it instead. */
body.standalone-atlas:not(.paper-off) #map .directory-pin.art.done::after {
  top: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-width: 1.5px;
  background-size: 7px;
}
body.standalone-atlas:not(.paper-off) #map .directory-pin.done.selected::after { display: none; }
.poi.poi-art.poi-pin { width: 36px; height: 46px; }
.poi.poi-art.poi-pin img { filter: drop-shadow(0 1px 2px rgb(11 26 42 / 0.35)); }

/* The original viewer's legend and marker-type filter: not part of this skin (the chips and layers replace them),
   so they never show, not even while the map loads. */
body.standalone-atlas:not(.paper-off) :is(#legend, #marker-filter) { display: none !important; }
/* The map's own icons wait for the explorer, which decides which pins show. */
body.standalone-atlas:not(.paper-off):not(:has(#place-query[aria-controls="directory-panel"])) #map .poi-wrap { visibility: hidden; }

/* Into and out of Street View (installStreetTransition): the map zooms toward the spot and blurs under the panorama,
   which sharpens in; leaving, the panorama softens away and the map zooms back out. */
body.standalone-atlas:not(.paper-off) #map {
  transition: filter 560ms cubic-bezier(0.4, 0, 0.2, 1);
}
body.standalone-atlas:not(.paper-off).p-street-in #map {
  filter: blur(12px) saturate(1.15);
}
body.standalone-atlas:not(.paper-off) #panorama-view:is(.p-entering, .p-revealing, .p-leaving) { background: transparent; }
body.standalone-atlas:not(.paper-off) #panorama-view:is(.p-entering, .p-revealing, .p-leaving)::backdrop { background: transparent; }
body.standalone-atlas:not(.paper-off) #panorama-view > :not(iframe) { transition: opacity 240ms ease; }
body.standalone-atlas:not(.paper-off) #panorama-view:is(.p-entering:not(.p-revealing), .p-leaving) > :not(iframe) { opacity: 0; }
body.standalone-atlas:not(.paper-off) #panorama-view.p-revealing > iframe:not(.departing) {
  animation: p-street-arrive 520ms cubic-bezier(0.2, 0, 0, 1) both;
}
body.standalone-atlas:not(.paper-off) #panorama-view.p-leaving > iframe {
  animation: p-street-depart 280ms cubic-bezier(0.4, 0, 1, 1) both;
}
@keyframes p-street-arrive {
  from { opacity: 0; filter: blur(16px); transform: scale(1.18); }
  to { opacity: 1; filter: none; transform: none; }
}
@keyframes p-street-depart {
  from { opacity: 1; filter: none; transform: none; }
  to { opacity: 0; filter: blur(14px); transform: scale(0.9); }
}
@media (prefers-reduced-motion: reduce) {
  body.standalone-atlas:not(.paper-off) #map { transition: none; }
  body.standalone-atlas:not(.paper-off).p-street-in #map { transform: none; filter: none; }
}

/* Carrying the Street View person: its button becomes an x, and dropping back on it cancels. */
body.standalone-atlas:not(.paper-off).street-dragging #street-toggle { position: relative; }
body.standalone-atlas:not(.paper-off).street-dragging #street-toggle .walker { opacity: 0; }
body.standalone-atlas:not(.paper-off).street-dragging #street-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  background: var(--p-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.standalone-atlas:not(.paper-off).street-dragging #street-toggle.drop-cancel {
  background: var(--p-text);
  transform: scale(1.08);
}
body.standalone-atlas:not(.paper-off).street-dragging #street-toggle.drop-cancel::after { background: var(--p-surface); }
/* The map's own controls go with the map as Street View opens, and come back as it closes. */
body.standalone-atlas:not(.paper-off) :is(#map-tools, #navigation, #map-chips) { transition: opacity 240ms ease; }
body.standalone-atlas:not(.paper-off).p-street-in :is(#map-tools, #navigation, #map-chips) { opacity: 0; pointer-events: none; }

/* The card's more menu (done, save, share): under its button, the done one green-ticked while done. */
body.standalone-atlas:not(.paper-off) #directory-panel .p-card-actions { position: relative; align-items: flex-start; }
body.standalone-atlas:not(.paper-off) #directory-panel .p-card-actions .p-menu { margin: 0; }
body.standalone-atlas:not(.paper-off) #directory-panel .p-card-more[aria-expanded="true"] { background: var(--p-surface-3); color: var(--p-text); }
body.standalone-atlas:not(.paper-off) #directory-panel .p-menu-list { right: -44px; min-width: 200px; }
body.standalone-atlas:not(.paper-off) #directory-panel .p-menu-list button[aria-pressed="true"] svg { color: var(--p-accent); }
body.standalone-atlas:not(.paper-off) #directory-panel .p-menu-list button.p-done[aria-pressed="true"] svg { color: #1e8e3e; }
body.standalone-atlas:not(.paper-off) #directory-panel .p-card-toast {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 5;
  padding: 6px 10px;
  border-radius: 8px;
  background: #1f1f1f;
  color: #fff;
  font: 500 13px/18px var(--p-font);
  white-space: nowrap;
}
