/*! Parea theme for Arc 1.0.0 (2026-11-24). https://brand.parea.health
 * Generated from tokens/parea.tokens.mjs by npm run build. Do not edit by hand.
 * Load after components/arc/foundation.css. It only overrides tokens, never component CSS.
 * Spacing is left to Arc so each product keeps its density.
 */

:root {
  --font-display: "Google Sans Flex Variable", "Google Sans Flex", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Google Sans Flex Variable", "Google Sans Flex", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Google Sans Code Variable", "Google Sans Code", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-round-display: "ROND" 100;
  --font-round-body: "ROND" 0;
  --tracking-display: -0.03em;
  --tracking-heading: -0.015em;
  --tracking-body: -0.005em;
  --leading-display: 1.04;
  --leading-heading: 1.2;
  --leading-tight: 1.35;
  --text-display-sm: clamp(2.25rem, 1.55rem + 2.8vw, 3.5rem);
  --text-display-md: clamp(2.75rem, 1.6rem + 4.6vw, 5rem);
  --text-display-lg: clamp(3.25rem, 1.4rem + 7vw, 6.75rem);
  --measure: 66ch;
  --radius-pill: 9999px;
  --radius-tile: 18%;
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-exit: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: linear(0, 0.0213, 0.0739, 0.1443, 0.2235, 0.305, 0.3849, 0.4606, 0.5305, 0.594, 0.6508, 0.7011, 0.7452, 0.7836, 0.8168, 0.8454, 0.8699, 0.8907, 0.9084, 0.9234, 0.9361, 0.9467, 0.9557, 0.9632, 0.9694, 0.9747, 0.979, 0.9826, 0.9857, 0.9882, 0.9902, 0.992, 0.9934, 0.9946, 0.9955, 0.9963, 1);
  --duration-instant: 100ms;
  --duration-fast: 150ms;
  --duration-standard: 200ms;
  --duration-considered: 360ms;
  --duration-spring: 440ms;
  --focus-ring: transparent;
  /* Arc components read a few neutrals directly. They become Tanne. */
  --neutral-0: oklch(100% 0 0);
  --neutral-1: oklch(98.2% 0.004 168);
  --neutral-2: oklch(96.6% 0.006 168);
  --neutral-3: oklch(95% 0.008 170);
  --neutral-4: oklch(91.5% 0.01 171);
  --neutral-5: oklch(84% 0.014 173);
  --neutral-6: oklch(72% 0.018 175);
  --neutral-7: oklch(59% 0.022 176);
  --neutral-8: oklch(46% 0.026 177);
  --neutral-9: oklch(34% 0.035 178);
  --neutral-10: oklch(23% 0.036 178);
  --neutral-11: oklch(16% 0.022 178);
  /* Arc ships a lavender gradient. Lilac is reserved at Parea, so the backdrop becomes Minze. */
  --arc-gradient-from: oklch(90.5% 0.07 168);
  --arc-gradient-to: oklch(95% 0.0425 168);
  --arc-gradient: linear-gradient(100deg, var(--arc-gradient-from), var(--arc-gradient-to));
  --arc-gradient-foreground: oklch(26% 0.04 178);
  --arc-gradient-soft: linear-gradient(135deg, oklch(97.4% 0.025 168), oklch(98.2% 0.004 168));
  --arc-gradient-line: linear-gradient(100deg, oklch(84% 0.1 168), oklch(90.5% 0.07 168));
  --arc-gradient-ink: linear-gradient(100deg, oklch(42% 0.1025 168), oklch(50% 0.1187 168));
}

:root[data-theme="dark"] {
  --arc-gradient-from: oklch(34.5% 0.085 168);
  --arc-gradient-to: oklch(28% 0.0688 168);
  --arc-gradient-foreground: oklch(96% 0.03 168);
  --arc-gradient-soft: linear-gradient(135deg, oklch(23% 0.03 172), oklch(21% 0.018 178));
  --arc-gradient-line: linear-gradient(100deg, oklch(42% 0.1025 168), oklch(34.5% 0.085 168));
  --arc-gradient-ink: linear-gradient(100deg, oklch(84% 0.1 168), oklch(90.5% 0.07 168));
}

:root, :root[data-theme="light"] {
  --background: oklch(98.2% 0.004 168); /* #f7faf8 */
  --surface: oklch(100% 0 0); /* #ffffff */
  --surface-raised: oklch(100% 0 0); /* #ffffff */
  --surface-muted: oklch(96.6% 0.006 168); /* #f0f5f3 */
  --surface-warm: oklch(96.2% 0.012 86); /* #f6f2ea */
  --surface-brand: oklch(90.5% 0.07 168); /* #b3efd7 */
  --surface-inverse: oklch(26% 0.04 178); /* #092a24 */
  --foreground: oklch(26% 0.04 178); /* #092a24 */
  --text-secondary: oklch(42.5% 0.028 178); /* #3e544e */
  --text-muted: oklch(50% 0.024 177); /* #556863 */
  --text-inverse: oklch(98.5% 0.008 168); /* #f5fcf9 */
  --text-on-brand: oklch(26% 0.04 178); /* #092a24 */
  --border: oklch(92% 0.01 170); /* #dee7e3 */
  --border-subtle: oklch(95% 0.007 170); /* #eaf0ee */
  --border-strong: oklch(62% 0.02 176); /* #7a8a86 */
  --accent: oklch(50% 0.1187 168); /* #007856 */
  --accent-strong: oklch(42% 0.1025 168); /* #005e42 */
  --accent-subtle: oklch(50% 0.119 168 / 0.11); /* #007856 at 11% */
  --accent-foreground: oklch(100% 0 0); /* #ffffff */
  --control-on: oklch(50% 0.1187 168); /* #007856 */
  --control-glyph: oklch(100% 0 0); /* #ffffff */
  --control-track: oklch(89% 0.012 172); /* #d3ddda */
  --control-track-hover: oklch(85.5% 0.014 172); /* #c7d2ce */
  --control-thumb: oklch(100% 0 0); /* #ffffff */
  --control-thumb-on: oklch(100% 0 0); /* #ffffff */
  --control-fill: oklch(50% 0.1187 168); /* #007856 */
  --success: oklch(50% 0.1187 168); /* #007856 */
  --warning: oklch(55.5% 0.1283 70); /* #a26300 */
  --danger: oklch(53% 0.1805 25); /* #be2e31 */
  --info: oklch(51% 0.1187 240); /* #006da2 */
  --success-subtle: oklch(50% 0.119 168 / 0.1); /* #007856 at 10% */
  --warning-subtle: oklch(55.5% 0.128 70 / 0.13); /* #a16300 at 13% */
  --danger-subtle: oklch(53% 0.18 25 / 0.09); /* #be2e31 at 9% */
  --info-subtle: oklch(51% 0.119 240 / 0.09); /* #006da3 at 9% */
  --assistant: oklch(51% 0.152 298); /* #724db0 */
  --assistant-strong: oklch(43% 0.1312 298); /* #5a3b8d */
  --assistant-subtle: oklch(51% 0.152 298 / 0.08); /* #724db0 at 8% */
  --assistant-border: oklch(84% 0.128 298); /* #d4baff */
  --focus-outline: oklch(42% 0.103 168 / 0.85); /* #005e42 at 85% */
  --tone-teal: oklch(50% 0.09 195); /* #007373 */
  --tone-sky: oklch(51% 0.11 240); /* #136d9e */
  --tone-indigo: oklch(50% 0.13 268); /* #445dad */
  --tone-rose: oklch(53% 0.15 355); /* #ab3f70 */
  --tone-amber: oklch(55% 0.12 68); /* #9f6202 */
  --tone-green: oklch(50% 0.12 155); /* #0b7643 */
  --tone-sand: oklch(51% 0.045 78); /* #746349 */
  --series-1: oklch(50% 0.1187 168); /* #007856 */
  --series-2: oklch(51% 0.13 250); /* #1b69ad */
  --series-3: oklch(66% 0.14 72); /* #c68206 */
  --series-4: oklch(55% 0.16 5); /* #b93f65 */
  --shadow-resting: 0 1px 2px oklch(26% 0.04 178 / 0.05);
  --shadow-raised: 0 6px 18px oklch(26% 0.04 178 / 0.08), 0 1px 3px oklch(26% 0.04 178 / 0.05);
  --shadow-floating: 0 20px 48px oklch(26% 0.04 178 / 0.14), 0 3px 10px oklch(26% 0.04 178 / 0.06);
  /* Arc badge tones that Parea renames or reserves. */
  --tone-violet: var(--assistant);
  --tone-orchid: var(--tone-rose);
}

:root[data-theme="dark"] {
  --background: oklch(17.5% 0.014 178); /* #0a1310 */
  --surface: oklch(20.5% 0.016 178); /* #0f1a17 */
  --surface-raised: oklch(23.5% 0.018 178); /* #15211e */
  --surface-muted: oklch(26% 0.02 178); /* #192724 */
  --surface-warm: oklch(25% 0.014 78); /* #25211a */
  --surface-brand: oklch(33% 0.055 170); /* #113e31 */
  --surface-inverse: oklch(96% 0.008 168); /* #edf4f1 */
  --foreground: oklch(96% 0.008 168); /* #edf4f1 */
  --text-secondary: oklch(79% 0.016 172); /* #b1beb9 */
  --text-muted: oklch(67% 0.018 174); /* #8b9994 */
  --text-inverse: oklch(26% 0.04 178); /* #092a24 */
  --text-on-brand: oklch(96% 0.03 168); /* #e0f9ee */
  --border: oklch(29% 0.018 178); /* #222e2b */
  --border-subtle: oklch(25% 0.016 178); /* #192422 */
  --border-strong: oklch(54% 0.022 176); /* #62736e */
  --accent: oklch(80% 0.125 168); /* #5ed7ae */
  --accent-strong: oklch(89% 0.085 168); /* #a2edd0 */
  --accent-subtle: oklch(72% 0.14 168 / 0.16); /* #1fc094 at 16% */
  --accent-foreground: oklch(19% 0.03 178); /* #031814 */
  --control-on: oklch(62% 0.13 168); /* #009e77 */
  --control-glyph: oklch(100% 0 0); /* #ffffff */
  --control-track: oklch(34% 0.02 178); /* #2d3b38 */
  --control-track-hover: oklch(38% 0.022 178); /* #364642 */
  --control-thumb: oklch(97% 0.005 168); /* #f2f6f4 */
  --control-thumb-on: oklch(100% 0 0); /* #ffffff */
  --control-fill: oklch(62% 0.13 168); /* #009e77 */
  --success: oklch(80% 0.125 168); /* #5ed7ae */
  --warning: oklch(83% 0.12 78); /* #f2bd68 */
  --danger: oklch(74% 0.15 22); /* #fb817f */
  --info: oklch(79% 0.095 236); /* #7cc4f0 */
  --success-subtle: oklch(72% 0.14 168 / 0.15); /* #1fc094 at 15% */
  --warning-subtle: oklch(78% 0.13 75 / 0.15); /* #e8aa4e at 15% */
  --danger-subtle: oklch(66% 0.18 24 / 0.17); /* #ec5b59 at 17% */
  --info-subtle: oklch(68% 0.12 238 / 0.17); /* #44a2d9 at 17% */
  --assistant: oklch(79% 0.11 300); /* #c5aaf7 */
  --assistant-strong: oklch(87% 0.075 300); /* #dbcaff */
  --assistant-subtle: oklch(66% 0.15 298 / 0.16); /* #9e7be1 at 16% */
  --assistant-border: oklch(45% 0.1 298); /* #5c4785 */
  --focus-outline: oklch(84% 0.11 168 / 0.9); /* #7ce2bd at 90% */
  --tone-teal: oklch(79% 0.1 195); /* #62cfce */
  --tone-sky: oklch(79% 0.095 236); /* #7cc4f0 */
  --tone-indigo: oklch(77% 0.105 268); /* #97b2f8 */
  --tone-rose: oklch(76% 0.12 355); /* #ed90b5 */
  --tone-amber: oklch(83% 0.12 78); /* #f2bd68 */
  --tone-green: oklch(80% 0.13 155); /* #72d699 */
  --tone-sand: oklch(78% 0.045 80); /* #c7b597 */
  --series-1: oklch(82% 0.12 168); /* #6bddb5 */
  --series-2: oklch(67% 0.13 252); /* #5599e2 */
  --series-3: oklch(87% 0.12 88); /* #f5d073 */
  --series-4: oklch(61% 0.17 5); /* #d24d75 */
  --shadow-resting: 0 1px 2px oklch(0% 0 0 / 0.2);
  --shadow-raised: 0 8px 22px oklch(0% 0 0 / 0.26);
  --shadow-floating: 0 22px 55px oklch(0% 0 0 / 0.4);
  /* Arc badge tones that Parea renames or reserves. */
  --tone-violet: var(--assistant);
  --tone-orchid: var(--tone-rose);
}

/* Arc ships eight accents. Parea uses one, so every accent name resolves to it. */
:root[data-accent] { --accent: oklch(50% 0.1187 168); --accent-strong: oklch(42% 0.1025 168); --accent-subtle: oklch(50% 0.119 168 / 0.11); --accent-foreground: oklch(100% 0 0); --control-on: oklch(50% 0.1187 168); --control-fill: oklch(50% 0.1187 168); --control-thumb-on: oklch(100% 0 0); --control-glyph: oklch(100% 0 0); }
:root[data-theme="dark"][data-accent] { --accent: oklch(80% 0.125 168); --accent-strong: oklch(89% 0.085 168); --accent-subtle: oklch(72% 0.14 168 / 0.16); --accent-foreground: oklch(19% 0.03 178); --control-on: oklch(62% 0.13 168); --control-fill: oklch(62% 0.13 168); --control-thumb-on: oklch(100% 0 0); --control-glyph: oklch(100% 0 0); }

/* Audience: practice. Trained people who use Parea all day. Dense, quiet, fast. */
:root, [data-audience="practice"] {
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1.0625rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.375rem;
  --text-3xl: 1.75rem;
  --text-4xl: 2.125rem;
  --text-5xl: 2.5rem;
  --text-field: 0.875rem;
  --leading-body: 1.45;
  --control-height-sm: 2rem;
  --control-height-md: 2.5rem;
  --control-height-lg: 2.75rem;
  --radius-control: 0.75rem;
  --radius-panel: 1.125rem;
  --radius-surface: 1.5rem;
  --target-min: 2.75rem;
  --focus-outline-width: 2px;
}

/* Audience: patient. Anyone, any age, often on a phone, often anxious. Large, calm, one thing at a time. */
[data-audience="patient"] {
  --text-xs: 0.875rem;
  --text-sm: 1rem;
  --text-base: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.125rem;
  --text-4xl: 2.625rem;
  --text-5xl: 3.25rem;
  --text-field: 1.125rem;
  --leading-body: 1.55;
  --control-height-sm: 2.75rem;
  --control-height-md: 3.25rem;
  --control-height-lg: 3.75rem;
  --radius-control: 1rem;
  --radius-panel: 1.375rem;
  --radius-surface: 1.75rem;
  --target-min: 3rem;
  --focus-outline-width: 3px;
}

@media (pointer: coarse) {
  :root, [data-audience="practice"] { --control-height-sm: 2.75rem; --control-height-md: 2.75rem; --control-height-lg: 3rem; }
}
@media (max-width: 640px) {
  :root, [data-audience="practice"] { --text-field: 1rem; --text-field-floor: 1rem; }
}

/* Headings in the rounded cut. */
:where(h1, h2, [data-parea-display]) { font-variation-settings: var(--font-round-display); }
