@font-face {
  font-family: Clash;
  src: url("/fonts/ClashDisplay-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  --bg: #141210;
  --card: #1a1713;
  --line: rgba(200, 164, 90, 0.2);
  --bone: #f7f2ea;
  --mut: #b3a894;
  --gold: #c8a45a;
  --gold-lt: rgba(200, 164, 90, 0.1);
  --red: #e5a58c;
  --red-lt: rgba(178, 84, 62, 0.1);
  --grn: #a5d2b6;
  --ink: #141210;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font:
    15px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--bone);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--gold);
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid #e4ce9a;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 0 12px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  grid-template-areas: "search map" "result map";
  grid-template-rows: auto 1fr;
  gap: 18px;
  align-items: start;
}
.search {
  grid-area: search;
  background: linear-gradient(145deg, #211c15, #191612);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.step-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.search h1 {
  font-family: Clash, sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.search-intro {
  color: var(--mut);
  font-size: 13px;
  margin-top: 10px;
  margin-bottom: 20px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 8px;
}
.ac {
  position: relative;
}
input {
  width: 100%;
  min-height: 54px;
  padding: 14px;
  border: 1px solid rgba(247, 242, 234, 0.22);
  border-radius: 9px;
  color: var(--bone);
  background: #100f0d;
}
input:focus {
  border-color: var(--gold);
}
input::placeholder {
  color: #938b80;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  min-height: 44px;
  padding: 11px 16px;
  font-weight: 700;
  background: var(--gold);
  color: var(--ink);
}
button:hover {
  background: #e4ce9a;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
#go {
  width: 100%;
  margin-top: 12px;
  min-height: 50px;
}
#address-context {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 14px;
  color: var(--mut);
}
#address-privacy {
  font-size: 11px;
  line-height: 1.6;
  margin-top: 14px;
  color: var(--mut);
}
#sug {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 900;
  list-style: none;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: #211c15;
  box-shadow: 0 16px 36px #0009;
  max-height: 320px;
  overflow-y: auto;
}
#sug li + li {
  border-top: 1px solid var(--line);
}
#sug button {
  display: grid;
  gap: 5px;
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--bone);
  padding: 15px;
  white-space: normal;
}
#sug button:hover {
  background: var(--gold-lt);
}
#sug button .match-address {
  font-size: 13px;
  line-height: 1.4;
}
#sug button small {
  font-size: 11px;
  color: var(--mut);
}
#sug button strong {
  font-size: 12px;
  color: var(--gold);
}
.map-panel {
  grid-area: map;
  align-self: stretch;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #191b1b;
}
.map-heading {
  padding: 18px 20px;
  background: #191612;
  border-bottom: 1px solid var(--line);
}
.map-heading h2 {
  font-family: Clash, sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.map-heading p {
  font-size: 12px;
  color: var(--mut);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
#map {
  background: #202624;
  min-height: 430px;
  flex: 1;
  z-index: 0;
}
.mapoff {
  padding: 40px 24px;
  text-align: center;
  color: var(--mut);
  display: grid;
  place-content: center;
}
.map-toolbar {
  padding: 10px 14px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  background: #191612;
}
.map-toolbar button {
  font-size: 11px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--bone);
  padding: 6px 10px;
}
.map-toolbar button:hover {
  background: var(--gold-lt);
}
.map-caption {
  padding: 0 16px 12px;
  background: #191612;
  color: var(--mut);
  font-size: 11px;
}
.map-caption p {
  margin-top: 5px;
}
#map-status {
  font-size: 11px;
  color: var(--mut);
  padding: 0 16px 8px;
  background: #191612;
}
.legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #d2c6b4;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.legend .hail {
  background: #d98324;
}
.legend .home {
  background: #a5d2b6;
}
.legend .wind {
  background: #b2543e;
}
.results-panel {
  grid-area: result;
  min-width: 0;
}
.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  overflow: hidden;
  margin-bottom: 12px;
}
.verdict {
  padding: 22px;
}
.confirmed {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.035em;
  font-weight: 700;
  color: var(--grn);
  margin-bottom: 8px;
}
.confirmed::before {
  content: "✓";
  font-size: 12px;
}
.vline {
  font-size: 13px;
  line-height: 1.45;
  color: #ddd3c3;
  overflow-wrap: anywhere;
  font-weight: 600;
}
.result-title {
  font-family: Clash, sans-serif;
  font-size: 23px;
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 18px 0;
}
.result-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.metric {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #100f0d;
}
.metric-label {
  font-size: 10px;
  line-height: 1.4;
  color: var(--mut);
}
.metric-value {
  font-family: Clash, sans-serif;
  font-size: 34px;
  line-height: 1.1;
  margin: 6px 0;
  color: var(--bone);
}
.metric-rule {
  font-size: 10px;
  line-height: 1.5;
  color: #c6baa8;
}
.metric-rule b {
  color: #f1e6d4;
  font-weight: 600;
}
.fine {
  font-size: 11px;
  line-height: 1.65;
  color: var(--mut);
  overflow-wrap: anywhere;
}
.result-caveat {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.result-dates {
  margin-top: 10px;
}
.vtag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 2px;
  background: var(--gold-lt);
  color: #e4ce9a;
}
.err {
  border: 1px solid rgba(200, 164, 90, 0.25);
  background: var(--gold-lt);
  border-radius: 12px;
  padding: 16px;
  color: #d6c5a6;
  font-size: 13px;
  margin-bottom: 12px;
}
details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  margin-bottom: 12px;
}
summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  padding: 15px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  font-size: 18px;
  color: var(--gold);
  flex: none;
}
details[open] > summary::after {
  content: "−";
}
.source-body,
.report-body {
  padding: 0 15px 16px;
}
.source-body .fine {
  margin-bottom: 12px;
}
.source-body .err {
  font-size: 11px;
}
.report-body h2 {
  font-size: 11px;
  color: var(--gold);
  margin: 12px 0;
}
.cty {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  font-size: 12px;
}
.cty a {
  font-size: 11px;
}
.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 30px;
  background:
    radial-gradient(
      ellipse at right,
      rgba(200, 164, 90, 0.12),
      transparent 70%
    ),
    #1a1713;
  margin-top: 20px;
}
.cta h2 {
  font-family: Clash, sans-serif;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 600;
}
.cta p {
  max-width: 580px;
  color: var(--mut);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
}
.cta-actions {
  flex: none;
  min-width: 220px;
  text-align: center;
}
.cta-primary {
  display: block;
  padding: 14px 20px;
  background: var(--gold);
  border-radius: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  min-height: 48px;
}
.cta-primary:hover {
  background: #e4ce9a;
}
.cta-phone {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  color: #d0c4b1;
  text-underline-offset: 3px;
}
#foot {
  padding: 16px 6px 8px;
  max-width: 1000px;
  color: #938b80;
  font-size: 10px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.leaflet-control-zoom a {
  color: #141210 !important;
}
.leaflet-container {
  font-family: inherit;
}
.leaflet-control-attribution {
  font-size: 9px !important;
}
@media (max-width: 760px) {
  .shell {
    padding: 0 20px 8px;
  }
  .workspace {
    grid-template-columns: 1fr;
    grid-template-areas: "search" "map" "result";
    gap: 16px;
  }
  .search {
    padding: 22px;
  }
  .search h1 {
    font-size: 25px;
  }
  .search-intro {
    margin-bottom: 18px;
  }
  .map-panel {
    min-height: 0;
  }
  #map {
    height: 330px;
    min-height: 330px;
    flex: none;
  }
  .map-heading {
    padding: 15px 18px;
  }
  .map-heading h2 {
    font-size: 15px;
  }
  .map-toolbar {
    padding: 10px 12px;
  }
  .verdict {
    padding: 22px;
  }
  .result-title {
    font-size: 27px;
  }
  .result-metrics {
    gap: 12px;
  }
  .metric {
    padding: 15px;
  }
  .metric-label {
    font-size: 11px;
  }
  .metric-value {
    font-size: 38px;
  }
  .metric-rule {
    font-size: 11px;
  }
  .fine {
    font-size: 12px;
  }
  .confirmed {
    font-size: 12px;
  }
  .vline {
    font-size: 14px;
  }
  summary {
    font-size: 12px;
  }
  .cta {
    display: block;
    margin-top: 16px;
    padding: 24px;
  }
  .cta h2 {
    font-size: 26px;
  }
  .cta-actions {
    margin-top: 22px;
  }
  .cta p {
    font-size: 12px;
  }
  #foot {
    font-size: 10px;
    padding: 16px 6px;
  }
}
@media (max-width: 520px) {
  input {
    font-size: 16px;
  }
  .cta-primary {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

