/* Core pages only. Shared tenant assets are never changed. */
:root{--rb-bg:#f5f7f6;--rb-surface:#fff;--rb-text:#182f3c;--rb-muted:#596e79;--rb-line:#dce5e6;--rb-blue:#076bb5;--rb-green:#18784d;--rb-soft:#eaf1f3;--rb-tint:#e5eff5;--rb-danger:#b72a43;--rb-warning:#8a5a06;--rb-button:#096caf;--rb-safe-top:env(safe-area-inset-top,0px);--rb-safe-bottom:env(safe-area-inset-bottom,0px);color-scheme:light}
:root[data-rb-theme=dark]{--rb-bg:#0d1b25;--rb-surface:#152733;--rb-text:#edf4f5;--rb-muted:#a8beca;--rb-line:#2a414e;--rb-blue:#72bfff;--rb-green:#83dcb0;--rb-soft:#203743;--rb-tint:#1a3c50;--rb-danger:#ff9cae;--rb-warning:#f6ce7f;color-scheme:dark}
html.rb-service-root{--bg-black:var(--rb-bg);--bg-dark:var(--rb-soft);--bg-panel:var(--rb-surface);--silver:var(--rb-muted);--graphite:var(--rb-muted);--gray:var(--rb-muted);--text-main:var(--rb-text);--text-secondary:var(--rb-muted);--glass-bg:var(--rb-surface);--glass-border:var(--rb-line);--primary-accent:var(--rb-blue);--secondary-accent:var(--rb-green);--primary-accent-dark:var(--rb-blue);--primary-accent-light:var(--rb-blue);--primary:var(--rb-blue);--primary-dark:var(--rb-blue);--primary-light:var(--rb-tint);--primary-glow:transparent;--shadow-accent:none;--shadow-gold:none;--gold-bright:var(--rb-blue);--gold-amber:var(--rb-blue);--gold-light:var(--rb-blue);--gold-old:var(--rb-blue);--gold-glow:transparent;--success:var(--rb-green);--warning:var(--rb-warning);--danger:var(--rb-danger);--installment-color:var(--rb-blue);--installment-glow:transparent;scroll-padding-top:24px}
body.rb-service{background:var(--rb-bg)!important;color:var(--rb-text);margin:0;padding:var(--rb-safe-top) max(0px,env(safe-area-inset-right)) var(--rb-safe-bottom) max(0px,env(safe-area-inset-left));font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.55;min-width:0}
body.rb-service::before{display:none}body.rb-service *{box-sizing:border-box}body.rb-service [hidden]{display:none!important}body.rb-service :is(button,a,[role=button],input,select,textarea):focus-visible{outline:3px solid var(--rb-blue);outline-offset:3px}body.rb-service :is(button,input,select,textarea){font-family:inherit}body.rb-service :is(button,[role=button]){touch-action:manipulation}body.rb-service :is(button,input,select){min-height:44px}body.rb-service :is(input,select,textarea){color:var(--rb-text)!important;background:var(--rb-surface)!important;border-color:var(--rb-line)!important;border-radius:12px;max-width:100%;font-size:16px}body.rb-service :is(input,textarea)::placeholder{color:var(--rb-muted);opacity:.85}body.rb-service input[type=checkbox],body.rb-service input[type=radio]{min-height:20px;width:20px;height:20px;accent-color:var(--rb-blue);flex-shrink:0}body.rb-service select option{background:var(--rb-surface);color:var(--rb-text)}body.rb-service button:disabled{opacity:.45!important;cursor:not-allowed!important;transform:none!important}body.rb-service img{max-width:100%}body.rb-service :is(.input-group,.field,.filter-group,.input-wrapper,.result-item,.info-item,.detail-item){min-width:0}
body.rb-service>.container{width:min(1200px,calc(100% - 64px));max-width:1200px;margin:0 auto;background:transparent;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;overflow:visible;padding:0}
body.rb-service .header{background:transparent!important;border:0!important;border-radius:0;padding:38px 0 28px;margin:0;box-shadow:none;backdrop-filter:none;text-align:left;overflow:visible}
body.rb-service .header::before,body.rb-service .header::after{display:none}body.rb-service .header h1{display:block;text-align:left;padding:0;font-size:clamp(29px,3.6vw,44px);letter-spacing:-1.5px;font-weight:650;line-height:1.15;color:var(--rb-text);-webkit-text-fill-color:var(--rb-text);background:none;margin:10px 0 14px}body.rb-service .header p{font-size:15px;text-align:left;max-width:760px;margin:0;padding:0;color:var(--rb-muted)}body.rb-service .header-content{text-align:left}body.rb-service .rb-page-kicker{font-size:10px;letter-spacing:1.7px;font-weight:650;color:var(--rb-muted)}
body.rb-service :is(.input-section,.filters-section,.results-section,.main-content,.bank-item,.complex-card,.jk-card,.result-section){border-color:var(--rb-line);box-shadow:none;backdrop-filter:none;border-radius:24px;background:var(--rb-surface)}
body.rb-service .main-content{padding:28px}body.rb-service.rb-page-promotions .content{padding:0}body.rb-service.rb-page-mortgage-summary .main-content{background:transparent;padding:0;border:0}body.rb-service :is(.filters-section,.input-section){padding:28px}body.rb-service :is(.title,.filters-title,.step-title,.section-title,.results-title){color:var(--rb-text);font-size:20px;font-weight:600;letter-spacing:-.4px;background:none;-webkit-text-fill-color:var(--rb-text)}
body.rb-service :is(.subtitle,.hint,.price-hint,.filter-hint,.selector-description,.input-label,.filter-label){color:var(--rb-muted)}body.rb-service :is(.summary-card,.info-box,.program-info,.calculator-description,.summary-section,.price-summary,.min-requirements){background:var(--rb-soft);border-color:var(--rb-line);box-shadow:none;border-radius:18px;color:var(--rb-text)}
body.rb-service :is(.result-value,.price,.payment,.highlight,.compact-benefit){color:var(--rb-blue);-webkit-text-fill-color:currentColor;background-image:none;text-shadow:none;overflow-wrap:anywhere}body.rb-service :is(.result-item,.condition-item,.detail-item,.info-item,.apartment,.flat-card){border-color:var(--rb-line);box-shadow:none}body.rb-service :is(.complex-header,.bank-header,.jk-header,.multi-bank-header){background:var(--rb-soft);border-color:var(--rb-line);color:var(--rb-text)}
body.rb-service :is(.result-section,.result-item,.summary-card,.conditions-grid,.detail-grid) :is(.value,.result-value,.detail-value,.condition-text){overflow-wrap:anywhere}body.rb-service :is(.empty-state,.error-state,.loading-state){color:var(--rb-muted)}
body.rb-service :is(.primary-btn,.calculate-btn,.btn-calculate,.btn-next,.btn-primary,#searchBtn){background:var(--rb-button)!important;color:#fff!important;border:1px solid var(--rb-button)!important;border-radius:12px;box-shadow:none;font-weight:600}body.rb-service :is(.primary-btn,.calculate-btn,.btn-calculate,.btn-next,.btn-primary,#searchBtn):hover{background:#07588f!important;box-shadow:0 5px 16px #12374918;transform:translateY(-1px)}
body.rb-service :is(.reset-btn,.btn-secondary,.btn-prev,.copy-btn,.clear-filter-btn){background:var(--rb-soft);color:var(--rb-text);border:1px solid var(--rb-line);border-radius:12px;box-shadow:none}
body.rb-service :is(.mortgage-type-btn,.filter-btn,.tab,.liter-btn){border:1px solid var(--rb-line);border-radius:12px;background:var(--rb-surface);color:var(--rb-muted);text-shadow:none;box-shadow:none;white-space:normal}body.rb-service :is(.mortgage-type-btn.active,.filter-btn.active,.tab.active,.liter-btn.selected,.complex-card.selected){background:var(--rb-tint)!important;border-color:var(--rb-blue)!important;color:var(--rb-blue)!important;box-shadow:inset 0 0 0 1px var(--rb-blue)}body.rb-service .mortgage-type-btn.active :is(.label,.limit){color:var(--rb-blue)}body.rb-service .mortgage-type-btn .badge{background:var(--rb-soft);color:var(--rb-text);border-color:var(--rb-line)}body.rb-service .mortgage-type-selector{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}body.rb-service .mortgage-type-btn{min-width:0;padding:17px 12px;border-radius:16px;min-height:125px}body.rb-service .mortgage-type-btn .icon{font-size:24px;filter:none}body.rb-service .mortgage-type-btn .label{font-size:14px}
body.rb-service .tabs{gap:10px;padding:0 0 22px;background:transparent;border:0;display:flex;flex-wrap:wrap}body.rb-service .tab{flex:1;padding:14px 18px;text-align:center;min-width:0}body.rb-service .tab-content{padding:0;background:transparent}body.rb-service .calculator-container{max-width:none}body.rb-service .input-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}body.rb-service .result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.rb-service .result-item{background:var(--rb-soft);text-align:left;border-radius:16px}body.rb-service .result-label{color:var(--rb-muted)}body.rb-service .result-value{font-size:clamp(22px,2.4vw,30px)}body.rb-service .input-suffix{color:var(--rb-muted);pointer-events:none}
body.rb-service .filters-grid{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}body.rb-service .filter-inputs input{min-width:0}body.rb-service .filters-scroll{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 14px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}body.rb-service .filters-scroll button{flex:0 0 auto;white-space:nowrap}body.rb-service :is(.multiselect-options,.autocomplete-results){background:var(--rb-surface);color:var(--rb-text);border-color:var(--rb-line);box-shadow:0 14px 35px #071e3622;z-index:60}body.rb-service :is(.multiselect-select,.jk-search-input){background:var(--rb-surface);color:var(--rb-text);border-color:var(--rb-line);border-radius:12px}body.rb-service :is(.multiselect-option,.autocomplete-item):hover,body.rb-service .autocomplete-item.selected{background:var(--rb-tint);color:var(--rb-text)}body.rb-service .checkbox-label{background:var(--rb-soft);border-color:var(--rb-line);border-radius:12px;min-height:48px;color:var(--rb-text)}body.rb-service .checkbox-label:has(input:checked){background:var(--rb-tint);border-color:var(--rb-blue)}body.rb-service .complex-grid{grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:16px}body.rb-service.rb-page-calculator .complex-card{padding:24px;border-radius:18px}body.rb-service .complex-card:hover{box-shadow:none;border-color:var(--rb-blue)}body.rb-service .complex-icon{font-size:32px;filter:none}body.rb-service .complex-name{color:var(--rb-text);overflow-wrap:anywhere}
body.rb-service :is(.modal,.jk-detail-modal){background:rgba(10,25,38,.68);backdrop-filter:none;z-index:1000;padding:max(16px,var(--rb-safe-top)) max(16px,env(safe-area-inset-right)) max(16px,var(--rb-safe-bottom)) max(16px,env(safe-area-inset-left));height:100%;height:100dvh}body.rb-service :is(.modal .modal-content,.jk-detail-modal .modal-content){background:var(--rb-surface);color:var(--rb-text);border:1px solid var(--rb-line);max-height:100%;max-width:100%;border-radius:22px;overscroll-behavior:contain;box-shadow:0 24px 60px #0004}body.rb-service .modal-header{background:var(--rb-surface);border-color:var(--rb-line);gap:16px}body.rb-service .modal-header h2{color:var(--rb-text);background:none;-webkit-text-fill-color:var(--rb-text);font-size:23px}body.rb-service :is(.modal-close,.close-modal){min-width:44px;min-height:44px;color:var(--rb-text);background:var(--rb-soft);border:1px solid var(--rb-line);flex-shrink:0}body.rb-service .modal .close-modal{position:sticky;top:0;right:0;align-self:flex-end;box-shadow:none}body.rb-service .modal .modal-content img{height:auto;max-height:65vh;background:var(--rb-soft)}body.rb-service .detail-grid{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))}body.rb-service :is(.bank-row,.bank-item,.jk-card,.apartment){overflow-wrap:anywhere}body.rb-service .bank-right{min-width:0}body.rb-service .bank-payment{color:var(--rb-blue)}body.rb-service .flats-grid{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}body.rb-service .results-header{flex-wrap:wrap;gap:12px}
body.rb-service .rb-site-header,body.rb-service .rb-site-nav,body.rb-service .rb-site-footer{width:min(1200px,calc(100% - 64px));margin:0 auto}body.rb-service .rb-site-header{display:flex;align-items:center;gap:24px;min-height:100px}body.rb-service .rb-site-brand{display:flex;align-items:center;gap:12px;color:var(--rb-text);text-decoration:none;font-size:22px;font-weight:750;letter-spacing:-.7px}body.rb-service .rb-site-brand small{display:block;font-size:11px;font-weight:500;letter-spacing:.25px;color:var(--rb-muted)}body.rb-service .rb-site-mark{width:44px;height:48px;border-radius:11px;background:#123749;color:#fff;display:grid;place-items:center;position:relative;overflow:hidden;font-size:19px}body.rb-service .rb-site-mark:after{content:'';position:absolute;bottom:0;width:100%;height:5px;background:linear-gradient(90deg,#008ce5 33%,#fff 33%,#fff 66%,#168522 66%)}body.rb-service .rb-site-note{margin-left:auto;color:var(--rb-muted);font-size:12px}body.rb-service .rb-site-theme{margin-left:auto;background:var(--rb-surface);border:1px solid var(--rb-line);color:var(--rb-text);border-radius:30px;min-width:44px;padding:10px 16px;font-size:13px}body.rb-service .rb-site-note+.rb-site-theme{margin-left:0}body.rb-service .rb-site-nav{display:flex;gap:14px;padding:10px 0;border-block:1px solid var(--rb-line)}body.rb-service .rb-site-nav a{display:flex;align-items:center;gap:9px;border-radius:10px;padding:10px 18px;min-height:44px;text-decoration:none;color:var(--rb-muted);font-size:13px;font-weight:600}body.rb-service .rb-site-nav a[aria-current]{background:var(--rb-soft);color:var(--rb-blue)}body.rb-service .rb-site-nav a:hover{background:var(--rb-soft)}body.rb-service .rb-site-nav-icon{font-size:20px;line-height:1}body.rb-service .rb-site-footer{display:flex;justify-content:space-between;gap:20px;padding:32px 0;color:var(--rb-muted);font-size:11px}body.rb-service .rb-site-footer a{color:inherit}body.rb-service .rb-suite-skip{position:fixed;top:-100px;left:20px;background:var(--rb-surface);color:var(--rb-text);padding:12px;z-index:2000}body.rb-service .rb-suite-skip:focus{top:10px}body.rb-service .top-btn{bottom:calc(20px + var(--rb-safe-bottom));background:var(--rb-button);color:#fff;box-shadow:none}body.rb-service .notification{background:var(--rb-surface);color:var(--rb-text);border:1px solid var(--rb-line);max-width:calc(100% - 32px)}body.rb-service .rb-step-status{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px;color:var(--rb-muted);font-size:12px}body.rb-service .rb-step-status span{padding:7px 12px;border-radius:9px;background:var(--rb-soft)}body.rb-service .rb-step-status [aria-current]{color:var(--rb-blue);background:var(--rb-tint);font-weight:650}
@media(min-width:1100px){body.rb-service.rb-page-promotions .filters-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.rb-service.rb-page-mortgage-calculator .calculator-container{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}body.rb-service.rb-page-mortgage-calculator .calculator-container>.input-section:first-child:last-child{grid-column:1/-1}body.rb-service.rb-page-mortgage-calculator #subsidized-tab .calculator-container{display:block}body.rb-service.rb-page-mortgage-calculator .input-section{margin:0}body.rb-service .conditions-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){body.rb-service>.container,body.rb-service .rb-site-header,body.rb-service .rb-site-nav,body.rb-service .rb-site-footer{width:calc(100% - 40px)}body.rb-service .rb-site-nav{gap:4px;justify-content:space-between}body.rb-service .rb-site-nav a{padding:10px 12px}body.rb-service .header h1{font-size:36px}body.rb-service .main-content{padding:24px}}
@media(max-width:768px){body.rb-service{padding-bottom:calc(86px + var(--rb-safe-bottom))}body.rb-service[data-embed=true]{padding-bottom:var(--rb-safe-bottom)}body.rb-service>.container,body.rb-service .rb-site-header,body.rb-service .rb-site-footer{width:calc(100% - 32px)}body.rb-service .rb-site-header{min-height:82px}body.rb-service .rb-site-note{display:none}body.rb-service .rb-site-note+.rb-site-theme{margin-left:auto}body.rb-service .rb-site-theme span{display:none}body.rb-service .rb-site-brand{font-size:20px}body.rb-service .rb-site-nav{position:fixed;z-index:90;left:0;right:0;bottom:0;width:100%;background:var(--rb-surface);gap:2px;justify-content:space-around;border-bottom:0;padding:7px max(6px,env(safe-area-inset-right)) calc(7px + var(--rb-safe-bottom)) max(6px,env(safe-area-inset-left))}body.rb-service .rb-site-nav a{flex:1;min-width:0;padding:7px 2px;flex-direction:column;gap:4px;font-size:10px;line-height:1.2}body.rb-service .header{padding:22px 0 24px}body.rb-service .header h1{font-size:30px;letter-spacing:-1px;padding:0}body.rb-service .header p{font-size:14px;padding:0}body.rb-service :is(.input-section,.filters-section,.results-section,.main-content){padding:20px;border-radius:20px}body.rb-service .mortgage-type-selector{grid-template-columns:repeat(2,minmax(0,1fr))}body.rb-service .mortgage-type-btn{min-height:115px}body.rb-service .filter-actions{flex-wrap:wrap}body.rb-service :is(.summary-card,.summary-card .info){flex-wrap:wrap;gap:18px}body.rb-service .summary-card .info-item{flex:1 1 120px}body.rb-service .input-group{flex-wrap:wrap}body.rb-service .filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.rb-service .tabs{flex-direction:row}body.rb-service .tab{font-size:13px}body.rb-service .tab-content{padding:0}body.rb-service .top-btn{bottom:calc(92px + var(--rb-safe-bottom))}body.rb-service .rb-site-footer{flex-wrap:wrap;gap:12px}body.rb-service .modal .modal-content{height:auto;max-height:100%;border-radius:18px}body.rb-service .modal-header{padding:16px}body.rb-service .modal-body{padding:16px}body.rb-service .modal-content{margin:0}body.rb-service .modal-title{padding-right:0}body.rb-service .bank-row{gap:10px;flex-wrap:wrap}body.rb-service .jk-name{font-size:20px}body.rb-service .bank-name{font-size:19px}body.rb-service .rb-step-status{font-size:11px;gap:5px}body.rb-service .rb-step-status span{padding:6px 9px}}
@media(max-width:480px){body.rb-service :is(.input-section,.filters-section,.results-section,.main-content){padding:16px}body.rb-service :is(.input-grid,.result-grid,.filters-grid,.checkbox-filters-grid,.conditions-grid,.detail-grid){grid-template-columns:minmax(0,1fr)}body.rb-service .complex-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.rb-service.rb-page-calculator .complex-card{padding:16px 10px}body.rb-service .complex-name{font-size:14px}body.rb-service .input-group>.field{flex:1 1 100%}body.rb-service #searchBtn{width:100%}body.rb-service .navigation{gap:10px;flex-wrap:wrap}body.rb-service .navigation button{flex:1 1 110px;min-width:0;padding:12px;font-size:13px}body.rb-service .bank-header{flex-wrap:wrap;gap:10px}body.rb-service .compact-conditions{min-width:0}body.rb-service .result-row{flex-wrap:wrap;gap:6px}body.rb-service .result-row>.result-label{flex:1 1 100%}body.rb-service .modal-header h2{font-size:20px;overflow-wrap:anywhere}body.rb-service .mortgage-type-btn{padding:14px 8px}body.rb-service .mortgage-type-btn .label{font-size:13px}body.rb-service .tab{flex-basis:100%}body.rb-service .rb-site-nav a{font-size:9px}}
@media(prefers-reduced-motion:reduce){html.rb-service-root{scroll-behavior:auto}body.rb-service *,body.rb-service *::before,body.rb-service *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body.rb-service .rb-site-nav,body.rb-service .rb-site-header,body.rb-service .top-btn{display:none}body.rb-service{padding:0}body.rb-service>.container{width:100%}}
/* Host-provided safe-area variables, when available, supplement browser insets. */
:root{--rb-safe-top:max(env(safe-area-inset-top,0px),var(--tg-content-safe-area-inset-top,0px),var(--tg-safe-area-inset-top,0px));--rb-safe-bottom:max(env(safe-area-inset-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px),var(--tg-safe-area-inset-bottom,0px))}
body.rb-service :is(.modal,.jk-detail-modal){max-height:var(--rb-visible-height,100dvh)}
@media(max-width:768px){body.rb-service.rb-keyboard-open .rb-site-nav{visibility:hidden;pointer-events:none}body.rb-service[data-embed=true] .top-btn{bottom:calc(20px + var(--rb-safe-bottom))}}
body.rb-service :is(.badge,.bank-badge.active,.results-count,.bank-count,.badge-discount,.best-badge){background:var(--rb-tint);color:var(--rb-blue);border-color:var(--rb-line);text-shadow:none}
body.rb-service :is(.result-title,.summary-title,.detail-title){color:var(--rb-text);-webkit-text-fill-color:var(--rb-text);background-image:none}
body.rb-service .multiselect-select{min-height:48px}
@media(min-width:1100px){body.rb-service.rb-page-mortgage-calculator #standard-tab .calculator-container:has(#resultSection[style*="none"]){grid-template-columns:1fr}body.rb-service.rb-page-mortgage-calculator #standard-tab .calculator-container:has(#resultSection[style*="none"]) .input-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:768px){body.rb-service .multiselect-options{max-height:calc(var(--rb-visible-height,100dvh) - 120px);top:calc(var(--rb-safe-top) + 70px)!important;transform:none}}
body.rb-service .rb-site-icon{width:19px;height:19px;flex-shrink:0}body.rb-service .rb-site-theme{display:flex;align-items:center;justify-content:center;gap:8px}
/* v2.1: constrain layout children, not the viewport; keep content readable. */
body.rb-service :is(.container,.main-content,.content,.calculator-container,.input-grid,.result-grid,.filters-grid,.complex-grid,.flats-grid,.jk-list,.bank-item,.flat-card,.jk-card,.body,.details,.bank-left,.bank-info,.bank-right,.summary-card,.info,.jk-header,.jk-info,.detail-grid,.input-group,.field,.multiselect-container){min-width:0;max-width:100%}
body.rb-service :is(.jk-name,.bank-name,.complex-name,.detail-value,.info-value,.compact-value,.condition-text,.summary-content,.price-summary,.bank-terms,.mortgage-hint,.subtitle,.result-label,.result-value,.filter-label,.multiselect-placeholder,.selected-filters,.jk-badge){overflow-wrap:anywhere;word-break:normal}
body.rb-service :is(.summary-content,.detail-comment){white-space:pre-wrap;overflow-wrap:anywhere}
body.rb-service .jk-list{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
body.rb-service .liters-container{grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr))}
body.rb-service .flat-card .body .details{grid-template-columns:repeat(2,minmax(0,1fr))}
body.rb-service .flat-card .body :is(.top-row,.price-block,.timeline-row){gap:8px;flex-wrap:wrap}
body.rb-service .flat-card .body :is(.apartment,.payment,.value,.price,.price-old,.details>span){min-width:0;max-width:100%;overflow-wrap:anywhere}
body.rb-service :is(.jk-header,.jk-badges,.selected-filters,.filter-actions){flex-wrap:wrap;gap:8px}
body.rb-service .input-group .field{min-width:0}
body.rb-service .bank-right{flex-shrink:1}
body.rb-service :is(.multiselect-placeholder,.jk-badge,.bank-payment,.results-count){white-space:normal}
body.rb-service :is(.filter-inputs,.input-wrapper){min-width:0;max-width:100%}
body.rb-service .input-wrapper input{min-width:0;width:100%}
body.rb-service .input-suffix{max-width:95px}
@media(max-width:768px){
 body.rb-service .filters-grid,body.rb-service .input-grid,body.rb-service .result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.rb-service :is(.complex-card,.flat-card,.jk-card,.bank-item){width:100%;min-width:0}
 body.rb-service .summary-card .info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:14px}
 body.rb-service .summary-card .info-item{min-width:0;flex:initial}
 body.rb-service .flat-card .share-block{flex-wrap:wrap}
 body.rb-service .flat-card .share-btn{min-width:0;white-space:normal;overflow-wrap:anywhere}
 body.rb-service .rb-site-nav a{min-width:0;max-width:calc(100% / 6);padding-inline:2px}
 body.rb-service .rb-site-nav a span{min-width:0;max-width:100%;overflow-wrap:anywhere}
}
@media(max-width:540px){
 body.rb-service :is(.input-grid,.result-grid,.filters-grid,.jk-list,.liters-container,.checkbox-filters,.checkbox-filters-grid,.conditions-grid,.detail-grid){grid-template-columns:minmax(0,1fr)}
 body.rb-service .input-group{display:flex;flex-direction:column;align-items:stretch;gap:12px}
 body.rb-service .input-group .field{width:100%;min-width:0;flex:initial}
 body.rb-service .input-group button{width:100%;white-space:normal;min-width:0;padding-inline:12px}
 body.rb-service .jk-info{grid-template-columns:minmax(0,1fr)}
 body.rb-service .flat-card .body .details{grid-template-columns:minmax(0,1fr)}
 body.rb-service .bank-row{align-items:flex-start;flex-direction:column}
 body.rb-service .bank-right{align-items:flex-start;width:100%;min-width:0}
 body.rb-service .navigation{display:flex;flex-wrap:wrap;gap:10px}
 body.rb-service .navigation button{min-width:0;max-width:100%;white-space:normal}
 body.rb-service .header h1{font-size:29px;overflow-wrap:anywhere}
 body.rb-service .mortgage-type-selector{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.rb-service .mortgage-type-btn :is(.label,.badge,.limit){white-space:normal;overflow-wrap:anywhere;max-width:100%}
 body.rb-service .compact-condition{min-width:0;max-width:100%}
 body.rb-service .multiselect-options{left:16px!important;right:16px!important;width:auto;max-width:calc(100% - 32px)}
}
