:root {
  color-scheme: light;
  --ink: #13251e;
  --muted: #66756f;
  --line: #dbe4df;
  --surface: #ffffff;
  --canvas: #f5f7f4;
  --green: #173f32;
  --green-2: #245d48;
  --green-soft: #e7f2ec;
  --orange: #df7624;
  --orange-dark: #bd5b16;
  --shadow: 0 12px 34px rgb(19 37 30 / 8%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.admin-body { background: var(--canvas); color: var(--ink); }
.admin-app { min-height: 100vh; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 16px 18px; background: #12382d; color: white; display: flex; flex-direction: column; z-index: 20; }
.admin-brand { color: white; text-decoration: none; display: flex; align-items: center; gap: 11px; padding: 0 10px 28px; border-bottom: 1px solid rgb(255 255 255 / 11%); }
.admin-mark { width: 41px; height: 35px; flex: none; }
.admin-brand strong { display: block; font-size: 19px; letter-spacing: -.4px; }
.admin-brand small { display: block; margin-top: 2px; color: #9fc1b4; font-size: 10px; font-weight: 750; letter-spacing: 1.35px; text-transform: uppercase; }
.admin-nav { padding-top: 24px; display: grid; gap: 7px; }
.admin-nav button, .sidebar-foot button { width: 100%; border: 0; background: transparent; color: #b8d0c7; display: flex; align-items: center; gap: 12px; border-radius: 10px; padding: 11px 12px; font-weight: 650; text-align: left; }
.admin-nav button:hover, .admin-nav button.active, .sidebar-foot button:hover { color: white; background: rgb(255 255 255 / 10%); }
.admin-nav button.active { box-shadow: inset 3px 0 #f28a3c; }
.admin-nav i { margin-left: auto; background: rgb(255 255 255 / 12%); border-radius: 999px; padding: 2px 7px; color: #d8e7e1; font-size: 11px; font-style: normal; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.admin-nav .icon:first-child { fill: none; }
.sidebar-foot { margin-top: auto; border-top: 1px solid rgb(255 255 255 / 11%); padding-top: 16px; display: grid; gap: 4px; }
.sidebar-foot a { color: #9fc1b4; text-decoration: none; display: flex; justify-content: space-between; padding: 11px 12px; font-size: 13px; }
.sidebar-foot a:hover { color: white; }

.admin-main { min-width: 0; overflow-x: hidden; }
.admin-topbar { height: 72px; position: sticky; top: 0; z-index: 15; padding: 0 30px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 94%); backdrop-filter: blur(15px); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.global-search { width: min(470px, 45vw); display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; background: #f8faf8; padding: 9px 12px; color: #73827c; }
.global-search input, .inline-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); }
.global-search kbd { border: 1px solid #d3ddd8; background: white; border-radius: 5px; padding: 2px 6px; color: #87938e; font-size: 11px; }
.topbar-actions, .heading-actions { display: flex; align-items: center; gap: 10px; }
.sync-state { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.sync-state i { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 4px #fef3c7; }
.sync-state.connected i { background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; }
.sync-state.error i { background: #ef4444; box-shadow: 0 0 0 4px #fee2e2; }
.admin-avatar { width: 36px; height: 36px; border: 0; border-radius: 50%; color: white; background: var(--green); font-size: 12px; font-weight: 800; }
.primary-button, .ghost-button, .wide-action { border-radius: 9px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 0 15px; font-size: 13px; font-weight: 750; }
.primary-button { color: white; background: var(--orange); box-shadow: 0 4px 12px rgb(223 118 36 / 20%); }
.primary-button:hover { background: var(--orange-dark); }
.primary-button:disabled { opacity: .45; cursor: not-allowed; }
.ghost-button { color: var(--ink); border-color: var(--line); background: white; }
.ghost-button:hover { background: #f8faf8; border-color: #c4d1cb; }
.wide-action { width: 100%; color: var(--green); border-color: #bdd3c9; background: var(--green-soft); }
.wide-action.accent { color: white; border-color: var(--green); background: var(--green); }
.mobile-menu { display: none; border: 0; background: transparent; font-size: 21px; }

.admin-content { padding: 32px; max-width: 1600px; margin: 0 auto; }
.admin-view { display: none; }
.admin-view.active { display: block; animation: reveal .24s ease-out; }
@keyframes reveal { from { opacity: 0; transform: translateY(4px); } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.page-heading.compact { align-items: center; }
.page-heading h1 { margin: 3px 0 7px; font-family: Georgia, serif; font-size: clamp(29px, 3vw, 39px); line-height: 1.05; letter-spacing: -.7px; }
.page-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.eyebrow { color: var(--orange) !important; font-size: 10px !important; font-weight: 850; letter-spacing: 1.5px; text-transform: uppercase; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.metric-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 2px 5px rgb(15 23 42 / 2%); display: flex; gap: 14px; align-items: flex-start; }
.metric-icon { width: 43px; height: 43px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.metric-icon.green { color: #15803d; background: #dcfce7; }.metric-icon.blue { color: #0369a1; background: #e0f2fe; }.metric-icon.orange { color: #c2410c; background: #ffedd5; }.metric-icon.purple { color: #7e22ce; background: #f3e8ff; }
.metric-card p { margin: 0 0 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.metric-card strong { display: block; font-size: 28px; letter-spacing: -.8px; }
.metric-card small { color: #88948f; font-size: 11px; }.metric-card small b { color: #15803d; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .8fr); gap: 20px; }
.panel { border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 2px 5px rgb(15 23 42 / 2%); }
.panel-heading { min-height: 76px; padding: 18px 20px; border-bottom: 1px solid #e7ece9; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-heading h2 { margin: 0 0 4px; font-size: 16px; }.panel-heading p { margin: 0; color: var(--muted); font-size: 12px; }.panel-heading button { border: 0; background: transparent; color: var(--orange-dark); font-weight: 750; font-size: 12px; }
.campground-list { display: grid; }
.list-row { display: grid; grid-template-columns: minmax(220px, 1fr) 140px 110px 34px; gap: 14px; align-items: center; padding: 15px 20px; border-bottom: 1px solid #edf1ef; }
.list-row:last-child { border-bottom: 0; }.list-row:hover { background: #fbfcfb; }
.campground-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.property-thumb { width: 45px; height: 45px; flex: none; border-radius: 10px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, #1d5943, #78a889); font-family: Georgia, serif; font-weight: 800; }
.campground-name strong, .campground-name small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.campground-name strong { font-size: 13px; }.campground-name small { color: var(--muted); margin-top: 3px; font-size: 11px; }
.list-meta { color: var(--muted); font-size: 12px; }.list-meta strong { display: block; color: var(--ink); font-size: 13px; }
.row-open { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--muted); }
.status-pill { width: max-content; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: capitalize; }
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-published { color: #13743c; background: #dcfce7; }.status-review { color: #a65312; background: #ffedd5; }.status-draft { color: #53645d; background: #edf1ef; }.status-archived { color: #6b7280; background: #e5e7eb; }
.status-new { color: #a65312; background: #ffedd5; }.status-contacted { color: #0369a1; background: #e0f2fe; }.status-qualified { color: #13743c; background: #dcfce7; }.status-closed { color: #6b7280; background: #e5e7eb; }
.quick-panel { overflow: hidden; }.production-steps { margin: 0; padding: 18px 22px 10px; list-style: none; }.production-steps li { position: relative; display: flex; gap: 13px; padding-bottom: 22px; }.production-steps li:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 31px; width: 1px; height: 26px; background: #cfddd6; }.production-steps li > span { width: 29px; height: 29px; border: 1px solid #bbd2c7; color: var(--green-2); background: var(--green-soft); border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; }.production-steps strong, .production-steps small { display: block; }.production-steps strong { font-size: 13px; }.production-steps small { margin-top: 3px; color: var(--muted); font-size: 11px; }.quick-panel .wide-action { width: calc(100% - 40px); margin: 0 20px 20px; }

.catalog-panel { overflow: hidden; }
.catalog-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.inline-search { width: 300px; display: flex; align-items: center; gap: 8px; color: #839089; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.inline-search .icon { width: 17px; }
.filter-tabs { display: flex; padding: 3px; border-radius: 8px; background: #f0f4f2; }
.filter-tabs button { border: 0; border-radius: 6px; color: var(--muted); background: transparent; padding: 7px 11px; font-size: 11px; font-weight: 700; }.filter-tabs button.active { color: var(--ink); background: white; box-shadow: 0 1px 4px rgb(15 23 42 / 8%); }
.table-wrap { overflow: auto; }
.catalog-load-more { display: block; min-width: 190px; margin: 14px auto; border: 1px solid var(--line); border-radius: 8px; padding: 9px 15px; color: var(--green); background: white; font-size: 11px; font-weight: 800; }.catalog-load-more:hover { background: var(--green-soft); }
.campground-table { width: 100%; border-collapse: collapse; min-width: 850px; }
.campground-table th { padding: 12px 18px; color: #73817b; background: #fafcfb; font-size: 10px; letter-spacing: .7px; text-align: left; text-transform: uppercase; }
.campground-table td { padding: 14px 18px; border-top: 1px solid #edf1ef; color: var(--muted); font-size: 12px; vertical-align: middle; }.campground-table tbody tr:hover { background: #fafcfb; }.campground-table .campground-name { color: var(--ink); }.source-state { display: flex; align-items: center; gap: 6px; }.source-state i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }.source-state.ready i { background: #22c55e; }.table-actions { display: flex; justify-content: flex-end; gap: 5px; }.table-actions button { width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--muted); }.empty-state { text-align: center; padding: 55px 20px; }.empty-state > span { width: 55px; height: 55px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; color: var(--green-2); background: var(--green-soft); }.empty-state h3 { margin: 0 0 5px; }.empty-state p { margin: 0 0 17px; color: var(--muted); font-size: 13px; }

.studio-view.active { display: block; }.studio-view { max-width: none; }.studio-shell { height: calc(100vh - 190px); min-height: 650px; border: 1px solid var(--line); border-radius: 14px; background: white; overflow: hidden; display: grid; grid-template-columns: 350px minmax(0, 1fr); box-shadow: var(--shadow); }
.studio-inspector { padding: 18px; overflow-y: auto; border-right: 1px solid var(--line); background: #fbfcfb; }
.field-label, .studio-inspector label { display: block; color: #5f7068; font-size: 10px; font-weight: 800; letter-spacing: .55px; text-transform: uppercase; }
.studio-inspector select, .studio-inspector input { width: 100%; height: 38px; margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); padding: 0 10px; outline: none; }
.studio-step { display: flex; gap: 10px; align-items: center; margin: 22px 0 12px; }.studio-step > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #73817b; background: #e9eeeb; font-size: 10px; font-weight: 850; }.studio-step.active > span { color: white; background: var(--orange); }.studio-step strong, .studio-step small { display: block; }.studio-step strong { font-size: 12px; }.studio-step small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.source-drop, .import-drop { border: 1.5px dashed #b8ccc2; border-radius: 10px; padding: 18px; text-align: center; background: #f8fbf9; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; }.source-drop:hover, .import-drop:hover { border-color: var(--green-2); background: var(--green-soft); }.source-drop input, .import-drop input { display: none; }.source-drop span, .import-drop span { width: 37px; height: 37px; margin: 0 auto 8px; display: grid; place-items: center; color: var(--green-2); background: var(--green-soft); border-radius: 50%; }.source-drop strong, .source-drop small, .import-drop strong, .import-drop small { display: block; }.source-drop strong, .import-drop strong { color: var(--ink); font-size: 11px; }.source-drop small, .import-drop small { color: var(--muted); font-size: 9px; margin-top: 4px; }
.source-file { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 9px; padding: 9px; background: white; }.file-preview { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 7px; color: var(--green); background: var(--green-soft); font-size: 8px; font-weight: 900; }.source-file strong, .source-file small { display: block; max-width: 125px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.source-file strong { font-size: 10px; }.source-file small { color: var(--muted); font-size: 9px; }.source-file button { border: 0; background: transparent; color: var(--orange-dark); font-size: 9px; font-weight: 800; }
.generator-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 9px; }.generator-fields label { text-transform: none; letter-spacing: 0; font-size: 9px; }.generator-fields input { height: 34px; }
.site-detection-palette { margin: 0 0 9px; padding: 9px; border: 1px solid #d8d0e5; border-radius: 8px; background: #fcfaff; }.site-detection-palette summary { color: var(--ink); cursor: pointer; font-size: 9px; font-weight: 850; }.site-detection-palette > p { margin: 7px 0 8px; color: var(--muted); font-size: 8px; line-height: 1.45; }.palette-color-grid { display: grid; gap: 5px; }.palette-color-grid label { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 7px; padding: 5px 6px; border: 1px solid var(--line); border-radius: 7px; background: white; cursor: pointer; text-transform: none; letter-spacing: 0; }.palette-color-grid input[type="color"] { width: 30px; height: 27px; margin: 0; border: 0; border-radius: 5px; padding: 0; cursor: pointer; overflow: hidden; }.palette-color-grid input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }.palette-color-grid input[type="color"]::-webkit-color-swatch { border: 1px solid #aab6b0; border-radius: 5px; }.palette-color-grid b, .palette-color-grid small { display: block; }.palette-color-grid b { color: var(--ink); font-size: 8px; }.palette-color-grid small { margin-top: 1px; color: var(--muted); font-size: 7px; }.site-detection-palette .palette-tolerance { display: grid; grid-template-columns: auto 1fr 21px; align-items: center; gap: 6px; margin-top: 8px; color: var(--muted); font-size: 8px; letter-spacing: 0; text-transform: none; }.palette-tolerance input[type="range"] { height: 18px; margin: 0; padding: 0; accent-color: var(--green); }.palette-tolerance output { color: var(--ink); font-size: 8px; font-weight: 850; text-align: right; }
.gps-calibration { margin: 0 0 9px; padding: 9px; border: 1px solid #b8d5c6; border-radius: 8px; background: #f7fbf8; }.gps-calibration > summary { color: var(--green); cursor: pointer; font-size: 9px; font-weight: 900; }.gps-calibration > p { margin: 7px 0; color: var(--muted); font-size: 8px; line-height: 1.45; }.live-map-calibration { padding: 8px; border: 1px solid #b9d5e5; border-radius: 7px; background: #f0f9ff; }.live-calibration-heading { display: flex; align-items: center; justify-content: space-between; gap: 7px; }.live-calibration-heading b, .live-calibration-heading small { display: block; }.live-calibration-heading b { font-size: 8px; }.live-calibration-heading small { margin-top: 2px; color: var(--muted); font-size: 7px; line-height: 1.35; }.live-calibration-heading button { flex: none; border: 0; border-radius: 5px; padding: 6px 7px; color: white; background: #0284c7; font-size: 7px; font-weight: 850; }.live-calibration-heading button:disabled { opacity: .55; }.live-calibration-controls { margin-top: 8px; }.live-calibration-fix { display: flex; align-items: center; gap: 5px; padding: 6px; border-radius: 5px; color: #075985; background: #e0f2fe; font-size: 7px; font-weight: 750; }.live-calibration-fix i { width: 6px; height: 6px; border-radius: 50%; background: #0ea5e9; box-shadow: 0 0 0 3px rgb(14 165 233 / 14%); }.live-calibration-controls label { display: grid; grid-template-columns: auto 1fr 62px; align-items: center; gap: 6px; margin-top: 7px; text-transform: none; letter-spacing: 0; font-size: 8px; }.live-calibration-controls input[type="range"] { height: 20px; margin: 0; padding: 0; accent-color: #0284c7; }.live-calibration-controls output { color: var(--ink); font-size: 7px; font-weight: 850; text-align: right; }.live-calibration-controls > p { margin: 6px 0; color: var(--muted); font-size: 7px; line-height: 1.4; }.live-calibration-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 6px; }.live-calibration-actions button { border: 1px solid var(--line); border-radius: 5px; padding: 6px; color: var(--ink); background: white; font-size: 7px; font-weight: 850; }.live-calibration-actions button:last-child { color: white; border-color: var(--green); background: var(--green); }.calibration-divider { display: flex; align-items: center; gap: 6px; margin: 8px 0 1px; color: #87958f; font-size: 7px; text-transform: uppercase; }.calibration-divider::before, .calibration-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }.calibration-point { margin-top: 7px; padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: white; }.calibration-point.active { border-color: var(--orange); box-shadow: 0 0 0 2px rgb(223 118 36 / 12%); }.calibration-point > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 6px; }.calibration-point b { font-size: 8px; }.calibration-point > div:first-child button, .calibration-location { border: 0; border-radius: 5px; padding: 5px 7px; color: var(--green); background: var(--green-soft); font-size: 7px; font-weight: 850; }.calibration-point > small { display: block; margin: 5px 0; color: var(--muted); font-size: 7px; }.calibration-coordinate-grid, .geo-bound-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }.calibration-coordinate-grid label, .geo-bound-grid label { text-transform: none; letter-spacing: 0; font-size: 8px; }.calibration-coordinate-grid input, .geo-bound-grid input { height: 31px; margin-top: 3px; padding: 0 7px; font-size: 9px; }.calibration-location { width: 100%; margin-top: 6px; }.calibration-apply { min-height: 33px; margin-top: 8px; font-size: 8px; }.calibration-apply:disabled { cursor: not-allowed; opacity: .45; }.calibration-status { margin-top: 7px; padding: 7px; border-radius: 6px; color: #52635c; background: #eaf2ee; font-size: 8px; line-height: 1.4; }.calibration-status.success { color: #166534; background: #dcfce7; }.manual-bounds { margin-top: 7px; }.manual-bounds > summary { color: var(--muted); cursor: pointer; font-size: 8px; font-weight: 750; }.manual-bounds .geo-bound-grid { margin-top: 7px; }.calibration-marker { pointer-events: none; }.calibration-marker circle { fill: var(--orange); stroke: white; stroke-width: 5; vector-effect: non-scaling-stroke; filter: drop-shadow(0 2px 3px rgb(15 23 42 / 35%)); }.calibration-marker text { fill: white; font-size: 16px; font-weight: 900; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.field-survey { margin: 0 0 9px; padding: 9px; border: 1px solid #b8d5c6; border-radius: 8px; background: #f1f8f4; }.field-survey summary { color: var(--green); cursor: pointer; font-size: 9px; font-weight: 900; }.field-survey > p { margin: 7px 0; color: var(--muted); font-size: 8px; line-height: 1.45; }.field-survey > p.survey-safety { padding: 6px; border-radius: 6px; color: #9a3412; background: #ffedd5; font-weight: 750; }.field-survey label { margin-top: 7px; text-transform: none; letter-spacing: 0; font-size: 8px; }.field-survey input, .field-survey select { height: 32px; margin-top: 3px; font-size: 9px; }.field-survey .wide-action { min-height: 34px; margin-top: 7px; border: 0; border-radius: 7px; color: white; background: var(--green); font-size: 9px; font-weight: 850; }.field-survey .wide-action:disabled, .field-capture-row button:disabled { cursor: not-allowed; opacity: .45; }.field-survey .field-record-button.recording { background: #dc2626; }.field-gps-state { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 8px; font-weight: 750; }.field-gps-state i { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; }.field-gps-state.live i { background: #22c55e; box-shadow: 0 0 0 3px rgb(34 197 94 / 16%); }.field-capture-row { display: grid; grid-template-columns: 1fr auto; gap: 7px; align-items: end; }.field-capture-row button { height: 32px; border: 0; border-radius: 7px; padding: 0 9px; color: white; background: var(--orange); font-size: 8px; font-weight: 850; }.field-amenity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }.field-survey .field-add-button { background: #64748b; }.field-survey > small { display: block; margin-top: 7px; color: var(--muted); font-size: 8px; }.vector-amenity { cursor: pointer; }.vector-amenity circle { fill: #f97316; stroke: white; stroke-width: 3; vector-effect: non-scaling-stroke; }.vector-amenity text { fill: #0f172a; font-size: 12px; font-weight: 850; paint-order: stroke; stroke: white; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }.vector-amenity.selected circle { fill: #38bdf8; filter: drop-shadow(0 0 6px #38bdf8); }.field-position circle:first-child { fill: rgb(56 189 248 / 18%); stroke: #0284c7; stroke-width: 3; stroke-dasharray: 8 6; vector-effect: non-scaling-stroke; }.field-position circle:last-child { fill: #0284c7; stroke: white; stroke-width: 5; vector-effect: non-scaling-stroke; filter: drop-shadow(0 3px 5px rgb(3 55 83 / 40%)); }.field-position text { fill: #075985; font-size: 12px; font-weight: 900; paint-order: stroke; stroke: white; stroke-width: 5px; }.field-position.outside-map circle:last-child { fill: #f97316; }.field-position.outside-map text { fill: #9a3412; }
.trace-option { margin: 4px 0 10px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: white; display: flex !important; align-items: center; gap: 8px; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; }.trace-option input { width: 15px; height: 15px; margin: 0; accent-color: var(--green); }.trace-option span { min-width: 0; }.trace-option strong, .trace-option small { display: block; }.trace-option strong { color: var(--ink); font-size: 9px; }.trace-option small { margin-top: 2px; color: var(--muted); font-size: 8px; }.detection-summary { margin-top: 9px; padding: 9px; border-radius: 8px; color: #14532d; background: #dcfce7; font-size: 9px; line-height: 1.5; }.detection-summary.warning { color: #9a3412; background: #ffedd5; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 13px; }.tool-grid button { border: 1px solid var(--line); border-radius: 8px; padding: 8px; color: #64736d; background: white; font-size: 10px; font-weight: 750; }.tool-grid button span { display: block; margin-bottom: 3px; font-size: 17px; }.tool-grid button:hover, .tool-grid button.active { color: var(--green); border-color: #97baaa; background: var(--green-soft); }
.map-builder-card { margin-top: 13px; padding: 12px; border: 1px solid #bfd8cc; border-radius: 11px; background: linear-gradient(145deg,#f7fbf9,#eef7f2); box-shadow: 0 7px 20px rgb(23 63 50 / 7%); }.builder-heading { display: flex; align-items: center; gap: 9px; }.builder-heading > span { display: grid; width: 38px; height: 30px; place-items: center; border-radius: 7px; color: white; background: var(--green); font-size: 7px; font-weight: 900; letter-spacing: .08em; }.builder-heading strong,.builder-heading small { display: block; }.builder-heading strong { font-size: 11px; }.builder-heading small { margin-top: 2px; color: var(--muted); font-size: 8px; }.builder-tools { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 11px; }.builder-tools button { min-height: 61px; padding: 7px; text-align: left; }.builder-tools button span { float: left; width: 25px; margin: 0 7px 18px 0; text-align: center; }.builder-tools button small { display: block; margin-top: 2px; color: var(--muted); font-size: 7px; font-weight: 600; }.builder-tools button:last-child { grid-column: 1/-1; min-height: 46px; }.builder-tools button:last-child span { margin-bottom: 0; }.builder-presets { margin-top: 10px; }.builder-presets > div { display: none; padding-top: 10px; border-top: 1px solid #d6e4dd; gap: 7px; }.map-builder-card[data-active-tool="site"] .site-presets { display: grid; grid-template-columns: 1fr 1fr; }.map-builder-card[data-active-tool="site"] .site-presets label:last-child { grid-column: 1/-1; }.map-builder-card[data-active-tool="road"] .road-presets { display: grid; grid-template-columns: 1fr 1fr; }.builder-presets label { text-transform: none; letter-spacing: 0; font-size: 8px; }.builder-presets input,.builder-presets select { height: 33px; margin-top: 4px; padding: 0 7px; font-size: 9px; }.builder-tip { margin: 9px 1px 0; color: #65776e; font-size: 7px; line-height: 1.4; }
.selection-form { min-height: 70px; border: 1px solid var(--line); border-radius: 9px; background: white; padding: 10px; }.selection-form p { margin: 6px; color: var(--muted); font-size: 10px; line-height: 1.5; }.selection-form label { margin-bottom: 8px; text-transform: none; letter-spacing: 0; font-size: 9px; }.selection-form input, .selection-form select { height: 32px; }.selection-form .delete-feature { width: 100%; border: 1px solid #fecaca; border-radius: 7px; padding: 7px; color: #b91c1c; background: #fff1f2; font-size: 10px; font-weight: 750; }
.layer-summary { margin-top: 12px; display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }.layer-summary span { display: flex; align-items: center; gap: 5px; }.layer-summary i { width: 14px; height: 5px; border-radius: 3px; }.layer-road { background: #64748b; }.layer-site { background: #7c3aed; }
.studio-canvas-panel { min-width: 0; display: grid; grid-template-rows: 51px minmax(0, 1fr) 31px; background: #e9eeeb; }
.canvas-toolbar, .canvas-status { background: white; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }.canvas-toolbar { border-bottom: 1px solid var(--line); }.canvas-toolbar > div { display: flex; align-items: center; gap: 7px; }.canvas-toolbar button { min-width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: white; font-weight: 750; }.canvas-toolbar span { color: var(--muted); font-size: 10px; }.canvas-legend { gap: 15px !important; }.canvas-legend span { display: flex; align-items: center; gap: 5px; }.canvas-legend i { width: 9px; height: 9px; border-radius: 2px; }.source-dot { background: #cbd5e1; }.vector-dot { background: #38bdf8; }
.canvas-toolbar .canvas-gps-button { width: auto; padding: 0 11px; color: white; border-color: #0369a1; background: #0284c7; font-size: 9px; }.canvas-toolbar .canvas-gps-button:hover { background: #0369a1; }.canvas-calibration-actions { flex: 1; justify-content: flex-end; }.canvas-calibration-actions > span { color: #075985; font-weight: 750; }.canvas-toolbar .canvas-calibration-actions button { padding: 0 9px; font-size: 8px; }.canvas-toolbar .canvas-calibration-actions .apply { color: white; border-color: var(--green); background: var(--green); }.site-review-button { margin-top: 8px; color: #075985; border-color: #7dd3fc; background: #e0f2fe; }
.canvas-tool-shortcuts { padding: 3px; border-radius: 8px; background: #eef3f0; }.canvas-toolbar .canvas-tool-shortcuts button { width: auto; padding: 0 10px; border-color: transparent; background: transparent; font-size: 9px; }.canvas-toolbar .canvas-tool-shortcuts button.active { color: white; border-color: var(--green); background: var(--green); }
.studio-canvas { position: relative; overflow: hidden; background-color: #edf1ef; background-image: linear-gradient(#dbe3df 1px, transparent 1px), linear-gradient(90deg, #dbe3df 1px, transparent 1px); background-size: 22px 22px; }
.canvas-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }.canvas-empty > span { width: 58px; height: 58px; display: grid; place-items: center; color: #729183; background: white; border: 1px solid #d2ded8; border-radius: 14px; box-shadow: var(--shadow); }.canvas-empty h3 { margin: 14px 0 5px; }.canvas-empty p { margin: 0; color: var(--muted); font-size: 12px; }
.canvas-stage { position: absolute; left: calc(50% + var(--stage-x, 0px)); top: calc(50% + var(--stage-y, 0px)); width: min(92%, 1200px); aspect-ratio: 1600 / 950; transform: translate(-50%, -50%) scale(var(--stage-scale, 1)); transform-origin: center; background: white; box-shadow: 0 12px 35px rgb(15 23 42 / 18%); user-select: none; }.canvas-stage img, .canvas-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }.canvas-stage img { object-fit: fill; opacity: .63; pointer-events: none; }.canvas-stage svg { overflow: visible; touch-action: none; }.studio-canvas.aligning .canvas-stage { box-shadow: 0 0 0 3px #38bdf8, 0 16px 45px rgb(15 23 42 / 24%); }.studio-canvas.aligning [data-vector-overlay] { cursor: grab; }.studio-canvas.aligning.dragging [data-vector-overlay] { cursor: grabbing; }.calibration-gps-anchor { position: absolute; z-index: 20; left: 50%; top: 50%; display: grid; justify-items: center; transform: translate(-50%, -50%); pointer-events: none; filter: drop-shadow(0 5px 10px rgb(3 55 83 / 35%)); }.calibration-gps-anchor > span { width: 31px; height: 31px; border: 4px solid white; border-radius: 50%; background: #0284c7; box-shadow: 0 0 0 4px #075985, 0 0 0 14px rgb(56 189 248 / 24%); animation: calibration-gps-pulse 1.8s ease-out infinite; }.calibration-gps-anchor::before, .calibration-gps-anchor::after { content: ''; position: absolute; z-index: 1; left: 50%; top: 15px; background: white; transform: translate(-50%, -50%); }.calibration-gps-anchor::before { width: 15px; height: 2px; }.calibration-gps-anchor::after { width: 2px; height: 15px; }.calibration-gps-anchor b, .calibration-gps-anchor small { margin-top: 14px; border-radius: 999px; padding: 4px 8px; color: white; background: #075985; box-shadow: 0 2px 7px rgb(15 23 42 / 25%); font-size: 8px; white-space: nowrap; }.calibration-gps-anchor small { margin-top: 3px; color: #075985; background: rgb(255 255 255 / 97%); font-size: 7px; }.vector-site { cursor: pointer; }.vector-site rect, .vector-site polygon { fill: #7c3aed; stroke: white; stroke-width: 3; vector-effect: non-scaling-stroke; }.vector-site text { fill: white; font-size: 15px; font-weight: 850; text-anchor: middle; dominant-baseline: central; pointer-events: none; }.vector-site.selected rect, .vector-site.selected polygon { stroke: #38bdf8; stroke-width: 6; filter: drop-shadow(0 0 7px #38bdf8); }.vector-road { cursor: pointer; fill: none; stroke: #64748b; stroke-width: 16px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }.vector-road.selected { stroke: #38bdf8; filter: drop-shadow(0 0 5px #38bdf8); }.vector-road.field-recording { stroke: #0ea5e9; stroke-dasharray: 16 8; filter: drop-shadow(0 0 5px #38bdf8); animation: field-road-pulse 1.2s linear infinite; }@keyframes field-road-pulse { to { stroke-dashoffset: -24; } }@keyframes calibration-gps-pulse { 0% { box-shadow: 0 0 0 4px #075985, 0 0 0 7px rgb(56 189 248 / 38%); } 70% { box-shadow: 0 0 0 4px #075985, 0 0 0 20px rgb(56 189 248 / 0%); } 100% { box-shadow: 0 0 0 4px #075985, 0 0 0 7px rgb(56 189 248 / 0%); } }.vector-road-hit { cursor: pointer; fill: none; stroke: transparent; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: stroke; }.draft-road { fill: none; stroke: #38bdf8; stroke-width: 7; stroke-dasharray: 14 10; stroke-linecap: round; vector-effect: non-scaling-stroke; }.map-feature-menu { position: absolute; z-index: 8; width: 190px; padding: 11px; border: 1px solid #cbd8d1; border-radius: 10px; background: rgb(255 255 255 / 97%); box-shadow: 0 14px 35px rgb(15 23 42 / 24%); backdrop-filter: blur(6px); }.map-feature-menu::before { content: ''; position: absolute; left: 13px; top: -6px; width: 10px; height: 10px; border-left: 1px solid #cbd8d1; border-top: 1px solid #cbd8d1; background: white; transform: rotate(45deg); }.map-feature-menu strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 11px; }.map-feature-menu label { display: block; margin-top: 7px; color: #66776f; font-size: 8px; font-weight: 800; letter-spacing: .45px; text-transform: uppercase; }.map-feature-menu input { width: 100%; height: 29px; margin-top: 4px; border: 1px solid var(--line); border-radius: 6px; padding: 0 7px; color: var(--ink); background: white; font-size: 10px; outline: none; }.map-feature-menu input:focus { border-color: #70a58d; box-shadow: 0 0 0 2px #e3f0ea; }.map-feature-menu .delete-feature { width: 100%; margin-top: 9px; border: 1px solid #fecaca; border-radius: 6px; padding: 6px; color: #b91c1c; background: #fff1f2; font-size: 9px; font-weight: 800; }.canvas-status { border-top: 1px solid var(--line); color: #718079; font-size: 9px; }
.studio-canvas[data-active-tool="site"] [data-vector-overlay],.studio-canvas[data-active-tool="road"] [data-vector-overlay],.studio-canvas[data-active-tool="amenity"] [data-vector-overlay] { cursor: crosshair; }.road-draft-bar { position: absolute; z-index: 12; right: 16px; bottom: 16px; left: 16px; display: flex; align-items: center; gap: 7px; padding: 9px; border: 1px solid #8dd5ee; border-radius: 10px; background: rgb(240 249 255 / 96%); box-shadow: 0 12px 35px rgb(3 55 83 / 18%); backdrop-filter: blur(8px); }.road-draft-bar[hidden] { display: none; }.road-draft-bar > span { display: grid; grid-template-columns: 9px auto; align-items: center; column-gap: 7px; margin-right: auto; }.road-draft-bar i { grid-row: 1/3; width: 9px; height: 9px; border-radius: 50%; background: #0ea5e9; box-shadow: 0 0 0 4px rgb(14 165 233 / 14%); }.road-draft-bar b { color: #075985; font-size: 10px; }.road-draft-bar small { color: #527387; font-size: 7px; }.road-draft-bar button { min-height: 31px; border: 1px solid #bad7e5; border-radius: 7px; padding: 0 10px; color: #164e63; background: white; font-size: 8px; font-weight: 800; }.road-draft-bar button:disabled { opacity: .45; }.road-draft-bar button.finish { color: white; border-color: #0284c7; background: #0284c7; }.vector-road.one-way { stroke: #475569; }.vector-road.pedestrian-only { stroke: #16a34a; stroke-dasharray: 10 8; }.vector-road.closed { stroke: #dc2626; stroke-dasharray: 18 9; }.road-direction-arrow { fill: #0ea5e9; stroke: white; stroke-width: 2; vector-effect: non-scaling-stroke; pointer-events: none; filter: drop-shadow(0 1px 2px rgb(15 23 42 / 40%)); }.road-vertex circle { fill: white; stroke: #0284c7; stroke-width: 3; vector-effect: non-scaling-stroke; cursor: move; }.road-vertex text { fill: #075985; font-size: 11px; font-weight: 900; text-anchor: middle; dominant-baseline: central; pointer-events: none; }.road-vertex.endpoint circle { fill: #e0f2fe; stroke-width: 4; }.road-direction-note { fill: #075985; font-size: 10px; font-weight: 900; text-anchor: middle; paint-order: stroke; stroke: white; stroke-width: 4px; pointer-events: none; }
.selection-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -2px -2px 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }.selection-heading span { display: grid; }.selection-heading strong { font-size: 11px; }.selection-heading small { margin-top: 2px; color: var(--muted); font-size: 7px; }.selection-heading i { padding: 4px 6px; border-radius: 999px; color: #075985; background: #e0f2fe; font-size: 7px; font-style: normal; font-weight: 850; text-transform: uppercase; }.selection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }.selection-grid label.full { grid-column: 1/-1; }.flow-field { margin: 8px 0; }.flow-field > span { display: block; margin-bottom: 5px; color: #5f7068; font-size: 8px; font-weight: 800; }.flow-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }.flow-picker button { min-height: 32px; border: 1px solid var(--line); border-radius: 7px; color: #596a62; background: white; font-size: 8px; font-weight: 750; }.flow-picker button.active { color: white; border-color: #0284c7; background: #0284c7; }.flow-picker button[data-road-flow="closed"].active { border-color: #dc2626; background: #dc2626; }.direction-actions { display: flex; gap: 6px; margin: 8px 0; }.direction-actions button { flex: 1; border: 1px solid #7dd3fc; border-radius: 7px; padding: 7px; color: #075985; background: #e0f2fe; font-size: 8px; font-weight: 800; }.direction-actions button:last-child { border-color: var(--line); color: #52635c; background: #f3f6f4; }.selection-form .duplicate-feature { width: 100%; margin-bottom: 6px; border: 1px solid #c4b5fd; border-radius: 7px; padding: 7px; color: #5b21b6; background: #f5f3ff; font-size: 9px; font-weight: 800; }.map-feature-menu input,.map-feature-menu select { width: 100%; height: 29px; margin-top: 4px; border: 1px solid var(--line); border-radius: 6px; padding: 0 7px; color: var(--ink); background: white; font-size: 10px; outline: none; }.map-feature-menu .menu-action { width: 100%; margin-top: 7px; border: 1px solid #7dd3fc; border-radius: 6px; padding: 6px; color: #075985; background: #e0f2fe; font-size: 8px; font-weight: 800; }

.source-sync-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }.source-sync-card { padding: 21px; }.source-sync-heading { display: flex; align-items: center; gap: 13px; }.source-sync-heading h2 { margin: 0 0 4px; font-size: 16px; }.source-sync-heading p { margin: 0; color: var(--muted); font-size: 11px; }.large-icon.federal { color: #1d4ed8; background: #dbeafe; }.large-icon.osm { color: #166534; background: #dcfce7; }.source-sync-card ul { margin: 16px 0; padding-left: 19px; color: var(--muted); font-size: 11px; line-height: 1.8; }.source-sync-card > small { display: block; margin-top: 8px; color: var(--muted); font-size: 9px; }.source-sync-card .wide-action:disabled { cursor: not-allowed; opacity: .45; }.sync-history-panel { margin-bottom: 18px; overflow: hidden; }.sync-history { display: grid; }.sync-history > p { margin: 0; padding: 20px; color: var(--muted); font-size: 11px; }.sync-run { display: grid; grid-template-columns: minmax(160px, 1fr) 120px 120px 100px; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid #edf1ef; font-size: 10px; }.sync-run:first-child { border-top: 0; }.sync-run strong, .sync-run small { display: block; }.sync-run small { margin-top: 3px; color: var(--muted); }.sync-run .run-count { color: var(--muted); }.sync-run .run-count b { color: var(--ink); }.sync-run .run-error { grid-column: 1 / -1; margin: 0; color: #b91c1c; }.provider-tags { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }.provider-tag { border-radius: 999px; padding: 2px 5px; color: #245d48; background: #e7f2ec; font-size: 7px; font-style: normal; font-weight: 850; text-transform: uppercase; }.import-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }.import-card { padding: 28px; }.import-card h2 { margin: 17px 0 8px; }.import-card p { min-height: 43px; color: var(--muted); font-size: 13px; line-height: 1.55; }.large-icon { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 13px; font-size: 12px; font-weight: 900; }.large-icon.csv { color: #166534; background: #dcfce7; }.large-icon.json { color: #1d4ed8; background: #dbeafe; }.schema-card { grid-column: 1 / -1; }.schema-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px; }.schema-tags code { color: var(--green); background: var(--green-soft); border-radius: 6px; padding: 7px 9px; font-size: 11px; }.schema-card > small { display: block; padding: 0 20px 20px; color: var(--muted); }

.admin-dialog { width: min(670px, calc(100vw - 30px)); max-height: calc(100vh - 40px); border: 0; border-radius: 15px; padding: 0; color: var(--ink); background: white; box-shadow: 0 30px 90px rgb(9 25 19 / 35%); }.admin-dialog::backdrop, .auth-dialog::backdrop { background: rgb(11 28 22 / 55%); backdrop-filter: blur(3px); }.admin-dialog form { margin: 0; }.dialog-heading { padding: 23px 25px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; }.dialog-heading h2 { margin: 4px 0 5px; }.dialog-heading p { margin: 0; color: var(--muted); font-size: 12px; }.close-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 20px; color: var(--muted); }.form-grid { padding: 21px 25px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; overflow-y: auto; }.form-grid label, .auth-dialog label { color: #52635c; font-size: 11px; font-weight: 750; }.form-grid .full { grid-column: 1 / -1; }.form-grid input, .form-grid select, .form-grid textarea, .auth-dialog input { width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 11px; color: var(--ink); background: white; outline: none; }.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus, .auth-dialog input:focus { border-color: #70a58d; box-shadow: 0 0 0 3px #e3f0ea; }.form-grid textarea { resize: vertical; }.dialog-actions { padding: 15px 25px; border-top: 1px solid var(--line); background: #fafcfb; display: flex; justify-content: flex-end; gap: 9px; }
.form-grid label > small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 500; }.import-drop { display: block; margin: 24px; padding: 25px; }.import-preview { margin: 0 24px 20px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }.preview-summary { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); }.preview-summary strong, .preview-summary small { display: block; }.preview-summary strong { font-size: 12px; }.preview-summary small { color: var(--muted); font-size: 10px; margin-top: 3px; }.preview-table-wrap { max-height: 210px; overflow: auto; }.preview-table-wrap table { width: 100%; border-collapse: collapse; }.preview-table-wrap th, .preview-table-wrap td { padding: 9px 11px; border-bottom: 1px solid #edf1ef; text-align: left; font-size: 10px; }.preview-table-wrap th { color: var(--muted); background: #fafcfb; text-transform: uppercase; }
.auth-dialog { width: min(410px, calc(100vw - 30px)); border: 0; border-radius: 16px; padding: 0; text-align: center; box-shadow: 0 30px 90px rgb(9 25 19 / 40%); }.auth-dialog form { padding: 30px; }.auth-lock { width: 53px; height: 53px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: 23px; }.auth-dialog h2 { margin: 5px 0 7px; }.auth-dialog p:not(.eyebrow) { margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.55; }.auth-dialog label { display: block; text-align: left; }.auth-dialog .primary-button { width: 100%; margin-top: 13px; }.auth-dialog small { display: block; margin-top: 13px; color: #8a9691; font-size: 9px; }.auth-dialog .form-error { margin: 8px 0 0 !important; color: #b91c1c !important; text-align: left; }.toast-region { position: fixed; z-index: 100; right: 22px; bottom: 22px; display: grid; gap: 8px; }.toast { width: min(360px, calc(100vw - 40px)); padding: 13px 15px; border-radius: 10px; color: white; background: #173f32; box-shadow: 0 15px 35px rgb(15 23 42 / 25%); font-size: 12px; font-weight: 650; animation: toast-in .25s ease-out; }.toast.error { background: #991b1b; }@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.vector-site[data-hookup-type="electric"] .site-pad-shape { fill: #ec8eb7; }.vector-site[data-hookup-type="tent"] .site-pad-shape { fill: #eabf42; }.vector-site .site-building-body { fill: #a85d32; stroke: white; stroke-width: 2; vector-effect: non-scaling-stroke; }.vector-site .site-building-roof { fill: #6f3b24; stroke: white; stroke-width: 2; vector-effect: non-scaling-stroke; }.vector-site .site-building-door { fill: #f7dfb5; stroke: none; filter: none; }.vector-site .site-building-window { fill: #b9e6f4; stroke: white; stroke-width: 1; filter: none; }.vector-site .site-building-label { fill: #5b2d18; paint-order: stroke; stroke: white; stroke-width: 4px; }.vector-site.selected .site-building-body, .vector-site.selected .site-building-roof { stroke: #38bdf8; stroke-width: 6; filter: drop-shadow(0 0 7px #38bdf8); }.vector-site.selected .site-building-door { stroke: none; stroke-width: 0; filter: none; }.vector-site.selected .site-building-window { stroke: white; stroke-width: 1; filter: none; }
.site-review-note { margin: 0; padding: 12px; border-radius: 9px; color: #52635c; background: #f1f8f4; font-size: 11px; line-height: 1.5; }.site-review-actions { align-items: center; }.site-review-actions > span { flex: 1; }.danger-button { min-height: 39px; padding: 0 14px; border: 1px solid #fecaca; border-radius: 9px; color: #b91c1c; background: #fff1f2; font-size: 12px; font-weight: 750; }
.survey-records-button { margin-top: 9px; color: #075985; border-color: #7dd3fc; background: #e0f2fe; }.selection-form .survey-feature { width: 100%; margin-bottom: 7px; border: 1px solid #7dd3fc; border-radius: 7px; padding: 7px; color: #075985; background: #e0f2fe; font-size: 10px; font-weight: 750; }
.survey-dialog { width: min(1180px, calc(100vw - 24px)); height: min(850px, calc(100vh - 24px)); max-height: none; overflow: hidden; }.survey-summary { min-height: 70px; padding: 12px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 28px; background: #fafcfb; }.survey-summary > div:not(.survey-summary-actions) { min-width: 76px; }.survey-summary strong, .survey-summary small { display: block; }.survey-summary strong { font-size: 21px; }.survey-summary small { margin-top: 2px; color: var(--muted); font-size: 9px; }.survey-summary-actions { margin-left: auto; display: flex; gap: 7px; }.survey-summary-actions button { min-height: 34px; padding: 0 11px; font-size: 10px; }.survey-workspace { min-height: 0; height: calc(100% - 154px); display: grid; grid-template-columns: minmax(260px, 32%) minmax(0, 1fr); }.survey-record-browser { min-height: 0; padding: 15px; border-right: 1px solid var(--line); background: #f8faf8; display: flex; flex-direction: column; }.survey-filters { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 7px; }.survey-filters input, .survey-filters select { width: 100%; height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 0 9px; color: var(--ink); background: white; font-size: 10px; }.survey-record-list { min-height: 90px; flex: 1; margin: 12px 0; overflow-y: auto; display: grid; align-content: start; gap: 6px; }.survey-record-list > p { margin: 18px 4px; color: var(--muted); font-size: 11px; text-align: center; }.survey-record-item { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 10px; color: var(--ink); background: white; display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; }.survey-record-item:hover { border-color: #8bb3a1; background: #f4faf7; }.survey-record-item span { min-width: 0; }.survey-record-item strong, .survey-record-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.survey-record-item strong { font-size: 11px; }.survey-record-item small { margin-top: 4px; color: var(--muted); font-size: 8px; }.survey-record-item i { border-radius: 999px; padding: 4px 6px; color: #64748b; background: #edf1ef; font-size: 7px; font-style: normal; font-weight: 850; text-transform: uppercase; }.survey-record-item.verified i { color: #166534; background: #dcfce7; }.survey-record-item.needs-review i { color: #9a3412; background: #ffedd5; }.survey-import-drop { border: 1.5px dashed #b8ccc2; border-radius: 9px; padding: 11px; background: white; cursor: pointer; text-align: center; }.survey-import-drop input { display: none; }.survey-import-drop strong, .survey-import-drop small { display: block; }.survey-import-drop strong { font-size: 10px; }.survey-import-drop small { margin-top: 3px; color: var(--muted); font-size: 8px; }.survey-import-preview { margin-top: 8px; padding: 9px; border: 1px solid #bbd2c7; border-radius: 9px; background: var(--green-soft); }.survey-import-preview strong, .survey-import-preview small { display: block; }.survey-import-preview strong { font-size: 10px; }.survey-import-preview small { margin: 3px 0 8px; color: var(--muted); font-size: 8px; }.survey-import-preview button { width: 100%; min-height: 32px; font-size: 9px; }.survey-record-form { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }.survey-form-heading { padding: 14px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }.survey-form-heading strong, .survey-form-heading small { display: block; }.survey-form-heading strong { font-size: 14px; }.survey-form-heading small { margin-top: 3px; color: var(--muted); font-size: 9px; }.survey-form-heading button { min-height: 33px; font-size: 9px; }.survey-form-grid { min-height: 0; padding: 17px 20px; overflow-y: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }.survey-form-grid label { color: #52635c; font-size: 10px; font-weight: 750; }.survey-form-grid .full { grid-column: 1 / -1; }.survey-form-grid input, .survey-form-grid select, .survey-form-grid textarea { width: 100%; margin-top: 5px; border: 1px solid var(--line); border-radius: 7px; padding: 8px 9px; color: var(--ink); background: white; outline: none; }.survey-form-grid input, .survey-form-grid select { height: 35px; }.survey-form-grid textarea { resize: vertical; }.survey-form-grid input:focus, .survey-form-grid select:focus, .survey-form-grid textarea:focus { border-color: #70a58d; box-shadow: 0 0 0 3px #e3f0ea; }.survey-form-grid label small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; font-weight: 500; }.survey-location-actions { display: flex; align-items: center; gap: 10px; }.survey-location-actions button { min-height: 32px; font-size: 9px; }.survey-location-actions small { color: var(--muted); font-size: 9px; }.survey-record-form .dialog-actions span { flex: 1; }
.survey-form-heading > div:last-child { display: flex; gap: 6px; }.survey-form-heading > div:last-child button { padding: 0 9px; }
.inquiry-table td > strong { color: var(--ink); }.inquiry-table td > small { color: var(--muted); }.inquiry-dialog { width: min(780px, calc(100vw - 30px)); }.inquiry-detail { padding: 20px 25px 0; }.inquiry-detail dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }.inquiry-detail dl > div { min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: #fafcfb; }.inquiry-detail dt { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }.inquiry-detail dd { margin: 5px 0 0; overflow-wrap: anywhere; color: var(--ink); font-size: 11px; font-weight: 700; }.inquiry-detail dd a { color: var(--orange-dark); }.inquiry-public-notes { margin-top: 12px; padding: 13px; border-left: 3px solid var(--orange); border-radius: 6px; background: #fff7ed; }.inquiry-public-notes strong { font-size: 10px; }.inquiry-public-notes p { margin: 5px 0 0; color: #6b625c; font-size: 11px; line-height: 1.55; white-space: pre-wrap; }.inquiry-update-grid { padding-top: 15px; }.dialog-spacer { flex: 1; }
.heading-actions .danger-outline { border-color:#fecaca; color:#b91c1c; background:#fff7f7; }
.heading-actions .danger-outline:hover { border-color:#f87171; background:#fff1f2; }
.map-reset-undo { margin-top:10px; padding:10px 11px; border:1px solid #f0b88d; border-radius:9px; background:#fff7ed; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.map-reset-undo strong,.map-reset-undo small { display:block; }.map-reset-undo strong { color:#9a3412; font-size:10px; }.map-reset-undo small { margin-top:3px; color:#7c5d4b; font-size:8px; line-height:1.35; }.map-reset-undo button { min-height:32px; border:1px solid #fdba74; border-radius:7px; padding:0 11px; color:#9a3412; background:white; font-size:9px; font-weight:850; }
.field-survey { padding:11px; border-color:#8fc7ad; background:linear-gradient(145deg,#f6fbf8,#eaf6ef); }
.field-survey > summary { font-size:10px; }
.field-road-settings { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }.field-road-settings .full { grid-column:1/-1; }.field-road-settings label { min-width:0; }.field-road-settings input,.field-road-settings select { width:100%; }
.field-recording-card { margin-top:8px; padding:9px; border:1px solid #bfd8cc; border-radius:8px; background:rgb(255 255 255 / 80%); }.field-recording-card strong,.field-recording-card small { display:block; }.field-recording-card strong { color:var(--green); font-size:10px; }.field-recording-card small { margin-top:3px; color:var(--muted); font-size:8px; }.field-survey.is-recording .field-recording-card { border-color:#38bdf8; background:#f0f9ff; }.field-survey.is-recording .field-recording-card strong { color:#075985; }.field-survey.is-paused .field-recording-card { border-color:#fbbf24; background:#fffbeb; }.field-survey.is-paused .field-recording-card strong { color:#92400e; }
.field-recording-actions { margin-top:7px; display:grid; grid-template-columns:1fr 1fr; gap:7px; }.field-recording-actions button { min-height:33px; border:1px solid #93c5fd; border-radius:7px; color:#075985; background:#eff6ff; font-size:9px; font-weight:850; }.field-recording-actions .discard { border-color:#fecaca; color:#b91c1c; background:#fff1f2; }
.field-save-note { padding:7px; border-radius:6px; background:#e8f1ec; line-height:1.45; }.field-amenity-capture { margin-top:8px; padding-top:7px; border-top:1px solid #c9ded4; }.field-amenity-capture > summary { cursor:pointer; color:#52635c; font-size:8px; font-weight:850; }
.vector-road.field-recording.paused { animation:none; stroke:#f59e0b; stroke-dasharray:8 8; }
.map-reset-dialog { width:min(650px,calc(100vw - 30px)); }.map-reset-body { padding:20px 25px; display:grid; gap:14px; }.map-reset-counts { padding:12px; border:1px solid var(--line); border-radius:9px; background:#fafcfb; }.map-reset-counts span,.map-reset-counts strong { display:block; }.map-reset-counts span { color:var(--muted); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.5px; }.map-reset-counts strong { margin-top:4px; font-size:13px; }.map-reset-body fieldset { margin:0; border:1px solid var(--line); border-radius:9px; padding:12px; }.map-reset-body legend { padding:0 5px; color:#52635c; font-size:10px; font-weight:850; }.map-reset-body fieldset label { display:flex; align-items:flex-start; gap:9px; padding:8px; border-radius:7px; cursor:pointer; }.map-reset-body fieldset label:hover { background:#f3f7f5; }.map-reset-body fieldset input { width:17px; height:17px; margin:1px 0 0; accent-color:var(--green); }.map-reset-body fieldset span { min-width:0; }.map-reset-body fieldset strong,.map-reset-body fieldset small { display:block; }.map-reset-body fieldset strong { font-size:11px; }.map-reset-body fieldset small { margin-top:3px; color:var(--muted); font-size:9px; line-height:1.4; }.map-reset-preserved,.map-reset-backup { padding:10px 12px; border-radius:8px; }.map-reset-preserved { border-left:3px solid #22c55e; background:#f0fdf4; }.map-reset-backup { border-left:3px solid #38bdf8; background:#f0f9ff; }.map-reset-preserved strong,.map-reset-backup strong { font-size:10px; }.map-reset-preserved p,.map-reset-backup p { margin:4px 0 0; color:#52635c; font-size:9px; line-height:1.45; }.map-reset-confirm { color:#52635c; font-size:10px; font-weight:750; }.map-reset-confirm code { border-radius:4px; padding:2px 5px; color:#991b1b; background:#fee2e2; user-select:all; }.map-reset-confirm input { width:100%; height:40px; margin-top:7px; border:1px solid #fca5a5; border-radius:8px; padding:0 10px; outline:none; }.map-reset-confirm input:focus { border-color:#dc2626; box-shadow:0 0 0 3px #fee2e2; }.map-reset-selection { margin:0; color:#7f1d1d; font-size:10px; }.map-reset-dialog [data-confirm-map-reset]:disabled { cursor:not-allowed; opacity:.45; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.studio-canvas[data-active-tool="pan"] [data-vector-overlay] { cursor: grab; }
.studio-canvas[data-active-tool="pan"].dragging [data-vector-overlay] { cursor: grabbing; }
@media (max-width: 1100px) { .metric-grid { grid-template-columns: repeat(2, 1fr); }.overview-grid { grid-template-columns: 1fr; }.studio-shell { grid-template-columns: 315px minmax(0, 1fr); }.sync-state { display: none; }.canvas-legend { display:none!important; } }
@media (max-width: 800px) { .admin-app { display: block; }.admin-sidebar { position: fixed; left: -250px; width: 238px; transition: left .2s; box-shadow: var(--shadow); }.admin-sidebar.open { left: 0; }.admin-topbar { padding: 0 15px; }.mobile-menu { display: block; }.global-search { width: 100%; }.global-search kbd, .topbar-actions .primary-button { display: none; }.admin-content { width: 100%; padding: 22px 15px; }.page-heading { align-items: flex-start; flex-direction: column; }.page-heading h1 { overflow-wrap: anywhere; }.catalog-tools { align-items: stretch; flex-direction: column; }.inline-search { width: 100%; }.filter-tabs { overflow-x: auto; }.studio-shell { height: auto; min-height: 0; grid-template-columns: 1fr; }.studio-inspector { max-height: none; border-right: 0; border-bottom: 1px solid var(--line); }.studio-canvas-panel { height: 570px; }.source-sync-grid, .import-grid { grid-template-columns: 1fr; }.schema-card { grid-column: auto; }.sync-run { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .survey-dialog { height: calc(100vh - 12px); width: calc(100vw - 12px); }.survey-summary { gap: 12px; overflow-x: auto; }.survey-summary-actions { min-width: max-content; }.survey-workspace { height: calc(100% - 154px); grid-template-columns: 1fr; overflow-y: auto; }.survey-record-browser { min-height: 360px; border-right: 0; border-bottom: 1px solid var(--line); }.survey-record-list { max-height: 200px; }.survey-record-form { min-height: 650px; }.survey-form-grid { overflow: visible; } }
@media (max-width: 540px) { .metric-grid { grid-template-columns: minmax(0, 1fr); }.page-heading > div { width: 100%; min-width: 0; }.page-heading p { overflow-wrap: anywhere; }.heading-actions { width: 100%; flex-direction: column; }.heading-actions button { width: 100%; }.list-row { grid-template-columns: minmax(0, 1fr) 90px 32px; }.list-row .list-meta:first-of-type { display: none; }.form-grid { grid-template-columns: 1fr; }.form-grid .full { grid-column: auto; }.canvas-legend { display: none !important; }.canvas-tool-shortcuts button { padding-inline:6px!important;font-size:8px!important; }.road-draft-bar { flex-wrap:wrap; }.road-draft-bar > span { width:100%; }.road-draft-bar button { flex:1; }.selection-grid { grid-template-columns:1fr; }.selection-grid label.full { grid-column:auto; } }
@media (max-width: 540px) { .inquiry-detail dl { grid-template-columns: 1fr 1fr; }.inquiry-dialog .dialog-actions { flex-wrap: wrap; }.inquiry-dialog .dialog-spacer { display: none; } }
@media (max-width: 540px) { .field-road-settings { grid-template-columns:1fr; }.field-road-settings .full { grid-column:auto; }.map-reset-body { padding:16px; }.map-reset-dialog .dialog-actions { flex-direction:column-reverse; }.map-reset-dialog .dialog-actions button { width:100%; }.map-reset-undo { align-items:flex-start; }.map-reset-undo button { flex:none; } }
