/* =====================================================================================================================
   THÈME « SOFT » — 09/11/2026 (Julien t2473u–t2476u : « refais l'admin dans le style Soft UI Dashboard »). VALIDÉ par Julien le 09/11 à 22:49 :
   thème PAR DÉFAUT pour tous (orange). Chargé par page_head() (/var/www/app/auth.php) APRÈS style.css.
   Cookie  theme=classic  → ancienne apparence (ce fichier n'est alors pas envoyé) ; theme=soft-violet → variante violet/rose ; bascule : /catalogue/systeme/theme.php (admin).
   Il ne fait que RESTYLER (couleurs, ombres, arrondis, police) : aucun changement de comportement, de structure ni de largeur.
   Les couleurs de lignes métier (td.g / .y / .r / .c-g… : vert stock, jaune retenu, rouge sans stock, vert Buybox) ne sont PAS touchées.
   Compatible mode téléphone (≤ 900 px) : la géométrie du tiroir ☰ et des tableaux défilants de style.css / mobile.js n'est pas modifiée.
   Réutilisable tel quel par le futur serveur de commandes (même structure : .topbar, .cat-layout > .side, .cat-head, .sec…).
   Inspiré de « Soft UI Dashboard » de Creative Tim (https://www.creative-tim.com/product/soft-ui-dashboard, licence MIT,
   © Creative Tim) : cartes blanches arrondies à ombre douce, menu latéral clair avec pastilles d'icônes en dégradé, boutons dégradés,
   en-têtes de tableau discrets, police Inter (auto-hébergée dans /assets/fonts/, SIL OFL — aucun appel à un CDN externe).
   Retour à l'ancienne apparence : /catalogue/systeme/theme.php?t=classic.
   ===================================================================================================================== */

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

/* ---------- Variables (palette modifiable ici : 2 couleurs de dégradé suffisent) ---------- */
body.theme-soft{
  --soft-a:#ea580c;--soft-b:#f59e0b;                 /* dégradé principal (orange → ambre, comme la démo actuelle) */
  --soft-h1a:#c2410c;--soft-h1b:#f59e0b;             /* titres */
  --soft-grad:linear-gradient(310deg,var(--soft-a),var(--soft-b));
  --soft-ring:rgba(234,88,12,.22);
  --soft-ink:#27272a;--soft-text:#3f3f46;--soft-muted:#71717a;--soft-line:#e9e9ec;
  --soft-shadow:0 20px 27px 0 rgba(0,0,0,.05);
  --soft-shadow-sm:0 .25rem .375rem -.0625rem rgba(20,20,20,.12),0 .125rem .25rem -.0625rem rgba(20,20,20,.07);
  --soft-r:1rem;
  /* variables de style.css réutilisées par toutes les pages */
  --navy:#27272a;--navy-d:#18181b;--gold:#ea580c;--gold-l:#fff1e6;--bg:#f4f4f5;--text:#3f3f46;--muted:#71717a;--line:#e9e9ec;
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  font-feature-settings:"cv11","ss03";
  letter-spacing:-.011em;
  -webkit-font-smoothing:antialiased;
  color:var(--soft-text);
}
body.theme-soft-violet{--soft-a:#7928ca;--soft-b:#ff0080;--soft-h1a:#7928ca;--soft-h1b:#ff0080;--soft-ring:rgba(121,40,202,.22);--gold:#7928ca;--gold-l:#f3e8ff}
body.theme-soft :is(input,select,textarea,button){font-family:inherit}

/* ---------- Titres ---------- */
body.theme-soft h1{color:var(--soft-ink)}
body.theme-soft .cat-head{border-bottom:0;padding-bottom:.25rem;margin-bottom:1.1rem}
body.theme-soft .cat-head h1{font-weight:700;letter-spacing:-.02em;background:linear-gradient(310deg,var(--soft-h1a),var(--soft-h1b));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;width:fit-content;max-width:100%}
body.theme-soft .cat-head .crumb{color:var(--soft-muted);font-weight:600;letter-spacing:.05em}
body.theme-soft .cat-head .crumb:hover{color:var(--soft-a)}
body.theme-soft .cat-head p,body.theme-soft .cat-head .cat-sub,body.theme-soft .cat-toolbar .cat-help{color:var(--soft-muted)}
body.theme-soft .cat-head p a,body.theme-soft .cat-head .cat-sub a,body.theme-soft .cat-toolbar .cat-help a{color:var(--soft-ink)}
body.theme-soft .cat-toolbar .cat-help a:hover{color:var(--soft-a)}
body.theme-soft h2.sub,body.theme-soft .sec h2,body.theme-soft .panel h2,body.theme-soft .panel-side h2,body.theme-soft .card h2,body.theme-soft .doc-body h2,body.theme-soft .doc-body h3{color:var(--soft-ink);font-weight:700}
body.theme-soft .sec h2,body.theme-soft .panel-side h2{border-bottom:1px solid var(--soft-line)}
body.theme-soft .doc-body h2{border-bottom:1px solid var(--soft-line)}
body.theme-soft .sec dt{color:var(--soft-muted);font-weight:600;letter-spacing:.05em;font-size:.72rem}
body.theme-soft .sec dd{color:var(--soft-ink)}
body.theme-soft label{color:var(--soft-ink);font-weight:600;font-size:.88rem}
body.theme-soft .hint,body.theme-soft small{color:var(--soft-muted)}

/* ---------- Barre du haut : carte flottante translucide ---------- */
body.theme-soft .topbar{border-bottom:0;background:rgba(255,255,255,.94);-webkit-backdrop-filter:saturate(180%) blur(24px);backdrop-filter:saturate(180%) blur(24px);box-shadow:var(--soft-shadow-sm)}
body.theme-soft .topbar a,body.theme-soft .topbar .link{color:var(--soft-text);font-weight:600;font-size:.85rem}
body.theme-soft .topbar a:hover,body.theme-soft .topbar .link:hover{color:var(--soft-a)}
body.theme-soft .topbar .brand{font-weight:700;color:var(--soft-ink)}
body.theme-soft .topbar .brand span{font-size:.9rem}
body.theme-soft .topbar .who{color:var(--soft-muted);font-size:.8rem;background:#f4f4f5;border-radius:999px;padding:.2rem .7rem}
body.theme-soft .topbar .theme-sw{color:var(--soft-a)}
body.theme-soft .topbar:has(.soft-crumb) .brand{margin-right:0}
body.theme-soft .soft-crumb{margin-right:auto;margin-left:1.5rem;display:flex;flex-direction:column;gap:.05rem;min-width:0;line-height:1.2}
body.theme-soft .soft-crumb ol{display:flex;align-items:center;gap:.4rem;list-style:none;padding:0;margin:0;font-size:.75rem;color:var(--soft-muted);white-space:nowrap}
body.theme-soft .soft-crumb ol li+li::before{content:"/";margin-right:.4rem;color:#a1a1aa}
body.theme-soft .soft-crumb b{font-size:.85rem;font-weight:700;color:var(--soft-ink);white-space:nowrap}
body.theme-soft .soft-crumb ol li:last-child{color:var(--soft-ink);font-weight:600}
body.theme-soft .soft-crumb ol li a{color:inherit;text-decoration:none}
body.theme-soft .soft-crumb ol li a:hover{color:var(--gold)}
@media (min-width:901px){
  body.theme-soft .topbar{top:.75rem;left:1rem;right:1rem;border-radius:1rem;padding:.55rem 1.25rem}
}
@media (max-width:900px){ body.theme-soft .soft-crumb{display:none} }

/* ---------- Menu latéral : carte claire, pastilles d'icônes ---------- */
body.theme-soft .side{border:0;border-radius:var(--soft-r)}
@media (min-width:901px){body.theme-soft .side{box-shadow:var(--soft-shadow);padding:1rem .7rem .9rem}}
@media (max-width:900px){body.theme-soft.nav-open .side{box-shadow:0 0 40px rgba(24,24,27,.35)}}
body.theme-soft .side-title{color:var(--soft-muted);font-size:.68rem;letter-spacing:.07em;padding:.1rem .75rem .7rem}
body.theme-soft .side a,body.theme-soft .side summary{gap:.65rem;padding:.4rem .55rem;border-radius:.75rem;color:var(--soft-text);font-weight:500;font-size:.875rem;border:1px solid transparent}
body.theme-soft .side .lvl1 a{font-size:.84rem;font-weight:500;padding:.3rem .5rem}
body.theme-soft .side .lvl2 a{font-size:.8rem;padding:.25rem .5rem}
body.theme-soft .side a:hover,body.theme-soft .side summary:hover{background:#f7f7f8;color:var(--soft-ink)}
body.theme-soft .side ul.lvl1{margin:.1rem 0 .35rem 1.35rem;padding-left:.45rem;border-left:1px dashed #d4d4d8}
body.theme-soft .side ul.lvl2{border-left:1px dashed #d4d4d8}
body.theme-soft .side .chev{color:#a1a1aa}
/* pastille d'icône (les icônes du menu sont des emoji : on les affiche en silhouette blanche sur dégradé) */
body.theme-soft .side .ic{flex:none;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:.6rem;font-size:.95rem;line-height:1;text-align:center;background:#fff;box-shadow:0 .15rem .45rem rgba(0,0,0,.13)}
body.theme-soft .side .lvl1 .ic{width:1.65rem;height:1.65rem;border-radius:.5rem;font-size:.8rem;box-shadow:0 .1rem .3rem rgba(0,0,0,.12)}
body.theme-soft .side .lvl2 .ic{width:1.45rem;height:1.45rem;font-size:.72rem}
/* groupes de 1er niveau : pastille en dégradé, une couleur par groupe */
body.theme-soft .side li.group>details>summary .ic.has-svg{color:#fff;background:var(--soft-grad);box-shadow:0 .2rem .5rem rgba(0,0,0,.18)}
body.theme-soft .side li.group:nth-child(7n+2)>details>summary .ic.has-svg{background:linear-gradient(310deg,#2563eb,#06b6d4)}
body.theme-soft .side li.group:nth-child(7n+3)>details>summary .ic.has-svg{background:linear-gradient(310deg,#16a34a,#65a30d)}
body.theme-soft .side li.group:nth-child(7n+4)>details>summary .ic.has-svg{background:linear-gradient(310deg,#7c3aed,#c026d3)}
body.theme-soft .side li.group:nth-child(7n+5)>details>summary .ic.has-svg{background:linear-gradient(310deg,#dc2626,#fb7185)}
body.theme-soft .side li.group:nth-child(7n+6)>details>summary .ic.has-svg{background:linear-gradient(310deg,#27272a,#52525b)}
body.theme-soft .side li.group:nth-child(7n+7)>details>summary .ic.has-svg{background:linear-gradient(310deg,#0d9488,#22d3ee)}
body.theme-soft .side summary{font-weight:600;color:var(--soft-ink)}
body.theme-soft .side summary.parent-on,body.theme-soft .side a.parent-on{background:transparent;color:var(--soft-ink);font-weight:700}
/* entrée active : carte blanche surélevée + pastille dégradé */
body.theme-soft .side a.on{background:#fff;color:var(--soft-ink);font-weight:700;border-color:#f0f0f2;box-shadow:0 .5rem 1.1rem rgba(0,0,0,.09),0 .1rem .3rem rgba(0,0,0,.05)}
body.theme-soft .side a.on .ic{background:var(--soft-grad);box-shadow:0 .2rem .5rem rgba(0,0,0,.2)}
body.theme-soft .side a.on .ic.has-svg{color:#fff}
body.theme-soft .ic svg{display:block;width:1rem;height:1rem}
body.theme-soft .side .lvl1 .ic svg{width:.82rem;height:.82rem}
body.theme-soft .side .lvl2 .ic svg{width:.75rem;height:.75rem}
body.theme-soft .side .ic.has-svg{color:var(--soft-text)}
body.theme-soft .side-acct{border-top-color:var(--soft-line)}

/* ---------- Cartes / panneaux ---------- */
body.theme-soft :is(.sec,.panel,.panel-side,.card,.tile,.kpi,.rsec,.sgroup,.doc-body,.photo,.imgedit,.box,.tablewrap,.logo-card,.fnav,.mupb,.rcog){border-color:transparent}
body.theme-soft :is(.sec,.panel,.panel-side,.card,.tile,.kpi,.rsec,.sgroup,.doc-body,.photo,.box,.tablewrap,.logo-card){border:0;border-radius:var(--soft-r);box-shadow:var(--soft-shadow)}
body.theme-soft .imgedit{border:0;border-radius:var(--soft-r);box-shadow:var(--soft-shadow-sm)}
body.theme-soft .card{border-top:0;border-radius:var(--soft-r)}
body.theme-soft .card:hover,body.theme-soft .tile:hover{transform:translateY(-2px);box-shadow:0 22px 30px 0 rgba(0,0,0,.09)}
body.theme-soft .card h2{color:var(--soft-ink)}
body.theme-soft .go{color:var(--soft-a)}
body.theme-soft .sec.cmp.is-ok{border-left:0;box-shadow:var(--soft-shadow),inset 4px 0 0 #22c55e}
body.theme-soft .sec.cmp.is-inc{border-left:0;box-shadow:var(--soft-shadow),inset 4px 0 0 var(--soft-b)}
body.theme-soft .sgroup>summary:hover{background:#fafafa}
body.theme-soft .sgbody{border-top-color:var(--soft-line)}
body.theme-soft .rsec>summary::before{color:var(--soft-a)}
body.theme-soft .rsec .manage,body.theme-soft .manage{border-top-color:var(--soft-line)}
body.theme-soft .thumb,body.theme-soft .mlogo-img{border-color:var(--soft-line);border-radius:.6rem}
body.theme-soft .doc-body code,body.theme-soft .hint code,body.theme-soft .panel code{background:#f4f4f5;color:var(--soft-ink)}
body.theme-soft .doc-toc{background:#fff7ed;border-radius:var(--soft-r)}
body.theme-soft .doc-toc a{background:#fff;box-shadow:0 .1rem .3rem rgba(0,0,0,.08)}
body.theme-soft .doc-toc a:hover{background:var(--soft-grad);color:#fff}
body.theme-soft .doc-body table.dt th{background:#fafafa!important;color:var(--soft-muted)!important}
body.theme-soft .centry{border-left-color:var(--soft-a);background:#fafafa}
body.theme-soft .ctime{background:var(--soft-grad)}
/* tuiles de la page d'accueil du catalogue : pastille d'icône en dégradé (sauf si l'icône est un logo/image) */
body.theme-soft .tile{border:0;padding:1.15rem 1.3rem}
body.theme-soft .tile b{color:var(--soft-ink);font-weight:700}
body.theme-soft .tile .ic.has-svg{display:inline-flex;align-items:center;justify-content:center;width:2.6rem;height:2.6rem;border-radius:.8rem;background:var(--soft-grad);color:#fff;box-shadow:0 .25rem .6rem rgba(0,0,0,.18);margin-bottom:.3rem}
body.theme-soft .tile .ic.has-svg svg{width:1.2rem;height:1.2rem}
body.theme-soft .kpi{border:0}
body.theme-soft .kpi:hover{border-color:transparent;box-shadow:0 22px 30px 0 rgba(0,0,0,.09)}
body.theme-soft .kpi b{color:var(--soft-ink);font-weight:700}
body.theme-soft .kpi.on{background:var(--soft-grad)}
body.theme-soft .kpi.on b,body.theme-soft .kpi.on span,body.theme-soft .kpi.on small{color:#fff}
body.theme-soft .kpi.st-ok b{color:#166534}body.theme-soft .kpi.st-mid b{color:#92400e}body.theme-soft .kpi.st-low b{color:#991b1b}

/* ---------- Tableaux ---------- */
body.theme-soft table{color:var(--soft-text)}
body.theme-soft th,body.theme-soft td{border-bottom-color:#ececef}
body.theme-soft th{background:#fff;color:var(--soft-muted);font-weight:700;font-size:.66rem;text-transform:uppercase;letter-spacing:0;border-bottom:1px solid #e3e3e7}
body.theme-soft table thead th:not(.fttc-h),body.theme-soft table thead td{background:#fff!important;color:var(--soft-muted)!important;font-weight:700;text-transform:uppercase;letter-spacing:0;border-bottom:1px solid #e3e3e7}
body.theme-soft table thead th :is(a,.ibl,.ibulle,span:not(.famt-unit)){color:inherit!important}
body.theme-soft table thead th .famt-unit{background:#f4f4f5!important;color:var(--soft-muted)!important}
/* tableaux larges (7 colonnes et plus) : en-têtes en minuscules pour tenir sans défilement à 1366 px (règle de Julien) */
body.theme-soft table:has(>thead>tr>th:nth-child(7)) thead th{text-transform:none!important;font-size:.72rem;font-weight:600;letter-spacing:-.005em}
body.theme-soft table.fl>thead th{font-size:11px}
body.theme-soft table.fl>thead th.n{font-size:10.5px}
body.theme-soft table.fl,body.theme-soft table.rows,body.theme-soft table.rct{background:#fff}
body.theme-soft table.fl{border:0;box-shadow:var(--soft-shadow);border-radius:var(--soft-r)}
body.theme-soft .rtab thead th{font-size:.68rem}
body.theme-soft .rtab th[data-k]:hover{color:var(--soft-a)!important}
body.theme-soft .rtab tbody tr.on{background:var(--soft-grad)!important}
body.theme-soft td a,body.theme-soft table.rows td a,body.theme-soft .rtab td a{color:var(--soft-ink)}
body.theme-soft a.cflink:hover,body.theme-soft tr[data-href]:hover a.cflink{color:var(--soft-a)}
body.theme-soft table.rows tbody tr[data-href]:hover,body.theme-soft table.rows tbody tr[data-href]:focus{background:#fafafa}
body.theme-soft .rtab .rid,body.theme-soft .rid{background:#f4f4f5;color:var(--soft-text);border-radius:.4rem}
body.theme-soft .pager a,body.theme-soft .dl{color:var(--soft-ink)}
body.theme-soft .pager a:hover,body.theme-soft .dl:hover{color:var(--soft-a)}
body.theme-soft .tablewrap{border:0}
/* 10/11/2026 (Julien t2506u) : même zébrage .mj-zb que le thème classique sur #mjs / .mj.rows-z ; ne pas réintroduire de :nth-child (lignes cachées). Cases vertes / jaunes / rouges / indispo inchangées. */
body.theme-soft table.mj.rows-z > tbody > tr.mj-zb:not(.f-notoday):not(.f-old12) > td:not(.g):not(.y):not(.r):not(.cell-indispo):not(.c-g):not(.c-y):not(.c-r):not(.mj-nostock){background-color:#f3f6fa}

/* ---------- Boutons ---------- */
body.theme-soft :is(.btn,.back){background:var(--soft-grad);color:#fff;border-radius:.65rem;font-weight:600;font-size:.82rem;letter-spacing:-.005em;padding:.7rem 1.35rem;box-shadow:0 .2rem .45rem rgba(0,0,0,.16);transition:transform .12s,box-shadow .12s,filter .12s}
body.theme-soft :is(.btn,.back):hover{background:var(--soft-grad);color:#fff;filter:brightness(1.07);transform:translateY(-1px);box-shadow:0 .35rem .8rem rgba(0,0,0,.2)}
body.theme-soft .btn.sm{padding:.45rem .95rem;font-size:.8rem}
body.theme-soft .btn.act{padding:.3rem .6rem;font-size:12px}
body.theme-soft .btn:disabled,body.theme-soft .btn[disabled]{opacity:.45;transform:none;filter:none}
body.theme-soft .btn:disabled:hover{background:var(--soft-grad);color:#fff}
body.theme-soft .btn.ghost{background:#fff;color:var(--soft-ink);border:1px solid #d4d4d8;box-shadow:none}
body.theme-soft .btn.ghost:hover{background:#fafafa;color:var(--soft-a);border-color:var(--soft-a);filter:none;transform:none}
body.theme-soft .btn.ghost:disabled:hover{background:#fff;color:var(--soft-ink)}
body.theme-soft .btn.danger{background:linear-gradient(310deg,#dc2626,#fb7185);color:#fff}
body.theme-soft .btn.danger:hover{background:linear-gradient(310deg,#dc2626,#fb7185);color:#fff}
body.theme-soft :is(.btn.ghost.danger,.btn.danger.ghost,a.rdel){background:#fff;color:#b42318;border:1px solid #fca5a5;box-shadow:none}
body.theme-soft :is(.btn.ghost.danger,.btn.danger.ghost,a.rdel):hover{background:#b42318;color:#fff;border-color:#b42318}
body.theme-soft table.rows td a.btn,body.theme-soft .rtab td a.btn{color:#fff}
body.theme-soft table.rows td a.btn:hover,body.theme-soft .rtab td a.btn:hover{color:#fff}
body.theme-soft table.rows td a.btn.ghost,body.theme-soft .rtab td a.btn.ghost{color:var(--soft-ink)}
body.theme-soft .small,body.theme-soft button.icob,body.theme-soft .rcog,body.theme-soft .rsec .rclear{border:1px solid #e3e3e7;background:#fff;color:var(--soft-text);border-radius:.6rem;font-weight:600;box-shadow:0 .1rem .25rem rgba(0,0,0,.05)}
body.theme-soft .small:hover,body.theme-soft button.icob:hover,body.theme-soft .rcog:hover,body.theme-soft .rsec .rclear:hover{border-color:var(--soft-a);color:var(--soft-a)!important;background:#fff}
body.theme-soft .small.danger:hover{border-color:#dc2626;color:#dc2626!important}
body.theme-soft .cat-back{border-color:#e3e3e7;border-radius:.6rem;color:var(--soft-ink);box-shadow:0 .1rem .25rem rgba(0,0,0,.05)}
body.theme-soft .cat-back:hover{background:#fff7ed;border-color:var(--soft-a);color:var(--soft-a)}
body.theme-soft .topbar .link{color:var(--soft-text)}
body.theme-soft .chip{background:#fff7ed;color:#9a3412}
body.theme-soft .chip a{color:#9a3412}

/* ---------- Champs ---------- */
body.theme-soft :is(input,select,textarea){border:1px solid #d2d6da;border-radius:.6rem;color:var(--soft-text);background-color:#fff;transition:box-shadow .15s,border-color .15s}
body.theme-soft :is(input,select,textarea):focus{outline:0;border-color:var(--soft-b);box-shadow:0 0 0 3px var(--soft-ring)}
body.theme-soft input:disabled{background:#f4f4f5;color:var(--soft-muted)}
body.theme-soft input[type=file]{background:#fafafa}
body.theme-soft :is(input[type=checkbox],input[type=radio]){accent-color:var(--soft-a)}
body.theme-soft .rrow input{border-radius:.5rem}

/* ---------- Onglets, segments, pastilles de navigation ---------- */
body.theme-soft .tabs,body.theme-soft .seg{background:#fff;border:0;border-radius:.9rem;box-shadow:var(--soft-shadow-sm);padding:.3rem}
body.theme-soft .tabs a,body.theme-soft .seg a{color:var(--soft-text);border-radius:.65rem;font-weight:600;font-size:.88rem}
body.theme-soft .tabs a:hover{background:#f4f4f5}
body.theme-soft .tabs a.on,body.theme-soft .seg a.on{background:var(--soft-grad);color:#fff;box-shadow:0 .2rem .45rem rgba(0,0,0,.16)}
body.theme-soft .tabs a.on span{filter:none}
body.theme-soft .fnav{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;border:0;border-radius:.9rem;box-shadow:var(--soft-shadow-sm)}
/* barre d'onglets collante de la fiche : sous la barre du haut flottante (z-index 10), fond opaque */
@media (min-width:901px){body.theme-soft::before{content:"";position:fixed;top:0;left:0;right:0;height:var(--soft-top,5rem);background:var(--bg);z-index:8;pointer-events:none}body.theme-soft .fnav{top:var(--soft-top,5rem);z-index:9}body.theme-soft .fnav-t{scroll-margin-top:calc(var(--soft-top,5rem) + 4.5rem)}}
body.theme-soft .fnav .fg+.fg{border-left-color:var(--soft-line)}
body.theme-soft .fnav a{color:var(--soft-text);border-radius:.6rem}
body.theme-soft .fnav a:hover{background:#f4f4f5}
body.theme-soft .fnav a.on{background:var(--soft-grad);color:#fff;border-color:transparent;box-shadow:0 .2rem .45rem rgba(0,0,0,.18)}
body.theme-soft .fhtbar{border-color:#e3e3e7}
body.theme-soft .fhtbar button.on{background:var(--soft-grad);color:#fff}
body.theme-soft .rlist a{color:var(--soft-text);border-radius:.6rem}
body.theme-soft .rlist a:hover{background:#f4f4f5}
body.theme-soft .rlist a.on{background:var(--soft-grad);color:#fff}
body.theme-soft .bar{background:#ececef}
body.theme-soft .bar span{background:var(--soft-grad)}
body.theme-soft .mupb{border-top:0;box-shadow:0 -6px 20px rgba(0,0,0,.08)}

/* ---------- Badges (couleurs sémantiques conservées, formes adoucies) ---------- */
body.theme-soft :is(.tag,.cbadge,.sbadge,.stype,.itag,.tbadge,.ctag,.cstate,.fl-p,.mj-pill,.mpill){border-radius:.5rem;font-weight:700;letter-spacing:.01em}
body.theme-soft .tag{background:#f4f4f5;color:var(--soft-text)}
body.theme-soft .tag.ok{background:#dcfce7;color:#166534}body.theme-soft .tag.off,body.theme-soft .tag.err{background:#fee2e2;color:#991b1b}body.theme-soft .tag.wait{background:#fef3c7;color:#92400e}
body.theme-soft .stype.dropship{background:#e0f2fe;color:#075985}
body.theme-soft .ctag{background:#f4f4f5}
body.theme-soft .tbadge.perm{background:#27272a}
body.theme-soft .alert,body.theme-soft .notice,body.theme-soft .secret{border-radius:.9rem}
body.theme-soft .secret{background:#fff7ed;border-color:#fed7aa;color:#9a3412}

/* ---------- Fenêtres volantes / info-bulles / menus déroulants ---------- */
body.theme-soft :is(.ibw>.ibpop,.al-send form,.mc-pop,.env-det-pop,.mpdd ul,dialog){border:0;border-radius:1rem;box-shadow:0 20px 40px rgba(0,0,0,.16),0 2px 6px rgba(0,0,0,.06)}
body.theme-soft .ibw>.ibl{border-color:#e3e3e7}
body.theme-soft dialog::backdrop{background:rgba(24,24,27,.45)}

/* ---------- Divers ---------- */
body.theme-soft footer{color:#a1a1aa}
body.theme-soft hr{border:0;border-top:1px solid var(--soft-line)}
body.theme-soft ::selection{background:rgba(245,158,11,.3)}
@media (max-width:900px){
  body.theme-soft .side{border-radius:0 1.25rem 1.25rem 0}
  body.theme-soft.js-nav .nav-burger{border:1px solid #e3e3e7;color:var(--soft-ink)}
  body.theme-soft .topbar{border-radius:0}
}

/* 17/11/2026 (Julien t3350u) : mode CLAIR — en-tête et menu latéral foncés, texte et icônes clairs, pastilles d'icônes conservées, item actif bien visible. Le contenu reste clair. Mode sombre inchangé. */
body.theme-soft:not(.theme-dark) .topbar{background:rgba(24,24,27,.94);box-shadow:0 8px 24px rgba(0,0,0,.28)}
body.theme-soft:not(.theme-dark) .topbar a,
body.theme-soft:not(.theme-dark) .topbar .link{color:#e4e4e7}
body.theme-soft:not(.theme-dark) .topbar a:hover,
body.theme-soft:not(.theme-dark) .topbar .link:hover{color:#fff}
body.theme-soft:not(.theme-dark) .topbar .brand,
body.theme-soft:not(.theme-dark) .topbar .brand span{color:#fafafa}
body.theme-soft:not(.theme-dark) .topbar .who{background:#27272a;color:#e4e4e7}
body.theme-soft:not(.theme-dark) .topbar .theme-sw{color:var(--soft-b,#f59e0b)}
body.theme-soft:not(.theme-dark) .mode-sw{background:#27272a;border-color:#3f3f46;color:#e4e4e7}
body.theme-soft:not(.theme-dark) .mode-sw:hover{border-color:var(--soft-a,#ea580c);color:#fff}
body.theme-soft:not(.theme-dark) .soft-crumb ol{color:#a1a1aa}
body.theme-soft:not(.theme-dark) .soft-crumb ol li+li::before{color:#71717a}
body.theme-soft:not(.theme-dark) .soft-crumb b,
body.theme-soft:not(.theme-dark) .soft-crumb ol li:last-child{color:#fafafa}
body.theme-soft:not(.theme-dark) .soft-crumb ol li a:hover{color:var(--soft-a,#ea580c)}
body.theme-soft:not(.theme-dark) .side{background:#18181b;color:#e4e4e7;scrollbar-color:#ffffff44 transparent}
body.theme-soft:not(.theme-dark) .side-title{color:#a1a1aa}
body.theme-soft:not(.theme-dark) .side a,
body.theme-soft:not(.theme-dark) .side summary{color:#e4e4e7}
body.theme-soft:not(.theme-dark) .side summary{color:#fafafa}
body.theme-soft:not(.theme-dark) .side a:hover,
body.theme-soft:not(.theme-dark) .side summary:hover{background:rgba(255,255,255,.08);color:#fff}
body.theme-soft:not(.theme-dark) .side a.on{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.08);box-shadow:0 .4rem 1rem rgba(0,0,0,.35)}
body.theme-soft:not(.theme-dark) .side a.on .ic.has-svg{color:#fff}
body.theme-soft:not(.theme-dark) .side summary.parent-on,
body.theme-soft:not(.theme-dark) .side a.parent-on{background:transparent;color:#fff;font-weight:700}
body.theme-soft:not(.theme-dark) .side .ic.has-svg{color:#3f3f46}
body.theme-soft:not(.theme-dark) .side .chev{color:#a1a1aa}
body.theme-soft:not(.theme-dark) .side ul.lvl1,
body.theme-soft:not(.theme-dark) .side ul.lvl2{border-left-color:#3f3f46}
body.theme-soft:not(.theme-dark) .side-acct{border-top-color:#3f3f46}

/* 17/11/2026 (Julien t3352u) : bandeau de titre au chrome foncé du menu (#18181b), titre en blanc. */
body.theme-soft{
  --chrome-bg:#18181b;
  --chrome-fg:#fafafa;
  --chrome-muted:#a1a1aa;
}
body.theme-soft .cat-head{padding:1rem 1.2rem 1.05rem;margin-bottom:1.25rem;border-bottom:0}
body.theme-soft .cat-head h1{
  background:none;
  -webkit-background-clip:unset;
  background-clip:unset;
  -webkit-text-fill-color:#fff;
  color:#fff;
}
body.theme-soft .cat-head .crumb{color:#a1a1aa}
body.theme-soft .cat-head .crumb:hover{color:var(--soft-a,#ea580c)}
body.theme-soft .cat-head p,body.theme-soft .cat-head .cat-sub{color:#a1a1aa}
body.theme-soft .cat-head p a,body.theme-soft .cat-head .cat-sub a{color:#fafafa}
body.theme-soft .cat-toolbar .cat-help{color:var(--chrome-muted,#a1a1aa)}
body.theme-soft .cat-toolbar .cat-help a{color:#fafafa}
