:root{--bg:#f4f5f2;--text:#17221d;--muted:#66736b;--line:#dfe4df;--accent:#245a49;--gold:#b8792a}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}header,main{max-width:1180px;margin:auto}header{padding:25px 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:var(--accent);font-size:14px;font-weight:850;letter-spacing:1.6px}.brand span{display:block;font-size:10px;letter-spacing:5px}main{padding:0 28px}.tag{font-size:12px;border:1px solid #ccd8cf;border-radius:30px;padding:6px 12px;color:var(--accent);white-space:nowrap}.intro{display:flex;justify-content:space-between;align-items:center;padding:52px 0 38px;gap:25px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.5px;color:var(--accent);margin:0 0 14px}h1{font-size:clamp(36px,5vw,58px);line-height:1.06;letter-spacing:-2px;margin:0 0 20px;font-weight:650}h2{font-size:23px;line-height:1.25;margin:0 0 14px;font-weight:650}h3{font-size:18px;margin:0 0 12px}.lead{color:var(--muted);font-size:18px}.dataset{padding:28px 30px;border-left:1px solid #cad7ce;color:var(--muted);font-size:13px}.dataset strong{display:block;color:var(--text);font-size:23px;font-weight:600;margin:10px 0}.dataset small{display:block}.dot{display:inline-block;width:7px;height:7px;background:#42745b;border-radius:50%;margin-right:7px}.panel{background:#fff;border:1px solid var(--line);border-radius:8px;padding:26px}.section-title{display:flex;align-items:center;gap:12px;margin-bottom:25px}.section-title h2{margin:0;font-size:19px}.step{color:var(--gold);font-size:12px;border:1px solid #e6d8c7;padding:4px 7px;border-radius:4px}.optional{margin-left:auto;font-size:12px}.fields{display:grid;grid-template-columns:.9fr 1.25fr .75fr 1.1fr;gap:20px}label{display:block;font-weight:650;font-size:13px}input,select,textarea{font:inherit;font-weight:400;color:var(--text);width:100%;border:1px solid #ced7cf;background:white;border-radius:6px;padding:12px;margin-top:8px;min-height:44px}input:focus,select:focus,textarea:focus,button:focus-visible{outline:2px solid #b8792a;outline-offset:2px}select:disabled{background:#f4f5f2;color:var(--muted)}small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:8px}.size-row{display:flex;gap:8px}.size-row select{width:74px}.size-row input{min-width:0}button{font:inherit;font-weight:650;border:0;border-radius:6px;padding:13px 19px;background:var(--accent);color:white;cursor:pointer;min-height:44px}button:hover{filter:brightness(.94)}button:disabled{opacity:.55;cursor:wait}button span{margin-left:20px}.secondary{background:white;color:var(--accent);border:1px solid #bfd1c5}.form-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.muted{color:var(--muted);font-weight:400}.form-bottom p{font-size:12px}.empty{text-align:center;padding:52px 0;color:var(--muted)}.empty>span{font-size:35px;color:#89a18f}.empty h2{font-size:19px;color:var(--text)}.result-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:40px 0 10px}.result-heading h2{font-size:30px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.price-card{padding:25px 22px;background:white;border:1px solid var(--line);border-radius:8px}.price-card.featured{background:var(--accent);color:white;border-color:var(--accent)}.price-card .kicker{font-size:11px;letter-spacing:1px;text-transform:uppercase;opacity:.8}.price{font-size:clamp(24px,3vw,34px);font-weight:650;letter-spacing:-1px;margin:20px 0 2px}.price-unit{font-size:12px;opacity:.7}.price-card h3{font-size:17px;margin:20px 0 9px}.price-card p{font-size:13px;opacity:.8}.notice{background:#fbf3e6;border:1px solid #e6d5b9;border-radius:8px;padding:18px 22px;font-size:13px}.notice p{margin-bottom:0;color:#6e593d}.evidence{margin:18px 0 24px;font-size:13px}.evidence li{margin-bottom:7px;color:var(--muted)}summary{cursor:pointer;font-weight:650;padding:12px 0}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;margin:15px 0}td,th{text-align:right;padding:11px 8px;border-bottom:1px solid var(--line);white-space:nowrap}td:first-child,th:first-child{text-align:left}th{color:var(--muted);font-weight:500}.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bottom-grid label{margin:13px 0}.bottom-grid textarea{min-height:85px;resize:vertical}.cta{background:#e7eee8}.check{display:flex;align-items:flex-start;gap:10px;font-size:12px}.check input{width:16px;min-height:16px;height:16px;margin:3px 0}.review{margin-top:28px;color:var(--muted);font-size:13px}.review-entry{background:white;border:1px solid var(--line);padding:12px;margin-top:10px;overflow-wrap:anywhere}footer{padding:32px 0;margin-top:26px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:11px}#error{color:#9c3d25}#error:empty{display:none}[hidden]{display:none!important}@media(max-width:760px){header{padding:20px}.intro{display:block;padding:35px 0 25px}.dataset{padding:15px 0;border-left:0;border-top:1px solid var(--line);margin-top:25px}.dataset strong{font-size:19px}main{padding:0 18px}.fields,.cards,.bottom-grid{grid-template-columns:1fr}.panel{padding:20px}.optional{display:none}.form-bottom{align-items:stretch;flex-direction:column;gap:8px}.form-bottom button{width:100%}.result-heading{align-items:flex-start;flex-direction:column}.result-heading h2{font-size:25px}.cards{gap:10px}.price-card{padding:20px}.price{font-size:34px;margin-top:10px}.price-card h3{margin-top:14px}footer{gap:15px;flex-direction:column}.tag{font-size:10px}}

.disclaimer{margin:16px 0;padding:20px 22px;background:#edf1ed;border:1px solid #ccd8cf;border-radius:8px;font-size:13px;color:#4c5d52}.disclaimer p{margin:10px 0 14px}

.unit-toggle{display:flex;flex-shrink:0;margin-top:8px;border:1px solid #ced7cf;padding:3px;border-radius:7px;gap:2px}.unit-toggle button{min-height:36px;padding:6px 10px;background:white;color:var(--muted);font-size:13px}.unit-toggle button[aria-pressed="true"]{background:var(--accent);color:white}

.property-status{max-width:360px;margin-bottom:24px}.project-help{color:#245a49;line-height:1.5;font-weight:500}
/* Valuation form: stable two-column layout, one searchable project control. */
html{scrollbar-gutter:stable}.intro{padding:38px 0 30px}.panel{padding:28px}.section-title{margin-bottom:28px}.valuation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;row-gap:24px}.field{min-width:0}.field>label,.label-line{display:flex;align-items:center;min-height:24px;margin:0 0 8px;font-size:14px}.field input,.field select{height:48px;margin:0;width:100%;min-width:0;font-size:15px}.field-hint{font-size:12px;font-weight:400;color:var(--muted);line-height:1.5;margin:8px 0 0;min-height:36px}.project-field{grid-column:1/-1}.label-line{justify-content:space-between;gap:12px}.label-line label{font-size:14px}.help-button{width:28px;height:28px;min-height:28px;padding:0;border:1px solid #bdcbc2;background:#f4f7f4;color:#245a49;border-radius:50%;font-weight:700}.project-combo{position:relative}.project-combo>input{padding-right:90px}.clear-project{position:absolute;right:7px;top:7px;min-height:34px;height:34px;padding:0 8px;background:#f3f6f3;color:#496352;font-size:12px;font-weight:500}.project-combo>#project-popup{position:absolute;z-index:20;top:calc(100% + 6px);left:0;right:0;max-height:290px;overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #b8c9be;border-radius:8px;box-shadow:0 12px 32px #17221d20;padding:6px}.project-option{padding:11px 12px;border-radius:5px;cursor:pointer;min-height:60px}.project-option strong{display:block;font-size:14px;font-weight:600;overflow-wrap:anywhere}.project-option span{display:block;font-size:12px;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}.project-option:hover,.project-option.active{background:#e7eee8}.no-projects{font-size:13px;color:var(--muted);padding:8px 12px;margin:0;line-height:1.5}.area-control{display:flex;border:1px solid #ced7cf;border-radius:6px;height:48px;background:white;align-items:center}.area-control:focus-within{outline:2px solid #b8792a;outline-offset:2px}.area-control>input[type=number]{flex:1;border:0;height:44px;background:transparent;padding:10px 12px;outline:none}.area-control .unit-toggle{margin:0 4px 0 0;border:0;padding:2px;height:40px}.area-control .unit-toggle button{min-height:36px}.field #size-preset{margin-top:0;font-size:13px;height:44px;background:#fafbf9}.form-bottom{margin-top:24px;padding-top:24px;align-items:center}.form-bottom>div{flex:1;min-width:0}.form-bottom p{margin:0;font-size:13px;line-height:1.5}.form-bottom .field-hint{min-height:20px;font-size:12px;margin-top:5px}.form-bottom #calculate{min-width:210px;min-height:48px;font-size:14px}.form-bottom button:disabled{cursor:default}#error{min-height:22px;margin:12px 0 0;font-size:13px}#error:empty{display:block;visibility:hidden}.dataset{min-width:340px}.dataset strong{min-height:35px}.stale{opacity:.55}.stale::before{content:'Параметры изменились. Обновите оценку, чтобы увидеть новый результат.';display:block;padding:16px;background:#fbf3e6;color:#614111;border:1px solid #e6d5b9;border-radius:6px;margin-top:24px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{width:min(540px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:28px;color:var(--text);box-shadow:0 24px 90px #10221940}dialog::backdrop{background:#17221d66}.dialog-heading{display:flex;align-items:start;justify-content:space-between;gap:16px}.dialog-heading h2{font-size:22px;margin:0}.dialog-heading button{font-size:12px;padding:8px 10px;min-height:36px}dialog p{font-size:15px;line-height:1.65;margin:18px 0 0}dialog .muted{font-size:13px}.empty{padding:36px 0}.unit-toggle button{cursor:pointer}
@media(min-width:761px) and (max-width:1000px){.dataset{min-width:0;max-width:330px}.intro h1{font-size:44px}.dataset strong{font-size:19px}}
@media(max-width:760px){header{gap:12px}.intro{padding:30px 0 24px}.dataset{min-width:0}.panel{padding:20px}.valuation-grid{grid-template-columns:1fr;gap:20px}.project-field{grid-column:auto}.field-hint{min-height:0;margin-top:7px}.field #size-preset{margin-top:10px}.form-bottom{gap:16px;align-items:stretch}.form-bottom #calculate{min-width:0;width:100%}.section-title{margin-bottom:22px}.project-option{min-height:60px}.project-combo>#project-popup{max-height:250px}.project-combo>input{font-size:16px}.field select,.field input{font-size:16px}.dialog-heading{gap:10px}dialog{padding:22px}.dialog-heading h2{font-size:20px}.form-bottom p{font-size:12px}.project-field .field-hint{min-height:36px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.help-button{width:44px;height:44px;min-height:44px;flex-shrink:0}.dialog-heading button{min-height:44px}.clear-project{top:2px;right:3px;height:44px;min-height:44px}.stale::before{display:none}.field label{gap:4px}

.beta-status{display:flex;align-items:center;gap:12px;max-width:520px}.beta-badge{flex-shrink:0;border:1px solid #d9bc8b;background:#fbf3e6;color:#77511f;border-radius:999px;padding:5px 11px;font-size:12px;font-weight:650;white-space:nowrap}.beta-copy{font-size:12px;line-height:1.5;color:#66736b;max-width:330px}@media(max-width:760px){header{flex-wrap:wrap}.beta-status{display:flex;align-items:flex-start;width:100%;max-width:none;gap:10px}.beta-copy{max-width:none;font-size:11px}.brand{margin-bottom:4px}}
@media(max-width:760px){.dataset strong{min-height:58px}}
/* Restore the original compact horizontal form arrangement. */
@media(min-width:761px){
 .valuation-grid{grid-template-columns:.9fr 1.4fr .8fr 1.2fr;column-gap:20px;row-gap:24px;align-items:start}
 .valuation-grid>.field:first-child{grid-column:1/-1;width:360px;max-width:100%}
 .project-field{grid-column:auto}
 .field>label,.label-line{height:44px;min-height:44px;margin:0 0 8px}
 .field>label{align-items:center}
 .project-combo>input{padding-right:12px}
 .project-combo:has(.clear-project:not([hidden]))>input{padding-right:82px}
 .field-hint{min-height:40px}
 .project-combo>#project-popup{min-width:100%;width:max-content;max-width:min(440px,80vw)}
 .form-bottom{margin-top:24px}
}
@media(min-width:761px) and (max-width:1049px){.valuation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-combo>#project-popup{width:100%;max-width:100%}}

#project-empty{padding:16px;font-size:14px}#project-empty strong{display:block}#project-empty p{font-size:13px;color:var(--muted);line-height:1.5;margin:8px 0 16px}#project-empty button{min-height:44px;white-space:normal}#inquiry-form{margin-top:20px}#inquiry-form>label{margin-top:16px}#inquiry-form textarea{min-height:90px}#inquiry-status{font-size:13px}#inquiry-context{overflow-wrap:anywhere}
/* Compact form without a separate property-status field. */
.valuation-grid>.field:first-child{grid-column:auto;width:auto;max-width:none}
.label-line{justify-content:flex-start;gap:8px}
.help-button{width:22px;height:22px;min-height:22px;position:relative;font-size:12px;border-color:#cbd5ce;background:transparent}
.help-button::after{content:'';position:absolute;inset:-11px}
.result-ready{padding:16px 20px;background:#dfeee4;color:#245a49;border:1px solid #adcab7;border-radius:8px;font-weight:700;margin:26px 0 18px;font-size:18px}
#results{scroll-margin-top:20px;outline:none}#view-result{display:inline-block;color:#245a49;font-size:13px;font-weight:650;margin-top:5px;text-underline-offset:3px}
@media(min-width:1050px){.valuation-grid{grid-template-columns:.85fr 1.45fr .8fr 1.2fr}}
@media(max-width:760px){.result-ready{font-size:16px}}

/* Secondary reset belongs to the object panel; area suggestions open from the field. */
.reset-object{margin-left:auto;background:transparent;color:var(--muted);font-size:12px;font-weight:500;padding:8px 0;min-height:36px;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.reset-object:hover{color:var(--green);background:transparent}
.size-combo{position:relative}.area-control #show-sizes{flex-shrink:0;background:transparent;color:#245a49;min-height:40px;width:32px;padding:0;font-size:22px;border-radius:4px}.area-control #show-sizes:disabled{opacity:.3}
.size-options{position:absolute;z-index:21;top:calc(100% + 6px);left:0;right:0;background:white;border:1px solid #b8c9be;border-radius:8px;box-shadow:0 12px 32px #17221d20;padding:6px;max-height:270px;overflow:auto}
.size-options button{display:block;width:100%;text-align:left;background:white;color:var(--text);font-size:14px;font-weight:500;padding:12px;min-height:44px}.size-options button:hover,.size-options button:focus-visible{background:#e7eee8}
@media(max-width:760px){.section-title{flex-wrap:wrap;gap:10px}.reset-object{margin-left:auto}.section-title h2{font-size:18px}}

.select-chevron{display:inline-block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}

/* One chevron for every select and the area suggestions. */
.select-control{position:relative}.select-control select{appearance:none;-webkit-appearance:none;padding-right:32px}
.select-control::after,.select-chevron{content:'';display:block;width:7px;height:7px;border-right:1.5px solid #66736b;border-bottom:1.5px solid #66736b;transform:rotate(45deg);margin:0}
.select-control::after{position:absolute;right:14px;top:calc(50% - 5px);pointer-events:none}
.area-control #show-sizes{display:flex;align-items:center;justify-content:center}.area-control .select-chevron{margin:0;position:relative;top:-2px}

.language-switch{white-space:nowrap;font-size:13px;flex-shrink:0}.language-switch a{color:var(--green,#245d4c);padding:8px 4px;text-decoration:none}html[lang="en"] .language-switch a[lang="en"],html[lang="ru"] .language-switch a[lang="ru"]{font-weight:800;text-decoration:underline}

.subscribe-link{display:inline-block;background:#245b4b;color:#fff;padding:14px 22px;border-radius:8px;text-decoration:none;font-weight:700}
