:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1a3430;
  background: #f5f7f4;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --muted: #596b66;
  --line: #dce4dd;
  --accent: #176b59;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button:focus-visible, a:focus-visible, input:focus-visible, pre:focus-visible { outline: 3px solid #278d78; outline-offset: 3px; }
.site-header, main, .site-footer { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; color: #173f34; font-size: 22px; font-weight: 750; letter-spacing: -.6px; text-decoration: none; }
.brand-icon { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--accent); border-radius: 9px; font-size: 24px; line-height: 1; }
.header-note { color: var(--muted); font-size: 13px; }
.intro { padding: 36px 0 28px; }
.eyebrow { margin: 0 0 10px; color: #477461; font-size: 11px; font-weight: 750; line-height: 1.5; letter-spacing: 1.6px; text-transform: uppercase; }
h1 { max-width: 950px; margin: 0; font-size: clamp(28px, 3.1vw, 42px); font-weight: 650; line-height: 1.15; letter-spacing: -1.5px; overflow-wrap: anywhere; }
h2 { margin: 0; font-size: 21px; font-weight: 650; line-height: 1.3; letter-spacing: -.5px; }
h3 { margin: 25px 0 10px; color: #405a50; font-size: 12px; font-weight: 700; }
.lede { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: stretch; }
.map-panel { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.map-toolbar { height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.mode-label { color: #416358; font-size: 12px; font-weight: 650; }
[hidden] { display: none !important; }
.quiet-button { min-height: 34px; padding: 6px 9px; border: 1px solid transparent; border-radius: 7px; color: #286553; background: transparent; font-size: 12px; font-weight: 650; white-space: nowrap; }
.quiet-button:hover:enabled { background: #edf4ed; border-color: #d3e3d5; }
#map { width: 100%; height: 470px; background: #edf2ee; }
.map-feedback { min-height: 57px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
.status-badge { flex: 0 0 auto; padding: 5px 8px; border-radius: 5px; color: #53615c; background: #f0f2ef; font-size: 10px; font-weight: 750; letter-spacing: .2px; }
.status-badge[data-state="ready"] { color: #216349; background: #e9f4eb; }
.status-badge[data-state="error"], .status-badge[data-state="empty"], .status-badge[data-state="unverified"] { color: #7e4921; background: #fff0de; }
#map-status { flex: 1; min-width: 0; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
#map-status[data-state="error"] { color: #944523; }
.preview-note { margin: 0; padding: 10px 15px; border-top: 1px solid #edf0e8; background: #fcfcf7; color: #6a7056; font-size: 11px; line-height: 1.55; }
.details-panel { min-width: 0; padding: 26px 24px; border: 1px solid var(--line); border-radius: 14px; background: #eef2e9; }
.details-panel h2 { font-size: 20px; }
.detail-copy, .attribution-copy { color: #61705d; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.detail-copy { margin: 10px 0 23px; }
.facts { margin: 0; }
.facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid #dbe3d3; }
.facts dt { color: #5f705f; font-size: 12px; }
.facts dd { margin: 0; color: #2d4b35; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.layer-list { list-style: none; display: grid; gap: 9px; margin: 0; padding: 0; max-height: 150px; overflow: auto; }
.layer-list li { display: flex; align-items: flex-start; gap: 8px; color: #496252; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.swatch { width: 8px; height: 8px; border-radius: 2px; flex: 0 0 8px; margin-top: 4px; }
.tools-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; margin-top: 24px; }
.tool-panel { min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.tool-panel p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.6; }
.section-heading { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.copy-button { border-color: #dce4dd; }
label { display: block; margin: 21px 0 8px; color: #3c584c; font-size: 11px; font-weight: 650; }
.input-row { display: flex; gap: 8px; }
input { min-width: 0; width: 100%; border: 1px solid #cfdacf; border-radius: 7px; padding: 11px 12px; background: #fbfcfa; color: #334a3d; font-size: 12px; }
.primary-button { flex: 0 0 auto; padding: 10px 14px; border: 1px solid var(--accent); border-radius: 7px; color: #fff; background: var(--accent); font-size: 12px; font-weight: 650; }
.primary-button:hover { background: #125747; }
pre { max-width: 100%; max-height: 160px; overflow: auto; margin: 16px 0 0; padding: 14px; border: 1px solid #e4eae2; border-radius: 8px; background: #f6f8f4; color: #445b4a; font-size: 10px; line-height: 1.7; tab-size: 2; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 36px; color: #758174; font-size: 10px; line-height: 1.7; }
.noscript { position: fixed; bottom: 20px; left: 20px; max-width: calc(100% - 40px); padding: 18px; background: #fff3df; border: 1px solid #bd8c4d; }
.maplibregl-ctrl-attrib { max-width: calc(100% - 20px); font-size: 10px; }
.maplibregl-ctrl-attrib-inner { overflow-wrap: anywhere; }
.maplibregl-canvas:focus-visible { outline-offset: -3px; }
@media (max-width: 900px) {
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .details-panel { padding: 22px; }
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .facts > div { display: block; }
  .facts dd { margin-top: 6px; }
  .tools-grid { grid-template-columns: minmax(0, 1fr); }
  .layer-list { max-height: 100px; }
}
@media (max-width: 560px) {
  .site-header, main, .site-footer { width: calc(100% - 32px); }
  .site-header { min-height: 72px; }
  .wordmark { font-size: 20px; }
  .header-note { font-size: 11px; }
  .intro { padding: 27px 0 23px; }
  h1 { font-size: 29px; letter-spacing: -.9px; }
  .lede { font-size: 13px; line-height: 1.65; }
  #map { height: 380px; }
  .map-toolbar { padding-inline: 12px; }
  .map-feedback { flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  #map-status { order: 3; flex-basis: 100%; font-size: 11px; }
  #retry-map { margin-left: auto; }
  .preview-note { padding-inline: 12px; }
  .details-panel { padding: 20px; }
  .tool-panel { padding: 21px 18px; }
  h2 { font-size: 20px; }
  .section-heading { flex-wrap: wrap; gap: 10px; }
  .input-row { flex-direction: column; }
  .primary-button { min-height: 42px; }
  .site-footer { flex-direction: column; gap: 8px; padding-top: 22px; }
}
html[data-embed="true"], html[data-embed="true"] body { width: 100%; height: 100%; overflow: hidden; }
html[data-embed="true"] .chrome { display: none; }
html[data-embed="true"] main, html[data-embed="true"] .workspace { width: 100%; height: 100%; margin: 0; display: block; }
html[data-embed="true"] .map-panel { height: 100%; border: 0; border-radius: 0; display: flex; flex-direction: column; }
html[data-embed="true"] .map-toolbar { flex: 0 0 38px; height: 38px; padding-inline: 12px; }
html[data-embed="true"] #map { flex: 1; min-height: 0; }
html[data-embed="true"] .map-feedback { min-height: 38px; padding: 6px 10px; }
html[data-embed="true"] #map-status { font-size: 10px; }
html[data-embed="true"] .preview-note { flex: 0 0 auto; padding: 6px 10px; font-size: 10px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
