/* 灯鹿 Soft · FROZEN Soft v7.0-final
 * LOCKED 2026-10-13 · do not drift without new version stamp.
 * Soft comfort 乙 overnight lock REVERTED 2026-10-13 · SoT = Soft v7.0-final (vp-dot 28 · consent 12/11 · foot 120×40).
 * Brand brown = wordmark + sparse emphasis (link/focus ok); NOT large selected fill / step fill. green = success/status only.
 * Display/logo = 问藏 wenfeng-wcsf; body CJK = MiSans wenfeng-misa (not misn) (Regular+Medium).
 * Surfaces · v6.4 cream. Buttons · ONLY two heights: 40 default (login/OTP/consent/KYC/fields) · 32 sm (tables/chips/icon).
 * Focus · 1.5px brown ring on fields/buttons. App sidebar selected = white fill (--card), NO brown ring.
 * CTA · near-ink #1a1816 (black) · one primary per screen. Pastel chrome cut: mint+mist only in product.
 */
:root {
  /* surfaces · v6.4 lift kept */
  --page: #fbfaf8;
  --page-2: #f4f2ed;
  --card: #ffffff;
  --side: #f6f4ef;
  --ink: #1a1816;
  --ink-2: #3f3a36;
  --muted: #7a746c;
  --muted-2: #a39b91;
  --line: #ebe7e0;
  --line-strong: #ddd8cf;

  /* brand · deer-hide brown */
  --brown: #6b4f3a;
  --brown-2: #5a4030;
  --brown-soft: #f0e8df;
  --accent: #6b4f3a;
  --accent-2: #5a4030;
  --accent-soft: #f0e8df;
  --btn: #1a1816;
  --btn-fg: #ffffff;
  --link: #6b4f3a;

  /* focus · thin brown ring on fields/buttons · no fat soft glow */
  --focus-w: 1.5px;
  --focus-ring: #6b4f3a;
  /* select chrome · near-ink ring + page-2 wash · NOT brown-soft slab · APP sidebar = white (--nav-on) */
  --select-ring: #1a1816;
  --select-fill: #f4f2ed;
  --nav-on: #ffffff; /* App sidebar selected · white fill · no brown ring */

  /* product accents only · mint success · mist pending · rose need via status-* */
  --soft-mint: #d9eee3;
  --soft-mist: #e4e8e4;
  /* lab-only (do not use in product chrome): soft-sand / soft-sky / soft-lilac removed */

  /* status */
  --status-ok-bg: #d9eee3;
  --status-ok-fg: #1e5a42;
  --status-pending-bg: #e4e8e4;
  --status-pending-fg: #4a5a50;
  --status-need-bg: #ead5d1;
  --status-need-fg: #8a3d35;
  --status-danger-bg: #f0c9c5;
  --status-danger-fg: #922626;

  /* form · v6.8 heights kept */
  --field-bg: #fbfaf8;
  --field-bg-disabled: #f4f2ed;
  --field-error: #922626;
  --field-error-bg: #faf0ee;
  --field-ok: #1e5a42;
  --field-h: 40px;
  --btn-h: 40px;       /* ONLY primary height · login CTA / consent / KYC / OTP code / fields */
  --btn-h-sm: 32px;    /* ONLY intentional dense: table row / filter / side logout / icon hit */
  --label-gap: 6px;    /* label → control (4px grid) */
  --stack-gap: 16px;   /* field → field */
  --group-gap: 8px;    /* OTP input ↔ code btn */

  /* radius · v4 tight · no pills */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;

  /* space · 4px base */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* layout */
  --content-max: 1480px;
  --shell-gap: 24px;
  --card-pad: 28px;
  --section-gap: 48px;

  /* type */
  --fs-11: 11px;
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-28: 28px;
  --fs-32: 32px;
  --lh-tight: 1.2;
  --lh-body: 1.55;
  --lh-loose: 1.7;
  --track-tight: -0.02em;
  --track-title: -0.03em;
  --track-label: 0.04em;
  --fw-body: 400;
  --fw-med: 500;
  --fw-semi: 500;
  --fw-title: 400;
  --font-en: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "wenfeng-wcsf", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-zh: "wenfeng-misa", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font: var(--font-zh), var(--font-en);
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* elevation */
  --shadow-none: none;
  --shadow-soft: 0 1px 0 rgba(26, 24, 22, 0.04);
  --shadow-float: 0 12px 32px rgba(26, 24, 22, 0.06);

  /* motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 120ms;
  --dur: 180ms;

  /* icon */
  --icon-sm: 16px;
  --icon-md: 20px;
  --icon-lg: 24px;
  --hit: 32px;             /* = btn-h-sm · no third height */
  --mark: 36px;
  --vp-dot: 28px;          /* KYC/verify step circle · Soft v7.0-final SoT */
}
