/* ============================================================
   Linc 基础层 (base.css) — 复刻 Linc-Admin base 层语义
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--stage);
  -webkit-font-smoothing: antialiased;
}

/* 数值等宽数字；等宽字体仅限数字/编码/权限标识/时间 */
.num, .mono, time, .col-actions, td.numeric {
  font-variant-numeric: tabular-nums;
}
.mono { font-family: var(--font-mono); font-size: 12.5px; }

h1, h2, h3, h4 { margin: 0; font-weight: 650; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }

/* 可见焦点 */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-radius: var(--r-xs);
}

/* 滚动条 */
* { scrollbar-width: thin; scrollbar-color: rgba(var(--shade), .18) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: rgba(var(--shade), .18); border-radius: 999px; }
*::-webkit-scrollbar-track { background: transparent; }

::selection { background: var(--blue-soft); }

/* 减少动效 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 工具类 */
.eyebrow { font-size: 12px; letter-spacing: .14em; color: var(--ink-soft); text-transform: uppercase; }
.muted { color: var(--ink-muted); }
.soft { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.spacer { flex: 1; }
.hidden { display: none !important; }
