/**
 * 租F新 Design Tokens — H5 版（业主时间线页/后续 Web 用）
 * 与 miniprogram/styles/tokens.wxss 同源同步；差异：支持 color-mix、px 单位
 */
:root {
  /* A1-identity */
  --bg: #F7F5F1;
  --surface: #FFFFFF;
  --fg: #1F2B26;
  --muted: #6E7B72;
  --accent: #2F4A3E;
  --border: #E3E0D8;
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Inter Tight", "Noto Sans SC", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* A2 */
  --accent-on: #F7F5F1;
  --accent-hover: color-mix(in srgb, var(--accent) 92%, black);
  --accent-active: color-mix(in srgb, var(--accent) 86%, black);
  --success: #4A7C59;
  --warn: #B08850;
  --danger: #A6543F;
  --text-xs: 12px; --text-sm: 14px; --text-md: 16px; --text-lg: 18px;
  --text-xl: 20px; --text-2xl: 24px; --text-3xl: 32px; --text-4xl: 40px;
  --leading-body: 1.6; --leading-tight: 1.2;
  --tracking-body: 0; --tracking-cap: 0.08em; --tracking-display: -0.02em;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; --radius-pill: 9999px;
  --elev-flat: none;
  --elev-ring: 0 0 0 1px var(--border);
  --elev-raised: 0 2px 6px rgba(31, 43, 38, 0.06);
  --focus-ring: 0 0 0 3px rgba(47, 74, 62, 0.3);
  --motion-fast: 150ms; --motion-base: 200ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --container-max: 640px;       /* H5 单列移动优先 */
  --container-gutter: 16px;
  --section-y: 32px;

  /* B-slot */
  --fg-2: #3C4A42;
  --meta: #98A29A;
  --surface-warm: #EDEAE2;
  --border-soft: #EFEDE6;
  --accent-soft: #E8EDE9;
}

/* 深色海报变体（H5 品牌页/海报预览用，非 app 主题） */
:root[data-theme="poster-dark"] {
  --bg: #1D2B24;
  --surface: #24352C;
  --fg: #EDEAE2;
  --muted: #8FA096;
  --accent: #7FA08C;   /* 灰绿亮色，非荧光绿 */
  --accent-on: #1D2B24;
  --border: #3A4A40;
  --surface-warm: #2A3B31;
  --fg-2: #C9D2CC;
  --meta: #6E7E74;
}

/* ═══ C-extension 业务扩展（与 miniprogram/styles/tokens.wxss C 层同源） ═══ */
:root {
  --timeline-line: var(--border);    /* H5/时间线轴线 */
  --timeline-dot: var(--accent);     /* 时间线节点 */
}
