/* Gift Hub theme tokens. Warm and neutral; each app section brings its own --app-accent
   (from /theme.css, generated from the feeds). See docs/SPECS.md, "Gift Hub UI". */
:root {
  --bg: #faf6f1;
  --surface: #ffffff;
  --surface-2: #f3ece3;
  --text: #2b2420;
  --text-muted: #6f625a;
  --border: #e4d9cc;
  --primary: #b5472f;
  --primary-text: #ffffff;
  --primary-hover: #9a3b26;
  --focus: #2f6fb5;
  --ok-bg: #e5f2e7;
  --ok-text: #24572d;
  --warn-bg: #fbf0d9;
  --warn-text: #6b4a0c;
  --error-bg: #fbe3df;
  --error-text: #8a2615;
  --danger: #b3261e;
  --p1: #b5472f;
  --p2: #7a5c2e;
  --p3: #5c6b73;
  --app-accent: #7a6f66;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(60 40 20 / 0.06), 0 4px 14px rgb(60 40 20 / 0.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text-base: 1.0625rem;
  --tap: 48px;
  --a0: #c0583e; --a1: #3d7a5c; --a2: #4a68a8; --a3: #9a5a9e;
  --a4: #b8862b; --a5: #2f8a8f; --a6: #7a6650; --a7: #a8445f;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1b1714;
    --surface: #26201c;
    --surface-2: #312923;
    --text: #f2ebe4;
    --text-muted: #b6a89c;
    --border: #3f352e;
    --primary: #e07a5f;
    --primary-text: #1b1714;
    --primary-hover: #eb9077;
    --focus: #7fb0ea;
    --ok-bg: #1f3424; --ok-text: #a9dcb2;
    --warn-bg: #3a2f17; --warn-text: #f0d08a;
    --error-bg: #3d1f1a; --error-text: #f4b1a5;
    --danger: #f08a80;
    --p1: #f0937b; --p2: #d9b77c; --p3: #a9b8c0;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 4px 14px rgb(0 0 0 / 0.25);
  }
}

:root[data-theme="dark"] {
  --bg: #1b1714;
  --surface: #26201c;
  --surface-2: #312923;
  --text: #f2ebe4;
  --text-muted: #b6a89c;
  --border: #3f352e;
  --primary: #e07a5f;
  --primary-text: #1b1714;
  --primary-hover: #eb9077;
  --focus: #7fb0ea;
  --ok-bg: #1f3424; --ok-text: #a9dcb2;
  --warn-bg: #3a2f17; --warn-text: #f0d08a;
  --error-bg: #3d1f1a; --error-text: #f4b1a5;
  --danger: #f08a80;
  --p1: #f0937b; --p2: #d9b77c; --p3: #a9b8c0;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 4px 14px rgb(0 0 0 / 0.25);
}
