/* ==========================================================================
   CloudLab 设计令牌 · 唯一变量源
   主站 app.css 通过 @import 引用；独立页与外源归档页由
   tools/build_external.py 生成时内联同一份内容，保证全站同源。
   ========================================================================== */
:root{
  --cl-bg:#f4f7f4;
  --cl-bg-2:#eaf0ea;
  --cl-surface:#ffffff;
  --cl-surface-2:#f8faf7;
  --cl-surface-3:#eef4ef;
  --cl-ink:#0d1f1c;
  --cl-ink-2:#2c423e;
  --cl-sub:#526863;
  --cl-mut:#5f736e;
  --cl-line:#dfe8e1;
  --cl-line-2:#edf3ee;
  --cl-brand:#0f766e;
  --cl-brand-2:#0d9488;
  --cl-brand-ink:#064e46;
  --cl-brand-soft:#e6f7f1;
  --cl-accent:#d9f06b;
  --cl-accent-ink:#263700;
  --cl-blue:#2563eb;
  --cl-cyan:#0891b2;
  --cl-green:#15803d;
  --cl-amber:#b45309;
  --cl-red:#b91c1c;
  --cl-violet:#6d28d9;
  --cl-r:16px;
  --cl-r-sm:10px;
  --cl-r-lg:26px;
  --cl-shadow:0 1px 2px rgba(12,35,30,.04),0 18px 44px -26px rgba(12,35,30,.35);
  --cl-shadow-sm:0 1px 2px rgba(12,35,30,.05);
  --cl-mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;
  --cl-font:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --cl-display:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Songti SC","Noto Serif SC",serif;
  --cl-header:64px;
  --cl-max:1240px;
  color-scheme:light;
}
html[data-theme="dark"]{
  --cl-bg:#08110f;
  --cl-bg-2:#0c1714;
  --cl-surface:#0e1b18;
  --cl-surface-2:#0b1613;
  --cl-surface-3:#13231f;
  --cl-ink:#e8f2ec;
  --cl-ink-2:#c9dad3;
  --cl-sub:#9fb5ae;
  --cl-mut:#7b938c;
  --cl-line:#20332d;
  --cl-line-2:#172722;
  --cl-brand:#2dd4bf;
  --cl-brand-2:#5eead4;
  --cl-brand-ink:#082f2b;
  --cl-brand-soft:#0d2b25;
  --cl-accent:#d9f06b;
  --cl-accent-ink:#263700;
  --cl-blue:#60a5fa;
  --cl-cyan:#22d3ee;
  --cl-green:#4ade80;
  --cl-amber:#fbbf24;
  --cl-red:#f87171;
  --cl-violet:#a78bfa;
  --cl-shadow:0 1px 2px rgba(0,0,0,.35),0 22px 54px -30px rgba(0,0,0,.8);
  --cl-shadow-sm:0 1px 2px rgba(0,0,0,.4);
  color-scheme:dark;
}
