/* base.css — 设计令牌与基础样式(禁内联样式:全局在此定义) */
:root {
  --bg-desktop: #1a2740;
  --bg-topbar: rgba(16, 22, 34, 0.92);
  --bg-window: #262c3a;
  --bg-window-title: #333b4d;
  --bg-panel: #2d3547;
  --bg-field: #1d2432;
  --bg-hover: #3a4459;
  --bg-selected: #3f5aa8;
  --border: #454f63;
  --text: #e8eaf0;
  --text-dim: #9aa3b5;
  --text-bright: #ffffff;
  --accent: #4f8ef7;
  --accent-hi: #6ea4ff;
  --danger: #e06c6c;
  --ok: #6ecf8a;
  --shadow-window: 0 12px 40px rgba(0, 0, 0, 0.45);
  --radius-window: 10px;
  --radius-control: 7px;
  --font-ui: system-ui, -apple-system, "Segoe UI", "Ubuntu", "Noto Sans CJK SC", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font-ui);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.hidden { display: none !important; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select {
  font-family: inherit;
}

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #4a5568; border-radius: 5px; }
::-webkit-scrollbar-track { background: transparent; }
