/* 悟垣 · 百工（wutrixstaff）—— 产品线身份。
   手册母版（wutrix-internal brand/）里还没有百工这条线；在收进母版之前，百工的身份定义只放在这一份文件里，
   brand/ 下的副本保持和母版一字不差。收进母版时把下面三段原样搬过去：
     ① tokens.css   --wx-staff 一族（深色 + 浅色 on-light + 4% 着色底）
     ② components.css   .is-staff 插槽、.wx-tinted.is-staff
     ③ fonts.css    「百」「工」两个字进 WX Lockup CN（重新跑 make-lockup-font.py，CHARS 加「百工」）

   ── 选色 ──
   百工 · 柳绿 #81C14E，色相 93.4°。
   四条线 + 母标金占了 17° / 36° / 187° / 252° / 332°，语义色占了 0°（坏了）/ 37°（该注意）/ 150°（成了）/ 202°（进行中）。
   36°–150° 之间是整个色环上唯一还空着的一段，取它的正中：
     与母标金 57.7°、该注意 56.3°、成了 56.6°、启明朱 76.1°、天枢青 93.1° —— 全部大于四条线现有的最小间隔 45.4°。
   之所以不贴着「成了」的绿走：识别色和语义色分开（手册第二章），柳绿必须一眼不像「成功」。
   对比度：对页面底 8.95、对卡片 7.53，文字直接用，不需要另设 -text 档。
   浅底 on-light #466D26：对银灰底 4.65、对卡片 5.34（手册目标 ≥ 4.6 / ≥ 5.3）。
   寓意：百工是做活的手艺人，柳 / 竹一类的绿，和启明的破晓、成象的紫、天枢的星青都不撞。 */

:root {
  --wx-staff:      #81C14E;
  --wx-staff-lt:   #97CB6C;
  --wx-staff-dk:   #68A239;
  --wx-staff-rgb:  129,193,78;

  /* 4% 着色底：和其他四条线同一算法（N3 中性底按 4% 混入产品色，底 / 面板 / 卡片 / 边框同比例） */
  --wx-ink-staff:     #101414;
  --wx-surface-staff: #181F23;
  --wx-card-staff:    #1F262A;
  --wx-border-staff:  #2D373E;
}

[data-theme="light"], .wx-light {
  --wx-staff-on-light: #466D26;   /* 4.65 · 5.34 */
  --wx-staff: var(--wx-staff-on-light);
  --wx-staff-rgb: 70,109,38;
  /* 混 4% 后把明度拉回银灰原值：只留色调、不改深浅 */
  --wx-ink-staff:     #E0E5E4;
  --wx-surface-staff: #EBEFEE;
  --wx-card-staff:    #F0F3F2;
  --wx-border-staff:  #C1CACF;
}

/* 产品色插槽（同 components.css 里的 .is-story / .is-studio / .is-flow / .is-color） */
.is-staff { --wx-pc:var(--wx-staff); --wx-pc-text:var(--wx-staff);
            --wx-pc-soft:rgba(var(--wx-staff-rgb),.14); --wx-pc-line:rgba(var(--wx-staff-rgb),.30); }
.wx-tinted.is-staff { --wx-ink:var(--wx-ink-staff); --wx-surface:var(--wx-surface-staff);
                      --wx-card:var(--wx-card-staff); --wx-border:var(--wx-border-staff); }

/* 字标中文：「百」「工」不在母版那份 2.6 KB 的子集里。先从思源宋 900 的两个现成分片里取
   （和母版子集同一副字形，取自天枢 public/fonts/），unicode-range 只放这两个字，分片里的其他字不会被用到。
   母版重新生成子集之后，删掉这两段，换成新的 wx-lockup-cn.woff2。 */
@font-face {
  font-family: 'WX Lockup CN';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url('/fonts/noto-serif-sc-13.woff2') format('woff2');
  unicode-range: U+767E;   /* 百 */
}
@font-face {
  font-family: 'WX Lockup CN';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url('/fonts/noto-serif-sc-14.woff2') format('woff2');
  unicode-range: U+5DE5;   /* 工 */
}

/* 拉丁与等宽：Inter（正文）、Sora（字标与标题）、IBM Plex Mono（数据），只取 latin / latin-ext 两片。
   文件与 unicode-range 照抄天枢 src/app/fonts.css。中文正文走 brand/noto-sans-sc.css。 */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/inter-4.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/inter-5.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url("/fonts/sora-6.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url("/fonts/sora-7.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/ibm-plex-mono-0.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/ibm-plex-mono-1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("/fonts/ibm-plex-mono-2.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("/fonts/ibm-plex-mono-3.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
