/* 界面风格主题包 —— 由 html[data-theme] 切换，仅覆盖颜色变量，不改布局。
   classic = style.css 的 :root 默认值（政务蓝）。 */

/* 1. 青瓷绿 · 清爽柔和 */
html[data-theme="jade"]{
  --primary:#0e7a6c; --primary-dark:#0a5f54; --accent:#48b39f;
  --bg:#f1f8f6; --card:#fff; --text:#16332f; --muted:#688b84; --line:#dcebe6;
  --side-bg:linear-gradient(180deg,#0f5f55,#083c35); --side-text:#d0ebe4; --side-muted:#84bdb2; --side-strong:#fff;
  --head-bg:#fff; --panel-soft:#eef7f4; --input-bg:#f8fcfa;
  --table-head:#eef7f4; --table-head-text:#416b63; --row-line:#e9f3ef; --row-hover:#f8fcfa;
  --soft:#e2f2ed; --track:#e8f2ef; --mask:rgba(6,40,35,.45);
  --toast-bg:#143f38; --toast-text:#eafff9; --card-shadow:0 1px 6px rgba(10,80,68,.05);
  --login-bg:radial-gradient(circle at 20% 20%,#14907c,#0b5c50 60%,#073c35);
  --login-card:#fff; --login-text:#16332f; --login-muted:#688b84;
  --tag-ok-bg:#dcf5ec; --tag-ok-fg:#0d7a5c;
  --tag-warn-bg:#fdf1dc; --tag-warn-fg:#a9761a;
  --tag-bad-bg:#fbe6e6; --tag-bad-fg:#bb4a4a;
  --tag-gray-bg:#ecf2f0; --tag-gray-fg:#6e8a83;
  --notice-bg:#f6f8e9; --notice-line:#e2e6b8; --notice-fg:#6b6a1f;
  --err-bg:#fdeaea; --err-line:#f2c4c4; --err-fg:#a33737;
  --focus-ring:rgba(14,122,108,.12);
}

/* 2. 暖阳橙 · 明亮亲和（电力/央企汇报风） */
html[data-theme="amber"]{
  --primary:#c1631b; --primary-dark:#96450f; --accent:#e8a13f;
  --bg:#fdf7f0; --card:#fff; --text:#3a2a1c; --muted:#8b7765; --line:#f0e2d3;
  --side-bg:linear-gradient(180deg,#603920,#3a2111); --side-text:#f2e1ce; --side-muted:#c9a98c; --side-strong:#fff;
  --head-bg:#fff; --panel-soft:#fdf4ea; --input-bg:#fffaf4;
  --table-head:#fbf1e6; --table-head-text:#7a5b3e; --row-line:#f6ece1; --row-hover:#fffaf4;
  --soft:#f9e9d6; --track:#f6ece1; --mask:rgba(52,28,10,.45);
  --toast-bg:#4a2c17; --toast-text:#fff6ea; --card-shadow:0 1px 6px rgba(120,60,10,.05);
  --login-bg:radial-gradient(circle at 20% 20%,#d9832c,#8f4a14 60%,#5c2e0b);
  --login-card:#fff; --login-text:#3a2a1c; --login-muted:#8b7765;
  --tag-ok-bg:#e9f4e4; --tag-ok-fg:#3f7a35;
  --tag-warn-bg:#fff0d6; --tag-warn-fg:#a46a10;
  --tag-bad-bg:#fbe6e1; --tag-bad-fg:#ad3f2c;
  --tag-gray-bg:#f2ece5; --tag-gray-fg:#877563;
  --notice-bg:#fff6e2; --notice-line:#f0d9a8; --notice-fg:#8a6417;
  --err-bg:#fdeceb; --err-line:#f2c6c1; --err-fg:#a3372f;
  --focus-ring:rgba(193,99,27,.12);
}

/* 3. 墨黑金 · 沉稳正式（大屏/汇报） */
html[data-theme="ink"]{
  --primary:#243447; --primary-dark:#151f2b; --accent:#c8a45a;
  --bg:#f3f5f8; --card:#fff; --text:#1d2733; --muted:#77838f; --line:#e1e6ec;
  --side-bg:linear-gradient(180deg,#223147,#111a25); --side-text:#c9d2dc; --side-muted:#8492a3; --side-strong:#fff;
  --head-bg:#fff; --panel-soft:#f6f7f9; --input-bg:#fafbfc;
  --table-head:#f5f7f9; --table-head-text:#55606d; --row-line:#edf0f3; --row-hover:#fafbfc;
  --soft:#e8edf2; --track:#edf0f3; --mask:rgba(10,16,24,.5);
  --toast-bg:#1d2733; --toast-text:#f4f7fa; --card-shadow:0 1px 6px rgba(20,32,48,.06);
  --login-bg:radial-gradient(circle at 20% 20%,#31445a,#151f2c 60%,#0b1119);
  --login-card:#fff; --login-text:#1d2733; --login-muted:#77838f;
  --tag-ok-bg:#e7f2ec; --tag-ok-fg:#2d7357;
  --tag-warn-bg:#f8f0dc; --tag-warn-fg:#967020;
  --tag-bad-bg:#f8e7e7; --tag-bad-fg:#a94141;
  --tag-gray-bg:#eceff3; --tag-gray-fg:#74808d;
  --notice-bg:#faf5e8; --notice-line:#e9dcbc; --notice-fg:#7c672f;
  --err-bg:#fbeaea; --err-line:#eec9c9; --err-fg:#a33737;
  --focus-ring:rgba(36,52,71,.1);
}

/* 4. 暗夜蓝 · 护眼（夜间值班 / 长时间阅卷） */
html[data-theme="dark"]{
  --primary:#4d9be6; --primary-dark:#3b82c8; --accent:#39c5ac;
  --danger:#e05555; --success:#2fae83; --warn:#d99a2b;
  --bg:#0f1722; --card:#182231; --text:#e6edf5; --muted:#94a5b8; --line:#2a394c;
  --side-bg:linear-gradient(180deg,#13233d,#080f1d); --side-text:#c6d4e4; --side-muted:#7f94ad; --side-strong:#fff;
  --head-bg:#182231; --panel-soft:#1f2c3d; --input-bg:#1b2636;
  --table-head:#1f2c3d; --table-head-text:#aebdd0; --row-line:#26354a; --row-hover:#1e2b3c;
  --soft:#25364b; --track:#26354a; --mask:rgba(0,0,0,.68);
  --toast-bg:#2b3d54; --toast-text:#eef4fb; --card-shadow:0 1px 6px rgba(0,0,0,.3);
  --login-bg:radial-gradient(circle at 20% 20%,#1b3a5c,#101c2c 60%,#080e18);
  --login-card:#182231; --login-text:#e6edf5; --login-muted:#94a5b8;
  --tag-ok-bg:#173d33; --tag-ok-fg:#6ee7b7;
  --tag-warn-bg:#3e3018; --tag-warn-fg:#f0c674;
  --tag-bad-bg:#3d1f26; --tag-bad-fg:#ff9aa8;
  --tag-gray-bg:#26354a; --tag-gray-fg:#a9b8ca;
  --notice-bg:#3a2f16; --notice-line:#6b5520; --notice-fg:#f0d48a;
  --err-bg:#3d1d22; --err-line:#7a3540; --err-fg:#ffb4bd;
  --focus-ring:rgba(77,155,230,.2);
}
