:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #193c3b;
  background: #112b35;
  font-synthesis: none;
  --teal: #126b61;
  --muted: #617170;
  --line: #dce2db;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  cursor: pointer;
}
button:focus-visible,
summary:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #bc8d31;
  outline-offset: 3px;
}
.masthead {
  height: 78px;
  background: #f8f7f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 750;
}
.brand-mark {
  background: #193c3b;
  color: #f3eedf;
  font-family: Georgia, serif;
  letter-spacing: -3px;
  font-size: 24px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding-right: 3px;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 500;
  margin-top: 5px;
  text-transform: uppercase;
}
.website-link {
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid #9bafa6;
  padding-bottom: 4px;
}
main {
  height: calc(100dvh - 78px);
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
}
.sidebar {
  background: #f8f7f2;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 22px 0;
}
.sidebar > :not(.listing-list) {
  flex-shrink: 0;
}
.sidebar-heading h1 {
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.4px;
  font-weight: 400;
  margin: 0 0 6px;
}
.sidebar-heading .muted { margin: 0; font-size: 11px; line-height: 1.4; }
#search-help { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.listing-filters { margin-top: 8px; border: 1px solid #b9c9bd; border-radius: 5px; background: #fff; }
.listing-filters > summary { min-height: 44px; padding: 9px 11px; cursor: pointer; font-size: 12px; font-weight: 650; }
#filter-summary { display: block; margin: 3px 0 0 13px; color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.4; }
.filter-body { padding: 0 12px 12px; }
#filters-done { width: 100%; min-height: 44px; margin-top: 12px; padding: 8px; border: 1px solid var(--teal); border-radius: 4px; background: var(--teal); color: #fff; font-size: 12px; }
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  line-height: 1.6;
}
.muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.search-label,
.filter-row label {
  font-size: 11px;
  font-weight: 650;
}
.search-label {
  margin: 12px 0 6px;
}
input[type="search"] {
  width: 100%;
  border: 1px solid #baccc3;
  background: #fff;
  border-radius: 5px;
  padding: 12px;
  font-size: 13px;
}
.search-help {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}
.search-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
#show-results {
  flex: 1;
  border: 1px solid #a9c2b5;
  border-radius: 4px;
  background: #e8eee6;
  color: #214e44;
  padding: 10px 7px;
  font-size: 11px;
}
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 10px;
}
#max-price {
  width: 54%;
  min-width: 0;
}
.property-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.property-filters label {
  display: block;
  font-size: 11px;
  font-weight: 650;
  margin-bottom: 6px;
}
.property-filters select {
  width: 100%;
  min-width: 0;
}
.price-filters {
  padding: 0;
  margin: 15px 0 0;
  border: 0;
  min-width: 0;
}
.price-filters legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 650;
}
.price-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.price-presets button {
  min-height: 44px;
  padding: 8px 4px;
  border: 1px solid #afc4b6;
  border-radius: 5px;
  background: #fff;
  color: #214e44;
  font-size: 11px;
  font-weight: 650;
}
.price-presets button:hover {
  background: #e8eee6;
}
.price-presets button[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
#max-price {
  padding: 9px;
  border: 1px solid #baccc3;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
}
#max-price[aria-invalid="true"] {
  border-color: #9b302b;
}
.filter-error {
  color: #9b302b;
  font-size: 11px;
  line-height: 1.4;
  margin: 7px 0 0;
}
select {
  min-width: 165px;
  padding: 9px;
  border: 1px solid #baccc3;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
}
.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 10px;
  font-size: 11px;
  border-bottom: 1px solid var(--line);
}
.tour-studio {
  margin: 9px 0 0;
  border: 1px solid #b9c9bd;
  border-radius: 5px;
  background: #edf2e8;
}
.tour-studio summary {
  cursor: pointer;
  padding: 12px;
  font-size: 12px;
  color: #214e44;
}
.tour-studio summary span {
  margin-left: 8px;
  font-size: 10px;
  color: #62786a;
}
.studio-body {
  padding: 0 12px 10px;
  max-height: 260px;
  overflow: auto;
}
.studio-body > label,
.studio-grid label {
  display: block;
  font-size: 11px;
  margin: 8px 0;
}
.studio-body select {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 5px;
}
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10px;
}
.tilt-label {
  display: flex !important;
  justify-content: space-between;
}
#tour-tilt {
  width: 100%;
  accent-color: var(--teal);
}
.studio-play {
  width: 100%;
  border: 0;
  background: var(--teal);
  color: white;
  padding: 11px;
  border-radius: 4px;
  margin-top: 10px;
  font-size: 12px;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.studio-link {
  padding: 10px 0;
}
.tour-player {
  position: absolute;
  bottom: 36px;
  left: 20px;
  width: min(510px, calc(100% - 40px));
  background: #f8faf1f5;
  color: #23463b;
  border: 1px solid #b7cbbc;
  border-radius: 6px;
  z-index: 5;
  padding: 10px 13px;
  box-shadow: 0 5px 26px #001b2933;
}
.player-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
#tour-phase {
  flex: 1;
  font-weight: 650;
}
.player-top button {
  border: 1px solid #afc4b6;
  padding: 7px 10px;
  border-radius: 4px;
  background: white;
  font-size: 11px;
  color: #214c40;
}
.player-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
}
.player-progress input {
  flex: 1;
  min-width: 0;
  accent-color: var(--teal);
}
.player-progress output {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.tour-running .detail {
  max-height: calc(100% - 170px);
}
.text-button {
  background: none;
  border: 0;
  color: var(--teal);
  font-size: 11px;
  padding: 6px;
}
.listing-list {
  overflow: visible;
  flex: none;
  min-height: 0;
  padding: 4px 0 15px;
}
.listing-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  width: 100%;
  gap: 12px;
  padding: 14px 4px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  align-items: start;
  border-radius: 3px;
}
.listing-card:hover,
.listing-card[aria-current="true"] {
  background: #e8eee6;
}
.listing-row { border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.listing-row[aria-current="true"] { background: #e8eee6; }
.listing-row .listing-card { border-bottom: 0; }
.card-share { margin-left: 88px; min-height: 44px; padding: 8px 12px; border: 1px solid #a9c2b5; border-radius: 4px; background: #fff; color: var(--teal); font-size: 12px; font-weight: 650; }
.selected-share-bar { position: absolute; z-index: 6; top: 68px; left: 0; right: 0; height: 54px; padding: 5px 14px; background: #fbfaf5; border-bottom: 1px solid var(--line); }
#share-selected { min-height: 44px; background: #f8f7f2; border: 1px solid #a9c2b5; border-radius: 5px; color: var(--teal); padding: 8px 14px; font-size: 13px; font-weight: 650; box-shadow: 0 2px 10px #0002; }
#share-dialog { width: min(440px, calc(100% - 28px)); max-height: calc(100dvh - 32px); overflow: auto; background: #fbfaf5; color: #193c3b; border: 1px solid #b7c8be; border-radius: 12px; padding: 28px 22px 20px; box-shadow: 0 16px 60px #0005; }
#share-dialog::backdrop { background: #0c2829a6; }
#share-heading { font: 400 28px/1.15 Georgia, serif; margin: 12px 0; }
#share-property { font-weight: 650; line-height: 1.5; }
#share-view { color: var(--teal); font-size: 13px; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 10px; }
.share-actions button, .share-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 16px; border: 1px solid #a9c2b5; border-radius: 5px; background: white; color: var(--teal); text-decoration: none; font-size: 14px; font-weight: 650; }
.share-actions #share-native { width: 100%; background: var(--teal); color: white; }
#share-status { font-size: 13px; line-height: 1.4; }
#share-dialog label { font-size: 12px; }
#share-url { display: block; width: 100%; margin: 7px 0 12px; padding: 11px; font-size: 16px; border: 1px solid #a9c2b5; border-radius: 5px; color: #193c3b; background: white; }
.listing-card img {
  width: 76px;
  height: 72px;
  object-fit: cover;
  border-radius: 3px;
  background: #e0e6de;
}
.card-copy {
  min-width: 0;
}
.card-price {
  display: block;
  font-size: 16px;
  margin: 1px 0 4px;
}
.card-address {
  display: block;
  font-size: 12px;
  line-height: 1.45;
}
.card-meta {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
}
.sidebar-footer {
  border-top: 1px solid var(--line);
  padding: 15px 0;
  font-size: 10px;
  color: #5a6d67;
}
.map-area {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.map-surface {
  position: absolute;
  inset: 122px 0 0;
}
.view-toolbar { position: relative; z-index: 5; min-height: 68px; background: #fbfaf5; padding: 10px 14px; display: flex; gap: 12px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.view-buttons { display: flex; gap: 5px; }
.view-buttons button { min-height: 44px; padding: 8px 12px; border: 1px solid #a9c2b5; color: #214e44; background: white; border-radius: 5px; font-weight: 650; }
.view-buttons button[aria-pressed="true"] { color: white; background: var(--teal); border-color: var(--teal); }
.quality-label { display: flex; gap: 6px; align-items: center; font-size: 11px; }
.quality-label select { min-width: 0; width: 90px; min-height: 40px; padding: 5px; }
.quality-label { flex-shrink: 0; }
@media (min-width: 801px) and (max-width: 1050px) {
  .view-toolbar { gap: 6px; padding: 8px; }
  .view-buttons button { padding: 8px 6px; font-size: 12px; }
  .quality-label { font-size: 10px; gap: 4px; }
  .quality-label select { width: 78px; font-size: 11px; }
}
#embedded-map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #edf0ea; }
.embedded-help { position: absolute; bottom: 0; left: 0; right: 0; background: #fbfaf5; padding: 10px 16px; font-size: 12px; line-height: 1.4; }
.embedded-help p { margin: 0 0 4px; }
#embedded-property { font-weight: 700; }
.map-area[data-view="street"] .map-surface, .map-area[data-view="map"] .map-surface { bottom: 120px; }
.audio-summary { margin-top: 16px; padding: 14px; background: #edf3ee; border: 1px solid #b7c8be; border-radius: 5px; }
.audio-summary h3 { font-size: 16px; margin: 0 0 10px; }
.audio-summary label { font-size: 12px; }
.audio-summary select { margin: 6px 0; width: 100%; }
.audio-actions { display: flex; gap: 6px; }
.audio-actions button { min-height: 44px; padding: 8px 12px; border: 1px solid #a9c2b5; border-radius: 4px; background: white; color: #214e44; }
.audio-summary details { font-size: 12px; line-height: 1.5; }
.audio-summary summary { cursor: pointer; padding: 6px 0; }
@media (min-width: 801px) {
  .map-area[data-view="street"] .detail, .map-area[data-view="map"] .detail { display: none; }
}
.mobile-tour-header {
  display: none;
}
#map {
  position: absolute;
  inset: 0;
}
.map-status {
  position: absolute;
  top: 20px;
  left: 20px;
  max-width: min(430px, calc(100% - 40px));
  padding: 11px 16px;
  border-radius: 5px;
  background: #fbfcf3ed;
  color: #254a44;
  box-shadow: 0 4px 24px #0002;
  font-size: 12px;
  line-height: 1.5;
  z-index: 2;
}
.map-status[data-state="ready"] {
  background: #153d36e8;
  color: #fff;
  pointer-events: none;
}
#credits {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  z-index: 4;
  pointer-events: auto;
  text-shadow: 0 1px 3px #000;
  color: white;
  font-size: 11px;
  max-height: 100px;
  overflow: auto;
}
#credits a {
  color: white;
}
#credits .cesium-widget-credits {
  position: relative;
  display: block;
  padding: 4px 7px;
  background: #102833e8;
  border-radius: 3px;
}
#credits .cesium-credit-logoContainer,
#credits .cesium-credit-textContainer {
  display: inline;
}
.detail {
  position: absolute;
  top: 142px;
  right: 20px;
  width: 335px;
  max-height: calc(100% - 222px);
  overflow: auto;
  background: #fbfaf5;
  box-shadow: 0 12px 48px #001c2966;
  border-radius: 8px;
  z-index: 3;
}
.detail > img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  background: #e1e7e0;
}
.detail-content {
  padding: 20px;
}
.street-view-links {
  margin-top: 12px;
}
.street-view-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.street-view-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 5px;
  border: 1px solid #a9c2b5;
  border-radius: 4px;
  background: #e8eee6;
  color: #214e44;
  font-size: 12px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}
.street-view-actions a:hover {
  background: #dce8d9;
}
.street-view-links .fine-print {
  margin: 8px 0 0;
}
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #fbfaf5ed;
  font-size: 24px;
  color: #173e37;
  z-index: 1;
}
.detail h2 {
  font-family: Georgia, serif;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 400;
  margin: 8px 0 12px;
}
.price {
  font-size: 24px;
  font-weight: 700;
  margin: 12px 0;
}
#facts {
  font-size: 12px;
  line-height: 1.6;
}
.property-link {
  display: block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  padding: 13px 8px;
  text-align: center;
  font-size: 12px;
  margin: 18px 0 12px;
}
.camera-controls {
  display: flex;
  gap: 5px;
}
.camera-controls button,
.step-controls button {
  background: #fff;
  border: 1px solid #b5c8bf;
  border-radius: 4px;
  color: #264c43;
  font-size: 11px;
  padding: 10px 8px;
}
.camera-controls button:first-child {
  flex: 1;
}
.camera-controls #play-tour {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.camera-controls button[aria-pressed="true"] {
  background: #dcebe2;
}
.parcel-control {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  margin-top: 17px;
}
.fine-print {
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}
.step-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 17px;
}
.empty {
  padding: 24px 4px;
  font-size: 13px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.legal {
  background: #f8f7f2;
  min-height: 100dvh;
  padding: 45px 22px;
}
.legal article {
  max-width: 720px;
  margin: auto;
  line-height: 1.75;
}
.legal h1,
.legal h2 {
  font-family: Georgia, serif;
  font-weight: 400;
}
@media (min-width: 1200px) {
  main {
    grid-template-columns: 380px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 28px;
    padding-right: 28px;
  }
  .detail {
    width: 355px;
  }
}
@media (max-width: 800px) {
  .masthead {
    height: 66px;
    padding: 0 15px;
  }
  .brand {
    font-size: 13px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 21px;
  }
  .website-link {
    font-size: 11px;
  }
  main {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .map-area {
    order: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
  .map-surface {
    order: 2;
    position: relative;
    inset: auto;
    height: clamp(300px, 46svh, 480px);
    flex: none;
  }
  .selected-share-bar { order: 1; position: static; height: auto; padding: 0 12px 12px; background: #fbfaf5; }
  #share-selected { width: 100%; box-shadow: none; }
  .view-toolbar { order: 1; flex-wrap: wrap; padding: 10px 12px; gap: 8px; }
  .view-buttons { width: 100%; }
  .view-buttons button { flex: 1; font-size: 12px; padding: 8px 5px; }
  .quality-label { width: 100%; justify-content: flex-end; }
  .quality-label select { width: 120px; min-width: 120px; min-height: 44px; flex-shrink: 0; }
  .map-area[data-view="street"] .map-surface, .map-area[data-view="map"] .map-surface { bottom: auto; height: 390px; }
  .embedded-help { order: 3; position: static; }
  .mobile-tour-header {
    display: block;
    order: 0;
    background: #f8f7f2;
    padding: 16px;
  }
  .mobile-tour-header h2 {
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: 400;
    margin: 0 0 6px;
  }
  #mobile-tour-property {
    font-size: 13px;
    line-height: 1.45;
    margin: 0 0 12px;
    overflow-wrap: anywhere;
  }
  .mobile-tour-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .mobile-tour-actions button {
    min-height: 44px;
    padding: 10px 6px;
    background: #fff;
    color: #214e44;
    border: 1px solid #a9c2b5;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 650;
  }
  #mobile-play-tour {
    color: #fff;
    background: var(--teal);
    border-color: var(--teal);
  }
  .mobile-tour-help {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    font-size: 11px;
    line-height: 1.4;
    margin-top: 9px;
  }
  .mobile-tour-help a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    font-weight: 650;
  }
  .sidebar {
    order: 1;
    padding: 15px 16px 0;
    overflow: visible;
  }
  .sidebar-heading h1 {
    font-size: 24px;
    margin: 3px 0 5px;
  }
  .sidebar-heading .eyebrow {
    display: none;
  }
  .sidebar-heading .muted {
    margin: 3px 0;
    font-size: 10px;
  }
  .search-label {
    margin-top: 7px;
  }
  input[type="search"] {
    padding: 9px;
  }
  .filter-row {
    margin-top: 7px;
  }
  .price-filters {
    margin-top: 10px;
  }
  .listing-list {
    flex: none;
    overflow: visible;
  }
  .list-heading {
    padding: 7px 0;
  }
  .sidebar-footer {
    padding: 10px 0;
  }
  .listing-card {
    padding: 10px 3px;
  }
  .detail {
    order: 5;
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .detail > img {
    height: 180px;
  }
  .detail-content {
    padding: 14px;
  }
  .detail h2 {
    font-size: 19px;
  }
  .map-status {
    top: 10px;
    left: 10px;
    font-size: 10px;
    max-width: 220px;
    padding: 8px;
    overflow-wrap: anywhere;
  }
  #credits {
    font-size: 9px;
    bottom: 4px;
  }
  .tour-player {
    order: 4;
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    padding: 12px 16px;
    border-radius: 0;
    box-shadow: none;
  }
  .player-top {
    gap: 5px;
    font-size: 10px;
  }
  .tour-running .detail {
    max-height: none;
  }
  .player-top button,
  .camera-controls button,
  .step-controls button,
  .close {
    min-width: 44px;
    min-height: 44px;
  }
  #tour-progress {
    min-height: 44px;
  }
  .camera-controls {
    flex-wrap: wrap;
  }
  input[type="search"],
  #max-price,
  select {
    font-size: 16px;
  }
  .tour-studio {
    margin-top: 9px;
  }
  .tour-studio[open] .studio-body {
    max-height: none;
    overflow: visible;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
