/* ==========================================================================
   RÉGIE MOZYLAND — CHARTE v3 « ORANGE »  (05/11/2026)
   Remplace la charte papier/encre/laiton par une charte vive et lisible.
   Fonctionne en surcouche : redéfinit les jetons de la console et réaffecte
   les trois familles historiques (Bodoni Moda, Public Sans, Chivo Mono) vers
   Bricolage Grotesque, Figtree et DM Mono — toutes les pages basculent sans
   être réécrites. Retour arrière : retirer la ligne <link …charte-v3.css>.
   Code couleur d'état : rouge bloqué · jaune t'attend · vert avance ·
   violet à venir · gris veille. L'orange est la marque (actions, onglet actif),
   jamais un état.
   ========================================================================== */

/* ==========================================================================
   RÉGIE MOZYLAND — CHARTE v3 « ORANGE »  (05/11/2026)
   Remplace la charte papier/encre/laiton par une charte vive et lisible.
   Fonctionne en surcouche : redéfinit les jetons de la console et réaffecte
   les trois familles historiques (Bodoni Moda, Public Sans, Chivo Mono) vers
   Bricolage Grotesque, Figtree et DM Mono — toutes les pages basculent sans
   être réécrites. Retour arrière : retirer la ligne <link …charte-v3.css>.
   Code couleur d'état : rouge bloqué · jaune t'attend · vert avance ·
   violet à venir · gris veille. L'orange est la marque (actions, onglet actif),
   jamais un état.
   ========================================================================== */

/* --- polices v3, puis alias : les anciennes familles pointent vers les nouvelles --- */
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bricolagegrotesque/v9/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGHInHEVA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bricolagegrotesque/v9/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGGInHEVA.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;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bricolagegrotesque/v9/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInE.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;
}
/* latin-ext */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dmmono/v16/aFTU7PB1QTsUX8KYthSQBLyM.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;
}
/* latin */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dmmono/v16/aFTU7PB1QTsUX8KYthqQBA.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;
}
/* latin-ext */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dmmono/v16/aFTR7PB1QTsUX8KYvumzEY2tbZX9.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;
}
/* latin */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dmmono/v16/aFTR7PB1QTsUX8KYvumzEYOtbQ.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;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/figtree/v9/_Xms-HUzqDCFdgfMm4q9DbZs.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;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DQ.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;
}

/* vietnamese */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bricolagegrotesque/v9/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGHInHEVA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bricolagegrotesque/v9/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGGInHEVA.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;
}
/* latin */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bricolagegrotesque/v9/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInE.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;
}
/* latin-ext */
@font-face {
  font-family: 'Chivo Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dmmono/v16/aFTU7PB1QTsUX8KYthSQBLyM.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;
}
/* latin */
@font-face {
  font-family: 'Chivo Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dmmono/v16/aFTU7PB1QTsUX8KYthqQBA.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;
}
/* latin-ext */
@font-face {
  font-family: 'Chivo Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dmmono/v16/aFTR7PB1QTsUX8KYvumzEY2tbZX9.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;
}
/* latin */
@font-face {
  font-family: 'Chivo Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dmmono/v16/aFTR7PB1QTsUX8KYvumzEYOtbQ.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;
}
/* latin-ext */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/figtree/v9/_Xms-HUzqDCFdgfMm4q9DbZs.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;
}
/* latin */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DQ.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;
}


html:root{
  --paper:#FFF9F3; --paper2:#FFF0E4; --ink:#211B26; --ink2:#5D5562; --ink3:#8E8693;
  --trait:#F2E3D6; --trait2:#E6D1BF; --laiton:#FF6A13; --laiton-pale:#FFE6D3;
  --vert:#1E9E63; --rouge:#E5484D;
  --v3-orange:#FF6A13; --v3-orange-2:#FF8A3D; --v3-orange-pale:#FFE6D3;
  --v3-jaune:#F2B705; --v3-violet:#7B5CFA; --v3-vert:#1E9E63; --v3-rouge:#E5484D; --v3-gris:#8E8693;
  --v3-surface:#FFFFFF; --v3-surface-2:#FFF3E9; --v3-ombre:0 1px 2px rgba(60,30,10,.06),0 6px 18px -10px rgba(255,106,19,.25);
  --v3-r:18px; --v3-r-s:12px;--v3-btn-r:4px;
  --v3-disp:"Bricolage Grotesque","Avenir Next",system-ui,sans-serif;
  --v3-txt:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --v3-mono:"DM Mono",ui-monospace,"SF Mono",Menlo,monospace;
}
html:root[data-theme="sombre"]{
  --paper:#16121B; --paper2:#1F1926; --ink:#FFF3E8; --ink2:#CDBFC9; --ink3:#958A9B;
  --trait:#2D2535; --trait2:#3D3346; --laiton:#FF7B2C; --laiton-pale:#3A2216;
  --vert:#3DD68C; --rouge:#FF6B6B;
  --v3-orange:#FF7B2C; --v3-orange-2:#FF9A55; --v3-orange-pale:#3A2216;
  --v3-jaune:#FFC93C; --v3-violet:#A08CFF; --v3-vert:#3DD68C; --v3-rouge:#FF6B6B; --v3-gris:#958A9B;
  --v3-surface:#201A28; --v3-surface-2:#2A2233; --v3-ombre:none;
  color-scheme:dark;
}
/* thème explicite « clair » et thème automatique (réglage Auto + système sombre) */
html:root[data-theme="clair"]{
  --paper:#FFF9F3; --paper2:#FFF0E4; --ink:#211B26; --ink2:#5D5562; --ink3:#8E8693;
  --trait:#F2E3D6; --trait2:#E6D1BF; --laiton:#FF6A13; --laiton-pale:#FFE6D3;
  --vert:#1E9E63; --rouge:#E5484D;
  --v3-orange:#FF6A13; --v3-orange-2:#FF8A3D; --v3-orange-pale:#FFE6D3;
  --v3-jaune:#F2B705; --v3-violet:#7B5CFA; --v3-vert:#1E9E63; --v3-rouge:#E5484D; --v3-gris:#8E8693;
  --v3-surface:#FFFFFF; --v3-surface-2:#FFF3E9; --v3-ombre:0 1px 2px rgba(60,30,10,.06),0 6px 18px -10px rgba(255,106,19,.25);
  --v3-r:18px; --v3-r-s:12px;
  --v3-disp:"Bricolage Grotesque","Avenir Next",system-ui,sans-serif;
  --v3-txt:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --v3-mono:"DM Mono",ui-monospace,"SF Mono",Menlo,monospace;
}
@media (prefers-color-scheme: dark){
  html:root:not([data-theme="clair"]):not([data-theme="sombre"]){
  --paper:#16121B; --paper2:#1F1926; --ink:#FFF3E8; --ink2:#CDBFC9; --ink3:#958A9B;
  --trait:#2D2535; --trait2:#3D3346; --laiton:#FF7B2C; --laiton-pale:#3A2216;
  --vert:#3DD68C; --rouge:#FF6B6B;
  --v3-orange:#FF7B2C; --v3-orange-2:#FF9A55; --v3-orange-pale:#3A2216;
  --v3-jaune:#FFC93C; --v3-violet:#A08CFF; --v3-vert:#3DD68C; --v3-rouge:#FF6B6B; --v3-gris:#958A9B;
  --v3-surface:#201A28; --v3-surface-2:#2A2233; --v3-ombre:none;
  color-scheme:dark;
}
}


/* ---------- typographie ---------- */
html body{font-family:var(--v3-txt);font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;letter-spacing:0}
html:root body:not(#c3x) h1, html:root body:not(#c3x) .entete h1{font-family:var(--v3-disp);font-weight:800;letter-spacing:-.02em;line-height:1.05}
html:root body:not(#c3x) h2{font-family:var(--v3-disp);font-weight:700;letter-spacing:-.01em}
html:root body:not(#c3x) h3{font-family:var(--v3-disp);font-weight:700}
html:root body:not(#c3x) .surtitre{font-family:var(--v3-txt)!important;font-weight:700;letter-spacing:.06em;color:var(--v3-orange)}
::selection{background:var(--v3-orange);color:#fff}

/* ---------- liens, boutons, champs ---------- */
html:root body:not(#c3x) main a:not([class]){color:var(--v3-orange)}
html:root body:not(#c3x) button, html:root body:not(#c3x) .bouton, html:root body:not(#c3x) input[type=submit], html:root body:not(#c3x) input[type=button]{border-radius:var(--v3-btn-r)}
html:root body:not(#c3x) input:not([type=checkbox]):not([type=radio]):not([type=range]), html:root body:not(#c3x) select, html:root body:not(#c3x) textarea{border-radius:var(--v3-r-s)}
html:root body:not(#c3x) :focus-visible{outline:2px solid var(--v3-orange);outline-offset:2px}

/* ---------- rail (bureau) ---------- */
html:root body:not(#c3x) aside.rail{background:var(--v3-surface)}
html:root body:not(#c3x) aside.rail a{border-radius:12px}
html:root body:not(#c3x) aside.rail a[aria-current="page"], html:root body:not(#c3x) aside.rail a.actif, html:root body:not(#c3x) aside.rail a.ici{background:var(--v3-orange)!important;color:#fff!important}
html:root body:not(#c3x) aside.rail a[aria-current="page"] svg, html:root body:not(#c3x) aside.rail a.actif svg, html:root body:not(#c3x) aside.rail a.ici svg{color:#fff!important}
html:root body:not(#c3x) .marque b{font-family:var(--v3-disp)!important;font-weight:800!important}

/* ---------- cartes et blocs communs de la console ---------- */
html:root body:not(#c3x) .tuile, html:root body:not(#c3x) .cellule, html:root body:not(#c3x) .compteurs > *, html:root body:not(#c3x) .tt + div[id^="br"],
html:root body:not(#c3x) .bxi-c, html:root body:not(#c3x) .bxj-t > div, html:root body:not(#c3x) .bxr-r, html:root body:not(#c3x) .ag-l, html:root body:not(#c3x) .ap-bloc,
html:root body:not(#c3x) details, html:root body:not(#c3x) .baro, html:root body:not(#c3x) .simu, html:root body:not(#c3x) .gr, html:root body:not(#c3x) .res, html:root body:not(#c3x) .rech{border-radius:var(--v3-r)}
html:root body:not(#c3x) .tuile, html:root body:not(#c3x) .bxi-c, html:root body:not(#c3x) .bxj-t > div{background:var(--v3-surface);box-shadow:var(--v3-ombre)}
html:root body:not(#c3x) .bx-b, html:root body:not(#c3x) .a2-st, html:root body:not(#c3x) .statut, html:root body:not(#c3x) .pastille{border-radius:var(--v3-btn-r)}

/* ---------- pastilles d'état de la page Bourse : jaune pour « prudence » ---------- */
html:root body:not(#c3x) .bx-p.amb{background:var(--v3-jaune)}
html:root body:not(#c3x) .bx-b.amb{border-color:var(--v3-jaune);color:color-mix(in srgb,var(--v3-jaune) 60%,var(--ink))}
html:root body:not(#c3x) .bx-b.ok, html:root body:not(#c3x) .bx-p.ok{border-color:var(--v3-vert)} html:root body:not(#c3x) .bx-p.ok{background:var(--v3-vert)}
html:root body:not(#c3x) .bx-b.non, html:root body:not(#c3x) .bx-p.non{border-color:var(--v3-rouge)} html:root body:not(#c3x) .bx-p.non{background:var(--v3-rouge)}
html:root body:not(#c3x) #bx-ong button[aria-selected="true"]{border-bottom-color:var(--v3-orange);color:var(--v3-orange)}

/* ---------- mise en page : la bande de droite (notes Jarvis figées) disparaît, le contenu prend la place ---------- */
@media (min-width:1081px){
  html:root body:not(#c3x) .grille{grid-template-columns:13rem minmax(0,1fr)!important}
  html:root body.sansrail:not(#c3x) .grille{grid-template-columns:minmax(0,1fr)!important}
  html:root body:not(#c3x) .grille > aside.bande{display:none!important}
}

/* ---------- boutons « public » (liens de projet, mettre en veille…) : pilules orange ---------- */
html:root body:not(#c3x) .public{border-radius:var(--v3-btn-r)!important;background:transparent!important;color:var(--v3-orange)!important;border:1.5px solid var(--v3-orange)!important;font-family:var(--v3-txt)!important;font-weight:700!important;letter-spacing:.02em!important;transition:background .15s,color .15s}
html:root body:not(#c3x) .public:hover{background:var(--v3-orange)!important;color:#fff!important}

/* ---------- onglets des pages projet ---------- */
html:root body:not(#c3x) .onglets{gap:6px!important;border-bottom:0!important}
html:root body:not(#c3x) .onglets button[role="tab"]{border-radius:var(--v3-btn-r)!important;background:var(--v3-surface)!important;color:var(--ink2)!important;border:1px solid var(--trait2)!important;font-family:var(--v3-txt)!important;font-weight:700!important;letter-spacing:.02em!important}
html:root body:not(#c3x) .onglets button[role="tab"][aria-selected="true"]{background:var(--v3-orange)!important;border-color:var(--v3-orange)!important;color:#fff!important}

/* ---------- tuiles de statistiques et blocs des pages projet ---------- */
html:root body:not(#c3x) .zs-k, html:root body:not(#c3x) .zs-b, html:root body:not(#c3x) .alb, html:root body:not(#c3x) .zs-gr{border-radius:var(--v3-r)!important;background:var(--v3-surface)!important;box-shadow:var(--v3-ombre)}
html:root body:not(#c3x) .zs-per button[aria-pressed="true"], html:root body:not(#c3x) .zs-per button.actif{background:var(--v3-orange)!important;color:#fff!important}

/* ---------- boutons de la console (feuille « boutons-charte » : fond encre, coins carrés) → pilules orange ----------
   :not(#c3x) ajoute le poids d'un identifiant sans en exiger un, pour passer devant :is(… #msgx …). */
html:root body:not(#c3x) :is(main .po-btn, main .co-btn, main a[class$="-btn"], main a.btn, main a.public, .tb-pied a, .proal a, .carte .cr a, .rg-bt, #msgx .mx-env, #jv-panel .jq-env){
  background:var(--v3-orange)!important;color:#fff!important;border:0!important;border-radius:var(--v3-btn-r)!important;
  font-family:var(--v3-txt)!important;font-weight:700!important;letter-spacing:.01em!important;text-transform:none!important;padding:.55em 1.1em!important;box-shadow:0 6px 16px -10px var(--v3-orange)}
html:root body:not(#c3x) :is(main .po-btn, main .co-btn, main a[class$="-btn"], main a.btn, main a.public, .tb-pied a, .proal a, .carte .cr a, .rg-bt, #msgx .mx-env, #jv-panel .jq-env):hover{
  background:color-mix(in srgb,var(--v3-orange) 85%,#000)!important;color:#fff!important}
html:root body:not(#c3x) main button.public{background:var(--v3-orange)!important;color:#fff!important;border:0!important;border-radius:var(--v3-btn-r)!important;font-family:var(--v3-txt)!important;font-weight:700!important;text-transform:none!important}
html:root body:not(#c3x) #msgx .mx-bt{border-radius:var(--v3-btn-r)!important}

/* ---------- 06/11 : défaut 1 — logo « Régie » du rail (a.marque, police d'origine Bodoni) ---------- */
html:root body:not(#c3x) aside.rail a.marque, html:root body:not(#c3x) aside.rail .marque{font-family:var(--v3-disp)!important;font-weight:800!important;font-style:normal!important;letter-spacing:-.02em!important;color:var(--ink)!important}
html:root body:not(#c3x) aside.rail .marque small{font-family:var(--v3-mono)!important;color:var(--v3-orange)!important;letter-spacing:.12em}

/* ---------- 06/11 : défaut 2 — pastilles codées en dur (Bourse, Bon plan) → jetons v3 ----------
   vert = favorable · jaune = prudence · rouge = risque · violet = information */
html:root{--ambre:var(--v3-jaune);--orange:var(--v3-jaune)}
html:root body:not(#c3x) #brs{--vert:var(--v3-vert);--rouge:var(--v3-rouge);--orange:var(--v3-jaune)}
html:root body:not(#c3x) .bx-p.ok{background:var(--v3-vert)!important;color:#fff!important}
html:root body:not(#c3x) .bx-p.amb{background:var(--v3-jaune)!important;color:#211B26!important}
html:root body:not(#c3x) .bx-p.non{background:var(--v3-rouge)!important;color:#fff!important}
html:root body:not(#c3x) .bx-b.ok{border-color:var(--v3-vert)!important;color:var(--v3-vert)!important}
html:root body:not(#c3x) .bx-b.amb{border-color:var(--v3-jaune)!important;color:color-mix(in srgb,var(--v3-jaune) 70%,var(--ink))!important}
html:root body:not(#c3x) .bx-b.non{border-color:var(--v3-rouge)!important;color:var(--v3-rouge)!important}
html:root body:not(#c3x) #bxj .bxj-a > div.ok{border-top-color:var(--v3-vert)!important}
html:root body:not(#c3x) #bxj .bxj-a > div.amb{border-top-color:var(--v3-jaune)!important}
html:root body:not(#c3x) #bxj .bxj-a > div.non{border-top-color:var(--v3-rouge)!important}
html:root body:not(#c3x) #bxi .bxi-av, html:root body:not(#c3x) #bxr .bxr-av{border-left:4px solid var(--v3-violet)!important;background:color-mix(in srgb,var(--v3-violet) 8%,transparent);border-radius:0 12px 12px 0}
html:root body:not(#c3x) #bp .bp-c.ok{border-top-color:var(--v3-vert)!important}
html:root body:not(#c3x) #bp .bp-c.att{border-top-color:var(--v3-jaune)!important}
html:root body:not(#c3x) #bp .bp-c.ko{border-top-color:var(--v3-rouge)!important}
html:root body:not(#c3x) #bp .bp-badge.ok{color:var(--v3-vert)!important;border-color:var(--v3-vert)!important}
html:root body:not(#c3x) #bp .bp-badge.att{color:color-mix(in srgb,var(--v3-jaune) 70%,var(--ink))!important;border-color:var(--v3-jaune)!important}
html:root body:not(#c3x) #bp .bp-badge.ko, html:root body:not(#c3x) #bp .bp-risk{color:var(--v3-rouge)!important;border-color:var(--v3-rouge)!important}
html:root body:not(#c3x) .s-fait{color:var(--v3-vert)!important}
html:root body:not(#c3x) :is(.s-a_refaire,.s-bloque,.urgent,.acx-rouge){color:var(--v3-rouge)!important}

/* ---------- 06/11 : page Robots ---------- */

/* ---------- 06/11 : logo ML (carré orange, ML blanc) dans le rail ---------- */
html:root body:not(#c3x) aside.rail a.marque{display:inline-grid!important;margin-top:22px!important;justify-content:start!important;justify-items:start;grid-template-columns:auto auto;column-gap:10px;align-items:center;text-decoration:none!important}
html:root body:not(#c3x) aside.rail a.marque::before{content:"ML";grid-row:1 / span 2;width:38px;height:38px;border-radius:10px;background:var(--v3-orange);color:#fff;display:grid;place-items:center;font:800 17px/1 var(--v3-disp);letter-spacing:-.04em;box-shadow:0 6px 14px -8px var(--v3-orange)}
html:root body:not(#c3x) aside.rail a.marque small{grid-column:2;display:block;line-height:1.1}

/* ---------- 06/11 : boutons CARRÉS partout (demande MOMO) ---------- */
html:root body:not(#c3x) :is(button, input[type=submit], input[type=button], .bouton, .btn, a[class*="btn"], [role="tab"], .onglets button, .public, .rg-bt, .a2-f, .a2-rb, .rb-btn, .zs-per button, #bx-ong button, #bx-dec, .po-btn, .co-btn, .tb-pied a, .proal a, .carte .cr a, #msgx .mx-env, #msgx .mx-bt, #jv-panel .jq-env, .c3-feuille .th button){border-radius:var(--v3-btn-r)!important}
html:root body:not(#c3x) .onglets button[role="tab"]{padding:.6em 1.05em!important;white-space:nowrap!important;line-height:1.2!important}
html:root body:not(#c3x) .onglets{gap:8px!important;flex-wrap:wrap}
html:root body:not(#c3x) aside.rail :is(nav a, ul a, li a, button, .rail-pied a, .theme button, [class*="btn"]), html:root body:not(#c3x) aside.rail a:not(.marque){border-radius:var(--v3-btn-r)!important}
html:root body:not(#c3x) .c3-tab :is(a, button){border-radius:var(--v3-btn-r)!important}
