@font-face {
  font-family: DM;
  src: url(../vendor/dm-sans.ttf) format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  font-family: DM, Arial, sans-serif;
  color: #1c322e;
  font-size: 16px;
  --ink: #173431;
  --green: #376746;
  --line: #d7ded2;
  --paper: #f8f9f3;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #173431;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #be842e;
  outline-offset: 2px;
}
button {
  border: 0;
  background: none;
}
i[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
i svg {
  width: 20px;
  height: 20px;
}
header {
  height: 62px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  background: #152d2b;
  color: #f3f7ec;
  border-bottom: 1px solid #51625a;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 690;
  letter-spacing: -1.2px;
}
.wordmark img {
  width: 34px;
  height: 34px;
}
.header-divider {
  height: 23px;
  border-left: 1px solid #4c615a;
}
.product {
  font-size: 0.91rem;
  color: #c1d1c7;
}
.header-right {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 22px;
}
.region-code,
.kicker,
.motion-label span,
.map-footer,
.view-chip {
  font-family: ui-monospace, Menlo, monospace;
}
.region-code {
  color: #c3d3c8;
  font-size: 0.75rem;
  letter-spacing: 1px;
}
.top-btn {
  font-size: 0.87rem;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #52675f;
  border-radius: 6px;
  color: #e7eee5;
}
.top-btn i svg {
  width: 15px;
  height: 15px;
}
.top-btn:hover {
  background: #29453d;
}
main {
  display: flex;
  height: calc(100dvh - 62px);
  min-height: 400px;
}
aside {
  background: var(--paper);
  width: 292px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 3;
  border-right: 1px solid #819185;
}
.aside-title {
  padding: 30px 23px 23px;
}
.kicker {
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: 1.65px;
  color: #52735d;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash {
  width: 20px;
  height: 2px;
  background: #75946c;
}
h1 {
  font-size: 2.3rem;
  line-height: 1.12;
  letter-spacing: -2.1px;
  margin: 11px 0 4px;
  font-weight: 610;
}
p {
  margin: 0;
}
.aside-title p {
  font-size: 0.92rem;
  color: #59685c;
}
#tabs {
  display: flex;
  margin: 0 20px 20px;
  padding: 4px;
  border-radius: 7px;
  background: #e6ebe1;
}
#tabs button,
.segment button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
  padding: 7px;
  border-radius: 5px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #5f705f;
}
#tabs button[aria-pressed="true"],
.segment button[aria-pressed="true"] {
  background: #fff;
  color: #224a35;
  box-shadow: 0 1px 4px #14261920;
}
#tabs svg {
  width: 16px;
  height: 16px;
}
#explore,
#layers {
  padding: 0 19px 18px;
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #cdd6c9;
  border-radius: 6px;
  padding: 9px 10px;
  color: #748273;
}
.search-wrap i svg {
  width: 17px;
  height: 17px;
}
input {
  outline: 0;
  border: 0;
  width: 100%;
  font-size: 0.86rem;
  color: #263a2c;
  background: none;
  min-width: 0;
}
h2 {
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 680;
  margin: 21px 0 10px;
}
.view-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  margin-bottom: 3px;
  min-height: 61px;
}
.view-row.active {
  background: #e3eddb;
  border-color: #c5d6bd;
}
.view-row:hover,
#results button:hover,
.layer-row:hover {
  background: #eaf0e4;
}
.view-row > i {
  margin-left: auto;
  color: #55734e;
}
.view-row > i svg {
  width: 15px;
  height: 15px;
}
.view-row:not(.active) > i {
  visibility: hidden;
}
.view-row span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.view-row b {
  font-size: 0.94rem;
  font-weight: 610;
}
.view-row small {
  font-size: 0.78rem;
  color: #627262;
}
.thumb {
  width: 47px;
  height: 43px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background-color: #3d6153;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  color: #d6ecc4;
  overflow: hidden;
}
.overview-thumb {
  background-color: #325746;
}
.overview-thumb svg {
  width: 31px;
  height: 31px;
}
.aside-footer {
  margin-top: auto;
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 16px 19px;
  color: #657464;
  font-size: 0.74rem;
}
.aside-footer svg {
  width: 15px;
  height: 15px;
}
.stage {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  background: #244c5b;
}
#map {
  position: absolute;
  inset: 0;
}
.view-chip,
.nav-tools,
.motion,
#mobile-panel {
  position: absolute;
  z-index: 2;
}
.view-chip {
  left: 18px;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #162d29ee;
  color: #f1f4eb;
  border: 1px solid #84968155;
  border-radius: 5px;
  padding: 8px 11px;
  font-size: 0.75rem;
}
.view-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b5d79b;
}
.nav-tools {
  top: 18px;
  right: 18px;
  display: grid;
  gap: 10px;
  width: 38px;
}
.nav-tools button,
#mobile-panel {
  background: #fbfcf6f7;
  box-shadow: 0 2px 7px #0e201e20;
}
.nav-tools button {
  width: 38px;
  height: 37px;
  display: grid;
  place-items: center;
}
.nav-tools button:hover,
.motion button:hover {
  background: #e2ecd9;
}
.tool-pair {
  overflow: hidden;
  border-radius: 5px;
}
.tool-pair button + button {
  border-top: 1px solid #d4dcce;
}
#north {
  border-radius: 5px;
  height: 53px;
  gap: 0;
  padding: 5px 0;
}
#north span {
  font:
    bold 10px ui-monospace,
    monospace;
}
#north svg {
  height: 24px;
  width: 24px;
}
#tilt b {
  font:
    0.85rem ui-monospace,
    monospace;
  font-weight: 700;
}
.motion {
  left: 18px;
  bottom: 42px;
  padding: 7px 9px 7px 7px;
  color: #193d31;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8faf2f7;
  border: 1px solid #cbd6c7;
  border-radius: 8px;
  box-shadow: 0 3px 16px #142d3533;
}
.motion #play {
  height: 34px;
  width: 34px;
  background: #28533d;
  border-radius: 5px;
  color: white;
  display: grid;
  place-items: center;
}
.motion #play svg {
  height: 17px;
}
.motion-label {
  display: flex;
  flex-direction: column;
}
.motion-label span {
  font-size: 0.58rem;
  letter-spacing: 1.3px;
  font-weight: 650;
  color: #667767;
}
.motion-label b {
  font-size: 0.85rem;
}
.motion-sep {
  height: 26px;
  border-left: 1px solid var(--line);
}
select {
  background: transparent;
  border: 0;
  color: #334a39;
  font-size: 0.82rem;
  max-width: 145px;
}
.motion #speed {
  border: 1px solid #cfdbca;
  border-radius: 3px;
  font:
    600 0.76rem ui-monospace,
    monospace;
  padding: 5px 7px;
}
.map-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #142a29ec;
  color: #e1e7da;
  padding: 6px 12px;
  display: flex;
  justify-content: space-between;
  gap: 11px;
  z-index: 2;
  font-size: 0.63rem;
}
.maplibregl-ctrl-bottom-right {
  bottom: 33px !important;
  right: 9px !important;
}
.maplibregl-ctrl-scale {
  font:
    11px DM,
    Arial !important;
  background: #f8faf2e6 !important;
  color: #1b3634 !important;
}
.layer-row {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 2px;
  border-bottom: 1px solid #dfe5d9;
  font-size: 0.89rem;
}
.layer-row span:first-child {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.switch {
  margin-left: auto;
  height: 17px;
  width: 30px;
  border-radius: 10px;
  background: #bbc5ba;
  padding: 3px;
}
.switch:after {
  display: block;
  content: "";
  background: white;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.layer-row[aria-pressed="true"] .switch {
  background: #477551;
}
.layer-row[aria-pressed="true"] .switch:after {
  transform: translateX(13px);
}
.segment {
  display: flex;
  background: #e3e9de;
  padding: 3px;
  border-radius: 6px;
}
.note {
  font-size: 0.8rem;
  line-height: 1.55;
  color: #5b6e60;
  margin-top: 12px;
}
#results button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  width: 100%;
  padding: 10px 5px;
  border-bottom: 1px solid var(--line);
  font-size: 0.89rem;
}
#results small {
  color: #6a796d;
}
#results p {
  font-size: 0.85rem;
  margin: 14px 0;
}
.maplibregl-popup-content {
  background: var(--paper) !important;
  color: #213b32;
  padding: 14px 22px 12px 14px !important;
  font:
    14px DM,
    Arial;
}
.maplibregl-popup-content small {
  color: #59705e;
  display: block;
  margin-top: 4px;
}
.maplibregl-popup-close-button {
  font-size: 18px !important;
}
dialog {
  width: min(580px, 94vw);
  max-height: 85dvh;
  border: 0;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  padding: 24px;
}
dialog::backdrop {
  background: #0d2524a8;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dialog-head h2 {
  font-size: 1.8rem;
  margin: 4px 0 8px;
  letter-spacing: -1px;
}
.dialog-head button {
  padding: 8px;
}
.data-entry {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.data-entry b {
  font-size: 0.95rem;
}
.data-entry p {
  font-size: 0.86rem;
  line-height: 1.5;
  margin-top: 4px;
  color: #4a5e50;
}
.data-entry a {
  color: #315d3d;
  font-size: 0.82rem;
  display: inline-block;
  margin-top: 4px;
}
#notice {
  position: absolute;
  left: 18px;
  bottom: 106px;
  max-width: min(380px, 80%);
  color: white;
  background: #15342fee;
  padding: 9px 12px;
  border-radius: 5px;
  font-size: 0.82rem;
}
#mobile-panel {
  display: none;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
@media (max-width: 760px), (orientation: landscape) and (max-height: 520px) and (max-width: 1000px) {
  :root {
    --phone-header-height: calc(52px + var(--safe-top));
  }
  header {
    height: var(--phone-header-height);
    padding: var(--safe-top) calc(10px + var(--safe-right)) 0 calc(10px + var(--safe-left));
    gap: 10px;
  }
  .wordmark {
    font-size: 21px;
  }
  .wordmark img {
    width: 29px;
  }
  .header-divider,
  .product,
  .region-code {
    display: none;
  }
  .top-btn {
    padding: 6px 9px;
  }
  .header-right {
    gap: 0;
  }
  main {
    height: calc(100dvh - var(--phone-header-height));
    min-height: 0;
  }
  aside {
    position: absolute;
    top: calc(var(--phone-header-height) + 60px);
    left: calc(8px + var(--safe-left));
    max-height: calc(100dvh - var(--phone-header-height) - var(--safe-bottom) - 68px);
    width: min(292px, calc(100vw - var(--safe-left) - var(--safe-right) - 16px));
    z-index: 10;
    overscroll-behavior: contain;
    border-radius: 8px;
    box-shadow: 0 4px 25px #10272166;
    display: none;
  }
  aside.open {
    display: flex;
  }
  .aside-title {
    padding: 17px 18px;
  }
  h1 {
    font-size: 1.85rem;
  }
  .aside-footer {
    display: none;
  }
  #mobile-panel {
    display: flex;
    align-items: center;
    gap: 6px;
    left: calc(8px + var(--safe-left));
    top: 8px;
    min-height: 44px;
    border-radius: 5px;
    padding: 7px 10px;
    font-size: 0.82rem;
  }
  .view-chip {
    left: calc(108px + var(--safe-left));
    top: 8px;
    font-size: 0.67rem;
    padding: 8px;
  }
  .nav-tools {
    right: calc(8px + var(--safe-right));
    top: 8px;
    width: 44px;
    gap: 6px;
  }
  .nav-tools button, #north {
    width: 44px;
    height: 44px;
  }
  .motion {
    left: calc(8px + var(--safe-left));
    bottom: calc(53px + var(--safe-bottom));
    gap: 7px;
  }
  .map-footer {
    flex-wrap: wrap;
    padding: 5px calc(10px + var(--safe-right)) calc(5px + var(--safe-bottom)) calc(10px + var(--safe-left));
    gap: 2px;
    font-size: 0.59rem;
  }
  .map-footer span {
    display: block;
    width: 100%;
  }
  .maplibregl-ctrl-bottom-right {
    bottom: calc(34px + var(--safe-bottom)) !important;
    right: calc(8px + var(--safe-right)) !important;
  }
  .aside-footer {
    font-size: 0.69rem;
  }
}
@media (max-height: 700px) and (min-width: 761px) {
  .aside-title {
    padding-top: 18px;
    padding-bottom: 14px;
  }
  #tabs {
    margin-bottom: 12px;
  }
  .view-row {
    min-height: 50px;
    padding: 5px;
  }
  .thumb {
    height: 38px;
  }
}
.capture-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.capture-links button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  text-align: left;
  padding: 8px 9px;
  border: 1px solid #d4ddce;
  border-radius: 4px;
  color: #365841;
}
.capture-links button:hover {
  background: #e0ead9;
}
.capture-links button span {
  font:
    11px ui-monospace,
    monospace;
  color: #59725f;
}
#reality {
  padding: 0;
  width: min(1180px, 97vw);
  height: min(830px, 92dvh);
  max-width: 97vw;
  max-height: 92dvh;
  background: #162c2c;
}
#reality[open] {
  display: flex;
  flex-direction: column;
}
.capture-head {
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}
.capture-head small {
  color: #c4d6c9;
  font-size: 0.75rem;
  margin-left: 12px;
}
.capture-head button {
  color: #fff;
  display: grid;
  place-items: center;
  padding: 6px;
}
#capture-frame {
  border: 0;
  flex: 1;
  width: 100%;
}
#capture-near {
  font:
    600 0.74rem DM,
    Arial;
  color: #d4ead0;
  border-left: 1px solid #9fb6a0;
  padding: 0 0 0 8px;
}
#capture-near:hover {
  text-decoration: underline;
}
.view-chip {
  max-width: calc(100% - 80px);
}
@media (max-width: 760px), (orientation: landscape) and (max-height: 520px) and (max-width: 1000px) {
  .view-chip {
    max-width: calc(100% - 166px - var(--safe-left) - var(--safe-right));
    flex-wrap: wrap;
  }
  .capture-head small {
    display: block;
    margin-left: 0;
  }
  .capture-links {
    margin-bottom: 8px;
  }
}
.street-tools {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 57px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.street-tools button {
  color: #244036;
  padding: 7px 11px;
  background: #f8faf3f7;
  border: 1px solid #a8b5a6;
  border-radius: 5px;
  font-size: 0.81rem;
  box-shadow: 0 2px 6px #142d3517;
}
.street-tools button[aria-pressed="true"] {
  background: #345b43;
  color: white;
}
.street-tools div {
  display: flex;
  gap: 2px;
}
.street-tools [hidden] {
  display: none;
}
.street-tools div button {
  padding: 7px;
}
.stage:has(#street[aria-pressed="true"]) .motion-label span {
  color: #50744f;
}
@media (max-width: 760px), (orientation: landscape) and (max-height: 520px) and (max-width: 1000px) {
  .street-tools {
    left: calc(8px + var(--safe-left));
    top: 59px;
    max-width: calc(100% - 70px - var(--safe-left) - var(--safe-right));
    flex-wrap: wrap;
  }
  .header-right {
    gap: 5px;
  }
  .header-right button {
    font-size: 0.75rem;
    padding: 5px 8px;
  }
  .wordmark {
    font-size: 19px;
  }
  .view-chip {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.property-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 9px;
}
.property-links a {
  color: #305d43;
  font-size: 12px;
  font-weight: 650;
}

@media (max-width: 760px), (orientation: landscape) and (max-height: 520px) and (max-width: 1000px) {
  .top-btn, #tabs button, .segment button, .layer-row, #results button,
  .capture-links button, .street-tools button, #capture-near, .motion select,
  .motion button, .dialog-head button, .capture-head button {
    min-height: 44px;
  }
  .street-tools button, .dialog-head button, .capture-head button,
  .motion #speed, .motion #play, .maplibregl-popup-close-button {
    min-width: 44px;
    min-height: 44px;
  }
  .maplibregl-popup-content {
    padding-right: 46px !important;
  }
  #tabs {
    flex-shrink: 0;
  }
  .search-wrap {
    min-height: 44px;
  }
  input[type="search"], .strike-address input {
    font-size: 16px;
  }
  .view-chip:has(#capture-near:not([hidden])) {
    padding-block: 0;
    gap: 4px;
  }
  .stage:has(#capture-near:not([hidden])) .street-tools {
    top: 82px;
  }
}
@media (orientation: landscape) and (max-height: 520px) and (max-width: 1000px) {
  :root {
    --phone-header-height: calc(46px + var(--safe-top));
  }
  .nav-tools {
    display: flex;
    width: auto;
  }
  .nav-tools .tool-pair {
    display: flex;
  }
  .tool-pair button + button {
    border-top: 0;
    border-left: 1px solid #d4dcce;
  }
  .view-chip {
    max-width: calc(100% - 356px - var(--safe-left) - var(--safe-right));
  }
  aside .aside-title {
    display: none;
  }
  aside #tabs {
    margin: 8px 12px;
  }
}
@media (max-width: 359px) {
  .wordmark {
    font-size: 16px;
    gap: 4px;
    white-space: nowrap;
  }
  .wordmark img {
    width: 24px;
    height: 24px;
  }
  .header-right button {
    padding-inline: 6px;
  }
  #sources i {
    display: none;
  }
  .motion {
    column-gap: 4px;
  }
  .motion-sep {
    display: none;
  }
}
