/* ===== Espace client — portail ANARYX AI (noir / orange var(--esp-orange)) ===== */
:root {
  --esp-bg: #070709;
  --esp-card: #0E0E11;
  --esp-line: rgba(255, 255, 255, 0.07);
  --esp-orange: var(--rose);
  --esp-gold: var(--violet);
  --esp-green: #22C55E;
  --esp-red: #EF4444;
  --esp-muted: #8b8b94;
}
.esp-body { background: var(--esp-bg); }

/* ===== TOPBAR ===== */
.esp-topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 7, 9, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--esp-line);
}
.esp-topbar-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; gap: 12px; }
.esp-topbar-left { display: flex; align-items: center; gap: 12px; }
.esp-topbar-right { display: flex; align-items: center; gap: 10px; }
.esp-lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--esp-line);
  color: #c9c9d2;
  font-family: inherit;
  font-size: 11px;
  border-radius: 8px;
  padding: 8px 11px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.esp-lang-btn b { font-weight: 700; }
.esp-lang-btn:hover { border-color: rgba(var(--esp-ac-rgb), 0.5); color: var(--esp-orange); }
.esp-burger {
  display: none;
  width: 38px; height: 38px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--esp-line);
  border-radius: 10px;
  color: var(--txt);
  font-size: 15px;
  cursor: pointer;
}

.esp-bell-wrap, .esp-user-wrap { position: relative; }
.esp-bell {
  position: relative;
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--esp-line);
  border-radius: 12px;
  color: var(--txt);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.esp-bell:hover { border-color: rgba(var(--esp-ac-rgb), 0.5); color: var(--rose-l); }
.esp-bell-dot {
  position: absolute; top: 7px; right: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--esp-orange);
  box-shadow: 0 0 8px rgba(var(--esp-ac-rgb), 0.8);
}

.esp-user-chip {
  display: flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--esp-line);
  border-radius: 12px;
  padding: 4px 12px 4px 4px;
  color: var(--txt);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease;
}
.esp-user-chip:hover { border-color: rgba(var(--esp-ac-rgb), 0.5); }
.esp-user-chip b { font-size: 13px; font-weight: 600; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.esp-user-caret { font-size: 10px; color: var(--esp-muted); }
.esp-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid rgba(var(--esp-ac-rgb), 0.6);
  overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  background: var(--esp-card);
}
.esp-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ===== DROPDOWNS ===== */
.esp-drop {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 320px; max-width: 88vw;
  background: #0D0D10;
  border: 1px solid var(--esp-line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  z-index: 70;
  animation: espDropIn 0.18s ease both;
}
@keyframes espDropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.esp-drop-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 15px;
  border-bottom: 1px solid var(--esp-line);
}
.esp-drop-head b { font-size: 13px; }
.esp-drop-act { background: none; border: none; color: var(--esp-orange); font-size: 11.5px; cursor: pointer; font-family: inherit; }
.esp-drop-act:hover { text-decoration: underline; }
.esp-notif-list { max-height: 320px; overflow-y: auto; padding: 6px; }
.esp-notif-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.esp-notif-item:hover { background: rgba(255, 255, 255, 0.04); }
.esp-drop-user { display: flex; align-items: center; gap: 11px; padding: 14px 15px; border-bottom: 1px solid var(--esp-line); }
.esp-drop-user img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(var(--esp-ac-rgb), 0.6); }
.esp-drop-user div { display: flex; flex-direction: column; }
.esp-drop-user b { font-size: 13.5px; }
.esp-drop-user span { font-size: 11px; color: var(--esp-orange); }
.esp-drop-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  background: none; border: none;
  color: var(--txt);
  font-size: 13px; font-family: inherit;
  padding: 11px 15px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.esp-drop-item i { width: 18px; text-align: center; color: var(--esp-muted); }
.esp-drop-item:hover { background: rgba(var(--esp-ac-rgb), 0.08); color: var(--rose-l); }
.esp-drop-item:hover i { color: var(--rose-l); }

/* ===== SHELL ===== */
.esp-shell { display: flex; align-items: flex-start; }

/* ===== SIDEBAR ===== */
.esp-sidebar {
  position: sticky; top: 61px;
  width: 246px; flex-shrink: 0;
  height: calc(100vh - 61px);
  overflow-y: auto;
  border-right: 1px solid var(--esp-line);
  background: rgba(14, 14, 17, 0.6);
  padding: 18px 12px;
  display: flex; flex-direction: column;
  z-index: 55;
}
.esp-sb-logo { display: none; align-items: center; gap: 9px; padding: 4px 8px 16px; font-weight: 800; font-size: 17px; }
.esp-sb-logo img { width: 26px; height: 26px; }
.esp-sb-logo em { font-style: normal; color: var(--esp-orange); }
.esp-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.esp-nav-item {
  display: flex; align-items: center; gap: 11px;
  background: none; border: none;
  color: #a2a2ab;
  font-size: 13px; font-weight: 500; font-family: inherit;
  padding: 10px 12px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.esp-nav-item i { width: 17px; text-align: center; font-size: 13.5px; }
.esp-nav-item:hover { background: rgba(255, 255, 255, 0.045); color: var(--txt); }
.esp-nav-item.active {
  background: linear-gradient(90deg, rgba(var(--esp-ac-rgb), 0.16), rgba(var(--esp-ac-rgb), 0.05));
  color: var(--rose-l);
  font-weight: 600;
}
.esp-nav-item.active i { color: var(--esp-orange); }
.esp-nav-arrow { margin-left: auto; font-size: 9px !important; color: var(--esp-muted); }
.esp-nav-item.active .esp-nav-arrow { color: var(--esp-orange); }
.esp-nav-sep { height: 1px; background: var(--esp-line); margin: 9px 8px; }
.esp-sb-foot { border-top: 1px solid var(--esp-line); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.esp-sb-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--esp-muted);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--esp-line);
  border-radius: 10px;
  padding: 9px 11px;
}
.esp-sb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--esp-green); box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); flex-shrink: 0; }
.esp-sb-out {
  display: flex; align-items: center; gap: 10px;
  background: none; border: 1px solid transparent;
  color: #a2a2ab;
  font-size: 13px; font-family: inherit;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.esp-sb-out:hover { color: #f87171; background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.3); }
.esp-overlay { display: none; }

/* ===== MAIN ===== */
.esp-main { flex: 1; min-width: 0; padding: 26px 30px 40px; }
.esp-view { display: none; animation: espFadeUp 0.35s ease both; }
.esp-view.active { display: block; }
@keyframes espFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.esp-view-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.esp-view-head h1 { font-size: 21px; font-weight: 800; letter-spacing: -0.3px; display: flex; align-items: center; gap: 11px; }
.esp-view-head h1 i { color: var(--esp-orange); font-size: 18px; }

/* ===== CARDS ===== */
.esp-card {
  position: relative;
  background: var(--esp-card);
  border: 1px solid var(--esp-line);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.esp-card:hover { border-color: rgba(var(--esp-ac-rgb), 0.22); }
.esp-card h5 { font-size: 13px; font-weight: 700; color: var(--txt); margin-bottom: 13px; display: flex; align-items: center; gap: 9px; }
.esp-card h5 i {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 12px;
  background: rgba(var(--esp-ac-rgb), 0.12);
  color: var(--rose-l);
}
.esp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.esp-card-head h5 { margin-bottom: 13px; }
.esp-card-danger { border-color: rgba(239, 68, 68, 0.25); }
.esp-card-danger:hover { border-color: rgba(239, 68, 68, 0.5); }
.esp-card-danger h5 i { background: rgba(239, 68, 68, 0.12); color: #f87171; }

/* ===== BADGES ===== */
.esp-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
  padding: 4px 11px; border-radius: 999px;
  white-space: nowrap;
}
.esp-badge-pro { background: rgba(var(--esp-ac-rgb), 0.13); color: var(--rose-l); border: 1px solid rgba(var(--esp-ac-rgb), 0.4); }
.esp-badge-life { background: rgba(245, 158, 11, 0.14); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.45); box-shadow: 0 0 14px rgba(245, 158, 11, 0.12); }
.esp-badge-none { background: rgba(148, 163, 184, 0.1); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.25); }

/* ===== STAT CARDS (dashboard) ===== */
.esp-dash-head { margin-bottom: 20px; }
.esp-dash-head h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.4px; }
.esp-dash-head p { font-size: 13.5px; margin-top: 4px; }
.esp-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.esp-stat {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--esp-card);
  border: 1px solid var(--esp-line);
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  color: var(--txt);
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.esp-stat:hover { border-color: rgba(var(--esp-ac-rgb), 0.45); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.esp-stat-ico {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px; font-size: 16px;
}
.esp-stat-ico.k { background: rgba(var(--esp-ac-rgb), 0.14); color: var(--rose-l); border: 1px solid rgba(var(--esp-ac-rgb), 0.3); }
.esp-stat-ico.d { background: rgba(148, 163, 184, 0.12); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.25); }
.esp-stat-ico.a { background: rgba(245, 158, 11, 0.14); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.3); }
.esp-stat-ico.s { background: rgba(34, 197, 94, 0.13); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.esp-stat-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.esp-stat-lbl { font-size: 9.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--esp-muted); }
.esp-stat-val { font-size: 15.5px; font-weight: 700; margin: 3px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.esp-stat-line { font-size: 11px; color: var(--esp-muted); display: flex; align-items: center; gap: 6px; }
.esp-stat-line i.fa-circle { font-size: 7px; color: var(--esp-muted); }
.esp-stat-line i.fa-circle.ok { color: var(--esp-green); text-shadow: 0 0 6px rgba(34, 197, 94, 0.7); }
.esp-stat-link { font-size: 11.5px; color: var(--esp-orange); margin-top: 7px; opacity: 0.85; }

.esp-dash-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }

/* ===== LICENCE BANNER ===== */
.esp-lic-banner-body { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.esp-lic-banner-info { flex: 1; min-width: 220px; }
.esp-lic-banner-info code {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 16px; color: var(--rose-l); letter-spacing: 1.5px;
  text-shadow: 0 0 16px rgba(var(--esp-ac-rgb), 0.25);
}
.esp-lic-banner-side { display: flex; flex-direction: column; gap: 9px; align-items: flex-end; }
.esp-lic-banner-btns { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }

/* ===== ACTIVITY ===== */
.esp-activity { display: flex; flex-direction: column; gap: 4px; }
.esp-act {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 8px;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.esp-act:hover { background: rgba(255, 255, 255, 0.03); }
.esp-act-ico {
  width: 34px; height: 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 13px;
}
.esp-act-ico.k { background: rgba(var(--esp-ac-rgb), 0.13); color: var(--rose-l); }
.esp-act-ico.d { background: rgba(148, 163, 184, 0.12); color: #cbd5e1; }
.esp-act-ico.a { background: rgba(245, 158, 11, 0.13); color: #FBBF24; }
.esp-act-ico.s { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.esp-act-ico.o { background: rgba(139, 92, 246, 0.14); color: #c4b5fd; }
.esp-act-ico.v { background: rgba(56, 189, 248, 0.12); color: #7dd3fc; }
.esp-act-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.esp-act-body b { font-size: 13px; }
.esp-act-body span { font-size: 11.5px; color: var(--esp-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.esp-act-date { font-size: 11px; color: var(--esp-muted); white-space: nowrap; }

/* ===== INFO GRID ===== */
.esp-info-grid { display: flex; flex-direction: column; margin-top: 6px; }
.esp-info-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}
.esp-info-row:last-child { border-bottom: none; }
.esp-info-row span { color: var(--esp-muted); }
.esp-info-row b { text-align: right; word-break: break-word; }
.esp-info-row .ok { color: var(--esp-green); display: inline-flex; align-items: center; gap: 7px; }
.esp-info-row .ok i { font-size: 7px; }
.esp-licinfo-key {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(var(--esp-ac-rgb), 0.06), transparent);
  border: 1px dashed rgba(var(--esp-ac-rgb), 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
}
.esp-licinfo-key code {
  flex: 1; min-width: 200px;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 16px; color: var(--rose-l); letter-spacing: 1.5px;
}
.esp-licinfo-keybtns { display: flex; gap: 7px; }
.esp-lic-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
.esp-lic-empty { padding: 6px 0 2px; font-size: 13px; color: var(--esp-muted); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

/* ===== KBAR ===== */
.esp-kbar { width: 100%; }
.esp-kbar-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--esp-muted); margin-bottom: 7px; }
.esp-kbar-top span { color: var(--rose-l); display: inline-flex; align-items: center; gap: 6px; }
.esp-kbar-top b { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--txt); }
.esp-kbar-track { height: 6px; background: rgba(255, 255, 255, 0.07); border-radius: 99px; overflow: hidden; }
.esp-kbar-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--esp-orange), var(--violet));
  box-shadow: 0 0 10px rgba(var(--esp-ac-rgb), 0.5);
  animation: espBarGrow 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.esp-kbar-fill.warn { background: linear-gradient(90deg, #f59e0b, #ef4444); }
@keyframes espBarGrow { from { width: 0 !important; } }
.esp-key-status { font-size: 13px; margin-top: 10px; }
.esp-ks-lie { color: #FBBF24; display: inline-flex; align-items: center; gap: 7px; }
.esp-ks-lie b { letter-spacing: 0.5px; }
.esp-ks-free { color: var(--esp-green); display: inline-flex; align-items: center; gap: 7px; }
.esp-ks-err { color: var(--esp-red); }

.esp-days {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700;
  padding: 4px 11px; border-radius: 999px;
  align-self: flex-start;
}
.esp-days.life { background: rgba(245, 158, 11, 0.14); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.45); }
.esp-days.ok { background: rgba(34, 197, 94, 0.12); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.4); }
.esp-days.warn { background: rgba(251, 191, 36, 0.12); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.4); }
.esp-days.bad { background: rgba(239, 68, 68, 0.12); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }

/* ===== REACT BOX ===== */
.esp-react-box {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 12.5px; line-height: 1.55;
  padding: 13px 15px; border-radius: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.esp-react-box i { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.esp-react-box.ok { background: rgba(34, 197, 94, 0.08); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.3); }
.esp-react-box.wait { background: rgba(251, 191, 36, 0.08); color: #fde68a; border: 1px solid rgba(251, 191, 36, 0.3); }
.esp-react-box.no { background: rgba(239, 68, 68, 0.08); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }

/* ===== DEVICES ===== */
.esp-dev-card { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.esp-dev-icon {
  width: 58px; height: 58px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 15px; font-size: 24px;
  background: linear-gradient(135deg, rgba(var(--esp-ac-rgb), 0.16), rgba(245, 158, 11, 0.1));
  color: var(--rose-l);
  border: 1px solid rgba(var(--esp-ac-rgb), 0.35);
}
.esp-dev-info { flex: 1; min-width: 220px; }
.esp-dev-name { font-size: 19px; font-weight: 800; letter-spacing: 0.5px; display: block; margin: 4px 0 8px; }
.esp-dev-specs { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.esp-dev-specs span {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--esp-line);
  border-radius: 8px;
  padding: 5px 10px;
  color: #cbd5e1;
}
.esp-dev-status { font-size: 12px; color: var(--esp-muted); display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.esp-dev-status i { font-size: 7px; color: var(--esp-green); text-shadow: 0 0 6px rgba(34, 197, 94, 0.7); }
.esp-dev-actions { display: flex; flex-direction: column; gap: 8px; }
.esp-dev-transfer { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.esp-dev-transfer h5 { margin-bottom: 6px; }
.esp-dev-transfer p { font-size: 12.5px; line-height: 1.6; margin-bottom: 8px; }
.esp-dev-transfer > div:nth-child(2) { flex: 1; min-width: 240px; }
.esp-dev-transfer-ico {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; font-size: 17px;
  background: rgba(var(--esp-ac-rgb), 0.12);
  color: var(--rose-l);
  border: 1px solid rgba(var(--esp-ac-rgb), 0.3);
}

/* ===== DOWNLOADS ===== */
.esp-dl-main { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.esp-dl-icon {
  width: 60px; height: 60px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px; font-size: 26px;
  background: linear-gradient(135deg, rgba(var(--esp-ac-rgb), 0.2), rgba(245, 158, 11, 0.12));
  color: var(--rose-l);
  border: 1px solid rgba(var(--esp-ac-rgb), 0.4);
  box-shadow: 0 0 24px rgba(var(--esp-ac-rgb), 0.15);
}
.esp-dl-info { flex: 1; min-width: 200px; }
.esp-dl-version { font-size: 26px; font-weight: 800; letter-spacing: 1px; display: block; margin: 2px 0 6px; }
.esp-dl-os { font-size: 12.5px; color: var(--esp-muted); display: flex; align-items: center; gap: 8px; }
.esp-dl-actions { display: flex; flex-direction: column; gap: 8px; }
.esp-dl-check-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.esp-dl-check-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--esp-line);
  border-radius: 11px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 5px;
}
.esp-dl-check-item span { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.7px; color: var(--esp-muted); }
.esp-dl-check-item b { font-size: 13px; }
.esp-dl-check-item b.ok { color: var(--esp-green); }
.esp-dl-check-item code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--rose-l);
  word-break: break-all;
}
.esp-dl-copy { background: none; border: none; color: var(--esp-muted); cursor: pointer; font-size: 12px; align-self: flex-start; }
.esp-dl-copy:hover { color: var(--rose-l); }
.esp-dl-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.esp-dl-row:last-child { border-bottom: none; }
.esp-dl-row div { display: flex; align-items: baseline; gap: 10px; }
.esp-dl-row b { font-size: 13.5px; }
.esp-dl-note { font-size: 11.5px; margin-top: 8px; }

/* ===== CHANGELOG ===== */
.esp-ch-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.esp-ch-filter {
  font-size: 12px; font-weight: 600; font-family: inherit;
  color: #a2a2ab;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--esp-line);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.esp-ch-filter:hover { border-color: rgba(var(--esp-ac-rgb), 0.4); color: var(--txt); }
.esp-ch-filter.active { background: rgba(var(--esp-ac-rgb), 0.14); border-color: rgba(var(--esp-ac-rgb), 0.5); color: var(--rose-l); }
.esp-ch-list { display: flex; flex-direction: column; gap: 12px; }
.esp-ch-item {
  background: var(--esp-card);
  border: 1px solid var(--esp-line);
  border-radius: 14px;
  padding: 18px 20px;
}
.esp-ch-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.esp-ch-head b { font-size: 16px; font-weight: 800; }
.esp-ch-sec { margin-bottom: 12px; }
.esp-ch-sec:last-child { margin-bottom: 0; }
.esp-ch-sec b { font-size: 12px; display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.esp-ch-sec.nouveautes b { color: #FBBF24; }
.esp-ch-sec.ameliorations b { color: #7dd3fc; }
.esp-ch-sec.corrections b { color: #f87171; }
.esp-ch-sec ul { list-style: none; }
.esp-ch-sec li {
  font-size: 13px; color: #c9c9d2;
  padding: 5px 0 5px 22px;
  position: relative;
}
.esp-ch-sec li::before {
  content: '';
  position: absolute; left: 8px; top: 12px;
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* ===== SUPPORT / TICKETS ===== */
.esp-ticket-list { display: flex; flex-direction: column; gap: 8px; }
.esp-ticket-item {
  display: flex; align-items: center; gap: 13px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--esp-line);
  border-radius: 12px;
  padding: 13px 15px;
  color: var(--txt);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
  flex-wrap: wrap;
}
.esp-ticket-item:hover { border-color: rgba(var(--esp-ac-rgb), 0.4); background: rgba(var(--esp-ac-rgb), 0.04); transform: translateX(3px); }
.esp-ticket-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px; font-weight: 700;
  color: var(--rose-l);
  background: rgba(var(--esp-ac-rgb), 0.1);
  border: 1px solid rgba(var(--esp-ac-rgb), 0.3);
  border-radius: 8px;
  padding: 4px 9px;
  flex-shrink: 0;
}
.esp-ticket-sub { flex: 1; min-width: 180px; display: flex; flex-direction: column; }
.esp-ticket-sub b { font-size: 13px; }
.esp-ticket-sub span { font-size: 11.5px; color: var(--esp-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 340px; }
.esp-ticket-date { font-size: 11px; color: var(--esp-muted); white-space: nowrap; }
.esp-req-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.esp-req-badge.wait { background: rgba(251, 191, 36, 0.13); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.4); }
.esp-req-badge.ok { background: rgba(34, 197, 94, 0.13); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.4); }
.esp-req-badge.no { background: rgba(239, 68, 68, 0.13); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }

.esp-conv { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.esp-bubble {
  max-width: 82%;
  border-radius: 13px;
  padding: 11px 14px;
  font-size: 13px;
  display: flex; flex-direction: column; gap: 5px;
}
.esp-bubble b { font-size: 11px; opacity: 0.75; }
.esp-bubble p { line-height: 1.55; }
.esp-bubble span { font-size: 10px; opacity: 0.6; align-self: flex-end; }
.esp-bubble.me { align-self: flex-end; background: rgba(var(--esp-ac-rgb), 0.12); border: 1px solid rgba(var(--esp-ac-rgb), 0.35); }
.esp-bubble.staff { align-self: flex-start; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--esp-line); }
.esp-conv-reply { display: flex; gap: 9px; }
.esp-conv-reply input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--esp-line);
  border-radius: 11px;
  padding: 11px 14px;
  color: var(--txt);
  font-size: 13px;
  font-family: inherit;
}
.esp-conv-reply input:focus { outline: none; border-color: rgba(var(--esp-ac-rgb), 0.5); }
.esp-conv-note { font-size: 11.5px; margin-top: 10px; }

.esp-chip-row { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 13px; }
.esp-chip-q {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; font-family: inherit;
  color: var(--rose-l);
  background: rgba(var(--esp-ac-rgb), 0.08);
  border: 1px solid rgba(var(--esp-ac-rgb), 0.3);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.esp-chip-q:hover { background: rgba(var(--esp-ac-rgb), 0.18); transform: translateY(-1px); }
.esp-chip {
  font-size: 11px; font-weight: 700;
  padding: 4px 11px; border-radius: 999px;
  white-space: nowrap;
}
.esp-chip.chip-wait { background: rgba(251, 191, 36, 0.13); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.4); }
.esp-chip.chip-ok { background: rgba(34, 197, 94, 0.13); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.4); }
.esp-chip.chip-no { background: rgba(239, 68, 68, 0.13); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }

/* ===== ACHATS ===== */
.esp-order-card { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.esp-order-ico {
  width: 52px; height: 52px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; font-size: 21px;
}
.esp-order-card.pro .esp-order-ico { background: rgba(var(--esp-ac-rgb), 0.15); color: var(--rose-l); border: 1px solid rgba(var(--esp-ac-rgb), 0.4); }
.esp-order-card.life .esp-order-ico { background: rgba(245, 158, 11, 0.16); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.45); box-shadow: 0 0 18px rgba(245, 158, 11, 0.12); }
.esp-order-info { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 2px; }
.esp-order-info b { font-size: 17px; }
.esp-order-info span { font-size: 12.5px; }
.esp-order-side { display: flex; flex-direction: column; gap: 9px; align-items: flex-end; }
.esp-order-btns { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.esp-order-row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 0.8fr 1fr;
  gap: 10px; align-items: center;
  padding: 12px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}
.esp-order-row:last-child { border-bottom: none; }
.esp-achat-price { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--rose-l); }
.esp-achat-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

/* ===== FACTURES ===== */
.esp-invoice-list { display: flex; flex-direction: column; gap: 8px; }
.esp-invoice-item {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--esp-line);
  border-radius: 12px;
  padding: 13px 15px;
  flex-wrap: wrap;
}
.esp-inv-ico {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px; font-size: 16px;
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.esp-invoice-item > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 140px; }
.esp-invoice-item > div:nth-child(2) b { font-size: 13.5px; }
.esp-invoice-item > div:nth-child(2) span { font-size: 11.5px; color: var(--esp-muted); }

/* ===== PROFIL ===== */
.esp-prof-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.esp-prof-avatar { position: relative; margin-bottom: 12px; }
.esp-prof-avatar img {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background: linear-gradient(#0E0E11, #0E0E11) padding-box, linear-gradient(135deg, var(--esp-orange), var(--violet)) border-box;
  box-shadow: 0 0 28px rgba(var(--esp-ac-rgb), 0.3);
}
.esp-prof-avatar .esp-hero-status {
  position: absolute; bottom: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #0b0b0b; border: 2px solid #0b0b0b;
  display: flex; align-items: center; justify-content: center;
}
.esp-prof-avatar .esp-hero-status i { font-size: 10px; color: var(--esp-green); filter: drop-shadow(0 0 4px var(--esp-green)); }
.esp-prof-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.esp-prof-card .esp-info-grid { width: 100%; max-width: 460px; margin-top: 14px; }

/* ===== PARAMETRES ===== */
.esp-radio-row { display: flex; gap: 9px; flex-wrap: wrap; }
.esp-radio {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--esp-line);
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
}
.esp-radio input { display: none; }
.esp-radio.on { border-color: rgba(var(--esp-ac-rgb), 0.5); background: rgba(var(--esp-ac-rgb), 0.08); color: var(--rose-l); }
.esp-radio input:disabled { opacity: 0.45; cursor: not-allowed; }
.esp-set-note { font-size: 11.5px; margin-top: 10px; }
.esp-toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}
.esp-toggle-row:last-child { border-bottom: none; }
.esp-switch { position: relative; width: 42px; height: 23px; cursor: pointer; }
.esp-switch input { display: none; }
.esp-switch i {
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 99px;
  transition: background 0.2s ease;
}
.esp-switch i::after {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 17px; height: 17px; border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.esp-switch input:checked + i { background: linear-gradient(90deg, var(--esp-orange), var(--violet)); }
.esp-switch input:checked + i::after { transform: translateX(19px); }
.esp-param-line {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 6px 4px; flex-wrap: wrap;
}
.esp-param-line b { font-size: 13px; }
.esp-param-line p { font-size: 12px; margin-top: 3px; max-width: 420px; }
.esp-session-row {
  display: flex; align-items: center; gap: 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--esp-line);
  border-radius: 12px;
  padding: 13px 15px;
  margin-bottom: 12px;
}
.esp-session-ico {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px; font-size: 16px;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.esp-session-row > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.esp-session-row b { font-size: 13.5px; }

/* ===== INVOICE MODAL ===== */
.modal-invoice-box { max-width: 580px; }
#print { display: none; }
.inv-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--esp-orange); }
.inv-brand { display: flex; align-items: center; gap: 12px; }
.inv-brand img { width: 44px; height: 44px; border-radius: 9px; }
.inv-brand-txt { display: flex; flex-direction: column; }
.inv-brand-txt b { font-size: 18px; font-weight: 800; letter-spacing: 0.5px; }
.inv-brand-txt em { font-style: normal; color: var(--esp-orange); }
.inv-brand-txt span { font-size: 11px; color: var(--esp-muted); }
.inv-doc { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.inv-doc b { font-size: 18px; letter-spacing: 2px; color: var(--esp-orange); }
.inv-doc span { font-size: 12px; color: var(--esp-muted); font-family: 'JetBrains Mono', monospace; }
.inv-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.inv-block { display: flex; flex-direction: column; gap: 3px; font-size: 12px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--esp-line); border-radius: 10px; padding: 11px 13px; }
.inv-lbl { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--esp-orange); font-weight: 700; margin-bottom: 4px; }
.inv-block b { font-size: 13px; }
.inv-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-bottom: 16px; }
.inv-table th { text-align: left; padding: 8px 10px; background: rgba(124, 92, 255, 0.08); color: var(--esp-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; border-bottom: 1px solid var(--esp-line); }
.inv-table th.c, .inv-table td.c { text-align: center; }
.inv-table th.r, .inv-table td.r { text-align: right; }
.inv-table td { padding: 10px; border-bottom: 1px solid var(--esp-line); vertical-align: top; }
.inv-table td b { font-size: 13px; }
.inv-table td span { display: block; font-size: 11px; color: var(--esp-muted); margin-top: 2px; }
.inv-sum { margin-left: auto; width: 260px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; margin-bottom: 18px; }
.inv-srow { display: flex; justify-content: space-between; align-items: center; color: var(--esp-muted); }
.inv-srow b { color: #fff; }
.inv-srow b.neg { color: #EF4444; }
.inv-total { border-top: 1px solid var(--esp-line); padding-top: 8px; }
.inv-total span { color: #fff; font-weight: 700; }
.inv-total b { color: var(--esp-orange); font-size: 16px; }
.inv-note { font-size: 12px; color: var(--esp-muted); margin: 0 0 14px; }
.inv-foot { border-top: 1px dashed var(--esp-line); padding-top: 10px; display: flex; justify-content: space-between; gap: 12px; font-size: 10.5px; color: var(--esp-muted); }

/* ===== ASSISTANT ===== */
.esp-ai-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--esp-orange), var(--violet));
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(var(--esp-ac-rgb), 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.esp-ai-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 36px rgba(var(--esp-ac-rgb), 0.55); }
.esp-ai-panel {
  position: fixed; right: 22px; bottom: 86px; z-index: 95;
  width: 350px; max-width: calc(100vw - 30px);
  background: #0D0D10;
  border: 1px solid rgba(var(--esp-ac-rgb), 0.35);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  flex-direction: column;
  overflow: hidden;
  animation: espDropIn 0.2s ease both;
}
.esp-ai-head {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(var(--esp-ac-rgb), 0.14), rgba(245, 158, 11, 0.06));
  border-bottom: 1px solid rgba(var(--esp-ac-rgb), 0.25);
}
.esp-ai-head > i { font-size: 18px; color: var(--esp-orange); filter: drop-shadow(0 0 8px rgba(var(--esp-ac-rgb), 0.5)); }
.esp-ai-head div { flex: 1; display: flex; flex-direction: column; }
.esp-ai-head b { font-size: 14px; }
.esp-ai-head span { font-size: 11px; color: var(--esp-muted); }
.esp-ai-close { background: none; border: none; color: var(--esp-muted); cursor: pointer; font-size: 14px; }
.esp-ai-close:hover { color: var(--txt); }
.esp-ai-msgs {
  height: 280px; overflow-y: auto;
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.esp-ai-msg {
  max-width: 86%;
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 12.5px;
  line-height: 1.55;
}
.esp-ai-msg.bot { align-self: flex-start; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--esp-line); }
.esp-ai-msg.user { align-self: flex-end; background: rgba(var(--esp-ac-rgb), 0.13); border: 1px solid rgba(var(--esp-ac-rgb), 0.35); }
.esp-ai-go {
  margin-top: 9px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 600; font-family: inherit;
  color: var(--rose-l);
  background: rgba(var(--esp-ac-rgb), 0.1);
  border: 1px solid rgba(var(--esp-ac-rgb), 0.35);
  border-radius: 8px;
  padding: 6px 11px;
  cursor: pointer;
}
.esp-ai-go:hover { background: rgba(var(--esp-ac-rgb), 0.2); }
.esp-ai-go.ghost { background: transparent; color: #c9c9d2; border-color: var(--esp-line); }
.esp-ai-go.ghost:hover { background: rgba(255, 255, 255, 0.06); }
.esp-ai-typing { display: flex; align-items: center; gap: 5px; }
.esp-ai-dots i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); animation: espAiBounce 1.1s infinite; }
.esp-ai-dots i:nth-child(2) { animation-delay: 0.15s; }
.esp-ai-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes espAiBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.35; } 30% { transform: translateY(-4px); opacity: 1; } }
.esp-ai-quick { display: flex; gap: 7px; padding: 10px 14px; flex-wrap: wrap; border-top: 1px solid var(--esp-line); }
.esp-ai-quick button {
  font-size: 11px; font-weight: 600; font-family: inherit;
  color: #c9c9d2;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--esp-line);
  border-radius: 999px;
  padding: 6px 11px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.esp-ai-quick button:hover { border-color: rgba(var(--esp-ac-rgb), 0.45); color: var(--rose-l); }
.esp-ai-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--esp-line); }
.esp-ai-input input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--esp-line);
  border-radius: 10px;
  padding: 10px 13px;
  color: var(--txt);
  font-size: 13px;
  font-family: inherit;
}
.esp-ai-input input:focus { outline: none; border-color: rgba(var(--esp-ac-rgb), 0.5); }

/* ===== LOGIN ===== */
.esp-login { display: flex; justify-content: center; padding-top: 80px; animation: espFadeUp 0.5s ease both; }
.esp-login-card {
  position: relative;
  overflow: hidden;
  background: var(--esp-card);
  border: 1px solid var(--esp-line);
  border-radius: 18px;
  padding: 40px 36px;
  text-align: center;
  max-width: 440px;
  width: 100%;
}
.esp-login-glow {
  position: absolute; width: 300px; height: 300px;
  top: -160px; left: 50%; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--esp-ac-rgb), 0.2), transparent 70%);
  pointer-events: none;
}
.esp-login-icon { font-size: 42px; color: var(--rose-l); margin-bottom: 12px; filter: drop-shadow(0 0 16px rgba(var(--esp-ac-rgb), 0.45)); }
.esp-login-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.esp-login-card p { color: var(--esp-muted); font-size: 13px; margin-bottom: 22px; line-height: 1.6; }

/* ===== FOOTER ===== */
.esp-footer {
  margin-top: 26px;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  flex-wrap: wrap;
  font-size: 12px; color: var(--esp-muted);
  border-top: 1px solid var(--esp-line);
  padding-top: 18px;
}
.esp-footer a { color: var(--esp-muted); text-decoration: none; transition: color 0.15s ease; }
.esp-footer a:hover { color: var(--rose-l); }

/* ===== IMPRESSION FACTURE ===== */
@media print {
  body.printing > *:not(#modalInvoice) { display: none !important; }
  body.printing #modalInvoice {
    position: static !important;
    background: none !important;
    display: block !important;
  }
  body.printing #modalInvoice .modal-box {
    position: static !important;
    max-width: none !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }
  body.printing #modalInvoice .modal-close,
  body.printing #invPrintBtn { display: none !important; }
body.printing #invoicePrint { color: #000; }
  body.printing .inv-top { border-color: #d8d8de; }
  body.printing .inv-doc b,
  body.printing .inv-lbl,
  body.printing .inv-total b,
  body.printing .inv-brand-txt em { color: #F57A08; }
  body.printing .inv-brand-txt b,
  body.printing .inv-block b,
  body.printing .inv-srow b,
  body.printing .inv-total span { color: #000; }
  body.printing .inv-srow b.neg { color: #d03050; }
  body.printing .inv-block { background: #fff; border-color: #e0e0e6; }
  body.printing .inv-table th { background: #f0f0f4; border-color: #d8d8de; color: #333; }
  body.printing .inv-table td { border-color: #e5e5ea; color: #000; }
  body.printing .inv-note,
  body.printing .inv-foot,
  body.printing .inv-brand-txt span,
  body.printing .inv-table td span,
  body.printing .inv-srow { color: #555; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1180px) {
  .esp-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .esp-dash-cols { grid-template-columns: 1fr; }
  .esp-dl-check-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .esp-sidebar {
    position: fixed; left: 0; top: 0;
    width: 260px; height: 100vh; height: 100dvh;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    background: #0A0A0C;
    border-right: 1px solid var(--esp-line);
    padding-top: 14px;
    z-index: 80;
  }
  .esp-sidebar.open { transform: translateX(0); }
  .esp-sb-logo { display: flex; }
  .esp-burger { display: inline-flex; align-items: center; justify-content: center; }
  .esp-overlay {
    display: block;
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 75;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .esp-overlay.show { opacity: 1; pointer-events: auto; }
  .esp-main { padding: 22px 18px 40px; }
}
@media (max-width: 640px) {
  .esp-stat-grid { grid-template-columns: 1fr; }
  .esp-user-chip b { display: none; }
  .esp-user-chip { padding-right: 4px; }
  .esp-topbar .logo-txt { font-size: 15px; }
  .esp-order-row { grid-template-columns: 1fr 1fr; }
  .esp-dl-check-grid { grid-template-columns: 1fr; }
  .esp-licinfo-key { flex-direction: column; align-items: flex-start; }
  .esp-dev-card { flex-direction: column; }
  .esp-dev-actions { flex-direction: row; flex-wrap: wrap; }
  .esp-ai-panel { right: 10px; bottom: 78px; }
  .esp-ai-fab { right: 14px; bottom: 14px; }
  .esp-login { padding-top: 44px; }
  .esp-login-card { padding: 30px 20px; }
}
/* ===== Fonds d'ecran (espace client) ===== */
#galaxy { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body.esp-body[data-bg]:not([data-bg="galaxy"]):not([data-bg="plain"])::before {
  content: '';
  position: fixed; inset: 0; z-index: -3;
  background-size: cover; background-position: center;
  animation: espBgZoom 16s ease-out both;
}
body.esp-body[data-bg="andromede"]::before { background-image: url('bg/bg-1.jpg'); }
body.esp-body[data-bg="nebula"]::before { background-image: url('bg/bg-2.jpg'); }
body.esp-body[data-bg="milkyway"]::before { background-image: url('bg/bg-3.jpg'); }
body.esp-body[data-bg="deepspace"]::before { background-image: url('bg/bg-4.jpg'); }
body.esp-body[data-bg="starcluster"]::before { background-image: url('bg/bg-5.jpg'); }
body.esp-body[data-bg="aurora"]::before { background-image: url('bg/bg-6.jpg'); }
body.esp-body[data-bg="plain"]::before { content: ''; position: fixed; inset: 0; z-index: -3; background: #050507; }
body.esp-body[data-bg]:not([data-bg="galaxy"]):not([data-bg="plain"])::after {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(7, 7, 9, 0.58), rgba(7, 7, 9, 0.72));
}
body.esp-body[data-bg]:not([data-bg="galaxy"]) #galaxy { opacity: 0.08; }
@keyframes espBgZoom { from { transform: scale(1.07); } to { transform: scale(1); } }

/* ===== Selecteur de fond ===== */
.esp-bg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.esp-bg-tile {
  position: relative;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.09);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.esp-bg-tile:hover { transform: translateY(-3px); border-color: rgba(var(--esp-ac-rgb), 0.55); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); }
.esp-bg-tile.on { border-color: var(--esp-orange); box-shadow: 0 0 16px rgba(var(--esp-ac-rgb), 0.35); }
.esp-bg-tile.on::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; top: 7px; right: 8px;
  width: 19px; height: 19px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #fff;
  background: var(--esp-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(var(--esp-ac-rgb), 0.6);
}
.esp-bg-tile span {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-size: 10px; font-weight: 600;
  padding: 5px 8px;
  background: rgba(0, 0, 0, 0.62);
  color: #ddd;
  text-align: left;
}
.bg-tile-galaxy {
  background:
    radial-gradient(circle at 30% 35%, rgba(var(--esp-ac-rgb), 0.5), transparent 45%),
    radial-gradient(circle at 72% 65%, rgba(245, 158, 11, 0.45), transparent 40%),
    radial-gradient(circle at 55% 20%, rgba(56, 130, 246, 0.25), transparent 45%),
    #0a0a0c;
}
.bg-tile-galaxy::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 18% 26%, #fff, transparent),
    radial-gradient(1px 1px at 62% 12%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 84% 42%, #fff, transparent),
    radial-gradient(1px 1px at 38% 70%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 8% 64%, #fff, transparent),
    radial-gradient(1px 1px at 48% 88%, #fff, transparent),
    radial-gradient(1px 1px at 92% 80%, #fff, transparent);
  opacity: 0.9;
}
.bg-tile-plain {
  background:
    radial-gradient(circle at 50% 120%, rgba(var(--esp-ac-rgb), 0.14), transparent 60%),
    #101014;
}

/* ===== AMELIORATIONS 2026 ===== */
/* Navigation groupes + badges */
.esp-nav-group {
  font-size: 9.5px; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--esp-muted); opacity: 0.8;
  padding: 16px 10px 5px;
}
.esp-nav-badge {
  margin-left: auto;
  min-width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800;
  background: var(--esp-orange); color: #fff;
  border-radius: 99px;
  box-shadow: 0 0 10px rgba(var(--esp-ac-rgb), 0.55);
}
.esp-nav-chip {
  margin-left: auto;
  font-size: 8.5px; font-weight: 800; letter-spacing: 0.5px;
  padding: 2px 8px; border-radius: 99px;
}
.esp-nav-chip.life { background: rgba(245, 158, 11, 0.15); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.45); }
.esp-nav-chip.pro { background: rgba(var(--esp-ac-rgb), 0.14); color: var(--rose-l); border: 1px solid rgba(var(--esp-ac-rgb), 0.4); }

/* Etats vides */
.esp-empty-state {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; padding: 34px 20px;
}
.esp-empty-state b { font-size: 15px; }
.esp-empty-state > span { font-size: 12.5px; color: var(--esp-muted); max-width: 380px; line-height: 1.55; }
.esp-empty-ico {
  position: relative;
  width: 66px; height: 66px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--esp-orange);
  background: rgba(var(--esp-ac-rgb), 0.1);
  border: 1px solid rgba(var(--esp-ac-rgb), 0.3);
  border-radius: 20px;
  margin-bottom: 6px;
  box-shadow: 0 0 24px rgba(var(--esp-ac-rgb), 0.15);
}
.esp-empty-lock {
  position: absolute; right: -7px; bottom: -7px;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #4ade80;
  background: #101014;
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 50%;
}
.esp-empty-hint { font-size: 11.5px; max-width: 380px; }

/* FAQ support */
.esp-faq-card .esp-card-head { margin-bottom: 8px; }
.esp-faq {
  border-bottom: 1px solid var(--esp-line);
}
.esp-faq:last-of-type { border-bottom: none; }
.esp-faq summary {
  display: flex; align-items: center; gap: 10px;
  list-style: none; cursor: pointer;
  font-size: 13px; font-weight: 600;
  padding: 13px 4px;
  user-select: none;
}
.esp-faq summary::-webkit-details-marker { display: none; }
.esp-faq summary i { font-size: 10px; color: var(--esp-muted); transition: transform 0.2s ease; }
.esp-faq[open] summary i { transform: rotate(90deg); color: var(--esp-orange); }
.esp-faq p { font-size: 12.5px; color: var(--esp-muted); line-height: 1.6; padding: 0 4px 14px; }
.esp-faq-discord { margin-top: 14px; justify-content: center; }

/* Licence : bloc cle + copie + menu actions */
.esp-licinfo-key {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 18px 18px;
  border-radius: 12px;
  background: rgba(var(--esp-ac-rgb), 0.07);
  border: 1px solid rgba(var(--esp-ac-rgb), 0.25);
  margin-bottom: 14px;
  position: relative;
}
.esp-licinfo-key code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 19px; letter-spacing: 1.2px; color: var(--rose-l);
  word-break: break-all;
}
.esp-copy-big { padding: 11px 22px; font-size: 13.5px; }
.esp-actions-menu { position: relative; }
.esp-actions-drop {
  position: absolute; right: 0; bottom: calc(100% + 8px);
  min-width: 230px;
  background: #15151a;
  border: 1px solid var(--esp-line);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  padding: 6px;
  z-index: 40;
  animation: espDropIn 0.15s ease both;
}
.esp-actions-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  background: none; border: none;
  color: var(--txt); font-family: inherit; font-size: 13px;
  padding: 10px 12px; border-radius: 8px;
  cursor: pointer; text-align: left;
}
.esp-actions-item:hover { background: rgba(var(--esp-ac-rgb), 0.1); color: var(--rose-l); }
.esp-actions-item i { width: 16px; text-align: center; color: var(--esp-muted); }
.esp-actions-item:hover i { color: var(--rose-l); }

/* Dashboard : section + astuce + maj */
.esp-section-title {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.6px;
  color: var(--esp-muted); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.esp-section-title::after { content: ''; flex: 1; height: 1px; background: var(--esp-line); }
.esp-dash-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.esp-tip-card, .esp-upd-card { display: flex; gap: 14px; align-items: flex-start; }
.esp-tip-ico, .esp-upd-ico {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; border-radius: 12px;
}
.esp-tip-ico { background: rgba(251, 191, 36, 0.13); color: #FBBF24; border: 1px solid rgba(251, 191, 36, 0.35); }
.esp-upd-ico { background: rgba(var(--esp-ac-rgb), 0.13); color: var(--rose-l); border: 1px solid rgba(var(--esp-ac-rgb), 0.35); }
.esp-tip-body, .esp-upd-body { flex: 1; min-width: 0; }
.esp-tip-body b, .esp-upd-body b { font-size: 13px; display: block; margin-bottom: 4px; }
.esp-tip-body p, .esp-upd-body p { font-size: 12.5px; color: var(--esp-muted); line-height: 1.55; }

/* Telechargements */
.esp-dl-badge-row { display: flex; align-items: center; gap: 9px; }
.esp-dl-reco { font-size: 10px; padding: 2px 9px; }
.esp-dl-date { color: var(--esp-muted); font-size: 12px; }
.esp-dl-big { padding: 13px 26px; font-size: 14.5px; }

/* Changelog */
.esp-ch-filter { display: inline-flex; align-items: center; gap: 7px; }
.esp-ch-item.cur { border-color: rgba(var(--esp-ac-rgb), 0.35); }
.esp-ch-sec {
  border-radius: 10px; padding: 11px 13px;
  border: 1px solid transparent;
}
.esp-ch-sec.nouveautes { background: rgba(245, 158, 11, 0.06); border-color: rgba(245, 158, 11, 0.22); }
.esp-ch-sec.ameliorations { background: rgba(56, 189, 248, 0.06); border-color: rgba(56, 189, 248, 0.22); }
.esp-ch-sec.corrections { background: rgba(239, 68, 68, 0.06); border-color: rgba(239, 68, 68, 0.22); }
.esp-ch-toggle {
  width: 100%;
  background: none; border: 1px dashed var(--esp-line);
  color: var(--esp-muted); font-family: inherit; font-size: 12.5px; font-weight: 600;
  padding: 11px; border-radius: 10px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 4px;
}
.esp-ch-toggle:hover { color: var(--rose-l); border-color: rgba(var(--esp-ac-rgb), 0.4); }
.esp-ch-old { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }

/* Achats */
.esp-chip-pay {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.08));
  color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.45);
  font-weight: 700;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.15);
}
.esp-life-incl {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: #FBBF24;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  padding: 6px 10px; margin-top: 4px;
}

/* Profil */
.esp-prof-avatar img { width: 108px; height: 108px; border-radius: 50%; border: 3px solid rgba(var(--esp-ac-rgb), 0.6); box-shadow: 0 0 30px rgba(var(--esp-ac-rgb), 0.25); }
.esp-prof-avatar-btn { margin: 6px 0 2px; }

/* Parametres : apercu fond */
.esp-bg-preview {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(var(--esp-ac-rgb), 0.35);
  background: rgba(var(--esp-ac-rgb), 0.06);
  border-radius: 12px;
  margin-bottom: 12px;
}
.esp-bg-preview-thumb {
  width: 58px; height: 36px; flex-shrink: 0;
  border-radius: 8px; border: 1px solid var(--esp-line);
  background-size: cover; background-position: center;
}
.esp-bg-preview-info { flex: 1; display: flex; flex-direction: column; }
.esp-bg-preview-info b { font-size: 13px; }
.esp-bg-preview-info span { font-size: 11px; }

/* ===== GERANT + ANNONCE 2026 ===== */
/* Banniere annonce */
.esp-annonce {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 20px;
  background: linear-gradient(90deg, rgba(var(--esp-ac-rgb), 0.16), rgba(var(--esp-ac-rgb), 0.05));
  border-bottom: 1px solid rgba(var(--esp-ac-rgb), 0.35);
  color: var(--rose-l);
  font-size: 13px;
  position: relative; z-index: 20;
}
.esp-annonce > i { color: var(--esp-orange); font-size: 14px; }
.esp-annonce-close {
  margin-left: auto; cursor: pointer; color: var(--esp-muted);
  background: none; border: none; font-size: 14px; padding: 2px 6px;
}
.esp-annonce-close:hover { color: var(--rose-l); }

/* Nav gerant */
.esp-nav-group-mgr { color: var(--esp-orange); }
.esp-nav-item-mgr.active,
.esp-nav-item-mgr:hover { background: rgba(var(--esp-ac-rgb), 0.12); }
.esp-nav-item-mgr.active { box-shadow: inset 3px 0 0 var(--esp-orange); }

/* Stats gerant */
.mg-stat { cursor: default; }
.mg-stat .esp-stat-lbl { color: var(--esp-orange); }

/* Tableau clients */
.mg-table-wrap { overflow-x: auto; margin-top: 4px; }
.mg-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mg-table th {
  text-align: left; color: var(--esp-muted); font-weight: 600;
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.8px;
  padding: 8px 10px; border-bottom: 1px solid var(--esp-line);
  white-space: nowrap;
}
.mg-table td { padding: 10px; border-bottom: 1px solid rgba(var(--esp-ac-rgb), 0.08); vertical-align: top; }
.mg-table tr:hover td { background: rgba(var(--esp-ac-rgb), 0.04); }
.mg-table code { font-family: 'JetBrains Mono', monospace; font-size: 11px; background: rgba(var(--esp-ac-rgb), 0.08); padding: 2px 6px; border-radius: 6px; }
.mg-plan {
  display: inline-block; padding: 2px 9px; border-radius: 99px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.4px;
}
.mg-plan-basic { background: rgba(136, 136, 160, 0.15); color: #8888a0; border: 1px solid rgba(136, 136, 160, 0.4); }
.mg-plan-pro { background: rgba(var(--esp-ac-rgb), 0.15); color: var(--rose-l); border: 1px solid rgba(var(--esp-ac-rgb), 0.45); }
.mg-plan-lifetime { background: rgba(245, 158, 11, 0.15); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.45); }

/* Liste demandes gerant */
.mg-dem-list { display: flex; flex-direction: column; gap: 10px; }
.mg-dem-item {
  border: 1px solid var(--esp-line);
  background: rgba(var(--esp-ac-rgb), 0.04);
  border-radius: 12px; padding: 12px 14px;
}
.mg-dem-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.mg-dem-top .muted { margin-left: auto; font-size: 11px; }
.mg-dem-body { font-size: 13px; line-height: 1.5; }
.mg-dem-body b { font-size: 13.5px; }
.mg-dem-meta { font-size: 11.5px; margin-top: 6px; }
.esp-chip.st-pending { background: rgba(251, 191, 36, 0.13); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.4); }
.esp-chip.st-done { background: rgba(34, 197, 94, 0.13); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.4); }
.esp-chip.st-refused { background: rgba(239, 68, 68, 0.13); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }

/* Bouton OK */
.btn-ok {
  background: rgba(34, 197, 94, 0.14); color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.5);
}
.btn-ok:hover { background: rgba(34, 197, 94, 0.24); box-shadow: 0 0 14px rgba(34, 197, 94, 0.25); }

/* Annonce actuelle + apercu */
.mg-current-annonce { font-size: 13px; color: var(--rose-l); line-height: 1.5; }
.mg-ann-preview { border: 1px dashed rgba(var(--esp-ac-rgb), 0.5); border-radius: 10px; }

/* ===== GERANT : AMELIORATIONS 2026b ===== */
.esp-info-item {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}
.esp-info-item span { color: var(--esp-muted); }
.esp-info-item b { text-align: right; word-break: break-word; }
.esp-info-item-full { flex-direction: column; align-items: flex-start; gap: 4px; }
.esp-info-item-full b { text-align: left; line-height: 1.5; }

/* Tri table clients */
.mg-sortable { cursor: pointer; user-select: none; }
.mg-sortable:hover { color: var(--rose-l); }
.mg-sort-ico { margin-left: 4px; font-size: 10px; opacity: 0.7; }

/* Copie cellule */
.mg-cell-key { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.mg-copy-btn {
  background: rgba(var(--esp-ac-rgb), 0.1);
  border: 1px solid rgba(var(--esp-ac-rgb), 0.3);
  color: var(--esp-muted);
  width: 24px; height: 24px; border-radius: 7px;
  cursor: pointer; font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mg-copy-btn:hover { color: var(--rose-l); border-color: rgba(var(--esp-ac-rgb), 0.6); }
.mg-copy-btn:disabled { opacity: 0.35; cursor: default; }

/* Graphique inscriptions */
.mg-chart { margin-top: 10px; }
.mg-chart-bars {
  display: flex; align-items: flex-end; gap: 8px;
  height: 120px; padding: 8px 2px 0;
}
.mg-chart-col {
  flex: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  gap: 6px; min-width: 0;
}
.mg-chart-bar {
  width: 100%; max-width: 34px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--esp-orange), rgba(var(--esp-ac-rgb), 0.55));
  box-shadow: 0 0 12px rgba(var(--esp-ac-rgb), 0.25);
  transition: height 0.3s ease;
  min-height: 4px;
}
.mg-chart-col:hover .mg-chart-bar { filter: brightness(1.2); }
.mg-chart-lbl { font-size: 10px; color: var(--esp-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* Liste en attente (overview) */
.mg-pending { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.mg-pending-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid var(--esp-line);
  border-radius: 10px; padding: 9px 12px;
  background: rgba(var(--esp-ac-rgb), 0.04);
  font-size: 12.5px;
}
.mg-pending-item b { font-size: 13px; }

/* Etat annonce */
.mg-ann-state { display: inline-flex; }
.mg-ann-count { display: block; text-align: right; font-size: 11px; margin-top: 5px; }

/* Bouton details demande */
.mg-details-lbl { font-size: 11.5px; }
