/* Shared identity primitives. Sources: premium-v3.css and approved brand manifest.
   Semantic adapters belong to each shell; this file does not impose page layout. */
:root {
  --wesal-paper: #f4f2eb;
  --wesal-surface: #fffefa;
  --wesal-ink: #17372f;
  --wesal-muted: #56665f;
  --wesal-action: #166347;
  --wesal-action-hover: #257b59;
  --wesal-soft: #dce9cf;
  --wesal-line: #d8ddd3;
  --wesal-control-line: #697c94;
  --wesal-focus: #b57127;
  --wesal-danger: #b3261e;
  --wesal-font: 'IBM Plex Sans Arabic', Arial, sans-serif;
  --wesal-space-1: 4px;
  --wesal-space-2: 8px;
  --wesal-space-3: 12px;
  --wesal-space-4: 16px;
  --wesal-space-6: 24px;
  --wesal-space-8: 32px;
  --wesal-control-radius: 6px;
  --wesal-panel-radius: 12px;
  --wesal-touch: 44px;
  --wesal-hero: #17372f;
  --wesal-on-hero: #fffefa;
}
/* Existing operational dark palette (v2/tokens.css), not a new dark brand. */
html.dark-mode, html[data-theme='dark'] {
  --wesal-paper: #0a1120;
  --wesal-surface: #101a2e;
  --wesal-ink: #e8edf6;
  --wesal-muted: #9fb0c7;
  --wesal-action: #2fb7c6;
  --wesal-action-hover: #43c7d6;
  --wesal-soft: #0e3a44;
  --wesal-line: #223050;
  --wesal-control-line: #5c7392;
  --wesal-focus: #e6ee9c;
  --wesal-danger: #ef9a9a;
}
