/* Calque visuel Andromède — chargé après le vendor. Palette or, login lisible. */
.andromeda-login-kicker {
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(198, 161, 91, 0.95);
}
.andromeda-login-visual h1 {
  font-weight: 650;
  letter-spacing: 0.04em;
}
.andromeda-login-lead {
  margin: 0;
  max-width: 28ch;
  color: rgba(226, 232, 240, 0.88);
  font-size: 1.02rem;
  line-height: 1.45;
}
.andromeda-login-brand small {
  display: block;
  margin-top: 2px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #64748b;
}

.andromeda-palette-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 24, 51, 0.72);
  backdrop-filter: blur(8px);
  z-index: 2400;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}
.andromeda-palette-modal {
  width: min(640px, 94vw);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(7, 24, 51, 0.35);
  border: 1px solid rgba(198, 161, 91, 0.45);
  overflow: hidden;
}
.andromeda-palette-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #fbf8f1, #f8fafc);
}
.andromeda-palette-header svg { color: #b88a38; flex: 0 0 20px; }
.andromeda-palette-input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 15px;
  outline: none;
  color: #0f172a;
  font-family: inherit;
}
.andromeda-palette-hint {
  font-size: 11px;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 650;
  white-space: nowrap;
}
.andromeda-palette-results { max-height: 380px; overflow-y: auto; padding: 8px 0; }
.andromeda-palette-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  cursor: pointer;
  border-left: 3px solid transparent;
}
.andromeda-palette-item:hover,
.andromeda-palette-item.selectionne {
  background: #fbf8f1;
  border-left-color: #c6a15b;
}
.andromeda-palette-item .item-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(198, 161, 91, 0.16);
  color: #8a6a28;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.andromeda-palette-item .item-title { font-size: 13.5px; font-weight: 650; color: #1e293b; }
.andromeda-palette-item .item-sub { font-size: 11.5px; color: #64748b; }
.andromeda-palette-item .item-badge {
  font-size: 10px;
  font-weight: 650;
  padding: 2px 7px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
}

@media (max-width: 768px) {
  .andromeda-palette-overlay { padding-top: 8vh; }
  .andromeda-palette-hint { display: none; }
}

html[data-andromeda="true"] .cockpit-jauge:hover,
html[data-andromeda="true"] .cockpit-jauge:focus-visible {
  border-color: rgba(198, 161, 91, 0.55);
  box-shadow: 0 6px 16px rgba(7, 24, 51, 0.08);
  outline: none;
}
html[data-andromeda="true"] .cockpit-ruban button:hover,
html[data-andromeda="true"] .cockpit-ruban button:focus-visible {
  border-color: #c6a15b;
  background: #fbf8f1;
  outline: none;
}
html[data-andromeda="true"] .cockpit-carte.dashboard-card {
  border: 1px solid #e8e4d8;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
@media (max-width: 768px) {
  html[data-andromeda="true"] #champ-athena-accueil {
    min-width: 0 !important;
    width: 100%;
  }
  html[data-andromeda="true"] .cockpit-brief-actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

html[data-andromeda="true"] .andromede-paie #inp-recherche-salarie-paie:focus {
  border-color: #c6a15b !important;
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.22);
  outline: none;
}
html[data-andromeda="true"] .andromede-paie .ligne-bulletin-paie:hover {
  background: #fbf8f1;
}
html[data-andromeda="true"] .andromede-paie .btn-sceller-bulletin:hover {
  filter: brightness(1.06);
}
@media (max-width: 768px) {
  html[data-andromeda="true"] .andromede-paie {
    margin: 8px 0 !important;
    padding: 14px !important;
  }
}

html[data-andromeda="true"] .andromede-personnel .personnel-barre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
html[data-andromeda="true"] .andromede-personnel .personnel-actions .principal {
  background: #c6a15b;
  color: #071833;
  border: none;
}
html[data-andromeda="true"] .andromede-personnel [data-fiche]:hover {
  border-color: #c6a15b;
  color: #8a6a28;
}
@media (max-width: 768px) {
  html[data-andromeda="true"] .andromede-personnel .personnel-barre {
    flex-direction: column;
    align-items: stretch;
  }
}

html[data-andromeda="true"] .andromede-pointage .btn-nav-date:hover {
  border-color: #c6a15b;
  background: #fbf8f1;
}
html[data-andromeda="true"] .andromede-pointage .btn-site-pointage.actif {
  border-color: #c6a15b;
}
@media screen {
  html[data-andromeda="true"] #pointage-impression.pointage-impression { display: none; }
}

html[data-andromeda="true"] .andromede-gmail .gmail-chip.actif {
  background: #071833;
  color: #fff;
  border-color: #c6a15b;
}
html[data-andromeda="true"] .andromede-gmail .gmail-header-card {
  border-bottom: 1px solid #e8d7b0;
}
html[data-andromeda="true"] .andromede-docs .docs-bandeau h2 {
  color: #071833;
}
html[data-andromeda="true"] .andromede-docs .btn-onglet-doc.actif,
html[data-andromeda="true"] .andromede-docs .btn-nav-doc-action {
  border-color: #c6a15b;
}
html[data-andromeda="true"] .andromede-docs .btn-demande-soumettre,
html[data-andromeda="true"] .andromede-docs .btn-ouvrir-nouvelle-demande {
  background: #c6a15b;
  color: #071833;
  border: none;
}
html[data-andromeda="true"] .andromede-communications .btn-tab-comm.actif {
  background: #071833 !important;
  color: #fff !important;
  box-shadow: inset 0 -2px 0 #c6a15b;
}
html[data-andromeda="true"] .andromede-fiche .fiche-identite {
  border-bottom: 1px solid #e8d7b0;
  padding-bottom: 8px;
}
html[data-andromeda="true"] .andromede-fiche #retour:hover {
  border-color: #c6a15b;
}
html[data-andromeda="true"] .andromede-mouvements .mouvements-entete .principal,
html[data-andromeda="true"] .andromede-absences .abs-barre .principal,
html[data-andromeda="true"] .andromede-plannings .btn-dore,
html[data-andromeda="true"] .andromede-heures .principal {
  background: #c6a15b;
  color: #071833;
  border: none;
}
html[data-andromeda="true"] .andromede-absences .abs-barre {
  border-color: #e8d7b0;
}
html[data-andromeda="true"] .andromede-controle .indicateur b,
html[data-andromeda="true"] .andromede-anomalies .abs-types button.actif {
  color: #071833;
}
html[data-andromeda="true"] .andromede-anomalies .abs-types button.actif {
  border-color: #c6a15b;
  background: #fbf8f1;
}
html[data-andromeda="true"] .andromede-edt .edt-regles {
  border-left: 3px solid #c6a15b;
  padding-left: 12px;
}

html[data-andromeda="true"] #ecran[aria-busy="true"] {
  opacity: 0.72;
  transition: opacity 0.12s ease;
}
html[data-andromeda="true"] #ecran .feuille tbody tr:hover td {
  background: #fbf8f1;
}
html[data-andromeda="true"] #ecran .filtre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
html[data-andromeda="true"] #ecran input[type="month"],
html[data-andromeda="true"] #ecran input[type="date"],
html[data-andromeda="true"] #ecran select {
  border-color: #cbd5e1;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
html[data-andromeda="true"] #ecran input[type="month"]:focus,
html[data-andromeda="true"] #ecran input[type="date"]:focus,
html[data-andromeda="true"] #ecran select:focus {
  outline: none;
  border-color: #c6a15b;
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.22);
}
html[data-andromeda="true"] #ecran .indicateur {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
html[data-andromeda="true"] #ecran .indicateur:hover {
  border-color: rgba(198, 161, 91, 0.45);
  box-shadow: 0 6px 16px rgba(7, 24, 51, 0.06);
}
html[data-andromeda="true"] #ecran .andromede-chargement {
  margin: 28px auto;
  max-width: 28ch;
  text-align: center;
  color: #64748b;
  font-weight: 600;
}
html[data-andromeda="true"] .andromeda-sidebar .nav.sous.actif,
html[data-andromeda="true"] .andromeda-sidebar .nav.actif {
  box-shadow: inset 3px 0 0 #c6a15b;
}
html[data-andromeda="true"] .andromede-contexte {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 8px 16px;
  background: #071833;
  border-bottom: 1px solid rgba(198, 161, 91, 0.35);
  color: #e8eef6;
  font-size: 0.82rem;
  font-weight: 650;
}
html[data-andromeda="true"] .andromede-contexte-lib {
  color: #c6a15b;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
html[data-andromeda="true"] .andromede-contexte-champ {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
html[data-andromeda="true"] .andromede-contexte-libelle {
  color: #fbf8f1;
  font-weight: 800;
  text-transform: capitalize;
  min-width: 9rem;
}
html[data-andromeda="true"] .andromede-contexte-mois {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
html[data-andromeda="true"] .andromede-contexte-mois button {
  min-width: 32px;
  min-height: 32px;
  border: 1px solid rgba(198, 161, 91, 0.55);
  border-radius: 8px;
  background: #10284a;
  color: #fbf8f1;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
}
html[data-andromeda="true"] .andromede-contexte-mois button:hover {
  border-color: #c6a15b;
}
html[data-andromeda="true"] .andromede-contexte-mois button.andromede-contexte-libelle {
  min-width: 9.5rem;
  font-size: 0.95rem;
  text-transform: capitalize;
  background: transparent;
  border-color: transparent;
  color: #fbf8f1;
}
html[data-andromeda="true"] .liste-flottante-andromede {
  position: fixed;
  z-index: 230;
  padding: 6px;
  background: #fbf8f1;
  color: #071833;
  border: 1px solid #c6a15b;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(7, 24, 51, 0.28);
}
html[data-andromeda="true"] .liste-flottante-andromede button {
  display: block;
  width: 100%;
  text-align: start;
  background: #fff;
  border: 1px solid rgba(16, 40, 74, 0.12);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 0 0 4px;
  font: inherit;
  cursor: pointer;
}
html[data-andromeda="true"] .pointage-barre-filtres .feuille-barre {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}
html[data-andromeda="true"] .pointage-barre-filtres .feuille-plier {
  display: none;
}
html[data-andromeda="true"] #liste-mois-travail {
  position: fixed;
  z-index: 220;
  width: min(280px, calc(100vw - 16px));
  max-height: min(70vh, 420px);
  overflow: auto;
  padding: 10px;
  background: #fbf8f1;
  color: #071833;
  border: 1px solid #c6a15b;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(7, 24, 51, 0.28);
}
html[data-andromeda="true"] .liste-mois-annees,
html[data-andromeda="true"] .liste-mois-mois {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
html[data-andromeda="true"] .liste-mois-annees {
  margin-bottom: 8px;
  max-height: 4.5rem;
  overflow: auto;
}
html[data-andromeda="true"] #liste-mois-travail button {
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid rgba(16, 40, 74, 0.15);
  border-radius: 8px;
  background: #fff;
  color: #071833;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
html[data-andromeda="true"] #liste-mois-travail button.actif,
html[data-andromeda="true"] #liste-mois-travail button:hover {
  background: #c6a15b;
  border-color: #c6a15b;
  color: #071833;
}
html[data-andromeda="true"] .andromede-contexte-personne {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(198, 161, 91, 0.35);
}
html[data-andromeda="true"] .andromede-contexte-personne[hidden] {
  display: none !important;
}
html[data-andromeda="true"] .andromede-contexte-lien {
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid rgba(198, 161, 91, 0.45);
  border-radius: 999px;
  background: transparent;
  color: #fbf8f1;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 750;
  cursor: pointer;
}
html[data-andromeda="true"] .andromede-contexte-lien:hover {
  background: #c6a15b;
  color: #071833;
}
html[data-andromeda="true"] .parcours-vacataire,
html[data-andromeda="true"] .cockpit-tournee {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}
html[data-andromeda="true"] .parcours-vacataire-lib,
html[data-andromeda="true"] .cockpit-tournee-lib {
  font-weight: 750;
  color: #10284a;
  margin-right: 4px;
}
html[data-andromeda="true"] .parcours-vacataire .andromede-contexte-lien,
html[data-andromeda="true"] .cockpit-tournee .andromede-contexte-lien {
  color: #071833;
  border-color: rgba(16, 40, 74, 0.25);
}
html[data-andromeda="true"] .cockpit-tournee .andromede-contexte-lien:hover {
  background: #c6a15b;
  color: #071833;
}
html[data-andromeda="true"] .comparaison-rh-andromede { margin: 8px 0 12px; }
html[data-andromeda="true"] .comparaison-rh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
html[data-andromeda="true"] .comparaison-rh-table th,
html[data-andromeda="true"] .comparaison-rh-table td {
  border: 1px solid rgba(16, 40, 74, 0.15);
  padding: 6px 8px;
  text-align: right;
}
html[data-andromeda="true"] .comparaison-rh-table th:first-child,
html[data-andromeda="true"] .comparaison-rh-table td:first-child {
  text-align: left;
  font-weight: 650;
}
html[data-andromeda="true"] .fil-verite-andromede { margin: 10px 0 16px; }
html[data-andromeda="true"] .fil-verite-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
html[data-andromeda="true"] .fil-verite-ligne {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: baseline;
  text-align: left;
  padding: 8px 10px;
  border: 1px solid rgba(16, 40, 74, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #071833;
  font: inherit;
  cursor: pointer;
}
html[data-andromeda="true"] .fil-verite-ligne:hover { border-color: #c6a15b; background: #fbf8f1; }
html[data-andromeda="true"] .fil-verite-jour { min-width: 6.5rem; font-weight: 750; color: #10284a; }
html[data-andromeda="true"] .simulation-bulletin-andromede {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(7, 24, 51, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
html[data-andromeda="true"] .simulation-bulletin-carte {
  width: min(560px, 100%);
  background: #fbf8f1;
  color: #071833;
  border: 1px solid #c6a15b;
  border-radius: 12px;
  padding: 18px 20px;
}
html[data-andromeda="true"] .andromede-contexte-sites {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
html[data-andromeda="true"] .andromede-contexte-site {
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid rgba(198, 161, 91, 0.55);
  border-radius: 8px;
  background: #10284a;
  color: #fbf8f1;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
html[data-andromeda="true"] .andromede-contexte-site.actif,
html[data-andromeda="true"] .andromede-contexte-site[aria-pressed="true"] {
  background: #c6a15b;
  border-color: #c6a15b;
  color: #071833;
}
html[data-andromeda="true"] .andromede-contexte-site:hover {
  border-color: #c6a15b;
}
html.athena-mobile-plein .andromede-contexte {
  display: none;
}
html[data-andromeda="true"] .cockpit-grid.cockpit-grid-listes {
  grid-template-columns: 1fr;
}
html[data-andromeda="true"] .cockpit-jour {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}
html[data-andromeda="true"] .cockpit-jour-carte {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 1px 2px rgba(7, 24, 51, 0.04);
}
html[data-andromeda="true"] .cockpit-jour-carte span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}
html[data-andromeda="true"] .cockpit-jour-carte strong {
  color: #071833;
  font-size: 1.35rem;
}
html[data-andromeda="true"] .cockpit-jour-carte:hover {
  border-color: rgba(198, 161, 91, 0.55);
}
html[data-andromeda="true"] #ecran[data-ecran="rh-pointage"] #btn-declarer-sortie-pointage {
  background: #c6a15b;
  border-color: #a8884a;
  color: #071833;
}
html[data-andromeda="true"] #ecran[data-ecran="rh-pointage"] .pointage-barre-date-compacte,
html[data-andromeda="true"] #ecran .andromede-heures .vacataires-periode-toolbar,
html[data-andromeda="true"] #ecran .andromede-paie-barre {
  align-items: center;
}
html[data-andromeda="true"] #ecran .lot1-site-filter,
html[data-andromeda="true"] #ecran .btn-filtre-site-comm,
html[data-andromeda="true"] #ecran .paire:has(#mois-ano),
html[data-andromeda="true"] #ecran .paire:has(#site-ano),
html[data-andromeda="true"] #ecran .personnel-filtre:has(#filtre-site),
html[data-andromeda="true"] #ecran #filtre-site,
html[data-andromeda="true"] #ecran #site-ano,
html[data-andromeda="true"] #ecran #mois-ano,
html[data-andromeda="true"] #ecran #filtre-plan-site,
html[data-andromeda="true"] #ecran #vac-filtre-site,
html[data-andromeda="true"] #ecran #filtre-site-paie,
html[data-andromeda="true"] #ecran #sup-filtre-site,
html[data-andromeda="true"] #ecran #conformite-site,
html[data-andromeda="true"] #ecran #sel-site-vac,
html[data-andromeda="true"] #ecran #sel-site-aes,
html[data-andromeda="true"] #ecran #sel-site-ateliers,
html[data-andromeda="true"] #ecran #sel-site-seances,
html[data-andromeda="true"] #ecran #edt-site-sel,
html[data-andromeda="true"] #ecran #tuiles-site,
html[data-andromeda="true"] #ecran #mail-site,
html[data-andromeda="true"] #ecran #site-transport,
html[data-andromeda="true"] #ecran #sel-mois-paie,
html[data-andromeda="true"] #ecran #vacataires-mois,
html[data-andromeda="true"] #ecran #hs-mois,
html[data-andromeda="true"] #ecran #mois-etat,
html[data-andromeda="true"] #ecran #mois-elv,
html[data-andromeda="true"] #ecran label[for="sel-mois-paie"],
html[data-andromeda="true"] #ecran label[for="vacataires-mois"],
html[data-andromeda="true"] #ecran label[for="hs-mois"],
html[data-andromeda="true"] #ecran label[for="mois-etat"],
html[data-andromeda="true"] #ecran label[for="mois-elv"],
html[data-andromeda="true"] #ecran label[for="site-transport"],
html[data-andromeda="true"] #ecran label:has(#edt-site-sel),
html[data-andromeda="true"] #ecran label:has(#tuiles-site),
html[data-andromeda="true"] #ecran label:has(#mail-site),
html[data-andromeda="true"] #ecran label[for="conformite-site"],
html[data-andromeda="true"] #ecran .filtre:has(#sel-site-aes),
html[data-andromeda="true"] #ecran .filtre:has(#sel-site-ateliers),
html[data-andromeda="true"] #ecran .filtre:has(#sel-site-seances),
html[data-andromeda="true"] #ecran .filtre:has(> select[name="site"]),
html[data-andromeda="true"] #ecran label:has(+ #site-transport),
html[data-andromeda="true"] #ecran label:has(+ #conformite-site),
html[data-andromeda="true"] #ecran label:has(+ #vac-filtre-site),
html[data-andromeda="true"] #ecran div:has(> #filtre-site-paie) {
  display: none !important;
}
@media (max-width: 768px) {
  html[data-andromeda="true"] #ecran .filtre {
    flex-direction: column;
    align-items: stretch;
  }
  html[data-andromeda="true"] .cockpit-jour {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html[data-andromeda="true"] .andromede-contexte {
    padding: 8px 12px;
  }
  html[data-andromeda="true"] #ecran[data-ecran="rh-pointage"] .pointage-barre-date-compacte,
  html[data-andromeda="true"] #ecran .andromede-heures .vacataires-periode-toolbar,
  html[data-andromeda="true"] #ecran .andromede-paie-barre {
    flex-direction: column;
    align-items: stretch;
  }
}
html[data-andromeda="true"] .transport-vues {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
html[data-andromeda="true"] .transport-vues .andromede-contexte-lien {
  color: #071833;
  border-color: rgba(16, 40, 74, 0.25);
}
html[data-andromeda="true"] .transport-vues .andromede-contexte-lien.actif,
html[data-andromeda="true"] .transport-vues .andromede-contexte-lien:hover {
  background: #c6a15b;
  color: #071833;
  border-color: #c6a15b;
}
@media print {
  @page { margin: 10mm 12mm; }
  html[data-andromeda="true"] .andromede-contexte,
  html[data-andromeda="true"] .cockpit-tournee,
  html[data-andromeda="true"] .parcours-vacataire,
  html[data-andromeda="true"] .transport-vues,
  html[data-andromeda="true"] .fil-verite-andromede,
  html[data-andromeda="true"] .simulation-bulletin-andromede {
    display: none !important;
  }
  html[data-andromeda="true"] #ecran {
    background: #fff !important;
    color: #071833 !important;
  }
  html[data-andromeda="true"] #ecran table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 10pt !important;
  }
  html[data-andromeda="true"] #ecran th {
    background: #10284a !important;
    color: #c6a15b !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  html[data-andromeda="true"] #ecran td,
  html[data-andromeda="true"] #ecran th {
    border: 1px solid #10284a !important;
    padding: 4px 6px !important;
  }
}

/* Messagerie Gmail Andromède — tri RH (files / liste / lecteur) */
html[data-andromeda="true"] .gmail-split-view.gmail-tri-vue { grid-template-columns: 210px 360px minmax(0, 1fr); }
@media (max-width: 1200px) { html[data-andromeda="true"] .gmail-split-view.gmail-tri-vue { grid-template-columns: 180px 300px minmax(0, 1fr); } }
@media (max-width: 900px) { html[data-andromeda="true"] .gmail-split-view.gmail-tri-vue { grid-template-columns: 1fr; } }
html[data-andromeda="true"] .gmail-files { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--ligne, #e1e7f0); border-radius: 12px; padding: 8px; align-self: start; position: sticky; top: 8px; }
html[data-andromeda="true"] .gmail-file { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--navy, #071833); font-size: 0.84rem; text-align: start; cursor: pointer; }
html[data-andromeda="true"] .gmail-file:hover { background: #f1f5f9; }
html[data-andromeda="true"] .gmail-file.actif { background: #071833; color: #fff; }
html[data-andromeda="true"] .gmail-file b { font-size: 0.76rem; min-width: 22px; text-align: center; padding: 1px 6px; border-radius: 10px; background: rgba(7, 24, 51, 0.08); }
html[data-andromeda="true"] .gmail-file.actif b { background: rgba(255, 255, 255, 0.18); }
html[data-andromeda="true"] .gmail-tri-etat { font-size: 0.74rem; color: var(--muted, #4a5d78); }
html[data-andromeda="true"] .gmail-raccourcis { color: #64748b; font-size: 0.78rem; }
html[data-andromeda="true"] .gmail-item-card.traite { opacity: 0.6; }
html[data-andromeda="true"] .gmail-plus { display: block; width: calc(100% - 24px); margin: 10px 12px; }
html[data-andromeda="true"] .gmail-badge-tri { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 1px 6px; border-radius: 4px; margin-inline-end: 4px; background: #e2e8f0; color: #334155; vertical-align: 1px; }
html[data-andromeda="true"] .tri-retard.gmail-badge-tri, html[data-andromeda="true"] .gmail-decision-tri.tri-retard { background: #fef3c7; color: #92400e; }
html[data-andromeda="true"] .tri-absence.gmail-badge-tri, html[data-andromeda="true"] .gmail-decision-tri.tri-absence { background: #fee2e2; color: #991b1b; }
html[data-andromeda="true"] .tri-justificatif.gmail-badge-tri, html[data-andromeda="true"] .gmail-decision-tri.tri-justificatif { background: #dcfce7; color: #166534; }
html[data-andromeda="true"] .tri-demande_document.gmail-badge-tri, html[data-andromeda="true"] .gmail-decision-tri.tri-demande_document { background: #e0e7ff; color: #3730a3; }
html[data-andromeda="true"] .tri-a_verifier.gmail-badge-tri, html[data-andromeda="true"] .gmail-decision-tri.tri-a_verifier { background: #ffedd5; color: #9a3412; }
html[data-andromeda="true"] .gmail-decision-tri { border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; background: #f1f5f9; color: #1e293b; }
html[data-andromeda="true"] .gmail-decision-titre { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 0.95rem; }
html[data-andromeda="true"] .gmail-decision-titre small { font-size: 0.74rem; opacity: 0.8; }
html[data-andromeda="true"] .gmail-decision-tri ul { margin: 6px 0 0; padding-inline-start: 18px; font-size: 0.8rem; }
html[data-andromeda="true"] .gmail-decision-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; font-size: 0.82rem; }
html[data-andromeda="true"] .gmail-decision-actions select { padding: 4px 6px; border-radius: 6px; border: 1px solid #cbd5e1; font-size: 0.82rem; }
html[data-andromeda="true"] .gmail-outils-athena > summary { cursor: pointer; font-weight: 700; font-size: 0.86rem; color: #3730a3; padding: 8px 0; }
html[data-andromeda="true"] .gmail-suite { margin: 8px 0 0; padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.7); font-size: 0.8rem; line-height: 1.45; }
html[data-andromeda="true"] .gmail-suite.ok { border-inline-start: 3px solid #16a34a; }
html[data-andromeda="true"] .gmail-suite.alerte { border-inline-start: 3px solid #dc2626; }
html[data-andromeda="true"] .gmail-suite button { margin-inline-start: 6px; padding: 2px 8px; font-size: 0.76rem; }
html[data-andromeda="true"] .gmail-file-agenda { margin-top: 10px; border-top: 1px dashed #cbd5e1; padding-top: 10px; }
html[data-andromeda="true"] .gmail-agenda { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
html[data-andromeda="true"] .gmail-agenda-intro, html[data-andromeda="true"] .gmail-agenda-vide { margin: 0; font-size: 0.8rem; color: var(--muted, #4a5d78); }
html[data-andromeda="true"] .gmail-agenda-jour h4, html[data-andromeda="true"] .gmail-agenda-titre { margin: 4px 0 6px; font-size: 0.82rem; color: var(--navy, #071833); text-transform: capitalize; }
html[data-andromeda="true"] .gmail-agenda-jour.aujourdhui h4 { color: #b45309; }
html[data-andromeda="true"] .gmail-agenda-ligne { display: block; width: 100%; text-align: start; margin: 0 0 6px; padding: 8px 10px; border: 1px solid #e2e8f0; border-inline-start: 3px solid #64748b; border-radius: 8px; background: #fff; font-size: 0.8rem; cursor: pointer; }
html[data-andromeda="true"] .gmail-agenda-ligne:hover { background: #f8fafc; }
html[data-andromeda="true"] .gmail-agenda-ligne span { display: block; margin-top: 2px; color: var(--muted, #4a5d78); font-size: 0.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-andromeda="true"] .gmail-agenda-ligne.nature-retard { border-inline-start-color: #f59e0b; }
html[data-andromeda="true"] .gmail-agenda-ligne.nature-absence { border-inline-start-color: #dc2626; }
html[data-andromeda="true"] .gmail-agenda-ligne.nature-justificatif { border-inline-start-color: #2563eb; }
html[data-andromeda="true"] .pastille-annonce-mail { display: inline-block; margin-inline-start: 6px; padding: 1px 7px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; white-space: nowrap; background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; cursor: help; }
html[data-andromeda="true"] .pastille-annonce-mail.nature-retard { background: #fffbeb; color: #92400e; border-color: #fde68a; }
html[data-andromeda="true"] .pastille-annonce-mail.nature-absence { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
html[data-andromeda="true"] .gmail-rattacher { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
html[data-andromeda="true"] .gmail-rattacher .choix-personne-andromede { min-width: 220px; flex: 1; }
html[data-andromeda="true"] .gmail-suite small { display: block; margin-top: 4px; color: var(--muted, #4a5d78); }

/* Passe de style Messagerie Gmail (20 nov. soir) : sobre, cartes nettes, sans changer les fonctions. */
html[data-andromeda="true"] .gmail-tri-vue { gap: 14px; }
html[data-andromeda="true"] .gmail-files { gap: 2px; padding: 10px; background: #f8fafc; border-color: #e2e8f0; border-radius: 14px; box-shadow: 0 2px 8px rgba(7, 24, 51, 0.04); }
html[data-andromeda="true"] .gmail-files-titre { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; padding: 8px 10px 4px; }
html[data-andromeda="true"] .gmail-file { padding: 8px 10px; font-size: 0.84rem; font-family: inherit; }
html[data-andromeda="true"] .gmail-file:not(.actif):hover { background: #e9eef5; }
html[data-andromeda="true"] .gmail-file b { background: #e2e8f0; color: #334155; }
html[data-andromeda="true"] .gmail-file.actif b { background: rgba(255, 255, 255, 0.2); color: #fff; }
html[data-andromeda="true"] .gmail-file-agenda { margin-top: 8px; border-top: 1px solid #e2e8f0; border-radius: 0 0 8px 8px; padding-top: 10px; }
html[data-andromeda="true"] .gmail-list-toolbar { background: #fff; padding: 10px 12px; }
html[data-andromeda="true"] .gmail-tri-etat { font-size: 0.72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-andromeda="true"] .gmail-items-scroll { max-height: calc(100vh - 250px); min-height: 360px; }
html[data-andromeda="true"] .gmail-item-card { padding: 10px 12px; }
html[data-andromeda="true"] .gmail-item-card.selectionne { background: #f1f5f9; border-inline-start: 3px solid #071833; }
html[data-andromeda="true"] .gmail-badge-tri { font-size: 0.66rem; border-radius: 999px; padding: 1px 8px; }
html[data-andromeda="true"] .gmail-decision-tri { background: #fff; border: 1px solid #e2e8f0; border-inline-start: 4px solid #94a3b8; box-shadow: 0 1px 4px rgba(7, 24, 51, 0.05); padding: 14px 16px; color: var(--navy, #071833); }
html[data-andromeda="true"] .gmail-decision-tri.tri-retard { border-inline-start-color: #f59e0b; }
html[data-andromeda="true"] .gmail-decision-tri.tri-absence { border-inline-start-color: #dc2626; }
html[data-andromeda="true"] .gmail-decision-tri.tri-justificatif { border-inline-start-color: #16a34a; }
html[data-andromeda="true"] .gmail-decision-tri.tri-demande_document { border-inline-start-color: #4f46e5; }
html[data-andromeda="true"] .gmail-decision-tri.tri-a_verifier { border-inline-start-color: #ea580c; }
html[data-andromeda="true"] .gmail-decision-actions .principal { font-size: 0.82rem; padding: 6px 12px; }
html[data-andromeda="true"] .gmail-suite { background: #f8fafc; border: 1px solid #e2e8f0; border-inline-start-width: 3px; }
html[data-andromeda="true"] .gmail-suite small { font-size: 0.72rem; }
html[data-andromeda="true"] .gmail-agenda { padding: 14px; gap: 12px; }
html[data-andromeda="true"] .gmail-agenda-jour { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; padding-bottom: 6px; }
html[data-andromeda="true"] .gmail-agenda-jour h4 { margin: 0 0 4px; padding: 8px 12px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; font-size: 0.8rem; color: var(--navy, #071833); display: flex; align-items: center; gap: 8px; }
html[data-andromeda="true"] .gmail-agenda-jour > .gmail-agenda-ligne { margin: 6px 10px 0; }
html[data-andromeda="true"] .gmail-agenda-badge { font-size: 0.66rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #fef3c7; color: #92400e; text-transform: none; }
html[data-andromeda="true"] .gmail-agenda-ligne { font-family: inherit; color: var(--navy, #071833); border-radius: 8px; box-shadow: none; line-height: 1.4; }
html[data-andromeda="true"] .gmail-agenda-ligne small { color: #64748b; font-size: 0.74rem; }
html[data-andromeda="true"] .gmail-agenda-titre { font-size: 0.78rem; margin: 8px 0 0; color: #475569; }
html[data-andromeda="true"] .gmail-agenda-intro { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; color: #475569; }
html[data-andromeda="true"] .gmail-agenda-vide { padding: 10px 2px; }

/* Titres Andromède (20 nov. soir) : compteur vide masqué dans la file Agenda. */
html[data-andromeda="true"] .gmail-file b:empty { display: none; }

/* Agenda (20 nov. soir) : pas de majuscule forcée sur les titres de section. */
html[data-andromeda="true"] .gmail-agenda-jour h4, html[data-andromeda="true"] .gmail-agenda-titre { text-transform: none; }

/* Passe visuelle v2 Messagerie Gmail (20 nov. soir, « c tjr moche ») : identité bleu nuit + or de Andromède,
   colonnes plus larges, texte lisible. Aucune fonction ni donnée modifiée. */
html[data-andromeda="true"] .gmail-split-view.gmail-tri-vue { grid-template-columns: 220px minmax(320px, 400px) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1200px) { html[data-andromeda="true"] .gmail-split-view.gmail-tri-vue { grid-template-columns: 190px minmax(290px, 340px) minmax(0, 1fr); } }
@media (max-width: 900px) { html[data-andromeda="true"] .gmail-split-view.gmail-tri-vue { grid-template-columns: 1fr; } }
html[data-andromeda="true"] .andromede-gmail .gmail-header-card { background: linear-gradient(120deg, #10284a 0%, #0b1d38 100%); border: 1px solid #0b1d38; border-radius: 14px; padding: 16px 22px; box-shadow: 0 6px 18px rgba(7, 24, 51, 0.18); }
html[data-andromeda="true"] .gmail-header-card > div:first-child { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
html[data-andromeda="true"] .gmail-entete-ligne { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
html[data-andromeda="true"] .gmail-entete-statut { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #bbf7d0; background: rgba(34, 197, 94, 0.14); border: 1px solid rgba(134, 239, 172, 0.4); padding: 3px 10px; border-radius: 999px; }
html[data-andromeda="true"] .gmail-entete-compte { font-size: 0.98rem; color: #fff; font-weight: 700; }
html[data-andromeda="true"] .gmail-entete-aide { margin: 0; font-size: 0.8rem; color: #cbd5e1; line-height: 1.5; }
html[data-andromeda="true"] .gmail-entete-aide .gmail-raccourcis { color: #c6a15b; }
html[data-andromeda="true"] .gmail-header-card .ghost { background: transparent; color: #f8fafc; border: 1px solid rgba(198, 161, 91, 0.75); border-radius: 8px; padding: 7px 14px; font-size: 0.84rem; font-weight: 600; }
html[data-andromeda="true"] .gmail-header-card .ghost:hover { background: rgba(198, 161, 91, 0.16); }
html[data-andromeda="true"] .gmail-files { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 10px; box-shadow: 0 4px 12px rgba(7, 24, 51, 0.05); }
html[data-andromeda="true"] .gmail-files-titre { color: #10284a; letter-spacing: 0.1em; }
html[data-andromeda="true"] .gmail-file { font-size: 0.9rem; padding: 9px 12px; border-radius: 9px; font-weight: 500; }
html[data-andromeda="true"] .gmail-file:not(.actif):hover { background: #f1f5f9; }
html[data-andromeda="true"] .gmail-file.actif { background: #10284a; color: #fff; font-weight: 700; box-shadow: inset 3px 0 0 #c6a15b; }
html[data-andromeda="true"] .gmail-file b { min-width: 26px; font-size: 0.8rem; }
html[data-andromeda="true"] .gmail-file.actif b { background: #c6a15b; color: #10284a; }
html[data-andromeda="true"] .gmail-list-pane, html[data-andromeda="true"] .gmail-detail-pane { border-radius: 14px; border-color: #e2e8f0; }
html[data-andromeda="true"] .gmail-list-toolbar { padding: 12px 14px; gap: 6px; }
html[data-andromeda="true"] .gmail-search-bar input { font-size: 0.9rem; padding: 9px 12px; border-radius: 9px; }
html[data-andromeda="true"] .gmail-search-bar .principal { background: #10284a; border-color: #10284a; border-radius: 9px; }
html[data-andromeda="true"] .gmail-tri-etat { font-size: 0.76rem; line-height: 1.4; white-space: normal; overflow: visible; text-overflow: clip; color: #64748b; }
html[data-andromeda="true"] .gmail-items-scroll { max-height: calc(100vh - 240px); min-height: 420px; }
html[data-andromeda="true"] .gmail-item-card { padding: 12px 14px; border-bottom: 1px solid #eef2f7; }
html[data-andromeda="true"] .gmail-item-from { font-size: 0.9rem; }
html[data-andromeda="true"] .gmail-item-subject { font-size: 0.86rem; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html[data-andromeda="true"] .gmail-item-snippet { font-size: 0.8rem; }
html[data-andromeda="true"] .gmail-item-card.selectionne { background: #fbf7ee; border-inline-start: 0; box-shadow: inset 3px 0 0 #c6a15b; }
html[data-andromeda="true"] .gmail-agenda-intro { font-size: 0.84rem; background: #fbf7ee; border-color: #ecdcb6; color: #5b4a22; }
html[data-andromeda="true"] .gmail-agenda-ligne { font-size: 0.88rem; padding: 9px 12px; }
html[data-andromeda="true"] .gmail-agenda-ligne span { font-size: 0.8rem; white-space: normal; }
html[data-andromeda="true"] .gmail-agenda-titre { font-size: 0.86rem; font-weight: 700; color: #10284a; margin: 14px 0 4px; }

/* Tri RH UI 25 nov. 2026 — densité, barre claire, nav compacte, diagnostic unifié, corps mail */
html[data-andromeda="true"] .gmail-split-view.gmail-tri-vue {
  grid-template-columns: 158px minmax(300px, 380px) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
@media (max-width: 1200px) {
  html[data-andromeda="true"] .gmail-split-view.gmail-tri-vue {
    grid-template-columns: 148px minmax(270px, 330px) minmax(0, 1fr);
  }
}

/* Barre supérieure claire */
html[data-andromeda="true"] .andromede-gmail .gmail-header-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
html[data-andromeda="true"] .gmail-entete-statut {
  color: #166534;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
}
html[data-andromeda="true"] .gmail-entete-compte {
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 650;
}
html[data-andromeda="true"] .gmail-entete-aide {
  color: #64748b;
  font-size: 0.74rem;
}
html[data-andromeda="true"] .gmail-entete-aide .gmail-raccourcis {
  color: #64748b;
}
html[data-andromeda="true"] .gmail-header-card .ghost,
html[data-andromeda="true"] .gmail-header-card .gmail-btn-actualiser {
  background: #fff;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
}
html[data-andromeda="true"] .gmail-header-card .ghost:hover,
html[data-andromeda="true"] .gmail-header-card .gmail-btn-actualiser:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* Nav gauche compacte */
html[data-andromeda="true"] .gmail-files {
  gap: 1px;
  padding: 6px;
  border-radius: 12px;
  box-shadow: none;
  background: #fff;
}
html[data-andromeda="true"] .gmail-files-titre {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 6px 8px 2px;
  color: #64748b;
}
html[data-andromeda="true"] .gmail-file {
  padding: 5px 8px;
  font-size: 0.78rem;
  border-radius: 7px;
  font-weight: 500;
}
html[data-andromeda="true"] .gmail-file.actif {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  box-shadow: inset 3px 0 0 #10284a;
}
html[data-andromeda="true"] .gmail-file b {
  min-width: 18px;
  font-size: 0.7rem;
  font-weight: 600;
  background: transparent;
  color: #64748b;
  padding: 0 2px;
}
html[data-andromeda="true"] .gmail-file.actif b {
  background: transparent;
  color: #10284a;
}
html[data-andromeda="true"] .gmail-file-agenda {
  margin-top: 4px;
  padding-top: 6px;
}

/* Liste dense 2 lignes */
html[data-andromeda="true"] .gmail-items-scroll {
  max-height: calc(100vh - 210px);
  min-height: 420px;
}
html[data-andromeda="true"] .gmail-item-card.gmail-item-dense {
  padding: 7px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
}
html[data-andromeda="true"] .gmail-item-ligne1 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
html[data-andromeda="true"] .gmail-item-ligne1 .gmail-item-from {
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 650;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-andromeda="true"] .gmail-item-ligne1 .gmail-item-date {
  flex: 0 0 auto;
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 500;
}
html[data-andromeda="true"] .gmail-item-ligne1 .gmail-badge-tri {
  flex: 0 0 auto;
  margin: 0;
  font-size: 0.62rem;
  padding: 1px 6px;
  border-radius: 4px;
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-andromeda="true"] .gmail-item-ligne2 {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  font-size: 0.76rem;
  line-height: 1.35;
}
html[data-andromeda="true"] .gmail-item-ligne2 .gmail-item-subject {
  flex: 0 1 auto;
  max-width: 55%;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  -webkit-line-clamp: unset;
}
html[data-andromeda="true"] .gmail-item-ligne2 .gmail-item-snippet {
  flex: 1;
  min-width: 0;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.74rem;
}
html[data-andromeda="true"] .gmail-item-card.selectionne {
  background: #f8fafc;
  box-shadow: inset 3px 0 0 #10284a;
}
html[data-andromeda="true"] .gmail-plus {
  margin: 8px 10px 12px;
  width: calc(100% - 20px);
  font-size: 0.78rem;
  color: #64748b;
}

/* Diagnostic unifié */
html[data-andromeda="true"] .gmail-decision-tri.gmail-decision-unie {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-inline-start: 3px solid #94a3b8;
  border-radius: 10px;
  box-shadow: none;
  padding: 12px 14px;
  margin-bottom: 12px;
  color: #0f172a;
}
html[data-andromeda="true"] .gmail-decision-unie.tri-a_verifier { border-inline-start-color: #ea580c; }
html[data-andromeda="true"] .gmail-decision-unie.tri-retard { border-inline-start-color: #d97706; }
html[data-andromeda="true"] .gmail-decision-unie.tri-absence { border-inline-start-color: #dc2626; }
html[data-andromeda="true"] .gmail-decision-unie.tri-justificatif { border-inline-start-color: #16a34a; }
html[data-andromeda="true"] .gmail-decision-unie.tri-demande_document { border-inline-start-color: #4f46e5; }
html[data-andromeda="true"] .gmail-decision-unie .gmail-decision-titre {
  font-size: 0.88rem;
}
html[data-andromeda="true"] .gmail-decision-unie .gmail-decision-titre small {
  color: #64748b;
  font-weight: 500;
}
html[data-andromeda="true"] .gmail-decision-unie .gmail-decision-raisons {
  margin: 6px 0 0;
  padding-inline-start: 16px;
  font-size: 0.78rem;
  color: #475569;
}
html[data-andromeda="true"] .gmail-decision-unie .gmail-decision-suite .gmail-suite {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #334155;
}
html[data-andromeda="true"] .gmail-decision-unie .gmail-suite.ok,
html[data-andromeda="true"] .gmail-decision-unie .gmail-suite.alerte {
  border-inline-start: 0;
  background: transparent;
  border: 0;
  padding: 0;
}
html[data-andromeda="true"] .gmail-decision-unie .gmail-decision-actions {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #eef2f7;
  gap: 10px;
}
html[data-andromeda="true"] .gmail-decision-unie .gmail-decision-actions .principal {
  background: #10284a;
  border-color: #10284a;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 8px;
}
html[data-andromeda="true"] .gmail-decision-unie .gmail-decision-corriger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #64748b;
}
html[data-andromeda="true"] .gmail-decision-unie .gmail-decision-corriger select {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.78rem;
  background: #fff;
  color: #0f172a;
}

/* Corps mail : citations + dir auto */
html[data-andromeda="true"] .gmail-detail-body {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #1e293b;
  padding: 4px 2px 12px;
}
html[data-andromeda="true"] .gmail-detail-body .gmail-p {
  margin: 0 0 0.75em;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
html[data-andromeda="true"] .gmail-detail-body .gmail-quote {
  margin: 0.5em 0 0.85em;
  padding: 8px 12px;
  border-inline-start: 3px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  font-size: 0.84rem;
  border-radius: 0 8px 8px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* —— Paie dense (25 nov. 2026) : KPI + filtres + table, sans changer le métier —— */
html[data-andromeda="true"] .andromede-paie.andromede-paie-dense {
  max-width: 1480px;
  margin: 10px auto 20px;
  padding: 14px 16px 18px;
  background: var(--fond-carte, #fff);
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
html[data-andromeda="true"] .andromede-paie-dense .andromede-paie-barre {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid #eef2f7;
}
html[data-andromeda="true"] .andromede-paie-dense .andromede-paie-barre-gauche,
html[data-andromeda="true"] .andromede-paie-dense .andromede-paie-barre-droite {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
html[data-andromeda="true"] .andromede-paie-dense .andromede-paie-barre .ghost,
html[data-andromeda="true"] .andromede-paie-dense .andromede-paie-barre .principal {
  min-height: 34px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 650;
  border-radius: 8px;
}
html[data-andromeda="true"] .andromede-paie-dense .andromede-paie-barre .principal {
  background: #10284a;
  border-color: #10284a;
  color: #fff;
}

html[data-andromeda="true"] .andromede-paie-dense .paie-kpi-grille {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-kpi-carte {
  padding: 8px 10px;
  border: 1px solid #e8ecf2;
  border-radius: 9px;
  background: #fbfcfe;
  border-top: 3px solid #94a3b8;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-kpi-masse { border-top-color: #3b82f6; }
html[data-andromeda="true"] .andromede-paie-dense .paie-kpi-cnas { border-top-color: #22c55e; }
html[data-andromeda="true"] .andromede-paie-dense .paie-kpi-irg { border-top-color: #f97316; }
html[data-andromeda="true"] .andromede-paie-dense .paie-kpi-net { border-top-color: #eab308; }
html[data-andromeda="true"] .andromede-paie-dense .paie-kpi-virement { border-top-color: #14b8a6; }
html[data-andromeda="true"] .andromede-paie-dense .paie-kpi-especes { border-top-color: #78716c; }
html[data-andromeda="true"] .andromede-paie-dense .paie-kpi-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-kpi-valeur {
  margin-top: 2px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-kpi-valeur span {
  font-size: 0.72rem;
  font-weight: 650;
  color: #64748b;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-kpi-meta {
  margin-top: 2px;
  font-size: 0.7rem;
  color: #64748b;
}

html[data-andromeda="true"] .andromede-paie-dense .paie-criteres {
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid #e8ecf2;
  border-radius: 10px;
  background: #f8fafc;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-criteres-haut {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-criteres-titre {
  font-size: 0.78rem;
  font-weight: 750;
  color: #10284a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-criteres-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-criteres-actions .ghost,
html[data-andromeda="true"] .andromede-paie-dense .paie-criteres-actions .principal {
  min-height: 32px;
  padding: 4px 10px;
  font-size: 0.76rem;
  border-radius: 7px;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-criteres-actions .principal {
  background: #10284a;
  border-color: #10284a;
  color: #fff;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-badge-coches {
  display: inline-block;
  margin-inline-start: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.68rem;
  font-weight: 700;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-criteres-filtres {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-criteres-filtres label {
  display: block;
  margin: 0 0 3px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-criteres-filtres select,
html[data-andromeda="true"] .andromede-paie-dense .paie-criteres-filtres input {
  width: 100%;
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
}

html[data-andromeda="true"] .andromede-paie-dense .paie-table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-table-compte {
  font-size: 0.8rem;
  color: #64748b;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-table-compte strong { color: #0f172a; }
html[data-andromeda="true"] .andromede-paie-dense .paie-table-outils {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-table-outils .ghost {
  min-height: 32px;
  padding: 4px 10px;
  font-size: 0.76rem;
  border-radius: 7px;
}

html[data-andromeda="true"] .andromede-paie-dense .paie-table-wrap {
  border: 1px solid #e8ecf2;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-table-scroll { overflow-x: auto; }
html[data-andromeda="true"] .andromede-paie-dense .paie-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.78rem;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-table thead tr {
  background: #f8fafc;
  color: #475569;
  border-bottom: 1px solid #e8ecf2;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-table th,
html[data-andromeda="true"] .andromede-paie-dense .paie-table td {
  padding: 6px 8px;
  vertical-align: middle;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-table th.num,
html[data-andromeda="true"] .andromede-paie-dense .paie-table td.num { text-align: right; }
html[data-andromeda="true"] .andromede-paie-dense .paie-table th.ctr,
html[data-andromeda="true"] .andromede-paie-dense .paie-table td.ctr { text-align: center; }
html[data-andromeda="true"] .andromede-paie-dense .paie-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-table tbody tr:hover { background: #fbf8f1; }
html[data-andromeda="true"] .andromede-paie-dense .paie-mat { font-weight: 700; color: #1e293b; white-space: nowrap; }
html[data-andromeda="true"] .andromede-paie-dense .paie-salarie-nom { font-weight: 700; color: #0f172a; }
html[data-andromeda="true"] .andromede-paie-dense .paie-salarie-meta { font-size: 0.7rem; color: #64748b; }
html[data-andromeda="true"] .andromede-paie-dense .paie-badge-site {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-badge-site.site-01 { background: #e0f2fe; color: #0369a1; }
html[data-andromeda="true"] .andromede-paie-dense .paie-badge-site.site-02 { background: #fef3c7; color: #92400e; }
html[data-andromeda="true"] .andromede-paie-dense .paie-badge-stc,
html[data-andromeda="true"] .andromede-paie-dense .paie-badge-rib {
  display: inline-block;
  padding: 0 5px;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 750;
  background: #fef3c7;
  color: #92400e;
}
html[data-andromeda="true"] .andromede-paie-dense .mute { color: #94a3b8; }
html[data-andromeda="true"] .andromede-paie-dense .neg { color: #dc2626; font-weight: 650; }
html[data-andromeda="true"] .andromede-paie-dense .warn { color: #c2410c; font-weight: 650; }
html[data-andromeda="true"] .andromede-paie-dense .primes { color: #4338ca; }
html[data-andromeda="true"] .andromede-paie-dense .paie-net { font-weight: 800; color: #166534; }
html[data-andromeda="true"] .andromede-paie-dense .paie-table td.num small {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-mode {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-mode.virement { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
html[data-andromeda="true"] .andromede-paie-dense .paie-mode.espece { border-color: #fde68a; background: #fffbeb; color: #92400e; }
html[data-andromeda="true"] .andromede-paie-dense .paie-mode:disabled { opacity: 0.55; cursor: not-allowed; }
html[data-andromeda="true"] .andromede-paie-dense .paie-statut {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-statut.brouillon { background: #fef9c3; color: #854d0e; }
html[data-andromeda="true"] .andromede-paie-dense .paie-statut.scelle { background: #dcfce7; color: #14532d; }
html[data-andromeda="true"] .andromede-paie-dense .paie-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-actions .ghost,
html[data-andromeda="true"] .andromede-paie-dense .paie-lien-pdf {
  min-height: 28px;
  padding: 3px 8px;
  font-size: 0.72rem;
  border-radius: 6px;
  text-decoration: none;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-col-actions { text-align: right; white-space: nowrap; }
html[data-andromeda="true"] .andromede-paie-dense .paie-btn-verrou,
html[data-andromeda="true"] .andromede-paie-dense .paie-btn-deverrou {
  min-width: 34px;
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid #86efac;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 800;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-btn-deverrou {
  border-color: #fdba74;
  background: #fff7ed;
  color: #9a3412;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-badge-salaire0 {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  font-size: 0.68rem;
  font-weight: 800;
  vertical-align: middle;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-base-zero {
  color: #b91c1c !important;
  font-weight: 800;
}
html[data-andromeda="true"] .andromede-paie-dense tr.paie-ligne-alerte {
  background: #fff7ed;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-alerte-base0 {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #fdba74;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.84rem;
  font-weight: 650;
}
html[data-andromeda="true"] .andromede-paie-dense .paie-nss-manquant {
  color: #b45309;
  font-weight: 750;
}

@media (max-width: 1200px) {
  html[data-andromeda="true"] .andromede-paie-dense .paie-kpi-grille {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  html[data-andromeda="true"] .andromede-paie-dense .paie-criteres-filtres {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  html[data-andromeda="true"] .andromede-paie-dense .paie-kpi-grille,
  html[data-andromeda="true"] .andromede-paie-dense .paie-criteres-filtres {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ChronoSchool intégré : une coquille Andromède, pas d'app imbriquée */
html[data-andromeda="true"].chronoschool-plein .andromede-contexte {
  display: none !important;
}
html[data-andromeda="true"].chronoschool-plein .andromeda-zone {
  overflow: hidden;
}
html[data-andromeda="true"].chronoschool-plein .andromeda-content.main-container,
html[data-andromeda="true"].chronoschool-plein #ecran[data-ecran="rh-chronoschool"] {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
html[data-andromeda="true"] .chronoschool-shell {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  background: #f8fafc;
}
html[data-andromeda="true"] .chronoschool-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  border-bottom: 1px solid #dbe4ee;
  background: #fff;
  flex-shrink: 0;
}
html[data-andromeda="true"] .chronoschool-toolbar-note {
  margin: 0;
  font-size: 0.78rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-andromeda="true"] .chronoschool-toolbar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
html[data-andromeda="true"] .chronoschool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
}
html[data-andromeda="true"] .chronoschool-btn.primaire {
  background: #0f3d38;
  border-color: #0f3d38;
  color: #fff;
}
html[data-andromeda="true"] .chronoschool-frame {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  border: 0;
  background: #f8fafc;
}

/* Pointages : nom contenu dans sa colonne, filtres sur une ligne, cellules alignées. */
@media (min-width: 769px) {
  html[data-andromeda="true"] #ecran[data-ecran="rh-pointage"] .pointage-barre-filtres {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    align-items: center;
  }
}
html[data-andromeda="true"] #ecran[data-ecran="rh-pointage"] .pointage-barre-filtres .propositions:empty {
  display: none !important;
}
html[data-andromeda="true"] #ecran[data-ecran="rh-pointage"] .pointage-barre-filtres > .feuille-barre {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
html[data-andromeda="true"] #ecran[data-ecran="rh-pointage"] .table-pointages th,
html[data-andromeda="true"] #ecran[data-ecran="rh-pointage"] .table-pointages td {
  vertical-align: middle;
}
html[data-andromeda="true"] #ecran[data-ecran="rh-pointage"] .table-pointages td.col-nom {
  width: 11.5rem;
  max-width: 11.5rem;
  overflow: hidden;
}
html[data-andromeda="true"] #ecran[data-ecran="rh-pointage"] .table-pointages .pointage-nom {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: transparent;
}
html[data-andromeda="true"] #ecran[data-ecran="rh-pointage"] .table-pointages .col-poste {
  min-width: 9rem;
  max-width: 14rem;
  line-height: 1.25;
}
html[data-andromeda="true"] #ecran[data-ecran="rh-pointage"] .table-pointages .col-heures,
html[data-andromeda="true"] #ecran[data-ecran="rh-pointage"] .table-pointages .col-heure,
html[data-andromeda="true"] #ecran[data-ecran="rh-pointage"] .table-pointages .col-ecart {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-align: end;
}
html[data-andromeda="true"] #ecran[data-ecran="rh-pointage"] .table-pointages .col-etat {
  white-space: nowrap;
}
.pointage-nom-bulle {
  position: fixed;
  z-index: 80;
  max-width: min(240px, calc(100vw - 16px));
  padding: 6px 10px;
  background: #fff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  pointer-events: none;
}
.pointage-nom-bulle[hidden] { display: none !important; }
