@font-face {
  font-family: "Neue Haas Grotesk Display";
  src: url("./fonts/Neue%20Haas%20Grotesk%20Display%20Pro%2045%20Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Display";
  src: url("./fonts/Neue%20Haas%20Grotesk%20Display%20Pro%2055%20Roman.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Display";
  src: url("./fonts/Neue%20Haas%20Grotesk%20Display%20Pro%2065%20Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000;
  --muted: #000;
  --paper: #fff;
  --paper-soft: #fff;
  --line: #000;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
  --min-layout-width: 760px;
  --filter-left: 104px;
  --filter-open-left: 88px;
  --filter-closed-top: 137.5px;
  --filter-open-top: 125px;
  --timeline-side-inset: 200px;
  --detail-square: min(310px, calc((100vw - 20px) / 2), calc(100vh - 20px));
  --detail-extra: calc(var(--fact-row) * 4);
  --fact-row: 25px;
  --title-block: 104px;
  --metric-block: 50px;
  --desktop-caption-font: 11px;
  --desktop-secondary-font: 12px;
  --desktop-control-font: 13px;
  --separ-strip-height: 100px;
  --filter-strip-height: 100px;
  --timeline-strip-height: 200px;
  --min-layout-height: calc(var(--separ-strip-height) + var(--filter-strip-height) + var(--timeline-strip-height));
  --layout-height: max(100vh, var(--min-layout-height));
  font-family: "Neue Haas Grotesk Display", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body, #app, #map {
  width: 100%;
  height: 100%;
  min-width: var(--min-layout-width);
  min-height: var(--min-layout-height);
  margin: 0;
}

html, body {
  overflow: hidden;
  background: #0b0b0b;
}

#app {
  position: relative;
  height: var(--layout-height);
  overflow: hidden;
}

body.is-initial-loading .filter-panel,
body.is-initial-loading .map-search,
body.is-initial-loading .timeline,
body.is-initial-loading .detail-panel {
  opacity: 0;
  pointer-events: none;
}

.filter-panel,
.map-search,
.timeline,
.detail-panel {
  transition: opacity 1300ms ease;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: block;
  opacity: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  transition: opacity 1300ms ease;
}

body.is-initial-loading .loading-overlay {
  opacity: 1;
}

body.is-loading-exit .loading-overlay {
  opacity: 0;
}

.loading-overlay[hidden] {
  display: none;
}

.loading-overlay canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.leaflet-container {
  width: 100%;
  height: 100%;
  background: #121212;
  font: inherit;
  cursor: default;
}

.leaflet-container.leaflet-grab {
  cursor: default;
}

.leaflet-container.leaflet-dragging,
.leaflet-container.leaflet-dragging .leaflet-grab,
.leaflet-container.leaflet-dragging .leaflet-interactive {
  cursor: move;
}

.cross-marker-canvas {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 450;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1300ms ease;
}

.building-outline-canvas {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 455;
  pointer-events: none;
  opacity: 1;
}

body.is-initial-loading:not(.is-real-revealing) .cross-marker-canvas {
  opacity: 0;
}

.boundary-canvas {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 445;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1300ms ease;
}

body.is-initial-loading:not(.is-real-revealing) .boundary-canvas {
  opacity: 0;
}

body.is-print-export,
body.is-print-export #app,
body.is-print-export #map {
  width: 100vw;
  height: 100vh;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

body.is-print-export-hide-ui .filter-panel,
body.is-print-export-hide-ui .timeline,
body.is-print-export-hide-ui .detail-panel,
body.is-print-export-hide-ui .view-mode-controls,
body.is-print-export-hide-ui .loading-overlay,
body.is-print-export-hide-ui .leaflet-control-container {
  display: none !important;
}

body.is-print-export-no-map .leaflet-tile-pane,
body.is-print-export-no-map .leaflet-overlay-pane {
  display: none !important;
}

@media print {
  @page {
    margin: 0;
  }

  html,
  body,
  #app,
  #map {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }
}

.outline-contrast-overlay {
  position: absolute;
  inset: 0;
  z-index: 440;
  background: rgba(0, 0, 0, 0.64);
  pointer-events: none;
}

.outline-contrast-overlay[hidden] {
  display: none;
}

.leaflet-control-attribution {
  background: transparent;
  font-size: 9px;
  opacity: 0.01;
}

.filter-panel {
  position: fixed;
  z-index: 640;
  left: var(--filter-left);
  top: var(--filter-closed-top);
  width: min(260px, var(--detail-square));
  --filter-line: rgba(255, 255, 255, 0.9);
  --filter-field-line: rgba(255, 255, 255, 0.52);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
  user-select: none;
  pointer-events: auto;
  transform: none;
}

.filter-panel.is-open {
  left: var(--filter-open-left);
  top: var(--filter-open-top);
  --filter-line: #000;
  --filter-field-line: #000;
  color: #000;
  text-shadow: none;
  box-shadow: var(--shadow);
}

.filter-brand-link {
  position: fixed;
  left: var(--filter-left);
  top: max(39px, calc(env(safe-area-inset-top) + 39px));
  z-index: 590;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
  text-decoration: none;
  text-shadow: none;
  white-space: nowrap;
  cursor: pointer;
}

body.is-initial-loading .filter-brand-link {
  z-index: 610;
}

.filter-brand-link:hover,
.filter-brand-link:focus-visible {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  outline: none;
}

.view-mode-controls {
  position: fixed;
  left: var(--filter-left);
  top: max(88px, calc(env(safe-area-inset-top) + 88px));
  z-index: 640;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  width: auto;
  min-width: 0;
  height: 24px;
  margin: 0;
  padding: 0;
}

.view-mode-controls[hidden] {
  display: none;
}

.view-mode-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
  text-align: left;
  text-shadow: none;
  white-space: nowrap;
  cursor: pointer;
}

.view-mode-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  opacity: 0;
}

.view-mode-button.is-active::after {
  opacity: 1;
}

.view-mode-controls .view-mode-button:hover::after,
.view-mode-controls .view-mode-button:focus-visible::after {
  opacity: 1;
}

.view-mode-button:hover,
.view-mode-button:focus-visible {
  outline: none;
}

.filter-toggle,
.filter-group-toggle {
  position: relative;
  display: grid;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}

.filter-toggle {
  grid-template-columns: max-content max-content 13px;
}

.filter-group-toggle {
  grid-template-columns: minmax(0, 1fr);
}

.filter-toggle {
  width: auto;
  min-height: var(--fact-row);
  padding-right: 14px;
  padding-left: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.05;
  text-align: left;
}

.filter-toggle:disabled {
  grid-template-columns: max-content;
  cursor: default;
}

.filter-toggle:disabled .filter-arrow {
  display: none;
}

.filter-panel.is-open .filter-toggle {
  width: 100%;
  min-height: var(--metric-block);
  align-content: center;
  padding: 0 34px 0 15px;
  border: 1px solid var(--filter-line);
  background: #fff;
  cursor: move;
}

.filter-panel.is-open .filter-toggle span:first-child {
  margin-left: 0;
}

.filter-toggle span:first-child {
  grid-column: 1;
}

.filter-clear {
  display: none;
  grid-column: 2;
  align-self: center;
  justify-self: end;
  margin-right: 4px;
  color: inherit;
  font: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
}

.filter-panel.is-open .filter-clear {
  display: block;
  position: absolute;
  right: 29px;
  top: 50%;
  transform: translateY(-50%);
}

.filter-clear:hover,
.filter-clear:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.filter-arrow,
.filter-group-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  display: block;
  width: 13px;
  height: 13px;
  transform: translateY(-50%);
}

.filter-toggle .filter-arrow {
  position: relative;
  right: auto;
  top: auto;
  transform: none;
}

.filter-panel.is-open .filter-toggle .filter-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.filter-group-arrow {
  display: none;
}

.filter-arrow::before,
.filter-arrow::after,
.filter-group-arrow::before,
.filter-group-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  height: 1.25px;
  border-radius: 0;
  background: currentColor;
  transform-origin: center;
}

.filter-arrow::before,
.filter-arrow::after {
  width: 7px;
}

.filter-group-arrow::before,
.filter-group-arrow::after {
  width: 7px;
}

.filter-arrow::before,
.filter-group-arrow::before {
  transform: translate(-78%, -50%) rotate(45deg);
}

.filter-arrow::after,
.filter-group-arrow::after {
  transform: translate(-22%, -50%) rotate(-45deg);
}

.filter-toggle[aria-expanded="true"] .filter-arrow::before,
.filter-group-toggle[aria-expanded="true"] .filter-group-arrow::before {
  transform: translate(-78%, -50%) rotate(-45deg);
}

.filter-toggle[aria-expanded="true"] .filter-arrow::after,
.filter-group-toggle[aria-expanded="true"] .filter-group-arrow::after {
  transform: translate(-22%, -50%) rotate(45deg);
}

.filter-panel.is-open .filter-toggle .filter-arrow::before,
.filter-panel.is-open .filter-toggle .filter-arrow::after {
  width: 100%;
}

.filter-panel.is-open .filter-toggle .filter-arrow::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.filter-panel.is-open .filter-toggle .filter-arrow::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.filter-menu {
  display: grid;
  gap: 0;
  width: 100%;
  margin-top: 0;
  border-top: 0;
  border-right: 1px solid var(--filter-field-line);
  border-left: 1px solid var(--filter-field-line);
}

.filter-panel.is-open .filter-menu {
  background: #fff;
}

.filter-panel.is-open .filter-group-toggle,
.filter-panel.is-open .filter-check {
  padding-left: 15px;
}

.filter-menu[hidden],
.filter-group-body[hidden] {
  display: none;
}

.filter-group {
  display: grid;
  gap: 0;
}

.filter-group-toggle {
  width: 100%;
  min-height: var(--fact-row);
  padding-right: 16px;
  border-bottom: 1px solid var(--filter-field-line);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.15;
  cursor: default;
}

.filter-group-body {
  display: grid;
  gap: 0;
  min-width: 0;
  padding-left: 0;
}

.filter-check {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  min-width: 0;
  min-height: var(--fact-row);
  padding: 0 16px;
  border-bottom: 1px solid var(--filter-line);
  color: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.filter-panel.is-open .filter-check {
  color: rgba(0, 0, 0, 0.52);
}

.filter-panel.is-open .filter-check:has(input:checked) {
  color: #000;
}

.filter-check input {
  appearance: none;
  width: 7px;
  height: 7px;
  margin: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  justify-self: start;
  align-self: center;
  transform: translateY(-0.5px);
}

.filter-check input:checked {
  background: currentColor;
}

.filter-check span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: var(--fact-row);
  white-space: nowrap;
}

.filter-visual-data {
  display: grid;
  gap: 0;
}

.filter-visual-data-row {
  display: grid;
  grid-template-columns: repeat(var(--visual-data-columns, 1), minmax(0, 1fr));
  min-width: 0;
}

.filter-visual-option {
  border-right: 1px solid var(--filter-line);
}

.filter-visual-option:last-child {
  border-right: 0;
}

.filter-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  width: 100%;
  border-bottom: 1px solid var(--filter-line);
}

.filter-range-field {
  position: relative;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  column-gap: 3px;
  min-width: 0;
  height: var(--fact-row);
  padding: 0 16px 0 15px;
  color: rgba(255, 255, 255, 0.52);
  font: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: var(--fact-row);
  letter-spacing: 0;
}

.filter-range-field span {
  display: block;
  min-width: 0;
  line-height: var(--fact-row);
  white-space: nowrap;
}

.filter-panel.is-open .filter-range-field {
  color: rgba(0, 0, 0, 0.52);
}

.filter-panel.is-open .filter-range-field:focus-within,
.filter-panel.is-open .filter-range-field:has(input:not(:placeholder-shown)) {
  color: #000;
}

.filter-panel.is-open .filter-range-field:has(input.is-auto-value) {
  color: rgba(0, 0, 0, 0.45);
}

.filter-range-field input {
  display: block;
  width: 100%;
  min-width: 0;
  height: var(--fact-row);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: var(--fact-row);
  letter-spacing: 0;
  outline: none;
}

.filter-autocomplete {
  position: relative;
  min-width: 0;
}

.filter-autocomplete:first-child {
  border-right: 1px solid var(--filter-field-line);
}

.filter-autocomplete input {
  position: relative;
  z-index: 1;
}

.filter-location input {
  width: 100%;
  min-width: 0;
  height: var(--fact-row);
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: var(--fact-row);
  letter-spacing: 0;
  outline: none;
}

.filter-panel.is-open .filter-location input {
  padding-left: 15px;
  color: #000;
}

.filter-range > input:first-child,
.filter-range > .filter-range-field:first-child {
  border-right: 1px solid var(--filter-field-line);
}

.filter-autocomplete-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 16px 0 15px;
  color: rgba(255, 255, 255, 0.52);
  font: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: var(--fact-row);
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
}

.filter-range input::placeholder {
  color: rgba(255, 255, 255, 0.52);
  opacity: 1;
}

.filter-panel.is-open .filter-range input {
  color: #000;
}

.filter-range input.is-auto-value {
  color: rgba(255, 255, 255, 0.52);
}

.filter-panel.is-open .filter-range input.is-auto-value {
  color: rgba(0, 0, 0, 0.45);
}

.filter-panel.is-open .filter-range input::placeholder {
  color: rgba(0, 0, 0, 0.52);
}

.filter-panel.is-open .filter-autocomplete-ghost {
  color: rgba(0, 0, 0, 0.52);
}

.filter-autocomplete-results {
  position: absolute;
  z-index: 5;
  left: 0;
  top: 100%;
  width: 100%;
  background: #fff;
  color: rgba(0, 0, 0, 0.52);
  text-shadow: none;
  border-top: 1px solid var(--filter-line);
}

.filter-autocomplete:first-child .filter-autocomplete-results {
  width: calc(100% + 1px);
  border-right: 1px solid var(--filter-field-line);
}

.filter-autocomplete-results[hidden] {
  display: none;
}

.filter-autocomplete-option {
  display: block;
  width: 100%;
  min-height: var(--fact-row);
  padding: 0 15px;
  border: 0;
  border-bottom: 1px solid var(--filter-line);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: var(--fact-row);
  letter-spacing: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.filter-autocomplete-option:hover,
.filter-autocomplete-option.is-active {
  color: #000;
}

.map-search {
  position: fixed;
  z-index: 646;
  left: var(--filter-left);
  top: max(calc(var(--separ-strip-height) + var(--filter-strip-height) - 45px), calc(var(--layout-height) - 155px));
  width: min(360px, calc(100vw - var(--filter-left) - 24px));
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
  pointer-events: auto;
}

.map-search-field {
  position: relative;
  display: block;
  min-height: 31px;
}

.map-search-field::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 1.67px;
  height: 21px;
  background: #fff;
  animation: map-search-caret 1s steps(1, end) infinite;
  pointer-events: none;
}

.map-search input {
  width: 100%;
  min-width: 0;
  height: 31px;
  margin: 0;
  padding: 0 0 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  caret-color: transparent;
  font: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
  outline: none;
  appearance: none;
}

.map-search input::-webkit-search-decoration,
.map-search input::-webkit-search-cancel-button {
  appearance: none;
}

.map-search input::placeholder {
  color: rgba(255, 255, 255, 0.62);
  opacity: 0;
  transition: opacity 260ms ease;
}

.map-search:hover input::placeholder,
.map-search input:focus::placeholder {
  opacity: 1;
}

.map-search.is-error .map-search-field {
  opacity: 0.62;
}

.map-search-results {
  position: absolute;
  left: calc(var(--filter-open-left) - var(--filter-left));
  bottom: 100%;
  display: grid;
  gap: 0;
  width: min(260px, var(--detail-square));
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  border-left: 1px solid #000;
  background: #fff;
  color: #000;
  text-shadow: none;
}

.map-search-results[hidden] {
  display: none;
}

.map-search-option {
  min-height: var(--fact-row);
  padding: 0 15px;
  border: 0;
  border-bottom: 1px solid #000;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}

.map-search-option:last-child {
  border-bottom: 0;
}

.map-search-option:hover,
.map-search-option:focus-visible,
.map-search-option.is-active {
  text-decoration: underline;
  text-underline-offset: 2px;
  outline: none;
}

@keyframes map-search-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.timeline {
  position: fixed;
  z-index: 650;
  left: var(--timeline-side-inset);
  right: var(--timeline-side-inset);
  top: max(calc(var(--separ-strip-height) + var(--filter-strip-height)), calc(var(--layout-height) - 110px));
  bottom: auto;
  height: 98px;
  pointer-events: auto;
  touch-action: none;
  --timeline-axis-y: 27px;
  --timeline-progress: 100%;
  --timeline-current-progress: 100%;
  --timeline-active-label-left: calc(var(--timeline-progress) - (var(--timeline-date-width) / 2));
  --timeline-range-start-label-left: calc(var(--timeline-range-start) - (var(--timeline-range-start-width) / 2));
  --timeline-combined-prefix-width: 0px;
  --timeline-symbol-gap: 0px;
  --timeline-label-mask-left: calc(var(--timeline-progress) - (var(--timeline-date-width) / 2));
  --timeline-label-mask-right: calc(var(--timeline-progress) + (var(--timeline-date-width) / 2));
  --timeline-range-start: 0%;
  --timeline-range-end: 100%;
  --timeline-range-compact-progress: 100%;
  --timeline-range-mid: 100%;
  --timeline-thumb-width: 82px;
  --timeline-date-width: 82px;
  --timeline-range-start-width: 82px;
  --timeline-today-width: 42px;
  --timeline-label-mask-pad: 10px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: var(--timeline-axis-y);
  display: block;
  width: 100%;
  height: 1.25px;
  background: linear-gradient(
    to right,
    transparent 0,
    transparent calc(var(--timeline-thumb-width) / 2),
    #fff calc(var(--timeline-thumb-width) / 2),
    #fff max(calc(var(--timeline-thumb-width) / 2), calc(var(--timeline-progress) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad))),
    transparent max(calc(var(--timeline-thumb-width) / 2), calc(var(--timeline-progress) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad))),
    transparent calc(var(--timeline-progress) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #fff calc(var(--timeline-progress) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #fff var(--timeline-current-progress),
    transparent var(--timeline-current-progress),
    transparent 100%
  );
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  transform: translateY(-50%);
  pointer-events: none;
}

.timeline::after {
  content: "";
  position: absolute;
  left: var(--timeline-current-progress);
  right: calc(var(--timeline-thumb-width) / 2);
  top: var(--timeline-axis-y);
  display: block;
  display: none;
  height: 1.25px;
  background-image: linear-gradient(to right, #fff 0 7px, transparent 7px 13px);
  background-repeat: round no-repeat;
  background-size: 13px 1.25px;
  mask-image: linear-gradient(
    to right,
    #000 0,
    #000 max(0px, calc(var(--timeline-progress) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad) - var(--timeline-current-progress))),
    transparent max(0px, calc(var(--timeline-progress) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad) - var(--timeline-current-progress))),
    transparent max(0px, calc(var(--timeline-progress) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad) - var(--timeline-current-progress))),
    #000 max(0px, calc(var(--timeline-progress) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad) - var(--timeline-current-progress))),
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0,
    #000 max(0px, calc(var(--timeline-progress) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad) - var(--timeline-current-progress))),
    transparent max(0px, calc(var(--timeline-progress) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad) - var(--timeline-current-progress))),
    transparent max(0px, calc(var(--timeline-progress) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad) - var(--timeline-current-progress))),
    #000 max(0px, calc(var(--timeline-progress) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad) - var(--timeline-current-progress))),
    #000 100%
  );
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  transform: translateY(-50%);
  pointer-events: none;
}

.timeline.has-today-marker::before {
  background: linear-gradient(
    to right,
    transparent 0,
    transparent calc(var(--timeline-thumb-width) / 2),
    #fff calc(var(--timeline-thumb-width) / 2),
    #fff var(--timeline-current-progress),
    transparent var(--timeline-current-progress),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    #000 0,
    #000 max(0px, calc(var(--timeline-progress) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad))),
    transparent max(0px, calc(var(--timeline-progress) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad))),
    transparent calc(var(--timeline-progress) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-progress) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0,
    #000 max(0px, calc(var(--timeline-progress) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad))),
    transparent max(0px, calc(var(--timeline-progress) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad))),
    transparent calc(var(--timeline-progress) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-progress) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 100%
  );
}

.timeline.has-today-marker::after {
  mask-image: linear-gradient(
    to right,
    transparent 0,
    transparent calc((var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc((var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    transparent calc((var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc((var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 100%
  );
}

.timeline-date {
  position: absolute;
  z-index: 4;
  top: var(--timeline-axis-y);
  display: block;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-shadow: none;
  white-space: nowrap;
  user-select: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.timeline-date-start {
  left: calc(var(--timeline-thumb-width) * -1);
  transform: translate(-50%, -50%);
  color: transparent;
}
.timeline-date-end { left: calc(100% + var(--timeline-thumb-width)); }
.timeline-date-end {
  color: transparent;
}
.timeline-date-active { left: var(--timeline-progress); }
.timeline.is-at-start .timeline-date-active {
  transform: translate(0, -50%);
}
.timeline-date-range-start { left: var(--timeline-range-start); }
.timeline.is-range-start-at-start .timeline-date-range-start {
  transform: translate(0, -50%);
}
.timeline-date-today { left: var(--timeline-current-progress); }

.timeline-date.is-archive-link {
  z-index: 8;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.05;
  cursor: pointer;
  pointer-events: auto;
}

.timeline.is-past-archive {
  left: var(--filter-left);
}

.timeline.is-past-archive .timeline-date-start {
  left: 0;
  transform: translate(0, -50%);
  color: transparent;
}

.timeline-date.is-future-label {
  z-index: 8;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.05;
  cursor: default;
  pointer-events: auto;
}

.timeline-date.is-future-label::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 9px);
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 2px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.timeline-date.is-future-label:hover::after,
.timeline-date.is-future-label:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.timeline-date.is-archive-link:hover,
.timeline-date.is-archive-link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  outline: none;
}

.timeline-date-active.is-range-compact {
  left: var(--timeline-active-label-left);
  text-align: left;
  transform: translate(0, -50%);
}

.timeline-date-range-start.is-range-compact {
  left: var(--timeline-range-start-label-left);
  text-align: left;
  transform: translate(0, -50%);
}

.timeline-date-active,
.timeline-date-range-start {
  pointer-events: auto;
  cursor: text;
}

.timeline-date-input {
  position: absolute;
  z-index: 9;
  top: var(--timeline-axis-y);
  width: 94px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-shadow: none;
  outline: none;
  transform: translate(-50%, -50%);
}

.timeline-date-input[hidden] {
  display: none;
}

.timeline-date[hidden] {
  display: none;
}

.timeline-date.is-range-hidden {
  visibility: hidden;
  pointer-events: none;
}

.timeline.is-filter-range .timeline-date-range-start,
.timeline.is-filter-range .timeline-date-active {
  background: transparent;
  box-shadow: none;
}

.timeline.is-filter-range::before {
  background: linear-gradient(
    to right,
    transparent 0,
    transparent var(--timeline-range-start),
    #fff var(--timeline-range-start),
    #fff var(--timeline-range-end),
    transparent var(--timeline-range-end),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(var(--timeline-range-start) - (var(--timeline-range-start-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-start) - (var(--timeline-range-start-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-start) + (var(--timeline-range-start-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-start) + (var(--timeline-range-start-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-compact-progress) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-compact-progress) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-compact-progress) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-compact-progress) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(var(--timeline-range-start) - (var(--timeline-range-start-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-start) - (var(--timeline-range-start-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-start) + (var(--timeline-range-start-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-start) + (var(--timeline-range-start-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-compact-progress) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-compact-progress) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-compact-progress) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-compact-progress) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 100%
  );
}

.timeline.is-past-archive.is-filter-range.is-range-start-at-start::before {
  background: linear-gradient(
    to right,
    transparent 0,
    transparent calc(var(--timeline-range-start-width) + var(--timeline-label-mask-pad)),
    #fff calc(var(--timeline-range-start-width) + var(--timeline-label-mask-pad)),
    #fff var(--timeline-range-end),
    transparent var(--timeline-range-end),
    transparent 100%
  );
}

.timeline.is-filter-range.is-range-compact::before {
  background: transparent;
  mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 100%
  );
}

.timeline.is-filter-range::after {
  left: 0;
  right: 0;
  background-image: linear-gradient(to right, #fff 0 7px, transparent 7px 13px);
  background-repeat: round no-repeat;
  background-size: 13px 1.25px;
  mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(var(--timeline-range-start) - (var(--timeline-range-start-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-start) - (var(--timeline-range-start-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-start) + (var(--timeline-range-start-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-start) + (var(--timeline-range-start-width) / 2) + var(--timeline-label-mask-pad)),
    #000 var(--timeline-range-start),
    transparent var(--timeline-range-start),
    transparent var(--timeline-range-end),
    #000 var(--timeline-range-end),
    #000 calc(var(--timeline-range-end) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-end) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-end) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-end) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(var(--timeline-range-start) - (var(--timeline-range-start-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-start) - (var(--timeline-range-start-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-start) + (var(--timeline-range-start-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-start) + (var(--timeline-range-start-width) / 2) + var(--timeline-label-mask-pad)),
    #000 var(--timeline-range-start),
    transparent var(--timeline-range-start),
    transparent var(--timeline-range-end),
    #000 var(--timeline-range-end),
    #000 calc(var(--timeline-range-end) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-end) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-end) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-end) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 100%
  );
}

.timeline.is-filter-range.is-range-compact::after {
  left: 0;
  right: 0;
  mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 100%
  );
}

.timeline.is-filter-range.has-today-marker::before {
  mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(var(--timeline-range-start) - (var(--timeline-range-start-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-start) - (var(--timeline-range-start-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-start) + (var(--timeline-range-start-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-start) + (var(--timeline-range-start-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-end) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-end) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-end) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-end) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(var(--timeline-range-start) - (var(--timeline-range-start-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-start) - (var(--timeline-range-start-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-start) + (var(--timeline-range-start-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-start) + (var(--timeline-range-start-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-end) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-end) - (var(--timeline-date-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-range-end) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-range-end) + (var(--timeline-date-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 100%
  );
}

.timeline.is-filter-range.is-range-compact.has-today-marker::before {
  mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 100%
  );
}

.timeline.is-filter-range.is-range-compact.has-today-marker::after {
  mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-left) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-label-mask-right) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) - (var(--timeline-today-width) / 2) - var(--timeline-label-mask-pad)),
    transparent calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 calc(var(--timeline-current-progress) + (var(--timeline-today-width) / 2) + var(--timeline-label-mask-pad)),
    #000 100%
  );
}

.timeline.is-filter-range .timeline-range,
.timeline.is-filter-range .timeline-hitbox,
.timeline.is-filter-range .timeline-stats {
  cursor: default;
}

.timeline-stats {
  position: absolute;
  z-index: 4;
  left: var(--timeline-stats-left, var(--timeline-active-label-left));
  top: calc(var(--timeline-axis-y) + 18px);
  display: grid;
  gap: 2px;
  min-width: 220px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
  white-space: nowrap;
  user-select: none;
  pointer-events: auto;
  cursor: ew-resize;
}

.timeline-stats.is-loading span {
  animation: timeline-stats-pulse 18s ease-in-out infinite;
}

@keyframes timeline-stats-pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.timeline-hitbox {
  position: absolute;
  z-index: 6;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  background: transparent;
  cursor: ew-resize;
  pointer-events: auto;
  touch-action: none;
}

.timeline-hitbox-start {
  z-index: 7;
}

.timeline-range {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 98px;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: ew-resize;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}

.timeline-range:focus { outline: none; }

.timeline-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 1.25px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.timeline-range::-webkit-slider-thumb {
  width: 92px;
  height: 36px;
  margin-top: -17.375px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.timeline-range::-moz-range-track {
  width: 100%;
  height: 1.25px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.timeline-range::-moz-range-thumb {
  width: 92px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.detail-panel {
  --detail-card-height: min(
    calc(var(--title-block) + var(--metric-block) + (var(--fact-row) * var(--detail-fact-count, 0))),
    calc(100vh - 20px)
  );
  position: fixed;
  z-index: 700;
  left: 50%;
  top: 50%;
  display: grid;
  grid-template-columns: var(--detail-card-height) var(--detail-square);
  grid-template-rows: var(--detail-card-height) 0;
  width: calc(var(--detail-card-height) + var(--detail-square));
  height: var(--detail-card-height);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: grab;
  user-select: none;
  touch-action: none;
  transform: translate3d(0, 8px, 0) scale(0.985);
  transform-origin: 50% 0;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 160ms ease-out;
}

.detail-panel.is-expanded {
  grid-template-rows: var(--detail-card-height) var(--detail-extra);
  height: calc(var(--detail-card-height) + var(--detail-extra));
}

.detail-panel.has-material-drawer:not(.has-no-images) {
  --detail-card-height: var(--detail-square);
  --title-block: 85px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: var(--detail-square) 0;
  width: calc(var(--detail-square) * 2);
  height: var(--detail-square);
}

.detail-panel.has-material-drawer:not(.has-no-images).is-expanded {
  grid-template-rows: var(--detail-square) var(--detail-extra);
  height: calc(var(--detail-square) + var(--detail-extra));
}

.detail-panel.has-no-images {
  --detail-extra: calc(var(--fact-row) * 8);
  grid-template-columns: minmax(0, 1fr);
  width: var(--detail-square);
  height: var(--detail-card-height);
}

.detail-panel.has-no-images.is-expanded {
  height: calc(var(--detail-square) + var(--detail-extra));
}

.detail-panel.is-open {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.detail-panel.is-search-location {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: var(--title-block);
  width: var(--detail-square);
  height: var(--title-block);
}

.detail-panel.is-search-location .detail-content {
  grid-column: 1;
  grid-template-rows: var(--title-block);
}

.detail-panel.is-search-location .detail-image,
.detail-panel.is-search-location .metric-grid,
.detail-panel.is-search-location .detail-list,
.detail-panel.is-search-location .detail-extra {
  display: none;
}

.detail-panel.is-search-location .detail-title-block {
  display: grid;
  grid-template-rows: 13px 16px minmax(0, 1fr);
  align-content: start;
  padding-top: 16px;
  padding-bottom: 12px;
}

.detail-panel.is-search-location .detail-meta {
  min-height: 13px;
  margin-bottom: 3px;
}

.detail-panel.is-search-location .detail-egid {
  min-height: 13px;
  margin-bottom: 6px;
}

.detail-panel.is-search-location .detail-egid[hidden] {
  display: block;
  visibility: hidden;
}

.detail-panel.is-search-location h2 {
  cursor: pointer;
}

.detail-meta.is-location-loading {
  color: rgba(0, 0, 0, 0.42);
}

.detail-panel.is-search-location h2:hover,
.detail-panel.is-search-location h2:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
  outline: none;
}

.detail-image {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  background-color: #111;
  background-position: center;
  background-size: 110%;
  border-right: 1px solid var(--line);
  touch-action: none;
}

.detail-panel.has-no-images .detail-image,
.detail-image[hidden] {
  display: none;
}

.detail-image:focus {
  outline: none;
}

.detail-image-viewport,
.detail-image-slide {
  position: absolute;
  inset: 0;
}

.detail-image-viewport {
  overflow: hidden;
}

.detail-image-slide {
  background-position: center;
  background-size: 110%;
  opacity: 0;
  pointer-events: none;
  transform: translateZ(0);
  transition: opacity 220ms ease;
}

.detail-image-slide.is-vector-detail {
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.detail-image-current {
  z-index: 1;
  opacity: 1;
}

.detail-image-next {
  z-index: 2;
  opacity: 0;
}

.detail-image.is-swapping .detail-image-next {
  opacity: 1;
}

.detail-image-slide.has-detail-marker::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  display: block;
  width: 7.875px;
  height: 7.875px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.detail-image:has(.detail-image-current.has-detail-marker) {
  cursor: pointer;
}

.detail-image-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.detail-image-nav[hidden] {
  display: none;
}

.detail-image-nav-prev {
  left: 8px;
  transform: translateY(-50%) rotate(90deg);
}

.detail-image-nav-next {
  right: 8px;
  transform: translateY(-50%) rotate(-90deg);
}

.detail-image-nav::before,
.detail-image-nav::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 1.25px;
  background: currentColor;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  transform-origin: center;
}

.detail-image-nav::before {
  transform: translate(-78%, -50%) rotate(45deg);
}

.detail-image-nav::after {
  transform: translate(-22%, -50%) rotate(-45deg);
}

.detail-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  width: 13px;
  height: 13px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.detail-close {
  right: 12px;
}

.detail-close::before,
.detail-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 100%;
  height: 1.25px;
  background: currentColor;
  transform-origin: center;
}

.detail-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.detail-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.detail-content {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-rows: var(--title-block) var(--metric-block) calc(var(--fact-row) * var(--detail-fact-count, 0));
  align-content: start;
  min-width: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.detail-panel.has-no-images .detail-content {
  grid-column: 1;
}

.detail-title-block {
  display: grid;
  align-content: center;
  grid-template-rows: auto auto minmax(0, auto);
  row-gap: 5px;
  min-height: 0;
  height: var(--title-block);
  padding: 0 16px;
  overflow: hidden;
}

.detail-meta {
  margin: 0;
  color: var(--ink);
  font-size: var(--desktop-caption-font);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-meta-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  text-transform: inherit;
  cursor: pointer;
}

.detail-meta-link:hover,
.detail-meta-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
  outline: none;
}

.detail-meta-separator {
  color: inherit;
}

.detail-egid,
.detail-building-egid {
  cursor: pointer;
}

.detail-egid[hidden],
.detail-building-egid[hidden] {
  display: none;
}

.detail-egid:hover,
.detail-egid:focus-visible,
.detail-building-egid:hover,
.detail-building-egid:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
  outline: none;
}

.detail-content h2 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
}

.metric-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: var(--metric-block);
  padding: 0 16px;
  background: var(--paper-soft);
  border-right: 1px solid var(--line);
}

.metric-grid > div:last-child {
  border-right: 0;
}

.metric-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: var(--desktop-caption-font);
  font-weight: 300;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.metric-grid strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: var(--desktop-control-font);
  font-weight: 500;
  line-height: 1.15;
}

.detail-list {
  display: grid;
  gap: 0;
  grid-auto-rows: var(--fact-row);
  width: 100%;
  margin: 0;
  min-height: 0;
}

.detail-list div {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 36% minmax(0, 1fr);
  gap: 9px;
  min-height: var(--fact-row);
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
  font-size: var(--desktop-caption-font);
  font-weight: 300;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.detail-list dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: var(--desktop-secondary-font);
  font-weight: 500;
  line-height: 1.15;
}

.detail-list div.has-expand dd {
  padding-right: 18px;
}

.detail-list div.has-expand {
  cursor: pointer;
}

.detail-list div.has-expand:focus-visible {
  outline: 1px solid var(--line);
  outline-offset: -2px;
}

.material-expand {
  position: absolute;
  z-index: 1;
  right: 8px;
  top: 50%;
  width: 25px;
  height: var(--fact-row);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
}

.material-expand::before,
.material-expand::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 1.25px;
  background: currentColor;
  transform-origin: center;
}

.material-expand::before {
  transform: translate(-78%, -50%) rotate(45deg);
}

.material-expand::after {
  transform: translate(-22%, -50%) rotate(-45deg);
}

.detail-panel.is-expanded .material-expand::before {
  transform: translate(-78%, -50%) rotate(-45deg);
}

.detail-panel.is-expanded .material-expand::after {
  transform: translate(-22%, -50%) rotate(45deg);
}

.detail-extra {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  background: var(--paper);
  visibility: hidden;
}

.detail-panel.has-no-images .detail-extra {
  grid-column: 1;
  grid-template-columns: minmax(0, 1fr);
}

.detail-panel.has-no-images .reuse-chart {
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.detail-panel.is-expanded .detail-extra {
  visibility: visible;
}

.mobile-separ-link {
  display: none;
}

.reuse-chart {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  min-width: 0;
  min-height: 0;
  padding: 0 16px;
  border-right: 1px solid var(--line);
  background: var(--paper);
  --reuse-axis-y: calc(var(--fact-row) * 2);
}

.reuse-end {
  position: relative;
  top: var(--reuse-axis-y);
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(-50%);
  user-select: none;
}

.reuse-track {
  position: relative;
  min-width: 0;
  height: calc(var(--fact-row) * 4);
}

.reuse-track::before {
  content: "";
  position: absolute;
  left: 0;
  width: var(--score-percent, 0%);
  top: var(--reuse-axis-y);
  height: 1.25px;
  background: #000;
  transform: translateY(-50%);
  pointer-events: none;
}

.reuse-track::after {
  content: "";
  position: absolute;
  left: var(--score-percent, 0%);
  right: 0;
  top: var(--reuse-axis-y);
  height: 1.25px;
  background-image: linear-gradient(to right, #000 0 7px, transparent 7px 13px);
  background-repeat: round no-repeat;
  background-size: 13px 1.25px;
  transform: translateY(-50%);
  pointer-events: none;
}

.reuse-chart strong {
  position: absolute;
  z-index: 2;
  left: var(--score-percent, 0%);
  top: var(--reuse-axis-y);
  display: block;
  width: max-content;
  min-width: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  transform: translateY(-50%);
}

.reuse-chart strong.is-score-right {
  text-align: right;
  transform: translate(calc(-100% + 10px), -50%);
}

.reuse-chart strong span {
  display: inline-block;
  margin-left: -10px;
  padding: 0 10px;
  background: var(--paper);
  white-space: nowrap;
}

.reuse-chart strong.is-score-right span {
  margin-left: 0;
  margin-right: -10px;
}

.reuse-chart strong small {
  position: absolute;
  left: 0;
  top: 18px;
  display: block;
  font: inherit;
  line-height: 1;
  white-space: nowrap;
}

.reuse-chart strong.is-score-right small {
  left: auto;
  right: 0;
}

.material-breakdown {
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.material-breakdown dl {
  display: grid;
  grid-template-rows: repeat(4, var(--fact-row));
  gap: 0;
  margin: 0;
}

.material-breakdown div {
  display: grid;
  grid-template-columns: calc(36% - 8px) minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: var(--fact-row);
  padding: 0 16px 0 24px;
  border-bottom: 1px solid var(--line);
}

.material-breakdown dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 300;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.material-breakdown dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.15;
  text-align: left;
}

@media (max-width: 700px) {
  :root {
    --min-layout-width: 0px;
    --detail-square: min(calc((100vw - 16px) / 2), calc(100vh - 16px));
    --detail-extra: calc(var(--fact-row) * 4);
    --fact-row: 18px;
    --title-block: 96px;
    --metric-block: 72px;
    --timeline-side-inset: 64px;
    --timeline-strip-height: 150px;
  }

  .detail-panel {
    width: calc(var(--detail-square) * 2);
    height: var(--detail-square);
  }
  .detail-panel.has-no-images {
    width: var(--detail-square);
  }
  .detail-panel.is-expanded {
    height: calc(var(--detail-square) + var(--detail-extra));
  }
  .detail-content {
    grid-template-rows: var(--title-block) var(--metric-block) calc(var(--fact-row) * var(--detail-fact-count, 0));
    overflow-y: auto;
  }
  .detail-title-block { padding: 9px 10px 7px; }
  .detail-meta { font-size: 8px; }
  .detail-content h2 {
    font-size: 13px;
  }
  .metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin: 0;
  }
  .metric-grid > div:nth-child(2n) { border-right: 1px solid var(--line); }
  .metric-grid > div:nth-child(3n) { border-right: 0; }
  .metric-grid > div:nth-child(-n + 2) { border-bottom: 0; }
  .metric-grid > div {
    min-height: var(--metric-block);
    padding: 0 8px;
  }
  .metric-label { font-size: 8px; }
  .metric-grid strong { font-size: 10px; }
  .detail-list {
    width: 100%;
    margin: 0;
  }
  .detail-list div {
    grid-template-columns: 39% minmax(0, 1fr);
    gap: 6px;
    padding: 0 8px;
  }
  .detail-list dt { font-size: 8px; }
  .detail-list dd { font-size: 9px; }
  .detail-extra {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .reuse-chart {
    gap: 8px;
    padding: 0 8px;
  }
  .reuse-end,
  .reuse-chart strong { font-size: 9px; }
  .reuse-chart strong small { top: 14px; }
  .material-breakdown dt { font-size: 8px; }
  .material-breakdown div {
    grid-template-columns: calc(39% - 4px) minmax(0, 1fr);
    min-height: var(--fact-row);
    gap: 6px;
    padding: 0 8px 0 12px;
  }
  .material-breakdown dd { font-size: 9px; }
  body.is-mobile-ui .timeline {
    display: none;
  }
  body.is-mobile-ui .filter-brand-link {
    display: none;
  }
  body.is-mobile-ui .map-search {
    display: none;
  }
  .filter-panel {
    left: var(--filter-left);
    top: var(--filter-closed-top);
    width: min(260px, var(--detail-square), calc(100vw - 24px));
    transform: none;
  }
  .filter-brand-link {
    left: var(--filter-left);
    top: max(39px, calc(env(safe-area-inset-top) + 39px));
  }
  .filter-panel.is-open {
    left: var(--filter-open-left);
    top: var(--filter-open-top);
  }
  .filter-group-toggle,
  .filter-check,
  .filter-range-field,
  .filter-range input {
    font-size: 9px;
  }
  body.is-mobile-ui .filter-panel {
    left: 8px;
    right: 8px;
    top: auto;
    bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 760;
    width: auto;
    color: #000;
    text-shadow: none;
    --filter-line: #000;
    --filter-field-line: #000;
  }
  body.is-mobile-ui .filter-panel.is-open {
    left: 8px;
    right: 8px;
    top: auto;
    bottom: max(8px, env(safe-area-inset-bottom));
    box-shadow: none;
  }
  body.is-mobile-ui .filter-toggle,
  body.is-mobile-ui .filter-panel.is-open .filter-toggle {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) 13px;
    width: 100%;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
  }
  body.is-mobile-ui .filter-clear {
    justify-self: end;
    margin-right: 10px;
    color: #000;
    font-size: 10px;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-clear {
    position: static;
    display: block;
    transform: none;
  }
  body.is-mobile-ui .filter-menu {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% - 1px);
    border: 1px solid #000;
    background: #fff;
  }
  body.is-mobile-ui .filter-group:not([data-filter-group="demolitionPeriod"]) {
    display: none;
  }
  body.is-mobile-ui .filter-group-toggle {
    min-height: 34px;
    padding: 0 14px;
    color: #000;
    font-size: 11px;
  }
  body.is-mobile-ui .filter-group-body {
    display: block;
  }
  body.is-mobile-ui .filter-range {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    border-bottom: 0;
  }
  body.is-mobile-ui .filter-range-field,
  body.is-mobile-ui .filter-panel.is-open .filter-range-field {
    height: 38px;
    padding: 0 14px;
    color: #000;
    font-size: 12px;
  }
  body.is-mobile-ui .filter-range-field input,
  body.is-mobile-ui .filter-range input {
    color: #000;
    font-size: 12px;
  }
  body.is-mobile-ui .view-mode-controls {
    left: 8px;
    right: 8px;
    top: auto;
    bottom: calc(max(8px, env(safe-area-inset-bottom)) + 45px);
    z-index: 755;
    display: flex;
    justify-content: space-between;
    gap: 0;
    width: auto;
    height: 38px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
  }
  body.is-mobile-ui .view-mode-controls[hidden] {
    display: none;
  }
  body.is-mobile-ui .view-mode-button {
    flex: 1 1 0;
    height: 36px;
    color: #000;
    font-size: 13px;
  }
  body.is-mobile-ui .view-mode-button + .view-mode-button {
    border-left: 1px solid #000;
  }
  body.is-mobile-ui .view-mode-button::after {
    left: 12px;
    right: 12px;
    bottom: 7px;
  }
  body.is-mobile-ui .detail-panel {
    left: 8px;
    right: 8px;
    top: auto;
    bottom: calc(max(8px, env(safe-area-inset-bottom)) + 90px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    width: auto;
    max-height: calc(100svh - 150px);
    height: auto;
    overflow-y: auto;
    cursor: default;
    touch-action: pan-y;
    transform: translate3d(0, 12px, 0);
    transform-origin: 50% 100%;
  }
  body.is-mobile-ui .detail-panel.is-open {
    transform: translate3d(0, 0, 0);
  }
  body.is-mobile-ui .detail-close {
    top: 13px;
    right: 13px;
  }
  body.is-mobile-ui .detail-content,
  body.is-mobile-ui .detail-panel.has-no-images .detail-content {
    grid-column: 1;
    grid-row: 1;
    grid-template-rows: 38px auto auto;
    height: auto;
    overflow: visible;
  }
  body.is-mobile-ui .metric-grid {
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 38px;
    border-bottom: 1px solid #000;
  }
  body.is-mobile-ui .metric-grid > div {
    display: none;
    min-height: 38px;
    padding: 0 38px 0 14px;
    border: 0;
  }
  body.is-mobile-ui .metric-grid > div:nth-child(2) {
    display: grid;
  }
  body.is-mobile-ui .metric-label {
    font-size: 9px;
  }
  body.is-mobile-ui .metric-grid strong {
    font-size: 13px;
  }
  body.is-mobile-ui .detail-title-block {
    grid-row: 2;
    padding: 12px 14px 10px;
    border-bottom: 1px solid #000;
  }
  body.is-mobile-ui .detail-meta {
    font-size: 9px;
  }
  body.is-mobile-ui .detail-content h2 {
    font-size: 13px;
  }
  body.is-mobile-ui .detail-list {
    grid-row: 3;
  }
  body.is-mobile-ui .detail-list div {
    grid-template-columns: 42% minmax(0, 1fr);
    min-height: 28px;
    padding: 0 14px;
  }
  body.is-mobile-ui .detail-list dt,
  body.is-mobile-ui .detail-list dd {
    font-size: 10px;
  }
  body.is-mobile-ui .detail-image {
    grid-column: 1;
    grid-row: 2;
    height: 160px;
    border-right: 0;
    border-bottom: 1px solid #000;
    background-size: cover;
  }
  body.is-mobile-ui .detail-panel.has-no-images .detail-image {
    display: none;
  }
  body.is-mobile-ui .detail-extra {
    display: none;
  }
  .mobile-separ-link {
    display: none;
  }
  body.is-mobile-ui .mobile-separ-link {
    grid-column: 1;
    grid-row: 3;
    display: block;
    min-height: 38px;
    padding: 11px 14px 0;
    border-top: 1px solid #000;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
  }
  body.is-mobile-ui .filter-brand-link {
    left: 16px;
    top: max(38px, calc(env(safe-area-inset-top) + 38px));
    display: inline-flex;
    color: #fff;
    font-size: 20px;
    line-height: 1.05;
    text-shadow: none;
  }
  body.is-mobile-ui .filter-panel,
  body.is-mobile-ui .filter-panel.is-open {
    left: 16px;
    right: auto;
    top: max(94px, calc(env(safe-area-inset-top) + 94px));
    bottom: auto;
    width: min(260px, calc(100vw - 32px));
    color: #fff;
    text-shadow: none;
    box-shadow: none;
    opacity: 1;
    --filter-line: #000;
    --filter-field-line: #000;
  }
  body.is-mobile-ui .filter-toggle,
  body.is-mobile-ui .filter-panel.is-open .filter-toggle {
    grid-template-columns: max-content 13px;
    width: auto;
    min-height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 20px;
    line-height: 1.05;
  }
  body.is-mobile-ui .filter-clear {
    display: none;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-clear {
    display: none;
  }
  body.is-mobile-ui .filter-menu {
    left: 0;
    right: auto;
    top: calc(100% + 8px);
    bottom: auto;
    width: min(260px, calc(100vw - 32px));
    border: 1px solid #000;
    background: #fff;
    color: #000;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle {
    color: #fff;
  }
  body.is-mobile-ui .filter-toggle .filter-arrow {
    color: currentColor;
  }
  body.is-mobile-ui .view-mode-controls {
    left: 16px;
    right: auto;
    top: max(136px, calc(env(safe-area-inset-top) + 136px));
    bottom: auto;
    width: min(172px, calc(100vw - 32px));
    height: 34px;
    border: 1px solid #000;
  }
  body.is-mobile-ui .view-mode-button {
    height: 32px;
  }
  body.is-mobile-ui .detail-panel {
    bottom: max(8px, env(safe-area-inset-bottom));
  }
  body.is-mobile-ui .filter-panel,
  body.is-mobile-ui .filter-panel.is-open {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100vw;
    color: #000;
    background: #fff;
    --filter-line: #000;
    --filter-field-line: #000;
  }
  body.is-mobile-ui .filter-toggle,
  body.is-mobile-ui .filter-panel.is-open .filter-toggle {
    grid-template-columns: max-content minmax(0, 1fr) 13px;
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border-top: 1px solid #000;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    background: #fff;
    color: #000;
    font-size: 20px;
    line-height: 1.05;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle {
    border-bottom: 1px solid #000;
  }
  body.is-mobile-ui .filter-clear,
  body.is-mobile-ui .filter-panel.is-open .filter-clear {
    position: static;
    display: block;
    justify-self: end;
    margin-right: 8px;
    color: #000;
    font-size: 11px;
    transform: none;
  }
  body.is-mobile-ui .filter-menu {
    left: 0;
    right: 0;
    top: auto;
    bottom: 44px;
    width: 100vw;
    max-height: min(68vh, 560px);
    overflow-y: auto;
    border-top: 1px solid #000;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    background: #fff;
    color: #000;
  }
  body.is-mobile-ui .filter-group:not([data-filter-group="demolitionPeriod"]) {
    display: grid;
  }
  body.is-mobile-ui [data-filter-group="demolitionPeriod"] .filter-group-toggle span:first-child {
    font-size: 0;
  }
  body.is-mobile-ui [data-filter-group="demolitionPeriod"] .filter-group-toggle span:first-child::before {
    content: "Demolition year";
    font-size: 11px;
  }
  body.is-mobile-ui .view-mode-controls {
    left: 0;
    right: 0;
    top: auto;
    bottom: 50px;
    width: 100vw;
    height: 38px;
    border-right: 0;
    border-left: 0;
  }
  body.is-mobile-ui .detail-panel {
    left: 0;
    right: 0;
    bottom: 44px;
    width: 100vw;
  }
  body.is-mobile-ui .filter-menu,
  body.is-mobile-ui .filter-group,
  body.is-mobile-ui .filter-group-body {
    min-width: 0;
  }
  body.is-mobile-ui .filter-group-body[hidden] {
    display: none;
  }
  body.is-mobile-ui .filter-group-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 13px;
    align-items: center;
    width: 100%;
    min-height: 38px;
    height: 38px;
    padding: 0 16px;
    border-bottom: 1px solid #000;
    color: #000;
    font-size: 11px;
    line-height: 1;
  }
  body.is-mobile-ui .filter-group-toggle span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.is-mobile-ui .filter-group-arrow {
    display: block;
    right: 16px;
    width: 13px;
    height: 13px;
  }
  body.is-mobile-ui .filter-check {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 34px;
    height: 34px;
    padding: 0 16px;
    border-bottom: 1px solid #000;
    color: rgba(0, 0, 0, 0.55);
    font-size: 11px;
    line-height: 1;
  }
  body.is-mobile-ui .filter-check:has(input:checked) {
    color: #000;
  }
  body.is-mobile-ui .filter-check input {
    width: 9px;
    height: 9px;
  }
  body.is-mobile-ui .filter-check span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.is-mobile-ui .filter-range {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 38px;
    border-bottom: 1px solid #000;
  }
  body.is-mobile-ui .filter-range-field,
  body.is-mobile-ui .filter-panel.is-open .filter-range-field {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 5px;
    height: 38px;
    padding: 0 16px;
    color: rgba(0, 0, 0, 0.55);
    font-size: 11px;
    line-height: 1;
  }
  body.is-mobile-ui .filter-range-field:focus-within,
  body.is-mobile-ui .filter-panel.is-open .filter-range-field:focus-within,
  body.is-mobile-ui .filter-range-field:has(input:not(:placeholder-shown)),
  body.is-mobile-ui .filter-panel.is-open .filter-range-field:has(input:not(:placeholder-shown)) {
    color: #000;
  }
  body.is-mobile-ui .filter-range-field input,
  body.is-mobile-ui .filter-range input,
  body.is-mobile-ui .filter-panel.is-open .filter-range input {
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 0;
    color: #000;
    font-size: 11px;
    line-height: 1;
  }
  body.is-mobile-ui .filter-location input {
    height: 38px;
    padding: 0 16px;
  }
  body.is-mobile-ui .filter-autocomplete-ghost {
    align-items: center;
    height: 38px;
    padding: 0 16px;
    font-size: 11px;
    line-height: 1;
  }
  body.is-mobile-ui .filter-autocomplete-option {
    min-height: 34px;
    height: 34px;
    padding: 0 16px;
    font-size: 11px;
    line-height: 34px;
  }
  body.is-mobile-ui .filter-toggle,
  body.is-mobile-ui .filter-panel.is-open .filter-toggle {
    min-height: 50px;
    height: 50px;
    padding: 0 16px;
  }
  body.is-mobile-ui .filter-menu {
    bottom: 50px;
  }
  body.is-mobile-ui .filter-group-toggle {
    min-height: 50px;
    height: 50px;
    padding: 0 16px;
  }
  body.is-mobile-ui .filter-check {
    min-height: 50px;
    height: 50px;
    padding: 0 16px;
  }
  body.is-mobile-ui .filter-range {
    min-height: 50px;
  }
  body.is-mobile-ui .filter-range-field,
  body.is-mobile-ui .filter-panel.is-open .filter-range-field {
    height: 50px;
    padding: 0 16px;
  }
  body.is-mobile-ui .filter-range-field input,
  body.is-mobile-ui .filter-range input,
  body.is-mobile-ui .filter-panel.is-open .filter-range input {
    height: 48px;
  }
  body.is-mobile-ui .filter-location input {
    height: 50px;
  }
  body.is-mobile-ui .filter-autocomplete-ghost {
    height: 50px;
  }
  body.is-mobile-ui .filter-autocomplete-option {
    min-height: 50px;
    height: 50px;
    line-height: 50px;
  }
  body.is-mobile-ui .filter-toggle[aria-expanded="true"] .filter-arrow::before {
    transform: translate(-78%, -50%) rotate(45deg);
  }
  body.is-mobile-ui .filter-toggle[aria-expanded="true"] .filter-arrow::after {
    transform: translate(-22%, -50%) rotate(-45deg);
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle .filter-arrow {
    right: 16px;
    width: 13px;
    height: 13px;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle .filter-arrow::before,
  body.is-mobile-ui .filter-panel.is-open .filter-toggle .filter-arrow::after {
    width: 7px;
  }
  body.is-mobile-ui .detail-panel,
  body.is-mobile-ui .detail-panel.has-no-images {
    left: 0;
    right: 0;
    top: auto;
    bottom: 50px;
    width: 100vw;
    max-height: calc(100svh - 50px);
    border-right: 0;
    border-left: 0;
  }
  body.is-mobile-ui .detail-content,
  body.is-mobile-ui .detail-panel.has-no-images .detail-content {
    grid-template-rows: auto 25px auto;
  }
  body.is-mobile-ui .detail-title-block {
    grid-row: 1;
    min-height: 58px;
    padding: 9px 38px 8px 16px;
  }
  body.is-mobile-ui .metric-grid {
    grid-row: 2;
    min-height: 25px;
    height: 25px;
  }
  body.is-mobile-ui .metric-grid > div {
    min-height: 25px;
    height: 25px;
    padding: 0 16px;
  }
  body.is-mobile-ui .metric-label {
    font-size: 8px;
    line-height: 1;
  }
  body.is-mobile-ui .metric-grid strong {
    font-size: 11px;
    line-height: 1;
  }
  body.is-mobile-ui .detail-list div {
    grid-template-columns: 42% minmax(0, 1fr);
    min-height: 25px;
    height: 25px;
    padding: 0 16px;
  }
  body.is-mobile-ui .detail-list dt,
  body.is-mobile-ui .detail-list dd {
    font-size: 10px;
    line-height: 1;
  }
  body.is-mobile-ui .detail-image {
    height: 136px;
  }
  body.is-mobile-ui .mobile-separ-link {
    min-height: 25px;
    height: 25px;
    padding: 6px 16px 0;
    font-size: 13px;
  }
  body.is-mobile-ui .filter-panel,
  body.is-mobile-ui .filter-panel.is-open {
    left: 16px;
    right: auto;
    top: max(137px, calc(env(safe-area-inset-top) + 137px));
    bottom: auto;
    width: min(260px, calc(100vw - 32px));
    background: transparent;
    color: #fff;
    text-shadow: none;
    box-shadow: none;
  }
  body.is-mobile-ui .filter-toggle,
  body.is-mobile-ui .filter-panel.is-open .filter-toggle {
    grid-template-columns: max-content max-content 13px;
    width: auto;
    min-height: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 20px;
    line-height: 1.05;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle {
    border-bottom: 0;
  }
  body.is-mobile-ui .filter-clear,
  body.is-mobile-ui .filter-panel.is-open .filter-clear {
    position: static;
    justify-self: end;
    margin: 0 4px 0 9px;
    color: #fff;
    font-size: 11px;
    transform: none;
  }
  body.is-mobile-ui .filter-clear {
    display: none;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-clear {
    display: block;
  }
  body.is-mobile-ui .filter-menu {
    left: 0;
    right: auto;
    top: calc(100% - 10px);
    bottom: auto;
    width: min(260px, calc(100vw - 32px));
    max-height: min(60vh, 430px);
    overflow-y: auto;
    border: 1px solid #000;
    background: #fff;
    color: #000;
  }
  body.is-mobile-ui .filter-group-toggle,
  body.is-mobile-ui .filter-check,
  body.is-mobile-ui .filter-range-field,
  body.is-mobile-ui .filter-panel.is-open .filter-range-field,
  body.is-mobile-ui .filter-location input,
  body.is-mobile-ui .filter-autocomplete-ghost,
  body.is-mobile-ui .filter-autocomplete-option {
    min-height: 25px;
    height: 25px;
    font-size: 11px;
    line-height: 1;
  }
  body.is-mobile-ui .filter-autocomplete-option {
    line-height: 25px;
  }
  body.is-mobile-ui .filter-range {
    min-height: 25px;
  }
  body.is-mobile-ui .filter-range-field input,
  body.is-mobile-ui .filter-range input,
  body.is-mobile-ui .filter-panel.is-open .filter-range input {
    height: 23px;
    font-size: 11px;
  }
  body.is-mobile-ui .filter-location input,
  body.is-mobile-ui .filter-autocomplete-ghost {
    padding: 0 16px;
    text-align: left;
  }
  body.is-mobile-ui .filter-location,
  body.is-mobile-ui .filter-location .filter-autocomplete {
    min-width: 0;
    width: 100%;
    text-align: left;
  }
  body.is-mobile-ui .filter-autocomplete-results {
    left: 0;
    right: auto;
    width: 100%;
    text-align: left;
  }
  body.is-mobile-ui .filter-menu .filter-group[data-filter-group="urbanMiningPotential"] {
    display: none !important;
  }
  body.is-mobile-ui [data-filter-group="demolitionPeriod"] .filter-group-toggle span:first-child {
    font-size: 11px;
  }
  body.is-mobile-ui [data-filter-group="demolitionPeriod"] .filter-group-toggle span:first-child::before {
    content: none;
  }
  body.is-mobile-ui .view-mode-controls {
    left: 16px;
    right: auto;
    top: max(88px, calc(env(safe-area-inset-top) + 88px));
    bottom: auto;
    display: inline-flex;
    gap: 15px;
    width: auto;
    height: 24px;
    border: 0;
    background: transparent;
    color: #fff;
  }
  body.is-mobile-ui .view-mode-controls[hidden] {
    display: none;
  }
  body.is-mobile-ui .view-mode-button {
    flex: 0 0 auto;
    min-width: 20px;
    height: 24px;
    color: #fff;
    font-size: 20px;
    line-height: 1.05;
  }
  body.is-mobile-ui .view-mode-button + .view-mode-button {
    border-left: 0;
  }
  body.is-mobile-ui .view-mode-button::after {
    left: 0;
    right: 0;
    bottom: -2px;
  }
  body.is-mobile-ui .detail-panel,
  body.is-mobile-ui .detail-panel.has-no-images {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    max-height: calc(100svh - 25px);
  }

  body.is-mobile-ui .filter-panel,
  body.is-mobile-ui .filter-panel.is-open {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100vw;
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none;
  }
  body.is-mobile-ui .filter-brand-link {
    left: 25px;
    top: 0;
    height: 75px;
    display: flex;
    align-items: center;
    color: #fff;
  }
  body.is-mobile-ui .view-mode-controls {
    left: 25px;
    right: auto;
    top: 75px;
    bottom: auto;
    height: 75px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    width: auto;
    border: 0;
    background: transparent;
    color: #fff;
  }
  body.is-mobile-ui .view-mode-controls[hidden] {
    display: none;
  }
  body.is-mobile-ui .view-mode-button {
    height: auto;
    color: #fff;
    font-size: 20px;
    line-height: 1;
  }
  body.is-mobile-ui .view-mode-button::after {
    bottom: -1px;
  }
  body.is-mobile-ui .filter-panel {
    height: 75px;
    background: transparent;
    color: #fff;
  }
  body.is-mobile-ui .filter-panel.is-open {
    display: flex;
    flex-direction: column-reverse;
    height: auto;
    max-height: min(70svh, 560px);
    overflow: hidden;
    background: #fff;
    color: #000;
  }
  body.is-mobile-ui .filter-toggle,
  body.is-mobile-ui .filter-panel.is-open .filter-toggle {
    grid-template-columns: max-content max-content 13px;
    justify-content: start;
    justify-items: start;
    column-gap: 7px;
    width: 100%;
    min-height: 75px;
    height: 75px;
    padding: 0 25px;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
    background: transparent;
    color: inherit;
    font-size: 20px;
    line-height: 1;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle {
    border-top: 1px solid #000;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle .filter-arrow {
    position: relative;
    right: auto;
    top: auto;
    width: 13px;
    height: 13px;
    transform: none;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle[aria-expanded="true"] .filter-arrow::before,
  body.is-mobile-ui .filter-panel.is-open .filter-toggle[aria-expanded="true"] .filter-arrow::after {
    width: 100%;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle[aria-expanded="true"] .filter-arrow::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle[aria-expanded="true"] .filter-arrow::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  body.is-mobile-ui .filter-clear {
    display: none;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-clear {
    display: block;
    position: static;
    justify-self: start;
    margin: 0;
    color: inherit;
    font-size: 11px;
    line-height: 1;
    transform: none;
  }
  body.is-mobile-ui .filter-menu {
    position: static;
    width: 100%;
    max-width: none;
    max-height: calc(min(70svh, 560px) - 75px);
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #000;
    box-shadow: none;
  }
  body.is-mobile-ui .filter-menu,
  body.is-mobile-ui .filter-group,
  body.is-mobile-ui .filter-group-body,
  body.is-mobile-ui .filter-range,
  body.is-mobile-ui .filter-location,
  body.is-mobile-ui .filter-location .filter-autocomplete {
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  body.is-mobile-ui .filter-group-toggle,
  body.is-mobile-ui .filter-check,
  body.is-mobile-ui .filter-range-field,
  body.is-mobile-ui .filter-panel.is-open .filter-range-field,
  body.is-mobile-ui .filter-location input,
  body.is-mobile-ui .filter-autocomplete-ghost,
  body.is-mobile-ui .filter-autocomplete-option {
    width: 100%;
    min-height: 25px;
    height: 25px;
    padding: 0 25px;
    box-sizing: border-box;
    font-size: 11px;
    line-height: 1;
    text-align: left;
  }
  body.is-mobile-ui .filter-group-toggle {
    grid-template-columns: minmax(0, 1fr) 13px;
    border-bottom: 1px solid #000;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-group-toggle,
  body.is-mobile-ui .filter-panel.is-open .filter-check,
  body.is-mobile-ui .filter-panel.is-open .filter-range-field {
    padding: 0 25px;
  }
  body.is-mobile-ui .filter-group-toggle span:first-child,
  body.is-mobile-ui .filter-check span,
  body.is-mobile-ui .filter-range-field span,
  body.is-mobile-ui .filter-location input,
  body.is-mobile-ui .filter-autocomplete-ghost,
  body.is-mobile-ui .filter-autocomplete-option {
    justify-self: start;
    text-align: left;
  }
  body.is-mobile-ui .filter-range {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 25px;
  }
  body.is-mobile-ui .filter-range > input:first-child,
  body.is-mobile-ui .filter-range > .filter-range-field:first-child,
  body.is-mobile-ui .filter-autocomplete:first-child {
    border-right: 1px solid #000;
    border-bottom: 0;
  }
  body.is-mobile-ui .filter-range-field input,
  body.is-mobile-ui .filter-range input,
  body.is-mobile-ui .filter-panel.is-open .filter-range input {
    height: 23px;
    padding: 0;
    font-size: 11px;
    text-align: left;
  }
  body.is-mobile-ui .filter-range.filter-location input,
  body.is-mobile-ui .filter-panel.is-open .filter-range.filter-location input {
    padding: 0 25px;
  }
  body.is-mobile-ui .filter-autocomplete-results {
    left: 0;
    right: auto;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    text-align: left;
  }
  body.is-mobile-ui .filter-location .filter-autocomplete:first-child .filter-autocomplete-results {
    width: 100%;
    border-right: 0;
  }
  body.is-mobile-ui .filter-menu .filter-group[data-filter-group="urbanMiningPotential"] {
    display: none !important;
  }
  body.is-mobile-ui .detail-panel,
  body.is-mobile-ui .detail-panel.has-no-images {
    bottom: 75px;
    max-height: calc(100svh - 75px);
  }

  /* Mobile iOS pass. Keep this final block together for quick rollback. */
  body.is-mobile-ui {
    --mobile-edge: 25px;
    --mobile-separ-block: 75px;
    --mobile-control-block: 50px;
    --mobile-row: 25px;
    --mobile-hit-area: 44px;
    --mobile-control-font: 17px;
    --mobile-secondary-font: 13px;
    --mobile-caption-font: 12px;
  }
  body.is-mobile-ui .filter-brand-link {
    left: var(--mobile-edge);
    top: 0;
    height: var(--mobile-separ-block);
  }
  body.is-mobile-ui .view-mode-controls {
    left: var(--mobile-edge);
    top: calc(var(--mobile-separ-block) - 25px);
    height: var(--mobile-control-block);
  }
  body.is-mobile-ui .view-mode-button {
    height: auto;
    font-size: var(--mobile-control-font);
    line-height: 1;
  }
  body.is-mobile-ui .view-mode-button::after {
    bottom: -1px;
  }
  body.is-mobile-ui .filter-panel {
    height: var(--mobile-control-block);
  }
  body.is-mobile-ui .filter-panel.is-open {
    max-height: min(70svh, 560px);
  }
  body.is-mobile-ui .filter-toggle,
  body.is-mobile-ui .filter-panel.is-open .filter-toggle {
    grid-template-columns: max-content 13px;
    min-height: var(--mobile-control-block);
    height: var(--mobile-control-block);
    padding: 0 var(--mobile-edge);
    font-size: var(--mobile-control-font);
  }
  body.is-mobile-ui .filter-clear,
  body.is-mobile-ui .filter-panel.is-open .filter-clear {
    display: none !important;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle .filter-arrow {
    position: relative;
    right: auto;
    top: auto;
    width: 13px;
    height: 13px;
    transform: none;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle[aria-expanded="true"] .filter-arrow::before,
  body.is-mobile-ui .filter-panel.is-open .filter-toggle[aria-expanded="true"] .filter-arrow::after {
    width: 7px;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle[aria-expanded="true"] .filter-arrow::before {
    transform: translate(-78%, -50%) rotate(-45deg);
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle[aria-expanded="true"] .filter-arrow::after {
    transform: translate(-22%, -50%) rotate(45deg);
  }
  body.is-mobile-ui .filter-menu {
    max-height: calc(min(70svh, 560px) - var(--mobile-control-block));
    overflow-x: hidden;
  }
  body.is-mobile-ui .filter-group-toggle,
  body.is-mobile-ui .filter-check,
  body.is-mobile-ui .filter-range-field,
  body.is-mobile-ui .filter-panel.is-open .filter-range-field,
  body.is-mobile-ui .filter-location input,
  body.is-mobile-ui .filter-autocomplete-ghost,
  body.is-mobile-ui .filter-autocomplete-option {
    min-height: var(--mobile-row);
    height: var(--mobile-row);
    padding: 0 var(--mobile-edge);
    font-size: var(--mobile-secondary-font);
    line-height: 1;
  }
  body.is-mobile-ui .filter-group-toggle,
  body.is-mobile-ui .filter-check {
    position: relative;
  }
  body.is-mobile-ui .filter-group-toggle::before,
  body.is-mobile-ui .filter-check::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: var(--mobile-hit-area);
    transform: translateY(-50%);
  }
  body.is-mobile-ui .filter-range {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: var(--mobile-row);
  }
  body.is-mobile-ui .filter-range-field input,
  body.is-mobile-ui .filter-range input,
  body.is-mobile-ui .filter-panel.is-open .filter-range input {
    height: calc(var(--mobile-row) - 2px);
    font-size: var(--mobile-caption-font);
  }
  body.is-mobile-ui .filter-range.filter-location input,
  body.is-mobile-ui .filter-panel.is-open .filter-range.filter-location input {
    padding: 0 var(--mobile-edge);
  }
  body.is-mobile-ui .detail-panel,
  body.is-mobile-ui .detail-panel.has-no-images {
    bottom: var(--mobile-control-block);
    max-height: calc(100svh - var(--mobile-control-block));
  }

  body.is-mobile-ui .filter-panel.is-open .filter-toggle {
    border-top: 0;
  }
  body.is-mobile-ui .filter-menu {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  body.is-mobile-ui .filter-menu::-webkit-scrollbar,
  body.is-mobile-ui .filter-autocomplete-results::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  body.is-mobile-ui .filter-group-toggle {
    grid-template-columns: minmax(0, 1fr) 13px;
  }
  body.is-mobile-ui .filter-group-arrow,
  body.is-mobile-ui .filter-panel.is-open .filter-toggle .filter-arrow {
    position: absolute;
    left: auto;
    right: var(--mobile-edge);
    top: 50%;
    width: 13px;
    height: 13px;
    transform: translateY(-50%);
  }
  body.is-mobile-ui .filter-toggle,
  body.is-mobile-ui .filter-panel.is-open .filter-toggle {
    grid-template-columns: minmax(0, 1fr) 13px;
    padding-right: calc(var(--mobile-edge) + 20px);
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle[aria-expanded="true"] .filter-arrow::before,
  body.is-mobile-ui .filter-panel.is-open .filter-toggle[aria-expanded="true"] .filter-arrow::after {
    width: 7px;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle[aria-expanded="true"] .filter-arrow::before {
    transform: translate(-78%, -50%) rotate(-45deg);
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle[aria-expanded="true"] .filter-arrow::after {
    transform: translate(-22%, -50%) rotate(45deg);
  }

  body.is-mobile-ui,
  body.is-mobile-ui #app {
    overflow: hidden !important;
  }
  body.is-mobile-ui .filter-panel,
  body.is-mobile-ui .filter-panel *,
  body.is-mobile-ui .filter-menu,
  body.is-mobile-ui .filter-autocomplete-results {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  body.is-mobile-ui .filter-panel::-webkit-scrollbar,
  body.is-mobile-ui .filter-panel *::-webkit-scrollbar,
  body.is-mobile-ui .filter-menu::-webkit-scrollbar,
  body.is-mobile-ui .filter-autocomplete-results::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  body.is-mobile-ui .filter-menu {
    scrollbar-gutter: auto !important;
  }
  body.is-mobile-ui .filter-group-visual-data {
    display: none !important;
  }
  body.is-mobile-ui .filter-panel:not(.is-open) .filter-toggle {
    grid-template-columns: max-content 13px;
    justify-content: start;
    justify-items: start;
    padding: 0 var(--mobile-edge);
  }
  body.is-mobile-ui .filter-panel:not(.is-open) .filter-toggle .filter-arrow {
    position: relative;
    right: auto;
    top: auto;
    width: 13px;
    height: 13px;
    transform: none;
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle {
    grid-template-columns: minmax(0, 1fr) 13px;
    padding-left: var(--mobile-edge);
    padding-right: calc(var(--mobile-edge) + 20px);
  }
  body.is-mobile-ui .filter-group-arrow,
  body.is-mobile-ui .filter-panel.is-open .filter-toggle .filter-arrow {
    right: var(--mobile-edge) !important;
  }
  body.is-mobile-ui .filter-menu .filter-group[data-filter-group] .filter-group-toggle span:first-child {
    font-size: var(--mobile-secondary-font);
    line-height: var(--mobile-row);
  }
  body.is-mobile-ui .filter-group-toggle,
  body.is-mobile-ui .filter-check,
  body.is-mobile-ui .filter-range-field,
  body.is-mobile-ui .filter-panel.is-open .filter-range-field,
  body.is-mobile-ui .filter-location input,
  body.is-mobile-ui .filter-autocomplete-ghost,
  body.is-mobile-ui .filter-autocomplete-option {
    align-items: center;
    line-height: var(--mobile-row);
  }
  body.is-mobile-ui .filter-range-field,
  body.is-mobile-ui .filter-panel.is-open .filter-range-field {
    grid-template-columns: max-content max-content;
    justify-content: start;
    column-gap: 4px;
    padding-left: var(--mobile-edge);
    padding-right: 10px;
  }
  body.is-mobile-ui .filter-check span,
  body.is-mobile-ui .filter-range-field span,
  body.is-mobile-ui .filter-range-field input,
  body.is-mobile-ui .filter-range input,
  body.is-mobile-ui .filter-location input,
  body.is-mobile-ui .filter-autocomplete-ghost,
  body.is-mobile-ui .filter-autocomplete-option {
    line-height: var(--mobile-row);
  }
  body.is-mobile-ui .filter-range-field input,
  body.is-mobile-ui .filter-range input,
  body.is-mobile-ui .filter-panel.is-open .filter-range input {
    height: var(--mobile-row);
  }
  body.is-mobile-ui .filter-range-field input,
  body.is-mobile-ui .filter-panel.is-open .filter-range-field input {
    width: auto;
    min-width: 4.5ch;
    max-width: 10ch;
  }
  body.is-mobile-ui .filter-check input {
    align-self: center;
    transform: translateY(-0.5px);
  }
  body.is-mobile-ui .filter-menu .filter-group[data-filter-group="demolitionPeriod"] .filter-group-toggle span:first-child::before {
    content: none !important;
  }
  body.is-mobile-ui .filter-panel.is-keyboard-lifted {
    z-index: 1260;
  }
  body.is-mobile-ui .filter-group.is-keyboard-floating {
    position: fixed !important;
    left: var(--mobile-edge);
    right: var(--mobile-edge);
    bottom: calc(var(--mobile-keyboard-inset, 0px) + 10px + env(safe-area-inset-bottom));
    z-index: 1280;
    display: grid !important;
    overflow: visible;
    background: #fff;
    border: 1px solid #000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transform: translate3d(0, 0, 0);
    transition: bottom 180ms ease, transform 180ms ease, opacity 160ms ease;
  }
  body.is-mobile-ui .filter-group.is-keyboard-floating .filter-group-toggle {
    border-bottom: 1px solid #000;
  }
  body.is-mobile-ui .filter-group.is-keyboard-floating .filter-group-body,
  body.is-mobile-ui .filter-group.is-keyboard-floating .filter-group-body[hidden] {
    display: block;
  }
  body.is-mobile-ui .filter-group.is-keyboard-floating .filter-range {
    border-bottom: 0;
  }
  body.is-mobile-ui .filter-group.is-keyboard-floating .filter-autocomplete-results {
    z-index: 1290;
    max-height: min(190px, calc(100svh - var(--mobile-keyboard-inset, 0px) - 150px));
  }
  body.is-mobile-ui.is-initial-loading .filter-panel,
  body.is-mobile-ui.is-initial-loading .filter-toggle,
  body.is-mobile-ui.is-initial-loading .filter-toggle .filter-arrow {
    opacity: 0 !important;
    pointer-events: none !important;
  }
  body.is-mobile-ui .filter-panel:not(.is-open) .filter-toggle .filter-arrow::before {
    transform: translate(-78%, -50%) rotate(-45deg);
  }
  body.is-mobile-ui .filter-panel:not(.is-open) .filter-toggle .filter-arrow::after {
    transform: translate(-22%, -50%) rotate(45deg);
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle[aria-expanded="true"] .filter-arrow::before {
    transform: translate(-78%, -50%) rotate(45deg);
  }
  body.is-mobile-ui .filter-panel.is-open .filter-toggle[aria-expanded="true"] .filter-arrow::after {
    transform: translate(-22%, -50%) rotate(-45deg);
  }
  body.is-mobile-ui .detail-panel,
  body.is-mobile-ui .detail-panel.has-no-images {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    width: 100vw;
    height: auto;
    max-height: calc(100svh - var(--mobile-separ-block));
    overflow-y: auto;
    overflow-x: hidden;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: none;
    cursor: default;
    touch-action: pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  body.is-mobile-ui .detail-panel::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  body.is-mobile-ui .detail-panel.is-expanded,
  body.is-mobile-ui .detail-panel.has-no-images.is-expanded {
    height: auto;
  }
  body.is-mobile-ui .detail-content,
  body.is-mobile-ui .detail-panel.has-no-images .detail-content {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-rows: 75px auto auto;
    height: auto;
    overflow: visible;
  }
  body.is-mobile-ui .detail-title-block {
    grid-row: 1;
    display: grid;
    align-content: center;
    grid-template-rows: auto auto 18px;
    row-gap: 2px;
    min-height: 75px;
    height: 75px;
    padding: 0 calc(var(--mobile-edge) + 24px) 0 var(--mobile-edge);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
  }
  body.is-mobile-ui .detail-meta,
  body.is-mobile-ui .detail-meta-link,
  body.is-mobile-ui .detail-egid,
  body.is-mobile-ui .detail-building-egid {
    margin: 0;
    font-size: var(--mobile-caption-font);
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.is-mobile-ui .detail-meta {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
  }
  body.is-mobile-ui .detail-meta-link {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 34%;
    text-decoration: none;
  }
  body.is-mobile-ui .detail-meta-link:hover,
  body.is-mobile-ui .detail-meta-link:focus-visible,
  body.is-mobile-ui .detail-meta-link:active,
  body.is-mobile-ui .detail-egid:hover,
  body.is-mobile-ui .detail-egid:focus-visible,
  body.is-mobile-ui .detail-egid:active,
  body.is-mobile-ui .detail-building-egid:hover,
  body.is-mobile-ui .detail-building-egid:focus-visible,
  body.is-mobile-ui .detail-building-egid:active {
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  body.is-mobile-ui .detail-meta-separator {
    flex: 0 0 auto;
    padding: 0 4px;
  }
  body.is-mobile-ui .detail-egid {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.05;
    white-space: normal;
  }
  body.is-mobile-ui .detail-building-egid {
    display: none;
  }
  body.is-mobile-ui .detail-content h2 {
    display: block;
    margin: 0;
    overflow: hidden;
    font-size: var(--mobile-control-font);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.is-mobile-ui .detail-close {
    top: 18px;
    right: var(--mobile-edge);
    width: 13px;
    height: 13px;
  }
  body.is-mobile-ui .metric-grid {
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: var(--mobile-row);
    min-height: 0;
    height: auto;
    border-top: 0;
    border-bottom: 0;
    overflow: visible;
  }
  body.is-mobile-ui .metric-grid > div,
  body.is-mobile-ui .metric-grid > div:nth-child(2) {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: var(--mobile-row);
    height: var(--mobile-row);
    padding: 0 var(--mobile-edge);
    border: 0;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  body.is-mobile-ui .metric-grid > div:nth-child(2) {
    order: 1;
  }
  body.is-mobile-ui .metric-grid > div:nth-child(1) {
    order: 2;
  }
  body.is-mobile-ui .metric-grid > div:nth-child(3) {
    order: 3;
  }
  body.is-mobile-ui .metric-grid > div.is-empty-detail-row {
    display: none;
  }
  body.is-mobile-ui .metric-label,
  body.is-mobile-ui .detail-list dt {
    margin: 0;
    color: var(--muted);
    font-size: var(--mobile-caption-font);
    font-weight: 400;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.is-mobile-ui .metric-grid strong,
  body.is-mobile-ui .detail-list dd {
    margin: 0;
    min-width: 0;
    color: var(--ink);
    font-size: var(--mobile-secondary-font);
    font-weight: 500;
    line-height: 1;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.is-mobile-ui .detail-list {
    grid-row: 3;
    display: grid;
    grid-auto-rows: var(--mobile-row);
    width: 100%;
    margin: 0;
    overflow: visible;
  }
  body.is-mobile-ui .detail-list div {
    grid-template-columns: 42% minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: var(--mobile-row);
    height: var(--mobile-row);
    padding: 0 var(--mobile-edge);
    border-bottom: 1px solid var(--line);
  }
  body.is-mobile-ui .detail-list div.has-expand dd {
    padding-right: 20px;
  }
  body.is-mobile-ui .detail-list div.has-expand {
    cursor: pointer;
  }
  body.is-mobile-ui .detail-list div.has-expand:hover dt,
  body.is-mobile-ui .detail-list div.has-expand:hover dd,
  body.is-mobile-ui .detail-list div.has-expand:focus-visible dt,
  body.is-mobile-ui .detail-list div.has-expand:focus-visible dd,
  body.is-mobile-ui .detail-list div.has-expand:active dt,
  body.is-mobile-ui .detail-list div.has-expand:active dd {
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  body.is-mobile-ui .material-expand {
    right: var(--mobile-edge);
  }
  body.is-mobile-ui .detail-extra {
    grid-column: 1;
    grid-row: 2;
    display: none;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    overflow: visible;
    visibility: hidden;
  }
  body.is-mobile-ui .detail-panel.is-expanded .detail-extra {
    display: grid;
    visibility: visible;
  }
  body.is-mobile-ui .reuse-chart {
    display: none;
  }
  body.is-mobile-ui .material-breakdown {
    min-height: 0;
    overflow: visible;
  }
  body.is-mobile-ui .material-breakdown dl {
    display: grid;
    grid-auto-rows: var(--mobile-row);
    grid-template-rows: none;
    margin: 0;
  }
  body.is-mobile-ui .material-breakdown div {
    grid-template-columns: 42% minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: var(--mobile-row);
    height: var(--mobile-row);
    padding: 0 var(--mobile-edge);
    border-bottom: 1px solid var(--line);
  }
  body.is-mobile-ui .material-breakdown dt,
  body.is-mobile-ui .material-breakdown dd {
    margin: 0;
    min-width: 0;
    font-size: var(--mobile-caption-font);
    font-weight: 400;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.is-mobile-ui .material-breakdown dd {
    color: var(--ink);
    font-size: var(--mobile-secondary-font);
    font-weight: 500;
  }
  body.is-mobile-ui .detail-image {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    height: 136px;
    border: 0;
    border-bottom: 0;
    background-size: cover;
  }
  body.is-mobile-ui .detail-panel.has-no-images .detail-image,
  body.is-mobile-ui .mobile-separ-link {
    display: none !important;
  }
  body.is-mobile-ui:has(.detail-panel.is-open) .filter-panel {
    opacity: 0 !important;
    pointer-events: none !important;
  }
  body.is-mobile-ui .detail-image-slide.is-vector-detail {
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
}

@media (max-width: 430px) {
  :root {
    --timeline-side-inset: 58px;
  }

  .timeline {
    top: max(calc(var(--separ-strip-height) + var(--filter-strip-height)), calc(var(--layout-height) - 128px));
    height: 122px;
    --timeline-axis-y: 33px;
    --timeline-thumb-width: 44px;
    --timeline-date-width: 68px;
    --timeline-range-start-width: 68px;
  }
  .timeline-date-start {
    left: -38px;
  }
  .timeline-date-end {
    left: calc(100% + 38px);
  }
  .timeline-date.is-archive-link,
  .timeline-date.is-future-label {
    font-size: 15px;
  }
  .timeline-stats {
    width: min(280px, calc(100vw - 32px));
  }
}
