/* Editorial — светлый аналитический журнал (линейка v2, дизайн 16.10).
   1) Палитра для страниц витрины на общем тематическом шаблоне (страница сигнала — signal_themed). Тема только
      светлая: те же токены и для «тёмного» режима, а переключатель темы на этих страницах спрятан.
   2) Главная (storefront_v2): токены на body.sfv2.t-editorial и композиция первого экрана. */

:root,html[data-theme="dark"],html[data-theme="light"]{--bg:#f5f0e7;--bg2:#ece4d6;--card:#fffdf8;--panel2:#f7f1e6;--line:#e0d8c9;--line2:#cfc5b3;--fg:#242923;--mut:#5e594f;--faint:#6b665b;--acc:#1f6a5d;--acc-press:#17544a;--acc-soft:rgba(31,106,93,.10);--ok:#1d7a4c;--bad:#b23a3a;--grad:#1f6a5d;--brandgrad:none;--brandclip:border-box;--brandfill:currentColor;color-scheme:light}
.tnav .icon-btn{display:none}
body:not(.sfv2) :is(h1,h2,h3){font-family:Georgia,'Times New Roman',serif;font-weight:600}
.scard,.panel,.brokers-box{border-radius:6px}
.btn,.chip,.lng{border-radius:4px}
.panel{box-shadow:8px 8px 0 #ded6c7}
/* блок «Результаты» страницы сигнала рисуется белым — здесь берёт цвета темы */
html .sfst{border-color:var(--line);background:var(--card)}
html .sfst-h,html .sfst-l,html .sfst-chip .n{color:var(--mut)}
html .sfst-fig b,html .sfst-chip{color:var(--fg)}
html .sfst-chip{border-color:var(--line)}
html .sfst-spark.up polyline{stroke:#1d7a4c}
html .sfst-fig b.up{color:#1d7a4c}

/* ---- главная (storefront_v2) ---- */
body.sfv2.t-editorial{--bg:#f5f0e7;--panel:#fffaf1;--soft:#ece4d6;--ink:#242923;--muted:#5e594f;--line:rgba(55,58,45,.2);--accent:#1f6a5d;--accent2:#1f6a5d;--on-accent:#ffffff;--pos:#1d7a4c;--neg:#b23a3a;--warn:#8a5a00;--radius:6px}
.t-editorial .v2-top{background:rgba(245,240,231,.92)}
.t-editorial .v2-hero{background:linear-gradient(90deg,rgba(158,130,80,.05) 1px,transparent 1px),var(--bg);background-size:52px 52px}
.t-editorial h1,.t-editorial h2,.t-editorial .v2-paper h3,.t-editorial .v2-pc-nm,.t-editorial .v2-about-txt{font-family:var(--serif)}
.t-editorial h1,.t-editorial h2{font-weight:600}
.t-editorial h1{letter-spacing:-.035em}
.t-editorial .v2-mark,.t-editorial .v2-eyebrow,.t-editorial .v2-lng{border-radius:4px}
.t-editorial .v2-mark,.t-editorial .v2-avatar,.t-editorial .v2-about-av,.t-editorial .v2-prof-av{background:#1f6a5d;color:#fff}
.t-editorial .v2-btn,.t-editorial .v2-cta{border-radius:4px;box-shadow:none;background:var(--accent)}
.t-editorial .v2-btn.v2-ghost{background:transparent;border-color:#bdb3a1}
.t-editorial .v2-paper{border-color:#d5cdbd;border-radius:4px;box-shadow:8px 8px 0 #ded6c7;background:repeating-linear-gradient(0deg,rgba(95,77,46,.02) 0 1px,transparent 1px 5px),#fffaf1}
.t-editorial .v2-kicker{border-bottom-color:#e0d6c5}
.t-editorial .v2-card,.t-editorial .v2-pcard,.t-editorial .v2-faq details{border-radius:5px;box-shadow:none}
.t-editorial .v2-soft .v2-card,.t-editorial .v2-soft .v2-pcard{border-color:#d9cfbd}
.t-editorial .v2-band{border-radius:5px;background:#e9e1d3;border-color:#d5cdbd}
.t-editorial .v2-chart{background:#fbf6ec}
.t-editorial .v2-about-av{border-radius:6px}
@media(min-width:901px){.t-editorial .v2-hero-grid{grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);gap:48px}.t-editorial .v2-visual{order:-1}}
