/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  /* Sidebar (fond clair) */
  --sb-w:       240px;
  --sb-bg-top:  #ffffff;
  --sb-bg-bot:  #f8fafc;
  --sb-text:    #475569;
  --sb-hover:   #f0f7ff;
  --sb-active:  #e8f4ff;
  --sb-border:  #e2e8f0;
  /* Top-content-bar (fond sombre) */
  --tcb-bg-from: #013a6b;
  --tcb-bg-to:   #0163b8;
  --tcb-text:    rgba(255,255,255,0.88);
  --tcb-hover:   rgba(255,255,255,0.15);
  --tcb-border:  rgba(255,255,255,0.22);
  /* Layout */
  --topbar-h:   54px;
}

/* ── Reset minimal ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #1a1a2e;
  padding-left: var(--sb-w);
  padding-top: var(--topbar-h);
  min-height: 100vh;
}

.site-footer {
  display: block;
  margin-top: 60px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  padding-bottom: 24px;
}

/* ════════════════════════════════════════════════════════════════
   SIDEBAR (fond clair) — démarre sous la TCB
════════════════════════════════════════════════════════════════ */
.sidebar {
  position: fixed;
  top: var(--topbar-h); left: 0;
  width: var(--sb-w);
  height: calc(100vh - var(--topbar-h));
  background: linear-gradient(180deg, var(--sb-bg-top) 0%, var(--sb-bg-bot) 100%);
  border-right: 1px solid var(--sb-border);
  box-shadow: 2px 0 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  z-index: 200;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 transparent;
}

/* ── Marque ──────────────────────────────────────────────────── */
.sidebar-brand {
  padding: 20px 16px 18px;
  border-bottom: 1px solid var(--sb-border);
  flex-shrink: 0;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
/* Override l'attribut SVG inline pour le fond clair */
.sidebar-brand svg { stroke: #018ffa !important; }
.sidebar-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.sidebar-logo-main {
  font-size: 0.7rem;
  font-weight: 400;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.sidebar-logo-sub {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

/* ── Navigation ──────────────────────────────────────────────── */
.sidebar-nav {
  flex: 1;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--sb-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 0.14s, color 0.14s;
  white-space: nowrap;
}
.sidebar-item svg { opacity: 0.45; flex-shrink: 0; transition: opacity 0.14s; }
.sidebar-item:hover { background: var(--sb-hover); color: #018ffa; }
.sidebar-item:hover svg { opacity: 1; }
.sidebar-item.active { background: var(--sb-active); color: #018ffa; }
.sidebar-item.active svg { opacity: 1; }

.sidebar-divider {
  border: none;
  border-top: 1px solid var(--sb-border);
  margin: 8px 10px;
}

.sidebar-section-label {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--sb-text-muted, var(--text-4));
  padding: 6px 16px 4px;
  margin-top: 4px;
  border-top: 1px solid var(--sb-border);
}

/* ── Lien paramètres en bas de sidebar ───────────────────────── */
.sidebar-settings {
  flex-shrink: 0;
  padding: 10px 10px 8px;
  border-top: 1px solid var(--sb-border);
}
.sidebar-settings-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--sb-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 0.14s, color 0.14s;
  white-space: nowrap;
}
.sidebar-settings-link svg { opacity: 0.45; flex-shrink: 0; transition: opacity 0.14s; }
.sidebar-settings-link:hover { background: var(--sb-hover); color: #018ffa; }
.sidebar-settings-link:hover svg { opacity: 1; }

/* ── Zone bas (mobile uniquement) ────────────────────────────── */
.sidebar-bottom {
  flex-shrink: 0;
  padding: 8px;
  border-top: 1px solid var(--sb-border);
  display: none;
}

/* Bouton générique zone bas mobile */
.sidebar-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  background: transparent;
  border: none;
  color: var(--sb-text);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: inherit;
  text-align: left;
  transition: background 0.14s, color 0.14s;
  white-space: nowrap;
}
.sidebar-action-btn svg { opacity: 0.45; flex-shrink: 0; transition: opacity 0.14s; }
.sidebar-action-btn:hover { background: var(--sb-hover); color: #018ffa; }
.sidebar-action-btn:hover svg { opacity: 1; }

.sidebar-login-btn { background: #018ffa; color: #fff; }
.sidebar-login-btn svg { opacity: 0.9; }
.sidebar-login-btn:hover { background: #0075d1; color: #fff; }

/* ════════════════════════════════════════════════════════════════
   PANNEAU DE PARTAGE
════════════════════════════════════════════════════════════════ */
.sidebar-share { position: relative; margin-bottom: 4px; }

.share-panel {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: 262px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  padding: 10px;
  z-index: 999;
  animation: sbSlideUp 0.15s ease;
}
.share-panel.show { display: block; }

.share-panel-header {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  padding: 2px 4px 8px;
}
.share-panel-url {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 8px;
  margin-bottom: 8px;
}
.share-url-text {
  flex: 1;
  font-size: 0.72rem;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.share-copy-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  color: #018ffa;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.12s;
}
.share-copy-btn:hover { background: #e8f4ff; }
.share-copy-btn.copied { color: #16a34a; }

.share-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.share-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  transition: opacity 0.12s, transform 0.1s;
}
.share-btn:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }
.share-btn-linkedin { background: #0a66c2; color: #fff; }
.share-btn-x        { background: #111;    color: #fff; }
.share-btn-facebook { background: #1877f2; color: #fff; }
.share-btn-email    { background: #f1f5f9; color: #374151; border: 1px solid #e2e8f0; }

/* ════════════════════════════════════════════════════════════════
   DROPDOWN COMPTE (style npd-*)
════════════════════════════════════════════════════════════════ */
.nav-profile { position: relative; }

.nav-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  background: transparent;
  border: none;
  color: var(--sb-text);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: inherit;
  text-align: left;
  transition: background 0.14s, color 0.14s;
  white-space: nowrap;
}
.nav-profile-btn:hover,
.nav-profile.is-open .nav-profile-btn {
  background: var(--sb-hover);
  color: #018ffa;
}

/* Avatar petit — sidebar fond clair */
.npd-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8f4ff;
  border: 1.5px solid #bfdfff;
  color: #018ffa;
  font-size: 0.76rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
  object-fit: cover;
}

/* Avatar petit — TCB fond sombre */
.npd-avatar-sm-dark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
  object-fit: cover;
}

.nav-profile-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
  color: var(--sb-text);
  font-weight: 500;
}
/* Label TCB (fond sombre) */
.nav-profile-label-dark {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 130px;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
}

.nav-profile-caret {
  color: #94a3b8;
  flex-shrink: 0;
  margin-left: auto;
  transition: transform 0.2s;
}
.nav-profile.is-open .nav-profile-caret { transform: rotate(180deg); }

/* Caret TCB (fond sombre) */
.nav-profile-caret-dark {
  color: rgba(255,255,255,0.55);
  flex-shrink: 0;
  margin-left: auto;
  transition: transform 0.2s;
}
.nav-profile.is-open .nav-profile-caret-dark { transform: rotate(180deg); }

/* Dropdown panel */
.nav-profile-dropdown {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: 248px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  overflow: hidden;
  z-index: 999;
  animation: sbSlideUp 0.15s ease;
}
.nav-profile.is-open .nav-profile-dropdown { display: block; }

/* En-tête dégradé */
.npd-head {
  padding: 18px 16px 14px;
  background: linear-gradient(155deg, #0163b8 0%, #012f5a 100%);
  text-align: center;
}
.npd-avatar-lg {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.32);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  text-transform: uppercase;
  object-fit: cover;
}
.npd-head-name  { color: #fff; font-weight: 700; font-size: 0.95rem; line-height: 1.25; }
.npd-head-email { color: rgba(255,255,255,0.6); font-size: 0.73rem; word-break: break-all; margin-top: 3px; }

/* Items */
.npd-body { padding: 4px 0; }
.npd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: #374151;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.npd-item svg { opacity: 0.4; flex-shrink: 0; transition: opacity 0.12s; }
.npd-item:hover { background: #f0f7ff; color: #018ffa; text-decoration: none; }
.npd-item:hover svg { opacity: 1; }

/* Footer déconnexion */
.npd-foot { border-top: 1px solid #e2e8f0; padding: 4px 0; }
.npd-logout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #dc2626;
  text-decoration: none;
  transition: background 0.12s;
}
.npd-logout:hover { background: #fef2f2; text-decoration: none; }
.npd-logout-lhs { display: flex; align-items: center; gap: 10px; }
.npd-logout svg { opacity: 0.7; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════════
   TOP CONTENT BAR (desktop — fond sombre)
════════════════════════════════════════════════════════════════ */
.top-content-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-h);
  background: linear-gradient(to right, var(--tcb-bg-from), var(--tcb-bg-to));
  z-index: 201;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 6px;
}
.tcb-spacer { flex: 1; }

.tcb-sep {
  width: 1px;
  height: 20px;
  background: var(--tcb-border);
  flex-shrink: 0;
  margin: 0 4px;
}

/* Bouton générique TCB */
.tcb-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--tcb-text);
  white-space: nowrap;
  transition: background 0.14s, color 0.14s;
}
.tcb-btn svg { opacity: 0.7; flex-shrink: 0; transition: opacity 0.14s; }
.tcb-btn:hover { background: var(--tcb-hover); color: #fff; }
.tcb-btn:hover svg { opacity: 1; }

/* Bouton Connexion dans TCB */
.tcb-login-btn {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.tcb-login-btn svg { opacity: 0.9; }
.tcb-login-btn:hover { background: rgba(255,255,255,0.28); color: #fff; }

/* Marque dans la TCB */
.tcb-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.14s;
}
.tcb-brand:hover { background: rgba(255,255,255,0.12); }
.tcb-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.tcb-brand-main {
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.tcb-brand-sub {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.tcb-brand-sep {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  margin: 0 6px;
}

/* Lien Admin dans TCB */
.tcb-admin-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-sm, 8px);
  background: rgba(254,176,25,0.18);
  border: 1px solid rgba(254,176,25,0.4);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.15s;
  flex-shrink: 0;
}
.tcb-admin-link:hover { background: rgba(254,176,25,0.28); color: #fff; }

/* Liens admin sidebar */
.sidebar-section-label--admin { color: #ca8a04; }
.sidebar-item--admin { color: #92400e; }
.sidebar-item--admin svg { color: #d97706; opacity: 0.8; }
.sidebar-item--admin:hover { background: rgba(254,176,25,0.12); color: #92400e; }
.sidebar-item--admin:hover svg { opacity: 1; }
.sidebar-item--admin.active { background: rgba(254,176,25,0.18); color: #92400e; }

/* Zone partage dans TCB */
.tcb-share { position: relative; }

/* Share panel TCB : s'ouvre vers le bas */
.tcb-share .share-panel {
  bottom: auto;
  top: calc(100% + 8px);
  left: auto;
  right: 0;
  animation: sbSlideDown 0.15s ease;
}

/* Bouton profil dans TCB */
.tcb-profile-btn {
  color: var(--tcb-text);
  width: auto;
}
.tcb-profile-btn:hover,
.nav-profile.is-open .tcb-profile-btn {
  background: var(--tcb-hover);
  color: #fff;
}

/* Dropdown compte TCB : s'ouvre vers le bas */
.nav-profile-dropdown.npd-downward {
  bottom: auto;
  top: calc(100% + 8px);
  left: auto;
  right: 0;
  animation: sbSlideDown 0.15s ease;
}

/* ════════════════════════════════════════════════════════════════
   MOBILE — TOP BAR + SIDEBAR EN OVERLAY
════════════════════════════════════════════════════════════════ */
.sidebar-topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: linear-gradient(to right, var(--tcb-bg-from), var(--tcb-bg-to));
  box-shadow: 0 2px 10px rgba(1,50,120,0.3);
  z-index: 210;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}
.sidebar-topbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}
.sidebar-toggle {
  background: none;
  border: none;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s;
}
.sidebar-toggle:hover { background: rgba(255,255,255,0.15); }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.42);
  z-index: 190;
}
.sidebar-overlay.is-open { display: block; }

@media (max-width: 900px) {
  body { padding-left: 0; }

  .top-content-bar  { display: none; }
  .sidebar-bottom   { display: flex; flex-direction: column; }
  .sidebar-topbar   { display: flex; }

  /* Sur mobile la sidebar est un overlay pleine hauteur */
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    top: 0;
    height: 100vh;
    z-index: 220;
  }
  .sidebar.is-open { transform: translateX(0); }

  /* Dropdowns mobiles s'ouvrent vers le haut */
  .sidebar-bottom .share-panel,
  .nav-profile-mobile .nav-profile-dropdown {
    bottom: calc(100% + 8px);
    top: auto;
    left: 0;
  }
}

@media (max-width: 480px) {
  .sidebar-bottom .share-panel,
  .nav-profile-mobile .nav-profile-dropdown {
    width: 95vw;
    max-width: 280px;
  }
}

/* ════════════════════════════════════════════════════════════════
   MODALE CONNEXION / INSCRIPTION
════════════════════════════════════════════════════════════════ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.45);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal-content {
  background: #fff;
  padding: 32px 28px;
  border-radius: 14px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}
.modal-tabs {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 20px;
}
.modal-tab {
  flex: 1;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.modal-tab.active { color: #018ffa; border-bottom-color: #018ffa; }
.modal-tab:hover:not(.active) { color: #374151; }

.google-login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.2s, background 0.2s;
  margin-bottom: 20px;
  width: 100%;
}
.google-login-button img { width: 20px; height: 20px; }
.google-login-button:hover { background: #f8fafc; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.separator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.separator::before, .separator::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }

.modal-content form { display: flex; flex-direction: column; gap: 10px; }
.modal-content label { font-size: 0.85rem; font-weight: 600; color: #374151; display: block; margin-bottom: 4px; }
.modal-content input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #111827;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.modal-content input:focus { border-color: #018ffa; box-shadow: 0 0 0 3px rgba(1,143,250,0.12); }

.remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #4b5563;
  cursor: pointer;
  margin-bottom: 4px;
}
.remember-me input[type="checkbox"] { accent-color: #018ffa; }

.forgot-password { text-align: right; }
.forgot-password a { font-size: 0.8rem; color: #018ffa; text-decoration: none; }
.forgot-password a:hover { text-decoration: underline; }

.submit-button {
  padding: 12px;
  background: #018ffa;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.submit-button:hover { background: #0075d1; }

.login-error-message {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 10px;
  text-align: center;
}

/* ── Flash messages ──────────────────────────────────────────── */
.flash-container { margin-bottom: 16px; }
.flash-message {
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.flash-message.success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.flash-message.warning { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }
.flash-message.error   { background: #fef2f2; border: 1px solid #fca5a5; color: #dc2626; }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes sbSlideUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes sbSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Curseur "chargement" pendant les navigations lourdes (module Stratégies :
   la page recalcule des backtests côté serveur) */
html.page-loading, html.page-loading * { cursor: progress !important; }
