:root {
  color-scheme: light;
  --brand: #2f67c7;
  --brand-dark: #2557aa;
  --brand-soft: #edf3fd;
  --canvas: #f4f6f9;
  --surface: #fff;
  --text: #202b3c;
  --subtext: #657286;
  --muted: #8b96a6;
  --line: #dfe4eb;
  --line-soft: #edf0f4;
  --red: #c83d42;
  --red-soft: #fff4f3;
  --green: #2e7a55;
  --green-soft: #f2f8f4;
  --amber: #a56b20;
  --amber-soft: #fff8eb;
  --sidebar-width: 224px;
  --topbar-height: 72px;
  --grid-gap: 16px;
  --section-gap: 24px;
  --panel-padding: 24px;
  --control-height: 36px;
  --shadow-dialog: 0 16px 48px rgba(18, 35, 59, .22);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; min-height: 100vh; color: var(--text); background: var(--canvas); font-size: 14px; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #83a8e8; outline-offset: 2px; }
