/* Design tokens — Prototype V2 (§12 prototype_integration.md + structure §9) */
:root {
  /* Palette olive naturelle (V2 green refresh) */
  --color-primary: #5f7a2f;
  --color-primary-hover: #4e6825;
  --color-primary-soft: #eef4df;
  --color-success: #3f8a5a;
  --color-success-dark: #2d6c45;
  --color-accent: #8c6a3f;
  --color-warning: #b07b2c;
  --color-danger: #b14d3f;
  --color-text: #31402d;
  --color-text-muted: #6a7663;
  --color-bg-light: #f7f8f2;
  --color-white: #ffffff;

  /* Neutres / UI */
  --color-text-strong: #1f2a1c;
  --color-border: #d4ddc7;
  --color-border-subtle: #e7eddc;
  --color-border-dark: #a2b092;
  --color-surface: #ffffff;
  --color-surface-muted: #f4f7ea;
  --color-surface-hover: #edf3df;
  --color-surface-subtle: #fafcf5;
  --shadow-soft: 0 8px 20px rgba(57, 79, 34, 0.08);
  --shadow-card: 0 4px 12px rgba(57, 79, 34, 0.07);
  --gradient-page: linear-gradient(180deg, #f8f9f2 0%, #f3f6ea 100%);
  --gradient-hero: linear-gradient(135deg, #f4f8e7 0%, #edf4da 50%, #e6efcf 100%);
  --gradient-primary: linear-gradient(135deg, #6f8c37 0%, #5f7a2f 55%, #4e6825 100%);
  --gradient-surface-warm: linear-gradient(180deg, #ffffff 0%, #f7faef 100%);

  /* Typographie */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Structure (layout) */
  --max-patient: 428px;
  /* Référence / dettes ; .layout-pro en pleine largeur (tablette paysage). */
  --max-pro: 1024px;
  --sidebar-width: 220px;
  --sidebar-collapsed: 56px;
  --bottom-nav-height: 60px;
  --header-height: 52px;
  --gap-sm: 8px;
  --gap-md: 16px;
  --gap-lg: 24px;
  --bp-mobile: 428px;
  --bp-tablet: 768px;
}
