:root {
  color-scheme: dark;
  --bg: #101315;
  --rail: #16191a;
  --line: #303232;
  --ink: #eee9de;
  --mute: #b3afa4;
  --faint: #95958b;
  --gold: #d2b37e;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: Georgia, 'Times New Roman', serif;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--bg);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
button,
select,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
canvas:focus-visible {
  outline: 2px solid #f5ce85;
  outline-offset: -2px;
}
[hidden] {
  display: none !important;
}
.shell {
  min-height: 0;
  flex: auto;
  display: flex;
  position: relative;
}
.tool-label,
.tool-group label,
.section-name {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font: 10px var(--mono);
  letter-spacing: 0.13em;
}
.tool-label,
.section-name,
.tool-group label {
  color: var(--faint);
}
aside {
  width: 246px;
  flex: none;
  display: flex;
  flex-direction: column;
  background: var(--rail);
  border-right: 1px solid var(--line);
  z-index: 3;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
}
.index-head {
  position: relative;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: 28px;
  letter-spacing: -0.04em;
}
nav {
  padding: 3px 0 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #424039 transparent;
  scrollbar-width: thin;
}
.section-name {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 19px 20px 7px;
  font-size: 9px;
  color: #a39b88;
}
.section-name:after {
  content: '';
  height: 1px;
  flex: 1;
  background: #353632;
}
.region {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  text-align: left;
  min-height: 32px;
  padding: 6px 16px 6px 21px;
  color: #c7c5ba;
  position: relative;
  font-size: 13px;
  line-height: 1.35;
}
.region:hover {
  background: #222625;
}
.region[aria-current='true'] {
  color: #f0d5a6;
  background: linear-gradient(90deg, #3d3427, #292821);
  box-shadow: inset 2px 0 #d2ae72;
}
.region .num {
  color: #888980;
  font: 10px var(--mono);
}
.region[aria-current='true'] .num {
  color: #bea16c;
}
.region[aria-current='true']:after {
  content: '›';
  color: var(--gold);
  margin-left: auto;
}
#about {
  margin-top: auto;
  flex: none;
  border-top: 1px solid var(--line);
}
#about summary {
  cursor: pointer;
  padding: 13px 20px;
  font-size: 13px;
  color: var(--mute);
}
#about summary:hover,
#about[open] summary {
  color: var(--ink);
}
.about-body {
  display: grid;
  gap: 4px;
  padding: 0 20px 16px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--mute);
}
.about-body p {
  margin: 0;
}
.about-body a {
  color: var(--gold);
  text-underline-offset: 2px;
}
main {
  min-width: 0;
  position: relative;
  flex: 1;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 51% 47%, #1e2527 0%, #14191b 53%, #0d1011 100%);
}
#map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
#map:active {
  cursor: grabbing;
}
.picking-pivot #map,
.picking-pivot .marker,
.picking-pivot .district-label {
  cursor: crosshair;
}
#orbit-point {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 24px;
  height: 24px;
  border: 1px solid #ffe1a3;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px #151715,
    inset 0 0 0 1px #151715;
  pointer-events: none;
}
#pivot-prompt {
  position: absolute;
  z-index: 3;
  top: min(20%, 116px);
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 24px);
  width: max-content;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 10px;
  background: var(--rail);
  color: var(--ink);
  font: 11px/1.4 var(--mono);
  pointer-events: none;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.plate {
  position: absolute;
  top: 28px;
  left: 32px;
  pointer-events: none;
  text-shadow:
    0 2px 9px #0b0e10,
    0 0 18px #0b0e10;
}
h1 {
  font-size: clamp(32px, 3.5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}
#stair-controls {
  pointer-events: auto;
  align-items: center;
  width: max-content;
  margin-top: 8px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--rail);
}
#stair-label {
  margin-right: 3px;
}
#stair-controls button {
  min-height: 25px;
}
@media (pointer: coarse) {
  #stair-controls button {
    min-height: 36px;
  }
}
.instrument {
  position: absolute;
  top: 22px;
  right: 27px;
  display: grid;
  justify-items: center;
  pointer-events: none;
  color: #a59778;
}
.instrument svg {
  width: 55px;
  height: 55px;
  stroke-width: 0.65;
}
.instrument .n {
  fill: #cfaf76;
  stroke: none;
}
.instrument .s {
  fill: #73756e;
  stroke: none;
}
.instrument span {
  font: 9px var(--mono);
  letter-spacing: 0.13em;
  color: #c0b398;
}
#markers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.marker {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  pointer-events: auto;
  padding: 0;
  color: #f9d79b;
  background: #221e18;
  border: 1px solid #d9b97c;
  border-radius: 50%;
  width: 19px;
  height: 19px;
  box-shadow: 0 0 0 2px #15181788;
}
.marker svg {
  width: 14px;
  height: 14px;
}
.marker .label {
  display: none;
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(234px, calc(100vw - 24px));
  white-space: normal;
  text-align: center;
  color: #f2dfb6;
  background: #171c1ef2;
  border: 1px solid #7a6c50;
  padding: 5px 8px;
  font: 11px system-ui;
}
.marker:hover,
.marker:focus-visible,
.marker.active {
  z-index: 1;
}
.marker:hover .label,
.marker:focus-visible .label,
.marker.active .label {
  display: block;
}
.marker .label.below {
  bottom: auto;
  top: calc(100% + 4px);
}
.zoom-stack,
.toolbox {
  border: 1px solid #48483f;
  background: #191d1df2;
  box-shadow: 0 4px 18px #0004;
}
.zoom-stack {
  position: absolute;
  right: 22px;
  bottom: 120px;
  display: grid;
  border-radius: 4px;
  overflow: hidden;
}
.icon {
  width: 35px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: #c9c6b9;
  font: 20px/1 var(--mono);
}
.icon:hover,
.segmented button:hover {
  background: #32342e;
  color: var(--ink);
}
.zoom-stack .icon + .icon {
  border-top: 1px solid #373a36;
}
.controls-wrap {
  position: absolute;
  bottom: 42px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.toolbox {
  pointer-events: auto;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 9px 2px;
  max-width: 100%;
}
.tool-group {
  padding: 0 13px;
  border-right: 1px solid #3d4039;
  display: grid;
  gap: 5px;
  height: 36px;
  align-content: space-between;
}
.tool-label,
.tool-group label {
  font-size: 9px;
  line-height: 10px;
}
.tool-group select {
  background: transparent;
  border: 0;
  color: #e0d0af;
  font-size: 12px;
  min-height: 18px;
  cursor: pointer;
  padding: 0 2px 0 0;
}
.tool-group select option {
  background: #202322;
  color: var(--ink);
}
.segmented {
  display: flex;
  gap: 5px;
}
.segmented button {
  padding: 0 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  border-radius: 2px;
  color: #a9aba1;
  height: 20px;
}
.segmented [aria-pressed='true'] {
  background: #514534;
  color: #f2d6a6;
}
.elevation {
  min-width: 140px;
}
.cut-config {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.cut-config select {
  appearance: none;
  color: var(--gold);
  font: 10px var(--mono);
  min-height: 16px;
  min-width: 0;
  padding-right: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 5'%3E%3Cpath d='m1 1 3 3 3-3' fill='none' stroke='%23d2b37e'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 7px 5px;
  background-position: right center;
}
.elevation output {
  white-space: nowrap;
  font: 9px var(--mono);
  color: var(--gold);
  letter-spacing: 0;
  text-transform: none;
}
.elevation input {
  width: 100%;
  margin: 0 0 4px;
  height: 10px;
  accent-color: #cbae79;
  cursor: pointer;
}
.toolbox > .icon {
  margin: 0 7px;
}
.icon[aria-pressed='true'] {
  color: var(--gold);
  background: #33312a;
  border-radius: 3px;
}
.icon:disabled {
  color: #74766d;
  background: none;
  cursor: default;
}
#scale {
  position: absolute;
  bottom: 13px;
  right: 22px;
  font: 9px var(--mono);
  pointer-events: none;
  text-shadow: 0 1px 4px #000;
  border: solid #a79a79;
  border-width: 0 1px 1px;
  min-width: 35px;
  text-align: center;
  line-height: 12px;
  color: #c2b79e;
}
.mobile,
#scrim {
  display: none;
}
#notice {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  padding: 12px 17px;
  background: #171a1bf2;
  border: 1px solid #5d5545;
  text-align: center;
  color: #e3d4b5;
  font-size: 13px;
  max-width: 85%;
}
@media (min-width: 1550px) {
  aside {
    width: 275px;
  }
  .region {
    min-height: 37px;
  }
}
@media (max-width: 850px) {
  aside {
    width: 205px;
  }
  .index-head {
    padding-left: 16px;
  }
  .region {
    padding-left: 16px;
    font-size: 12px;
  }
  .plate {
    left: 21px;
    top: 21px;
  }
  .tool-group {
    padding: 0 9px;
  }
  .instrument {
    right: 13px;
  }
}
@media (max-width: 690px) {
  #survey {
    --section-footroom: 96;
  }
  .mobile {
    display: inline-grid;
  }
  #index-open {
    position: absolute;
    top: 10px;
    left: 6px;
    z-index: 1;
    width: 44px;
    height: 44px;
    color: var(--ink);
  }
  .shell.open #index-open {
    visibility: hidden;
  }
  .index-head .mobile {
    position: absolute;
    right: 7px;
    top: 4px;
  }
  .shell > aside {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(280px, 85vw);
    transform: translateX(-101%);
    visibility: hidden;
  }
  .shell.open > aside {
    transform: none;
    visibility: visible;
  }
  .shell.open #scrim {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    background: #0009;
  }
  .plate {
    left: 55px;
    top: 14px;
    right: 61px;
  }
  .instrument {
    right: 10px;
    top: 13px;
  }
  .instrument svg {
    width: 40px;
    height: 40px;
  }
  .plate h1 {
    font-size: clamp(24px, 6.8vw, 33px);
  }
  .zoom-stack {
    right: 10px;
    bottom: 111px;
  }
  #scale {
    right: 12px;
    bottom: 13px;
  }
  .controls-wrap {
    left: 6px;
    right: 6px;
    bottom: 31px;
  }
  .tool-group {
    padding: 0 7px;
  }
  .elevation {
    min-width: 102px;
    width: 106px;
  }
  .cut-config {
    gap: 3px;
    letter-spacing: 0.04em;
  }
  .toolbox > .icon {
    margin: 0 2px;
    width: 29px;
  }
  .toolbox {
    padding: 8px 0;
  }
  .tool-group select {
    max-width: 95px;
  }
  .segmented {
    gap: 0;
  }
  .segmented button {
    padding: 0 3px;
  }
}
@media (max-width: 370px) {
  .tool-group {
    padding: 0 4px;
  }
  .elevation {
    width: 75px;
  }
  .tool-group select {
    max-width: 77px;
  }
  .tool-label {
    font-size: 8px;
  }
}
.district-label {
  pointer-events: auto;
  position: absolute;
  left: 0;
  top: 0;
  padding: 3px 7px;
  background: #191b19df;
  border: 1px solid #6a6250;
  color: #e5d9bf;
  white-space: nowrap;
  font:
    italic 13px Georgia,
    serif;
  line-height: 16px;
  border-radius: 1px;
  text-shadow: 0 1px 4px #000;
}
.district-label:hover,
.district-label:focus-visible {
  background: #353124;
  color: #ffdfa5;
  z-index: 2;
}

#floor-panel {
  position: absolute;
  right: 22px;
  top: 117px;
  width: 178px;
  padding: 13px;
  border: 1px solid #48483f;
  border-radius: 4px;
  background: #191d1df2;
}
.floor-selector,
.floor-spacing {
  display: grid;
  gap: 7px;
}
.floor-spacing {
  margin-top: 14px;
}
#floor-depth {
  color: var(--mute);
  font: 10px var(--mono);
}
#floor-buttons {
  display: flex;
  gap: 3px;
}
#floor-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 24px;
  min-height: 26px;
  padding: 0 4px;
  font: 11px var(--mono);
  color: var(--mute);
  border-radius: 2px;
}
#floor-buttons button::before {
  content: '';
  background: var(--floor-color);
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
#floor-buttons button:first-child::before {
  display: none;
}
#floor-buttons button[aria-pressed='true'] {
  background: #514534;
  color: #f6deb8;
}
[data-floor='1'] {
  --floor-color: #e3b16b;
}
[data-floor='2'] {
  --floor-color: #75c7c4;
}
[data-floor='3'] {
  --floor-color: #b69bd8;
}
[data-floor='4'] {
  --floor-color: #dc91a0;
}
.floor-spacing label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.floor-spacing output {
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0;
}
.floor-spacing input {
  margin: 0;
  width: 100%;
  height: 14px;
  accent-color: var(--gold);
  cursor: pointer;
}
.floor-spacing:has(input:disabled) {
  opacity: 0.5;
}
.marker[data-floor] {
  border-color: var(--floor-color);
  color: var(--floor-color);
}
@media (max-width: 850px) {
  #floor-panel {
    top: auto;
    bottom: 103px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 22px);
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 7px 10px;
  }
  .floor-spacing {
    margin: 0;
    width: 110px;
  }
  .floor-selector,
  .floor-spacing {
    gap: 3px;
  }
  main:has(#floor-panel:not([hidden])) .zoom-stack {
    bottom: 169px;
  }
}
@media (max-width: 690px) {
  #floor-panel {
    bottom: 89px;
  }
  main:has(#floor-panel:not([hidden])) .zoom-stack {
    bottom: 152px;
  }
}
#collections {
  display: flex;
}
#collections button {
  padding: 4px 9px 7px;
  color: var(--mute);
  font-size: 12px;
}
#collections [aria-pressed='true'] {
  color: var(--gold);
  box-shadow: inset 0 -2px var(--gold);
}
.atlas-search {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 8px;
  margin-top: 6px;
  background: #101415;
  border: 1px solid #393d37;
  border-radius: 3px;
  color: var(--faint);
}
.atlas-search:focus-within {
  border-color: var(--gold);
}
.atlas-search svg {
  width: 14px;
  height: 14px;
  flex: none;
}
.atlas-search input {
  width: 100%;
  min-width: 0;
  padding: 5px 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  font-size: 12px;
}
.atlas-search input:focus-visible {
  outline: none;
}
.atlas-search kbd {
  font: 10px var(--mono);
}
#search-results {
  min-height: 0;
}
#search-status {
  margin: 10px 16px 4px;
  color: var(--faint);
  font: 10px/1.5 var(--mono);
}
#search-results ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#search-results a {
  display: grid;
  gap: 3px;
  padding: 8px 16px;
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}
#search-results a:hover,
#search-results a:focus-visible {
  background: #292921;
  color: #f1d7ab;
}
#search-results a:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: -1px;
}
#search-results small {
  color: var(--faint);
  font-size: 11px;
}
@media (max-width: 690px) {
  .atlas-search input {
    font-size: 16px;
  }
  .atlas-search kbd {
    display: none;
  }
  .index-head {
    min-height: 47px;
  }
  .index-head:has(#collections[hidden]) {
    padding-right: 44px;
  }
}
aside #floor-panel {
  position: static;
  margin: 8px 15px 15px;
  width: auto;
  flex-shrink: 0;
  background: #1d211f;
}
aside #floor-buttons {
  justify-content: space-between;
}
aside #floor-buttons button {
  min-width: 27px;
  min-height: 31px;
}
.elevation {
  grid-template-columns: minmax(0, 1fr);
}
.elevation input {
  min-width: 0;
}
@media (max-width: 850px) {
  main:has(#floor-panel:not([hidden])) {
    --map-fit-bottom: 169;
  }
}
@media (max-width: 690px) {
  .zoom-stack,
  main:has(#floor-panel:not([hidden])) .zoom-stack {
    display: flex;
    left: 10px;
    right: auto;
    bottom: 6px;
  }
  .zoom-stack .icon {
    width: 32px;
    height: 30px;
  }
  .zoom-stack .icon + .icon {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .controls-wrap {
    bottom: 46px;
  }
  #floor-panel {
    bottom: 105px;
  }
  .cut-config select {
    font-size: 9px;
  }
  .cut-config output {
    font-size: 8px;
  }
}
@media (max-width: 370px) {
  .elevation {
    min-width: 0;
    width: 100px;
  }
}

/* Marker kinds share the same symbols in the atlas, filters and connection actions. */
[data-kind='lamp'],
[data-kind='headstone'] {
  --marker-color: #efd098;
}
[data-kind='shortcut'] {
  --marker-color: #9bc3a6;
}
[data-kind='lift'] {
  --marker-color: #96cecb;
}
[data-kind='lever'],
[data-kind='gate'] {
  --marker-color: #d5af7e;
}
[data-kind='boss'] {
  --marker-color: #e6a19f;
}
[data-kind='entrance'] {
  --marker-color: #c1a9d8;
}
[data-kind='item'] {
  --marker-color: #d3d399;
}
.marker {
  color: var(--marker-color, var(--gold));
  border-color: var(--marker-color, var(--gold));
}
.marker[data-floor] {
  border-color: var(--floor-color);
}
.marker[data-floor][data-kind='lamp'] {
  color: var(--floor-color);
}
.marker.active,
.marker.linked {
  z-index: 2;
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}
.marker.active {
  z-index: 3;
  background: #403524;
}
.marker.active .label {
  display: none;
}
#marker-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
#marker-links line {
  stroke: var(--marker-color, var(--gold));
  stroke-width: 2;
  stroke-dasharray: 5 4;
  stroke-linecap: round;
  filter: drop-shadow(0 1px 1px #101213);
}
#marker-filter-toggle,
#marker-filters,
#marker-detail {
  background: #191d1df7;
  border: 1px solid #56564a;
  border-radius: 4px;
  box-shadow: 0 4px 18px #0005;
}
#marker-filter-toggle {
  position: absolute;
  left: 21px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  font: 11px var(--mono);
  color: var(--ink);
}
#marker-filter-toggle svg {
  width: 13px;
  height: 13px;
}
#marker-filter-toggle[aria-expanded='true'] {
  border-color: var(--gold);
  color: var(--gold);
}
#marker-filter-toggle:disabled {
  opacity: 0.5;
}
#marker-filters {
  position: absolute;
  z-index: 6;
  left: 21px;
  bottom: 45px;
  width: min(247px, calc(100% - 16px));
  max-height: calc(100% - 58px);
  overflow: auto;
  padding: 13px;
}
#marker-filters h2,
#marker-detail h2 {
  margin: 0 23px 7px 0;
  font: 22px/1.12 var(--serif);
  letter-spacing: -0.035em;
  color: var(--ink);
}
.panel-close {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 30px;
  height: 30px;
  font: 20px/1 var(--mono);
  color: var(--mute);
}
#marker-options {
  display: grid;
  gap: 2px;
}
#marker-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 5px 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink);
}
#marker-options input {
  accent-color: var(--gold);
  width: 15px;
  height: 15px;
  margin: 0;
}
#marker-options svg,
#marker-detail button svg {
  width: 16px;
  height: 16px;
  color: var(--marker-color, var(--gold));
  flex: none;
}
.filter-count {
  margin-left: auto;
  color: var(--faint);
  font: 10px var(--mono);
}
#marker-detail {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  width: max-content;
  max-width: min(275px, calc(100% - 12px));
  max-height: min(44%, 320px);
  overflow: auto;
  padding: 12px 14px;
}
#marker-kind {
  color: var(--marker-color, var(--gold));
  font-size: 10px;
  margin: 0 24px 5px 0;
}
#marker-detail h2 {
  font-size: 21px;
}
#marker-detail p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink);
}
#marker-detail #marker-location {
  color: var(--faint);
  font: 10px/1.4 var(--mono);
}
#marker-orbit {
  margin-top: 6px;
  padding: 4px 0;
  color: var(--gold);
  font-size: 12px;
}
#marker-orbit:hover {
  text-decoration: underline;
}
#marker-partners {
  display: grid;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 4px;
}
#marker-partners button,
#marker-overlaps button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: left;
  color: var(--gold);
  padding: 5px 0;
  font-size: 12px;
  line-height: 1.35;
}
#marker-partners button:hover,
#marker-overlaps button:hover,
.panel-close:hover {
  color: var(--ink);
}
@media (max-width: 690px) {
  #marker-filter-toggle {
    left: 146px;
    bottom: 6px;
    height: 32px;
  }
  #marker-filters {
    left: 8px;
    bottom: 44px;
  }
  #marker-detail {
    max-width: min(258px, calc(100% - 12px));
  }
  #marker-options label {
    min-height: 34px;
  }
  #marker-partners button,
  #marker-overlaps button {
    min-height: 32px;
  }
}
#marker-overlaps {
  margin-top: 6px;
  border-top: 1px solid var(--line);
  padding-top: 6px;
}
#marker-overlaps summary {
  font: 11px var(--mono);
  color: var(--mute);
  cursor: pointer;
}
