:root {
  --bg: #07100d;
  --panel: #0c1713;
  --panel-soft: #12201a;
  --line: rgba(201, 231, 216, 0.14);
  --text: #f4faf6;
  --muted: #9eb0a6;
  --lime: #b9ed69;
  --green: #42d38b;
  --yellow: #f3cc64;
  --red: #f17873;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: "Manrope", system-ui, sans-serif; color: var(--text); background: var(--bg); }
[hidden] { display: none !important; }
button, input { font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.parcel-app { min-height: 100vh; display: flex; flex-direction: column; }
.parcel-header {
  height: 72px; flex: 0 0 72px; padding: 0 24px; display: flex; align-items: center; gap: 28px;
  border-bottom: 1px solid var(--line); background: rgba(7, 16, 13, 0.96); position: relative; z-index: 1000;
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 142px; max-height: 42px; object-fit: contain; }
.parcel-header nav { display: flex; gap: 8px; }
.parcel-header nav a {
  color: var(--muted); text-decoration: none; font-size: 0.82rem; font-weight: 700; padding: 9px 12px; border-radius: 10px;
}
.parcel-header nav a:hover, .parcel-header nav a.active { color: var(--text); background: var(--panel-soft); }
.country-picker { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-soft); }
.country-picker a { padding: 6px 9px; border-radius: 7px; color: var(--muted); font-size: 0.65rem; font-weight: 800; text-decoration: none; }
.country-picker a.active { color: #132017; background: var(--lime); }
.country-cz .price-only { display: none !important; }
.header-action {
  border: 1px solid rgba(185, 237, 105, 0.4); color: var(--lime); background: transparent;
  border-radius: 10px; padding: 9px 14px; font-size: 0.8rem; font-weight: 800;
}
.language-picker { margin-left: auto; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 0.62rem; font-weight: 800; }
.language-picker span { text-transform: uppercase; letter-spacing: 0.08em; }
.language-picker select { padding: 8px 26px 8px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--panel-soft); font-size: 0.67rem; font-weight: 800; cursor: pointer; }

.parcel-layout { min-height: calc(100vh - 72px); display: grid; grid-template-columns: minmax(0, 1fr) 410px; }
.map-column { min-width: 0; display: flex; flex-direction: column; background: #dce5df; }
.map-toolbar {
  min-height: 72px; padding: 12px 18px; display: flex; align-items: center; gap: 16px;
  background: #f6faf7; border-bottom: 1px solid #cdd8d1;
}
.place-search {
  width: min(520px, 65%); height: 46px; display: flex; border: 1px solid #c7d3cb; border-radius: 12px;
  background: #fff; overflow: hidden; box-shadow: 0 8px 24px rgba(22, 55, 39, 0.08);
}
.place-search input { flex: 1; min-width: 0; padding: 0 14px; border: 0; outline: 0; color: #142119; }
.place-search button { border: 0; padding: 0 18px; background: #173d2c; color: #fff; font-weight: 800; }
.map-hint { color: #42544a; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.map-hint span { width: 8px; height: 8px; border-radius: 50%; background: #2ec77c; box-shadow: 0 0 0 5px rgba(46, 199, 124, 0.14); }
.map-3d-open {
  margin-left: auto; border: 1px solid #9ebcab; border-radius: 10px; padding: 10px 14px; color: #173d2c; background: #fff;
  box-shadow: 0 6px 18px rgba(22, 55, 39, 0.08); font-size: 0.72rem; font-weight: 800;
}
.map-3d-open:hover { color: #fff; background: #173d2c; }

.map-stage { flex: 1; min-height: 560px; position: relative; }
#parcelMap { position: absolute; inset: 0; background: #dce5df; cursor: crosshair; }
.parcel-3d-view { position: absolute; inset: 0; z-index: 750; overflow: hidden; background: #dce5df; }
.parcel-3d-map { position: absolute; inset: 0; }
.parcel-3d-head {
  position: absolute; top: 16px; left: 16px; z-index: 3; width: min(350px, calc(100% - 32px)); padding: 13px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; border: 1px solid rgba(201, 231, 216, 0.25);
  border-radius: 13px; color: var(--text); background: rgba(7, 16, 13, 0.9); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25); backdrop-filter: blur(10px);
}
.parcel-3d-head div { min-width: 0; }
.parcel-3d-head span, .parcel-3d-head small { display: block; color: var(--muted); font-size: 0.57rem; line-height: 1.45; }
.parcel-3d-head span { margin-bottom: 4px; color: var(--lime); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.parcel-3d-head strong { display: block; overflow: hidden; font-size: 0.85rem; text-overflow: ellipsis; white-space: nowrap; }
.parcel-3d-head small { margin-top: 4px; }
.parcel-3d-head button, .parcel-3d-actions button {
  border: 1px solid rgba(185, 237, 105, 0.35); border-radius: 9px; padding: 8px 10px; color: var(--lime); background: rgba(18, 32, 26, 0.92);
  font-size: 0.62rem; font-weight: 800;
}
.parcel-3d-actions { position: absolute; right: 16px; bottom: 28px; z-index: 3; }
.parcel-3d-actions button { padding: 10px 14px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.28); }
.map-crosshair {
  pointer-events: none; position: absolute; inset: 50% auto auto 50%; width: 12px; height: 12px; z-index: 500;
  border: 2px solid rgba(13, 61, 41, 0.55); border-radius: 50%; transform: translate(-50%, -50%);
}
.layer-panel {
  position: absolute; top: 16px; right: 16px; z-index: 600; width: 230px; padding: 13px;
  color: #1a2d23; background: rgba(255, 255, 255, 0.94); border: 1px solid #cedbd3; border-radius: 14px;
  box-shadow: 0 12px 34px rgba(20, 55, 38, 0.15); backdrop-filter: blur(8px);
}
.layer-panel p { margin: 0 0 9px; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; color: #607268; }
.layer-panel label { display: flex; align-items: center; gap: 8px; padding: 7px 2px; font-size: 0.75rem; font-weight: 700; }
.layer-panel label.is-waiting { color: #718078; }
.layer-panel input { accent-color: #246b49; }
.layer-panel label.is-future { opacity: 0.52; }
.layer-panel b { margin-left: auto; font-size: 0.55rem; text-transform: uppercase; padding: 3px 5px; border-radius: 5px; background: #dfe9e3; }
.layer-panel .layer-scale-hint {
  margin: -2px 0 5px 25px; padding: 4px 7px; border-radius: 6px; color: #6a776f; background: #eef3f0;
  font-size: 0.55rem; font-weight: 700; line-height: 1.35; letter-spacing: 0; text-transform: none;
}
.layer-swatch { width: 16px; height: 3px; border-radius: 4px; background: #556; }
.layer-swatch.parcels { background: #e53535; }
.layer-swatch.mpzp { background: #8655d8; }
.layer-swatch.terrain { height: 9px; background: linear-gradient(135deg, #f3f0df 0 32%, #8e9b7d 33% 65%, #455347 66%); }
.layer-swatch.transactions { width: 9px; height: 9px; border-radius: 50%; background: #2584f3; }
.layer-swatch.potential { height: 9px; background: linear-gradient(90deg, var(--green), var(--yellow), var(--red)); }
.map-status {
  position: absolute; left: 50%; bottom: 20px; z-index: 600; transform: translateX(-50%); max-width: calc(100% - 40px);
  padding: 9px 14px; border-radius: 999px; color: #f4fff8; background: rgba(10, 37, 25, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); font-size: 0.72rem; font-weight: 700; text-align: center;
}

.legend { padding: 12px 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: #f6faf7; border-top: 1px solid #cdd8d1; }
.legend div { min-width: 0; display: grid; grid-template-columns: 10px 1fr; column-gap: 7px; align-items: center; color: #20342a; }
.legend strong { font-size: 0.66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legend small { grid-column: 2; color: #76877e; font-size: 0.55rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-dot.high { background: var(--green); }.legend-dot.review { background: var(--yellow); }
.legend-dot.unknown { background: #9ca3af; }.legend-dot.low { background: var(--red); }

.analysis-panel { overflow-y: auto; max-height: calc(100vh - 72px); border-left: 1px solid var(--line); background: linear-gradient(180deg, #0d1914, #07100d); }
.empty-state, .loading-state, .result-state { padding: 32px 28px 40px; }
.empty-state { min-height: 100%; display: flex; flex-direction: column; justify-content: center; }
.empty-icon {
  width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid rgba(185, 237, 105, 0.35);
  border-radius: 18px; color: var(--lime); background: rgba(185, 237, 105, 0.08); font-size: 2rem; font-weight: 300;
}
.eyebrow { margin: 0 0 8px; color: var(--lime); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.65rem; font-weight: 800; }
.empty-state h1, .result-head h1 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.06; letter-spacing: -0.04em; }
.empty-state > p:not(.eyebrow) { margin: 14px 0 0; color: var(--muted); font-size: 0.85rem; line-height: 1.7; }
.empty-state ol { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.empty-state li { display: flex; align-items: center; gap: 12px; color: #d9e5dd; font-size: 0.78rem; font-weight: 700; }
.empty-state li span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--panel-soft); color: var(--lime); font-size: 0.67rem; }
.notice { margin-top: 28px; padding: 13px; border-left: 2px solid var(--yellow); background: rgba(243, 204, 100, 0.07); color: var(--muted); font-size: 0.67rem; line-height: 1.6; }
.notice strong { color: var(--yellow); }

.loading-state { min-height: 100%; display: grid; place-content: center; text-align: center; }
.loader { width: 42px; height: 42px; margin: 0 auto 18px; border: 3px solid rgba(185, 237, 105, 0.15); border-top-color: var(--lime); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-state h2 { margin: 0; font-size: 1rem; }.loading-state p { max-width: 28ch; color: var(--muted); font-size: 0.75rem; line-height: 1.6; }

.result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.result-head h1 { font-size: 1.7rem; }
.result-head > div > p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 0.68rem; line-height: 1.5; }
.potential-badge { flex: 0 0 auto; max-width: 125px; padding: 7px 9px; border-radius: 8px; font-size: 0.58rem; font-weight: 800; text-align: center; line-height: 1.35; }
.potential-badge.high { color: #9ef1bd; background: rgba(66, 211, 139, 0.12); border: 1px solid rgba(66, 211, 139, 0.3); }
.potential-badge.review { color: #ffe092; background: rgba(243, 204, 100, 0.1); border: 1px solid rgba(243, 204, 100, 0.28); }
.potential-badge.low { color: #ffaaa5; background: rgba(241, 120, 115, 0.1); border: 1px solid rgba(241, 120, 115, 0.28); }
.potential-badge.unknown { color: #d0d5d2; background: rgba(156, 163, 175, 0.1); border: 1px solid rgba(156, 163, 175, 0.24); }
.metric-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.metric-grid article { min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-soft); }
.metric-grid span { display: block; color: var(--muted); font-size: 0.56rem; }.metric-grid strong { display: block; margin-top: 5px; overflow-wrap: anywhere; font-size: 0.77rem; }
.buildability-card {
  margin-top: 18px; padding: 15px; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px;
  border: 1px solid rgba(156, 163, 175, 0.25); border-radius: 12px; background: rgba(156, 163, 175, 0.07);
}
.buildability-card.yes { border-color: rgba(66, 211, 139, 0.4); background: rgba(66, 211, 139, 0.09); }
.buildability-card.no { border-color: rgba(241, 120, 115, 0.4); background: rgba(241, 120, 115, 0.08); }
.buildability-card.review { border-color: rgba(243, 204, 100, 0.4); background: rgba(243, 204, 100, 0.08); }
.buildability-kicker { display: block; margin-bottom: 5px; color: var(--muted); font-size: 0.56rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.buildability-card strong { display: block; font-size: 0.85rem; line-height: 1.35; }
.buildability-card p { grid-column: 1 / -1; margin: 2px 0 0; color: #c3d1c9; font-size: 0.65rem; line-height: 1.55; }
.buildability-card small { grid-column: 1 / -1; color: #74867c; font-size: 0.53rem; line-height: 1.5; }
.buildability-badge { align-self: start; padding: 6px 8px; border-radius: 7px; color: #d0d5d2; background: rgba(156, 163, 175, 0.12); font-size: 0.55rem; font-weight: 800; text-align: center; }
.buildability-card.yes .buildability-badge { color: #9ef1bd; background: rgba(66, 211, 139, 0.16); }
.buildability-card.no .buildability-badge { color: #ffaaa5; background: rgba(241, 120, 115, 0.14); }
.buildability-card.review .buildability-badge { color: #ffe092; background: rgba(243, 204, 100, 0.14); }
.result-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.section-title { display: flex; align-items: center; gap: 9px; }.section-title span { color: var(--lime); font-size: 0.56rem; font-weight: 800; }
.section-title h2 { margin: 0; font-size: 0.83rem; letter-spacing: -0.01em; }
.result-section > p { margin: 10px 0 0; color: var(--muted); font-size: 0.68rem; line-height: 1.65; }
.result-section .section-note { margin-top: 10px; color: #74867c; font-size: 0.57rem; line-height: 1.55; }
.terrain-head { margin-top: 11px; padding: 11px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid rgba(185, 237, 105, 0.25); border-radius: 9px; background: rgba(185, 237, 105, 0.06); }
.terrain-head strong { font-size: 0.75rem; }
.terrain-head span { flex: 0 0 auto; padding: 4px 6px; border-radius: 6px; color: var(--lime); background: rgba(185, 237, 105, 0.11); font-size: 0.49rem; font-weight: 800; }
.terrain-head.is-unavailable { border-color: var(--line); background: rgba(255, 255, 255, 0.025); }
.terrain-head.is-unavailable span { color: var(--muted); background: rgba(255, 255, 255, 0.06); }
.terrain-metrics { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.terrain-metrics article { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.035); }
.terrain-metrics span { display: block; color: var(--muted); font-size: 0.53rem; line-height: 1.4; }
.terrain-metrics strong { display: block; margin-top: 4px; color: var(--lime); font-size: 0.72rem; overflow-wrap: anywhere; }
.terrain-distribution { margin-top: 11px; display: grid; gap: 7px; }
.terrain-distribution article { display: grid; grid-template-columns: 92px minmax(0, 1fr) 38px; align-items: center; gap: 7px; }
.terrain-distribution span, .terrain-distribution strong { font-size: 0.51rem; }
.terrain-distribution span { color: var(--muted); }
.terrain-distribution strong { color: #dce9e1; text-align: right; }
.terrain-bar { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.terrain-bar i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.terrain-distribution article:nth-child(2) .terrain-bar i { background: #9fdb67; }
.terrain-distribution article:nth-child(3) .terrain-bar i { background: var(--yellow); }
.terrain-distribution article:nth-child(4) .terrain-bar i { background: #ed9c59; }
.terrain-distribution article:nth-child(5) .terrain-bar i { background: var(--red); }
.building-neighborhood { margin-top: 11px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.building-neighborhood article { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.035); }
.building-neighborhood span { display: block; color: var(--muted); font-size: 0.53rem; line-height: 1.4; }
.building-neighborhood strong { display: block; margin-top: 4px; color: var(--lime); font-size: 0.72rem; overflow-wrap: anywhere; }
.section-action {
  width: 100%; margin-top: 10px; padding: 9px 11px; border: 1px solid rgba(185, 237, 105, 0.32); border-radius: 9px;
  color: var(--lime); background: rgba(185, 237, 105, 0.07); font-size: 0.62rem; font-weight: 800;
}
.section-action:hover { color: #132017; background: var(--lime); }
.planning-details { margin-top: 11px; display: grid; gap: 7px; }
.planning-details article { padding: 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.035); }
.planning-details strong { color: var(--lime); font-size: 0.72rem; }.planning-details p { margin: 4px 0 0; color: var(--muted); font-size: 0.63rem; line-height: 1.5; }
.parcel-estimate { margin-top: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.035); }
.parcel-estimate.has-value { border-color: rgba(185, 237, 105, 0.32); background: rgba(185, 237, 105, 0.07); }
.parcel-estimate span { display: block; color: var(--muted); font-size: 0.56rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.parcel-estimate strong { display: block; margin-top: 5px; color: var(--lime); font-size: 1.05rem; }
.parcel-estimate p { margin: 6px 0 0; color: var(--muted); font-size: 0.59rem; line-height: 1.55; }
.price-radii { margin-top: 11px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.price-radii article { padding: 10px 7px; text-align: center; border: 1px solid var(--line); border-radius: 9px; }
.price-radii span, .price-radii small { display: block; color: var(--muted); font-size: 0.54rem; }.price-radii strong { display: block; margin: 5px 0 3px; color: var(--lime); font-size: 0.72rem; }
.price-radii article.is-reference { border-color: rgba(243, 204, 100, 0.25); }
.price-radii article.is-reference strong { color: var(--yellow); }
.transaction-table-wrap { margin-top: 11px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.025); }
.transaction-table { width: 100%; min-width: 590px; border-collapse: collapse; font-size: 0.58rem; }
.transaction-table th { padding: 9px 8px; color: var(--muted); background: rgba(255, 255, 255, 0.035); font-size: 0.51rem; font-weight: 800; text-align: left; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.transaction-table td { padding: 9px 8px; border-top: 1px solid var(--line); color: #d8e6de; vertical-align: middle; white-space: nowrap; }
.transaction-table td:first-child { white-space: normal; min-width: 116px; }
.transaction-table td strong, .transaction-table td span, .transaction-table td em { display: block; }
.transaction-table td strong { color: #edf7f1; font-size: 0.61rem; }
.transaction-table td span, .transaction-table td em { margin-top: 2px; color: var(--muted); font-size: 0.51rem; font-style: normal; }
.transaction-table td b { color: var(--lime); }
.transaction-purpose { display: inline-block !important; padding: 4px 6px; border-radius: 6px; color: #d0d5d2 !important; background: rgba(156, 163, 175, 0.12); font-size: 0.48rem !important; font-weight: 800; line-height: 1.25; white-space: nowrap; }
.transaction-purpose.yes { color: #9ef1bd !important; background: rgba(66, 211, 139, 0.15); }
.transaction-purpose.no { color: #ffaaa5 !important; background: rgba(241, 120, 115, 0.14); }
.transaction-table button { border: 1px solid rgba(185, 237, 105, 0.32); border-radius: 7px; padding: 6px 8px; color: var(--lime); background: rgba(185, 237, 105, 0.07); font-size: 0.53rem; font-weight: 800; }
.transaction-table button:hover { color: #132017; background: var(--lime); }
.transaction-table tr.is-old { opacity: 0.62; }
.transaction-table tr.is-old td:first-child strong::after { content: " > 5 lat"; margin-left: 4px; color: var(--yellow); font-size: 0.45rem; font-weight: 800; }
.transaction-table tr.is-empty td { padding: 14px; color: var(--muted); text-align: center; }
.nearby-places { margin-top: 11px; display: grid; gap: 7px; }
.nearby-places article {
  min-width: 0; padding: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px;
  border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.035);
}
.nearby-places span { grid-column: 1 / -1; color: var(--muted); font-size: 0.54rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.nearby-places strong { min-width: 0; overflow: hidden; color: #e8f3ec; font-size: 0.67rem; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.nearby-places em { align-self: center; color: var(--lime); font-size: 0.65rem; font-style: normal; font-weight: 800; white-space: nowrap; }
.nearby-places article.is-missing { opacity: 0.55; }
.nearby-places article.is-missing em { color: var(--muted); }
.nearby-status { margin: 0; padding: 10px; color: var(--muted); background: rgba(255, 255, 255, 0.035); border-radius: 9px; font-size: 0.63rem; line-height: 1.5; }
.check-list { margin: 11px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.check-list li { color: var(--muted); font-size: 0.65rem; line-height: 1.45; }.check-list li::before { content: "✓"; margin-right: 7px; color: var(--lime); font-weight: 800; }
.report-button { width: 100%; margin-top: 24px; padding: 12px; border: 0; border-radius: 10px; color: #132017; background: var(--lime); font-size: 0.72rem; font-weight: 800; opacity: 0.55; cursor: not-allowed; }
.report-button span { margin-left: 7px; font-size: 0.5rem; text-transform: uppercase; }
.disclaimer { margin: 12px 0 0; color: #74867c; font-size: 0.56rem; line-height: 1.5; }
.transaction-marker { background: #2584f3; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
.transaction-marker.is-group { display: grid; place-items: center; border-width: 2px; color: #fff; }
.transaction-marker.is-group span { font-size: 0.55rem; font-weight: 800; line-height: 1; }

@media (max-width: 980px) {
  .parcel-header { height: auto; flex-basis: auto; flex-wrap: wrap; padding-bottom: 9px; }
  .parcel-header nav {
    order: 3; width: 100%; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .parcel-header nav::-webkit-scrollbar { display: none; }
  .parcel-header nav a { flex: 0 0 auto; white-space: nowrap; }
  .parcel-layout { display: block; }.map-column { height: calc(100vh - 116px); }.analysis-panel { max-height: none; border-left: 0; }
  .legend { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .parcel-header { padding: 8px 12px; gap: 8px 12px; }.brand img { width: 120px; }.header-action { padding: 8px 10px; font-size: 0.68rem; }
  .language-picker { margin-left: auto; }.language-picker span { display: none; }.language-picker select { max-width: 94px; padding: 7px; }
  .parcel-header nav a { padding: 7px 10px; font-size: 0.68rem; }
  .map-column { height: calc(100vh - 108px); }.map-toolbar { padding: 9px; flex-wrap: wrap; }.place-search { width: 100%; }.map-hint { display: none; }
  .map-3d-open { width: 100%; margin-left: 0; padding: 8px; }
  .layer-panel { top: 10px; right: 10px; width: 190px; }.legend { display: none; }.map-stage { min-height: 420px; }
  .parcel-3d-head { top: 10px; left: 10px; width: calc(100% - 20px); }
  .parcel-3d-actions { right: 10px; bottom: 36px; }
}
