/* =====================================================================
   mydashly — THÈME SOMBRE (Paramètres › Apparence, menu du profil)
   Actif quand <html data-theme="dark"> (posé par assets/js/theme.js dans le <head>).
   1) Jetons de couleur (md.css :root) redéfinis pour le sombre.
   2) Surcharges générées : couleurs écrites en dur dans md.css et dash.css, converties
      automatiquement (fonds clairs → surfaces sombres, textes foncés → clairs, bordures, ombres).
      À régénérer après des ajouts de couleurs en dur (script gen.js de la session, sinon à la main).
   3) Réglages manuels : barre latérale, boutons, info-bulles, logos, graphiques, transitions.
   Chargé après dash.css. Ne touche pas aux pages publiques.
   ===================================================================== */
:root[data-theme="light"]{color-scheme:light}
:root[data-theme="dark"]{
  color-scheme:dark;
  --ink:#E8EEF7;
  --ink-2:#C5D0DE;
  --muted:#9AA8BC;
  --faint:#7F8DA3;
  --line:#2B3549;
  --bar1:#93C5FD;
  --bar2:#3B82F6;
  --bar3:#4F6FE0;
  --brand:#6AA5FA;
  --brand-bg:#2563EB;     /* fond des boutons bleus (texte blanc lisible) */
  --ink-bg:#2A3650;       /* fond « encre » sous texte blanc : info-bulles, badges */
  --soft:#1B2B47;
  --bg:#0E1526;
  --surface:#1A2233;
  --s1:#4C8DF6;
  --s2:#14B8A6;
  --s3:#F59E0B;
  --good:#4ADE80;
  --good-bg:#11321F;
  --warn:#FCD34D;
  --warn-bg:#3A2C0C;
  --bad:#F87171;
  /* Effet d’ombre conservé : ombres plus profondes + léger liseré clair en haut des cartes */
  --shadow-sm:0 1px 2px rgba(0,0,0,.35),0 4px 14px -4px rgba(0,0,0,.45);
  --shadow-lg:0 1px 2px rgba(0,0,0,.4),0 12px 32px -8px rgba(0,0,0,.55),0 40px 80px -24px rgba(0,0,0,.6);
}

/* Changement de thème (theme.js) : View Transitions — l’ancien rendu reste figé pendant que le nouveau
   se dévoile en cercle depuis le point cliqué ; pas de fondu par défaut, pas de transition CSS globale. */
html.theme-vt::view-transition-old(root),html.theme-vt::view-transition-new(root){animation:none;mix-blend-mode:normal}
html.theme-vt::view-transition-old(root){z-index:1}
html.theme-vt::view-transition-new(root){z-index:2}
/* Navigateurs sans View Transitions : voile de l’ancienne couleur qui s’efface */
.theme-veil{position:fixed;inset:0;z-index:2147483646;pointer-events:none;opacity:.85;transition:opacity .38s ease}
.theme-veil.out{opacity:0}

/* @@GEN-START */
/* --- shared/md.css --- */
:where(:root[data-theme="dark"]) .btn-primary{background:var(--ink-bg);box-shadow:0 6px 18px -8px rgba(0,0,0,0.7)}
:where(:root[data-theme="dark"]) .btn-primary:hover{background:var(--bar3);box-shadow:0 10px 22px -8px rgba(30,58,138,.55)}
:where(:root[data-theme="dark"]) .btn-blue{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .btn-blue:hover{background:var(--bar3)}
:where(:root[data-theme="dark"]) .btn-danger{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .btn-danger:hover{background:#592424}
:where(:root[data-theme="dark"]) .icon-btn{background:transparent;color:var(--muted)}
:where(:root[data-theme="dark"]) .icon-btn:hover{background:var(--soft);color:var(--brand)}
:where(:root[data-theme="dark"]) .inp{border-radius:12px;border:1px solid var(--line);background-color:var(--bg)}
:where(:root[data-theme="dark"]) .inp:focus{border-color:var(--bar2);background-color:var(--surface)}
:where(:root[data-theme="dark"]) .inp[aria-invalid="true"]{border-color:var(--bad)}
:where(:root[data-theme="dark"]) select.inp{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:16px}
:where(:root[data-theme="dark"]) select.inp:hover{border-color:#35415B;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}
:where(:root[data-theme="dark"]) .fld > label[for]:hover ~ select.inp:not(:focus):not(.is-open){border-color:var(--line);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}
:where(:root[data-theme="dark"]) select.inp:focus{border-color:var(--bar2);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}
:where(:root[data-theme="dark"]) select.inp.is-open{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E")}
:where(:root[data-theme="dark"]) .chip span{background:var(--surface)}
:where(:root[data-theme="dark"]) .toast{box-shadow:0 18px 40px -14px rgba(0,0,0,0.7),inset 0 0 0 1px rgba(255,255,255,.08)}
:where(:root[data-theme="dark"]) .toast .t-bar{background:linear-gradient(90deg,var(--bar1),var(--bar2))}
:where(:root[data-theme="dark"]) .toast.error .t-bar{background:linear-gradient(90deg,#722E2E,#742F2F)}
:where(:root[data-theme="dark"]) .toast.behind{box-shadow:0 8px 18px -12px rgba(0,0,0,0.7),inset 0 0 0 1px rgba(255,255,255,.06)}
/* --- dash/assets/css/dash.css --- */
:where(:root[data-theme="dark"]) .side-label{color:#9AA6B6}
:where(:root[data-theme="dark"]) .nav-btn.active{color:#fff}
:where(:root[data-theme="dark"]) .nav-btn .count{background:rgba(255,255,255,.08)}
:where(:root[data-theme="dark"]) .top{background:rgba(29,37,56,0.85)}
:where(:root[data-theme="dark"]) .title-row h1[contenteditable="true"]{background:var(--surface)}
:where(:root[data-theme="dark"]) .seg{background:var(--surface)}
:where(:root[data-theme="dark"]) .seg button.on{color:var(--ink)}
:where(:root[data-theme="dark"]) .seg .seg-pill{box-shadow:inset 0 0 0 1px rgba(59,130,246,.25)}
:where(:root[data-theme="dark"]) .avatar:hover{box-shadow:0 0 0 4px rgba(59,130,246,.18)}
:where(:root[data-theme="dark"]) .menu{background:var(--surface)}
:where(:root[data-theme="dark"]) .menu .danger{color:#EA7474}
:where(:root[data-theme="dark"]) .empty-hero .btn-light{background:var(--surface)}
:where(:root[data-theme="dark"]) .empty-hero .btn-light:hover{background:var(--soft)}
:where(:root[data-theme="dark"]) .kpi-value.kpi-na{color:var(--muted)}
:where(:root[data-theme="dark"]) .delta.up{color:var(--good)}
:where(:root[data-theme="dark"]) .delta.down{color:var(--bad)}
:where(:root[data-theme="dark"]) .gridline{stroke:#272F42}
:where(:root[data-theme="dark"]) .hover-dot{stroke:#202737}
:where(:root[data-theme="dark"]) .tooltip{background:var(--ink-bg);box-shadow:0 10px 24px -8px rgba(0,0,0,0.7)}
:where(:root[data-theme="dark"]) .ring .bg{stroke:#272F42}
:where(:root[data-theme="dark"]) .ring .fg{stroke:url(#goalGrad)}
:where(:root[data-theme="dark"]) .badge.ok{background:var(--good-bg);color:var(--good)}
:where(:root[data-theme="dark"]) .badge.mid{background:var(--soft);color:var(--brand)}
:where(:root[data-theme="dark"]) .badge.low{background:var(--warn-bg);color:var(--warn)}
:where(:root[data-theme="dark"]) .hbar .track{background:#212A3F}
:where(:root[data-theme="dark"]) .rec .ico.in{background:#20344E;color:var(--brand)}
:where(:root[data-theme="dark"]) .rec .ico.out{background:#5B5025;color:var(--s3)}
:where(:root[data-theme="dark"]) .rec .amt.out{color:var(--ink-2)}
:where(:root[data-theme="dark"]) .search .inp{background-color:var(--surface)}
:where(:root[data-theme="dark"]) .table td{border-bottom:1px solid #252D3F}
:where(:root[data-theme="dark"]) .table tbody tr:hover{background:#1D2538}
:where(:root[data-theme="dark"]) .tag.ok{color:#B3EFCA}
:where(:root[data-theme="dark"]) .tag.wait{color:var(--warn)}
:where(:root[data-theme="dark"]) .tag-edit button:hover{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .switch i{background:#344365}
:where(:root[data-theme="dark"]) .switch i::after{background:var(--surface);box-shadow:0 1px 3px rgba(0,0,0,0.4)}
:where(:root[data-theme="dark"]) .switch input:checked + i{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .confirm{background:#3F1A1A;color:#EB8C8C}
:where(:root[data-theme="dark"]) .modal-back{background:rgba(2,6,16,0.63)}
:where(:root[data-theme="dark"]) .modal{background:var(--surface)}
:where(:root[data-theme="dark"]) .type-toggle button.on{color:#fff}
:where(:root[data-theme="dark"]) .type-toggle .pill{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .type-toggle.dep .pill{background:var(--s3)}
:where(:root[data-theme="dark"]) .welcome{background:radial-gradient(ellipse at 50% 40%,var(--surface) 0%,var(--bg) 70%)}
:where(:root[data-theme="dark"]) .welcome .check{box-shadow:0 0 0 0 rgba(0,0,0,0.6)}
:where(:root[data-theme="dark"]) .welcome .pills span{background:var(--surface)}
@media (max-width:1024px){
:where(:root[data-theme="dark"]) .side.open{box-shadow:20px 0 60px rgba(0,0,0,0.6)}
:where(:root[data-theme="dark"]) .scrim{background:rgba(2,6,16,0.56)}
}
:where(:root[data-theme="dark"]) .edit-bar{color:var(--brand)}
:where(:root[data-theme="dark"]) .w-kpi[data-fit="2"]:hover .w-tools,:where(:root[data-theme="dark"]) .wgrid.editing .w-kpi[data-fit="2"] .w-tools{background:linear-gradient(90deg,rgba(255,255,255,0),var(--surface) 35%)}
:where(:root[data-theme="dark"]) .w-size-badge{background:var(--ink-bg)}
:where(:root[data-theme="dark"]) .w-ghost{box-shadow:0 30px 60px -20px rgba(0,0,0,0.7),inset 0 0 0 1px var(--line)!important}
:where(:root[data-theme="dark"]) .w-add{background:rgba(26,43,65,0.6)}
:where(:root[data-theme="dark"]) .w-add:hover{background:var(--soft)}
:where(:root[data-theme="dark"]) .wmenu{background:var(--surface)}
:where(:root[data-theme="dark"]) .wmenu .sizes button.on{background:var(--brand-bg);color:#fff}
:where(:root[data-theme="dark"]) .wmenu .choice.on{color:var(--brand)}
:where(:root[data-theme="dark"]) .wmenu .danger{color:#EA7474}
:where(:root[data-theme="dark"]) .drawer-back{background:rgba(2,6,16,0.49)}
:where(:root[data-theme="dark"]) .drawer{background:var(--surface);box-shadow:-20px 0 60px rgba(0,0,0,0.4)}
:where(:root[data-theme="dark"]) .wl:hover{background:#1B2234}
:where(:root[data-theme="dark"]) .wl.is-on .btn{background:var(--good-bg)}
:where(:root[data-theme="dark"]) .notice{color:var(--brand)}
:where(:root[data-theme="dark"]) .qty-btn{background:var(--surface)}
:where(:root[data-theme="dark"]) .qty-btn:hover{background:var(--soft)}
:where(:root[data-theme="dark"]) .level{background:#212A3F}
:where(:root[data-theme="dark"]) .badge.out{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .badge.na{background:color-mix(in srgb,var(--muted) 14%,transparent);color:var(--muted)}
:where(:root[data-theme="dark"]) .nav-btn .count.warn{background:rgba(217,119,6,.28);color:#FCD34D}
:where(:root[data-theme="dark"]) .cash-split{background:#212A3F}
:where(:root[data-theme="dark"]) .w.w-press::after{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .privacy-btn.on{background:var(--soft);color:var(--brand)}
:where(:root[data-theme="dark"]) .set-nav{background:var(--surface)}
:where(:root[data-theme="dark"]) .set-nav button.on{color:var(--brand)}
:where(:root[data-theme="dark"]) .set-nav .pill{background:var(--soft)}
:where(:root[data-theme="dark"]) .set-card{background:var(--surface)}
:where(:root[data-theme="dark"]) .set-row{border-top:1px solid #252D3F}
:where(:root[data-theme="dark"]) .set-card-head + .set-row{border-top:0}
:where(:root[data-theme="dark"]) .set-danger{border-color:#5F2727}
:where(:root[data-theme="dark"]) .set-danger .set-card-head h3{color:#EA7474}
:where(:root[data-theme="dark"]) .set-row .lbl b .set-todo{background:#42311B;color:#F2A58C}
:where(:root[data-theme="dark"]) .proto-note{background:#433B1B;color:#F5B791;box-shadow:inset 0 0 0 1px #7B6D32}
:where(:root[data-theme="dark"]) .avatar.has-photo{box-shadow:0 0 0 2px #202737,0 0 0 3px var(--line)}
:where(:root[data-theme="dark"]) .big-av.has-photo{background:var(--surface)!important}
:where(:root[data-theme="dark"]) .color-dots button{box-shadow:0 0 0 2px #202737,0 0 0 3px transparent}
:where(:root[data-theme="dark"]) .color-dots button.on{box-shadow:0 0 0 2px #202737,0 0 0 4px var(--c)}
:where(:root[data-theme="dark"]) .key-box{background:var(--ink-bg)}
:where(:root[data-theme="dark"]) .key-box .icon-btn{color:#94A3B8}
:where(:root[data-theme="dark"]) .key-box .icon-btn:hover{background:rgba(255,255,255,.08);color:#fff}
:where(:root[data-theme="dark"]) .lrow{border-top:1px solid #252D3F}
:where(:root[data-theme="dark"]) .invite{border-top:1px solid #252D3F}
:where(:root[data-theme="dark"]) .invite .inp{background-color:var(--surface)}
:where(:root[data-theme="dark"]) .usage-row .bar{background:#212A3F}
:where(:root[data-theme="dark"]) .usage-row .bar i{background:linear-gradient(90deg,var(--bar1),var(--brand-bg))}
:where(:root[data-theme="dark"]) .plan .btn{background:var(--surface)}
:where(:root[data-theme="dark"]) .drop{background:rgba(26,43,65,0.5)}
:where(:root[data-theme="dark"]) .drop:hover,:where(:root[data-theme="dark"]) .drop.over{background:var(--soft)}
@media (max-width:980px){
:where(:root[data-theme="dark"]) .set-nav button.on{background:var(--soft)}
}
:where(:root[data-theme="dark"]) .vat-it.on{background:var(--soft)}
:where(:root[data-theme="dark"]) .vat-box{border-radius:5px;border:1.5px solid var(--faint);background:var(--surface)}
:where(:root[data-theme="dark"]) .vat-ck input:checked + .vat-box{background:var(--brand-bg,var(--brand-bg));border-color:var(--brand-bg,var(--brand))}
:where(:root[data-theme="dark"]) .vat-ck input:checked + .vat-box::after{border:solid #202737;border-width:0 2px 2px 0}
:where(:root[data-theme="dark"]) .vat-def.on{color:var(--brand)}
:where(:root[data-theme="dark"]) .imp-back{background:rgba(2,6,16,0.532)}
:where(:root[data-theme="dark"]) .imp{background:var(--surface)}
:where(:root[data-theme="dark"]) .imp-drop{background:linear-gradient(180deg,rgba(26,43,65,0.7),rgba(26,43,65,0.25))}
:where(:root[data-theme="dark"]) .imp-drop:hover,:where(:root[data-theme="dark"]) .imp-drop.over{background:var(--soft)}
:where(:root[data-theme="dark"]) .imp-drop-ic{background:var(--surface)}
:where(:root[data-theme="dark"]) .imp-progress i{background:linear-gradient(90deg,var(--bar1),var(--brand-bg))}
:where(:root[data-theme="dark"]) .st-ic{border-radius:50%}
:where(:root[data-theme="dark"]) .imp-steps li.run .st-ic::after{border-radius:50%;border:2px solid transparent;border-top-color:var(--brand)}
:where(:root[data-theme="dark"]) .imp-steps li.done .st-ic{background:var(--good)}
:where(:root[data-theme="dark"]) .imp-steps li.done .st-ic::after{border:solid #202737;border-width:0 2px 2px 0}
:where(:root[data-theme="dark"]) .imp-steps li.fail .st-ic{background:var(--bad)}
:where(:root[data-theme="dark"]) .imp-steps li.fail .st-ic::before,:where(:root[data-theme="dark"]) .imp-steps li.fail .st-ic::after{background:var(--surface);border-radius:1px}
:where(:root[data-theme="dark"]) .imp-badge.ok{background:var(--good-bg);color:var(--good);box-shadow:0 0 0 0 rgba(0,0,0,0.6)}
:where(:root[data-theme="dark"]) .imp-badge.ko{background:#491E1E}
:where(:root[data-theme="dark"]) .imp-sec[open] summary{border-bottom:1px solid #252D3F}
:where(:root[data-theme="dark"]) .imp-col select.inp{background-color:var(--surface);background-position:right 8px center;background-size:15px}
:where(:root[data-theme="dark"]) .imp-col .c-conf{background:#2A3551}
:where(:root[data-theme="dark"]) .imp-warn{border-radius:12px;background:#433B1B;box-shadow:inset 0 0 0 1px #7B6D32;color:#F5B791}
:where(:root[data-theme="dark"]) .imp-file{background:var(--bg);box-shadow:inset 0 0 0 1px var(--line)}
:where(:root[data-theme="dark"]) .imp-file.run{background:var(--soft);box-shadow:inset 0 0 0 1px rgba(59,130,246,.3)}
:where(:root[data-theme="dark"]) .imp-file.ok{color:var(--ink-2)}
:where(:root[data-theme="dark"]) .imp-file.ok i::after{border:solid #202737}
:where(:root[data-theme="dark"]) .imp-file.fail{background:#3F1A1A;box-shadow:inset 0 0 0 1px #5F2727}
:where(:root[data-theme="dark"]) .imp-file.fail i::before,:where(:root[data-theme="dark"]) .imp-file.fail i::after{background:var(--surface)}
:where(:root[data-theme="dark"]) .imp-warn.err{background:#3F1A1A;box-shadow:inset 0 0 0 1px #5F2727;color:#EA7474}
:where(:root[data-theme="dark"]) .demo-badge{background:#5B5025;color:#F5B791}
:where(:root[data-theme="dark"]) .note{background:var(--soft);color:var(--brand)}
:where(:root[data-theme="dark"]) .note.err{background:#3F1A1A;color:#EA7474;box-shadow:inset 0 0 0 1px #5F2727}
:where(:root[data-theme="dark"]) .md-tip{background:var(--ink-bg);box-shadow:0 10px 24px -8px rgba(0,0,0,0.7)}
:where(:root[data-theme="dark"]) .donut-wrap.hl .dlist button.on{background:var(--bg)}
:where(:root[data-theme="dark"]) .fnl-bar{background:linear-gradient(180deg,color-mix(in srgb,var(--c) 70%,var(--surface)),var(--c))}
:where(:root[data-theme="dark"]) .fnl-bar.empty{background:none}
:where(:root[data-theme="dark"]) .fnl-pill{background:var(--surface);box-shadow:0 4px 12px -4px rgba(0,0,0,0.36),inset 0 0 0 1px var(--line);color:var(--brand)}
:where(:root[data-theme="dark"]) .fnl-pill.good{color:var(--good)}
:where(:root[data-theme="dark"]) .fnl-pill.low{color:#F8B078}
:where(:root[data-theme="dark"]) .fnl-rank{border-top:1px solid #252D3F}
:where(:root[data-theme="dark"]) .fnl-rank-row{color:var(--ink-2)}
:where(:root[data-theme="dark"]) .fnl-rank-row.on{background:var(--soft);color:var(--brand)}
:where(:root[data-theme="dark"]) .fnl-rank-row .rate i{background:#2A3551}
:where(:root[data-theme="dark"]) .fnl-rank-row .rate i::after{background:linear-gradient(90deg,var(--bar1),var(--brand-bg))}
:where(:root[data-theme="dark"]) .sk{background:linear-gradient(100deg,#232D44 30%,#1D2538 50%,#232D44 70%);background-size:300% 100%}
:where(:root[data-theme="dark"]) .sk-row{border-bottom:1px solid #252D3F}
:where(:root[data-theme="dark"]) .sk-row:last-child{border-bottom:0}
:where(:root[data-theme="dark"]) .load-error{background:var(--surface)}
:where(:root[data-theme="dark"]) .load-error .le-ic{background:#5B5025;color:#F8B078}
:where(:root[data-theme="dark"]) .dt-back{background:rgba(2,6,16,0.392)}
:where(:root[data-theme="dark"]) .dt{background:var(--surface);box-shadow:-24px 0 60px -12px rgba(0,0,0,0.5)}
:where(:root[data-theme="dark"]) .dt-head{background:rgba(25,32,49,0.92);border-bottom:1px solid #252D3F}
:where(:root[data-theme="dark"]) .dt-hero{background:linear-gradient(135deg,var(--soft),var(--surface));box-shadow:inset 0 0 0 1px rgba(59,130,246,.18)}
:where(:root[data-theme="dark"]) .dt-hero.out{background:linear-gradient(135deg,#433B1B,var(--surface));box-shadow:inset 0 0 0 1px #7B6D32}
:where(:root[data-theme="dark"]) .dt-ctx{color:var(--ink-2)}
:where(:root[data-theme="dark"]) .dt-dl{border-top:1px solid #252D3F;border-bottom:1px solid #252D3F}
:where(:root[data-theme="dark"]) .dt-foot{background:rgba(25,32,49,0.95);border-top:1px solid #252D3F}
:where(:root[data-theme="dark"]) .dt-mbar i{background:linear-gradient(180deg,#2F4E74,var(--brand-bg))}
:where(:root[data-theme="dark"]) .dt-share circle{stroke:#243A58}
:where(:root[data-theme="dark"]) .dt-share circle.fg{stroke:var(--brand)}
:where(:root[data-theme="dark"]) .dt-hero.out .dt-share circle.fg{stroke:#F7B364}
:where(:root[data-theme="dark"]) .dt-ctx.up{color:#9FEFBD}
:where(:root[data-theme="dark"]) .dt-ctx.up svg{color:#85EEAC}
:where(:root[data-theme="dark"]) .dt-ctx.down{color:#EA7474}
:where(:root[data-theme="dark"]) .dt-ctx.down svg{color:#E87272}
:where(:root[data-theme="dark"]) .fnl-chip{background:var(--soft)}
:where(:root[data-theme="dark"]) button.fnl-chip:hover{background:#20344E}
:where(:root[data-theme="dark"]) .payrow{border-bottom:1px solid #252D3F}
:where(:root[data-theme="dark"]) .payrow:last-child{border-bottom:0}
:where(:root[data-theme="dark"]) .payrow .ico{background:#5B5025;color:var(--s3)}
:where(:root[data-theme="dark"]) .trend.up{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .trend.down{background:var(--good-bg);color:var(--good)}
:where(:root[data-theme="dark"]) .trend.flat{background:#212A3F;color:var(--muted)}
:where(:root[data-theme="dark"]) .trend.new{background:var(--soft);color:var(--brand)}
:where(:root[data-theme="dark"]) .rec em.pend{color:#F8B078}
:where(:root[data-theme="dark"]) .nav-btn .count.new{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .tk-side{background:#1B2334}
:where(:root[data-theme="dark"]) .tk-seg b{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .tk-item{background:none}
:where(:root[data-theme="dark"]) .tk-item:hover{background:var(--surface)}
:where(:root[data-theme="dark"]) .tk-item.on{background:var(--soft);box-shadow:inset 0 0 0 1px rgba(59,130,246,.3)}
:where(:root[data-theme="dark"]) .tk-dot{background:var(--brand-bg);box-shadow:0 0 0 3px #243A58}
:where(:root[data-theme="dark"]) em.p-haute{color:#F8B078}
:where(:root[data-theme="dark"]) em.p-urgente{color:#EA7474}
:where(:root[data-theme="dark"]) .tk-ic{background:var(--soft);color:var(--brand)}
:where(:root[data-theme="dark"]) .tk-ic.c-bug{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .tk-ic.c-donnees{background:#25594E;color:#A7F4EE}
:where(:root[data-theme="dark"]) .tk-ic.c-facturation{background:#5B5025;color:#F8B078}
:where(:root[data-theme="dark"]) .tk-ic.c-idee{background:#241C45;color:#A174E6}
:where(:root[data-theme="dark"]) .tk-ic.c-autre{background:#212A3F;color:var(--muted)}
:where(:root[data-theme="dark"]) .tk-pane{background:var(--surface)}
:where(:root[data-theme="dark"]) .tk-msgs{background:linear-gradient(180deg,#1D2538,var(--surface) 160px)}
:where(:root[data-theme="dark"]) .tk-day span{background:#212A3F}
:where(:root[data-theme="dark"]) .tk-msg.them .tk-bub{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line),0 1px 2px rgba(0,0,0,0.2)}
:where(:root[data-theme="dark"]) .tk-msg.me .tk-bub{background:linear-gradient(135deg,var(--brand-bg),var(--bar3));box-shadow:0 6px 16px -8px rgba(30,58,138,.55)}
:where(:root[data-theme="dark"]) .tk-foot{background:var(--surface)}
:where(:root[data-theme="dark"]) .tk-send{background:var(--ink-bg)}
:where(:root[data-theme="dark"]) .tk-send:hover{background:var(--bar3)}
:where(:root[data-theme="dark"]) .tk-stars svg{fill:#2B354A}
:where(:root[data-theme="dark"]) .tk-stars button.on svg{fill:#F7C064}
:where(:root[data-theme="dark"]) .tk-stars button:hover ~ button svg{fill:#2B354A}
:where(:root[data-theme="dark"]) .tk-cat > span{background:var(--surface)}
:where(:root[data-theme="dark"]) .tk-empty-art .b2{background:linear-gradient(135deg,var(--brand-bg),var(--bar3))}
:where(:root[data-theme="dark"]) .tk-empty-art .b3{background:var(--surface)}
:where(:root[data-theme="dark"]) .tl-bar{background:#1B2334}
:where(:root[data-theme="dark"]) .tl-tab{background:none}
:where(:root[data-theme="dark"]) .tl-tab:hover{background:var(--surface)}
:where(:root[data-theme="dark"]) .tl-tab.on{background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line),0 1px 2px rgba(0,0,0,0.2)}
:where(:root[data-theme="dark"]) .tl-acts .icon-btn{color:var(--muted)}
:where(:root[data-theme="dark"]) .tl-acts .icon-btn:hover{color:var(--ink)}
:where(:root[data-theme="dark"]) .tl-acts .tl-del:hover{color:#EA7474;background:#3F1A1A}
:where(:root[data-theme="dark"]) .tl-confirm{background:#3F1A1A;border-bottom:1px solid #5F2727;color:#E9A0A0}
:where(:root[data-theme="dark"]) .tl-frame{background:var(--surface)}
:where(:root[data-theme="dark"]) .tl-tip{background:#1B2334}
:where(:root[data-theme="dark"]) .nav-btn .st-dot.err{background:#F59E0B;box-shadow:0 0 0 3px rgba(245,158,11,.25)}
:where(:root[data-theme="dark"]) .st-ol li::before{background:#1B1F41}
:where(:root[data-theme="dark"]) .st-ol code{background:#212A3F}
:where(:root[data-theme="dark"]) .st-key .inp{background:var(--surface)}
:where(:root[data-theme="dark"]) .st-form > .btn{background:#332F74}
:where(:root[data-theme="dark"]) .st-form > .btn:hover{background:#4F46E5}
:where(:root[data-theme="dark"]) .st-spin{border-color:rgba(255,255,255,.35);border-top-color:#202737}
:where(:root[data-theme="dark"]) .st-mini{border-top-color:#393582}
:where(:root[data-theme="dark"]) .st-off:hover{color:#EA7474;box-shadow:inset 0 0 0 1px #5F2727}
:where(:root[data-theme="dark"]) .st-confirm{background:#3F1A1A;box-shadow:inset 0 0 0 1px #5F2727;color:#E9A0A0}
:where(:root[data-theme="dark"]) .stk-ic{background:#1B1F41!important}
:where(:root[data-theme="dark"]) .st-bar i{background:linear-gradient(180deg,#332F74,#332F74)}
:where(:root[data-theme="dark"]) .st-po{border-bottom:1px solid #252D3F}
:where(:root[data-theme="dark"]) .st-po:last-child{border-bottom:0}
:where(:root[data-theme="dark"]) .st-perm{background:#433B1B;box-shadow:inset 0 0 0 1px #7B6D32;color:#F5B791}
:where(:root[data-theme="dark"]) .st-switch i{background:#344365}
:where(:root[data-theme="dark"]) .st-switch i::after{background:var(--surface);box-shadow:0 1px 3px rgba(0,0,0,0.5)}
:where(:root[data-theme="dark"]) .st-switch input:checked + i{background:#332F74}
:where(:root[data-theme="dark"]) .st-switch input:focus-visible + i{outline:3px solid #273361}
:where(:root[data-theme="dark"]) .st-grid-line{stroke:#272F42}
:where(:root[data-theme="dark"]) .st-dot-pt{stroke:#202737}
:where(:root[data-theme="dark"]) .st-trend.up{color:var(--good)}
:where(:root[data-theme="dark"]) .st-trend.down{color:#EA7474}
:where(:root[data-theme="dark"]) .st-grid tr[data-st-ch]:focus-visible{outline:2px solid #273361}
:where(:root[data-theme="dark"]) .st-ref{background:#212A3F}
:where(:root[data-theme="dark"]) .st-ref:hover{background:#2A3551}
:where(:root[data-theme="dark"]) .st-dt-btn{background:#332F74}
:where(:root[data-theme="dark"]) .st-dt-btn:hover{background:#4F46E5}
:where(:root[data-theme="dark"]) .tools-nav{background:var(--surface)}
:where(:root[data-theme="dark"]) .tools-tab.on{background:var(--soft);color:var(--ink);box-shadow:inset 0 0 0 1px rgba(59,130,246,.25)}
:where(:root[data-theme="dark"]) .tools-tab.is-conn .tt-st.ok{box-shadow:inset 0 0 0 1px rgba(0,0,0,0.7)}
:where(:root[data-theme="dark"]) .tt-st.ok{background:var(--good-bg);color:var(--good)}
:where(:root[data-theme="dark"]) .tt-st.err{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .tt-st.soon{background:#212A3F;color:var(--faint)}
:where(:root[data-theme="dark"]) .sh-ic{background:#2C4639!important;color:#A4FAE5!important}
:where(:root[data-theme="dark"]) .sh-svg .sh-line{stroke:#A4FAE5}
:where(:root[data-theme="dark"]) .sh-svg .sh-dot{fill:#A4FAE5}
:where(:root[data-theme="dark"]) .sh-ol li::before{background:#2C4639!important;color:#A4FAE5!important}
:where(:root[data-theme="dark"]) .sh-st-row{border-bottom:1px solid #252D3F}
:where(:root[data-theme="dark"]) .sh-st-row:last-child{border-bottom:0}
:where(:root[data-theme="dark"]) .sh-table tr[data-sh-order]:focus-visible{outline:2px solid #42715B}
:where(:root[data-theme="dark"]) .sh-line{border-bottom:1px solid #252D3F}
:where(:root[data-theme="dark"]) .sh-line:last-child{border-bottom:0}
:where(:root[data-theme="dark"]) .sh-form .st-sample b{color:#A4FAE5}
:where(:root[data-theme="dark"]) .notif-btn.on{background:var(--soft);color:var(--brand)}
:where(:root[data-theme="dark"]) .notif-panel{background:var(--surface);box-shadow:0 1px 2px rgba(0,0,0,0.2),0 24px 60px -16px rgba(0,0,0,0.7),inset 0 0 0 1px var(--line)}
:where(:root[data-theme="dark"]) .notif-n{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .notif-head .icon-btn{color:var(--muted)}
:where(:root[data-theme="dark"]) .notif-item:hover{background:var(--bg)}
:where(:root[data-theme="dark"]) .notif-item.unread{background:#19273D}
:where(:root[data-theme="dark"]) .notif-item.unread:hover{background:#1B2841}
:where(:root[data-theme="dark"]) .notif-item.unread::before{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .notif-ic.warn{background:#5B5025;color:#F8B078}
:where(:root[data-theme="dark"]) .notif-ic.bad{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .notif-ic.good{background:var(--good-bg);color:var(--good)}
:where(:root[data-theme="dark"]) .notif-x{background:none}
:where(:root[data-theme="dark"]) .notif-x:hover{background:#212A3F}
:where(:root[data-theme="dark"]) .notif-foot{background:#1B2334}
:where(:root[data-theme="dark"]) .notif-foot:hover{background:var(--soft)}
:where(:root[data-theme="dark"]) .badge.sh-muted-b{background:#212A3F;color:var(--muted)}
:where(:root[data-theme="dark"]) .sh-heat i:hover{box-shadow:0 0 0 2px #202737,0 0 0 3px rgba(0,0,0,0.7)}
:where(:root[data-theme="dark"]) .sh-code{border-bottom:1px solid #252D3F}
:where(:root[data-theme="dark"]) .sh-code:last-child{border-bottom:0}
:where(:root[data-theme="dark"]) .wc-ic{background:#311D45!important;color:#AA8ECD!important}
:where(:root[data-theme="dark"]) .wc-ol li::before{background:#311D45!important;color:#AA8ECD!important}
:where(:root[data-theme="dark"]) .wc-btn,:where(:root[data-theme="dark"]) .wc-form > .btn{background:#7F54B3!important}
:where(:root[data-theme="dark"]) .wc-btn:hover,:where(:root[data-theme="dark"]) .wc-form > .btn:hover{background:#6B4399!important}
:where(:root[data-theme="dark"]) .wc-form .st-sample b{color:#AA8ECD}
:where(:root[data-theme="dark"]) .wc-heat i:hover{box-shadow:0 0 0 2px #202737,0 0 0 3px #7F54B3}
:where(:root[data-theme="dark"]) .wc-stars{color:#F7C064}
:where(:root[data-theme="dark"]) .wc-rev{border-bottom:1px solid #252D3F}
:where(:root[data-theme="dark"]) .wc-rev:last-child{border-bottom:0}
:where(:root[data-theme="dark"]) .pl-ic{background:#1D1F46!important;color:#9294DC!important}
:where(:root[data-theme="dark"]) .pl-ol li::before{background:#1D1F46!important;color:#9294DC!important}
:where(:root[data-theme="dark"]) .pl-btn,:where(:root[data-theme="dark"]) .pl-form > .btn{background:#2E3192!important}
:where(:root[data-theme="dark"]) .pl-btn:hover,:where(:root[data-theme="dark"]) .pl-form > .btn:hover{background:#23267A!important}
:where(:root[data-theme="dark"]) .pl-form .st-sample b{color:#9294DC}
:where(:root[data-theme="dark"]) .pl-bad{color:#E87272!important}
:where(:root[data-theme="dark"]) .pl-good{color:#85EEAC!important}
:where(:root[data-theme="dark"]) .pl-late{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .pl-bank-ic{background:#1D1F46;color:#9294DC}
:where(:root[data-theme="dark"]) .pl-tx-r{border-bottom:1px solid #252D3F}
:where(:root[data-theme="dark"]) .pl-tx-r:last-child{border-bottom:0}
:where(:root[data-theme="dark"]) .au-ic{color:color-mix(in srgb,var(--c) 62%,#fff)!important}
:where(:root[data-theme="dark"]) .au-ol li::before{color:color-mix(in srgb,var(--c) 62%,#fff)!important}
:where(:root[data-theme="dark"]) .au-btn,:where(:root[data-theme="dark"]) .au-form > .btn{background:var(--c,#F38020)!important}
:where(:root[data-theme="dark"]) .au-form .st-sample b{color:color-mix(in srgb,var(--c) 62%,#fff)}
:where(:root[data-theme="dark"]) .au-file svg{color:color-mix(in srgb,var(--c) 62%,#fff)}
:where(:root[data-theme="dark"]) .wg-none > svg{color:var(--blue,#6A94F1)}
:where(:root[data-theme="dark"]) .au-err > span{color:#F8B078}
:where(:root[data-theme="dark"]) .tt-sync{color:var(--blue,#6A94F1)}
:where(:root[data-theme="dark"]) .sy-opt{background:var(--bg)}
:where(:root[data-theme="dark"]) .sy-opt:has(input:checked){background:#1A2B41}
:where(:root[data-theme="dark"]) .sy-opt-ic{background:var(--surface)}
:where(:root[data-theme="dark"]) .sy-h-ic{color:#6A94F1}
:where(:root[data-theme="dark"]) .sy-bar .track{background:#212A3F}
:where(:root[data-theme="dark"]) .sy-tool{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
:where(:root[data-theme="dark"]) .sy-tool:hover{box-shadow:inset 0 0 0 1.5px var(--bar2)}
:where(:root[data-theme="dark"]) .sy-tool.is-ok{box-shadow:inset 0 0 0 1.5px rgba(0,0,0,0.7);background:#1B2335}
:where(:root[data-theme="dark"]) .sy-tool.is-err{box-shadow:inset 0 0 0 1.5px rgba(185,28,28,.35);background:#1B2234}
:where(:root[data-theme="dark"]) .sy-card.is-on{box-shadow:inset 0 0 0 1.5px #294364,var(--shadow-sm,0 1px 2px rgba(0,0,0,0.2))}
:where(:root[data-theme="dark"]) .badge.sy-muted{background:#212A3F;color:var(--muted)}
:where(:root[data-theme="dark"]) .sy-badge.on{color:var(--good);box-shadow:inset 0 0 0 1px #2B6941;background:#1B4126}
:where(:root[data-theme="dark"]) .sy-badge.err{color:#EA7474;box-shadow:inset 0 0 0 1px #5F2727;background:#3F1A1A}
:where(:root[data-theme="dark"]) .st-count{background:var(--soft)}
:where(:root[data-theme="dark"]) .st-count:hover{background:color-mix(in srgb,var(--brand-bg) 14%,transparent)}
:where(:root[data-theme="dark"]) .st-live.busy i{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .notif-item.unread .notif-x:hover{background:var(--good-bg)}
:where(:root[data-theme="dark"]) .notif-ic.logo{background:var(--surface)}
:where(:root[data-theme="dark"]) .app.chrome-loading #hello,:where(:root[data-theme="dark"]) .app.chrome-loading #coTitle,:where(:root[data-theme="dark"]) .app.chrome-loading #avatar{background:linear-gradient(100deg,#232D44 30%,#1D2538 50%,#232D44 70%)!important;background-size:300% 100%!important}
:where(:root[data-theme="dark"]) .wgrid.editing .w.w-selected::before{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .pg-btn{background:none}
:where(:root[data-theme="dark"]) .pg-btn:hover:not(:disabled){background:var(--bg)}
:where(:root[data-theme="dark"]) .pg-btn.on{background:var(--brand-bg);color:#fff}
@media (max-width:420px){
:where(:root[data-theme="dark"]) .tax-switch button.on{color:var(--ink)}
}
:where(:root[data-theme="dark"]) .mode-switch .seg-pill{box-shadow:0 4px 12px -6px rgba(0,0,0,0.7)}
:where(:root[data-theme="dark"]) .mode-switch button.on{color:#fff}
:where(:root[data-theme="dark"]) .sm-ask{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line),0 1px 2px rgba(0,0,0,0.2)}
:where(:root[data-theme="dark"]) .sm-ask .inp{border:0;background:none}
:where(:root[data-theme="dark"]) .sm-answer{background:#1A2B41;box-shadow:inset 0 0 0 1px #294364}
:where(:root[data-theme="dark"]) .sm-bar{background:#212A3F}
:where(:root[data-theme="dark"]) .sm-card{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line),0 1px 2px rgba(0,0,0,0.2)}
:where(:root[data-theme="dark"]) .sm-prog > div{background:#212A3F}
:where(:root[data-theme="dark"]) .sm-prog > div i{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .sm-row{border-bottom:1px solid #252D3F}
:where(:root[data-theme="dark"]) .sm-row:last-child{border-bottom:0}
:where(:root[data-theme="dark"]) .sm-row em.up{color:#9FEFBD}
:where(:root[data-theme="dark"]) .sm-row em.down{color:var(--ink)}
:where(:root[data-theme="dark"]) .sm-recap-box b.g{color:#75E69E}
:where(:root[data-theme="dark"]) .sm-recap-box b.y{color:#F7D964}
:where(:root[data-theme="dark"]) .sm-recap-btn{background:#2F5074!important;color:#CAD4EC!important}
:where(:root[data-theme="dark"]) .sm-recap-btn:hover{background:#274060!important}
:where(:root[data-theme="dark"]) .sm-big.muted{color:var(--muted)}
:where(:root[data-theme="dark"]) .sm-ask .btn{background:#2563EB}
:where(:root[data-theme="dark"]) .sm-ask .btn:hover{background:#1D4ED8}
:where(:root[data-theme="dark"]) .sm-big.neg{color:#E87272}
:where(:root[data-theme="dark"]) .sm-tone.b i{background:#344365}
:where(:root[data-theme="dark"]) .sm-row-btn{border:0;border-bottom:1px solid #252D3F;border-radius:10px}
:where(:root[data-theme="dark"]) .sm-row-btn:last-of-type{border-bottom:0}
:where(:root[data-theme="dark"]) .sm-row em.neg{color:#E87272}
:where(:root[data-theme="dark"]) .sm-wait{color:#F8B078}
:where(:root[data-theme="dark"]) .sm-late{color:#E87272}
:where(:root[data-theme="dark"]) .wg-back{background:rgba(2,6,16,0.63)}
:where(:root[data-theme="dark"]) .wg{background:var(--surface);box-shadow:var(--shadow-lg,0 30px 60px -20px rgba(0,0,0,0.7))}
:where(:root[data-theme="dark"]) .wg-search .inp{border:0;background:none}
:where(:root[data-theme="dark"]) .wg-nav{background:#1B2334}
:where(:root[data-theme="dark"]) .wg-cat.on{background:#0f172a;color:#fff}
:where(:root[data-theme="dark"]) .wg-tpl{box-shadow:inset 0 0 0 1px var(--line)}
:where(:root[data-theme="dark"]) .wg-tpl:hover{box-shadow:inset 0 0 0 1.5px var(--bar2)}
:where(:root[data-theme="dark"]) .wg-tpl.reco{box-shadow:inset 0 0 0 1.5px var(--brand);background:#1C2436}
:where(:root[data-theme="dark"]) .wg-badge{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .wg-mini i{background:#20344E}
:where(:root[data-theme="dark"]) .wg-mini i.k{background:#274060}
:where(:root[data-theme="dark"]) .wg-card.is-on{box-shadow:inset 0 0 0 1.5px var(--brand);background:#1C2436}
:where(:root[data-theme="dark"]) .wg-prev{background:linear-gradient(180deg,#1D2538,#212A3F)}
:where(:root[data-theme="dark"]) .p-kpi i{background:#344365}
:where(:root[data-theme="dark"]) .p-bars i{background:linear-gradient(180deg,#2F4E74,#2563EB)}
:where(:root[data-theme="dark"]) .p-donut span{background:conic-gradient(#2563EB 0 45%,#14B8A6 0 72%,#F59E0B 0 88%,#344365 0)}
:where(:root[data-theme="dark"]) .p-donut div i{background:#344365}
:where(:root[data-theme="dark"]) .p-list i{background:#344365}
:where(:root[data-theme="dark"]) .p-list em{background:#344365}
:where(:root[data-theme="dark"]) .p-hbars i{background:linear-gradient(90deg,#2563EB,#2F4E74)}
:where(:root[data-theme="dark"]) .wg-foot{background:#1B2334}
:where(:root[data-theme="dark"]) .wg-tpl.used{box-shadow:inset 0 0 0 2px rgba(0,0,0,0.7);background:#1D2538}
:where(:root[data-theme="dark"]) .wg-tpl .wg-tpl-tool{background:#1C442C;color:#A7FAD7}
:where(:root[data-theme="dark"]) .wg-tpl-pitch{background:var(--bg2,#212A3F)}
:where(:root[data-theme="dark"]) .wg-tpl-pitch:hover{background:#1C2C45}
:where(:root[data-theme="dark"]) .wg-tpl .wg-tpl-pitch span{color:var(--ink,#CAD4EC)}
:where(:root[data-theme="dark"]) .wg-badge.used{background:#0f172a}
:where(:root[data-theme="dark"]) .wg-current{color:#9FEFBD!important}
:where(:root[data-theme="dark"]) .vh-tpl-btn{background:none;color:inherit}
:where(:root[data-theme="dark"]) .vh-tpl-btn:hover,:where(:root[data-theme="dark"]) .vh-tpl-btn:focus-visible{background:var(--bg);color:var(--ink)}
:where(:root[data-theme="dark"]) .vh-tpl-btn{color:#649CF7}
:where(:root[data-theme="dark"]) .vh-tpl-btn:hover,:where(:root[data-theme="dark"]) .vh-tpl-btn:focus-visible{color:#98ACE9;background:#1A2B41}
:where(:root[data-theme="dark"]) .vh-tpl-btn{color:#98ACE9}
:where(:root[data-theme="dark"]) .vh-tpl-btn:hover,:where(:root[data-theme="dark"]) .vh-tpl-btn:focus-visible{color:#98ACE9;background:#1A2B41}
:where(:root[data-theme="dark"]) .vh-tpl-btn{color:#649CF7}
:where(:root[data-theme="dark"]) .vh-tpl-btn:hover,:where(:root[data-theme="dark"]) .vh-tpl-btn:focus-visible{color:#6A94F1;background:#1A2B41}
:where(:root[data-theme="dark"]) .hb-pct{color:var(--muted)}
:where(:root[data-theme="dark"]) .hbar em .hb-pct{background:#212A3F;color:var(--ink-2)}
:where(:root[data-theme="dark"]) .hbar em .hb-pct{background:color-mix(in srgb,var(--c,#2563EB) 12%,var(--surface));color:color-mix(in srgb,var(--c,#2563EB) 80%,#0f172a);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c,#2563EB) 22%,transparent)}
:where(:root[data-theme="dark"]) .th-ic{background:#1C3045!important;color:#64B2F7!important}
:where(:root[data-theme="dark"]) .th-ol li::before{background:#1C3045!important;color:#64B2F7!important}
:where(:root[data-theme="dark"]) .th-btn,:where(:root[data-theme="dark"]) .th-form > .btn{background:#1692FF!important}
:where(:root[data-theme="dark"]) .th-btn:hover,:where(:root[data-theme="dark"]) .th-form > .btn:hover{background:#0E78D9!important}
:where(:root[data-theme="dark"]) .th-form .st-sample b{color:#64B2F7}
:where(:root[data-theme="dark"]) .th-fc-r .track{background:#212A3F}
:where(:root[data-theme="dark"]) .th-chip{background:var(--bg)}
:where(:root[data-theme="dark"]) .th-chip:hover{background:#1A2B41}
:where(:root[data-theme="dark"]) .th-chip.on{background:#0f172a;color:#fff;box-shadow:none}
:where(:root[data-theme="dark"]) .th-iview button.on{background:#0f172a;color:#fff}
:where(:root[data-theme="dark"]) .hb-pct.th-pct{background:#1C3045;color:#7FBAF4;box-shadow:inset 0 0 0 1px #26405D}
:where(:root[data-theme="dark"]) .th-art-bars i{background:linear-gradient(180deg,#2F5574,#1692FF)}
:where(:root[data-theme="dark"]) .th-art-row{border-bottom:1px solid #252D3F}
:where(:root[data-theme="dark"]) .th-art-row:last-child{border-bottom:0}
:where(:root[data-theme="dark"]) .th-evo.up{background:#204F30;color:#9FEFBD}
:where(:root[data-theme="dark"]) .th-evo.down{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .th-rooms span{background:color-mix(in srgb,var(--c,#344365) 14%,var(--surface));color:color-mix(in srgb,var(--c,#94A3B8) 75%,#CAD4EC);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c,#404E6D) 25%,transparent)}
:where(:root[data-theme="dark"]) .th-rooms span.more{background:#212A3F}
:where(:root[data-theme="dark"]) .th-ok{background:var(--good-bg,#204F30);color:#9FEFBD}
:where(:root[data-theme="dark"]) .th-li{border-bottom:1px solid #252D3F}
:where(:root[data-theme="dark"]) .th-li:last-child{border-bottom:0}
:where(:root[data-theme="dark"]) .th-li-k{background:#1C3045;color:#7FBAF4}
:where(:root[data-theme="dark"]) .th-sup-l button:hover{background:#1A2B41}
:where(:root[data-theme="dark"]) .wg-cat-ic{background:var(--surface)}
:where(:root[data-theme="dark"]) .wg-cat.on .wg-cat-ic{background:rgba(255,255,255,.12)}
:where(:root[data-theme="dark"]) .wg-sub-ic{background:#1A2B41}
:where(:root[data-theme="dark"]) button.th-art-row{border-bottom:1px solid #252D3F!important}
:where(:root[data-theme="dark"]) .th-li.th-click{border-radius:10px}
:where(:root[data-theme="dark"]) .th-bk-ex span{background:var(--surface)}
:where(:root[data-theme="dark"]) .th-paybar{background:#74662F}
@media (max-width:640px){
:where(:root[data-theme="dark"]) .st-range button.on{background:var(--soft);box-shadow:inset 0 0 0 1px rgba(59,130,246,.25)}
}
:where(:root[data-theme="dark"]) .chart-period{border-top:1px solid #272F42}
:where(:root[data-theme="dark"]) .chart-period .cp-sw{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .cp-ev.up{color:#85EEAC}
:where(:root[data-theme="dark"]) .cp-ev.down{color:#E87272}
:where(:root[data-theme="dark"]) .cp-ev.flat{color:var(--muted)}
:where(:root[data-theme="dark"]) .hau-chip.up{background:var(--good-bg);color:var(--good)}
:where(:root[data-theme="dark"]) .hau-chip.down{background:color-mix(in srgb,var(--bad) 12%,transparent);color:var(--bad)}
:where(:root[data-theme="dark"]) .sg-ic{background:#1E4A2C!important;color:#9DFABC!important}
:where(:root[data-theme="dark"]) .sg-ol li::before{background:#1E4A2C!important;color:#9DFABC!important}
:where(:root[data-theme="dark"]) .sg-btn,:where(:root[data-theme="dark"]) .sg-form > .btn{background:#008A2E!important}
:where(:root[data-theme="dark"]) .sg-btn:hover,:where(:root[data-theme="dark"]) .sg-form > .btn:hover{background:#00701F!important}
:where(:root[data-theme="dark"]) .sg-form .st-sample b{color:#9DFABC}
:where(:root[data-theme="dark"]) .sg-bank-ic{background:#1E4A2C!important;color:#9DFABC!important}
:where(:root[data-theme="dark"]) .sg-own{color:#9DFABC}
:where(:root[data-theme="dark"]) .sg-biz button{background:var(--card,var(--surface))}
:where(:root[data-theme="dark"]) .sg-biz button:hover{background:#1A4027}
:where(:root[data-theme="dark"]) .th-stat{background:var(--surface)}
:where(:root[data-theme="dark"]) .th-stat.err b{color:#EA7474}
:where(:root[data-theme="dark"]) .th-f.on{color:var(--ink)}
:where(:root[data-theme="dark"]) .th-filters:not(.pill-ready) .th-f.on{background:var(--soft);box-shadow:inset 0 0 0 1px rgba(59,130,246,.25)}
:where(:root[data-theme="dark"]) .th-card{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
:where(:root[data-theme="dark"]) .th-card:hover{box-shadow:inset 0 0 0 1.5px var(--bar2)}
:where(:root[data-theme="dark"]) .th-card.is-ok{box-shadow:inset 0 0 0 1.5px rgba(0,0,0,0.7);background:#1B2335}
:where(:root[data-theme="dark"]) .th-card.is-err{box-shadow:inset 0 0 0 1.5px rgba(185,28,28,.35);background:#1B2234}
:where(:root[data-theme="dark"]) .th-ic{color:var(--brand)}
:where(:root[data-theme="dark"]) .th-st{background:#212A3F;color:var(--muted)}
:where(:root[data-theme="dark"]) .th-st.ok{background:var(--good-bg);color:var(--good)}
:where(:root[data-theme="dark"]) .th-st.err{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .th-st.free{background:#1A2B41;color:var(--brand)}
:where(:root[data-theme="dark"]) .boot-loader{background:radial-gradient(ellipse at 50% 40%,var(--surface) 0%,var(--bg) 70%)}
:where(:root[data-theme="dark"]) .bl-bar{background:#2A3551}
:where(:root[data-theme="dark"]) .bl-bar span{background:linear-gradient(90deg,#3B5FD6,#2F4B74)}
:where(:root[data-theme="dark"]) .xp-logo{color:#9FEFBD}
:where(:root[data-theme="dark"]) .xp-cat.on{background:var(--soft);box-shadow:inset 0 0 0 1.5px var(--brand)}
:where(:root[data-theme="dark"]) .xp-cat > i{color:color-mix(in srgb,var(--c) 62%,#fff)}
:where(:root[data-theme="dark"]) .xp-cat em{background:var(--surface)}
:where(:root[data-theme="dark"]) .xp-cat.on em{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .xp-mode.on{background:var(--soft);box-shadow:inset 0 0 0 1.5px var(--brand)}
:where(:root[data-theme="dark"]) .xp-seg{background:var(--surface)}
:where(:root[data-theme="dark"]) .xp-seg button.on{background:var(--soft);color:var(--ink);box-shadow:inset 0 0 0 1px rgba(59,130,246,.25)}
:where(:root[data-theme="dark"]) .imp-fam:hover{background:var(--bg)}
:where(:root[data-theme="dark"]) .imp-fam.on{box-shadow:inset 0 0 0 2px var(--c);background:color-mix(in srgb,var(--c) 6%,var(--surface))}
:where(:root[data-theme="dark"]) .imp-inc i{box-shadow:inset 0 0 0 1.5px #35415B;background:var(--surface)}
:where(:root[data-theme="dark"]) .imp-inc input:checked + i::after{border:solid #202737}
:where(:root[data-theme="dark"]) .imp-doc{background:linear-gradient(180deg,#1C2436,var(--surface))}
:where(:root[data-theme="dark"]) .imp-doc-ic{background:#20344E}
:where(:root[data-theme="dark"]) .imp-ocr{background:#241C45;color:#A174E6}
:where(:root[data-theme="dark"]) .imp-df em{color:#F8B078}
:where(:root[data-theme="dark"]) .imp-ocr-b{background:#241C45;color:#A174E6}
:where(:root[data-theme="dark"]) .imp-undo{background:#3F1A1A;box-shadow:inset 0 0 0 1px #5F2727;color:#EB8C8C}
:where(:root[data-theme="dark"]) .imp-fic{color:color-mix(in srgb,var(--c) 62%,#fff)}
:where(:root[data-theme="dark"]) .imp-topt input:checked + span{background:color-mix(in srgb,var(--c) 6%,var(--surface))}
:where(:root[data-theme="dark"]) .co-menu{background:var(--surface);box-shadow:var(--shadow-lg),0 0 0 1px rgba(0,0,0,0.2)}
:where(:root[data-theme="dark"]) .cm-row:hover,:where(:root[data-theme="dark"]) .cm-row:focus-within{background:#212A3F}
:where(:root[data-theme="dark"]) .cm-row.on{background:var(--soft)}
:where(:root[data-theme="dark"]) .cm-ok{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .cm-edit{background:none}
:where(:root[data-theme="dark"]) .cm-edit:hover{background:var(--surface)}
:where(:root[data-theme="dark"]) .cf-legal{background:var(--soft,#212A3F)}
:where(:root[data-theme="dark"]) .cf-del-note{background:#3F1A1A;color:#EB8C8C}
:where(:root[data-theme="dark"]) .co-modal .btn-danger.is-confirm{background:#DC2626;color:#fff}
:where(:root[data-theme="dark"]) .bk-ic{background:#1D3148!important;color:#64AAF7!important}
:where(:root[data-theme="dark"]) .bk-ol li::before{background:#1D3148!important;color:#A4C8FA!important}
:where(:root[data-theme="dark"]) .bk-form .st-sample b{color:#64AAF7}
:where(:root[data-theme="dark"]) .bk-why{background:#1A2940;color:#B8CDE8}
:where(:root[data-theme="dark"]) .bk-why svg{color:#64AAF7}
:where(:root[data-theme="dark"]) .bk-opt{background:var(--surface)}
:where(:root[data-theme="dark"]) .bk-opt.on{box-shadow:inset 0 0 0 1.5px #006CE4}
:where(:root[data-theme="dark"]) .bk-drop{border-radius:12px;border:1.5px dashed #2F4A6E;background:var(--surface)}
:where(:root[data-theme="dark"]) .bk-drop:hover,:where(:root[data-theme="dark"]) .bk-drop.over,:where(:root[data-theme="dark"]) .bk-drop:focus-visible{border-color:#006CE4;background:#1A2940}
:where(:root[data-theme="dark"]) .bk-drop svg{color:#64AAF7}
:where(:root[data-theme="dark"]) .bk-flag{background:#4A3F1E;color:#E8B976}
:where(:root[data-theme="dark"]) .bk-flag.ok{background:var(--good-bg);color:var(--good)}
:where(:root[data-theme="dark"]) .bk-td-ic{background:#1D3148;color:#64AAF7}
:where(:root[data-theme="dark"]) .bk-td-ns .bk-td-ic{background:#491E1E;color:#E87272}
:where(:root[data-theme="dark"]) .bk-td-vcc .bk-td-ic{background:#4A3F1E;color:#E8B976}
:where(:root[data-theme="dark"]) .bk-td-cx .bk-td-ic{background:#212A3F;color:#A1ADBF}
:where(:root[data-theme="dark"]) .bk-xl-a{background:var(--bg)}
:where(:root[data-theme="dark"]) .bk-xl-a:hover{background:#1A2940;box-shadow:inset 0 0 0 1px #2F4A6E}
:where(:root[data-theme="dark"]) .bk-xl-a svg{color:#64AAF7}
:where(:root[data-theme="dark"]) .bk-set-h b svg{color:#64AAF7}
:where(:root[data-theme="dark"]) .bk-set-file > span svg{color:#64AAF7}
:where(:root[data-theme="dark"]) .wg-act-ic{background:var(--soft)}
:where(:root[data-theme="dark"]) .wg-act-cur .wg-act-ic{background:var(--surface)}
:where(:root[data-theme="dark"]) .wg-act-search{background:var(--surface)}
:where(:root[data-theme="dark"]) .wg-act-search .inp{border:0;background:none}
:where(:root[data-theme="dark"]) .wg-act-hit,:where(:root[data-theme="dark"]) .wg-act-sh{background:none}
:where(:root[data-theme="dark"]) .wg-act-hit:hover{background:#1C2436}
:where(:root[data-theme="dark"]) .wg-act-hit.on{box-shadow:inset 0 0 0 1.5px var(--brand);background:var(--soft)}
:where(:root[data-theme="dark"]) .wg-act-now{color:#9FEFBD}
:where(:root[data-theme="dark"]) .wg-act-sec.cur{background:#1C2436}
:where(:root[data-theme="dark"]) .wg-act-sec.open{box-shadow:inset 0 0 0 1.5px var(--brand);background:var(--surface)}
:where(:root[data-theme="dark"]) .wg-act-tag{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .wg-act-chip{background:var(--bg)}
:where(:root[data-theme="dark"]) .wg-act-chip:hover{background:var(--soft)}
:where(:root[data-theme="dark"]) .wg-act-chip.on{background:var(--brand-bg);box-shadow:none;color:#fff}
:where(:root[data-theme="dark"]) .wg-act-chip.ghost{background:none}
:where(:root[data-theme="dark"]) .wg-act-err{background:#3F1D1A;color:#ED8078}
:where(:root[data-theme="dark"]) .wg-act-found{background:#1C2436}
:where(:root[data-theme="dark"]) .wg-act-conf{color:#F2A58C;background:#42311B}
:where(:root[data-theme="dark"]) .wg-tpl.mine{background:linear-gradient(180deg,#1A2B41,#1C2436 60%)}
:where(:root[data-theme="dark"]) .co-strip .cm-row{background:var(--surface)}
:where(:root[data-theme="dark"]) .co-strip .cm-row:hover{background:#1D2538}
:where(:root[data-theme="dark"]) .co-strip .cm-row.on{background:var(--soft);box-shadow:0 0 0 1px var(--bar1)}
:where(:root[data-theme="dark"]) .badge.nc-badge{background:#204F30;color:#9FEFBD}
:where(:root[data-theme="dark"]) .fi-tr-big{color:var(--ink)}
:where(:root[data-theme="dark"]) .fi-tr-big.neg{color:#E87272}
:where(:root[data-theme="dark"]) .fi-tr-due b.ok,:where(:root[data-theme="dark"]) .fi-tstrip b.ok{color:#9FEFBD}
:where(:root[data-theme="dark"]) .gl-pen{background:var(--soft)}
:where(:root[data-theme="dark"]) .gl-pen:hover{background:#20344E}
:where(:root[data-theme="dark"]) .badge.bad{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .gl-bar{background:#222C43}
:where(:root[data-theme="dark"]) .gl-fill{background:linear-gradient(90deg,#2F4E74,var(--brand-bg))}
:where(:root[data-theme="dark"]) .gl.t-ok .gl-fill{background:linear-gradient(90deg,#4ADE80,#16A34A)}
:where(:root[data-theme="dark"]) .gl.t-low .gl-fill{background:linear-gradient(90deg,#FBBF24,#D97706)}
:where(:root[data-theme="dark"]) .gl.t-bad .gl-fill{background:linear-gradient(90deg,#742F2F,#DC2626)}
:where(:root[data-theme="dark"]) .gl-col-in i{background:#344365}
:where(:root[data-theme="dark"]) .gl-col.ok .gl-col-in i{background:#2F7448}
:where(:root[data-theme="dark"]) .gl-col.cur .gl-col-in i{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .eb-ic{background:#1C2744!important;color:#6485F7!important}
:where(:root[data-theme="dark"]) .eb-ol li::before{background:#1C2744!important;color:#6485F7!important}
:where(:root[data-theme="dark"]) .eb-btn,:where(:root[data-theme="dark"]) .eb-form > .btn{background:#1449FF!important}
:where(:root[data-theme="dark"]) .eb-btn:hover,:where(:root[data-theme="dark"]) .eb-form > .btn:hover{background:#0F37C7!important}
:where(:root[data-theme="dark"]) .eb-form .st-sample b{color:#6485F7}
:where(:root[data-theme="dark"]) .eb-own{color:#6485F7}
:where(:root[data-theme="dark"]) .eb-stock-r em.eb-low{color:#F8B078}
:where(:root[data-theme="dark"]) .eb-stock-r em.eb-out{color:#E87272}
:where(:root[data-theme="dark"]) .eb-biz button{background:var(--card,var(--surface))}
:where(:root[data-theme="dark"]) .eb-biz button:hover{background:#19223E}
:where(:root[data-theme="dark"]) .ac-item{background:rgba(25,32,49,0.7)}
:where(:root[data-theme="dark"]) .ac-item:hover{background:var(--surface)}
:where(:root[data-theme="dark"]) .ac-item.on{box-shadow:none;background:transparent}
:where(:root[data-theme="dark"]) .ac-ic{color:color-mix(in srgb,var(--c) 62%,#fff)}
:where(:root[data-theme="dark"]) .ac-item.on .ac-ic{color:#fff}
:where(:root[data-theme="dark"]) .ac-edit{background:none}
:where(:root[data-theme="dark"]) .ac-edit:hover{background:rgba(255,255,255,0.078)}
:where(:root[data-theme="dark"]) .ac-solo .ac-item{background:none}
:where(:root[data-theme="dark"]) .ac-tag{color:color-mix(in srgb,var(--c) 62%,#fff);background:color-mix(in srgb,var(--c) 10%,var(--surface))}
:where(:root[data-theme="dark"]) .ac-opt.on{background:var(--soft);box-shadow:inset 0 0 0 1.5px var(--bar1)}
:where(:root[data-theme="dark"]) .ac-sbar{background:#212A3F}
:where(:root[data-theme="dark"]) .ac-row.on{background:var(--soft);box-shadow:inset 0 0 0 1px var(--bar1)}
:where(:root[data-theme="dark"]) .ac-row-ic{background:var(--c, var(--ink-bg))}
:where(:root[data-theme="dark"]) .ac-row-all .ac-row-ic{background:var(--ink)}
:where(:root[data-theme="dark"]) .ac-row-v b.neg{color:#E87272}
:where(:root[data-theme="dark"]) .ac-mini{background:#222C43}
:where(:root[data-theme="dark"]) .ac-ev.up{color:#A7FAE3;background:#1C4431}
:where(:root[data-theme="dark"]) .ac-ev.down{color:#EA7474;background:#3F1A1A}
:where(:root[data-theme="dark"]) .ac-ev.flat{color:var(--muted);background:#212A3F}
:where(:root[data-theme="dark"]) .cc-badge{background:#212A3F;background:color-mix(in srgb,var(--cc) 11%,var(--surface))}
:where(:root[data-theme="dark"]) .cc-badge::before{background:var(--cc)}
:where(:root[data-theme="dark"]) .cc-row:hover{background:var(--bg)}
:where(:root[data-theme="dark"]) .cc-row.cur{background:var(--soft)}
:where(:root[data-theme="dark"]) .cc-row .cc-del:hover{color:#E87272;background:#3F1A1A}
:where(:root[data-theme="dark"]) .cc-dot{box-shadow:0 0 0 3px #202737,0 0 0 4px var(--line)}
:where(:root[data-theme="dark"]) .cc-row.editing,:where(:root[data-theme="dark"]) .cc-row.confirm{background:var(--bg)}
:where(:root[data-theme="dark"]) .cc-row.confirm{background:#3F1A1A}
:where(:root[data-theme="dark"]) .cc-row.confirm p{color:#E9A0A0}
:where(:root[data-theme="dark"]) .qo-ic{background:#253049!important;color:#E7E7E5!important}
:where(:root[data-theme="dark"]) .qo-btn,:where(:root[data-theme="dark"]) .qo-form > .btn{background:#1D1D1B!important}
:where(:root[data-theme="dark"]) .qo-btn:hover,:where(:root[data-theme="dark"]) .qo-form > .btn:hover{background:#3A3A38!important}
:where(:root[data-theme="dark"]) .qo-form .st-sample b{color:#E7E7E5}
:where(:root[data-theme="dark"]) .qo-bad{color:#E87272!important}
:where(:root[data-theme="dark"]) .qo-warn{color:#F8B078!important}
:where(:root[data-theme="dark"]) .qo-in{color:#85EEAC!important}
:where(:root[data-theme="dark"]) .qo-ill-win{background:var(--surface);box-shadow:0 6px 18px rgba(0,0,0,0.2)}
:where(:root[data-theme="dark"]) .qo-acc{background:var(--bg)}
:where(:root[data-theme="dark"]) .qo-acc.on{background:var(--surface)}
:where(:root[data-theme="dark"]) .qo-chip{background:var(--surface)}
:where(:root[data-theme="dark"]) .qo-chip.on{background:#1D1D1B;color:#fff}
:where(:root[data-theme="dark"]) .qo-li em{color:#F8B078}
:where(:root[data-theme="dark"]) .sy-anti svg{color:#F8B078}
:where(:root[data-theme="dark"]) .sq-ic{background:#1D2D46!important;color:#64A1F7!important}
:where(:root[data-theme="dark"]) .sq-ol li::before{background:#1D2D46!important;color:#64A1F7!important}
:where(:root[data-theme="dark"]) .sq-btn,:where(:root[data-theme="dark"]) .sq-form > .btn{background:#006AFF!important}
:where(:root[data-theme="dark"]) .sq-btn:hover,:where(:root[data-theme="dark"]) .sq-form > .btn:hover{background:#0055CC!important}
:where(:root[data-theme="dark"]) .sq-form .st-sample b{color:#64A1F7}
:where(:root[data-theme="dark"]) .sq-pick .eb-biz button:hover{background:#1A283F}
:where(:root[data-theme="dark"]) .sq-story .sq-up{color:var(--good,#85EEAC)}
:where(:root[data-theme="dark"]) .sq-story .sq-down{color:#E87272}
:where(:root[data-theme="dark"]) .sq-vb i{background:#283F63}
:where(:root[data-theme="dark"]) .sq-vb.on span{color:#64A1F7}
:where(:root[data-theme="dark"]) .sq-row[data-sq-pay]:hover b{color:#64A1F7}
:where(:root[data-theme="dark"]) .sq-row em.sq-neg{color:#F8B078}
:where(:root[data-theme="dark"]) .sq-av{background:#1D2D46;color:#64A1F7}
:where(:root[data-theme="dark"]) .rv-ic{background:#1D3148!important;color:#64ADF7!important}
:where(:root[data-theme="dark"]) .rv-ol li::before{background:#1D3148!important;color:#64ADF7!important}
:where(:root[data-theme="dark"]) .rv-btn,:where(:root[data-theme="dark"]) .rv-form > .btn{background:#0075EB!important}
:where(:root[data-theme="dark"]) .rv-btn:hover,:where(:root[data-theme="dark"]) .rv-form > .btn:hover{background:#005FC0!important}
:where(:root[data-theme="dark"]) .rv-form .st-sample b{color:#64ADF7}
:where(:root[data-theme="dark"]) .rv-env{background:var(--card,var(--surface))}
:where(:root[data-theme="dark"]) .rv-env.on{background:#1A2D3F;color:var(--ink)}
:where(:root[data-theme="dark"]) .kpi-value.rv-warn{color:#F8B078}
:where(:root[data-theme="dark"]) .rv-cur-code{color:color-mix(in srgb,var(--c) 62%,#fff)}
:where(:root[data-theme="dark"]) .rv-li:hover b{color:#64ADF7}
:where(:root[data-theme="dark"]) .rv-li em{color:#F8B078}
:where(:root[data-theme="dark"]) .rv-acc-ic{background:#212A3F}
:where(:root[data-theme="dark"]) .rv-acc em.rv-neg{color:#E87272}
:where(:root[data-theme="dark"]) .rv-pos{color:#9FEFBD}
:where(:root[data-theme="dark"]) .rv-cta-ic{background:#1D3148;color:#64ADF7}
:where(:root[data-theme="dark"]) .rv-biz-head h3 svg{color:#64ADF7}
:where(:root[data-theme="dark"]) .rv-own{color:#E87272}
:where(:root[data-theme="dark"]) .dt-rz::before{background:linear-gradient(180deg,rgba(37,99,235,0),var(--brand-bg) 14%,var(--brand-bg) 86%,rgba(37,99,235,0))}
:where(:root[data-theme="dark"]) .dt-rz-tab{background:var(--surface);box-shadow:0 0 0 1px rgba(0,0,0,0.2),0 6px 18px -6px rgba(0,0,0,0.6)}
:where(:root[data-theme="dark"]) .dt-rz:hover .dt-rz-tab{box-shadow:0 0 0 1px rgba(37,99,235,.35),0 10px 24px -8px rgba(37,99,235,.45)}
:where(:root[data-theme="dark"]) .dt-rz-tab:focus-visible{box-shadow:0 0 0 2px #202737,0 0 0 4px var(--brand),0 8px 20px -8px rgba(37,99,235,.45)}
:where(:root[data-theme="dark"]) .dt-rz.drag .dt-rz-tab{background:var(--brand-bg);box-shadow:0 0 0 1px var(--brand),0 12px 28px -8px rgba(37,99,235,.6)}
:where(:root[data-theme="dark"]) .ovp-note{color:#F8B078}
:where(:root[data-theme="dark"]) .w-err{background:#3F1A1A;color:#EB8C8C}
:where(:root[data-theme="dark"]) .w-err small{color:#E9A0A0}
:where(:root[data-theme="dark"]) .of-name .badge.na{background:rgba(255,255,255,.14);color:#E2E8F0}
:where(:root[data-theme="dark"]) .of-name .badge.mid{background:rgba(147,197,253,.2);color:#BFDBFE}
:where(:root[data-theme="dark"]) .of-meta div{background:var(--surface)}
:where(:root[data-theme="dark"]) .of-feats li{color:var(--ink-2,#BFCAD9)}
:where(:root[data-theme="dark"]) .of-bub.yes{background:#204F30;color:#9FEFBD;box-shadow:inset 0 0 0 1px rgba(0,0,0,0.24)}
:where(:root[data-theme="dark"]) .of-bub.no{background:#212A3F;color:#94A3B8}
:where(:root[data-theme="dark"]) .of-g.inf .bar i{background:linear-gradient(90deg,#2A673F,#22C55E)}
:where(:root[data-theme="dark"]) .of-g.over .bar i{background:linear-gradient(90deg,#722E2E,#DC2626)}
:where(:root[data-theme="dark"]) .of-g.over .of-top span{color:#EA7474}
:where(:root[data-theme="dark"]) .of-g small.of-over{color:#EA7474}
:where(:root[data-theme="dark"]) .of-lead{color:var(--ink-2,#BFCAD9)}
:where(:root[data-theme="dark"]) .of-kpi{background:#1D2538;box-shadow:inset 0 0 0 1px #272F42}
:where(:root[data-theme="dark"]) .of-kic{background:var(--surface);color:var(--brand);box-shadow:0 1px 2px rgba(0,0,0,0.2),inset 0 0 0 1px #2B354A}
:where(:root[data-theme="dark"]) .of-kv span{color:var(--ink-2,#BFCAD9)}
:where(:root[data-theme="dark"]) .of-k-sales .of-kic,:where(:root[data-theme="dark"]) .of-k-ca .of-kic{color:#9FEFBD}
:where(:root[data-theme="dark"]) .of-k-exp .of-kic{color:#E87272}
:where(:root[data-theme="dark"]) .of-k-imp .of-kic{color:#F7B364}
:where(:root[data-theme="dark"]) .of-k-sync .of-kic{color:#90F5EC}
:where(:root[data-theme="dark"]) .of-k-clients .of-kic{color:#9C69F1}
:where(:root[data-theme="dark"]) .of-k-dep .of-kic{color:#E873A7}
:where(:root[data-theme="dark"]) .btn-danger-solid{background:#DC2626}
:where(:root[data-theme="dark"]) .btn-danger-solid:hover{background:#B91C1C}
:where(:root[data-theme="dark"]) .btn-danger-solid:disabled,:where(:root[data-theme="dark"]) .btn-danger-solid[disabled]{background:#722E2E}
:where(:root[data-theme="dark"]) .sc-state{color:var(--ink-2,#BFCAD9)}
:where(:root[data-theme="dark"]) .sc-badge-off{background:#212A3F;color:#A1ADBF}
:where(:root[data-theme="dark"]) .sc-state-err{color:#EB8C8C}
:where(:root[data-theme="dark"]) .sc-modal.sc-danger .modal-head h3{color:#EA7474}
:where(:root[data-theme="dark"]) .sc-lead{color:var(--ink-2,#BFCAD9)}
:where(:root[data-theme="dark"]) .sc-err{background:#3F1A1A;color:#EB8C8C}
:where(:root[data-theme="dark"]) .sc-ok-head{color:#C1F0D3}
:where(:root[data-theme="dark"]) .sc-steps{color:var(--ink-2,#BFCAD9)}
:where(:root[data-theme="dark"]) .sc-qr{background:var(--surface)}
:where(:root[data-theme="dark"]) .sc-what{background:#3F1A1A;box-shadow:inset 0 0 0 1px #5F2727}
:where(:root[data-theme="dark"]) .sc-what-h{color:#EB8C8C}
:where(:root[data-theme="dark"]) .sc-list li{color:#E9A0A0}
:where(:root[data-theme="dark"]) .sc-keep{color:#C1F0D3}
:where(:root[data-theme="dark"]) .tm-entry{background:none}
:where(:root[data-theme="dark"]) .tm-entry:hover{background:rgba(25,32,49,0.85)}
:where(:root[data-theme="dark"]) .tm-entry.on{background:var(--soft);box-shadow:0 0 0 1px var(--bar1),0 2px 8px rgba(37,99,235,.12)}
:where(:root[data-theme="dark"]) .tm-e-avs .tm-av{box-shadow:0 0 0 2px #202737}
:where(:root[data-theme="dark"]) .tm-e-tag{color:#A174E6;background:#1F193E;box-shadow:inset 0 0 0 1px #2E255A}
:where(:root[data-theme="dark"]) .tm-back{background:var(--surface)}
:where(:root[data-theme="dark"]) .tm-back:hover{background:var(--soft)}
:where(:root[data-theme="dark"]) .tm-av{color:#fff;background:var(--c,#2563EB)}
:where(:root[data-theme="dark"]) .tm-av.is-pending{background:var(--surface);color:var(--c,#6A94F1)}
:where(:root[data-theme="dark"]) .tm-av-more{background:#2A3551}
:where(:root[data-theme="dark"]) .tm-av-none{background:#212A3F}
:where(:root[data-theme="dark"]) .tm-note{color:var(--brand)}
:where(:root[data-theme="dark"]) .tm-note-offer{background:#1F193E;color:#B38FE9}
:where(:root[data-theme="dark"]) .tm-gate-card{background:var(--surface)}
:where(:root[data-theme="dark"]) .tm-gate-kicker{color:#A174E6}
:where(:root[data-theme="dark"]) .tm-kpi-avs .tm-av{box-shadow:0 0 0 2px var(--surface)}
:where(:root[data-theme="dark"]) .tm-mini-lock > svg{color:#7AE0F8}
:where(:root[data-theme="dark"]) .tm-rk + .tm-rk{box-shadow:0 -1px 0 #252D3F}
:where(:root[data-theme="dark"]) .tm-rk-pos{color:var(--faint)}
:where(:root[data-theme="dark"]) .tm-rk-pos.p1{color:#F8B078}
:where(:root[data-theme="dark"]) .tm-rk-pos.p2{color:#9AA6B6}
:where(:root[data-theme="dark"]) .tm-rk-pos.p3{color:#F2A58C}
:where(:root[data-theme="dark"]) .tm-rk-bar{background:#212A3F}
:where(:root[data-theme="dark"]) .tm-rk-none .tm-rk-bar i{background:#344365}
:where(:root[data-theme="dark"]) .tm-ev.up{background:var(--good-bg);color:var(--good)}
:where(:root[data-theme="dark"]) .tm-ev.down{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .tm-ev.flat{background:#212A3F;color:var(--muted)}
:where(:root[data-theme="dark"]) .tm-gl-track{background:#212A3F}
:where(:root[data-theme="dark"]) .tm-gl-tone.ok{color:var(--good)}
:where(:root[data-theme="dark"]) .tm-gl-tone.mid{color:var(--warn)}
:where(:root[data-theme="dark"]) .tm-gl-tone.low{color:#EA7474}
:where(:root[data-theme="dark"]) .tm-tb-track{background:#212A3F}
:where(:root[data-theme="dark"]) .tm-rc-ic{background:#1B4042;color:#7AE0F8}
:where(:root[data-theme="dark"]) .tm-mb + .tm-mb{border-top:1px solid #252D3F}
:where(:root[data-theme="dark"]) .tm-role{color:color-mix(in srgb,var(--c) 62%,#fff);background:color-mix(in srgb,var(--c) 10%,var(--surface))}
:where(:root[data-theme="dark"]) .tm-role::before{background:var(--c)}
:where(:root[data-theme="dark"]) .tm-rp-ic{color:color-mix(in srgb,var(--c) 62%,#fff);background:color-mix(in srgb,var(--c) 12%,var(--surface))}
:where(:root[data-theme="dark"]) .tm-st.active{color:#B3EFCA}
:where(:root[data-theme="dark"]) .tm-st.pending{color:var(--warn)}
:where(:root[data-theme="dark"]) .tm-mb-foot p svg{color:#7AE0F8}
:where(:root[data-theme="dark"]) .tm-roles-help summary svg{color:#7AE0F8}
:where(:root[data-theme="dark"]) .tm-roles-grid div{background:var(--surface)}
:where(:root[data-theme="dark"]) .tm-role-pick label:has(input:checked){background:color-mix(in srgb,var(--c) 6%,var(--surface))}
:where(:root[data-theme="dark"]) .tm-role-pick label:has(input:checked) .tm-rp-ic{color:#fff;background:var(--c)}
:where(:root[data-theme="dark"]) .ac-strip.ac-solo .ac-ic,:where(:root[data-theme="dark"]) .ac-strip.ac-solo .ac-item.on .ac-ic{color:color-mix(in srgb,var(--c) 62%,#fff)}
@media (max-width:1024px){
:where(:root[data-theme="dark"]) .qs-btn.on{background:var(--soft);color:var(--brand)}
:where(:root[data-theme="dark"]) .qs-dot{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .qs-panel{background:var(--surface);box-shadow:0 1px 2px rgba(0,0,0,0.2),0 24px 60px -16px rgba(0,0,0,0.7),inset 0 0 0 1px var(--line)}
:where(:root[data-theme="dark"]) .qs-panel .privacy-btn.on{box-shadow:inset 0 0 0 1px var(--bar1)}
}
@media (max-width:1024px){
:where(:root[data-theme="dark"]) .cx-back{background:rgba(2,6,16,0.588)}
:where(:root[data-theme="dark"]) .cx-sheet{background:var(--surface);box-shadow:0 -12px 40px -12px rgba(0,0,0,0.7)}
:where(:root[data-theme="dark"]) .cx-grab span{background:#344365}
:where(:root[data-theme="dark"]) .cx-it{background:none}
:where(:root[data-theme="dark"]) .cx-it:hover{background:#1D2538}
:where(:root[data-theme="dark"]) .cx-it.on{background:var(--soft)}
:where(:root[data-theme="dark"]) .cx-ic{background:color-mix(in srgb,var(--c,var(--brand-bg)) 12%,transparent)}
:where(:root[data-theme="dark"]) .cx-co .cx-ic{background:none}
:where(:root[data-theme="dark"]) .cx-ac.on .cx-ic{background:var(--c,var(--brand-bg))}
:where(:root[data-theme="dark"]) .cx-add .cx-ic{background:none}
}
@media (max-width:1024px){
:where(:root[data-theme="dark"]) .qs-panel::before{background:var(--surface);box-shadow:-1px -1px 0 0 var(--line)}
}
@media (min-width:641px) and (max-width:1024px) and (min-height:501px){
:where(:root[data-theme="dark"]) .cx-sheet{box-shadow:0 24px 70px -18px rgba(0,0,0,0.7)}
}
:where(:root[data-theme="dark"]) .gc-ic{background:#606128!important;color:#E9E8E6!important}
:where(:root[data-theme="dark"]) .gc-ol li::before{background:#73742F!important;color:#E9E8E6!important}
:where(:root[data-theme="dark"]) .gc-btn,:where(:root[data-theme="dark"]) .gc-form > .btn{background:#1C1B18!important}
:where(:root[data-theme="dark"]) .gc-btn:hover,:where(:root[data-theme="dark"]) .gc-form > .btn:hover{background:#3A3830!important}
:where(:root[data-theme="dark"]) .gc-form .st-sample b{color:#E9E8E6;text-decoration-color:#ECEC6F}
:where(:root[data-theme="dark"]) .gc-story .gc-up{color:var(--good,#85EEAC)}
:where(:root[data-theme="dark"]) .gc-story .gc-down{color:#E87272}
:where(:root[data-theme="dark"]) .gc-row em.gc-neg{color:#EA7474}
:where(:root[data-theme="dark"]) .gc-row[data-gc-pay]:hover b{text-decoration-color:#E9E972}
:where(:root[data-theme="dark"]) .gc-date{background:#606128;color:#E9E8E6}
:where(:root[data-theme="dark"]) .gc-date b{color:#E9E8E6!important}
:where(:root[data-theme="dark"]) .gc-date small{color:#EAE9BE!important}
:where(:root[data-theme="dark"]) .gc-av{background:#491E1E;color:#EA7474}
@media (max-width:1024px){
:where(:root[data-theme="dark"]) .wgrid .w-kpi[data-fit] .w-tools{background:none!important}
:where(:root[data-theme="dark"]) .wgrid.editing .w .w-remove{box-shadow:0 0 0 1px var(--line),0 4px 10px -4px rgba(0,0,0,0.6)}
}
:where(:root[data-theme="dark"]) .modal-head{background:rgba(25,32,49,0.94)}
:where(:root[data-theme="dark"]) .imp-close{background:rgba(25,32,49,0.9)}
@media (max-width:1024px){
:where(:root[data-theme="dark"]) .modal-head .icon-btn{background:#212A3F;color:#BFCAD9}
:where(:root[data-theme="dark"]) .imp-close{background:#212A3F;color:#BFCAD9;box-shadow:0 0 0 4px rgba(32,39,55,0.85)}
:where(:root[data-theme="dark"]) .modal-head .icon-btn:active,:where(:root[data-theme="dark"]) .imp-close:active{background:#2A3551}
}
:where(:root[data-theme="dark"]) .tm-scope.on{background:var(--soft);box-shadow:inset 0 0 0 1px var(--bar1)}
@media (max-width:1024px){
:where(:root[data-theme="dark"]) .tm-scope-m{color:color-mix(in srgb,var(--c) 62%,#fff)}
}
:where(:root[data-theme="dark"]) .tm-dim button.on{background:var(--surface);color:var(--brand);box-shadow:0 1px 3px rgba(0,0,0,0.24)}
:where(:root[data-theme="dark"]) .tm-kinds button.on{background:var(--soft);color:var(--brand)}
:where(:root[data-theme="dark"]) .tg-tabs button.on{color:var(--brand)}
:where(:root[data-theme="dark"]) .tg-chip{color:color-mix(in srgb,var(--c) 62%,#fff)}
:where(:root[data-theme="dark"]) .tg-lock > svg{color:#7AE0F8}
:where(:root[data-theme="dark"]) .tg-gbar i{background:var(--brand-bg)}
@media (min-width:1025px) and (min-height:501px){
:where(:root[data-theme="dark"]) #coStrip .cm-row{background:var(--surface)}
:where(:root[data-theme="dark"]) #coStrip .cm-row.on{background:var(--soft)}
:where(:root[data-theme="dark"]) #acStrip .ac-item,:where(:root[data-theme="dark"]) #acStrip.ac-solo .ac-item{background:var(--surface)}
:where(:root[data-theme="dark"]) #acStrip .ac-item:hover{background:color-mix(in srgb,var(--soft) 45%,var(--surface))}
:where(:root[data-theme="dark"]) #acStrip .ac-item.on{background:transparent;box-shadow:none}
:where(:root[data-theme="dark"]) #acStrip.ac-solo .ac-item{background:var(--soft)}
:where(:root[data-theme="dark"]) #acStrip .ac-item.on .ac-pill[data-ac="all"] .ac-ic{color:var(--surface)}
:where(:root[data-theme="dark"]) .tm-hc.on{background:var(--soft);box-shadow:0 0 0 1px var(--bar1),0 2px 8px rgba(37,99,235,.12)}
:where(:root[data-theme="dark"]) .tm-hc-ic{color:color-mix(in srgb,var(--c) 62%,#fff)}
:where(:root[data-theme="dark"]) .tm-hc.on .tm-hc-ic{color:#fff}
:where(:root[data-theme="dark"]) .tm-hc-btn{background:none}
:where(:root[data-theme="dark"]) .tm-hc-btn:hover,:where(:root[data-theme="dark"]) .tm-hc-menu[aria-expanded="true"]{background:color-mix(in srgb,var(--brand-bg) 10%,transparent)}
}
:where(:root[data-theme="dark"]) .tm-hpop{box-shadow:0 1px 2px rgba(0,0,0,0.2),0 24px 60px -16px rgba(0,0,0,0.7),inset 0 0 0 1px var(--line)}
:where(:root[data-theme="dark"]) .tm-hp-it.on{background:var(--soft)}
:where(:root[data-theme="dark"]) .tm-hp-ic{color:var(--muted)}
:where(:root[data-theme="dark"]) .tm-hp-ed{background:none}
:where(:root[data-theme="dark"]) .tm-hp-ed:hover,:where(:root[data-theme="dark"]) .tm-hp-ed:focus-visible{background:color-mix(in srgb,var(--brand-bg) 10%,transparent)}
:where(:root[data-theme="dark"]) .tm-hp-ic.hp-ac{color:color-mix(in srgb,var(--c) 62%,#fff)}
:where(:root[data-theme="dark"]) .tm-hp-it.on .tm-hp-ic.hp-ac{color:#fff}
:where(:root[data-theme="dark"]) .tm-hp-it.on .tm-hp-ic.hp-ac.all{color:var(--surface)}
:where(:root[data-theme="dark"]) .tm-hp-add .tm-hp-ic{color:var(--brand)}
@media (min-width:1025px) and (min-height:501px){
:where(:root[data-theme="dark"]) .hd-sel{background:var(--soft)}
:where(:root[data-theme="dark"]) .hd-sel:hover,:where(:root[data-theme="dark"]) .hd-sel[aria-expanded="true"]{background:color-mix(in srgb,var(--brand-bg) 9%,var(--soft))}
:where(:root[data-theme="dark"]) #acStrip .ac-sel .ac-ic{color:#fff}
:where(:root[data-theme="dark"]) #acStrip .ac-sel.all .ac-ic{color:var(--surface)}
}
:where(:root[data-theme="dark"]) .w-hresize::before{background:var(--faint)}
:where(:root[data-theme="dark"]) .w-hresize:hover::before,:where(:root[data-theme="dark"]) .w.resizing .w-hresize::before{background:var(--brand-bg)}
:where(:root[data-theme="dark"]) .ct-acts .icon-btn:hover{background:var(--soft);color:var(--brand)}
:where(:root[data-theme="dark"]) .ct-acts .ct-del:hover{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .ct-fic{background:var(--bg);color:var(--muted)}
:where(:root[data-theme="dark"]) .ct-fic.is-pdf{background:#491E1E;color:#E87272}
:where(:root[data-theme="dark"]) .ct-fic.is-xlsx{background:#204F30;color:#9FEFBD}
:where(:root[data-theme="dark"]) .ct-fic.is-show{background:#20344E;color:#6A94F1}
:where(:root[data-theme="dark"]) .ct-merge{background:#433B1B;box-shadow:inset 0 0 0 1px #7B6D32}
:where(:root[data-theme="dark"]) .ct-del-ic{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .ct-check{background:var(--bg)}
:where(:root[data-theme="dark"]) .ct-check:has(input:checked){background:#3F1A1A;box-shadow:inset 0 0 0 1px #5F2727}
@media (max-width:1024px){
:where(:root[data-theme="dark"]) .ct-table td.ct-acts{box-shadow:-10px 0 10px -8px rgba(0,0,0,0.36)}
}
:where(:root[data-theme="dark"]) .hl-ic{background:#1E3349!important;color:#66AAF5!important}
:where(:root[data-theme="dark"]) .hl-btn,:where(:root[data-theme="dark"]) .hl-form > .btn{background:#1366D6!important}
:where(:root[data-theme="dark"]) .hl-btn:hover,:where(:root[data-theme="dark"]) .hl-form > .btn:hover{background:#0F55B5!important}
:where(:root[data-theme="dark"]) .hl-form .st-sample b{color:#66AAF5;text-decoration-color:#F7D064}
:where(:root[data-theme="dark"]) .hl-story .hl-up{color:var(--good,#85EEAC)}
:where(:root[data-theme="dark"]) .hl-story .hl-down{color:#E87272}
:where(:root[data-theme="dark"]) .hl-row em.hl-neg{color:#EA7474}
:where(:root[data-theme="dark"]) .hl-row[data-hl-opp]:hover b{text-decoration-color:#64B0F7}
:where(:root[data-theme="dark"]) .hl-date{background:#1E3349;color:#8ABDF7}
:where(:root[data-theme="dark"]) .hl-date b{color:#8ABDF7!important}
:where(:root[data-theme="dark"]) .hl-date small{color:#86ACD5!important}
:where(:root[data-theme="dark"]) .hl-av{background:#1E3349;color:#66AAF5}
:where(:root[data-theme="dark"]) .hl-av.is-late{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .hl-fn-bar i{background:linear-gradient(90deg,#188BF6,#2F5274)}
:where(:root[data-theme="dark"]) .hl-appform{background:#1A2B41;box-shadow:inset 0 0 0 1px #294364}
:where(:root[data-theme="dark"]) .rec .ico.fo-up{background:#491E1E;color:#EA7474}
:where(:root[data-theme="dark"]) .rec .ico.fo-dn{background:var(--good-bg);color:var(--good)}
:where(:root[data-theme="dark"]) .up-ic{background:#4A361E!important;color:#F6956E!important}
:where(:root[data-theme="dark"]) .up-btn,:where(:root[data-theme="dark"]) .up-form > .btn{background:#FF8400!important}
:where(:root[data-theme="dark"]) .up-btn:hover,:where(:root[data-theme="dark"]) .up-form > .btn:hover{background:#E67700!important}
:where(:root[data-theme="dark"]) .up-form .st-sample b{color:#F6956E}
:where(:root[data-theme="dark"]) .up-why{background:#432F1B;color:#F1B6A2}
:where(:root[data-theme="dark"]) .up-why svg{color:#F79664}
:where(:root[data-theme="dark"]) .up-drop{border-radius:12px;border:1.5px dashed #825D35;background:var(--surface)}
:where(:root[data-theme="dark"]) .up-drop:hover,:where(:root[data-theme="dark"]) .up-drop.over,:where(:root[data-theme="dark"]) .up-drop:focus-visible{border-color:#FF8400;background:#432F1B}
:where(:root[data-theme="dark"]) .up-drop svg{color:#F79664}
:where(:root[data-theme="dark"]) .up-api b svg{color:#F79664}
:where(:root[data-theme="dark"]) .up-api a{color:#F6956E}
:where(:root[data-theme="dark"]) .up-story .up-good{color:var(--good,#85EEAC)}
:where(:root[data-theme="dark"]) .up-story .up-bad{color:#E87272}
:where(:root[data-theme="dark"]) .up-late{color:#EA7474}
:where(:root[data-theme="dark"]) .up-date{background:#4A361E;color:#F2A58C}
:where(:root[data-theme="dark"]) .up-date b{color:#F2A58C!important}
:where(:root[data-theme="dark"]) .up-date small{color:#F6956E!important}
:where(:root[data-theme="dark"]) .up-set-h b svg{color:#F79664}
:where(:root[data-theme="dark"]) .ed-ic{background:#46201D!important;color:#F66F65!important}
:where(:root[data-theme="dark"]) .ed-btn,:where(:root[data-theme="dark"]) .ed-form > .btn{background:#F72717!important}
:where(:root[data-theme="dark"]) .ed-btn:hover,:where(:root[data-theme="dark"]) .ed-form > .btn:hover{background:#D11A0C!important}
:where(:root[data-theme="dark"]) .ed-form .st-sample b{color:#F66F65}
:where(:root[data-theme="dark"]) .ed-est{background:#47351D;color:#F9CF91}
:where(:root[data-theme="dark"]) .ed-why{background:#411F1A;color:#F3BEBA}
:where(:root[data-theme="dark"]) .ed-why svg{color:#F76E64}
:where(:root[data-theme="dark"]) .ed-drop{border-radius:12px;border:1.5px dashed #6E332D;background:var(--surface)}
:where(:root[data-theme="dark"]) .ed-drop:hover,:where(:root[data-theme="dark"]) .ed-drop.over,:where(:root[data-theme="dark"]) .ed-drop:focus-visible{border-color:#F72717;background:#3D1C19}
:where(:root[data-theme="dark"]) .ed-drop svg{color:#F76E64}
:where(:root[data-theme="dark"]) .ed-api-ok{color:var(--good,#85EEAC)}
:where(:root[data-theme="dark"]) .ed-story .ed-up{color:var(--good,#85EEAC)}
:where(:root[data-theme="dark"]) .ed-story .ed-down{color:#E87272}
:where(:root[data-theme="dark"]) .ed-date{background:#46201D;color:#F68179}
:where(:root[data-theme="dark"]) .ed-date b{color:#F68179!important}
:where(:root[data-theme="dark"]) .ed-date small{color:#E68E88!important}
:where(:root[data-theme="dark"]) .ed-table td.ed-neg{color:#F68179}
:where(:root[data-theme="dark"]) .ed-set-h b svg{color:#F76E64}
:where(:root[data-theme="dark"]) .imp-warn.imp-routed{background:#1B4126;border-color:#2B6941;color:#B3EFCA}
:where(:root[data-theme="dark"]) .imp-warn.imp-routed svg{color:#85EEAC}
:where(:root[data-theme="dark"]) .tm-sw button.on{color:var(--brand)}
:where(:root[data-theme="dark"]) .tm-sw-pill{box-shadow:inset 0 0 0 1px var(--bar1),0 1px 3px rgba(0,0,0,0.2)}
/* --- dash/assets/css/present.css --- */
:root[data-theme="dark"] .xp-modal .xp-logo{color:var(--xp-c,#9FEFBD)}
:root[data-theme="dark"] .xp-fmt{background:var(--bg)}
:root[data-theme="dark"] .xp-fmt i{color:color-mix(in srgb,var(--c) 62%,#fff)}
:root[data-theme="dark"] .xp-fmt.on{background:color-mix(in srgb,var(--cb) 45%,var(--surface));box-shadow:inset 0 0 0 1.5px var(--c)}
:root[data-theme="dark"] .xp-fmt.on::after{background:var(--c);box-shadow:0 0 0 4px color-mix(in srgb,var(--c) 18%,transparent)}
:root[data-theme="dark"] .pz-btn:focus-visible,:root[data-theme="dark"] .pz-nav:focus-visible,:root[data-theme="dark"] .pz-seg:focus-visible,:root[data-theme="dark"] .pz-th:focus-visible{outline:2px solid #315277}
:root[data-theme="dark"] .pz-nav{background:rgba(255,255,255,.08)}
:root[data-theme="dark"] .pz-nav:hover:not(:disabled){background:rgba(255,255,255,.18)}
:root[data-theme="dark"] .pz-nav.pz-next{background:var(--brand-bg)}
:root[data-theme="dark"] .pz-nav.pz-next:hover:not(:disabled){background:#3B82F6}
:root[data-theme="dark"] .pz-seg span{color:#9AA6B6}
:root[data-theme="dark"] .pz.pz-fs .pz-slide{box-shadow:none}
:root[data-theme="dark"] .pz-slide{background:var(--surface);box-shadow:0 30px 80px -20px rgba(0,0,0,0.7),0 0 0 1px rgba(255,255,255,.06)}
:root[data-theme="dark"] .pz-slide::before{background:var(--c)}
:root[data-theme="dark"] .pz-chip{background:color-mix(in srgb,var(--c) 10%,var(--surface));color:color-mix(in srgb,var(--c) 62%,#fff)}
:root[data-theme="dark"] .pz-chip small{color:color-mix(in srgb,var(--c) 60%,#9AA6B6)}
:root[data-theme="dark"] .pz-eyebrow{color:#93C5FD}
:root[data-theme="dark"] .pz-ag-card{background:#1D2538}
:root[data-theme="dark"] .pz-ag-card::after{background:var(--c)}
:root[data-theme="dark"] .pz-ag-card:hover{background:var(--surface)}
:root[data-theme="dark"] .pz-ag-card em{color:color-mix(in srgb,var(--c) 62%,#fff)}
:root[data-theme="dark"] .pz-cat-bg{background:linear-gradient(120deg,color-mix(in srgb,var(--c) 7%,var(--surface)) 0%,var(--surface) 55%)}
:root[data-theme="dark"] .pz-cat .pz-eyebrow{color:color-mix(in srgb,var(--c) 62%,#fff)}
:root[data-theme="dark"] .pz-cat-toc button:hover{background:color-mix(in srgb,var(--c) 9%,var(--surface))}
:root[data-theme="dark"] .pz-cat-toc svg{color:color-mix(in srgb,var(--c) 62%,#fff)}
:root[data-theme="dark"] .pz-kpi{background:var(--surface);box-shadow:0 1px 2px rgba(0,0,0,0.2),0 10px 30px -14px rgba(0,0,0,0.36),inset 0 0 0 1px var(--line)}
:root[data-theme="dark"] .pz-kpi-ic{background:color-mix(in srgb,var(--c) 11%,var(--surface));color:color-mix(in srgb,var(--c) 62%,#fff)}
:root[data-theme="dark"] .pz-kpi b.neg{color:var(--bad)}
:root[data-theme="dark"] .pz-delta.good{background:var(--good-bg)}
:root[data-theme="dark"] .pz-delta.bad{background:#491E1E;color:var(--bad)}
:root[data-theme="dark"] .pz-delta.flat{background:#212A3F}
:root[data-theme="dark"] .pz-k-cover .pz-delta.good{background:rgba(34,197,94,.18)}
:root[data-theme="dark"] .pz-k-cover .pz-delta.bad{background:rgba(248,113,113,.18);color:#FCA5A5}
:root[data-theme="dark"] .pz-k-cover .pz-delta.flat{background:rgba(255,255,255,.1)}
:root[data-theme="dark"] .pz-gl{stroke:#272F42}
:root[data-theme="dark"] .pz-gl.z{stroke:#CBD5E1}
:root[data-theme="dark"] .pz-ax{fill:#94A3B8}
:root[data-theme="dark"] .pz-ax.x{fill:#9AA6B6}
:root[data-theme="dark"] .pz-dot{stroke:#202737}
:root[data-theme="dark"] .pz-hb-r:hover{background:#1D2538}
:root[data-theme="dark"] .pz-hb-n em{background:#212A3F}
:root[data-theme="dark"] .pz-hb-t{background:#212A3F}
:root[data-theme="dark"] .pz-tbl th{background:#1D2538}
:root[data-theme="dark"] .pz-tbl td{border-bottom:1px solid #252D3F}
:root[data-theme="dark"] .pz-tbl td.neg{color:var(--bad)}
:root[data-theme="dark"] .pz-tbl tbody tr:hover td{background:#1D2538}
:root[data-theme="dark"] .pz-tbl tfoot td{background:#1A2B41;border-top:1px solid #294364}
:root[data-theme="dark"] .pz-tag.good{background:var(--good-bg)}
:root[data-theme="dark"] .pz-tag.warn{background:var(--warn-bg);color:var(--warn)}
:root[data-theme="dark"] .pz-tag.bad{background:#491E1E;color:var(--bad)}
:root[data-theme="dark"] .pz-tag.brand{background:var(--soft)}
:root[data-theme="dark"] .pz-tag.muted{background:#212A3F}
:root[data-theme="dark"] .pz-dl.bad{color:var(--bad)}
:root[data-theme="dark"] .pz-scroll{background:var(--ink-bg);box-shadow:0 8px 20px -8px rgba(0,0,0,0.7)}
:root[data-theme="dark"] .pz-goal-s{background:#1D2538}
:root[data-theme="dark"] .pz-goal-s.on{background:var(--soft);box-shadow:inset 0 0 0 1.5px var(--brand)}
:root[data-theme="dark"] .pz-tip{background:var(--surface);box-shadow:0 14px 34px -10px rgba(0,0,0,0.7)}
:root[data-theme="dark"] .pz-grid-b h4 small{color:#9AA6B6}
:root[data-theme="dark"] .pz-th-v{box-shadow:0 0 0 1px rgba(255,255,255,.1)}
:root[data-theme="dark"] .pz-th-s .pz-slide{box-shadow:none}
:root[data-theme="dark"] .pz-th:hover .pz-th-v{box-shadow:0 0 0 2px rgba(49,82,119,0.6),0 14px 30px -12px rgba(0,0,0,0.7)}
:root[data-theme="dark"] .pz-th.on .pz-th-v{box-shadow:0 0 0 3px #3B82F6,0 14px 30px -12px rgba(37,99,235,.7)}
:root[data-theme="dark"] .pz-gl{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line),0 12px 30px -18px rgba(0,0,0,0.5)}
:root[data-theme="dark"] .pz-gl::before{background:var(--t)}
:root[data-theme="dark"] .pz-gl-bar{background:#212A3F}
:root[data-theme="dark"] .pz-gl-bar .pj{background:color-mix(in srgb,var(--t) 30%,var(--surface))}
/* @@GEN-END */

/* =====================================================================
   RÉGLAGES MANUELS
   ===================================================================== */
:root[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
/* Barre latérale : déjà sombre, un ton sous la page */
:root[data-theme="dark"] .side{background:#0A1020;box-shadow:inset -1px 0 0 rgba(255,255,255,.05)}
:root[data-theme="dark"] .side .md-logo{color:#fff}
:root[data-theme="dark"] .side .md-b3{background:#3B5FD6}
:root[data-theme="dark"] .side .md-tld{color:#7FB3FF}
:root[data-theme="dark"] .side-label{color:#7F8DA3}
/* En-tête translucide sur le fond de page */
:root[data-theme="dark"] .top{background:rgba(14,21,38,.86)}
/* Logo (chargement, accueil) : barre foncée éclaircie */
:root[data-theme="dark"] .md-b3{background:#3B5FD6}
/* Bouton principal : bleu de la marque (le bouton « encre » serait clair en sombre) */
:where(:root[data-theme="dark"]) .btn-primary{background:var(--brand-bg);color:#fff;box-shadow:0 6px 18px -8px rgba(37,99,235,.55)}
:where(:root[data-theme="dark"]) .btn-primary:hover{background:#1D4ED8}
:where(:root[data-theme="dark"]) .btn-blue:hover{background:#1D4ED8}
/* Marques presque noires (Qonto, GoCardless) : liseré clair pour rester visibles sur fond sombre */
:root[data-theme="dark"] .qo-btn,:root[data-theme="dark"] .qo-form > .btn,:root[data-theme="dark"] .gc-btn,:root[data-theme="dark"] .gc-form > .btn,
:root[data-theme="dark"] .qo-chip.on,:root[data-theme="dark"] .qo-acc-ic,:root[data-theme="dark"] .qo-ol li::before{box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
:root[data-theme="dark"] .qo-acc-bar i{background:#C5D0DE}
/* Info-bulles et badges « encre » : surface surélevée + liseré */
:root[data-theme="dark"] .tooltip,:root[data-theme="dark"] .md-tip,:root[data-theme="dark"] .w-size-badge{box-shadow:0 10px 24px -8px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.08)}
:root[data-theme="dark"] .key-box{background:#0A1020;box-shadow:inset 0 0 0 1px var(--line)}
:root[data-theme="dark"] .tk-send{background:var(--brand-bg)}
:root[data-theme="dark"] .ac-row-all .ac-row-ic{background:#2A3650;color:#fff}
/* Cartes : liseré + ombre profonde (« effet d’ombre » du tableau de bord) */
:root[data-theme="dark"] .card{box-shadow:inset 0 0 0 1px var(--line),0 1px 0 rgba(255,255,255,.02)}
/* Interrupteurs : pastille claire */
:root[data-theme="dark"] .switch i::after{background:#E8EEF7}
/* Plaques claires derrière les logos (logos foncés lisibles) */
:root[data-theme="dark"] .co-badge.has-logo{box-shadow:0 0 0 1px rgba(255,255,255,.12)}
/* Champs : fond de champ un ton sous la carte */
:root[data-theme="dark"] .inp{background-color:#121A2B;border-color:#33405A}
:root[data-theme="dark"] .inp:focus{background-color:#121A2B}
:root[data-theme="dark"] .inp::placeholder{color:#6F7E95}
:root[data-theme="dark"] input[type="date"].inp::-webkit-calendar-picker-indicator,:root[data-theme="dark"] input[type="month"].inp::-webkit-calendar-picker-indicator{filter:invert(.8)}
/* Couleurs écrites dans le HTML généré par le JS (attributs style / SVG) */
:root[data-theme="dark"] [style*="color:#B45309"]{color:#FBBF24!important}
:root[data-theme="dark"] [style*="color:#B91C1C"]{color:#F87171!important}
:root[data-theme="dark"] [style*="background:#FEE2E2"]{background:#3F1A1A!important}
:root[data-theme="dark"] [style*="background:#FEF3C7"]{background:#3A2C0C!important}
:root[data-theme="dark"] [style*="background:#F1F5F9"]{background:#26304A!important}
:root[data-theme="dark"] [style*="background:#0F172A"]{background:#0A1020!important}
:root[data-theme="dark"] [stroke="#F1F5F9"],:root[data-theme="dark"] [stroke="#EFF6FF"],:root[data-theme="dark"] [stroke="#E2E8F0"]{stroke:#26304A}
:root[data-theme="dark"] svg [fill="#0F172A"]{fill:#E8EEF7}

:root[data-theme="dark"] .color-dots button[style*="#0F172A"]{box-shadow:0 0 0 2px var(--surface),0 0 0 3px #3A4760}
:root[data-theme="dark"] .color-dots button.on[style*="#0F172A"]{box-shadow:0 0 0 2px var(--surface),0 0 0 4px #94A3B8}

/* Exporter (present.css, chargé à la demande) : pastilles de format teintées */
:root[data-theme="dark"] .xp-fmt i{background:color-mix(in srgb,var(--c) 22%,transparent);color:color-mix(in srgb,var(--c) 55%,#fff)}
:root[data-theme="dark"] .xp-fmt.on{background:color-mix(in srgb,var(--c) 16%,var(--surface))}

/* Graphiques : couleurs de marque très foncées (Pennylane, Qonto, GoCardless, Revolut, encre) éclaircies pour rester visibles */
:root[data-theme="dark"] .view [stop-color="#2E3192"],:root[data-theme="dark"] .dt [stop-color="#2E3192"]{stop-color:#7377F0}
:root[data-theme="dark"] .view svg [fill="#2E3192"],:root[data-theme="dark"] .dt svg [fill="#2E3192"]{fill:#7377F0}
:root[data-theme="dark"] .view [style*="stroke:#2E3192"],:root[data-theme="dark"] .view [style*="stroke: #2E3192"]{stroke:#7377F0!important}
:root[data-theme="dark"] .view [style*="fill:#2E3192"],:root[data-theme="dark"] .view [style*="fill: #2E3192"]{fill:#7377F0!important}
:root[data-theme="dark"] .view .fill[style*="background:#2E3192"],:root[data-theme="dark"] .view .fill[style*="background: #2E3192"]{background:#7377F0!important}
:root[data-theme="dark"] .view [stop-color="#1E3A8A"],:root[data-theme="dark"] .dt [stop-color="#1E3A8A"]{stop-color:#5B7BE6}
:root[data-theme="dark"] .view svg [fill="#1E3A8A"],:root[data-theme="dark"] .dt svg [fill="#1E3A8A"]{fill:#5B7BE6}
:root[data-theme="dark"] .view [style*="stroke:#1E3A8A"],:root[data-theme="dark"] .view [style*="stroke: #1E3A8A"]{stroke:#5B7BE6!important}
:root[data-theme="dark"] .view [style*="fill:#1E3A8A"],:root[data-theme="dark"] .view [style*="fill: #1E3A8A"]{fill:#5B7BE6!important}
:root[data-theme="dark"] .view .fill[style*="background:#1E3A8A"],:root[data-theme="dark"] .view .fill[style*="background: #1E3A8A"]{background:#5B7BE6!important}
:root[data-theme="dark"] .view [stop-color="#0F172A"],:root[data-theme="dark"] .dt [stop-color="#0F172A"]{stop-color:#94A3B8}
:root[data-theme="dark"] .view svg [fill="#0F172A"],:root[data-theme="dark"] .dt svg [fill="#0F172A"]{fill:#94A3B8}
:root[data-theme="dark"] .view [style*="stroke:#0F172A"],:root[data-theme="dark"] .view [style*="stroke: #0F172A"]{stroke:#94A3B8!important}
:root[data-theme="dark"] .view [style*="fill:#0F172A"],:root[data-theme="dark"] .view [style*="fill: #0F172A"]{fill:#94A3B8!important}
:root[data-theme="dark"] .view .fill[style*="background:#0F172A"],:root[data-theme="dark"] .view .fill[style*="background: #0F172A"]{background:#94A3B8!important}
:root[data-theme="dark"] .view [stop-color="#1D1D1B"],:root[data-theme="dark"] .dt [stop-color="#1D1D1B"]{stop-color:#C5CCD6}
:root[data-theme="dark"] .view svg [fill="#1D1D1B"],:root[data-theme="dark"] .dt svg [fill="#1D1D1B"]{fill:#C5CCD6}
:root[data-theme="dark"] .view [style*="stroke:#1D1D1B"],:root[data-theme="dark"] .view [style*="stroke: #1D1D1B"]{stroke:#C5CCD6!important}
:root[data-theme="dark"] .view [style*="fill:#1D1D1B"],:root[data-theme="dark"] .view [style*="fill: #1D1D1B"]{fill:#C5CCD6!important}
:root[data-theme="dark"] .view .fill[style*="background:#1D1D1B"],:root[data-theme="dark"] .view .fill[style*="background: #1D1D1B"]{background:#C5CCD6!important}
:root[data-theme="dark"] .view [stop-color="#1C1B18"],:root[data-theme="dark"] .dt [stop-color="#1C1B18"]{stop-color:#C5CCD6}
:root[data-theme="dark"] .view svg [fill="#1C1B18"],:root[data-theme="dark"] .dt svg [fill="#1C1B18"]{fill:#C5CCD6}
:root[data-theme="dark"] .view [style*="stroke:#1C1B18"],:root[data-theme="dark"] .view [style*="stroke: #1C1B18"]{stroke:#C5CCD6!important}
:root[data-theme="dark"] .view [style*="fill:#1C1B18"],:root[data-theme="dark"] .view [style*="fill: #1C1B18"]{fill:#C5CCD6!important}
:root[data-theme="dark"] .view .fill[style*="background:#1C1B18"],:root[data-theme="dark"] .view .fill[style*="background: #1C1B18"]{background:#C5CCD6!important}
:root[data-theme="dark"] .view [stop-color="#191C1F"],:root[data-theme="dark"] .dt [stop-color="#191C1F"]{stop-color:#C5CCD6}
:root[data-theme="dark"] .view svg [fill="#191C1F"],:root[data-theme="dark"] .dt svg [fill="#191C1F"]{fill:#C5CCD6}
:root[data-theme="dark"] .view [style*="stroke:#191C1F"],:root[data-theme="dark"] .view [style*="stroke: #191C1F"]{stroke:#C5CCD6!important}
:root[data-theme="dark"] .view [style*="fill:#191C1F"],:root[data-theme="dark"] .view [style*="fill: #191C1F"]{fill:#C5CCD6!important}
:root[data-theme="dark"] .view .fill[style*="background:#191C1F"],:root[data-theme="dark"] .view .fill[style*="background: #191C1F"]{background:#C5CCD6!important}

/* ---------- Présentation (present.css, pz-) en sombre ----------
   Les surcharges générées assombrissent les diapositives (fond, cartes, tableaux, infobulles) ;
   ici : couleur de catégorie lisible en texte, catégorie « Finances » (encre) éclaircie, détails. */
:root[data-theme="dark"] .pz [style*="--c:#0F172A"],:root[data-theme="dark"] .pz [style*="--c: #0F172A"]{--c:#7C8BA3!important}
:root[data-theme="dark"] .pz [style*="--c:#1E3A8A"],:root[data-theme="dark"] .pz [style*="--c: #1E3A8A"]{--c:#4F6FE0!important}
:root[data-theme="dark"] .pz-slide{box-shadow:0 30px 80px -20px rgba(0,0,0,.75),0 0 0 1px rgba(255,255,255,.08)}
:root[data-theme="dark"] .pz-chip,:root[data-theme="dark"] .pz-cat .pz-eyebrow,:root[data-theme="dark"] .pz-ag-card em,
:root[data-theme="dark"] .pz-cat-toc svg,:root[data-theme="dark"] .pz-kpi-ic{color:color-mix(in srgb,var(--c) 58%,#fff)}
:root[data-theme="dark"] .pz-chip{background:color-mix(in srgb,var(--c) 18%,var(--surface))}
:root[data-theme="dark"] .pz-chip small{color:color-mix(in srgb,var(--c) 35%,#CBD5E1)}
:root[data-theme="dark"] .pz-kpi-ic{background:color-mix(in srgb,var(--c) 20%,var(--surface))}
:root[data-theme="dark"] .pz-ag-n{color:color-mix(in srgb,var(--c) 22%,var(--surface))}
:root[data-theme="dark"] .pz-ag-card:hover{background:#212B40}
:root[data-theme="dark"] .pz-kpi{box-shadow:inset 0 0 0 1px var(--line),0 10px 30px -14px rgba(0,0,0,.6)}
:root[data-theme="dark"] .pz-gl{box-shadow:inset 0 0 0 1px var(--line),0 12px 30px -18px rgba(0,0,0,.6)}
:root[data-theme="dark"] .pz-gl-bar em{background:#E8EEF7}
:root[data-theme="dark"] .pz-scroll{background:#2A3650}
:root[data-theme="dark"] .pz-co.has-logo{background:#fff}

/* ---------- Bascule « Mode sombre » : menu du profil + carte du menu latéral ---------- */
.menu .m-theme{position:relative}
.m-theme .mt-ic{display:grid;place-items:center;width:16px;height:16px;flex:none}
.m-theme .mt-l{flex:1;display:flex;flex-direction:column;line-height:1.25}
.m-theme .mt-hint{font-size:11px;font-weight:500;color:var(--muted)}
.m-theme .mt-sw{position:relative;flex:none;width:34px;height:20px;border-radius:999px;background:#CBD5E1;transition:background .25s}
.m-theme .mt-sw i{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.3);transition:transform .3s var(--spring)}
.m-theme[aria-checked="true"] .mt-sw{background:var(--brand-bg,#2563EB)}
.m-theme[aria-checked="true"] .mt-sw i{transform:translateX(14px)}
.m-theme:focus-visible{outline:2px solid var(--bar1);outline-offset:-2px}
.side-theme svg{width:16px;height:16px}
.side-foot .who .side-theme{margin-left:auto}
.side-foot .who .side-theme + .logout{margin-left:0}
@media (prefers-reduced-motion:reduce){ .m-theme .mt-sw,.m-theme .mt-sw i{transition:none} }

/* Cases à cocher (md.css) : bordure visible sur fond sombre, remplissage bleu soutenu sous la coche blanche */
:where(:root[data-theme="dark"]) input[type=checkbox]{--ck-bd:#4A5873}
:where(:root[data-theme="dark"]) .ct-check input{--ck:#DC2626}
