:root {
  --bg: #07100d;
  --panel: #0c1713;
  --panel-soft: #12201a;
  --line: rgba(201, 231, 216, 0.14);
  --text: #f4faf6;
  --muted: #9eb0a6;
  --lime: #4fd39a;
  --green: #16875a;
  --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; padding: 5px 9px; border-radius: 11px; background: #fff; box-shadow: 0 6px 20px rgba(0, 76, 45, 0.2); }
.brand img { display: block; width: 148px; max-height: 38px; 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(79, 211, 154, 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; }
.parcel-number-search-toggle {
  height: 46px; flex: 0 0 auto; border: 1px solid #a9c2b4; border-radius: 12px; padding: 0 15px;
  color: #173d2c; background: #fff; font-size: 0.72rem; font-weight: 800; box-shadow: 0 8px 24px rgba(22, 55, 39, 0.06);
}
.parcel-number-search-toggle:hover, .parcel-number-search-toggle.active { color: #fff; background: #173d2c; }
.parcel-number-search-panel {
  padding: 14px 18px; color: #173025; background: #eef5f1; border-bottom: 1px solid #c7d6ce;
  box-shadow: inset 0 -8px 20px rgba(22, 55, 39, 0.03);
}
.parcel-number-search-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.parcel-number-search-head strong, .parcel-number-search-head span { display: block; }
.parcel-number-search-head strong { font-size: 0.82rem; }
.parcel-number-search-head span { margin-top: 3px; color: #65786d; font-size: 0.61rem; }
.parcel-number-search-head button {
  border: 0; padding: 5px 7px; color: #63776b; background: transparent; font-size: 0.62rem; font-weight: 800;
}
.parcel-number-search-panel form {
  margin-top: 11px; display: grid; grid-template-columns: 1.5fr auto repeat(4, minmax(125px, 1fr)) auto; align-items: end; gap: 8px;
}
.parcel-number-search-panel label { min-width: 0; color: #334b3e; font-size: 0.58rem; font-weight: 800; }
.parcel-number-search-panel label span { display: block; margin: 2px 0 5px; color: #829289; font-size: 0.48rem; font-weight: 600; }
.parcel-number-search-panel input, .parcel-number-search-panel select {
  width: 100%; height: 38px; border: 1px solid #bfd0c6; border-radius: 8px; padding: 0 9px; outline: 0;
  color: #173025; background: #fff; font-size: 0.65rem;
}
.parcel-number-search-panel input:focus, .parcel-number-search-panel select:focus { border-color: #16875a; box-shadow: 0 0 0 3px rgba(22, 135, 90, 0.1); }
.parcel-number-search-panel form>button {
  height: 38px; border: 0; border-radius: 8px; padding: 0 13px; color: #fff; background: #16875a; font-size: 0.64rem; font-weight: 800;
}
.parcel-search-or { align-self: center; padding-top: 16px; color: #8b9b92; font-size: 0.54rem; font-weight: 800; text-transform: uppercase; }
.parcel-number-search-results { margin-top: 9px; display: grid; gap: 5px; }
.parcel-number-search-results>p { margin: 0; padding: 7px 9px; color: #63776b; background: rgba(255,255,255,.55); border-radius: 7px; font-size: 0.6rem; }
.parcel-search-result {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid #c6d7cd; border-radius: 8px;
  padding: 8px 10px; color: #173025; background: #fff; text-align: left;
}
.parcel-search-result:hover { border-color: #16875a; background: #f8fcfa; }
.parcel-search-result strong, .parcel-search-result span { display: block; }
.parcel-search-result strong { font-size: 0.68rem; }.parcel-search-result span { margin-top: 2px; color: #708278; font-size: 0.55rem; }
.parcel-search-result b { flex: 0 0 auto; color: #16875a; font-size: 0.58rem; }
.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(79, 211, 154, 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[hidden] { display: none !important; }
.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.water-risk { height: 9px; background: linear-gradient(90deg, #7dd3fc, #2584f3, #1d4ed8); }
.layer-swatch.groundwater-risk { height: 9px; background: repeating-linear-gradient(135deg, #67e8f9 0 3px, #0e7490 3px 6px); }
.layer-swatch.landslide-risk { height: 9px; background: repeating-linear-gradient(135deg, #ffb09b 0 3px, #d94d2c 3px 6px); }
.layer-swatch.mining-risk { height: 9px; background: linear-gradient(90deg, #d6b4f2, #8955b8); }
.layer-swatch.utilities { height: 9px; background: linear-gradient(90deg, #2563eb 0 17%, #7c351c 17% 34%, #b7a800 34% 51%, #ef4444 51% 68%, #f59e0b 68% 84%, #d946ef 84%); }
.layer-swatch.roads { height: 9px; background: repeating-linear-gradient(90deg, #374151 0 5px, #f8fafc 5px 8px); border: 1px solid #9ca3af; }
.layer-swatch.environment { height: 9px; background: linear-gradient(90deg, #22c55e, #a3e635, #facc15); }
.layer-swatch.forest { height: 9px; background: repeating-linear-gradient(135deg, #166534 0 4px, #4d7c0f 4px 8px); }
.layer-swatch.heritage { height: 9px; background: linear-gradient(90deg, #7c3aed, #c084fc); }
.layer-swatch.archaeology { height: 9px; background: repeating-linear-gradient(135deg, #b45309 0 4px, #f59e0b 4px 8px); }
.layer-swatch.nuisance { width: 9px; height: 9px; border-radius: 50%; background: #ef8354; box-shadow: 0 0 0 2px rgba(239, 131, 84, 0.2); }
.layer-swatch.current-ortho { height: 9px; background: linear-gradient(90deg, #5f8760, #d5c596, #7692a5); }
.layer-swatch.archive-ortho { height: 9px; background: linear-gradient(90deg, #6f6652, #c1b08b, #797164); filter: sepia(0.45); }
.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(79, 211, 154, 0.35);
  border-radius: 18px; color: var(--lime); background: rgba(79, 211, 154, 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(79, 211, 154, 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; }
.water-risk-head {
  margin-top: 11px; padding: 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.035);
}
.water-risk-head div { min-width: 0; }
.water-risk-head strong, .water-risk-head span { display: block; }
.water-risk-head strong { font-size: 0.76rem; line-height: 1.4; }
.water-risk-head span { margin-top: 5px; color: var(--muted); font-size: 0.59rem; line-height: 1.55; }
.water-risk-head b { flex: 0 0 auto; padding: 5px 7px; border-radius: 7px; color: #d0d5d2; background: rgba(156, 163, 175, 0.12); font-size: 0.52rem; }
.water-risk-head.low { border-color: rgba(66, 211, 139, 0.35); background: rgba(66, 211, 139, 0.07); }
.water-risk-head.low b { color: #9ef1bd; background: rgba(66, 211, 139, 0.15); }
.water-risk-head.moderate { border-color: rgba(243, 204, 100, 0.38); background: rgba(243, 204, 100, 0.07); }
.water-risk-head.moderate b { color: #ffe092; background: rgba(243, 204, 100, 0.14); }
.water-risk-head.elevated, .water-risk-head.high { border-color: rgba(241, 120, 115, 0.42); background: rgba(241, 120, 115, 0.08); }
.water-risk-head.elevated b, .water-risk-head.high b { color: #ffaaa5; background: rgba(241, 120, 115, 0.15); }
.water-risk-metrics { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.water-risk-metrics article { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.035); }
.water-risk-metrics span { display: block; color: var(--muted); font-size: 0.53rem; line-height: 1.4; }
.water-risk-metrics strong { display: block; margin-top: 4px; color: #9fd7ff; font-size: 0.72rem; overflow-wrap: anywhere; }
.water-risk-scenarios { margin-top: 11px; display: grid; gap: 7px; }
.water-risk-scenarios article { display: grid; grid-template-columns: minmax(0, 1fr) 82px 42px; align-items: center; gap: 7px; }
.water-risk-scenarios span, .water-risk-scenarios strong { font-size: 0.51rem; }
.water-risk-scenarios span { color: var(--muted); }
.water-risk-scenarios strong { color: #dce9e1; text-align: right; }
.water-risk-bar { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.water-risk-bar i { display: block; height: 100%; border-radius: inherit; background: #2584f3; }
.geology-risk-head { margin-top: 11px; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.035); }
.geology-risk-head div { min-width: 0; }
.geology-risk-head strong, .geology-risk-head span { display: block; }
.geology-risk-head strong { color: #edf7f1; font-size: 0.76rem; line-height: 1.4; }
.geology-risk-head span { margin-top: 5px; color: var(--muted); font-size: 0.58rem; line-height: 1.5; }
.geology-risk-head b { align-self: start; padding: 5px 7px; border-radius: 7px; color: var(--muted); background: rgba(255, 255, 255, 0.06); font-size: 0.5rem; }
.geology-risk-head.low { border-color: rgba(66, 211, 139, 0.32); background: rgba(66, 211, 139, 0.07); }
.geology-risk-head.low b { color: #9ef1bd; background: rgba(66, 211, 139, 0.14); }
.geology-risk-head.moderate { border-color: rgba(243, 204, 100, 0.32); background: rgba(243, 204, 100, 0.07); }
.geology-risk-head.moderate b { color: var(--yellow); background: rgba(243, 204, 100, 0.14); }
.geology-risk-head.elevated, .geology-risk-head.high { border-color: rgba(241, 120, 115, 0.36); background: rgba(241, 120, 115, 0.08); }
.geology-risk-head.elevated b, .geology-risk-head.high b { color: #ffaaa5; background: rgba(241, 120, 115, 0.14); }
.geology-risk-metrics { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.geology-risk-metrics article { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.035); }
.geology-risk-metrics span { display: block; color: var(--muted); font-size: 0.53rem; line-height: 1.4; }
.geology-risk-metrics strong { display: block; margin-top: 4px; color: #d6b4f2; font-size: 0.72rem; overflow-wrap: anywhere; }
.geology-risk-details { margin-top: 11px; display: grid; gap: 7px; }
.geology-risk-details article { padding: 9px 10px; border-left: 2px solid #a879d8; border-radius: 0 8px 8px 0; background: rgba(168, 121, 216, 0.07); }
.geology-risk-details strong, .geology-risk-details span { display: block; }
.geology-risk-details strong { color: #e9d9f7; font-size: 0.64rem; }
.geology-risk-details span { margin-top: 3px; color: var(--muted); font-size: 0.54rem; line-height: 1.45; }
.utilities-head { margin-top: 11px; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.035); }
.utilities-head div { min-width: 0; }
.utilities-head strong, .utilities-head span { display: block; }
.utilities-head strong { color: #edf7f1; font-size: 0.76rem; line-height: 1.4; }
.utilities-head span { margin-top: 5px; color: var(--muted); font-size: 0.58rem; line-height: 1.5; }
.utilities-head b { align-self: start; padding: 5px 7px; border-radius: 7px; color: var(--muted); background: rgba(255, 255, 255, 0.06); font-size: 0.5rem; }
.utilities-head.full { border-color: rgba(66, 211, 139, 0.32); background: rgba(66, 211, 139, 0.07); }
.utilities-head.full b { color: #9ef1bd; background: rgba(66, 211, 139, 0.14); }
.utilities-head.partial { border-color: rgba(243, 204, 100, 0.32); background: rgba(243, 204, 100, 0.07); }
.utilities-head.partial b { color: var(--yellow); background: rgba(243, 204, 100, 0.14); }
.utilities-head.limited { border-color: rgba(241, 156, 89, 0.36); background: rgba(241, 156, 89, 0.08); }
.utilities-head.limited b { color: #ffc48f; background: rgba(241, 156, 89, 0.14); }
.utilities-summary-metrics { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.utilities-summary-metrics article { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.035); }
.utilities-summary-metrics span { display: block; min-height: 2.8em; color: var(--muted); font-size: 0.51rem; line-height: 1.4; }
.utilities-summary-metrics strong { display: block; margin-top: 4px; color: #a7d9ff; font-size: 0.78rem; overflow-wrap: anywhere; }
.utilities-networks { margin-top: 11px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.utilities-networks article { min-width: 0; padding: 9px 10px; border-left: 2px solid #82918a; border-radius: 0 8px 8px 0; background: rgba(255, 255, 255, 0.035); }
.utilities-networks strong, .utilities-networks span { display: block; }
.utilities-networks strong { color: #e6f0ea; font-size: 0.59rem; line-height: 1.4; }
.utilities-networks span { margin-top: 4px; color: var(--muted); font-size: 0.53rem; line-height: 1.4; }
.utilities-networks .water { border-left-color: #3b82f6; }
.utilities-networks .sewer { border-left-color: #9a5b3c; }
.utilities-networks .gas { border-left-color: #d4bf29; }
.utilities-networks .electricity { border-left-color: #ef4444; }
.utilities-networks .telecom { border-left-color: #f59e0b; }
.utilities-networks .heating { border-left-color: #d946ef; }
.utilities-networks article.is-visible, .utilities-networks article.is-intersecting { background: rgba(66, 211, 139, 0.055); }
.utilities-networks article.is-intersecting span { color: #9ef1bd; font-weight: 800; }
.utilities-networks article.is-missing, .utilities-networks article.is-unavailable { opacity: 0.55; }
.road-access-head { margin-top: 11px; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.035); }
.road-access-head div { min-width: 0; }
.road-access-head strong, .road-access-head span { display: block; }
.road-access-head strong { color: #edf7f1; font-size: 0.76rem; line-height: 1.4; }
.road-access-head span { margin-top: 5px; color: var(--muted); font-size: 0.58rem; line-height: 1.5; }
.road-access-head b { align-self: start; padding: 5px 7px; border-radius: 7px; color: var(--muted); background: rgba(255, 255, 255, 0.06); font-size: 0.5rem; }
.road-access-head.direct { border-color: rgba(66, 211, 139, 0.32); background: rgba(66, 211, 139, 0.07); }
.road-access-head.direct b { color: #9ef1bd; background: rgba(66, 211, 139, 0.14); }
.road-access-head.nearby { border-color: rgba(243, 204, 100, 0.32); background: rgba(243, 204, 100, 0.07); }
.road-access-head.nearby b { color: var(--yellow); background: rgba(243, 204, 100, 0.14); }
.road-access-head.review, .road-access-head.remote { border-color: rgba(241, 120, 115, 0.36); background: rgba(241, 120, 115, 0.08); }
.road-access-head.review b, .road-access-head.remote b { color: #ffaaa5; background: rgba(241, 120, 115, 0.14); }
.road-access-metrics { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.road-access-metrics article { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.035); }
.road-access-metrics span { display: block; color: var(--muted); font-size: 0.53rem; line-height: 1.4; }
.road-access-metrics strong { display: block; margin-top: 4px; color: #d7e3db; font-size: 0.69rem; overflow-wrap: anywhere; }
.nearby-roads { margin-top: 11px; display: grid; gap: 7px; }
.nearby-roads article { padding: 9px 10px; border-left: 2px solid #7f8c85; border-radius: 0 8px 8px 0; background: rgba(255, 255, 255, 0.035); }
.nearby-roads article.is-direct { border-left-color: var(--green); background: rgba(66, 211, 139, 0.055); }
.nearby-roads strong, .nearby-roads span { display: block; }
.nearby-roads strong { color: #e6f0ea; font-size: 0.62rem; line-height: 1.4; }
.nearby-roads span { margin-top: 3px; color: var(--muted); font-size: 0.53rem; line-height: 1.45; }
.environment-head { margin-top: 11px; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.035); }
.environment-head div { min-width: 0; }
.environment-head strong, .environment-head span { display: block; }
.environment-head strong { color: #edf7f1; font-size: 0.76rem; line-height: 1.4; }
.environment-head span { margin-top: 5px; color: var(--muted); font-size: 0.58rem; line-height: 1.5; }
.environment-head b { align-self: start; padding: 5px 7px; border-radius: 7px; color: var(--muted); background: rgba(255, 255, 255, 0.06); font-size: 0.5rem; }
.environment-head.low { border-color: rgba(66, 211, 139, 0.32); background: rgba(66, 211, 139, 0.07); }
.environment-head.low b { color: #9ef1bd; background: rgba(66, 211, 139, 0.14); }
.environment-head.moderate { border-color: rgba(243, 204, 100, 0.32); background: rgba(243, 204, 100, 0.07); }
.environment-head.moderate b { color: var(--yellow); background: rgba(243, 204, 100, 0.14); }
.environment-head.elevated, .environment-head.high { border-color: rgba(241, 120, 115, 0.36); background: rgba(241, 120, 115, 0.08); }
.environment-head.elevated b, .environment-head.high b { color: #ffaaa5; background: rgba(241, 120, 115, 0.14); }
.environment-metrics { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.environment-metrics article { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.035); }
.environment-metrics span { display: block; color: var(--muted); font-size: 0.53rem; line-height: 1.4; }
.environment-metrics strong { display: block; margin-top: 4px; color: #b7e7a8; font-size: 0.69rem; overflow-wrap: anywhere; }
.protected-forms { margin-top: 11px; display: grid; gap: 7px; }
.protected-forms article { min-width: 0; padding: 9px 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; border-left: 2px solid #65a84e; border-radius: 0 8px 8px 0; background: rgba(66, 211, 139, 0.045); }
.protected-forms article.is-intersecting { border-left-color: var(--red); background: rgba(241, 120, 115, 0.07); }
.protected-forms strong { min-width: 0; color: #e6f0ea; font-size: 0.6rem; line-height: 1.4; }
.protected-forms span { grid-column: 1 / -1; color: var(--muted); font-size: 0.52rem; line-height: 1.4; }
.protected-forms em { grid-column: 2; grid-row: 1; color: #9ef1bd; font-size: 0.53rem; font-style: normal; font-weight: 800; white-space: nowrap; }
.protected-forms article.is-intersecting em { color: #ffaaa5; }
.result-section .environment-forest-note { margin-top: 10px; padding: 8px 9px; border-left: 2px solid #65a84e; border-radius: 0 7px 7px 0; color: #9db5a7; background: rgba(66, 211, 139, 0.05); font-size: 0.56rem; line-height: 1.5; }
.heritage-head { margin-top: 11px; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.035); }
.heritage-head div { min-width: 0; }
.heritage-head strong, .heritage-head span { display: block; }
.heritage-head strong { color: #edf7f1; font-size: 0.76rem; line-height: 1.4; }
.heritage-head span { margin-top: 5px; color: var(--muted); font-size: 0.58rem; line-height: 1.5; }
.heritage-head b { align-self: start; padding: 5px 7px; border-radius: 7px; color: var(--muted); background: rgba(255, 255, 255, 0.06); font-size: 0.5rem; }
.heritage-head.low { border-color: rgba(66, 211, 139, 0.32); background: rgba(66, 211, 139, 0.07); }
.heritage-head.low b { color: #9ef1bd; background: rgba(66, 211, 139, 0.14); }
.heritage-head.moderate { border-color: rgba(243, 204, 100, 0.32); background: rgba(243, 204, 100, 0.07); }
.heritage-head.moderate b { color: var(--yellow); background: rgba(243, 204, 100, 0.14); }
.heritage-head.high { border-color: rgba(241, 120, 115, 0.36); background: rgba(241, 120, 115, 0.08); }
.heritage-head.high b { color: #ffaaa5; background: rgba(241, 120, 115, 0.14); }
.heritage-metrics { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.heritage-metrics article { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.035); }
.heritage-metrics span { display: block; color: var(--muted); font-size: 0.53rem; line-height: 1.4; }
.heritage-metrics strong { display: block; margin-top: 4px; color: #d7b8f5; font-size: 0.68rem; overflow-wrap: anywhere; }
.heritage-layers { margin-top: 11px; display: grid; gap: 7px; }
.heritage-layers article { min-width: 0; padding: 9px 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; border-left: 2px solid #8b5ab4; border-radius: 0 8px 8px 0; background: rgba(139, 90, 180, 0.06); }
.heritage-layers article.is-intersecting { border-left-color: var(--red); background: rgba(241, 120, 115, 0.07); }
.heritage-layers article.is-missing, .heritage-layers article.is-unavailable { opacity: 0.55; }
.heritage-layers strong { color: #eee4f7; font-size: 0.6rem; line-height: 1.4; }
.heritage-layers span { grid-column: 1 / -1; color: var(--muted); font-size: 0.52rem; line-height: 1.4; }
.heritage-layers em { grid-column: 2; grid-row: 1; color: #d7b8f5; font-size: 0.53rem; font-style: normal; font-weight: 800; white-space: nowrap; }
.heritage-layers article.is-intersecting em { color: #ffaaa5; }
.nuisance-head { margin-top: 11px; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.035); }
.nuisance-head div { min-width: 0; }
.nuisance-head strong, .nuisance-head span { display: block; }
.nuisance-head strong { color: #edf7f1; font-size: 0.76rem; line-height: 1.4; }
.nuisance-head span { margin-top: 5px; color: var(--muted); font-size: 0.58rem; line-height: 1.5; }
.nuisance-head b { align-self: start; padding: 5px 7px; border-radius: 7px; color: var(--muted); background: rgba(255, 255, 255, 0.06); font-size: 0.5rem; }
.nuisance-head.low { border-color: rgba(66, 211, 139, 0.32); background: rgba(66, 211, 139, 0.07); }
.nuisance-head.low b { color: #9ef1bd; background: rgba(66, 211, 139, 0.14); }
.nuisance-head.moderate { border-color: rgba(243, 204, 100, 0.32); background: rgba(243, 204, 100, 0.07); }
.nuisance-head.moderate b { color: var(--yellow); background: rgba(243, 204, 100, 0.14); }
.nuisance-head.high { border-color: rgba(241, 120, 115, 0.36); background: rgba(241, 120, 115, 0.08); }
.nuisance-head.high b { color: #ffaaa5; background: rgba(241, 120, 115, 0.14); }
.nuisance-metrics { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.nuisance-metrics article { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.035); }
.nuisance-metrics span { display: block; color: var(--muted); font-size: 0.53rem; line-height: 1.4; }
.nuisance-metrics strong { display: block; margin-top: 4px; color: #f2b19a; font-size: 0.68rem; overflow-wrap: anywhere; }
.nuisance-items { margin-top: 11px; display: grid; gap: 7px; }
.nuisance-items article { min-width: 0; padding: 9px 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; border-left: 2px solid #ef8354; border-radius: 0 8px 8px 0; background: rgba(239, 131, 84, 0.06); }
.nuisance-items article.is-close { border-left-color: var(--red); background: rgba(241, 120, 115, 0.08); }
.nuisance-items strong { color: #f7e9e3; font-size: 0.6rem; line-height: 1.4; }
.nuisance-items span { grid-column: 1 / -1; color: var(--muted); font-size: 0.52rem; line-height: 1.4; }
.nuisance-items em { grid-column: 2; grid-row: 1; color: #f2b19a; font-size: 0.53rem; font-style: normal; font-weight: 800; white-space: nowrap; }
.nuisance-items article.is-close em { color: #ffaaa5; }
.result-section .nuisance-map-note { margin-top: 10px; padding: 8px 9px; border-left: 2px solid #ef8354; border-radius: 0 7px 7px 0; color: #c3aaa1; background: rgba(239, 131, 84, 0.05); font-size: 0.56rem; line-height: 1.5; }
.imagery-history-head { margin-top: 11px; padding: 12px; border: 1px solid rgba(86, 164, 205, 0.3); border-radius: 10px; background: rgba(86, 164, 205, 0.07); }
.imagery-history-head strong, .imagery-history-head span { display: block; }
.imagery-history-head strong { color: #dceef8; font-size: 0.75rem; line-height: 1.4; }
.imagery-history-head span { margin-top: 5px; color: var(--muted); font-size: 0.58rem; line-height: 1.5; }
.imagery-year-display { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.imagery-year-display span { color: var(--muted); font-size: 0.58rem; }
.imagery-year-display strong { color: #8dd5fa; font-size: 1rem; }
.imagery-range { width: 100%; margin-top: 9px; accent-color: #56a4cd; }
.imagery-year-buttons { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.imagery-year-buttons button { padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: rgba(255, 255, 255, 0.035); font: inherit; font-size: 0.52rem; font-weight: 800; cursor: pointer; }
.imagery-year-buttons button.is-active { border-color: rgba(86, 164, 205, 0.6); color: #bce8ff; background: rgba(86, 164, 205, 0.16); }
.imagery-compare-control { margin-top: 12px; padding: 10px; display: grid; grid-template-columns: minmax(0, 1fr) 100px 34px; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.035); }
.imagery-compare-control label { color: var(--muted); font-size: 0.54rem; line-height: 1.4; }
.imagery-compare-control input { width: 100%; accent-color: #56a4cd; }
.imagery-compare-control strong { color: #8dd5fa; font-size: 0.58rem; text-align: right; }
.imagery-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.imagery-actions .section-action.secondary { border-color: rgba(241, 120, 115, 0.34); color: #ffaaa5; background: rgba(241, 120, 115, 0.08); }
.imagery-actions .section-action.secondary:hover { color: #241515; background: #ffaaa5; }
.imagery-actions .section-action[hidden] { display: none; }
.terrain-head { margin-top: 11px; padding: 11px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid rgba(79, 211, 154, 0.25); border-radius: 9px; background: rgba(79, 211, 154, 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(79, 211, 154, 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(79, 211, 154, 0.32); border-radius: 9px;
  color: var(--lime); background: rgba(79, 211, 154, 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(79, 211, 154, 0.32); background: rgba(79, 211, 154, 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(79, 211, 154, 0.32); border-radius: 7px; padding: 6px 8px; color: var(--lime); background: rgba(79, 211, 154, 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; }
  .parcel-number-search-panel form { grid-template-columns: repeat(3, 1fr); }
  .parcel-search-or { display: none; }.parcel-number-search-panel form>button { align-self: end; }
}
@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: calc(100% - 112px); }.parcel-number-search-toggle { width: 104px; padding: 0 6px; }.map-hint { display: none; }
  .parcel-number-search-panel { padding: 11px; max-height: 54vh; overflow-y: auto; }.parcel-number-search-panel form { grid-template-columns: 1fr 1fr; }.parcel-id-field { grid-column: 1 / -1; }
  .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; }
}
