/* EYPS design tokens — extraits de Newdesign/assets/css/style.css */
:root {
  --bg:              #FAFAF7;
  --surface:         #FFFFFF;
  --surface-2:       #F4F2EC;
  --border:          #E9E6DD;
  --border-strong:   #D8D4C8;
  --text:            #14181C;
  --text-muted:      #6B7280;
  --text-soft:       #9CA3AF;
  --sidebar-bg:      #0F1419;
  --sidebar-text:    #C7CCD3;
  --sidebar-muted:   #6E7682;
  --sidebar-hover:   #1A2026;
  --sidebar-active:  #1F2630;
  --primary:         #047857;
  --primary-2:       #10B981;
  --primary-soft:    #ECFDF5;
  --amber:           #D97706;
  --amber-soft:      #FEF3C7;
  --rose:            #BE123C;
  --rose-soft:       #FFE4E6;
  --info:            #1D4ED8;
  --info-soft:       #DBEAFE;
  --font-ui:      "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sidebar-w:    248px;
  --topbar-h:     68px;
  --radius:       16px;
  --radius-sm:    10px;
  --radius-xs:    8px;
  --shadow-sm:  0 1px 2px rgba(15, 20, 25, .04);
  --shadow-md:  0 4px 16px -2px rgba(15, 20, 25, .06), 0 2px 4px -2px rgba(15, 20, 25, .04);
  --shadow-lg:  0 12px 32px -8px rgba(15, 20, 25, .12);
  --t-fast: 140ms cubic-bezier(.2, .8, .2, 1);
  --t-med:  240ms cubic-bezier(.2, .8, .2, 1);
  /* Compat héritage KPI */
  --kpi: var(--primary);
  --pink: var(--primary-2);
  --muted: var(--text-muted);
  --accent: var(--primary);
  --success: #16a34a;
  --error: var(--rose);
}

.eyps-layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
  background: var(--bg);
}
.eyps-layout-main {
  min-width: 0;
  padding: 24px 28px 40px;
}
.eyps-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar-h);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.eyps-topbar h1 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
}
.eyps-sidebar {
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  padding: 20px 14px;
}
.eyps-sidebar-brand {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .04em;
  padding: 8px 12px 20px;
  color: #fff;
}
.global-hub.eyps-newdesign .global-hub-card {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
