/* Teal: С‚РѕР»СЊРєРѕ РІРёР·СѓР°Р»СЊРЅС‹Р№ СЃР»РѕР№ РїСѓР±Р»РёС‡РЅРѕР№ С‡Р°СЃС‚Рё. РЎРµС‚РєР°, СЂР°Р·РјРµСЂС‹ Рё РїРѕРІРµРґРµРЅРёРµ РѕР±С‰РёРµ СЃ classic. */
body.realtor-theme[data-site-theme="teal"] {
  --theme-navy:#063b52; --theme-navy-hover:#075066;
  --theme-accent:#007f8e; --theme-accent-hover:#006b79; --theme-bright:#00b4c6;
  --theme-green:#157347; --theme-rent:#1962b3; --theme-warning:#92520c; --theme-danger:#b93547;
  --theme-bg:#f5fafb; --theme-surface:#fff; --theme-soft:#eaf7f9;
  --theme-text:#102b3a; --theme-muted:#526b77; --theme-border:#d6e7eb;
  --theme-focus:#007f8e; --theme-light:#d5edf3; --theme-warm:#fff5e8;
  --theme-shadow:0 8px 30px rgb(5 55 75 / 8%);
  --theme-shadow-hover:0 10px 30px rgb(5 55 75 / 13%);
  --theme-overlay:linear-gradient(90deg,rgb(6 59 82 / 96%),rgb(6 59 82 / 76%) 55%,rgb(6 59 82 / 35%));
  --ink:var(--theme-text); --text:var(--theme-text); --muted:var(--theme-muted);
  --blue:var(--theme-accent); --blue-dark:var(--theme-accent-hover); --navy:var(--theme-navy);
  --line:var(--theme-border); --soft:var(--theme-soft); --re-dark:var(--theme-navy); --re-accent:var(--theme-accent);
  background:var(--theme-bg); color:var(--theme-text); color-scheme:light;
}
body.realtor-theme[data-site-theme="teal"] :is(h1,h2,h3,h4,.card-price,.property-price,.property-price-block,.price-main){color:var(--theme-navy)}
body.realtor-theme[data-site-theme="teal"] :is(.card-location,.card-facts,.card-meta,.price-equivalents,.breadcrumbs,.blog-meta,.property-location-label,.property-price-label,.re-eyebrow,.re-about-intro,.re-services p){color:var(--theme-muted)}
body.realtor-theme[data-site-theme="teal"] a:hover{color:var(--theme-accent-hover)}
body.realtor-theme[data-site-theme="teal"] :focus-visible{outline:3px solid var(--theme-focus);outline-offset:3px}
body.realtor-theme[data-site-theme="teal"] .button{background:var(--theme-accent);border-color:var(--theme-accent);color:var(--theme-surface);border-radius:8px;box-shadow:0 3px 10px rgb(5 55 75 / 8%)}
body.realtor-theme[data-site-theme="teal"] .button:hover{background:var(--theme-accent-hover);border-color:var(--theme-accent-hover);color:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] :is(.button.outline,.button.secondary){background:var(--theme-surface);color:var(--theme-accent-hover);border-color:var(--theme-border);box-shadow:none}
body.realtor-theme[data-site-theme="teal"] :is(.button.outline,.button.secondary):hover{background:var(--theme-soft);border-color:var(--theme-accent)}
body.realtor-theme[data-site-theme="teal"] .re-header{background:var(--theme-navy);color:var(--theme-surface);box-shadow:0 3px 14px rgb(5 55 75 / 10%)}
body.realtor-theme[data-site-theme="teal"] .re-header :is(a,summary){color:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] .re-header :is(a:hover,a[aria-current],summary:hover,.is-active){color:var(--theme-bright)}
body.realtor-theme[data-site-theme="teal"] .re-header .button{background:var(--theme-accent);color:var(--theme-surface);border-color:var(--theme-bright)}
body.realtor-theme[data-site-theme="teal"] .re-header :focus-visible{outline-color:var(--theme-bright)}
body.realtor-theme[data-site-theme="teal"] :is(.re-currency>div,.re-settings-panel,.re-mega-menu,.re-nav-submenu){background:var(--theme-surface);border-color:var(--theme-border);box-shadow:var(--theme-shadow)}
body.realtor-theme[data-site-theme="teal"] :is(.re-currency>div,.re-settings-panel,.re-mega-menu,.re-nav-submenu) :is(a,button,summary){color:var(--theme-text)}
body.realtor-theme[data-site-theme="teal"] :is(.re-currency button:hover,.re-currency button[aria-pressed=true]){background:var(--theme-soft);color:var(--theme-accent-hover)}
body.realtor-theme[data-site-theme="teal"] .re-hero{background-color:var(--theme-navy);background-blend-mode:normal}
body.realtor-theme[data-site-theme="teal"] .re-hero h1{color:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] .re-heading-dot{color:var(--theme-bright)}
body.realtor-theme[data-site-theme="teal"] .re-hero :is(.re-eyebrow,.re-hero-description,.re-hero-note){color:var(--theme-light)}
body.realtor-theme[data-site-theme="teal"] .re-note-line{background:var(--theme-bright)}
body.realtor-theme[data-site-theme="teal"] .re-hero .re-text-link{color:var(--theme-surface);border:1px solid var(--theme-light);border-radius:8px;padding:10px 14px;white-space:normal}
body.realtor-theme[data-site-theme="teal"] .re-hero .re-text-link:hover{color:var(--theme-bright);border-color:var(--theme-bright)}
body.realtor-theme[data-site-theme="teal"] .re-hero-photo{border-radius:12px;box-shadow:var(--theme-shadow)}
body.realtor-theme[data-site-theme="teal"] :is(.re-search,.catalog-filters,.smart-search-primary,.search-understood,.catalog-map-toggle,.search-panel){background:var(--theme-soft);border-color:var(--theme-border);box-shadow:var(--theme-shadow);border-radius:12px}
body.realtor-theme[data-site-theme="teal"] .re-search{background:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background-color:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border);accent-color:var(--theme-accent)}
body.realtor-theme[data-site-theme="teal"] :is(input,select,textarea)::placeholder{color:var(--theme-muted);opacity:1}
body.realtor-theme[data-site-theme="teal"] :is(input,select,textarea):focus{border-color:var(--theme-accent);outline-color:var(--theme-focus)}
body.realtor-theme[data-site-theme="teal"] :is(input[type=checkbox],input[type=radio]){accent-color:var(--theme-accent)}
body.realtor-theme[data-site-theme="teal"] :is(.search-refinements>summary,.search-refinements>summary small,.catalog-map-toggle>summary,.smart-search>small,.filter-more>summary){color:var(--theme-muted)}
body.realtor-theme[data-site-theme="teal"] :is(.search-refinements>summary:hover,.catalog-map-toggle>summary:hover){color:var(--theme-accent-hover)}
body.realtor-theme[data-site-theme="teal"] :is(.filter-group,.catalog-feature-group,.smart-dropdown,.search-feature-group){background:var(--theme-surface);border-color:var(--theme-border);color:var(--theme-text)}
body.realtor-theme[data-site-theme="teal"] .smart-dropdown :is([role=option]:hover,[aria-selected=true]){background:var(--theme-soft);box-shadow:inset 3px 0 0 var(--theme-accent)}
body.realtor-theme[data-site-theme="teal"] .smart-dropdown :is(small,.smart-status){color:var(--theme-muted)}
body.realtor-theme[data-site-theme="teal"] :is(.re-search-tabs button[aria-pressed=true],.project-deal-filter a[aria-current]){color:var(--theme-accent-hover);border-color:var(--theme-accent)}
body.realtor-theme[data-site-theme="teal"] :is(.listing-card,.project-card,.contact-panel,.contact-channel,.contacts-card,.property-price-block,.property-features>div,.property-features>article,.property-features>li){background:var(--theme-surface);border-color:var(--theme-border);border-radius:10px;box-shadow:var(--theme-shadow)}
body.realtor-theme[data-site-theme="teal"] :is(.listing-card,.project-card):hover{border-color:var(--theme-accent);box-shadow:var(--theme-shadow-hover);transform:none}
body.realtor-theme[data-site-theme="teal"] :is(.card-body,.listing-card .card-media){background:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] :is(.card-badge,.photo-count){background:var(--theme-navy);color:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] :is(.favorite,.property-favorite){color:var(--theme-muted);background:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] :is(.favorite[aria-pressed=true],.property-favorite[aria-pressed=true]){color:var(--theme-danger)}
body.realtor-theme[data-site-theme="teal"] :is(.listing-view-toggle button,.property-sort select,.catalog-result-count,.property-object-code,.property-share-button,.property-back-button){border-color:var(--theme-border);background:var(--theme-surface);color:var(--theme-navy)}
body.realtor-theme[data-site-theme="teal"] :is(.listing-view-toggle button[aria-pressed=true],.pagination a[aria-current],.pagination .active,.pagination span.current){background:var(--theme-navy);border-color:var(--theme-navy);color:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] .pagination a{background:var(--theme-surface);border-color:var(--theme-border);color:var(--theme-navy)}
body.realtor-theme[data-site-theme="teal"] .pagination a:hover{background:var(--theme-soft);border-color:var(--theme-accent)}
body.realtor-theme[data-site-theme="teal"] :is(.catalog-seo-text,.project-description,.re-home-seo,.empty-state,.agency-property-help){background:var(--theme-soft);border-color:var(--theme-border);color:var(--theme-text);border-radius:12px}
body.realtor-theme[data-site-theme="teal"] :is(.catalog-seo-text,.project-description,.blog-content,.property-content) a{color:var(--theme-accent-hover);text-decoration:underline;text-underline-offset:3px}
body.realtor-theme[data-site-theme="teal"] :is(.re-services i,.property-feature i,.property-features i,.card-facts i,.contact-channel i){color:var(--theme-accent)}
body.realtor-theme[data-site-theme="teal"] :is(.re-category-links a,.home-category-links a,.re-quick-links a){background:var(--theme-soft);border-color:var(--theme-border);color:var(--theme-navy)}
body.realtor-theme[data-site-theme="teal"] :is(.re-category-links a:hover,.home-category-links a:hover,.re-quick-links a:hover){background:var(--theme-surface);border-color:var(--theme-accent)}
body.realtor-theme[data-site-theme="teal"] .re-contact{background:var(--theme-navy)}
body.realtor-theme[data-site-theme="teal"] .re-contact::after{background:var(--theme-overlay)}
body.realtor-theme[data-site-theme="teal"] .re-contact :is(h2,.re-text-link){color:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] .re-contact :is(.re-eyebrow,.re-contact-inner>p,.re-contact-hint){color:var(--theme-light)!important}
body.realtor-theme[data-site-theme="teal"] .re-contact input{background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-light)}
body.realtor-theme[data-site-theme="teal"] .re-contact input::placeholder{color:var(--theme-muted)}
body.realtor-theme[data-site-theme="teal"] .re-full-footer{background:var(--theme-navy);color:var(--theme-light);border-color:var(--theme-accent)}
body.realtor-theme[data-site-theme="teal"] .re-full-footer :is(a,p,button,.footer-copyright){color:var(--theme-light)}
body.realtor-theme[data-site-theme="teal"] .re-full-footer :is(b,strong){color:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] .re-full-footer :is(a:hover,button:hover){color:var(--theme-bright)}
body.realtor-theme[data-site-theme="teal"] .re-full-footer :is(.footer-documents,.footer-credit){border-color:var(--theme-navy-hover)}
body.realtor-theme[data-site-theme="teal"] .re-full-footer :focus-visible{outline-color:var(--theme-bright)}
body.realtor-theme[data-site-theme="teal"] :is(.availability-badge,.availability-badge.availability-rented){background:var(--theme-green);color:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] .availability-badge.availability-sold{background:var(--theme-muted)}
body.realtor-theme[data-site-theme="teal"] .availability-badge.availability-reserved{background:var(--theme-warning)}
body.realtor-theme[data-site-theme="teal"] :is(.alert.success,.feedback-success){background:var(--theme-soft);border-color:var(--theme-green);color:var(--theme-green)}
body.realtor-theme[data-site-theme="teal"] .alert.error{color:var(--theme-danger);border-color:var(--theme-danger);background:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] :is(.cookie-notice,#site-feedback,.property-share-dialog,.property-report-dialog){background:var(--theme-surface);border-color:var(--theme-border);color:var(--theme-text);box-shadow:var(--theme-shadow)}
body.realtor-theme[data-site-theme="teal"] :is(.leaflet-popup-content-wrapper,.leaflet-control-zoom a){background:var(--theme-surface);color:var(--theme-navy)}
body.realtor-theme[data-site-theme="teal"] :is(.map-price-marker,.property-map-marker){background:var(--theme-navy);border-color:var(--theme-surface);color:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] .market-scroll-top{background:var(--theme-surface);color:var(--theme-accent);border-color:var(--theme-border)}
body.realtor-theme[data-site-theme="teal"] .market-scroll-top .scroll-progress{stroke:var(--theme-accent)}
body.realtor-theme[data-site-theme="teal"] :is(.contact-form,.feedback-form,.sell-form,.public-form){border-color:var(--theme-border);background:var(--theme-surface);border-radius:12px}
@media(max-width:700px){body.realtor-theme[data-site-theme="teal"] .re-nav{background:var(--theme-navy)}body.realtor-theme[data-site-theme="teal"] .re-hero .re-text-link{padding:10px 12px}}
@media(prefers-reduced-motion:reduce){body.realtor-theme[data-site-theme="teal"] *{scroll-behavior:auto!important}}

/* Р’С‹РїР°РґР°СЋС‰РёРµ РјРµРЅСЋ РЅР° Р±РµР»РѕР№ РїРѕРІРµСЂС…РЅРѕСЃС‚Рё, РЅРµР·Р°РІРёСЃРёРјРѕ РѕС‚ С†РІРµС‚Р° СЃСЃС‹Р»РѕРє С€Р°РїРєРё. */
body.realtor-theme[data-site-theme="teal"] .re-header .re-settings-panel :is(a,button,summary){color:var(--theme-text)}
body.realtor-theme[data-site-theme="teal"] .re-header .re-settings-panel :is(a:hover,button:hover){color:var(--theme-accent-hover);background:var(--theme-soft)}
body.realtor-theme[data-site-theme="teal"] .re-quick-categories a{background:var(--theme-soft);border-color:var(--theme-border)}
body.realtor-theme[data-site-theme="teal"] .re-quick-categories :is(a>span,a>i){color:var(--theme-accent)}
body.realtor-theme[data-site-theme="teal"] .re-sell-contact{background:var(--theme-warm);border-color:var(--theme-border)}
body.realtor-theme[data-site-theme="teal"] :is(.property-photos button,.card-photo-control){background:var(--theme-navy);color:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] .project-main-photo img{border-color:var(--theme-border)}
body.realtor-theme[data-site-theme="teal"] .property-features{color:var(--theme-text)}
body.realtor-theme[data-site-theme="teal"] .property-features :is(article,li,div){border-color:var(--theme-border)}

body.realtor-theme[data-site-theme="teal"] .property-title-actions .property-object-code{background:var(--theme-navy);border-color:var(--theme-navy);color:var(--theme-surface)}
@media(max-width:1200px){body.realtor-theme[data-site-theme="teal"] .re-nav{background:var(--theme-navy)}body.realtor-theme[data-site-theme="teal"] .re-header .re-nav .re-settings-panel{background:var(--theme-navy-hover)}body.realtor-theme[data-site-theme="teal"] .re-header .re-nav .re-settings-panel a{color:var(--theme-light)}body.realtor-theme[data-site-theme="teal"] .re-header .re-nav .re-settings-panel a:hover{background:var(--theme-navy);color:var(--theme-surface)}}
body.realtor-theme[data-site-theme="teal"] .re-sell-contact :is(p,.re-sell-phone){color:var(--theme-text)}
body.realtor-theme[data-site-theme="teal"] .re-sell-contact>i{color:var(--theme-warning)}
body.realtor-theme[data-site-theme="teal"] :is(.re-sell-start,.re-sell-service-icon){background:var(--theme-soft);border-color:var(--theme-border)}
body.realtor-theme[data-site-theme="teal"] .re-sell-start p{color:var(--theme-muted)}
body.realtor-theme[data-site-theme="teal"] .re-header .re-nav-dropdown[open]>summary{color:var(--theme-bright)}
body.realtor-theme[data-site-theme="teal"] .re-search-tabs [data-re-deal="sale"][aria-pressed=true]{color:var(--theme-green);border-color:var(--theme-green)}
body.realtor-theme[data-site-theme="teal"] .re-search-tabs [data-re-deal="rent"][aria-pressed=true]{color:var(--theme-rent);border-color:var(--theme-rent)}

body.realtor-theme[data-site-theme="teal"] .re-quick-categories a[href$="/new-build"]>span{color:var(--theme-accent)}

/* Шесть единых SVG-пиктограмм быстрых переходов, без иконочного шрифта. */
body.realtor-theme[data-site-theme="teal"] .re-quick-categories a>span{display:grid;place-items:center;flex:0 0 56px;width:56px;height:56px;color:var(--theme-accent);background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:12px}
body.realtor-theme[data-site-theme="teal"] .re-category-art{display:block;width:44px;height:44px;overflow:visible}
body.realtor-theme[data-site-theme="teal"] .re-quick-categories a:hover>span{border-color:var(--theme-accent)}
@media(max-width:600px){body.realtor-theme[data-site-theme="teal"] .re-quick-categories a>span{flex-basis:44px;width:44px;height:44px;border-radius:10px}body.realtor-theme[data-site-theme="teal"] .re-category-art{width:36px;height:36px}}
@media(max-width:600px){body.realtor-theme[data-site-theme="teal"] .re-quick-categories a{flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:14px 10px;gap:9px}body.realtor-theme[data-site-theme="teal"] .re-quick-categories b{flex:0 1 auto;width:100%;overflow-wrap:normal;word-break:normal;line-height:1.4}}

/* Поиск: отдельный контрастный главный блок и явные кнопки раскрытия. */
body.realtor-theme[data-site-theme="teal"]{--theme-search-shadow:0 12px 32px rgb(5 55 75 / 15%)}
body.realtor-theme[data-site-theme="teal"] :is(.re-search,.catalog-filters){border:1px solid var(--theme-border);box-shadow:var(--theme-search-shadow);background:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] .smart-search-primary{background:var(--theme-navy);color:var(--theme-surface);border:1px solid var(--theme-navy-hover);border-top:4px solid var(--theme-bright);border-radius:12px;padding:20px;gap:12px 14px;box-shadow:var(--theme-search-shadow)}
body.realtor-theme[data-site-theme="teal"] .smart-search-primary>label{color:var(--theme-surface);font-size:22px;line-height:1.3;font-weight:700}
body.realtor-theme[data-site-theme="teal"] .smart-search-primary>small{color:var(--theme-light);line-height:1.5}
body.realtor-theme[data-site-theme="teal"] .smart-search-primary>input{border:2px solid var(--theme-surface);box-shadow:none}
body.realtor-theme[data-site-theme="teal"] .smart-search-primary>input:focus{outline:3px solid var(--theme-bright);outline-offset:3px}
body.realtor-theme[data-site-theme="teal"] .smart-search-primary>.button{border-color:var(--theme-bright);min-width:122px;box-shadow:none}
body.realtor-theme[data-site-theme="teal"] :is(.search-refinements,.more-filters)>summary{display:flex;align-items:center;gap:10px;width:fit-content;max-width:100%;box-sizing:border-box;min-height:46px;padding:10px 14px;list-style:none;border:1px solid var(--theme-accent);border-radius:8px;background:var(--theme-soft);color:var(--theme-navy);font-size:16px;font-weight:650;line-height:1.4;cursor:pointer;user-select:none;margin-block:12px}
body.realtor-theme[data-site-theme="teal"] :is(.search-refinements,.more-filters)>summary::-webkit-details-marker{display:none}
body.realtor-theme[data-site-theme="teal"] :is(.search-refinements,.more-filters)>summary::marker{content:""}
body.realtor-theme[data-site-theme="teal"] :is(.search-refinements,.more-filters)>summary::before{content:"";display:block;width:20px;height:20px;flex:0 0 20px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3Ccircle cx='9' cy='6' r='2' fill='white'/%3E%3Ccircle cx='16' cy='12' r='2' fill='white'/%3E%3Ccircle cx='9' cy='18' r='2' fill='white'/%3E%3C/svg%3E") center/contain no-repeat}
body.realtor-theme[data-site-theme="teal"] :is(.search-refinements,.more-filters)>summary::after{content:"";display:block;flex:0 0 7px;width:7px;height:7px;margin-left:8px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-2px)}
body.realtor-theme[data-site-theme="teal"] :is(.search-refinements,.more-filters)[open]>summary{background:var(--theme-navy);border-color:var(--theme-navy);color:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] :is(.search-refinements,.more-filters)[open]>summary::after{transform:rotate(225deg) translate(-2px,-1px)}
body.realtor-theme[data-site-theme="teal"] :is(.search-refinements,.more-filters)>summary:hover{background:var(--theme-accent);color:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] .search-refinements>summary small{margin:0;padding:3px 7px;border-radius:5px;background:var(--theme-surface);color:var(--theme-muted);font-size:12px;font-weight:500}
body.realtor-theme[data-site-theme="teal"] .search-refinements[open]>summary small{background:var(--theme-navy-hover);color:var(--theme-light)}
body.realtor-theme[data-site-theme="teal"] :is(.search-refinements,.more-filters)>summary:focus-visible{outline:3px solid var(--theme-focus);outline-offset:3px}
@media(max-width:600px){body.realtor-theme[data-site-theme="teal"] .smart-search-primary{padding:16px;gap:10px;border-radius:10px}body.realtor-theme[data-site-theme="teal"] .smart-search-primary>label{font-size:20px}body.realtor-theme[data-site-theme="teal"] .smart-search-primary>.button{min-width:0}body.realtor-theme[data-site-theme="teal"] :is(.search-refinements,.more-filters)>summary{width:100%;font-size:15px;padding:10px 12px;gap:8px}body.realtor-theme[data-site-theme="teal"] :is(.search-refinements,.more-filters)>summary::after{margin-left:auto}body.realtor-theme[data-site-theme="teal"] .search-refinements>summary small{font-size:11px}}
body.realtor-theme[data-site-theme="teal"][data-public-typography] :is(.re-search,.catalog-filters) .smart-search-primary>small{color:var(--theme-light);font-size:13px!important}
body.realtor-theme[data-site-theme="teal"][data-public-typography] .smart-search-primary>label{font-size:20px!important;line-height:1.35}
body.realtor-theme[data-site-theme="teal"][data-public-typography] .smart-search-primary>input{font-size:16px!important}
body.realtor-theme[data-site-theme="teal"][data-public-typography] .smart-search-primary>.button{font-size:16px!important}
@media(max-width:600px){body.realtor-theme[data-site-theme="teal"][data-public-typography] .smart-search-primary>label{font-size:18px!important}}
@media(max-width:600px){body.realtor-theme[data-site-theme="teal"] .smart-search-primary{grid-template-columns:minmax(0,1fr)}body.realtor-theme[data-site-theme="teal"] .smart-search-primary>input,body.realtor-theme[data-site-theme="teal"] .smart-search-primary>.button{grid-column:1/-1;width:100%}}
/* Структурированная форма главной: отдельный обратимый вариант, не затрагивает каталог. */
body.realtor-theme[data-site-theme="teal"] .home-search-structured{padding:26px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 24px}
body.realtor-theme[data-site-theme="teal"] .home-search-heading,body.realtor-theme[data-site-theme="teal"] .home-search-deals,body.realtor-theme[data-site-theme="teal"] .home-search-basic,body.realtor-theme[data-site-theme="teal"] .home-search-rooms,body.realtor-theme[data-site-theme="teal"] .home-search-natural{grid-column:1/-1}
body.realtor-theme[data-site-theme="teal"] .home-search-heading h2{margin:0 0 6px;font-size:28px;line-height:1.2;letter-spacing:0}
body.realtor-theme[data-site-theme="teal"] .home-search-heading p{color:var(--theme-muted);margin:0;font-size:15px}
body.realtor-theme[data-site-theme="teal"] .home-search-deals{display:flex;gap:5px!important;background:var(--theme-soft);padding:5px;margin:0!important;border:1px solid var(--theme-border);border-radius:10px}
body.realtor-theme[data-site-theme="teal"] .home-search-deals button{flex:1;min-width:0;min-height:44px;padding:10px 14px!important;border:0;border-radius:7px;color:var(--theme-navy)}
body.realtor-theme[data-site-theme="teal"] .home-search-deals button[aria-pressed=true]{background:var(--theme-accent);color:var(--theme-surface);box-shadow:0 2px 8px rgb(5 55 75 / 12%)}
body.realtor-theme[data-site-theme="teal"] .home-search-deals button[data-re-deal="sale"][aria-pressed=true]{background:var(--theme-green);color:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] .home-search-deals button[data-re-deal="rent"][aria-pressed=true]{background:var(--theme-rent);color:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] .home-search-basic{grid-template-columns:1fr 1.15fr 1.1fr 1.1fr;align-items:end}
body.realtor-theme[data-site-theme="teal"] .home-search-structured fieldset{min-width:0;padding:0;margin:0;border:0}
body.realtor-theme[data-site-theme="teal"] .home-search-structured legend{padding:0;margin-bottom:5px;font-size:14px;font-weight:600;color:var(--theme-navy)}
body.realtor-theme[data-site-theme="teal"] .home-search-budget>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.realtor-theme[data-site-theme="teal"] .home-search-rooms>div{display:flex;flex-wrap:wrap;gap:8px}
body.realtor-theme[data-site-theme="teal"] .home-search-rooms button,body.realtor-theme[data-site-theme="teal"] .home-search-rooms label{position:relative;display:grid;place-items:center;min-width:48px;min-height:44px;padding:0;border:0;border-radius:7px;background:none;color:var(--theme-navy);font-size:15px}
body.realtor-theme[data-site-theme="teal"] .home-search-rooms label>span,body.realtor-theme[data-site-theme="teal"] .home-search-rooms button{padding:10px 16px;border:1px solid var(--theme-border);background:var(--theme-soft);border-radius:7px;cursor:pointer}
body.realtor-theme[data-site-theme="teal"] .home-search-rooms input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
body.realtor-theme[data-site-theme="teal"] .home-search-rooms input:checked+span,body.realtor-theme[data-site-theme="teal"] .home-search-rooms button[aria-pressed=true]{background:var(--theme-accent);border-color:var(--theme-accent);color:var(--theme-surface)}
body.realtor-theme[data-site-theme="teal"] .home-search-rooms label:has(input:focus-visible){outline:3px solid var(--theme-focus);outline-offset:3px}
body.realtor-theme[data-site-theme="teal"] .home-search-rooms[hidden]{display:none}
body.realtor-theme[data-site-theme="teal"] .home-search-extra{display:block;grid-column:1/-1;grid-row:5;margin:0}
body.realtor-theme[data-site-theme="teal"] .home-search-extra>summary{grid-column:1;grid-row:5;margin:0!important;align-self:center}
body.realtor-theme[data-site-theme="teal"] .home-search-extra>summary small{font-size:12px;font-weight:400;color:inherit}
body.realtor-theme[data-site-theme="teal"] .home-search-extra>.filter-grid,body.realtor-theme[data-site-theme="teal"] .home-search-extra>.filter-options{grid-column:1/-1;grid-row:auto}
body.realtor-theme[data-site-theme="teal"] .home-search-submit{grid-column:2;grid-row:5;align-self:start}
body.realtor-theme[data-site-theme="teal"] .home-search-submit>.button{min-width:280px;justify-content:center}
body.realtor-theme[data-site-theme="teal"] .home-search-natural{border-top:1px solid var(--theme-border);padding-top:18px}
body.realtor-theme[data-site-theme="teal"] .home-search-natural h3{margin:0 0 5px;font-size:17px}
body.realtor-theme[data-site-theme="teal"] .home-search-natural>p{margin:0 0 12px;color:var(--theme-muted);font-size:13px;line-height:1.5}
body.realtor-theme[data-site-theme="teal"] .home-search-natural .smart-search>label,body.realtor-theme[data-site-theme="teal"] .home-search-natural .smart-search>small{display:none}
body.realtor-theme[data-site-theme="teal"] .home-search-natural input{width:100%;min-height:46px;padding:12px 14px;border:1px solid var(--theme-border);border-radius:8px;font-size:16px}
@media(max-width:1000px){body.realtor-theme[data-site-theme="teal"] .home-search-basic{grid-template-columns:repeat(2,minmax(0,1fr))}body.realtor-theme[data-site-theme="teal"] .home-search-extra>summary small{display:none}body.realtor-theme[data-site-theme="teal"] .home-search-submit>.button{min-width:220px}}
@media(max-width:600px){body.realtor-theme[data-site-theme="teal"] .home-search-structured{padding:18px;grid-template-columns:minmax(0,1fr);gap:16px}body.realtor-theme[data-site-theme="teal"] .home-search-heading h2{font-size:24px}body.realtor-theme[data-site-theme="teal"] .home-search-basic{grid-template-columns:minmax(0,1fr)}body.realtor-theme[data-site-theme="teal"] .home-search-deals{display:grid;grid-template-columns:.65fr 1fr 1.25fr}body.realtor-theme[data-site-theme="teal"] .home-search-deals button{padding-inline:6px!important;font-size:14px}body.realtor-theme[data-site-theme="teal"] .home-search-extra>summary{grid-column:1;grid-row:auto;width:100%}body.realtor-theme[data-site-theme="teal"] .home-search-submit{grid-column:1;grid-row:auto}body.realtor-theme[data-site-theme="teal"] .home-search-submit>.button{width:100%;min-width:0}body.realtor-theme[data-site-theme="teal"] .home-search-rooms>div{gap:6px}body.realtor-theme[data-site-theme="teal"] .home-search-rooms label>span{padding:10px 14px}}
body.realtor-theme[data-site-theme="teal"] .home-search-extra>summary{max-width:calc(100% - 310px)}
body.realtor-theme[data-site-theme="teal"] .home-search-extra>.filter-grid{margin-top:18px}
body.realtor-theme[data-site-theme="teal"] .home-search-submit{position:relative;z-index:1}
@media(max-width:1000px) and (min-width:601px){body.realtor-theme[data-site-theme="teal"] .home-search-extra>summary{max-width:calc(100% - 245px)}}
@media(max-width:600px){body.realtor-theme[data-site-theme="teal"] .home-search-extra{grid-row:auto}body.realtor-theme[data-site-theme="teal"] .home-search-extra>summary{max-width:100%}}

/* Два понятных самостоятельных способа поиска: фраза сверху, параметры ниже. */
body.realtor-theme[data-site-theme="teal"] .home-search-phrase{padding:0;margin:0 0 18px;border:0;background:transparent;box-shadow:none}
body.realtor-theme[data-site-theme="teal"] .home-search-phrase>.smart-search-primary{margin:0!important}
body.realtor-theme[data-site-theme="teal"] .home-search-structured .home-search-heading h2{margin-top:0}
/* Та же компоновка во всех разделах каталога; состав свойств остаётся категорийным. */
body.realtor-theme[data-site-theme="teal"] .catalog-search-phrase{margin-bottom:18px}
body.realtor-theme[data-site-theme="teal"] .catalog-search-structured{margin-bottom:22px}
body.realtor-theme[data-site-theme="teal"] .catalog-search-structured .home-search-submit{display:flex;flex-direction:column;align-items:stretch;gap:6px}
body.realtor-theme[data-site-theme="teal"] .structured-search-reset{align-self:center;font-size:13px;color:var(--theme-muted);text-decoration:underline;text-underline-offset:3px}
body.realtor-theme[data-site-theme="teal"] .catalog-search-structured .home-search-extra>.filter-grid{min-width:0}
@media(min-width:601px){body.realtor-theme[data-site-theme="teal"] .catalog-search-structured:not(:has([data-search-rooms])) :is(.home-search-extra,.home-search-submit){grid-row:4}}

/* В разделе сделки показываем её контекст, а не переключатель на другой раздел. */
body.realtor-theme[data-site-theme="teal"] .home-search-deals.is-contextual{display:flex;width:fit-content;border:0;background:transparent;padding:0}
body.realtor-theme[data-site-theme="teal"] .catalog-deal-context{display:inline-flex;align-items:center;min-height:44px;padding:10px 22px;box-sizing:border-box;border-radius:8px;font-size:15px;font-weight:600;color:var(--theme-surface);background:var(--theme-accent)}
body.realtor-theme[data-site-theme="teal"] .catalog-deal-context.context-sale{background:var(--theme-green)}
body.realtor-theme[data-site-theme="teal"] .catalog-deal-context.context-rent{background:var(--theme-rent)}

/* Дополнительные условия — вторичное действие; применение следует за раскрытым блоком. */
body.realtor-theme[data-site-theme="teal"] .home-search-structured .home-search-extra>summary,
body.realtor-theme[data-site-theme="teal"] .home-search-structured .home-search-extra[open]>summary{background:var(--theme-surface);border-color:var(--theme-border);color:var(--theme-muted);box-shadow:none;font-weight:500}
body.realtor-theme[data-site-theme="teal"] .home-search-structured .home-search-extra>summary:hover{background:var(--theme-soft);border-color:var(--theme-muted);color:var(--theme-navy)}
@media(min-width:601px){
body.realtor-theme[data-site-theme="teal"] .home-search-structured:has(>.home-search-extra[open])>.home-search-submit{grid-column:1/-1;grid-row:6;justify-self:end;align-self:start;margin-top:0}
body.realtor-theme[data-site-theme="teal"] .catalog-search-structured:not(:has([data-search-rooms])):has(>.home-search-extra[open])>.home-search-submit{grid-row:5}
body.realtor-theme[data-site-theme="teal"] .home-search-structured .home-search-extra[open]>summary{max-width:100%}
}

/* Ровные два ряда выбора комнат на телефоне, без случайного переноса 5 и 6. */
@media(max-width:600px){
body.realtor-theme[data-site-theme="teal"] .home-search-rooms>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
body.realtor-theme[data-site-theme="teal"] .home-search-rooms [data-rooms-reset]{grid-column:span 2;min-width:0}
body.realtor-theme[data-site-theme="teal"] .home-search-rooms label{min-width:0;width:100%}
body.realtor-theme[data-site-theme="teal"] .home-search-rooms label>span{display:grid;place-items:center;box-sizing:border-box;width:100%;min-height:44px;padding:10px 6px}
}

/* Главная: скрытые категории отключаются fieldset, не меняя состояние геофильтров. */
body.realtor-theme[data-site-theme="teal"] .home-category-fields {margin:0;padding:0;border:0;min-width:0;}
body.realtor-theme[data-site-theme="teal"] .home-category-fields[hidden] {display:none!important;}
body.realtor-theme[data-site-theme="teal"] .home-category-fields>label {display:flex;flex-direction:column;gap:4px;}
body.realtor-theme[data-site-theme="teal"] .home-category-fields>label.check {flex-direction:row;}
body.realtor-theme[data-site-theme="teal"] .home-category-properties {margin-top:10px;}

/* Единая высота диапазонов и списков в публичном подборе. */
body.realtor-theme[data-site-theme="teal"] .home-search-structured .house-feature-grid {align-items:start;}
body.realtor-theme[data-site-theme="teal"] .home-search-structured .house-feature-grid :is(input[type="number"],select,.house-choice-picker>summary) {height:44px!important;min-height:44px!important;box-sizing:border-box;}
body.realtor-theme[data-site-theme="teal"] .home-search-structured .house-range-title,
body.realtor-theme[data-site-theme="teal"] .home-search-structured .house-feature-choices>legend,
body.realtor-theme[data-site-theme="teal"] .home-search-area>legend {display:block;float:none;width:auto;margin:0 0 5px;padding:0;font-size:13px;line-height:20px;font-weight:600;}
body.realtor-theme[data-site-theme="teal"] .home-search-area .house-range-inputs>label {margin:0;}
body.realtor-theme[data-site-theme="teal"] .home-search-area input {height:44px;min-height:44px;box-sizing:border-box;}

body.realtor-theme[data-site-theme="teal"] form.home-search-structured .house-feature-group .house-feature-grid .house-range-inputs input[type="number"] {height:44px!important;min-height:44px!important;}
body.realtor-theme[data-site-theme="teal"] form.home-search-structured .house-feature-group .house-range-title,
body.realtor-theme[data-site-theme="teal"] form.home-search-structured .house-feature-group .house-feature-choices>legend {height:20px!important;min-height:20px;margin:0 0 5px!important;line-height:20px!important;}
body.realtor-theme[data-site-theme="teal"] form.home-search-structured .house-range-bound {display:none!important;}
body.realtor-theme[data-site-theme="teal"] form.home-search-structured .house-range-inputs label {gap:0!important;}

/* Завершение публичной teal-палитры: карточки, галерея и каталог ЖК. */
body.realtor-theme[data-site-theme="teal"] .property-object-code {background:var(--theme-navy);color:#fff;border-color:var(--theme-navy);}
body.realtor-theme[data-site-theme="teal"] .gallery-count {background:#fff;color:var(--theme-navy);border-color:var(--theme-border);}
body.realtor-theme[data-site-theme="teal"] :is(.gallery-count i,.catalog-result-count i) {color:var(--theme-accent);}
body.realtor-theme[data-site-theme="teal"] .card-photo-arrow {background:rgba(6,59,82,.86);color:#fff;border:1px solid rgba(255,255,255,.45);}
body.realtor-theme[data-site-theme="teal"] .card-photo-arrow:hover {background:var(--theme-accent);}
body.realtor-theme[data-site-theme="teal"] .card-photo-counter {background:rgba(6,59,82,.86);color:#fff;}
body.realtor-theme[data-site-theme="teal"] .card-object-code {background:var(--theme-soft);color:var(--theme-navy);border-color:var(--theme-border);}
body.realtor-theme[data-site-theme="teal"] .project-search {background:var(--theme-soft);border:1px solid var(--theme-border);border-radius:12px;}
body.realtor-theme[data-site-theme="teal"] .project-card-deals>a,
body.realtor-theme[data-site-theme="teal"] .project-card-deals>span {background:var(--theme-soft);color:var(--theme-navy);border:1px solid var(--theme-border);border-radius:6px;}
body.realtor-theme[data-site-theme="teal"] .project-card-deals>a:hover {background:#d9f0f3;color:var(--theme-accent-hover);}
body.realtor-theme[data-site-theme="teal"] .project-main-photo img {border-color:var(--theme-border);}
body.realtor-theme[data-site-theme="teal"] form.home-search-structured .home-search-area input[type="number"] {height:44px!important;min-height:44px!important;}

body.realtor-theme[data-site-theme="teal"][data-public-typography] main .property-title-actions .property-object-code {background:var(--theme-navy);color:#fff;}
body.realtor-theme[data-site-theme="teal"][data-public-typography] main .property-title-actions .property-object-code>span {color:#fff;}
body.realtor-theme[data-site-theme="teal"] main .property-title-actions .property-share-button i {color:var(--theme-accent);}

body.realtor-theme[data-site-theme="teal"] input:is([type="checkbox"],[type="radio"]) {accent-color:var(--theme-accent);}
body.realtor-theme[data-site-theme="teal"] .home-search-structured .house-feature-group {background:#f4fafb;border-color:var(--theme-border);}
body.realtor-theme[data-site-theme="teal"] .home-search-structured .house-choice-picker>summary {background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border);}
body.realtor-theme[data-site-theme="teal"] .home-search-structured .house-choice-options {background:var(--theme-surface);border-color:var(--theme-border);color:var(--theme-text);}

body.realtor-theme[data-site-theme="teal"] .listing-card .card-media .card-photo-arrow {background:rgba(6,59,82,.86);color:#fff;border:1px solid rgba(255,255,255,.45);}
body.realtor-theme[data-site-theme="teal"] .listing-card .card-media .card-photo-arrow:hover {background:var(--theme-accent);}
body.realtor-theme[data-site-theme="teal"][data-public-typography] .listing-card .card-object-code {background:var(--theme-soft);color:var(--theme-navy);border-color:var(--theme-border);}

/* Финальная проверка: выпадающие списки, навигация и Leaflet. */
body.realtor-theme[data-site-theme="teal"] .single-picker-options button[aria-selected="true"] {background:var(--theme-soft);color:var(--theme-navy);}
body.realtor-theme[data-site-theme="teal"] .single-picker-options button:hover,
body.realtor-theme[data-site-theme="teal"] .single-picker-options button:focus-visible {background:var(--theme-soft);color:var(--theme-navy);outline-color:var(--theme-accent);}
body.realtor-theme[data-site-theme="teal"] .district-picker-done {background:var(--theme-accent);color:#fff;}
body.realtor-theme[data-site-theme="teal"] .district-picker-done:hover {background:var(--theme-accent-hover);}
body.realtor-theme[data-site-theme="teal"] .listing-card .card-title-city {color:var(--theme-muted);}
body.realtor-theme[data-site-theme="teal"] main .pagination a.active,
body.realtor-theme[data-site-theme="teal"] main .pagination [aria-current="page"] {background:var(--theme-navy);border-color:var(--theme-navy);color:#fff;}
body.realtor-theme[data-site-theme="teal"] main :is(.description,.blog-content,.article-content) a.button {color:#fff;text-decoration:none;}
body.realtor-theme[data-site-theme="teal"] main :is(.description,.blog-content,.article-content) a.button.outline {color:var(--theme-accent);}
body.realtor-theme[data-site-theme="teal"] .leaflet-container .leaflet-control-zoom a {display:block;box-sizing:content-box;width:32px;height:32px;min-height:0;padding:0;line-height:32px;font-family:Arial,sans-serif;font-size:22px;font-weight:700;text-decoration:none;border-radius:0;color:var(--theme-navy);background:#fff;box-shadow:none;}
body.realtor-theme[data-site-theme="teal"] .leaflet-container .leaflet-control-zoom a:hover {background:var(--theme-soft);}
body.realtor-theme[data-site-theme="teal"] .leaflet-container .leaflet-control-zoom a span {text-decoration:none;}

@media(max-width:1200px){
 body.realtor-theme[data-site-theme="teal"] .re-mobile-preferences .header-languages a[aria-current="true"] {background:var(--theme-accent);color:#fff;border-color:var(--theme-bright);text-decoration:none;}
 body.realtor-theme[data-site-theme="teal"] .re-header .re-nav .re-settings-panel button {color:#fff;background:transparent;}
 body.realtor-theme[data-site-theme="teal"] .re-header .re-nav .re-settings-panel button[aria-pressed="true"],
 body.realtor-theme[data-site-theme="teal"] .re-header .re-nav .re-settings-panel button:hover {background:var(--theme-soft);color:var(--theme-navy);}
 body.realtor-theme[data-site-theme="teal"] .re-header .re-nav .re-settings-panel button:focus-visible {outline:2px solid var(--theme-bright);outline-offset:-2px;}
 body.realtor-theme[data-site-theme="teal"] .re-header .re-nav .re-settings-group>b {color:#c5e7ed;}
}

body.realtor-theme[data-site-theme="teal"] .re-mobile-search-dialog {background:var(--theme-surface);color:var(--theme-text);border:1px solid var(--theme-border);}
body.realtor-theme[data-site-theme="teal"] .re-mobile-search-dialog label {color:var(--theme-text);}
body.realtor-theme[data-site-theme="teal"] .re-mobile-search-dialog :is(small,p) {color:var(--theme-muted);}
body.realtor-theme[data-site-theme="teal"] .re-mobile-search-dialog .re-search-all {color:var(--theme-accent);}
body.realtor-theme[data-site-theme="teal"] .re-search-dialog-heading button {background:var(--theme-soft);color:var(--theme-navy);border-color:var(--theme-border);}
body.realtor-theme[data-site-theme="teal"] .re-full-footer .footer-brand i {color:var(--theme-bright);}
body.realtor-theme[data-site-theme="teal"] .re-sell-contact {background:var(--theme-soft);color:var(--theme-text);border:1px solid var(--theme-border);}
body.realtor-theme[data-site-theme="teal"] .re-sell-contact>i {color:var(--theme-accent);}
body.realtor-theme[data-site-theme="teal"] .re-sell-contact .re-sell-phone {color:var(--theme-navy);}
body.realtor-theme[data-site-theme="teal"] main .pagination>a[aria-current="page"]:is(:hover,:focus-visible) {background:var(--theme-navy);border-color:var(--theme-navy);color:#fff;}

/* Цвет нативных полос прокрутки горизонтальных лент новой темы. */
body.realtor-theme[data-site-theme="teal"] :is(.re-home-listings.re-carousel-track,.feature-strip) {scrollbar-width:thin;scrollbar-color:var(--theme-accent) var(--theme-soft);}
body.realtor-theme[data-site-theme="teal"] :is(.re-home-listings.re-carousel-track,.feature-strip)::-webkit-scrollbar {height:10px;}
body.realtor-theme[data-site-theme="teal"] :is(.re-home-listings.re-carousel-track,.feature-strip)::-webkit-scrollbar-track {background:var(--theme-soft);border-radius:10px;}
body.realtor-theme[data-site-theme="teal"] :is(.re-home-listings.re-carousel-track,.feature-strip)::-webkit-scrollbar-thumb {background:var(--theme-accent);border:2px solid var(--theme-soft);border-radius:10px;}
body.realtor-theme[data-site-theme="teal"] :is(.re-home-listings.re-carousel-track,.feature-strip)::-webkit-scrollbar-thumb:hover {background:var(--theme-accent-hover);}
@media(forced-colors:active){body.realtor-theme[data-site-theme="teal"] :is(.re-home-listings.re-carousel-track,.feature-strip){scrollbar-color:auto;}}

body.realtor-theme[data-site-theme="teal"] .home-search-rooms>div{display:flex!important;flex-wrap:nowrap!important;gap:6px;overflow-x:auto;padding:2px 1px 6px;scrollbar-width:thin;scrollbar-color:var(--theme-accent) var(--theme-soft);}
body.realtor-theme[data-site-theme="teal"] .home-search-rooms>div>label{flex:0 0 auto;width:auto!important;min-width:36px;margin:0;}
body.realtor-theme[data-site-theme="teal"] .home-search-rooms>div>label[hidden]{display:none!important;}
body.realtor-theme[data-site-theme="teal"] .home-search-rooms>div>label>span{min-height:40px;min-width:36px;padding:8px;box-sizing:border-box;}
body.realtor-theme[data-site-theme="teal"] .home-search-rooms [data-rooms-reset]{flex:0 0 auto;width:auto;padding:8px 12px;min-height:40px;}
