/* dili — дизайн v4 на каркасе LUN (specs/design/mockups, 03.11.2026). Грузится после v3.css/v3ui.css только в режиме v4
   (src/ui_mode.ts) и перекрашивает прежние компоненты: токены, шрифты Rubik+Heebo, рейка, мобильная шапка, панель «עוד»,
   кнопки/чипы/карточки/фильтры/страница объявления. Три цветовые схемы — data-scheme на <html>: a (по умолчанию,
   «чёрное действие, изумрудный маркер»), b («изумрудная рейка»), c («бумага и чернила»). Тёмная тема — data-theme=dark.
   Отличия от LUN намеренные (владелец: «чтобы не выглядело один в один»): активный пункт рейки с полоской и подложкой,
   чипы-пилюли, карточки без рамок на мягкой тени, изумрудная черта под заголовками секций. */
@font-face{font-family:Rubik;font-style:normal;font-weight:300 900;font-display:swap;src:url(/fonts/rubik-hebrew.woff2) format('woff2');unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Rubik;font-style:normal;font-weight:300 900;font-display:swap;src:url(/fonts/rubik-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/jetbrains-mono-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* ===== токены: схема A ===== */
:root{
  --disp:Rubik,Heebo,system-ui,sans-serif;
  --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;   /* логотип и словесный знак dili */
  --bg:#fff; --card:#fff; --ink:#000; --ink2:#5c6070; --ink3:#636778;
  --line:#ebeef4; --line2:#f0f2f6; --line-h:#caccd8; --hov:#f5f6fa; --act:#ebeef4;
  --band:#f5f6fa;                 /* полосы секций */
  --rail:#131010; --rail-ink:#fff; --rail-on:#34d399; --rail-line:#2c2c2c; --rail-dim:#aeaeae;
  --btn:#000; --btn-h:#4b4f5e; --on-btn:#fff;
  --em:#047857; --em-h:#065f46; --em-ink:#047857; --em-soft:#d1fae5; --em-lite:#34d399; --em-logo:#10b981; --em-deep:#064e3b;
  --pri:#000; --pri-h:#4b4f5e; --on-pri:#fff; --pri-tint:#ebeef4; --pri-ink:#000; --pri-line:#caccd8;
  --c:#047857; --c-bg:#d1fae5; --c-line:#a7f3d0; --bn-tint:#ecfdf5;
  --ok:#047857; --ok-bg:#ecfdf5; --ok-line:#a7f3d0;
  --err:#e35241; --heart:#e35241;
  --up:#047857; --dn:#e35241; --up-dark:#86ff8e; --dn-dark:#ff3856;
  --re-bg:var(--band); --re-chip:var(--act); --re-ink:var(--ink); --re-line:var(--line); --re-line-h:var(--line-h);
  --car-bg:var(--band); --car-chip:var(--act); --car-ink:var(--ink); --car-line:var(--line); --car-line-h:var(--line-h);
  --pr-bg:var(--band); --pr-chip:var(--act); --pr-ink:var(--ink); --pr-line:var(--line); --pr-line-h:var(--line-h);
  --s-bg:var(--band); --s-chip:var(--act); --s-ink:var(--ink); --sec-bg:var(--em-soft); --sec-ink:var(--em); --sec-line:var(--c-line);
  --ai-grad:linear-gradient(90deg,#047857,#10b981);
  --glass:rgba(255,255,255,.94); --mapbg:#e9edf3; --shade:rgba(0,0,0,.05); --on-ink:#fff; --ink-h:#4b4f5e;
  --r:8px; --r-sm:4px; --rail-w:86px; --hdr:0px;
  --sh:0 0 4px rgba(0,0,0,.05),0 4px 8px rgba(0,0,0,.10); --sh-lg:0 0 6px rgba(0,0,0,.05),0 4px 16px rgba(0,0,0,.10);
  --stat:#131010; --stat-line:#2c2c2c;
}
/* схема B — изумрудная рейка, зелёноватые полосы */
:root[data-scheme=b]{--rail:#064e3b;--rail-on:#fff;--rail-ink:#a7f3d0;--rail-line:#0b6b4f;--rail-dim:#a7f3d0;--band:#ecfdf5;--stat:#064e3b;--stat-line:#0b6b4f;--hov:#f0fdf7}
/* схема C — тёплая «бумага», белые карточки, почти без рамок */
:root[data-scheme=c]{--bg:#eeeeea;--band:#e6e6e1;--card:#fff;--act:#fff;--hov:#f7f7f4;--line:#dfdfdf;--line2:#e8e8e4;--line-h:#c4c4bf;--rail:#1c1c1c;--btn:#1c1c1c;--pri:#1c1c1c;--ink:#1c1c1c;--pri-tint:#fff;--s-chip:#fff;--re-chip:#fff;--car-chip:#fff;--pr-chip:#fff;--stat:#1c1c1c;--glass:rgba(255,255,255,.96)}
/* схема T «מנטה» — по консоли Telnyx (решение владельца 06.11.2026, пробуем на new): тёплый почти белый фон, белые карточки
   с тонкой рамкой, чёрные кнопки, мятный акцент, индиго для подсказок, светлая рейка и светлые плитки цен (тёмные — «мрачно») */
:root[data-scheme=t]{--bg:#fbfbf8;--card:#fff;--band:#f3f3ef;--act:#efefeb;--hov:#f5f5f1;--line:#e4e4df;--line2:#ecece8;--line-h:#c9c9c3;
  --ink:#1c1c1c;--ink2:#4a4a4a;--ink3:#6b6b6b;--ink-h:#000;
  --rail:#fff;--rail-ink:#1c1c1c;--rail-on:#0a8f67;--rail-line:#e4e4df;--rail-dim:#6b6b6b;
  --btn:#1c1c1c;--btn-h:#000;--on-btn:#fff;--pri:#1c1c1c;--pri-h:#000;--pri-tint:#efefeb;--pri-ink:#1c1c1c;--pri-line:#1c1c1c;
  --em:#0a8f67;--em-h:#07704f;--em-ink:#0a8f67;--em-soft:#dcfbec;--em-lite:#2fe3a0;--em-logo:#00c389;--em-deep:#07704f;
  --c:#0a8f67;--c-bg:#dcfbec;--c-line:#9fefcf;--bn-tint:#eefcf5;--ok:#0a8f67;--ok-bg:#eefcf5;--ok-line:#9fefcf;
  --sec-bg:#ecebff;--sec-ink:#4f46e5;--sec-line:#bdb8fb;
  --stat:#fff;--stat-line:#e4e4df;--glass:rgba(255,255,255,.96);--mapbg:#eeeee9;--ai-grad:linear-gradient(90deg,#c9f5b2,#8fe9c4,#6fd3c8);
  --sh:0 0 0 1px rgba(0,0,0,.04),0 2px 6px rgba(0,0,0,.06);--sh-lg:0 0 0 1px rgba(0,0,0,.04),0 6px 18px rgba(0,0,0,.08)}
/* тёмная тема: поверхности инвертируются, бренд-тона те же */
:root[data-theme=dark]{
  --bg:#111213;--card:#18191b;--ink:#ececec;--ink2:#b3b6c2;--ink3:#9a9eab;--line:#2a2b2e;--line2:#212225;--line-h:#3a3b3f;--hov:#1f2023;--act:#26272a;--band:#161719;
  --rail:#0b0b0c;--rail-line:#232426;--btn:#ececec;--btn-h:#cfd2da;--on-btn:#111213;--pri:#ececec;--pri-h:#cfd2da;--on-pri:#111213;--pri-tint:#26272a;--pri-ink:#ececec;
  --em-ink:#5fd6aa;--em-soft:#15291f;--c:#5fd6aa;--c-bg:#15291f;--c-line:#245a44;--bn-tint:#13211b;--ok:#6fcf97;--ok-bg:rgba(111,207,151,.08);--ok-line:#2f5c43;
  --up:#6fcf97;--dn:#ff7a8e;--err:#ff7a8e;--heart:#ff7a8e;--glass:rgba(24,25,27,.92);--mapbg:#1a1b1d;--on-ink:#111213;--ink-h:#cfcfcf;--stat:#000;--stat-line:#2a2b2e;--sec-bg:#15291f;--sec-ink:#5fd6aa;color-scheme:dark}
:root[data-theme=dark][data-scheme=b]{--rail:#042f24;--rail-ink:#a7f3d0;--rail-on:#fff;--band:#0f1d17}
:root[data-theme=dark][data-scheme=c]{--bg:#141412;--card:#1c1c1a;--band:#191917;--act:#232321;--hov:#1f1f1d}
:root[data-theme=dark][data-scheme=t]{--rail:#0b0b0c;--rail-ink:#ececec;--rail-on:#5fd6aa;--rail-dim:#9a9eab;--rail-line:#232426;--stat:#000;--stat-line:#2a2b2e;--sec-bg:#1d1b3a;--sec-ink:#a5a0ff;--sec-line:#3a3680;--sh:0 0 4px rgba(0,0,0,.3),0 4px 8px rgba(0,0,0,.4)}
body[data-sec=re],body[data-sec=car],body[data-sec=pr]{--sec-bg:var(--em-soft);--sec-ink:var(--em-ink);--sec-line:var(--c-line)}

/* ===== база ===== */
body.v4{font-family:Heebo,system-ui,sans-serif;font-size:15px;line-height:22px;letter-spacing:.2px;background:var(--bg);color:var(--ink);padding-bottom:0}
body.v4 h1,body.v4 h2,body.v4 h3,body.v4 .disp{font-family:var(--disp);letter-spacing:0}
body.v4 :focus-visible{outline:2px solid var(--em);outline-offset:2px}
/* поля ввода: без контура фокуса, признак фокуса — рамка самого поля (владелец 20.11.2026) */
body.v4 :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]),textarea,select):focus-visible{outline:0}
body.v4 a:hover{color:var(--em-ink)}
.v4w{display:flex;min-height:100vh;min-height:100dvh}
.v4p{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.v4p>.page,.v4p>main,.v4p>.catp{flex:1 0 auto}
.v4p>.w{width:100%}
.lgm{display:inline-flex;align-items:center;justify-content:center;width:var(--s,54px);height:var(--s,54px);border-radius:calc(var(--s,54px) * .22);background:var(--em-logo);color:#fff;flex:none}
.lgm svg{width:100%;height:100%;display:block}
.wm{font-family:var(--mono);font-weight:800;letter-spacing:-.04em;font-style:normal}
.wm i{font-style:normal;color:var(--em-lite)}
.cp .wm{font-size:14px}

/* ===== рейка (десктоп) ===== */
nav.rail{flex:0 0 var(--rail-w);position:sticky;top:0;height:100vh;height:100dvh;background:var(--rail);color:var(--rail-ink);display:flex;flex-direction:column;align-items:stretch;padding:16px 0 18px;gap:2px;z-index:var(--z-head);overflow:hidden auto;scrollbar-width:none}
nav.rail::-webkit-scrollbar{display:none}
nav.rail .rlg{display:flex;flex-direction:column;align-items:center;gap:6px;margin:0 0 30px;padding:0;color:inherit}
nav.rail .rlg .wm{font-size:16px;line-height:1}
nav.rail a,nav.rail button{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px 7px;margin:0 6px;border-radius:10px;color:var(--rail-ink);font-family:var(--disp);font-weight:700;font-size:10px;line-height:14px;text-align:center;transition:background .15s,color .15s}
nav.rail a:hover,nav.rail button:hover{color:var(--rail-on);background:rgba(255,255,255,.06)}
nav.rail a.on,nav.rail button.on{color:var(--rail-on);background:rgba(255,255,255,.08)}
nav.rail a.on::before{content:'';position:absolute;inset-inline-end:-6px;top:10px;bottom:10px;width:3px;border-radius:3px 0 0 3px;background:var(--rail-on)}
nav.rail .sp{flex:1}
nav.rail .thm{color:var(--rail-dim);font-weight:500}
nav.rail .thm svg{width:20px;height:20px}
nav.rail .thm[aria-pressed=true]{color:var(--rail-on)}

/* ===== мобильная шапка и нижняя панель ===== */
.mtop{display:none}
.mbot{display:none}
.hd,.mb{display:none!important}

/* ===== панель «עוד» ===== */
.scrim{position:fixed;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(6px);z-index:calc(var(--z-modal) - 1)}
/* подложка шторки «Ещё»: v3ui.css (кабинет) прячет .scrim без .show — щелчок снаружи не закрывал шторку (20.11.2026) */
#morescrim{opacity:1;pointer-events:auto;z-index:calc(var(--z-modal) - 1)}
.morep{position:fixed;top:0;bottom:0;inset-inline-start:var(--rail-w);width:min(677px,calc(100vw - var(--rail-w)));background:var(--rail);color:#fff;padding:48px 56px 32px;display:flex;flex-direction:column;gap:32px;z-index:var(--z-modal);overflow-y:auto;transform:translateX(12%);opacity:0;transition:transform .42s var(--ease),opacity .3s}
[dir=ltr] .morep:not(.in){transform:translateX(-12%)}
.morep.in{transform:none;opacity:1}
.morep .mx{position:absolute;top:20px;inset-inline-end:20px;width:40px;height:40px;border-radius:8px;display:grid;place-items:center;color:#fff}
.morep .mx:hover{background:rgba(255,255,255,.1)}
.morep a{color:#fff}.morep a:hover{color:var(--rail-on)}
.mcols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:40px;flex:1}
.morep .ml{display:flex;flex-direction:column;gap:26px;padding-top:6px;font-size:16px}
.morep .ml .tel{display:flex;align-items:center;gap:8px;color:var(--rail-dim)}
.morep .mr{display:flex;flex-direction:column;gap:22px}
.morep .mh{color:var(--rail-dim);font-size:13px;display:flex;align-items:center;gap:6px}
.pjs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 24px}
.pj{display:flex;flex-direction:column;gap:4px;max-width:220px}
.pj b{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700;min-width:0;overflow-wrap:anywhere}
.pj small{color:var(--rail-dim);font-size:13px;line-height:18px}
.pj .pji{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;background:#fff;color:#131010;flex:none}
.pj .pji svg{width:14px;height:14px}
.pj:hover b{color:var(--rail-on)}
/* en/ru/fr: слова длиннее ивритских — панель шире и правая колонка просторнее, иначе плитки обрезались справа (20.11.2026) */
@media (min-width:1001px){[dir=ltr] .morep{width:min(800px,calc(100vw - var(--rail-w)))}[dir=ltr] .mcols{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}}
.morep .ml .tel bdi{white-space:nowrap}
.mft{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;padding-top:8px}
.lngs{display:flex;gap:2px;background:rgba(255,255,255,.12);border-radius:10px;padding:2px}
.lngs a{display:inline-flex;align-items:center;height:32px;padding:0 14px;border-radius:8px;font-size:14px;color:#fff}
.lngs a.on{background:#fff;color:#000}
.lngs a:hover:not(.on){color:var(--rail-on)}
.thm2{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:8px;border:1px solid rgba(255,255,255,.25);color:#fff;font-size:14px}
.thm2:hover{border-color:#fff}
/* переключатель схем */
.schm{display:flex;align-items:center;gap:6px;flex-wrap:wrap}   /* ru/fr: подписи длиннее — пилюли переносятся, а не уходят за экран */
.schm .schl{font-size:13px;color:var(--rail-dim);margin-inline-end:4px}
.schm button{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 12px 0 8px;border-radius:999px;border:1px solid rgba(255,255,255,.25);color:#fff;font-size:13px;font-weight:500}
.schm button:hover{border-color:#fff}
.schm button[aria-checked=true]{background:#fff;color:#000;border-color:#fff}
.schm i{width:18px;height:18px;border-radius:50%;display:inline-block;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}
.schm .sw-a{background:linear-gradient(135deg,#131010 50%,#34d399 50%)}
.schm .sw-b{background:linear-gradient(135deg,#064e3b 50%,#a7f3d0 50%)}
.schm .sw-c{background:linear-gradient(135deg,#1c1c1c 50%,#eeeeea 50%)}

/* ===== подвал ===== */
.ft4{margin-top:auto;background:var(--act);padding:24px;font-size:13px;color:var(--ink3)}
.ft4 .sl{max-width:1392px;padding:0 0 18px;margin:0 auto 18px;border-bottom:1px solid var(--line-h);color:var(--ink3)}
.fw4{max-width:1392px;margin:0 auto;display:flex;flex-wrap:wrap;gap:16px 24px;justify-content:space-between;align-items:center}
.fw4 .fl{display:flex;gap:16px;flex-wrap:wrap}
.fw4 a{color:var(--ink3)}.fw4 a:hover{color:var(--ink)}
.fw4 .lngs{background:var(--card)}
.fw4 .lngs a{color:var(--ink)}.fw4 .lngs a.on{background:var(--btn);color:var(--on-btn)}
.fw4 .schm button{border-color:var(--line-h);color:var(--ink)}
.fw4 .schm button[aria-checked=true]{background:var(--btn);color:var(--on-btn);border-color:var(--btn)}
.fw4 .cp{flex:1 1 100%}
body.v4 footer.ft{display:none}

/* ===== компоненты v3 в новой одежде ===== */
body.v4 .btn,body.v4 .bn .go,body.v4 .pop .pf .ok,body.v4 .q .go,body.v4 .ai .send,body.v4 .fab,body.v4 .here,body.v4 .pcard .btn.p,body.v4 .cbn .btn,body.v4 .empty .btn{background:var(--btn);color:var(--on-btn);border-color:var(--btn);border-radius:var(--r)}
body.v4 .btn:hover,body.v4 .bn .go:hover,body.v4 .pop .pf .ok:hover,body.v4 .q .go:hover,body.v4 .ai .send:hover{background:var(--btn-h);border-color:var(--btn-h);color:var(--on-btn)}
body.v4 .btn{height:40px;padding:0 18px;font-weight:500;font-size:15px}
body.v4 .btn.lg{height:48px;padding:0 20px}
body.v4 .btn.sm{height:34px;padding:0 14px;font-size:13.5px}
body.v4 .btn.o,body.v4 .btn.t,body.v4 .empty .btn.o,body.v4 .empty button{background:var(--card);color:var(--ink);border:1px solid var(--line-h)}
body.v4 .btn.o:hover,body.v4 .btn.t:hover{background:var(--btn);color:var(--on-btn);border-color:var(--btn)}
body.v4 .btn.ok{background:var(--ok-bg);color:var(--ok);border-color:var(--ok-line)}
body.v4 .btn.danger{background:var(--card);color:var(--err);border-color:var(--err)}
body.v4 .pill,body.v4 .save,body.v4 .fbt,body.v4 .seg,body.v4 .chip,body.v4 .tg,body.v4 .stabs a,body.v4 .rows .more,body.v4 .kc,body.v4 .cpill,body.v4 .tags a,body.v4 .pops a,body.v4 .sec .sc a{border-radius:999px}
body.v4 .pill.on,body.v4 .opt.on,body.v4 .chip.k,body.v4 .mk-city.on,body.v4 .stabs a.on,body.v4 .seg .on,body.v4 .kc.on,body.v4 .cpill.on,body.v4 .rooms button.on.edge{background:var(--btn);color:var(--on-btn);border-color:var(--btn);box-shadow:none}
body.v4 .seg{background:var(--act)}
body.v4 .pill,body.v4 .fbt,body.v4 .save,body.v4 .kc,body.v4 .cpill{background:var(--act);border-color:transparent;color:var(--ink);font-size:14px}
body.v4 .pill:hover,body.v4 .fbt:hover,body.v4 .save:hover,body.v4 .kc:hover,body.v4 .cpill:hover{background:var(--btn);color:var(--on-btn);border-color:var(--btn)}
body.v4 .fbt.set{background:var(--btn);color:var(--on-btn)}
body.v4 .fbt .n{background:var(--em);color:#fff}
body.v4 .chip{background:var(--act);color:var(--ink)}
body.v4 .tg{border-color:var(--c-line);background:var(--em-soft);color:var(--em-deep)}
body.v4 .tg.g{background:var(--act);color:var(--ink2);border-color:transparent}
body.v4 .fld,body.v4 .opt,body.v4 .rooms,body.v4 .pop,body.v4 .lyr,body.v4 .sugg,body.v4 .dlg .box,body.v4 .note,body.v4 .panelc,body.v4 .st,body.v4 .empty,body.v4 .toast,body.v4 .mg,body.v4 .draw,body.v4 .drawbar,body.v4 .legend,body.v4 .maplibregl-popup-content{border-radius:var(--r)}
body.v4 .fld{border-color:var(--line-h)}body.v4 .fld:focus-within{border-color:var(--ink)}
body.v4 .opt input:checked{background:var(--btn);border-color:var(--btn)}
body.v4 .opt input:checked::after{border-color:var(--on-btn)}
body.v4 .tg2[aria-pressed=true],body.v4 .tg2[aria-checked=true]{background:var(--btn)}
body.v4 .hist i.in{background:var(--btn)}
body.v4 .toast{background:var(--rail);color:#fff}
body.v4 .num{font-variant-numeric:tabular-nums}

/* поле агента */
body.v4 .ai,body.v4 .q{border:1px solid var(--line-h);background:var(--card);box-shadow:none;border-radius:var(--r)}
body.v4 .ai:focus-within,body.v4 .q:focus-within{border-color:var(--ink);box-shadow:0 0 0 3px var(--em-soft)}
body.v4 .ai{height:56px;padding-inline-start:16px}
body.v4 .ai .sp,body.v4 .q .sp{color:var(--em)}
body.v4 .ai .send{width:44px;height:44px;border-radius:var(--r)}
body.v4 .q{height:48px;border-radius:var(--r)}
body.v4 .q .go{border-radius:var(--r-sm)}
body.v4 .q .chipq{background:var(--em-soft);color:var(--em-deep)}

/* ленты и карточки */
body.v4 .rh h2{font-family:var(--disp);font-weight:800;font-size:24px;line-height:30px;position:relative;gap:10px}
body.v4 .rh h2 i{display:none}
body.v4 .rh p{margin-inline-start:0;color:var(--ink3);font-size:13px}
body.v4 .more{color:var(--em-ink);font-weight:500}
body.v4 .tr{grid-auto-columns:236px;gap:16px}
body.v4 .grid{gap:16px}
body.v4 .cd{border:0;border-radius:var(--r);background:var(--card);box-shadow:var(--sh)}
body.v4 .cd:hover{box-shadow:var(--sh-lg);transform:translateY(-2px)}
body.v4 .cd.re,body.v4 .cd.car,body.v4 .cd.pr{border-color:transparent}
body.v4 .cd .ph{aspect-ratio:4/3}
body.v4 .cd .lk::after,body.v4 .rw .lk::after{border-radius:var(--r)}
body.v4 .cd .tx{padding:10px 12px 12px;gap:2px}
body.v4 .cd .pr b{font-family:var(--disp);font-weight:700;font-size:18px;line-height:24px}
body.v4 .cd .per{font-family:Heebo,system-ui,sans-serif;font-weight:400;font-size:12px}
body.v4 .cd .ln{font-size:13px;color:var(--ink2)}
body.v4 .cd .hb{border-radius:var(--r-sm);background:rgba(0,0,0,.45);border:0;color:#fff;top:8px;left:8px}
body.v4 .cd .hb.on{color:#ffb4b4}
body.v4 .cd .ph .cnt,body.v4 .rw .ph .cnt{border-radius:var(--r-sm);background:rgba(0,0,0,.5)}
body.v4 .nophoto{background:var(--band);color:var(--ink3)}
body.v4 .cd .nophoto,body.v4 .rw .nophoto{background:var(--band)!important;color:var(--ink3)!important}
body.v4 .skph,body.v4 .sk i{background-color:var(--act)}

/* плашка агента: изумрудная площадь */
body.v4 .bn{background:var(--em);border:0;color:#fff;border-radius:var(--r);padding:20px 22px;gap:18px}
body.v4 .bn .art{background:rgba(255,255,255,.14);border-radius:var(--r);color:#fff;background-image:none}
body.v4 .bn h3{font-family:var(--disp);font-weight:800;font-size:20px;line-height:26px;color:#fff}
body.v4 .bn p{color:#d1fae5}
body.v4 .bn .go{background:#fff;color:#000;border-radius:var(--r);height:44px;padding:0 18px;font-weight:500}
body.v4 .bn .go:hover{background:var(--em-soft);color:#000}
body.v4 .bn.sm{padding:14px 16px}
body.v4 .bn.sv,body.v4 .cbn{background:var(--act);color:var(--ink);border:0;border-radius:var(--r)}
body.v4 .cbn h3,body.v4 .bn.sv h3{color:var(--ink)}
body.v4 .cbn p,body.v4 .bn.sv p{color:var(--ink2)}

/* полоса фильтров и список с картой */
body.v4.splitpage .mq,body.v4.s4page .mq{display:none}
body.v4 .fb{border-bottom:1px solid var(--line);background:var(--card);min-height:72px;padding:0 24px;gap:10px}
body.v4 .split{height:calc(100vh - 72px);height:calc(100dvh - 72px)}
body.v4 .lst{border-inline-end:1px solid var(--line);background:var(--bg)}
body.v4 .lt h1{font-family:var(--disp);font-weight:800;font-size:30px;line-height:32px;letter-spacing:0}
/* крошки: 13 → 14 → 16 px (владелец 23.11.2026, дважды: «такие маленькие»); на телефоне 15 */
body.v4 .crumbs{font-size:16px}
@media (max-width:760px){body.v4 .crumbs{font-size:15px}}
body.v4 .st{border:0;background:var(--em-soft);border-radius:var(--r)}
body.v4 .st div+div{border-inline-start:1px solid rgba(4,120,87,.15)}
body.v4 .st small{color:var(--em-deep)}
body.v4 .st b{font-family:var(--disp);font-weight:700;color:var(--em-deep)}
body.v4 .rw{border:0;border-radius:var(--r);box-shadow:var(--sh);background:var(--card);grid-template-columns:200px 1fr;padding:0;padding-inline-end:16px;gap:16px;overflow:hidden}
body.v4 .rw:hover,body.v4 .rw.hot{box-shadow:var(--sh-lg);border:0}
body.v4 .rw.hot{outline:2px solid var(--em)}
body.v4 .rw .ph{border-radius:0;aspect-ratio:4/3}
body.v4 .rw .tx{padding:12px 0}
body.v4 .rw .l1 b{font-family:var(--disp);font-weight:700;font-size:20px;line-height:24px}
body.v4 .rw .l2{font-weight:500;font-size:15px}
body.v4 .rw .l3,body.v4 .rw .l4{color:var(--ink3);font-size:13px}
body.v4 .rw .nw{background:var(--em-soft);color:var(--em-deep);border-radius:var(--r-sm)}
body.v4 .rows.grid .rw{padding:0}
body.v4 .rows.panel{border:0;box-shadow:var(--sh);border-radius:var(--r)}
body.v4 .rows.panel .rw{box-shadow:none;border-radius:0;outline:0;padding:12px 16px 12px 12px;grid-template-columns:144px 1fr}
body.v4 .rows.panel .rw .ph{border-radius:var(--r-sm)}
body.v4 .rows.panel .rw.hot{box-shadow:inset 3px 0 0 var(--em)}
body.v4 .mk-p{border-radius:var(--r-sm);background:var(--em);color:#fff;border-color:var(--em);font-family:Heebo,system-ui,sans-serif;font-weight:500;font-size:13px;height:22px;padding:0 6px;box-shadow:var(--sh)}
body.v4 .mk-p::after{border-color:var(--em);background:var(--em)}
body.v4 .mk-p.ok{background:#fff;color:var(--em);border:2px solid var(--em);height:20px}
body.v4 .mk-p.ok::after{background:#fff;border-color:var(--em)}
body.v4 .mk-p.ok::before{background:var(--em)}
body.v4 .mk-p:hover,body.v4 .mk-p.hot,body.v4 .mk-p.on{background:var(--btn);color:var(--on-btn);border-color:var(--btn)}
body.v4 .mk-p:hover::after,body.v4 .mk-p.hot::after,body.v4 .mk-p.on::after{background:var(--btn);border-color:var(--btn)}
body.v4 .mk-p.seen{opacity:.75}
body.v4 .mk-city{border-radius:var(--r-sm);box-shadow:var(--sh);border:0;font-weight:500}
body.v4 .mk-city span{background:var(--em-soft);color:var(--em-deep)}
body.v4 .mg,body.v4 .draw{border:0;box-shadow:var(--sh)}
body.v4 .mg button{width:48px;height:48px}
body.v4 .mg button.on,body.v4 .draw.on{background:var(--btn);color:var(--on-btn)}
body.v4 .here{border-radius:var(--r)}
body.v4 .mk-me{background:var(--em)}

/* страницы разделов/категорий */
body.v4 .ph1 h1,body.v4 .ctop h1,body.v4 .csh h2,body.v4 .lmain h2,body.v4 .pp h1,body.v4 .pp h2,body.v4 .tt h1{font-family:var(--disp);font-weight:800;letter-spacing:0}
body.v4 .ph1 h1,body.v4 .ctop h1{font-size:30px;line-height:34px}
body.v4 .tab.on{border-color:var(--em);border-bottom-width:3px;color:var(--ink)}
body.v4 .tab .n{background:var(--em-soft);color:var(--em-deep)}
body.v4 .kid,body.v4 .tile,body.v4 .cat,body.v4 .mk,body.v4 .bd{border-radius:var(--r)}
body.v4 .kid.on,body.v4 .tile.on,body.v4 .cat.on{border-color:var(--btn)}
body.v4 .csum{background:var(--em-soft);border:0;border-radius:var(--r);color:var(--em-deep)}
body.v4 .csum svg{color:var(--em)}
body.v4 .bar2 i{background:var(--em-soft)}body.v4 .bar2 b{background:var(--em)}

/* страница объявления */
body.v4 .gal{border-radius:var(--r);gap:4px}
body.v4 .gal .all{border-radius:var(--r);background:#fff;color:#000;border:1px solid var(--line-h)}
body.v4 .tt h1{font-size:30px;line-height:34px}
body.v4 .lmain h2{font-size:24px;line-height:30px;font-weight:800}
body.v4 .lmain>section{border-top:0;padding:28px 0 4px}
body.v4 .facts div,body.v4 .pr-g div{border-radius:var(--r);background:var(--band)}
body.v4 .pcard{border:0;border-radius:var(--r);background:var(--band);box-shadow:none}
body.v4 .pcard .pr b{font-family:var(--disp);font-weight:800;font-size:28px;line-height:32px}
body.v4 .pcard .btn.p{height:48px;font-size:15px}
body.v4 .pcard .btn.o,body.v4 .sb{border-radius:var(--r);background:var(--card);border:1px solid var(--line-h)}
body.v4 .pcard .stt{color:var(--em-ink)}
body.v4 .scale .me i,body.v4 .scale .med{background:var(--em)}
body.v4 .scale .trk{background:var(--em-soft)}
body.v4 .lmap,body.v4 .lmap .cv{border-radius:var(--r)}
body.v4 .btabs a.on::after,body.v4 .bt-l.on::after{background:var(--em)}
body.v4 .sc,body.v4 .muni>ul>li{border-radius:var(--r);background:var(--band)}
body.v4 .mbar{box-shadow:0 -4px 16px rgba(0,0,0,.1);border:0}
body.v4 .mbar .btn.p{height:48px}
body.v4 .sel .av{background:var(--em-logo);color:#fff;font-family:var(--disp);font-weight:900}

/* главная v3 (если осталась) — герой проще */
body.v4 .hero{background:var(--bg);border-bottom:0}
body.v4 .hero:before{display:none}

/* ===== кабинет v4 (src/account_ui.tsx accountPage, LUN «мій ЛУН»): вкладки сверху, панели без рамок ===== */
.acc4{max-width:1280px;margin:0 auto;padding:12px 24px 80px;width:100%;box-sizing:border-box}   /* .v4p — колоночный flex: без width:100% блок с margin:auto раздувается до контента */
.atabs{display:flex;align-items:center;gap:2px;border-bottom:1px solid var(--line-h);margin:0 0 28px;overflow-x:auto;scrollbar-width:none}
.atabs::-webkit-scrollbar{display:none}
.atabs a{position:relative;display:inline-flex;align-items:center;gap:8px;height:60px;padding:0 18px;font-size:16px;color:var(--ink2);white-space:nowrap;flex:none}
.atabs a svg{width:18px;height:18px;color:var(--ink3)}
.atabs a:hover{color:var(--ink)}
.atabs a.on{color:var(--ink);font-weight:500}
.atabs a.on svg{color:var(--em)}
.atabs a.on::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--em);border-radius:3px 3px 0 0}
.atabs .n{min-width:20px;height:20px;border-radius:10px;background:var(--em);color:#fff;font-size:12px;font-weight:500;display:grid;place-items:center;padding:0 6px}
.atabs .n.k{background:var(--act);color:var(--ink2)}
.atabs .ext{margin-inline-start:4px;color:var(--em-deep)}
.who4{margin-inline-start:auto;display:flex;align-items:center;gap:10px;padding-inline-start:16px;flex:none}
.who4 i{width:36px;height:36px;border-radius:50%;background:var(--em-soft);color:var(--em-deep);display:grid;place-items:center;font-style:normal;font-weight:700;font-size:15px}
.who4 b{font-weight:500;font-size:14px;display:block;white-space:nowrap;max-width:160px;overflow:hidden;text-overflow:ellipsis}
.who4 small{font-size:12px;color:var(--ink3);display:block;direction:ltr;text-align:right}
.who4 .out{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:var(--ink3)}
.who4 .out:hover{background:var(--act);color:var(--ink)}
.amain{min-width:0}
body.v4.acc .pgh h1{font-family:var(--disp);font-weight:800;font-size:32px;line-height:36px;letter-spacing:0}
body.v4.acc .pgh p{font-size:15px}
body.v4.acc h2.sh{font-family:var(--disp);font-weight:800;font-size:22px;line-height:28px}
body.v4.acc .panel,body.v4.acc .ss,body.v4.acc .myl,body.v4.acc .claim{border:0;border-radius:var(--r);box-shadow:var(--sh)}
body.v4.acc .fltr button,body.v4.acc .fltr a{height:36px;padding:0 16px;border:0;border-radius:var(--r);background:var(--act);color:var(--ink);font-size:15px}
body.v4.acc .fltr button:hover,body.v4.acc .fltr a:hover,body.v4.acc .fltr button.on,body.v4.acc .fltr a.on{background:var(--btn);color:var(--on-btn)}
body.v4.acc .chp{border-radius:var(--r-sm);background:var(--band);color:var(--ink2)}
body.v4.acc .stt{border-radius:var(--r)}
body.v4.acc .mini .pic,body.v4.acc .ico{border-radius:var(--r-sm)}
body.v4.acc .qi .ico{background:var(--em-soft);color:var(--em-deep)}
body.v4.acc .htbl th{font-size:13px;color:var(--ink3);font-weight:500}
body.v4.acc .msg .bb{border-radius:var(--r)}
body.v4.acc .msg.me .bb{background:var(--em-soft);color:var(--ink)}
body.v4.acc .ib{height:calc(100dvh - 180px)}
/* שמורים — карточки на фото */
.sgrid4{align-items:start}
.sv4 .fc{--ar:4/3}
.sv4 .ctc{display:block;font-size:13px;color:var(--ink3);padding:8px 4px 0}
.sv4 .ctc a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.sv4.gone .fc .fph img{filter:grayscale(1);opacity:.75}
.sv4 .fc form{position:absolute;top:12px;inset-inline-start:12px;z-index:4}
.sv4 .fc .hb{position:static}
@media (max-width:1000px){
  .acc4{padding:0 16px 100px}
  .atabs{margin:0 -16px 20px;padding:0 8px;position:sticky;top:var(--mtop,0px);background:var(--bg);z-index:var(--z-bar)}
  .atabs a{height:52px;padding:0 12px;font-size:14px}
  .atabs a svg{display:none}
  .who4{display:none}
  body.v4.acc .pgh h1{font-size:26px;line-height:30px}
  .sgrid4{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;overflow:visible}
  .sgrid4>*{flex:none}
}
/* ===== страницы en/ru/fr (src/hubs_i18n.tsx) в оболочке v4: ltr-контент внутри main ===== */
.i18n4{width:100%;max-width:1180px;margin:0 auto;padding:18px 24px 40px;box-sizing:border-box;direction:ltr;text-align:left}
@media (max-width:1000px){.i18n4{padding:12px 16px 32px}}
/* ===== телефон ===== */
@media (max-width:1000px){
  :root{--rail-w:0px}
  nav.rail{display:none}
  .v4w{display:block}
  .mtop{display:flex;flex-direction:column;gap:2px;background:var(--rail);color:var(--rail-ink);padding:10px 12px 0}
  .mtop .mt1{display:flex;align-items:center;gap:10px;padding:0 4px 6px}
  .mtop .mlg{display:flex;align-items:center;gap:8px;color:#fff;flex:none}
  .mtop .mlg .wm{font-size:22px;color:#fff}
  .mtop .mq{flex:1;display:flex;justify-content:space-between;align-items:center;height:44px;background:#fff;color:var(--ink3);border-radius:var(--r);padding:0 14px;font-size:15px;min-width:0}
  .mtop .mq svg{width:20px;height:20px;color:#000}
  :root[data-theme=dark] .mtop .mq{background:var(--card)}
  .mtop nav{display:flex}
  .mtop nav a,.mtop nav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0 9px;color:var(--rail-ink);font-family:var(--disp);font-weight:700;font-size:10px;line-height:14px;position:relative}
  .mtop nav a.on,.mtop nav button.on{color:var(--rail-on)}
  .mtop nav a.on::after{content:'';position:absolute;left:20%;right:20%;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--rail-on)}
  body.v4{padding-bottom:92px}
  body.v4.nomb{padding-bottom:0}
  .mbot{display:flex;position:fixed;left:16px;right:16px;bottom:calc(14px + env(safe-area-inset-bottom));height:58px;background:var(--card);border-radius:var(--r);box-shadow:0 5px 15px rgba(0,0,0,.2);align-items:center;justify-content:space-around;z-index:var(--z-nav)}
  .mbot a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;font-weight:500;color:var(--ink);min-width:56px}
  .mbot a svg{width:22px;height:22px}
  .mbot a.on{color:var(--em-ink)}
  .mbot a.pub i{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:var(--btn);color:var(--on-btn);margin-top:-22px;box-shadow:var(--sh)}
  body.moreopen{overflow:hidden}
  .morep{inset-inline-start:0;width:100vw;padding:64px 20px 28px;gap:24px;transform:translateY(4%)}
  .mcols{grid-template-columns:minmax(0,1fr);gap:28px}
  .morep .ml{gap:18px;font-size:15px}
  .pjs{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}
  .pj small{font-size:12px;line-height:16px}
  .mft{flex-direction:column;align-items:stretch}
  .ft4{padding:20px 16px}
  .fw4{gap:12px}
  body.v4 .split{height:auto}
  body.v4 .fb{min-height:0;padding:10px 16px;position:sticky;top:0}
  body.v4 .rw{grid-template-columns:132px 1fr;padding-inline-end:12px;gap:12px}
  body.v4 .rw .l1 b{font-size:18px}
  body.v4 .mbar{bottom:0;padding-bottom:calc(12px + env(safe-area-inset-bottom))}
  body.v4:has(.mbar) .mbot{display:none}
  body.v4:has(.mbar){padding-bottom:0}
  body.v4 .tr{grid-auto-columns:200px}
  body.v4 .ph1 h1,body.v4 .ctop h1,body.v4 .tt h1,body.v4 .lt h1{font-size:26px;line-height:30px}
  body.v4 .rh h2{font-size:20px;line-height:24px}
  body.v4 .gal{border-radius:0;margin:0 -16px}
  body.v4 .lp .top{padding:10px 0}
}
@media (max-width:1000px) and (min-width:720px){.mtop .mt1{padding:0 8px 6px}}
@media (prefers-reduced-motion:reduce){.morep{transition:none}}

/* ===== главная v4 (src/home_v4.tsx) ===== */
body.v4 .w{max-width:1440px;padding:0 24px}
.h5{font-family:var(--disp);font-weight:800;font-size:24px;line-height:30px;margin:0;letter-spacing:0}
.h6{font-family:var(--disp);font-weight:700;font-size:20px;line-height:24px;margin:0;letter-spacing:0}
.muted{color:var(--ink3)}
.band4{background:var(--band)}
body.v4 .sec4{padding:32px 24px 56px}
.sh4{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.sh4 .h5{position:relative;padding-bottom:10px}
.sh4 .h5::after{content:'';position:absolute;inset-inline-start:0;bottom:0;width:28px;height:3px;border-radius:3px;background:var(--em)}
.sh4 .muted{font-size:13px}
.sh4 .btn{margin-inline-start:auto}
.sh4 .btn svg{width:18px;height:18px}
.sh4.row4{margin:28px 0 14px}
.sh4+.sh4.row4{margin-top:0}
body.v4 .btn.sec{display:inline-flex;gap:6px;background:var(--act);color:var(--ink);border-color:var(--act)} /* .sec в v3ui — grid-блок раздела, текст уезжал вверх */
body.v4 .btn.sec:hover{background:var(--btn);color:var(--on-btn);border-color:var(--btn)}
body.v4 .btn.out{background:var(--card);color:var(--ink);border:1px solid var(--line-h)}
body.v4 .btn.out:hover{background:var(--btn);color:var(--on-btn);border-color:var(--btn)}
.g4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.g6{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
/* первый экран */
body.v4 .h4top{display:flex;flex-direction:column;gap:20px;padding-top:24px;padding-bottom:32px}
.h4l{display:flex;flex-direction:column;gap:16px}
.citysel{position:relative;display:flex;align-items:center;height:48px;border:1px solid var(--line-h);border-radius:var(--r);background:var(--card)}
.citysel select{appearance:none;flex:1;height:100%;border:0;outline:0;background:transparent;padding:0 16px;font:inherit;font-size:16px;color:var(--ink);cursor:pointer}
.citysel svg{position:absolute;inset-inline-end:14px;top:14px;transform:rotate(-90deg);pointer-events:none;width:20px;height:20px}
.citysel:focus-within{border-color:var(--ink)}
/* главная (23.11.2026): недвижимость — ряд из шести плиток; авто и товары — отдельные мятные блоки в одном ряду с баннером агента */
.reb{display:flex;flex-direction:column;gap:10px}
.tg4.re6{grid-template-columns:repeat(6,minmax(0,1fr))}
.re6 .tile4 .ti3{width:min(140px,100%);height:auto;aspect-ratio:1}
.row3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cat2{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr;grid-template-areas:"h i" "l i";gap:10px 12px;background:var(--em-soft);border-radius:var(--r);padding:18px;min-height:220px;min-width:0}
.cat2 h2{grid-area:h;font-size:24px;line-height:28px}
.cat2 h2 a{color:inherit;text-decoration:none}
.cat2 h2 a:hover{color:var(--em-h)}
:root[data-theme=dark] .cat2 h2 a:hover{color:var(--em-ink)}
.cat2 .ci{grid-area:i;align-self:center;display:block}
.cat2 .ti3{display:block;width:clamp(110px,13vw,170px);height:auto;aspect-ratio:1;object-fit:contain;transition:transform .2s}
.cat2:hover .ti3{transform:scale(1.04) translateY(-2px)}
.cat2 .cl{grid-area:l;align-self:end;display:flex;flex-direction:column;align-items:flex-start;gap:6px;font-size:14px}
.cat2 .cl a{color:var(--em-h);text-decoration:underline;text-underline-offset:3px}
.cat2 .cl a:first-child{font-weight:500}
.cat2 .cl a:hover{color:var(--ink)}
:root[data-theme=dark] .cat2 .cl a{color:var(--em-ink)}
.row3 .agentb{min-height:220px;padding:24px}
.row3 .agentb h1{font-size:24px;line-height:28px}
.tgn{font:inherit;font-weight:400;color:var(--ink3)}
.tg4{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tile4{display:flex;flex-direction:column;justify-content:space-between;gap:8px;background:var(--band);border-radius:var(--r);padding:14px;min-height:208px;color:var(--ink);transition:background .15s,transform .15s}
.tile4:hover{background:var(--act);color:var(--ink);transform:translateY(-2px)}
.tile4 svg{align-self:center;width:52px;height:52px;color:var(--em)}
.tile4 .ti3{align-self:center;width:140px;height:140px;object-fit:contain;transition:transform .2s}
.tile4:hover .ti3{transform:scale(1.06) translateY(-2px)}
.tile4{min-width:0}
.tile4 span{font-weight:500;overflow-wrap:break-word}   /* «Коммерческая» — мягкий перенос в словаре (home.ts), min-width:0 не даёт распереть сетку */
.tile4 small{display:block;font-size:12px;color:var(--ink3);font-weight:400}
:root[data-scheme=c] .tile4{background:var(--card)}
.agentb{background:var(--em);border-radius:var(--r);padding:40px;min-height:380px;display:flex;flex-direction:column;justify-content:space-between;gap:24px;color:#fff;position:relative;overflow:hidden}
.agentb::before{content:'d';position:absolute;inset-inline-start:-20px;bottom:-70px;font-family:var(--disp);font-weight:900;font-size:300px;line-height:1;color:rgba(255,255,255,.06);pointer-events:none}
.agentb>div{display:flex;flex-direction:column;gap:12px;position:relative}
.agentb .kick{display:inline-flex;align-self:flex-start;align-items:center;gap:6px;background:var(--em-deep);border-radius:var(--r-sm);padding:2px 10px;font-size:13px}
.agentb h1{margin:0;font-weight:900;font-size:36px;line-height:40px;color:#fff}
.agentb p{margin:0;font-size:15px;line-height:22px;max-width:440px;color:#d1fae5}
.agentb form{display:flex;gap:8px;flex-wrap:wrap;position:relative}
.agentb label{flex:1 1 260px;display:flex;align-items:center;gap:10px;height:48px;background:#fff;border-radius:var(--r);padding:0 14px;color:#000}
.agentb label .sp{color:var(--em);display:flex}
.agentb input{border:0;outline:0;flex:1;font:inherit;font-size:16px;min-width:0;background:transparent;color:#000}
body.v4 .agentb input:focus-visible{outline:0}
.agentb label:focus-within{box-shadow:0 0 0 2px #1c1c1c}
.agentb .btn{background:#000;color:#fff}
.agentb>a.btn{align-self:flex-start;position:relative}
.agentb .btn:hover{background:#4b4f5e}
.agentb .btn.on{background:var(--err)}
.agentb .sugw{position:relative;flex:1 1 100%}
.agentb .sug{position:absolute;top:4px;inset-inline:0;z-index:var(--z-pop);background:var(--card);color:var(--ink);border-radius:var(--r);box-shadow:var(--sh-lg);padding:6px;display:flex;flex-direction:column}
.agentb .sug .sg{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;border-radius:var(--r-sm);font-size:14px;color:var(--ink);text-align:start}
.agentb .sug .sg:hover,.agentb .sug .sg.on{background:var(--hov)}
.agentb .sug small{color:var(--ink3)}
/* карточка на фото */
/* карточка с фото: подпись и цена ПОД фото, на фото — только ярлыки, сердечко и стрелки (владелец 15.11.2026: параметры не поверх фото) */
.fc{position:relative;border-radius:var(--r);overflow:hidden;background:var(--card);color:var(--ink);display:flex;flex-direction:column;box-shadow:var(--sh);transition:transform .2s var(--ease),box-shadow .2s}
.fc:hover{transform:translateY(-2px);box-shadow:var(--sh-lg)}
.fc .fph{position:relative;aspect-ratio:var(--ar,4/3);overflow:hidden;background:linear-gradient(160deg,#caccd8,#9396a8);color:#fff}
.fc .fph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.fc:hover .fph img{transform:scale(1.03)}
.fc[data-pics] .fph::after{content:'';position:absolute;inset:auto 0 0 0;height:28%;background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.35));pointer-events:none;z-index:1}
.fc .lk{position:absolute;inset:0;z-index:2}
.fc .fl{position:absolute;top:0;inset-inline:0;z-index:3;display:flex;gap:4px;flex-wrap:wrap;padding:12px;pointer-events:none}
.fc .fb4{position:relative;z-index:1;display:flex;flex-direction:column;gap:2px;padding:12px 14px 14px;pointer-events:none}
.fc .fb4 small{font-size:13px;line-height:20px;color:var(--ink3)}
.fc .fb4 .tt{font-weight:500;font-size:15px;line-height:22px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.fc .fb4 b{font-family:var(--disp);font-weight:700;font-size:20px;line-height:24px}
.fc.big .fb4 b{font-size:22px;line-height:28px}
.fc .nophoto{position:absolute;inset:0;background:var(--band);color:var(--ink3)}
.fhb{position:absolute;top:10px;inset-inline-end:10px;z-index:4;width:32px;height:32px;border-radius:var(--r-sm);background:rgba(0,0,0,.35);color:#fff;backdrop-filter:blur(4px)}
.fhb:hover{background:rgba(0,0,0,.55);color:#fff}
.fhb.on{color:#ffb4b4}
.lbl{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:var(--r-sm);background:rgba(0,0,0,.5);backdrop-filter:blur(4px);color:#fff;font-size:13px;white-space:nowrap}
.lbl.g{background:var(--em-lite);color:#000}
/* карточка с содержимым */
.rc{position:relative;border-radius:var(--r);overflow:hidden;background:var(--card);box-shadow:var(--sh);display:flex;flex-direction:column;transition:transform .2s var(--ease),box-shadow .2s}
.rc:hover{transform:translateY(-2px);box-shadow:var(--sh-lg)}
.rc .ph{position:relative;aspect-ratio:3/4;background:linear-gradient(160deg,#d5d8e2,#9396a8);display:flex;flex-direction:column;justify-content:space-between;padding:16px;color:#fff;overflow:hidden}
.rc .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rc[data-pics] .ph::after{content:'';position:absolute;inset:auto 0 0 0;height:28%;background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.35));pointer-events:none}
.rc .ph>*{position:relative;z-index:1}
.rc .ph:hover{color:#fff}
.rc .fl{display:flex;gap:4px;flex-wrap:wrap}
.rc .pa{display:flex;flex-direction:column;gap:2px;color:var(--ink);min-width:0}
.rc .pa:hover{color:var(--ink)}
.rc .pl{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.rc .pl b{font-family:var(--disp);font-weight:700;font-size:20px;line-height:24px}
.rc .pl small{font-size:13px;color:var(--ink3)}
.rc .pl .np{color:var(--ink2)}
.rc .ad{font-weight:500}
.rc .nophoto{position:absolute;inset:0;background:var(--band);color:var(--ink3);justify-content:center}
.rc.nop .ph{background:var(--band);color:var(--ink)}
.rc.nop .ph::after{display:none}
.rc.nop .ph:hover{color:var(--ink)}
.rca{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:var(--r-sm);border:0;background:#000;color:#fff;display:grid;place-items:center;cursor:pointer;z-index:2;opacity:0;transition:opacity .15s,background .15s;inset-inline-start:8px}
.rc .ph>.rca{position:absolute}
.rca.nx{inset-inline-start:auto;inset-inline-end:8px}
.rca.pv svg{transform:scaleX(-1)}
[dir=ltr] .rca.pv svg{transform:none}[dir=ltr] .rca.nx svg{transform:scaleX(-1)}
.rc:hover .rca,.fc:hover .rca,.rc:focus-within .rca{opacity:1}
.rca:hover{background:#4b4f5e}
@media (hover:none){.rca{opacity:1;background:rgba(0,0,0,.6)}}
.rc .rcb{padding:14px 16px 16px;display:flex;flex-direction:column;gap:10px;font-size:13px;line-height:20px}
.rc .geo{display:flex;gap:4px;flex-wrap:wrap}
.rc .geo a{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--r-sm);background:var(--band);color:var(--ink3);font-size:13px}
.rc .geo a:hover{background:var(--act);color:var(--ink)}
.rc .geo span{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--r-sm);background:var(--band);color:var(--ink3);font-size:13px}
.rc .pa .sm{font-size:13px;color:var(--ink3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rc.mkc .ad{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.rc .ds{margin:0;color:var(--ink2);max-height:40px;overflow:hidden}
.rc .props{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.rc .props span{display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc .props svg{width:20px;height:20px;flex:none;color:var(--ink3)}
.rc .dt{display:flex;justify-content:space-between;color:var(--ink3);font-size:12px}
/* статистика цен: тёмные блоки */
.stat{background:var(--stat);color:#fff;border-radius:var(--r);padding:22px 16px 16px;display:flex;flex-direction:column;gap:12px}
.stat .cn{font-family:var(--disp);font-weight:800;font-size:24px;line-height:30px}
.stat .row{display:flex;justify-content:space-between;align-items:baseline;gap:8px;border-top:1px solid var(--stat-line);padding-top:12px;font-size:14px}
.stat .row .sn{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stat .row .pr{min-width:5.2em;text-align:end;white-space:nowrap}
.stat .row b{font-family:var(--disp);font-weight:700;font-size:20px}
.stat .row small{color:#aeaeae}
.stat .cnt{font-size:12px;color:#aeaeae;white-space:nowrap}
.stat .stl{color:var(--em-lite);font-size:13px;font-weight:500;margin-top:4px}
.stat .stl:hover{color:#fff}
/* города */
.cities{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.cities a{display:flex;justify-content:space-between;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:12px 16px;color:var(--ink)}
.cities a:hover{border-color:var(--ink)}
.cities a span{font-weight:500}.cities a small{color:var(--ink3);font-size:13px}
/* блок «есть квартира?» */
.sub4{background:var(--act);border-radius:var(--r);padding:35px 50px;display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.sub4>div{display:flex;flex-direction:column;gap:12px;max-width:560px}
.sub4 h2{margin:0;font-weight:800;font-size:30px;line-height:34px}
.sub4 p{margin:0}
.sub4 .acts{display:flex;gap:8px;flex-wrap:wrap}
:root[data-scheme=c] .sub4,:root[data-scheme=c] .cities a{background:var(--card)}
@media (max-width:1240px){.g6{grid-template-columns:repeat(4,minmax(0,1fr))}.cities{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:1000px){
  body.v4 .w{padding:0 16px}
  body.v4 .sec4{padding:24px 16px 32px}
  body.v4 .h4top{padding:16px 16px;gap:16px}
  .citysel{display:none}
  .tg4.re6{grid-template-columns:repeat(3,minmax(0,1fr))}
  .row3{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .row3 .agentb{grid-column:1/-1;min-height:0;padding:20px}
  .cat2{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;grid-template-areas:"h" "i" "l";padding:12px;min-height:0}
  .cat2 h2{font-size:20px;line-height:24px}
  .cat2 .ci{justify-self:center}
  .cat2 .ti3{width:104px}
  .tg4{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .tile4{min-height:132px;padding:10px;font-size:14px}
  .tile4 svg{width:40px;height:40px}
  .tile4 .ti3{width:88px;height:88px;max-width:100%}
  .tile4 small{display:none}
  .agentb{padding:20px;min-height:0;gap:16px}
  .agentb h1{font-size:26px;line-height:30px}
  .agentb p{font-size:13px}
  .agentb form{flex-wrap:nowrap}
  .agentb form .btn{width:48px;padding:0;flex:none}
  .agentb form .btn span,.agentb form .btn[type=submit]{display:none}
  .g4,.g6,.cities{display:flex;overflow-x:auto;scrollbar-width:none;gap:10px;margin:0 -16px;padding:0 16px 4px;scroll-snap-type:x proximity}
  .g4::-webkit-scrollbar,.g6::-webkit-scrollbar{display:none}
  .g4>*,.g6>*{flex:0 0 260px;scroll-snap-align:start}
  .g6>*{flex-basis:200px}
  .g4.stats>*{flex-basis:230px}
  .g4.rcs>*{flex-basis:280px}
  .cities{display:flex;flex-wrap:wrap;margin:0;padding:0;gap:8px}
  .cities a{border:0;background:var(--act);height:36px;padding:0 14px;border-radius:999px;gap:8px}
  .sh4{margin-bottom:12px;gap:10px}
  .sh4 .h5{font-size:20px;line-height:24px;padding-bottom:8px}
  .sh4 .btn{height:32px;padding:0 12px;font-size:13px}
  .sh4 .muted{flex:1 1 100%;order:3}
  .sub4{padding:20px}
  .sub4 h2{font-size:24px;line-height:28px}
  .sub4 svg{display:none}
  .stat{padding:16px 14px}
  .stat .cn{font-size:20px}
}

/* ===== поиск v4 (src/search_v4.tsx; LUN: список ≤756px + липкая карта 50 %, карточки 2 в ряд, панель фильтров поверх) ===== */
.disp{font-family:var(--disp);letter-spacing:0}
body.v4 .btn.out{background:var(--card);color:var(--ink);border:1px solid var(--line-h)}
body.v4 .btn.out:hover{background:var(--btn);color:var(--on-btn);border-color:var(--btn)}
.v4p>.s4{width:100%}
.s4{display:flex;align-items:flex-start}
.s4l{flex:1 0 50%;max-width:756px;min-width:0;padding:24px;display:flex;flex-direction:column;gap:20px;box-sizing:border-box}
.s4 .mp{flex:1 1 50%;min-width:0;position:sticky;top:0;height:100vh;height:100dvh;overflow:hidden}
/* разделитель список | карта (13.11.2026): линия 1px, хватается полосой 9px; тянуть — ширина списка (--lw), до края — карта прячется */
.spl{flex:none;position:sticky;top:0;z-index:6;width:9px;margin-inline:-4px;height:100vh;height:100dvh;cursor:col-resize;touch-action:none;outline:0}
.spl::before{content:"";position:absolute;inset-block:0;inset-inline-start:4px;width:1px;background:var(--line);transition:background .15s,width .15s,inset-inline-start .15s}
.spl:hover::before,.spl:focus-visible::before,body.splitting .spl::before{inset-inline-start:3px;width:3px;background:var(--em)}
body.splitting{cursor:col-resize;user-select:none}
body.splitting .mp{pointer-events:none}
.s4.sized .s4l{flex:0 0 var(--lw);max-width:none}
.s4.mapoff .mp,.s4.mapoff .here,.s4.mapoff .cityonly{display:none}
.s4.mapoff .s4l{flex:1 1 auto;max-width:1180px;margin:0 auto}
.s4.mapoff .spl{order:9}
body.v4 .s4.sized .rows:not(.wide),body.v4 .s4.mapoff .rows:not(.wide){grid-template-columns:repeat(auto-fill,minmax(max(250px,calc((100% - 26px) / 3)),1fr))}
.srow{display:flex;gap:8px;flex-wrap:wrap;position:relative;z-index:var(--z-bar)}
body.v4 .q4{flex:1 1 360px;width:auto;min-width:0;height:48px;padding:0;gap:0;border-radius:var(--r);overflow:visible}
body.v4 .q4 .cb{display:flex;align-items:center;gap:6px;height:100%;max-width:46%;padding:0 12px;border-inline-end:1px solid var(--line-h);font-size:15px;white-space:nowrap;color:var(--ink);border-radius:var(--r) 0 0 var(--r)}
body.v4 .q4 .cb span{overflow:hidden;text-overflow:ellipsis}
body.v4 .q4 .cb svg{color:var(--em);flex:none}
body.v4 .q4 .cb:hover{background:var(--band)}
/* комбобокс места (client/map.ts openCity): кнопка-город открывает поле с вводом и списком мест под собой */
body.v4 .q4 .cbw{position:relative;display:flex;height:100%;max-width:46%;flex:none}
body.v4 .q4 .cbw .cb{max-width:100%;min-width:0}
body.v4 .q4 .cb[aria-expanded="true"]{background:var(--band)}
.cityp{position:absolute;top:calc(100% + 4px);inset-inline-start:-1px;z-index:var(--z-pop);width:300px;max-width:calc(100vw - 32px);background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:0 12px 40px rgba(0,0,0,.10);padding:6px;box-sizing:border-box}
.cityp input{width:100%;height:40px;padding:0 12px;border:1px solid var(--line-h);border-radius:var(--r-sm);background:var(--card);color:var(--ink);font-size:15px;box-sizing:border-box}
body.v4 .q4 .cityp input{height:40px;padding:0 12px}
.cityp input:focus{outline:none;border-color:var(--ink)}
.cityl{max-height:320px;overflow-y:auto;margin-top:6px}
.cityl button{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border-radius:var(--r-sm);text-align:start;font-size:14px;color:var(--ink)}
.cityl button:hover,.cityl button.on{background:var(--hov,var(--band))}
.cityl button.cur{font-weight:600}
.cityl button svg{color:var(--ink3);flex:none}
.cityl button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cityl small{color:var(--ink3);font-size:12px;margin-inline-start:auto}
.cityl .none{padding:8px 10px;color:var(--ink3);font-size:14px}
body.v4 .q4 input{padding:0 12px;font-size:15px;height:100%}
body.v4 .q4 .go{width:40px;height:40px;margin-inline-end:4px;border-radius:var(--r-sm);flex:none}
body.v4 .q4 .sugg{border-radius:var(--r);top:calc(100% + 4px)}
body.v4 .q4 input:focus,body.v4 .q4 input:focus-visible{outline:none;box-shadow:none}   /* фокус — рамка всего поля, не браузерное кольцо вокруг input */
body.v4 .q4:focus-within{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
body.v4 .btn.fbtn,.fbtn{height:48px;padding:0 16px;gap:8px;flex:none}   /* та же высота, что у поля поиска (.q4 48px); body.v4 .btn давал 40 */
.fcnt{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--em);color:#fff;font-size:12px;font-weight:500;line-height:1}
.fcnt[hidden]{display:none}
.fbtn:hover .fcnt{background:#fff;color:#000}
.tchips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:-2px 0}
.tchips::-webkit-scrollbar{display:none}
.chip4{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 16px;border-radius:var(--r);background:var(--act);color:var(--ink);font-size:15px;white-space:nowrap;border:0;cursor:pointer;font-family:inherit;flex:none;transition:background .15s,color .15s}
.chip4:hover,.chip4.on{background:var(--btn);color:var(--on-btn)}
.chip4.sm{height:32px;font-size:13px;padding:0 12px}
.chip4.ic{padding:0 10px}
.chip4.ok{background:var(--em);color:#fff}
.chip4.on svg,.chip4:hover svg{color:inherit}
.lh4{display:flex;flex-direction:column;gap:12px}
.lh4 .crumbs{font-size:14px;color:var(--ink3)}
.lh4 .crumbs b.s{color:var(--ink)}
body.v4 .lh4 .lt{align-items:flex-start;margin:0;gap:16px}
body.v4 .lh4 .lt{display:flex}body.v4 .lh4 .lt>div{min-width:0}body.v4 .lh4 .lt .tact{margin-inline-start:auto;flex:none;white-space:nowrap}
@media (max-width:600px){body.v4 .lh4 .lt .tact span{display:none}body.v4 .lh4 .lt .tact{padding:0 12px}}
body.v4 .lt h1{font-family:var(--disp);font-weight:800;font-size:30px;line-height:32px;letter-spacing:0}
body.v4 .lh4 .lt p{font-size:13px;margin-top:6px;color:var(--ink3)}
.lh4 .tools{display:flex;gap:8px;flex:none}
body.v4 .lh4 .save{height:36px;border:0;border-radius:var(--r);background:var(--act);color:var(--ink);font-size:15px;padding:0 12px}
body.v4 .lh4 .save:hover{background:var(--btn);color:var(--on-btn)}
body.v4 .lh4 .save.on{background:var(--em-soft);color:var(--em-deep)}
.srt{display:flex;gap:8px 12px;align-items:center;font-size:14px;flex-wrap:wrap}
.sel4 .muted{display:none}   /* «Сортировка:» лишнее — сам select говорит, что он сортирует; панель в одну строку */
.sel4 select:focus-visible{outline:0;box-shadow:inset 0 0 0 1px var(--line-h)}
.srt .tools{margin-inline-start:auto}
.srt.tight .tools .chip4.ic span{display:none}
.sel4{display:inline-flex;align-items:center;gap:8px}
.sel4 select{appearance:none;-webkit-appearance:none;height:36px;border:0;border-radius:var(--r);background:var(--act) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;color:var(--ink);font:inherit;font-size:14px;padding:0 32px 0 12px;cursor:pointer}
[dir=rtl] .sel4 select{background-position:left 10px center;padding:0 12px 0 32px}
.pho4{display:inline-flex;align-items:center;gap:8px;height:36px;cursor:pointer;color:var(--ink);white-space:nowrap}
.pho4 input{width:18px;height:18px;margin:0;accent-color:var(--em);cursor:pointer}
.srt .muted{color:var(--ink3)}
.chw{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.chw:has(.chips:empty){display:none}
body.v4 .chw .chips{margin:0}
body.v4 .chw .chip{height:32px;border-radius:var(--r);background:var(--band);color:var(--ink);padding:0 6px 0 12px;font-size:13px;border:1px solid var(--line)}
.chw .clr{font-size:13px;color:var(--ink2);text-decoration:underline}
body.v4 .cityonly{font-size:13px;margin:0;color:var(--ink3)}
body.v4 .st[hidden]{display:none}
body.v4 .s4 .rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:0;align-items:start}
.s4 .rows .rc{border:1px solid var(--act);box-shadow:none;transform:none;cursor:pointer}
.s4 .rows .rc:hover{box-shadow:var(--sh);transform:none}
.s4 .rows .rc.hot{box-shadow:0 0 0 2px var(--em)}
.rc .ad{font-weight:500;font-size:15px;line-height:22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rc .dots,.fc .dots{display:flex;gap:4px;justify-content:center;margin-top:4px}
.rc .ph .dots{position:absolute;left:0;right:0;bottom:12px;margin:0;z-index:1}
.fc .fph .dots{position:absolute;left:0;right:0;bottom:10px;margin:0;z-index:2}
.rc .dots i,.fc .dots i{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.6);display:block}
.rc .dots i.on,.fc .dots i.on{width:7px;height:7px;background:#fff;margin-top:-1px}
.rc .pl small{font-size:13px;font-weight:400}
.rc .pl .np{font-size:15px;font-weight:500}
.rc .rcb{padding:14px 16px 16px;gap:10px;font-size:13px;line-height:22px}
.rc .rcb .pa{margin-bottom:2px}
.rc .ds{max-height:44px;color:var(--ink2);line-height:22px}
.rc .geo a[data-geo]{cursor:pointer}
.blk,.agentb4,.more4,.empty.e4{grid-column:1/-1}
.blk{display:flex;flex-direction:column;gap:14px;padding:8px 0}
.blk .h5{font-size:24px;line-height:30px}
.blk .muted{margin:0;font-size:13px;color:var(--ink3)}
.blk .bh{display:flex;justify-content:space-between;align-items:center;gap:12px}
.chips4{display:flex;gap:8px;flex-wrap:wrap}
/* ряд ссылок под плитками города — всегда одной строкой, лишнее прокручивается вбок (владелец 20.11.2026) */
.chips4.one{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;min-width:0}.chips4.one::-webkit-scrollbar{display:none}
.pform{display:flex;gap:8px;flex-wrap:wrap}
body.v4 .pform .fld.fill{flex:1 1 120px;background:var(--act);border-color:var(--act);border-radius:var(--r);height:48px;padding:6px 14px;display:flex;flex-direction:column;justify-content:center}
body.v4 .pform .fld.fill:focus-within{border-color:var(--ink)}
body.v4 .pform .fld input{font-size:16px}
body.v4 .pform .btn{flex:1 1 160px;height:48px}   /* body.v4 .btn даёт 40px и перебивает .pform .btn — поля и кнопка одной высоты */
.scs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.scs.n2{grid-template-columns:repeat(2,minmax(0,1fr))}
.scs>.sc{background:var(--em-soft);border-radius:var(--r);padding:16px;display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--em-deep);min-width:0;white-space:normal;overflow-wrap:anywhere}
.scs>.sc b{font-family:var(--disp);font-size:28px;line-height:32px;font-weight:800;color:var(--ink);white-space:nowrap;letter-spacing:-.01em}
.scs>.sc .muted{font-size:12px;color:var(--em-deep);opacity:.8}
:root[data-theme=dark] .scs>.sc{color:var(--ink2)}:root[data-theme=dark] .scs>.sc .muted{color:var(--ink3)}
body.v4 .btn.sq{width:48px;padding:0;flex:none}
body.v4 .more4{height:48px;justify-content:center;margin:0;width:100%}
.agentb4{background:var(--act);border-radius:var(--r);padding:24px;display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.agentb4>div{flex:1 1 300px;display:flex;flex-direction:column;gap:6px}
.agentb4 b{font-family:var(--disp);font-size:20px;line-height:26px;font-weight:800}
.agentb4 .muted{font-size:13px;color:var(--ink2)}
body.v4 .empty.e4{border:1px dashed var(--line-h);border-radius:var(--r);background:var(--card)}
.sk4{border:1px solid var(--act);pointer-events:none}
.sk4 .ph{aspect-ratio:3/4;background:var(--act);animation:skp 1.2s ease-in-out infinite}
.sk4 .rcb i{display:block;height:12px;border-radius:4px;background:var(--act)}
@keyframes skp{50%{opacity:.55}}
.sf4{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--ink3);padding-top:12px;border-top:1px solid var(--act)}
.sf4 a{color:var(--ink3)}.sf4 a:hover{color:var(--ink)}
body.v4 .s4 .lf{padding:0;font-size:12.5px;color:var(--ink3)}
/* переключатель презентации списка נדל״ן (решение владельца 06.11.2026): карточки 2 в ряд / широкие строки как у Rieltor/LUN */
.vw4{display:flex;gap:2px;padding:3px;border-radius:var(--r);background:var(--act);flex:none}
.vw4 button{width:34px;height:30px;border:0;border-radius:6px;background:none;color:var(--ink3);display:grid;place-items:center;cursor:pointer}
.vw4 button svg{width:18px;height:18px}
.vw4 button:hover{color:var(--ink)}
.vw4 button.on{background:var(--card);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}
body.v4 .s4 .rows.wide{grid-template-columns:1fr;gap:16px}
.rc.wide{flex-direction:row;align-items:stretch}
.rc.wide .wph{flex:0 0 46%;max-width:46%;display:flex;flex-direction:column;gap:6px;padding:12px;padding-inline-end:0;box-sizing:border-box}
.rc.wide .ph{aspect-ratio:1/1;border-radius:var(--r-sm);justify-content:flex-start;padding:10px}
.rc.wide .ph::after{height:36%}
.rc.wide .ph .cnt{position:absolute;bottom:10px;inset-inline-start:10px;display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:500;z-index:1}
.rc.wide .ph .dots{position:absolute;left:0;right:0;bottom:14px;margin:0}
.rc.wide .thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.rc.wide .thumbs button{border:0;padding:0;aspect-ratio:3/2;border-radius:var(--r-sm);overflow:hidden;cursor:pointer;background:var(--act)}
.rc.wide .thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.rc.wide .wtx{flex:1 1 auto;min-width:0;padding:14px 16px;display:flex;flex-direction:column;gap:8px;font-size:13px;line-height:20px}
.rc.wide .wl1{display:flex;align-items:center;gap:10px}
.rc.wide .wl1 .pl b{font-size:24px;line-height:28px}
.rc.wide .wl1 .ppm{color:var(--ink3);font-size:13px}
.rc.wide .whb{position:static;margin-inline-start:auto;width:32px;height:32px;border:0;border-radius:var(--r-sm);background:none;color:var(--ink2);display:grid;place-items:center;cursor:pointer;flex:none}
.rc.wide .whb:hover{background:var(--act);color:var(--ink)}
.rc.wide .whb.on{color:#d13b3b}
.rc.wide .wt{font-family:var(--disp);font-weight:700;font-size:18px;line-height:24px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rc.wide .wt:hover{color:var(--em-ink)}
.rc.wide .props{gap:6px 12px}
.rc.wide .dt{justify-content:flex-start;gap:12px}
.rc.wide .ds{max-height:60px;line-height:20px}
.rc.wide .wft{margin-top:auto;display:flex;justify-content:flex-end;padding-top:4px}
.rows.wide .sk4{flex-direction:row}
.rows.wide .sk4 .ph{flex:0 0 46%;aspect-ratio:1/1}
.rows.wide .sk4 .rcb{flex:1}
@media (max-width:725px){
  .vw4{display:none}
  .rc.wide{flex-direction:column}
  .rc.wide .wph{flex:none;max-width:none;padding:0}
  .rc.wide .ph{aspect-ratio:4/3;border-radius:0}
  .rc.wide .thumbs{display:none}
  .rc.wide .wt{white-space:normal}
}
/* карта: контролы 48px внизу слева (зеркало LUN), слои рядом */
body.v4 .s4 .mc{top:auto;bottom:16px;left:16px;gap:8px}
body.v4 .s4 .mg{border:0;border-radius:var(--r-sm);box-shadow:0 0 4px rgba(0,0,0,.05),0 4px 8px rgba(0,0,0,.1);background:var(--card)}
body.v4 .s4 .mg button{width:48px;height:48px}
body.v4 .s4 .mg button+button{border-top:1px solid var(--act)}
body.v4 .s4 .mg button.on,body.v4 .s4 .mg .draw.on{background:var(--btn);color:var(--on-btn)}
body.v4 .s4 .draw{position:static;height:48px;width:48px;padding:0;border:0;box-shadow:none;border-radius:0;justify-content:center;display:grid;place-items:center;background:var(--card);color:var(--ink);font-size:0;gap:0}
body.v4 .s4 .draw svg{width:20px;height:20px}
body.v4 .s4 .drawbar{top:auto;bottom:16px;left:72px;right:auto;border-radius:var(--r)}
body.v4 .s4 .lyr{top:auto;bottom:16px;left:72px;border-radius:var(--r)}
body.v4 .s4 .here{top:16px;height:40px;border-radius:var(--r)}
body.v4 .s4 .legend{bottom:16px;right:16px;border-radius:var(--r-sm);border:0;box-shadow:0 0 4px rgba(0,0,0,.05),0 4px 8px rgba(0,0,0,.1)}
body.v4 .s4 .mstat{bottom:72px;border-radius:var(--r)}
/* панель фильтров: поверх списка, карта видна */
.fsheet{position:fixed;top:0;bottom:0;inset-inline-start:var(--rail-w);width:756px;max-width:calc(100vw - var(--rail-w));background:var(--card);color:var(--ink);z-index:var(--z-modal);display:flex;flex-direction:column;box-shadow:0 0 6px rgba(0,0,0,.05),0 4px 16px rgba(0,0,0,.1);transform:translateX(8%);opacity:0;transition:transform .25s var(--ease),opacity .2s}
.fsheet.open{transform:none;opacity:1}
.fsheet[hidden]{display:none}
.fsheet header{display:flex;align-items:center;justify-content:center;height:64px;border-bottom:1px solid var(--line-h);position:relative;flex:none}
.fsheet h2{margin:0;font-family:var(--disp);font-weight:700;font-size:20px}
.fsheet #fclose{position:absolute;inset-inline-end:16px;top:12px;width:40px;height:40px;border-radius:var(--r);display:grid;place-items:center;color:var(--ink)}
.fsheet #fclose:hover{background:var(--act)}
.fsb{flex:1;overflow-y:auto;padding:0 24px 24px;display:flex;flex-direction:column;overscroll-behavior:contain}
.fsb .tchips{padding:16px 0 8px;margin:0;flex-wrap:wrap;overflow:visible}
.fsb .pop{position:static;width:auto!important;max-width:none;border:0;border-top:1px solid var(--act);border-radius:0;box-shadow:none;opacity:1;transform:none;pointer-events:auto;display:block;padding:20px 0;background:none;transition:none}
.fsb .pop .pb{padding:0}
.fsb .pop h4{font-family:var(--disp);font-weight:800;font-size:20px;line-height:24px;color:var(--ink);margin-bottom:14px}
.fsb .pop h4+h4,.fsb .pop .pb>h4:not(:first-child){font-size:16px;line-height:22px;margin-top:16px!important}
.fsb .pop .pf{display:none}
.fsb #pop-price{order:-1;border-top:0}
.fsb:has(.tchips) #pop-price{border-top:1px solid var(--act)}
.fsb:has(.tchips) #pop-type{display:none}
body.v4 .fsb .rng{grid-template-columns:1fr 1fr;gap:12px;margin-top:0}
body.v4 .fsb .fld{height:48px;border-radius:var(--r);border-color:var(--line-h);padding:6px 14px;display:flex;flex-direction:column;justify-content:center}
body.v4 .fsb .fld input{font-size:16px}
.fsb .qp{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
body.v4 .fsb .hist{height:56px;margin:0 2px 0}
body.v4 .fsb .hax{margin-bottom:14px}
body.v4 .fsb .opts{gap:8px}
.fsb .pop .hgl{display:block;font-size:13px;line-height:18px;color:var(--ink3);margin:12px 0 6px}
body.v4 .fsb .opt{height:44px;border-radius:var(--r);font-size:15px}
body.v4 .fsb .rooms{border:0;gap:8px;overflow:visible;flex-wrap:wrap}
body.v4 .fsb .rooms button{flex:none;width:48px;height:36px;border:0;border-radius:var(--r);background:var(--act);font-size:15px;color:var(--ink)}
body.v4 .fsb .rooms button:first-child{width:auto;padding:0 16px}
body.v4 .fsb .rooms button.on,body.v4 .fsb .rooms button.on.edge{background:var(--btn);color:var(--on-btn)}
body.v4 .fsb .rhint{font-size:13px}
body.v4 .fsb .sw{padding:12px 0;font-size:15px}
.fsheet footer{display:flex;gap:12px;padding:16px 24px;border-top:1px solid var(--line-h);flex:none;padding-bottom:calc(16px + env(safe-area-inset-bottom))}
.fsheet footer .btn{flex:1;height:48px}
body.fopen{overflow:hidden}
#fscrim{background:rgba(0,0,0,.2);backdrop-filter:none;z-index:calc(var(--z-modal) - 1)}
/* רכב/מוצרים без карты: список на всю ширину, карточки 3 в ряд, плитки категорий / чипы «לפי צורך» над списком */
.s4.nomap .mp,.s4.nomap .here,.s4.nomap .cityonly{display:none}
.s4.nomap .s4l{max-width:1180px;margin:0 auto;flex:1 1 auto;width:100%}
body.v4 .s4.nomap .rows{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.s4.nomap+.mfb .fab{display:none}
.ctiles{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}
.ctile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:84px;padding:10px 6px;border:0;border-radius:var(--r);background:var(--band);color:var(--ink);font-family:inherit;font-size:13px;line-height:16px;cursor:pointer;transition:background .15s,color .15s}
.ctile svg{color:var(--em);width:22px;height:22px}
.ctile small{font-size:11px;color:var(--ink3)}
.ctile:hover{background:var(--act)}
.ctile.on{background:var(--btn);color:var(--on-btn)}
.ctile.on svg,.ctile.on small{color:inherit}
.pre4{flex-wrap:wrap;overflow:visible}
@media (max-width:1000px){.ctiles{grid-template-columns:repeat(4,minmax(0,1fr))}body.v4 .s4.nomap .rows{grid-template-columns:repeat(2,minmax(0,1fr))}.s4.nomap .s4l{padding:12px 16px 24px}.pre4{flex-wrap:nowrap;overflow-x:auto}}
@media (max-width:725px){body.v4 .s4.nomap .rows{grid-template-columns:1fr}.ctiles{grid-template-columns:repeat(4,minmax(0,1fr))}.ctile{min-height:72px;font-size:12px}}
/* יד שנייה: товарам не нужны большие фото — 5 в ряд, квадратное фото (решение владельца 18.11.2026) */
body.v4 .s4.nomap.prod .rows{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
body.v4 .s4.nomap.prod .rc .ph{aspect-ratio:1/1;padding:10px}
body.v4 .s4.nomap.prod .rc .rcb{padding:10px 12px 12px;gap:6px}
body.v4 .s4.nomap.prod .rc .props{grid-template-columns:minmax(0,1fr)}
@media (max-width:1180px){body.v4 .s4.nomap.prod .rows{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:1000px){body.v4 .s4.nomap.prod .rows{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}
@media (max-width:725px){body.v4 .s4.nomap.prod .rows{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.v4 .s4.nomap.prod .rows .rc{border-radius:var(--r);margin:0;width:auto}body.v4 .s4.nomap.prod .rows .rc .ph{aspect-ratio:1/1;max-height:none;padding:8px}body.v4 .s4.nomap.prod .rc .rcb{padding:8px 10px 10px}}
/* мобильная плавающая полоса: חיפוש | סינון | מפה */
.mfb{display:none}
@media (max-width:1000px){
  .spl,#mapon{display:none}
  .s4{display:block}
  .s4l{max-width:none;padding:12px 16px 24px;gap:16px}
  .s4 .mp{position:fixed;inset:0;top:var(--mtop,0px);height:auto;display:none;z-index:var(--z-mapfull)}
  body.mapmode .s4 .mp{display:block}
  .srow{position:sticky;top:0;z-index:var(--z-bar);background:var(--bg);padding:8px 0;margin:-8px 0}
  body.v4 .lt h1{font-size:26px;line-height:30px}
  .lh4 .tools .save span{display:none}
  .lh4 .tools{flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end}
  .sel4 .muted{display:none}
  .lh4 .tools .chip4.ic span{display:none}
  .mfb{display:flex;position:fixed;left:16px;right:16px;bottom:calc(14px + env(safe-area-inset-bottom));height:58px;background:var(--card);border-radius:var(--r);box-shadow:0 5px 15px rgba(0,0,0,.2);z-index:var(--z-fab);overflow:hidden}
  .mfb button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:500;color:var(--ink);border:0;background:none;position:relative;height:100%}
  .mfb button+button{border-inline-start:1px solid var(--act)}
  .mfb button svg{width:22px;height:22px}
  body.v4 .mfb .fab{position:static;transform:none;height:100%;padding:0;border-radius:0;background:none;color:var(--ink);box-shadow:none;display:flex}
  body.v4 .mfb .fab:active{transform:none}
  body.mapmode .mfb .fab{color:var(--em-ink)}
  body.v4.s4page{padding-bottom:92px}
  body.v4 .s4 .rows{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .fsheet{inset-inline-start:0;width:100vw;max-width:none;transform:translateY(6%)}
  .fsb{padding:0 16px 16px}
  .fsheet footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
  .scs{gap:6px}
  .scs>.sc{padding:12px 10px;font-size:12px}
  .scs>.sc b{font-size:19px;line-height:24px}
  body.v4 .s4 .mc{bottom:96px}
  body.v4 .s4 .legend,body.v4 .s4 .drawbar{bottom:96px}
  body.v4 .s4 .lyr{bottom:96px}
  body.v4 .s4 .mstat{bottom:160px}
  body.v4 .s4 .attr{bottom:84px}
}
@media (max-width:725px){
  body.v4 .s4 .rows{grid-template-columns:1fr;gap:16px}
  .s4 .rows .rc{border-radius:0;border:0;margin:0 -16px;width:calc(100% + 32px)}
  .s4 .rows .rc .ph{aspect-ratio:3/4;max-height:72vh}
  .srow .fbtn{display:none}
  .scs{grid-template-columns:repeat(3,minmax(0,1fr))}
  .blk .h5{font-size:20px;line-height:26px}
  .agentb4{padding:20px 16px}
}

/* ===== объявление v4 (src/listing_v4.tsx; LUN «объект»: контент 66 % + липкая панель 34 %, галерея 16:9) ===== */
body.v4 .lp4{max-width:1440px;padding:16px 24px 64px}
.l4{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.l4m{flex:1 1 560px;min-width:0;max-width:66%;display:flex;flex-direction:column}
.side4{flex:1 1 300px;max-width:34%;position:sticky;top:16px;display:flex;flex-direction:column;gap:12px}
body.v4 .lp4 .c4{display:flex;gap:6px;font-size:13px;color:var(--ink3);padding:0 0 12px;flex-wrap:wrap;align-items:center;white-space:normal;overflow:visible}
.c4 a{color:var(--ink3)}.c4 a:hover{color:var(--ink)}.c4 svg{flex:none}
.gal4{position:relative;aspect-ratio:16/9;border-radius:var(--r);overflow:hidden;background:linear-gradient(160deg,#d5d8e2,#9396a8)}
.gal4 .g4img{position:absolute;inset:0;width:100%;height:100%;padding:0;background:none;cursor:zoom-in;display:block}
.gal4 img{width:100%;height:100%;object-fit:cover;display:block}
.gal4 .fl{position:absolute;top:16px;inset-inline-start:16px;display:flex;gap:4px;flex-wrap:wrap;pointer-events:none;max-width:70%}
.gal4 .arrow{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:none;padding:0;inset-inline-start:8px;z-index:2}
.gal4 .arrow.nx{inset-inline-start:auto;inset-inline-end:8px}
.gal4 .arrow span{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--r);background:#000;color:#fff;transition:background .15s}
.gal4 .arrow:hover span{background:#4b4f5e}
.gal4 .arrow.pv svg{transform:scaleX(-1)}
.gal4 .dots{position:absolute;bottom:16px;left:0;right:0;display:flex;justify-content:center;gap:4px;pointer-events:none}
.gal4 .dots i{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.6);display:block}
.gal4 .dots i.on{width:7px;height:7px;background:#fff;margin-top:-1px}
body.v4 .gal4 .g4n{position:absolute;bottom:16px;inset-inline-end:16px;height:36px;padding:0 12px;font-size:13px;z-index:2}
.gal4.nop{display:grid;place-items:center;color:var(--ink3);background:var(--band);text-align:center;font-size:14px;line-height:1.6}
.gal4.nop svg{width:28px;height:28px}
body.v4 .lp4 .sec4{display:flex;flex-direction:column;gap:16px;padding:32px 0 0}
body.v4 .lp4 .sec4>h2{margin:0;font-size:24px;line-height:30px;display:block}
.ph4{gap:10px}
.pr4{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
body.v4 .pr4 h1{margin:0;font-family:var(--disp);font-weight:800;font-size:30px;line-height:32px;letter-spacing:0}
.pr4 h1 small{font-size:15px;font-weight:400;font-family:Heebo,system-ui,sans-serif;color:var(--ink)}
.pr4 .muted,.pr4 s{font-size:13px;color:var(--ink3)}
.pr4>svg{color:var(--em);align-self:center}
.addr{margin:0;font-weight:500;font-size:18px;line-height:24px}
.subl4{margin:0;font-size:13px;color:var(--ink3)}
.geo4{display:flex;gap:4px;flex-wrap:wrap}
.geo4 a{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--r-sm);background:var(--band);border:1px solid var(--band);color:var(--ink3);font-size:13px}
.geo4 a:hover{border-color:var(--line-h);color:var(--ink3)}
.det{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px;font-size:13px;line-height:20px;padding-top:8px}
.det span{display:flex;align-items:center;gap:8px;min-width:0}
.det>span>svg{width:20px;height:20px;flex:none;color:var(--ink3)}
.det .ok>svg{color:var(--em)}
.det.t4{padding-top:0}
body.v4 .lp4 .have{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px}
body.v4 .lp4 .have div{border:0;padding:0;font-size:13px;line-height:20px;gap:8px}
body.v4 .lp4 .have i{width:20px;height:20px;border-radius:50%}
body.v4 .lp4 .have .y i{background:var(--em-soft);color:var(--em-deep)}
body.v4 .lp4 .desc{font-size:15px;line-height:22px;max-width:640px}
body.v4 .lp4 .desc.clamp{max-height:calc(22px * 6)}
body.v4 .lp4 .dsc-t{gap:8px;margin-top:0;align-items:center}
body.v4 .lp4 .dsc-t button{text-decoration:none;height:40px;padding:0 16px;border-radius:var(--r);border:1px solid var(--line-h);background:var(--card);color:var(--ink)}
body.v4 .lp4 .dsc-t button:hover{background:var(--btn);color:var(--on-btn);border-color:var(--btn)}
body.v4 .lp4 .dsc-t span{font-size:13px}
.ctx4{background:var(--band);border-radius:var(--r);padding:20px;display:flex;flex-direction:column;gap:14px}
body.v4 .ctx4 .pr-s{font-size:15px;line-height:22px;margin:0}
body.v4 .ctx4 .pr-g{margin-top:0}
body.v4 .ctx4 .pr-g div{background:var(--card)}
body.v4 .ctx4 .lowdata{margin:0}
body.v4 .lp4 .lmap{height:360px;border-radius:var(--r);border:0}
body.v4 .lp4 .where{font-size:15px;line-height:22px;color:var(--ink2);margin:0}
body.v4 .lp4 .where b{font-weight:500;color:var(--ink)}
body.v4 .lp4 .qa{border:0;border-radius:0;background:none;overflow:visible}
body.v4 .lp4 .qa details{border-top:1px solid var(--act)}
body.v4 .lp4 .qa details:first-child{border-top:0}
body.v4 .lp4 .qa summary{padding:12px 0;font-weight:500;font-size:15px;border-radius:0}
body.v4 .lp4 .qa summary:hover{background:none;color:var(--em-ink)}
body.v4 .lp4 .qa summary svg{margin-inline-start:auto;color:var(--ink3);transition:transform .2s;flex:none}
body.v4 .lp4 .qa details[open] summary svg{transform:rotate(-90deg)}
body.v4 .lp4 .qa .an{padding:0 0 14px;font-size:15px;line-height:22px}
body.v4 .lp4 .qa .an>svg{color:var(--em);flex:none;margin-top:2px}
body.v4 .lp4 .qa .ask{border-radius:var(--r);height:36px;background:var(--act);border:0;padding:0 14px;font-size:13px}
body.v4 .lp4 .qa .ask:hover{background:var(--btn);color:var(--on-btn)}
body.v4 .lp4 .qf{height:48px;border-radius:var(--r);border:1px solid var(--line-h);padding:0 4px 0 14px;margin:0;box-shadow:none;gap:8px;background:var(--card)}
body.v4 .lp4 .qf:focus-within{border-color:var(--ink);box-shadow:none}
body.v4 .lp4 .qf input:focus,body.v4 .fld input:focus,body.v4 .fld input:focus-visible{outline:0;box-shadow:none}
body.v4 .lp4 .qf .sp{color:var(--em)}
body.v4 .lp4 .qf input{font-size:15px}
body.v4 .lp4 .qf .go{width:40px;height:40px;padding:0;border:0;border-radius:var(--r-sm);background:var(--btn);color:var(--on-btn);display:grid;place-items:center;flex:none;cursor:pointer}
body.v4 .lp4 .qf .go:hover{background:var(--btn-h)}
body.v4 .lp4 .qnote{font-size:13px;color:var(--ink3);margin:0}
.g4c{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
body.v4 .lp4 .g4c .fc .fb4 b{font-size:20px}
body.v4 .lp4 .sim4more{align-self:stretch;height:48px}
body.v4 .lp4 .sim{margin:0;padding-top:32px}
body.v4 .lp4 .sim .muted{margin:0;font-size:13px}
/* факты плитками: значение крупно, подпись мелко */
.fct4{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;padding-top:10px}
.fct4 div{display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;background:var(--band);border-radius:var(--r);padding:12px 14px;min-width:0}
.fct4 div>svg{grid-row:1/3;width:24px;height:24px;color:var(--ink3)}
.fct4 b{font-family:var(--disp);font-weight:800;font-size:18px;line-height:22px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}   /* «4-й владелец»: две строки вместо многоточия */
.fct4 small{font-size:12px;line-height:16px;color:var(--ink3)}
.trust4{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;color:var(--ink3);padding-top:6px}
.trust4 span{display:inline-flex;align-items:center;gap:4px}
.trust4 .ok{color:var(--em-ink)}
.trust4 .k{color:var(--ink2)}
.have4{display:flex;flex-wrap:wrap;gap:8px}
.have4 span{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-radius:var(--r);background:var(--band);font-size:14px}
.have4 .y{background:var(--em-soft);color:var(--em-deep)}
:root[data-theme=dark] .have4 .y{color:var(--em-ink)}
.have4 .y svg{width:16px;height:16px}
.have4 .n{color:var(--ink3);text-decoration:line-through}
.have4 .k{color:var(--ink2)}
.unk4{margin:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--ink3)}
.chk4{border-top:1px solid var(--act);padding:4px 0 0}
.chk4 summary{display:flex;align-items:center;gap:8px;height:44px;cursor:pointer;list-style:none;font-size:14px;color:var(--ink2)}
.chk4 summary::-webkit-details-marker{display:none}
.chk4 summary>svg:first-child{color:var(--ink3)}
.chk4 summary small{color:var(--ink3);font-size:12px}
.chk4 summary>svg:last-child{margin-inline-start:auto;color:var(--ink3);transition:transform .2s}
.chk4[open] summary>svg:last-child{transform:rotate(-90deg)}
.chk4 ul{list-style:none;margin:0;padding:0 0 8px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px}
.chk4 li{font-size:14px;line-height:20px;padding:6px 0;border-top:1px solid var(--act)}
.chk4 li b{font-weight:500;display:block}
.chk4 li small{color:var(--ink3);font-size:12px;line-height:17px}
body.v4 .lp4 .govck{margin:0;display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--ink3)}
body.v4 .lp4 .govck button,body.v4 .lp4 .govck a{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-radius:var(--r);background:var(--act);color:var(--ink);font-size:14px;border:0}
body.v4 .lp4 .qa4 .qa .chips4{padding-top:4px}
.p4n{font-size:13px;color:var(--ink3);margin-top:2px}
/* «הבניין והסביבה»: вкладки те же, внутри — компактные строки «подпись · значение», метка уровня — маленькая пилюля с подсказкой */
body.v4 .lp4 .bt-l{gap:0;border-bottom:1px solid var(--line);margin-bottom:16px}
body.v4 .lp4 .bt-l [role=tab]{height:44px;padding:0 16px;font-size:15px;font-weight:500;color:var(--ink2);border-bottom:2px solid transparent;margin-bottom:-1px;background:none}
body.v4 .lp4 .bt-l [role=tab][aria-selected=true]{color:var(--ink);border-bottom-color:var(--em)}
body.v4 .lp4 .sc{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:9px;background:var(--act);color:var(--ink3);font-size:11px;line-height:1;white-space:nowrap;border:0;vertical-align:middle;margin-inline-end:4px;cursor:help}
body.v4 .lp4 .bld-s{font-size:14px;line-height:21px;color:var(--ink2);margin:0 0 12px}
body.v4 .lp4 .facts{margin:0;border:0;background:none;gap:8px;overflow:visible;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
body.v4 .lp4 .bld .facts{margin:0 0 16px}
body.v4 .lp4 .facts div{border:0;background:var(--band);border-radius:var(--r);padding:12px 14px}
body.v4 .lp4 .facts b{font-family:var(--disp);font-weight:800;font-size:18px}
/* נתוני משרד התחבורה: второй ряд мельче, системы чипами, отзывы по модели свёрнуты */
body.v4 .lp4 .govt{margin:0}body.v4 .lp4 .govt .bt-l{margin-bottom:12px}body.v4 .lp4 .govt .bt-l [role=tab]{height:40px;padding:0 14px;font-size:14px}body.v4 .lp4 .govt .bt-l [role=tab] b{font-weight:500;color:var(--ink3);margin-inline-start:4px}
body.v4 .lp4 .gkv li{border-bottom-color:var(--act)}body.v4 .lp4 .gkv li b{font-family:var(--disp);font-weight:800;font-size:14px}body.v4 .lp4 .gkv li b em{font-family:Heebo,system-ui,sans-serif;font-weight:400}
.govsys{margin-top:12px;display:flex;flex-direction:column;gap:6px}
.govsys>small{font-size:12.5px;color:var(--ink3)}
.govsys .chip4.sm{cursor:default;background:var(--band)}
.govrec{margin-top:12px;font-size:13px}
.govrec summary{cursor:pointer;color:var(--ink2)}
.govrec summary small{color:var(--ink3)}
.govrec ul{margin:8px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.govrec li{display:flex;flex-direction:column;gap:2px;padding:8px 12px;border-radius:var(--r);background:var(--band)}
.govrec li small{color:var(--ink3)}
body.v4 .lp4 .gov-note{font-size:13px;line-height:20px;color:var(--ink3);margin:12px 0 0}
body.v4 .lp4 .bld h3{font-family:var(--disp);font-weight:800;font-size:16px;line-height:22px;margin:16px 0 6px}
body.v4 .lp4 .bld h3 small{font-family:Heebo,system-ui,sans-serif;font-weight:400;font-size:12px;color:var(--ink3)}
body.v4 .lp4 .muni{border:0;padding:0;margin:0 0 4px;background:none}
body.v4 .lp4 .muni>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
body.v4 .lp4 .muni>ul>li{position:static;overflow:visible;padding:9px 0;border:0;border-bottom:1px solid var(--act);border-radius:0;background:none;font-size:14px;line-height:20px;display:grid;grid-template-columns:minmax(0,1fr);gap:1px}
body.v4 .lp4 .muni>ul>li.wide{grid-column:1/-1}
body.v4 .lp4 .ast-t{border:0;background:var(--band);border-radius:var(--r);padding:12px 14px}
body.v4 .lp4 .ast-t>b{font-family:var(--disp);font-weight:800;font-size:22px;line-height:26px}
body.v4 .lp4 .ast-t>b small{font-family:Heebo,system-ui,sans-serif;font-weight:400}
body.v4 .lp4 .ast-k li.lo{color:var(--em-ink)}
@media (max-width:725px){body.v4 .lp4 .ast{grid-template-columns:1fr}}
body.v4 .lp4 .muni>ul>li>small:first-of-type{display:block;font-size:12px;color:var(--ink3)}
body.v4 .lp4 .muni>ul>li small{font-size:12px;color:var(--ink3)}
body.v4 .lp4 .muni>ul>li .sc{float:inline-end;margin:2px 0 0 0}
body.v4 .lp4 .muni ul.pl{margin:4px 0 0;font-size:13px}
body.v4 .lp4 .bld-tr{margin-top:12px;font-size:13px;color:var(--ink2)}
body.v4 .lp4 .bld-l{margin-top:10px;font-size:13px}
body.v4 .lp4 .bld-l a{color:var(--em-ink);text-decoration:underline;text-underline-offset:3px}
body.v4 .lp4 .src{margin-top:12px;font-size:11.5px;line-height:16px;color:var(--ink3)}
body.v4 .lp4 .bt-key{display:none}
.bld.sc1 .sc{display:none}
body.v4 .lp4 .dealsT,body.v4 .lp4 .bld table{font-size:13px}
body.v4 .lp4 .ctx4 .pr-g{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
body.v4 .lp4 .ctx4 .lowdata{border:0;background:none;padding:0;margin:0;max-width:none;display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:21px}
body.v4 .lp4 .ctx4 .lowdata>svg{color:var(--em);flex:none;margin-top:2px}
body.v4 .lp4 .ctx4 .lowdata button{margin-top:6px;height:36px;padding:0 14px;border-radius:var(--r);background:var(--act);border:0;font-size:13px;color:var(--ink);display:inline-flex;align-items:center}
@media (max-width:725px){.fct4{grid-template-columns:repeat(2,minmax(0,1fr))}.chk4 ul,body.v4 .lp4 .muni>ul{grid-template-columns:1fr}}
/* закреплённая панель */
body.v4 .p4{background:var(--band);border-radius:var(--r);padding:20px;display:flex;flex-direction:column;gap:14px;border:0;box-shadow:none}
.p4h{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.p4p{min-width:0}
.p4p b{font-family:var(--disp);font-weight:800;font-size:30px;line-height:34px}
.p4p small{font-size:14px;color:var(--ink3);margin-inline-start:6px;font-family:Heebo,system-ui,sans-serif;font-weight:400}
.p4a{font-size:16px;line-height:22px;font-weight:500;margin-top:-6px}
/* панель (владелец 04.11.2026: «имя, город, цена намного явнее», подсказку скрыть): гео-чипы, продавец с аватаром, «איך זה עובד» свёрнуто */
.p4geo{display:flex;gap:6px;flex-wrap:wrap;margin-top:-6px}
.p4geo a{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:var(--r-sm);background:var(--card);color:var(--ink2);font-size:13px}
.p4geo a:hover{background:var(--btn);color:var(--on-btn)}
.p4geo span{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;border-radius:var(--r-sm);background:var(--card);color:var(--ink2);font-size:13px;max-width:100%}.p4geo span svg{flex:none;color:var(--em)}.p4geo span i{font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.p4s{display:flex;align-items:center;gap:10px;line-height:18px}
.p4s .av{flex:none;width:40px;height:40px;border-radius:50%;background:var(--card);display:grid;place-items:center;color:var(--ink2)}
.p4s .av svg{width:20px;height:20px}
.p4s>span:not(.av){display:flex;flex-direction:column;min-width:0}
.p4s b{font-weight:600;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.p4s small{font-size:13px;color:var(--ink3)}
.p4ok{margin-inline-start:auto;display:inline-flex;align-items:center;gap:4px;font-size:12.5px;color:var(--em-ink);white-space:nowrap}
.p4ok svg{width:14px;height:14px}
body.v4 .p4 .hint{display:none}
.p4how{font-size:12.5px;line-height:18px;color:var(--ink3)}
.p4how summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;list-style:none;color:var(--ink3)}
.p4how summary::-webkit-details-marker{display:none}
.p4how summary:hover{color:var(--ink)}
.p4how summary svg{width:15px;height:15px}
.p4how p{margin:6px 0 0}
.p4how p .lgm{vertical-align:middle;border-radius:50%;font-size:11px}
.p4b{display:flex;gap:4px;flex:none}
body.v4 .p4b .chip4{background:var(--card);padding:0 8px;height:36px;min-width:36px;justify-content:center}
body.v4 .p4b .chip4:hover{background:var(--btn);color:var(--on-btn)}
body.v4 .p4b .chip4.on{color:var(--heart)}
body.v4 .p4b .chip4.on svg path{fill:currentColor}
.agrow{display:flex;align-items:center;gap:10px;font-size:13px;line-height:18px}
.agrow .lgm{border-radius:50%;flex:none;font-size:22px}
.agrow b{font-weight:500}
body.v4 .p4 .bt{display:flex;flex-direction:column;gap:8px;margin:0}
body.v4 .p4 .btn{height:48px;width:100%;border-radius:var(--r);font-size:15px;font-weight:500;gap:8px}
body.v4 .p4 .btn.p{background:var(--btn);color:var(--on-btn)}
body.v4 .p4 .btn.o{background:var(--card);color:var(--ink);border:1px solid var(--line-h)}
body.v4 .p4 .btn.o:hover{background:var(--btn);color:var(--on-btn);border-color:var(--btn)}
body.v4 .p4 .hint{font-size:12px;line-height:18px;text-align:start;color:var(--ink3);margin:0}
body.v4 .p4 .stt{margin:0;padding:0;border:0;color:var(--em-ink)}
body.v4 .p4 .cx h4{font-family:var(--disp);font-weight:800;font-size:18px}
body.v4 .p4 .avail{margin:0}
body.v4 .p4 .offer{border-radius:var(--r)}
.p4l{display:flex;flex-direction:column;gap:6px;font-size:13px;padding:0 4px;color:var(--ink3);align-items:flex-start}
.p4l a,.p4l button{display:flex;align-items:center;gap:8px;color:var(--ink3);font-size:13px;padding:0;background:none;border:0;font-family:inherit;cursor:pointer}
.p4l a:hover,.p4l button:hover{color:var(--ink)}
.p4l svg{width:16px;height:16px;flex:none}
body.v4 .side4 .shab{font-size:12.5px;color:var(--ink3);display:flex;gap:8px;padding:0 4px;margin:0;line-height:18px}
/* панель справа: только цена, адрес, продавец и связь; остальное — в свёрнутом «עוד» (владелец 06.11.2026) */
.p4more{font-size:13px}
.p4more summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;list-style:none;color:var(--ink3);padding:4px 4px}
.p4more summary::-webkit-details-marker{display:none}
.p4more summary:hover{color:var(--ink)}
.p4more[open] summary svg{transform:rotate(180deg)}
.p4more .p4l{margin-top:8px}
.p4more .p4how{margin-bottom:4px}
body.v4 .side4 .shab svg{flex:none;width:16px;height:16px}
@media (max-width:1000px){
  body.v4 .lp4{padding:0 16px 24px}
  .l4{gap:16px}
  .l4m{max-width:none;flex-basis:100%}
  .side4{max-width:none;position:static;flex-basis:100%}
  body.v4 .lp4 .c4{padding:12px 0}
  body.v4 .gal4{border-radius:0;margin:0 -16px;aspect-ratio:4/3}
  .gal4 .arrow{display:none}
  .det,body.v4 .lp4 .have{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g4c{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.v4 .pr4 h1{font-size:28px;line-height:32px}
  body.v4 .lp4 .sec4{padding-top:24px}
  body.v4 .lp4 .lmap{height:280px}
  body.v4 .mbar.m4{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--card);border:0;box-shadow:0 -4px 16px rgba(0,0,0,.1)}
  .mn4{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ink2);line-height:16px}
  .mn4 .lgm{flex:none;border-radius:50%;font-size:14px}
  .mb4{display:flex;gap:8px}
  .mb4 .btn{flex:1;min-width:0;height:48px;padding:0 12px;font-size:15px;white-space:normal;line-height:1.15;text-align:center}   /* ru/fr: длинная подпись переносится, а не выталкивает кнопку-иконку за экран */
  .mb4 .btn.sq{flex:none;width:48px;padding:0}
  body.v4:has(.m4) .lp4{padding-bottom:150px}
}

/* ---------- цены v4 (макет specs/design/mockups/Prices.dc.html): изумрудный герой по центру, тёмные плитки-сводки и карточки
   с колонками, белая карточка оценки, таблицы рахуов/городов. Тёмные плитки не зависят от схемы — всегда «чёрные». ---------- */
.pp4{display:flex;flex-direction:column;--dk:#131010;--dk-ink:#eeeeea;--dk-mute:#aeaeae;--dk-bar:#34d399;--dk-past:#6f6f6f}
:root[data-theme=dark] .pp4{--dk:var(--card)}
.phero{background:var(--em);color:#fff;text-align:center;padding:56px 24px 48px;display:flex;flex-direction:column;align-items:center;gap:16px}
.phero .kick{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:var(--r-sm);background:var(--em-deep);color:#d1fae5;font-size:13px;font-weight:500}
body.v4 .phero h1{font-size:56px;line-height:60px;font-weight:900;color:#fff;margin:0;max-width:960px}
.phero p{color:#d1fae5;font-size:17px;line-height:26px;max-width:640px;margin:0}
.phero .row{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:8px}
.citysel.light{border-color:transparent;background:#fff;color:#111;min-width:220px}
.citysel.light select{color:#111}
.seg4{display:inline-flex;height:48px;background:rgba(0,0,0,.18);border-radius:var(--r);padding:4px;gap:4px}
.seg4 a{display:flex;align-items:center;padding:0 16px;border-radius:6px;color:#fff;font-weight:500;font-size:14px;text-decoration:none}
.seg4 a.on{background:#fff;color:#111}
.seg4 a:not(.on):hover{background:rgba(255,255,255,.12)}
.pbody{display:flex;flex-direction:column;gap:32px;padding-top:20px;padding-bottom:64px;width:100%}
/* после крошек — 20 px до содержимого, а не общий шаг блоков (32) плюс верхний отступ первого заголовка статьи (44):
   на «О dili» выходило 76 px пустоты (владелец 23.11.2026: «такое расстояние после них») */
.pbody>.crumbs{margin:0 0 -12px}
.gd-a>:first-child{margin-top:0}
@media (max-width:760px){.pbody>.crumbs{margin:0 0 -8px}}
/* body.v4 .w{padding:0 24px} обнулял отступы .pbody сверху и снизу: крошки прилипали к шапке страницы, последний блок — к подвалу
   (страницы цен, гайдов, «О dili»; владелец 23.11.2026). Тот же случай, что .w.h4head и .w.pp ниже. */
body.v4 .w.pbody{padding-top:20px;padding-bottom:64px}
@media (max-width:760px){body.v4 .w.pbody{padding-top:16px;padding-bottom:48px}}
.dks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.dks.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.dk{background:var(--dk);color:var(--dk-ink);border-radius:var(--r);padding:24px;display:flex;flex-direction:column;gap:8px;min-width:0}
.dk .lab{color:var(--dk-mute);font-size:13px;line-height:18px}
.dk>b{font-size:36px;line-height:40px;font-weight:800;color:#fff}
.dk .up,.dk .dn{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--r-sm);font-size:13px;font-weight:600;background:rgba(134,255,142,.14);color:#86ff8e}
.dk .dn{background:rgba(255,56,86,.16);color:#ff6b84}
.dk .up,.dk .dn{direction:ltr;unicode-bidi:isolate}
.dk>span{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.dkh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.v4 .dkh .h5{color:#fff;font-size:20px;line-height:24px}
.chart4{display:flex;align-items:flex-end;gap:8px;height:190px;padding-top:24px;margin-top:8px}
.chart4 i{flex:1;background:var(--dk-bar);border-radius:4px 4px 0 0;position:relative;min-width:0}
.chart4 i.c{background:var(--dk-past)}
.chart4 i::after{content:attr(data-v);font-style:normal;position:absolute;bottom:100%;left:0;right:0;text-align:center;font-size:12px;line-height:18px;color:var(--dk-ink);white-space:nowrap;font-variant-numeric:tabular-nums}
.ax4{display:flex;gap:8px;margin-top:8px}
.ax4 span{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;font-size:12px;line-height:16px;color:var(--dk-mute);white-space:nowrap;overflow:hidden}
.ax4 small{font-size:11px;color:var(--dk-past);white-space:normal;overflow-wrap:anywhere}   /* «2,095 сделок» на телефоне — в две строки, без обрезки */
.estc{background:var(--card);border:1px solid var(--line-h);border-radius:var(--r);padding:24px;display:grid;grid-template-columns:minmax(0,300px) 1fr;gap:24px;align-items:start}
.estc .h5{margin-bottom:6px}
.estc .muted{font-size:14px;line-height:20px;display:block}
.estc .est-f .go .btn{height:48px}
.estc .est-f .src{margin-top:0}
.ptbl{display:flex;flex-direction:column;border:1px solid var(--line-h);border-radius:var(--r);background:var(--card);overflow:hidden}
.ptbl .tr{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;align-items:center;padding:0 20px;height:52px;border-top:1px solid var(--line-h);color:inherit;text-decoration:none;font-size:15px;margin:0;grid-auto-columns:auto}   /* margin/auto-columns: не наследовать ленту .tr из v3ui.css (строки уезжали за край на телефоне) */
.ptbl.c4 .tr{grid-template-columns:2fr 1fr 1fr 2fr}
.ptbl .tr:first-child{border-top:0}
.ptbl .tr.th{height:44px;background:var(--band);font-size:13px;color:var(--ink3);font-weight:500}
.ptbl a.tr:hover{background:var(--hov,var(--act))}
.ptbl .tr b{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ptbl.white{padding:4px 16px}
.bar4{height:8px;background:var(--act);border-radius:4px;overflow:hidden}
.bar4 i{display:block;height:100%;background:var(--em);border-radius:4px}
.chips4.mt{margin-top:16px;align-items:center}
.chips4 .muted{font-size:13px}
.chip4 small.muted{font-size:12px;margin-inline-start:4px}
.pbody .agentb4 b{font-size:20px;line-height:24px;display:block;margin-bottom:4px}
.pbody .agentb4 .btn{margin-inline-start:auto}
.pbody .agentb4>div{flex:1 1 320px}
.pbody .bld-l,.pbody .src{margin-top:-16px}
@media (max-width:1000px){
  .phero{padding:40px 16px 32px;gap:12px}
  body.v4 .phero h1{font-size:34px;line-height:38px}
  .phero p{font-size:15px;line-height:22px}
  .phero .citysel{display:flex;min-width:0;flex:1 1 100%}
  .seg4{height:44px;flex:1 1 100%;justify-content:center}
  .seg4 a{flex:1;justify-content:center;padding:0 10px;font-size:13px}
  .pbody{gap:24px;padding-top:16px;padding-bottom:48px}
  .dks{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .dks.two{grid-template-columns:1fr}
  .dk{padding:16px}
  .dk>b{font-size:26px;line-height:30px}
  .chart4{height:140px}
  .estc{grid-template-columns:1fr;padding:16px}
  .ptbl .tr{padding:0 12px;gap:8px;font-size:14px}
  .ptbl.c4 .tr{grid-template-columns:2fr 1fr 1fr}
  .ptbl.c4 .tr.th>span:nth-child(4){display:none}
  .ptbl .bar4{display:none}
  .pbody .agentb4 .btn{margin-inline-start:0;width:100%}
}

/* ---------- хаб города v4 (макет specs/design/mockups/City.dc.html) ---------- */
.hub4{display:block}
body.v4 .w.h4head{padding-top:24px;padding-bottom:32px}   /* body.v4 .w обнулял отступ сверху — крошки прилипали к краю (20.11.2026) */
.h4head .crumbs{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--ink3);margin:0 0 12px}
.h4head .crumbs a{color:var(--ink3)}.h4head .crumbs svg{width:12px;height:12px}
.h4grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.h4l{display:flex;flex-direction:column;gap:16px;min-width:0}
.h4t{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
body.v4 .h4t h1{margin:0;font-weight:900;font-size:40px;line-height:44px}
.h4sub{margin:-8px 0 0;font-size:14px}.h4sub a{text-decoration:underline}
.h4grid .tg4{grid-template-columns:repeat(4,minmax(0,1fr))}
.tile4.on{outline:2px solid var(--em);outline-offset:-2px}
.cmap{position:relative;display:block;border-radius:var(--r);overflow:hidden;background:var(--mapbg,var(--band));min-height:380px;height:100%}
.cmap .cv{position:absolute;inset:0}
.cmap .btn{position:absolute;bottom:16px;inset-inline-start:16px;height:40px;z-index:2;pointer-events:none}
.cmap.nomap{display:none}
.chips4 .chip4 small{color:var(--ink3);font-size:12px}
.chip4.on small,.chip4:hover small{color:#caccd8}
.kch .chip4{background:var(--card)}
:root[data-scheme=c] .kch .chip4{border:1px solid var(--line)}
.kch .chip4.on,.kch .chip4:hover{background:var(--btn);color:var(--on-btn)}
body.v4 .btn.sm{height:40px;padding:0 16px;font-size:14px}
body.v4 .btn.sm svg{width:16px;height:16px}
.lst4 .sh4 .chip4{margin-inline-start:auto}
.fbar4{display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin-bottom:20px}
.fbar4 .chips4{align-items:center;gap:6px}
.fbar4 .muted{font-size:13px}
.clr4{gap:4px}.clr4 svg{width:14px;height:14px}
.hubcards{gap:13px;grid-template-columns:repeat(3,minmax(0,1fr))}
.hubcards .rc{border:1px solid var(--act);box-shadow:none}
.hub4 .more4{margin-top:20px;width:100%}
.hub4 .empty.e4{text-align:center;padding:40px 16px;display:flex;flex-direction:column;align-items:center;gap:8px}
.hub4 .empty.e4 .btn{margin-top:8px}
.prows{display:flex;flex-direction:column;gap:2px;max-width:860px}
.prow{display:flex;align-items:center;gap:16px;min-height:56px;padding:8px 30px;background:var(--card);color:var(--ink)}
.prow:hover{background:var(--act)}
.prow:first-child{border-radius:var(--r) var(--r) 0 0}.prow:last-child{border-radius:0 0 var(--r) var(--r)}
.prow .rl{flex:0 0 140px;font-weight:500;padding:0}   /* padding: v3ui.css .rl{padding-top:40px} сдвигал подпись вниз (20.11.2026) */
.blk .prows{max-width:none}
.prow .bar4{flex:1;max-width:260px}
.prow b{font-weight:700;min-width:90px}
.prow .muted{font-size:13px}
/* хаб марки / категории товаров (src/category_v4.tsx mkHubBodyV4) */
.mkhub .h4grid{grid-template-columns:3fr 2fr;align-items:start}
.mkhub .h4stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mkhub .scs>.sc{gap:4px;padding:20px}
.mkhub .scs>.sc b{font-size:30px;line-height:34px}
.hacts{display:flex;gap:8px;flex-wrap:wrap}
.hacts .btn{height:44px}
.chip4.z{opacity:.6}
.prow.dim{opacity:.6}
.gnote4{font-size:13px;margin:12px 0 0;max-width:860px}
.ptbl .tr.dim{opacity:.6}
.ptbl.c5 .tr{grid-template-columns:2fr 1fr 1fr 1fr 1fr}
@media (max-width:1000px){.mkhub .h4grid{grid-template-columns:1fr}.mkhub .h4stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mkhub .scs>.sc b{font-size:24px;line-height:28px}}
.t4grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}
.t4grid .h5{margin-bottom:8px}
.faq4{border-top:1px solid var(--act);padding:16px 0;display:flex;flex-direction:column;gap:6px}
.faq4 b{font-weight:700}
.faq4 .muted{font-size:14px;line-height:21px}
.t4r{display:flex;flex-direction:column;gap:20px}
.cta4{background:var(--em);border-radius:var(--r);padding:28px;color:#fff;display:flex;flex-direction:column;gap:10px}
.cta4 b{font-size:24px;line-height:30px;font-weight:800}
.cta4 span{color:#d1fae5;font-size:15px;line-height:22px}
.cta4 .btn{align-self:flex-start;background:#fff;color:#000;margin-top:6px}
.cta4 .btn:hover{background:#e6e6e1;color:#000}
.t4r .h6{margin-bottom:10px;font-size:16px}
@media (max-width:1240px){.h4grid .tg4{grid-template-columns:repeat(2,minmax(0,1fr))}.hubcards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1000px){
  body.v4 .w.h4head{padding-top:16px;padding-bottom:24px}
  .h4grid{grid-template-columns:1fr}
  body.v4 .h4t h1{font-size:32px;line-height:36px}
  .cmap{min-height:220px;height:220px}
  .hub4 .g4.hubcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0}
  .hub4 .g4.hubcards>*{flex:none}
  .lst4 .sh4 .chip4{margin-inline-start:0}
  .fbar4{gap:10px}
  .fbar4 .chips4{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px;max-width:calc(100% + 32px)}
  .prow{padding:8px 14px;gap:10px;flex-wrap:wrap}
  .prow .rl{flex:0 0 90px}
  .prow .bar4{flex:1 1 100%;order:5;max-width:none}
  .t4grid{grid-template-columns:1fr;gap:24px}
  .cta4{padding:20px}
}
@media (max-width:725px){
  .hub4 .g4.hubcards{grid-template-columns:1fr}
  .hubcards .rc{border-radius:0;border:0;margin:0 -16px;width:calc(100% + 32px)}
}
/* вкладки разделов на /map — как чипы */
body.v4 .lh4 .stabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 4px;border:0;background:none;padding:0}
body.v4 .lh4 .stabs a{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border:0;border-radius:var(--r);background:var(--act);color:var(--ink);box-shadow:none;font-size:14px}
body.v4 .lh4 .stabs a.on,body.v4 .lh4 .stabs a:hover{background:var(--btn);color:var(--on-btn)}
body.v4 .lh4 .stabs a small{color:inherit;opacity:.7;margin-inline-start:2px}

/* ===== схема T: рейка, панель «עוד» и плитки — светлые (в CSS выше белый цвет на тёмной рейке задан жёстко) ===== */
:root[data-scheme=t] nav.rail{border-inline-end:1px solid var(--rail-line)}
:root[data-scheme=t] nav.rail a:hover,:root[data-scheme=t] nav.rail button:hover{background:var(--act)}
:root[data-scheme=t] nav.rail a.on,:root[data-scheme=t] nav.rail button.on{background:var(--em-soft)}
/* выбранный пункт — только мягкая подложка, без полоски: она вылезала за границу рейки (владелец 09.11.2026 «селекшен неаккуратно») */
:root[data-scheme=t] nav.rail a.on::before{content:none}
/* логотип: знак тёмно-изумрудный, «dili» целиком тем же цветом (владелец 09.11.2026) */
:root[data-scheme=t]{--em-logo:#07704f}
:root[data-theme=dark][data-scheme=t]{--em-logo:#0a8f67}
:root[data-scheme=t] .wm,:root[data-scheme=t] .wm i,:root[data-scheme=t] .mtop .mlg .wm{color:var(--em-logo)}
:root[data-scheme=t] .morep{color:var(--ink);box-shadow:var(--sh-lg)}
:root[data-scheme=t] .morep a,:root[data-scheme=t] .morep .mx,:root[data-scheme=t] .lngs a,:root[data-scheme=t] .thm2,:root[data-scheme=t] .schm button{color:var(--ink)}
:root[data-scheme=t] .morep .mx:hover{background:var(--act)}
:root[data-scheme=t] .lngs{background:var(--act)}
:root[data-scheme=t] .lngs a.on{background:var(--btn);color:var(--on-btn)}
:root[data-scheme=t] .thm2,:root[data-scheme=t] .schm button{border-color:var(--line-h)}
:root[data-scheme=t] .thm2:hover,:root[data-scheme=t] .schm button:hover{border-color:var(--ink)}
:root[data-scheme=t] .schm button[aria-checked=true]{background:var(--btn);color:var(--on-btn);border-color:var(--btn)}
:root[data-scheme=t] .pj .pji{background:var(--btn);color:var(--on-btn)}
:root[data-scheme=t] body.v4 .toast{background:#1c1c1c;color:#fff}
:root[data-scheme=t] .mtop .mlg,:root[data-scheme=t] .mtop .mlg .wm{color:var(--ink)}
:root[data-scheme=t] .mtop{border-bottom:1px solid var(--rail-line)}
:root[data-scheme=t] .mtop .mq{border:1px solid var(--line-h)}
:root[data-scheme=t] .stat{border:1px solid var(--stat-line)}
:root[data-scheme=t]:not([data-theme=dark]) .stat{color:var(--ink)}
:root[data-scheme=t]:not([data-theme=dark]) .stat .row small,:root[data-scheme=t]:not([data-theme=dark]) .stat .cnt{color:var(--ink3)}
:root[data-scheme=t]:not([data-theme=dark]) .stat .stl{color:var(--em-ink)}
:root[data-scheme=t]:not([data-theme=dark]) .stat .stl:hover{color:var(--ink)}
:root[data-scheme=t]:not([data-theme=dark]) .pp4{--dk:#fff;--dk-ink:#1c1c1c;--dk-mute:#6b6b6b;--dk-bar:#2fe3a0;--dk-past:#c9c9c3}
:root[data-scheme=t]:not([data-theme=dark]) .dk{border:1px solid var(--line)}
:root[data-scheme=t]:not([data-theme=dark]) .dk>b{color:#1c1c1c}
:root[data-scheme=t]:not([data-theme=dark]) .dk .up{background:var(--ok-bg);color:var(--ok)}
:root[data-scheme=t]:not([data-theme=dark]) .dk .dn{background:#fdeaee;color:#c0283e}
:root[data-scheme=t]:not([data-theme=dark]) .phero{background:var(--ai-grad);color:#1c1c1c}
:root[data-scheme=t]:not([data-theme=dark]) body.v4 .phero h1{color:#1c1c1c}
:root[data-scheme=t]:not([data-theme=dark]) .phero p{color:#2c4a40}
:root[data-scheme=t]:not([data-theme=dark]) .phero .kick{background:#1c1c1c;color:#fff}
.schm .sw-t{background:linear-gradient(135deg,#fbfbf8 50%,#2fe3a0 50%)}
/* баннер агента на главной — светлый градиент с тёмным текстом (как «Product Highlight» у Telnyx) */
:root[data-scheme=t]:not([data-theme=dark]) .agentb{background:linear-gradient(100deg,#e3f9c8,#a9efcb 55%,#79d9cb);color:#1c1c1c}
:root[data-scheme=t]:not([data-theme=dark]) .agentb::before{color:rgba(0,0,0,.05)}
:root[data-scheme=t]:not([data-theme=dark]) .agentb h1{color:#1c1c1c}
:root[data-scheme=t]:not([data-theme=dark]) .agentb p{color:#2c4a40}
:root[data-scheme=t]:not([data-theme=dark]) .agentb .kick{background:#1c1c1c;color:#fff}
:root[data-scheme=t]:not([data-theme=dark]) .agentb label{border:1px solid var(--line-h)}

/* i18n 06.11.2026: шеврон «ещё» смотрит в сторону чтения */
[dir=ltr] .chv{transform:scaleX(-1)}

/* плашка выбора языка (lang_pref.ts): выезжает сверху, когда язык браузера не совпал со страницей и выбора ещё не было */
.lgb{position:fixed;top:10px;left:50%;z-index:var(--z-pop);display:flex;align-items:center;gap:10px;width:max-content;max-width:calc(100vw - 20px);padding:8px 8px 8px 16px;border-radius:14px;background:var(--card);color:var(--ink);border:1px solid var(--line);box-shadow:var(--sh-lg);font-size:15px;line-height:1.3;transform:translate(-50%,-140%);transition:transform .32s cubic-bezier(.2,.8,.2,1)}
.lgb[dir=rtl]{padding:8px 16px 8px 8px}
.lgb.in{transform:translate(-50%,0)}
.lgb p{margin:0;min-width:0}
.lgb .go{flex:none;display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:10px;background:var(--btn);color:var(--on-btn);font-weight:600}
.lgb .x{flex:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:10px;background:none;color:inherit;cursor:pointer}
.lgb .x:hover{background:var(--act)}
.lgb.lgp,.lgb.lgp[dir=rtl]{gap:2px;padding:6px}
.lgb .ln,.lgb.lgp .go{flex:none;display:inline-flex;align-items:center;height:36px;padding:0 12px;border-radius:10px;font-weight:600}
.lgb .ln{color:inherit}
.lgb .ln:hover{background:var(--act)}
@media (max-width:420px){.lgb.lgp{font-size:14px}.lgb .ln,.lgb.lgp .go{padding:0 8px}}
@media (prefers-reduced-motion:reduce){.lgb{transition:none}}
/* плашка «שמרנו לכם חיפוש» (view_search.ts): мятная полоса на всю ширину сверху (владелец 20.11.2026) */
.vsb{position:fixed;top:0;left:0;right:0;z-index:var(--z-pop);display:flex;align-items:center;justify-content:center;gap:8px 18px;flex-wrap:wrap;min-height:52px;padding:8px 16px;background:var(--em-soft);color:var(--ink);box-shadow:var(--sh-lg);font-size:15px;line-height:1.35;transform:translateY(-110%);transition:transform .32s cubic-bezier(.2,.8,.2,1)}
.vsb.in{transform:none}
.vsb p{margin:0;min-width:0;text-align:center}
.vsb p a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.vsb p a span{white-space:nowrap}
.vsb .vsa{display:flex;align-items:center;gap:4px;flex:none}
.vsb .go,.vsb .ln{flex:none;display:inline-flex;align-items:center;height:36px;padding:0 16px;border:0;border-radius:10px;font:inherit;font-weight:600;cursor:pointer}
.vsb .go{background:var(--btn);color:var(--on-btn)}
.vsb .ln{padding:0 12px;background:none;color:inherit}
.vsb .ln:hover{background:rgba(127,127,127,.16)}
.vsb.ok .vsa{display:none}
@media (max-width:560px){.vsb{font-size:14px;padding:10px 12px}.vsb p{flex-basis:100%}}
@media (prefers-reduced-motion:reduce){.vsb{transition:none}}

/* Колокольчик уведомлений вошедшего (src/bell.ts, v4_shell.tsx): в рейке под логотипом, на телефоне — в шапке */
.nbell,nav.rail .nbell,.mtop .nbell{display:none}
body[data-auth] nav.rail .nbell{display:flex;margin-top:-18px;margin-bottom:10px}
.nbell .nbd{position:absolute;top:4px;inset-inline-end:calc(50% - 20px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#e5484d;color:#fff;font:700 11px/18px var(--disp);text-align:center}
.nbp{position:fixed;top:14px;inset-inline-start:calc(var(--rail-w) + 10px);inset-inline-end:auto;border:0;width:min(380px,calc(100vw - var(--rail-w) - 20px));max-height:min(520px,calc(100dvh - 28px));overflow:auto;background:var(--card);color:var(--ink);border-radius:var(--r);box-shadow:var(--sh-lg);z-index:var(--z-modal);padding:8px}
.nbp h2{font:800 15px/20px var(--disp);margin:0;padding:8px 10px 6px}
.nbp .nbl a{display:flex;flex-direction:column;gap:2px;padding:10px;border-radius:10px;color:inherit;font-size:14px;line-height:20px}
.nbp .nbl a:hover{background:var(--bg)}
.nbp .nbl a.nw span{font-weight:700}
.nbp .nbl a.nw span::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#e5484d;margin-inline-end:7px;vertical-align:middle}
.nbp .nbl small{color:var(--ink3);font-size:12px;line-height:16px}
.nbp .nbl p{margin:0;padding:14px 10px 16px;color:var(--ink3);font-size:14px}
@media (max-width:1000px){
  body[data-auth] .mtop .nbell{display:flex;flex:none;position:relative;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--r);color:#fff}
  .mtop .nbell span{display:none}
  .mtop .nbell .nbd{top:2px;inset-inline-end:2px}
  .nbp{top:62px;inset-inline:8px;width:auto;max-height:calc(100dvh - 150px)}
}

/* «חדש בשבילכם» (src/foryou.ts): свежие объявления по последним поискам — на главной и под выдачей */
.fy4[hidden]{display:none}
.fy4{margin-block:28px}
.fy4 .fy4h{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.fy4 .fy4h h2{font-size:22px;line-height:28px;margin:0}
.fy4 .fy4g{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px}
/* главная: один ряд из четырёх; под выдачей — сколько помещается в колонку списка */
.fy4.sec4 .fy4g{grid-template-columns:repeat(4,minmax(0,1fr))}
.fy4.sec4 .fy4g>.rc:nth-child(n+5){display:none}
.fy4 .fy4l{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px 0 0;padding:12px 16px;background:var(--card);border-radius:var(--r);font-size:14px}
@media (max-width:1000px){.fy4 .fy4g,.fy4.sec4 .fy4g{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fy4 .fy4h h2{font-size:19px}}


/* ---- строка-комбобокс главной (home_line.ts; макет specs/design/mockups/HomeComposer.html, раскладка E) ---- */
.hl{position:relative;z-index:6;margin:0}
.hl [hidden]{display:none!important}
.hl-box{display:flex;align-items:center;min-height:48px;background:var(--card);border:1px solid var(--line-h);border-radius:var(--r);transition:border-color .15s}
.hl.f .hl-box,.hl.open .hl-box{border-color:var(--ink)}
.hl.open .hl-box{border-end-start-radius:0;border-end-end-radius:0}
.hl-m{display:inline-flex;align-items:center;gap:7px;flex:none;height:32px;margin-inline-start:8px;padding:0 10px;border:0;border-inline-end:1px solid var(--line);background:none;color:var(--ink);font:inherit;font-size:15px;font-weight:500;white-space:nowrap;cursor:pointer}
.hl-m svg{width:17px;height:17px;color:var(--em)}
.hl-m svg.cv{width:15px;height:15px;color:var(--ink3);margin-inline-start:2px}
.hl-ctx{display:flex;gap:6px;padding-inline-start:8px;min-width:0}
.hl-ctx:empty{display:none}
.hl-chip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;padding-inline-end:6px;border-radius:14px;background:var(--act);font-size:13px;white-space:nowrap;max-width:220px;overflow:hidden}
.hl-chip svg{width:14px;height:14px;flex:none;color:var(--ink3)}
.hl-chip button{display:grid;place-items:center;flex:none;width:18px;height:18px;padding:0;border:0;border-radius:9px;background:none;color:var(--ink3);cursor:pointer}
.hl-chip button:hover{background:rgba(0,0,0,.1);color:var(--ink)}
.hl-ta{position:relative;display:block;flex:1;min-width:0;padding:10px 12px}
.hl-ta textarea,.hl-gh{display:block;width:100%;margin:0;padding:0;border:0;outline:0;resize:none;background:none;font:inherit;font-size:16px;line-height:24px;height:24px;min-height:24px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.v4 .hl-ta textarea:focus-visible{outline:0}
.hl-ta textarea{letter-spacing:inherit;word-spacing:inherit}   /* иначе серое дописывание .hl-gh расходится с набранным */
.hl-ta textarea::placeholder{color:var(--ink3);opacity:1}
.hl.cmode .hl-ta textarea::placeholder{color:var(--ink)}
.hl.cmode.f .hl-ta textarea::placeholder{color:var(--ink3)}
.hl-gh{position:absolute;inset:10px 12px auto;width:auto;pointer-events:none;color:transparent}
.hl-gh em{font-style:normal;color:var(--ink3);opacity:.75}
.hl-gh kbd{margin-inline-start:8px;padding:1px 6px;border:1px solid var(--line-h);border-radius:5px;font:500 11px var(--disp);color:var(--ink3);vertical-align:middle}
.hl-bar{display:flex;align-items:center;gap:2px;flex:none;padding:4px 6px}
.hl-bar button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:18px;background:none;color:var(--ink2);cursor:pointer}
.hl-bar button:hover{background:var(--act);color:var(--ink)}
.hl-bar svg,.hl-r svg,.hl-mm svg{width:20px;height:20px;flex:none}
.hl-bar .hl-go{border-radius:var(--r);background:var(--btn);color:var(--on-btn)}
.hl-bar .hl-go:hover{background:var(--btn-h);color:var(--on-btn)}
[dir=rtl] .hl-go svg{transform:scaleX(-1)}
.hl .hl-cv{display:none}
.hl.cmode .hl-cv{display:grid}
.hl.cmode .hl-mic,.hl.cmode .hl-go{display:none}
.hl.open .hl-cv svg{transform:rotate(180deg)}
/* раскрытое поле: текст сверху, переключатель, чипы и кнопки — снизу */
.hl.big .hl-box{flex-wrap:wrap;padding-bottom:2px}
.hl.big .hl-ta{order:-1;flex:0 0 100%;padding:12px 14px 4px}
.hl.big .hl-ta textarea,.hl.big .hl-gh{white-space:pre-wrap;overflow-wrap:break-word;text-overflow:clip;height:auto;min-height:52px}
.hl.big .hl-ta textarea{overflow-y:auto}
.hl.big .hl-gh{inset:12px 14px auto;overflow:visible}
.hl.big .hl-m{border-inline-end:0;margin-inline-start:4px}
.hl.big .hl-bar{margin-inline-start:auto}
/* список задач и выпадающие подсказки */
.hl-mm{position:absolute;inset-inline-start:0;top:calc(100% + 6px);z-index:9;min-width:230px;background:var(--card);border-radius:12px;box-shadow:var(--sh-lg);padding:6px}
.hl-mm button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;border-radius:8px;background:none;color:var(--ink);font:inherit;text-align:start;cursor:pointer}
.hl-mm button:hover{background:var(--hov)}
.hl-mm svg{width:17px;height:17px;color:var(--ink3)}
.hl-mm button.on{font-weight:500}
.hl-mm button.on svg{color:var(--em)}
.hl-mm .bd,.hl-r .n.new{background:var(--em-soft);color:var(--em-deep)}
.hl-mm .bd{margin-inline-start:auto;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--em);color:#fff;font-size:11px;line-height:18px;text-align:center}
.hl-dd{position:absolute;inset-inline:0;top:100%;margin-top:-1px;max-height:min(420px,60vh);overflow-y:auto;background:var(--card);border:1px solid var(--ink);border-top-color:var(--line);border-radius:0 0 var(--r) var(--r);box-shadow:0 14px 28px rgba(0,0,0,.10);padding:6px}
.hl-g{padding:8px 12px 4px;font-size:12px;color:var(--ink3)}
.hl-r{display:flex;align-items:center;gap:12px;width:100%;padding:9px 12px;border:0;border-radius:10px;background:none;color:var(--ink);font:inherit;text-align:start;cursor:pointer}
.hl-r:hover,.hl-r.on{background:var(--hov);color:var(--ink)}
.hl-r svg{color:var(--ink3)}
.hl-r .t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hl-r .t small{color:var(--ink3);font-size:13px;margin-inline-start:6px}
.hl-r .n{font-size:13px;color:var(--ink3);white-space:nowrap}
.hl-r .n.new{padding:1px 8px;border-radius:10px}
.hl-r.cur .t{font-weight:500}
.hl-r.hl-ai svg,.hl-r.hl-ai .t{color:var(--sec-ink)}   /* не .ai — этот класс занят строкой агента v3 */
.hl-r .ck{display:grid;place-items:center;flex:none;width:18px;height:18px;border:1.5px solid var(--line-h);border-radius:5px}
.hl-r .ck svg{width:12px;height:12px;color:#fff;opacity:0}
.hl-r.sel .ck{background:var(--btn);border-color:var(--btn)}
.hl-r.sel .ck svg{opacity:1}
.hl-slots{display:flex;flex-wrap:wrap;gap:6px;padding:6px 12px 8px}
.hl-slots button{height:28px;padding:0 10px;border:1px dashed var(--line-h);border-radius:14px;background:none;color:var(--ink2);font:inherit;font-size:13px;cursor:pointer}
.hl-slots button:hover{border-style:solid;border-color:var(--ink);color:var(--ink)}
/* баннер агента — презентация без контролов: текст внизу, «d» в верхнем углу (место под будущие баннеры) */
.agentb{justify-content:flex-end}
.agentb::before{inset-inline-start:auto;inset-inline-end:-10px;bottom:auto;top:-90px;font-size:320px}
@media (max-width:900px){
  .hl-m span{display:none}
  .hl-m{padding:0 6px;gap:0}
  .hl-gh kbd{display:none}
  .hl-chip{max-width:150px}
  .agentb::before{font-size:200px;top:-60px}
}
/* /address — данные о доме по адресу */
.adr-f{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.adr-f input{flex:1 1 220px;height:44px;padding:0 14px;border:1px solid var(--line-h);border-radius:var(--r);background:var(--card);color:var(--ink);font:inherit;font-size:16px}
.adr-f input[name=city]{flex:0 1 200px}
.adr-f input:focus{outline:0;border-color:var(--ink)}
.adr-n{margin:12px 0;color:var(--ink2)}
.adr-b{margin-top:20px}
/* строка размещения: выбор раздела остаётся в строке, справа — «открыть в отдельном окне» */
.hl-rw{display:flex;align-items:center;gap:2px}
.hl-rw .hl-r{flex:1;min-width:0}
.hl-x{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;color:var(--ink3)}
.hl-x:hover{background:var(--hov);color:var(--ink)}
.hl-x svg{width:17px;height:17px}

/* ---- сравнение: кнопка на карточке, лоток, таблица (compare.tsx, compare_ui.ts) ---- */
.cmpb4{display:inline-grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:var(--r);background:var(--glass);color:var(--ink2);cursor:pointer;vertical-align:middle}
.cmpb4.abs{position:absolute;z-index:2;background:rgba(0,0,0,.35);color:#fff;backdrop-filter:blur(4px)}   /* на фото карточки — как сердце, не белой плашкой */
.cmpb4.abs svg{width:14px;height:14px}
.cmpb4.abs:hover{background:rgba(0,0,0,.55);color:#fff}
/* на карточке иконка сравнения видна только при наведении на карточку (владелец 30.11.2026: «иконки сравнения убрать —
   только при наведении оставить»); выбранная и та, на которой фокус клавиатуры, видны всегда. На сенсорных экранах
   наведения нет — там иконки на карточках нет вовсе (в приложении сравнение — в быстрых действиях по долгому нажатию) */
.cmpb4.abs{opacity:0;pointer-events:none;transition:opacity .12s}
.cmpb4.abs.on,.cmpb4.abs:focus-visible{opacity:1;pointer-events:auto}
@media (hover:hover){:is(article,li,.lc4,.card,[data-id]):hover .cmpb4.abs{opacity:1;pointer-events:auto}}
.cmpb4:hover{color:var(--ink)}
.cmpb4.on,.cmpb4.abs.on{background:var(--btn);color:var(--on-btn)}
.cmpt{position:fixed;inset-inline:0;bottom:16px;z-index:40;width:max-content;max-width:min(720px,calc(100vw - 24px));margin-inline:auto;display:flex;align-items:center;gap:12px;padding:8px 8px 8px 14px;border-radius:12px;background:var(--btn);color:var(--on-btn);box-shadow:var(--sh-lg);font-size:14px}
[dir=rtl] .cmpt{padding:8px 14px 8px 8px}
.cmpt[hidden]{display:none}
.cmpt .t{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-weight:500}
.cmpt .th{display:flex;gap:6px;min-width:0;overflow:hidden}
.cmpt .th span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 8px;border-radius:6px;background:rgba(255,255,255,.14);font-size:12.5px}
.cmpt .go{display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:8px;background:var(--em-lite);color:#06281d;font-weight:500;white-space:nowrap}
.cmpt .x{width:30px;height:30px;border:0;border-radius:8px;background:none;color:inherit;font-size:20px;line-height:1;cursor:pointer;opacity:.75}
.cmpt .x:hover{opacity:1;background:rgba(255,255,255,.14)}
.cmpt.full{animation:cmpshake .3s 2}
@keyframes cmpshake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.cmp-p{padding-top:16px;padding-bottom:96px}
.cmp-s{margin-top:24px}
.cmp-s h2{font-size:18px;font-weight:600;margin:0 0 10px}
.cmp-w{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r);background:var(--card)}
.cmp-t{width:100%;border-collapse:collapse;table-layout:fixed;min-width:calc(150px + var(--n) * 170px);font-size:14.5px}
.cmp-t th,.cmp-t td{padding:10px 12px;text-align:start;vertical-align:top;border-top:1px solid var(--line2)}
.cmp-t thead th,.cmp-t thead td{border-top:0;position:relative;padding-bottom:12px}
.cmp-t tbody th{width:150px;font-weight:400;color:var(--ink3);font-size:13.5px}
.cmp-t thead td{width:150px}
.cmp-t td.best{color:var(--em-deep);font-weight:500;background:var(--bn-tint)}
.cmp-h{display:flex;flex-direction:column;gap:8px;color:var(--ink);font-weight:500}
.cmp-h img,.cmp-np{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r-sm);background:var(--band)}
.cmp-x{position:absolute;top:14px;inset-inline-end:16px;display:grid;place-items:center;width:26px;height:26px;border-radius:13px;background:var(--glass);color:var(--ink);font-size:18px;line-height:1}
.cmp-x:hover{background:var(--btn);color:var(--on-btn)}
.cmp-n{margin:14px 0;color:var(--ink2)}
.cmp-a{margin-top:20px}
@media (max-width:1000px){.cmpt{bottom:84px}.cmpt .th{display:none}.cmp-t tbody th,.cmp-t thead td{width:112px}.cmp-t{min-width:calc(112px + var(--n) * 150px)}}
.cmp-h img,.cmp-np{max-height:190px}
.cmp-t th[scope=col]{max-width:320px}
body:has(.cmp-p) .cmpt{display:none}
/* страницы цен и «Об адресе» (main.w.pp): body.v4 .w обнулял верхний отступ — крошки прилипали к верху (владелец 11.11.2026) */
body.v4 .w.pp{padding-top:24px;padding-bottom:56px}
@media (max-width:760px){body.v4 .w.pp{padding-top:16px;padding-bottom:48px}}
.hl-attr{text-align:end;font-size:11px;padding:6px 12px}
/* подсказки Google в поле улицы на /address (src/places_ui.ts) */
.adr-ac{position:absolute;z-index:20;background:var(--card,#fff);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh-lg);padding:4px;display:flex;flex-direction:column}
.adr-ac[hidden]{display:none}
.adr-ac button{height:auto;min-height:0;line-height:20px;display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:8px 12px;border:0;background:none;border-radius:6px;text-align:start;cursor:pointer;color:var(--ink);font:inherit}
.adr-ac button:hover,.adr-ac button.on{background:var(--hov)}
.adr-ac small{font-size:12px;color:var(--ink3)}
.adr-ac.estc button{flex-direction:row;align-items:center;gap:10px;font-size:14px;height:36px!important;min-height:0!important;padding:0 10px!important}.adr-ac.estc .ci{display:inline-flex;color:var(--ink3)}
.adr-ac .gma{text-align:end;font-size:11px;color:var(--ink3);padding:4px 12px}

/* /mcp — «dili в вашем ИИ-ассистенте» (mcp_page.tsx): узкая колонка в языке страницы агента (hero4) */
.mcp-p{max-width:880px;margin:0 auto;padding:56px 24px 88px;display:flex;flex-direction:column;gap:36px}
.mcp-h{display:flex;flex-direction:column;gap:14px}
.mcp-h .kick{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border-radius:var(--r-sm);background:var(--em-soft);color:var(--em-deep);font-size:13px;font-weight:500}
:root[data-theme=dark] .mcp-h .kick{color:var(--em-ink)}
.mcp-h h1{font-family:var(--disp);font-weight:800;font-size:40px;line-height:44px;margin:0;letter-spacing:0}
.mcp-h .lead{margin:0;font-size:17px;line-height:26px;color:var(--ink2);max-width:60ch}
.mcp-p h2{font-family:var(--disp);font-weight:800;font-size:20px;line-height:24px;margin:0 0 14px}
.mcp-p code{font:14px/20px ui-monospace,SFMono-Regular,Menlo,monospace;text-align:left;unicode-bidi:isolate}
.mcp-addr{background:var(--em-soft);border-radius:var(--r);padding:16px 20px}
.mcp-addr small{display:block;font-size:13px;color:var(--ink2);margin-bottom:6px}
.mcp-addr div{display:flex;align-items:center;gap:16px}
.mcp-addr code{flex:1;min-width:0;font-size:18px;line-height:26px;font-weight:500;overflow-x:auto;white-space:nowrap;color:var(--ink)}
.mcp-cl{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mcp-cl>li{display:flex;flex-direction:column;gap:12px;padding:20px;border:1px solid var(--line);border-radius:var(--r);background:var(--card);min-width:0}
.mcp-cl b{font-family:var(--disp);font-weight:800;font-size:20px;line-height:24px}
.mcp-cl ol{margin:0;padding:0;list-style:none;counter-reset:s;display:flex;flex-direction:column;gap:8px;flex:1}
.mcp-cl ol li{counter-increment:s;display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:baseline;font-size:15px;line-height:22px;color:var(--ink2)}
.mcp-cl ol li::before{content:counter(s);width:22px;height:22px;border-radius:50%;background:var(--em-soft);color:var(--em-deep);font-size:12px;font-weight:600;line-height:22px;text-align:center}
:root[data-theme=dark] .mcp-cl ol li::before{color:var(--em-ink)}
.mcp-cl .btn{align-self:flex-start;margin-top:4px}
.mcp-ex{border-bottom:1px solid var(--line)}
.mcp-ex a{display:grid;grid-template-columns:minmax(0,1fr) 16px;gap:12px;align-items:center;padding:13px 4px;border-top:1px solid var(--line);font-size:15.5px;line-height:22px;color:var(--ink);text-decoration:none}
.mcp-ex a svg{color:var(--ink3)}
[dir=rtl] .mcp-ex a svg{transform:scaleX(-1)}
.mcp-ex a:hover{color:var(--em-deep)}
.mcp-ex a:hover svg{color:inherit}
.mcp-can{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.mcp-can li{padding:7px 12px;border:1px solid var(--line);border-radius:999px;font-size:14px;line-height:20px;color:var(--ink2);background:var(--card)}
.mcp-n{margin:0;display:flex;align-items:center;gap:6px;font-size:13px;color:var(--ink3)}
@media (max-width:640px){.mcp-p{padding:28px 16px 96px;gap:28px}.mcp-h h1{font-size:30px;line-height:34px}.mcp-h .lead{font-size:16px;line-height:24px}.mcp-cl{grid-template-columns:1fr}.mcp-addr{padding:14px 16px}.mcp-addr div{flex-direction:column;align-items:stretch;gap:10px}.mcp-addr code{font-size:16px}.mcp-addr .btn{align-self:flex-start}}
.hero4 .foot a{color:inherit;text-decoration:underline;text-underline-offset:3px}

/* /oauth/authorize — экран согласия на подключение ИИ-ассистента (oauth.tsx) */
.oa-p{max-width:520px;margin:0 auto;padding:56px 24px 88px;display:flex;flex-direction:column;gap:20px}
.oa-p h1{font-family:var(--disp);font-weight:800;font-size:28px;line-height:34px;margin:0;overflow-wrap:anywhere}
.oa-p .lead{margin:0;font-size:16px;line-height:24px;color:var(--ink2)}
.oa-c{border:1px solid var(--line);border-radius:var(--r);background:var(--card);padding:16px 20px}
.oa-c h2{font-size:14px;font-weight:600;margin:0 0 8px;color:var(--ink2)}
.oa-c ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px;font-size:15.5px;line-height:22px}
.oa-f{display:flex;gap:10px}
.oa-f .btn{min-width:120px}
.oa-n{margin:0;font-size:13px;line-height:19px;color:var(--ink3)}
@media (max-width:640px){.oa-p{padding:28px 16px 96px}.oa-p h1{font-size:24px;line-height:30px}.oa-f .btn{flex:1}}
.oa-apps{padding:10px 0 4px;border-top:1px solid var(--line2)}
.oa-apps h3{font-size:14px;font-weight:600;margin:0 0 4px}
.oa-apps .dev small{display:block}

.phn4{margin:8px 2px 0;font-size:12px;line-height:16px;color:var(--ink3)}

/* ---------- гайды (guides.tsx): спокойная колонка, у каждого утверждения — пометка источника ---------- */
.gd{max-width:880px;display:flex;flex-direction:column;gap:40px;padding-bottom:64px}
.gd>section{display:flex;flex-direction:column;gap:14px}
.gd .h5{position:relative;padding-bottom:10px;margin:0}
.gd .h5::after{content:'';position:absolute;inset-inline-start:0;bottom:0;width:28px;height:3px;border-radius:3px;background:var(--em)}
.gd-p{margin:0;font-size:16px;line-height:26px;color:var(--ink2)}
.gd-p.muted{font-size:14px;line-height:22px;color:var(--ink3)}
.gd-glance{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.gd-glance.c4{grid-template-columns:repeat(4,1fr)}
.gd-glance a{text-decoration:none;color:inherit}.gd-glance a:hover{border-color:var(--em)}
.gd-glance div,.gd-glance a{background:var(--card);border:1px solid var(--line-h);border-radius:var(--r);padding:18px 20px;display:flex;flex-direction:column;gap:6px}
.gd-glance small{font-size:13px;color:var(--ink3)}
.gd-glance b{font-family:var(--disp);font-size:22px;line-height:28px;font-weight:800;color:var(--ink)}
.gd-glance span{font-size:14px;line-height:20px;color:var(--ink2)}
.gd-l{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;border:1px solid var(--line-h);border-radius:var(--r);background:var(--card);overflow:hidden}
.gd-l li{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;padding:14px 20px;border-top:1px solid var(--line-h);font-size:16px;line-height:26px;color:var(--ink)}
.gd-l li:first-child{border-top:0}
.gd-l.plain li{padding:10px 20px}
.gd-ref{flex:none;display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 8px 0 3px;border-radius:12px;background:var(--band);color:var(--ink3);font-size:12px;line-height:24px;text-decoration:none;white-space:nowrap;margin-top:1px}
[dir=rtl] .gd-ref{padding:0 3px 0 8px}
.gd-ref b{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:var(--em);color:#fff;font-size:11px;font-weight:600}
.gd-ref:hover{color:var(--ink)}
.gd-t{display:flex;flex-direction:column;border:1px solid var(--line-h);border-radius:var(--r);background:var(--card);overflow:hidden}
.gd-t .tr{display:grid;grid-template-columns:minmax(0,3fr) minmax(88px,1fr) minmax(88px,1fr) auto;gap:14px;align-items:center;padding:12px 20px;border-top:1px solid var(--line-h);font-size:15px;line-height:22px}
.gd-t .tr:first-child{border-top:0}
.gd-t .tr.th{background:var(--band);font-size:13px;color:var(--ink3);font-weight:500;padding:10px 20px}
.gd-t .who small{display:block;font-size:13px;line-height:19px;color:var(--ink3);margin-top:2px}
.gd-t .num b{font-family:var(--disp);font-size:18px;font-weight:800;color:var(--ink)}
.gd-t .num i,.gd-steps3 i{font-style:normal;font-size:13px;color:var(--ink3)}
.gd-steps3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.gd-steps3 div{background:var(--card);border:1px solid var(--line-h);border-radius:var(--r);padding:16px 20px;display:flex;flex-direction:column;gap:4px}
.gd-steps3 small{font-size:13px;color:var(--ink3)}
.gd-steps3 b{font-family:var(--disp);font-size:24px;font-weight:800;color:var(--ink)}
.gd-ol{list-style:none;counter-reset:gd;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.gd-ol li{counter-increment:gd;display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:4px 14px;align-items:start;background:var(--card);border:1px solid var(--line-h);border-radius:var(--r);padding:16px 20px;font-size:16px;line-height:26px}
.gd-ol li::before{content:counter(gd);grid-row:1/3;width:36px;height:36px;border-radius:50%;background:var(--em);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--disp);font-weight:800}
.gd-ol li b{grid-column:2;font-weight:600}
.gd-ol li span{grid-column:2;color:var(--ink2)}
.gd-ol li .gd-ref{grid-column:3;grid-row:1}
.gd-src ol{margin:0;padding-inline-start:22px;display:flex;flex-direction:column;gap:6px;font-size:15px;line-height:24px}
.gd-src ol a{color:var(--ink)}
/* гайд статьёй: колонка текста и поле справа с заметками (закон и пункт, на которые опирается абзац) */
.gd-t.g .tr{grid-template-columns:var(--gt)}
.gd-t.g .num b{font-size:17px}
.gd-t .tr small{display:block;font-size:13px;line-height:19px;color:var(--ink3);font-weight:400;margin-top:2px}
.gd-more{display:flex;flex-wrap:wrap;gap:8px;max-width:740px}
.gd-more a{display:inline-flex;align-items:center;height:36px;padding:0 14px;border:1px solid var(--line-h);border-radius:18px;background:var(--card);color:var(--ink);font-size:14px;text-decoration:none}
.gd-more a:hover{border-color:var(--em);color:var(--em)}
.gd-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin-top:8px}
.gd-list a{display:flex;flex-direction:column;gap:8px;padding:20px;border:1px solid var(--line);border-radius:var(--r);background:var(--card);color:var(--ink);text-decoration:none}
.gd-list a:hover{border-color:var(--em)}
.gd-list b{font-size:17px}.gd-list span{font-size:14px;color:var(--ink3);line-height:1.5}
.gd.wide{max-width:1120px}
.gd-a{display:grid;grid-template-columns:minmax(0,740px) minmax(0,280px);column-gap:48px;align-items:start}
.gd-a>*{grid-column:1;min-width:0}
.gd-a>h2{font-family:var(--disp);font-size:28px;line-height:34px;font-weight:800;color:var(--ink);margin:44px 0 14px}
.gd-a>.gd-glance+h2{margin-top:36px}
.gd-a>.gd-glance+p{margin-top:12px}
.gd-a>h3{font-size:19px;line-height:26px;font-weight:600;color:var(--ink);margin:28px 0 8px}
.gd-a>p{font-size:18px;line-height:30px;color:var(--ink);margin:0 0 16px}
.gd-a>ul{margin:0 0 16px;padding-inline-start:22px;display:flex;flex-direction:column;gap:10px;font-size:18px;line-height:30px;color:var(--ink)}
.gd-a>.gd-t,.gd-a>.gd-steps3,.gd-a>.gd-ol{margin:8px 0 24px}
.gd-n{font-size:11px;line-height:1;font-weight:600;color:var(--em);margin-inline-start:2px;vertical-align:super}
/* карточка на поле: стоит справа от абзаца, после которого записана; может занять высоту двух блоков */
.gd-a>.gd-card{grid-column:2;grid-row:span 2;align-self:start;display:flex;flex-direction:column;gap:6px;background:var(--card);border:1px solid var(--line-h);border-inline-start:3px solid var(--em);border-radius:var(--r);padding:16px 18px;margin:4px 0 16px}
.gd-card small{font-size:12px;line-height:16px;font-weight:600;letter-spacing:.02em;color:var(--em)}
.gd-card b{font-family:var(--disp);font-size:19px;line-height:24px;font-weight:800;color:var(--ink)}
.gd-card span{font-size:14px;line-height:21px;color:var(--ink2)}
.gd-fn{margin:0;padding-inline-start:26px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 32px;font-size:13px;line-height:20px;color:var(--ink3);max-width:740px}
.gd-fn li::marker{color:var(--em);font-weight:600}
.gd-fn a{color:inherit;text-decoration:none}
.gd-fn a:hover{color:var(--ink)}
/* «רק ב־dili» (only.tsx): сверка с чужими площадками. Полоса из трёх групп: изумруд — только у нас, штрих — похожее, серый — есть и там */
.ovl{--ovl-a:var(--em);--ovl-e:var(--line-h)}
:root[data-theme=dark] .ovl{--ovl-a:var(--em-lite)}
.ovl-tiles b{font-size:34px;line-height:40px}
.ovl-tiles b.w8{font-size:22px;line-height:40px;color:var(--ink3)}
.gd-a>.ovl-sec{margin:28px 0 0;padding:22px 24px 24px;background:var(--card);border:1px solid var(--line-h);border-radius:var(--r);display:flex;flex-direction:column;gap:14px;scroll-margin-top:calc(var(--hdr) + 16px)}
.ovl-sec>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ovl-sec h2{font-family:var(--disp);font-size:24px;line-height:30px;font-weight:800;color:var(--ink);margin:0}
.ovl-sec>header span{font-size:14px;color:var(--ink3)}
.ovl-bar{display:flex;gap:2px;height:16px}
.ovl-bar i{flex:0 0 auto;min-width:3px;border-radius:2px}
.ovl-bar i:first-child{border-start-start-radius:4px;border-end-start-radius:4px}
.ovl-bar i:last-child{border-start-end-radius:4px;border-end-end-radius:4px}
.ovl i.a{background:var(--ovl-a)}
.ovl i.s{background:repeating-linear-gradient(135deg,var(--ovl-a) 0 2px,var(--em-soft) 2px 5px)}
.ovl i.e{background:var(--ovl-e)}
.ovl-lg{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.ovl-lg li{display:grid;grid-template-columns:12px 52px auto 1fr;align-items:center;gap:10px;font-size:15px;line-height:22px;color:var(--ink2)}
.ovl-lg li>i{width:12px;height:12px;border-radius:3px}
.ovl-lg b{font-weight:600;color:var(--ink);text-align:end}
.ovl-lg li.top{font-size:17px;color:var(--ink)}
.ovl-lg li.top b{font-family:var(--disp);font-size:22px;font-weight:800}
.ovl-wait{margin:0;font-size:16px;line-height:24px;color:var(--ink2)}
.ovl-n{margin:0;font-size:14px;line-height:21px;color:var(--ink3)}
.ovl-sec .gd-more{margin-top:4px}
@media (max-width:720px){
  .gd-a>.ovl-sec{padding:18px 16px 20px}
}
@media (max-width:1100px){
  .gd-a{grid-template-columns:minmax(0,1fr)}
  .gd-a>.gd-card{grid-column:1;grid-row:auto;margin:0 0 20px}
  .gd-fn{grid-template-columns:1fr}
}
@media (max-width:720px){
  .gd{gap:32px}
  .gd-glance,.gd-steps3{grid-template-columns:1fr}
  .gd-glance.c4{grid-template-columns:1fr 1fr}
  .gd-l li{flex-direction:column;gap:8px;padding:14px 16px}
  .gd-t .tr.th{display:none}
  .gd-t .tr{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:14px 16px}
  .gd-t .who{flex:1 1 100%}
  .gd-t .tr>span:last-child{margin-inline-start:auto}
  .gd-t.g .tr{display:grid;gap:10px;padding:12px 16px}
  .gd-t.g .tr.th{display:grid}
  .gd-t.g .tr>span:last-child{margin-inline-start:0}
  .gd-ol li{grid-template-columns:32px minmax(0,1fr);padding:14px 16px}
  .gd-ol li .gd-ref{grid-column:2;grid-row:auto;justify-self:start}
  .gd-a>h2{font-size:24px;line-height:30px;margin:36px 0 12px}
  .gd-a>p,.gd-a>ul{font-size:17px;line-height:28px}
}
/* подписи об источниках — значок «?» с подсказкой (src_note.ts, владелец 20.11.2026) */
.src.srcq{display:flex;margin-top:8px;font-size:12.5px;line-height:1.5}
.srcq .sq{position:relative;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;color:var(--ink3);cursor:help;border-radius:50%}
.srcq .sq:hover,.srcq .sq:focus{color:var(--ink);background:var(--act);outline:0}
.srcq .sqt{display:none;position:absolute;bottom:calc(100% + 6px);inset-inline-start:-6px;width:max-content;max-width:min(380px,calc(100vw - 48px));padding:10px 12px;background:var(--btn);color:var(--on-btn);font-size:12.5px;line-height:1.55;font-weight:400;border-radius:8px;box-shadow:var(--sh-lg);z-index:var(--z-pop);white-space:normal;text-align:start;cursor:auto}
.srcq .sqt a{color:inherit;text-decoration:underline}
.srcq .sq:hover .sqt,.srcq .sq:focus .sqt,.srcq .sq:focus-within .sqt{display:block}
/* прайс-лист авто (src/car_prices.tsx): длинные названия моделей в строках и таблица с числами */
.prows.wide .prow .rl{flex-basis:190px}
.ptbl.cpt{max-width:860px}
.ptbl.cpt .tr{height:auto;min-height:48px;padding-top:6px;padding-bottom:6px}
#pstats .estc .est-r{margin-top:20px}
@media (max-width:700px){
  .prows.wide .prow .rl{flex-basis:130px}
  .ptbl.c5.cpt .tr{grid-template-columns:1.6fr 1fr 1fr 1fr}
  .ptbl.c5.cpt .tr>:nth-child(5){display:none}
  .ptbl.c4.cpt .tr{grid-template-columns:.7fr 1.6fr 1fr}
  .ptbl.c4.cpt .tr>:nth-child(4){display:none}
}
/* прайс-лист авто: ожидаемый диапазон на шкале объявления; модель в блоке главной — ссылка на её прайс-лист */
.scale .band{position:absolute;top:27px;height:12px;border-radius:6px;background:var(--em);opacity:.28}
.stat .row .sn a{color:inherit;text-decoration:none}.stat .row .sn a:hover{text-decoration:underline}
/* шкала цены: отметки от начала строки — в LTR меньшая цена слева, как и подписи краёв */
[dir=ltr] .scale .dot,[dir=ltr] .scale .med,[dir=ltr] .scale .me{transform:translateX(-50%)}
.ctx4 .pr-mg a.ul{text-decoration:underline;text-underline-offset:3px}
