:root {
  /* LATION 拉讯文旅 (www.lationtravel.com) 官方色彩系统
     Paper Silver (#f5f5f7) · Editorial Ink (#151619) · Logo Spectrum (#CD1765 / #2380B7 / #7D3891 / #EB660F) */
  --bg-canvas: #f5f5f7;
  --bg-surface: #ffffff;
  --bg-subtle: #eeeff3;
  --bg-hover: #f3f4f7;

  --ink-primary: #151619;
  --ink-secondary: #5c626d;
  --ink-muted: #767b86;

  --border-default: #dedee5;
  --border-strong: #c4cad4;

  /* LATION Logo Official Palette */
  --lation-magenta: #cd1765;
  --lation-magenta-hover: #ad1254;
  --lation-blush: #fbf4f7;
  --lation-blush-border: #edd0de;

  --lation-blue: #2380b7;
  --lation-blue-hover: #1b6693;
  --lation-sky: #f3f7fa;
  --lation-sky-border: #c5dced;

  --lation-navy: #1a1430;
  --lation-purple: #7d3891;
  --lation-orange: #eb660f;
  --lation-gold: #f5a020;
  --lation-green: #2c8a4b;

  /* Default Portal Accent (业务端 — LATION Signature Magenta) */
  --accent-primary: var(--lation-magenta);
  --accent-hover: var(--lation-magenta-hover);
  --accent-soft: var(--lation-blush);
  --accent-border: var(--lation-blush-border);

  /* Semantic Finance & Status Tokens (paired with text/symbols, WCAG AA contrast) */
  --inflow-ink: #1e7a44;
  --inflow-bg: #edf8f1;

  --outflow-ink: #b84b08;
  --outflow-bg: #faf4ef;
  --outflow-border: #f2d4bd;

  --queue-ink: #1c6696;
  --queue-bg: #f0f6fb;
  --queue-border: #bfd9ec;

  --danger-ink: #c41c3b;
  --danger-bg: #fdf2f5;
  --danger-border: #f5c6d1;

  --locked-ink: #484e60;
  --locked-bg: #ebedf2;

  /* Typography — Inter + PingFang SC matching www.lationtravel.com */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-num: "SF Mono", "Inter", "Menlo", "Monaco", "Consolas", "PingFang SC", monospace;

  /* Spacing Scale (0.25rem increments) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;

  /* Radii Hierarchy */
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Subtle Structural Shadow */
  --shadow-sm: 0 1px 2px rgba(21, 22, 25, 0.05);
  --shadow-dialog: 0 16px 44px rgba(26, 20, 48, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

::selection {
  background: #f4c6db;
  color: #1a1020;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-canvas);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
