/* Калькулятор и заявка по расчёту, 1.8.0. Только страница /planirovki/. */
.layout-option{display:flex;min-width:0;flex-direction:column;gap:10px;align-self:start}
.layout-option>.layout-card{width:100%}
.layout-request-button{width:100%;min-height:52px;padding:12px;font-size:14px;line-height:1.4;text-align:center}
.layout-request-note{display:block;padding:0 4px;color:var(--muted);font-size:12px;line-height:1.45}
.calc-primary .calc-metric-request{margin-top:18px;width:100%;background:#fff;color:var(--blue-deep);box-shadow:none;font-size:14px;line-height:1.4}
[data-calculator-request]:disabled{opacity:.55;cursor:not-allowed}
.new-build-area-prompt [data-calculator-request]{margin-top:14px;justify-self:start}
.calc-request-validation{margin:0 0 22px;padding:16px 20px;border:1px solid #f0c9be;border-radius:12px;background:#fff1ee;color:#8f2018;line-height:1.5}
.calc-request-validation[hidden],.calculator-bottom-cta[hidden],.calculation-receipt[hidden]{display:none!important}
.calculator-request-enhanced .request-layout{display:block}
.calculator-request-enhanced .request-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);column-gap:48px;align-items:start}
.calculator-request-enhanced .request-copy>.eyebrow,.calculator-request-enhanced .request-copy>h2,.calculator-request-enhanced .request-copy>p,.calculator-request-enhanced .request-copy>.hero-actions{grid-column:1}
.calculator-bottom-cta{grid-column:2;grid-row:1/6;display:grid;gap:12px;padding:28px;border:1px solid var(--line);border-radius:20px;background:#fff}
.calculator-bottom-cta>span{color:var(--muted);font-size:14px;font-weight:700}
.calculator-bottom-cta>strong{font-size:clamp(26px,4vw,38px);color:var(--blue-deep)}
.calculator-bottom-cta>small{color:var(--muted);line-height:1.5}
.calculator-dialog-open{overflow:hidden}
.calculator-request-dialog{width:min(680px,calc(100% - 28px));max-width:none;max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);margin:auto;padding:0;border:1px solid var(--line);border-radius:22px;background:#fff;color:var(--ink);box-shadow:0 24px 100px #07365d4d;overflow:auto;overscroll-behavior:contain}
.calculator-request-dialog::backdrop{background:rgba(7,32,51,.65)}
.calculator-dialog-toolbar{position:sticky;top:0;z-index:2;display:flex;justify-content:flex-end;padding:10px 14px;background:#fff;border-bottom:1px solid var(--line)}
.calculator-dialog-close{min-width:100px;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:10px;background:var(--blue-soft);color:var(--blue-deep);font:inherit;font-weight:700;cursor:pointer}
.calculator-dialog-close:disabled{opacity:.55;cursor:wait}
.calculator-request-dialog .request-card-form{padding:20px 26px 26px;border:0;border-radius:0;box-shadow:none}
.calculator-request-dialog h3{margin:0 0 18px;font-size:clamp(22px,4vw,28px);line-height:1.25}
.calculator-request-dialog h3:focus{outline:none}
.calculation-summary{padding:18px;margin-bottom:14px;border:1px solid #c7e4f7;border-radius:14px;background:#f2f9fd;overflow-wrap:anywhere}
.calculation-summary h4{margin:0 0 12px;font-size:17px}
.calculation-summary dl{display:grid;gap:9px;margin:0}
.calculation-summary dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:12px;font-size:14px;line-height:1.5}
.calculation-summary dt{color:var(--muted)}
.calculation-summary dd{margin:0;text-align:right;font-weight:700}
.calculation-summary dl>.calculation-summary-total{margin-top:6px;padding-top:12px;border-top:1px solid #c7e4f7;font-size:20px}
.calculation-summary-total dt{color:var(--ink);font-weight:800}
.calculation-extra-list{display:grid;gap:7px;margin:14px 0 0;padding-left:18px;font-size:13px;line-height:1.5;color:var(--muted)}
.calculation-form-note,.calculation-comment-limit{font-size:13px;color:var(--muted);line-height:1.5}
.calculation-form-note{margin:12px 0 18px}
.calculation-summary .calculation-form-note{margin-bottom:0}
.calculation-validation{margin:12px 0 0;color:#8f2018;font-size:14px;line-height:1.5}
.calculation-receipt{margin-bottom:18px;padding:16px;border:1px solid #b9dec8;border-radius:14px;background:#eaf8ef;color:#155d36;overflow-wrap:anywhere}
.calculation-receipt strong{display:block;font-size:17px}
.calculation-receipt p{margin:8px 0 0;font-size:14px;line-height:1.5}
.calculator-request-dialog .request-field textarea{min-height:86px}
.calculator-dialog-close:focus-visible,[data-calculator-request]:focus-visible{outline:3px solid #93d8ff;outline-offset:3px}
@media(max-width:700px){.calculator-request-enhanced .request-copy{display:block}.calculator-bottom-cta{margin-top:22px;padding:20px}.calculator-request-dialog{width:calc(100% - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.calculator-request-dialog .request-card-form{padding:16px}.calculator-dialog-toolbar{padding:6px 10px}.calculation-summary{padding:14px}.calculation-summary dl>div{font-size:13px;gap:8px}.calculation-summary dl>.calculation-summary-total{font-size:19px}.layout-request-button{min-height:50px}.calc-actions>[data-calculator-request]{width:100%}}
@media(prefers-reduced-motion:reduce){.calculator-request-dialog{scroll-behavior:auto}}
