/* ======================================================================
   Crew Institut 2.40.62 — MODE JOUR FINAL, GLOBAL ET CHARGE EN DERNIER
   Cette couche ne modifie aucune logique métier. Elle neutralise les règles
   Premium/Responsive qui réinjectaient des surfaces nuit après les variantes
   claires des modules et impose une palette Jour cohérente sur tous les écrans.
   ====================================================================== */

/* Palette et hôte WordPress ------------------------------------------------ */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"]{
  --scp-day-bg:#f2f6f9;
  --scp-day-bg-2:#e8f0f5;
  --scp-day-surface:#ffffff;
  --scp-day-surface-soft:#f5f9fb;
  --scp-day-surface-blue:#edf6fb;
  --scp-day-text:#17384c;
  --scp-day-muted:#5a7281;
  --scp-day-line:rgba(38,83,108,.18);
  --scp-day-line-strong:rgba(24,108,154,.30);
  --scp-day-accent:#1479ad;
  --scp-day-accent-strong:#08679e;
  --scp-ui-button:#ffffff;
  --scp-ui-button-hover:#edf6fb;
  --scp-ui-button-border:rgba(24,108,154,.27);
  --scp-ui-panel:#ffffff;
  --scp-ui-panel-strong:#f5f9fb;
  --scp-ui-glow:0 0 0 1px rgba(20,121,173,.13),0 10px 24px rgba(37,82,115,.10);
  --scp-ui-active-glow:0 0 0 1px rgba(20,121,173,.30),0 8px 20px rgba(20,121,173,.16),inset 0 1px 0 rgba(255,255,255,.7);
  color:var(--scp-day-text)!important;
  color-scheme:light!important;
  background:
    radial-gradient(circle at 78% -12%,rgba(18,132,197,.075),transparent 34%),
    linear-gradient(135deg,#f8fbfd 0%,var(--scp-day-bg) 58%,#eaf2f6 100%)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-app,.scp-layout,.scp-main){background:transparent!important;color:var(--scp-day-text)!important}

/* Poste de commande / bandeau supérieur ----------------------------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-topbar{
  color:var(--scp-day-text)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.985),rgba(244,249,252,.985))!important;
  border-bottom:1px solid rgba(38,83,108,.16)!important;
  box-shadow:0 8px 24px rgba(34,72,96,.10)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-topbar :where(.scp-brand-copy strong,.scp-connection,.scp-account-identity strong){color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-topbar :where(.scp-brand-copy span,.scp-account-identity span){color:#617987!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-topbar :where(.scp-btn,.scp-icon-btn,.scp-account-trigger,.scp-launcher-return,.scp-theme-toggle,.scp-offline-btn){
  color:#174b63!important;
  background:#fff!important;
  border-color:rgba(38,83,108,.22)!important;
  box-shadow:0 5px 14px rgba(28,58,75,.07)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-topbar :where(.scp-btn,.scp-icon-btn,.scp-account-trigger,.scp-launcher-return,.scp-theme-toggle):hover{
  color:#0b5d88!important;background:#edf6fb!important;border-color:#4894b8!important;box-shadow:0 8px 18px rgba(28,80,108,.10)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-topbar :where(.scp-btn,.scp-icon-btn,.scp-account-trigger,.scp-launcher-return,.scp-theme-toggle) svg{color:currentColor!important;stroke:currentColor!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-topbar .scp-offline-btn.is-ready{color:#176b45!important;background:#eef9f3!important;border-color:#7bc7a1!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-topbar .scp-offline-btn.is-downloading{color:#76500f!important;background:#fff8e9!important;border-color:#e3bc68!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-topbar .scp-offline-btn.is-offline{color:#0b608c!important;background:#eaf7fd!important;border-color:#70bdda!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-topbar .scp-offline-btn.is-offline-incomplete{color:#80580e!important;background:#fff7e6!important;border-color:#ddb868!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-account-menu{
  color:var(--scp-day-text)!important;background:#fff!important;border-color:var(--scp-day-line)!important;box-shadow:0 18px 42px rgba(32,67,89,.18)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-account-identity{border-bottom-color:var(--scp-day-line)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-account-menu :where(strong,button){color:var(--scp-day-text)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-account-menu span{color:var(--scp-day-muted)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-account-action:hover{background:#eef6fa!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-account-action.is-danger{color:#9d2c38!important}

/* Accueil / poste de commande --------------------------------------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-launcher{
  color:var(--scp-day-text)!important;
  background:
    radial-gradient(circle at 82% -8%,rgba(18,132,197,.10),transparent 31%),
    linear-gradient(135deg,#f8fbfd,#eef4f8 58%,#e7f0f5)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-switch-wrap{
  --rivet:rgba(37,84,110,.15);
  border-color:rgba(38,83,108,.16)!important;
  background-image:
    radial-gradient(circle 2.6px at 18px 18px,var(--rivet),transparent 62%),
    radial-gradient(circle 2.6px at calc(100% - 18px) 18px,var(--rivet),transparent 62%),
    radial-gradient(circle 2.6px at 18px calc(100% - 18px),var(--rivet),transparent 62%),
    radial-gradient(circle 2.6px at calc(100% - 18px) calc(100% - 18px),var(--rivet),transparent 62%),
    repeating-linear-gradient(135deg,rgba(30,76,102,.012) 0,rgba(30,76,102,.012) 1px,transparent 1px,transparent 5px),
    linear-gradient(160deg,#ffffff,#f2f7fa 72%)!important;
  box-shadow:0 22px 52px rgba(30,68,92,.13),inset 0 1px 0 #fff!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-switch-head{border-bottom-color:rgba(38,83,108,.14)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-switch-head-title,.scp-switch-section-title,.scp-switch-label,.scp-switch-brand-copy strong,.scp-switch-identity-copy strong){color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-switch-welcome-copy,.scp-switch-sub,.scp-switch-brand-copy span,.scp-switch-identity-copy span){color:#5b7483!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-switch-section-eyebrow,.scp-switch-head-eyebrow){color:#1178aa!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-switch{
  border-color:rgba(38,83,108,.18)!important;
  background:linear-gradient(150deg,#ffffff,#edf4f8)!important;
  box-shadow:inset 0 1px 0 #fff,0 9px 22px rgba(31,69,93,.09)!important;
  color:#17384c!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-switch:hover{
  border-color:color-mix(in srgb,var(--led) 48%,rgba(38,83,108,.18))!important;
  background:linear-gradient(150deg,#fff,#e8f1f6)!important;
  box-shadow:0 12px 26px rgba(31,79,105,.12)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-switch.is-caution{background:linear-gradient(150deg,#fffdf7,#f7f0df)!important;border-color:rgba(169,117,26,.24)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-switch-icon,.scp-theme-icon,.scp-kpi-icon,.scp-reg-category-icon,.scp-learning-card-icon,.scp-adaptive-resource-icon){
  background:linear-gradient(145deg,#edf7fc,#e2f1f8)!important;border-color:rgba(20,121,173,.22)!important;color:#1479ad!important;box-shadow:inset 0 1px 0 #fff!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-switch-help,.scp-switch-section-help,.scp-switch-tool,.scp-switch-profile,.scp-switch-theme){
  color:#176184!important;background:#fff!important;border-color:rgba(38,83,108,.22)!important;box-shadow:0 5px 14px rgba(28,58,75,.07)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-switch-logout{background:#fff5f5!important;color:#9f3440!important;border-color:rgba(176,53,66,.25)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-switch-code{color:#487082!important;background:rgba(26,81,112,.05)!important;border-color:rgba(38,83,108,.14)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-switch-footer{border-top-color:rgba(38,83,108,.12)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-switch-footer-link{color:#587182!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-switch-footer-link:hover{color:#0b648f!important;background:#eef6fa!important;border-color:rgba(38,83,108,.14)!important}

/* Dashboard d'accueil ----------------------------------------------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-home-desktop-dashboard,.scp-home-dash-hero,.scp-home-dash-panel,.scp-home-dash-kpi,.scp-home-dash-focus,.scp-home-dash-split-item,.scp-home-dash-recent-item){
  background:linear-gradient(145deg,#fff,#f4f9fb)!important;border-color:rgba(38,83,108,.14)!important;box-shadow:0 10px 24px rgba(31,69,93,.07)!important;color:var(--scp-day-text)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-home-dash-hero-copy h2,.scp-home-dash-panel h3,.scp-home-dash-kpi strong,.scp-home-dash-focus-main,.scp-home-dash-recent-copy strong,.scp-home-dash-split-item span){color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-home-dash-hero-copy p,.scp-home-dash-focus-sub,.scp-home-dash-recent-copy span,.scp-home-dash-empty){color:#5d7686!important}

/* Surfaces communes ------------------------------------------------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-panel,.scp-question-panel,.scp-qcm-card,.scp-theme-card,.scp-reg-category-card,
  .scp-learning-card,.scp-adaptive-resource-card,.scp-progress-hub-card[role="button"],
  .scp-mission-card,.scp-collection-card,.scp-ref-card,.scp-ref-row,.scp-ref-match,
  .scp-history-row,.scp-crm-module-row,.scp-crm-scenario-card,.scp-crm-retex-card,
  .scp-r360-history-row,.scp-p7-history-row,.scp-p7-scenario-card,
  .scp-expert-entry-main,.scp-expert-entry-side,.scp-expert-cycle-card,.scp-expert-cockpit-card,
  .scp-expert-cert-card,.scp-expert-entry-strip-card,.scp-expert-progress-space,
  .scp-progress-hub-hero,.scp-progress-hub-panel-intro,.scp-progress-hub-summary-lead
){
  color:var(--scp-day-text)!important;
  background:linear-gradient(145deg,#ffffff,#f2f7fa)!important;
  border-color:rgba(38,83,108,.17)!important;
  box-shadow:0 9px 22px rgba(37,82,115,.075)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-theme-card,.scp-reg-category-card,.scp-learning-card,.scp-adaptive-resource-card,
  .scp-progress-hub-card[role="button"],.scp-mission-card,.scp-collection-card,.scp-ref-card,
  .scp-crm-scenario-card,.scp-p7-scenario-card
):hover{
  background:linear-gradient(145deg,#fff,#eaf4f9)!important;
  border-color:rgba(20,121,173,.42)!important;
  box-shadow:0 12px 28px rgba(37,82,115,.11)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-theme-card h3,.scp-qcm-card h3,.scp-reg-category-card h3,.scp-learning-card h3,.scp-section-head h2,.scp-page-title){color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-theme-card p,.scp-qcm-summary,.scp-page-sub,.scp-panel p){color:#5a7281!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-theme-score,.scp-count-badge){color:#1479ad!important}

/* Boutons, onglets et navigation internes -------------------------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-btn-secondary,.scp-btn-tertiary,.scp-nav-btn,.scp-reg-subtheme-tab,.scp-learning-subtheme-tab,
  .scp-game-tab,.scp-reg-ana-nav-btn,.scp-reg-ana-filter-chip,.scp-reg-progress-control,
  .scp-ref-nav-btn,.scp-premium-internal-tab,.scp-progress-hub-tab,.scp-admin-progress-tab,
  .scp-flash-practice-button,.scp-p7-mini-btn,.scp-ref-icon-btn,.scp-adaptive-confidence-button,
  .scp-history-filter,.scp-objective-action,.scp-knowledge-level-tab,.scp-page-help-pill
){
  color:#24495c!important;background:linear-gradient(145deg,#fff,#f3f8fb)!important;border-color:rgba(38,83,108,.20)!important;box-shadow:0 5px 14px rgba(28,58,75,.06)!important;text-shadow:none!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-btn-secondary,.scp-btn-tertiary,.scp-nav-btn,.scp-reg-subtheme-tab,.scp-learning-subtheme-tab,
  .scp-game-tab,.scp-reg-ana-nav-btn,.scp-reg-ana-filter-chip,.scp-reg-progress-control,
  .scp-ref-nav-btn,.scp-premium-internal-tab,.scp-progress-hub-tab,.scp-admin-progress-tab,
  .scp-flash-practice-button,.scp-p7-mini-btn,.scp-ref-icon-btn,.scp-adaptive-confidence-button,
  .scp-history-filter,.scp-objective-action,.scp-knowledge-level-tab,.scp-page-help-pill
):hover{color:#0b5f8b!important;background:#eaf4f9!important;border-color:#4d96b9!important;box-shadow:0 8px 18px rgba(28,80,108,.10)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-nav-btn.is-active,.scp-reg-subtheme-tab.is-active,.scp-learning-subtheme-tab.is-active,
  .scp-game-tab.is-active,.scp-reg-ana-nav-btn.is-active,.scp-reg-ana-filter-chip.is-active,
  .scp-reg-progress-control.is-active,.scp-premium-internal-tab.is-active,.scp-progress-hub-tab.is-active,
  .scp-admin-progress-tab.is-active,.scp-knowledge-level-tab.is-active,[aria-selected="true"].scp-progress-hub-tab
){color:#fff!important;background:linear-gradient(145deg,#168bc8,#0b679e)!important;border-color:#49a6d0!important;box-shadow:0 8px 20px rgba(20,121,173,.18)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-progress-hub-nav,.scp-premium-internal-nav,.scp-admin-progress-nav,.scp-knowledge-level-nav){
  background:linear-gradient(145deg,#f8fbfd,#edf4f8)!important;border-color:rgba(38,83,108,.16)!important;box-shadow:0 10px 26px rgba(30,68,92,.08)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-page-help-pill svg{color:#1479ad!important}

/* QCM : cartes, réponses, états ------------------------------------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-option{
  color:#203f50!important;background:#fff!important;border-color:rgba(38,83,108,.20)!important;box-shadow:inset 0 1px 0 #fff!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-option:hover{color:#17384c!important;background:#edf6fb!important;border-color:#56a0c1!important;box-shadow:0 7px 16px rgba(32,84,111,.08)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-option.is-selected{color:#0c5277!important;background:#e2f2fa!important;border-color:#2791bf!important;box-shadow:0 0 0 2px rgba(39,145,191,.10)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-option.is-selected :where(.scp-option-text,.scp-option-letter){color:#0c5277!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-option.is-correct{background:#edf9f3!important;border-color:#56b888!important;color:#176445!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-option.is-wrong{background:#fff0f1!important;border-color:#db8f96!important;color:#8c2e38!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-question,.scp-option-text,.scp-score-copy h2,.scp-review-card h3,.scp-mistake h3){color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-reg-quiz-navigation,.scp-quiz-meta){background:#f4f9fb!important;border-color:var(--scp-day-line)!important;color:#31566a!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-reg-quiz-timer-track,.scp-progress-segments span,.scp-mini-progress,.scp-gauge-track){background:#dce9ef!important}

/* Fiches Flash / lecteur -------------------------------------------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-flash-hero{
  color:#17384c!important;
  background:radial-gradient(circle at 90% 10%,rgba(234,163,73,.14),transparent 30%),linear-gradient(125deg,#fff9f6,#f2f8fb 55%,#eaf3f7)!important;
  border-color:rgba(176,101,78,.18)!important;box-shadow:0 16px 38px rgba(45,75,94,.09)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-flash-hero :where(h2,.scp-flash-stat strong){color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-flash-hero :where(p,.scp-flash-stat small){color:#5b7483!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-flash-card,.scp-flash-frame-wrap,.scp-flash-reader-canvas,.scp-flash-reader-toolbar,.scp-flash-reader-section){background:#fff!important;border-color:var(--scp-day-line)!important;color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-flash-reader-close{background:#fff!important;color:#17384c!important;border-color:var(--scp-day-line)!important}

/* Apprentissage / fiches nationales / référentiels ----------------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-apprentissage-home-card,.scp-learning-intro,.scp-learning-memo-hero,.scp-learning-metric,
  .scp-learning-sources,.scp-learning-synthesis,.scp-learning-synthesis-axis,
  .scp-national-home-card,.scp-national-card-body,.scp-national-metric,.scp-national-search,.scp-national-sources,
  .scp-ref-reader-page
){background:linear-gradient(145deg,#fff,#f4f9fb)!important;border-color:var(--scp-day-line)!important;color:#17384c!important;box-shadow:0 9px 22px rgba(37,82,115,.07)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-learning-intro h2,.scp-learning-memo-hero h2,.scp-national-home-card h2,.scp-national-hero-copy h2){color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-learning-intro p,.scp-learning-memo-hero p,.scp-national-hero-copy p){color:#5a7281!important}

/* Progression : toutes les vues ------------------------------------------ */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-level-space,.scp-level-today,.scp-subdomain-domain,.scp-subdomain-domain-summary,.scp-qcm-category,.scp-qcm-category-summary,
  .scp-analysis-panel,.scp-analysis-snapshot,.scp-analysis-snapshot-card,.scp-analysis-list-row,.scp-analysis-signals,.scp-analysis-cause,
  .scp-history-premium,.scp-history-summary-item,.scp-domain-premium,.scp-domain-premium-core,.scp-domain-premium-detail-body,
  .scp-domain-premium-metric,.scp-objectives-next,.scp-objectives-next-action,.scp-evolution-card,.scp-errors-domain,.scp-errors-subdomain,
  .scp-error-question-card,.scp-error-answer,.scp-admin-progression-hero
){background:linear-gradient(145deg,#fff,#f4f9fb)!important;border-color:var(--scp-day-line)!important;color:#17384c!important;box-shadow:0 9px 22px rgba(37,82,115,.065)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-analysis-cause,.scp-objective-reasons span,.scp-evolution-domain-legend span,.scp-history-total){background:#edf3f6!important;color:#31566a!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-level-progress-track,.scp-admin-bar-track){background:#dce9ef!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-error-answer.is-chosen{background:#fff0f1!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-error-answer.is-correct{background:#edf9f3!important}

/* Réglementarité / analytics / parcours adaptatif ------------------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-reg-ana-nav,.scp-reg-ana-panel,.scp-reg-ana-controls,.scp-reg-ana-method,.scp-reg-ana-chart,.scp-reg-ana-index,
  .scp-reg-progress-controls,.scp-reg-progress-card,.scp-reg-progress-details,
  .scp-adaptive-entry,.scp-adaptive-hero,.scp-adaptive-plan,.scp-adaptive-summary,.scp-adaptive-kpi,.scp-adaptive-priority-row,
  .scp-adaptive-question-wrap,.scp-adaptive-case,.scp-adaptive-resource-card,.scp-adaptive-summary-item,.scp-adaptive-contract,
  .scp-adaptive-correction,.scp-adaptive-tutor,.scp-adaptive-remediation,.scp-adaptive-notebook-card,.scp-adaptive-bilan-card
){background:linear-gradient(145deg,#fff,#f5f9fb)!important;border-color:var(--scp-day-line)!important;color:#17384c!important;box-shadow:0 9px 22px rgba(37,82,115,.06)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-adaptive-progress,.scp-adaptive-goal-track,.scp-crm-axis-bar,.scp-crm-session-progress){background:#dce9ef!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-reg-subtheme-count{background:#edf6fb!important;color:#17688f!important;border-color:rgba(20,121,173,.17)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-reg-ana-chart{background:linear-gradient(180deg,#fff,#f6fafc)!important}

/* CRM / Facteur humain ---------------------------------------------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-crm-hero,.scp-crm-session,.scp-crm-debrief,.scp-crm-results,.scp-crm-block,.scp-crm-profile,.scp-crm-lesson,
  .scp-crm-scenario-library,.scp-crm-sources,.scp-crm-retex-detail,.scp-crm-featured-retex,.scp-crm-method,.scp-crm-notice,
  .scp-crm-retex-facts,.scp-crm-sync
){background:linear-gradient(145deg,#fff,#f3fafb)!important;border-color:#d5e7ed!important;color:#17384c!important;box-shadow:0 10px 24px rgba(24,74,92,.07)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-crm-module-row,.scp-crm-axis,.scp-crm-option,.scp-crm-tem-item,.scp-crm-result-item,.scp-crm-retex-card,.scp-crm-source-link){background:#fff!important;border-color:#d7e7ed!important;color:#24495b!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-crm-hero h1,.scp-crm-session h1,.scp-crm-debrief h1,.scp-crm-results h1,.scp-crm-block h3,.scp-crm-retex-card h2){color:#17384c!important}

/* Rotation 360 ------------------------------------------------------------ */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-r360-hero,.scp-r360-mission-bar,.scp-r360-metric,.scp-r360-event,.scp-r360-choice,.scp-r360-resume,
  .scp-r360-how-card,.scp-r360-history-row,.scp-r360-consequence,.scp-r360-debrief-summary,.scp-r360-debrief-item,.scp-r360-adaptive-impact
){background:linear-gradient(145deg,#fff,#f3f8fb)!important;border-color:var(--scp-day-line)!important;color:#17384c!important;box-shadow:0 9px 22px rgba(37,82,115,.06)!important}

/* Espace simulation : le mode Jour devient réellement clair --------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-p7-live{
  color-scheme:light!important;color:#17384c!important;
  background:radial-gradient(circle at 50% 18%,rgba(223,80,88,.045),transparent 40%),linear-gradient(135deg,#f7fafc,#edf4f8 60%,#e9f1f5)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-p7-live::before{background:linear-gradient(90deg,rgba(223,80,88,.025),transparent 22%,transparent 78%,rgba(223,80,88,.025))!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-p7-hud,.scp-p7-event-panel,.scp-p7-feed-panel,.scp-p7-ready,.scp-p7-synthesis,.scp-p7-synoptic-wrap,.scp-p7-blackbox,.scp-p7-bb-detail,.scp-p7-debrief-score,.scp-p7-insight,.scp-p7-timeline-item){background:linear-gradient(145deg,#fff,#f4f9fb)!important;border-color:var(--scp-day-line)!important;color:#17384c!important;box-shadow:0 9px 22px rgba(37,82,115,.07)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-p7-hud{border-bottom-color:rgba(174,65,72,.16)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-p7-hud-brand strong,.scp-p7-hud-clock strong,.scp-p7-event-panel h2,.scp-p7-ready h1,.scp-p7-synthesis-head h2,.scp-p7-blackbox-head h2,.scp-p7-bb-copy h3,.scp-p7-replay-plan h3){color:#17384c!important;text-shadow:none!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-p7-event-body,.scp-p7-option,.scp-p7-timeline-prompt,.scp-p7-debrief-choice span,.scp-p7-debrief-outcome span,.scp-p7-debrief-rationale span,.scp-p7-live-consequence p,.scp-p7-synthesis>p){color:#4e6879!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-p7-option{background:#fff!important;border-color:var(--scp-day-line)!important;color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-p7-option:hover{background:#edf6fb!important;border-color:#56a0c1!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-p7-pressure-track,.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-p7-dimension-track{background:#dce9ef!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-p7-feed-item{background:#f6fafc!important;border-color:var(--scp-day-line)!important;color:#31566a!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-p7-mini-btn{background:#fff!important;color:#31566a!important;border-color:var(--scp-day-line)!important}

/* Expert : entrée, progression et session immersive ----------------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-expert-entry-main,.scp-expert-entry-side,.scp-expert-entry-strip-card,.scp-expert-cycle-card,.scp-expert-cockpit-card,
  .scp-expert-cert-card,.scp-expert-progress-space,.scp-expert-random-hero,.scp-expert-entry-step,.scp-expert-entry-stat,
  .scp-expert-progress-kpi,.scp-expert-deadline,.scp-expert-drain,.scp-expert-progress-deadline,.scp-expert-progress-jauge,
  .scp-expert-strike,.scp-expert-entry-hero
){background:linear-gradient(145deg,#fff,#f2f8fb)!important;border-color:var(--scp-day-line)!important;color:#17384c!important;box-shadow:0 10px 24px rgba(37,82,115,.07)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-expert-entry-step h3,.scp-expert-entry-stat strong,.scp-expert-entry-strip-card strong,.scp-expert-cycle-head h2,.scp-expert-progress-deadline strong,.scp-expert-drain-head strong,.scp-expert-cert-card h3,.scp-expert-cockpit-card strong,.scp-expert-progress-jauge-head strong,.scp-expert-progress-kpi strong){color:#17384c!important;text-shadow:none!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-expert-drain-track,.scp-expert-progress-jauge-track,.scp-root.scp-expert-immersive-session .scp-reg-quiz-timer-track){background:#dce9ef!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"].scp-expert-immersive-session{
  color-scheme:light!important;background:linear-gradient(135deg,#f7fafc,#edf4f8 60%,#e8f1f5)!important;color:#17384c!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"].scp-expert-immersive-session :where(.scp-question-panel,.scp-expert-strike,.scp-quiz-meta){background:linear-gradient(145deg,#fff,#f4f9fb)!important;border-color:var(--scp-day-line)!important;color:#17384c!important;box-shadow:0 9px 22px rgba(37,82,115,.07)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"].scp-expert-immersive-session :where(.scp-reg-quiz-timer-copy strong,.scp-expert-strike:not(.is-danger) strong,.scp-question){color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"].scp-expert-immersive-session .scp-option{background:#fff!important;color:#17384c!important;border-color:var(--scp-day-line)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"].scp-expert-immersive-session .scp-option:hover{background:#edf6fb!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"].scp-expert-immersive-session .scp-option.is-selected{background:#e2f2fa!important;color:#0c5277!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"].scp-expert-immersive-session .scp-option-text{color:inherit!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"].scp-expert-immersive-session .scp-progress-segments span{background:#dce9ef!important}

/* Veille réglementaire ---------------------------------------------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-regwatch-hero,.scp-regwatch-table-wrap,.scp-regwatch-search,.scp-regwatch-select,.scp-regwatch-unread,.scp-regwatch-source-card,.scp-regwatch-method,.scp-regwatch-sources){background:linear-gradient(145deg,#fff,#f4f9fb)!important;border-color:var(--scp-day-line)!important;color:#17384c!important;box-shadow:0 9px 22px rgba(37,82,115,.06)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-regwatch-ack{background:#fff!important;color:#294b5f!important;border-color:#b5c9d4!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-regwatch-ack:hover{background:#edf6fb!important;color:#0b648f!important;border-color:#5ba1bf!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-regwatch-ack.is-read{background:#edf9f3!important;color:#176445!important;border-color:#78bd98!important}

/* Authentification / inscription ----------------------------------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-auth-gate{
  color-scheme:light!important;background:linear-gradient(180deg,rgba(244,249,252,.94),rgba(232,241,246,.98))!important;backdrop-filter:blur(9px)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-auth-card{
  color:#17384c!important;background:linear-gradient(155deg,#fff,#f2f8fb)!important;border-color:rgba(38,83,108,.18)!important;box-shadow:0 24px 64px rgba(31,69,93,.17)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-auth-card :where(h1,.scp-auth-brand strong,.scp-auth-field>span,.scp-auth-email,.scp-auth-rgpd strong){color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-auth-intro,.scp-auth-note,.scp-auth-loading,.scp-auth-rgpd>span>span){color:#5a7281!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-auth-tabs{background:#edf4f8!important;border-color:var(--scp-day-line)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-auth-tab{color:#516d7c!important;background:transparent!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-auth-tab.is-active{color:#0c5d88!important;background:#fff!important;box-shadow:0 3px 10px rgba(35,78,103,.08)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-auth-field input{background:#fff!important;color:#17384c!important;border-color:rgba(38,83,108,.22)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-auth-field input::placeholder{color:#7a909c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-auth-email{background:#f5f9fb!important;border-color:var(--scp-day-line)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-auth-note{background:#edf6fb!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-auth-status{background:#edf9f3!important;color:#176445!important;border-color:#9bd0b6!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-auth-status.is-error{background:#fff0f1!important;color:#8c2e38!important;border-color:#e2a2a8!important}

/* Administration : vraie variante Jour ----------------------------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-overlay{background:rgba(38,63,79,.20)!important;backdrop-filter:blur(7px)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-panel{
  color:#17384c!important;background:#f7fafc!important;border-color:rgba(38,83,108,.17)!important;box-shadow:0 26px 72px rgba(31,69,93,.20)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-head{background:rgba(255,255,255,.97)!important;border-bottom-color:var(--scp-day-line)!important;box-shadow:0 7px 18px rgba(31,69,93,.055)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-head h2{color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-head p{color:#5b7483!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-head span{color:#1479ad!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-admin-summary,.scp-admin-user,.scp-admin-result-head,.scp-admin-result-row,.scp-admin-dashboard-hero,.scp-admin-dashboard-fresh,
  .scp-admin-kpi,.scp-admin-data-panel,.scp-admin-scope-grid article,.scp-admin-top-users article,.scp-admin-ranked-list article,
  .scp-admin-env-grid>div,.scp-admin-usage-users article,.scp-admin-space,.scp-admin-space-head,.scp-admin-space-nav,
  .scp-admin-user-detail-modal,.scp-admin-user-detail-head,.scp-admin-user-detail-hero,.scp-admin-user-detail-item
){background:linear-gradient(145deg,#fff,#f3f8fb)!important;border-color:var(--scp-day-line)!important;color:#17384c!important;box-shadow:0 8px 20px rgba(37,82,115,.055)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-admin-dashboard-hero h2,.scp-admin-kpi>strong,.scp-admin-section-head h3,.scp-admin-top-users article strong,.scp-admin-ranked-list article strong,.scp-admin-activity-feed strong,.scp-admin-bar-copy strong,.scp-admin-result-head h3,.scp-admin-result-row strong,.scp-admin-summary strong,.scp-admin-user-copy strong,.scp-admin-user-detail-identity h2){color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-admin-dashboard-hero p,.scp-admin-kpi>span,.scp-admin-kpi>small,.scp-admin-section-head p,.scp-admin-top-users article span,.scp-admin-ranked-list article span,.scp-admin-activity-feed span,.scp-admin-activity-feed small,.scp-admin-bar-copy span,.scp-admin-result-head p,.scp-admin-result-row span,.scp-admin-summary span,.scp-admin-user-copy span,.scp-admin-user-detail-identity p){color:#617987!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-kpi.is-cyan{background:linear-gradient(150deg,#edf8fc,#fff)!important;border-color:rgba(49,142,180,.20)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-month>div{background:linear-gradient(180deg,rgba(20,121,173,.035),transparent)!important;border-bottom-color:var(--scp-day-line)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-month>strong{color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-month>span{color:#617987!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-mini-action{background:#fff!important;color:#176184!important;border-color:var(--scp-day-line)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-mini-action:hover{background:#edf6fb!important;border-color:#5ba1bf!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-user-detail-backdrop,.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-space-overlay{background:rgba(38,63,79,.20)!important;backdrop-filter:blur(7px)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-user-detail-head{position:sticky!important;background:rgba(255,255,255,.97)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-simulation-detail span{background:#f2f7fa!important;color:#5b7483!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-simulation-detail b{color:#17384c!important}

/* Modales / Comprendre / Version / installation --------------------------- */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-modal-backdrop,.scp-help-backdrop,.scp-launcher-help-backdrop,.scp-version-backdrop,.scp-install-backdrop){background:rgba(38,63,79,.24)!important;backdrop-filter:blur(7px)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-modal,.scp-help-modal,.scp-launcher-help-modal,.scp-version-modal,.scp-install-modal){
  color-scheme:light!important;color:#17384c!important;background:linear-gradient(155deg,#fff,#f4f9fb)!important;border-color:rgba(38,83,108,.18)!important;box-shadow:0 28px 72px rgba(31,69,93,.22)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-modal h2,.scp-help-modal h2,.scp-version-heading h2,.scp-install-heading h2){color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-modal p,.scp-help-modal p,.scp-launcher-help-modal p,.scp-install-modal p){color:#5a7281!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-help-icon,.scp-launcher-help-icon,.scp-install-icon){background:#edf6fb!important;border-color:rgba(20,121,173,.20)!important;color:#1479ad!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-modal .scp-btn-secondary{color:#24495c!important;background:#fff!important;border-color:rgba(38,83,108,.22)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-launcher-help-mission,.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-launcher-help-note,.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-launcher-help-content{background:#f5f9fb!important;border-color:var(--scp-day-line)!important;color:#31566a!important}

/* Divers : messages, doublons, barres et éléments historiquement forcés nuit */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-duplicate-notice,.scp-reg-integrity-notice,.scp-global-score,.scp-page-head-actions){background:#f5f9fb!important;border-color:var(--scp-day-line)!important;color:#31566a!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-adaptive-resource-icon,.scp-learning-card-icon,.scp-kpi-icon,.scp-reg-category-icon){background:#edf6fb!important;color:#1479ad!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-inline-explanation-trigger{background:#fff!important;color:#176184!important;border-color:var(--scp-day-line)!important}

/* Conserver les états sémantiques sans réintroduire de grandes surfaces nuit. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-btn-primary{color:#fff!important;background:linear-gradient(145deg,#1488c6,#0a689f)!important;border-color:#4aa7d0!important;box-shadow:0 8px 18px rgba(20,121,173,.16)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-btn-danger{color:#8b2028!important;background:#fff1f2!important;border-color:#d98c92!important;box-shadow:none!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.is-success,.is-approved,.is-corrected){--scp-state-bg:#edf9f3}

/* L'introduction vidéo reste un écran de marque indépendant du thème UI. */

/* Couverture finale des composants génériques encore historiquement nuit. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-hero{
  background:linear-gradient(125deg,#ffffff,#edf6fb)!important;
  border-color:var(--scp-day-line)!important;
  color:#17384c!important;
  box-shadow:0 12px 28px rgba(37,82,115,.08)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-hero :where(h1,h2,h3,strong){color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-hero p{color:#5a7281!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-kpi{
  background:linear-gradient(145deg,#fff,#f4f9fb)!important;
  border-color:var(--scp-day-line)!important;
  color:#17384c!important;
  box-shadow:0 8px 20px rgba(37,82,115,.06)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-kpi-value{color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-kpi-label{color:#5a7281!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-space-tab{
  background:#fff!important;color:#31566a!important;border-color:var(--scp-day-line)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-space-tab.is-active{background:linear-gradient(145deg,#168bc8,#0b679e)!important;color:#fff!important;border-color:#49a6d0!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-immersive-pill{background:#edf6fb!important;color:#176184!important;border-color:rgba(20,121,173,.20)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-top-actions{background:transparent!important}

/* Logos Crew Institut : le logo source est blanc et doit rester lisible sur les surfaces Jour. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-brand-mark img,
  .scp-switch-identity > .scp-switch-logo,
  .scp-auth-logo:not(.scp-auth-partner-logo),
  .scp-admin-logos > img:first-child
){
  filter:brightness(0) saturate(100%)!important;
  opacity:.84!important;
}
/* Les logos partenaires et créateur conservent leurs couleurs originales. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-top-partner-logo img,
  .scp-switch-logo-unpnc,
  .scp-auth-partner-logo,
  .scp-admin-logos > img:nth-child(2),
  .scp-switch-cyber-logo
){filter:none!important;opacity:1!important}

/* 2.40.62 — seconde passe d'exhaustivité : composants historiques restés nuit. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-contextbar,
  .scp-game-home-card,.scp-game-home-stats,.scp-game-tabs,
  .scp-help-block,.scp-info-guide-hero,
  .scp-install-device,.scp-install-note,
  .scp-national-filter,.scp-national-coverage,
  .scp-p7-hero,.scp-p7-feature,.scp-p7-gauge,.scp-p7-ring,.scp-p7-disclaimer,
  .scp-practitioner-overview,.scp-practitioner-performance,
  .scp-review-details,
  .scp-reward-origin-flow li,.scp-reward-origin-note,
  .scp-sidebar,.scp-sidebar-note,
  .scp-reg-ana-hero,.scp-reg-ana-home-hero,.scp-reg-ana-control,.scp-reg-ana-index-core,
  .scp-reg-ana-signal,.scp-reg-ana-strength,.scp-reg-ana-subtheme-card,.scp-reg-ana-table-wrap,
  .scp-reg-dash-hero,.scp-reg-dash-kpi,.scp-reg-dash-panel,.scp-reg-dash-table-wrap,
  .scp-reg-metric,.scp-reg-progress-intro,.scp-reg-progress-kpis .scp-reg-ana-kpi,
  .scp-reg-subtheme-content,.scp-reg-toc-qcm,.scp-reg-topics,
  .scp-reglementarite-home-card,.scp-reglementarite-status
){
  background:linear-gradient(145deg,#ffffff,#f3f8fb)!important;
  border-color:var(--scp-day-line)!important;
  color:#17384c!important;
  box-shadow:0 8px 22px rgba(37,82,115,.065)!important;
  text-shadow:none!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-game-home-card,.scp-game-home-stats,.scp-help-block,.scp-info-guide-hero,
  .scp-install-device,.scp-install-note,.scp-national-filter,.scp-national-coverage,
  .scp-p7-hero,.scp-p7-feature,.scp-p7-gauge,.scp-p7-ring,.scp-p7-disclaimer,
  .scp-practitioner-overview,.scp-practitioner-performance,.scp-review-details,
  .scp-reward-origin-flow li,.scp-reward-origin-note,.scp-sidebar,.scp-sidebar-note,
  .scp-reg-ana-hero,.scp-reg-ana-home-hero,.scp-reg-ana-control,.scp-reg-ana-index-core,
  .scp-reg-ana-signal,.scp-reg-ana-strength,.scp-reg-ana-subtheme-card,
  .scp-reg-dash-hero,.scp-reg-dash-kpi,.scp-reg-dash-panel,.scp-reg-metric,
  .scp-reg-progress-intro,.scp-reg-progress-kpis .scp-reg-ana-kpi,.scp-reg-subtheme-content,
  .scp-reg-toc-qcm,.scp-reg-topics,.scp-reglementarite-home-card,.scp-reglementarite-status
) :where(h1,h2,h3,h4,strong,b,summary){color:#17384c!important;text-shadow:none!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-game-home-card,.scp-game-home-stats,.scp-help-block,.scp-info-guide-hero,
  .scp-install-device,.scp-install-note,.scp-national-filter,.scp-national-coverage,
  .scp-p7-hero,.scp-p7-feature,.scp-p7-gauge,.scp-p7-ring,.scp-p7-disclaimer,
  .scp-practitioner-overview,.scp-practitioner-performance,.scp-review-details,
  .scp-reward-origin-flow li,.scp-reward-origin-note,.scp-sidebar,.scp-sidebar-note,
  .scp-reg-ana-hero,.scp-reg-ana-home-hero,.scp-reg-ana-control,.scp-reg-ana-index-core,
  .scp-reg-ana-signal,.scp-reg-ana-strength,.scp-reg-ana-subtheme-card,
  .scp-reg-dash-hero,.scp-reg-dash-kpi,.scp-reg-dash-panel,.scp-reg-metric,
  .scp-reg-progress-intro,.scp-reg-progress-kpis .scp-reg-ana-kpi,.scp-reg-subtheme-content,
  .scp-reg-toc-qcm,.scp-reg-topics,.scp-reglementarite-home-card,.scp-reglementarite-status
) :where(p,small,span:not(.scp-badge):not(.scp-status),em){color:#5f7887!important;text-shadow:none!important}

/* Aides, contrôles compacts, référentiel et mobile. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-card-help-btn,.scp-mobile-launcher-return,.scp-ref-favorite,.scp-ref-reader-back,
  .scp-ref-reader-close,.scp-ref-reader-expand,.scp-ref-reader-fav,.scp-ref-resume,.scp-ref-view-toggle,
  .scp-switch-install,.scp-switch-offline-btn
){
  background:#fff!important;color:#176184!important;border-color:rgba(38,83,108,.20)!important;
  box-shadow:0 5px 14px rgba(28,58,75,.06)!important;text-shadow:none!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-card-help-btn,.scp-mobile-launcher-return,.scp-ref-favorite,.scp-ref-reader-back,
  .scp-ref-reader-close,.scp-ref-reader-expand,.scp-ref-reader-fav,.scp-ref-resume,.scp-ref-view-toggle,
  .scp-switch-install,.scp-switch-offline-btn
):hover{background:#eaf4f9!important;color:#0b5f8b!important;border-color:#4d96b9!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-mobile-nav{
  background:rgba(255,255,255,.97)!important;border-color:var(--scp-day-line)!important;
  box-shadow:0 -8px 24px rgba(31,69,93,.10)!important;backdrop-filter:blur(14px)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-mobile-nav :where(button,a){color:#476576!important;background:transparent!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-mobile-nav :where(button,a).is-active{color:#0b689b!important;background:#eaf5fb!important}

/* PULSE / CRM : jauges et anneaux ne doivent plus garder un noyau bleu nuit. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-crm-score-ring{
  background:radial-gradient(circle at center,#fff 0 57%,transparent 58%),conic-gradient(#31a988 calc(var(--score)*1%),#dce9ef 0)!important;
  box-shadow:0 0 0 1px rgba(49,169,136,.18),0 10px 24px rgba(37,82,115,.08)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-p7-ring{
  background:radial-gradient(circle at center,#fff 0 57%,transparent 58%),conic-gradient(#1787bf calc(var(--score,0)*1%),#dce9ef 0)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-p7-feature-icon,.scp-p7-live-badge){background:#edf6fb!important;color:#1479ad!important;border-color:rgba(20,121,173,.20)!important}

/* Réglementarité : tableaux, sommaires, métriques et sujets. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-reg-ana-table,.scp-reg-dash-table){background:#fff!important;color:#27495b!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-reg-ana-table th,.scp-reg-dash-table th){background:#edf5f9!important;color:#24495c!important;border-color:var(--scp-day-line)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-reg-ana-table td,.scp-reg-dash-table td){background:#fff!important;color:#405f70!important;border-color:var(--scp-day-line)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-reg-topic-list span,.scp-reg-coverage span){background:#edf6fb!important;color:#17688f!important;border-color:rgba(20,121,173,.18)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-reg-quiz-timer{background:rgba(255,255,255,.97)!important;color:#17384c!important;border-color:var(--scp-day-line)!important;box-shadow:0 8px 22px rgba(31,69,93,.09)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-reg-quiz-timer :where(strong,span){color:#31566a!important}

/* Installation PWA : garder le pied de fenêtre clair même en sticky. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-install-actions{
  background:linear-gradient(180deg,rgba(247,250,252,.92),#fff 34%)!important;
  border-top-color:var(--scp-day-line)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-install-device.is-current{background:#edf7fb!important;border-color:#65a9c7!important;box-shadow:0 7px 18px rgba(37,82,115,.07)!important}

/* Contexte et informations d'aide. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-contextbar{background:rgba(255,255,255,.97)!important;border-bottom-color:var(--scp-day-line)!important;box-shadow:0 7px 18px rgba(31,69,93,.06)!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-contextbar :where(strong,h2,h3){color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-contextbar :where(span,p){color:#617987!important}

/* Les statuts restent sémantiques, mais sans fond sombre. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-adaptive-status,.scp-analysis-trend,.scp-error-status,.scp-history-result-badge){border-color:rgba(38,83,108,.14)!important;box-shadow:none!important}

/* Derniers sous-composants explicitement harmonisés. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-r360-format,.scp-launcher-help-detail,.scp-launcher-help-operation,.scp-launcher-help-professional,.scp-regwatch-stat){
  background:linear-gradient(145deg,#fff,#f3f8fb)!important;
  border-color:var(--scp-day-line)!important;
  color:#17384c!important;
  box-shadow:0 7px 18px rgba(37,82,115,.055)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-r360-format.is-selected{background:#e6f4fb!important;color:#0b638f!important;border-color:#55a1c3!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-r360-start-button{background:linear-gradient(145deg,#1488c6,#0a689f)!important;color:#fff!important;border-color:#4aa7d0!important}

/* Notifications système : en Jour elles restent lisibles sans bloc bleu nuit. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-toast{
  background:#ffffff!important;color:#24495c!important;border-color:#67a9c7!important;
  box-shadow:0 14px 32px rgba(31,69,93,.16)!important;
}

/* Profil utilisateur. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-profile-panel,.scp-profile-item){
  background:linear-gradient(145deg,#fff,#f4f9fb)!important;
  border-color:var(--scp-day-line)!important;
  color:#17384c!important;
  box-shadow:0 7px 18px rgba(37,82,115,.055)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-profile-item strong{color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-profile-item span{color:#617987!important}

/* Couverture explicite des éléments qui avaient déjà un thème clair ancien mais
   pouvaient être réécrasés par Premium/Responsive dans la cascade 2.40.61. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-international-quiz-head,.scp-reg-toc){
  background:linear-gradient(145deg,#fff,#f4f9fb)!important;
  border-color:var(--scp-day-line)!important;
  color:#17384c!important;
  box-shadow:0 8px 22px rgba(37,82,115,.065)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-adaptive-select{
  background:#fff!important;color:#17384c!important;border-color:rgba(38,83,108,.22)!important;
  box-shadow:inset 0 1px 0 #fff!important;
}

/* Troisième passe : contrôles/module internes dont la variante Jour historique
   était chargée avant Premium/Responsive et pouvait donc être neutralisée. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-adaptive-option,.scp-crm-stat,
  .scp-question-ref,
  .scp-ref-notes,.scp-ref-page-input,.scp-ref-scope,.scp-ref-select,
  .scp-reg-ana-home-score,.scp-reg-dash-ring-core,.scp-reg-progress-current,
  .scp-reg-subtheme-heading,.scp-regwatch-table
){
  background:#fff!important;
  color:#17384c!important;
  border-color:var(--scp-day-line)!important;
  box-shadow:0 6px 18px rgba(37,82,115,.055)!important;
  text-shadow:none!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-reg-subtheme-heading{
  background:radial-gradient(circle at 12% 4%,color-mix(in srgb,var(--subtheme-color) 12%,transparent),transparent 31%),linear-gradient(122deg,#fff,#edf6fb)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-reg-dash-ring-core{
  background:#fff!important;border-color:rgba(38,83,108,.18)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-ref-select,.scp-ref-page-input,.scp-ref-notes){background:#fff!important;color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-ref-scope{background:#f5f9fb!important;color:#456677!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-adaptive-option:hover{background:#edf6fb!important;border-color:#5aa1c0!important}

/* Actions principales : conserver un accent bleu premium, jamais un bloc nuit. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-btn-primary,.scp-btn-game,.scp-btn-reglementarite,.scp-btn-apprentissage,.scp-btn-national,
  .scp-p7-launch,.scp-auth-submit
){
  background:linear-gradient(145deg,#1488c6,#0a689f)!important;
  color:#fff!important;
  border-color:#4aa7d0!important;
  box-shadow:0 8px 18px rgba(20,121,173,.16)!important;
  text-shadow:none!important;
}

/* Expert : boutons de mémorisation clairs hors état actif. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-memory-options button:not(.is-active):not([aria-pressed="true"]){
  background:#fff!important;color:#31566a!important;border-color:var(--scp-day-line)!important;box-shadow:0 5px 14px rgba(37,82,115,.055)!important;
}

/* Crew Institut 2.40.72 — état de chargement Admin en mode Jour. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-data-status{
  background:#fff!important;
  border-color:var(--scp-day-line)!important;
  color:#17384c!important;
  box-shadow:0 7px 18px rgba(37,82,115,.055)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-data-status strong{color:#17384c!important}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-admin-data-status span{color:#617987!important}


/* Crew Institut 2.40.90 — Ma progression : nuance dédiée en mode jour. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-switch.is-progression-tile{
  border-color:rgba(63,143,166,.24)!important;
  background:linear-gradient(150deg,#f5fbfd,#e7f2f6)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-switch.is-progression-tile:hover{
  border-color:color-mix(in srgb,var(--led) 50%,rgba(38,83,108,.18))!important;
  background:linear-gradient(150deg,#f8fcfd,#e3eff4)!important;
}


/* Crew Institut 2.40.95 — langage visuel commun des boutons actifs.
   Demande UI uniquement : contour or/orange discret, icône plus visible,
   sans modifier les états métier ni les couleurs de réponse QCM. */
.scp-root{
  --scp-active-gold:#dfa13b;
  --scp-active-gold-soft:#f0c777;
}

/* États actifs de navigation / filtres / sélecteurs. Les réponses QCM
   (.scp-option.is-selected) sont volontairement exclues afin de conserver
   leurs couleurs pédagogiques et de correction. */
.scp-root.scp-root.scp-root.scp-root :where(
  button.is-active,
  a.scp-btn.is-active,
  a.scp-nav-btn.is-active,
  [role="button"].is-active,
  [role="tab"].is-active,
  button[aria-current="page"],
  button[aria-selected="true"],
  [role="tab"][aria-selected="true"],
  button[aria-pressed="true"],
  .scp-r360-format.is-selected,
  .scp-adaptive-confidence-button.is-selected
){
  border-color:rgba(223,161,59,.34)!important;
  background:linear-gradient(145deg,rgba(16,53,81,.98),rgba(7,34,57,.99))!important;
  color:#f8fbfd!important;
  box-shadow:0 0 0 1px rgba(223,161,59,.055),0 7px 18px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.065)!important;
  outline:none!important;
  text-shadow:none!important;
}

/* L'icône / petit pictogramme d'un bouton actif porte l'accent or-orange.
   Le texte reste clair pour garder une lecture sobre et professionnelle. */
.scp-root.scp-root.scp-root.scp-root :where(
  button.is-active,
  a.scp-btn.is-active,
  a.scp-nav-btn.is-active,
  [role="button"].is-active,
  [role="tab"].is-active,
  button[aria-current="page"],
  button[aria-selected="true"],
  [role="tab"][aria-selected="true"],
  button[aria-pressed="true"],
  .scp-r360-format.is-selected,
  .scp-adaptive-confidence-button.is-selected
) :where(svg,.scp-nav-icon,.scp-switch-icon,.scp-theme-icon,.scp-ref-icon,.scp-card-icon){
  color:var(--scp-active-gold)!important;
  filter:drop-shadow(0 0 4px rgba(223,161,59,.16))!important;
}

/* Les boutons de domaines (Sécurité Sauvetage, MD, Sûreté, Secourisme,
   Exigences PNC) utilisent exactement le même état actif commun. */
.scp-root.scp-root.scp-root.scp-root .scp-reg-subtheme-tab.is-active,
.scp-root.scp-root.scp-root.scp-root .scp-learning-subtheme-tab.is-active{
  border-color:rgba(223,161,59,.34)!important;
  background:linear-gradient(145deg,rgba(17,55,82,.98),rgba(8,35,59,.99))!important;
  box-shadow:0 0 0 1px rgba(223,161,59,.05),0 7px 18px rgba(0,0,0,.11),inset 0 1px 0 rgba(255,255,255,.06)!important;
}
.scp-root.scp-root.scp-root.scp-root :where(.scp-reg-subtheme-tab.is-active,.scp-learning-subtheme-tab.is-active) strong{
  color:#fffaf0!important;
}

/* Mode jour : même code visuel, avec un fond clair et un contour volontairement léger. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  button.is-active,
  a.scp-btn.is-active,
  a.scp-nav-btn.is-active,
  [role="button"].is-active,
  [role="tab"].is-active,
  button[aria-current="page"],
  button[aria-selected="true"],
  [role="tab"][aria-selected="true"],
  button[aria-pressed="true"],
  .scp-r360-format.is-selected,
  .scp-adaptive-confidence-button.is-selected
){
  border-color:rgba(196,132,32,.35)!important;
  background:linear-gradient(145deg,#fffdf9,#edf4f7)!important;
  color:#23485b!important;
  box-shadow:0 0 0 1px rgba(196,132,32,.045),0 7px 17px rgba(37,82,115,.075),inset 0 1px 0 #fff!important;
  outline:none!important;
  text-shadow:none!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  button.is-active,
  a.scp-btn.is-active,
  a.scp-nav-btn.is-active,
  [role="button"].is-active,
  [role="tab"].is-active,
  button[aria-current="page"],
  button[aria-selected="true"],
  [role="tab"][aria-selected="true"],
  button[aria-pressed="true"],
  .scp-r360-format.is-selected,
  .scp-adaptive-confidence-button.is-selected
) :where(svg,.scp-nav-icon,.scp-switch-icon,.scp-theme-icon,.scp-ref-icon,.scp-card-icon){
  color:#c98522!important;
  filter:drop-shadow(0 0 3px rgba(201,133,34,.10))!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-reg-subtheme-tab.is-active,.scp-learning-subtheme-tab.is-active) strong{
  color:#23485b!important;
}


/* 2.40.98 — correction des états actifs selon référence validée.
   Règle : l’accent or-orange ne doit apparaître que sur les vrais états actifs,
   avec un contour plus léger ; le bouton « Comprendre » reste neutre. */

/* Réinitialisation neutre des boutons d’aide pour éviter tout contour orange parasite. */
.scp-root.scp-root.scp-root.scp-root :where(.scp-page-help-pill,.scp-switch-section-help,.scp-context-help),
.scp-root.scp-root.scp-root.scp-root :where(.scp-page-help-pill,.scp-switch-section-help,.scp-context-help).is-active,
.scp-root.scp-root.scp-root.scp-root :where(.scp-page-help-pill,.scp-switch-section-help,.scp-context-help)[aria-pressed="true"],
.scp-root.scp-root.scp-root.scp-root :where(.scp-page-help-pill,.scp-switch-section-help,.scp-context-help)[aria-selected="true"]{
  border-color:rgba(82,199,255,.26)!important;
  background:linear-gradient(145deg,rgba(11,62,100,.86),rgba(7,38,64,.94))!important;
  color:#dff7ff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 7px 18px rgba(0,0,0,.13)!important;
  outline:none!important;
  text-shadow:none!important;
}
.scp-root.scp-root.scp-root.scp-root :where(.scp-page-help-pill,.scp-switch-section-help,.scp-context-help) :where(svg,.scp-nav-icon,.scp-switch-icon){
  color:#55c8ff!important;
  filter:none!important;
}

/* Les boutons non actifs des rubriques gardent un contour bleu sobre. */
.scp-root.scp-root.scp-root.scp-root :where(.scp-reg-subtheme-tab,.scp-learning-subtheme-tab){
  border-color:rgba(82,199,255,.18)!important;
  background:linear-gradient(145deg,rgba(11,43,74,.94),rgba(6,28,49,.98))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}
.scp-root.scp-root.scp-root.scp-root :where(.scp-reg-subtheme-tab,.scp-learning-subtheme-tab):hover{
  border-color:rgba(82,199,255,.34)!important;
  background:linear-gradient(145deg,rgba(15,61,102,.97),rgba(7,36,63,.99))!important;
  box-shadow:0 0 0 1px rgba(41,164,255,.08),0 9px 24px rgba(0,87,170,.14)!important;
}

/* Accent actif commun : contour léger, texte clair, icône or-orange visible. */
.scp-root.scp-root.scp-root.scp-root :where(
  .scp-nav-btn.is-active,
  .scp-mobile-nav button.is-active,
  .scp-reg-subtheme-tab.is-active,
  .scp-learning-subtheme-tab.is-active,
  .scp-game-tab.is-active,
  .scp-reg-ana-nav-btn.is-active,
  .scp-reg-ana-filter-chip.is-active,
  .scp-reg-progress-control.is-active,
  .scp-premium-internal-tab.is-active,
  .scp-progress-hub-tab.is-active,
  .scp-admin-progress-tab.is-active,
  .scp-knowledge-level-tab.is-active,
  .scp-auth-tab.is-active,
  .scp-ref-scope.is-active,
  .scp-ref-icon-btn.is-active,
  .scp-national-filter.is-active,
  .scp-r360-format.is-selected,
  .scp-r360-choice.is-selected,
  .scp-adaptive-confidence-button.is-selected,
  [aria-selected="true"].scp-progress-hub-tab,
  [aria-selected="true"].scp-premium-internal-tab,
  [aria-selected="true"].scp-admin-progress-tab,
  [aria-pressed="true"].scp-ref-icon-btn,
  [aria-current="page"].scp-nav-btn
){
  border-color:rgba(223,161,59,.24)!important;
  background:linear-gradient(145deg,rgba(16,53,81,.98),rgba(7,34,57,.99))!important;
  color:#f6fbff!important;
  box-shadow:0 0 0 1px rgba(223,161,59,.035),0 7px 18px rgba(0,0,0,.11),inset 0 1px 0 rgba(255,255,255,.065)!important;
  outline:none!important;
  text-shadow:none!important;
}
.scp-root.scp-root.scp-root.scp-root :where(
  .scp-nav-btn.is-active,
  .scp-mobile-nav button.is-active,
  .scp-reg-subtheme-tab.is-active,
  .scp-learning-subtheme-tab.is-active,
  .scp-game-tab.is-active,
  .scp-reg-ana-nav-btn.is-active,
  .scp-reg-ana-filter-chip.is-active,
  .scp-reg-progress-control.is-active,
  .scp-premium-internal-tab.is-active,
  .scp-progress-hub-tab.is-active,
  .scp-admin-progress-tab.is-active,
  .scp-knowledge-level-tab.is-active,
  .scp-auth-tab.is-active,
  .scp-ref-scope.is-active,
  .scp-ref-icon-btn.is-active,
  .scp-national-filter.is-active,
  .scp-r360-format.is-selected,
  .scp-r360-choice.is-selected,
  .scp-adaptive-confidence-button.is-selected,
  [aria-selected="true"].scp-progress-hub-tab,
  [aria-selected="true"].scp-premium-internal-tab,
  [aria-selected="true"].scp-admin-progress-tab,
  [aria-pressed="true"].scp-ref-icon-btn,
  [aria-current="page"].scp-nav-btn
) :where(svg,.scp-nav-icon,.scp-switch-icon,.scp-theme-icon,.scp-ref-icon,.scp-card-icon){
  color:#dfa13b!important;
  filter:drop-shadow(0 0 4px rgba(223,161,59,.16))!important;
}
.scp-root.scp-root.scp-root.scp-root :where(
  .scp-nav-btn.is-active,
  .scp-mobile-nav button.is-active,
  .scp-reg-subtheme-tab.is-active,
  .scp-learning-subtheme-tab.is-active,
  .scp-game-tab.is-active,
  .scp-reg-ana-nav-btn.is-active,
  .scp-reg-ana-filter-chip.is-active,
  .scp-reg-progress-control.is-active,
  .scp-premium-internal-tab.is-active,
  .scp-progress-hub-tab.is-active,
  .scp-admin-progress-tab.is-active,
  .scp-knowledge-level-tab.is-active,
  .scp-auth-tab.is-active,
  .scp-ref-scope.is-active,
  .scp-ref-icon-btn.is-active,
  .scp-national-filter.is-active,
  .scp-r360-format.is-selected,
  .scp-r360-choice.is-selected,
  .scp-adaptive-confidence-button.is-selected,
  [aria-selected="true"].scp-progress-hub-tab,
  [aria-selected="true"].scp-premium-internal-tab,
  [aria-selected="true"].scp-admin-progress-tab,
  [aria-pressed="true"].scp-ref-icon-btn,
  [aria-current="page"].scp-nav-btn
) :where(strong,span,small,b,i){
  color:inherit!important;
}

/* Mode jour : même logique, avec contour encore plus léger et icône or-orange seulement. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-page-help-pill,.scp-switch-section-help,.scp-context-help),
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-page-help-pill,.scp-switch-section-help,.scp-context-help).is-active,
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-page-help-pill,.scp-switch-section-help,.scp-context-help)[aria-pressed="true"],
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-page-help-pill,.scp-switch-section-help,.scp-context-help)[aria-selected="true"]{
  border-color:rgba(38,83,108,.20)!important;
  background:linear-gradient(145deg,#fff,#f3f8fb)!important;
  color:#24495c!important;
  box-shadow:0 5px 14px rgba(28,58,75,.06)!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(.scp-page-help-pill,.scp-switch-section-help,.scp-context-help) :where(svg,.scp-nav-icon,.scp-switch-icon){
  color:#1479ad!important;
  filter:none!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-nav-btn.is-active,
  .scp-mobile-nav button.is-active,
  .scp-reg-subtheme-tab.is-active,
  .scp-learning-subtheme-tab.is-active,
  .scp-game-tab.is-active,
  .scp-reg-ana-nav-btn.is-active,
  .scp-reg-ana-filter-chip.is-active,
  .scp-reg-progress-control.is-active,
  .scp-premium-internal-tab.is-active,
  .scp-progress-hub-tab.is-active,
  .scp-admin-progress-tab.is-active,
  .scp-knowledge-level-tab.is-active,
  .scp-auth-tab.is-active,
  .scp-ref-scope.is-active,
  .scp-ref-icon-btn.is-active,
  .scp-national-filter.is-active,
  .scp-r360-format.is-selected,
  .scp-r360-choice.is-selected,
  .scp-adaptive-confidence-button.is-selected,
  [aria-selected="true"].scp-progress-hub-tab,
  [aria-selected="true"].scp-premium-internal-tab,
  [aria-selected="true"].scp-admin-progress-tab,
  [aria-pressed="true"].scp-ref-icon-btn,
  [aria-current="page"].scp-nav-btn
){
  border-color:rgba(196,132,32,.24)!important;
  background:linear-gradient(145deg,#fffdf9,#edf4f7)!important;
  color:#23485b!important;
  box-shadow:0 0 0 1px rgba(196,132,32,.03),0 7px 17px rgba(37,82,115,.07),inset 0 1px 0 #fff!important;
  outline:none!important;
  text-shadow:none!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-nav-btn.is-active,
  .scp-mobile-nav button.is-active,
  .scp-reg-subtheme-tab.is-active,
  .scp-learning-subtheme-tab.is-active,
  .scp-game-tab.is-active,
  .scp-reg-ana-nav-btn.is-active,
  .scp-reg-ana-filter-chip.is-active,
  .scp-reg-progress-control.is-active,
  .scp-premium-internal-tab.is-active,
  .scp-progress-hub-tab.is-active,
  .scp-admin-progress-tab.is-active,
  .scp-knowledge-level-tab.is-active,
  .scp-auth-tab.is-active,
  .scp-ref-scope.is-active,
  .scp-ref-icon-btn.is-active,
  .scp-national-filter.is-active,
  .scp-r360-format.is-selected,
  .scp-r360-choice.is-selected,
  .scp-adaptive-confidence-button.is-selected,
  [aria-selected="true"].scp-progress-hub-tab,
  [aria-selected="true"].scp-premium-internal-tab,
  [aria-selected="true"].scp-admin-progress-tab,
  [aria-pressed="true"].scp-ref-icon-btn,
  [aria-current="page"].scp-nav-btn
) :where(svg,.scp-nav-icon,.scp-switch-icon,.scp-theme-icon,.scp-ref-icon,.scp-card-icon){
  color:#c98522!important;
  filter:drop-shadow(0 0 3px rgba(201,133,34,.10))!important;
}

/* 2.40.100 — correction ciblée demandée : icône + titre orange sur les niveaux et sous-domaines actifs.
   Le fond actif revient au rendu existant ; seul l’indicateur visuel demandé (icône/titre) est forcé en orange.
   Périmètre strict : Novice / Praticien / Expert / Progression et onglets de sous-domaines actifs. */
.scp-root.scp-root.scp-root.scp-root .scp-knowledge-level-tab.is-active > span{
  color:#f29a2e!important;
}
.scp-root.scp-root.scp-root.scp-root .scp-knowledge-level-tab.is-active > svg{
  color:#f29a2e!important;
  stroke:#f29a2e!important;
  filter:drop-shadow(0 0 4px rgba(242,154,46,.22))!important;
}
.scp-root.scp-root.scp-root.scp-root :where(
  .scp-reg-subtheme-tab.is-active,
  .scp-learning-subtheme-tab.is-active
) > strong{
  color:#f29a2e!important;
}
.scp-root.scp-root.scp-root.scp-root :where(
  .scp-reg-subtheme-tab.is-active,
  .scp-learning-subtheme-tab.is-active
) svg{
  color:#f29a2e!important;
  stroke:#f29a2e!important;
}

/* Mode jour : orange plus sombre pour conserver un contraste net sur fond clair. */
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-knowledge-level-tab.is-active > span,
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-reg-subtheme-tab.is-active,
  .scp-learning-subtheme-tab.is-active
) > strong{
  color:#bd6110!important;
}
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-knowledge-level-tab.is-active > svg,
.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-reg-subtheme-tab.is-active,
  .scp-learning-subtheme-tab.is-active
) svg{
  color:#bd6110!important;
  stroke:#bd6110!important;
  filter:drop-shadow(0 0 3px rgba(189,97,16,.16))!important;
}

/* 2.40.101 — verrouillage visuel des libellés actifs.
   Le texte actif est ciblé directement et -webkit-text-fill-color est également fixé
   afin qu'aucune surcharge de couleur du bouton ne puisse laisser le libellé blanc. */
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-knowledge-level-tab.is-active > span,
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-knowledge-level-tab[aria-current="page"] > span{
  color:#f29a2e!important;
  -webkit-text-fill-color:#f29a2e!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-knowledge-level-tab.is-active > svg,
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-knowledge-level-tab[aria-current="page"] > svg{
  color:#f29a2e!important;
  stroke:#f29a2e!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root :where(
  .scp-reg-subtheme-tab.is-active,
  .scp-learning-subtheme-tab.is-active
) > strong{
  color:#f29a2e!important;
  -webkit-text-fill-color:#f29a2e!important;
}

/* 2.40.102 — sous-domaines QCM : libellé unique centré. */
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-reg-subtheme-tab{
  text-align:center!important;
  justify-items:center!important;
  align-items:center!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-reg-subtheme-tab > strong{
  width:100%!important;
  margin:0!important;
  text-align:center!important;
}

/* 2.40.104 — état actif : bordure orange visible, toujours fine.
   2 px est volontairement utilisé pour éviter qu’une bordure 1 px soit imperceptible
   sur fond bleu nuit / écran Retina. Même orange que le texte et l’icône, sans halo. */
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-knowledge-level-tab.is-active,
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-knowledge-level-tab[aria-current="page"],
.scp-root.scp-root.scp-root.scp-root.scp-root :where(
  .scp-reg-subtheme-tab.is-active,
  .scp-learning-subtheme-tab.is-active
){
  border:2px solid #f29a2e!important;
  border-color:#f29a2e!important;
  box-shadow:0 7px 18px rgba(0,0,0,.11),inset 0 1px 0 rgba(255,255,255,.065)!important;
}

/* 2.40.105 — page Expert, portrait iPad/iPhone.
   Refonte strictement limitée à l'écran d'accueil Expert en orientation portrait :
   un appel à l'action central, informations essentielles compactées et suppression
   des blocs analytiques redondants sur petit écran. Aucun impact sur la géométrie paysage/desktop ni sur les QCM. */
@media (orientation:portrait) and (max-width:1024px){
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-page-head{
    margin-bottom:8px!important;
    padding-bottom:12px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-page-head .scp-page-title{
    margin:2px 0 0!important;
    font-size:clamp(1.55rem,5vw,2.15rem)!important;
    line-height:1.08!important;
    letter-spacing:-.035em!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-level-nav{
    margin:4px 0 14px!important;
  }

  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-hero{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    margin:8px 0 12px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-side{
    order:-1!important;
    padding:clamp(20px,4.4vw,28px)!important;
    gap:14px!important;
    border:1px solid rgba(242,154,46,.50)!important;
    border-radius:24px!important;
    background:
      radial-gradient(circle at 50% -20%,rgba(242,154,46,.13),transparent 42%),
      linear-gradient(155deg,rgba(9,39,66,.99),rgba(5,24,43,.995))!important;
    box-shadow:0 18px 42px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.045)!important;
    text-align:center!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-launch-lead{
    display:grid!important;
    justify-items:center!important;
    gap:5px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-launch-kicker{
    color:#f29a2e!important;
    font-size:.72rem!important;
    font-weight:900!important;
    letter-spacing:.13em!important;
    text-transform:uppercase!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-launch-title{
    color:#f5fbff!important;
    font-size:clamp(1.45rem,5vw,2rem)!important;
    font-weight:900!important;
    line-height:1.08!important;
    letter-spacing:-.025em!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-launch-meta{
    color:#9fb9c9!important;
    font-size:.82rem!important;
    font-weight:750!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-side-stats{
    display:none!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-actions{
    display:block!important;
    width:min(100%,620px)!important;
    margin:5px auto 0!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-actions .scp-expert-launch-button{
    width:100%!important;
    min-height:72px!important;
    padding:15px 22px!important;
    border:2px solid #f29a2e!important;
    border-radius:18px!important;
    background:linear-gradient(145deg,#ffb34e,#f29a2e 58%,#df821d)!important;
    color:#10283a!important;
    -webkit-text-fill-color:#10283a!important;
    box-shadow:0 12px 26px rgba(214,125,25,.23),inset 0 1px 0 rgba(255,255,255,.36)!important;
    font-size:clamp(1rem,3.4vw,1.15rem)!important;
    font-weight:950!important;
    letter-spacing:.01em!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-actions .scp-expert-launch-button:active{
    transform:translateY(1px)!important;
    box-shadow:0 7px 16px rgba(214,125,25,.20),inset 0 1px 0 rgba(255,255,255,.28)!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-note{
    max-width:620px!important;
    margin:0 auto!important;
    padding:0!important;
    color:#849faf!important;
    font-size:.76rem!important;
    line-height:1.45!important;
    text-align:center!important;
  }

  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main{
    order:0!important;
    padding:18px!important;
    border:1px solid rgba(89,186,235,.20)!important;
    border-radius:20px!important;
    background:linear-gradient(155deg,rgba(8,35,60,.96),rgba(5,26,46,.985))!important;
    box-shadow:none!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main .scp-eyebrow{
    display:none!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main h2{
    max-width:680px!important;
    margin:0 auto 7px!important;
    color:#f1f8fc!important;
    font-size:clamp(1.28rem,4vw,1.62rem)!important;
    line-height:1.14!important;
    text-align:center!important;
    letter-spacing:-.025em!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main>p:last-of-type{
    max-width:700px!important;
    margin:0 auto!important;
    color:#94adbc!important;
    font-size:.82rem!important;
    line-height:1.52!important;
    text-align:center!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-steps{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin-top:15px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:11px!important;
    row-gap:2px!important;
    align-items:center!important;
    min-height:0!important;
    padding:11px 12px!important;
    border:1px solid rgba(95,190,238,.14)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.025)!important;
    box-shadow:none!important;
    text-align:left!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step strong{
    grid-row:1 / span 2!important;
    width:30px!important;
    height:30px!important;
    margin:0!important;
    border:1px solid rgba(242,154,46,.55)!important;
    background:rgba(242,154,46,.10)!important;
    color:#f29a2e!important;
    box-shadow:none!important;
    font-size:.82rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step h3{
    margin:0!important;
    color:#eaf4f9!important;
    font-size:.88rem!important;
    line-height:1.25!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step p{
    margin:0!important;
    color:#829cab!important;
    font-size:.73rem!important;
    line-height:1.38!important;
  }

  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-strip,
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cockpit{
    display:none!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-banner{
    display:block!important;
    margin:12px 0 0!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-card{
    padding:16px 17px!important;
    border:1px solid rgba(89,186,235,.18)!important;
    border-radius:18px!important;
    background:linear-gradient(155deg,rgba(7,31,54,.95),rgba(5,24,43,.98))!important;
    box-shadow:none!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-head{
    align-items:center!important;
    gap:14px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-copy .scp-eyebrow{
    margin-bottom:3px!important;
    color:#7897a9!important;
    font-size:.66rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-copy h2{
    margin:0!important;
    color:#eaf4f9!important;
    font-size:1rem!important;
    line-height:1.25!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-copy>p:last-child{
    display:none!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-deadline{
    width:auto!important;
    min-width:118px!important;
    text-align:right!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-deadline strong{
    color:#f29a2e!important;
    font-size:1.05rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-deadline span{
    font-size:.66rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-drain{
    margin-top:12px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-drain-head{
    margin-bottom:6px!important;
    font-size:.72rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-drain-track{
    height:8px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-drain-note{
    display:none!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cert-card{
    display:none!important;
  }
}

@media (orientation:portrait) and (max-width:600px){
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-page-head{
    gap:8px!important;
    margin-bottom:5px!important;
    padding-bottom:9px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-page-head .scp-page-title{
    font-size:clamp(1.42rem,7vw,1.82rem)!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-level-nav{
    margin-bottom:11px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-side{
    padding:18px 14px!important;
    border-radius:19px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-launch-title{
    font-size:1.42rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-actions .scp-expert-launch-button{
    min-height:66px!important;
    padding:14px 16px!important;
    border-radius:16px!important;
    font-size:1rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main{
    padding:15px 13px!important;
    border-radius:17px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main h2{
    font-size:1.2rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main>p:last-of-type{
    font-size:.77rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step{
    grid-template-columns:31px minmax(0,1fr)!important;
    column-gap:9px!important;
    padding:10px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step strong{
    width:28px!important;
    height:28px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-card{
    padding:14px!important;
    border-radius:16px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-head{
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:8px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-deadline{
    width:100%!important;
    min-width:0!important;
    text-align:left!important;
  }
}

/* Mode jour : même géométrie Expert portrait, surfaces claires et CTA orange lisible. */
@media (orientation:portrait) and (max-width:1024px){
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-side{
    border-color:rgba(189,97,16,.42)!important;
    background:linear-gradient(155deg,#fffdf9,#f7efe5)!important;
    box-shadow:0 15px 34px rgba(93,68,39,.09),inset 0 1px 0 #fff!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-launch-kicker,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-deadline strong{
    color:#bd6110!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-launch-title,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-main h2,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-cycle-copy h2,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-step h3{
    color:#17384c!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-launch-meta,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-note,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-main>p:last-of-type,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-step p{
    color:#627b89!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-main,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-cycle-card{
    border-color:rgba(38,83,108,.14)!important;
    background:linear-gradient(155deg,#ffffff,#f4f8fa)!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-step{
    border-color:rgba(38,83,108,.12)!important;
    background:#f8fbfc!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-step strong{
    border-color:rgba(189,97,16,.42)!important;
    background:rgba(189,97,16,.08)!important;
    color:#bd6110!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-actions .scp-expert-launch-button{
    border-color:#bd6110!important;
    background:linear-gradient(145deg,#f5a13e,#dc7417)!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    box-shadow:0 10px 22px rgba(189,97,16,.18),inset 0 1px 0 rgba(255,255,255,.32)!important;
  }
}


/* 2.40.107 — Expert : même prestation épurée de l’iPad portrait jusqu’aux ordinateurs.
   Extension aux iPad paysage et écrans desktop sans modifier la logique QCM :
   CTA central prioritaire, règles essentielles compactes, cycle annuel lisible,
   statistiques/cockpit secondaires masqués sur l’accueil Expert. */
@media (min-width:601px) and (orientation:landscape) and (min-height:600px), (min-width:1025px){
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-page-head{
    margin-bottom:8px!important;
    padding-bottom:12px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-page-head .scp-page-title{
    margin:2px 0 0!important;
    font-size:clamp(1.75rem,2.4vw,2.35rem)!important;
    line-height:1.08!important;
    letter-spacing:-.035em!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-level-nav{
    margin:5px 0 16px!important;
  }

  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-hero{
    display:flex!important;
    flex-direction:column!important;
    gap:15px!important;
    margin:10px 0 16px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-side{
    order:-1!important;
    width:100%!important;
    padding:clamp(24px,2.7vw,34px)!important;
    gap:15px!important;
    border:1px solid rgba(242,154,46,.52)!important;
    border-radius:24px!important;
    background:
      radial-gradient(circle at 50% -35%,rgba(242,154,46,.15),transparent 45%),
      linear-gradient(155deg,rgba(9,39,66,.99),rgba(5,24,43,.995))!important;
    box-shadow:0 18px 42px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.045)!important;
    text-align:center!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-launch-lead{
    display:grid!important;
    justify-items:center!important;
    gap:6px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-launch-kicker{
    color:#f29a2e!important;
    font-size:.74rem!important;
    font-weight:900!important;
    letter-spacing:.14em!important;
    text-transform:uppercase!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-launch-title{
    color:#f5fbff!important;
    font-size:clamp(1.75rem,2.5vw,2.25rem)!important;
    font-weight:900!important;
    line-height:1.06!important;
    letter-spacing:-.03em!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-launch-meta{
    color:#9fb9c9!important;
    font-size:.86rem!important;
    font-weight:750!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-side-stats{
    display:none!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-actions{
    display:block!important;
    width:min(100%,760px)!important;
    margin:7px auto 0!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-actions .scp-expert-launch-button{
    width:100%!important;
    min-height:76px!important;
    padding:16px 26px!important;
    border:2px solid #f29a2e!important;
    border-radius:18px!important;
    background:linear-gradient(145deg,#ffb34e,#f29a2e 58%,#df821d)!important;
    color:#10283a!important;
    -webkit-text-fill-color:#10283a!important;
    box-shadow:0 12px 26px rgba(214,125,25,.23),inset 0 1px 0 rgba(255,255,255,.36)!important;
    font-size:clamp(1.08rem,1.45vw,1.22rem)!important;
    font-weight:950!important;
    letter-spacing:.01em!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-actions .scp-expert-launch-button:hover{
    transform:translateY(-1px)!important;
    box-shadow:0 15px 30px rgba(214,125,25,.28),inset 0 1px 0 rgba(255,255,255,.40)!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-actions .scp-expert-launch-button:active{
    transform:translateY(1px)!important;
    box-shadow:0 7px 16px rgba(214,125,25,.20),inset 0 1px 0 rgba(255,255,255,.28)!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-note{
    max-width:760px!important;
    margin:0 auto!important;
    padding:0!important;
    color:#849faf!important;
    font-size:.78rem!important;
    line-height:1.45!important;
    text-align:center!important;
  }

  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main{
    order:0!important;
    width:100%!important;
    padding:22px 24px!important;
    border:1px solid rgba(89,186,235,.20)!important;
    border-radius:20px!important;
    background:linear-gradient(155deg,rgba(8,35,60,.96),rgba(5,26,46,.985))!important;
    box-shadow:none!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main .scp-eyebrow{
    display:none!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main h2{
    max-width:900px!important;
    margin:0 auto 7px!important;
    color:#f1f8fc!important;
    font-size:clamp(1.35rem,1.9vw,1.72rem)!important;
    line-height:1.14!important;
    text-align:center!important;
    letter-spacing:-.025em!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main>p:last-of-type{
    max-width:980px!important;
    margin:0 auto!important;
    color:#94adbc!important;
    font-size:.84rem!important;
    line-height:1.52!important;
    text-align:center!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-steps{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
    margin-top:17px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:11px!important;
    row-gap:2px!important;
    align-items:center!important;
    min-height:84px!important;
    padding:12px 13px!important;
    border:1px solid rgba(95,190,238,.14)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.025)!important;
    box-shadow:none!important;
    text-align:left!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step strong{
    grid-row:1 / span 2!important;
    width:30px!important;
    height:30px!important;
    margin:0!important;
    border:1px solid rgba(242,154,46,.55)!important;
    background:rgba(242,154,46,.10)!important;
    color:#f29a2e!important;
    box-shadow:none!important;
    font-size:.82rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step h3{
    margin:0!important;
    color:#eaf4f9!important;
    font-size:.9rem!important;
    line-height:1.25!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step p{
    margin:0!important;
    color:#829cab!important;
    font-size:.74rem!important;
    line-height:1.38!important;
  }

  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-strip,
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cockpit{
    display:none!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-banner{
    display:block!important;
    margin:13px 0 0!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-card{
    width:100%!important;
    padding:18px 21px!important;
    border:1px solid rgba(89,186,235,.18)!important;
    border-radius:18px!important;
    background:linear-gradient(155deg,rgba(7,31,54,.95),rgba(5,24,43,.98))!important;
    box-shadow:none!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-head{
    align-items:center!important;
    gap:18px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-copy .scp-eyebrow{
    margin-bottom:3px!important;
    color:#7897a9!important;
    font-size:.67rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-copy h2{
    margin:0!important;
    color:#eaf4f9!important;
    font-size:1.05rem!important;
    line-height:1.25!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-copy>p:last-child{
    display:none!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-deadline{
    width:auto!important;
    min-width:150px!important;
    text-align:right!important;
  }
  
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-deadline strong{
    color:#f29a2e!important;
    font-size:1.08rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-deadline span{
    font-size:.68rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-drain{
    margin-top:12px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-drain-head{
    margin-bottom:6px!important;
    font-size:.73rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-drain-track{
    height:8px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-drain-note{
    display:none!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cert-card{
    display:none!important;
  }

  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-side{
    border-color:rgba(189,97,16,.42)!important;
    background:linear-gradient(155deg,#fffdf9,#f7efe5)!important;
    box-shadow:0 15px 34px rgba(93,68,39,.09),inset 0 1px 0 #fff!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-launch-kicker,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-deadline strong{
    color:#bd6110!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-launch-title,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-main h2,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-cycle-copy h2,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-step h3{
    color:#17384c!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-launch-meta,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-note,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-main>p:last-of-type,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-step p{
    color:#627b89!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-main,
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-cycle-card{
    border-color:rgba(38,83,108,.14)!important;
    background:linear-gradient(155deg,#ffffff,#f4f8fa)!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-step{
    border-color:rgba(38,83,108,.12)!important;
    background:#f8fbfc!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-step strong{
    border-color:rgba(189,97,16,.42)!important;
    background:rgba(189,97,16,.08)!important;
    color:#bd6110!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-entry-actions .scp-expert-launch-button{
    border-color:#bd6110!important;
    background:linear-gradient(145deg,#f5a13e,#dc7417)!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    box-shadow:0 10px 22px rgba(189,97,16,.18),inset 0 1px 0 rgba(255,255,255,.32)!important;
  }
}

/* 2.40.108 — Expert : échéance toujours contenue, chrono annuel vivant,
   numéros 1/2/3 parfaitement centrés et respiration homogène tous écrans. */
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-hero{
  gap:clamp(18px,2vw,28px)!important;
  margin-top:14px!important;
  margin-bottom:24px!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-side{
  padding:clamp(24px,2.6vw,36px)!important;
  gap:18px!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main{
  padding:clamp(24px,2.6vw,34px)!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main h2{
  margin-bottom:12px!important;
  line-height:1.18!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main>p:last-of-type{
  line-height:1.62!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-steps{
  gap:clamp(12px,1.35vw,18px)!important;
  margin-top:22px!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step{
  min-height:104px!important;
  padding:clamp(16px,1.5vw,21px)!important;
  column-gap:16px!important;
  row-gap:6px!important;
  align-items:center!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step strong{
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  justify-self:start!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  text-align:center!important;
  line-height:1!important;
  font-variant-numeric:tabular-nums!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step h3{
  margin:0!important;
  font-size:clamp(.95rem,1.05vw,1.04rem)!important;
  line-height:1.35!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step p{
  margin:0!important;
  font-size:clamp(.79rem,.88vw,.86rem)!important;
  line-height:1.55!important;
}

.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-banner{
  margin-top:22px!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-card{
  width:100%!important;
  box-sizing:border-box!important;
  padding:clamp(22px,2.4vw,30px)!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(220px,300px)!important;
  align-items:center!important;
  gap:clamp(22px,3vw,38px)!important;
  width:100%!important;
  min-width:0!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-copy{
  min-width:0!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-copy h2{
  max-width:900px!important;
  margin:8px 0 0!important;
  font-size:clamp(1.15rem,1.7vw,1.5rem)!important;
  line-height:1.3!important;
  overflow-wrap:anywhere!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-deadline{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:300px!important;
  justify-self:end!important;
  box-sizing:border-box!important;
  padding:17px 18px!important;
  border:1px solid rgba(242,154,46,.48)!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,rgba(242,154,46,.10),rgba(8,48,82,.58))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055)!important;
  text-align:center!important;
  overflow:hidden!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-deadline strong{
  display:block!important;
  color:#f29a2e!important;
  font-size:clamp(1.2rem,1.7vw,1.5rem)!important;
  line-height:1.1!important;
  font-variant-numeric:tabular-nums!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-deadline .scp-expert-deadline-date{
  display:block!important;
  margin-top:7px!important;
  color:#a7c4d3!important;
  font-size:.78rem!important;
  font-weight:800!important;
  line-height:1.4!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-countdown{
  display:block!important;
  margin-top:11px!important;
  padding-top:10px!important;
  border-top:1px solid rgba(242,154,46,.24)!important;
  color:#f3f9fc!important;
  font-size:clamp(.78rem,1vw,.9rem)!important;
  font-weight:900!important;
  line-height:1.45!important;
  letter-spacing:.015em!important;
  font-variant-numeric:tabular-nums!important;
  white-space:normal!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-drain{
  margin-top:20px!important;
  padding:15px 16px!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-drain-head{
  margin-bottom:9px!important;
  line-height:1.45!important;
}

@media (max-width:900px){
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-head{
    grid-template-columns:minmax(0,1fr)!important;
    gap:18px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-deadline{
    max-width:none!important;
    justify-self:stretch!important;
  }
}

@media (orientation:portrait) and (max-width:1024px){
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-hero{
    gap:16px!important;
    margin-bottom:18px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-side{
    padding:clamp(22px,4.8vw,32px)!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main{
    padding:clamp(20px,4vw,28px)!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-steps{
    gap:12px!important;
    margin-top:20px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step{
    min-height:94px!important;
    padding:15px 16px!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    column-gap:14px!important;
    row-gap:5px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step strong{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step h3{
    font-size:.96rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step p{
    font-size:.8rem!important;
    line-height:1.52!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-card{
    padding:20px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-copy h2{
    font-size:1.08rem!important;
    line-height:1.35!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-deadline{
    padding:15px 16px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-countdown{
    font-size:.82rem!important;
  }
}

@media (max-width:600px){
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-hero{
    gap:14px!important;
    margin-top:10px!important;
    margin-bottom:16px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-side{
    padding:20px 16px!important;
    gap:15px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main{
    padding:18px 15px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main h2{
    margin-bottom:10px!important;
    line-height:1.22!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main>p:last-of-type{
    font-size:.8rem!important;
    line-height:1.58!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step{
    min-height:96px!important;
    padding:14px 13px!important;
    grid-template-columns:38px minmax(0,1fr)!important;
    column-gap:12px!important;
    row-gap:5px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step strong{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    font-size:.84rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step h3{
    font-size:.92rem!important;
    line-height:1.35!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step p{
    font-size:.76rem!important;
    line-height:1.5!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-banner{
    margin-top:17px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-card{
    padding:18px 15px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-head{
    gap:15px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-copy h2{
    font-size:1.02rem!important;
    line-height:1.38!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-deadline{
    padding:14px!important;
    text-align:center!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-deadline .scp-expert-deadline-date{
    font-size:.74rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-countdown{
    font-size:.76rem!important;
    line-height:1.55!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-drain{
    margin-top:16px!important;
    padding:13px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-drain-head{
    gap:8px!important;
    font-size:.72rem!important;
    line-height:1.45!important;
  }
}

.scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-deadline{
  border-color:rgba(189,97,16,.38)!important;
  background:linear-gradient(145deg,rgba(189,97,16,.08),rgba(240,246,249,.96))!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-deadline .scp-expert-deadline-date{
  color:#637d8b!important;
}
.scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] .scp-expert-cycle-countdown{
  border-top-color:rgba(189,97,16,.20)!important;
  color:#17384c!important;
}

@media (orientation:landscape) and (max-height:560px) and (max-width:950px){
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-hero{
    gap:14px!important;
    margin-top:10px!important;
    margin-bottom:16px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-side,
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-main{
    padding:18px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-steps{
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin-top:16px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step{
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    min-height:82px!important;
    padding:13px 15px!important;
    column-gap:13px!important;
    row-gap:4px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step strong{
    grid-row:1 / span 2!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step h3{
    font-size:.9rem!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-entry-step p{
    font-size:.75rem!important;
    line-height:1.48!important;
  }
  .scp-root.scp-root.scp-root.scp-root.scp-root .scp-expert-cycle-card{
    padding:18px!important;
  }
}

/* 2.40.109 — Ma progression : états actifs orange, cohérents avec les autres espaces.
   Synthèse est déjà l'onglet actif par défaut à l'ouverture du hub ; Vue globale est déjà
   l'onglet actif par défaut dans les espaces Novice / Praticien. Cette surcharge finale
   rend ces états réellement visibles sans modifier la navigation ni le contenu. */
.scp-root.scp-root.scp-root.scp-root.scp-root :where(
  .scp-progress-hub-tab.is-active,
  .scp-progress-hub-tab[aria-selected="true"],
  .scp-premium-internal-tab.is-active,
  .scp-premium-internal-tab[aria-selected="true"]
){
  color:#f29a2e!important;
  -webkit-text-fill-color:#f29a2e!important;
  border:2px solid #f29a2e!important;
  border-color:#f29a2e!important;
  box-shadow:0 7px 18px rgba(0,0,0,.11),inset 0 1px 0 rgba(255,255,255,.065)!important;
}

/* Mode jour : même traitement que les autres états actifs, avec l'orange contrasté déjà utilisé. */
.scp-root.scp-root.scp-root.scp-root.scp-root[data-ui-theme="light"] :where(
  .scp-progress-hub-tab.is-active,
  .scp-progress-hub-tab[aria-selected="true"],
  .scp-premium-internal-tab.is-active,
  .scp-premium-internal-tab[aria-selected="true"]
){
  color:#bd6110!important;
  -webkit-text-fill-color:#bd6110!important;
  border:2px solid #bd6110!important;
  border-color:#bd6110!important;
  box-shadow:0 7px 18px rgba(26,55,72,.10),inset 0 1px 0 rgba(255,255,255,.55)!important;
}
