:root { font-family: Segoe UI, system-ui, sans-serif; color: #18324b; background: #f4f7fa; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1500px; margin: 0 auto; padding: 24px; }
.toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 18px; flex-wrap: wrap; }
.eyebrow { margin: 0 0 4px; color: #56748d; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 600; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 6px; font-size: clamp(24px, 4vw, 38px); }
h2 { font-size: 18px; }
#status, .note { color: #56748d; font-size: 14px; }
label { display: grid; gap: 6px; min-width: 190px; font-size: 13px; font-weight: 600; }
select { padding: 10px 12px; border: 1px solid #b8c8d5; border-radius: 6px; background: white; color: #18324b; font-size: 15px; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
#map { min-height: 650px; border: 1px solid #c8d4de; border-radius: 8px; overflow: hidden; background: #dce8ee; }
.map-panel { min-width: 0; position: relative; }
.map-tabs { display: flex; gap: 4px; margin-bottom: 8px; border-bottom: 1px solid #c8d4de; }
.map-tabs button { border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; background: transparent; color: #56748d; font: inherit; cursor: pointer; }
.map-tabs button[aria-selected="true"] { border-bottom-color: #1f6178; color: #18324b; font-weight: 600; }
.view-description { margin: 0 0 8px; color: #56748d; font-size: 13px; }
.map-controls { position: absolute; top: 78px; right: 12px; z-index: 1000; display: flex; gap: 8px; padding: 8px; background: rgba(255,255,255,.94); border: 1px solid #c8d4de; border-radius: 6px; box-shadow: 0 2px 8px rgba(24,50,75,.18); }
.map-controls label { min-width: 150px; }
aside { padding: 20px; border: 1px solid #c8d4de; border-radius: 8px; background: white; min-height: 220px; }
.metric { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid #e6edf2; }
.metric span:first-child { color: #56748d; }
.metric strong { text-align: right; }
.product-row { display: grid; gap: 3px; padding: 10px 0; border-bottom: 1px solid #e6edf2; }
.product-row span { color: #56748d; font-size: 13px; }
.recommendation { padding: 10px; background: #edf5f8; border-radius: 5px; line-height: 1.4; }
h3 { margin-bottom: 12px; }
h4 { margin: 18px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #56748d; }
.source-state { margin: 16px 0; padding: 10px; background: #edf5f8; border-radius: 5px; font-size: 13px; line-height: 1.5; }
.legend { display: grid; gap: 7px; margin: 18px 0; font-size: 12px; }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { width: 16px; height: 16px; display: inline-block; border: 1px solid #8aa6b5; }
.legend-scale-label { margin-top: 5px; font-weight: 600; }
.legend-steps { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px !important; }
.legend-steps span { display: flex; align-items: center; gap: 7px; }
.legend-steps i { width: 22px; height: 22px; flex: 0 0 22px; }
.legend-note { color: #56748d; }
@media (max-width: 760px) { main { padding: 14px; } .toolbar { align-items: stretch; flex-direction: column; } .workspace { grid-template-columns: 1fr; } #map { min-height: 520px; } .map-tabs { overflow-x: auto; } .map-tabs button { white-space: nowrap; } .map-controls { top: 78px; right: 8px; left: 8px; flex-direction: column; } .map-controls label { min-width: 0; } }
