:root {
  /* 品牌蓝：与数字化交付演示页面一致 */
  --brand-700: #0b57c2;
  --brand-600: #0082ef;
  --brand-500: #2f9bff;
  --brand-100: #dbeafe;
  --brand-50: #eaf4fe;

  /* 中性色 */
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-400: #94a3b8;
  --line: #e8ecf3;
  --bg: #f4f6fb;
  --surface: #ffffff;

  /* 语义色 */
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --info: #0ea5e9;

  /* 形状 */
  --radius-card: 14px;
  --radius-control: 8px;
  --shadow-card: 0 1px 3px rgba(16, 42, 100, 0.05), 0 8px 24px rgba(16, 42, 100, 0.04);
  --shadow-pop: 0 12px 32px rgba(15, 23, 42, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-700);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

a {
  color: var(--brand-600);
  text-decoration: none;
}

a:hover {
  color: var(--brand-700);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  border-radius: var(--radius-control);
}

::selection {
  background: var(--brand-100);
  color: var(--brand-700);
}

.mono {
  font-variant-numeric: tabular-nums;
}

.text-muted {
  color: var(--ink-400);
}

.text-sm {
  font-size: 12px;
}

.t-success {
  color: var(--success);
}

.t-danger {
  color: var(--danger);
}

.t-warning {
  color: var(--warning);
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 16px 0;
}

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