/* ============================================================
   ORALIS — palette du logo (marine + or + ivoire), 10/11/2026
   Ce fichier ne change QUE les couleurs : ni mise en page, ni polices, ni formes.
   Chargé en dernier par chaque page ; ses jetons l'emportent sur ceux des modules.
   ============================================================ */
html:root:root:root:not([data-theme="light"]){
  color-scheme:dark;
  --o-bg:#060914; --o-sunken:#090D1C; --o-surface:#0D1226; --o-surface-2:#141A33; --o-surface-3:#1B2242;
  --o-line:rgba(233,220,190,.11); --o-line-2:rgba(233,220,190,.22);
  --o-ink:#F4F1EA; --o-muted:#A6ABC0; --o-faint:#6C7391;
  --o-gold:#D9B46A; --o-gold-hi:#F2DDA6; --o-gold-deep:#B08A45; --o-on-gold:#0B1430;
  --o-accent:#D9B46A; --o-on-accent:#0B1430; --o-accent-text:#D9B46A;
  --o-accent-soft:rgba(217,180,106,.12);
  --o-info:#9DB4FF; --o-info-soft:rgba(157,180,255,.10);
  --o-ok:#7FCFA4; --o-ok-soft:rgba(127,207,164,.10);
  --o-warn:#E3BE74; --o-warn-soft:rgba(227,190,116,.11);
  --o-bad:#F08D8D; --o-bad-soft:rgba(240,141,141,.10);
  --o-rec:#E0364A; --o-rec-soft:rgba(224,54,74,.14);
  --o-metal:linear-gradient(120deg,#F7E6B5 0%,#D9B46A 38%,#B08A45 72%,#E8CC8A 100%);
  --o-shadow:0 1px 2px rgba(0,0,0,.4),0 24px 64px -24px rgba(0,0,0,.7);
  --o-glass:rgba(8,11,24,.82);
  --math:#9DB4FF!important; --eco:#F2DDA6!important; --info:#C3A8F0!important; --ms1:#EFA0B8!important; --mtu:#7FD0D8!important;
}
html:root:root:root[data-theme="light"]{
  color-scheme:light;
  --o-bg:#F5F2EA; --o-sunken:#FAF8F2; --o-surface:#FFFFFF; --o-surface-2:#EFEBE0; --o-surface-3:#E6E0D2;
  --o-line:#E1DACA; --o-line-2:#CDC4AE;
  --o-ink:#13204A; --o-muted:#59607C; --o-faint:#9398AC;
  --o-gold:#B08A45; --o-gold-hi:#D9B46A; --o-gold-deep:#8A6A2A; --o-on-gold:#0B1430;
  --o-accent:#13204A; --o-on-accent:#F5F2EA; --o-accent-text:#8A6A2A;
  --o-accent-soft:rgba(19,32,74,.07);
  --o-info:#2A46B8; --o-info-soft:#E9EDFA;
  --o-ok:#0F7B4A; --o-ok-soft:#E2F2E9;
  --o-warn:#8A6A2A; --o-warn-soft:#F6EEDB;
  --o-bad:#B3261E; --o-bad-soft:#FAE6E4;
  --o-rec:#C8102E; --o-rec-soft:rgba(200,16,46,.10);
  --o-metal:linear-gradient(120deg,#13204A 0%,#2A3A72 55%,#B08A45 100%);
  --o-shadow:0 1px 2px rgba(19,32,74,.06),0 18px 50px -24px rgba(19,32,74,.22);
  --o-glass:rgba(255,255,255,.88);
  --math:#2A46B8!important; --eco:#8A6A2A!important; --info:#6A3FB8!important; --ms1:#A8315A!important; --mtu:#0E6F7A!important;
}
/* Correspondance avec les jetons de couleur des modules */
html:root:root:root{
  --bg:var(--o-bg)!important; --base:var(--o-bg)!important; --lowest:var(--o-sunken)!important; --bar:var(--o-surface)!important;
  --sunken:var(--o-sunken)!important;
  --surface:var(--o-surface)!important; --card:var(--o-surface)!important; --panel:var(--o-surface)!important;
  --surface-2:var(--o-surface-2)!important; --card2:var(--o-surface-2)!important; --panel-2:var(--o-sunken)!important;
  --c-low:var(--o-sunken)!important; --c:var(--o-surface-2)!important; --c2:var(--o-surface-2)!important;
  --surface-3:var(--o-surface-3)!important; --panel-3:var(--o-surface-2)!important; --c-high:var(--o-surface-2)!important;
  --c3:var(--o-surface-3)!important; --c-highest:var(--o-surface-3)!important; --bright:var(--o-surface-3)!important; --overlay:var(--o-surface-2)!important;
  --line:var(--o-line)!important; --line2:var(--o-line-2)!important; --line-h:var(--o-line-2)!important; --line-strong:var(--o-line-2)!important;
  --glass:var(--o-glass)!important; --glass-bd:var(--o-line)!important;
  --ink:var(--o-ink)!important; --muted:var(--o-muted)!important; --faint:var(--o-faint)!important;
  --accent:var(--o-accent)!important; --red:var(--o-accent)!important; --on-red:var(--o-on-accent)!important; --brand:var(--o-accent)!important;
  --accent-2:var(--o-gold)!important; --accent2:var(--o-gold)!important; --brand-2:var(--o-gold)!important;
  --eco-c:var(--o-gold-deep)!important; --eco2:var(--o-gold-deep)!important; --emerald:var(--o-gold)!important; --emerald-c:var(--o-gold-deep)!important;
  --green:var(--o-ok)!important; --green-soft:var(--o-ok-soft)!important;
  --accent-soft:var(--o-accent-soft)!important; --accent2-soft:var(--o-accent-soft)!important;
  --gold:var(--o-accent-text)!important; --gold-soft:var(--o-warn-soft)!important; --amber:var(--o-warn)!important; --gold-tifi:var(--o-gold)!important;
  --good:var(--o-ok)!important; --warn:var(--o-warn)!important; --bad:var(--o-bad)!important;
  --rec:var(--o-rec)!important; --rec-soft:var(--o-rec-soft)!important;
  --grad:var(--o-metal)!important;
  --shadow:var(--o-shadow)!important;
  --link:var(--o-accent-text)!important; --warn-bg:var(--o-warn-soft)!important;
}
::selection{background:var(--o-gold);color:var(--o-on-gold)}
