/* Calendrier d'équipe — l'onglet « Équipe » du Calendrier (modules/equipe.js).
   Ticket JQs1XP5NQfmSXQRvqqi4, plan du 07/10/2026, lots 1 et 2.
   Teintes : or pâle = vacances, gris = absent (motif privé), vert = ailleurs
   (télétravail, déplacement, formation), bleu = événement ; hachures = à
   confirmer ou férié. Jamais la couleur seule : chaque bande porte son icône
   et son mot. Tout passe par les variables du thème (--gs-*), sombre compris. */

.eq-root { position: relative; }
.eq-root[hidden] { display: none; }
#reunions-view.rn-mode-equipe > :not(.eq-root) { display: none !important; }
:is(.eq-root, .eq-sheet, .eq-mes, .eq-declarer, .eq-horaire, .eq-vacances) .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.eq-root, .eq-sheet, .eq-horaire, .eq-vacances {
  --eq-vac: #F5EAD0; --eq-vac-bd: #D9BF86; --eq-vac-ink: #6A4E12;
  --eq-abs: #ECE8E1; --eq-abs-bd: #CBC2B2; --eq-abs-ink: #49433A;
  --eq-ail: #E3EDDF; --eq-ail-bd: #A6C29B; --eq-ail-ink: #2E5127;
  --eq-evt: #E2ECF8; --eq-evt-bd: #A8BFDF; --eq-evt-ink: #274A7A;
  --eq-hachure: rgba(40, 34, 24, .07);
  --eq-ferie: rgba(168, 134, 63, .14);
  /* Horaires : habitude (pâle), jour non travaillé, présentiel ou heures changés (lavande : ni l'or des vacances ni le bleu des événements). */
  --eq-hab: #F1F6EF; --eq-hab-bd: #C9DBC1; --eq-hab-ink: #4F6A46;
  --eq-off: #F4F3F0; --eq-off-bd: #DDD8CE; --eq-off-ink: #6F695E;
  --eq-bur: #F0EBF7; --eq-bur-bd: #C6B5DE; --eq-bur-ink: #4B3A6B;
}
body[data-gtheme="dark"] :is(.eq-root, .eq-sheet, .eq-horaire, .eq-vacances) {
  --eq-vac: #4A3D20; --eq-vac-bd: #7A6532; --eq-vac-ink: #F3E3BC;
  --eq-abs: #3A3631; --eq-abs-bd: #5B554C; --eq-abs-ink: #E6E0D6;
  --eq-ail: #2C3F2A; --eq-ail-bd: #4E6B49; --eq-ail-ink: #D5E9CF;
  --eq-evt: #24344A; --eq-evt-bd: #42597A; --eq-evt-ink: #D2E1F5;
  --eq-hachure: rgba(255, 255, 255, .07);
  --eq-ferie: rgba(221, 203, 164, .12);
  --eq-hab: #253222; --eq-hab-bd: #3C5136; --eq-hab-ink: #C4D9BC;
  --eq-off: #2F2C28; --eq-off-bd: #4A4640; --eq-off-ink: #BDB6AA;
  --eq-bur: #2F2740; --eq-bur-bd: #54467A; --eq-bur-ink: #DDD2F0;
}

/* ── En-tête : l'équipe, « Ma semaine | Équipe », déclarer ─────────────── */
.eq-head .eq-titre { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.eq-head .eq-titre h1 { margin: 0; }
.eq-select { position: relative; display: inline-flex; }
.eq-select select {
  max-width: 260px; min-height: 36px; padding: 0 30px 0 10px; border: 1px solid var(--gs-line); border-radius: 9px;
  background: var(--gs-panel); color: var(--gs-ink); font: 600 13px 'Inter', sans-serif; appearance: none; cursor: pointer;
}
.eq-select::after { content: '▾'; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--gs-ink-dim); font-size: 12px; }
/* À l'ordinateur, le titre dit déjà l'équipe : le sélecteur n'en garde que le ▾ (E1). */
.eq-head .eq-select:not(.compact) select { width: 36px; padding: 0; color: transparent; }
.eq-head .eq-select:not(.compact)::after { right: auto; left: 50%; transform: translate(-50%, -50%); }
.eq-select select :is(option, optgroup) { color: var(--gs-ink); background: var(--gs-panel); }
:is(.eq-root, .eq-sheet, .eq-declarer, .eq-mes, .eq-horaire, .eq-vacances) [tabindex="-1"]:focus { outline: none; }
.eq-select select:focus-visible, .eq-scope button:focus-visible, .eq-bande:focus-visible, .eq-seg button:focus-visible { outline: 2px solid var(--gs-accent); outline-offset: 2px; }
.eq-head-actions { align-items: center; }
.eq-head-actions > .btn { min-height: 44px; border-radius: 10px; }
.eq-head-actions { flex-wrap: wrap; justify-content: flex-end; }
.eq-btn-declarer .eq-lbl-court { display: none; }
.eq-scope { display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--gs-panel-2); border: 1px solid var(--gs-line); }
.eq-scope button {
  min-height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent;
  color: var(--gs-ink-dim); font: 650 14px 'Inter', sans-serif; cursor: pointer; white-space: nowrap;
}
.eq-scope button.on { background: var(--gs-panel); color: var(--gs-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.rn-scope-slot:empty { display: none; }

/* ── Barre : Semaine, Mois, Gérer ; navigation ──────────────────────────── */
.eq-toolbar { flex-wrap: wrap; }
.eq-toolbar.sans-onglets { justify-content: flex-end; }
.eq-nav { display: flex; align-items: center; gap: 4px; }
.eq-nav > strong { margin-right: 8px; font-size: 14px; white-space: nowrap; }
.eq-toolbar-titre { padding-right: 8px; font-size: 14px; }
.eq-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 5px; padding: 0 6px; border-radius: 999px; background: var(--gs-crit); color: #fff; font-size: 11.5px; font-weight: 700; }

.eq-legende { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 4px 10px; padding: 0; color: var(--gs-ink-dim); font-size: 12.5px; }
.eq-legende li { display: inline-flex; align-items: center; gap: 6px; }
.eq-pastille { display: inline-grid; place-items: center; width: 24px; height: 15px; border: 1px solid; border-radius: 4px; font-size: 9px; }
.eq-pastille.c-pending { background: repeating-linear-gradient(135deg, transparent 0 4px, var(--eq-hachure) 4px 8px); border-style: dashed; border-color: var(--gs-accent); }
.eq-pastille.c-ferie { background: repeating-linear-gradient(135deg, var(--eq-ferie) 0 4px, transparent 4px 8px); border-color: var(--gs-line); }

/* Couleurs par catégorie (bandes, pastilles, cellules, étiquettes). */
:is(.eq-bande, .eq-pastille, .eq-pill, .eq-g-i, .eq-g-table td).c-vac { background-color: var(--eq-vac); border-color: var(--eq-vac-bd); color: var(--eq-vac-ink); }
:is(.eq-bande, .eq-pastille, .eq-pill, .eq-g-i, .eq-g-table td).c-abs { background-color: var(--eq-abs); border-color: var(--eq-abs-bd); color: var(--eq-abs-ink); }
:is(.eq-bande, .eq-pastille, .eq-pill, .eq-g-i, .eq-g-table td).c-ail { background-color: var(--eq-ail); border-color: var(--eq-ail-bd); color: var(--eq-ail-ink); }
:is(.eq-bande, .eq-pastille, .eq-pill, .eq-g-i).c-evt { background-color: var(--eq-evt); border-color: var(--eq-evt-bd); color: var(--eq-evt-ink); }
:is(.eq-bande, .eq-pastille, .eq-pill, .eq-g-i, .eq-g-table td).c-hab { background-color: var(--eq-hab); border-color: var(--eq-hab-bd); color: var(--eq-hab-ink); }
:is(.eq-bande, .eq-pastille, .eq-pill, .eq-g-i, .eq-g-table td).c-off { background-color: var(--eq-off); border-color: var(--eq-off-bd); color: var(--eq-off-ink); }
:is(.eq-bande, .eq-pastille, .eq-pill, .eq-g-i, .eq-g-table td).c-bur { background-color: var(--eq-bur); border-color: var(--eq-bur-bd); color: var(--eq-bur-ink); }
:is(.eq-bande, .eq-pill, .eq-g-table td).pending {
  background-image: repeating-linear-gradient(135deg, transparent 0 6px, var(--eq-hachure) 6px 12px);
  border-style: dashed;
}
.eq-pied-j i, .eq-strip-j em i, .eq-cal-j em i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
:is(.eq-pied-j, .eq-strip-j, .eq-cal-j) i.c-vac { background: #C9A24E; }
:is(.eq-pied-j, .eq-strip-j, .eq-cal-j) i.c-ail { background: #6E8A63; }
.eq-pied-j i.c-off { background: #B5AE9F; }

/* ── Grille : semaine et mois ───────────────────────────────────────────── */
.eq-grille { border: 1px solid var(--gs-line); border-radius: 16px; background: var(--gs-panel); box-shadow: var(--ux-shadow); overflow: hidden; }
.eq-row {
  position: relative; display: grid; grid-template-columns: var(--eq-cols);
  grid-template-rows: repeat(var(--lanes, 1), minmax(46px, auto)); border-bottom: 1px solid var(--gs-line);
}
.eq-row:last-child { border-bottom: 0; }
.eq-nom {
  grid-column: 1; grid-row: 1 / -1; display: flex; align-items: center; gap: 10px; min-width: 0;
  padding: 8px 12px; border-right: 1px solid var(--gs-line); background: var(--gs-panel); z-index: 2;
}
.eq-nom > span { min-width: 0; }
.eq-nom b { display: block; color: var(--gs-ink); font-size: 14px; font-weight: 650; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eq-nom small { display: block; color: var(--gs-ink-faint); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eq-coin { color: var(--gs-ink-faint); font-size: 10.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
.eq-coin small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.eq-nom-evt { color: var(--gs-ink-faint); font-size: 10.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.eq-fond { grid-row: 1 / -1; border-right: 1px solid var(--gs-line); }
.eq-fond:last-of-type { border-right: 0; }
.eq-fond.we { background: color-mix(in srgb, var(--gs-panel-2) 55%, transparent); }
.eq-fond.ferie { background-image: repeating-linear-gradient(135deg, var(--eq-ferie) 0 6px, transparent 6px 12px); }
.eq-fond.today { background-color: color-mix(in srgb, var(--gs-accent) 7%, transparent); box-shadow: inset 2px 0 0 color-mix(in srgb, var(--gs-ink) 55%, transparent); }
.eq-row-tete { background: color-mix(in srgb, var(--gs-panel-2) 45%, var(--gs-panel)); }
.eq-row-tete .eq-nom { background: transparent; }
.eq-jour {
  grid-row: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 9px 10px;
  border-right: 1px solid var(--gs-line); color: var(--gs-ink-dim); font-size: 10.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
}
.eq-jour b { color: var(--gs-ink); font: 700 18px/1.1 'Outfit', sans-serif; letter-spacing: 0; text-transform: none; }
.eq-jour small { color: var(--gs-accent); font-size: 11px; font-weight: 650; letter-spacing: 0; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eq-jour.today b { display: inline-grid; place-items: center; min-width: 28px; padding: 2px 6px; border-radius: 7px; background: var(--gs-ink); color: var(--gs-panel); width: max-content; }
.eq-jour.ferie { background-image: repeating-linear-gradient(135deg, var(--eq-ferie) 0 6px, transparent 6px 12px); }
.eq-jour.mini { align-items: center; padding: 6px 0; font-size: 9.5px; }
.eq-jour.mini b { font-size: 13px; }
.eq-jour.mini.today b { min-width: 22px; padding: 1px 3px; }

.eq-bande {
  z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; column-gap: 5px;
  min-width: 0; margin: 4px 3px; padding: 4px 8px; border: 1px solid; border-radius: 8px;
  font: 650 13px/1.25 'Inter', sans-serif; text-align: left; cursor: pointer; overflow: hidden;
}
.eq-bande:hover { filter: brightness(.97); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.eq-bande-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eq-bande small { grid-column: 1 / -1; overflow: hidden; color: inherit; font-size: 11.5px; font-weight: 450; opacity: .85; text-overflow: ellipsis; white-space: nowrap; }
.eq-bande.mode { border-style: dotted; }
/* L'habitude se répète : plus pâle et plus légère qu'une absence (plan, E1). */
.eq-bande-h.c-hab, .eq-bande-h.c-off { font-weight: 550; box-shadow: none; }
.eq-bande-h.c-hab:not(.pending), .eq-bande-h.c-off:not(.pending) { border-style: solid; border-color: transparent; }
.eq-mois .eq-bande { margin: 5px 1px; padding: 2px 5px; font-size: 11.5px; border-radius: 6px; justify-content: start; }
.eq-mois .eq-row { grid-template-rows: repeat(var(--lanes, 1), minmax(36px, auto)); }
.eq-vide-evt { grid-row: 1; align-self: center; margin: 0; padding: 0 12px; color: var(--gs-ink-faint); font-size: 12.5px; z-index: 1; }
.eq-vide { margin: 0; padding: 22px; color: var(--gs-ink-dim); }
.eq-row-pied { background: color-mix(in srgb, var(--gs-panel-2) 45%, var(--gs-panel)); }
.eq-row-pied .eq-nom { background: transparent; }
.eq-pied-j { grid-row: 1; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 6px 10px; border-right: 1px solid var(--gs-line); color: var(--gs-ink-dim); font-size: 12px; }
.eq-pied-j span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.eq-pied-j b { color: var(--gs-ink); }
.eq-pied-j.mini { align-items: center; padding: 6px 1px; background: var(--eq-vac); }
.eq-pied-j.mini.pending { background: repeating-linear-gradient(135deg, transparent 0 4px, var(--eq-hachure) 4px 8px); }
.eq-defile { overflow-x: auto; border-radius: 16px; box-shadow: var(--ux-shadow); }
.eq-defile .eq-grille { box-shadow: none; min-width: 1060px; }
.eq-mois .eq-nom { position: sticky; left: 0; }

/* Le nom d'une personne ouvre son horaire. */
.eq-nom-btn { display: flex; align-items: center; gap: 10px; width: calc(100% + 12px); min-width: 0; margin: -4px -6px; padding: 4px 6px; border: 0; border-radius: 9px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.eq-nom-btn:hover { background: var(--gs-panel-2); }
.eq-nom-btn:focus-visible, .eq-chip:focus-visible, .eq-g-lien:focus-visible, .eq-lien:focus-visible { outline: 2px solid var(--gs-accent); outline-offset: 1px; }
.eq-nom-btn > span { min-width: 0; }
button.eq-chip { background: var(--gs-panel); color: var(--gs-ink); font: inherit; font-size: 13.5px; cursor: pointer; }
button.eq-chip:hover { background: var(--gs-panel-2); }
.eq-g-lien { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.eq-g-lien:hover b { text-decoration: underline; }
.eq-lien { padding: 0; border: 0; background: none; color: var(--gs-accent); font: inherit; font-weight: 650; text-decoration: underline; cursor: pointer; }

/* Avatars */
.eq-av { flex: none; width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 50%; object-fit: cover; color: #fff; font-size: 11.5px; font-weight: 700; }
.eq-av.mini { width: 24px; height: 24px; font-size: 9.5px; }

/* ── Détail d'une absence (bulle à l'ordinateur) ────────────────────────── */
.eq-pop {
  position: absolute; z-index: 40; width: min(340px, calc(100% - 16px)); padding: 16px 18px; border: 1px solid var(--gs-line);
  border-radius: 14px; background: var(--gs-panel); box-shadow: 0 18px 50px -18px rgba(37, 31, 22, .45); color: var(--gs-ink);
}
.eq-pop h3, .eq-sheet h3 { margin: 0 34px 8px 0; font: 700 18px/1.3 'Outfit', sans-serif; }
.eq-pop-x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--gs-ink-dim); font-size: 15px; cursor: pointer; }
.eq-pop-x:hover { background: var(--gs-panel-2); }
.eq-d-qui { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; }
.eq-d-quand { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.eq-d-etat { margin: 0 0 6px; color: var(--gs-ink-dim); font-size: 13px; }
.eq-d-etat.pending { color: var(--gs-warn); font-weight: 600; }
.eq-d-note { margin: 6px 0 0; color: var(--gs-ink-dim); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.eq-d-note.discret { color: var(--gs-ink-faint); }
.eq-d-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.eq-d-actions .btn { min-height: 40px; padding: 8px 12px; border-radius: 9px; font-size: 13.5px; }
:is(.eq-root, .eq-sheet, .eq-mes, .eq-declarer, .eq-horaire, .eq-vacances) .btn-danger-soft { border: 1px solid color-mix(in srgb, var(--gs-crit) 55%, transparent); background: var(--gs-panel); color: var(--gs-crit); }
:is(.eq-root, .eq-sheet, .eq-mes, .eq-declarer, .eq-horaire, .eq-vacances) .btn-danger-soft:hover { background: color-mix(in srgb, var(--gs-crit) 8%, var(--gs-panel)); }
:is(.eq-root, .eq-sheet) .btn-approve { border: 0; background: var(--gs-ok); color: #fff; }
:is(.eq-root, .eq-sheet) .btn-approve:hover { filter: brightness(.95); }

/* ── Gérer (E7) ─────────────────────────────────────────────────────────── */
.eq-gerer { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.6fr); gap: 14px; align-items: start; }
.eq-gerer.mobile { grid-template-columns: 1fr; }
.eq-g-liste { border: 1px solid var(--gs-line); border-radius: 16px; background: var(--gs-panel); box-shadow: var(--ux-shadow); overflow: hidden; }
.eq-g-liste > header { padding: 16px 18px; border-bottom: 1px solid var(--gs-line); }
.eq-g-liste > header span, .eq-g-detail > header span { color: var(--gs-ink-faint); font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.eq-g-liste > header h2 { margin: 4px 0 0; font: 700 18px 'Outfit', sans-serif; }
.eq-g-liste ul { list-style: none; margin: 0; padding: 6px 0; }
.eq-g-item {
  width: 100%; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 60px;
  padding: 9px 16px; border: 0; border-left: 3px solid transparent; background: transparent; color: var(--gs-ink); text-align: left; cursor: pointer; font: inherit;
}
.eq-g-item:hover { background: var(--gs-panel-2); }
.eq-g-item.on { border-left-color: var(--gs-accent); background: var(--gs-accent-soft); }
.eq-g-item b { display: block; font-size: 14.5px; }
.eq-g-item small { display: block; color: var(--gs-ink-dim); font-size: 12.5px; line-height: 1.4; }
.eq-g-i { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid; border-radius: 10px; font-size: 17px; }
.eq-g-liste h3 { margin: 6px 18px 4px; color: var(--gs-ink-faint); font-size: 10.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.eq-g-info { padding: 0 18px 6px !important; }
.eq-g-info li { padding: 5px 0; color: var(--gs-ink-dim); font-size: 13px; }
.eq-g-pied { margin: 0; padding: 12px 18px 16px; color: var(--gs-ink-faint); font-size: 12.5px; line-height: 1.5; }
.eq-g-panneau { min-height: 420px; }
.eq-g-detail { padding: 18px 20px 6px; }
.eq-g-detail > header { position: relative; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--gs-line); }
.eq-g-detail > header h2 { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font: 700 21px/1.25 'Outfit', sans-serif; }
.eq-g-detail > header .eq-pill { position: absolute; top: 0; right: 0; }
.eq-g-quand { margin: 0 0 6px; font-size: 15px; }
.eq-g-note { margin: 0 0 10px; color: var(--gs-ink-dim); font-size: 14px; overflow-wrap: anywhere; }
.eq-g-detail h3 { margin: 14px 0 8px; color: var(--gs-ink-faint); font-size: 10.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.eq-g-table-wrap { overflow-x: auto; border: 1px solid var(--gs-line); border-radius: 12px; }
.eq-g-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.eq-g-table th, .eq-g-table td { padding: 8px 10px; border-bottom: 1px solid var(--gs-line); text-align: center; white-space: nowrap; }
.eq-g-table thead th { color: var(--gs-ink-faint); font-size: 10.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.eq-g-table tbody th { text-align: left; font-weight: 600; }
.eq-g-table tr:last-child > * { border-bottom: 0; }
.eq-g-table td.pending { font-weight: 650; }
.eq-g-table td.ferie { color: var(--gs-accent); }
.eq-g-table tr.autres > * { color: var(--gs-ink-faint); font-weight: 450; }
.eq-g-alerte { margin: 12px 0 8px; padding: 11px 14px; border-radius: 10px; background: color-mix(in srgb, var(--gs-warn) 13%, var(--gs-panel)); color: var(--gs-ink); font-size: 13.5px; line-height: 1.5; }
.eq-g-solde { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: var(--gs-panel-2); color: var(--gs-ink-dim); font-size: 13px; }
.eq-g-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.eq-g-actions .btn { min-height: 44px; padding: 8px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 650; }
.eq-g-refus { display: flex; flex-direction: column; gap: 8px; }
.eq-g-refus label { color: var(--gs-ink); font-size: 14px; font-weight: 600; letter-spacing: normal; text-transform: none; }
.eq-g-refus textarea { width: 100%; min-height: 80px; padding: 10px 12px; border: 1px solid var(--gs-line); border-radius: 10px; background: var(--gs-panel); color: var(--gs-ink); font: inherit; font-size: 16px; }
.eq-g-detail .eq-g-pied { padding: 12px 0 14px; }

/* Étiquettes */
.eq-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border: 1px solid; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 650; white-space: nowrap; }

/* ── Mes absences ───────────────────────────────────────────────────────── */
.eq-mes-liste { list-style: none; margin: 0 0 12px; padding: 0; }
.eq-mes-liste li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gs-line); }
.eq-mes-liste li.focus { background: var(--gs-accent-soft); border-radius: 10px; padding-inline: 8px; }
.eq-mes-liste small { display: block; margin-top: 3px; color: var(--gs-ink-dim); font-size: 13px; overflow-wrap: anywhere; }
.eq-mes-liste .btn { min-height: 40px; }
.eq-etat { font-style: normal; font-weight: 650; }
.eq-etat.e-pending { color: var(--gs-warn); }
.eq-etat.e-approved, .eq-etat.e-declared { color: var(--gs-ok); }
.eq-etat.e-rejected { color: var(--gs-crit); }
.eq-etat.e-cancelled { color: var(--gs-ink-faint); }

/* ── Déclarer (E5) ──────────────────────────────────────────────────────── */
.eq-declarer .rn-editor-head > div { min-width: 0; }
.eq-dec-qui { margin: 3px 0 0; color: var(--gs-ink-dim); font-size: 13px; }
.eq-declarer fieldset { margin: 0 0 16px; padding: 0; border: 0; }
.eq-declarer legend { margin-bottom: 8px; }
.eq-declarer .rn-types { display: flex; flex-wrap: wrap; gap: 6px; }
.eq-declarer .rn-type { min-height: 42px; padding: 8px 12px; border: 1px solid var(--gs-line); border-radius: 999px; background: var(--gs-panel); color: var(--gs-ink); font-size: 14px; cursor: pointer; }
.eq-declarer .rn-type.on { border-color: var(--gs-ink); background: var(--gs-ink); color: var(--gs-panel); }
.eq-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--gs-line); border-radius: 11px; background: var(--gs-panel-2); }
.eq-seg button { min-height: 38px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--gs-ink-dim); font: 650 13.5px 'Inter', sans-serif; cursor: pointer; }
.eq-seg button.on { background: var(--gs-panel); color: var(--gs-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.eq-dec-duree .eq-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.eq-dec-duree .eq-seg button { min-height: 44px; padding: 4px 8px; white-space: normal; line-height: 1.2; }
.eq-dec-demi { display: flex; gap: 18px; margin-top: 10px; }
.eq-dec-demi label { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 500 !important; }
.eq-dec-heures { margin-top: 10px; }
.eq-dec-resume:not(:empty) { margin: 0 0 10px; padding: 11px 14px; border-radius: 10px; background: var(--eq-ail, #E3EDDF); color: var(--gs-ink); font-size: 14px; line-height: 1.5; }
.eq-declarer { --eq-ail: #E3EDDF; --eq-vac: #F5EAD0; }
body[data-gtheme="dark"] .eq-declarer { --eq-ail: #2C3F2A; --eq-vac: #4A3D20; }
.eq-dec-resume.erreur:not(:empty) { background: color-mix(in srgb, var(--gs-crit) 12%, var(--gs-panel)); }
.eq-dec-chevauche p { margin: 0 0 10px; padding: 11px 14px; border-radius: 10px; background: var(--eq-vac); color: var(--gs-ink); font-size: 14px; line-height: 1.5; }
.eq-dec-appro:not(:empty) { margin: 6px 0 14px; }
.eq-dec-appro h3 { margin: 0 0 6px; color: var(--gs-ink-faint); font-size: 11px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.eq-dec-appro p { margin: 0; font-size: 14.5px; }
.eq-dec-appro small { display: block; color: var(--gs-ink-dim); font-size: 13px; }
.eq-dec-declaration { padding: 11px 14px; border-radius: 10px; background: var(--eq-ail); }
.eq-dec-mute { align-items: flex-start !important; margin: 4px 0 10px; }
.eq-dec-mute small { display: block; color: var(--gs-ink-dim); font-size: 12.5px; font-weight: 400; }
.eq-dec-voit { margin: 4px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--gs-panel-2); color: var(--gs-ink-dim); font-size: 13.5px; }
/* Ce qui ne se déclare plus ici renvoie où ça se dit (maquettes 5, E16 d). */
.eq-dec-renvoi { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 0; padding: 9px 12px; border: 1px solid var(--gs-line); border-radius: 12px; background: var(--gs-panel-2); color: var(--gs-ink-dim); font-size: 13.5px; line-height: 1.45; }
.eq-dec-renvoi .eq-lien { min-height: 0; padding: 0; color: var(--gs-ink); line-height: inherit; vertical-align: baseline; }
.eq-dec-tele { margin-top: 6px; }
:is(.eq-declarer, .eq-horaire, .eq-vacances) .rn-editor-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px 20px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--gs-line); }
.eq-dec-err:empty { display: none; }
.eq-dec-err { flex-basis: 100%; margin: 0; color: var(--gs-crit); font-size: 14px; }
.eq-dec-rien { margin-right: auto; color: var(--gs-ink-faint); font-size: 12.5px; }
/* La note d'une demande vit dans le pied, à côté d'« Envoyer » : au bas du
   formulaire, sous le pli, personne ne la voyait (Thierry, 09/10/2026). Le
   libellé et le champ tiennent sur une ligne quand la place le permet. */
.eq-note-pied { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; }
.rn-editor .eq-note-pied { margin-bottom: 0; }
.eq-note-pied label { flex: 0 1 auto; font-size: 13.5px; }
.rn-editor .eq-note-pied input { flex: 1 1 240px; width: auto; }
.eq-h-attente .eq-h-ta-note { margin: -4px 0 10px; font-size: 14px; color: var(--gs-ink-dim); }

/* ── Mon horaire (modules/equipe-horaire.js, demande de Thierry du 08/10/2026) ── */
.eq-horaire .rn-editor-head > div { min-width: 0; }
.eq-h-onglets { padding: 0 20px 2px; }
.eq-h-onglets .eq-seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.eq-h-onglets .eq-seg button { min-height: 42px; font-size: 14px; }
.eq-h-intro { margin: 0 0 12px; color: var(--gs-ink-dim); font-size: 14px; line-height: 1.5; }
.eq-h-alerte { margin: 0 0 12px; padding: 11px 14px; border-radius: 10px; background: color-mix(in srgb, var(--gs-warn) 13%, var(--gs-panel)); color: var(--gs-ink); font-size: 14px; line-height: 1.5; }
.eq-h-alerte p { margin: 0 0 10px; }
.eq-h-grille { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; }
.eq-h-ligne {
  display: grid; grid-template-columns: minmax(118px, 1fr) 116px 116px minmax(0, 1.6fr); align-items: center; gap: 8px;
  padding: 7px 10px; border: 1px solid var(--gs-line); border-radius: 12px; background: var(--gs-panel);
}
.eq-h-ligne.off { background: var(--gs-panel-2); }
.eq-h-ligne.change { border-color: var(--gs-accent); box-shadow: inset 3px 0 0 var(--gs-accent); }
.eq-h-ligne.bloque { opacity: .62; }
.eq-h-jour { display: flex; align-items: center; gap: 10px; min-height: 40px; min-width: 0; cursor: pointer; }
.eq-h-jour input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--gs-ink); cursor: pointer; }
.eq-h-jour b { display: block; font-size: 14.5px; font-weight: 650; }
.eq-h-jour small { display: block; color: var(--gs-ink-faint); font-size: 12px; }
.eq-h-ligne input[type="time"] {
  width: 100%; min-height: 40px; padding: 0 6px; border: 1px solid var(--gs-line); border-radius: 9px;
  background: var(--gs-panel); color: var(--gs-ink); font: 500 14.5px 'Inter', sans-serif; color-scheme: light dark;
}
.eq-h-lieu { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.eq-h-lieu button { min-height: 36px; padding: 0 6px; font-size: 13px; white-space: nowrap; }
.eq-h-libre { grid-column: 2 / -1; color: var(--gs-ink-faint); font-size: 13.5px; }
.eq-h-avant { grid-column: 1 / -1; margin: 0; padding-left: 30px; color: var(--gs-ink-dim); font-size: 12.5px; }
.eq-h-section { margin-top: 18px; }
.eq-h-section h3 { margin: 0 0 6px; color: var(--gs-ink-faint); font-size: 11px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.eq-h-histo, .eq-h-demandes ul, .eq-h-demandes-l, .eq-h-lect { list-style: none; margin: 0; padding: 0; }
.eq-h-histo li { padding: 9px 0; border-bottom: 1px solid var(--gs-line); font-size: 13.5px; }
.eq-h-histo small, .eq-h-demandes-l small { display: block; margin-top: 3px; color: var(--gs-ink-dim); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.eq-h-vide { margin: 0; color: var(--gs-ink-faint); font-size: 13.5px; }
.eq-h-demandes li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gs-line); }
.eq-h-demandes li.focus { padding-inline: 8px; border-radius: 10px; background: var(--gs-accent-soft); }
.eq-h-demandes li b { font-size: 14px; }
.eq-h-demandes small { display: block; margin-top: 3px; color: var(--gs-ink-dim); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.eq-h-demandes .btn { min-height: 40px; }
.eq-h-demandes-l li { padding: 9px 0; border-bottom: 1px solid var(--gs-line); font-size: 14px; }
.eq-h-semnav { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 12px; }
.eq-h-semnav strong { min-width: 230px; font-size: 15px; text-align: center; }
.eq-h-semnav .rn-nav:disabled { opacity: .35; cursor: default; }
.eq-h-attente {
  margin-bottom: 12px; padding: 12px 14px; border: 1px dashed var(--gs-accent); border-radius: 12px;
  background: repeating-linear-gradient(135deg, transparent 0 6px, var(--eq-hachure) 6px 12px);
}
.eq-h-attente p { margin: 0; }
.eq-h-attente ul { margin: 6px 0 10px; padding-left: 18px; font-size: 14px; line-height: 1.5; }
.eq-h-lect li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 44px; border-bottom: 1px solid var(--gs-line); font-size: 14px; }
.eq-h-lect li.off span { color: var(--gs-ink-faint); }
.eq-h-lecture .eq-dec-voit { margin: 0 0 8px; }
.eq-h-table td, .eq-h-table th { text-align: left; }
/* Au téléphone, la demande se lit jour par jour, en lignes (le tableau déborde). */
.eq-h-jours-m { list-style: none; margin: 0 0 6px; padding: 0; }
.eq-h-jours-m li { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--gs-line); font-size: 14px; }
.eq-h-jours-m li span { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--gs-ink-dim); }
.eq-h-jours-m small { color: var(--gs-ink-dim); font-size: 13px; }

/* ── Téléphone (E1, E7 au téléphone) ────────────────────────────────────── */
.eq-mobile-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; }
.eq-mobile-bar .eq-seg { flex: none; flex-wrap: nowrap; }
.eq-mobile-bar .eq-select.compact { flex: 1; min-width: 0; }
.eq-select.compact select { width: 100%; max-width: none; min-height: 40px; border: 0; border-radius: 999px; background: var(--gs-ink); color: var(--gs-panel); font-weight: 700; padding-left: 14px; text-overflow: ellipsis; }
.eq-select.compact::after { color: var(--gs-panel); }
.eq-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) repeat(2, minmax(0, .6fr)); gap: 5px; margin-bottom: 14px; }
.eq-strip-j, .eq-cal-j {
  min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 1px solid var(--gs-line); border-radius: 12px; background: var(--gs-panel); color: var(--gs-ink); font: inherit; cursor: pointer; padding: 4px 2px;
}
.eq-strip-j span { color: var(--gs-ink-dim); font-size: 11px; font-weight: 650; }
.eq-strip-j b, .eq-cal-j b { font: 700 17px/1 'Outfit', sans-serif; }
.eq-strip-j em, .eq-cal-j em { display: flex; gap: 2px; min-height: 7px; }
.eq-strip-j.we, .eq-cal-j.we { background: color-mix(in srgb, var(--gs-panel-2) 55%, var(--gs-panel)); }
.eq-strip-j.ferie, .eq-cal-j.ferie { background-image: repeating-linear-gradient(135deg, var(--eq-ferie) 0 5px, transparent 5px 10px); }
.eq-strip-j.today:not(.on), .eq-cal-j.today:not(.on) { box-shadow: inset 0 0 0 1px var(--gs-accent); }
.eq-strip-j.on, .eq-cal-j.on { border-color: var(--gs-ink); background: var(--gs-ink); color: var(--gs-panel); }
.eq-strip-j.on span { color: var(--gs-panel); }
.eq-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 14px; }
.eq-cal-t { text-align: center; color: var(--gs-ink-faint); font-size: 11px; font-weight: 700; }
.eq-cal-j { min-height: 46px; border-radius: 10px; }
.eq-cal-j b { font-size: 14px; }
.eq-cal-j.hors { visibility: hidden; }
.eq-journee h2 { margin: 0; font: 700 21px/1.2 'Outfit', sans-serif; }
.eq-journee > p { margin: 4px 0 8px; color: var(--gs-ink-dim); font-size: 14px; }
.eq-journee h3 { margin: 14px 0 0; padding-bottom: 6px; border-bottom: 1px solid var(--gs-line); color: var(--gs-ink-faint); font-size: 11px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.eq-jlist { list-style: none; margin: 0; padding: 0; }
.eq-jl {
  width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 58px;
  padding: 8px 0; border: 0; border-bottom: 1px solid var(--gs-line); background: transparent; color: var(--gs-ink); font: inherit; text-align: left; cursor: pointer;
}
.eq-jl b { display: block; font-size: 15px; }
.eq-jl small { display: block; color: var(--gs-ink-dim); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eq-jl-i { display: inline-grid; place-items: center; width: 32px; height: 32px; font-size: 18px; }
div.eq-jl { cursor: default; }
.eq-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.eq-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 3px 12px 3px 4px; border: 1px solid var(--gs-line); border-radius: 999px; font-size: 13.5px; }
.eq-tous-la { margin: 16px 0; color: var(--gs-ink-dim); }
.eq-fab {
  position: fixed; right: 16px; bottom: calc(var(--gs-mobile-bottom, 62px) + 16px); z-index: 30; min-height: 52px; padding: 0 20px;
  border: 0; border-radius: 999px; background: var(--gs-ink); color: var(--gs-panel); font: 700 16px 'Inter', sans-serif;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); cursor: pointer;
}

/* Feuille du bas */
.eq-sheet { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; padding: 0; border: 0; background: transparent; color: var(--gs-ink); }
.eq-sheet::backdrop { background: rgba(31, 29, 25, .42); }
.eq-sheet-in { position: relative; max-height: 92dvh; overflow: auto; padding: 10px 18px max(18px, env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: var(--gs-panel); }
.eq-sheet-poignee { display: block; width: 44px; height: 5px; margin: 0 auto 10px; border-radius: 3px; background: var(--gs-line-strong); }
.eq-sheet .eq-d-actions .btn, .eq-sheet .eq-g-actions .btn { flex: 1 1 45%; min-height: 48px; }
.eq-sheet .eq-g-detail { padding: 4px 0 0; }
.eq-sheet .eq-g-detail > header .eq-pill { position: static; margin-top: 8px; }

/* ── Mise en page ───────────────────────────────────────────────────────── */
@media (max-width: 1120px) {
  .eq-gerer { grid-template-columns: minmax(250px, .9fr) minmax(0, 1.4fr); }
}
@media (max-width: 760px) {
  .eq-head { flex-direction: column; align-items: stretch; gap: 10px; }
  .eq-head > div:first-child { display: none; }
  .eq-head-actions { width: 100%; display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
  .eq-head-actions .eq-scope { width: 100%; grid-column: 1 / -1; }
  .eq-head-actions .eq-scope button { flex: 1; }
  /* Quatre boutons sur deux rangées (maquettes 5, E16 a) : « Mes vacances » à côté de « Mes absences ». */
  .eq-head-actions :is(.eq-btn-mes, .eq-btn-vacances, .eq-btn-horaire, .eq-btn-declarer) { min-height: 44px; padding-inline: 10px; font-size: 13.5px; }
  .eq-btn-declarer .eq-lbl-long { display: none; }
  .eq-btn-declarer .eq-lbl-court { display: inline; }
  .eq-toolbar { display: flex !important; justify-content: space-between; padding: 4px; }
  .eq-toolbar .rn-filter-tabs { display: flex; width: auto; }
  .eq-toolbar.mobile:not(.sans-onglets) .eq-nav > strong { display: none; }
  .eq-toolbar.mobile.sans-onglets .eq-nav { width: 100%; }
  .eq-toolbar.mobile.sans-onglets .eq-nav > strong { flex: 1; font-size: 13.5px; }
  .eq-root { padding-bottom: 70px; }
  .eq-pop { display: none; }
}
@media (max-width: 560px) {
  .eq-dec-rien { display: none; }
  :is(.eq-declarer, .eq-horaire, .eq-vacances) .rn-editor-actions > .btn { flex: 1 1 0; }
  .eq-h-onglets { padding-inline: 16px; }
  .eq-h-ligne { grid-template-columns: 1fr 1fr; }
  .eq-h-jour, .eq-h-lieu, .eq-h-libre { grid-column: 1 / -1; }
  .eq-h-avant { padding-left: 0; }
  .eq-h-semnav strong { flex: 1; min-width: 0; }
  .eq-h-lect li { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .rn-scope-slot { width: 100%; }
  .rn-scope-slot .eq-scope { width: 100%; }
  .rn-scope-slot .eq-scope button { flex: 1; }
}

/* ── Aujourd'hui : « Ton équipe aujourd'hui » (today-equipe.js, E3) ─────── */
.today-equipe { margin: 0 0 12px; padding: 16px 18px; border: 1px solid var(--gs-line); border-radius: 16px; background: var(--gs-panel); box-shadow: var(--ux-shadow, none); color: var(--gs-ink); }
.today-equipe.hidden { display: none; }
.today-equipe header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.today-equipe header span { color: var(--gs-ink-faint); font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.today-equipe h3 { margin: 4px 0 0; font: 700 18px/1.25 'Outfit', sans-serif; }
.today-equipe h4 { margin: 12px 0 0; padding-bottom: 5px; border-bottom: 1px solid var(--gs-line); color: var(--gs-ink-faint); font-size: 10.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.today-equipe ul { list-style: none; margin: 0; padding: 0; }
.today-equipe li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--gs-line); }
.today-equipe li:last-child { border-bottom: 0; }
.today-equipe li b { display: block; font-size: 14px; }
.today-equipe li small { display: block; color: var(--gs-ink-dim); font-size: 12.5px; overflow-wrap: anywhere; }
.te-av { width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; font-size: 10.5px; font-weight: 700; }
.te-lien { min-height: 36px; padding: 0 10px; border: 1px solid var(--gs-line); border-radius: 9px; background: var(--gs-panel); color: var(--gs-ink); font: 600 12.5px 'Inter', sans-serif; white-space: nowrap; cursor: pointer; }
.te-moi { margin: 0 0 4px; padding: 9px 12px; border-radius: 10px; background: color-mix(in srgb, #3a5a8c 10%, var(--gs-panel)); font-size: 13.5px; }
.te-vide, .te-demain { margin: 8px 0 0; color: var(--gs-ink-dim); font-size: 13px; line-height: 1.5; }
.te-attend { width: 100%; margin-top: 12px; padding: 10px 12px; border: 0; border-radius: 10px; background: color-mix(in srgb, var(--gs-warn) 14%, var(--gs-panel)); color: var(--gs-ink); font: 500 13.5px/1.45 'Inter', sans-serif; text-align: left; cursor: pointer; }
.te-attend b { text-decoration: underline; }

/* ── « Valide ton horaire » (plan 3.10, lot 10 ; today-equipe.js, equipe-horaire.js, Gérer) ── */
.today-horaire { margin: 0 0 14px; padding: 14px 16px 16px; border: 1px solid color-mix(in srgb, var(--gs-crit) 32%, var(--gs-line)); border-radius: 16px; background: linear-gradient(180deg, color-mix(in srgb, var(--gs-crit) 6%, var(--gs-panel)), var(--gs-panel) 60%); box-shadow: var(--ux-shadow, none); color: var(--gs-ink); }
.today-horaire.hidden { display: none; }
.today-horaire .th-eb { display: flex; align-items: center; gap: 7px; color: var(--gs-crit); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.today-horaire .th-eb i { width: 8px; height: 8px; border-radius: 50%; background: var(--gs-crit); display: inline-block; }
.today-horaire h3 { margin: 5px 0 2px; font: 700 18px/1.25 'Outfit', sans-serif; }
.today-horaire > p { margin: 4px 0; color: var(--gs-ink-dim); font-size: 13.5px; }
.today-horaire .th-sj { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin: 10px 0 8px; padding: 0; list-style: none; }
.today-horaire .th-sj li { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 2px 7px; border: 1px solid var(--gs-line); border-radius: 10px; background: var(--gs-panel); color: var(--gs-ink-faint); font-size: 10px; font-weight: 700; line-height: 1.25; text-align: center; }
.today-horaire .th-sj li b { color: var(--gs-ink); font: 650 11.5px/1.3 'Inter', sans-serif; white-space: nowrap; }
.today-horaire .th-sj li small { color: var(--gs-ink-dim); font-size: 11px; font-weight: 500; white-space: nowrap; }
.today-horaire .th-sj li i { font-style: normal; font-size: 11px; }
.today-horaire .th-sj li.libre { border-style: dashed; background: color-mix(in srgb, var(--gs-line) 25%, var(--gs-panel)); }
.today-horaire .th-note { color: var(--gs-ink-faint); font-size: 12px; }
.today-horaire .th-acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.today-horaire .th-acts .btn { min-height: 40px; }
.today-horaire .th-merci { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 13.5px; line-height: 1.5; }
.today-horaire .th-merci .te-lien { margin-left: 6px; min-height: 30px; }
.today-horaire .th-ok { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--gs-ok); color: #fff; font-size: 12px; font-weight: 800; }
.today-horaire:has(.th-merci) { border-color: color-mix(in srgb, var(--gs-ok) 40%, var(--gs-line)); background: color-mix(in srgb, var(--gs-ok) 9%, var(--gs-panel)); }
.th-resume .rn-editor { max-width: 500px; }
.th-rj { margin: 0 0 12px; padding: 0; list-style: none; border: 1px solid var(--gs-line); border-radius: 12px; overflow: hidden; }
.th-rj li { display: grid; grid-template-columns: minmax(84px, 110px) minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--gs-line); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.th-rj li:last-child { border-bottom: 0; }
.th-rj li.libre { color: var(--gs-ink-faint); background: color-mix(in srgb, var(--gs-line) 25%, var(--gs-panel)); }
.th-rj li.libre b { font-weight: 500; }
.th-rj .th-ou { color: var(--gs-ink-dim); font-size: 12.5px; white-space: nowrap; }
.eq-h-alerte.eq-h-avalider { background: color-mix(in srgb, var(--gs-crit) 10%, var(--gs-panel)); border: 1px solid color-mix(in srgb, var(--gs-crit) 28%, var(--gs-line)); }
.eq-g-hval { margin: 4px 18px 0; font-size: 13.5px; color: var(--gs-ink-dim); }
.eq-g-hval b { color: var(--gs-ink); font: 700 20px/1 'Outfit', sans-serif; margin-right: 4px; }
.eq-g-vg { height: 8px; margin: 8px 18px 6px; border-radius: 99px; background: var(--gs-line); overflow: hidden; }
.eq-g-info li .eq-g-lien[data-eq="ecrire"] { margin-left: 6px; color: var(--gs-accent); font-weight: 600; text-decoration: underline; }
.eq-g-vg i { display: block; height: 100%; border-radius: 99px; background: var(--gs-ok); }
@media (max-width: 420px) {
    .today-horaire .th-sj li b { font-size: 10.5px; }
    .today-horaire .th-sj li small { font-size: 10px; }
}

/* ── Mes vacances (modules/equipe-vacances.js ; lot 9, maquettes 5, E16 a et b) ── */
.eq-vacances { --eq-adp: #174a7e; --eq-adp-pale: color-mix(in srgb, #174a7e 9%, var(--gs-panel)); --eq-adp-bd: color-mix(in srgb, #174a7e 26%, var(--gs-line)); }
body[data-gtheme="dark"] .eq-vacances { --eq-adp: #3f74ad; --eq-adp-pale: color-mix(in srgb, #3f74ad 18%, var(--gs-panel)); --eq-adp-bd: color-mix(in srgb, #3f74ad 45%, var(--gs-line)); }
.eq-vacances .rn-editor { max-width: 680px; }
.eq-vacances .rn-editor-head > div { min-width: 0; }
.eq-v-etapes { display: grid; gap: 8px; margin: 0 0 6px; }
.eq-v-etape { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--gs-line); border-radius: 12px; background: var(--gs-panel); }
.eq-v-etape.adp { border-color: var(--eq-adp-bd); background: var(--eq-adp-pale); }
.eq-v-etape b { display: block; font-size: 14px; line-height: 1.3; }
.eq-v-etape small { display: block; margin-top: 2px; color: var(--gs-ink-dim); font-size: 12.5px; line-height: 1.4; }
.eq-v-etape .btn { min-height: 40px; white-space: nowrap; }
.eq-v-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--eq-vac); color: var(--gs-ink); font-size: 12px; font-weight: 800; }
.eq-v-etape.adp .eq-v-n { background: color-mix(in srgb, var(--eq-adp) 18%, var(--gs-panel)); color: var(--eq-adp); }
.eq-v-btn-adp { border: 1px solid var(--eq-adp) !important; background: var(--eq-adp) !important; color: #fff !important; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.eq-v-btn-adp:hover { filter: brightness(1.08); }
.eq-v-liste { list-style: none; margin: 0; padding: 0; }
.eq-v-liste li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--gs-line); }
.eq-v-liste li:last-child { border-bottom: 0; }
.eq-v-liste li.passe { opacity: .62; }
.eq-v-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--eq-vac); font-size: 15px; }
.eq-v-liste li.passe .eq-v-ic { background: var(--gs-panel-2); }
.eq-v-liste b { display: block; font-size: 14px; }
.eq-v-liste small { display: block; margin-top: 2px; color: var(--gs-ink-dim); font-size: 12.5px; }
.eq-v-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.eq-v-pill-adp { border-color: var(--eq-adp-bd); background: var(--eq-adp-pale); color: var(--eq-adp); }
body[data-gtheme="dark"] .eq-v-pill-adp { color: var(--gs-ink); }
.eq-v-pill-pause { border-color: var(--gs-line); background: var(--gs-panel-2); color: var(--gs-ink-dim); }
.eq-v-acts { display: flex; gap: 6px; }
.eq-v-acts .btn { min-height: 38px; }
.eq-v-solde { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--gs-panel-2); color: var(--gs-ink-dim); font-size: 13px; line-height: 1.5; }
.eq-v-solde b { color: var(--gs-ink); }
.eq-v-calc { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 10px; font-size: 13.5px; color: var(--gs-ink-dim); }
.eq-v-calc:empty { display: none; }
.eq-v-calc b { color: var(--gs-ink); font: 700 16px/1.2 'Outfit', sans-serif; }
.eq-v-calc small { flex-basis: 100%; font-size: 12.5px; }
.eq-v-calc.erreur { padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--gs-crit) 12%, var(--gs-panel)); color: var(--gs-ink); }
.eq-v-case { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 12px; padding: 11px 13px; border: 1.5px solid color-mix(in srgb, var(--gs-ok) 60%, var(--gs-line)); border-radius: 12px; background: color-mix(in srgb, var(--gs-ok) 8%, var(--gs-panel)); cursor: pointer; }
.eq-v-case:has(input:not(:checked)) { border-color: color-mix(in srgb, var(--gs-crit) 45%, var(--gs-line)); background: color-mix(in srgb, var(--gs-crit) 6%, var(--gs-panel)); }
.eq-v-case input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gs-ok); cursor: pointer; }
.eq-v-case b { display: block; font-size: 14px; font-weight: 700; }
.eq-v-case small { display: block; margin-top: 3px; color: var(--gs-ink-dim); font-size: 12.5px; }
.eq-v-case a { color: var(--eq-adp); font-weight: 650; text-decoration: underline; }
body[data-gtheme="dark"] .eq-v-case a { color: var(--gs-ink); }
/* La phrase du pied a sa ligne : « un avis part à … », ou la case à cocher d'abord. */
.eq-v-info { flex-basis: 100%; color: var(--gs-ink-faint); font-size: 12.5px; }
.eq-v-info.alerte { color: var(--gs-crit); font-weight: 600; }
.eq-g-adp { color: var(--gs-ok); font-weight: 600; }
/* Du et Au côte à côte, à toutes les largeurs (maquette E16 b). */
.eq-vacances .rn-editor .rn-form-grid { grid-template-columns: 1fr 1fr; }
.eq-vacances .rn-editor .rn-form-grid > .form-group:first-child { grid-column: auto; }
@media (max-width: 560px) {
  .eq-v-etape { grid-template-columns: 26px minmax(0, 1fr); }
  .eq-v-etape .btn { grid-column: 2; justify-self: start; }
  .eq-v-liste li { grid-template-columns: 30px minmax(0, 1fr); }
  .eq-v-acts { grid-column: 2; }
}
