/* ============================================================
   Lumera UI — фирменная дизайн-система (v1)
   Палитра navy #0F172A · green #3F8E52 · Inter
   Используется сайтом, личным кабинетом, онбордингом.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root{
  --navy:#0F172A; --navy-2:#0B1220; --navy-card:#141E33; --navy-line:#243049;
  --green:#3F8E52; --green-d:#347544; --green-l:#6EE7B7; --mint:#A6CF93;
  --ink:#0F172A; --muted:#64748B; --subtle:#94A3B8; --line:#ECEEF2; --line-2:#E2E5EA;
  --bg:#FFFFFF; --bg-soft:#F8FAFC; --tint:#EEF5EB;
  --r-sm:9px; --r:13px; --r-lg:18px; --r-xl:24px;
  --maxw:1180px; --pad:40px;
  --shadow:0 18px 40px -24px rgba(15,23,42,.25);
}
*{box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.5}
a{text-decoration:none;color:inherit}
.mono{font-family:'JetBrains Mono',ui-monospace,monospace}
.tnum{font-variant-numeric:tabular-nums}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--pad)}

/* ---------- Buttons ---------- */
.btn{font-size:14px;font-weight:600;padding:10px 18px;border-radius:11px;border:1px solid var(--line-2);
  background:#fff;color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:.16s}
.btn:hover{background:var(--bg-soft);border-color:#CBD5E1}
.btn.p{background:var(--navy);color:#fff;border-color:var(--ink)} .btn.p:hover{background:#1E293B}
.btn.g{background:var(--green);border-color:var(--green);color:#fff;padding:14px 26px;font-size:15px} .btn.g:hover{background:var(--green-d)}
.btn.o{background:transparent;border-color:#334155;color:#fff;padding:14px 26px;font-size:15px} .btn.o:hover{background:rgba(255,255,255,.06)}
.btn.sm{padding:8px 14px;font-size:13px}

/* ---------- Nav ---------- */
.nav{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav .in{display:flex;align-items:center;gap:32px;height:68px}
.nav .logo svg{height:28px;display:block}
.nav .links{display:flex;gap:26px;margin-left:8px}
.nav .links a{font-size:14px;color:#475569;font-weight:500} .nav .links a:hover{color:var(--ink)}
.nav .right{margin-left:auto;display:flex;gap:12px;align-items:center}
.lang{display:flex;gap:2px;border:1px solid var(--line-2);border-radius:9px;padding:2px;font-size:12.5px}
.lang a{padding:5px 9px;border-radius:7px;color:var(--muted);font-weight:600} .lang a.on{background:var(--navy);color:#fff}

/* ---------- Hero ---------- */
.hero{background:linear-gradient(180deg,var(--navy),var(--navy-2));color:#fff;padding:84px 0 96px}
.hero .in{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center}
.eyebrow{color:var(--green-l);font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.hero h1{font-size:52px;line-height:1.06;letter-spacing:-.035em;font-weight:800;margin:18px 0 20px}
.hero p{font-size:18px;color:var(--subtle);line-height:1.6;max-width:540px}
.cta{display:flex;gap:14px;margin-top:32px;flex-wrap:wrap}
.stats{display:flex;gap:40px;margin-top:46px}
.stats .s b{font-size:24px;font-weight:800} .stats .s span{display:block;font-size:12.5px;color:var(--subtle);margin-top:2px}

/* ---------- Dashboard card (hero visual) ---------- */
.dash{background:var(--navy-card);border:1px solid var(--navy-line);border-radius:var(--r-xl);padding:22px;box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}
.dash .top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.dash .lbl{font-size:12px;color:var(--subtle)} .dash .pill{font-size:11px;font-weight:600;color:var(--green-l);background:rgba(63,142,82,.18);padding:4px 9px;border-radius:999px}
.dash .bal{font-size:34px;font-weight:800;letter-spacing:-.02em;color:#fff;margin:2px 0 16px}
.dash .chart{display:flex;align-items:flex-end;gap:7px;height:74px;margin-bottom:18px}
.dash .chart i{flex:1;background:rgba(148,163,184,.18);border-radius:5px} .dash .chart i.on{background:var(--green)}
.dash .tx{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--navy-line)}
.dash .tx .ic{width:30px;height:30px;border-radius:9px;background:#1E293B;display:grid;place-items:center;font-size:12px;color:var(--subtle)}
.dash .tx .nm{font-size:13.5px;color:#E2E8F0;font-weight:500} .dash .tx .sub{font-size:11.5px;color:var(--muted)}
.dash .tx .amt{margin-left:auto;font-size:13.5px;font-weight:600} .amt.pos{color:var(--green-l)} .amt.neg{color:#CBD5E1}

/* ---------- Trust ---------- */
.trust{padding:36px 0;border-bottom:1px solid var(--line)}
.trust .in{display:flex;align-items:center;gap:40px;flex-wrap:wrap;justify-content:center}
.trust .t{font-size:12.5px;color:var(--subtle);font-weight:600} .trust .lg{font-size:19px;font-weight:800;color:#CBD5E1;letter-spacing:-.02em}

/* ---------- Sections ---------- */
.sec{padding:80px 0} .sec .head{max-width:640px;margin-bottom:46px}
.sec .head .ey{color:var(--green);font-size:12.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.sec .head h2{font-size:36px;font-weight:800;letter-spacing:-.03em;margin:12px 0 12px;line-height:1.12}
.sec .head p{font-size:16.5px;color:var(--muted);line-height:1.6}
.feat{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{border:1px solid var(--line);border-radius:var(--r-lg);padding:28px;transition:.2s}
.card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.card .ic{width:44px;height:44px;border-radius:12px;background:var(--tint);display:grid;place-items:center;margin-bottom:16px}
.card .ic i{width:16px;height:16px;border-radius:5px;background:var(--green)}
.card h3{font-size:18px;margin-bottom:8px;letter-spacing:-.01em} .card p{font-size:14.5px;color:var(--muted);line-height:1.6}

/* ---------- Split ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center;padding:70px 0;border-top:1px solid var(--line)}
.split.rev .txt{order:2}
.split h3{font-size:28px;font-weight:800;letter-spacing:-.02em;margin-bottom:14px}
.split p{font-size:16px;color:var(--muted);line-height:1.65;margin-bottom:18px}
.split ul{list-style:none;display:flex;flex-direction:column;gap:10px}
.split li{font-size:14.5px;color:#334155;display:flex;gap:10px;align-items:center}
.split li::before{content:"";width:8px;height:8px;border-radius:3px;background:var(--green);flex-shrink:0}
.panel{border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:#fff}
.panel .bar{height:38px;background:var(--bg-soft);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:6px;padding:0 14px}
.panel .bar i{width:10px;height:10px;border-radius:50%;background:#E2E8F0}
.ledger{padding:8px 0} .lrow{display:grid;grid-template-columns:1fr auto auto;gap:16px;padding:12px 18px;border-bottom:1px solid #F1F3F6;font-size:13.5px;align-items:center}
.lrow .m{color:#334155;font-weight:500} .lrow .st{font-size:11px;font-weight:600;padding:3px 9px;border-radius:999px}
.st.ok{background:var(--tint);color:#2A5F38} .st.hold{background:#FEF3C7;color:#B45309} .lrow .a{font-variant-numeric:tabular-nums;font-weight:600}
.code{background:var(--navy);color:#E2E8F0;border-radius:var(--r-lg);padding:22px;font-family:'JetBrains Mono',monospace;font-size:13px;line-height:1.7;overflow:hidden}
.code .k{color:var(--green-l)} .code .s{color:var(--mint)} .code .c{color:var(--muted)} .code .p{color:var(--subtle)}

/* ---------- Stat band ---------- */
.band{background:var(--navy);color:#fff;padding:64px 0}
.band .in{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;text-align:center}
.band b{font-size:40px;font-weight:800;letter-spacing:-.02em;display:block} .band span{color:var(--subtle);font-size:14px} .band b .g{color:var(--green-l)}

/* ---------- Final CTA ---------- */
.final{padding:90px 0} .final .box{background:linear-gradient(135deg,#13351F,var(--navy));border:1px solid #1E3A2A;border-radius:var(--r-xl);padding:64px;text-align:center;color:#fff}
.final h2{font-size:38px;font-weight:800;letter-spacing:-.03em;margin-bottom:14px} .final p{color:var(--subtle);font-size:17px;margin-bottom:28px}

/* ---------- Footer ---------- */
.foot{background:var(--navy-2);color:var(--subtle);padding:56px 0 34px}
.foot .top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px;padding-bottom:34px;border-bottom:1px solid #1E293B}
.foot .logo svg{height:26px} .foot .desc{font-size:13px;margin-top:14px;max-width:240px;line-height:1.6}
.foot h5{color:#fff;font-size:13px;margin-bottom:14px;font-weight:600} .foot a{display:block;font-size:13.5px;margin-bottom:9px;color:var(--subtle)} .foot a:hover{color:#fff}
.foot .bot{display:flex;justify-content:space-between;margin-top:24px;font-size:12.5px}

/* ---------- Forms / generic (для кабинета, онбординга, авторизации) ---------- */
.field{margin-bottom:16px} .field label{display:block;font-size:13px;font-weight:600;color:#334155;margin-bottom:7px}
.input{width:100%;font-size:14px;padding:11px 14px;border:1px solid var(--line-2);border-radius:var(--r-sm);background:#fff;color:var(--ink);transition:.14s}
.input::placeholder{color:var(--subtle)} .input:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px rgba(63,142,82,.14)}
.badge{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;padding:3px 9px;border-radius:999px}
.badge.ok{background:var(--tint);color:#2A5F38} .badge.warn{background:#FEF3C7;color:#B45309} .badge.muted{background:#F1F5F9;color:#475569}
.auth{min-height:100vh;display:grid;place-items:center;background:var(--bg-soft);padding:40px}
.auth .box{width:100%;max-width:420px;background:#fff;border:1px solid var(--line);border-radius:var(--r-xl);padding:38px}
.auth .logo{display:flex;justify-content:center;margin-bottom:24px} .auth .logo svg{height:30px}

@media(max-width:880px){
  .hero .in,.feat,.split,.band .in,.foot .top{grid-template-columns:1fr}
  .hero h1{font-size:38px} .split.rev .txt{order:0} :root{--pad:22px}
}

/* ---------- Pricing tiers ---------- */
.tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.tier{border:1px solid var(--line);border-radius:var(--r-lg);padding:30px 26px;display:flex;flex-direction:column;background:#fff}
.tier.pop{border-color:var(--green);box-shadow:var(--shadow);position:relative}
.tier .pop-tag{position:absolute;top:-12px;left:26px;background:var(--green);color:#fff;font-size:11px;font-weight:700;padding:4px 11px;border-radius:999px}
.tier .tn{font-size:15px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.tier .tp{font-size:34px;font-weight:800;letter-spacing:-.02em;margin:10px 0 4px}
.tier .td{font-size:13.5px;color:var(--muted);margin-bottom:20px}
.tier ul{list-style:none;display:flex;flex-direction:column;gap:11px;margin-bottom:24px;flex:1}
.tier li{font-size:14px;color:#334155;display:flex;gap:10px;align-items:center}
.tier li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--green);flex-shrink:0}
.tier .btn{justify-content:center}
@media(max-width:880px){.tiers{grid-template-columns:1fr}}

/* footer disclaimer */
.foot .disc{font-size:11.5px;color:#64748B;margin-top:18px;max-width:620px;line-height:1.55}
.foot .bot a{color:#94A3B8}.foot .bot a:hover{color:#fff}

/* legal / prose pages */
.legal{max-width:780px;margin:0 auto;padding:56px 24px 80px}
.legal .draft{background:#FEF3C7;border:1px solid #FDE68A;color:#92400E;font-size:12.5px;padding:10px 14px;border-radius:10px;margin-bottom:26px}
.legal h1{font-size:32px;font-weight:800;letter-spacing:-.02em;margin-bottom:6px}
.legal .upd{font-size:12.5px;color:#94A3B8;margin-bottom:30px}
.legal h2{font-size:18px;font-weight:700;margin:28px 0 10px}
.legal p,.legal li{font-size:15px;color:#334155;line-height:1.7}
.legal ul{margin:8px 0 8px 20px} .legal li{margin-bottom:6px}
.legal a{color:#3F8E52;font-weight:500}
.legal .meta-row{display:flex;gap:30px;flex-wrap:wrap;margin-top:14px;font-size:14px;color:#334155}


/* ================================================================
   ТЁМНАЯ ТЕМА КАБИНЕТА (перенос из дизайн-мока, CEO 08.07)
   Активна при html[data-theme="dark"] — ставит ранний скрипт в base.html
   по localStorage lumera_theme + prefers-color-scheme. Дефолт — СВЕТЛАЯ.
   ================================================================ */

/* ==================== ТЁМНАЯ ТЕМА (CEO 08.07) ====================
   Активируется html[data-theme="dark"] (ставит ранний скрипт в base.html по
   localStorage lumera_theme + prefers-color-scheme). Переопределяет токены +
   перекрывает инлайновые/классовые светлые цвета. Зелёный — акцент. */
html[data-theme="dark"]{
  --ink:#E6ECF5; --muted:#95A3BA; --subtle:#6B7A93;
  --line:#243049; --line-2:#2E3B54;
  --bg:#0B1120; --bg-soft:#0F172A; --tint:#16233F;
  --green:#49A05F; --green-d:#3F8E52; --green-l:#6EE7B7;
  --shadow:0 18px 40px -24px rgba(0,0,0,.6);
}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .cab, html[data-theme="dark"] main.cab{background:transparent}
/* Шапка + таб-бар */
html[data-theme="dark"] .cabtop{background:#0F172A !important;border-bottom-color:#22304A !important}
html[data-theme="dark"] .cabtop .who-l{color:var(--muted)}
html[data-theme="dark"] .cabtop .av{background:#1B2740;color:#E6ECF5}
html[data-theme="dark"] .cabtop .ds-logo rect[fill="#0F172A"],
html[data-theme="dark"] .cabtop .ds-logo path[fill="#0F172A"]{fill:#E6ECF5}
html[data-theme="dark"] .tabbar{background:#0F172A !important;border:1px solid #22304A !important;box-shadow:0 14px 34px -14px rgba(0,0,0,.5) !important}
/* FAB-кольцо «Пополнить» — под цвет пилюли, а не белое (мобилка) */
html[data-theme="dark"] .tabbar a.mid .ic{border-color:#0F172A !important}
html[data-theme="dark"] .tabbar a{color:#8391AE}
html[data-theme="dark"] .tabbar a.on{color:var(--green-l)}
/* Белые поверхности → тёмные */
html[data-theme="dark"] .panel-c,html[data-theme="dark"] .card,html[data-theme="dark"] .gc-pay,
html[data-theme="dark"] .gc-card,html[data-theme="dark"] .opt,html[data-theme="dark"] .intent,
html[data-theme="dark"] .prow,html[data-theme="dark"] .tx,html[data-theme="dark"] .txbox,
html[data-theme="dark"] .st-row,html[data-theme="dark"] .sec-card,html[data-theme="dark"] .box,
html[data-theme="dark"] .fld input,html[data-theme="dark"] .fld select,html[data-theme="dark"] .sec-input,
html[data-theme="dark"] [style*="background:#fff"],html[data-theme="dark"] [style*="background:#FFF"],
html[data-theme="dark"] [style*="background:#ffffff"],html[data-theme="dark"] [style*="background: #fff"]{
  background:#131C31 !important;border-color:#26324B !important;color:var(--ink) !important}
/* Мягкие серые подложки */
html[data-theme="dark"] [style*="#F1F5F9"],html[data-theme="dark"] [style*="#F4F6F8"],
html[data-theme="dark"] [style*="#F7F9FA"],html[data-theme="dark"] [style*="#EEF1F4"],
html[data-theme="dark"] [style*="#EEF1F5"],html[data-theme="dark"] [style*="#F4F5F7"],
html[data-theme="dark"] .gc-details,html[data-theme="dark"] .feenote,html[data-theme="dark"] .cprow .v,
html[data-theme="dark"] .minnote{background:#16233F !important;color:#C9D4E6 !important}
/* Тёмный текст → светлый (классы с зашитым #0F172A + заголовки) */
html[data-theme="dark"] [style*="color:#0F172A"],html[data-theme="dark"] [style*="color: #0F172A"],
html[data-theme="dark"] .opt-info h5,html[data-theme="dark"] h1,html[data-theme="dark"] h2,
html[data-theme="dark"] h3,html[data-theme="dark"] .ph,html[data-theme="dark"] .c-bal,
html[data-theme="dark"] .tb-amts,html[data-theme="dark"] .gc-start,html[data-theme="dark"] .nm,
html[data-theme="dark"] .st-name,html[data-theme="dark"] .who,html[data-theme="dark"] .tb-amt,
html[data-theme="dark"] .sec-hd h3{color:#E6ECF5 !important}
html[data-theme="dark"] .phsub,html[data-theme="dark"] .gc-intro,html[data-theme="dark"] .gc-hint,
html[data-theme="dark"] .sub,html[data-theme="dark"] .opt-desc,html[data-theme="dark"] .cplbl,
html[data-theme="dark"] .tb-label,html[data-theme="dark"] .sub{color:var(--muted) !important}
html[data-theme="dark"] .card3d{box-shadow:0 22px 46px -20px rgba(0,0,0,.7)}
html[data-theme="dark"] .btn.g,html[data-theme="dark"] .gc-btn,html[data-theme="dark"] .lockbtn{color:#fff}
/* Статусные подложки под тёмное */
html[data-theme="dark"] [style*="#F0FDF4"],html[data-theme="dark"] .gc-ok{background:#12271C !important;color:#9DE7B6 !important;border-color:#1E4230 !important}
html[data-theme="dark"] [style*="#FFFBEB"],html[data-theme="dark"] .tu-warn{background:#2A2411 !important;color:#EBCF8A !important;border-color:#4A4020 !important}
html[data-theme="dark"] [style*="#FEF2F2"],html[data-theme="dark"] .err,html[data-theme="dark"] .errfee,
html[data-theme="dark"] .tu-unavail{background:#2A1416 !important;color:#F7A9A9 !important;border-color:#5A2226 !important}
/* Селекты/опции нативные */
html[data-theme="dark"] select option{background:#131C31;color:#E6ECF5}
/* ── добор: белые классы, что остались светлыми (CEO 08.07) ── */
html[data-theme="dark"] .mrow,html[data-theme="dark"] .act,html[data-theme="dark"] .balcard,
html[data-theme="dark"] .move-cta,html[data-theme="dark"] .cardctl button{
  background:#131C31 !important;border-color:#26324B !important;color:#E6ECF5 !important}
html[data-theme="dark"] .seg{background:#182339 !important}
html[data-theme="dark"] .seg button.on{background:#26324B !important;color:#E6ECF5 !important}
html[data-theme="dark"] .mrow .mi,html[data-theme="dark"] .tx .ic,html[data-theme="dark"] .act .ic,
html[data-theme="dark"] .sec-hd .mi,html[data-theme="dark"] .tx .ic{background:#1E2A44 !important;color:#C9D4E6 !important}
/* активная вкладка — читаемый мятный БЕЗ белой плашки */
html[data-theme="dark"] .tabbar a.on{color:#7DEBB8 !important;background:transparent !important}
/* зелёные пилюли-кнопки (Все операции и т.п.) — текст белый для читаемости */
html[data-theme="dark"] .ops-all,html[data-theme="dark"] .btn.g{color:#fff !important}
/* ── ПОЛНЫЙ добор: все белые классы по ВСЕМ шаблонам → тёмные (CEO 08.07) ── */
html[data-theme="dark"] .act,html[data-theme="dark"] .balcard,html[data-theme="dark"] .box,
html[data-theme="dark"] .auth .box,html[data-theme="dark"] .cardctl button,html[data-theme="dark"] .gc-pay,
html[data-theme="dark"] .intent,html[data-theme="dark"] .move-cta,html[data-theme="dark"] .mrow,
html[data-theme="dark"] .opt,html[data-theme="dark"] .panel,html[data-theme="dark"] .panel-c,
html[data-theme="dark"] .req,html[data-theme="dark"] .sec-card,html[data-theme="dark"] .tier,
html[data-theme="dark"] .tu-card,html[data-theme="dark"] .txbox,html[data-theme="dark"] .sup-cta,
html[data-theme="dark"] .fld input,html[data-theme="dark"] .fld select,html[data-theme="dark"] .input{
  background:#131C31 !important;border-color:#26324B !important;color:#E6ECF5 !important}
/* Бейдж карты над заявкой (•• XXXX · USD): был #F4F6F8 → белое поле в тёмной (CEO 09.07). */
html[data-theme="dark"] .intent-card{background:#0F1B30 !important;border-color:#2A3A57 !important;color:var(--ink) !important}
/* Проактивно (CEO 09.07): классы-фоны без dark-оверрайда — были светлыми в тёмной.
   Семантика сохранена: warn=янтарь, bad=красный, notice=зелёный; .o/.off = нейтральные. */
html[data-theme="dark"] .warn{background:#2A2410 !important;border-color:#5C4A16 !important;color:#F5D98B !important}
html[data-theme="dark"] .bad{background:#2A1618 !important;border-color:#7A2A2E !important;color:#FCA5A5 !important}
html[data-theme="dark"] .notice{background:#12271C !important;border-color:#1F4A34 !important;color:#9DE7B6 !important}
html[data-theme="dark"] .o{background:#131C31 !important;border-color:#26324B !important}
html[data-theme="dark"] .off{background:#1A2233 !important;border-color:#26324B !important;color:#95A3BA !important}
/* Опции выбора продукта (get_card) в тёмной (CEO 09.07): иконка-бокс не белым;
   ВЫБРАННАЯ опция — чётко: мятная рамка 2px + зелёная подложка + свечение. */
html[data-theme="dark"] .opt .oi{background:#16233F !important}
html[data-theme="dark"] .opt.sel{border-color:#6EE7B7 !important;background:rgba(63,142,82,.16) !important;box-shadow:0 0 0 1.5px #6EE7B7,0 16px 34px -16px rgba(63,142,82,.6) !important}
html[data-theme="dark"] .opt.sel .oi{background:rgba(110,231,183,.16) !important}
html[data-theme="dark"] .sup-cta h5,html[data-theme="dark"] .sec-card h5,html[data-theme="dark"] .tier h5,
html[data-theme="dark"] .balcard h5,html[data-theme="dark"] .req h5{color:#E6ECF5 !important}
html[data-theme="dark"] .sup-acc{color:#95A3BA !important}
html[data-theme="dark"] .sup-acc b,html[data-theme="dark"] .sup-acc a,html[data-theme="dark"] .sup-acc span,
html[data-theme="dark"] .sup-acc strong{color:#C9D4E6 !important}
html[data-theme="dark"] .tu-refresh{background:#1E2A44 !important;color:#C9D4E6 !important}
/* десктоп: вертикальная граница левого сайдбара — тёмная (была #E6E9ED = белая полоса) */
/* ── МЕНЮ: убрать белые плашки, зелёное кольцо, боксы (CEO 08.07 «по-ублюдски») ── */
/* зелёное фокус-кольцо «орион» на пунктах меню — убрать (и свет, и тёмная) */
/* десктоп-сайдбар: hover/active без белых плашек — мягкая тёмная подсветка */
/* ── КНОПКА «ПОПОЛНИТЬ»: круглая + иконки таб-бара без квадратной подложки (CEO 08.07) ── */
html[data-theme="dark"] .tabbar a:not(.mid) .ic{background:none !important;border:0 !important}
/* «Пополнить» — круглая зелёная (и на десктопе тоже), в фирменном зелёном */
/* ── МЕНЮ (десктоп): единый слот иконки 38px → подписи в ровную колонку (CEO 08.07 «криво как зубы») ── */
/* ── КНОПКА ПЕРЕВОРОТА ↻: единое место (центр-справа) на обеих сторонах + вращение hover/тап (CEO 08.07) ── */
.cb-flipback{top:50% !important;right:12px !important;bottom:auto !important;transform:translateY(-50%) !important}
.flip-hint svg,.cb-flipback svg{transition:transform .55s cubic-bezier(.34,1.3,.5,1)}
.card3d:not(.flipped):hover .flip-hint svg,.flip-hint:hover svg,.cb-flipback:hover svg{transform:rotate(-180deg)}
@keyframes flipspin{from{transform:rotate(0)}to{transform:rotate(-360deg)}}
.flip-hint.spin svg,.cb-flipback.spin svg{animation:flipspin .6s ease}

/* десктоп-меню (>=960px) — не влияет на мобильный таб-бар */
@media (min-width:960px){
html[data-theme="dark"] body.has-shell .tabbar{border-right-color:#22304A !important;background:#0F172A !important}
html[data-theme="dark"] body.has-shell .cabtop{border-radius:0 0 20px 20px}
.tabbar a:focus-visible,.tabbar a:focus,body.has-shell .tabbar a:focus-visible,body.has-shell .tabbar a:focus{outline:none !important;box-shadow:none !important}
html[data-theme="dark"] body.has-shell .tabbar a:hover{background:rgba(255,255,255,.055) !important}
html[data-theme="dark"] body.has-shell .tabbar a.on{background:rgba(63,142,82,.16) !important;color:#7DEBB8 !important}
html[data-theme="dark"] body.has-shell .tabbar a.mid.on .ic{background:#3F8E52 !important;color:#fff !important}
html[data-theme="dark"] body.has-shell .tabbar a{gap:14px !important;padding:12px 16px !important}
html[data-theme="dark"] body.has-shell .tabbar a .ic{flex:0 0 38px !important;width:38px !important;height:22px !important}
html[data-theme="dark"] body.has-shell .tabbar a.mid .ic{flex:0 0 38px !important;width:38px !important;height:38px !important;padding:9px !important;box-sizing:border-box !important;background:rgba(63,142,82,.18) !important;color:#7DEBB8 !important;border-radius:50% !important}
html[data-theme="dark"] body.has-shell .tabbar a.mid.on .ic{background:#3F8E52 !important;color:#fff !important}
}


/* success-текст в тёмной — светло-зелёный (был #166534, невидим) */
html[data-theme="dark"] [style*="color:#166534"],html[data-theme="dark"] [style*="#166534"]{color:#6EE7B7 !important}
