/* =====================================================================
   Portail CSU — Harmonisation visuelle 1.0
   Couche graphique : aucune modification des API, JS ni des données.
   Compatible avec les thèmes centralisés et le dashboard personnalisable.
   ===================================================================== */
html[data-theme] body.csu-shell{
  --portal-r:16px;
  --portal-r-sm:11px;
  --portal-accent:var(--csu-blue,#1478ff);
  --portal-on-accent:#fff;
  --portal-faint:color-mix(in srgb,var(--portal-accent) 8%,var(--csu-panel));
  --portal-border:var(--csu-line,#243244);
  --portal-card-shadow:0 8px 28px rgba(0,0,0,.12);
}
html[data-theme="light"] body.csu-shell{
  --portal-card-shadow:0 7px 25px rgba(36,66,103,.06);
  --portal-faint:#e9f2fe;
}
/* Barre latérale : le langage graphique des autres apps CSU */
html[data-theme] body.csu-shell>aside{
  border-right:1px solid var(--portal-border)!important;
  background:var(--csu-sidebar)!important;
}
html[data-theme] body.csu-shell>aside .brand{
  border-bottom:1px solid var(--portal-border);
  margin-bottom:7px;
  padding-bottom:19px;
}
html[data-theme] body.csu-shell>aside nav a,
html[data-theme] body.csu-shell>aside nav .nav-disabled{
  min-height:43px;
  border-radius:11px;
  padding:11px 12px;
  font-weight:550;
  letter-spacing:.005em;
  transition:background .15s,border-color .15s,color .15s;
}
html[data-theme] body.csu-shell>aside nav a .icon,
html[data-theme] body.csu-shell>aside .settings .icon{width:19px;height:19px;stroke-width:1.8}
html[data-theme] body.csu-shell>aside nav a.active{
  font-weight:700;
  border-left:3px solid var(--portal-accent);
  padding-left:9px;
}
html[data-theme] body.csu-shell>aside .nav-label{font-size:10px;font-weight:750;letter-spacing:1.35px;margin-top:18px}
html[data-theme] body.csu-shell>aside .settings{font-weight:600;border-color:var(--portal-border)}
html[data-theme] body.csu-shell>aside .logout{border-radius:9px;padding:9px 12px;min-height:38px}
html[data-theme] body.csu-shell>aside .logout:hover{background:var(--portal-faint);color:var(--csu-text)}
/* Titre de page */
html[data-theme] body.csu-shell .csu-home-header,
html[data-theme] body.csu-shell .csu-notify-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 24px;
  padding:0;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
}
html[data-theme] body.csu-shell .csu-home-header h1,
html[data-theme] body.csu-shell .csu-notify-header h1{
  font-size:clamp(25px,2.3vw,34px);
  letter-spacing:-.035em;
  line-height:1.18;
  font-weight:760;
  margin:8px 0 0;
}
html[data-theme] body.csu-shell .csu-home-header small,
html[data-theme] body.csu-shell .csu-notify-header small{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--csu-muted-strong)!important;
  font-size:10px;
  letter-spacing:1.65px;
  font-weight:750;
}
html[data-theme] body.csu-shell .csu-heading-spark{
  width:7px;height:7px;border-radius:50%;background:var(--portal-accent);
  box-shadow:0 0 0 4px var(--portal-faint);
}
html[data-theme] body.csu-shell .csu-home-header-subtitle{
  color:var(--csu-muted)!important;font-size:13px;margin:8px 0 0;
}
html[data-theme] body.csu-shell .csu-home-header .head-actions{gap:12px}
html[data-theme] body.csu-shell .csu-home-header .clock{
  border-radius:12px!important;
  box-shadow:var(--portal-card-shadow);
  min-height:52px;
}
html[data-theme] body.csu-shell .csu-home-header .avatar{
  width:46px;height:46px;border:1px solid var(--csu-line-strong);
  color:var(--csu-text);background:var(--portal-faint);
  font-size:13px;letter-spacing:.04em;box-shadow:none;
}
/* Cloche CSU : icône filaire bleu, même famille que la navigation */
html[data-theme] body.csu-shell .csu-notify-bell{
  width:48px;min-width:48px;height:48px;min-height:48px;
  background:var(--csu-panel)!important;border:1px solid var(--csu-line-strong)!important;
  color:var(--csu-text)!important;border-radius:12px;
  box-shadow:var(--portal-card-shadow);
  transition:background .15s,border-color .15s,transform .15s;
}
html[data-theme] body.csu-shell .csu-notify-bell:hover{
  background:var(--portal-faint)!important;border-color:var(--portal-accent)!important;
  transform:translateY(-1px);
}
html[data-theme] body.csu-shell .csu-notify-bell-icon{color:var(--portal-accent)}
html[data-theme] body.csu-shell .csu-notify-bell-icon .icon{height:21px;width:21px;stroke-width:1.8}
html[data-theme] body.csu-shell .csu-notify-count{box-shadow:0 0 0 2px var(--csu-bg);font-size:10px;min-width:20px;min-height:20px}
html[data-theme] body.csu-shell .csu-notify-pop{
  background:var(--csu-panel)!important;color:var(--csu-text)!important;
  border:1px solid var(--csu-line)!important;border-radius:16px;
  box-shadow:0 18px 55px rgba(5,19,37,.23)!important;
  padding:17px;
}
html[data-theme] body.csu-shell .csu-notify-pop-title{align-items:center;border-bottom:1px solid var(--csu-line);padding-bottom:12px;margin-bottom:9px}
html[data-theme] body.csu-shell .csu-notify-pop-title strong{font-size:14px}
html[data-theme] body.csu-shell .csu-notify-pop-items a{
  background:transparent!important;border:1px solid transparent;color:var(--csu-text)!important;
  border-radius:10px;line-height:1.45;transition:background .15s;
}
html[data-theme] body.csu-shell .csu-notify-pop-items a:hover{background:var(--csu-panel-2)!important;filter:none;border-color:var(--csu-line)}
/* Page d'accueil et bandeau de personnalisation */
html[data-theme] body.csu-shell .csu-home{max-width:1800px;margin:0 auto;min-width:0}
html[data-theme] body.csu-shell .csu-dash-toolbar{
  display:flex;align-items:center;justify-content:space-between;
  background:var(--csu-panel)!important;
  color:var(--csu-text)!important;
  border:1px solid var(--csu-line)!important;
  border-radius:var(--portal-r);
  box-shadow:var(--portal-card-shadow);
  padding:16px 18px;
  margin:0 0 18px;
}
html[data-theme] body.csu-shell .csu-dash-intro{display:flex;align-items:center;gap:13px;min-width:0}
html[data-theme] body.csu-shell .csu-dash-intro-icon{
  display:grid;place-items:center;flex:0 0 45px;width:45px;height:45px;
  color:var(--portal-accent);background:var(--portal-faint);
  border:1px solid color-mix(in srgb,var(--portal-accent) 22%,var(--csu-line));border-radius:12px;
}
html[data-theme] body.csu-shell .csu-dash-intro-icon .icon{width:21px;height:21px}
html[data-theme] body.csu-shell .csu-dash-intro strong{font-size:15px;font-weight:750}
html[data-theme] body.csu-shell .csu-dash-intro p{font-size:12px;color:var(--csu-muted)!important;margin:4px 0 0}
html[data-theme] body.csu-shell .csu-dash-actions{gap:9px}
html[data-theme] body.csu-shell .csu-dash-actions button,
html[data-theme] body.csu-shell .csu-notify-actions .secondary{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:42px;white-space:nowrap;border-radius:10px;
  padding:10px 15px;font-size:12px;font-weight:720;
  box-shadow:none;
}
html[data-theme] body.csu-shell .csu-dash-actions button .icon,
html[data-theme] body.csu-shell .csu-notify-actions .icon{width:16px;height:16px}
html[data-theme] body.csu-shell #csu-dash-done{
  background:linear-gradient(130deg,var(--portal-accent),var(--csu-blue-2))!important;
  border:1px solid var(--portal-accent)!important;
  color:#fff!important;
}
html[data-theme] body.csu-shell #csu-dash-done .icon{stroke:#fff}
html[data-theme] body.csu-shell .csu-dash-feedback{
  border:1px solid var(--csu-line);background:var(--csu-panel-2);
  border-radius:10px;margin:0 0 16px;
}
html[data-theme] body.csu-shell .csu-dash-catalog{
  border:1px solid var(--csu-line);background:var(--csu-panel)!important;
  border-radius:16px;padding:20px;box-shadow:var(--portal-card-shadow);
}
html[data-theme] body.csu-shell .csu-dash-catalog-heading h2{font-size:16px}
html[data-theme] body.csu-shell .csu-dash-catalog-grid{gap:11px}
html[data-theme] body.csu-shell .csu-dash-add{
  display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;
  align-items:center;column-gap:11px;row-gap:4px;
  padding:14px;text-align:left;
  min-height:92px;color:var(--csu-text)!important;background:var(--csu-panel-2)!important;
  border:1px solid var(--csu-line)!important;border-radius:12px;
  transition:border-color .15s,transform .15s,box-shadow .15s;
}
html[data-theme] body.csu-shell .csu-dash-add:hover:not(:disabled){border-color:var(--portal-accent)!important;box-shadow:0 4px 14px #0000000a;transform:translateY(-1px)}
html[data-theme] body.csu-shell .csu-dash-add:disabled{opacity:.48;cursor:not-allowed}
html[data-theme] body.csu-shell .csu-dash-add-title{font-size:12px;font-weight:720;min-width:0}
html[data-theme] body.csu-shell .csu-dash-add small{grid-column:2;color:var(--csu-muted)!important;letter-spacing:0;font-weight:450;font-size:11px}
html[data-theme] body.csu-shell .csu-dash-catalog-icon{
  grid-column:1;grid-row:1/span 2;width:38px;height:38px;display:grid;place-items:center;
  background:var(--portal-faint);border-radius:11px;color:var(--portal-accent);
}
html[data-theme] body.csu-shell .csu-dash-catalog-icon .icon{width:19px;height:19px}
/* Grille commune : cartes standards, statistiques, contenu métier */
html[data-theme] body.csu-shell .csu-widgets{gap:16px}
html[data-theme] body.csu-shell .csu-widgets>.csu-widget{
  background:var(--csu-panel)!important;color:var(--csu-text)!important;
  border:1px solid var(--csu-line)!important;border-radius:var(--portal-r)!important;
  padding:20px!important;box-shadow:var(--portal-card-shadow)!important;
  transition:border-color .15s,box-shadow .15s;
}
html[data-theme] body.csu-shell .csu-widgets>.csu-widget:hover:not(.is-dragging){border-color:var(--csu-line-strong)!important}
html[data-theme] body.csu-shell .csu-widgets>.csu-widget:has(.kpis){padding:13px!important}
html[data-theme] body.csu-shell .csu-widgets .csu-widget .req-section,
html[data-theme] body.csu-shell .csu-widgets .csu-widget .reg-section,
html[data-theme] body.csu-shell .csu-widgets .csu-widget .bornes-section,
html[data-theme] body.csu-shell .csu-widgets .csu-widget .csu-widget-panel{
  background:transparent!important;box-shadow:none!important;border:0!important;
  border-radius:0;padding:0!important;margin:0!important;min-width:0;
}
html[data-theme] body.csu-shell .csu-widgets .req-heading,
html[data-theme] body.csu-shell .csu-widgets .csu-widget-heading{
  display:flex;align-items:center;gap:11px;margin-bottom:17px;min-height:40px;
}
html[data-theme] body.csu-shell .csu-widgets .section-title{display:flex;align-items:center;gap:11px;margin-bottom:0}
html[data-theme] body.csu-shell .csu-widgets .section-title>.icon,
html[data-theme] body.csu-shell .csu-widgets .csu-widget-heading>span{
  width:40px;height:40px;flex:0 0 40px;
  display:grid;place-items:center;padding:10px;
  background:var(--portal-faint)!important;border:1px solid color-mix(in srgb,var(--portal-accent) 18%,var(--csu-line))!important;
  border-radius:11px;color:var(--portal-accent)!important;
}
html[data-theme] body.csu-shell .csu-widgets .section-title>.icon{padding:9px;stroke-width:1.7}
html[data-theme] body.csu-shell .csu-widgets .csu-widget-heading>span .icon{width:19px;height:19px}
html[data-theme] body.csu-shell .csu-widgets .req-heading h2,
html[data-theme] body.csu-shell .csu-widgets .csu-widget-heading h2{font-size:15px;line-height:1.3;font-weight:740;color:var(--csu-text)!important}
html[data-theme] body.csu-shell .csu-widgets .req-heading p,
html[data-theme] body.csu-shell .csu-widgets .csu-widget-heading p{font-size:11px;color:var(--csu-muted)!important}
html[data-theme] body.csu-shell .csu-widgets .home-refresh{
  margin-left:auto;min-width:38px;min-height:38px;width:38px;height:38px;
  border-radius:10px!important;display:grid;place-items:center;padding:8px!important;
  border:1px solid var(--csu-line)!important;background:var(--csu-panel-2)!important;
}
html[data-theme] body.csu-shell .csu-widgets .home-refresh:hover{border-color:var(--portal-accent)!important}
html[data-theme] body.csu-shell .csu-widgets .home-refresh .icon{width:17px;height:17px}
html[data-theme] body.csu-shell .csu-widgets .kpis{gap:12px}
html[data-theme] body.csu-shell .csu-widgets .kpi{
  background:var(--csu-panel-2)!important;box-shadow:none!important;
  border:1px solid var(--csu-line)!important;border-top:3px solid var(--csu-blue)!important;
  border-radius:12px!important;padding:16px!important;gap:11px;min-height:138px;
}
html[data-theme] body.csu-shell .csu-widgets .kpi.green{border-top-color:var(--csu-green)!important}
html[data-theme] body.csu-shell .csu-widgets .kpi.amber{border-top-color:var(--csu-amber)!important}
html[data-theme] body.csu-shell .csu-widgets .kpi.red{border-top-color:var(--csu-red)!important}
html[data-theme] body.csu-shell .csu-widgets .kpi h2{
  font-size:10px;min-height:24px;line-height:1.5;letter-spacing:.65px;color:var(--csu-muted-strong)!important;
}
html[data-theme] body.csu-shell .csu-widgets .kpi .cardicon{
  display:grid;place-items:center;width:39px;height:39px;flex:0 0 39px;border-radius:11px;
  background:var(--portal-faint);color:var(--portal-accent);
}
html[data-theme] body.csu-shell .csu-widgets .kpi .cardicon .icon{height:19px;width:19px}
html[data-theme] body.csu-shell .csu-widgets .kpi.green .cardicon{color:var(--csu-green);background:color-mix(in srgb,var(--csu-green) 11%,var(--csu-panel))}
html[data-theme] body.csu-shell .csu-widgets .kpi.amber .cardicon{color:var(--csu-amber);background:color-mix(in srgb,var(--csu-amber) 11%,var(--csu-panel))}
html[data-theme] body.csu-shell .csu-widgets .kpi.red .cardicon{color:var(--csu-red);background:color-mix(in srgb,var(--csu-red) 11%,var(--csu-panel))}
html[data-theme] body.csu-shell .csu-widgets .kpi .metric{font-size:32px;letter-spacing:-.04em;margin:5px 0 8px}
html[data-theme] body.csu-shell .csu-widgets .kpi .badge{font-size:10px;letter-spacing:0;padding:5px 8px}
html[data-theme] body.csu-shell .csu-widgets :is(.req-metrics,.bornes-metrics,.bornes-detail-grid,.req-badges)>div{
  border:1px solid var(--csu-line)!important;border-radius:11px!important;
  background:var(--csu-panel-2)!important;color:var(--csu-text)!important;
  box-shadow:none!important;
}
html[data-theme] body.csu-shell .csu-widgets :is(.req-metrics,.bornes-metrics,.bornes-detail-grid,.req-badges)>div>span,
html[data-theme] body.csu-shell .csu-widgets :is(.req-metrics,.bornes-metrics,.bornes-detail-grid,.req-badges)>div>small{
  color:var(--csu-muted)!important;
}
html[data-theme] body.csu-shell .csu-widgets :is(.req-metrics,.bornes-metrics)>div>strong,
html[data-theme] body.csu-shell .csu-widgets :is(.bornes-detail-grid,.req-badges)>div>b{
  color:var(--csu-text)!important;
}
html[data-theme] body.csu-shell .csu-widgets .bornes-state{
  background:var(--csu-panel-2)!important;border:1px solid var(--csu-line)!important;
  box-shadow:none!important;border-radius:11px!important;
}
html[data-theme] body.csu-shell .csu-widgets .access{
  background:var(--csu-panel-2)!important;border:1px solid var(--csu-line)!important;
  border-radius:11px!important;padding:12px!important;
}
html[data-theme] body.csu-shell .csu-widgets .access-state{
  background:transparent!important;box-shadow:none!important;border:none!important;margin-bottom:0!important;
}
html[data-theme] body.csu-shell .csu-widgets .home-details{border-top:1px solid var(--csu-line)!important}
html[data-theme] body.csu-shell .csu-widgets .home-details>summary,
html[data-theme] body.csu-shell .csu-widgets .app-link,
html[data-theme] body.csu-shell .csu-widgets .csu-widget-link{
  color:var(--portal-accent)!important;text-decoration:none;font-weight:710;
}
html[data-theme] body.csu-shell .csu-widgets .req-footer{border-top:1px solid var(--csu-line);padding-top:13px;margin-top:15px;gap:8px}
html[data-theme] body.csu-shell .csu-widgets .req-footer>span{font-size:11px;color:var(--csu-muted)!important}
html[data-theme] body.csu-shell .csu-widgets .csu-widget-panel{gap:12px}
html[data-theme] body.csu-shell .csu-widgets .csu-ticket-metric b{font-size:46px}
html[data-theme] body.csu-shell .csu-widgets .csu-shortcut{
  background:var(--csu-panel-2)!important;color:var(--csu-text)!important;
  border:1px solid var(--csu-line)!important;border-radius:11px;
  min-height:52px;padding:12px;
}
html[data-theme] body.csu-shell .csu-widgets .csu-shortcut:hover{border-color:var(--portal-accent)!important;background:var(--portal-faint)!important}
html[data-theme] body.csu-shell .csu-widgets .csu-shortcut>.icon{color:var(--portal-accent);height:18px;width:18px}
html[data-theme] body.csu-shell .csu-widgets .csu-dash-notification{
  border:1px solid var(--csu-line)!important;border-radius:10px;
  background:var(--csu-panel-2)!important;color:var(--csu-text)!important;padding:12px;
}
html[data-theme] body.csu-shell .csu-widgets .csu-dash-notification:hover{border-color:var(--portal-accent)!important}
html[data-theme] body.csu-shell .csu-widgets .csu-dash-notification[data-unread="true"]{border-left:3px solid var(--portal-accent)!important}
html[data-theme] body.csu-shell .csu-widgets .csu-widget-tools{
  background:var(--csu-panel-2)!important;color:var(--csu-muted)!important;
  border-color:var(--csu-line-strong)!important;border-radius:10px!important;
}
html[data-theme] body.csu-shell .csu-widgets .csu-widget-tools button{
  background:var(--csu-panel)!important;color:var(--csu-text)!important;border:1px solid var(--csu-line)!important;
}
html[data-theme] body.csu-shell .csu-widgets .csu-widget-tools button:hover{border-color:var(--portal-accent)!important}
/* Page complète des notifications */
html[data-theme] body.csu-shell .csu-notifications-view{max-width:1250px;margin:0 auto}
html[data-theme] body.csu-shell .csu-notify-header{align-items:flex-start}
html[data-theme] body.csu-shell .csu-notify-header p{font-size:13px;color:var(--csu-muted)!important;margin-top:9px}
html[data-theme] body.csu-shell .csu-notify-actions{gap:10px;justify-content:flex-end}
html[data-theme] body.csu-shell .csu-notify-actions .secondary .icon{flex-shrink:0}
html[data-theme] body.csu-shell .csu-notify-page{
  max-width:none;
  padding:6px 20px;
  border:1px solid var(--csu-line)!important;border-radius:var(--portal-r)!important;
  background:var(--csu-panel)!important;box-shadow:var(--portal-card-shadow)!important;
}
html[data-theme] body.csu-shell .csu-notify-line{
  color:var(--csu-text)!important;text-decoration:none;
  border-color:var(--csu-line)!important;border-radius:10px;
  padding:17px 15px;margin:5px 0;
  transition:background .15s;
}
html[data-theme] body.csu-shell .csu-notify-line:hover{background:var(--csu-panel-2)!important;filter:none}
html[data-theme] body.csu-shell .csu-notify-line.csu-notify-unread{
  background:var(--portal-faint)!important;border-left:3px solid var(--portal-accent);
}
html[data-theme] body.csu-shell .csu-notify-line-body strong{font-size:13px;font-weight:740}
html[data-theme] body.csu-shell .csu-notify-line-body span{font-size:12px;color:var(--csu-muted)!important}
html[data-theme] body.csu-shell .csu-notify-line-body small{letter-spacing:0;font-size:10px;color:var(--csu-muted)!important;font-weight:500}
html[data-theme] body.csu-shell .csu-notify-source{
  width:42px;height:42px;background:var(--csu-panel-2)!important;
  color:var(--portal-accent)!important;border:1px solid var(--csu-line)!important;
  border-radius:11px;flex:0 0 42px;
}
html[data-theme] body.csu-shell .csu-notify-source .icon{width:19px;height:19px}
html[data-theme] body.csu-shell .csu-notify-result{margin:0 0 13px}
/* Général : garder une cohérence sur les pages administration et compte */
html[data-theme] body.csu-shell main>section,
html[data-theme] body.csu-shell main>.savebar,
html[data-theme] body.csu-shell main>.config-row{
  border-radius:var(--portal-r);
}
html[data-theme] body.csu-shell main :is(button,a,input,select,textarea):focus-visible{
  outline:2px solid var(--portal-accent)!important;outline-offset:3px;
}
/* Mobile */
@media(max-width:1100px){
  html[data-theme] body.csu-shell .csu-dash-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  html[data-theme] body.csu-shell .csu-home-header{align-items:flex-start;margin-bottom:17px}
  html[data-theme] body.csu-shell .csu-home-header h1{font-size:27px}
  html[data-theme] body.csu-shell .csu-home-header-subtitle{font-size:12px}
  html[data-theme] body.csu-shell .csu-home-header .head-actions{margin-top:4px;gap:7px}
  html[data-theme] body.csu-shell .csu-home-header .avatar{display:none}
  html[data-theme] body.csu-shell .csu-notify-bell{width:44px;height:44px;min-height:44px;min-width:44px}
  html[data-theme] body.csu-shell .csu-dash-toolbar{align-items:flex-start;gap:15px;padding:14px}
  html[data-theme] body.csu-shell .csu-dash-intro-icon{height:39px;width:39px;flex-basis:39px}
  html[data-theme] body.csu-shell .csu-dash-actions{width:100%;gap:8px}
  html[data-theme] body.csu-shell .csu-dash-actions button{min-width:0;flex:1}
  html[data-theme] body.csu-shell .csu-dash-catalog{padding:14px}
  html[data-theme] body.csu-shell .csu-dash-catalog-grid{grid-template-columns:1fr}
  html[data-theme] body.csu-shell .csu-dash-add{min-height:78px}
  html[data-theme] body.csu-shell .csu-widgets>.csu-widget{padding:15px!important}
  html[data-theme] body.csu-shell .csu-widgets>.csu-widget:has(.kpis){padding:10px!important}
  html[data-theme] body.csu-shell .csu-widgets .kpi{padding:12px!important;min-height:116px}
  html[data-theme] body.csu-shell .csu-widgets .kpi .cardicon{width:35px;height:35px;flex-basis:35px}
  html[data-theme] body.csu-shell .csu-notify-header{flex-direction:column;gap:14px}
  html[data-theme] body.csu-shell .csu-notify-actions{width:100%;justify-content:flex-start}
  html[data-theme] body.csu-shell .csu-notify-actions .secondary{flex:1}
  html[data-theme] body.csu-shell .csu-notify-page{padding:7px}
  html[data-theme] body.csu-shell .csu-notify-line{padding:14px 9px;gap:10px}
  html[data-theme] body.csu-shell .csu-notify-source{width:36px;height:36px;flex-basis:36px}
}
@media(max-width:400px){
  html[data-theme] body.csu-shell .csu-home-header{gap:8px}
  html[data-theme] body.csu-shell .csu-home-header h1{font-size:25px}
  html[data-theme] body.csu-shell .csu-home-header small{font-size:9px;letter-spacing:1px}
  html[data-theme] body.csu-shell .csu-notify-actions .secondary{padding:9px;font-size:11px}
  html[data-theme] body.csu-shell .csu-widgets .req-heading h2{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
 html[data-theme] body.csu-shell .csu-dash-add,
 html[data-theme] body.csu-shell .csu-notify-bell,
 html[data-theme] body.csu-shell .csu-widgets>.csu-widget{transition:none!important}
}
/* Ajustements de contraste : neutraliser les fonds hérités de l'ancien thème. */
html[data-theme] body.csu-shell .csu-widgets .kpi .metric{
  display:block;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--csu-text)!important;
  border:0!important;
  min-width:0;
  padding:0;
}
html[data-theme="light"] body.csu-shell .csu-notify-line.csu-notify-unread{
  background:#eaf3ff!important;
  color:#172433!important;
  border-left:3px solid #0f6fe8;
}
html[data-theme="dark"] body.csu-shell .csu-notify-line.csu-notify-unread{
  background:#142b46!important;
  color:var(--csu-text)!important;
  border-left:3px solid #4a9bff;
}
html[data-theme] body.csu-shell .csu-notify-line.csu-notify-unread:hover{filter:none!important}
@media(max-width:700px){
  html[data-theme] body.csu-shell .csu-home-header h1{font-size:23px;white-space:nowrap}
}
@media(max-width:400px){
  html[data-theme] body.csu-shell .csu-home-header h1{font-size:22px}
}
