:root{
  --page:#F6F8F7;
  --surface:#ffffff;
  --surface-sunken:#F3F6F4;
  --ink:#303733;
  --ink-strong:#18231E;
  --ink-2:#6B716D;
  --border:#DBE4DF;
  --brand-primary:#1F4D3A;
  --brand-primary-hover:#17392B;
  --brand-primary-soft:#EDF3EF;
  --brand-primary-border:#C9DCD2;
  --semantic-positive:#138253;
  --semantic-warning:#B97909;
  --semantic-warning-soft:#FFF5DC;
  --semantic-negative:#B33A3A;
  --shadow-card:0 7px 22px rgba(31,77,58,0.06);
  --shadow-panel:0 10px 30px rgba(31,77,58,0.08);
  --radius-card:16px;
  --radius-hero:22px;
  --radius-control:10px;
  --tabs-track:#EEF2F0;
  --hdr-bg:rgba(255,255,255,.97);
  --hdr-border:#E7ECE9;
  --strip-bg:#F5F8F6;
  --strip-border:#DDE6E1;
  --font-sans:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-serif:Georgia,"Times New Roman",serif;
  --ov-hero-fade-from:#ffffff;
  --ov-hero-fade-to:rgba(255,255,255,0);
  --ov-dot-ok:#34a36f;
  --ov-dot-warn:#f2b218;
  --ov-gutter:calc(16px + clamp(0px, 2.2vw - 8px, 24px));
  --ov-strip-gutter:max(clamp(12px,2.4vw,24px), calc((100vw - 1560px) / 2 + 24px));
  --ov-accent-2:#4F7270;
  --surface-2:#FAFBFA;
  --ink-muted:#8A908C;
  --ov-edge-green:#0f7a53;
  --ov-edge-green-hover:#0b5c3f;
  /* Green used as TEXT: the brand green on light, a lighter tint on dark so it stays readable. */
  --brand-text:#1F4D3A;
}
:root[data-theme="dark"]{
  --page:#0d0f12;
  --surface:#15181d;
  --surface-sunken:#101317;
  --ink:#e6eae8;
  --ink-strong:#f4f7f5;
  --ink-2:#aab2ae;
  --border:rgba(255,255,255,0.10);
  --brand-primary-soft:rgba(31,77,58,.22);
  --brand-primary-border:rgba(111,191,151,.35);
  --semantic-positive:#4fbf8a;
  --semantic-warning:#e0a72a;
  --semantic-warning-soft:rgba(224,167,42,0.14);
  --semantic-negative:#e06c6c;
  --shadow-card:0 3px 8px rgba(0,0,0,.4),0 10px 24px rgba(0,0,0,.4);
  --shadow-panel:0 4px 10px rgba(0,0,0,.46),0 14px 32px rgba(0,0,0,.5);
  --tabs-track:rgba(255,255,255,.06);
  --hdr-bg:rgba(16,19,24,.92);
  --hdr-border:rgba(255,255,255,.10);
  --strip-bg:#14191a;
  --strip-border:rgba(255,255,255,.10);
  --ov-hero-fade-from:#15181d;
  --ov-hero-fade-to:rgba(21,24,29,0);
  --ov-accent-2:#7FA8A5;
  --surface-2:#1a1e24;
  --ink-muted:#83898f;
  --ov-edge-green:#4fd699;
  --ov-edge-green-hover:#7fe6b8;
  --brand-text:#8fdcb4;
}
*{box-sizing:border-box}
html{background:var(--page);color:var(--ink);font-family:var(--font-sans);scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:linear-gradient(180deg,var(--surface) 0,var(--page) 34rem);min-height:100vh}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
h1,h2,h3{font-family:var(--font-serif);color:var(--ink-strong)}
h1,h2{margin:0}
h1 em{font-style:normal;color:var(--brand-text)}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px}

/* Header */
.ov-topbar{
  height:58px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
  padding:0 clamp(12px,2.4vw,20px);border-bottom:1px solid var(--hdr-border);background:var(--hdr-bg);
  position:sticky;top:0;z-index:30;backdrop-filter:blur(10px)
}
.ov-brand{justify-self:start;display:flex;align-items:center}
.ov-brand img{display:block;width:150px;height:auto}
/* link box, spacing and weights are the SPA header's numbers (app.css, «one header rhythm») */
.ov-nav{display:flex;align-items:center;gap:clamp(2px,0.6vw,10px);font-family:var(--font-serif);font-size:15px;color:var(--ink-2)}
.ov-nav a{position:relative;display:inline-flex;align-items:center;height:34px;padding:0 13px;line-height:1;color:var(--ink-2);font-weight:500}
.ov-nav a:hover{color:var(--brand-text)}
.ov-nav a.is-active{color:var(--brand-text);font-weight:500}
.ov-nav a.is-active::after{content:"";position:absolute;left:13px;right:13px;bottom:1px;height:2px;background:var(--brand-primary);border-radius:2px}
/* explicit columns: with the nav hidden below 1100px the actions must stay on the right edge,
   not slide into the empty middle column */
.ov-brand{grid-column:1}
.ov-nav{grid-column:2}
.ov-actions{grid-column:3;justify-self:end;display:flex;align-items:center;gap:8px}

.ov-icon-btn,.ov-channel{
  height:34px;min-width:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--ink-2);
  padding:0;font-size:13px;font-weight:650;transition:background .15s,border-color .15s,color .15s
}
.ov-icon-btn svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8}
.ov-icon-btn:hover{color:var(--brand-text);border-color:var(--brand-primary-border);background:var(--brand-primary-soft)}
.ov-channel{border-color:var(--border);color:var(--ink-2);padding:0 12px 0 10px}
.ov-channel:hover{background:var(--brand-primary-soft)}
.ov-channel svg{width:17px;height:17px;fill:none;stroke:#229ed9;stroke-width:1.8}
.ov-channel span{white-space:nowrap}
.ov-edge{color:#167934;font-size:13px;font-weight:650;padding:0 4px;white-space:nowrap}
.ov-edge:hover{text-decoration:underline}
.ov-menu-btn{display:none}
.ov-theme-sun{display:none}
:root[data-theme="dark"] .ov-theme-moon{display:none}
:root[data-theme="dark"] .ov-theme-sun{display:block}

/* Mobile sheet */
.ov-sheet{
  position:absolute;top:100%;left:0;right:0;background:var(--surface);border-bottom:1px solid var(--hdr-border);
  box-shadow:var(--shadow-panel);padding:12px 16px 18px;display:flex;flex-direction:column;gap:4px
}
.ov-sheet-nav{display:flex;flex-direction:column;gap:2px}
.ov-sheet a{min-height:44px;display:flex;align-items:center;border-radius:10px;padding:0 12px;font-size:15px;font-weight:600;color:var(--ink-strong)}
.ov-sheet a:hover{background:var(--surface-sunken)}
.ov-sheet-extra{border-top:1px solid var(--border);margin-top:8px;padding-top:8px;display:flex;flex-direction:column;gap:2px}

/* Data strip */
.ov-data-strip{
  min-height:33px;border-bottom:1px solid var(--strip-border);background:var(--strip-bg);
  display:flex;align-items:center;justify-content:space-between;padding:0 var(--ov-strip-gutter);font-size:13px;color:var(--ink-2)
}
.ov-data-facts,.ov-data-sources{display:flex;align-items:center;gap:10px;white-space:nowrap}
.ov-data-facts i{display:block;width:1px;height:14px;background:var(--border)}
.ov-pulse{width:7px;height:7px;border-radius:50%;background:var(--brand-primary-border);box-shadow:0 0 0 4px rgba(31,77,58,.12)}
.ov-data-sources::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--ov-dot-warn)}
.ov-data-sources.is-ok::before{background:var(--ov-dot-ok)}

/* Main */
/* Horizontal rhythm is the «Радар рынка» page's, to the pixel (2026-10-06): its <main> has 16px
   of padding and #dashboard adds clamp(0px, 2.2vw - 8px, 24px) inside a 1560px column; the
   header and the data strip use the SPA's own gutters. Switching between «Главная» and «Радар»
   must not move the left edge of anything. */
.ov-main{box-sizing:border-box;width:auto;max-width:1592px;margin:28px auto 44px;padding-inline:var(--ov-gutter)}

/* Hero */
.ov-hero{
  min-height:340px;border:1px solid var(--border);border-radius:var(--radius-hero);box-shadow:var(--shadow-panel);
  background:var(--surface);display:grid;grid-template-columns:.9fr 1.1fr;overflow:hidden
}
.ov-hero-copy{padding:30px 28px 28px 36px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.ov-eyebrow{margin:0 0 12px;color:var(--ink-2);font-size:12px;font-weight:750;letter-spacing:.16em}
.ov-hero h1{margin:0;font:700 clamp(30px,3.5vw,44px)/1.04 Georgia,"Times New Roman",serif;letter-spacing:-.03em;color:var(--ink-strong)}
.ov-hero h1 em{font-style:normal;color:var(--brand-text)}
.ov-lead{margin:12px 0 18px;max-width:650px;color:var(--ink-2);font-size:16px;line-height:1.45}
.ov-cta{display:flex;gap:10px;flex-wrap:wrap}
.ov-btn{
  min-height:44px;padding:0 20px;border-radius:var(--radius-control);font-size:15px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;
  transition:background .15s,border-color .15s,color .15s
}
.ov-btn--primary{background:var(--brand-primary);color:#ffffff;border-color:var(--brand-text)}
.ov-btn--primary:hover{background:var(--brand-primary-hover);border-color:var(--brand-primary-hover)}
.ov-btn--secondary{background:var(--surface);border-color:var(--brand-primary-border);color:var(--brand-text)}
.ov-btn--secondary:hover{background:var(--brand-primary-soft)}
.ov-btn--block{width:100%}
.ov-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.ov-kpi{border:1px solid var(--border);border-radius:14px;background:var(--surface-sunken);padding:11px 14px;min-width:0}
.ov-kpi strong{display:block;font-size:24px;font-weight:800;color:var(--ink-strong);font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.ov-kpi span{display:block;margin-top:4px;font-size:12.5px;color:var(--ink-2);line-height:1.3}
.ov-kpi-note{margin:10px 0 0;font-size:12px;color:var(--ink-2);overflow-wrap:anywhere}
.ov-hero-photo{
  min-height:340px;background:
    linear-gradient(90deg,var(--ov-hero-fade-from) 0%,var(--ov-hero-fade-to) 14%),
    url("/static/img/hero-home-ridge.webp") center/cover no-repeat;
}

/* Picks */
.ov-picks{margin-top:44px}
.ov-picks-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 2px 16px}
.ov-picks h2{font:700 26px/1.2 Georgia,"Times New Roman",serif;color:var(--ink-strong);letter-spacing:-.01em}
.ov-picks-head p{margin:6px 0 0;color:var(--ink-2);font-size:14px}
.ov-link{color:var(--brand-text);font-weight:700;white-space:nowrap}
.ov-link:hover{text-decoration:underline}
.ov-picks-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ov-pick{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-card);overflow:hidden;display:flex;flex-direction:column;min-width:0}
.ov-pick-cover{position:relative;height:132px;background:var(--surface-sunken) center/cover no-repeat}
.ov-badge{position:absolute;left:10px;top:10px;border-radius:999px;padding:5px 9px;color:#fff;background:#20a463;font-size:11px;font-weight:800;box-shadow:0 4px 12px rgba(0,0,0,.14);z-index:1}
.ov-badge--near{background:#e5aa28;color:#3d2c05}
.ov-pick-body{padding:12px 14px 14px;display:flex;flex-direction:column;flex:1;min-width:0}
.ov-pick-body h3{margin:0 0 3px;font:700 17px/1.2 Georgia,"Times New Roman",serif;color:var(--ink-strong);overflow-wrap:anywhere}
.ov-pick-meta{color:var(--ink-2);font-size:12px;margin-bottom:8px;overflow-wrap:anywhere}
.ov-chips{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:9px}
.ov-chip{background:var(--surface-sunken);border:1px solid var(--border);border-radius:7px;padding:4px 7px;font-size:11.5px;font-weight:650;color:var(--ink)}
.ov-pick-price{font-size:19px;font-weight:800;color:var(--ink-strong);font-variant-numeric:tabular-nums}
.ov-pick-finance{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:9px 0}
.ov-pick-finance-cell{min-width:0}
.ov-pick-finance-cell span{display:block;font-size:11px;color:var(--ink-2);margin-bottom:3px}
.ov-pick-finance-cell strong{display:block;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
.ov-pick-result{display:flex;align-items:baseline;gap:6px;margin-bottom:11px;flex-wrap:wrap}
.ov-pick-result strong{font-size:17px;font-weight:800;font-variant-numeric:tabular-nums}
.ov-pick-result strong.is-positive{color:var(--semantic-positive)}
.ov-pick-result strong.is-negative{color:var(--semantic-negative)}
.ov-pick-result small{font-size:11px;color:var(--ink-2)}
.ov-pick .ov-btn{margin-top:auto;min-height:38px;font-size:13.5px;padding:0 12px}

.ov-picks-note{margin:14px 2px 0;font-size:13px;line-height:1.5;color:var(--ink-2)}
.ov-picks-note strong{color:var(--brand-text)}

/* Loading / states */
.ov-loading{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ov-pick-skeleton{height:340px;border-radius:var(--radius-card)}
.ov-skeleton{background:linear-gradient(90deg,var(--surface-sunken) 25%,var(--surface) 37%,var(--surface-sunken) 63%);background-size:400% 100%;animation:ovShimmer 1.3s infinite}
@keyframes ovShimmer{0%{background-position:100% 0}100%{background-position:0 0}}
.ov-state{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);padding:28px;text-align:center;color:var(--ink-2);display:grid;justify-items:center;gap:8px}
.ov-state strong{color:var(--ink-strong);font-size:18px}
.ov-state a{color:var(--brand-text);font-weight:700}
.ov-state .ov-btn{min-height:42px}

/* Radar */
.ov-radar{margin-top:52px}
.ov-radar .ov-eyebrow{margin-bottom:8px}
.ov-radar h2{font:700 30px/1.15 Georgia,"Times New Roman",serif;color:var(--ink-strong);letter-spacing:-.01em;margin:0}
.ov-radar-sub{margin:8px 0 18px;color:var(--ink-2);font-size:15px;max-width:780px;line-height:1.45}
.ov-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}
.ov-quick{
  position:relative;overflow:hidden;display:flex;flex-direction:column;gap:10px;background:var(--surface);
  border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow-card);padding:18px 18px 14px;
  transition:transform .15s,box-shadow .15s,border-color .15s;min-width:0
}
/* a hairline of the brand green along the top and a faint glow in the corner: enough to tell the
   four entries from plain boxes without turning them into banners */
.ov-quick::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--brand-primary),var(--ov-accent-2));opacity:.55;transition:opacity .15s}
.ov-quick::after{content:"";position:absolute;right:-40px;top:-40px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,var(--brand-primary-soft) 0%,transparent 68%);pointer-events:none}
.ov-quick > *{position:relative;z-index:1}
.ov-quick:hover{transform:translateY(-2px);box-shadow:var(--shadow-panel);border-color:var(--brand-primary-border)}
.ov-quick:hover::before{opacity:1}
.ov-quick:hover .ov-quick-cta span{transform:translateX(3px)}
.ov-quick-top{display:flex;align-items:center;gap:10px}
.ov-quick-icon{flex:0 0 auto;width:34px;height:34px;border-radius:10px;background:var(--brand-primary-soft);color:var(--brand-text);display:grid;place-items:center}
.ov-quick-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ov-quick-title{font-size:14px;font-weight:700;color:var(--ink-strong)}
.ov-quick-figure{display:flex;align-items:baseline;gap:6px;min-height:36px}
.ov-quick-figure strong{font-size:26px;font-weight:800;color:var(--ink-strong);font-variant-numeric:tabular-nums;font-family:var(--font-sans)}
.ov-quick-figure small{font-size:13px;color:var(--ink-2)}
.ov-quick-figure--calc strong{font-size:20px}
.ov-market-pair{display:flex;align-items:baseline;gap:4px;font-size:13px;color:var(--ink-2)}
.ov-market-pair b{font-size:26px;font-weight:800;color:var(--ink-strong);font-variant-numeric:tabular-nums}
.ov-quick-desc{font-size:13px;color:var(--ink-2);line-height:1.4;margin:0;flex:1}
.ov-quick-cta{display:flex;align-items:center;gap:6px;border-top:1px solid var(--border);padding-top:10px;font-size:13px;font-weight:700;color:var(--brand-text)}
.ov-quick-cta span{display:inline-block;transition:transform .15s}

/* Stats band */
.ov-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:linear-gradient(180deg,var(--surface) 0%,var(--surface-sunken) 100%);border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow-card);overflow:hidden;margin-top:14px}
.ov-stat{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:12px;align-content:start;padding:18px 20px;min-width:0;border-right:1px solid var(--border)}
.ov-stat-icon{grid-row:1 / span 3;width:38px;height:38px;border-radius:11px;background:var(--surface);border:1px solid var(--brand-primary-border);color:var(--brand-text);display:grid;place-items:center;font-weight:800;font-size:16px}
.ov-stat-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ov-stat > :not(.ov-stat-icon){grid-column:2}
.ov-stat:last-child{border-right:0}
.ov-stat-label{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);margin-bottom:6px}
.ov-stat strong{display:block;font:700 30px/1.1 Georgia,"Times New Roman",serif;color:var(--ink-strong);font-variant-numeric:tabular-nums}
.ov-stat-sub{display:block;margin-top:6px;font-size:13px;color:var(--ink-2)}

/* Final CTA */
.ov-radar-cta{display:flex;justify-content:center;margin-top:22px}


/* Toast */
.ov-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink-strong);color:var(--surface);border-radius:10px;padding:10px 16px;font-size:13px;font-weight:600;z-index:60;box-shadow:var(--shadow-panel)}

/* Responsive */
@media (max-width:1240px){
  .ov-nav{display:none}
  .ov-menu-btn{display:inline-flex}
}
@media (max-width:1050px){
  .ov-hero{grid-template-columns:1fr}
  .ov-hero-photo{
    order:-1;min-height:220px;
    background:linear-gradient(180deg,var(--ov-hero-fade-to) 50%,var(--ov-hero-fade-from) 100%),
      url("/static/img/hero-home-ridge.webp") center/cover no-repeat;
  }
  .ov-hero-copy{padding-top:24px}
  .ov-picks-grid,.ov-loading{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ov-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ov-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ov-stat:nth-child(2){border-right:0}
  .ov-stat:nth-child(3),.ov-stat:nth-child(4){border-top:1px solid var(--border)}
  .ov-stat:nth-child(3){border-right:1px solid var(--border)}
}
@media (max-width:720px){
  .ov-topbar{height:54px;padding:0 12px}
  .ov-brand img{width:130px;height:auto}
  .ov-channel span{display:none}
  .ov-channel{width:34px;padding:0;justify-content:center}
  .ov-edge{display:none}
  .ov-data-strip{font-size:11px;gap:8px}
  .ov-data-sources{font-weight:700}
  .ov-main{margin-top:12px;margin-bottom:40px}
  .ov-hero{border-radius:var(--radius-card)}
  .ov-hero-photo{min-height:170px}
  .ov-hero-copy{padding:22px 18px 24px}
  .ov-hero h1{font-size:34px}
  .ov-lead{font-size:16px;margin:12px 0 18px}
  .ov-cta{display:grid;gap:8px}
  .ov-btn{min-height:44px;width:100%}
  .ov-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}
  .ov-kpi{padding:12px 10px}
  .ov-kpi strong{font-size:20px}
  .ov-kpi span{font-size:11.5px;line-height:1.25}
  .ov-picks{margin-top:30px}
  .ov-picks-head{align-items:flex-start;flex-direction:column;gap:8px}
  .ov-picks-grid,.ov-loading{grid-template-columns:1fr}
  .ov-pick-cover{height:150px}
  .ov-pick .ov-btn{min-height:42px}
  .ov-quick-grid{grid-template-columns:1fr}
  .ov-stats{grid-template-columns:1fr}
  .ov-stat{border-right:0!important;border-top:1px solid var(--border)}
  .ov-stat:first-child{border-top:0}
}
@media (max-width:430px){
  .ov-data-facts span:nth-child(n+4){display:none}
  .ov-data-sources{font-size:0}
  .ov-data-sources::after{content:attr(data-short);font-size:11px}
  .ov-kpi strong{font-size:18px}
}
@media (max-width:767px){
  :root{--ov-gutter:14px}
}
/* the SPA header's closer spacing below 1440px, so seven items keep clear of the buttons */
@media (max-width:1439.98px){
  .ov-nav a{padding:0 9px}
  .ov-nav a.is-active::after{left:9px;right:9px}
}

/* Footer: the site's two-level footer, copied from app.css with its final (overridden) values so
   the bottom of the home page is the same strip as on every other page. */
.site-footer{display:block;padding:0;border-top:0;background:transparent;box-shadow:none;margin-top:0}
.footer-edge{background:var(--surface-2);color:var(--ink-2);border-top:1px solid var(--border)}
.footer-edge-inner{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;min-height:44px;padding:8px clamp(14px,3vw,28px);max-width:1400px;margin:0 auto;box-sizing:border-box}
.footer-edge-brand{font-size:13px;font-weight:700;letter-spacing:.1em;white-space:nowrap;color:var(--ink-2)}
.footer-edge-mark{color:var(--ov-edge-green)}
.footer-edge-tagline{font-size:12.5px;color:var(--ink-muted);min-width:0}
.footer-edge-cta{display:inline-flex;align-items:center;min-height:36px;margin-left:auto;padding:0;border:0;background:none;box-shadow:none;color:var(--ov-edge-green);font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.footer-edge-cta:hover{color:var(--ov-edge-green-hover);text-decoration:underline}
.footer-edge-cta:focus-visible{outline:2px solid var(--ov-edge-green);outline-offset:3px}
.site-footer-main{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;min-height:58px;padding:10px clamp(14px,3vw,28px);max-width:1400px;margin:0 auto;border-top:1px solid var(--border);box-sizing:border-box}
.site-footer-copy{font-size:12.5px;color:var(--ink-muted);white-space:nowrap}
.site-footer-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin-left:auto;padding:0;border:0;background:none}
.site-footer-links a{display:inline-block;padding:7px 0;font-size:13px;font-weight:500;color:var(--ink-2);text-decoration:none}
.site-footer-links a:hover{color:var(--brand-text)}
.site-footer-links a:focus-visible{outline:2px solid var(--brand-primary);outline-offset:3px}
@media (max-width:767.98px){
  .footer-edge-inner{min-height:0;padding:10px 14px;gap:4px 12px}
  .footer-edge-tagline{display:none}
  .site-footer-main{min-height:0;padding:12px 14px;gap:8px}
  .site-footer-links{margin-left:0;gap:6px 14px}
  .site-footer-links a{font-size:12.5px}
}

/* Bottom tab bar: the SPA's .mobile-nav with the same numbers (67px, five equal cells, 22px icons,
   11px/600 labels), so the phone / installed-app navigation does not disappear on this page. */
.mobile-nav{display:none}
@media (max-width:1023px){
  body{padding-bottom:72px}
  .mobile-nav{position:fixed;left:0;right:0;bottom:0;z-index:30;height:67px;display:grid;grid-template-columns:repeat(5,1fr);background:var(--surface);border-top:1px solid var(--border);box-shadow:0 -4px 12px rgba(11,11,11,.06);padding-bottom:env(safe-area-inset-bottom,0)}
  .mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px 2px;font-size:11px;font-weight:600;line-height:1.2;color:var(--ink-2);text-decoration:none}
  .mobile-nav a svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .mobile-nav a:active{color:var(--brand-primary)}
}
@media (max-width:1023px){
  .ov-toast{bottom:88px}
}

/* ==== HOME POLISH (2026-10-06): full-width hero band, compact KPI plates, three large cards ==== */
/* the left side of the hero is the brand's light green, not near-white (owner's request, 2026-10-06) */
:root{--ov-hero-bg:#E6F1EA;--ov-hero-fade-rgb:230,241,234;--ov-kpi-bg:rgba(255,255,255,.78)}
:root[data-theme="dark"]{--ov-hero-bg:#15181d;--ov-hero-fade-rgb:21,24,29;--ov-kpi-bg:rgba(21,24,29,.70)}
.ov-main{margin-top:0}
.ov-picks{margin-top:44px}
.ov-hero{position:relative;width:100%;min-height:clamp(460px,34vw,520px);overflow:hidden;border:0;border-radius:0;box-shadow:none;background:var(--ov-hero-bg);border-bottom:1px solid var(--border);display:block}
.ov-hero-photo{position:absolute;top:0;bottom:0;right:0;width:62%;min-height:0;border:0;border-radius:0;background:url("/static/img/hero-home-ridge.webp") center right / cover no-repeat;filter:brightness(1.06) saturate(1.04)}
.ov-hero-fade{position:absolute;inset:0;display:block;background:linear-gradient(90deg,rgb(var(--ov-hero-fade-rgb)) 0%,rgba(var(--ov-hero-fade-rgb),.98) 36%,rgba(var(--ov-hero-fade-rgb),.70) 46%,rgba(var(--ov-hero-fade-rgb),.10) 58%,rgba(var(--ov-hero-fade-rgb),0) 70%);pointer-events:none}
.ov-hero-inner{position:relative;z-index:1;box-sizing:border-box;max-width:1592px;margin:0 auto;padding:44px var(--ov-gutter) 40px;min-height:inherit;display:flex;align-items:center}
.ov-hero-copy{max-width:640px;min-width:0;padding:0}
.ov-hero .ov-eyebrow{margin:0 0 12px;color:var(--ink-2);font-size:12px;font-weight:700;letter-spacing:.16em}
.ov-hero h1{margin:0;font:700 clamp(38px,3.5vw,56px)/1.0 Georgia,"Times New Roman",serif;letter-spacing:-.03em;color:var(--ink-strong);max-width:620px}
.ov-hero h1 em{font-style:normal;color:var(--brand-text)}
.ov-hero .ov-lead{margin:14px 0 22px;max-width:590px;color:var(--ink-2);font-size:17.5px;line-height:1.45}
.ov-hero .ov-cta{display:flex;gap:12px;flex-wrap:wrap}
.ov-btn--hero{height:50px;min-height:50px;padding:0 24px;border-radius:10px;font-size:15px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:10px}
.ov-btn--hero svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ov-hero .ov-kpis{display:flex;gap:12px;margin-top:24px;flex-wrap:wrap}
.ov-hero .ov-kpi{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center;min-width:190px;height:70px;padding:0 16px;border-radius:12px;border:1px solid var(--border);background:var(--ov-kpi-bg);backdrop-filter:blur(6px);box-shadow:0 2px 8px rgba(31,77,58,.05)}
.ov-kpi-icon{width:24px;height:24px;flex:none;color:var(--brand-text);stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ov-kpi-value{min-width:0}
.ov-hero .ov-kpi strong{display:block;font-size:22px;font-weight:800;color:var(--ink-strong);font-variant-numeric:tabular-nums;line-height:1;letter-spacing:-.01em}
.ov-hero .ov-kpi span{display:block;margin-top:5px;font-size:12.5px;color:var(--ink-2);line-height:1.25}
.ov-kpi-note{margin:12px 0 0;font-size:12.5px;color:var(--ink-2);max-width:560px}
.ov-hero-badge{position:absolute;right:var(--ov-gutter);bottom:22px;display:grid;grid-template-columns:auto 1fr;column-gap:8px;padding:10px 14px;border-radius:10px;background:rgba(22,35,29,.78);backdrop-filter:blur(8px);color:#fff;z-index:2}
.ov-hero-badge svg{width:16px;height:16px;flex:none;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ov-hero-badge-text{min-width:0;display:flex;flex-direction:column}
.ov-hero-badge strong{display:block;font-size:13.5px;font-weight:700;line-height:1.2}
.ov-hero-badge span{display:block;font-size:12px;opacity:.85;line-height:1.25;margin-top:2px}
.ov-picks-grid,.ov-loading{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ov-pick{border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-card);overflow:hidden;display:flex;flex-direction:column;min-width:0}
.ov-pick-cover{position:relative;height:176px;background:var(--surface-sunken) center/cover no-repeat}
.ov-pick-save{position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;color:var(--brand-primary);z-index:1}
.ov-pick-save:hover{background:#fff}
.ov-pick-save svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ov-pick-body{padding:14px 16px 16px;display:flex;flex-direction:column;flex:1;min-width:0}
.ov-pick-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px}
.ov-pick-title{min-width:0}
.ov-pick-title h3{margin:0 0 4px;font:700 19px/1.2 Georgia,"Times New Roman",serif;color:var(--ink-strong);overflow-wrap:anywhere}
.ov-pick-place{display:flex;align-items:center;gap:4px;font-size:12.5px;color:var(--ink-2);min-width:0}
.ov-pick-place svg{width:12px;height:12px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ov-pick-chip{flex:none;font-size:12px;font-weight:650;border:1px solid var(--border);background:var(--surface-sunken);border-radius:8px;padding:5px 8px;white-space:nowrap;color:var(--ink)}
.ov-pick-fin{display:grid;grid-template-columns:1.25fr 1fr 1.25fr auto;gap:0 12px;align-items:center;margin:12px 0 14px;min-width:0}
.ov-pick-fin-cell{min-width:0;border-left:1px solid var(--border);padding-left:12px}
.ov-pick-fin-cell:first-child{border-left:0;padding-left:0}
.ov-pick-fin-cell span{display:block;font-size:11px;color:var(--ink-2);margin-bottom:4px}
.ov-pick-fin-cell strong{display:block;font-size:14.5px;font-weight:700;color:var(--ink-strong);font-variant-numeric:tabular-nums;white-space:nowrap}
.ov-pick-diff{padding:6px 10px;border-radius:10px;background:var(--brand-primary-soft);text-align:center;min-width:0;border-left:1px solid var(--border);padding-left:12px}
.ov-pick-diff.is-negative{background:var(--surface-sunken)}
.ov-pick-diff strong{display:block;font-size:17px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.1}
.ov-pick-diff strong.is-positive{color:var(--semantic-positive)}
.ov-pick-diff strong.is-negative{color:var(--semantic-negative)}
.ov-pick-diff small{display:block;font-size:11px;color:var(--ink-2);margin-top:2px}
.ov-pick .ov-btn{margin-top:auto;min-height:43px;height:43px;border-radius:9px;font-size:14.5px;padding:0 16px}
.ov-pick-skeleton{height:360px}
@media (max-width:1024px){
  .ov-hero{min-height:0}
  .ov-hero-photo{position:relative;top:auto;bottom:auto;right:auto;width:100%;height:240px;filter:brightness(1.06) saturate(1.04)}
  .ov-hero-fade{background:linear-gradient(180deg,rgba(var(--ov-hero-fade-rgb),0) 0%,rgba(var(--ov-hero-fade-rgb),.32) 38%,var(--ov-hero-bg) 82%,var(--ov-hero-bg) 100%)}
  .ov-hero-inner{display:block;padding:22px var(--ov-gutter) 26px;min-height:0}
  .ov-hero-copy{max-width:100%}
  .ov-hero-badge{top:176px;bottom:auto;right:var(--ov-gutter)}
  .ov-picks-grid,.ov-loading{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}
@media (max-width:720px){
  .ov-hero-photo{height:200px}
  .ov-hero-inner{padding:20px var(--ov-gutter) 24px}
  .ov-hero h1{font-size:clamp(34px,9.6vw,40px)}
  .ov-hero .ov-lead{font-size:16px;margin:12px 0 18px}
  .ov-hero .ov-cta{display:grid;gap:8px}
  .ov-hero .ov-btn--hero{width:100%;height:48px;min-height:48px}
  .ov-hero .ov-kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .ov-hero .ov-kpi{min-width:0;height:64px;padding:0 14px}
  .ov-hero .ov-kpi:first-child{grid-column:1 / -1}
  .ov-hero-badge{top:140px}
  .ov-picks{margin-top:30px}
  .ov-picks-head h2{font-size:26px}
  .ov-picks-grid,.ov-loading{grid-template-columns:1fr;gap:12px}
  .ov-pick-cover{height:150px}
  .ov-pick .ov-btn{min-height:42px;height:42px}
}
@media (max-width:1180px) and (min-width:1025px){
  .ov-pick-fin{grid-template-columns:1fr 1fr;gap:8px;align-items:center}
  .ov-pick-diff{grid-column:auto;border-left:0;padding-left:0}
}
@media (max-width:420px){
  .ov-pick-fin{grid-template-columns:1fr 1fr;gap:8px}
  .ov-pick-diff{grid-column:auto;border-left:0;padding-left:0}
}

/* ==== Addendum (2026-10-06): the heart is «Я слежу»; three cards from 1280px, two on 768-1279px,
   one below 768px. ==== */
.ov-pick-save{appearance:none;border:0;padding:0;cursor:pointer;font:inherit;transition:background .15s,color .15s,transform .15s}
.ov-pick-save:hover{transform:scale(1.06)}
.ov-pick-save:disabled{opacity:.6;cursor:default}
.ov-pick-save.is-watched{color:var(--semantic-positive)}
.ov-pick-save.is-watched svg{fill:currentColor}
.ov-picks-grid,.ov-loading{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media (max-width:1279px){
  .ov-picks-grid,.ov-loading{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}
@media (max-width:767px){
  .ov-picks-grid,.ov-loading{grid-template-columns:1fr;gap:12px}
}
/* the Watch dialog expects the site's .panel surface, which this standalone page does not load */
.watch-modal .panel,.watch-modal-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow-panel);color:var(--ink)}
/* The photograph starts under the opaque part of the fade, so no vertical edge can show: it is 74%
   wide and the fade stays solid until 27%, then dissolves into the picture by 66%. */
@media (min-width:1025px){
  .ov-hero-photo{width:74%}
  .ov-hero-fade{background:linear-gradient(90deg,rgb(var(--ov-hero-fade-rgb)) 0%,rgb(var(--ov-hero-fade-rgb)) 27%,rgba(var(--ov-hero-fade-rgb),.94) 34%,rgba(var(--ov-hero-fade-rgb),.72) 42%,rgba(var(--ov-hero-fade-rgb),.36) 51%,rgba(var(--ov-hero-fade-rgb),.10) 59%,rgba(var(--ov-hero-fade-rgb),0) 66%)}
}
/* review fixes: the badge belongs to the photograph on one-column layouts; the finance row keeps one
   line per label; the arrow in the card button gets its space; a status dot opens the data strip */
@media (max-width:1024px){
  .ov-hero-inner{position:static}
  .ov-hero-copy{position:relative;z-index:1}
}
.ov-pick-fin-cell span{white-space:nowrap}
.ov-pick-fin{grid-template-columns:1.05fr .9fr 1.4fr auto}
.ov-pick .ov-btn{gap:8px}
@media (min-width:1280px) and (max-width:1479px){
  .ov-pick-fin{grid-template-columns:1fr 1fr;gap:10px 12px}
  .ov-pick-fin-cell:nth-child(3){border-left:0;padding-left:0}
  .ov-pick-diff{border-left:0}
}
@media (min-width:1025px) and (max-width:1180px){
  .ov-pick-fin{grid-template-columns:1.05fr .9fr 1.4fr auto;gap:0 12px}
  .ov-pick-diff{border-left:0;padding-left:10px}
}
@media (max-width:420px){
  .ov-pick-fin-cell:nth-child(3){border-left:0;padding-left:0}
}
.ov-strip-dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--ov-dot-warn);box-shadow:0 0 0 3px color-mix(in srgb,var(--ov-dot-warn) 18%,transparent)}
.ov-strip-dot.is-ok{background:var(--ov-dot-ok);box-shadow:0 0 0 3px color-mix(in srgb,var(--ov-dot-ok) 18%,transparent)}
.ov-data-facts .ov-strip-fresh{display:inline-flex;align-items:center;gap:8px}
/* hero height stays in the 480-500px band on wide screens */
@media (min-width:1025px){.ov-hero{min-height:clamp(460px,31vw,500px)}}
@media (min-width:1025px){
  .ov-hero-inner{padding:34px var(--ov-gutter) 30px}
  .ov-hero h1{font-size:clamp(36px,3.2vw,52px)}
  .ov-hero .ov-lead{margin:12px 0 20px}
  .ov-hero .ov-kpis{margin-top:20px}
}
/* A pale tree crown leans in from the lower-left corner of the hero, as in the approved mock-up: a
   vector layer of its own (the panorama has no clean foliage), under the text, fading towards it. */
.ov-hero::before{content:"";position:absolute;left:0;bottom:0;width:min(46%,780px);height:92%;background:url("/static/img/hero-foliage.svg") left bottom / cover no-repeat;opacity:.34;pointer-events:none;z-index:0}
:root[data-theme="dark"] .ov-hero::before{opacity:.22}
@media (max-width:1024px){
  .ov-hero::before{top:240px;bottom:0;height:auto;width:78%;opacity:.26}
}
@media (max-width:720px){
  .ov-hero::before{top:200px;width:100%;opacity:.22}
}
/* KPI plates as in the mock-up: green figures and solid green icons; the tree sits above the fade */
.ov-hero .ov-kpi strong{color:var(--brand-text)}
.ov-kpi-icon{fill:currentColor;stroke:none;color:var(--brand-text)}
.ov-hero::before{z-index:1;opacity:.42}
:root[data-theme="dark"] .ov-hero::before{opacity:.24}
/* brighter product green for the KPI figures and icons (the dark brand green read as black); the tree
   keeps to the lower-left corner so it does not sit behind the heading */
.ov-hero .ov-kpi strong,.ov-kpi-icon{color:var(--semantic-positive)}
@media (min-width:1025px){.ov-hero::before{width:min(36%,600px);height:74%;opacity:.34}}
/* lower cards, as in the mock-up: shorter photo and tighter rows, same content */
.ov-pick-cover{height:124px}
.ov-pick-body{padding:12px 14px 14px}
.ov-pick-head{margin-bottom:8px}
.ov-pick-title h3{font-size:18px;margin-bottom:3px}
.ov-pick-fin{margin:8px 0 12px}
.ov-pick .ov-btn{height:40px;min-height:40px}
.ov-pick-skeleton{height:290px}
@media (max-width:767px){.ov-pick-cover{height:132px}.ov-pick .ov-btn{height:42px;min-height:42px}}
@media (max-width:1024px){.ov-hero::before{opacity:.14}}
/* one finance row at every desktop width (owner, 2026-10-06): price, payment, rent and the monthly
   difference sit on a single line, which also makes the cards lower */
.ov-pick-cover{height:108px}
@media (min-width:1280px) and (max-width:1479px){
  .ov-pick-body{padding:12px 12px 13px}
  .ov-pick-fin{grid-template-columns:auto auto auto auto;justify-content:space-between;gap:0 6px}
  .ov-pick-fin-cell{padding-left:7px}
  .ov-pick-fin-cell:nth-child(3){border-left:1px solid var(--border);padding-left:7px}
  .ov-pick-fin-cell strong{font-size:12.5px}
  .ov-pick-diff{padding:5px 7px;border-left:0}
  .ov-pick-diff strong{font-size:14.5px}
}
/* the heart: a smaller, almost transparent grey disc with a white heart; green when watched */
.ov-pick-save{top:9px;right:9px;width:26px;height:26px;background:rgba(60,70,65,.34);color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.ov-pick-save:hover{background:rgba(60,70,65,.5)}
.ov-pick-save svg{width:14px;height:14px;stroke-width:2}
.ov-pick-save.is-watched{color:#fff;background:rgba(60,70,65,.5)}
.ov-pick-save.is-watched svg{fill:#20a463;stroke:#fff}
/* a little of the product green in the lower blocks too: figures, icons and a pale green wash */
.ov-quick-figure strong,.ov-market-pair b{color:var(--semantic-positive)}
.ov-quick-figure--calc strong{color:var(--ink-strong)}
.ov-quick-icon{color:var(--semantic-positive);background:var(--ov-hero-bg)}
.ov-quick::before{background:linear-gradient(90deg,var(--semantic-positive),var(--ov-accent-2));opacity:.7}
.ov-quick::after{background:radial-gradient(circle,var(--ov-hero-bg) 0%,transparent 70%);width:190px;height:190px}
.ov-quick-cta{color:var(--semantic-positive)}
.ov-stats{background:linear-gradient(180deg,var(--surface) 0%,var(--ov-hero-bg) 100%);border-color:var(--brand-primary-border)}
.ov-stat{border-right-color:var(--brand-primary-border)}
.ov-stat-icon{color:var(--semantic-positive);background:var(--ov-hero-bg);border-color:var(--brand-primary-border)}
.ov-stat strong{color:var(--brand-text)}
.ov-radar .ov-eyebrow{color:var(--semantic-positive)}

/* One header on every page (2026-10-08) - the numbers are app.css's «ONE HEADER ON EVERY PAGE»:
   seven links from 1240px, six on 1024-1239px («Застройщики» steps aside, EDGE TERMINAL stays),
   the menu button below 1024px. */
@media (min-width:1024px) and (max-width:1365.98px){
  .ov-nav{display:flex;font-size:14px}
  .ov-menu-btn{display:none}
}
@media (min-width:1240px) and (max-width:1365.98px){
  .ov-nav{gap:0}
  .ov-nav a{padding:0 7px}
  .ov-nav a.is-active::after{left:7px;right:7px}
}
@media (min-width:1024px) and (max-width:1239.98px){
  .ov-nav a[href="/developers"]{display:none}
  .ov-nav a{padding:0 8px}
  .ov-nav a.is-active::after{left:8px;right:8px}
}
@media (min-width:1024px) and (max-width:1139.98px){
  .ov-nav{gap:0;font-size:13.5px}
  .ov-nav a{padding:0 6px}
  .ov-nav a.is-active::after{left:6px;right:6px}
}

/* The foliage breathes (2026-10-09): a slow sway as if a light wind moves the branch. Only transforms
   on one layer, so the browser animates it on the compositor - no repaint, no cost for the page.
   The layer is drawn a touch larger than its box so the sway never shows an edge. Still for visitors
   who ask for reduced motion. */
@keyframes ov-foliage-sway{
  0%{transform:scale(1.06) rotate(-.7deg) skewX(-.9deg) translate3d(-3px,0,0)}
  35%{transform:scale(1.065) rotate(.35deg) skewX(.5deg) translate3d(2px,-1px,0)}
  60%{transform:scale(1.06) rotate(-.2deg) skewX(-.3deg) translate3d(0,0,0)}
  100%{transform:scale(1.07) rotate(.8deg) skewX(1.1deg) translate3d(4px,-2px,0)}
}
.ov-hero{overflow:hidden}
.ov-hero::before{transform-origin:0 100%;will-change:transform;animation:ov-foliage-sway 7.5s ease-in-out infinite alternate}
@media (prefers-reduced-motion:reduce){
  .ov-hero::before{animation:none;transform:none}
}

/* Search pages by city (2026-10-09) - one quiet wrapping row right above the footer */
.city-links{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;max-width:1400px;margin:0 auto;
  padding:14px 28px 14px;font-size:13px;line-height:1.5;position:relative;z-index:1}
.city-links-title{color:var(--ink-muted,#8A908C);font-weight:600}
.city-links a{color:var(--ink-2,#5b635e);text-decoration:none}
.city-links a:hover{color:var(--brand-primary,#1f4d3a);text-decoration:underline}
@media (max-width:767px){.city-links{padding:12px 16px;gap:4px 12px}}

/* Invitation to the Telegram channel (2026-10-09): shown where a visitor has just looked at something
   concrete - a flat, the picks, the rent list - not as a pop-up and never over the content. */
.tg-invite{display:flex;align-items:center;gap:14px;flex-wrap:wrap;max-width:1400px;margin:18px auto 0;padding:14px 18px;
  border:1px solid var(--border,#DBE4DF);border-radius:var(--radius-card,16px);background:var(--surface,#fff);box-sizing:border-box}
.tg-invite-icon{width:26px;height:26px;flex:none;fill:none;stroke:#229ed9;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tg-invite-text{display:grid;gap:2px;flex:1 1 260px;min-width:0;font-size:13.5px;line-height:1.4;color:var(--ink-2,#5b635e)}
.tg-invite-text b{font-size:14.5px;color:var(--ink,#16201b)}
.tg-invite-cta{flex:none;padding:9px 16px;border-radius:var(--radius-control,10px);background:var(--brand-primary,#1f4d3a);
  color:#fff;font-size:13.5px;font-weight:600;text-decoration:none;white-space:nowrap}
.tg-invite-cta:hover{opacity:.92}
#detail .tg-invite{margin:0;max-width:none}
.tg-invite-wrap{padding:0 var(--ov-gutter,16px)}

/* ============================================================================================
   HOME NEWS BLOCK V1 (2026-10-09): «Новости новостроек ДФО».
   A media section, not a news portal: one lead story with a large picture and up to two compact
   stories with a small one beside it (which picture - app/services/news_covers.py).
   The whole card is the link (the title's ::after covers it); titles and summaries are clamped
   so the cards keep their shape whatever the text.
   ============================================================================================ */
.ov-news{margin-top:40px}
.ov-news-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}
.ov-news h2{font:700 26px/1.15 Georgia,"Times New Roman",serif;color:var(--ink-strong);letter-spacing:-.01em;margin:0}
.ov-news-sub{margin:8px 0 0;color:var(--ink-2);font-size:15px;line-height:1.45}
.ov-news-all{flex:none;font-size:14.5px;font-weight:600;color:var(--brand-text,var(--brand-primary));text-decoration:none;white-space:nowrap;padding:6px 0}
.ov-news-all:hover{text-decoration:underline}
.ov-news-all--bottom{display:none}
.ov-news-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:14px}
.ov-news-grid--1{grid-template-columns:minmax(0,1fr)}
.ov-news-side{display:grid;grid-auto-rows:1fr;gap:14px;min-width:0}
.ov-news-card{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;background:var(--surface);
  border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow-card);transition:border-color .15s,box-shadow .15s}
.ov-news-card:hover{border-color:var(--brand-primary-border)}
.ov-news-card:focus-within{outline:2px solid var(--brand-primary);outline-offset:2px}
.ov-news-media{position:relative;flex:none;aspect-ratio:16/9;max-height:190px;background:var(--surface-sunken);border-bottom:1px solid var(--border);overflow:hidden}
.ov-news-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.ov-news-body{display:flex;flex-direction:column;gap:6px;flex:1;padding:13px 18px 12px;min-width:0}
.ov-news-label{align-self:flex-start;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--brand-text,var(--brand-primary))}
.ov-news-card h3{margin:0;font:700 17px/1.3 Georgia,"Times New Roman",serif;color:var(--ink-strong);
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.ov-news-card--lead h3{font-size:20px;line-height:1.25;-webkit-line-clamp:2}
.ov-news-card h3 a{color:inherit;text-decoration:none;outline:0}
.ov-news-card h3 a::after{content:"";position:absolute;inset:0}
.ov-news-card:hover h3 a{color:var(--brand-text,var(--brand-primary))}
.ov-news-summary{margin:0;font-size:14px;line-height:1.5;color:var(--ink);
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ov-news-card--lead .ov-news-summary{font-size:14.5px;-webkit-line-clamp:2}
.ov-news-meta{margin-top:auto;padding-top:4px;font-size:12.5px;color:var(--ink-2)}
/* a compact story: the small picture beside the text */
.ov-news-side .ov-news-card{flex-direction:row}
.ov-news-side .ov-news-media{width:36%;max-width:210px;aspect-ratio:auto;max-height:none;min-height:118px;border-bottom:0;border-right:1px solid var(--border)}
.ov-news-side .ov-news-body{padding:14px 16px 13px}
@media (max-width:480px){.ov-news-side .ov-news-media{width:32%;min-height:104px}}
/* two published stories: the one compact card is as tall as the lead - let its summary use the room */
@media (min-width:1100px){.ov-news-grid--2 .ov-news-side .ov-news-summary{-webkit-line-clamp:4}}
/* a single published story: the panel beside the text, not a wide banner above it */
@media (min-width:768px){
  .ov-news-grid--1 .ov-news-card--lead{flex-direction:row}
  .ov-news-grid--1 .ov-news-media{width:34%;aspect-ratio:auto;max-height:none;min-height:190px;border-bottom:0;border-right:1px solid var(--border)}
}
/* tablet: the lead story on top, the compact ones below it side by side */
@media (max-width:1099px){
  .ov-news-grid{grid-template-columns:minmax(0,1fr)}
  .ov-news-side{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-auto-rows:auto}
}
@media (max-width:767px){
  .ov-news{margin-top:36px}
  .ov-news h2{font-size:24px}
  .ov-news-sub{font-size:14px}
  .ov-news-head .ov-news-all{display:none}
  .ov-news-all--bottom{display:inline-block;margin-top:12px}
  .ov-news-side{grid-template-columns:minmax(0,1fr)}
  .ov-news-media{max-height:none}
  .ov-news-card--lead h3{font-size:19px}
}
/* Eleven links since 2026-10-11 («Реклама»): on a tablet they sit closer, so the footer stays one line. */
@media (min-width:768px) and (max-width:1180px){.site-footer-main{gap:8px 12px}.site-footer-links{gap:6px 11px}.site-footer-links a{font-size:12.5px}}

/* Cross-promo of the team's other project (app/services/crosspromo.py, 2026-10-12). A guest on the page:
   its own label, its own banner, nothing of DFO Radar's look borrowed. The wide banner carries its
   lettering in the picture; below 720px that lettering is unreadable, so a card with real text takes over. */
.xpromo{box-sizing:border-box;max-width:1400px;margin:28px auto 0;padding:0}
.xpromo-label{margin:0 0 8px;font-size:11.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-2,#6B716D)}
.xpromo-banner{display:block;border-radius:18px;overflow:hidden;background:#f3f3f1;box-shadow:0 8px 26px rgba(24,35,30,.08);
  text-decoration:none;color:#151515;transition:box-shadow .15s,transform .15s}
.xpromo-banner:hover{box-shadow:0 12px 34px rgba(24,35,30,.13);transform:translateY(-1px)}
.xpromo-banner:focus-visible{outline:2px solid var(--brand-primary,#1F4D3A);outline-offset:3px}
.xpromo-wide{display:block;width:100%;height:auto;aspect-ratio:1600/533}
.xpromo-card{display:none}
.xpromo-caption{margin:10px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink-2,#6B716D)}
.xpromo-caption a{color:var(--ink-strong,#18231E);font-weight:600;text-decoration:none;white-space:nowrap}
.xpromo-caption a:hover{text-decoration:underline}
@media (max-width:720px){
  .xpromo-wide{display:none}
  .xpromo-card{display:block;background:#fff}
  .xpromo-card img{display:block;width:100%;height:auto;aspect-ratio:16/11;object-fit:cover;object-position:50% 22%}
  .xpromo-card-body{display:flex;flex-direction:column;gap:8px;padding:18px 18px 20px}
  .xpromo-brand{font:800 15px/1 Inter,system-ui,sans-serif;letter-spacing:.02em;color:#151515}
  .xpromo-title{font:800 26px/1.1 Inter,system-ui,sans-serif;letter-spacing:-.02em;color:#151515}
  .xpromo-text{font-size:15px;line-height:1.45;color:#6b6b6b}
  .xpromo-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;margin-top:8px;border-radius:999px;
    background:#1c1c1e;color:#fff;font:600 15.5px/1 Inter,system-ui,sans-serif}
}
@media (prefers-reduced-motion:reduce){.xpromo-banner{transition:none}.xpromo-banner:hover{transform:none}}
.xpromo-wrap{padding:0 var(--ov-gutter,16px)}
/* 2026-10-12, the owner: the block runs edge to edge, but the picture itself is 15% smaller - stretched
   to the full width it was too tall and soft. The picture is shown at 85% and never above its own
   resolution (a 2048px file for dense screens); the room at the sides is the same picture out of focus,
   and the picture's own edges melt into it. */
.xpromo-wrap .xpromo{max-width:1592px}
@media (min-width:721px){
  .xpromo-wrap .xpromo-banner{position:relative;isolation:isolate;background:#eceeed}
  /* the backdrop is a file of its own: the banner continued past its sides (its blank margin, on the left)
     and blurred - blurring the banner itself smeared its lettering into blots */
  .xpromo-wrap .xpromo-banner::before{content:"";position:absolute;inset:0;z-index:-1;
    background:url("/static/img/promo/svoy-backdrop.webp") center / 100% 100% no-repeat}
  /* the owner, same day: nothing out of focus on the right - the picture sits against the right edge,
     sharp to the end; the spare room and the soft join are on the left only */
  .xpromo-wrap .xpromo-wide{width:85%;margin:0 0 0 auto;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 5%);
    mask-image:linear-gradient(90deg,transparent 0,#000 5%)}
}
