/* Direction: Sprig — fresh wellness: warm cream paper, deep leaf green, soft sage surfaces */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f6f4ec;
  --surface: #fffdf8;
  --surface-2: #ecebdf;
  --border: #dcdacb;
  --border-strong: #aeb0a9;
  --ink: #1b2a22;
  --muted: #5b6b61;
  --accent: #2f7d5b;
  --accent-hover: #286a4d;
  --accent-ink: #ffffff;
  --accent-text: #1f6847;
  --accent-strong: #2b7354;
  --accent-soft: #dcefe3;
  --accent-border: #9cbeab;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #dbe6d7;
  --success-strong: #116d34;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #eee1d1;
  --warning-strong: #994607;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #efdad3;
  --danger-strong: #b91c1c;
  --chart-1: #2f7d5b;
  --chart-2: #1795b6;
  --chart-3: #4c499b;
  --chart-4: #b45f97;
  --chart-5: #8b3306;
  --chart-6: #93851b;

  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.02em;
  --radius-card: 20px;
  --radius-btn: 12px;
  --radius-input: 12px;
  --x-water: #3b8fd6;
  --x-protein: #e0703c;
  --x-carb: #d9a521;
  --x-fat: #7b6bd6;
  --x-fiber: #4f9d69;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #07120d;
  --surface: #202a25;
  --surface-2: #131e19;
  --border: #2a332f;
  --border-strong: #515956;
  --ink: #f6f4ec;
  --muted: #969a93;
  --accent: #2f7d5b;
  --accent-hover: #4e9174;
  --accent-ink: #ffffff;
  --accent-text: #5d9a7f;
  --accent-strong: #5d9a7f;
  --accent-soft: #102a1e;
  --accent-border: #194230;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #0a2a18;
  --success-strong: #499c68;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #2d200c;
  --warning-strong: #c57a40;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #2e1410;
  --danger-strong: #d16969;
  --chart-1: #368361;
  --chart-2: #249bbc;
  --chart-3: #7575cb;
  --chart-4: #bb659d;
  --chart-5: #bf623d;
  --chart-6: #9a8c0a;
}

/* Sprig: small touches on top of the design system */
.card { box-shadow: 0 8px 24px -18px rgba(0, 0, 0, 0.25); }
a.card { display: flex; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
#chat { scroll-behavior: smooth; }
@media print {
  .card { box-shadow: none; break-inside: avoid; }
  aside, nav, header, .btn { display: none !important; }
  main { padding: 0 !important; max-width: none !important; }
}
