/* AutoHub Syria — design tokens, ported from the clickable prototype (web-prototype-v1.html) */
:root {
  color-scheme: light;
  --surface-1:   #fcfcfb;
  --surface-2:   #ffffff;
  --page-plane:  #f9f9f7;
  --text-primary:   #0b0b0b;
  --text-secondary: #52514e;
  --text-muted:     #898781;
  --gridline:    #e1e0d9;
  --baseline:    #c3c2b7;
  --border:      rgba(11,11,11,0.10);
  --success-text:#006300;
  --brand:       #b53d50;
  --brand-dark:  #7d2a39;
  --brand-tint:  #f7e9eb;
  --status-good:     #0ca30c;
  --status-warning:  #fab219;
  --status-serious:  #ec835a;
  --status-critical: #d03b3b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --header-bg: #242321;
}

@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) {
    color-scheme: dark;
    --surface-1:   #1a1a19;
    --surface-2:   #222221;
    --page-plane:  #0d0d0d;
    --text-primary:   #ffffff;
    --text-secondary: #c3c2b7;
    --text-muted:     #898781;
    --gridline:    #2c2c2a;
    --baseline:    #383835;
    --border:      rgba(255,255,255,0.10);
    --success-text:#0ca30c;
    --brand:       #d97a8a;
    --brand-dark:  #f6d8dd;
    --brand-tint:  #3a2126;
  }
}
