/*
 * CR062 — Doccio palette as the --cl-* cascade floor.
 *
 * The platform registration shell paints from these variables. Doccio owns its
 * palette outright (deep indigo on white, powder-blue accents); a clinic-branding
 * colours.css from the API would still override these, but Doccio publishes none.
 */

:root {
  --cl-primary: #2a2f7c;
  --cl-primary-fg: #ffffff;
  --cl-primary-hover: #23286b;
  --cl-bg: #ffffff;
  --cl-fg: #2a2f7c;
  --cl-card: #ffffff;
  --cl-card-fg: #2a2f7c;
  --cl-muted: #f4f4f4;
  --cl-muted-fg: #6f7799;
  --cl-border: #dfe1ec;
  --cl-focus-ring: #2a2f7c;
  --cl-danger: #b3382b;
  --cl-success: #3f8f78;
  --cl-warning: #b98120;
}

[data-theme="dark"],
.dark {
  --cl-primary: #b9c6e8;
  --cl-primary-fg: #1a1d45;
  --cl-primary-hover: #cfd8f0;
  --cl-bg: #1c1f3f;
  --cl-fg: #f2f3fa;
  --cl-card: #262a52;
  --cl-card-fg: #f2f3fa;
  --cl-muted: #2f3460;
  --cl-muted-fg: #aab1cf;
  --cl-border: #3d4270;
  --cl-focus-ring: #b9c6e8;
  --cl-danger: #f28b7d;
  --cl-success: #7fd0b6;
  --cl-warning: #f2c46b;
}
