/* ============================================================
   FIXEO V3 STABLE CLEAN — CSS VARIABLES & DESIGN TOKENS
   Instagram-inspired palette · Glassmorphism · Premium UI
   ============================================================ */
:root {
  /* — Instagram-inspired Brand Colors — */
  --ig-gradient: linear-gradient(45deg,#405DE6,#5851DB,#833AB4,#C13584,#E1306C,#FD1D1D,#F56040,#F77737,#FCAF45,#FFDC80);
  --ig-gradient-short: linear-gradient(135deg,#405DE6,#833AB4,#E1306C,#F77737,#FCAF45);

  --primary: #E1306C;
  --primary-dark: #C13584;
  --secondary: #833AB4;
  --accent: #F77737;
  --accent2: #FCAF45;
  --accent-blue: #405DE6;
  --accent-pink: #C13584;
  --accent-orange: #F77737;
  --accent-red: #E1306C;
  --gold: #FFD700;
  --success: #20c997;
  --danger: #ff4757;
  --warning: #ffa502;
  --info: #3742fa;

  /* — Dark Theme Base — */
  --bg-dark: #0D0D1A;
  --bg-card: rgba(255,255,255,0.05);
  --bg-card-hover: rgba(255,255,255,0.09);
  --glass-border: rgba(255,255,255,0.12);
  --glass-border-strong: rgba(255,255,255,0.2);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255,255,255,0.70);
  --text-muted: rgba(255,255,255,0.45);

  /* — Gradients — */
  --grad-primary: linear-gradient(135deg,#E1306C 0%,#833AB4 50%,#C13584 100%);
  --grad-warm: linear-gradient(135deg,#FCAF45 0%,#F77737 50%,#E1306C 100%);
  --grad-cool: linear-gradient(135deg,#405DE6 0%,#5851DB 30%,#833AB4 60%,#C13584 80%,#E1306C 100%);
  --grad-dark: linear-gradient(135deg,#0D0D1A 0%,#1a1a2e 50%,#16213e 100%);
  --grad-glass: linear-gradient(135deg,rgba(255,255,255,0.10) 0%,rgba(255,255,255,0.04) 100%);
  --grad-gold: linear-gradient(135deg,#FFD700 0%,#FFA500 100%);
  --grad-success: linear-gradient(135deg,#20c997 0%,#0dcaf0 100%);

  /* — Glassmorphism — */
  --glass-bg: rgba(255,255,255,0.06);
  --glass-bg-strong: rgba(255,255,255,0.12);
  --glass-blur: blur(20px);
  --card-shadow: 0 8px 32px rgba(0,0,0,0.4);
  --neon-glow: 0 0 20px rgba(64,93,230,0.5),0 0 40px rgba(193,53,132,0.25);
  --shadow-glow: 0 0 20px rgba(225,48,108,0.4);
  --shadow-glow-gold: 0 0 20px rgba(255,215,0,0.4);

  /* — Typography — */
  --font-main: 'Cairo','Tajawal','Inter',system-ui,sans-serif;
  --font-arabic: 'Cairo','Tajawal',sans-serif;

  /* — Spacing — */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem;    --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem;   --space-20: 5rem;

  /* — Border Radius — */
  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 24px;
  --radius-xl: 32px; --radius-full: 9999px;

  /* — Transitions — */
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: all 0.15s ease;
  --transition-bounce: all 0.4s cubic-bezier(0.34,1.56,0.64,1);

  /* — Z-index layers — */
  --z-dropdown: 100; --z-sticky: 200; --z-fixed: 300;
  --z-modal-backdrop: 400; --z-modal: 500;
  --z-toast: 600; --z-tooltip: 700;

  /* — Layout — */
  --navbar-height: 70px;
  --sidebar-width: 260px;
  --sidebar-w: 260px;
  --header-h: 70px;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg-body: #0d0d0d;
  --bg-card: rgba(255,255,255,0.05);
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.7);
  --border-color: rgba(255,255,255,0.1);
}

/* Light Mode */
[data-theme="light"] {
  --bg-body: #f5f5f5;
  --bg-card: rgba(255,255,255,0.9);
  --text-primary: #0d0d0d;
  --text-secondary: rgba(0,0,0,0.6);
  --border-color: rgba(0,0,0,0.1);
}


/* ================================================================
   FIXEO V10 — HEADER UNIFIED (header-unified.css)
   Centralisation complète · Hover effects · Dropdowns · Sticky
   Dashboard/Admin conditionnels · Responsive hamburger
   Chargé EN DERNIER dans tous les <head>
   ================================================================ */

/* ── 1. NAVBAR CONTAINER ─────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-fixed, 300);
  height: var(--navbar-height, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 16px;
  background: rgba(13, 13, 26, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: background 0.35s ease, box-shadow 0.35s ease;
  will-change: background;
}

/* Scrolled state — opaque + stronger shadow */
.navbar.scrolled {
  background: rgba(13, 13, 26, 0.97) !important;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.5);
}

/* Hero visible = slight transparency boost */
.navbar.hero-visible:not(.scrolled) {
  background: rgba(13, 13, 26, 0.78);
}

/* ── 2. LOGO ─────────────────────────────────────────────────── */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.navbar-brand:hover { opacity: 0.85; }
.navbar-brand .logo-icon {
  width: 38px; height: 38px;
  font-size: 1.1rem;
  background: var(--grad-primary, linear-gradient(135deg,#E1306C,#833AB4));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.navbar-brand .logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--ig-gradient-short, linear-gradient(135deg,#405DE6,#833AB4,#E1306C,#F77737,#FCAF45));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 3. DESKTOP NAV LINKS ────────────────────────────────────── */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

/* Base nav-link */
.navbar-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.70);
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

/* Underline slide-in indicator */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--grad-primary, linear-gradient(135deg,#E1306C,#833AB4));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effect */
.navbar-nav .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}
.navbar-nav .nav-link:hover::after {
  width: 60%;
}

/* Active state */
.navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(225, 48, 108, 0.14);
}
.navbar-nav .nav-link.active::after {
  width: 60%;
}

/* Dashboard link — subtle teal accent */
.navbar-nav .nav-link[data-role="dashboard"]:hover,
.navbar-nav .nav-link[data-role="dashboard"].active {
  color: var(--success, #20c997);
  background: rgba(32, 201, 151, 0.10);
}
.navbar-nav .nav-link[data-role="dashboard"]::after {
  background: linear-gradient(135deg, #20c997, #0dcaf0);
}

/* Admin link — gold accent */
.navbar-nav .nav-link[data-role="admin"] {
  color: rgba(252, 175, 69, 0.85);
}
.navbar-nav .nav-link[data-role="admin"]:hover {
  color: var(--gold, #FFD700);
  background: rgba(252, 175, 69, 0.12);
}
.navbar-nav .nav-link[data-role="admin"]::after {
  background: linear-gradient(135deg, #FCAF45, #FFD700);
}

/* ── 4. DROPDOWN MENUS ───────────────────────────────────────── */
.nav-has-dropdown {
  position: relative;
}

/* Arrow indicator on parent link */
.nav-has-dropdown > .nav-link .nav-arrow {
  display: inline-block;
  font-size: 0.6rem;
  margin-left: 2px;
  transition: transform 0.25s ease;
  opacity: 0.7;
}
.nav-has-dropdown:hover > .nav-link .nav-arrow,
.nav-has-dropdown.open > .nav-link .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: rgba(13, 13, 26, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: calc(var(--z-fixed, 300) + 10);
}

/* Open state (hover or JS .open) */
.nav-has-dropdown:hover > .nav-dropdown,
.nav-has-dropdown.open > .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown items */
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.845rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.70);
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}
.nav-dropdown-item:hover {
  color: #fff;
  background: rgba(225, 48, 108, 0.14);
  transform: translateX(3px);
}
.nav-dropdown-item .dd-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}
.nav-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 6px 8px;
}

/* ── 5. NAV ACTIONS (right side) ─────────────────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Quick Search Button */
.btn-quick-search {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-full, 9999px);
  background: rgba(225, 48, 108, 0.12);
  border: 1px solid rgba(225, 48, 108, 0.28);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.845rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-quick-search:hover {
  background: rgba(225, 48, 108, 0.22);
  border-color: rgba(225, 48, 108, 0.5);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(225, 48, 108, 0.28);
}
.btn-quick-search .bqs-icon { font-size: 0.95rem; }

/* Language selector */
.lang-selector {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 6px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.8rem;
  cursor: pointer;
  outline: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lang-selector:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.22);
}
.lang-selector option { background: #1a1a2e; color: #fff; }

/* Notification button */
.notif-btn {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.notif-btn:hover {
  background: rgba(225, 48, 108, 0.18);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.22);
}
.notif-badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 18px; height: 18px;
  background: var(--accent-red, #E1306C);
  border-radius: var(--radius-full, 9999px);
  font-size: 0.65rem; font-weight: 800; color: #fff;
  display: none;
  align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-dark, #0D0D1A);
}
.notif-badge.has-notif {
  display: flex;
}

/* CTA buttons */
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.845rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-nav-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.80);
}
.btn-nav-outline:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.40);
  color: #fff;
  transform: translateY(-1px);
}
.btn-nav-primary {
  background: var(--grad-primary, linear-gradient(135deg,#E1306C,#833AB4));
  border: 1px solid transparent;
  color: #fff;
}
.btn-nav-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(225, 48, 108, 0.42);
  filter: brightness(1.08);
}

/* User avatar chip (logged-in state) */
.nav-user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: var(--radius-full, 9999px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  cursor: pointer;
  transition: background 0.22s ease;
}
.nav-user-chip:hover { background: rgba(255, 255, 255, 0.12); }
.nav-user-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.nav-user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── 6. HAMBURGER BUTTON ─────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.22s ease;
  flex-shrink: 0;
}
.hamburger:hover { background: rgba(255, 255, 255, 0.12); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── 7. MOBILE NAV DRAWER ────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--navbar-height, 70px);
  left: 0;
  right: 0;
  z-index: calc(var(--z-fixed, 300) + 30);
  background: rgba(13, 13, 26, 0.985);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 14px 16px 20px;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.24s ease;
  max-height: calc(100vh - var(--navbar-height, 70px));
  overflow-y: auto;
  overflow-x: hidden;
}
.mobile-nav.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: var(--navbar-height, 70px) 0 0 0;
  z-index: calc(var(--z-fixed, 300) + 20);
  background: rgba(5, 8, 18, 0.38);
  border: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.mobile-nav-backdrop.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Mobile nav links */
.mobile-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease;
}
.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
  color: #fff;
  background: rgba(225, 48, 108, 0.13);
}
.mobile-nav .nav-link[data-role="dashboard"] { color: rgba(32, 201, 151, 0.85); }
.mobile-nav .nav-link[data-role="admin"] { color: rgba(252, 175, 69, 0.85); }

/* Mobile section divider */
.mobile-nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 4px;
}

/* Mobile quick-search */
.mobile-nav .btn-quick-search {
  width: 100%;
  justify-content: center;
  margin: 6px 0;
}

/* Mobile auth buttons */
.mobile-nav-auth {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.mobile-nav-auth .btn-nav {
  flex: 1;
  justify-content: center;
}

/* ── 8. VISIBILITY RULES — Dashboard / Admin ─────────────────── */
/* Hidden by default — JS reveals based on auth state */
[data-auth="logged-in"],
[data-auth="admin"] {
  display: none !important;
}
/* When body carries correct state class */
body.is-logged-in [data-auth="logged-in"] {
  display: flex !important;
}
body.is-logged-in [data-auth="guest"] {
  display: none !important;
}
body.is-admin [data-auth="admin"] {
  display: flex !important;
}
/* For inline-block elements (links) */
body.is-logged-in a[data-auth="logged-in"],
body.is-logged-in button[data-auth="logged-in"] {
  display: inline-flex !important;
}
body.is-admin a[data-auth="admin"],
body.is-admin button[data-auth="admin"] {
  display: inline-flex !important;
}
/* Mobile variants */
body.is-logged-in .mobile-nav a[data-auth="logged-in"] { display: flex !important; }
body.is-admin .mobile-nav a[data-auth="admin"] { display: flex !important; }

/* ── 9. STICKY TRANSPARENT TRANSITION ───────────────────────── */
/* When hero section is in view, header appears lighter */
@media (min-width: 769px) {
  .navbar:not(.scrolled) .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
  }
}

/* ── 10. RESPONSIVE BREAKPOINTS ──────────────────────────────── */

/* Tablet: hide some text */
@media (max-width: 1100px) {
  .btn-quick-search .bqs-text { display: none; }
  .btn-quick-search { padding: 8px 12px; }
  .btn-quick-search .bqs-icon { font-size: 1.05rem; }
  .navbar-nav { gap: 2px; }
  .navbar-nav .nav-link { padding: 8px 11px; }
}

/* Mobile: switch to hamburger */
@media (max-width: 768px) {
  .navbar-nav { display: none !important; }
  .hamburger { display: flex !important; }
  .btn-quick-search .bqs-text { display: none; }
  .btn-quick-search { padding: 8px 11px; }
  .btn-nav-outline { display: none; }
  .lang-selector { display: none; }
  .mobile-nav { display: flex; }
}

body.mobile-menu-open {
  overflow: hidden;
}

/* Very small screens */
@media (max-width: 400px) {
  .navbar { padding: 0 14px; }
  .navbar-brand .logo-text { display: none; }
}

/* ── 11. SKIP-LINK ACCESSIBILITY ─────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 8px 16px;
  background: var(--primary, #E1306C);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ── 12. FOCUS-VISIBLE RING ──────────────────────────────────── */
.navbar-nav .nav-link:focus-visible,
.btn-quick-search:focus-visible,
.notif-btn:focus-visible,
.hamburger:focus-visible {
  outline: 2px solid var(--primary, #E1306C);
  outline-offset: 2px;
}


/* FIXEO — GLOBAL MOBILE HEADER V1 — fxgh2 */
.fixeo-gh-mobile {
  display: none;
  width: 100%;
}

/* ── V2-C3B: FIRST-PAINT FLASH PREVENTION ──────────────────────
   body.fixeo-gh-enabled is written in HTML before any JS runs.
   At first paint the new .fixeo-gh-mobile bar is NOT yet in the DOM
   (it's injected by mount() at DCL). Without these rules the legacy
   .hamburger and .navbar-toggle remain visible on mobile for the
   ~3-4 seconds it takes 600KB of sync JS to finish executing.
   These rules kill all legacy mobile-menu triggers the instant the
   first byte of CSS is parsed — no flash window at all.
   Only hide controls that fixeo-header-global.js REPLACES.
   The new .fixeo-gh-menu button is inside .fixeo-gh-mobile which
   is display:none until mount() shows it, so hiding .hamburger here
   does not leave the user without a menu button.
 ────────────────────────────────────────────────────────────── */
body.fixeo-gh-enabled .hamburger,
body.fixeo-gh-enabled .mobile-menu-toggle,
body.fixeo-gh-enabled .navbar-toggle {
  display: none !important;
}

@media (max-width: 768px) {
  body.fixeo-gh-enabled .fixeo-gh-original-node,
  body.fixeo-gh-enabled .fixeo-gh-legacy-drawer,
  body.fixeo-gh-enabled .fixeo-gh-legacy-backdrop {
    display: none !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-mobile {
    display: block !important;
  }

  body.fixeo-gh-enabled .navbar.fixeo-gh-host,
  body.fixeo-gh-enabled .site-header.fixeo-gh-shell {
    isolation: isolate;
    z-index: 1200;
  }

  body.fixeo-gh-enabled .navbar.fixeo-gh-host {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    gap: 0 !important;
    justify-content: initial !important;
    align-items: stretch !important;
    min-height: 60px !important;
  }

  body.fixeo-gh-enabled .site-header.fixeo-gh-shell {
    position: sticky;
    top: 0;
    z-index: 1200;
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
  }

  body.fixeo-gh-enabled .fixeo-gh-shell--synthetic {
    position: sticky;
    top: 0;
    z-index: 1200;
  }

  body.fixeo-gh-enabled .fixeo-gh-shell--synthetic .fixeo-gh-shell-inner {
    padding: 0;
  }

  body.fixeo-gh-enabled .fixeo-gh-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 60px;
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: calc(12px + env(safe-area-inset-left, 0px));
    padding-right: calc(12px + env(safe-area-inset-right, 0px));
    background: linear-gradient(180deg, rgba(12, 18, 32, 0.94), rgba(12, 18, 32, 0.82));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  body.fixeo-gh-enabled .fixeo-gh-brand {
    min-width: 0;
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  body.fixeo-gh-enabled .fixeo-gh-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(225,48,108,0.96), rgba(64,93,230,0.92));
    color: #fff;
    box-shadow: 0 10px 20px rgba(131, 58, 180, 0.24);
    font-size: 1rem;
  }

  body.fixeo-gh-enabled .fixeo-gh-brand-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  body.fixeo-gh-enabled .fixeo-gh-brand-text {
    display: block;
    font-size: 1.08rem;
    line-height: 1;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.fixeo-gh-enabled .fixeo-gh-brand-sub {
    display: block;
    font-size: 0.68rem;
    line-height: 1;
    color: rgba(255,255,255,0.56);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.fixeo-gh-enabled .fixeo-gh-actions {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  body.fixeo-gh-enabled .fixeo-gh-icon-btn,
  body.fixeo-gh-enabled .fixeo-gh-avatar-link {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.09);
    background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.05));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 16px rgba(0,0,0,0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  body.fixeo-gh-enabled .fixeo-gh-icon-btn {
    padding: 0;
    cursor: pointer;
  }

  body.fixeo-gh-enabled .fixeo-gh-icon {
    font-size: 1rem;
    line-height: 1;
  }

  body.fixeo-gh-enabled .fixeo-gh-avatar-link {
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1201; /* above bar (1200) — ensures tap target is never covered */
  }

  body.fixeo-gh-enabled .fixeo-gh-avatar {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    background: linear-gradient(
  110deg,
  #f05a2a 0%,
  #e1306c 48%,
  #8a3ffc 100%
);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.01em;
  }

  body.fixeo-gh-enabled .fixeo-gh-menu {
    padding: 0;
    gap: 3px;
    flex-direction: column;
  }

  body.fixeo-gh-enabled .fixeo-gh-menu-line {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    opacity: 0.92;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  body.fixeo-gh-enabled .fixeo-gh-menu.is-open .fixeo-gh-menu-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  body.fixeo-gh-enabled .fixeo-gh-menu.is-open .fixeo-gh-menu-line:nth-child(2) {
    opacity: 0;
  }

  body.fixeo-gh-enabled .fixeo-gh-menu.is-open .fixeo-gh-menu-line:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  body.fixeo-gh-enabled .fixeo-gh-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: rgba(225, 48, 108, 0.96);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    line-height: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
  }

  body.fixeo-gh-enabled .fixeo-gh-badge:empty {
    display: none;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer {
    position: fixed;
    top: calc(60px + env(safe-area-inset-top, 0px) + 8px);
    left: calc(12px + env(safe-area-inset-left, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
    z-index: 1250;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(10,15,27,0.98), rgba(10,15,27,0.94));
    box-shadow: 0 24px 54px rgba(0,0,0,0.34);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.fixeo-gh-enabled .fixeo-gh-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1240;
    border: 0;
    background: rgba(4, 8, 16, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  body.fixeo-gh-enabled .fixeo-gh-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-group + .fixeo-gh-drawer-group {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-label {
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.46);
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-link,
  body.fixeo-gh-enabled .fixeo-gh-drawer-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-link:hover,
  body.fixeo-gh-enabled .fixeo-gh-drawer-cta:hover {
    background: rgba(255,255,255,0.06);
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-cta {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-cta.is-primary {
    background: linear-gradient(135deg, rgba(225,48,108,0.92), rgba(131,58,180,0.92));
    border-color: transparent;
  }

  body.fixeo-gh-enabled .fixeo-gh-notif-panel {
    position: fixed;
    top: calc(60px + env(safe-area-inset-top, 0px) + 8px);
    right: calc(12px + env(safe-area-inset-right, 0px));
    width: min(280px, calc(100vw - 24px));
    z-index: 1260;
    border-radius: 18px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(10,15,27,0.98), rgba(10,15,27,0.94));
    box-shadow: 0 20px 40px rgba(0,0,0,0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  body.fixeo-gh-enabled .fixeo-gh-notif-panel.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.fixeo-gh-enabled .fixeo-gh-notif-title {
    margin: 0 0 10px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
  }

  body.fixeo-gh-enabled .fixeo-gh-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    color: rgba(255,255,255,0.78);
    font-size: 0.84rem;
  }

  body.fixeo-gh-enabled .fixeo-gh-notif-item + .fixeo-gh-notif-item {
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  body.fixeo-gh-enabled .fixeo-gh-notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    background: linear-gradient(135deg, #E1306C, #833AB4);
    box-shadow: 0 0 0 5px rgba(225,48,108,0.14);
    flex: 0 0 8px;
  }

  body.fixeo-gh-enabled .fixeo-gh-notif-empty {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.68);
  }
}

@media (max-width: 600px) {
  body.fixeo-gh-enabled .fixeo-gh-mobile-bar {
    gap: 10px;
  }

  body.fixeo-gh-enabled .fixeo-gh-actions {
    gap: 7px;
  }

  body.fixeo-gh-enabled .fixeo-gh-brand-text {
    font-size: 1.04rem;
  }
}

@media (max-width: 390px) {
  body.fixeo-gh-enabled .fixeo-gh-mobile-bar {
    padding-left: calc(10px + env(safe-area-inset-left, 0px));
    padding-right: calc(10px + env(safe-area-inset-right, 0px));
  }

  body.fixeo-gh-enabled .fixeo-gh-brand-icon,
  body.fixeo-gh-enabled .fixeo-gh-icon-btn,
  body.fixeo-gh-enabled .fixeo-gh-avatar-link {
    width: 36px;
    height: 36px;
  }

  body.fixeo-gh-enabled .fixeo-gh-brand-icon {
    flex-basis: 36px;
  }

  body.fixeo-gh-enabled .fixeo-gh-brand-sub {
    display: none;
  }
}

@media (max-width: 360px) {
  body.fixeo-gh-enabled .fixeo-gh-brand-text {
    font-size: 0.98rem;
  }

  body.fixeo-gh-enabled .fixeo-gh-actions {
    gap: 6px;
  }
}

@media (min-width: 769px) {
  .fixeo-gh-mobile,
  .fixeo-gh-shell--synthetic {
    display: none !important;
  }
  /* V2-C5A: hide hamburger menu portal on desktop — was adding ~344px phantom block to page height */
  #fixeo-gh-menu-portal {
    display: none !important;
  }
}

/* ── IA refonte additions (2026-05-04) ─────────────────────────── */
/* Drawer compte: user avatar initial circle */
body.fixeo-gh-enabled .fixeo-gh-drawer-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E1306C, #833AB4);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  flex: 0 0 28px;
}

/* Drawer compte: highlight row */
body.fixeo-gh-enabled .fixeo-gh-drawer-compte-user {
  background: rgba(225,48,108,0.08);
  border-radius: 14px;
}

/* Drawer lang: pill row */
body.fixeo-gh-enabled .fixeo-gh-drawer-lang-row {
  display: flex;
  gap: 8px;
  padding: 4px 0;
}

body.fixeo-gh-enabled .fixeo-gh-drawer-lang-btn {
  flex: 1;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s;
}

body.fixeo-gh-enabled .fixeo-gh-drawer-lang-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
/* ────────────────────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════
   FIXEO GH DRAWER — PREMIUM POLISH v2 (fxgh2)
   Append-only. Fixes: overflow, density, hierarchy, CTA anchor.
   Root causes fixed:
   1. No max-height → drawer overflowed by 160px on vh=844
   2. Link rows 49px → compacted to 44px rendered
   3. Group gaps 28px → 20px per separator
   4. Language section heavy → compact inline row
   5. Drawer missing premium identity header
   6. Primary CTA ("Publier une demande") must be anchored/visible
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ── 1. DRAWER: max-height + scroll guard ─────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-drawer {
    /* Safe scrollable region: from top of drawer to bottom of safe area */
    max-height: calc(100dvh - 68px - 16px - env(safe-area-inset-bottom, 0px)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch;
    /* Tighter top offset — navbar is 60px, give 8px breathing room */
    top: calc(60px + env(safe-area-inset-top, 0px) + 8px) !important;
    /* Slightly tighter side margins for more content width */
    left: calc(10px + env(safe-area-inset-left, 0px)) !important;
    right: calc(10px + env(safe-area-inset-right, 0px)) !important;
    /* Deeper premium glass */
    background: linear-gradient(
      175deg,
      rgba(12, 16, 30, 0.99) 0%,
      rgba(10, 13, 24, 0.97) 100%
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    box-shadow:
      0 28px 60px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    border-radius: 22px !important;
    padding: 6px 6px 12px !important;
  }

  /* ── 2. DRAWER HEADER — branding strip ──────────────────────
     Injected via ::before pseudo — no DOM change needed.
     Shows Fixeo name + tagline at top of drawer. */
  body.fixeo-gh-enabled .fixeo-gh-drawer::before {
    content: '';
    display: block;
    height: 3px;
    margin: 0 12px 10px;
    border-radius: 999px;
    background: linear-gradient(
      90deg,
      rgba(225, 48, 108, 0.7) 0%,
      rgba(131, 58, 180, 0.5) 50%,
      rgba(64, 93, 230, 0.3) 100%
    );
  }

  /* ── 3. GROUPS — compact spacing ────────────────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-drawer-group {
    padding: 0 10px !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-group + .fixeo-gh-drawer-group {
    margin-top: 4px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
  }

  /* ── 4. SECTION LABELS — lighter, tighter ───────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-drawer-label {
    margin-bottom: 4px !important;
    padding: 0 2px !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.09em !important;
    color: rgba(255, 255, 255, 0.36) !important;
    text-transform: uppercase !important;
  }

  /* ── 5. LINKS — compact 44px touch targets ──────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-drawer-link,
  body.fixeo-gh-enabled .fixeo-gh-drawer-cta {
    min-height: 44px !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    gap: 10px !important;
    transition: background 0.14s ease, color 0.14s ease !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-link:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: rgba(255, 255, 255, 0.96) !important;
  }

  /* ── 6. PRIMARY CTA — "Publier une demande" ─────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-drawer-cta.is-primary {
    min-height: 46px !important;
    padding: 0 16px !important;
    font-weight: 700 !important;
    font-size: 0.93rem !important;
    color: #fff !important;
    background: linear-gradient(
      135deg,
      rgba(225, 48, 108, 0.94) 0%,
      rgba(131, 58, 180, 0.92) 100%
    ) !important;
    border: 1px solid rgba(225, 48, 108, 0.28) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.22) !important;
    justify-content: center !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-cta.is-primary:hover {
    filter: brightness(1.08) !important;
    box-shadow: 0 10px 28px rgba(225, 48, 108, 0.30) !important;
  }

  /* Secondary CTAs (Connexion / Inscription / Je suis artisan) */
  body.fixeo-gh-enabled .fixeo-gh-drawer-cta:not(.is-primary) {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 600 !important;
    justify-content: center !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-cta:not(.is-primary):hover {
    background: rgba(255, 255, 255, 0.09) !important;
  }

  /* ── 7. COMPTE GROUP — auth user highlight ──────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-drawer-compte-user {
    background: linear-gradient(
      135deg,
      rgba(225, 48, 108, 0.10),
      rgba(131, 58, 180, 0.08)
    ) !important;
    border: 1px solid rgba(225, 48, 108, 0.16) !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 4px !important;
  }

  /* Logout link — subtle red danger tone */
  body.fixeo-gh-enabled #fixeo-gh-drawer-logout {
    color: rgba(255, 100, 100, 0.78) !important;
    font-size: 0.88rem !important;
  }

  body.fixeo-gh-enabled #fixeo-gh-drawer-logout:hover {
    color: rgba(255, 100, 100, 0.96) !important;
    background: rgba(255, 60, 60, 0.07) !important;
  }

  /* ── 8. LANGUAGE ROW — compact, no label ───────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-drawer-lang {
    margin-top: 0 !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  /* Hide label above lang row — pill buttons self-describe */
  body.fixeo-gh-enabled .fixeo-gh-drawer-lang .fixeo-gh-drawer-label {
    display: none !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-lang-row {
    padding: 2px 2px 0 !important;
    gap: 6px !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-lang-btn {
    height: 30px !important;
    border-radius: 8px !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: rgba(255, 255, 255, 0.52) !important;
    letter-spacing: 0.06em !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-lang-btn:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    color: rgba(255, 255, 255, 0.86) !important;
  }

  /* Active lang btn */
  body.fixeo-gh-enabled .fixeo-gh-drawer-lang-btn[data-active="true"],
  body.fixeo-gh-enabled .fixeo-gh-drawer-lang-btn.active {
    background: rgba(225, 48, 108, 0.18) !important;
    border-color: rgba(225, 48, 108, 0.30) !important;
    color: rgba(255, 255, 255, 0.92) !important;
  }

  /* ── 9. SCROLL FADE INDICATOR ───────────────────────────────── */
  /* Subtle bottom gradient hint that there's more content when scrollable */
  body.fixeo-gh-enabled .fixeo-gh-drawer::after {
    content: '';
    position: sticky;
    bottom: 0;
    display: block;
    height: 24px;
    margin: -24px -6px 0;
    background: linear-gradient(
      to top,
      rgba(10, 13, 24, 0.85) 0%,
      transparent 100%
    );
    pointer-events: none;
    border-radius: 0 0 22px 22px;
  }

  /* ── 10. SAFE AREA BOTTOM GUARD ─────────────────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-drawer-group:last-child {
    padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ── 320px micro layout ──────────────────────────────────────── */
@media (max-width: 320px) {
  body.fixeo-gh-enabled .fixeo-gh-drawer {
    left: 8px !important;
    right: 8px !important;
    padding: 6px 4px 10px !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-link,
  body.fixeo-gh-enabled .fixeo-gh-drawer-cta {
    font-size: 0.88rem !important;
    padding: 7px 10px !important;
    min-height: 42px !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-lang-btn {
    height: 28px !important;
    font-size: 0.72rem !important;
  }
}
/* END fxgh2 premium polish */

/* ── ⚡ Mon Espace Fixeo — premium drawer CTA — fxgh-espace ── */
body.fixeo-gh-enabled .fixeo-gh-drawer-espace {
  background: linear-gradient(135deg, rgba(225,48,108,0.18), rgba(131,58,180,0.22)) !important;
  border: 1px solid rgba(225,48,108,0.42) !important;
  box-shadow: 0 0 16px rgba(225,48,108,0.14), inset 0 1px 0 rgba(255,255,255,0.07) !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  margin-top: 6px !important;
  transition: background .2s, box-shadow .2s, transform .15s !important;
}
body.fixeo-gh-enabled .fixeo-gh-drawer-espace:hover,
body.fixeo-gh-enabled .fixeo-gh-drawer-espace:active {
  background: linear-gradient(135deg, rgba(225,48,108,0.30), rgba(131,58,180,0.34)) !important;
  box-shadow: 0 0 24px rgba(225,48,108,0.26) !important;
  transform: translateY(-1px);
}

/* ── ⚡ Avatar workspace state — logged-in shortcut ── fxgh-espace-avatar ── */
body.fixeo-gh-enabled .fixeo-gh-avatar--espace {
  background: linear-gradient(135deg, #E1306C 0%, #833AB4 100%);
  box-shadow: 0 0 10px rgba(225, 48, 108, 0.55), 0 0 20px rgba(131, 58, 180, 0.30);
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
body.fixeo-gh-enabled .fixeo-gh-avatar-link:hover .fixeo-gh-avatar--espace,
body.fixeo-gh-enabled .fixeo-gh-avatar-link:active .fixeo-gh-avatar--espace {
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(225, 48, 108, 0.70), 0 0 28px rgba(131, 58, 180, 0.45);
}

/* ══════════════════════════════════════════════════════════════
   FIXEO GH DRAWER — PREMIUM NAVIGATION V3 (fxgh-nav3)
   Append-only. CSS namespace: fixeo-gh-di / fixeo-gh-drawer-link--*
   Implements:
     1. Icon normalization (fixeo-gh-di span)
     2. Active state (fixeo-gh-drawer-link--active)
     3. Enterprise premium entry (fixeo-gh-drawer-link--enterprise)
     4. Section label refinement
     5. Typography hierarchy improvement
   ══════════════════════════════════════════════════════════════ */

/* ── 1. Icon normalization ─────────────────────────────────── */
/* All drawer item icons are wrapped in .fixeo-gh-di for consistent
   width, alignment and visual weight across all icon families.    */
body.fixeo-gh-enabled .fixeo-gh-di {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  /* Prevent emoji font-size inheritance oddities */
  font-style: normal;
}

/* ── 2. Active navigation state ───────────────────────────── */
/* Current page link — subtle, premium, not aggressive */
body.fixeo-gh-enabled .fixeo-gh-drawer-link--active {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  position: relative;
}

/* Left accent bar on active item */
body.fixeo-gh-enabled .fixeo-gh-drawer-link--active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, rgb(72, 100, 255), rgba(72, 100, 255, 0.60));
}

/* ── 3. Enterprise premium entry ──────────────────────────── */
/* Subtle upgrade over a regular nav link — same destination,
   higher perceived value. No glow, no animation.              */
body.fixeo-gh-enabled .fixeo-gh-drawer-link--enterprise {
  color: rgb(72, 100, 255) !important;
  font-weight: 700 !important;
  background: rgba(72, 100, 255, 0.08) !important;
  border: 1px solid rgba(72, 100, 255, 0.18) !important;
  border-radius: 12px !important;
  margin-top: 4px !important;
}

body.fixeo-gh-enabled .fixeo-gh-drawer-link--enterprise:hover {
  background: rgba(72, 100, 255, 0.14) !important;
  color: rgb(110, 135, 255) !important;
}

/* Active enterprise link (when on entreprises.html) */
body.fixeo-gh-enabled .fixeo-gh-drawer-link--enterprise.fixeo-gh-drawer-link--active {
  background: rgba(72, 100, 255, 0.16) !important;
  border-color: rgba(72, 100, 255, 0.32) !important;
  color: rgb(130, 155, 255) !important;
}

/* Active state accent bar color for enterprise: indigo */
body.fixeo-gh-enabled .fixeo-gh-drawer-link--enterprise.fixeo-gh-drawer-link--active::before {
  background: linear-gradient(180deg, rgb(72, 100, 255), rgba(72, 100, 255, 0.50));
}

/* ── 4. Section label typography refinement ───────────────── */
/* Slightly more refined label — tighter, more air above group  */
@media (max-width: 768px) {
  body.fixeo-gh-enabled .fixeo-gh-drawer-group {
    padding-top: 2px !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 2px 2px !important;
    margin-bottom: 6px !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.11em !important;
    color: rgba(255, 255, 255, 0.30) !important;
  }

  /* Thin rule before label (replaces top border on group) */
  body.fixeo-gh-enabled .fixeo-gh-drawer-group + .fixeo-gh-drawer-group > .fixeo-gh-drawer-label::before {
    content: '';
    display: block;
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    display: none; /* keep it clean — border-top on group is enough */
  }

  /* ── 5. Typography hierarchy ────────────────────────────── */
  /* Regular nav links: slightly lighter weight for inactive state */
  body.fixeo-gh-enabled .fixeo-gh-drawer-link:not(.fixeo-gh-drawer-link--active):not(.fixeo-gh-drawer-cta):not(.fixeo-gh-drawer-link--enterprise):not(.fixeo-gh-drawer-compte-user):not(.fixeo-gh-drawer-espace) {
    font-weight: 450 !important;
    color: rgba(255, 255, 255, 0.72) !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-link:not(.fixeo-gh-drawer-link--active):not(.fixeo-gh-drawer-cta):not(.fixeo-gh-drawer-link--enterprise):not(.fixeo-gh-drawer-compte-user):not(.fixeo-gh-drawer-espace):hover {
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.92) !important;
  }

  /* ── 6. Touch target consistency ────────────────────────── */
  /* All items exactly 44px — WCAG AA touch target             */
  body.fixeo-gh-enabled .fixeo-gh-di {
    width: 22px !important;
    font-size: 0.94rem !important;
    opacity: 0.80;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-link--active .fixeo-gh-di,
  body.fixeo-gh-enabled .fixeo-gh-drawer-link:hover .fixeo-gh-di {
    opacity: 1;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-link--enterprise .fixeo-gh-di {
    opacity: 0.90;
  }
}
/* END fxgh-nav3 */

/* ══════════════════════════════════════════════════════════════
   FIXEO GLOBAL MOBILE MENU — PLATFORM GATEWAY V4
   Namespace: fixeo-gh-gateway-*
   Activation class: .fixeo-gh-drawer--gateway

   Architecture:
   Navigation courte
   → Client
   → Artisan
   → Entreprise
   → Découvrir
   → Compte

   Language selector intentionally omitted from V4 until the
   multilingual experience is production-ready.
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ── DRAWER CANVAS ────────────────────────────────────────── */

  body.fixeo-gh-enabled
  .fixeo-gh-drawer.fixeo-gh-drawer--gateway {
    padding: 7px 7px 14px !important;

    background:
      radial-gradient(
        ellipse 80% 38% at 12% 0%,
        rgba(225,48,108,.075),
        transparent 72%
      ),
      radial-gradient(
        ellipse 70% 34% at 100% 100%,
        rgba(64,93,230,.055),
        transparent 74%
      ),
      linear-gradient(
        175deg,
        rgba(13,16,30,.995),
        rgba(8,11,22,.985)
      ) !important;

    border:
      1px solid rgba(255,255,255,.09) !important;

    border-radius:24px !important;

    box-shadow:
      0 32px 75px rgba(0,0,0,.48),
      inset 0 1px 0 rgba(255,255,255,.055) !important;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-drawer.fixeo-gh-drawer--gateway::before {
    height:2px;

    margin:
      0
      13px
      12px;

    background:
      linear-gradient(
        90deg,
        rgba(225,48,108,.85),
        rgba(131,58,180,.58) 50%,
        rgba(64,93,230,.28),
        transparent
      );
  }


  /* ── COMMON GROUP ─────────────────────────────────────────── */

  body.fixeo-gh-enabled
  .fixeo-gh-drawer--gateway
  .fixeo-gh-drawer-group {
    padding:
      0
      8px !important;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-drawer--gateway
  .fixeo-gh-drawer-group +
  .fixeo-gh-drawer-group {
    margin-top:9px !important;

    padding-top:13px !important;

    border-top:
      1px solid rgba(255,255,255,.06) !important;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-drawer--gateway
  .fixeo-gh-drawer-label {
    margin:
      0
      0
      8px !important;

    padding:
      0
      2px !important;

    color:
      rgba(255,255,255,.30) !important;

    font-size:.61rem !important;
    font-weight:800 !important;

    letter-spacing:.13em !important;
    line-height:1.2;

    text-transform:uppercase;
  }


  /* ════════════════════════════════════════════════════════════
     SHORT NAVIGATION
     ════════════════════════════════════════════════════════════ */

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-nav-grid {
    display:grid;

    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:6px;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-nav-item {
    position:relative;

    display:flex;
    align-items:center;

    gap:9px;

    min-width:0;
    min-height:43px;

    padding:
      8px
      10px !important;

    border-radius:12px !important;

    border:
      1px solid rgba(255,255,255,.065);

    background:
      rgba(255,255,255,.025);

    color:
      rgba(240,244,252,.70) !important;

    font-size:.78rem !important;
    font-weight:650 !important;

    text-decoration:none;

    transition:
      background .15s ease,
      border-color .15s ease,
      color .15s ease;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-nav-item:hover,
  body.fixeo-gh-enabled
  .fixeo-gh-gateway-nav-item:active {
    background:
      rgba(255,255,255,.055);

    border-color:
      rgba(255,255,255,.11);

    color:#fff !important;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-nav-item
  .fixeo-gh-di {
    width:19px !important;

    font-size:.88rem !important;

    opacity:.66;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-nav-item.fixeo-gh-drawer-link--active {
    background:
      linear-gradient(
        135deg,
        rgba(225,48,108,.08),
        rgba(131,58,180,.045)
      ) !important;

    border-color:
      rgba(225,48,108,.16);

    color:#fff !important;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-nav-item.fixeo-gh-drawer-link--active::before {
    display:none;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-nav-item.fixeo-gh-drawer-link--active::after {
    content:'';

    position:absolute;

    top:8px;
    right:8px;

    width:5px;
    height:5px;

    border-radius:50%;

    background:#ff76a8;

    box-shadow:
      0 0 9px rgba(225,48,108,.55);
  }


  /* ════════════════════════════════════════════════════════════
     PLATFORM GATEWAY STACK
     ════════════════════════════════════════════════════════════ */

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-stack {
    display:flex;
    flex-direction:column;

    gap:8px;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-card {
    position:relative;

    overflow:hidden;

    padding:
      15px
      14px
      14px;

    border-radius:17px;

    border:
      1px solid rgba(255,255,255,.075);

    background:
      rgba(255,255,255,.025);

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.025);
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-card::before {
    content:'';

    position:absolute;

    inset:
      0
      auto
      0
      0;

    width:2px;

    opacity:.70;
  }


  /* Client */

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-card--client {
    background:
      radial-gradient(
        ellipse 65% 90% at 0% 0%,
        rgba(225,48,108,.075),
        transparent 74%
      ),
      rgba(255,255,255,.025);
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-card--client::before {
    background:
      linear-gradient(
        180deg,
        #E1306C,
        rgba(131,58,180,.32),
        transparent
      );
  }


  /* Artisan */

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-card--artisan {
    background:
      radial-gradient(
        ellipse 65% 90% at 0% 0%,
        rgba(131,58,180,.075),
        transparent 74%
      ),
      rgba(255,255,255,.025);
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-card--artisan::before {
    background:
      linear-gradient(
        180deg,
        #a86df4,
        rgba(225,48,108,.25),
        transparent
      );
  }


  /* Enterprise */

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-card--enterprise {
    background:
      radial-gradient(
        ellipse 68% 90% at 0% 0%,
        rgba(64,93,230,.09),
        transparent 74%
      ),
      rgba(255,255,255,.025);
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-card--enterprise::before {
    background:
      linear-gradient(
        180deg,
        #6077ff,
        rgba(64,93,230,.22),
        transparent
      );
  }


  /* ── Gateway heading ─────────────────────────────────────── */

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-card-head {
    display:flex;
    align-items:flex-start;

    gap:11px;

    margin-bottom:11px;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-symbol {
    width:33px;
    height:33px;

    flex:0 0 33px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:10px;

    border:
      1px solid rgba(255,255,255,.075);

    background:
      rgba(255,255,255,.035);

    color:
      rgba(255,255,255,.80);

    font-size:.86rem;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-card-copy {
    min-width:0;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-kicker {
    display:block;

    margin-bottom:3px;

    color:
      rgba(255,255,255,.30);

    font-size:.52rem;
    font-weight:850;

    letter-spacing:.11em;

    text-transform:uppercase;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-title {
    margin:0;

    color:#fff;

    font-size:.91rem;
    font-weight:820;

    line-height:1.25;

    letter-spacing:-.01em;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-desc {
    margin:
      4px
      0
      0;

    color:
      rgba(225,231,244,.45);

    font-size:.68rem;

    line-height:1.48;
  }


  /* ── Main gateway actions ────────────────────────────────── */

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-action {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:10px;

    width:100%;

    min-height:42px;

    padding:
      9px
      12px !important;

    border-radius:12px !important;

    text-decoration:none;

    font-family:inherit;

    font-size:.76rem !important;
    font-weight:780 !important;

    cursor:pointer;

    transition:
      transform .14s ease,
      filter .14s ease,
      border-color .14s ease,
      background .14s ease;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-action::after {
    content:'→';

    flex:0 0 auto;

    opacity:.62;

    font-size:.85rem;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-action:hover,
  body.fixeo-gh-enabled
  .fixeo-gh-gateway-action:active {
    transform:translateY(-1px);
  }


  /* Client = only dominant CTA */

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-action--client {
    border:
      1px solid rgba(225,48,108,.25) !important;

    background:
      linear-gradient(
        135deg,
        #E1306C,
        #833AB4
      ) !important;

    color:#fff !important;

    box-shadow:
      0 8px 22px rgba(225,48,108,.18);
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-action--client:hover {
    filter:brightness(1.07);
  }


  /* Artisan = secondary strategic gateway */

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-action--artisan {
    border:
      1px solid rgba(168,109,244,.18) !important;

    background:
      rgba(131,58,180,.075) !important;

    color:
      rgba(237,220,255,.90) !important;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-action--artisan:hover {
    background:
      rgba(131,58,180,.13) !important;

    border-color:
      rgba(168,109,244,.27) !important;
  }


  /* Enterprise = institutional gateway */

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-action--enterprise {
    border:
      1px solid rgba(96,119,255,.20) !important;

    background:
      rgba(64,93,230,.075) !important;

    color:
      rgba(190,202,255,.93) !important;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-action--enterprise:hover {
    background:
      rgba(64,93,230,.13) !important;

    border-color:
      rgba(96,119,255,.30) !important;
  }


  /* ── Secondary contextual links ──────────────────────────── */

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-sublinks {
    display:flex;
    flex-wrap:wrap;

    align-items:center;

    gap:
      6px
      13px;

    margin-top:9px;

    padding:
      0
      2px;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-sublink {
    position:relative;

    display:inline-flex;
    align-items:center;

    min-height:26px;

    padding:0 !important;

    color:
      rgba(225,231,244,.45) !important;

    font-size:.65rem !important;
    font-weight:650 !important;

    text-decoration:none;

    background:none !important;

    border:0 !important;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-sublink:hover {
    color:
      rgba(255,255,255,.82) !important;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-sublink +
  .fixeo-gh-gateway-sublink::before {
    content:'';

    width:3px;
    height:3px;

    margin-right:10px;

    border-radius:50%;

    background:
      rgba(255,255,255,.18);
  }


  /* ════════════════════════════════════════════════════════════
     DISCOVER FIXEO
     ════════════════════════════════════════════════════════════ */

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-discover {
    display:grid;

    grid-template-columns:1fr;

    gap:3px;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-discover-link {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:12px;

    min-height:36px;

    padding:
      6px
      4px !important;

    border-radius:9px !important;

    background:none !important;

    color:
      rgba(225,231,244,.52) !important;

    font-size:.72rem !important;
    font-weight:600 !important;

    text-decoration:none;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-discover-link::after {
    content:'›';

    color:
      rgba(255,255,255,.20);

    font-size:.92rem;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-discover-link:hover {
    padding-left:
      8px !important;

    background:
      rgba(255,255,255,.025) !important;

    color:
      rgba(255,255,255,.82) !important;
  }


  /* ════════════════════════════════════════════════════════════
     ACCOUNT
     ════════════════════════════════════════════════════════════ */

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-account-actions {
    display:grid;

    grid-template-columns:
      1fr
      1fr;

    gap:7px;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-account-link {
    min-height:40px !important;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:7px;

    padding:
      8px
      10px !important;

    border-radius:11px !important;

    border:
      1px solid rgba(255,255,255,.075) !important;

    background:
      rgba(255,255,255,.026) !important;

    color:
      rgba(240,244,252,.68) !important;

    font-size:.72rem !important;
    font-weight:700 !important;

    text-decoration:none;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-gateway-account-link:hover {
    border-color:
      rgba(255,255,255,.13) !important;

    background:
      rgba(255,255,255,.055) !important;

    color:#fff !important;
  }


  /* Logged-in user remains premium, but no competition
     with the client marketplace CTA. */

  body.fixeo-gh-enabled
  .fixeo-gh-drawer--gateway
  .fixeo-gh-drawer-compte-user {
    min-height:42px !important;

    margin-bottom:6px !important;

    background:
      linear-gradient(
        135deg,
        rgba(225,48,108,.075),
        rgba(131,58,180,.055)
      ) !important;

    border:
      1px solid rgba(225,48,108,.12) !important;

    box-shadow:none !important;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-drawer--gateway
  .fixeo-gh-drawer-espace {
    margin-top:0 !important;

    min-height:42px !important;

    background:
      rgba(255,255,255,.032) !important;

    border:
      1px solid rgba(255,255,255,.075) !important;

    box-shadow:none !important;

    color:
      rgba(240,244,252,.78) !important;
  }


  /* ── NO LANGUAGE SURFACE IN V4 ───────────────────────────── */

  body.fixeo-gh-enabled
  .fixeo-gh-drawer--gateway
  .fixeo-gh-drawer-lang {
    display:none !important;
  }


  /* ── FINAL SAFE AREA ─────────────────────────────────────── */

  body.fixeo-gh-enabled
  .fixeo-gh-drawer--gateway
  .fixeo-gh-drawer-group:last-child {
    padding-bottom:
      calc(
        6px +
        env(safe-area-inset-bottom,0px)
      ) !important;
  }
}


/* ── Small devices ─────────────────────────────────────────── */

@media (max-width: 360px) {

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-card {
    padding:
      13px
      12px;
  }

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-title {
    font-size:.87rem;
  }

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-desc {
    font-size:.65rem;
  }

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-nav-item {
    font-size:.73rem !important;
  }

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-account-actions {
    grid-template-columns:1fr;
  }
}


/* ── Reduced motion ────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-action,

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-nav-item,

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-discover-link {
    transition:none !important;

    transform:none !important;
  }
}

/* END FIXEO MOBILE MENU PLATFORM GATEWAY V4 */

/* ══════════════════════════════════════════════════════════════
   FIXEO MOBILE GATEWAY V4 — ARTISAN SUBLINK ALIGNMENT
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-card--artisan
  .fixeo-gh-gateway-sublinks {
    display:grid;
    grid-template-columns:auto auto;
    justify-content:start;
    align-items:center;
    gap:8px 18px;
  }

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-card--artisan
  .fixeo-gh-gateway-sublink {
    white-space:nowrap;
  }

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-card--artisan
  .fixeo-gh-gateway-sublink +
  .fixeo-gh-gateway-sublink::before {
    display:none;
  }
}

@media (max-width: 340px) {

  body.fixeo-gh-enabled
  .fixeo-gh-gateway-card--artisan
  .fixeo-gh-gateway-sublinks {
    grid-template-columns:1fr;
    gap:3px;
  }
}

/* ══════════════════════════════════════════════════════════════
   FIXEO GLOBAL HEADER V5A — UNIVERSAL MOBILE SHELL
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /*
   * Historical headers remain available for desktop
   * but never compete with the canonical mobile shell.
   */
  body.fixeo-gh-enabled
  .fixeo-gh-source-shell {
    display:none !important;
  }


  /*
   * Canonical mobile header.
   * Independent from .navbar / .site-header page CSS.
   */
  body.fixeo-gh-enabled
  .fixeo-gh-universal-shell {
    display:block !important;

    position:sticky !important;
    top:0 !important;

    width:100% !important;

    margin:0 !important;
    padding:0 !important;

    z-index:1200 !important;

    background:transparent !important;

    isolation:isolate;
  }


  body.fixeo-gh-enabled
  .fixeo-gh-universal-inner {
    width:100% !important;
    max-width:none !important;

    margin:0 !important;
    padding:0 !important;
  }
}


@media (min-width:769px) {

  body.fixeo-gh-enabled
  .fixeo-gh-universal-shell {
    display:none !important;
  }

}

/* ══════════════════════════════════════════════════════════════
   FIXEO GLOBAL HEADER V5B.2
   PREMIUM STICKY DRAWER CONTROL
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ── Persistent top control ─────────────────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-drawer-control {
    position: sticky;
    top: 0;
    z-index: 8;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    min-height: 48px;
    margin: 0 -2px 8px;
    padding: 7px 8px 8px;

    background:
      linear-gradient(
        180deg,
        rgba(12,16,30,.985) 0%,
        rgba(12,16,30,.965) 76%,
        rgba(12,16,30,.90) 100%
      );

    border-bottom: 1px solid rgba(255,255,255,.07);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }


  /* ── FIXEO identity ─────────────────────────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-drawer-control-brand {
    min-width: 0;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding-left: 4px;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-control-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;

    border-radius: 50%;

    background: #ff6b9d;

    box-shadow:
      0 0 0 4px rgba(225,48,108,.08),
      0 0 12px rgba(225,48,108,.45);
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-control-title {
    color: rgba(255,255,255,.58);

    font-size: .64rem;
    font-weight: 800;

    letter-spacing: .13em;
    text-transform: uppercase;

    white-space: nowrap;
  }


  /* ── Close control ──────────────────────────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-drawer-close {
    width: auto !important;
    min-width: 0 !important;
    min-height: 34px !important;

    flex: 0 0 auto;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    margin: 0 !important;
    padding: 5px 10px !important;

    border-radius: 10px !important;

    border: 1px solid rgba(255,255,255,.09) !important;

    background: rgba(255,255,255,.045) !important;

    color: rgba(255,255,255,.72) !important;

    font-family: inherit;
    font-size: .72rem !important;
    font-weight: 700 !important;

    cursor: pointer;

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.035) !important;

    transition:
      background .15s ease,
      border-color .15s ease,
      color .15s ease !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-close:hover,
  body.fixeo-gh-enabled .fixeo-gh-drawer-close:active {
    background: rgba(255,255,255,.085) !important;
    border-color: rgba(255,255,255,.15) !important;
    color: #fff !important;
    transform: none !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-close-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    color: rgba(255,255,255,.88);

    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-close-label {
    line-height: 1;
  }


  /*
   * The V4 accent line remains the visual entrance signal.
   * Keep it tighter now that the drawer has its own control bar.
   */
  body.fixeo-gh-enabled .fixeo-gh-drawer::before {
    margin-bottom: 4px !important;
  }

}


@media (max-width: 340px) {

  body.fixeo-gh-enabled .fixeo-gh-drawer-close {
    padding: 5px 8px !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-close-label {
    display: none;
  }

  body.fixeo-gh-enabled .fixeo-gh-drawer-close-icon {
    width: 20px;
    height: 20px;
  }

}


@media (prefers-reduced-motion: reduce) {

  body.fixeo-gh-enabled .fixeo-gh-drawer-close {
    transition: none !important;
  }

}

/* ══════════════════════════════════════════════════════════════
   FIXEO GLOBAL HEADER V5B.3
   PREMIUM MOBILE COMMAND BAR
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ── Canonical command bar ───────────────────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-mobile-bar {
    min-height: 62px !important;

    padding-left:
      calc(14px + env(safe-area-inset-left, 0px)) !important;

    padding-right:
      calc(14px + env(safe-area-inset-right, 0px)) !important;

    gap: 12px !important;

    background:
      linear-gradient(
        180deg,
        rgba(11,14,26,.975) 0%,
        rgba(10,13,24,.955) 100%
      ) !important;

    border-bottom:
      1px solid rgba(255,255,255,.065) !important;

    box-shadow:
      0 10px 34px rgba(0,0,0,.20),
      inset 0 1px 0 rgba(255,255,255,.025) !important;

    backdrop-filter:
      saturate(135%) blur(18px) !important;

    -webkit-backdrop-filter:
      saturate(135%) blur(18px) !important;
  }


  /* ── FIXEO identity ──────────────────────────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-brand {
    gap: 8px !important;
  }

  body.fixeo-gh-enabled .fixeo-logo-img {
    display: block;

    width: auto !important;
    height: 27px !important;
    max-width: 112px;

    object-fit: contain;

    filter:
      drop-shadow(0 2px 8px rgba(225,48,108,.10));
  }


  /* ── Actions rail ────────────────────────────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-actions {
    gap: 6px !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-icon-btn,
  body.fixeo-gh-enabled .fixeo-gh-avatar-link {
    width: 39px !important;
    height: 39px !important;

    border-radius: 13px !important;

    border:
      1px solid rgba(255,255,255,.075) !important;

    background:
      rgba(255,255,255,.035) !important;

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.035),
      0 5px 14px rgba(0,0,0,.12) !important;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
      background .15s ease,
      border-color .15s ease,
      transform .15s ease,
      box-shadow .15s ease !important;
  }


  /* ── RAFI — product intelligence control ─────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-search {
    background:
      linear-gradient(
        145deg,
        rgba(75,120,255,.095),
        rgba(75,120,255,.035)
      ) !important;

    border-color:
      rgba(105,145,255,.20) !important;

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.045),
      0 0 18px rgba(72,100,255,.055) !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-search .fixeo-gh-icon {
    opacity: .90;
    filter:
      drop-shadow(0 0 5px rgba(110,155,255,.20));
  }


  /* ── Notifications — quiet by default ────────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-notif {
    background:
      rgba(255,255,255,.032) !important;

    border-color:
      rgba(255,255,255,.07) !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-notif .fixeo-gh-icon {
    opacity: .78;
    filter: none !important;
  }

  /*
   * Notification importance comes from the badge,
   * not from permanently glowing the bell.
   */
  body.fixeo-gh-enabled .fixeo-gh-badge:not(:empty) {
    box-shadow:
      0 0 0 2px rgba(11,14,26,.96),
      0 3px 10px rgba(225,48,108,.28) !important;
  }


  /* ── Account — premium but no longer dominant ────────────── */
  body.fixeo-gh-enabled .fixeo-gh-avatar {
    background:
      linear-gradient(
        145deg,
        rgba(225,48,108,.88),
        rgba(131,58,180,.82)
      ) !important;

    color: rgba(255,255,255,.96) !important;

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.13) !important;

    font-size: .84rem !important;
    font-weight: 800 !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-avatar--espace {
    background:
      linear-gradient(
        145deg,
        rgba(225,48,108,.90),
        rgba(131,58,180,.86)
      ) !important;

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.14),
      0 5px 15px rgba(131,58,180,.12) !important;

    font-size: .92rem !important;
  }

  body.fixeo-gh-enabled
  .fixeo-gh-avatar-link:hover
  .fixeo-gh-avatar--espace,

  body.fixeo-gh-enabled
  .fixeo-gh-avatar-link:active
  .fixeo-gh-avatar--espace {
    transform: none !important;

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.16),
      0 6px 18px rgba(131,58,180,.17) !important;
  }


  /* ── Menu — structural control ───────────────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-menu {
    background:
      rgba(255,255,255,.040) !important;

    border-color:
      rgba(255,255,255,.085) !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-menu-line {
    width: 15px !important;
    height: 1.6px !important;

    background:
      rgba(255,255,255,.88) !important;
  }

  /*
   * Open state: subtle FIXEO signal.
   * The control remains structural, not a large glowing CTA.
   */
  body.fixeo-gh-enabled .fixeo-gh-menu.is-open {
    background:
      rgba(225,48,108,.075) !important;

    border-color:
      rgba(225,48,108,.18) !important;

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.04),
      0 0 18px rgba(225,48,108,.055) !important;
  }


  /* ── Unified interaction ─────────────────────────────────── */
  body.fixeo-gh-enabled .fixeo-gh-icon-btn:hover,
  body.fixeo-gh-enabled .fixeo-gh-avatar-link:hover {
    background:
      rgba(255,255,255,.065) !important;

    border-color:
      rgba(255,255,255,.12) !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-icon-btn:active,
  body.fixeo-gh-enabled .fixeo-gh-avatar-link:active {
    transform: scale(.96);
  }

}


@media (max-width: 380px) {

  body.fixeo-gh-enabled .fixeo-gh-mobile-bar {
    padding-left:
      calc(11px + env(safe-area-inset-left, 0px)) !important;

    padding-right:
      calc(11px + env(safe-area-inset-right, 0px)) !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-actions {
    gap: 5px !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-icon-btn,
  body.fixeo-gh-enabled .fixeo-gh-avatar-link {
    width: 37px !important;
    height: 37px !important;
  }

  body.fixeo-gh-enabled .fixeo-logo-img {
    height: 25px !important;
  }

}


@media (prefers-reduced-motion: reduce) {

  body.fixeo-gh-enabled .fixeo-gh-icon-btn,
  body.fixeo-gh-enabled .fixeo-gh-avatar-link {
    transition: none !important;
  }

}

/* ══════════════════════════════════════════════════════════════
   FIXEO GLOBAL HEADER V5B.5
   Account control visual hierarchy refinement
   ══════════════════════════════════════════════════════════════ */

@media (max-width:768px){

  body.fixeo-gh-enabled .fixeo-gh-avatar{
    background:
      linear-gradient(
        135deg,
        rgba(240,90,42,.92) 0%,
        rgba(225,48,108,.92) 48%,
        rgba(138,63,252,.90) 100%
      ) !important;

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.16),
      0 5px 16px rgba(225,48,108,.22) !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-avatar--espace{
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.16),
      0 5px 16px rgba(225,48,108,.24),
      0 0 12px rgba(131,58,180,.12) !important;
  }

  body.fixeo-gh-enabled
  .fixeo-gh-avatar-link:hover
  .fixeo-gh-avatar--espace,
  body.fixeo-gh-enabled
  .fixeo-gh-avatar-link:active
  .fixeo-gh-avatar--espace{
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.18),
      0 7px 20px rgba(225,48,108,.30),
      0 0 16px rgba(131,58,180,.17) !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   FIXEO GLOBAL HEADER V5B — MOBILE STICKY LOCK
   Canonical mobile header remains visible while scrolling.
   Applies uniformly to navbar, site-header and synthetic hosts.
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  body.fixeo-gh-enabled .navbar.fixeo-gh-host,
  body.fixeo-gh-enabled .site-header.fixeo-gh-shell,
  body.fixeo-gh-enabled .fixeo-gh-shell--synthetic {
    position: sticky !important;
    top: 0 !important;
    z-index: 1200 !important;

    transform: none !important;
    translate: none !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-mobile-bar {
    position: relative !important;
    top: 0 !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   FIXEO GLOBAL MOBILE HEADER V5B — VIEWPORT LOCK
   Canonical mobile header remains visible during page scroll.
   The legacy host keeps the layout height; .fixeo-gh-mobile
   becomes viewport-fixed and independent from page header behavior.
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Keep the original header host as a layout spacer */
  body.fixeo-gh-enabled .navbar.fixeo-gh-host,
  body.fixeo-gh-enabled .site-header.fixeo-gh-shell,
  body.fixeo-gh-enabled .fixeo-gh-shell--synthetic {
    position: relative !important;
    top: auto !important;

    min-height:
      calc(60px + env(safe-area-inset-top, 0px)) !important;

    z-index: auto !important;
  }

  /* Canonical FIXEO mobile header:
     permanently attached to the viewport */
  body.fixeo-gh-enabled .fixeo-gh-mobile {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    z-index: 1300 !important;

    transform: none !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-mobile-bar {
    position: relative !important;

    width: 100% !important;

    margin: 0 !important;

    isolation: isolate;
  }

  /* Drawer / notification remain above the fixed header */
  body.fixeo-gh-enabled .fixeo-gh-drawer {
    z-index: 1350 !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-backdrop {
    z-index: 1340 !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-notif-panel {
    z-index: 1360 !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   FIXEO GLOBAL MOBILE HEADER V5B.2
   FINAL FIXED LAYER CONTRACT
   Header always remains ABOVE scrolling page content.
   Page content can never paint over the canonical mobile header.
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ── Canonical header becomes a true viewport layer ─────── */
  body.fixeo-gh-enabled .navbar.fixeo-gh-host,
  body.fixeo-gh-enabled .site-header.fixeo-gh-shell,
  body.fixeo-gh-enabled .fixeo-gh-shell--synthetic {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;

    z-index: 2147483000 !important;

    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;

    overflow: visible !important;
    isolation: isolate !important;

    margin: 0 !important;
  }


  /* ── Keep page below the fixed header ───────────────────── */
  body.fixeo-gh-enabled {
    padding-top:
      calc(
        60px +
        env(safe-area-inset-top, 0px)
      ) !important;
  }


  /* ── Mobile bar always paints above page content ────────── */
  body.fixeo-gh-enabled .fixeo-gh-mobile {
    position: relative !important;
    z-index: 2 !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-mobile-bar {
    position: relative !important;
    z-index: 3 !important;

    background:
      linear-gradient(
        180deg,
        rgba(11, 15, 29, .985) 0%,
        rgba(11, 15, 29, .965) 100%
      ) !important;

    backdrop-filter: blur(20px) saturate(145%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(145%) !important;

    box-shadow:
      0 1px 0 rgba(255,255,255,.06),
      0 14px 34px rgba(0,0,0,.22) !important;
  }


  /* ── Menu portal remains above the header/page when opened ─ */
  #fixeo-gh-menu-portal {
    position: relative !important;
    z-index: 2147483600 !important;
  }


  /* ── Drawer remains the absolute highest interactive layer ─ */
  body.fixeo-gh-enabled .fixeo-gh-drawer {
    z-index: 2147483640 !important;
  }

  body.fixeo-gh-enabled .fixeo-gh-backdrop {
    z-index: 2147483500 !important;
  }
}

/* Smart Navigation V1. Scoped to the existing shared drawer; no workspace layout changes. */
body.fixeo-smart-navigation #fixeo-gh-menu-portal{display:block!important;position:relative!important;z-index:2147483600!important}
#fixeo-gh-menu-portal #fixeo-navigation-drawer.sn-drawer{position:fixed!important;inset:12px 12px auto!important;margin:0 0 0 auto!important;width:min(1040px,calc(100% - 24px))!important;max-width:1040px!important;max-height:calc(100dvh - 24px)!important;box-sizing:border-box!important;padding:24px!important;border:1px solid #DEDCD5!important;border-radius:24px!important;background:#F7F7F5!important;color:#0B0B0C!important;box-shadow:0 28px 100px #0B0B0C30!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;scroll-padding:80px 20px;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px);transition:opacity .18s ease,transform .18s ease;z-index:2147483640!important;isolation:isolate;text-align:start;line-height:1.45}
#fixeo-gh-menu-portal #fixeo-navigation-drawer.sn-drawer::before{display:none!important}
#fixeo-gh-menu-portal #fixeo-navigation-drawer.sn-drawer.is-open{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important}
body.fixeo-smart-navigation #fixeo-gh-menu-portal>.fixeo-gh-backdrop{display:block!important;position:fixed!important;inset:0!important;background:rgba(11,11,12,.38)!important;backdrop-filter:blur(5px);z-index:2147483500!important;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s}
body.fixeo-smart-navigation #fixeo-gh-menu-portal>.fixeo-gh-backdrop.is-open{opacity:1;visibility:visible;pointer-events:auto}
#fixeo-navigation-drawer.sn-drawer *{box-sizing:border-box;min-width:0;-webkit-text-fill-color:currentColor!important;letter-spacing:normal;text-shadow:none}
#fixeo-navigation-drawer.sn-drawer :is(p,h2,small,strong,span,a,button){color:inherit!important}
#fixeo-navigation-drawer.sn-drawer :is(a,button,summary,select){font-family:inherit;font-size:1rem!important;line-height:1.45!important;min-height:44px!important;text-decoration:none!important;white-space:normal!important;touch-action:manipulation}
#fixeo-navigation-drawer.sn-drawer :is(a,button,summary,select):focus-visible{outline:3px solid #9C772D!important;outline-offset:3px!important}
#fixeo-navigation-drawer.sn-drawer .sn-top{display:flex;align-items:center;justify-content:space-between;position:sticky;top:-24px;margin:-4px 0 24px;padding:4px 0 16px;background:#F7F7F5;z-index:5;border-bottom:1px solid #DAD9D2;gap:16px}
#fixeo-navigation-drawer.sn-drawer .sn-brand{display:flex;gap:10px;align-items:center;font-size:1.2rem;letter-spacing:.12em}
#fixeo-navigation-drawer.sn-drawer .sn-brand img{width:32px;height:32px;flex:none}
#fixeo-navigation-drawer.sn-drawer .sn-close{width:44px!important;height:44px!important;padding:10px!important;min-width:44px!important;border:1px solid #DAD9D2!important;background:#fff!important;display:flex!important;align-items:center;justify-content:center;border-radius:50%!important;cursor:pointer;flex:none}
#fixeo-navigation-drawer.sn-drawer .sn-close svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none}
#fixeo-navigation-drawer.sn-drawer .sn-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,1.8fr);gap:48px}
#fixeo-navigation-drawer.sn-drawer .sn-intro{display:flex;flex-direction:column;align-items:stretch}
#fixeo-navigation-drawer.sn-drawer .sn-eyebrow{font-size:.8rem;margin:0 0 12px;color:#57595C!important}
#fixeo-navigation-drawer.sn-drawer h2{font-size:clamp(1.65rem,3vw,2.5rem)!important;font-weight:650;letter-spacing:-.04em;line-height:1.12;margin:0 0 24px;max-width:12ch}
#fixeo-navigation-drawer.sn-drawer .sn-rafi{display:flex!important;align-items:center;justify-content:space-between;gap:14px;background:#0B0B0C!important;color:white!important;border:1px solid #0B0B0C!important;border-radius:14px!important;padding:16px!important;font-weight:650!important;box-shadow:none!important}
#fixeo-navigation-drawer.sn-drawer .sn-rafi span{color:inherit!important}
#fixeo-navigation-drawer.sn-drawer .sn-hint{font-size:1rem!important;color:#57595C!important;margin:12px 0 28px}
#fixeo-navigation-drawer.sn-drawer .sn-arrow{font-size:1.15rem;flex:none;transition:transform .15s;display:inline-block}
#fixeo-navigation-drawer.sn-drawer .sn-link{display:flex!important;align-items:center;justify-content:space-between;gap:12px!important;background:transparent!important;border:0!important;border-radius:8px!important;padding:10px 8px!important;margin:0!important;font-weight:500!important;box-shadow:none!important;width:100%;cursor:pointer;text-align:start}
#fixeo-navigation-drawer.sn-drawer .sn-link:hover{background:#ECEBE6!important}
#fixeo-navigation-drawer.sn-drawer .sn-link[aria-current=page]{background:#FBE8BD!important;font-weight:650!important}
#fixeo-navigation-drawer.sn-drawer .sn-link[aria-current=page] .sn-arrow{width:6px;height:6px;border-radius:50%;background:currentColor;font-size:0}
#fixeo-navigation-drawer.sn-drawer .sn-spaces>p,#fixeo-navigation-drawer.sn-drawer .sn-account>p{font-size:.85rem!important;color:#57595C!important;margin:0 0 8px}
#fixeo-navigation-drawer.sn-drawer .sn-spaces>div{display:flex;flex-wrap:wrap;border:1px solid #DAD9D2;border-radius:12px;overflow:hidden}
#fixeo-navigation-drawer.sn-drawer .sn-spaces a{flex:1;justify-content:center!important;font-size:.875rem!important;padding:10px 7px!important;border-radius:0!important;background:white!important}
#fixeo-navigation-drawer.sn-drawer .sn-spaces .sn-arrow{display:none}
#fixeo-navigation-drawer.sn-drawer .sn-account{border-top:1px solid #DAD9D2;padding-top:20px;margin-top:24px}
#fixeo-navigation-drawer.sn-drawer .sn-account small{display:block;color:#57595C!important;font-size:.875rem!important;margin-top:10px}
#fixeo-navigation-drawer.sn-drawer .sn-signout{background:none;border:0;text-align:start;text-decoration:underline!important;padding:8px;cursor:pointer}
#fixeo-navigation-drawer.sn-drawer .sn-universes{display:block!important;border:0!important;margin:0!important;padding:0!important;background:transparent!important;position:static!important;width:auto!important}
#fixeo-navigation-drawer.sn-drawer .sn-universe{border-bottom:1px solid #DAD9D2;background:transparent;border-radius:0;margin:0;padding:0}
#fixeo-navigation-drawer.sn-drawer .sn-universe:first-child{border-top:1px solid #DAD9D2}
#fixeo-navigation-drawer.sn-drawer .sn-universe>summary{display:flex;align-items:center;gap:16px;padding:17px 0!important;cursor:pointer;list-style:none;font-weight:500!important;border-radius:0!important;position:relative}
#fixeo-navigation-drawer.sn-drawer .sn-universe>summary::-webkit-details-marker{display:none}
#fixeo-navigation-drawer.sn-drawer .sn-universe>summary::after{display:none!important}
#fixeo-navigation-drawer.sn-drawer .sn-number{font-size:.75rem;font-variant-numeric:tabular-nums;color:#57595C!important;align-self:flex-start;padding-top:4px}
#fixeo-navigation-drawer.sn-drawer .sn-summary-copy{flex:1}
#fixeo-navigation-drawer.sn-drawer .sn-summary-copy strong{display:block;font-weight:600!important;font-size:1.125rem!important}
#fixeo-navigation-drawer.sn-drawer .sn-summary-copy small{display:block;font-size:.875rem!important;color:#57595C!important;margin-top:3px}
#fixeo-navigation-drawer.sn-drawer .sn-plus{font-size:1.5rem;font-weight:400;flex:none;transition:transform .15s}
#fixeo-navigation-drawer.sn-drawer details[open]>summary .sn-plus{transform:none}
#fixeo-navigation-drawer.sn-drawer .sn-destinations{padding:0 0 16px 28px}
#fixeo-navigation-drawer.sn-drawer .sn-future{padding:12px 8px;display:flex;align-items:start;justify-content:space-between;gap:12px;font-size:1rem;color:#57595C!important}
#fixeo-navigation-drawer.sn-drawer .sn-future small{font-size:.75rem!important;border:1px solid #DAD9D2;padding:3px 7px;border-radius:6px;flex:none;max-width:45%}
#fixeo-navigation-drawer.sn-drawer .sn-settings{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid #DAD9D2;margin-top:24px;padding-top:16px}
#fixeo-navigation-drawer.sn-drawer .sn-language{display:flex;align-items:center;gap:14px;font-size:.875rem}
#fixeo-navigation-drawer.sn-drawer .sn-language select{width:auto;max-width:100%;padding:8px 28px 8px 12px;background:#fff;border:1px solid #DAD9D2;border-radius:10px;color:#0B0B0C;appearance:auto}
#fixeo-navigation-drawer.sn-drawer .ns-interface-preferences{position:static!important;color:#0B0B0C!important;margin:0!important;background:transparent!important}
#fixeo-navigation-drawer.sn-drawer .ns-interface-preferences summary{padding:10px 0!important}
#fixeo-navigation-drawer.sn-drawer .ns-interface-preferences[open] label{position:static!important;display:flex!important;background:#fff!important;padding:10px;gap:10px}
body.fixeo-smart-navigation .sn-desktop-toggle{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:10px 14px;border:1px solid #DAD9D2;background:#F7F7F5;color:#0B0B0C;border-radius:12px;font:600 14px/1.4 inherit;cursor:pointer;flex:none}
body.fixeo-smart-navigation .sn-desktop-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
body.fixeo-smart-navigation .sn-desktop-toggle:focus-visible{outline:3px solid #9C772D;outline-offset:3px}
body.fixeo-smart-navigation .sn-header .ns-signature-links{display:none!important}
body.fixeo-smart-navigation .sn-header .nav-links{display:none!important}
body.fixeo-smart-navigation .sn-header .nav-actions{margin-inline-start:auto!important}
html[dir=rtl] #fixeo-gh-menu-portal #fixeo-navigation-drawer.sn-drawer{margin:0 auto 0 0!important}
html[dir=rtl] #fixeo-navigation-drawer.sn-drawer .sn-arrow{transform:scaleX(-1)}
html[dir=rtl] #fixeo-navigation-drawer.sn-drawer .sn-destinations{padding:0 28px 16px 0}
@media(max-width:768px){
 #fixeo-gh-menu-portal #fixeo-navigation-drawer.sn-drawer{inset:0!important;margin:0!important;width:100%!important;max-width:100%!important;max-height:100svh!important;max-height:100dvh!important;padding:calc(12px + env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) max(24px,env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px))!important;border:0!important;border-radius:0!important}
 #fixeo-navigation-drawer.sn-drawer .sn-top{top:calc(-12px - env(safe-area-inset-top,0px));padding-top:calc(8px + env(safe-area-inset-top,0px));margin-bottom:18px;padding-bottom:10px}
 #fixeo-navigation-drawer.sn-drawer .sn-layout{display:flex;flex-direction:column;gap:24px}
 #fixeo-navigation-drawer.sn-drawer .sn-intro{display:contents}
 #fixeo-navigation-drawer.sn-drawer .sn-eyebrow,#fixeo-navigation-drawer.sn-drawer h2,#fixeo-navigation-drawer.sn-drawer .sn-hint{display:none}
 #fixeo-navigation-drawer.sn-drawer .sn-rafi{order:0;padding:14px 16px!important}
 #fixeo-navigation-drawer.sn-drawer .sn-spaces{order:1;margin-top:-8px}
 #fixeo-navigation-drawer.sn-drawer .sn-universes{order:2}
 #fixeo-navigation-drawer.sn-drawer .sn-account{order:3;display:flex;flex-wrap:wrap;gap:4px 16px;margin:0;padding-top:16px}
 #fixeo-navigation-drawer.sn-drawer .sn-account>p{width:100%;margin:0}
 #fixeo-navigation-drawer.sn-drawer .sn-account a{flex:1;min-width:100px;padding:8px 0!important}
 #fixeo-navigation-drawer.sn-drawer .sn-account small{width:100%;margin:0}
 #fixeo-navigation-drawer.sn-drawer .sn-universe>summary{padding:13px 0!important;gap:12px}
 #fixeo-navigation-drawer.sn-drawer .sn-summary-copy strong{font-size:1.0625rem!important}
 #fixeo-navigation-drawer.sn-drawer .sn-summary-copy small{display:none}
 #fixeo-navigation-drawer.sn-drawer .sn-destinations{padding-inline:0!important}
 #fixeo-navigation-drawer.sn-drawer .sn-settings{margin-top:16px}
 #fixeo-navigation-drawer.sn-drawer .sn-future{flex-wrap:wrap}
 #fixeo-navigation-drawer.sn-drawer .sn-language{flex-wrap:wrap}
 body.fixeo-smart-navigation .sn-desktop-toggle{display:none!important}
}
@media(prefers-reduced-motion:reduce){#fixeo-gh-menu-portal #fixeo-navigation-drawer.sn-drawer,#fixeo-navigation-drawer.sn-drawer *,body.fixeo-smart-navigation #fixeo-gh-menu-portal>.fixeo-gh-backdrop{transition:none!important;scroll-behavior:auto!important}}
html[data-fixeo-reduced-motion=true] #fixeo-navigation-drawer.sn-drawer *{transition:none!important}

#fixeo-gh-menu-portal #fixeo-navigation-drawer.sn-drawer::after{display:none!important}
#fixeo-navigation-drawer.sn-drawer .sn-close svg{display:block!important;opacity:1!important;visibility:visible!important}
#fixeo-navigation-drawer.sn-drawer .sn-settings>.sn-preferences-host{max-width:100%}

/* Keep reading order and visual order aligned, including enlarged text. */
#fixeo-navigation-drawer.sn-drawer .sn-layout{gap:24px 48px;align-items:start}
#fixeo-navigation-drawer.sn-drawer .sn-universes{grid-column:2;grid-row:1 / span 2}
#fixeo-navigation-drawer.sn-drawer .sn-account{grid-column:1;grid-row:2;width:100%;margin-top:0}
#fixeo-navigation-drawer.sn-drawer .sn-spaces a{flex:1 1 5rem!important;overflow-wrap:normal!important;word-break:normal!important}
#fixeo-navigation-drawer.sn-drawer .sn-preferences-host{flex:0 1 auto;min-width:0!important}
#fixeo-navigation-drawer.sn-drawer .ns-interface-preferences{width:auto!important;min-width:0!important;max-width:100%!important}
#fixeo-navigation-drawer.sn-drawer .ns-interface-preferences summary{position:static!important;min-width:0!important;width:auto!important;max-width:100%!important;white-space:normal!important;padding:10px 0!important}
#fixeo-navigation-drawer.sn-drawer .ns-interface-preferences[open]>label{position:static!important;inset:auto!important;min-width:0!important;width:100%!important;max-width:100%!important}
@media(max-width:768px){#fixeo-navigation-drawer.sn-drawer .sn-layout{align-items:stretch}}

/* Smart Navigation Final Polish: public navigation only, existing owner and routes retained. */
body.fixeo-smart-navigation .sn-header>.navbar-nav{display:none!important}
@media(min-width:769px){
 body.fixeo-smart-navigation .sn-header{gap:16px!important;min-height:68px!important;height:auto!important;padding-block:10px!important;align-items:center!important}
 body.fixeo-smart-navigation .sn-header>:is(.navbar-brand,.ns-brand){flex:none!important;margin:0!important}
 body.fixeo-smart-navigation .sn-header .nav-actions{display:flex!important;align-items:center!important;gap:10px!important;flex:none!important;min-width:0!important}
 body.fixeo-smart-navigation .sn-header .nav-actions>:is(a,button,select,.m1-language,.nav-has-dropdown){flex:none!important}
 body.fixeo-smart-navigation .sn-header .nav-actions :is(a,button){white-space:nowrap!important}
 #fixeo-gh-menu-portal #fixeo-navigation-drawer.sn-drawer{display:flex!important;flex-direction:column;overflow:hidden!important}
 #fixeo-navigation-drawer.sn-drawer .sn-top{position:relative;top:auto;flex:none;margin-top:0;margin-bottom:20px}
 #fixeo-navigation-drawer.sn-drawer .sn-layout{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding:12px;gap:32px;padding:4px 8px 8px 4px;align-items:start}
 #fixeo-navigation-drawer.sn-drawer .sn-overview{grid-column:1;grid-row:1;align-self:start}
 #fixeo-navigation-drawer.sn-drawer .sn-overview-fits{position:sticky;top:4px}
 #fixeo-navigation-drawer.sn-drawer .sn-account{margin-top:24px}
 #fixeo-navigation-drawer.sn-drawer .sn-universes{grid-column:2;grid-row:1}
 #fixeo-navigation-drawer.sn-drawer .sn-settings{flex:none;margin-top:16px}
}
@media(min-width:769px) and (max-width:1000px){
 body.fixeo-smart-navigation .sn-header #register-btn{display:none!important}
 body.fixeo-smart-navigation .sn-header{padding-inline:16px!important;gap:12px!important}
}
#fixeo-navigation-drawer.sn-drawer .sn-summary-copy small{font-size:1rem!important;line-height:1.45;font-weight:450!important;color:#57595C!important}
#fixeo-navigation-drawer.sn-drawer .sn-universe>summary:hover,#fixeo-navigation-drawer.sn-drawer .sn-universe>summary:focus-visible{background:#ECEBE6}
#fixeo-navigation-drawer.sn-drawer .sn-universe[open]>summary .sn-summary-copy strong{font-weight:700!important}
#fixeo-navigation-drawer.sn-drawer .sn-plus{display:grid;place-items:center;width:24px;height:24px;font-size:1.4rem;line-height:1;color:#0B0B0C!important}
#fixeo-navigation-drawer.sn-drawer .sn-expand{font-size:.55rem}
#fixeo-navigation-drawer.sn-drawer .sn-collapse{display:none}
#fixeo-navigation-drawer.sn-drawer details[open]>summary .sn-expand{display:none}
#fixeo-navigation-drawer.sn-drawer details[open]>summary .sn-collapse{display:block}
#fixeo-navigation-drawer.sn-drawer :is(.sn-eyebrow,.sn-spaces>p,.sn-account>p,.sn-account small,.sn-spaces a,.sn-language){font-size:.9375rem!important}
@media(max-width:768px){#fixeo-navigation-drawer.sn-drawer .sn-overview{display:contents}}
@media(min-width:769px){
 #fixeo-navigation-drawer.sn-drawer h2{font-size:clamp(1.65rem,2.5vw,2rem)!important;margin-bottom:20px}
 #fixeo-navigation-drawer.sn-drawer .sn-hint{margin-bottom:12px}
 #fixeo-navigation-drawer.sn-drawer .sn-account{display:grid;grid-template-columns:1fr 1fr;gap:0 8px;margin-top:16px;padding-top:12px}
 #fixeo-navigation-drawer.sn-drawer .sn-account>p,#fixeo-navigation-drawer.sn-drawer .sn-account>small{grid-column:1 / -1}
}
@media(min-width:769px){
 #fixeo-navigation-drawer.sn-drawer h2{max-width:none}
 #fixeo-navigation-drawer.sn-drawer .sn-account .sn-arrow{display:none}
}
