/* THOM shared design tokens. No dependency on mock screens. */
:root {
  --color-tone-01: #493285;
  --color-surface-white: #fff;
  --color-tone-03: #747971;
  --color-tone-04: #eeede6;
  --color-tone-05: #f7f6f1;
  --color-border-default: #e1dfd7;
  --color-tone-07: #e8e4d9;
  --color-tone-08: #776a59;
  --color-tone-09: #626a5e;
  --color-tone-10: #696065;
  --color-tone-11: #d4cdd0;
  --color-tone-12: #faf9f9;
  --color-tone-13: #f5f4ee;
  --color-tone-14: #596f82;
  --color-tone-15: #656a62;
  --color-tone-16: #efefea;
  --color-tone-17: #959a91;
  --color-tone-18: #6f706b;
  --color-tone-19: #555d52;
  --color-tone-20: rgba(255,255,255,.97);
  --color-tone-21: #e4e4de;
  --color-tone-22: #777c72;
  --color-tone-23: #30202b33;
  --color-tone-24: #323c3266;
  --color-tone-25: #6c6066;
  --color-tone-26: #392a3410;
  --color-tone-27: #e9ede4;
  --color-tone-28: #e8e5db;
  --color-tone-29: #c8c2b1;
  --color-tone-30: #575b50;
  --color-tone-31: #656b5d;
  --color-tone-32: #fffffff5;
  --color-tone-33: #00000007;
  --color-membership-start: #65735d;
  --color-membership-end: #53614f;
  --color-tone-36: #f1f3eb;
  --color-tone-37: #ffffff33;
  --color-tone-38: #455043;
  --color-tone-39: #0002;
  --color-tone-40: #e8edf1;
  --color-tone-41: #f3e3e1;
  --color-brand-greige: #afa999;
  --color-brand-sage: #86957b;
  --color-brand-blue: #8696a4;
  --color-brand-rose: #be8280;
  --color-action-booking: #586e80;
  --color-action-primary: #925e5c;
  --color-action-primary-hover: #7e4f4d;
  --color-action-booking-hover: #465d6f;
  --color-tone-50: #5d6c53;
  --color-tone-51: #f5f5ef;
  --color-surface-page: #f5f4ef;
  --color-tone-53: #818779;
  --color-tone-54: #535a50;
  --color-tone-55: #3f4939;
  --color-tone-56: #727a6c;
  --color-focus-ring: #294e6b;
  --color-tone-58: rgba(175,169,153,.4);
  --color-tone-59: rgba(248,247,242,.94);
  --color-tone-60: rgba(50,55,60,.12);
  --color-text-secondary: #60675d;
  --color-tone-62: #32373c08;
  --color-tone-63: #f8f7f2;
  --color-surface-selected: #f5eae8;
  --color-text-primary: #32373c;
  --font-display: Georgia,serif;
  --font-ui: -apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --control-px: 48px;
  --size-14: 14px;
  --size-10: 10px;
  --size-22: 22px;
  --size-base: 1rem;
  --size-support: .875rem;
  --size-small: .75rem;
  --size-half: .5rem;
  --size-control: 3rem;
  --width-app: 30rem;
  --width-floating: 28.5rem;
  --height-nav: 4.5rem;
  --wine: var(--color-action-primary);
  --rose: var(--color-surface-selected);
  --ink: var(--color-text-primary);
  --muted: var(--color-tone-18);
  --line: var(--color-border-default);
  --paper: var(--color-surface-white);
  --bg: var(--color-surface-page);
  --brand-greige: var(--color-brand-greige);
  --brand-sage: var(--color-brand-sage);
  --brand-blue: var(--color-brand-blue);
  --brand-rose: var(--color-brand-rose);
  --text-body: var(--size-base);
  --text-support: var(--size-support);
  --control-height: var(--size-control);
  --muted: var(--color-text-secondary);
  --button-primary-bg: var(--color-action-primary);
  --button-primary-hover: var(--color-action-primary-hover);
  --button-label: var(--color-surface-white);
  --button-radius: var(--radius-button);
  /* 2026-10 refinement: warm paper canvas, white cards, three colour roles
     (wine = press/selected, sage = membership/state, ink = text), one shape scale. */
  --color-surface-canvas: var(--color-tone-05);
  --color-text-accent: var(--color-tone-08);
  /* Wine text on the rose fill: --color-action-primary is 4.48:1 there, this is 5.72:1 (AA). */
  --color-text-on-selected: var(--color-action-primary-hover);
  --color-border-strong: var(--color-tone-53);
  --radius-sm: .5rem;
  --radius-md: .75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-button: 1.5rem;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(50,55,60,.04),0 6px 18px -10px rgba(50,55,60,.14);
  --shadow-raised: 0 1px 2px rgba(50,55,60,.05),0 10px 28px -14px rgba(50,55,60,.22);
  --tracking-heading: .02em;
  --tracking-eyebrow: .16em;
  --radius-control: var(--radius-md);
  --radius-card: var(--radius-lg);
  /* The login check's membership plate (owner's choice B, 2026-10-07): sage, and a quiet taupe when the check fails.
     White text on them: 5.0:1 (sage) and 4.8:1 (taupe). */
  --color-plate-glow: #7a8771;
  --color-plate-error-start: #7d7062;
  --color-plate-error-end: #685d51;
  /* The home's membership card per plan (owner, 2026-10-07; option A, metals). White text, measured at the lightest
     point under it (sheen included): SILVER 4.59:1, standard 4.65:1, GOLD 4.84:1, PLATINUM 8.5:1. */
  --color-plate-sheen: rgba(255,255,255,.12);
  --color-plan-silver-start: #6f747b;
  --color-plan-silver-end: #555a60;
  --color-plan-gold-start: #826d4b;
  --color-plan-gold-end: #64523a;
  --color-plan-platinum-start: #42464c;
  --color-plan-platinum-end: #2c2f33;
}
/* Chinese pages use the device's Chinese fonts first, so Han characters take the Simplified or Traditional shapes; no web
   font is added (docs/112 §3.7). Japanese words inside them are marked lang="ja" (style.css). */
:lang(zh-Hans) { --font-ui: -apple-system,BlinkMacSystemFont,"PingFang SC","Noto Sans SC","Noto Sans CJK SC","Microsoft YaHei",sans-serif; }
:lang(zh-Hant) { --font-ui: -apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC","Noto Sans CJK TC","Microsoft JhengHei",sans-serif; }

