/* URG360 Alpha 1.15.58 — workspace premium.
   Fond légèrement bleuté pour donner du relief aux cartes blanches,
   sans toucher aux écrans cliniques plein écran ni au plan des urgences. */

:root{
  --u360-workspace:#f2f6fb;
  --u360-workspace-2:#edf3f9;
  --u360-surface:#ffffff;
  --u360-surface-border:#d9e4ee;
  --u360-surface-shadow:0 9px 28px rgba(15,44,74,.055);
  --u360-surface-shadow-hover:0 16px 36px rgba(15,44,74,.085);
}

/* Coque générale hors écrans cliniques dédiés. */
body:not(.urg-v26-patient-focus):not(.urg-emergency-board-active) .layout{
  min-height:100vh;
  background:
    radial-gradient(circle at 16% 5%,rgba(45,124,210,.045),transparent 27%),
    radial-gradient(circle at 88% 18%,rgba(44,194,211,.028),transparent 25%),
    linear-gradient(135deg,var(--u360-workspace) 0%,#f5f8fb 42%,var(--u360-workspace-2) 100%);
}

/* Dashboard : cartes blanches nettement distinctes du workspace. */
#dashboardView .module-card{
  background:var(--u360-surface)!important;
  border-color:var(--u360-surface-border)!important;
  border-radius:18px!important;
  box-shadow:var(--u360-surface-shadow)!important;
}
#dashboardView .module-card:hover{
  border-color:#c8d8e7!important;
  box-shadow:var(--u360-surface-shadow-hover)!important;
}

#dashboardView .dashboard-widget{
  background:var(--u360-surface)!important;
  border-color:var(--u360-surface-border)!important;
  border-radius:17px!important;
  box-shadow:0 8px 24px rgba(15,44,74,.05)!important;
}

#dashboardView .dashboard-search{
  background:rgba(255,255,255,.94)!important;
  border-color:#d6e2ec!important;
  box-shadow:0 7px 22px rgba(15,44,74,.05)!important;
  backdrop-filter:blur(8px);
}

#dashboardView .shortcut-grid button,
#dashboardView .dashboard-favorite-btn{
  background:#fff!important;
  border-color:#dde6ef!important;
}
#dashboardView .shortcut-grid button:hover,
#dashboardView .dashboard-favorite-btn:hover{
  background:#f8fbff!important;
  border-color:#cbd9e8!important;
}

/* Titres : contraste un peu plus net sur le nouveau fond. */
#dashboardView .dashboard-welcome h2,
#dashboardView .dashboard-section-head h3,
#dashboardView .widget-head h3{
  color:#102d50;
}
#dashboardView .dashboard-welcome p.muted,
#dashboardView .dashboard-section-head span{
  color:#667c92;
}

/* Topbar volontairement blanche : elle devient la surface de référence. */
body:not(.urg-emergency-board-active) .topbar{
  background:rgba(255,255,255,.97)!important;
  border-bottom-color:#dde6ef!important;
  box-shadow:0 1px 0 rgba(13,45,76,.025)!important;
  backdrop-filter:blur(12px);
}
/* Impression : jamais de fond décoratif. */
@media print{
  body,.layout{background:#fff!important}
}
