/* =====================================================================
   EduLink V14 — Thème « cartes épinglées » (espace formateur + espace étudiant).
   Rose poudré, cartes bordées de mauve, étiquettes avec une punaise rouge, panneau de classement.
   Activé par la classe « ep » sur <body> (admin_nav.php pour les formateurs, pages étudiant).
   Ne touche ni l'administration ni le site public ; le mode sombre de l'étudiant reste inchangé.
   ===================================================================== */

/* ---------- 1. Palette ---------- */
body.ep {
  /* V14.1 : couleurs reprises de la vidéo d'annonce (fond clair + rond lilas, prune, terracotta) */
  --ep-fond:#F8F7FB; --ep-carte:#FFFFFF; --ep-carte-2:#FBF8FC;
  --ep-encre:#3F2F4B; --ep-mut:#6B5E75;
  --ep-trait:#A08FA8; --ep-trait-doux:#E6DCEA;
  --ep-tag:#F0E4F0; --ep-tag-2:#E4D3E6;
  --ep-prune:#3F2F4B; --ep-prune-h:#2C2036; --ep-nuit:#3C2E48;
  --ep-terre:#BA6C60; --ep-terre-h:#9E5649; --ep-terre-clair:#E7B9AF;
  --ep-punaise:#BA6C60; --ep-lavande:#F0E4F0; --ep-lavande-tx:#3F2F4B;
  --ep-ombre:0 1px 2px rgba(63,47,75,.06), 0 14px 30px -20px rgba(63,47,75,.45);
}
/* Espace formateur : variables d'admin.css / app.css */
body.ep:not(.eu) {
  --c-night:#3C2E48; --c-primary:var(--ep-prune); --c-primary-h:var(--ep-prune-h); --c-primary-2:#7D5C86;
  --c-primary-soft:var(--ep-tag); --c-primary-line:var(--ep-tag-2);
  --c-bg:var(--ep-fond); --c-card:var(--ep-carte); --c-text:var(--ep-encre);
  --c-mut:var(--ep-mut); --c-mut-strong:var(--ep-mut); --c-line:var(--ep-trait-doux); --c-line-strong:#CDB9BE;
  --c-row:#F7EFEE; --c-head:#F4EAE9;
  --navy:var(--ep-encre); --ink:var(--ep-encre); --mut:var(--ep-mut); --blue:var(--ep-prune); --blue-dark:var(--ep-prune-h);
  --bg:var(--ep-fond); --card:var(--ep-carte); --line:var(--ep-trait-doux); --lav:var(--ep-tag);
  background:radial-gradient(circle at calc(100% + 60px) -60px, var(--ep-tag) 0 340px, transparent 341px) fixed, var(--ep-fond) !important;
}
/* Espace étudiant (mode clair uniquement) */
body.eu.ep:not(.dark) {
  --eu-ink:var(--ep-encre); --eu-text:#3B2A41; --eu-mut:var(--ep-mut);
  --eu-primary:var(--ep-prune); --eu-primary-h:var(--ep-prune-h);
  --eu-lav:var(--ep-tag); --eu-lav-2:var(--ep-tag-2);
  --eu-bg:var(--ep-fond); --eu-surface:var(--ep-carte); --eu-soft:var(--ep-carte-2);
  --eu-line:var(--ep-trait-doux); --eu-line-2:#CDB9BE; --eu-row:#F4EAE9;
}

/* ---------- 2. Punaise et étiquette ---------- */
body.ep .ep-punaise, body.ep .ep-tag::after,
body.ep:not(.dark) .rc-cat::after,
body.ep .fx-card-hd > h2::after, body.ep .rc-hd h2::after, body.ep .og-col-nom::after,
body.ep .fx-course::before, body.ep .og-card::before, body.ep .fx-stat::before, body.ep .ct-doc > h2::after,
body.eu.ep:not(.dark) .eu-card-hd > h2::after, body.eu.ep:not(.dark) .ec-card::before, body.eu.ep:not(.dark) .eu-kpi::before,
body.ep .ep-panneau > h2::after {
  content:""; position:absolute; width:15px; height:15px; border-radius:50%; z-index:2; pointer-events:none;
  background:radial-gradient(circle at 34% 30%, #F6D2CB 0 16%, var(--ep-punaise) 48%, #7E3E34 100%);
  box-shadow:1px 3px 3px rgba(70,20,30,.35), inset -1px -1px 2px rgba(0,0,0,.25);
}
body.ep .ep-tag,
body.ep .fx-card-hd > h2, body.ep .rc-hd h2, body.ep .og-col-nom, body.ep .ct-doc > h2,
body.eu.ep:not(.dark) .eu-card-hd > h2 {
  position:relative; display:inline-flex; align-items:center; gap:8px; width:auto;
  padding:7px 18px; margin:0; border-radius:12px; background:var(--ep-tag); border:1.5px solid var(--ep-trait);
  color:var(--ep-encre); box-shadow:0 3px 0 rgba(70,48,77,.12);
}
body.ep .fx-card-hd > h2::after, body.ep .rc-hd h2::after, body.ep .og-col-nom::after, body.ep .ct-doc > h2::after,
body.eu.ep:not(.dark) .eu-card-hd > h2::after, body.ep .ep-tag::after { top:-8px; right:16px; }

/* ---------- 3. Cartes ---------- */
body.ep .fx-card, body.ep .card, body.eu.ep:not(.dark) .eu-card {
  background:var(--ep-carte); border:1.5px solid var(--ep-trait) !important; border-radius:18px; box-shadow:var(--ep-ombre);
}
body.ep .fx-card-hd { border-bottom-color:var(--ep-trait-doux); padding-top:20px; }
body.eu.ep:not(.dark) .eu-card-hd { padding-top:20px; }
body.ep .fx-kicker, body.eu.ep:not(.dark) .eu-kicker {
  display:inline-flex; align-items:center; gap:6px; padding:4px 12px; border-radius:999px; background:var(--ep-tag);
  font-family:inherit; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--ep-encre);
}
body.ep .fx-kicker::before, body.eu.ep:not(.dark) .eu-kicker::before { content:"•"; position:static; width:auto; height:auto; background:none; color:var(--ep-terre); font-size:14px; line-height:1; }
body.ep .fx-head h1, body.eu.ep:not(.dark) .eu-main h1 { color:var(--ep-encre); font-weight:800; font-style:italic; letter-spacing:-.02em; }

/* Statistiques : petite punaise au centre */
body.ep .fx-stat { position:relative; overflow:visible; }
body.ep .fx-stat::before { top:-7px; left:50%; margin-left:-7px; }
body.eu.ep:not(.dark) .eu-kpi { position:relative; overflow:visible; }
body.eu.ep:not(.dark) .eu-kpi::before { top:-7px; left:50%; margin-left:-7px; }

/* Cartes de formation (formateur et étudiant) */
body.ep .fx-course, body.eu.ep:not(.dark) .ec-card { position:relative; overflow:visible !important; }
body.ep .fx-course::before, body.eu.ep:not(.dark) .ec-card::before { top:-7px; left:50%; margin-left:-7px; }
body.ep .fx-course-media, body.eu.ep:not(.dark) .ec-card .media { border-radius:16px 16px 0 0; overflow:hidden; }

/* Boutons */
body.ep .fx-btn--primary, body.eu.ep:not(.dark) .eu-btn--primary { background:var(--ep-prune) !important; border-color:var(--ep-prune) !important; }
body.ep .fx-btn--primary:hover, body.eu.ep:not(.dark) .eu-btn--primary:hover { background:var(--ep-prune-h) !important; }
body.ep .fx-btn--ghost, body.eu.ep:not(.dark) .eu-btn--ghost { background:var(--ep-carte) !important; border-color:var(--ep-trait) !important; color:var(--ep-encre) !important; }
body.ep .fx-hello { background:linear-gradient(120deg, var(--ep-nuit), #523E62) !important; border-color:var(--ep-nuit) !important; }
body.ep .fx-hello h1 { font-style:italic; font-weight:800; }

/* ---------- 4. Recommandations ---------- */
body.ep .rc { background:var(--ep-carte-2); border:1.5px solid var(--ep-trait); border-radius:22px; padding:22px; }
body.ep .rc-hd { margin-bottom:22px; }
body.ep .rc-hd h2 .n { background:var(--ep-terre); }
body.ep .rc-grille { gap:26px 18px; }
body.ep .rc-carte { position:relative; padding-top:30px; margin-top:12px; background:var(--ep-carte); border:1.5px solid var(--ep-trait); border-top-width:1.5px; border-radius:16px; }
body.ep .rc-carte header { position:static; }
body.ep .rc-cat {
  position:absolute; top:-15px; left:50%; transform:translateX(-50%); white-space:nowrap;
  padding:5px 16px; border-radius:10px; border:1.5px solid var(--ep-trait); background:var(--ep-tag);
  font-size:11.5px; color:var(--ep-encre) !important; box-shadow:0 3px 0 rgba(70,48,77,.12);
}
body.ep .rc-cat::after { top:-8px; right:-6px; }
body.ep .rc-carte--err .rc-cat { background:#F5DCD6; }
body.ep .rc-carte--warn .rc-cat { background:#F6E8DA; }
body.ep .rc-carte--info .rc-cat { background:var(--ep-tag); }
body.ep .rc-carte h3 { text-align:center; }
body.ep .rc-carte > p { text-align:center; }
body.ep .rc-carte footer { justify-content:center; }

/* ---------- 5. Mon organisation ---------- */
body.ep .og-col { background:var(--ep-carte-2); border:1.5px solid var(--ep-trait); border-radius:22px; }
body.ep .og-col-hd { padding-top:14px; }
body.ep .og-card { position:relative; background:var(--ep-carte); border:1.5px solid var(--ep-trait); border-radius:14px; overflow:visible; margin-top:6px; }
body.ep .og-card::before { top:-7px; left:50%; margin-left:-7px; }

/* ---------- 6. Contrat ---------- */
body.ep .ct-doc > h2 { display:table; margin:0 auto 22px; }
body.ep .ct-texte h3 { display:flex; align-items:center; gap:8px; }
body.ep .ct-texte h3::before { content:""; width:10px; height:10px; border-radius:50%; flex-shrink:0;
  background:radial-gradient(circle at 34% 30%, #F6D2CB 0 16%, var(--ep-punaise) 50%, #7E3E34 100%); box-shadow:1px 2px 2px rgba(70,20,30,.3); }
body.ep .ct-kpi { border:1.5px solid var(--ep-trait); background:var(--ep-carte); }
body.ep .ct-signer { border-color:var(--ep-prune) !important; }

/* ---------- 7. Espace étudiant ---------- */
body.eu.ep:not(.dark) .eu-lesson { border-radius:12px; }
body.eu.ep:not(.dark) .eu-lesson.is-current { background:var(--ep-tag); }
body.eu.ep:not(.dark) .eu-mod { background:var(--ep-carte-2); }
body.eu.ep:not(.dark) .eu-top { background:rgba(251,246,245,.92); border-bottom-color:var(--ep-trait-doux); }
body.eu.ep:not(.dark) .eu-side { background:var(--ep-carte-2); border-right-color:var(--ep-trait-doux); }
body.eu.ep:not(.dark) .eu-nav[aria-current="page"] { background:var(--ep-tag); color:var(--ep-encre); }

/* ---------- 8. Panneau de classement (glisser-déposer) ---------- */
.ep-panneau {
  display:flex; flex-direction:column; gap:12px; padding:22px 20px 18px; border-radius:26px;
  background:var(--ep-carte, #FBF6F5); border:2px solid var(--ep-trait, #86707F); box-shadow:var(--ep-ombre);
}
.ep-panneau > h2 { position:relative; align-self:center; margin:0; font-size:20px; font-weight:800; color:var(--ep-encre, #46304D); text-align:center; padding:0 12px; }
.ep-panneau > h2::after { top:-6px; right:-12px; }
.ep-panneau .ep-sous { margin:-6px 0 4px; text-align:center; font-size:13px; color:var(--ep-mut, #6E5B6C); }
.ep-places { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.ep-place {
  min-height:58px; display:flex; align-items:center; gap:8px; padding:8px 10px 8px 14px; border-radius:20px;
  border:1.5px solid var(--ep-trait, #86707F); background:transparent; transition:background .15s, transform .15s;
}
.ep-place .ep-vide { flex:1; text-align:center; color:var(--ep-mut, #6E5B6C); font-size:15px; }
.ep-place.is-pleine { background:var(--ep-tag, #E7D7DA); cursor:grab; box-shadow:0 3px 0 rgba(70,48,77,.1); }
.ep-place.is-survol, .ep-panneau.is-cible .ep-place:not(.is-pleine) { border-style:dashed; background:#FBF3F6; }
.ep-place.is-survol { transform:scale(1.02); border-color:var(--ep-punaise, #D62839); }
.ep-num { width:26px; height:26px; flex-shrink:0; display:grid; place-items:center; border-radius:50%; background:var(--ep-prune, #5A3D62); color:#fff; font-size:13px; }
.ep-tx { flex:1; min-width:0; font-size:14px; font-weight:600; color:var(--ep-encre, #46304D); line-height:1.35; overflow-wrap:anywhere; }
.ep-mini, button.ep-mini { all:unset; box-sizing:border-box; cursor:pointer; width:28px; height:28px; flex-shrink:0; display:grid; place-items:center; border-radius:50%;
  color:var(--ep-mut, #6E5B6C) !important; font-size:13px; background:transparent !important; box-shadow:none !important; }
.ep-mini:hover, .ep-mini:focus-visible { background:rgba(255,255,255,.7) !important; color:var(--ep-encre, #46304D) !important; outline:2px solid var(--ep-prune, #5A3D62); }
.ep-valider, button.ep-valider {
  margin-top:4px; width:100%; min-height:44px; border-radius:999px !important; border:0 !important; cursor:pointer;
  background:var(--ep-lavande, #EEE7F6) !important; color:var(--ep-lavande-tx, #5F45A6) !important; font:600 15px/1 inherit; box-shadow:0 4px 12px -6px rgba(95,69,166,.5) !important;
}
.ep-valider:hover:not(:disabled) { background:var(--ep-tag-2) !important; }
.ep-valider:disabled { opacity:.55; cursor:not-allowed; }
.ep-msg { margin:0; min-height:1em; text-align:center; font-size:13px; color:var(--ep-mut, #6E5B6C); }
.ep-msg a { color:var(--ep-prune, #5A3D62); font-weight:700; }
.ep-glissable { cursor:grab; }
.ep-glissable.is-tiree { opacity:.45; }
.ep-glissable.is-classee { outline:2px dashed var(--ep-trait, #86707F); outline-offset:3px; }
.ep-classer, button.ep-classer {
  all:unset; box-sizing:border-box; cursor:pointer; display:inline-flex; align-items:center; padding:5px 12px; border-radius:999px;
  border:1.5px dashed var(--ep-trait, #86707F) !important; color:var(--ep-encre, #46304D) !important; font-size:12.5px; font-weight:600; background:transparent !important;
}
.ep-classer:hover, .ep-classer:focus-visible { background:var(--ep-tag, #E7D7DA) !important; border-style:solid !important; }
.is-classee .ep-classer { display:none; }

/* Mise en page « grille + panneau » */
.ep-duo { display:grid; grid-template-columns:minmax(0, 1fr) 300px; gap:22px; align-items:start; }
.ep-duo > .ep-panneau { position:sticky; top:16px; }
@media (max-width:1100px) { .ep-duo { grid-template-columns:minmax(0, 1fr); } .ep-duo > .ep-panneau { position:static; } }

@media (prefers-reduced-motion: reduce) { .ep-place { transition:none; } .ep-place.is-survol { transform:none; } }
@media print { body.ep { background:#fff !important; } }

/* Leçons classables dans le programme de l'étudiant */
#mes-cours li.ep-glissable { display:flex; align-items:center; gap:8px; padding-right:12px; }
#mes-cours li.ep-glissable > a { flex:1; min-width:0; }
#mes-cours li.ep-glissable .ep-classer { flex-shrink:0; }
.narrow > .ep-panneau { margin-bottom:24px; }
@media (max-width:560px) { #mes-cours li.ep-glissable { flex-wrap:wrap; padding:0 12px 10px; } #mes-cours li.ep-glissable > a { flex-basis:100%; } }

/* Corrections */
body.ep .fx-card-hd { flex-wrap:wrap; row-gap:10px; }
body.ep .fx-hello .fx-btn--primary { background:#fff !important; border-color:#fff !important; color:var(--ep-prune) !important; }
body.ep .fx-hello .fx-btn--ghost { background:rgba(255,255,255,.12) !important; border-color:rgba(255,255,255,.45) !important; color:#fff !important; }
body.ep .og-board { background:#F4EEF6 !important; border:1.5px dashed var(--ep-trait-doux); }
body.eu.ep:not(.dark) .gm { background:var(--ep-carte) !important; border:1.5px solid var(--ep-trait) !important; border-radius:18px; }

/* To-do list de la leçon (cours_edit.php) */
body.ep .td { position:relative; overflow:visible; background:var(--ep-carte); border:1.5px solid var(--ep-trait); border-radius:22px; box-shadow:var(--ep-ombre); }
body.ep .td::before { content:""; position:absolute; top:-8px; left:50%; margin-left:-8px; width:15px; height:15px; border-radius:50%;
  background:radial-gradient(circle at 34% 30%, #F6D2CB 0 16%, var(--ep-punaise) 48%, #7E3E34 100%); box-shadow:1px 3px 3px rgba(70,20,30,.35); }
body.ep .td-carte { background:var(--ep-carte-2); border-color:var(--ep-trait-doux); border-left-color:var(--ep-tag-2); border-radius:14px; }
body.ep .td-carte.is-oblig { border-left-color:var(--ep-prune); }
body.ep .td-carte:not(.is-ok):hover { background:var(--ep-carte); border-color:var(--ep-trait); }
body.ep .le-tabs, body.ep .le-panel { border-color:var(--ep-trait) !important; }

/* V14.1 — accent terracotta de la vidéo */
body.ep .fx-btn--primary, body.eu.ep:not(.dark) .eu-btn--primary { box-shadow:0 8px 18px -12px rgba(63,47,75,.8) !important; }
body.ep .ep-num { background:var(--ep-terre); }
body.ep .ep-panneau > h2, body.ep .rc-hd h2, body.ep .fx-card-hd > h2, body.eu.ep:not(.dark) .eu-card-hd > h2 { font-style:italic; font-weight:800; }
body.ep .fx a:not([class]) { color:var(--ep-terre-h); }
body.eu.ep:not(.dark) { background:radial-gradient(circle at calc(100% + 60px) -60px, var(--ep-tag) 0 340px, transparent 341px) fixed, var(--ep-fond); }
body.eu.ep:not(.dark) .eu-top { background:rgba(255,255,255,.88); }
body.eu.ep:not(.dark) .eu-side { background:rgba(255,255,255,.7); }
body.eu.ep:not(.dark) .eu-resume .eu-kicker, body.eu.ep:not(.dark) .eu-resume h2 b { color:var(--ep-terre); }
body.ep .fx-kicker, body.eu.ep:not(.dark) .eu-kicker { width:fit-content; align-self:flex-start; }

/* =====================================================================
   V14.4 — Menu latéral du formateur (toutes ses pages) : nuit #30243A, violet #6038C8,
   plus compact (248 px), groupes en casse normale, carte de profil, repliable (76 px).
   ===================================================================== */
body.ep:not(.eu) { --sidebar-w:248px; }
body.ep:not(.eu) .admin-sidebar { background:#30243A; color:rgba(255,255,255,.72); border-right:0; width:var(--sidebar-w); transition:width .22s cubic-bezier(.2,.7,.2,1); }
body.ep:not(.eu) .admin-sidebar-head { position:relative; flex-direction:row; align-items:center; justify-content:flex-start; gap:10px; padding:20px 16px 14px; border:0; }
body.ep:not(.eu) .admin-logo { padding:0; background:none; border-radius:0; }
body.ep:not(.eu) .admin-logo img { height:30px; filter:brightness(0) invert(1); }
body.ep:not(.eu) .admin-tag { display:none; }
.sb-replier { all:unset; box-sizing:border-box; margin-left:auto; width:30px; height:30px; display:grid; place-items:center; border-radius:8px; cursor:pointer; color:rgba(255,255,255,.55); }
.sb-replier:hover, .sb-replier:focus-visible { background:rgba(255,255,255,.08); color:#fff; }
.sb-replier:focus-visible { outline:2px solid #B7A3F0; }
.sb-replier svg.ic { width:18px; height:18px; }
body.ep:not(.eu) .admin-sidebar-nav { padding:2px 12px 16px; scrollbar-color:rgba(255,255,255,.16) transparent; }
body.ep:not(.eu) .admin-nav-group { padding-top:14px; }
body.ep:not(.eu) .admin-nav-group + .admin-nav-group { margin-top:2px; border-top:0; }
body.ep:not(.eu) .admin-nav-label { padding:0 10px 6px; color:rgba(255,255,255,.45); font-size:12px; font-weight:600; letter-spacing:0; text-transform:none; }
body.ep:not(.eu) .admin-sidebar a { min-height:38px; gap:11px; padding:0 10px; margin:1px 0; border-radius:10px; color:rgba(255,255,255,.74); font-size:13.5px; font-weight:500; font-style:normal; }
body.ep:not(.eu) .admin-sidebar a .ic { width:18px; height:18px; opacity:.8; color:inherit; }
body.ep:not(.eu) .admin-sidebar a:hover { background:rgba(255,255,255,.06); color:#fff; }
body.ep:not(.eu) .admin-sidebar a.active { background:#6038C8; color:#fff; font-weight:600; box-shadow:0 6px 16px -8px rgba(96,56,200,.9); }
body.ep:not(.eu) .admin-sidebar a.active .ic { opacity:1; color:#fff; }
body.ep:not(.eu) .admin-sidebar a.active::before { display:none; }
body.ep:not(.eu) .admin-sidebar a:focus-visible { outline:2px solid #B7A3F0; outline-offset:-2px; }
body.ep:not(.eu) .admin-count { background:#F08A4B; color:#fff; min-width:20px; height:20px; font-size:11.5px; }
body.ep:not(.eu) .admin-sidebar a.active .admin-count { background:rgba(255,255,255,.22); }
/* Bas du menu : langue, carte de profil, liens */
body.ep:not(.eu) .admin-sidebar-foot { padding:10px 12px 12px; background:none; border-top:1px solid rgba(255,255,255,.07); }
body.ep:not(.eu) .admin-sidebar-foot > div:first-child { padding:0 0 10px !important; }
body.ep:not(.eu) .admin-sidebar .edu-lang--sombre { background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.12); }
body.ep:not(.eu) .admin-sidebar .edu-lang--sombre a { min-height:0; padding:0 9px; margin:0; color:rgba(255,255,255,.8) !important; font-weight:600; }
body.ep:not(.eu) .admin-sidebar .edu-lang--sombre a[aria-current="true"] { background:#fff; color:#30243A !important; }
body.ep:not(.eu) a.admin-user { display:flex; align-items:center; gap:10px; min-height:56px; padding:8px 10px; margin:0 0 6px; border-radius:12px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); }
body.ep:not(.eu) a.admin-user:hover { background:rgba(255,255,255,.1); }
body.ep:not(.eu) .admin-avatar { width:34px; height:34px; background:#EFEAFB; color:#30243A; font-size:12.5px; }
body.ep:not(.eu) .admin-user-txt { flex:1; }
body.ep:not(.eu) .admin-user-txt strong { color:#fff; font-size:13.5px; }
body.ep:not(.eu) .admin-role { color:rgba(255,255,255,.55); font-size:12px; }
body.ep:not(.eu) a.admin-user > svg.ic { width:16px; height:16px; opacity:.6; }
body.ep:not(.eu) .admin-foot-links { display:flex; flex-direction:column; gap:0; }
body.ep:not(.eu) .admin-foot-links a { flex-direction:row; justify-content:flex-start; gap:10px; min-height:34px; padding:0 10px; font-size:13px; text-align:left; background:none; border-radius:8px; white-space:nowrap; }
body.ep:not(.eu) .admin-foot-links a .ic { width:16px; height:16px; }
body.ep:not(.eu) .admin-foot-links a.logout:hover { background:rgba(229,72,77,.16); color:#FFD9DA; }
body.ep:not(.eu) .admin-topbar { background:#30243A; border-bottom:0; }

/* Menu replié (ordinateur uniquement) : icônes seules, libellé au survol */
@media (min-width:1025px) {
  body.ep.sb-replie:not(.eu) { --sidebar-w:76px; }
  body.ep.sb-replie .admin-sidebar-head { flex-direction:column; gap:12px; padding:18px 0 10px; }
  body.ep.sb-replie .admin-logo { width:34px; overflow:hidden; }
  body.ep.sb-replie .admin-logo { display:block; height:28px; }
  body.ep.sb-replie .admin-logo img { display:block; width:auto; max-width:none; height:28px; flex-shrink:0; }
  body.ep.sb-replie .sb-replier { margin:0; transform:rotate(180deg); }
  body.ep.sb-replie .admin-sidebar-nav { padding:0 12px 12px; }
  body.ep.sb-replie .admin-nav-label { height:1px; padding:0; margin:6px 8px 10px; overflow:hidden; color:transparent; background:rgba(255,255,255,.08); }
  body.ep.sb-replie .admin-sidebar a { justify-content:center; padding:0; }
  body.ep.sb-replie .admin-sidebar a > span, body.ep.sb-replie .admin-user-txt { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
  body.ep.sb-replie a.admin-user > svg.ic { display:none; }
  body.ep.sb-replie .admin-sidebar a .admin-count { position:absolute; top:3px; right:5px; min-width:16px; height:16px; padding:0 4px; font-size:10px; }
  body.ep.sb-replie .admin-sidebar-foot > div:first-child { display:none; }
  body.ep.sb-replie a.admin-user { justify-content:center; padding:8px 0; background:none; border:0; }
  body.ep.sb-replie .admin-sidebar a[data-titre]:hover::after { content:attr(data-titre); position:absolute; left:calc(100% + 10px); top:50%; transform:translateY(-50%); z-index:300;
    padding:6px 10px; border-radius:8px; background:#30243A; color:#fff; font-size:12.5px; font-weight:600; white-space:nowrap; box-shadow:0 8px 20px -8px rgba(0,0,0,.5); pointer-events:none; }
}
@media (max-width:1024px) { .sb-replier { display:none; } }
@media (prefers-reduced-motion: reduce) { body.ep:not(.eu) .admin-sidebar { transition:none; } }
body.ep:not(.eu) .admin-topbar-brand img { filter:brightness(0) invert(1); }
body.ep:not(.eu) .admin-topbar .admin-avatar { margin-left:auto; }
body.ep:not(.eu) .admin-topbar .admin-topbar-ic { color:#fff; }
