/* Sabuy Care design tokens — Phase C (2026-11-06). Loaded before every other stylesheet.
   Updated 2026-11-07 from the client logo: teal, soft orange and neutral white; owner authorized Clean modern refresh. Components use semantic tokens.
   Structure borrowed from the AIA design-md discipline (semantic tokens, fixed scales, explicit states); no AIA colours or fonts. */
:root{
 --color-brand-teal:#7ab8be;--color-brand-orange:#f3ad55;--color-brand-teal-pale:#dff0f1;
 --color-action:#0e4d45;--color-action-hover:#0a3d36;

 /* Colour — semantic */
 --color-text-primary:#0e4d45;      /* forest: headings, body on light */
 --color-text-muted:#56676a;        /* secondary copy on light (5.9:1 on sunken) */
 --color-text-accent:#92531b;       /* brass text, eyebrows, focus (5.0:1 on ivory) */
 --color-text-inverse:#ffffff;      /* text on forest */
 --color-text-inverse-muted:#daeeee;
 --color-surface-base:#f8fbfc;      /* ivory page */
 --color-surface-raised:#ffffff;    /* cards, inputs, sheets */
 --color-surface-sunken:#eef7f7;    /* tracks, chips */
 --color-surface-inverse:#0e4d45;   /* header, bands */
 --color-surface-inverse-deep:#0b3d36;
 --color-border-subtle:#dbe7e8;
 --color-border-strong:#f3ad55;     /* decorative gold rules and highlighted column */
 --color-decor-gold:#f3ad55;        /* decoration only — never text on ivory (2.5:1) */
 --color-focus:#92531b;           /* on light surfaces (5.0:1 vs ivory) */
 --color-focus-inverse:#ffe0b5;   /* on forest surfaces (7.1:1); brass would be 2.3:1 there */
 --color-status-pending-bg:#fff2e1;
 --color-status-pending-text:#79501e;
 --color-status-error:#8b3430;
 --color-status-error-bg:#f6e3de;
 --color-status-success:#305a38;
 --color-status-success-bg:#e2ebdf;

 /* Typography — Prompt 400/600; Thai running text 18px. Minimum 12px for real content. */
 --font-family-base:Prompt,"Noto Sans Lao","Lao Sangam MN",system-ui,sans-serif;
 --font-size-xs:12px;   /* labels, disclosure badges, legal */
 --font-size-sm:14px;   /* metadata, buttons in dense cards */
 --font-size-md:16px;   /* secondary copy, inputs (no iOS zoom) */
 --font-size-lg:18px;   /* Thai body */
 --font-size-xl:20px;
 --font-size-2xl:22px;  /* card titles */
 --font-size-3xl:26px;
 --font-size-4xl:30px;  /* section titles (mobile) */
 --font-size-5xl:36px;
 --font-size-6xl:44px;  /* section/page titles (desktop) */
 --font-size-7xl:56px;
 --font-size-8xl:72px;  /* stat numerals */
 --font-size-mock:10px; /* ONLY inside decorative miniature mock-ups (phone/paper/calendar) that carry an aria-label */

 /* Space — 4px base */
 --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-7:32px;--space-8:48px;--space-9:64px;--space-10:84px;

 /* Radius */
 --radius-sm:6px;       /* chips, small labels */
 --radius-md:8px;       /* inputs, thumbnails */
 --radius-lg:12px;      /* panels */
 --radius-xl:18px;      /* cards */
 --radius-2xl:28px;     /* large panels, soft photo frame */
 --radius-feature:48px; /* feature corners (process banner, phone) */
 --radius-signature:96px; /* the one concave corner of story photos */
 --radius-pill:999px;   /* capsule buttons, status pills */

 /* Elevation */
 --shadow-1:0 2px 8px rgb(18 59 44 / .06);
 --shadow-2:0 8px 24px rgb(18 59 44 / .09);
 --shadow-3:0 18px 40px rgb(18 59 44 / .16);

 /* Motion — micro-interactions use these; entrance choreography (0.6–1.05s) lives in motion.js */
 --motion-instant:150ms;--motion-fast:200ms;--motion-normal:250ms;--motion-slow:300ms;--motion-emphasis:400ms;--motion-photo:800ms;
 --ease-standard:cubic-bezier(.22,.61,.36,1);

 /* Focus */
 --focus-ring:3px solid var(--color-focus);
 --focus-offset:4px;
}
