/* SCOREbyRD semantic palette. Shared UI foundation; see docs/ui-theme-rollout.md. */
:root{
  --score-ui-body-size:1rem;--score-ui-button-size:.9375rem;
  --score-ui-h1-size:2rem;--score-ui-h2-size:1.5rem;--score-ui-h3-size:1.25rem;
  --score-ui-control-radius:10px;--score-ui-card-radius:16px;
  --score-ui-space-1:4px;--score-ui-space-2:8px;--score-ui-space-3:12px;
  --score-ui-space-4:16px;--score-ui-space-5:24px;--score-ui-space-6:32px;
}
:root,
[data-score-theme="dark"] {
  --score-brand-turquoise: #00d3e5;
  --score-ui-bg: #0b1623;
  --score-ui-surface: #12263a;
  --score-ui-surface-raised: #1b334b;
  --score-ui-text: #e8eef6;
  --score-ui-text-muted: #9fb3c8;
  --score-ui-border: #2c455c;
  --score-ui-input-border: #617c91;
  --score-ui-primary: #00d3e5;
  --score-ui-primary-text: #08232e;
  --score-ui-primary-hover: #48dbe8;
  --score-ui-link: #48dbe8;
  --score-ui-focus: #00d3e5;
  --score-ui-selected-bg: #123c48;
  --score-ui-selected-text: #87edf4;
  --score-ui-success: #5cdaa0;
  --score-ui-success-bg: #102f2b;
  --score-ui-warning: #f4b544;
  --score-ui-warning-bg: #332a18;
  --score-ui-danger: #ff7a86;
  --score-ui-danger-bg: #3b202b;
  --score-ui-danger-hover: #ff9aa3;
  --score-ui-caution-bg: #f4b544;
  --score-ui-caution-text: #08232e;
  --score-ui-caution-border: #f4b544;
  --score-ui-caution-hover: #ffca6b;
  --score-ui-info: #77bfff;
  --score-ui-info-bg: #172f49;
}

[data-score-theme="light"] {
  --score-ui-bg: #f3f7fa;
  --score-ui-surface: #ffffff;
  --score-ui-surface-raised: #e9f0f5;
  --score-ui-text: #142b3f;
  --score-ui-text-muted: #526b80;
  --score-ui-border: #c9d7e2;
  --score-ui-input-border: #647f93;
  --score-ui-primary: #007e8a;
  --score-ui-primary-text: #ffffff;
  --score-ui-primary-hover: #006d78;
  --score-ui-link: #006d78;
  --score-ui-focus: #007e8a;
  --score-ui-selected-bg: #dff5f6;
  --score-ui-selected-text: #00616d;
  --score-ui-success: #137548;
  --score-ui-success-bg: #e6f6ee;
  --score-ui-warning: #855500;
  --score-ui-warning-bg: #fff3d6;
  --score-ui-danger: #b42336;
  --score-ui-danger-bg: #ffedf0;
  --score-ui-danger-hover: #951e2e;
  --score-ui-caution-bg: #fff3d6;
  --score-ui-caution-text: #142b3f;
  --score-ui-caution-border: #b77900;
  --score-ui-caution-hover: #ffe4a3;
  --score-ui-info: #1a63a3;
  --score-ui-info-bg: #eaf3ff;
}
