:root { --lead-overlay: color-mix(in srgb, var(--ink) 55%, transparent); }
.pressure-panel { margin-block: 18px; padding-block: 16px; border-block: 1px solid var(--line); }
.pressure-panel h3 { margin: 0 0 12px; }
.pressure-panel .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
.pressure-panel .f { min-width: 0; }
.pressure-panel input, .pressure-panel select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; padding: 8px; background: var(--panel); color: var(--ink); font: inherit; }
.pressure-panel .f > span { white-space: normal; }
.pressure-panel p, .pressure-panel a { overflow-wrap: anywhere; }
.pressure-result { margin-block: 12px; padding-inline-start: 12px; border-inline-start: 3px solid var(--hot); }
.pressure-result[data-status="ok"] { border-color: var(--accent); }
.pressure-result p { margin-block: 6px; }
@media (max-width: 600px) { .pressure-panel .row { grid-template-columns: minmax(0, 1fr); } }
.calculator-language-buttons { display: none; }
.calculator-language-select { display: block; width: 128px; min-height: 40px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); font: 500 .9rem var(--sans); }
.calculator-menu { position: relative; }
.calculator-menu summary { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); cursor: pointer; list-style: none; }
.calculator-menu summary::-webkit-details-marker { display: none; }
.calculator-menu summary:hover { border-color: var(--accent); }
.calculator-menu summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.calculator-menu[open] summary { background: var(--sunk); }
.calculator-menu nav { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 30; display: flex; flex-direction: column; min-width: 200px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: 0 8px 24px rgb(27 53 85 / .14); }
.calculator-menu nav a { padding: 10px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font: 500 .95rem var(--sans); white-space: nowrap; }
.calculator-menu nav a:hover, .calculator-menu nav a:focus-visible { background: var(--sunk); outline: none; }
.lead-cta { margin: 0 0 16px; }
.noise-map-guidance { margin-block: 12px; padding: 12px 14px; border-inline-start: 3px solid var(--hot); background: var(--sunk); color: var(--ink); font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.noise-map-guidance[hidden] { display: none; }
.noise-map-guidance p { margin-block: 6px; }
.noise-map-guidance ol { margin-block: 8px 12px; padding-inline-start: 22px; }
.noise-map-guidance li + li { margin-top: 6px; }
.noise-map-guidance .btn { white-space: normal; max-width: 100%; }
.schematic-noise-active #nmInfo { display: none; }
.lead-cta p, .lead-bar p { margin: 0 0 8px; font-size: .88rem; }
.lead-primary.btn { background: var(--hot); color: var(--paper); border-color: var(--hot); white-space: normal; line-height: 1.35; min-height: 44px; }
.lead-bar { max-width: 390px; flex: 1 1 260px; }
.lwa-helper { grid-column: 1 / -1; min-width: 0; }
.lwa-link { border: 0; background: none; padding: 6px 0; color: var(--accent); text-decoration: underline; font: inherit; cursor: pointer; text-align: left; white-space: nowrap; }
.lwa-link:focus-visible { outline: 2px solid var(--accent); }
.seg.wide:has(input[name="sol"]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; border: 0; border-radius: 0; background: none; }
.seg.wide:has(input[name="sol"]) label { min-width: 0; justify-content: stretch; }
.seg.wide:has(input[name="sol"]) label:last-child { grid-column: 1 / -1; }
.seg.wide input[name="sol"] + span { display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; box-sizing: border-box; min-height: 52px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--sunk); color: var(--ink); text-align: left; font: 500 .95rem/1.3 var(--sans); letter-spacing: 0; }
.seg.wide input[name="sol"] + span::before { content: ''; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 18px; width: 18px; height: 18px; box-sizing: border-box; border: 1px solid currentColor; border-radius: 50%; font-size: 12px; }
.seg.wide input[name="sol"]:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.seg.wide input[name="sol"]:checked + span::before { content: '✓'; }
.seg.wide label:hover input[name="sol"]:not(:checked) + span { border-color: var(--accent); }
.seg.wide label:focus-within input[name="sol"] + span { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 400px) { .seg.wide:has(input[name="sol"]) { grid-template-columns: minmax(0, 1fr); } }
.variant-comparison th:last-child, .variant-comparison td:last-child { text-align: center; vertical-align: middle; width: 128px; }
.variant-comparison td:first-child { border-inline-start: 3px solid transparent; }
.variant-comparison tr.cur td { background: var(--sunk); }
.variant-comparison tr.cur td:first-child { border-inline-start-color: var(--accent); }
.variant-comparison .btn, .variant-selected { display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; width: 112px; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: 600 .9rem/1.2 var(--sans); vertical-align: middle; white-space: nowrap; }
.variant-selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 600px) {
  .variant-comparison { table-layout: fixed; font-size: .8rem; }
  .variant-comparison th, .variant-comparison td { padding: 6px 4px; white-space: normal; }
  .variant-comparison th:first-child { width: 31%; }
  .variant-comparison th:nth-child(2) { width: 23%; }
  .variant-comparison th:nth-child(3) { width: 18%; }
  .variant-comparison th:last-child, .variant-comparison td:last-child { width: 28%; }
  .variant-comparison td:first-child { overflow-wrap: anywhere; }
  .variant-comparison .btn, .variant-selected { width: 100%; max-width: 80px; padding-inline: 5px; gap: 4px; font-size: .75rem; }
}
.bar .bgo { background: var(--sunk); color: var(--ink); border: 1px solid var(--line); white-space: normal; }
.lead-dialog { color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 24px; width: min(620px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow-y: auto; font: 400 16px/1.45 var(--sans); }
.lead-dialog::backdrop { background: var(--lead-overlay); }
.lead-dialog h2 { padding-right: 42px; }
.lead-close { position: absolute; top: 12px; right: 12px; }
.lead-summary { border-block: 1px solid var(--line); margin: 16px 0; padding: 12px 0; font-size: .88rem; overflow-wrap: anywhere; }
.lead-summary p { margin: 3px 0; }
.lead-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-field { display: flex; flex-direction: column; gap: 5px; font-size: .9rem; }
.lead-field input, .lead-field textarea { border: 1px solid var(--line); border-radius: 8px; background: var(--sunk); color: var(--ink); font: inherit; padding: 10px; width: 100%; }
.lead-field textarea { resize: vertical; min-height: 88px; }
.lead-field input:focus-visible, .lead-field textarea:focus-visible, .lead-field select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lead-wide { grid-column: 1 / -1; }
.lead-consent { display: flex; gap: 10px; margin-block: 16px; align-items: flex-start; font-size: .9rem; }
.lead-consent input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--accent); }
.lead-consent a { color: var(--accent); }
.lead-status { color: var(--bad); margin-block: 12px; overflow-wrap: anywhere; }
.lead-status.success { color: var(--ink); }
.lead-honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 600px) { .lead-fields { grid-template-columns: 1fr; } .lead-dialog { padding: 20px 16px; } .lead-bar { flex-basis: 100%; max-width: none; } .lead-bar .btn { width: 100%; } .bar-in { max-height: 44dvh; overflow-y: auto; } .grid > *, .row > * { min-width: 0; } .row { grid-template-columns: repeat(auto-fit, minmax(min(104px, 100%), 1fr)); } .lead-cta { overflow-wrap: anywhere; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 600px) {
  .bar-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; max-height: none; overflow: visible; }
  .bar .bc { padding: 0; border: 0; }
  .bar .bc.req { grid-column: 2; grid-row: 1; max-width: 180px; }
  .bar .bc span, .bar .bc b { white-space: normal; overflow-wrap: anywhere; }
  .bar .bc b { font-size: 1.25rem; }
  .bar .bc.req b { display: none; }
  .bar .bc.sec, .bar .bc.req span { display: none; }
  .bar .bc.req em { font-size: .8rem; line-height: 1.15; text-align: right; }
  .bar .bc.main { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 5px; }
  .bar .bc.main span { font-size: .72rem; }
  .lead-bar { grid-column: 1 / -1; }
  .bar .bgo { display: none; }
  .bar .lead-primary { min-height: 38px; padding: 7px 10px; font-size: .85rem; }
  .verdict .nums { white-space: normal; font-size: 1.65rem; line-height: 1.3; }
}
.bar-in { gap: 12px; }
.bar .bc { padding-inline: 10px; }
.bar .bc.req { flex: 1 1 240px; }
.bar .bc.req span { white-space: normal; }
.lead-bar { flex: 0 1 290px; }
@media (max-width: 600px) { .bar-in { gap: 6px 10px; } .bar .bc { padding: 0; } .lead-bar { max-width: none; } }
@media (min-width: 601px) {
  .bar { --bar-fit: 1; padding-top: calc(10px * var(--bar-fit)); padding-bottom: calc(10px * var(--bar-fit) + env(safe-area-inset-bottom, 0px)); }
  .bar-in { gap: calc(12px * var(--bar-fit)); }
  .bar .bc { padding-inline: calc(10px * var(--bar-fit)); }
  .bar .bc.main, .bar .bc.sec { flex: 0 0 auto; }
  .bar .bc.req { flex: 1 1 0; }
  .bar .bc span, .bar .bc em { font-size: max(12px, calc(.92rem * var(--bar-fit))); line-height: 1.2; }
  .bar .bc b { font-size: calc(1.9rem * var(--bar-fit)); }
  .bar .bc.req b { font-size: max(16px, calc(1.35rem * var(--bar-fit))); line-height: 1.2; }
  .bar .bc.req span, .bar .bc.req b, .bar .bc.req em { white-space: nowrap; }
  .bar .lead-bar { flex: 0 1 calc(290px * var(--bar-fit) * var(--bar-fit)); min-width: 120px; }
  .bar .lead-primary, .bar .bgo { font-size: max(12px, calc(1rem * var(--bar-fit))); line-height: 1.2; min-height: 38px; padding: calc(12px * var(--bar-fit)) calc(16px * var(--bar-fit)); }
  .bar .bgo { min-width: 80px; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .bar-in { display: grid; grid-template-columns: auto auto minmax(0, 1fr) minmax(120px, calc(170px * var(--bar-fit))) minmax(80px, calc(110px * var(--bar-fit))); gap: 3px 8px; }
  .bar .bc.main { grid-column: 1; grid-row: 2 / 4; }
  .bar .bc.sec { grid-column: 2; grid-row: 2 / 4; }
  .bar .bc.main, .bar .bc.sec { padding-inline: 6px; }
  .bar .bc b { font-size: max(18px, calc(1.3rem * var(--bar-fit))); }
  .bar .bc.req { display: contents; }
  .bar .bc.req span { grid-column: 1 / -1; grid-row: 1; }
  .bar .bc.req b { grid-column: 3; grid-row: 2; font-size: max(14px, calc(16px * var(--bar-fit))); }
  .bar .bc.req em { grid-column: 3; grid-row: 3; }
  .bar .lead-bar { grid-column: 4; grid-row: 2 / 4; min-width: 0; }
  .bar .lead-primary { width: 100%; }
  .bar .bgo { grid-column: 5; grid-row: 2 / 4; margin-left: 0; }
  .bar .lead-primary, .bar .bgo { font-size: 12px; padding: 6px 8px; }
}
@media (min-width: 601px) and (max-width: 700px) {
  .bar-in { grid-template-columns: auto minmax(0, 1fr) minmax(120px, 190px); }
  .bar .bc.req b, .bar .bc.req em { grid-column: 2; }
  .bar .lead-bar { grid-column: 3; }
}
/* Lidar map: drag/pinch gestures pan and zoom the map instead of scrolling the page. */
.mapwrap canvas{touch-action:none}
.location-enhanced #lSearch { align-items: end; gap: 12px; margin-top: 14px; }
.location-country { flex: 0 1 230px; min-width: 0; }
.location-country select { width: 100%; min-height: 44px; }
.location-address { position: relative; min-width: 0; }
.location-address .inp, .location-address input { width: 100%; min-width: 0; }
.location-address input { text-overflow: ellipsis; min-height: 42px; }
.location-enhanced #lFind { min-height: 44px; }
.location-results { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 25; max-height: 320px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: 0 8px 24px var(--lead-overlay); }
.location-results[hidden] { display: none; }
.location-results.location-results-up { top: auto; bottom: calc(100% + 4px); }
.location-option { display: flex; flex-direction: column; gap: 4px; padding: 12px; min-height: 56px; cursor: pointer; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; font-size: .9rem; }
.location-option:last-child { border-bottom: 0; }
.location-option small { color: var(--soft); }
.location-option:hover, .location-option[aria-selected="true"] { background: var(--sunk); box-shadow: inset 3px 0 0 var(--accent); }
.location-status { min-height: 1.5em; margin-block: 8px 4px; overflow-wrap: anywhere; }
.location-credit { display: inline-block; margin-bottom: 14px; color: var(--soft); font-size: .75rem; }
@media (max-width: 600px) {
  .location-enhanced #lSearch { display: grid; grid-template-columns: minmax(0, 1fr); }
  .location-country, .location-address { width: 100%; }
  .location-results { max-height: 260px; }
}

/* Wider responsive layout */
.wrap,.bar-in{max-width:min(1680px,100%)}
@media (min-width:1400px){.grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}}
.row{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
.f{justify-content:flex-end;overflow-wrap:anywhere;hyphens:auto}
.f>span:first-child,.f>label:first-child{line-height:1.25}
select{text-overflow:ellipsis}
.pressure-panel .pressure-label { font-weight: 700; font-size: .92rem; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pressure-panel .pressure-tag { font-style: normal; font-weight: 600; font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: var(--sunk); color: var(--accent); border: 1px solid var(--line); }
.pressure-panel .pressure-tag.manual { color: var(--hot); border-color: color-mix(in srgb, var(--hot) 45%, transparent); }
.pressure-panel small.help { display: block; margin: 6px 0 14px; padding-left: 10px; border-left: 3px solid var(--line); font-size: .8rem; font-style: italic; color: var(--soft); }
