/* 财小云 CaiXiaoYun — 全局基线 base.css
   只放 reset、body 字体/颜色 token 接入、焦点环全局规则；
   组件样式去 site.css（后续 Phase D 填充）。 */

*, *::before, *::after { box-sizing: border-box; }
html { font-synthesis: none; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--cxy-font-sans, "Source Sans 3", "Noto Sans SC", system-ui, sans-serif);
  color: var(--cxy-ink, #0F172A);
  background: var(--cxy-surface-page, #FFFFFF);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* --cxy-ring 本身即完整阴影值（0 0 0 3px rgba(...)），不可再叠加偏移量前缀 */
:where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--cxy-ring, 0 0 0 3px rgba(37, 99, 235, .28));
  border-radius: var(--cxy-radius-sm, 6px);
}
