html[data-andromeda="true"] {
  --andromeda-violet:#8270bd;
  --accent-color: var(--gold, #c6a15b);
  --accent-bg-subtle: rgba(198,161,91,.18);
}
html[data-andromeda="true"] body { background:var(--papier); color:var(--encre); font-family:Inter,"Segoe UI",Tahoma,sans-serif; }
html[data-andromeda="true"] .app { min-height:100vh; }
html[data-andromeda="true"] .barre-lat.andromeda-sidebar {
  width:268px; flex:0 0 268px; height:100vh; padding:0 12px; gap:0; overflow-x:hidden;
  background:linear-gradient(165deg, var(--navy), var(--navy-2) 58%, var(--navy)) !important;
  border:0; border-inline-end:1px solid rgba(218,190,130,.24); box-shadow:8px 0 30px rgba(13,20,42,.08);
}
html[data-andromeda="true"] .andromeda-brand { min-height:88px; padding:17px 7px 15px; gap:12px; border-bottom:1px solid rgba(226,211,177,.15); }
html[data-andromeda="true"] .andromeda-brand .marque-andromeda,
html[data-andromeda="true"] #sidebar-logo,
html[data-andromeda="true"] .logo-blason {
  width:44px; height:44px; flex:0 0 44px; padding:2px; border-radius:50%;
  object-fit:contain; border:1px solid rgba(212,175,55,.4); background:#ffffff;
}
html[data-andromeda="true"] .andromeda-brand strong { color:#f7f2e7; letter-spacing:.17em; font:700 13px/1.2 Georgia,"Times New Roman",serif; }
html[data-andromeda="true"] .andromeda-brand span { color:#b7c1d8 !important; display:block; margin-top:5px; font-size:10px; letter-spacing:.06em; }
html[data-andromeda="true"] .andromeda-sidebar-primary { display:grid; gap:6px; padding:14px 0 9px; border-bottom:1px solid rgba(226,211,177,.12); }
html[data-andromeda="true"] .andromeda-sidebar .nav { display:flex; align-items:center; gap:11px; width:100%; min-height:42px; padding:9px 11px; border:1px solid transparent; border-radius:11px; border-inline-start:1px solid transparent; color:#d9deec; text-align:left; font-size:13px; line-height:1.3; transition:background .16s,border-color .16s,color .16s,transform .16s; }
html[data-andromeda="true"] .andromeda-sidebar .nav::before { display:none; }
html[data-andromeda="true"] .andromeda-sidebar .nav:hover { background:rgba(255,255,255,.075); color:#fff; transform:translateX(2px); }
html[data-andromeda="true"] .andromeda-sidebar .nav.actif { color:var(--accent-color, var(--gold)) !important; background:var(--accent-bg-subtle, rgba(201,168,102,.2)); border:1px solid color-mix(in srgb, var(--accent-color, var(--gold)) 45%, transparent); box-shadow:inset 3px 0 var(--accent-color, var(--gold)); }
html[data-andromeda="true"] .andromeda-sidebar .andromeda-pia-link { min-height:61px; background:linear-gradient(110deg,rgba(201,168,102,.15),rgba(130,112,189,.12)); border-color:rgba(201,168,102,.24); }
html[data-andromeda="true"] .andromeda-sidebar .andromeda-pia-link small { display:block; margin-top:3px; color:#aeb9d2; font-size:10px; font-weight:450; }
html[data-andromeda="true"] .andromeda-sidebar .andromeda-pia-link > b { margin-inline-start:auto; color:#d8c38e; font-size:16px; }
html[data-andromeda="true"] .andromeda-nav-mark { display:grid; place-items:center; width:28px; height:28px; flex:0 0 28px; border-radius:9px; color:#d8c38e; background:rgba(201,168,102,.105); font-size:16px; }
html[data-andromeda="true"] .andromeda-nav-heading { display:flex; align-items:center; justify-content:space-between; padding:15px 4px 5px; color:#818da9; font-size:9px; font-weight:750; letter-spacing:.19em; }
html[data-andromeda="true"] .andromeda-nav-heading .nav-plie { width:24px; height:24px; padding:0; border-color:rgba(255,255,255,.16); color:#bdc5d7; }
html[data-andromeda="true"] .andromeda-navigation { min-height:0; flex:1; overflow:auto; scrollbar-width:thin; scrollbar-color:rgba(220,202,160,.25) transparent; }
html[data-andromeda="true"] .andromeda-sidebar .nav-espace { margin:0; padding:12px 0 7px; border:0; }
html[data-andromeda="true"] .andromeda-sidebar .nav-espace-titre { padding:0 6px 5px; color:#d6c18c; font-size:9px; letter-spacing:.16em; }
html[data-andromeda="true"] .andromeda-sidebar .groupe { margin:0; border:0; }
html[data-andromeda="true"] .andromeda-sidebar .groupe-titre { min-height:39px; font-weight:620; }
html[data-andromeda="true"] .andromeda-sidebar .nav.sous { min-height:35px; margin:2px 0 2px 14px; padding:6px 8px; width:calc(100% - 14px); color:#abb5cb; font-size:12px; }
html[data-andromeda="true"] .andromeda-sidebar .nav.sous .andromeda-nav-mark { width:20px; height:20px; flex-basis:20px; border-radius:6px; font-size:11px; }
html[data-andromeda="true"] .andromeda-sidebar .groupe .chev { border-color:#94a0ba; border-width:1.5px; }
html[data-andromeda="true"] .andromeda-sidebar-footer { display:flex; align-items:flex-start; gap:8px; padding:12px 5px 14px; border-top:1px solid rgba(226,211,177,.12); color:#8e9ab4; font-size:10px; line-height:1.45; }
html[data-andromeda="true"] .tuiles-aes { grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:14px; margin-top:12px; }
html[data-andromeda="true"] .tuile-aes { cursor:pointer; background:linear-gradient(180deg,#fff,#f7f5ff); border:1px solid #d8d3ee; box-shadow:0 8px 20px rgba(20,28,54,.06); }
html[data-andromeda="true"] .tuile-aes:hover { border-color:#c9a866; transform:translateY(-2px); }
html[data-andromeda="true"] .tuile-kicker { margin:0 0 6px; color:#7a6bb0; font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
html[data-andromeda="true"] .alerte-cnas { border-left:4px solid #c9a866; }
html[data-andromeda="true"] .andromeda-status-dot { width:7px; height:7px; flex:0 0 7px; margin-top:4px; border-radius:50%; background:#8bc8a5; box-shadow:0 0 10px rgba(139,200,165,.5); }
html[data-andromeda="true"] .andromeda-zone { min-width:0; background:var(--papier); }
html[data-andromeda="true"] .andromeda-zone > .barre { min-height:78px; padding:11px 26px; gap:18px; z-index:1000; background:#ffffff !important; border:0 !important; border-bottom:1px solid #e5e7ef !important; box-shadow:0 4px 18px rgba(25,34,58,.035); }
html[data-andromeda="true"] .andromeda-page-heading { display:flex; align-items:center; gap:12px; min-width:170px; }
html[data-andromeda="true"] .andromeda-page-heading > div > span { color:#7a8298; font-size:9px; font-weight:750; letter-spacing:.14em; }
html[data-andromeda="true"] .andromeda-page-heading > div > span i { color:#c9a866; font-style:normal; padding:0 4px; }
html[data-andromeda="true"] .andromeda-page-heading h1 { margin:2px 0 0; color:#18223a; font-size:18px; font-weight:680; letter-spacing:-.025em; }
html[data-andromeda="true"] .andromeda-temps-bar { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 0; padding:0; list-style:none; }
html[data-andromeda="true"] .andromeda-temps-bar li { padding:3px 8px; border-radius:999px; font-size:10px; font-weight:650; letter-spacing:.02em; border:1px solid #e3e6ef; background:#fff; color:#4a5570; }
html[data-andromeda="true"] .andromeda-temps-bar li.fait { border-color:#c9a866; background:#f7f1e3; color:#5c4a24; }
html[data-andromeda="true"] .andromeda-temps-bar li.recette { border-color:#8270bd; background:#f4f1fb; color:#4d3f78; }
html[data-andromeda="true"] .andromeda-home-link { min-height:61px !important; background:linear-gradient(110deg,rgba(201,168,102,.22),rgba(130,112,189,.16)) !important; border-color:rgba(201,168,102,.4) !important; }
html[data-andromeda="true"] .andromeda-home-link small { display:block; margin-top:3px; color:#aeb9d2; font-size:10px; font-weight:450; }
/* Omnibox compact : déclencheur permanent + panneau flottant (Ctrl K). */
html[data-andromeda="true"] .omnibox-wrap { position:relative; flex:0 0 auto; display:flex; align-items:center; }
html[data-andromeda="true"] .omnibox-declencheur {
  display:inline-flex; align-items:center; gap:8px; min-height:38px; padding:0 12px;
  border:1px solid #e3e6ef; border-radius:11px; background:#fff; color:#4a5570;
  font:inherit; font-size:12px; font-weight:600; cursor:pointer;
}
html[data-andromeda="true"] .omnibox-declencheur:hover { background:#f5f2ea; border-color:#d3bd83; }
html[data-andromeda="true"] .omnibox-declencheur[aria-expanded="true"] { border-color:#c6a15b; background:#fbf7ee; }
html[data-andromeda="true"] .omnibox-declencheur-icone { font-size:16px; line-height:1; color:#818ba1; }
html[data-andromeda="true"] .omnibox-declencheur-libelle { color:#334155; }
html[data-andromeda="true"] .omnibox-declencheur kbd {
  flex:0 0 auto; padding:2px 6px; border:1px solid #e0e3eb; border-radius:6px;
  background:#f8fafc; color:#858da0; font-size:9px; font-weight:600;
}
html[data-andromeda="true"] .omnibox-voile {
  position:fixed; inset:0; z-index:10030; background:rgba(7,13,29,.18); backdrop-filter:blur(1px);
}
html[data-andromeda="true"] .andromeda-global-search.omnibox-panneau {
  display:none; position:fixed; z-index:10040; top:72px; left:50%; transform:translateX(-50%);
  width:min(560px, calc(100vw - 28px)); min-width:0; max-width:560px;
  align-items:center; gap:8px; padding:10px 12px;
  border:1px solid #e3e6ef; border-radius:14px; background:#fff; color:#818ba1;
  box-shadow:0 18px 48px rgba(12,24,48,.18);
}
html[data-andromeda="true"] .andromeda-global-search.omnibox-panneau.ouvert,
html[data-andromeda="true"] .andromeda-global-search.omnibox-panneau:not([hidden]) {
  display:flex;
}
html[data-andromeda="true"] .andromeda-global-search > span { font-size:20px; line-height:1; }
html[data-andromeda="true"] .andromeda-global-search .omnibox-zone { flex:1 1 auto; min-width:0; position:relative; }
html[data-andromeda="true"] .andromeda-global-search input { width:100%; max-width:none; min-width:0; min-height:40px; padding:7px 0; border:0; background:transparent; box-shadow:none; color:#23314c; font-size:13px; }
html[data-andromeda="true"] .andromeda-global-search input:focus { outline:0; border:0 !important; box-shadow:none !important; }
html[data-andromeda="true"] .andromeda-global-search .omnibox-ask {
  flex:0 0 auto; min-height:32px; padding:4px 10px; border:1px solid #e0e3eb; border-radius:8px;
  background:#f8f9fc; color:#334155; font-size:11px; font-weight:650; cursor:pointer;
}
html[data-andromeda="true"] .andromeda-global-search .omnibox-fermer {
  flex:0 0 auto; width:32px; height:32px; border:0; border-radius:8px; background:transparent;
  color:#64748b; font-size:20px; line-height:1; cursor:pointer;
}
html[data-andromeda="true"] .andromeda-global-search .omnibox-fermer:hover { background:#f1f5f9; color:#0f172a; }
html[data-andromeda="true"] .andromeda-global-search .propositions { top:calc(100% + 7px); left:0; right:0; padding:5px; border-color:#e3e6ef; box-shadow:0 14px 35px rgba(12,24,48,.13); }
html[data-andromeda="true"] .andromeda-global-search .propositions button { display:block; width:100%; padding:9px 10px; border:0; border-radius:8px; background:transparent; text-align:left; font-size:12px; }
html[data-andromeda="true"] .andromeda-global-search .propositions button:hover { background:#f2f3f8; }
html[data-andromeda="true"] .andromeda-zone .outils { gap:10px; flex:0 0 auto; }
html[data-andromeda="true"] .andromeda-zone .outils .signe { width:38px; height:38px; min-height:38px; border-radius:11px; border-color:#e6e8ef; background:#fff; color:#4a5570; }
html[data-andromeda="true"] .andromeda-zone .outils .signe:hover { background:#f5f2ea; border-color:#d3bd83; }
html[data-andromeda="true"] .andromeda-zone .pia-bar-container { flex:0 1 300px; min-width:210px; max-width:360px; margin:0; }
html[data-andromeda="true"] .pia-input-wrapper { padding:2px 5px 2px 12px; border:1px solid rgba(130,112,189,.36); border-radius:13px; background:linear-gradient(100deg,#fff,#faf9fd); box-shadow:0 4px 12px rgba(85,72,131,.06); }
html[data-andromeda="true"] .pia-input-wrapper:focus-within { border-color:#9482ca; box-shadow:0 0 0 3px rgba(130,112,189,.12); }
html[data-andromeda="true"] .pia-input-wrapper .pia-input { min-height:36px; padding:6px 3px; border:0; background:transparent; font-size:11px; }
html[data-andromeda="true"] .pia-actions { gap:3px; }
html[data-andromeda="true"] .btn-pia-send { min-height:31px; padding:6px 9px; border-radius:9px; background:#172246; color:#f5dda5; font-size:10px; }
html[data-andromeda="true"] .btn-mic { min-height:31px; width:31px; border-radius:9px; }
html[data-andromeda="true"] .pia-sparkle { color:#8c79c4; }
html[data-andromeda="true"] .andromeda-content { padding:27px clamp(16px,3vw,42px) 42px; background:radial-gradient(ellipse at 78% 0,rgba(128,111,188,.055),transparent 34%),var(--papier); }
html[data-andromeda="true"] .andromeda-lab-return { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 16px; padding:9px 13px; border:1px solid #e1d9f2; border-radius:12px; background:#f7f4fb; color:#6d5b99; font-size:11px; font-weight:650; }
html[data-andromeda="true"] .andromeda-lab-return button { padding:5px 10px; border-color:#ded5ee; border-radius:9px; color:#574581; font-size:11px; }

/* Accueil Andromeda : identité, priorités accessibles et espaces de travail. */
html[data-andromeda="true"] .andromeda-home-hero { position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(330px,.9fr); align-items:center; gap:clamp(18px,3vw,42px); min-height:300px; margin:0 0 19px; padding:clamp(23px,3.5vw,42px); overflow:hidden; border:1px solid rgba(202,175,119,.45); border-radius:24px; color:#f7f2e8 !important; background:radial-gradient(ellipse at 77% 20%,rgba(130,112,189,.33),transparent 33%),radial-gradient(ellipse at 45% 115%,rgba(43,91,128,.25),transparent 55%),linear-gradient(118deg,#09142d 4%,#122246 62%,#201d42 100%) !important; box-shadow:0 20px 45px rgba(15,24,52,.14); }
html[data-andromeda="true"] .andromeda-home-copy { position:relative; z-index:2; min-width:0; }
html[data-andromeda="true"] .andromeda-kicker { display:flex; align-items:center; gap:8px; color:#ddc98e; font-size:9px; letter-spacing:.2em; }
html[data-andromeda="true"] .andromeda-star { font-size:16px; color:#ead59a; text-shadow:0 0 14px rgba(226,197,123,.7); }
html[data-andromeda="true"] .andromeda-home-hero h1 { margin:17px 0 4px; color:#fffaf0; font:500 clamp(27px,3.2vw,42px)/1.12 Georgia,"Times New Roman",serif; letter-spacing:-.035em; }
html[data-andromeda="true"] .andromeda-home-date { margin:0; color:#c6cce0; font-size:12px; text-transform:capitalize; }
html[data-andromeda="true"] .andromeda-home-description { max-width:51ch; margin:13px 0 0; color:#d7dced; font-size:13px; line-height:1.65; }
html[data-andromeda="true"] .andromeda-hero-actions { align-items:center; gap:10px 15px; margin-top:20px; }
html[data-andromeda="true"] .andromeda-hero-actions .principal { display:inline-flex; align-items:center; gap:8px; min-height:42px; padding:10px 15px; border:1px solid rgba(229,203,144,.55) !important; border-radius:11px; background:linear-gradient(135deg,#d5b776,#bc9859) !important; color:#111b35 !important; box-shadow:0 8px 18px rgba(194,160,98,.17); font-size:12px; }
html[data-andromeda="true"] .andromeda-secondary-link { display:inline-flex; align-items:center; gap:8px; padding:8px 1px; border:0; background:transparent; color:#e2d5b7; font-size:11px; }
html[data-andromeda="true"] .andromeda-secondary-link:hover { color:#fff; }
html[data-andromeda="true"] .andromeda-secondary-link span { color:#d5ba78; }
html[data-andromeda="true"] .andromeda-home-art { position:relative; z-index:1; width:100%; margin:0; padding:10px 10px 8px; border:1px solid rgba(219,195,141,.4); border-radius:17px; background:rgba(3,10,24,.39); box-shadow:0 14px 40px rgba(0,0,0,.25),inset 0 0 35px rgba(100,111,180,.12); }
html[data-andromeda="true"] .andromeda-home-art::before { content:""; position:absolute; inset:-12px; z-index:-1; border-radius:22px; background:radial-gradient(ellipse,rgba(155,133,202,.22),transparent 68%); filter:blur(13px); }
html[data-andromeda="true"] .andromeda-home-art .andromeda-reference { display:block; width:100%; height:auto; aspect-ratio:1424/745; max-height:none; border-radius:10px; object-fit:contain; filter:saturate(.94) drop-shadow(0 5px 15px rgba(0,0,0,.2)); }
html[data-andromeda="true"] .andromeda-home-art figcaption { display:flex; align-items:center; gap:7px; padding:8px 5px 1px; color:#dfc98d; font:600 9px Georgia,"Times New Roman",serif; letter-spacing:.17em; }
html[data-andromeda="true"] .andromeda-home-art figcaption > span { font-size:15px; }
html[data-andromeda="true"] .andromeda-home-art figcaption small { margin-inline-start:auto; color:#aeb8cf; font:400 9px "Segoe UI",sans-serif; letter-spacing:.02em; }
html[data-andromeda="true"] .andromeda-home-art.sans-image { min-height:140px; display:grid; place-items:center; }
html[data-andromeda="true"] .andromeda-home-art.sans-image::after { content:"✦  ANDROMEDA"; color:#e1c98d; font:14px Georgia,serif; letter-spacing:.2em; }
html[data-andromeda="true"] .andromeda-home-art.sans-image .andromeda-reference, html[data-andromeda="true"] .andromeda-home-art.sans-image figcaption { display:none; }
html[data-andromeda="true"] .andromeda-home-orbit { position:absolute; right:37%; bottom:-208px; width:360px; height:360px; border:1px solid rgba(192,171,220,.11); border-radius:50%; pointer-events:none; }
html[data-andromeda="true"] .andromeda-home-orbit::before, html[data-andromeda="true"] .andromeda-home-orbit::after { content:""; position:absolute; border:1px solid rgba(219,196,147,.1); border-radius:50%; }
html[data-andromeda="true"] .andromeda-home-orbit::before { inset:24px; } html[data-andromeda="true"] .andromeda-home-orbit::after { inset:54px; }
html[data-andromeda="true"] .andromeda-signals { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:11px; margin:0 0 25px; }
html[data-andromeda="true"] .andromeda-signals article { cursor:pointer; }
html[data-andromeda="true"] .andromeda-signals article { min-height:94px; display:grid; grid-template-columns:34px 1fr; align-items:center; gap:10px; padding:14px; border:1px solid #e7e8ef; border-radius:15px; background:rgba(255,255,255,.94); box-shadow:0 6px 18px rgba(25,34,58,.035); }
html[data-andromeda="true"] .andromeda-signals article > span:first-child:not(.andromeda-stat-icon) { grid-column:2; color:#6d7890; font-size:10px; }
html[data-andromeda="true"] .andromeda-signals article strong { grid-column:2; margin-top:-5px; color:#172346; font:600 23px Georgia,"Times New Roman",serif; }
html[data-andromeda="true"] .andromeda-signals article small { grid-column:2; margin-top:-6px; color:#8991a4; font-size:9px; }
html[data-andromeda="true"] .andromeda-stat-icon { grid-row:1/4; display:grid; place-items:center; width:34px; height:34px; border-radius:11px; background:#f2edf8; color:#806cab; font-size:17px; }
html[data-andromeda="true"] .section-titre-tuiles { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 12px; padding-bottom:10px; border-bottom:1px solid #e5e7ef; color:#222d49; font:600 15px Georgia,"Times New Roman",serif; }
html[data-andromeda="true"] .tiles-grid { grid-template-columns:repeat(auto-fit,minmax(225px,1fr)); gap:13px; }
html[data-andromeda="true"] .tile { min-height:172px; padding:17px; border:1px solid #e3e6ef; border-radius:16px; background:linear-gradient(155deg,#fff,#fbfbfd); box-shadow:0 7px 22px rgba(20,29,54,.045); transition:transform .18s,box-shadow .18s,border-color .18s; }
html[data-andromeda="true"] .tile:hover { transform:translateY(-3px); border-color:#d6c695; box-shadow:0 14px 29px rgba(20,29,54,.09); }
html[data-andromeda="true"] .tile-icon-box { display:grid; place-items:center; width:39px; height:39px; border-radius:12px; background:#f2eff8; font-size:18px; }
html[data-andromeda="true"] .tile-title { margin:12px 0 4px; color:#1b2743; font-size:13px; font-weight:690; }
html[data-andromeda="true"] .tile-desc { color:#707a91; font-size:10px; line-height:1.55; }
html[data-andromeda="true"] .tile-bottom { margin-top:13px; padding-top:10px; border-top:1px solid #edf0f4; color:#857453; font-size:10px; }
html[data-andromeda="true"] .secondary-grid { gap:14px; margin-top:18px; }
html[data-andromeda="true"] .card-secondary { padding:18px; border:1px solid #e4e7ef; border-radius:16px; background:#fff; box-shadow:0 7px 21px rgba(20,29,54,.04); }
html[data-andromeda="true"] .card-secondary h3 { color:#26324d; font-size:13px; }

/* Atelier P.IA : conversation, analyse Gmail, mémoire et validations. */
html[data-andromeda="true"] .pi-hero { padding:21px 24px; border:1px solid rgba(201,168,102,.3); border-radius:18px; background:radial-gradient(ellipse at 88% 20%,rgba(130,112,189,.25),transparent 36%),linear-gradient(112deg,#0c1936,#17264b 66%,#292448); box-shadow:0 14px 32px rgba(13,22,46,.12); }
html[data-andromeda="true"] .pi-hero h2 { color:#f4e7c1; font:500 20px Georgia,"Times New Roman",serif; }
html[data-andromeda="true"] .pi-hero p { max-width:90ch; color:#c9d1e2; font-size:11px; }
html[data-andromeda="true"] .pi-badge-moteur { padding:5px 9px; border:1px solid rgba(221,208,173,.18); border-radius:999px; background:rgba(255,255,255,.06); color:#e8e2d4; font-size:9px; }
html[data-andromeda="true"] .pi-onglets-barre { position:sticky; top:0; z-index:3; display:flex; gap:7px; margin:0 0 14px; padding:10px 0; border-bottom:1px solid #e2e5ed; background:rgba(244,245,249,.95); backdrop-filter:blur(12px); }
html[data-andromeda="true"] .pi-onglet-btn { min-height:38px; padding:8px 12px; border:1px solid transparent; border-radius:10px; background:transparent; color:#626e86; font-size:11px; }
html[data-andromeda="true"] .pi-onglet-btn.actif { background:#fff; border-color:#d9cee7; color:#574779; box-shadow:0 4px 12px rgba(55,43,83,.07); }
html[data-andromeda="true"] .pi-chat-box { display:grid; min-height:min(66vh,720px); grid-template-rows:minmax(260px,1fr) auto auto; overflow:hidden; border:1px solid #e2e4ed; border-radius:18px; background:linear-gradient(180deg,#fff,#fbfbfd); box-shadow:0 10px 28px rgba(25,34,58,.055); }
html[data-andromeda="true"] .pi-chat-messages { min-height:280px; padding:23px clamp(16px,4vw,48px); background:radial-gradient(ellipse at 18% 0,rgba(130,112,189,.045),transparent 36%); }
html[data-andromeda="true"] .pi-chat-avatar { background:#192548; color:#ead39d; box-shadow:0 0 0 4px #f0edf7; }
html[data-andromeda="true"] .pi-chat-bubble { max-width:780px; padding:17px 19px; border:1px solid #e6e6ed; border-radius:4px 15px 15px; background:#fff; box-shadow:0 5px 16px rgba(20,29,54,.04); }
html[data-andromeda="true"] .pi-chat-bubble strong { color:#27314d !important; font-family:Georgia,"Times New Roman",serif; }
html[data-andromeda="true"] .pi-chat-suggestions { gap:8px; padding:12px clamp(14px,4vw,48px); border-top:1px solid #f0f1f5; }
html[data-andromeda="true"] .pi-suggestion-pill { border-color:#e4e2eb; border-radius:999px; background:#fff; color:#4b5670; font-size:10px; }
html[data-andromeda="true"] .pi-chat-input-bar { margin:0; padding:14px clamp(14px,4vw,48px) 18px; border:0; background:#fff; }
html[data-andromeda="true"] .pi-input-wrapper { border:1px solid #dfe2eb; border-radius:15px; background:#fff; box-shadow:0 5px 16px rgba(24,31,55,.05); }
html[data-andromeda="true"] .pi-btn-send { width:38px; height:38px; border-radius:11px; background:#172346; color:#f0d99e; }
html[data-andromeda="true"] .pi-section > .carte { padding:21px; border-radius:16px; }

/* Composants communs : tableaux, formulaires, fenêtres et boutons. */
html[data-andromeda="true"] .andromeda-content .carte,
html[data-andromeda="true"] .andromeda-content .card-secondary,
html[data-andromeda="true"] .andromeda-content .indicateur,
html[data-andromeda="true"] .andromeda-content .pointage-compact,
html[data-andromeda="true"] .andromeda-content .pointage-panneau-carte { border-color:#e3e6ee !important; border-radius:15px; box-shadow:0 7px 22px rgba(20,29,54,.045); }
html[data-andromeda="true"] .andromeda-content h2, html[data-andromeda="true"] .andromeda-content h3 { color:#25314e; letter-spacing:-.015em; }
html[data-andromeda="true"] .andromeda-content .intro { color:#69748b; font-size:12px; line-height:1.6; }
html[data-andromeda="true"] .andromeda-content input:not([type=checkbox]):not([type=radio]),html[data-andromeda="true"] .andromeda-content select,html[data-andromeda="true"] .andromeda-content textarea { border-color:#dfe3ec; border-radius:10px; background:#fff; color:#27334e; }
html[data-andromeda="true"] .andromeda-content input:focus,html[data-andromeda="true"] .andromeda-content select:focus,html[data-andromeda="true"] .andromeda-content textarea:focus { outline:none; border-color:#9b8bc6 !important; box-shadow:0 0 0 3px rgba(130,112,189,.11) !important; }
html[data-andromeda="true"] .andromeda-content label { color:#4c5872; font-size:11px; font-weight:620; }
html[data-andromeda="true"] .andromeda-content button.principal { border-radius:10px; background:var(--gold) !important; border-color:var(--gold) !important; color:#fff !important; box-shadow:0 4px 11px color-mix(in srgb, var(--gold) 28%, transparent); }
html[data-andromeda="true"] .andromeda-content .secondaire,html[data-andromeda="true"] .andromeda-content .ghost { border-color:#dfe3ec; border-radius:10px; background:#fff; color:#3b4965; }
html[data-andromeda="true"] .andromeda-content .secondaire:hover,html[data-andromeda="true"] .andromeda-content .ghost:hover { border-color:#c9b981; background:#fbf9f2; }
html[data-andromeda="true"] .andromeda-content table { border-collapse:separate; border-spacing:0; overflow:hidden; border:1px solid #e5e7ee; border-radius:12px; background:#fff; }
html[data-andromeda="true"] .andromeda-content thead th { background:#f5f5f9; color:#58647e; font-size:10px; letter-spacing:.035em; }
html[data-andromeda="true"] .andromeda-content tbody td { color:#303b54; font-size:11px; }
html[data-andromeda="true"] .andromeda-content tbody tr:hover td { background:#faf9fc; }
html[data-andromeda="true"] .andromeda-content dialog,html[data-andromeda="true"] .andromeda-content .modal { border-color:#dddfea; border-radius:18px; box-shadow:0 24px 70px rgba(8,16,35,.25); }
html[data-andromeda="true"] .andromeda-content dialog::backdrop { background:rgba(7,13,29,.58); backdrop-filter:blur(3px); }

@media(max-width:1100px) {
  html[data-andromeda="true"] .andromeda-zone > .barre { gap:12px; padding-inline:18px; }
  html[data-andromeda="true"] .andromeda-zone .pia-bar-container { flex-basis:250px; }
  html[data-andromeda="true"] .omnibox-declencheur-libelle { display:none; }
  html[data-andromeda="true"] .andromeda-home-hero { grid-template-columns:minmax(0,1fr) minmax(290px,.8fr); }
}
@media(max-width:840px) {
  html[data-andromeda="true"] .barre-lat.andromeda-sidebar { width:268px; flex-basis:268px; }
  html[data-andromeda="true"] .andromeda-zone > .barre { flex-wrap:wrap; }
  html[data-andromeda="true"] .omnibox-wrap { order:0; }
  html[data-andromeda="true"] .andromeda-zone .pia-bar-container { flex:1 1 260px; max-width:none; }
  html[data-andromeda="true"] .andromeda-home-hero { grid-template-columns:1fr; }
  html[data-andromeda="true"] .andromeda-home-art { width:min(100%,560px); justify-self:center; }
}
@media(max-width:760px) {
  html[data-andromeda="true"] .app { height:100dvh; }
  html[data-andromeda="true"] .andromeda-zone > .barre { display:grid; grid-template-columns:1fr auto; align-items:center; gap:8px; min-height:68px; padding:9px 13px; }
  html[data-andromeda="true"] .andromeda-page-heading { min-width:0; }
  html[data-andromeda="true"] .andromeda-page-heading h1 { font-size:16px; }
  html[data-andromeda="true"] .andromeda-page-heading > div > span { font-size:8px; }
  html[data-andromeda="true"] .andromeda-zone .outils { grid-column:2; grid-row:1; }
  html[data-andromeda="true"] .andromeda-zone .outils .choix-skin { display:none; }
  html[data-andromeda="true"] .andromeda-zone .pia-bar-container { grid-column:1/-1; grid-row:2; width:100%; min-width:0; }
  html[data-andromeda="true"] .omnibox-wrap { grid-column:auto; }
  html[data-andromeda="true"] .barre-lat.andromeda-sidebar { position:fixed; z-index:25; inset-block-start:68px; inset-inline-start:0; height:calc(100dvh - 68px); transform:translateX(-105%); transition:transform .22s ease; box-shadow:16px 0 40px rgba(4,10,24,.24); }
  html[data-andromeda="true"] .barre-lat.andromeda-sidebar.ouvert { transform:translateX(0); }
  html[data-andromeda="true"] .andromeda-content { padding:16px 13px 28px; }
  html[data-andromeda="true"] .andromeda-home-hero { min-height:0; gap:18px; padding:21px 17px; border-radius:19px; }
  html[data-andromeda="true"] .andromeda-home-hero h1 { margin-top:12px; font-size:29px; }
  html[data-andromeda="true"] .andromeda-home-art { padding:7px; }
  html[data-andromeda="true"] .andromeda-signals { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  html[data-andromeda="true"] .andromeda-signals article { min-height:87px; padding:10px; }
  html[data-andromeda="true"] .tiles-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  html[data-andromeda="true"] .tile { min-height:158px; padding:12px; }
  html[data-andromeda="true"] .pi-onglets-barre { overflow-x:auto; }
  html[data-andromeda="true"] .pi-onglet-btn { flex:0 0 auto; white-space:nowrap; }
  html[data-andromeda="true"] .secondary-grid { grid-template-columns:1fr; }
}

/* Atelier EDT Andromeda — novembre 2026 */
.and-edt{--ae-ink:#17243d;--ae-muted:#64728a;--ae-line:#dce3ee;--ae-gold:#b88c43;--ae-violet:#7564a8;color:var(--ae-ink);display:grid;gap:18px;padding:clamp(14px,2vw,26px);max-width:1600px;margin:0 auto}
.and-edt__hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:clamp(20px,3vw,34px);border:1px solid #e4d8be;border-radius:22px;background:radial-gradient(ellipse at 90% 0%,rgba(117,100,168,.17),transparent 38%),linear-gradient(135deg,#101a31,#1c2945 72%,#26324c);color:#fff;box-shadow:0 16px 38px rgba(17,27,47,.14)}
.and-edt__hero h1{margin:7px 0 8px;font-size:clamp(24px,3vw,36px);letter-spacing:-.035em;color:#fff}.and-edt__hero p{max-width:760px;margin:0;color:#d8dfed;line-height:1.6}.and-edt__eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:800;color:#e2c58c}.and-edt__hero-tag{flex:0 0 auto;padding:11px 14px;border:1px solid rgba(226,197,140,.45);border-radius:14px;color:#f3dfb8;background:rgba(255,255,255,.055);font-size:12px;font-weight:750}
.and-edt__steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.and-edt__step{display:flex;gap:11px;align-items:center;padding:13px 15px;border:1px solid var(--ae-line);border-radius:15px;background:#fff}.and-edt__step b{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#f4ecdc;color:#86652e}.and-edt__step span{font-size:12px;color:var(--ae-muted);line-height:1.35}.and-edt__step strong{display:block;color:var(--ae-ink);font-size:13px}
.and-edt__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.and-edt__metric{padding:16px 18px;border:1px solid var(--ae-line);border-radius:16px;background:#fff}.and-edt__metric span{display:block;color:var(--ae-muted);font-size:12px}.and-edt__metric strong{display:block;margin-top:7px;font-size:25px;letter-spacing:-.03em}.and-edt__metric small{display:block;margin-top:4px;color:var(--ae-muted)}
.and-edt__layout{display:grid;grid-template-columns:minmax(300px,.82fr) minmax(0,1.5fr);gap:16px;align-items:start}.and-edt__panel{min-width:0;padding:20px;border:1px solid var(--ae-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(22,35,60,.045)}.and-edt__panel h2{margin:0 0 7px;font-size:19px;letter-spacing:-.02em}.and-edt__panel>p,.and-edt__hint{color:var(--ae-muted);font-size:13px;line-height:1.55}.and-edt__section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.and-edt__section-head p{margin:0;color:var(--ae-muted);font-size:12px}.and-edt__form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 15px}.and-edt__form label{display:grid;align-content:start;gap:6px;color:#45536b;font-size:12px;font-weight:700}.and-edt__form label:has(textarea),.and-edt__form label:has(input[name="nom"]){grid-column:span 2}.and-edt__form input,.and-edt__form select,.and-edt__form textarea,.and-edt select{width:100%;min-width:0;min-height:40px;padding:9px 11px;border:1px solid #d6deeb;border-radius:10px;background:#fff;color:var(--ae-ink);font:inherit;font-size:13px}.and-edt__form textarea{min-height:76px;resize:vertical}.and-edt__form button{justify-self:start}.and-edt details{margin-top:10px;border:1px solid #e1e6ef;border-radius:13px;background:#fbfcfe}.and-edt details>summary{padding:12px 14px;cursor:pointer;font-size:13px;font-weight:750}.and-edt details[open]>summary{border-bottom:1px solid #e7ebf2}.and-edt details>*:not(summary){margin-left:14px;margin-right:14px}.and-edt__compact-list{display:grid;gap:7px;padding:0 0 10px;list-style:none}.and-edt__compact-list li{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 10px;border-radius:10px;background:#f3f5f9;font-size:12px}.and-edt__compact-list .ghost{padding:5px 8px;white-space:nowrap}.and-edt__days{display:flex;flex-wrap:wrap;gap:7px}.and-edt__days label{display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid #dde3ed;border-radius:9px;font-size:12px}.and-edt__days input{width:auto;min-height:0}
.and-edt__strategy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:14px 0}.and-edt__strategy{display:grid;gap:8px;text-align:left;padding:14px;border:1px solid var(--ae-line);border-radius:14px;background:#fff;color:var(--ae-ink);cursor:pointer;transition:transform .16s,border-color .16s,box-shadow .16s}.and-edt__strategy:hover{transform:translateY(-2px);border-color:#c6ae7e}.and-edt__strategy.is-selected{border-color:var(--ae-gold);box-shadow:0 0 0 3px rgba(184,140,67,.15)}.and-edt__strategy strong{font-size:14px}.and-edt__strategy small{color:var(--ae-muted);line-height:1.45}.and-edt__strategy-score{font-weight:800;color:#89672c}.and-edt__actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.and-edt__actions button,.and-edt .ghost{border-radius:10px}.and-edt__warning{padding:12px 14px;border:1px solid #f0d8a9;border-radius:12px;background:#fff8e9;color:#785520;font-size:13px;line-height:1.5}.and-edt__success{padding:12px 14px;border:1px solid #b9dfc8;border-radius:12px;background:#f0faf3;color:#28633b;font-size:13px}
.and-edt__table-wrap{width:100%;overflow:auto;border:1px solid var(--ae-line);border-radius:13px}.and-edt__table{width:100%;border-collapse:collapse;font-size:12px}.and-edt__table th{position:sticky;top:0;padding:10px 11px;background:#f2f4f8;color:#56647a;text-align:left;font-size:10px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}.and-edt__table td{padding:9px 10px;border-top:1px solid #e9edf3;vertical-align:middle}.and-edt__table input,.and-edt__table select{min-width:108px;min-height:34px;padding:6px 8px;border:1px solid #d8e0ec;border-radius:8px;background:#fff;font:inherit}.and-edt__status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:20px;font-size:10px;font-weight:800}.and-edt__status.is-good{background:#eaf5ee;color:#2c7044}.and-edt__status.is-warn{background:#fff1d7;color:#8b5b12}.and-edt__view-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 10px}.and-edt__view-tabs button{padding:8px 11px;border:1px solid var(--ae-line);border-radius:9px;background:#fff;color:var(--ae-muted);cursor:pointer}.and-edt__view-tabs button.is-active{border-color:#c7b282;background:#f8f2e6;color:#6f5428;font-weight:800}.and-edt__grid-desktop{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:9px;overflow:auto}.and-edt__day{min-width:0;padding:11px;border:1px solid #e4e9f0;border-radius:12px;background:#fafbfd}.and-edt__day h4{margin:0 0 8px;font-size:12px}.and-edt__lesson{margin-top:7px;padding:9px;border-left:3px solid var(--ae-violet);border-radius:8px;background:#fff;box-shadow:0 2px 7px rgba(21,32,52,.05);font-size:11px;line-height:1.4}.and-edt__lesson strong{display:block;font-size:12px}.and-edt__grid-mobile{display:none}.and-edt__official-note{padding:13px 15px;border-radius:12px;background:#f0f2f7;color:#56627a;font-size:12px;line-height:1.5}
html[data-theme="sombre"] .and-edt{color:#e5e9f2}.andromeda-content .and-edt__panel,.andromeda-content .and-edt__metric,.andromeda-content .and-edt__step,.andromeda-content .and-edt__strategy{background:#fff}
@media(max-width:1050px){.and-edt__layout{grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr)}.and-edt__grid-desktop{grid-template-columns:repeat(3,minmax(145px,1fr))}.and-edt__steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.and-edt{gap:12px;padding:10px}.and-edt__hero{align-items:flex-start;flex-direction:column;padding:20px;border-radius:17px}.and-edt__hero-tag{white-space:normal}.and-edt__metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.and-edt__metric{padding:12px}.and-edt__metric strong{font-size:21px}.and-edt__steps{grid-template-columns:1fr 1fr;gap:7px}.and-edt__step{padding:10px;align-items:flex-start}.and-edt__step span{font-size:11px}.and-edt__layout{grid-template-columns:1fr;gap:12px}.and-edt__panel{padding:15px;border-radius:15px}.and-edt__form{grid-template-columns:1fr}.and-edt__form label:has(textarea),.and-edt__form label:has(input[name="nom"]){grid-column:auto}.and-edt__strategy-grid{grid-template-columns:1fr}.and-edt__grid-desktop{display:none}.and-edt__grid-mobile{display:grid;gap:9px}.and-edt__day{padding:10px}.and-edt__table-wrap{border:0;overflow:visible}.and-edt__table thead{display:none}.and-edt__table,.and-edt__table tbody,.and-edt__table tr,.and-edt__table td{display:block;width:100%}.and-edt__table tr{margin:0 0 10px;padding:8px;border:1px solid var(--ae-line);border-radius:11px;background:#fff}.and-edt__table td{display:grid;grid-template-columns:minmax(90px,.45fr) minmax(0,1fr);gap:8px;padding:6px;border:0}.and-edt__table td::before{content:attr(data-label);color:var(--ae-muted);font-size:10px;font-weight:800;text-transform:uppercase}.and-edt__table input,.and-edt__table select{min-width:0;width:100%}.and-edt__compact-list li{align-items:flex-start}.and-edt__section-head{flex-direction:column}}
@media(max-width:440px) {
  html[data-andromeda="true"] .tiles-grid { grid-template-columns:1fr; }
  html[data-andromeda="true"] .section-titre-tuiles { align-items:flex-start; font-size:13px; }
  html[data-andromeda="true"] .andromeda-hero-actions { align-items:flex-start; flex-direction:column; }
  html[data-andromeda="true"] .omnibox-declencheur kbd { display:none; }
  html[data-andromeda="true"] .omnibox-declencheur { padding:0 10px; }
}
@media(prefers-reduced-motion:reduce) {
  html[data-andromeda="true"] *,html[data-andromeda="true"] *::before,html[data-andromeda="true"] *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* Écran de connexion et mode sombre : même identité dès l’arrivée. */
html[data-andromeda="true"] .andromeda-login { grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr); min-height:100vh; background:#f4f5f9; }
html[data-andromeda="true"] .andromeda-login-visual { position:relative; isolation:isolate; align-items:flex-start; overflow:hidden; padding:clamp(25px,6vw,78px); background:radial-gradient(ellipse at 75% 25%,rgba(130,112,189,.38),transparent 35%),linear-gradient(145deg,#09142c,#14264c 64%,#211d42); }
html[data-andromeda="true"] .andromeda-login-visual::after { content:""; position:absolute; z-index:-1; right:-120px; bottom:-225px; width:520px; height:520px; border:1px solid rgba(218,191,135,.2); border-radius:50%; box-shadow:0 0 0 36px rgba(218,191,135,.03),0 0 0 75px rgba(130,112,189,.04); }
html[data-andromeda="true"] .andromeda-login-kicker { color:#d9c790; font-size:10px; font-weight:700; letter-spacing:.2em; }
html[data-andromeda="true"] .andromeda-login-kicker span { margin-right:7px; font-size:17px; }
html[data-andromeda="true"] .andromeda-login-reference { width:min(100%,650px); max-height:36vh; margin:22px 0 8px; object-fit:contain; border:1px solid rgba(219,195,141,.35); border-radius:15px; box-shadow:0 15px 42px rgba(0,0,0,.25); }
html[data-andromeda="true"] .andromeda-login-visual h1 { margin:17px 0 4px; color:#f2e4bd; font:500 clamp(29px,4vw,48px)/1.1 Georgia,"Times New Roman",serif; letter-spacing:.14em; }
html[data-andromeda="true"] .andromeda-login-visual p { max-width:48ch; color:#cbd3e4; font-size:13px; }
html[data-andromeda="true"] .andromeda-login-card { position:relative; display:flex; flex-direction:column; gap:16px; padding:clamp(18px,5vw,56px); background:#f7f7fa; }
html[data-andromeda="true"] .andromeda-login-brand { display:flex; align-items:center; gap:8px; color:#293553; font:700 12px Georgia,"Times New Roman",serif; letter-spacing:.16em; }
html[data-andromeda="true"] .andromeda-login-brand > span { color:#9a82c6; font-size:21px; }
html[data-andromeda="true"] .andromeda-login-brand small { margin-inline-start:auto; color:#8790a4; font:700 9px "Segoe UI",sans-serif; letter-spacing:.12em; }
html[data-andromeda="true"] .andromeda-login-card > form { width:min(440px,100%) !important; padding:30px !important; border:1px solid #e3e5ed !important; border-radius:20px !important; background:#fff !important; box-shadow:0 18px 45px rgba(22,31,57,.08) !important; }
html[data-andromeda="true"] .andromeda-login-card > form > img {
  display:block; margin:0 auto 12px; width:88px; height:88px;
  border-radius:50%; object-fit:contain; background:#fff;
  border:1px solid rgba(201,168,102,.45); box-shadow:0 0 18px rgba(201,168,102,.28);
}
html[data-andromeda="true"] .andromeda-login-card > form > h2 { color:#202d49; font:500 25px Georgia,"Times New Roman",serif; }
html[data-andromeda="true"] .andromeda-login-card > form > .intro { font-size:12px; }
html[data-andromeda="true"] .andromeda-login-card .principal { border-radius:10px; background:linear-gradient(135deg,#172447,#26385f) !important; color:#f5e7c5 !important; }
html[data-andromeda="true"][data-theme="sombre"] { --papier:#11182b; --carte:#18213a; --encre:#edf0f7; --muted:#aab4c9; --ligne:#303c58; --or-doux:#28253a; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-zone,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content { background-color:#11182b; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-zone > .barre { background:rgba(23,32,55,.96) !important; border-color:#2c3650 !important; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-page-heading h1,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content h2,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content h3 { color:#e7ebf5; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content .carte,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content .card-secondary,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content .indicateur,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content .pointage-compact,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content .pointage-panneau-carte,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content table { background:#18213a !important; border-color:#303c58 !important; color:#e7ebf5; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-global-search { background:#111a30; border-color:#303c58; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-global-search input,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content input:not([type=checkbox]):not([type=radio]),
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content select,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content textarea { background:#111a30; border-color:#38445f; color:#edf0f7; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content thead th { background:#202b45; color:#bac4d8; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content tbody td { color:#e0e5ef; }
html[data-andromeda="true"][data-theme="sombre"] .pi-onglets-barre { background:rgba(17,24,43,.95); border-color:#303c58; }
html[data-andromeda="true"][data-theme="sombre"] .pi-onglet-btn.actif,
html[data-andromeda="true"][data-theme="sombre"] .pi-chat-box,
html[data-andromeda="true"][data-theme="sombre"] .pi-chat-bubble { background:#18213a; border-color:#303c58; color:#e7ebf5; }
html[data-andromeda="true"][data-theme="sombre"] .pi-chat-input-bar,
html[data-andromeda="true"][data-theme="sombre"] .pi-chat-suggestions { background:#18213a; border-color:#303c58; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-login,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-login-card { background:#11182b; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-login-card > form { background:#18213a !important; border-color:#303c58 !important; }

html[data-andromeda="true"] .andromeda-signals article > div { display:grid; gap:1px; min-width:0; }
html[data-andromeda="true"] .barre-lat.andromeda-sidebar.reduit { width:78px; flex-basis:78px; padding-inline:7px; }
html[data-andromeda="true"] .andromeda-sidebar.reduit .andromeda-brand { justify-content:center; padding-inline:0; }
html[data-andromeda="true"] .andromeda-sidebar.reduit .andromeda-brand > div,
html[data-andromeda="true"] .andromeda-sidebar.reduit .andromeda-sidebar-primary .nav > span:not(.andromeda-nav-mark),
html[data-andromeda="true"] .andromeda-sidebar.reduit .andromeda-sidebar-primary .nav > b,
html[data-andromeda="true"] .andromeda-sidebar.reduit .andromeda-nav-heading > span,
html[data-andromeda="true"] .andromeda-sidebar.reduit .nav-espace-titre,
html[data-andromeda="true"] .andromeda-sidebar.reduit .andromeda-sidebar-footer > span:not(.andromeda-status-dot) { display:none; }
html[data-andromeda="true"] .andromeda-sidebar.reduit .andromeda-sidebar-primary .nav { justify-content:center; }
html[data-andromeda="true"] .andromeda-sidebar.reduit .andromeda-nav-heading { justify-content:center; }
/* Écran de connexion et mode sombre : même identité dès l’arrivée. */
html[data-andromeda="true"] .andromeda-login { grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr); min-height:100vh; background:#f4f5f9; }
html[data-andromeda="true"] .andromeda-login-visual { position:relative; isolation:isolate; align-items:flex-start; overflow:hidden; padding:clamp(25px,6vw,78px); background:radial-gradient(ellipse at 75% 25%,rgba(130,112,189,.38),transparent 35%),linear-gradient(145deg,#09142c,#14264c 64%,#211d42); }
html[data-andromeda="true"] .andromeda-login-visual::after { content:""; position:absolute; z-index:-1; right:-120px; bottom:-225px; width:520px; height:520px; border:1px solid rgba(218,191,135,.2); border-radius:50%; box-shadow:0 0 0 36px rgba(218,191,135,.03),0 0 0 75px rgba(130,112,189,.04); }
html[data-andromeda="true"] .andromeda-login-kicker { color:#d9c790; font-size:10px; font-weight:700; letter-spacing:.2em; }
html[data-andromeda="true"] .andromeda-login-kicker span { margin-right:7px; font-size:17px; }
html[data-andromeda="true"] .andromeda-login-reference { width:min(100%,650px); max-height:36vh; margin:22px 0 8px; object-fit:contain; border:1px solid rgba(219,195,141,.35); border-radius:15px; box-shadow:0 15px 42px rgba(0,0,0,.25); }
html[data-andromeda="true"] .andromeda-login-visual h1 { margin:17px 0 4px; color:#f2e4bd; font:500 clamp(29px,4vw,48px)/1.1 Georgia,"Times New Roman",serif; letter-spacing:.14em; }
html[data-andromeda="true"] .andromeda-login-visual p { max-width:48ch; color:#cbd3e4; font-size:13px; }
html[data-andromeda="true"] .andromeda-login-card { position:relative; display:flex; flex-direction:column; gap:16px; padding:clamp(18px,5vw,56px); background:#f7f7fa; }
html[data-andromeda="true"] .andromeda-login-brand { display:flex; align-items:center; gap:8px; color:#293553; font:700 12px Georgia,"Times New Roman",serif; letter-spacing:.16em; }
html[data-andromeda="true"] .andromeda-login-brand > span { color:#9a82c6; font-size:21px; }
html[data-andromeda="true"] .andromeda-login-brand small { margin-inline-start:auto; color:#8790a4; font:700 9px "Segoe UI",sans-serif; letter-spacing:.12em; }
html[data-andromeda="true"] .andromeda-login-card > form { width:min(440px,100%) !important; padding:30px !important; border:1px solid #e3e5ed !important; border-radius:20px !important; background:#fff !important; box-shadow:0 18px 45px rgba(22,31,57,.08) !important; }
html[data-andromeda="true"] .andromeda-login-card > form > img {
  display:block; margin:0 auto 12px; width:88px; height:88px;
  border-radius:50%; object-fit:contain; background:#fff;
  border:1px solid rgba(201,168,102,.45); box-shadow:0 0 18px rgba(201,168,102,.28);
}
html[data-andromeda="true"] .andromeda-login-card > form > h2 { color:#202d49; font:500 25px Georgia,"Times New Roman",serif; }
html[data-andromeda="true"] .andromeda-login-card > form > .intro { font-size:12px; }
html[data-andromeda="true"] .andromeda-login-card .principal { border-radius:10px; background:linear-gradient(135deg,#172447,#26385f) !important; color:#f5e7c5 !important; }
html[data-andromeda="true"][data-theme="sombre"] { --papier:#11182b; --carte:#18213a; --encre:#edf0f7; --muted:#aab4c9; --ligne:#303c58; --or-doux:#28253a; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-zone,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content { background-color:#11182b; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-zone > .barre { background:rgba(23,32,55,.96) !important; border-color:#2c3650 !important; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-page-heading h1,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content h2,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content h3 { color:#e7ebf5; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content .carte,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content .card-secondary,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content .indicateur,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content .pointage-compact,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content .pointage-panneau-carte,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content table { background:#18213a !important; border-color:#303c58 !important; color:#e7ebf5; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-global-search { background:#111a30; border-color:#303c58; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-global-search input,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content input:not([type=checkbox]):not([type=radio]),
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content select,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content textarea { background:#111a30; border-color:#38445f; color:#edf0f7; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content thead th { background:#202b45; color:#bac4d8; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content tbody td { color:#e0e5ef; }
html[data-andromeda="true"][data-theme="sombre"] .pi-onglets-barre { background:rgba(17,24,43,.95); border-color:#303c58; }
html[data-andromeda="true"][data-theme="sombre"] .pi-onglet-btn.actif,
html[data-andromeda="true"][data-theme="sombre"] .pi-chat-box,
html[data-andromeda="true"][data-theme="sombre"] .pi-chat-bubble { background:#18213a; border-color:#303c58; color:#e7ebf5; }
html[data-andromeda="true"][data-theme="sombre"] .pi-chat-input-bar,
html[data-andromeda="true"][data-theme="sombre"] .pi-chat-suggestions { background:#18213a; border-color:#303c58; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-login,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-login-card { background:#11182b; }
html[data-andromeda="true"][data-theme="sombre"] .andromeda-login-card > form { background:#18213a !important; border-color:#303c58 !important; }

html[data-andromeda="true"] .andromeda-signals article > div { display:grid; gap:1px; min-width:0; }
html[data-andromeda="true"] .barre-lat.andromeda-sidebar.reduit { width:78px; flex-basis:78px; padding-inline:7px; }
html[data-andromeda="true"] body.app { margin:0; min-height:100vh; background:#f4f5f9; }
html[data-andromeda="true"] #connexion.andromeda-login { display:grid; min-height:100vh; }
html[data-andromeda="true"] #espace.andromeda-app:not([hidden]) { display:flex !important; width:100%; min-height:100vh; }
html[data-andromeda="true"] .andromeda-sidebar { display:flex; flex-direction:column; }
html[data-andromeda="true"] .andromeda-zone { flex:1; min-width:0; overflow:auto; display:flex; flex-direction:column; }
html[data-andromeda="true"] .andromeda-content { flex:1; }
html[data-andromeda="true"] .andromeda-content > section:not(.cockpit-brief):not(.hero-bandeau) { max-width:none; margin:0; border:0; background:transparent; padding:0 0 32px; }
html[data-andromeda="true"] .andromeda-login-visual, html[data-andromeda="true"] .andromeda-login-card { min-height:100vh; }
html[data-andromeda="true"] #form-connexion { max-width:none; width:min(440px,100%); }
html[data-andromeda="true"] .andromeda-brand { display:flex; align-items:center; }
html[data-andromeda="true"] .marque-andromeda-secours { display:grid; place-items:center; width:44px; height:44px; border-radius:9px; background:#071329; color:#e2c58c; border:1px solid rgba(210,184,130,.72); }
html[data-andromeda="true"] #athena-poste { z-index:8; width:min(320px,90vw); max-height:42vh; }
html[data-andromeda="true"] #message { position:fixed; left:288px; right:16px; bottom:12px; z-index:30; margin:0; }
@media(max-width:760px){ html[data-andromeda="true"] #message { left:12px; } }

@media (max-width: 820px) {
  html[data-andromeda="true"] #connexion.andromeda-login {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    min-height: 100svh;
    gap: 0;
  }
  html[data-andromeda="true"] #connexion .andromeda-login-visual {
    min-height: 0;
    padding: 20px;
    align-items: center;
  }
  html[data-andromeda="true"] #connexion .andromeda-login-visual h1 {
    margin: 6px 0 0;
    font-size: clamp(24px, 7vw, 32px);
  }
  html[data-andromeda="true"] #connexion .andromeda-login-visual p,
  html[data-andromeda="true"] #connexion .andromeda-login-brand { display: none; }
  html[data-andromeda="true"] #connexion .andromeda-login-card {
    min-height: 0;
    padding: 18px 14px;
    justify-content: flex-start;
    align-items: center;
  }
  html[data-andromeda="true"] #connexion #form-connexion {
    box-sizing: border-box;
    min-width: 0;
    padding: 20px !important;
  }
  html[data-andromeda="true"] #connexion #form-connexion input {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    font-size: 16px;
  }
  html[data-andromeda="true"] #connexion #form-connexion button {
    min-height: 44px;
    white-space: normal;
  }
  html[data-andromeda="true"] #connexion #entrer { width: 100%; }
}

/* Présence : garder les filtres et le tableau utilisables sur téléphone. */
@media (max-width: 760px) {
  html[data-andromeda="true"] .pointage-filtres-ligne {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
  }
  html[data-andromeda="true"] .pointage-champ-recherche {
    grid-column: 1 / -1;
  }
  html[data-andromeda="true"] .pointage-champ-recherche .choix,
  html[data-andromeda="true"] .pointage-champ-recherche input[type="search"],
  html[data-andromeda="true"] .pointage-champ-site select {
    display: block;
    width: 100%;
    min-width: 0;
  }
  html[data-andromeda="true"] .pointage-grille-cadres {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-andromeda="true"] .pointage-filtres-ligne :is(input, select, button) {
    min-height: 44px;
    font-size: 16px;
  }
  html[data-andromeda="true"] .pointage-panneau-carte { min-width: 0; }
}

/* Connexion Andromède : saisie et navigation au clavier sur petit écran. */
html[data-andromeda="true"] #form-connexion :is(input, button, a):focus-visible {
  outline: 2px solid #8a70c8;
  outline-offset: 3px;
}
@media (max-width: 820px) {
  html[data-andromeda="true"] #connexion #form-connexion :is(#email, #mot) {
    font-size: 16px;
    min-height: 44px;
    box-sizing: border-box;
  }
  html[data-andromeda="true"] #connexion #form-connexion button.principal {
    min-height: 44px;
  }
}

html[data-andromeda="true"] #connexion .andromeda-login-visual {
  background: linear-gradient(145deg, #09142c, #14264c 64%, #211d42);
}
html[data-andromeda="true"][data-salim-visuel="1"] #connexion .andromeda-login-visual {
  background: #080f25 url("/marque/andromede-connexion-originale.jpg") center / contain no-repeat;
}
html[data-andromeda="true"] #connexion .andromeda-login-visual :is(h1, .andromeda-login-kicker) {
  text-shadow: 0 2px 8px #000, 0 0 14px #000;
}
@media (max-width: 820px) {
  html[data-andromeda="true"] #connexion .andromeda-login-visual {
    min-height: clamp(100px, 31vw, 200px);
  }
}

/* Palette de l’illustration originale Andromède — accents via skin. */
html[data-andromeda="true"] .barre-lat.andromeda-sidebar {
  background: linear-gradient(160deg, var(--navy), var(--navy-2) 70%, var(--navy)) !important;
}
html[data-andromeda="true"] .andromeda-home-hero {
  background: radial-gradient(ellipse at 76% 20%,#1c4057,transparent 62%),linear-gradient(120deg,#060d17,#0d2234) !important;
  border-color:#a9834f;
}
html[data-andromeda="true"] .andromeda-sidebar .nav.actif {
  color: var(--accent-color, var(--gold)) !important;
  background: var(--accent-bg-subtle, rgba(201,168,102,.22));
  border-color: color-mix(in srgb, var(--accent-color, var(--gold)) 50%, #9c7848);
  box-shadow: inset 3px 0 var(--accent-color, var(--gold));
}
html[data-andromeda="true"] #connexion #form-connexion .principal {
  background:linear-gradient(135deg,#0a1b2a,#17364a) !important;
  color:#ffebc2 !important;
  border-color:#a9834f;
}
html[data-andromeda="true"] #form-connexion :is(input, button, a):focus-visible {
  outline-color:#987143;
}

html[data-andromeda="true"] .andromeda-home-hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  padding: clamp(16px, 2vw, 28px);
}
html[data-andromeda="true"] .andromeda-home-hero .andromeda-home-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62%, 740px);
  margin: 0;
  border: 0;
  min-height: 0;
  opacity: .38;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, black 55%);
}
html[data-andromeda="true"] .andromeda-home-hero .andromeda-home-art img {
  height: 100% !important;
  object-fit: cover !important;
}
html[data-andromeda="true"] .andromeda-home-hero .andromeda-home-copy {
  position: relative;
  z-index: 1;
}
@media (max-width: 820px) {
  html[data-andromeda="true"] .andromeda-home-hero .andromeda-home-art {
    width: 100%;
    opacity: .24;
  }
}

/* Contraste nuit : chaque surface reçoit aussi sa couleur de texte. */
html[data-andromeda="true"][data-theme="sombre"] :is(.andromeda-signals article, .and-edt__panel, .and-edt__metric, .and-edt__step, .and-edt__strategy, #form-connexion) {
  background:#18213a !important;
  color:#f0f3fa !important;
  border-color:#465475;
}
html[data-andromeda="true"][data-theme="sombre"] :is(.andromeda-signals article, .and-edt, #form-connexion) :is(h2,h3,strong,label) {
  color:#f0f3fa !important;
}
html[data-andromeda="true"][data-theme="sombre"] :is(.andromeda-signals article, .and-edt, #form-connexion) :is(small,.note,.intro) {
  color:#bcc8e0 !important;
}
html[data-andromeda="true"][data-theme="sombre"] #form-connexion :is(#email,#mot) {
  background:#10192e;
  color:#f0f3fa;
  border-color:#657495;
}

/* Bandeau mobile : les outils passent à la ligne dans la largeur disponible. */
@media (max-width: 760px) {
  html[data-andromeda="true"] .andromeda-zone > .barre {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-andromeda="true"] .andromeda-zone .outils {
    grid-column: 1;
    grid-row: auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
  }
  html[data-andromeda="true"] .andromeda-zone .pia-bar-container {
    grid-row: auto;
  }
  html[data-andromeda="true"] .omnibox-wrap { flex: 0 0 auto; }
  html[data-andromeda="true"] .andromeda-global-search.omnibox-panneau.ouvert {
    top: 64px;
    width: min(100vw - 20px, 560px);
  }
  html[data-andromeda="true"] .andromeda-zone .outils .signe,
  html[data-andromeda="true"] #burger {
    min-height: 44px;
  }
  html[data-andromeda="true"] .andromeda-content :is(.filtre, .barre-actions) {
    flex-wrap: wrap;
  }
  html[data-andromeda="true"] .andromeda-content :is(input, select, textarea) {
    max-width: 100%;
  }
}

html[data-andromeda="true"] .andromeda-content .feuille-pointage .table-scroll { overflow-x:auto; overflow-y:auto; max-width:100%; }
html[data-andromeda="true"] .andromeda-content .feuille-pointage .table-scroll > table { overflow:auto; max-width:none; }

/* Sidebar compacte : garde la carte d’accueil, retire les textes de marque et le statut de pied. */
html[data-andromeda="true"] .barre-lat.andromeda-sidebar {
  box-sizing:border-box;
  height:100vh;
  overflow:hidden;
}
html[data-andromeda="true"] .andromeda-brand {
  box-sizing:border-box;
  height:64px;
  min-height:64px;
  max-height:64px;
  flex:0 0 64px;
  padding:6px 10px;
  gap:8px;
  border:0;
}
html[data-andromeda="true"] .andromeda-brand > div { display:none !important; }
html[data-andromeda="true"] .andromeda-brand .marque-andromeda,
html[data-andromeda="true"] #sidebar-logo,
html[data-andromeda="true"] .logo-blason {
  box-sizing:border-box;
  width:44px;
  height:44px;
  flex:0 0 44px;
  padding:2px;
  border:1px solid rgba(212,175,55,.4);
  border-radius:50%;
  object-fit:contain;
  background:#ffffff;
  box-shadow:0 0 14px rgba(201,168,102,.35);
}
html[data-andromeda="true"] .andromeda-brand .nav-plie {
  display:flex;
  width:28px;
  height:28px;
  min-height:28px;
  margin-inline-start:auto;
  padding:0;
  align-items:center;
  justify-content:center;
}
html[data-andromeda="true"] .andromeda-sidebar-primary {
  display:block;
  padding:0 2px;
  border:0;
}
html[data-andromeda="true"] .andromeda-sidebar-primary .andromeda-home-link {
  box-sizing:border-box;
  width:calc(100% - 20px);
  min-height:61px !important;
  margin:8px 10px 10px;
}
html[data-andromeda="true"] .andromeda-navigation {
  min-height:0;
  flex:1 1 auto;
  overflow-x:hidden;
  overflow-y:auto;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
html[data-andromeda="true"] .andromeda-navigation::-webkit-scrollbar { display:none; width:0; height:0; }
html[data-andromeda="true"] .andromeda-sidebar .nav-bloc-section {
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}
html[data-andromeda="true"] .andromeda-sidebar .nav-bloc-header {
  box-sizing:border-box;
  min-height:0;
  margin:10px 0 2px 14px !important;
  padding:0 !important;
  border:0 !important;
  color:rgba(214,193,140,.65) !important;
  font-size:10.5px !important;
  line-height:1.15;
  letter-spacing:.12em !important;
  opacity:.65;
}
html[data-andromeda="true"] .andromeda-sidebar .nav {
  box-sizing:border-box;
  min-height:36px;
  max-height:36px;
  padding:6px 14px;
  line-height:1.15;
}
html[data-andromeda="true"] .andromeda-sidebar .groupe-titre {
  min-height:36px;
  max-height:36px;
  padding:6px 14px;
}
html[data-andromeda="true"] .andromeda-sidebar .nav.sous {
  min-height:32px;
  max-height:36px;
  margin-block:1px;
  padding:5px 10px;
}
html[data-andromeda="true"] .andromeda-sidebar .nav-athena-lab {
  min-height:36px;
  max-height:36px;
}

html[data-andromeda="true"] .andromeda-content > section.cockpit-brief,
html[data-andromeda="true"] .cockpit-brief.hero-bandeau {
  display:flex; gap:18px; align-items:center; justify-content:space-between;
  margin:0 0 16px; padding:18px 24px; border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, #071833 0%, #10284a 55%, #183664 100%);
  color:#e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
html[data-andromeda="true"][data-salim-visuel="1"] .andromeda-content > section.cockpit-brief,
html[data-andromeda="true"][data-salim-visuel="1"] .cockpit-brief.hero-bandeau {
  background:
    linear-gradient(90deg, rgba(10, 17, 40, 0.65) 0%, rgba(10, 17, 40, 0.40) 50%, rgba(10, 17, 40, 0.55) 100%),
    url("/img/andromeda-bg.jpg") center center / cover no-repeat;
  background-repeat: no-repeat;
}
html[data-andromeda="true"] .cockpit-brief-art {
  margin:0; width:96px; height:96px; flex:0 0 96px; border-radius:50%; overflow:hidden;
  border:2px solid rgba(232,201,138,.72); box-shadow:0 0 28px rgba(201,168,102,.28);
  background:#ffffff;
}
html[data-andromeda="true"] .cockpit-brief-art img { display:block; width:100%; height:100%; object-fit:contain; background:#fff; }
html[data-andromeda="true"] .cockpit-brief-copy { flex:1; min-width:0; }
html[data-andromeda="true"] .cockpit-brief h1,
html[data-andromeda="true"] #bandeau-salut {
  margin:0 0 4px; font-size:1.6rem; font-weight:700; line-height:1.15;
  color:#ffffff !important; letter-spacing:.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 22px rgba(0, 0, 0, 0.55);
}
html[data-andromeda="true"] .cockpit-brief-date {
  margin:0 0 10px; color:#e8eef8 !important; font-size:.85rem; font-weight:500; letter-spacing:.04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}
html[data-andromeda="true"] .cockpit-brief p { margin:0; max-width:64ch; color:#f8fafc !important; font-size:.92rem; line-height:1.55; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
html[data-andromeda="true"] .cockpit-brief-n,
html[data-andromeda="true"] .cockpit-brief .text-cyan { color:#22d3ee !important; font-weight:750; text-shadow:0 0 14px rgba(34,211,238,.45); }
html[data-andromeda="true"] .cockpit-brief .text-warning { color:#fbbf24 !important; font-weight:750; text-shadow:0 0 12px rgba(251,191,36,.35); }
html[data-andromeda="true"] .cockpit-brief-listen {
  flex:0 0 auto; cursor:pointer; min-height:40px; padding:8px 18px; border-radius:999px;
  border:1px solid rgba(255,255,255,.28) !important;
  background:rgba(255,255,255,.15) !important; color:#ffffff !important;
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22); font-size:.86rem; font-weight:650;
}
html[data-andromeda="true"] .cockpit-kicker { color:#ddc98e; font-size:10px; letter-spacing:.16em; text-transform:uppercase; }
html[data-andromeda="true"] .cockpit-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr); gap:14px; margin-bottom:16px; }
html[data-andromeda="true"] .cockpit-carte { background:#fff !important; border:1px solid #e7e8ef !important; border-radius:12px; padding:12px 14px; box-shadow:0 6px 16px rgba(25,34,58,.04); color:#0f172a !important; }
html[data-andromeda="true"] .cockpit-carte h2 { margin:0 0 10px; font-size:.78rem; letter-spacing:.06em; text-transform:uppercase; color:#0f172a !important; font-weight:700; }
html[data-andromeda="true"] .cockpit-ligne { display:flex; gap:8px; justify-content:space-between; align-items:center; padding:8px 0; border-top:1px solid #f1f5f9; font-size:.82rem; }
html[data-andromeda="true"] .cockpit-ligne:first-of-type { border-top:0; padding-top:0; }
html[data-andromeda="true"] .cockpit-actions { display:flex; flex-wrap:wrap; gap:6px; }
html[data-andromeda="true"] .cockpit-actions button { font-size:.72rem; padding:4px 8px; border-radius:6px; cursor:pointer; }
html[data-andromeda="true"] .cockpit-jauges { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
html[data-andromeda="true"] .cockpit-jauge { cursor:pointer; padding:12px; border:1px solid #e7e8ef; border-radius:12px; background:#fff; }
html[data-andromeda="true"] .cockpit-jauge strong { display:block; font:600 1.5rem/1.1 Georgia,serif; color:#172346; }
html[data-andromeda="true"] .cockpit-jauge span { color:#6d7890; font-size:.75rem; }
html[data-andromeda="true"] .cockpit-ruban { display:flex; flex-wrap:wrap; gap:8px; margin-top:4px; }
html[data-andromeda="true"] .cockpit-ruban button { display:inline-flex; align-items:center; gap:6px; padding:7px 10px; border:1px solid #e2e8f0; border-radius:999px; background:#fff; font-size:.78rem; cursor:pointer; color:#1e293b; }
html[data-andromeda="true"] .cockpit-vide { color:#64748b !important; font-size:.8rem; margin:0; }
@media (max-width:900px) {
  html[data-andromeda="true"] .cockpit-grid { grid-template-columns:1fr; }
  html[data-andromeda="true"] .cockpit-brief { flex-direction:column; align-items:flex-start; }
}

.docs-dense { max-width:1400px; margin:0 auto; }
.docs-bandeau { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin:0 0 10px; padding:10px 0; }
.docs-bandeau-gauche { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.docs-bandeau h2 { margin:0; font-size:1.15rem; font-weight:800; color:#071833; }
.docs-sceau-badge { background:#c6a15b; color:#071833; font-weight:800; font-size:.72rem; padding:3px 10px; border-radius:999px; }
.docs-onglets { display:flex; gap:4px; border-bottom:2px solid #e2e8f0; margin-bottom:10px; }
.docs-onglets .btn-onglet-doc { padding:8px 14px; font-size:.86rem; font-weight:700; border:none; background:transparent; cursor:pointer; color:#64748b; border-bottom:3px solid transparent; }
.docs-onglets .btn-onglet-doc.actif { color:#071833; border-bottom-color:#071833; }
.docs-filtre { width:100%; max-width:420px; margin:0 0 10px; padding:7px 10px; border:1px solid #cbd5e1; border-radius:6px; font-size:.84rem; }
.docs-table-wrap { overflow-x:auto; background:#fff; border:1px solid #e2e8f0; border-radius:8px; }
.docs-table { width:100%; border-collapse:collapse; font-size:.82rem; }
.docs-table th { text-align:left; padding:8px 10px; background:#f8fafc; color:#475569; font-size:.72rem; text-transform:uppercase; letter-spacing:.04em; border-bottom:1px solid #e2e8f0; white-space:nowrap; }
.docs-table td { padding:7px 10px; border-bottom:1px solid #f1f5f9; vertical-align:middle; }
.docs-table tr:hover td { background:#f8fafc; }
.docs-salarie { display:flex; align-items:center; gap:8px; }
.docs-salarie strong { display:block; font-size:.84rem; color:#0f172a; }
.docs-salarie small { color:#64748b; font-size:.72rem; }
.docs-av { width:28px; height:28px; border-radius:50%; background:#e2e8f0; color:#0f172a; font-weight:800; font-size:.7rem; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.docs-badge { display:inline-block; font-size:.7rem; font-weight:700; padding:2px 8px; border-radius:999px; white-space:nowrap; }
.docs-actions { display:flex; flex-wrap:wrap; gap:4px; align-items:center; }
.docs-actions button { font-size:.74rem; padding:4px 8px; border-radius:5px; cursor:pointer; }
.docs-muted { font-size:.75rem; color:#64748b; }
.docs-vide { margin:16px 0; color:#64748b; font-size:.86rem; }

@media (max-width: 768px) {
  html[data-andromeda="true"] .andromeda-zone > .barre {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 48px !important;
    height: 48px !important;
    max-height: 48px !important;
    padding: 0 12px !important;
  }
  html[data-andromeda="true"] .andromeda-zone .outils {
    display: none !important;
  }
  html[data-andromeda="true"] .barre-lat.andromeda-sidebar {
    position: fixed !important;
    z-index: 1100;
    width: min(288px, 86vw) !important;
    flex: none !important;
    transform: translateX(-105%) !important;
    visibility: hidden;
    pointer-events: none;
  }
  html[data-andromeda="true"] .barre-lat.andromeda-sidebar.ouvert,
  html[data-andromeda="true"] .barre-lat.andromeda-sidebar.open,
  html[data-andromeda="true"] .barre-lat.andromeda-sidebar.active {
    transform: translateX(0) !important;
    visibility: visible;
    pointer-events: auto;
  }
  html[data-andromeda="true"] .andromeda-zone,
  html[data-andromeda="true"] .andromeda-content,
  html[data-andromeda="true"] .pi-chat-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

html[data-andromeda="true"] .nav-athena-lab,
html[data-andromeda="true"] .andromeda-sidebar-footer {
  display: none !important;
}

html[data-andromeda="true"][data-theme="sombre"] .cockpit-carte,
html[data-andromeda="true"][data-theme="sombre"] .cockpit-jauge,
html[data-andromeda="true"][data-theme="sombre"] .card,
html[data-andromeda="true"][data-theme="sombre"] .dashboard-card,
html[data-andromeda="true"][data-theme="sombre"] .widget {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
}
html[data-andromeda="true"][data-theme="sombre"] .cockpit-carte h2,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content .cockpit-carte h2,
html[data-andromeda="true"][data-theme="sombre"] .andromeda-content .cockpit-carte h3 {
  color: #0f172a !important;
}
html[data-andromeda="true"][data-theme="sombre"] .cockpit-carte strong {
  color: #1e293b !important;
}
html[data-andromeda="true"][data-theme="sombre"] .cockpit-vide {
  color: #64748b !important;
}
html[data-andromeda="true"] .pia-bouton-header {
  background: var(--gold) !important;
}
html[data-andromeda="true"] #bandeau-logo {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  flex: 0 0 64px !important;
}

/* ==========================================================================
   MODULE D'IMPRESSION HAUTE FIDÉLITÉ (PERSÉ NEXT / ANDROMÈDA)
   Écrans Heures supplémentaires, Personnel et Vacataires
   ========================================================================== */
@media print {
  @page {
    size: A4 landscape;
    margin: 10mm 12mm 12mm 12mm;
  }

  html[data-andromeda="true"] .barre-lat,
  html[data-andromeda="true"] .andromeda-sidebar,
  html[data-andromeda="true"] .outils,
  html[data-andromeda="true"] #menu,
  html[data-andromeda="true"] .mobile-bottom-nav,
  html[data-andromeda="true"] .voile-menu,
  html[data-andromeda="true"] .nav-tabs,
  html[data-andromeda="true"] .filtre,
  html[data-andromeda="true"] .barre-actions,
  html[data-andromeda="true"] .vacataires-periode-toolbar button,
  html[data-andromeda="true"] .tiroir-lateral-anim,
  html[data-andromeda="true"] .tiroir-recap-backdrop,
  html[data-andromeda="true"] dialog,
  html[data-andromeda="true"] button,
  html[data-andromeda="true"] .pastille-bus,
  html[data-andromeda="true"] .pia-bouton-header,
  html[data-andromeda="true"] #pia-overlay-pleine-ecran,
  html[data-andromeda="true"] .cockpit-brief-actions,
  html[data-andromeda="true"] .recherche-zone,
  html[data-andromeda="true"] .scan-dossier,
  html[data-andromeda="true"] input[type="search"],
  html[data-andromeda="true"] [data-filtre],
  html[data-andromeda="true"] .btn-dore,
  html[data-andromeda="true"] .secondaire,
  html[data-andromeda="true"] .principal,
  html[data-andromeda="true"] .ghost,
  html[data-andromeda="true"] .menu-mobile,
  html[data-andromeda="true"] .mobile-header-actions {
    display: none !important;
  }

  html[data-andromeda="true"],
  html[data-andromeda="true"] body,
  html[data-andromeda="true"] body.app {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 10pt !important;
  }

  html[data-andromeda="true"] .app,
  html[data-andromeda="true"] .andromeda-app,
  html[data-andromeda="true"] .zone,
  html[data-andromeda="true"] .andromeda-zone,
  html[data-andromeda="true"] .contenu,
  html[data-andromeda="true"] .andromeda-content,
  html[data-andromeda="true"] .main-container,
  html[data-andromeda="true"] #ecran {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
    color: #000000 !important;
  }

  html[data-andromeda="true"] .barre {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 0 8px 0 !important;
    margin: 0 0 10px 0 !important;
    border-bottom: 2px solid #0f172a !important;
    min-height: auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
  }

  html[data-andromeda="true"] .andromeda-page-heading {
    display: block !important;
  }

  html[data-andromeda="true"] .andromeda-page-heading span {
    font-size: 8pt !important;
    color: #64748b !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    display: block !important;
  }

  html[data-andromeda="true"] .andromeda-page-heading h1 {
    font-size: 16pt !important;
    color: #0f172a !important;
    margin: 2px 0 0 !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }

  html[data-andromeda="true"] .vacataires-periode-toolbar {
    background: none !important;
    border: none !important;
    border-bottom: 1.5px solid #cbd5e1 !important;
    border-radius: 0 !important;
    padding: 0 0 6px 0 !important;
    margin: 0 0 10px 0 !important;
    display: flex !important;
  }

  html[data-andromeda="true"] .vacataires-periode-toolbar label {
    font-size: 11pt !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }

  html[data-andromeda="true"] .vacataires-periode-toolbar input[type="month"] {
    border: none !important;
    background: none !important;
    font-size: 11pt !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    padding: 0 !important;
  }

  html[data-andromeda="true"] .feuille,
  html[data-andromeda="true"] .table-scroll,
  html[data-andromeda="true"] .vacataires-tableau-wrap {
    overflow: visible !important;
    max-height: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html[data-andromeda="true"] table {
    width: 100% !important;
    border-collapse: collapse !important;
    page-break-inside: auto !important;
    font-size: 9pt !important;
  }

  html[data-andromeda="true"] thead {
    display: table-header-group !important;
  }

  html[data-andromeda="true"] tr {
    page-break-inside: avoid !important;
    page-break-after: auto !important;
  }

  html[data-andromeda="true"] th,
  html[data-andromeda="true"] td {
    border: 1px solid #cbd5e1 !important;
    padding: 5pt 7pt !important;
    color: #0f172a !important;
    background: #ffffff !important;
    text-align: left !important;
    vertical-align: middle !important;
  }

  html[data-andromeda="true"] th {
    background: #f1f5f9 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 8.5pt !important;
    letter-spacing: 0.04em !important;
    border-bottom: 2px solid #0f172a !important;
  }

  html[data-andromeda="true"] th:last-child:empty,
  html[data-andromeda="true"] td:last-child:has(button) {
    display: none !important;
  }

  html[data-andromeda="true"] .pastille {
    border: 1px solid #94a3b8 !important;
    padding: 1pt 5pt !important;
    border-radius: 3pt !important;
    font-weight: 600 !important;
    font-size: 8pt !important;
    color: #000000 !important;
    background: #f8fafc !important;
    display: inline-block !important;
  }
}

/* Omnibox compact — mode sombre */
html[data-andromeda="true"][data-theme="sombre"] .omnibox-declencheur { background:#18213a; border-color:#303c58; color:#bac4d8; }
html[data-andromeda="true"][data-theme="sombre"] .omnibox-declencheur:hover { background:#202b45; border-color:#c6a15b; }
html[data-andromeda="true"][data-theme="sombre"] .omnibox-declencheur kbd { background:#111a30; border-color:#38445f; color:#8b95ab; }
html[data-andromeda="true"][data-theme="sombre"] .omnibox-voile { background:rgba(4,8,18,.45); }
