/* Site & area: presentation-only styles, scoped to the module's site-* classes. */
.site-context {
  color: var(--ink, #252a27);
  min-width: 0;
}
.site-context *, .site-empty * { box-sizing: border-box; }
.site-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: 25px 0 18px;
}
.site-kicker {
  margin: 0;
  color: #526859;
  font-family: var(--sans, system-ui, sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}
.site-kicker span { padding: 0 4px; color: #a2aea1; }
.site-intro h2 {
  margin: 6px 0 5px;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(32px, 3vw, 43px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.site-intro-copy { margin: 0; color: #667166; font-size: 13px; line-height: 1.55; }
.site-demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 8px;
  padding: 7px 10px;
  border: 1px solid #dce5d9;
  border-radius: 3px;
  background: #f0f5ee;
  color: #4d6651;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
}
.site-demo-badge span { width: 7px; height: 7px; border-radius: 50%; background: #789a7d; }
.site-disclaimer {
  margin-bottom: 16px;
  padding: 13px 16px 13px 18px;
  border: 1px solid #d6e1d3;
  border-left: 3px solid #6a8570;
  border-radius: 4px;
  background: #edf3eb;
  color: #3c5040;
}
.site-disclaimer strong { display: block; font-size: 12px; line-height: 1.4; }
.site-disclaimer p { margin: 4px 0 0; font-size: 12px; line-height: 1.5; }
.site-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(260px, .9fr); gap: 16px; align-items: stretch; }
.site-figure, .site-card, .site-verification, .site-empty { border: 1px solid #dfe5dc; border-radius: 7px; background: #fff; }
.site-figure { min-width: 0; margin: 0; padding: 18px; display: flex; flex-direction: column; }
.site-figure-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.site-figure-head h3 { margin: 3px 0 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.site-map-badge { flex-shrink: 0; border: 1px solid #d9e2d7; border-radius: 3px; padding: 5px 8px; color: #506550; background: #f6f9f4; font-size: 10px; font-weight: 600; }
.site-canvas { overflow: hidden; border: 1px solid #dfe7dc; border-radius: 5px; background: #eef2ea; }
.site-schematic { display: block; width: 100%; height: auto; min-height: 0; fill: none; stroke: none; }
.site-svg-ground { fill: #eef2ea; }
.site-svg-blocks path { fill: #e0e9dc; stroke: #d4e0d1; stroke-width: 1.2; }
.site-svg-routes path { fill: none; stroke: #fff; stroke-width: 15; stroke-linecap: round; opacity: .83; }
.site-svg-area-outer { fill: #a7c1a1; fill-opacity: .17; stroke: #809e82; stroke-width: 2; stroke-dasharray: 5 7; }
.site-svg-area-inner { fill: #b9ceb3; fill-opacity: .31; stroke: #7e9d7e; stroke-width: 1.5; stroke-dasharray: 4 6; }
.site-svg-area-dot { fill: #78977d; stroke: #eef2ea; stroke-width: 3; }
.site-svg-zone-one, .site-svg-zone-four { fill: #afc6a6; fill-opacity: .62; stroke: #91ad8e; stroke-width: 1.5; }
.site-svg-zone-two { fill: #d2c9ae; fill-opacity: .68; stroke: #baae8f; stroke-width: 1.5; }
.site-svg-zone-three { fill: #b3c6bd; fill-opacity: .64; stroke: #92aea4; stroke-width: 1.5; }
.site-svg-zone-line { fill: none; stroke: #718977; stroke-width: 1.5; stroke-dasharray: 4 7; opacity: .65; }
.site-svg-flood-band { fill: #a9c9ca; fill-opacity: .45; }
.site-svg-flood-line { fill: none; stroke: #6e9fa2; stroke-width: 2; opacity: .66; }
.site-svg-marker-halo { fill: #f9fcf7; fill-opacity: .78; stroke: #4e7057; stroke-width: 1; stroke-opacity: .25; }
.site-svg-marker-ring { fill: #fff; stroke: #4e7057; stroke-width: 1.5; }
.site-svg-marker-shape { fill: #496c53; stroke: none; }
.site-svg-marker-center { fill: #fff; stroke: none; }
.site-svg-label rect { fill: #fff; stroke: #dbe4d9; stroke-width: 1; }
.site-svg-label text, .site-svg-corner-label { fill: #526859; stroke: none; font-family: var(--sans, system-ui, sans-serif); font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.site-svg-corner-label { fill: #617768; font-size: 9px; }
.site-figure-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 14px; }
.site-figure-foot p { margin: 0; color: #687568; font-size: 11px; line-height: 1.45; }
.site-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #526052; font-size: 11px; line-height: 1.4; }
.site-legend span { display: inline-flex; align-items: center; gap: 7px; }
.site-legend-marker { width: 10px; height: 10px; border-radius: 50%; background: #496c53; box-shadow: 0 0 0 3px #e3eee2; }
.site-legend-overlay { width: 13px; height: 13px; border-radius: 2px; border: 1px solid #83a383; background: #c2d3bc; }
.site-context--zoning .site-legend-overlay { border-color: #a69b7d; background: #d2c9ae; }
.site-context--flood .site-legend-overlay { border-color: #77a4a6; background: #b6d2d1; }
.site-details { display: flex; min-width: 0; flex-direction: column; gap: 16px; }
.site-card { min-width: 0; padding: 20px; }
.site-subject-card h3 { margin: 11px 0 16px; font-family: var(--serif, Georgia, serif); font-size: 26px; font-weight: 500; line-height: 1.15; overflow-wrap: anywhere; }
.site-attribute-list { margin: 0; }
.site-attribute-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #edf1ea; }
.site-attribute-list dt { flex: 1; color: #677568; font-size: 11px; line-height: 1.45; }
.site-attribute-list dd { max-width: 62%; margin: 0; color: #314c37; font-size: 11px; font-weight: 600; line-height: 1.45; text-align: right; overflow-wrap: anywhere; }
.site-attribute-list dd span { color: #687568; font-weight: 400; }
.site-layer-card { flex: 1; }
.site-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 15px; }
.site-card-heading h3 { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.4; }
.site-card-heading span { flex-shrink: 0; color: #617866; font-size: 10px; }
.site-value-label { margin: 0 0 7px; color: #677568; font-size: 11px; }
.site-zoning-value { margin: 0; color: #354f3b; font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.site-status { margin: 0; color: #365b57; font-family: var(--serif, Georgia, serif); font-size: 32px; font-weight: 600; line-height: 1.15; }
.site-status-label { margin: 5px 0 0; color: #405d59; font-size: 12px; font-weight: 600; }
.site-card-note { margin: 14px 0 0; padding: 12px; border-left: 2px solid #a2b69b; background: #f5f8f2; color: #596c5b; font-size: 11px; line-height: 1.55; }
.site-context--flood .site-card-note { border-left-color: #90b8b7; background: #f1f7f6; color: #476460; }
.site-verification { display: grid; grid-template-columns: minmax(190px, .8fr) minmax(0, 1.8fr); gap: 30px; margin-top: 16px; padding: 22px; }
.site-verification-heading h3 { margin: 5px 0 6px; font-family: var(--serif, Georgia, serif); font-size: 25px; font-weight: 500; line-height: 1.2; }
.site-verification-heading > p:last-child { margin: 0; color: #677568; font-size: 11px; line-height: 1.6; }
.site-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.site-steps li { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.site-step-number { display: flex; justify-content: center; align-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: #edf3eb; color: #526859; font-size: 10px; font-weight: 700; }
.site-steps strong { display: block; color: #334538; font-size: 12px; line-height: 1.4; }
.site-steps p { margin: 5px 0 0; color: #677568; font-size: 11px; line-height: 1.6; }
.site-empty { display: flex; align-items: flex-start; gap: 18px; margin-top: 22px; padding: 30px; }
.site-empty-mark { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; background: #edf3eb; color: #526859; font-size: 22px; line-height: 1; }
.site-empty h2 { margin: 5px 0 6px; color: #252a27; font-family: var(--serif, Georgia, serif); font-size: 30px; font-weight: 500; line-height: 1.2; }
.site-empty p:last-child { max-width: 520px; margin: 0; color: #677568; font-size: 13px; line-height: 1.6; }
@media (max-width: 1100px) {
  .site-layout { grid-template-columns: minmax(0, 1.35fr) minmax(230px, .9fr); }
  .site-verification { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 760px) {
  .site-layout { grid-template-columns: minmax(0, 1fr); }
  .site-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .site-intro { flex-direction: column; gap: 9px; margin-top: 20px; }
  .site-demo-badge { margin-top: 0; }
  .site-figure, .site-card, .site-verification { padding: 16px; }
  .site-figure-head { align-items: flex-start; }
  .site-details, .site-steps { grid-template-columns: minmax(0, 1fr); }
  .site-steps { gap: 18px; }
  .site-empty { padding: 22px 18px; gap: 12px; }
  .site-empty h2 { font-size: 26px; }
}

/* Controls owned by the main workspace; results styles above stay module-scoped. */
.site-workbench { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 18px 20px; margin: 18px 0 20px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.site-workbench > div { flex: 1; max-width: 540px; min-width: 0; }
.site-workbench p { max-width: 300px; color: #6b786b; font-size: 10px; line-height: 1.5; }
.site-tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.site-tabs button { flex: 0 0 auto; padding: 12px 18px; background: transparent; border: 0; border-bottom: 2px solid transparent; color: #6c786c; font-size: 12px; font-weight: 500; }
.site-tabs button:hover { background: #edf3eb; color: var(--ink); }
.site-tabs button[aria-selected="true"] { border-bottom-color: var(--sage); color: var(--ink); font-weight: 700; }
.screener-site-link { margin-top: 12px; }
@media (max-width: 700px) {
  .site-workbench { align-items: stretch; flex-direction: column; gap: 10px; padding: 16px; }
  .site-workbench p { max-width: none; }
  .site-tabs button { padding: 11px 14px; }
}
