/* DESIGN70: compact typography and forms; original content and palette. */
html body .intro__title--custom-hero{font-family:Roboto,sans-serif!important;font-weight:700!important;font-size:40px!important;line-height:1.16!important;letter-spacing:-.025em!important;text-shadow:none!important;max-width:640px!important}
html body .public32-hero-subtitle{font-family:Roboto,sans-serif!important;font-size:17px!important;line-height:1.5!important;font-weight:400!important;text-shadow:none!important;max-width:580px;margin-top:16px!important}
html body .intro__shade{background:linear-gradient(90deg,rgba(25,54,73,.63),rgba(25,54,73,.12))!important}
html body .intro.intro--custom-hero{min-height:300px!important}
html body .intro__inner.intro__inner--custom-hero{padding-top:48px!important;padding-bottom:76px!important}
html body .public27-intro{padding:20px 24px!important;margin-bottom:16px!important;border-radius:8px!important}
html body .public27-intro h1{font-size:30px!important;line-height:1.2!important;letter-spacing:-.02em!important;margin-bottom:10px!important;font-weight:700!important}
html body .public27-intro p{font-size:15px!important;line-height:1.5!important;margin:0 0 10px!important;max-width:90ch}
html body .public27-links{gap:6px!important;margin-top:10px!important;padding-top:10px!important}
html body .public27-links a{font-size:12px!important;line-height:1.3!important;padding:6px 8px!important;border-radius:4px!important}
html body .public27-assist{font-size:13px!important;line-height:1.4!important;margin-top:10px!important}
html body .public27-filter{padding:16px!important;border-radius:8px!important}
html body .public27-primary{gap:10px!important}
html body .public33-field-label,html body .public27-budget legend{font-size:12px!important;line-height:1.3!important;margin-bottom:5px!important}
html body .public27-primary>.button,html body .public27-budget input,html body .public27-budget select,html body .public27-filter .public32-toggle{height:44px!important;min-height:44px!important;border-radius:6px!important}
html body .public27-filter .public32-toggle{font-size:14px!important;line-height:1.2!important;padding:8px 10px!important}
html body .public27-budget input{padding:8px 10px!important}
html body .public27-filter .button{padding:10px 14px!important;font-size:14px!important}
html body .public30-tabs button{min-height:44px!important;padding:10px 18px!important;font-size:14px!important;border-radius:6px!important}
html body .public30-tabs{border-radius:8px 8px 0 0!important}
html body .public30-panel .public27-filter{border-radius:0 8px 8px 8px!important}
html body .callback-sheet-custom__card,html body .found-sheet-custom__card{padding:24px!important;border-radius:10px!important}
html body .callback-sheet-custom__title,html body .found-sheet-custom__title{font-size:26px!important;line-height:1.25!important;letter-spacing:-.02em!important;text-align:left!important;max-width:none!important;margin:12px 0 8px!important}
html body .callback-sheet-custom__subtitle,html body .found-sheet-custom__subtitle{font-size:14px!important;line-height:1.45!important;text-align:left!important;max-width:none!important;margin:0 0 18px!important}
html body .callback-sheet-custom__badge{font-size:11px!important;line-height:1.4!important;background:none!important;padding:0 34px 0 0!important;border-radius:0!important;text-align:left!important;display:block!important}
html body .callback-sheet-custom__field,html body .found-sheet-custom__field{margin-bottom:10px!important}
html body .callback-sheet-custom__card input,html body .found-sheet-custom__card input{min-height:46px!important;height:46px!important;border-radius:6px!important;padding:10px 12px!important;box-shadow:none!important}
html body .callback-sheet-custom__card textarea,html body .found-sheet-custom__card textarea{min-height:88px!important;height:88px!important;border-radius:6px!important;padding:10px 12px!important;box-shadow:none!important}
html body .callback-sheet-custom__submit,html body .found-sheet-custom__submit{min-height:46px!important;border-radius:6px!important;font-size:15px!important;padding:12px 16px!important}
@media(max-width:767px){
 html body .intro.intro--custom-hero{min-height:0!important}
 html body .intro__inner.intro__inner--custom-hero{padding-top:30px!important;padding-bottom:64px!important}
 html body .intro__title--custom-hero{font-size:26px!important;line-height:1.18!important;max-width:330px!important}
 html body .public32-hero-subtitle{font-size:14px!important;line-height:1.5!important;margin-top:12px!important}
 html body .intro__shade{background:linear-gradient(90deg,rgba(25,54,73,.64),rgba(25,54,73,.2))!important}
 html body .public27-intro{padding:16px!important;margin-bottom:12px!important}
 html body .public27-intro h1{font-size:23px!important;line-height:1.22!important;margin-bottom:8px!important}
 html body .public27-intro p{font-size:14px!important;line-height:1.5!important;margin-bottom:8px!important}
 html body .public27-links{gap:5px!important;margin-top:8px!important;padding-top:8px!important}
 html body .public27-links a{padding:5px 7px!important;font-size:11px!important;line-height:1.4!important}
 html body .public27-assist{font-size:12px!important;margin-top:8px!important}
 html body .public27-filter{padding:12px!important}
 html body .public27-primary{gap:8px!important}
 html body .public30-panel .public27-filter{border-radius:0 0 8px 8px!important}
 html body .callback-sheet-custom__card,html body .found-sheet-custom__card{padding:20px 16px!important}
 html body .callback-sheet-custom__title,html body .found-sheet-custom__title{font-size:23px!important}
}

/* Important layered rule overrides legacy unlayered rounding consistently. */
@layer design70-square { html body *,html body *::before,html body *::after { border-radius:0!important; } }

/* Same filter component on home, sale, rent and landing pages. */
html body .public27-filter{display:grid!important;grid-template-columns:minmax(0,1fr)!important;row-gap:0!important}
html body .public27-filter>.public27-primary{grid-area:1/1!important}
html body .public27-filter>details{grid-area:2/1!important;min-width:0;margin:10px 0 0!important;padding:0!important;border-top:1px solid #dbe5ec!important}
html body .public27-filter>details>summary{font-size:12px!important;line-height:18px!important;margin:0!important;padding:10px 125px 8px 0!important;min-height:36px;box-sizing:border-box}
html body .public27-filter>.public27-reset{grid-area:2/1!important;align-self:start!important;justify-self:end!important;z-index:1;margin:20px 0 0!important;padding:0!important;font-size:12px!important;line-height:18px!important}
html body .public27-filter>.public32-selection{grid-area:3/1!important}
html body .public27-extra{margin-top:6px!important}
@media(max-width:767px){
 html body .public27-filter>details>summary{font-size:11px!important;padding-right:113px!important}
 html body .public27-filter>.public27-reset{font-size:11px!important}
}
/* Unified photographic catalogue heading and aligned category navigation. */
html body .public27-intro{background:linear-gradient(90deg,rgba(36,56,74,.94),rgba(36,56,74,.76)),url('https://maxhomeinvest.ru/assets/img/review/2.jpg') center/cover no-repeat!important;border:0!important;color:#fff!important}
html body .public27-intro h1,html body .public27-intro p,html body .public27-intro .public27-assist{color:#fff!important}
html body .public27-links{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(100px,1fr))!important;border-color:#ffffff33!important;margin-bottom:0!important}
html body .public27-links a{display:flex!important;align-items:center;justify-content:center;text-align:center;color:#fff!important;background:transparent!important;border:1px solid #ffffff55!important;min-height:32px;box-sizing:border-box}
html body .public27-links a:hover,html body .public27-links a[aria-current]{background:#087fa8!important;border-color:#087fa8!important;color:#fff!important}
html body .section--default{padding-top:28px!important;padding-bottom:28px!important;margin-top:0!important}
html body .section--only-top{padding-top:24px!important}
html body .section--only-bottom{padding-bottom:24px!important}
html body .section:has(.public30-search){padding-bottom:16px!important}
html body .public27-filter{margin-bottom:0!important}
html body .home-start{margin-top:0!important;margin-bottom:0!important;padding-bottom:0!important}
html body .home-start__inner{padding:16px!important;gap:12px!important}
html body .home-benefits-block{padding-top:20px!important;padding-bottom:20px!important}
html body .catalog-results-head{margin-top:20px!important;margin-bottom:16px!important}
@media(max-width:767px){
 html body .public27-links{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body .public27-links a{min-height:32px!important;padding:5px!important}
 html body .section--default{padding-top:20px!important;padding-bottom:20px!important}
 html body .section--only-top{padding-top:20px!important}
 html body .section--only-bottom{padding-bottom:20px!important}
 html body .section:has(.public30-search){padding-bottom:14px!important}
 html body .home-benefits-block{padding-top:16px!important;padding-bottom:16px!important}
 html body .home-start__inner{padding:12px!important;gap:10px!important}
}
/* Keep rental prefix, current amount/currency and period on one line. */
html body .object-item .object-item__price-item{display:flex!important;flex-direction:row!important;align-items:baseline!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:6px!important;width:100%!important;white-space:nowrap!important}
html body .object-item .object-item__price-item .js-price.current{font-size:20px!important;line-height:1.3!important;white-space:nowrap!important}
html body .object-item .object-item__price-item .object-item__price-label{position:static!important;display:inline!important;flex:none!important;font-size:11px!important;line-height:1.3!important;margin:0!important;padding:0!important;white-space:nowrap!important}
html body .more-button{margin-top:32px!important}
@media(max-width:767px){html body .object-item .object-item__price-item .js-price.current{font-size:18px!important}}
html body .public27-budget input,html body .public27-budget select,html body .public27-filter .public32-toggle{height:40px!important;min-height:40px!important;padding-top:6px!important;padding-bottom:6px!important}
html body .object-item .object-item__video{display:inline-flex!important;align-items:center!important;gap:6px!important;background:rgba(229,127,50,.88)!important;color:#fff!important;border:1px solid rgba(255,255,255,.45)!important;padding:6px 9px!important;min-width:0!important;height:auto!important;font-size:12px!important;line-height:1.3!important;box-shadow:none!important}
html body .object-item .object-item__video svg{display:block!important;width:17px!important;height:17px!important;fill:currentColor!important;opacity:1!important}
html body .object-item .object-item__video span{display:inline!important;color:inherit!important}
html body .object-item .object-item__price{display:flex!important;align-items:baseline!important;justify-content:flex-start!important;gap:4px!important}
html body .object-item .object-item__price>.object-item__price-item{width:auto!important;flex:0 1 auto!important;margin:0!important;padding:0!important}
html body .object-item .object-item__price .js-price.current{font-size:26px!important;font-weight:700!important;line-height:1.25!important;white-space:nowrap!important}
html body .object-item .object-item__price-toggle{font-size:24px!important;line-height:1.25!important;padding:0 2px!important;margin:0!important;width:auto!important;min-width:0!important}
html body .object-item .object-item__price-item:has(.object-item__price-label) .js-price.current{font-size:22px!important}
@media(max-width:767px){html body .object-item .object-item__price-item:has(.object-item__price-label) .js-price.current{font-size:20px!important}}
html body .public33-material-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html body .public33-material{min-width:0!important}
@media(max-width:767px){html body .public33-material-grid{gap:10px!important}html body .public33-material{padding:12px!important}html body .public33-material span{font-size:14px!important;line-height:1.45!important}}
html body .public27-intro .public27-assist{color:#ff8c2f!important;font-weight:700!important;text-decoration:underline!important;text-underline-offset:3px;text-decoration-thickness:1px}
html body .public27-intro .public27-assist:hover{color:#fff!important}
html body .design70-reviews{padding:24px 0;background:#fff}
html body .design70-reviews__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:16px}
html body .design70-reviews__head h2{font-size:28px;line-height:1.25;font-weight:700;color:#24384a;margin:0}
html body .design70-reviews__head a{color:#087fa8;font-size:14px;white-space:nowrap}
html body .design70-reviews__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;align-items:start;padding-bottom:8px}
html body .design70-review{padding:20px;border:1px solid #dbe5ec;background:#f8fbfd;scroll-snap-align:start;min-width:0;color:#24384a}
html body .design70-review strong{font-size:16px;font-weight:700}
html body .design70-review blockquote,html body .design70-review p{font-size:14px;line-height:1.6;margin:12px 0 0;padding:0;border:0;white-space:pre-line;overflow-wrap:anywhere}
html body .design70-review summary{font-size:13px;color:#087fa8;cursor:pointer;margin-top:12px}
html body .design70-reviews__controls{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
html body .design70-reviews__controls button{width:44px;height:40px;border:1px solid #087fa8;background:#087fa8;color:#fff;font-size:22px;cursor:pointer}
html body .design70-reviews__controls button:disabled{opacity:.35;cursor:default}
@media(max-width:767px){html body .design70-reviews{padding:20px 0}html body .design70-reviews__head{align-items:flex-start;gap:10px}html body .design70-reviews__head h2{font-size:22px}html body .design70-reviews__track{grid-auto-columns:88%}html body .design70-review{padding:16px}}
html body .content58-nav[aria-label="Выбор квартиры"]{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:18px 0!important;padding:0!important}
html body .content58-nav[aria-label="Выбор квартиры"] a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:10px 12px!important;margin:0!important;text-align:center!important;background:#fff6ee!important;border:1px solid #f2c6a0!important;color:#24384a!important;font-size:14px!important;line-height:1.4!important;text-decoration:none!important}
html body .content58-nav[aria-label="Выбор квартиры"] a:hover{background:#f2c6a0!important}
@media(max-width:767px){html body .content58-nav[aria-label="Выбор квартиры"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}html body .content58-nav[aria-label="Выбор квартиры"] a{font-size:13px!important;padding:9px!important}}
