/* Automatec v7.41 — vrai mode clair : navigation incluse.
   Ce fichier ne modifie que html[data-theme-variant="light"]. */
html[data-theme-variant="light"]{
  --bg:#f5f7fb;
  --bg-soft:#f9fafc;
  --surface:#ffffff;
  --surface-2:#f8faff;
  --surface-3:#edf2f9;
  --border:#dce3ed;
  --border-soft:#e3e9f2;
  --input:#ffffff;
  --text:#202d40;
  --text-strong:#111b2d;
  --muted:#65768a;
  --panel:#ffffff;
  --panel-2:#f8faff;
}
html[data-theme-variant="light"] .app-sidebar,
html[data-theme-variant="light"] .app-topbar,
html[data-theme-variant="light"] header{
  background:#f7f9fc!important;
  border-color:#dce3ed!important;
  box-shadow:0 3px 15px rgba(24,43,68,.06);
}
html[data-theme-variant="light"] body[class*="page-theme-"] .app-sidebar,
html[data-theme-variant="light"] body.page-theme-technicien .app-sidebar{
  background:linear-gradient(180deg,rgba(var(--page-accent-rgb,59,130,246),.08),transparent 220px),#f7f9fc!important;
}
html[data-theme-variant="light"] .sidebar-brand-row{border-color:#dce3ed}
html[data-theme-variant="light"] .sidebar-brand,
html[data-theme-variant="light"] .sidebar-brand-text strong,
html[data-theme-variant="light"] body[class*="page-theme-"] .sidebar-brand-text strong{color:#21314a!important}
html[data-theme-variant="light"] .sidebar-brand-text small,
html[data-theme-variant="light"] body[class*="page-theme-"] .sidebar-brand-text small{color:#728197!important}
html[data-theme-variant="light"] .sidebar-link{color:#34445d!important}
html[data-theme-variant="light"] .sidebar-link:hover{background:#e7eef9!important;color:#1b3154!important}
html[data-theme-variant="light"] .sidebar-link.active,
html[data-theme-variant="light"] .sidebar-link.sidebar-link-attention{color:#fff!important}
html[data-theme-variant="light"] .sidebar-toggle{background:#e3eaf5!important;color:#263750!important}
html[data-theme-variant="light"] .sidebar-flyout,
html[data-theme-variant="light"] .sidebar-flyout-link{background:#fff;color:#283c5a}
html[data-theme-variant="light"] .topbar-context,
html[data-theme-variant="light"] .topbar-network,
html[data-theme-variant="light"] .topbar-action,
html[data-theme-variant="light"] .topbar-user,
html[data-theme-variant="light"] .topbar-user-name,
html[data-theme-variant="light"] .topbar-logout{color:#26354c!important}
html[data-theme-variant="light"] .topbar-action:hover,
html[data-theme-variant="light"] .topbar-user:hover{background:#e7edf5!important;border-color:#c9d6e8!important;color:#172a47!important}
html[data-theme-variant="light"] .topbar-alerts{color:#ad6400!important}
html[data-theme-variant="light"] .topbar-global-search input{background:#fff!important;border-color:#d1dbea!important;color:#1b2c45!important}
html[data-theme-variant="light"] .topbar-global-search input::placeholder{color:#8290a2}
html[data-theme-variant="light"] .topbar-global-search button{color:#586a84}
html[data-theme-variant="light"] .topbar-global-search button:hover{background:#e5ecf5!important;color:#233b5c}
html[data-theme-variant="light"] .app-content-shell{background:var(--bg)}
/* Des pages métiers ont leur propre fond ; préserver les couleurs fonctionnelles. */
