/* tokens.css —— 设计令牌
   视觉体系对齐「光伏小超人」：墨绿主色、米白底、深墨青文字、10px 圆角。
   字号层级参照其电缆工具（正文 14px / 面板标题 16px / 指标数字 24px 级），
   整体较 v2.0 初版上调一档，避免长时间读数疲劳。 */
:root {
  /* 主色 */
  --green: #107a57;
  --green-deep: #0b6349;
  --green-mid: #1d8f68;
  --green-soft: #eaf4ee;
  --green-line: #cfe4d9;

  /* 底色 */
  --paper: #f3f6f1;
  --surface: #ffffff;
  --surface-sunken: #f8fbf9;
  --surface-head: #f7fbf9;

  /* 文字 */
  --ink: #15334d;
  --ink-soft: #3f5a68;
  --muted: #5f7484;
  --faint: #8b9ca8;

  /* 线条 */
  --line: #d9e6df;
  --line-strong: #c6d8cf;

  /* 状态 */
  --amber: #8a6a26;
  --amber-bg: #fffbf0;
  --amber-line: #ecdfb8;

  --red: #bb3a31;
  --red-bg: #fdf1ef;
  --red-line: #ecc4be;

  /* 交流电缆色 */
  --ac: #517b90;
  --ac-soft: #e9f0f4;

  /* 字号层级 */
  --tx-2xs: 10.5px;
  --tx-xs: 11.5px;
  --tx-sm: 12.5px;
  --tx-base: 14px;
  --tx-md: 15px;
  --tx-lg: 15.5px;
  --tx-xl: 20px;

  /* 圆角与阴影 */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(30, 65, 47, 0.03), 0 10px 30px rgba(30, 65, 47, 0.045);
  --shadow-lift: 0 2px 4px rgba(30, 65, 47, 0.05), 0 16px 34px rgba(30, 65, 47, 0.08);

  --font: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", Consolas, "Courier New", monospace;
}
