:root { color-scheme: dark; font-family: Inter, "Segoe UI", Arial, sans-serif; color: #edf1f4; background: #111820; font-synthesis: none; --muted: #a5b1bc; --line: #ffffff18; --star: #79cfc3; --plus: #d7b889; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled, input:disabled { cursor: default; }
button:focus-visible, a:focus-visible, select:focus-visible, #map:focus-visible { outline: 2px solid var(--star); outline-offset: 4px; }
[hidden] { display: none !important; }
.topbar { height: 78px; padding: 0 32px; display: flex; align-items: center; gap: 25px; background: #111820; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #f6f7f8; font-size: 25px; font-weight: 650; letter-spacing: -1px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #b7f2ce; color: #142c25; font-size: 30px; line-height: 1; font-weight: 750; }
.brand-dimension { color: #a8b8c3; font-size: 14px; font-weight: 450; letter-spacing: 0; margin-left: 9px; }
.divider { height: 24px; width: 1px; background: var(--line); }
.area-name { font-size: 14px; color: #c4cdd5; }
.search-placeholder { margin-left: auto; display: flex; gap: 10px; align-items: center; background: #1b232c; border: 1px solid var(--line); padding: 8px 13px; border-radius: 7px; }
.search-placeholder > span { font-size: 24px; color: var(--muted); }
.search-placeholder input { width: 224px; background: transparent; color: var(--muted); border: 0; font-size: 14px; }
.search-placeholder input::placeholder { color: #a5b1bc; }
.demo-tag { font-size: 12px; color: #b9c8d2; border: 1px solid #61728280; padding: 6px 8px; border-radius: 4px; letter-spacing: 1.2px; }
#map-shell { position: relative; height: calc(100dvh - 78px); min-height: 530px; overflow: hidden; background: #18212b; }
#map { position: absolute; inset: 0; outline-offset: -4px !important; }
#map canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.overlay { position: absolute; z-index: 2; }
.map-heading { top: 30px; left: 32px; pointer-events: none; }
.eyebrow { color: #a6b7c5; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; margin: 0 0 14px; }
h1 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; line-height: 1.2; letter-spacing: -1px; margin: 0 0 14px; }
.muted { color: var(--muted); font-size: 14px; line-height: 1.6; }
.legend { display: flex; gap: 18px; margin-top: 20px; font-size: 13px; color: #d1dae2; align-items: center; }
.legend > span { display: flex; align-items: center; gap: 7px; }
.legend i { display: block; width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 2px; }
.star-dot { color: var(--star); background: #79cfc330; }
.plus-dot { color: var(--plus); background: #d7b88930; }
.legend-note { color: #8e9eac; font-size: 12px; }
.state-card { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 4; width: min(420px, calc(100% - 32px)); padding: 24px; background: #16222eee; border: 1px solid var(--line); border-radius: 10px; text-align: center; }
.state-card p { line-height: 1.6; }
.loader { display: inline-block; width: 25px; height: 25px; border: 2px solid #789b9133; border-top-color: var(--star); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.notice { position: absolute; left: 50%; bottom: 110px; transform: translateX(-50%); z-index: 5; max-width: calc(100% - 32px); background: #293b49; color: #f2e2bb; border: 1px solid #b9a57650; padding: 12px 18px; border-radius: 7px; font-size: 14px; }
.info-panel { top: 30px; right: 28px; width: 310px; padding: 22px; border: 1px solid #52657465; border-radius: 10px; background: #131e29f5; box-shadow: 0 20px 70px #0003; }
.panel-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.panel-top .eyebrow { margin: 0; }
.panel-top .icon-button { width: 26px; height: 26px; font-size: 25px; }
.tier-badge { display: inline-block; color: var(--star); padding: 4px 8px; background: #79cfc315; border: 1px solid #79cfc335; font-size: 12px; border-radius: 4px; }
.tier-badge.plus { color: var(--plus); background: #d7b88915; border-color: #d7b88940; }
h2 { font-size: 26px; line-height: 1.2; font-weight: 550; letter-spacing: -.6px; margin: 12px 0 4px; overflow-wrap: anywhere; }
.info-panel > .muted { margin-top: 8px; }
.plot-details { margin: 22px 0; padding: 15px 0; border-block: 1px solid var(--line); font-size: 14px; }
.plot-details div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; }
.primary { border: 1px solid #b0dfc650; color: #15271f; background: #b6e7ca; padding: 12px 14px; border-radius: 5px; font-size: 14px; font-weight: 600; }
.primary:hover { background: #d0f6de; }
.info-panel .primary { width: 100%; display: flex; justify-content: space-between; }
.profile-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; margin-top: 10px; border: 1px solid #79cfc350; color: var(--star); background: #79cfc30a; border-radius: 5px; padding: 11px 14px; font-size: 14px; font-weight: 600; text-decoration: none; }
.profile-link:hover { background: #79cfc318; border-color: var(--star); }
.map-controls { display: flex; flex-direction: column; bottom: 96px; right: 28px; padding: 4px; border: 1px solid #52657465; border-radius: 8px; background: #131e29ed; }
.icon-button { border: 0; background: transparent; color: #dae4ea; width: 38px; height: 38px; display: grid; place-items: center; font-size: 23px; border-radius: 4px; }
.icon-button:hover { background: #ffffff10; }
.control-divider { height: 1px; background: var(--line); margin: 3px 4px; }
.map-footer { bottom: 0; left: 0; right: 0; min-height: 72px; display: flex; gap: 20px; align-items: center; padding: 14px 32px; background: linear-gradient(transparent, #111820e6); }
.company-picker { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.company-picker select { background: #17232f; border: 1px solid #52657465; border-radius: 5px; color: #e0e7ed; padding: 10px 30px 10px 12px; font-size: 14px; max-width: 240px; }
.navigation-hint { margin: 0 auto; font-size: 12px; color: #acbac6; }
.navigation-hint span { padding: 0 8px; color: #647582; }
.world-scale { color: #8f9fac; font-size: 12px; }
.map-label { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 1; font-size: 12px; color: #d2e0e8; padding: 4px 7px; border-radius: 3px; background: #15212bc9; white-space: nowrap; will-change: transform; }
.map-label.selected { background: #d6ebdf; color: #18291f; }
@media (min-width: 1600px) { .map-heading { top: 40px; left: 42px; } }
@media (min-width: 701px) { #map-shell:has(.info-panel:not([hidden])) .map-controls { right: auto; left: 28px; } }
@media (max-width: 1050px) { .navigation-hint { display: none; } .world-scale { margin-left: auto; } .legend-note { display: none !important; } }
@media (max-width: 700px) {
  .topbar { height: 64px; padding: 0 18px; gap: 15px; } .brand { font-size: 22px; } .brand-mark { width: 30px; height: 30px; }
  .search-placeholder, .divider, .area-name { display: none; } .demo-tag { margin-left: auto; }
  #map-shell { height: calc(100dvh - 64px); min-height: 580px; }
  .map-heading { top: 22px; left: 20px; } h1 { font-size: 24px; } .eyebrow { font-size: 11px; }
  .map-heading .muted { font-size: 12px; margin-block: 8px; } .legend { margin-top: 12px; }
  .info-panel { top: auto; right: 14px; left: 14px; bottom: 74px; width: auto; padding: 16px; max-height: 65%; overflow-y: auto; }
  .panel-top { position: absolute; top: 16px; right: 16px; margin: 0; } .panel-top .eyebrow { display: none; }
  h2 { font-size: 22px; margin: 8px 0 14px; } .info-panel > .muted { display: none; }
  .plot-details { display: none; }
  .map-controls { bottom: 92px; right: 16px; } #map-shell:has(.info-panel:not([hidden])) .map-controls { display: none; }
  .map-footer { padding: 12px 16px; } .world-scale { display: none; } .company-picker { width: 100%; justify-content: space-between; } .company-picker select { width: 100%; }
  .map-label { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .loader { animation: none; } }
