/* 基础层：reset、排版、滚动条、通用工具类（不带业务语义）
   由 console/index.html 的 <style> 拆分而来；改样式请改这里。 */

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

/* 左右结构：.app（左导航 + 右主区）是 body 唯一参与布局的子元素
   （#toasts / #tokenGate 都是 position:fixed，不进流）。 */
body {
    font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif);
    background: var(--bg); color: var(--text);
    font-size: 13px; line-height: 1.6;
    display: flex; flex-direction: row; overflow: hidden;
  }

.spacer { flex: 1; }

/* 滚动条：滑块颜色走令牌，浅色主题自动跟随 */
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb {
    background: var(--line-strong); border-radius: 6px;
    border: 2px solid transparent; background-clip: padding-box;
  }
  ::-webkit-scrollbar-thumb:hover { background-color: var(--faint); }

/* 动效可关：系统声明减少动态效果时，全局动画/过渡一律停 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.empty { padding: 24px 16px; color: var(--faint); text-align: center; line-height: 1.8; }

.sep { width: 1px; height: 20px; background: var(--line); }

.placeholder {
    color: var(--faint); text-align: center; line-height: 2;
  }

.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.hint { font-size: 12px; color: var(--faint); line-height: 1.7; }

.msg { font-size: 12px; margin-top: 8px; }

.msg.ok { color: var(--ok); }

.msg.bad { color: var(--danger); }
