/* Refonte « Le tampon » de l'administration (lot 8).
   Chargée après styles.css et premium.css : elle ne fait que remplacer.
   Palette de l'application : bleu nuit #0A1B33, bleu d'action #1A5EEB,
   menthe #22C99A (accents), vert lisible #0B7A5B. Tailles de texte relevées :
   rien sous 11 px. */
:root {
  --nav: #0A1B33; --nav-strong: #0A1B33; --text: #0A1B33; --muted: #55657D;
  --blue: #0A1B33; --cyan: #22C99A; --orange: #1A5EEB; --green: #0B7A5B; --red: #C8302F;
  --bg: #F4F7FB; --line: #E1E7F0;
  --admin-navy: #0A1B33; --admin-navy-soft: #13294A; --admin-teal: #22C99A; --admin-blue: #1A5EEB;
  --admin-coral: #22C99A; --admin-bg: #F4F7FB; --admin-line: #E1E7F0;
  --admin-shadow: 0 10px 30px rgba(10, 27, 51, .06);
}
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: var(--admin-bg); color: var(--text); }

/* Connexion */
.login-showcase, .login-card button, .sidebar, .welcome-panel { background: #0A1B33; }
.login-kicker, .welcome-panel > div:first-child > span { color: #22C99A; font-size: 11px; }
.form-kicker, .forgot-link { color: #1A5EEB !important; font-size: 11px !important; }
.login-card label { font-size: 13px; color: #0A1B33; }
.login-card input:focus, .settings-form input:focus, .settings-form textarea:focus,
.admin-edit-form input:focus, .admin-edit-form textarea:focus, .admin-edit-form select:focus {
  border-color: #1A5EEB; box-shadow: 0 0 0 3px rgba(26, 94, 235, .15);
}
.login-card button { background: #1A5EEB; box-shadow: none; }
.preview-head i, .security-note > b { background: rgba(34, 201, 154, .18); color: #22C99A; }
.preview-chart b:nth-child(6), .preview-chart b:nth-child(7) { background: rgba(34, 201, 154, .55); }
.preview-chart b:nth-child(8) { background: #22C99A; }
.login-foot, .security-note small, .login-preview > small { font-size: 11px; }
.security-note strong { font-size: 13px; }

/* Menu */
.brand small { color: #8FA3BF; font-size: 11px; }
.nav-group { color: #8FA3BF; font-size: 11px; letter-spacing: .12em; }
.nav-btn { color: #C7D2E1; font-size: 14px; font-weight: 600; }
.nav-btn span:first-child { color: #22C99A; }
.nav-btn.active { background: rgba(255, 255, 255, .1); box-shadow: inset 3px 0 #22C99A; color: #fff; }

/* Barre du haut */
.search input, .search button, .account-btn { font-size: 13px; }
.notification-btn i { background: #C8302F; }
.account-btn span { background: #EAF1FF; color: #0A1B33; font-size: 12px; }

/* Contenu */
.page-head h1 { font-size: 28px; }
.page-head p, .quick-help, .status { font-size: 13px; }
.quick-help { border-left-color: #22C99A; background: #EAF1FF; color: #13294A; }
.welcome-panel p, .platform-state small { color: #C7D2E1; font-size: 12px; }
.platform-state b { font-size: 13px; }
.platform-state > i { background: #22C99A; box-shadow: 0 0 0 6px rgba(34, 201, 154, .15); }
.metric-top > span, .metric > span, .subscription-cockpit small, .command-bar small { font-size: 11px; }
.metric:after { background: rgba(34, 201, 154, .08); }
.metric-top i { background: #EAF1FF; color: #1A5EEB; }
.metric > strong, .subscription-cockpit strong { color: #0A1B33; }
.row h3 { font-size: 15px; }
.row p { font-size: 13px; color: #55657D; }
.badge { font-size: 11.5px; padding: 4px 9px; background: #EEF2F7; color: #13294A; }
.badge.ok { background: #E5FAF3; color: #0B7A5B; }
.badge.warn { background: #FFF4E0; color: #965A00; }
.badge.danger { background: #FDECEC; color: #C8302F; }
.actions button, .primary, .secondary { font-size: 12.5px; min-height: 36px; }
.primary { background: #1A5EEB; box-shadow: none; }
.primary:hover { background: #1453CC; }
.actions button:first-child { background: #EAF1FF; color: #1A5EEB; border-color: #EAF1FF; }
.danger { background: #FDECEC !important; border-color: #F7C9C9 !important; color: #C8302F !important; }
.admin-toolbar input, .admin-toolbar select, .settings-form input, .settings-form textarea,
.admin-edit-form input, .admin-edit-form textarea, .admin-edit-form select { font-size: 13px; }
.settings-form label { font-size: 12.5px; }
.subscription-cockpit .cockpit-alert { background: #FDECEC; }
.subscription-cockpit .cockpit-alert strong { color: #C8302F; }
.subscription-cockpit .cockpit-warn { background: #FFF4E0; }
.subscription-cockpit .cockpit-warn strong { color: #965A00; }
.subscription-cockpit span { font-size: 12px; color: #55657D; }
.detail-row { font-size: 13px; }
dialog::backdrop { background: rgba(10, 27, 51, .6); }

/* Vue d'ensemble : textes relevés, accents de la palette */
.command-bar small, .subscription-cockpit small { font-size: 11px; color: #55657D; }
.command-bar > div span { font-size: 12px; color: #55657D; }
.command-bar strong { color: #0A1B33; }
.command-bar > button { background: #0A1B33; font-size: 13px; }
.panel-heading span { color: #0B7A5B; font-size: 11px; }
.panel-heading > button { color: #1A5EEB; font-size: 12.5px; }
.health-row strong { font-size: 13px; }
.health-row span, .health-row small { font-size: 12px; color: #55657D; }
.health-track i { background: #0A1B33; }
.health-track i.trial { background: #1A5EEB; }
.health-track i.pending { background: #E39B1B; }
.health-track i.danger { background: #C8302F; }
.health-track i.cancelled { background: #8A97AB; }
.priority-item strong, .compact-list strong, .control-actions strong { font-size: 13px; }
.priority-item small, .compact-list small, .control-actions small { font-size: 11.5px; color: #55657D; }
.priority-item.danger > span { background: #FDECEC; color: #C8302F; }
.priority-item.warning > span { background: #FFF4E0; color: #965A00; }
.compact-list > button > span, .control-actions i { background: #EAF1FF; color: #1A5EEB; font-size: 12px; }
.compact-list i { font-size: 11px; background: #FFF4E0; color: #965A00; }
.compact-list i.verified { background: #E5FAF3; color: #0B7A5B; }

/* Historique des scans */
.scan-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.scan-toolbar #scanQuery { flex: 1 1 260px; }
.inline-date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #55657D; }
.inline-date input { height: 43px; border: 1px solid var(--admin-line); border-radius: 10px; background: #F4F7FB; padding: 0 10px; font: inherit; }
.scan-todo { margin-bottom: 14px; padding: 16px 20px; border-left: 3px solid #965A00; }
.scan-todo h3 { margin: 0 0 8px; font-size: 15px; }
.scan-todo ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; }
.scan-todo li { display: flex; gap: 8px; align-items: center; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 16px; font-size: 13px; }
.facts dt { color: #55657D; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.dialog-body h3 { margin: 14px 0 8px; font-size: 14px; }
.same-day { margin: 0; padding-left: 18px; font-size: 13px; display: grid; gap: 4px; }
@media (max-width: 900px) {
  .subscription-cockpit.scan-kpis { grid-template-columns: repeat(2, 1fr); }
}

/* Administration en mots simples (2026-10-29) */
.account-email { margin: 0; padding: 10px 14px 6px; font-size: 12.5px; color: #55657D; overflow-wrap: anywhere; }
.row:has(.test-user-select) { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.test-user-select { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; color: #55657D; cursor: pointer; }
.test-user-select input { width: 20px; height: 20px; accent-color: #C8302F; }
.test-cleanup-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; padding: 16px 20px; border-left: 3px solid #C8302F; }
.test-cleanup-bar strong { display: block; font-size: 15px; }
.test-cleanup-bar span { display: block; margin-top: 3px; font-size: 13px; color: #55657D; }
.delete-account-form .delete-target { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid #E1E7F0; }
.delete-account-form .delete-target strong { font-size: 16px; }
.delete-account-form .delete-target span { font-size: 13px; color: #55657D; }
.delete-effects { margin: 0 0 14px; padding: 12px 14px 12px 32px; border-radius: 10px; background: #FDECEC; color: #5C1A1A; font-size: 13.5px; line-height: 1.5; display: grid; gap: 4px; }
.delete-account-form label, #purgeTestUsersForm label { font-size: 13.5px; }
.delete-account-form code, #purgeTestUsersForm code { padding: 1px 6px; border-radius: 6px; background: #fff; border: 1px solid #E1E7F0; font-weight: 700; color: #C8302F; }
.form-intro { font-size: 13.5px; }
.delete-account-form label code, #purgeTestUsersForm label code { justify-self: start; }
.row-note { align-self: center; color: var(--muted, #6b7280); font-size: .82rem; }
