.m2-search-form{min-width:0;color:var(--ink,#142c3d)}
.m2-search-form [hidden]{display:none!important}
.m2-search-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start}
.m2-search-phrase .smart-search{grid-column:auto;width:100%;max-width:none}
.m2-search-phrase input[name=q]{min-height:52px;font-size:16px;width:100%;box-sizing:border-box}
.m2-phrase-submit{min-height:52px;margin-top:24px;min-width:130px}
.m2-search-parameters{margin-top:18px;border-top:1px solid var(--line,#dce3eb);padding-top:14px}
.m2-search-parameters>summary{display:flex;align-items:center;gap:10px;color:var(--blue,#147be0);font-weight:600;cursor:pointer;min-height:42px;list-style:none}
.m2-search-parameters>summary::-webkit-details-marker{display:none}
.m2-disclosure-chevron{transition:transform .15s}.m2-search-parameters[open]>summary .m2-disclosure-chevron{transform:rotate(180deg)}
.m2-parameters-body{padding-top:16px}
.m2-search-form .filter-grid-primary{grid-template-columns:repeat(4,minmax(0,1fr))}
.m2-search-form .m2-grid-field,.m2-category-fields{min-width:0;margin:0;padding:0;border:0;background:transparent}
.m2-search-form .m2-grid-field>label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;min-width:0}
.m2-search-form .m2-grid-field[data-m2-home-field=floor]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;grid-column:span 2}
.m2-search-form .m2-grid-field label.check{flex-direction:row;align-items:center}
.m2-search-form .m2-grid-field[data-m2-home-field=new_build],.m2-search-form .m2-grid-field[data-m2-home-field=middle_floor]{align-self:center}
.m2-search-form .filter-actions{margin-top:20px;gap:16px}
.m2-search-form .district-picker-panel{z-index:50}
.m2-category-fields{margin-top:20px}
.m2-category-fields .m2-feature-control{display:contents;border:0;padding:0;margin:0;min-width:0}
.m2-category-prompt{margin:18px 0 0;color:var(--muted,#677786);font-size:14px}
.m2-home-search{width:min(100%,1050px);box-sizing:border-box;background:#fff;border:1px solid #dce3eb;border-radius:8px;box-shadow:0 10px 30px #092e4b26;padding:20px;margin:0}
.m2-home-search .smart-search label{color:var(--ink,#142c3d)}
.m2-home-search .smart-search small{color:var(--muted,#677786)}
.m2-search-form :focus-visible{outline:2px solid #85b9ed;outline-offset:2px}
@media(max-width:900px){.m2-search-form .filter-grid-primary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.m2-search-line{grid-template-columns:minmax(0,1fr);gap:10px}.m2-phrase-submit{margin-top:0;width:100%}.m2-search-form .filter-grid-primary{grid-template-columns:minmax(0,1fr)}.m2-search-form .m2-grid-field[data-m2-home-field=floor]{grid-column:auto}.m2-home-search{padding:14px}.m2-search-form .filter-actions .button{min-height:46px}.m2-search-form .filter-grid-primary>.m2-grid-field{grid-column:auto}}
/* Основные поля отдельно от дополнительных; группы не растягивают соседей. */
.home-search-section{position:relative;z-index:2;margin-top:-22px}
.home-search-section .m2-home-search{width:100%;max-width:none}
.market-hero .hero-copy{margin-bottom:0}
.m2-more-parameters{margin-top:18px;padding-top:12px;border-top:1px solid var(--line,#dce3eb)}
.m2-more-parameters>summary{display:flex;align-items:center;gap:9px;min-height:44px;color:var(--blue,#147be0);cursor:pointer;list-style:none;font-size:14px;font-weight:600}
.m2-more-parameters>summary::-webkit-details-marker{display:none}
.m2-more-parameters[open]>summary .m2-disclosure-chevron{transform:rotate(180deg)}
.m2-extra-body{padding-top:14px}
[data-extra-filter-count]{background:#eaf3fd;border-radius:20px;padding:2px 8px;font-size:12px}
.m2-search-form .house-feature-groups.is-filter{display:block}
.m2-search-form .is-filter>.house-feature-group{width:100%;margin:8px 0 0;padding:0;border:1px solid var(--line,#dce3eb);background:#fff;border-radius:6px}
.m2-search-form .house-feature-group>summary{padding:12px 14px;font-size:14px;line-height:20px;min-height:44px;box-sizing:border-box}
.m2-search-form .house-feature-group .house-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px;padding:4px 14px 16px;align-items:start}
.m2-search-form .house-feature-grid :is(.house-feature-choices,.house-feature-range){grid-column:auto;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent}
.m2-search-form .house-feature-choices>legend{font-size:12px;font-weight:600;line-height:18px;margin:0 0 5px;padding:0}
.m2-search-form .house-range-title{display:block;font-size:12px;font-weight:600;line-height:18px;margin-bottom:5px}
.m2-search-form .house-range-inputs label{display:flex;flex-direction:column;gap:4px;font-size:11px}
.m2-search-form .house-choice-picker>summary{min-height:44px;box-sizing:border-box;display:flex;align-items:center;padding:10px;font-size:14px}
.m2-search-form .house-feature-grid>label{font-size:12px}
.m2-search-form .house-feature-grid input:not([type=checkbox]){min-height:44px}
.m2-search-form .house-feature-grid .house-choice-options{padding:12px}
@media(max-width:900px){.m2-search-form .house-feature-group .house-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.home-search-section{margin-top:-14px}.m2-search-form .house-feature-group .house-feature-grid{grid-template-columns:minmax(0,1fr);gap:14px;padding:2px 12px 14px}.m2-search-form .house-feature-group>summary{padding:12px}.m2-search-form .m2-parameters-body{padding-top:10px}}
.m2-search-form .m2-basic-range{min-width:0;margin:0;padding:0;border:0;background:none;align-self:end}
.m2-search-form .m2-basic-range>legend{font-size:12px;font-weight:600;line-height:18px;margin:0 0 3px;padding:0}
.m2-search-form .m2-basic-range>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.m2-search-form .m2-basic-range label{display:flex;flex-direction:column;gap:3px;min-width:0;font-size:10px;color:var(--muted,#677786)}
.m2-search-form .m2-basic-range input{min-width:0;width:100%;box-sizing:border-box}
.m2-search-form .m2-basic-range label{font-size:0;gap:0}
.m2-search-form .m2-basic-range label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.m2-search-form .m2-basic-range input{font-size:14px}
@media(max-width:640px){.m2-search-form .m2-basic-range input{font-size:16px}}
.m2-disclosure-chevron{display:block;width:18px;height:18px;flex:0 0 18px;align-self:center}
@media(prefers-reduced-motion:reduce){.m2-disclosure-chevron{transition:none}}
