Bladeren bron

feat(web): 编辑项标题统一灰蓝不加粗,字段注释收进标题问号提示

- 新增 --field-label(#5b6777,暗色 #a7bac5),各页 label 容器与标题统一 400 字重;
  必填星号仍走 --destructive,标题后的「选填/自动推算」小字仍走 --muted-foreground。
- 新增 FieldHint(components/ui/field-hint.tsx):字段注释/提醒移到标题右侧问号,
  悬停或点击显示、移出/点别处/Esc 收起;浮层 portal 到 body + fixed 定位,
  不被弹窗与卡片的 overflow 裁掉;问号 tabIndex=-1,不进 Tab 序列。
- OpsHint 改为复用 FieldHint;套餐编辑器的 CatalogInfo 与旧 .catalog-info 样式一并收敛。
- 合同新增/编辑/详情、客户档案、客户报障、工单与工单配置、成本项定义等页面的
  常驻注释改为问号提示,只读说明不再占版面。

Co-authored-by: Cursor <cursoragent@cursor.com>
cg 4 dagen geleden
bovenliggende
commit
5e430beb1d
29 gewijzigde bestanden met toevoegingen van 316 en 180 verwijderingen
  1. 6 47
      web-scaffold/src/components/OperationsKit.tsx
  2. 7 6
      web-scaffold/src/components/OrderChangeDialogs.tsx
  3. 3 6
      web-scaffold/src/components/PackagePlanEditor.tsx
  4. 102 0
      web-scaffold/src/components/ui/field-hint.tsx
  5. 5 5
      web-scaffold/src/pages/AccountActivationPage.tsx
  6. 3 3
      web-scaffold/src/pages/AccountPages.tsx
  7. 20 32
      web-scaffold/src/pages/ContractDetailPages.tsx
  8. 2 1
      web-scaffold/src/pages/ContractRecordPage.tsx
  9. 9 9
      web-scaffold/src/pages/CustomerEditorPage.tsx
  10. 2 1
      web-scaffold/src/pages/CustomerTicketPages.tsx
  11. 5 4
      web-scaffold/src/pages/FinanceReferencePages.tsx
  12. 3 3
      web-scaffold/src/pages/IllustratedLoginPage.tsx
  13. 2 2
      web-scaffold/src/pages/TeamQueuePage.tsx
  14. 4 5
      web-scaffold/src/pages/WorkOrderManagementPage.tsx
  15. 2 1
      web-scaffold/src/pages/WorkOrderRecordPage.tsx
  16. 8 9
      web-scaffold/src/pages/WorkOrderSettingsPage.tsx
  17. 1 1
      web-scaffold/src/styles/contract-customer-onboarding.css
  18. 1 1
      web-scaffold/src/styles/correction-notes.css
  19. 1 1
      web-scaffold/src/styles/customer-onboarding.css
  20. 72 0
      web-scaffold/src/styles/field-hint.css
  21. 8 0
      web-scaffold/src/styles/globals.css
  22. 30 23
      web-scaffold/src/styles/operations.css
  23. 3 2
      web-scaffold/src/styles/orders.css
  24. 3 2
      web-scaffold/src/styles/organization.css
  25. 3 9
      web-scaffold/src/styles/packages.css
  26. 1 1
      web-scaffold/src/styles/reconciliation-settings.css
  27. 1 1
      web-scaffold/src/styles/role-workspace.css
  28. 4 0
      web-scaffold/src/styles/tokens.css
  29. 5 5
      web-scaffold/src/styles/work-orders.css

+ 6 - 47
web-scaffold/src/components/OperationsKit.tsx

@@ -1,7 +1,8 @@
-import { useEffect, useId, useLayoutEffect, useRef, useState, type ReactNode } from "react";
+import { useEffect, useRef, useState, type ReactNode } from "react";
 import { createPortal } from "react-dom";
-import { Check, ChevronDown, ChevronUp, CircleHelp, X } from "lucide-react";
+import { Check, ChevronDown, ChevronUp, X } from "lucide-react";
 import { Button } from "./ui/button";
+import { FieldHint } from "./ui/field-hint";
 import type { StatusTone } from "../domain/statuses";
 
 export type OpsTone = StatusTone | "brand";
@@ -47,54 +48,12 @@ export function OpsTableColumns({ widths }: { widths: readonly number[] }) {
 }
 
 /**
- * 字段口径问号:点击图标展开浮层,用业务口径解释这一项的作用(⛔ 只做 hover——触屏点不出、键盘也读不到)。
- * 浮层走 body 传送门+fixed:弹窗与台账的 overflow 容器不会裁掉它,`z-index` 压过 `.ops-confirm-backdrop`(80)。
- * 打开期间点到图标与浮层以外、按 Esc、滚动或缩放即收(浮层不跟着错位)。
+ * 字段口径问号:与编辑项标题后的问号同一套交互({@link FieldHint})——
+ * 鼠标移入或点击显示、移出/失焦/Esc 收起;浮层走 body 传送门+fixed,弹窗与台账的 overflow 容器不会裁掉它。
  * ⚠️ 放进 `<label>` 里点图标会连带切换勾选态 ⇒ 由调用方把图标摆在 label 之外(`.ops-form-check-row`)。
  */
 export function OpsHint({ label, title, children }: { label: string; title: string; children: ReactNode }) {
-  const id = useId();
-  const trigger = useRef<HTMLButtonElement>(null);
-  const popup = useRef<HTMLDivElement>(null);
-  const [open, setOpen] = useState(false);
-  const [position, setPosition] = useState({ top: 0, left: 0 });
-  useLayoutEffect(() => {
-    if (!open || !trigger.current || !popup.current) return;
-    const anchor = trigger.current.getBoundingClientRect();
-    const box = popup.current.getBoundingClientRect();
-    const gap = 10;
-    const clampTop = (top: number) => Math.max(8, Math.min(top, window.innerHeight - box.height - 8));
-    const centered = () => clampTop(anchor.top + anchor.height / 2 - box.height / 2);
-    /** 优先落在图标左/右侧(不挡住正读的那几行),两侧都放不下才落到下方。 */
-    if (window.innerWidth - anchor.right - gap - 8 >= box.width) setPosition({ left: anchor.right + gap, top: centered() });
-    else if (anchor.left - gap - 8 >= box.width) setPosition({ left: anchor.left - gap - box.width, top: centered() });
-    else setPosition({ left: Math.max(8, Math.min(anchor.left + anchor.width / 2, window.innerWidth - box.width - 8)), top: clampTop(anchor.bottom + 14) });
-  }, [open]);
-  useEffect(() => {
-    if (!open) return;
-    const close = () => setOpen(false);
-    const outside = (event: PointerEvent) => {
-      if (!trigger.current?.contains(event.target as Node) && !popup.current?.contains(event.target as Node)) close();
-    };
-    const escape = (event: KeyboardEvent) => { if (event.key === "Escape") { close(); trigger.current?.focus(); } };
-    document.addEventListener("pointerdown", outside);
-    document.addEventListener("keydown", escape);
-    window.addEventListener("scroll", close, true);
-    window.addEventListener("resize", close);
-    return () => {
-      document.removeEventListener("pointerdown", outside);
-      document.removeEventListener("keydown", escape);
-      window.removeEventListener("scroll", close, true);
-      window.removeEventListener("resize", close);
-    };
-  }, [open]);
-  return <>
-    <button ref={trigger} type="button" className="ops-hint-trigger" aria-label={label} aria-expanded={open} aria-describedby={open ? id : undefined} title={label} onClick={(event) => { event.preventDefault(); event.stopPropagation(); setOpen((current) => !current); }}><CircleHelp size={15} aria-hidden="true" /></button>
-    {open && createPortal(<div ref={popup} id={id} role="dialog" aria-label={`${title}口径说明`} className="ops-hint-popover" style={position}>
-      <strong>{title}</strong>
-      {children}
-    </div>, document.body)}
-  </>;
+  return <FieldHint label={label} title={title}>{children}</FieldHint>;
 }
 
 /**

+ 7 - 6
web-scaffold/src/components/OrderChangeDialogs.tsx

@@ -13,6 +13,7 @@
 import { useEffect, useRef, useState, type FormEvent, type ReactNode } from "react";
 import { ArrowRight, X } from "lucide-react";
 import { Button } from "./ui/button";
+import { FieldHint } from "./ui/field-hint";
 import { OPTIONS } from "../lib/api/labels";
 import {
   CONTRACT_OPTIONS_EMPTY, ORDER_AMOUNT_TITLE, ORDER_CREATE_READONLY_NOTE, ORDER_END_DATE_READONLY,
@@ -503,16 +504,16 @@ export function OrderEditor({ customerId, customerName, context, onClose, onSave
       </div>}
       <div className="customer-sub-fields">
         {!updown && <label>线路出口(随合同条目)<input readOnly value={exitsText} /></label>}
-        {!updown && <label>订阅方式<input readOnly value={modeText} title="订阅方式不再随交付形态派生(I6 已停用)" /></label>}
+        {!updown && <label>订阅方式<FieldHint label="订阅方式说明">订阅方式不再随交付形态派生(I6 已停用)。</FieldHint><input readOnly value={modeText} /></label>}
         {context.mode === "edit" ? <label><span>订阅时长</span><input readOnly value={existing?.termLabel || WORD_UNCONFIGURED} /></label>
           : <label><span>订阅时长 <b>*</b></span><select disabled={locked} value={term} onChange={(event) => setTerm(event.target.value)}>{OPTIONS.term.map((item) => <option key={item.value} value={item.value}>{item.label}</option>)}</select></label>}
         <label><span>生效日 <b>*</b></span><input disabled={locked} type="date" value={startDate} onChange={(event) => setStartDate(event.target.value)} /></label>
-        <label><span>结束日(服务端派生)</span><input readOnly value={updown && !pickedTarget ? "选定新套餐后按替换合同止期派生" : endText} title="预览=生效日折订阅时长(月末夹紧)再减一天,晚于合同止期则截到合同止期;落库值以服务端为准" /></label>
+        <label><span>结束日(服务端派生)</span><FieldHint label="结束日说明">预览=生效日折订阅时长(月末夹紧)再减一天,晚于合同止期则截到合同止期;落库值以服务端为准。</FieldHint><input readOnly value={updown && !pickedTarget ? "选定新套餐后按替换合同止期派生" : endText} /></label>
         <label>订单号(随合同外部单号)<input readOnly value={orderText} /></label>
-        {!updown && <label>订阅价格<input readOnly value={annualText} title={ORDER_AMOUNT_TITLE} /></label>}
-        {!updown && <label>月结算标准<input readOnly value={settleText} title={ORDER_AMOUNT_TITLE} /></label>}
-        {!updown && <label>分账号额度<input readOnly value={quotaText} title="随所选档位的额度带出" /></label>}
-        {!updown && stackableItem && <label>档位数量(随合同条目)<input readOnly value={itemQuantity} title="可叠加档按份计价(例如单独境外 IP 按个);保存时带入订阅 subscription.quantity" /></label>}
+        {!updown && <label>订阅价格<FieldHint label="订阅价格说明">{ORDER_AMOUNT_TITLE}</FieldHint><input readOnly value={annualText} /></label>}
+        {!updown && <label>月结算标准<FieldHint label="月结算标准说明">{ORDER_AMOUNT_TITLE}</FieldHint><input readOnly value={settleText} /></label>}
+        {!updown && <label>分账号额度<FieldHint label="分账号额度说明">随所选档位的额度带出。</FieldHint><input readOnly value={quotaText} /></label>}
+        {!updown && stackableItem && <label>档位数量(随合同条目)<FieldHint label="档位数量说明">可叠加档按份计价(例如单独境外 IP 按个);保存时带入订阅 subscription.quantity。</FieldHint><input readOnly value={itemQuantity} /></label>}
         <label>试用优惠期<select disabled={!writable} value={trialMonths} onChange={(event) => setTrialMonths(event.target.value as "0" | "1" | "2")}><option value="0">不试用</option><option value="1">1 个月</option><option value="2">2 个月</option></select></label>
         {trialMonths !== "0" && <label>试用优惠金额(元/月)<input readOnly={!writable} inputMode="decimal" placeholder="选填,留空不套用正式月费" value={trialDiscount} onChange={(event) => setTrialDiscount(event.target.value)} /></label>}
         <label>实际开通日<input readOnly value={locked ? (existing?.openedOn === undefined ? WORD_FETCH_FAILED : existing.openedOn || WORD_NOT_OPENED) : WORD_NOT_OPENED} /></label>

+ 3 - 6
web-scaffold/src/components/PackagePlanEditor.tsx

@@ -1,5 +1,6 @@
 import { useEffect, useId, useMemo, useState, type FormEvent } from "react";
-import { Info, LockKeyhole, Plus, X } from "lucide-react";
+import { FieldHint } from "./ui/field-hint";
+import { LockKeyhole, Plus, X } from "lucide-react";
 import { FetchError } from "./fetchError";
 import { FIXED_PLAN_LOCKED_FIELDS, PLAN_COST_ITEM_SAVE_NOTE, WORD_FETCH_FAILED } from "../lib/api/lockedCopy";
 import { catalogCreate, catalogCustomerOptions, catalogUpdate, planCostItemList, planCostItemSave, rowsOf } from "../lib/api/bos";
@@ -51,11 +52,7 @@ export function formOf(plan: CatalogPlanRow | undefined, owner: string | null):
 const tierKeyOf = (mbps: number | null) => (mbps === null ? IP_TIER_UNCOMMITTED : `mbps-${mbps}`);
 
 function CatalogInfo({ label, children }: { label: string; children: string }) {
-  const id = useId();
-  return <>
-    <button type="button" className="catalog-info" aria-label={label} aria-describedby={id}><Info size={15} aria-hidden="true" /></button>
-    <span id={id} className="catalog-info-tip" role="tooltip">{children}</span>
-  </>;
+  return <FieldHint label={label}>{children}</FieldHint>;
 }
 
 export function PackagePlanEditor({ state, tiers, onClose, onSaved }: {

+ 102 - 0
web-scaffold/src/components/ui/field-hint.tsx

@@ -0,0 +1,102 @@
+import { useCallback, useEffect, useId, useLayoutEffect, useRef, useState, type ReactNode } from "react";
+import { createPortal } from "react-dom";
+import { CircleHelp } from "lucide-react";
+import "../../styles/field-hint.css";
+
+/**
+ * 编辑项标题右侧的问号提示(业主 2026-11-19 定案):
+ * 字段的注释/提醒文案不再常驻在表单里,统一收进标题后的「?」——鼠标移入或点击显示,移出/点别处/Esc 自动消失。
+ * 问号本身⛔ 可获取焦点(`tabIndex=-1`):键盘 Tab 只落在真正要填的控件上,提示可用鼠标悬停或点击打开。
+ *
+ * 为什么用 fixed + portal 而不是绝对定位:
+ * 表单常落在 `overflow:auto` 的弹窗/卡片里(合同条目卡、客户档案卡、工单抽屉),绝对定位的浮层会被滚动容器裁掉。
+ * 浮层本身 `pointer-events:none`(纯文案,不需要点它),所以鼠标移出图标即收起,不会出现「躲不开的浮层」。
+ */
+export function FieldHint({ label, title, children, iconSize = 14 }: { label: string; title?: string; children: ReactNode; iconSize?: number }) {
+  const id = useId();
+  const triggerRef = useRef<HTMLButtonElement>(null);
+  const tipRef = useRef<HTMLDivElement>(null);
+  const [open, setOpen] = useState(false);
+  const [coords, setCoords] = useState<{ top: number; left: number } | null>(null);
+
+  /** 以图标为锚点居中排布;下方放不下就翻到上方,左右夹在视口内。 */
+  const place = useCallback(() => {
+    const trigger = triggerRef.current;
+    const tip = tipRef.current;
+    if (!trigger || !tip) return;
+    const rect = trigger.getBoundingClientRect();
+    const box = tip.getBoundingClientRect();
+    const margin = 12;
+    const gap = 8;
+    const left = Math.min(Math.max(margin, rect.left + rect.width / 2 - box.width / 2), window.innerWidth - box.width - margin);
+    const below = rect.bottom + gap;
+    const top = below + box.height > window.innerHeight - margin ? Math.max(margin, rect.top - gap - box.height) : below;
+    setCoords({ top, left });
+  }, []);
+
+  useLayoutEffect(() => {
+    if (!open) { setCoords(null); return; }
+    place();
+  }, [open, place]);
+
+  useEffect(() => {
+    if (!open) return;
+    const onKey = (event: KeyboardEvent) => { if (event.key === "Escape") setOpen(false); };
+    const onMove = () => place();
+    const onPointerDown = (event: PointerEvent) => {
+      const target = event.target as Node | null;
+      if (target && triggerRef.current && !triggerRef.current.contains(target)) setOpen(false);
+    };
+    document.addEventListener("keydown", onKey);
+    document.addEventListener("pointerdown", onPointerDown);
+    window.addEventListener("resize", onMove);
+    window.addEventListener("scroll", onMove, true);
+    return () => {
+      document.removeEventListener("keydown", onKey);
+      document.removeEventListener("pointerdown", onPointerDown);
+      window.removeEventListener("resize", onMove);
+      window.removeEventListener("scroll", onMove, true);
+    };
+  }, [open, place]);
+
+  const tip = open && typeof document !== "undefined"
+    ? createPortal(
+      <div
+        ref={tipRef}
+        id={id}
+        role="tooltip"
+        className="field-hint-tip"
+        style={{ top: coords?.top ?? 0, left: coords?.left ?? 0, visibility: coords ? "visible" : "hidden" }}
+      >
+        {title && <strong className="field-hint-tip-title">{title}</strong>}
+        {children}
+      </div>,
+      document.body,
+    )
+    : null;
+
+  return <>
+    <button
+      ref={triggerRef}
+      type="button"
+      className="field-hint"
+      // 问号只是文案入口,⛔ 进 Tab 序列(业主 2026-11-19 定案):键盘用户靠 Tab 聚焦真正要填的控件,
+      // 提示仍可用鼠标悬停/点击打开;读屏由 aria-label 提供名称。
+      tabIndex={-1}
+      aria-label={label}
+      aria-expanded={open}
+      aria-describedby={open ? id : undefined}
+      onClick={(event) => {
+        // ⛔ 别让 label 的默认行为把焦点抢到输入框(点击问号只应开合提示)。
+        event.preventDefault();
+        event.stopPropagation();
+        setOpen((value) => !value);
+      }}
+      onMouseEnter={() => setOpen(true)}
+      onMouseLeave={() => setOpen(false)}
+    >
+      <CircleHelp aria-hidden="true" size={iconSize} />
+    </button>
+    {tip}
+  </>;
+}

+ 5 - 5
web-scaffold/src/pages/AccountActivationPage.tsx

@@ -233,7 +233,7 @@ export function AccountActivationPage() {
             ) : step === "identify" ? (
               <form className="space-y-5" noValidate onSubmit={goPassword}>
                 <div>
-                  <label className="mb-2 block text-sm font-medium" htmlFor="activation-login">登录名</label>
+                  <label className="field-label mb-2 block text-sm" htmlFor="activation-login">登录名</label>
                   <div className="relative">
                     <UserRound aria-hidden="true" className="pointer-events-none absolute left-3.5 top-1/2 -translate-y-1/2 text-icon" size={17} strokeWidth={1.7} />
                     <Input
@@ -259,7 +259,7 @@ export function AccountActivationPage() {
                 </div>
 
                 <div>
-                  <label className="mb-2 block text-sm font-medium" htmlFor="activation-code">激活码</label>
+                  <label className="field-label mb-2 block text-sm" htmlFor="activation-code">激活码</label>
                   <div className="relative">
                     <KeyRound aria-hidden="true" className="pointer-events-none absolute left-3.5 top-1/2 -translate-y-1/2 text-icon" size={17} strokeWidth={1.7} />
                     <Input
@@ -283,7 +283,7 @@ export function AccountActivationPage() {
                 </div>
 
                 <div>
-                  <label className="mb-2 block text-sm font-medium" htmlFor="activation-captcha">验证码</label>
+                  <label className="field-label mb-2 block text-sm" htmlFor="activation-captcha">验证码</label>
                   <div className={`illustrated-login__captcha-row${errors.captcha ? " is-invalid" : ""}`}>
                     <ImageIcon aria-hidden="true" className="illustrated-login__captcha-icon" size={17} strokeWidth={1.7} />
                     <Input
@@ -354,7 +354,7 @@ export function AccountActivationPage() {
                 </p>
 
                 <div>
-                  <label className="mb-2 block text-sm font-medium" htmlFor="activation-password">新密码</label>
+                  <label className="field-label mb-2 block text-sm" htmlFor="activation-password">新密码</label>
                   <div className="relative">
                     <LockKeyhole aria-hidden="true" className="pointer-events-none absolute left-3.5 top-1/2 -translate-y-1/2 text-icon" size={17} strokeWidth={1.7} />
                     <Input
@@ -378,7 +378,7 @@ export function AccountActivationPage() {
                 </div>
 
                 <div>
-                  <label className="mb-2 block text-sm font-medium" htmlFor="activation-confirm">确认新密码</label>
+                  <label className="field-label mb-2 block text-sm" htmlFor="activation-confirm">确认新密码</label>
                   <div className="relative">
                     <LockKeyhole aria-hidden="true" className="pointer-events-none absolute left-3.5 top-1/2 -translate-y-1/2 text-icon" size={17} strokeWidth={1.7} />
                     <Input

+ 3 - 3
web-scaffold/src/pages/AccountPages.tsx

@@ -283,7 +283,7 @@ function PasswordDialog({ onClose, onSaved }: { onClose: () => void; onSaved: ()
 
         <div className="mt-4 grid gap-4">
           <label className="block text-sm">
-            <span className="mb-1.5 block font-medium">原密码</span>
+            <span className="field-label mb-1.5 block">原密码</span>
             <Input
               autoComplete="current-password"
               disabled={pending}
@@ -294,7 +294,7 @@ function PasswordDialog({ onClose, onSaved }: { onClose: () => void; onSaved: ()
             />
           </label>
           <label className="block text-sm">
-            <span className="mb-1.5 block font-medium">新密码</span>
+            <span className="field-label mb-1.5 block">新密码</span>
             <Input
               autoComplete="new-password"
               disabled={pending}
@@ -305,7 +305,7 @@ function PasswordDialog({ onClose, onSaved }: { onClose: () => void; onSaved: ()
             />
           </label>
           <label className="block text-sm">
-            <span className="mb-1.5 block font-medium">确认新密码</span>
+            <span className="field-label mb-1.5 block">确认新密码</span>
             <Input
               autoComplete="new-password"
               disabled={pending}

+ 20 - 32
web-scaffold/src/pages/ContractDetailPages.tsx

@@ -5,6 +5,7 @@ import { useNavigate, useParams, useSearchParams } from "react-router";
 import { Button } from "../components/ui/button";
 import { Input } from "../components/ui/input";
 import { TreeSelect } from "../components/ui/tree-select";
+import { FieldHint } from "../components/ui/field-hint";
 import { CustomerTeamSelect } from "../components/CustomerTeamSelect";
 import { contractRawByParam } from "../lib/contract-demo";
 import { contractAttachmentDiscard, contractCreate, contractCustomerLookup, contractGet, contractGetList, contractUpdate, orderGetList, rowsOf, subscriptionReplacementCandidates } from "../lib/api/bos";
@@ -937,9 +938,8 @@ export function ContractEditorPage() {
                   {inlineSubjectOptions.map((item) => <option key={item.code} value={item.code}>{item.name}</option>)}
                 </select>
               </label>
-              <label htmlFor="inline-id"><span className="ops-field-title">客户识别号 <b title="必填">*</b></span>
+              <label htmlFor="inline-id"><span className="ops-field-title">客户识别号 <b title="必填">*</b><FieldHint label="客户识别号说明">18 位统一社会信用代码 / 15 位旧执照号。同时是查重与重试幂等键:合同保存失败后重新保存会按它命中已建客户。</FieldHint></span>
                 <Input id="inline-id" placeholder="18 位统一社会信用代码 / 15 位旧执照号" value={inline.idNo} onChange={(event) => setInlineField("idNo", event.target.value)} />
-                <small>同时是查重与重试幂等键:合同保存失败后重新保存会按它命中已建客户。</small>
               </label>
               <label htmlFor="inline-contact"><span className="ops-field-title">经办联系人</span><Input id="inline-contact" placeholder="客户方经办人" value={inline.contact} onChange={(event) => setInlineField("contact", event.target.value)} /></label>
               <label htmlFor="inline-phone"><span className="ops-field-title">联系电话</span><Input id="inline-phone" placeholder="支持固定电话或手机号" value={inline.phone} onChange={(event) => setInlineField("phone", event.target.value)} /></label>
@@ -947,16 +947,14 @@ export function ContractEditorPage() {
               <label htmlFor="inline-region" className="ops-form-span-2"><span className="ops-field-title">挂载区域 <b title="必填">*</b></span>
                 <TreeSelect treeData={regionTree} value={inline.regionId} onChange={(value) => setInlineField("regionId", value)} ariaLabel="挂载区域" placeholder="请选择区域节点" name="inline-region" />
               </label>
-              <label htmlFor="inline-operator"><span className="ops-field-title">运营商 <b title="必填">*</b></span>
+              <label htmlFor="inline-operator"><span className="ops-field-title">运营商 <b title="必填">*</b><FieldHint label="运营商说明">{provinceId ? "候选=所挂区域省份下可见的运营商档案(按需预选第一个,可改)。" : "先选挂载区域:运营商档案须与该区域同省,否则建档会被省份一致性校验拦下。"}</FieldHint></span>
                 <select id="inline-operator" value={inline.operatorId} onChange={(event) => setInlineField("operatorId", event.target.value)}>
                   <option value="">请选择运营商</option>
                   {operatorOptions.map((item) => <option key={item.id} value={item.id}>{item.name}</option>)}
                 </select>
-                <small>{provinceId ? "候选=所挂区域省份下可见的运营商档案(按需预选第一个,可改)。" : "先选挂载区域:运营商档案须与该区域同省,否则建档会被省份一致性校验拦下。"}</small>
               </label>
-              <div className="customer-team-field"><span className="ops-field-title">运维团队 <b title="必填">*</b></span>
+              <div className="customer-team-field"><span className="ops-field-title">运维团队 <b title="必填">*</b><FieldHint label="运维团队说明">单支定案:一个客户同一时刻恰好挂 1 支运维团队;默认预选范围内的第一支,可改。</FieldHint></span>
                 <CustomerTeamSelect options={org.maintenanceTeams.map((item) => ({ id: item.id, name: item.name, hint: (item.ticketTypes ?? []).join("、") }))} value={inline.teamId} onChange={(id) => setInlineField("teamId", id)} />
-                <small>单支定案:一个客户同一时刻恰好挂 1 支运维团队;默认预选范围内的第一支,可改。</small>
               </div>
               <label htmlFor="inline-login"><span className="ops-field-title">主账号登录名 <small>选填</small></span><Input id="inline-login" placeholder="留空按客户号派生" value={inline.login} onChange={(event) => setInlineField("login", event.target.value)} /></label>
               <label htmlFor="inline-mobile"><span className="ops-field-title">主账号绑定手机号 <small>选填</small></span><Input id="inline-mobile" inputMode="numeric" maxLength={11} placeholder="11 位手机号" value={inline.mobile} onChange={(event) => setInlineField("mobile", event.target.value)} /></label>
@@ -981,7 +979,7 @@ export function ContractEditorPage() {
           <div className="customer-form-section-title"><span>02</span><div><h2>合同基本要素</h2><p>必填。金额与付款周期确定期间,结束日由生效日自动推算、不可手改。</p></div></div>
           {!editing && customerId && (
             <div className="contract-renew-block">
-              <label htmlFor="renew-from"><span className="ops-field-title">续签自旧合同 <small>可选</small></span>
+              <label htmlFor="renew-from"><span className="ops-field-title">续签自旧合同 <small>可选</small><FieldHint label="续签自旧合同说明">选中即带出旧合同的合同金额、付款周期、服务条目与运营商经办人三件套,并把<b>合同生效日自动推为旧合同结束日的次日</b>(该日已早于今天时取今天,结束日再按付款周期推算);合同编号/外部单号/附件/交接日期仍按本合同填写(交接日期默认录入当日)。续签按「新订阅开通」落库:不截原、不挂替换边、不出第七类工单;<b>服务条目与旧合同逐条一致(形式/档位/份数/席位/带宽/出口,价格不算)时视为无需施工,不出开通工单</b>,新订阅按续签开始日记为已交付。</FieldHint></span>
                 <select id="renew-from" value={renewFrom} disabled={renewLoading || submitting} onChange={(event) => void pickRenewal(event.target.value)}>
                   <option value="">不续签(手工录入)</option>
                   {/* 深链续签源若不在客户合同列表里(已归档等),补一个同文案的选项,⛔ 让下拉空着。 */}
@@ -989,7 +987,6 @@ export function ContractEditorPage() {
                   {renewalOptions.map((row) => <option key={row.contract_id} value={row.contract_id}>{renewalOptionLabel(row)}</option>)}
                 </select>
               </label>
-              <p className="contract-form-summary">选中即带出旧合同的合同金额、付款周期、服务条目与运营商经办人三件套,并把<b>合同生效日自动推为旧合同结束日的次日</b>(该日已早于今天时取今天,结束日再按付款周期推算);合同编号/外部单号/附件/交接日期仍按本合同填写(交接日期默认录入当日)。续签按「新订阅开通」落库:不截原、不挂替换边、不出第七类工单;<b>服务条目与旧合同逐条一致(形式/档位/份数/席位/带宽/出口,价格不算)时视为无需施工,不出开通工单</b>,新订阅按续签开始日记为已交付。</p>
               {renewalList.loading && <p className="contract-form-summary">正在读取该客户的合同…</p>}
               {renewalList.error && <p className="ops-form-error" role="alert">{renewalList.error.message}</p>}
               {renewLoading && <p className="contract-form-summary">正在读取旧合同条目…</p>}
@@ -1002,14 +999,14 @@ export function ContractEditorPage() {
             <label htmlFor="contract-amount"><span className="ops-field-title">合同金额(元) <b title="必填">*</b></span><Input id="contract-amount" inputMode="decimal" placeholder="0.00" aria-invalid={invalidOf("amount")} value={draft.amount} onChange={(event) => set("amount", event.target.value)} />{requiredErrorOf("amount")}</label>
             <label htmlFor="pay-cycle"><span className="ops-field-title">付款周期 <b title="必填">*</b></span><select id="pay-cycle" aria-invalid={invalidOf("payCycle")} value={draft.payCycle} onChange={(event) => set("payCycle", event.target.value)}><option value="">未配置</option>{OPTIONS.pay_cycle.map((item) => <option key={item.value} value={item.value}>{item.label}</option>)}</select>{requiredErrorOf("payCycle")}</label>
             <label htmlFor="start-date"><span className="ops-field-title">合同生效日 <b title="必填">*</b></span><Input id="start-date" type="date" aria-invalid={invalidOf("start")} value={draft.start} onChange={(event) => set("start", event.target.value)} />{requiredErrorOf("start")}</label>
-            <label htmlFor="end-date"><span className="ops-field-title">合同结束日 <small>自动推算</small></span><Input id="end-date" type="date" value={draft.end} readOnly aria-readonly="true" className="cursor-not-allowed bg-muted/40" /><span className="ops-field-note">{draft.start && draft.payCycle ? <>=生效日+付款周期(年付 12/季付 3/月付 1 个月)再减一天,该月无对应日先取月末;<b>不可手改</b>,改生效日或付款周期即自动重算。</> : <>先填「合同生效日」与「付款周期」,结束日自动算出,<b>不可手改</b>。</>}</span></label>
+            <label htmlFor="end-date"><span className="ops-field-title">合同结束日 <small>自动推算</small><FieldHint label="合同结束日说明">{draft.start && draft.payCycle ? <>=生效日+付款周期(年付 12/季付 3/月付 1 个月)再减一天,该月无对应日先取月末;<b>不可手改</b>,改生效日或付款周期即自动重算。</> : <>先填「合同生效日」与「付款周期」,结束日自动算出,<b>不可手改</b>。</>}</FieldHint></span><Input id="end-date" type="date" value={draft.end} readOnly aria-readonly="true" className="cursor-not-allowed bg-muted/40" /></label>
             {/* 运营商经办人=交接单口径的三段,独占一行(机构/姓名/联系方式),⛔ 与上面六个商务格混排。 */}
             <div className="ops-form-span-full contract-agent-block">
               <span className="ops-field-title">运营商经办人</span>
               <div className="ops-form-grid contract-agent-grid">
-                <label htmlFor="agent-org"><span className="ops-field-title">机构 <small>选填</small></span><Input id="agent-org" placeholder="经办人所属机构" value={draft.agentOrg} onChange={(event) => set("agentOrg", event.target.value)} /><span className="ops-field-note">选填,不填也可提交;清空后保存即清除已记录的机构。</span></label>
+                <label htmlFor="agent-org"><span className="ops-field-title">机构 <small>选填</small><FieldHint label="经办人机构说明">选填,不填也可提交;清空后保存即清除已记录的机构。</FieldHint></span><Input id="agent-org" placeholder="经办人所属机构" value={draft.agentOrg} onChange={(event) => set("agentOrg", event.target.value)} /></label>
                 <label htmlFor="agent-name"><span className="ops-field-title">姓名 <b title="必填">*</b></span><Input id="agent-name" aria-invalid={invalidOf("agent")} value={draft.agent} onChange={(event) => set("agent", event.target.value)} />{requiredErrorOf("agent")}</label>
-                <label htmlFor="agent-phone"><span className="ops-field-title">联系方式 <b title="必填">*</b></span><Input id="agent-phone" inputMode="numeric" aria-invalid={invalidOf("agentPhone")} value={draft.agentPhone} onChange={(event) => set("agentPhone", event.target.value)} />{requiredErrorOf("agentPhone")}<span className="ops-field-note">必填。当前登录身份未提供手机号时留空,请手工录入经办人实际联系电话。</span></label>
+                <label htmlFor="agent-phone"><span className="ops-field-title">联系方式 <b title="必填">*</b><FieldHint label="经办人联系方式说明">必填。当前登录身份未提供手机号时留空,请手工录入经办人实际联系电话。</FieldHint></span><Input id="agent-phone" inputMode="numeric" aria-invalid={invalidOf("agentPhone")} value={draft.agentPhone} onChange={(event) => set("agentPhone", event.target.value)} />{requiredErrorOf("agentPhone")}</label>
               </div>
             </div>
             {/*
@@ -1019,13 +1016,12 @@ export function ContractEditorPage() {
               * 独占一行(`ops-form-span-full`),⛔ 与运营商经办人挤在同一行。
               */}
             <div className="ops-form-span-full contract-agent-readonly">
-              <span className="ops-field-title">录入经办人 <small>=当前录入账号,提交时自动带入</small></span>
+              <span className="ops-field-title">录入经办人 <small>=当前录入账号,提交时自动带入</small><FieldHint label="录入经办人说明">这三段由录入时账号自动带入,建后恒只读(KLT-L221),不得手工改。</FieldHint></span>
               <div className="contract-inline-group">
                 <span className="contract-inline-seg"><small>机构</small><span className="contract-inline-readonly">{editing ? record.data?.created_by_org || "未记录" : "取账号绑定团队"}</span></span>
                 <span className="contract-inline-seg"><small>姓名</small><span className="contract-inline-readonly">{editing ? record.data?.created_by_name || record.data?.created_by || "未记录" : identity?.name || "未登录"}</span></span>
                 <span className="contract-inline-seg"><small>联系方式</small><span className="contract-inline-readonly">{editing ? record.data?.created_by_mobile || "未绑定" : identity?.phone || "账号未绑手机号"}</span></span>
               </div>
-              <span className="ops-field-note">这三段由录入时账号自动带入,建后恒只读(KLT-L221),不得手工改。</span>
             </div>
             <label htmlFor="handover-on"><span className="ops-field-title">交接日期 <b title="必填">*</b></span><Input id="handover-on" type="date" aria-invalid={invalidOf("handoverOn")} value={draft.handoverOn} onChange={(event) => set("handoverOn", event.target.value)} />{requiredErrorOf("handoverOn")}</label>
           </div>
@@ -1042,27 +1038,21 @@ export function ContractEditorPage() {
               */}
             {!editing && (
               <div className="ops-form-span-full contract-increment-mode">
-                <label className="ops-field-title">合同类型</label>
+                <label className="ops-field-title">合同类型<FieldHint label="合同类型说明">{draft.increment ? "增量合同⛔ 新建链路:只能引用本客户一条在期跨境链路订阅(可跨合同),并在其下叠加附加项(D-9)。" : "普通合同可新建跨境链路,并在任意链路节点下挂附加项(D-7)。"}</FieldHint></label>
                 <div className="contract-increment-switch">
                   <Button type="button" variant={draft.increment ? "default" : "outline"} size="sm" aria-pressed={!draft.increment} onClick={() => toggleIncrement(false)}>普通合同(新建链路)</Button>
                   <Button type="button" variant={draft.increment ? "default" : "outline"} size="sm" aria-pressed={draft.increment} onClick={() => toggleIncrement(true)}>增量合同(链路已在用、只补附加项)</Button>
                 </div>
-                <span className="ops-field-note">
-                  {draft.increment
-                    ? "增量合同⛔ 新建链路:只能引用本客户一条在期跨境链路订阅(可跨合同),并在其下叠加附加项(D-9)。"
-                    : "普通合同可新建跨境链路,并在任意链路节点下挂附加项(D-7)。"}
-                </span>
               </div>
             )}
             {draft.increment && !editing && (
               <div className="ops-form-span-full">
-                <label htmlFor="increment-link"><span className="ops-field-title">引用既有跨境链路订阅 <b title="必填">*</b></span></label>
+                <label htmlFor="increment-link"><span className="ops-field-title">引用既有跨境链路订阅 <b title="必填">*</b><FieldHint label="引用既有跨境链路订阅说明">只列本客户 status=active、未到期、plan_family=link 的订阅;引用后该节点只读,要换链路请另开一份增量合同,⛔ 在原合同上改引。</FieldHint></span></label>
                 <select id="increment-link" aria-label="引用既有跨境链路订阅" value="" onChange={(event) => { addIncrementItem(event.target.value); event.target.value = ""; }} disabled={!customerId || linkSubscriptions.loading}>
                   <option value="">{!customerId ? "请先选定签约客户" : linkSubscriptions.loading ? "正在读取该客户在期链路订阅…" : linkOptions.length ? "选择本客户在期链路订阅(可跨合同)" : "该客户没有在期的跨境链路订阅"}</option>
                   {linkOptions.map((row) => <option key={row.subscription_id} value={row.subscription_id}>{[row.subscription_id, row.plan_name, row.contract_no, row.start_date && row.end_date ? `${row.start_date} 至 ${row.end_date}` : null, (row.line_exits ?? []).join("、")].filter(Boolean).join(" · ")}</option>)}
                 </select>
                 {linkSubscriptions.error && <span className="ops-field-error">{linkSubscriptions.error.message}</span>}
-                <span className="ops-field-note">只列本客户 `status=active`、未到期、`plan_family=link` 的订阅;引用后该节点只读,要换链路请另开一份增量合同,⛔ 在原合同上改引。</span>
               </div>
             )}
             {(() => {
@@ -1101,13 +1091,19 @@ export function ContractEditorPage() {
                   <div className="ops-form-grid ops-form-grid--business">
                     <label><span className="ops-field-title">套餐档位 <small>{child || item.itemMode === "increment" ? "附加项" : "跨境链路"}</small></span><select value={item.planId} onChange={(event) => pickPlan(index, event.target.value)}><option value="">{catalog.loading ? "载入中…" : WORD_UNCONFIGURED}</option>{planOptions.map((plan) => <option key={plan.plan_id} value={plan.plan_id}>{plan.plan_name}{plan.plan_family ? `(${label(PLAN_FAMILY, plan.plan_family)})` : ""}</option>)}</select></label>
                     {/* ⛔ 编辑态不再给「交付形态」格(2026-11-19):形态只由所引档位带入(D-15)。 */}
-                    {stackablePlan(item.planId) && <label><span className="ops-field-title">份数 <small>=IP 个数</small></span><Input type="number" min={1} disabled={Boolean(item.replacesSubscriptionId)} value={item.quantity} onChange={(event) => patchItem(index, { quantity: Number(event.target.value) })} /><span className="ops-field-note">{item.replacesSubscriptionId ? "替换时一条条目只生一份订阅,份数固定为 1。" : "附加项按份计价(例如「单独境外 IP」按个);跨境链路档份数恒 1。"}</span></label>}
+                    {stackablePlan(item.planId) && <label><span className="ops-field-title">份数 <small>=IP 个数</small><FieldHint label="份数说明">{item.replacesSubscriptionId ? "替换时一条条目只生一份订阅,份数固定为 1。" : "附加项按份计价(例如「单独境外 IP」按个);跨境链路档份数恒 1。"}</FieldHint></span><Input type="number" min={1} disabled={Boolean(item.replacesSubscriptionId)} value={item.quantity} onChange={(event) => patchItem(index, { quantity: Number(event.target.value) })} /></label>}
                     <div className="ops-form-span-full">
                       <Button type="button" variant="outline" size="sm" disabled={!customerId} title={customerId ? "为当前客户新建一个自定义档并直接选中" : "请先选定签约客户"} onClick={() => { setPlanEditorFor(index); setPlanEditor({ owner: customerId, planKind: "custom", lockOwner: true }); }}><Plus size={15} />新建本客户自定义档</Button>
                       {!customerId && <span className="ops-field-note">选定客户后才能就地新建自定义档(自定义档必须归属一个客户)。</span>}
                     </div>
                     <fieldset className="ops-form-span-full ops-contract-exit-fieldset">
-                      <legend>线路出口(从套餐配置选择,{LINE_EXIT_MAX} 个)</legend>
+                      <legend>线路出口(从套餐配置选择,{LINE_EXIT_MAX} 个)<FieldHint label="线路出口说明">
+                        {item.exits.length > 1
+                          ? `历史多出口条目只读(${item.exits.join("、")}):出口已改为单选,存量条目不做迁移;如需调整请新建条目。`
+                          : child
+                            ? `已选 ${item.exits.length}/${LINE_EXIT_MAX},候选只在父条目出口内(${options.join("、") || "父行尚未选"})。`
+                            : `已选 ${item.exits.length}/${LINE_EXIT_MAX}。线路出口在「套餐配置 → 线路出口」统一维护,此处只做选择;再点已选项即清空。`}
+                      </FieldHint></legend>
                       {exitCatalog.error && <FetchError message={exitCatalog.error.message} onRetry={exitCatalog.reload} />}
                       {!child && !exitCatalog.error && !exitOptions.length && !exitCatalog.loading && <p className="contract-form-summary">套餐配置尚未配置线路出口;请先到「套餐配置 → 线路出口」维护。</p>}
                       {item.exits.length > 1 ? (
@@ -1125,13 +1121,6 @@ export function ContractEditorPage() {
                         const active = item.exits.includes(exit);
                         return <button type="button" key={exit} className={active ? "ops-contract-exit is-active" : "ops-contract-exit"} aria-pressed={active} onClick={() => toggleExit(index, exit)}>{exit}{active ? <X size={13} /> : <Plus size={13} />}</button>;
                       })}</div>}
-                      <span className="ops-field-note">
-                        {item.exits.length > 1
-                          ? `历史多出口条目只读(${item.exits.join("、")}):出口已改为单选,存量条目不做迁移;如需调整请新建条目。`
-                          : child
-                            ? `已选 ${item.exits.length}/${LINE_EXIT_MAX},候选只在父条目出口内(${options.join("、") || "父行尚未选"})。`
-                            : `已选 ${item.exits.length}/${LINE_EXIT_MAX}。线路出口在「套餐配置 → 线路出口」统一维护,此处只做选择;再点已选项即清空。`}
-                      </span>
                     </fieldset>
                     {/**
                       * 逐条替换(2026-11-17):仅新建态、已选客户、条目档位/分类与出口齐全时请求候选。
@@ -1308,7 +1297,7 @@ function ReplacementBlock({
       </label>
     </> : <>
       <label className="ops-form-span-full">
-        <span className="ops-field-title">选择要替换的原订阅</span>
+        <span className="ops-field-title">选择要替换的原订阅<FieldHint label="选择要替换的原订阅说明">找到 {candidates.length} 份可选原订阅:必须显式选择,页面不预选。</FieldHint></span>
         <select
           aria-label={`条目 ${index + 1} 替换原订阅`}
           value={item.replacesSubscriptionId}
@@ -1320,7 +1309,6 @@ function ReplacementBlock({
           </option>)}
         </select>
       </label>
-      <span className="ops-field-note">找到 {candidates.length} 份可选原订阅:必须显式选择,页面不预选。</span>
     </>}
     {selected && <>
       <p className="contract-form-summary">

+ 2 - 1
web-scaffold/src/pages/ContractRecordPage.tsx

@@ -4,6 +4,7 @@ import { FetchError } from "../components/fetchError";
 import { Link, useLocation, useNavigate, useParams } from "react-router";
 import { Button } from "../components/ui/button";
 import { Input } from "../components/ui/input";
+import { FieldHint } from "../components/ui/field-hint";
 import { OpsNotice, OpsStatus, OpsTag, OpsTableEmpty } from "../components/OperationsKit";
 import { ReferenceDrawer, type RefTarget } from "../components/ReferenceDrawer";
 import { Tri } from "../components/triState";
@@ -531,7 +532,7 @@ export function ContractRecordPage() {
                         {/* ⛔ 编辑态不再给「交付形态」格:形态只由所引档位带入(D-15),
                             档位下拉的选项文字已带「(跨境链路)/(附加项)」标签,列表另有独立列;
                             编辑态再放一格只读回显=第三条重复的信息源(2026-11-19 裁定)。 */}
-                        {stackablePlan(item.planId) && <label><span className="ops-field-title">份数</span><Input type="number" min={1} value={item.quantity} onChange={(event) => patchItem(index, { quantity: Number(event.target.value) })} /><span className="ops-field-note">附加项按份计价,例如「单独境外 IP」按个叠加。</span></label>}
+                        {stackablePlan(item.planId) && <label><span className="ops-field-title">份数<FieldHint label="份数说明">附加项按份计价,例如「单独境外 IP」按个叠加。</FieldHint></span><Input type="number" min={1} value={item.quantity} onChange={(event) => patchItem(index, { quantity: Number(event.target.value) })} /></label>}
                         <fieldset className="ops-form-span-full ops-contract-exit-fieldset">
                           <legend>线路出口(从套餐配置选择,{LINE_EXIT_MAX} 个)</legend>
                           {exitCatalog.error && <FetchError message={exitCatalog.error.message} onRetry={exitCatalog.reload} />}

+ 9 - 9
web-scaffold/src/pages/CustomerEditorPage.tsx

@@ -16,6 +16,7 @@ import { FetchError } from "../components/fetchError";
 import { Button } from "../components/ui/button";
 import { Input } from "../components/ui/input";
 import { TreeSelect } from "../components/ui/tree-select";
+import { FieldHint } from "../components/ui/field-hint";
 import { CustomerTeamSelect } from "../components/CustomerTeamSelect";
 import { regionTreeNodes } from "../lib/region-tree";
 import { Tri } from "../components/triState";
@@ -75,8 +76,8 @@ export function CustomerEditorPage() {
   const [licenseBusy, setLicenseBusy] = useState(false);
   const [licenseError, setLicenseError] = useState("");
   function set<K extends keyof Draft>(key: K, value: Draft[K]) { setDraft((current) => ({ ...current, [key]: value })); setErrors((current) => { const next = { ...current }; delete next[key]; return next; }); }
-  function field(key: keyof Draft, label: string, control: ReactNode, required = false, wide = false) {
-    return <label className={`${wide ? "customer-form-wide " : ""}${errors[key] ? "has-error" : ""}`}><span className="ops-field-title">{label}{required && <b>*</b>}</span>{control}{errors[key] && <small className="customer-field-error" id={`error-${key}`}>{errors[key]}</small>}</label>;
+  function field(key: keyof Draft, label: string, control: ReactNode, required = false, wide = false, hint?: ReactNode) {
+    return <label className={`${wide ? "customer-form-wide " : ""}${errors[key] ? "has-error" : ""}`}><span className="ops-field-title">{label}{required && <b>*</b>}{hint && <FieldHint label={`${label}说明`}>{hint}</FieldHint>}</span>{control}{errors[key] && <small className="customer-field-error" id={`error-${key}`}>{errors[key]}</small>}</label>;
   }
   const input = (key: keyof Draft, placeholder = "") => <Input name={key} value={draft[key]} placeholder={placeholder} aria-invalid={Boolean(errors[key])} aria-describedby={errors[key] ? `error-${key}` : undefined} onChange={(event) => set(key, event.target.value)} />;
   const select = (key: keyof Draft, options: { id: string; name: string }[], placeholder: string) => <select name={key} value={draft[key]} aria-invalid={Boolean(errors[key])} aria-describedby={errors[key] ? `error-${key}` : undefined} onChange={(event) => set(key, event.target.value)}><option value="">{placeholder}</option>{options.map((item) => <option key={item.id} value={item.id}>{item.name}</option>)}</select>;
@@ -206,16 +207,15 @@ export function CustomerEditorPage() {
   return <form ref={form} noValidate onSubmit={save} className="ops-page ops-record-page customer-editor"><Link to={back.to} state={back.state} className="ops-back-link"><ArrowLeft size={16} />{back.label}</Link><header className="ops-record-header"><div><p>客户管理 / {no ? "编辑档案" : "新增客户"}</p><h1>{no ? `编辑 ${original?.customer_name ?? no}` : "新增客户"}</h1><p>{no ? "识别号可更正(留空或不改动=不提交);变更依据选填,填写后由后端留存。" : "建立客户档案与主账号,套餐订阅在建档后办理。"}</p></div><Button type="submit" disabled={busy}>{busy ? "正在保存…" : no ? "保存档案" : "新建客户"}</Button></header>
     {(saveError || Object.keys(errors).length > 0) && <div className="ops-form-error" role="alert">{saveError || `有 ${Object.keys(errors).length} 项未通过校验,请修正标记的字段,已填内容全部保留。`}</div>}
     <section className="ops-record-card"><div className="customer-form-section-title"><span>01</span><div><h2>主体资料</h2><p>客户允许重名,以识别号查重、以客户号关联业务。</p></div></div><div className="ops-form-grid">
-      <label><span className="ops-field-title">客户号</span><Input disabled value={no ?? "由后端生成"} /><small>建档后不可修改,由 <code>/customer/create@v1</code> 生成。</small></label>
+      <label><span className="ops-field-title">客户号<FieldHint label="客户号说明">建档后不可修改,由 <code>/customer/create@v1</code> 生成。</FieldHint></span><Input disabled value={no ?? "由后端生成"} /></label>
       {field("name", "客户名称", input("name", "请输入营业执照名称或个人姓名"), true)}
       {field("subject", "主体类型", <select value={draft.subject} onChange={(event) => set("subject", event.target.value)}>{SUBJECT_OPTIONS.map((item) => <option key={item.code} value={item.code}>{item.name}</option>)}</select>)}
       {no && original?.subject_type === "enterprise" && draft.subject !== "enterprise" && <div className="customer-form-wide"><small className="customer-form-note">保存后主体类型改为「{SUBJECT_OPTIONS.find((item) => item.code === draft.subject)?.name ?? draft.subject}」,系统将<b>同时撤销</b>该客户已留存的营业执照影像(非企业不采集证件影像);本次撤销写入客户档案变更留痕,之后如需恢复只能按企业主体重新上传。</small></div>}
-      {field("idNo", "客户识别号", <>
-        {input("idNo", "统一社会信用代码 / 身份证号")}
-        {no && <small className="customer-form-note">{original?.identity_no_masked
+      {field("idNo", "客户识别号", input("idNo", "统一社会信用代码 / 身份证号"), !no, false,
+        no ? (original?.identity_no_masked
           ? "当前为后端脱敏识别号(明文不出后端);更正请清空后填入完整号码,不改动=不提交。"
-          : "该客户尚未登记识别号;填入完整号码即视为登记(后端查重+加密落库)。"}</small>}
-      </>, !no)}
+          : "该客户尚未登记识别号;填入完整号码即视为登记(后端查重+加密落库)。")
+          : "统一社会信用代码 / 身份证号;是查重键,建案时按它判重。")}
       {no && field("basisNote", "变更依据(选填)", input("basisNote", "例如:客户补充证件,原识别号录入有误"), false, true)}
       {field("contact", "联系人", input("contact", "客户方联系人,个人客户填本人"))}
       {field("phone", "联系电话", input("phone", "支持固定电话或手机号"))}
@@ -227,7 +227,7 @@ export function CustomerEditorPage() {
       {field("partnerId", "合伙人", select("partnerId", data.partners.map((item) => ({ id: item.id, name: `${item.name} · ${item.title}` })), "不绑定"))}
       <div className="customer-team-field"><span className="ops-field-title">运维团队{!no && <b>*</b>}</span><CustomerTeamSelect options={data.maintenanceTeams.map((item) => ({ id: item.id, name: item.name, hint: (item.ticketTypes ?? []).map(typeLabel).join("、") }))} value={draft.teamIds[0] ?? ""} onChange={(id) => set("teamIds", [id])} />{errors.teamIds && <small className="customer-field-error">{errors.teamIds}</small>}{staleTeamIds.length > 1 && <small className="customer-form-note">后端当期回显该客户挂了 {staleTeamIds.length} 支运维团队({staleTeamIds.map(teamName).join("、")})——历史脏数据,需改派为单支;改派前本次不提交运维团队。</small>}</div>
     </div></section>
-    <section className="ops-record-card"><div className="customer-form-section-title"><span>03</span><div><h2>客户主账号</h2><p>一个客户一个主账号,不占套餐席位。</p></div></div>{no ? <p className="customer-form-note">主账号登录名与激活状态:{MISSING}(<code>/account/*</code> 无读接口);激活码重置请到客户档案办理。</p> : <><div className="ops-form-grid">{field("login", "主账号登录名(选填)", <Input name="login" value={draft.login} placeholder={loginPreview} autoComplete="off" onChange={(event) => { setManualLogin(true); set("login", event.target.value); }} />)}{field("masterPhone", "主账号绑定手机号", <Input name="masterPhone" value={draft.masterPhone} inputMode="numeric" maxLength={11} autoComplete="off" placeholder="选填,11 位手机号" onChange={(event) => set("masterPhone", event.target.value)} />)}</div><div className="customer-form-note">留空登录名由后端分配;建档回执若下发激活码,将在结果页一次性展示。</div></>}</section>
+    <section className="ops-record-card"><div className="customer-form-section-title"><span>03</span><div><h2>客户主账号</h2><p>一个客户一个主账号,不占套餐席位。</p></div></div>{no ? <p className="customer-form-note">主账号登录名与激活状态:{MISSING}(<code>/account/*</code> 无读接口);激活码重置请到客户档案办理。</p> : <><div className="ops-form-grid">{field("login", "主账号登录名(选填)", <Input name="login" value={draft.login} placeholder={loginPreview} autoComplete="off" onChange={(event) => { setManualLogin(true); set("login", event.target.value); }} />, false, false, "留空登录名由后端分配;建档回执若下发激活码,将在结果页一次性展示。")}{field("masterPhone", "主账号绑定手机号", <Input name="masterPhone" value={draft.masterPhone} inputMode="numeric" maxLength={11} autoComplete="off" placeholder="选填,11 位手机号" onChange={(event) => set("masterPhone", event.target.value)} />, false, false, "选填,11 位手机号;用于主账号登录验证与找回,不占套餐席位。")}</div></>}</section>
     {!no && <section className="ops-record-card"><div className="customer-form-section-title"><span>04</span><div><h2>登记材料与合同文档</h2><p>企业客户营业执照影像必填;个人与个体工商户不适用。</p></div></div><div className="customer-document-grid">{draft.subject === "enterprise" ? <div className={`customer-document-picker${errors.license ? " has-error" : ""}`}><div><strong>登记材料 · 营业执照影像<b>*</b></strong><label className="customer-upload-button" title="选择后立即直传平台对象存储(字节流不经过本系统)"><Upload size={15} />{licenseBusy ? "正在上传…" : licenseObj ? "重新选择" : "选择文件"}<input aria-label="上传登记材料" type="file" disabled={licenseBusy || busy} onChange={(event) => { const file = event.target.files?.[0] ?? null; event.target.value = ""; void pickLicense(file); }} /></label></div><p>{licenseObj ? `已上传:${licenseObj.file_name}` : licenseBusy ? "正在上传影像…" : "尚未选择文件"}</p>{licenseError && <small className="customer-field-error">{licenseError}</small>}{errors.license && <small className="customer-field-error">{errors.license}</small>}</div>: <div className="customer-document-picker"><div><strong>登记材料</strong></div><p>不适用(个人与个体工商户不采集证件影像)</p></div>}<div className="customer-document-picker"><div><strong>合同文档</strong><label className="customer-upload-button" title="合同文档随合同登记上传(合同详情 → 附件),建档页不采集"><Upload size={15} />选择文件<input aria-label="上传合同文档" type="file" multiple disabled /></label></div><p>合同文档由合同模块登记,本页不采集</p></div></div></section>}
     <footer className="ops-form-actions"><Button type="button" variant="outline" disabled={busy} onClick={() => navigate(back.to, { state: back.state })}>取消</Button><Button type="submit" disabled={busy}>{busy ? "正在保存…" : no ? "保存档案" : "新建客户"}</Button></footer>
   </form>;

+ 2 - 1
web-scaffold/src/pages/CustomerTicketPages.tsx

@@ -16,6 +16,7 @@ import { Link, useLocation, useSearchParams } from "react-router";
 import { Button } from "../components/ui/button";
 import { Input } from "../components/ui/input";
 import { FilterSelect } from "../components/ui/filter-select";
+import { FieldHint } from "../components/ui/field-hint";
 import { ServerListPager } from "../components/ListPager";
 import { TicketState } from "../components/ticketState";
 import { WorkspaceEmpty, WorkspaceHeading, WorkspacePanel } from "../components/RoleWorkspaceKit";
@@ -66,7 +67,7 @@ export function CustomerSubmitPage() {
         {done && <div className="workspace-success" role="status"><Check size={18} /><span>{`工单 ${done.no} 已提交,运维团队将尽快与您联系。`} <Link className="workspace-link" to={`/work-orders/${encodeURIComponent(done.no ?? done.id)}`}>查看工单 <ArrowRight size={14} /></Link></span></div>}
         <form className="workspace-form !pt-0" onSubmit={onSubmit}>
           <label className="workspace-field"><span>事项类型 <em>*</em></span><select value={type} onChange={(event) => setType(event.target.value as "fault" | "after_sale")}><option value="fault">故障报修</option><option value="after_sale">售后服务</option></select></label>
-          <label className="workspace-field"><span>事项标题 <em>*</em></span><input required maxLength={128} placeholder="一句话说明诉求" value={title} onChange={(event) => { setTitle(event.target.value); setTip(""); }} /><small>受理方按标题快速识别事项,最长 128 字。</small></label>
+          <label className="workspace-field"><span>事项标题 <em>*</em><FieldHint label="事项标题说明">受理方按标题快速识别事项,最长 128 字。</FieldHint></span><input required maxLength={128} placeholder="一句话说明诉求" value={title} onChange={(event) => { setTitle(event.target.value); setTip(""); }} /></label>
           <label className="workspace-field"><span>问题描述 <em>*</em></span><textarea required minLength={2} maxLength={1000} rows={7} placeholder="例如:今天上午办公应用无法访问,已重启客户端,仍提示连接超时……" value={description} onChange={(event) => { setDescription(event.target.value); setTip(""); }} /><small>{description.length} / 1000 字</small></label>
           <p className="text-[13px] leading-6 text-muted-foreground">现场照片、录音等材料请在工单创建后到工单详情上传。</p>
           {tip && <p className="workspace-error" role="alert">{tip}</p>}

+ 5 - 4
web-scaffold/src/pages/FinanceReferencePages.tsx

@@ -7,6 +7,7 @@ import { ListPager, ServerListPager } from "../components/ListPager";
 import { slicePage, useLocalPage, LIST_PAGE_SIZE } from "../lib/list-paging";
 import { Button } from "../components/ui/button";
 import { Input } from "../components/ui/input";
+import { FieldHint } from "../components/ui/field-hint";
 import { OpsHint, OpsNotice, OpsResponsiveActions, OpsStatus, OpsTag, OpsTableEmpty, OpsTableColumns } from "../components/OperationsKit";
 import { TreeSelect } from "../components/ui/tree-select";
 import { regionTreeNodes } from "../lib/region-tree";
@@ -622,8 +623,8 @@ export function CostManagementPage() {
       <header><div><p>成本管理 / 成本金额定义</p><h2 id="cost-amount-title">{amountForm.mode === "new" ? "新增运营商成本" : "编辑运营商成本"}</h2></div><Button variant="ghost" size="icon" aria-label="关闭" onClick={closeAmountForm}><X size={18} /></Button></header>
       <div className="ops-batch-dialog-body">
         <div className="ops-form-grid">
-          <label><span className="ops-field-title">省份 <b>*</b></span><select value={amountForm.regionId} disabled={amountForm.mode === "edit"} title={amountForm.mode === "edit" ? "改金额不改组合:省份与运营商在已有组合上锁死" : "只列还有未配运营商的省份"} onChange={(event) => pickFormRegion(event.target.value)}>{provinceNodes.map((region) => { const count = operatorsOf(region.id).length; const pending = pendingCountOf(region.id); return <option key={region.id} value={region.id} disabled={!count || (amountForm.mode === "new" && pending === 0)}>{region.name}{!count ? "(无在册运营商)" : pending === 0 ? "(均已配置)" : `(可新增 ${pending} 个运营商)`}</option>; })}</select></label>
-          <label><span className="ops-field-title">运营商 <b>*</b></span><select value={amountForm.operatorId} disabled={amountForm.mode === "edit"} onChange={(event) => pickFormOperator(event.target.value)}>{operatorsOf(amountForm.regionId).length ? operatorsOf(amountForm.regionId).map((item) => { const configured = isComboConfigured(amountForm.regionId, item.id); return <option key={item.id} value={item.id} disabled={amountForm.mode === "new" && configured}>{item.name}{configured ? "(已有金额)" : ""}</option>; }) : <option value="">该省无在册运营商</option>}</select></label>
+          <label><span className="ops-field-title">省份 <b>*</b><FieldHint label="省份说明">{amountForm.mode === "edit" ? "改金额不改组合:省份与运营商在已有组合上锁死。" : "只列还有未配运营商的省份;括号内是该省可新增的运营商数。"}</FieldHint></span><select value={amountForm.regionId} disabled={amountForm.mode === "edit"} onChange={(event) => pickFormRegion(event.target.value)}>{provinceNodes.map((region) => { const count = operatorsOf(region.id).length; const pending = pendingCountOf(region.id); return <option key={region.id} value={region.id} disabled={!count || (amountForm.mode === "new" && pending === 0)}>{region.name}{!count ? "(无在册运营商)" : pending === 0 ? "(均已配置)" : `(可新增 ${pending} 个运营商)`}</option>; })}</select></label>
+          <label><span className="ops-field-title">运营商 <b>*</b><FieldHint label="运营商说明">新增时已有金额的组合在下拉里禁用;改金额请到一览表行内「编辑金额」。省份与运营商在已有组合上锁死,⛔ 借编辑改组合。</FieldHint></span><select value={amountForm.operatorId} disabled={amountForm.mode === "edit"} onChange={(event) => pickFormOperator(event.target.value)}>{operatorsOf(amountForm.regionId).length ? operatorsOf(amountForm.regionId).map((item) => { const configured = isComboConfigured(amountForm.regionId, item.id); return <option key={item.id} value={item.id} disabled={amountForm.mode === "new" && configured}>{item.name}{configured ? "(已有金额)" : ""}</option>; }) : <option value="">该省无在册运营商</option>}</select></label>
         </div>
         <div className="ops-cost-amount-rows">
           <div className="ops-cost-amount-row ops-cost-amount-row--head" aria-hidden="true"><span>成本项</span><span>计算方式</span><span>具体金额(元 / 月)</span></div>
@@ -653,12 +654,12 @@ export function CostManagementPage() {
           <label><span className="ops-field-title">成本类别 <b>*</b></span><select value={draftDef.category} onChange={(event) => setDraftDef({ ...draftDef, category: event.target.value })}>{CATEGORY_OPTIONS.map((item) => <option key={item.value} value={item.value}>{item.text}</option>)}</select></label>
           <label><span className="ops-field-title">项目(成本项名称) <b>*</b></span><Input aria-invalid={Boolean(nameError) || undefined} value={draftDef.itemName} onChange={(event) => { setDraftDef({ ...draftDef, itemName: event.target.value }); if (nameError) setNameError(""); }} placeholder="例如 国际出口带宽月摊销" />{nameError && <small className="ops-form-error" role="alert">{nameError}</small>}</label>
           <label><span className="ops-field-title">计算方式</span><select value={draftDef.billingUnit} onChange={(event) => setDraftDef({ ...draftDef, billingUnit: event.target.value })}>{BILLING_OPTIONS.map((item) => <option key={item.value} value={item.value}>{item.text}</option>)}</select></label>
-          <label><span className="ops-field-title">周期</span><select value="monthly" disabled title="周期一期恒 monthly(设计册 分成§2.1,后端 CHECK 钉死),由服务端写常量;表单不提交该键"><option value="monthly">{COST_CYCLE.monthly}</option></select></label>
+          <label><span className="ops-field-title">周期<FieldHint label="周期说明">周期一期恒 monthly(设计册 分成§2.1,后端 CHECK 钉死),由服务端写常量;表单不提交该键。</FieldHint></span><select value="monthly" disabled><option value="monthly">{COST_CYCLE.monthly}</option></select></label>
           <div className="ops-form-check-row">
             <label className="ops-form-check"><input type="checkbox" checked={draftDef.amortized} onChange={(event) => setDraftDef({ ...draftDef, amortized: event.target.checked, amortMonths: event.target.checked ? draftDef.amortMonths : "" })} title="勾选后可填「总摊销月份数」;取消勾选立即清空并置灰" />是否摊销</label>
             <OpsHint label="「是否摊销」口径说明" title="是否摊销">{COST_AMORTIZED_HINT.map((line) => <p key={line}>{line}</p>)}</OpsHint>
           </div>
-          <label><span className="ops-field-title">总摊销月份数</span><Input type="number" min="1" step="1" disabled={!draftDef.amortized} placeholder={draftDef.amortized ? "留空表示每月摊销、不结束;填值须为正整数" : "勾选「是否摊销」后可填"} value={draftDef.amortMonths} onChange={(event) => setDraftDef({ ...draftDef, amortMonths: event.target.value })} /></label>
+          <label><span className="ops-field-title">总摊销月份数<FieldHint label="总摊销月份数说明">留空表示每月摊销、不结束;填值须为正整数。需先勾选「是否摊销」才可填。</FieldHint></span><Input type="number" min="1" step="1" disabled={!draftDef.amortized} placeholder={draftDef.amortized ? "留空表示每月摊销、不结束" : "勾选「是否摊销」后可填"} value={draftDef.amortMonths} onChange={(event) => setDraftDef({ ...draftDef, amortMonths: event.target.value })} /></label>
           <div className="ops-form-check-row">
             <label className="ops-form-check"><input type="checkbox" checked={draftDef.deduct} onChange={(event) => setDraftDef({ ...draftDef, deduct: event.target.checked })} />从分成基数中扣除</label>
             <OpsHint label="「从分成基数中扣除」口径说明" title="从分成基数中扣除">{COST_DEDUCT_HINT.map((line) => <p key={line}>{line}</p>)}</OpsHint>

+ 3 - 3
web-scaffold/src/pages/IllustratedLoginPage.tsx

@@ -223,7 +223,7 @@ export function IllustratedLoginPage() {
 
             <form className="space-y-5" noValidate onSubmit={handleSubmit}>
               <div>
-                <label className="mb-2 block text-sm font-medium" htmlFor="illustrated-account">
+                <label className="field-label mb-2 block text-sm" htmlFor="illustrated-account">
                   账号
                 </label>
                 <div className="relative">
@@ -264,7 +264,7 @@ export function IllustratedLoginPage() {
               </div>
 
               <div>
-                <label className="mb-2 block text-sm font-medium" htmlFor="illustrated-password">
+                <label className="field-label mb-2 block text-sm" htmlFor="illustrated-password">
                   密码
                 </label>
                 <div className="relative">
@@ -321,7 +321,7 @@ export function IllustratedLoginPage() {
               </div>
 
               <div>
-                <label className="mb-2 block text-sm font-medium" htmlFor="illustrated-captcha">
+                <label className="field-label mb-2 block text-sm" htmlFor="illustrated-captcha">
                   验证码
                 </label>
                 <div className={`illustrated-login__captcha-row${errors.captcha ? " is-invalid" : ""}`}>

+ 2 - 2
web-scaffold/src/pages/TeamQueuePage.tsx

@@ -16,6 +16,7 @@ import { ArrowRight, Check, Clock3, Info, Shuffle, UserRoundCheck } from "lucide
 import { Link, useLocation, useSearchParams } from "react-router";
 import { Button } from "../components/ui/button";
 import { FilterSelect } from "../components/ui/filter-select";
+import { FieldHint } from "../components/ui/field-hint";
 import { OpsDrawer, OpsNotice, OpsStatus, OpsTag } from "../components/OperationsKit";
 import { WorkspaceEmpty, WorkspaceHeading, WorkspacePanel, WorkspaceSearch } from "../components/RoleWorkspaceKit";
 import { useDemoIdentity } from "../lib/demo-session";
@@ -159,12 +160,11 @@ export function QueueBoard({ teamId, teamName, showTeamColumn = false, canAutoDi
           {summary && <p className="text-sm leading-7">上轮回执:分派 {summary.dispatched.length} 张 / 扫描 {summary.scanned} 张 / 跳过 {summary.skipped.length} 张。</p>}
         </> : <>
           <p className="text-sm leading-7">{action.ticket_no ?? "未编号"}<br />{action.customer_name ?? "-"} · {typeLabel(action.ticket_type)}</p>
-          <label className="workspace-field"><span>接单成员 <em>*</em></span>
+          <label className="workspace-field"><span>接单成员 <em>*</em><FieldHint label="接单成员说明">{candidates.length ? "名单由服务端按工单类型、成员负责范围与账号状态过滤(运营账号按客户负责范围入池),不支持指派名单之外的成员。" : "没有符合条件的成员,请先在成员与负责范围中配置后重试。"}</FieldHint></span>
             <select value={memberId} onChange={(event) => setMemberId(event.target.value)}>
               <option value="">请选择成员</option>
               {candidates.map((c) => <option key={c.user_id} value={c.user_id}>{c.display_name ?? c.username ?? c.user_id}{c.source === "ops_account" ? "(运营账号)" : ""} · 未完成 {c.pending_count} 张</option>)}
             </select>
-            <small>{candidates.length ? "名单由服务端按工单类型、成员负责范围与账号状态过滤(运营账号按客户负责范围入池),不支持指派名单之外的成员。" : "没有符合条件的成员,请先在成员与负责范围中配置后重试。"}</small>
           </label>
         </>}
         {tip && <p role="alert" className="workspace-error">{tip}</p>}

+ 4 - 5
web-scaffold/src/pages/WorkOrderManagementPage.tsx

@@ -10,6 +10,7 @@ import {
 } from "lucide-react";
 import { Button } from "../components/ui/button";
 import { Input } from "../components/ui/input";
+import { FieldHint } from "../components/ui/field-hint";
 import { Link, useLocation, useNavigate, useSearchParams } from "react-router";
 import { customerGetList, orderGetList, rowsOf } from "../lib/api/bos";
 import {
@@ -121,15 +122,13 @@ function Editor({ onClose, onCreated }: { onClose: () => void; onCreated: (messa
       <section><h3><span>02</span>归属客户与订阅</h3>
         <div className="work-order-form-grid">
           <label>客户检索<Input autoFocus maxLength={50} placeholder="输入客户名称或编号" value={keyword} onChange={(event) => setKeyword(event.target.value)} /></label>
-          <label>归属客户 <em>*</em><select value={customerId} onChange={(event) => pickCustomer(event.target.value)}><option value="">请选择</option>{customers.map((c) => <option key={c.customer_id} value={c.customer_id}>{c.customer_name ?? c.customer_id}</option>)}</select></label>
-          <label className="wide">关联订阅<select value={orderId} onChange={(event) => setOrderId(event.target.value)}><option value="">不关联</option>{orders.map((s) => <option key={s.subscription_id} value={s.subscription_id}>{s.plan_name ?? s.subscription_id}{s.contract_no ? ` · ${s.contract_no}` : ""}</option>)}</select></label>
+          <label>归属客户 <em>*</em><FieldHint label="归属客户说明">候选只含当前身份可见的客户;订阅随客户联动。</FieldHint><select value={customerId} onChange={(event) => pickCustomer(event.target.value)}><option value="">请选择</option>{customers.map((c) => <option key={c.customer_id} value={c.customer_id}>{c.customer_name ?? c.customer_id}</option>)}</select></label>
+          <label className="wide">关联订阅 <FieldHint label="关联订阅说明">不关联=通用故障/售后;选择订阅后工单会挂到该订阅,便于按订阅追溯处理。</FieldHint><select value={orderId} onChange={(event) => setOrderId(event.target.value)}><option value="">不关联</option>{orders.map((s) => <option key={s.subscription_id} value={s.subscription_id}>{s.plan_name ?? s.subscription_id}{s.contract_no ? ` · ${s.contract_no}` : ""}</option>)}</select></label>
         </div>
-        <p>候选只含当前身份可见的客户;订阅随客户联动。</p>
       </section>
       <section><h3><span>03</span>事项内容</h3>
         <label>事项标题 <em>*</em><Input required maxLength={100} placeholder="一句话说明诉求" value={title} onChange={(event) => setTitle(event.target.value)} /></label>
-        <label>详细描述<textarea maxLength={1000} rows={5} placeholder="现象、影响范围、期望完成时间" value={detail} onChange={(event) => setDetail(event.target.value)} /></label>
-        <p>建单后进入待分派/待处理,过程材料在详情内直传。</p>
+        <label>详细描述<FieldHint label="详细描述说明">现象、影响范围、期望完成时间;建单后进入待分派/待处理,过程材料在详情内直传。</FieldHint><textarea maxLength={1000} rows={5} placeholder="现象、影响范围、期望完成时间" value={detail} onChange={(event) => setDetail(event.target.value)} /></label>
       </section>
       {tip && <p className="work-order-form-error" role="alert">{tip}</p>}
       {failure && <p className="work-order-form-error" role="alert">{failure.message}</p>}

+ 2 - 1
web-scaffold/src/pages/WorkOrderRecordPage.tsx

@@ -5,6 +5,7 @@ import {
 } from "lucide-react";
 import { Button } from "../components/ui/button";
 import { Input } from "../components/ui/input";
+import { FieldHint } from "../components/ui/field-hint";
 import { Navigate, useLocation, useNavigate, useParams, useSearchParams } from "react-router";
 import { opsTeamGetList, rowsOf } from "../lib/api/bos";
 import { customerTicketBack, detailBack } from "../lib/detail-navigation";
@@ -363,7 +364,7 @@ function Repeater({ title, hint, required, onAdd, addDisabled, foot, children, d
   dataFocus?: GapFocus;
 }) {
   return <div className="wide work-order-repeater" data-gap-focus={dataFocus}>
-    <div className="work-order-repeater-head"><span>{title}{required && <em> *</em>}</span><small>{hint}</small></div>
+    <div className="work-order-repeater-head"><span>{title}{required && <em> *</em>}{hint && <FieldHint label={`${title}说明`}>{hint}</FieldHint>}</span></div>
     {children}
     <div className="work-order-repeater-foot">
       <Button variant="outline" size="sm" onClick={onAdd} disabled={addDisabled}><Plus size={14} />增加一行</Button>

+ 8 - 9
web-scaffold/src/pages/WorkOrderSettingsPage.tsx

@@ -8,6 +8,7 @@
  */
 import { useEffect, useState } from "react";
 import { Button } from "../components/ui/button";
+import { FieldHint } from "../components/ui/field-hint";
 import { useDemoIdentity } from "../lib/demo-session";
 import { classifyTicketError, fmtTime, useClosureConfig } from "../lib/ticket";
 import { ticketConfigUpdate, type ClosureConfigUpdateResult } from "../lib/api/ticket";
@@ -121,11 +122,10 @@ export function WorkOrderSettingsPage() {
     {config.loading && <p className="ops-empty">正在读取闭环方式配置…</p>}
     {fail && <p className="ops-empty" role="alert">{fail.kind === "permission" ? "当前账号无权查看工单配置(配置仅运营侧可见)。" : fail.kind === "wiring" ? "接口待后端接线。" : ""}{fail.message}</p>}
     {current && <form className="ops-record-card" onSubmit={(event) => { event.preventDefault(); void save(); }}>
-      <div className="ops-form-grid"><label>主线工单闭环方式<select disabled={!canEdit || config.loading} value={mode} onChange={(event) => { setMode(event.target.value); setTip(""); setResult(null); }}>
+      <div className="ops-form-grid"><label>主线工单闭环方式<FieldHint label="主线工单闭环方式说明">配置只影响之后执行成功的工单。已停在「已完成待确认」等待回执的工单沿原路径办理。</FieldHint><select disabled={!canEdit || config.loading} value={mode} onChange={(event) => { setMode(event.target.value); setTip(""); setResult(null); }}>
         {MODES.map(([code, name]) => <option key={code} value={code}>{name}</option>)}
       </select></label></div>
       <p>当前生效:<strong>{current.closure_mode_name}</strong>({current.closure_mode})· 最近更新 {fmtTime(current.updated_at)}{current.updated_by ? ` · 操作人 ${current.updated_by}` : ""}。</p>
-      <p>配置只影响之后执行成功的工单。已停在「已完成待确认」等待回执的工单沿原路径办理。</p>
       {canEdit ? <>
         <label>改动原因(写入审计)<textarea rows={3} maxLength={200} disabled={submit.busy} placeholder="为什么切换闭环路径" value={reason} onChange={(event) => setReason(event.target.value)} /></label>
         {tip && <p role="alert" className="work-order-form-error">{tip}</p>}
@@ -141,7 +141,7 @@ export function WorkOrderSettingsPage() {
     {renewalError && <p className="ops-empty" role="alert">{renewalError}</p>}
     {renewal && <form className="ops-record-card" onSubmit={(event) => { event.preventDefault(); void saveRenewal(); }}>
       <div className="ops-form-grid">
-        <label>提前提醒天数(天)
+        <label>提前提醒天数(天)<FieldHint label="提前提醒天数说明">合同结束日前 N 天触发续签提醒;改动只影响之后生成的提醒,已发出的提醒不回滚。</FieldHint>
           <input
             disabled={!canEdit || renewBusy}
             max={180}
@@ -152,7 +152,11 @@ export function WorkOrderSettingsPage() {
             value={noticeDays}
           />
         </label>
-        <label>续签工单生成方式
+        <label>续签工单生成方式<FieldHint label="续签工单生成方式说明">
+          人工模式向<b>原合同经办人</b>和<b>客户当期运维团队主账号</b>的站内提醒箱各投一封提醒,读信人可在顶栏「消息」里选择运营人员后生成续签工单;
+          自动模式由 CONTRACT-RENEW 作业直接建单,优先分派给原合同经办人,退团队主账号。
+          续签工单在「新合同已签订 ∧ 该合同名下交付工单全部竣工」后自动闭环;未达成前不会关闭。
+        </FieldHint>
           <select disabled={!canEdit || renewBusy} value={renewMode} onChange={(event) => { setRenewMode(event.target.value); setRenewTip(""); setRenewResult(null); }}>
             {RENEW_MODES.map(([code, name]) => <option key={code} value={code}>{name}</option>)}
           </select>
@@ -163,11 +167,6 @@ export function WorkOrderSettingsPage() {
         <strong>{renewal.generate_mode_name}</strong>
         {renewal.updated_at ? ` · 最近更新 ${fmtTime(renewal.updated_at)}` : ""}{renewal.updated_by ? ` · 操作人 ${renewal.updated_by}` : ""}。
       </p>
-      <p>
-        人工模式向<b>原合同经办人</b>和<b>客户当期运维团队主账号</b>的站内提醒箱各投一封提醒,读信人可在顶栏「消息」里选择运营人员后生成续签工单;
-        自动模式由 CONTRACT-RENEW 作业直接建单,优先分派给原合同经办人,退团队主账号。
-      </p>
-      <p>续签工单在「新合同已签订 ∧ 该合同名下交付工单全部竣工」后自动闭环;未达成前不会关闭。</p>
       {canEdit ? <>
         <label>改动原因(写入审计)<textarea rows={3} maxLength={200} disabled={renewBusy} placeholder="为什么调整提前天数或生成方式" value={renewReason} onChange={(event) => setRenewReason(event.target.value)} /></label>
         {renewTip && <p role="alert" className="work-order-form-error">{renewTip}</p>}

+ 1 - 1
web-scaffold/src/styles/contract-customer-onboarding.css

@@ -1,7 +1,7 @@
 .contract-customer-choice { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:16px 0; }
 .contract-customer-choice button[aria-pressed="true"] { border-color:var(--primary); background:var(--primary-soft); color:var(--primary); }
 .contract-customer-search { display:grid; grid-template-columns:minmax(180px,1fr) minmax(220px,1.4fr); gap:12px; }
-.contract-customer-search label { display:flex; flex-direction:column; gap:7px; font-size:var(--type-support); font-weight:600; min-width:0; }
+.contract-customer-search label { display:flex; flex-direction:column; gap:7px; color:var(--field-label); font-size:var(--type-support); font-weight:400; min-width:0; }
 .contract-inline-customer { margin-top:16px; }
 .contract-inline-customer h3 { margin:22px 0 14px; font-size:var(--type-body); font-weight:600; }
 .contract-inline-customer .contract-customer-wide { grid-column:1/-1; }

+ 1 - 1
web-scaffold/src/styles/correction-notes.css

@@ -33,7 +33,7 @@
 .correction-notes-dialog header>button{display:grid;place-items:center;flex:none;width:30px;height:30px;border:0;border-radius:5px;background:var(--surface-subtle);color:var(--text-secondary);cursor:pointer}
 .correction-notes-dialog form{display:flex;flex-direction:column;min-height:0}
 .correction-notes-dialog-body{display:grid;gap:16px;padding:20px 24px;overflow-y:auto}
-.correction-notes-field{display:grid;gap:7px;color:var(--foreground);font-size:var(--type-body);font-weight:600}
+.correction-notes-field{display:grid;gap:7px;color:var(--field-label);font-size:var(--type-body);font-weight:400}
 .correction-notes-field>span b{color:var(--destructive)}
 .correction-notes-field select,.correction-notes-field textarea{width:100%;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);font:inherit;font-size:var(--type-body);font-weight:400}
 .correction-notes-field select{height:40px;padding:0 38px 0 12px;appearance:none;background-image:var(--select-chevron);background-repeat:no-repeat;background-size:16px;background-position:right 12px center;cursor:pointer}

+ 1 - 1
web-scaffold/src/styles/customer-onboarding.css

@@ -57,7 +57,7 @@
 .claim-status-options { display:grid;gap:10px;margin:0;padding:0;border:0;font-size:var(--type-support); }
 .claim-status-options legend { margin-bottom:10px;color:var(--text-secondary); }
 .claim-status-options label { display:flex;align-items:center;gap:7px;cursor:pointer; }
-.claim-days-field,.claim-batch-picker { display:grid;gap:8px;margin-top:18px;font-size:var(--type-support); }
+.claim-days-field,.claim-batch-picker { display:grid;gap:8px;margin-top:18px;color:var(--field-label);font-size:var(--type-support);font-weight:400; }
 .claim-days-field b { color:var(--destructive); }
 .claim-days-field>div { display:flex;align-items:center;gap:9px; }
 .claim-days-field input,.claim-batch-picker select { border:1px solid var(--border);border-radius:6px;padding:8px 10px;background:var(--card);color:var(--foreground);font-size:var(--type-body);min-width:0; }

+ 72 - 0
web-scaffold/src/styles/field-hint.css

@@ -0,0 +1,72 @@
+/*
+ * 编辑项标题后的问号提示(.field-hint 由 components/ui/field-hint.tsx 渲染)。
+ * 颜色/字号跟标题走:图标用 --icon,浮层用卡片面 + 次要文字色,⛔ 不要另起一套主题色。
+ */
+.field-hint {
+  display: inline-grid;
+  place-items: center;
+  flex: none;
+  width: 17px;
+  height: 17px;
+  margin-left: 5px;
+  padding: 0;
+  border: 0;
+  border-radius: 50%;
+  background: transparent;
+  color: var(--icon);
+  vertical-align: -3px;
+  cursor: help;
+  transition: color .15s ease, background-color .15s ease;
+}
+.field-hint:hover,
+.field-hint[aria-expanded="true"] {
+  background: var(--primary-soft);
+  color: var(--primary);
+}
+.field-hint > svg {
+  pointer-events: none;
+}
+
+/* 浮层挂在 body 上(portal),定位由组件按图标矩形现算,故这里只定观感。 */
+.field-hint-tip {
+  position: fixed;
+  z-index: 90;
+  display: block;
+  max-width: min(320px, calc(100vw - 24px));
+  padding: 9px 11px;
+  border: 1px solid var(--border);
+  border-radius: 7px;
+  background: var(--card);
+  color: var(--text-secondary);
+  box-shadow: var(--shadow-panel);
+  font-size: var(--type-support);
+  font-weight: 400;
+  line-height: 1.6;
+  text-align: left;
+  white-space: normal;
+  overflow-wrap: anywhere;
+  pointer-events: none;
+}
+.field-hint-tip code {
+  font-family: var(--font-mono);
+  font-size: var(--type-meta);
+  color: var(--foreground);
+}
+.field-hint-tip-title {
+  display: block;
+  margin-bottom: 5px;
+  color: var(--muted-foreground);
+  font-size: var(--type-meta);
+  font-weight: 650;
+}
+.field-hint-tip p {
+  margin: 0;
+}
+.field-hint-tip p + p {
+  margin-top: 6px;
+}
+.field-hint-tip b,
+.field-hint-tip strong {
+  color: var(--foreground);
+  font-weight: 600;
+}

+ 8 - 0
web-scaffold/src/styles/globals.css

@@ -372,6 +372,14 @@ body {
   text-rendering: optimizeLegibility;
 }
 
+/*
+ * 表单编辑项标题的统一口径(业主 2026-11-19 定案):不加粗、色 --field-label。
+ * 各页的 label 容器(.ops-form-grid label、.org-field、.catalog-editor-body label…)已在各自
+ * 样式里改用同一档色值;这里是给 Tailwind 写法的表单(登录/激活、账号改密)用的等价类。
+ * ⚠️ 只用于「字段标题」:复选项/单选项的选项文案、只读摘要的 dt、表格表头不套这一档。
+ */
+.field-label { color: var(--field-label); font-weight: 400; }
+
 /* 原生单选菜单:沿用「更多」菜单的表面、层次和选中反馈。 */
 @supports (appearance: base-select) {
   select:not([multiple]) {

+ 30 - 23
web-scaffold/src/styles/operations.css

@@ -288,7 +288,7 @@
 .work-order-member-row { display: grid; gap: 2px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-subtle); }
 .work-order-member-row small { color: var(--muted-foreground); font-size: var(--type-support); }
 .ops-contract-exit-fieldset { margin: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 7px; background: var(--card); }
-.ops-contract-exit-fieldset legend { padding: 0 4px; font-size: var(--type-support); font-weight: 650; }
+.ops-contract-exit-fieldset legend { padding: 0 4px; color: var(--field-label); font-size: var(--type-support); font-weight: 400; }
 .ops-contract-exits { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
 .ops-contract-exit { display: inline-flex; align-items: center; gap: 5px; padding: 3px 6px 3px 9px; border: 1px solid var(--primary-border); border-radius: 5px; background: var(--primary-soft); color: var(--primary); font-size: var(--type-support); font-weight: 650; }
 .ops-contract-exit button { display: grid; place-items: center; padding: 2px; border: 0; border-radius: 3px; background: transparent; color: inherit; cursor: pointer; }
@@ -322,7 +322,14 @@ button.ops-contract-exit.is-active svg { opacity: .7; }
 .ops-record-card .ops-field-note { display: block; margin-top: 6px; color: var(--text-secondary); font-size: var(--type-support); line-height: 1.5; font-weight: 400; }
 .ops-record-card .ops-field-error { display: block; margin-top: 6px; color: var(--destructive); font-size: var(--type-support); line-height: 1.5; font-weight: 500; }
 .ops-record-card [aria-invalid="true"] { border-color: var(--destructive); }
-.ops-record-card .ops-field-title small { margin-left: 4px; color: var(--muted-foreground); font-weight: 500; }
+/*
+ * 编辑项标题统一口径(业主 2026-11-19 定案):不加粗、色 --field-label(#5b6777)。
+ * 直接落在标题元素上,所以不管外层 label 是 600/650 还是 700,标题本身恒 400;
+ * 必填星号(b)仍走 --destructive,标题后的「选填/自动推算」等小字仍走 --muted-foreground。
+ * 各页 label 容器(.ops-form-grid label、.org-field…)也各自改用同一档值,避免标题与容器色不一致。
+ */
+.ops-field-title { color: var(--field-label); font-weight: 400; }
+.ops-record-card .ops-field-title small { margin-left: 4px; color: var(--muted-foreground); font-weight: 400; }
 @media (max-width: 1100px) {
   .ops-record-layout { grid-template-columns: 1fr; }
   .ops-record-side { position: static; }
@@ -360,7 +367,7 @@ button.ops-contract-exit.is-active svg { opacity: .7; }
 /* 通用实体表单(归属变更、分账号编辑等):标签在上、字段自适应列宽。 */
 .ops-entity-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: end; gap: 14px 16px; margin-top: 16px; }
 .ops-entity-form > h2 { grid-column: 1 / -1; margin: 0 0 2px; font-size: var(--type-section); }
-.ops-entity-form > label, .ops-entity-form > div { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: var(--type-support); font-weight: 600; }
+.ops-entity-form > label, .ops-entity-form > div { display: flex; flex-direction: column; gap: 7px; min-width: 0; color: var(--field-label); font-size: var(--type-support); font-weight: 400; }
 .ops-entity-form .ops-field-title { display: flex; align-items: baseline; gap: 3px; }
 .ops-entity-form .ops-field-title b { color: var(--destructive); }
 .ops-entity-form input, .ops-entity-form select { width: 100%; height: 39px; padding: 0 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--card); color: var(--foreground); font-size: var(--type-body); }
@@ -459,7 +466,7 @@ button.ops-contract-exit.is-active svg { opacity: .7; }
 .ops-contract-customer-card.is-editing .ops-card-title-row { margin-bottom:15px; }
 .ops-contract-customer-mode { color:var(--text-secondary);font-size:var(--type-support); }
 .ops-contract-customer-picker { display:grid;grid-template-columns:120px minmax(220px,420px) 1fr;align-items:center;gap:10px 15px;margin:15px 0; }
-.ops-contract-customer-picker label { font-size:var(--type-support);font-weight:650; }
+.ops-contract-customer-picker label { color:var(--field-label);font-size:var(--type-support);font-weight:400; }
 .ops-contract-customer-picker .ops-field-title { display:inline-flex;gap:3px; }
 .ops-contract-customer-picker .ops-field-title b { color:var(--destructive); }
 .ops-contract-customer-picker select { width:100%;height:39px;padding:0 36px 0 12px;border:1px solid var(--border);border-radius:6px;background:var(--card) var(--select-chevron) no-repeat right 12px center;background-size:auto 16px;appearance:none;color:var(--foreground);font-size:var(--type-body); }
@@ -531,7 +538,7 @@ button.ops-contract-exit.is-active svg { opacity: .7; }
 .customer-sub-context span { display: block; margin-top: 4px; color: var(--primary); font-size: var(--type-support); }
 .customer-sub-alert { margin-bottom: 13px; padding: 10px 12px; border: 1px solid var(--info-border); border-radius: 6px; background: var(--info-soft); color: var(--text-secondary); font-size: var(--type-support); }
 .customer-sub-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
-.customer-sub-fields label { display: grid; gap: 6px; min-width: 0; color: var(--text-secondary); font-size: var(--type-support); font-weight: 600; }
+.customer-sub-fields label { display: grid; gap: 6px; min-width: 0; color: var(--field-label); font-size: var(--type-support); font-weight: 400; }
 /* ⚠️ label 是 grid:标题文字必须包在 `<span>` 里。裸文字与 `<b>*</b>` 会各成一个网格项,
    必填星号就被挤到单独一行(2026-11-16 修)。`display:inline` 救不了——网格项会被块化。 */
 .customer-sub-fields label b { display: inline; color: var(--destructive); }
@@ -588,7 +595,7 @@ button.ops-contract-exit.is-active svg { opacity: .7; }
 .customer-relation > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
 .customer-relation strong { text-align: right; font-size: var(--type-body); }
 .customer-attribution-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
-.customer-attribution-form label { display: grid; gap: 6px; min-width: 0; color: var(--text-secondary); font-size: var(--type-support); font-weight: 600; }
+.customer-attribution-form label { display: grid; gap: 6px; min-width: 0; color: var(--field-label); font-size: var(--type-support); font-weight: 400; }
 .customer-attribution-form label b { display: inline; color: var(--destructive); }
 .customer-attribution-form select { width: 100%; min-width: 0; height: 38px; padding: 0 30px 0 11px; border: 1px solid var(--border); border-radius: 6px; background: var(--card) var(--select-chevron) no-repeat right 8px center / 16px; appearance: none; color: var(--foreground); font-size: var(--type-body); }
 .customer-attribution-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; padding-top: 5px; }
@@ -608,7 +615,7 @@ button.ops-contract-exit.is-active svg { opacity: .7; }
 .customer-account-panel h3 { margin:0;font-size:var(--type-body); }
 .customer-account-panel p,.customer-account-dialog-body p { margin:0;color:var(--text-secondary);font-size:var(--type-support);line-height:1.55; }
 .customer-account-form-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 15px; }
-.customer-account-form-grid label { display:grid;align-content:start;gap:6px;min-width:0;color:var(--text-secondary);font-size:var(--type-support);font-weight:650; }
+.customer-account-form-grid label { display:grid;align-content:start;gap:6px;min-width:0;color:var(--field-label);font-size:var(--type-support);font-weight:400; }
 .customer-account-form-grid label>span { display:inline-flex;align-items:baseline;gap:3px;white-space:nowrap; }
 .customer-account-form-grid label b { display:inline;color:var(--destructive); }
 .customer-account-state-note { padding:10px 12px;border:1px solid var(--warning-border);border-radius:6px;background:var(--warning-soft);color:var(--warning)!important; }
@@ -646,7 +653,7 @@ button.ops-contract-exit.is-active svg { opacity: .7; }
 @media (max-width: 700px) { .customer-hero { flex-wrap: wrap; padding: 18px; } .customer-hero-actions { width: 100%; } .customer-metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .customer-metric-strip > div:nth-child(2) { border-right: 0; } .customer-metric-strip > div:nth-child(n+3) { border-top: 1px solid var(--border); } .customer-profile-grid .customer-fact-grid, .customer-attribution-form { grid-template-columns: 1fr; } .customer-master-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .customer-section { padding: 16px; } .customer-profile-grid--lower .customer-timeline > div { grid-template-columns: 1fr; } .customer-profile-grid--lower .customer-timeline p, .customer-profile-grid--lower .customer-timeline small { grid-column: 1; } }
 @media (max-width: 600px) { .customer-account-form-grid { grid-template-columns:1fr; } .customer-account-form-wide { grid-column:auto; } .customer-account-head-actions { justify-content:flex-start; } .customer-account-dialog-body { padding:16px; } }
 .ops-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 18px; }
-.ops-form-grid label { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: var(--type-support); font-weight: 600; }
+.ops-form-grid label { display: flex; flex-direction: column; gap: 7px; min-width: 0; color: var(--field-label); font-size: var(--type-support); font-weight: 400; }
 .ops-form-grid label b { color: var(--destructive); }
 .ops-form-grid .ops-field-title { display:inline-flex;align-items:baseline;gap:3px;white-space:nowrap; }
 .ops-form-grid .ops-field-title b { display:inline;color:var(--destructive);line-height:1; }
@@ -658,7 +665,7 @@ button.ops-contract-exit.is-active svg { opacity: .7; }
 .ops-form-grid input:focus, .ops-form-grid select:focus { outline: 2px solid var(--ring); outline-offset: 1px; }
 .ops-form-grid > p { align-self: end; margin: 0; }
 .ops-exit-fieldset { grid-column: 1 / -1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; }
-.ops-exit-fieldset legend { padding: 0 4px; font-size: var(--type-support); font-weight: 600; }
+.ops-exit-fieldset legend { padding: 0 4px; color: var(--field-label); font-size: var(--type-support); font-weight: 400; }
 .ops-exit-fieldset > div { display: flex; flex-wrap: wrap; gap: 8px 18px; }
 .ops-exit-fieldset label { display: inline-flex; align-items: center; flex-direction: row; gap: 6px; font-weight: 500; }
 .ops-exit-fieldset input[type="checkbox"] { width: 15px; height: 15px; padding: 0; accent-color: var(--primary); }
@@ -714,16 +721,8 @@ button.ops-contract-exit.is-active svg { opacity: .7; }
 /* 复选框+口径问号:问号按钮在 label 之外(⛔ 塞进 label 里点图标会连带切换勾选态)。 */
 .ops-form-check-row { display: flex; align-items: center; gap: 4px; align-self: end; min-width: 0; }
 .ops-form-check-row > .ops-form-check { min-width: 0; }
-/* 口径问号:图标常显(提示本身就是入口,⛔ 只在 hover 才显形),浮层 portal 到 body、压过弹窗遮罩(80)。 */
-.ops-hint-trigger { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--info); cursor: pointer; }
-.ops-hint-trigger:is(:hover, :focus-visible), .ops-hint-trigger[aria-expanded="true"] { background: var(--info-soft); }
-.ops-hint-trigger:focus-visible { outline: 2px solid var(--info); outline-offset: 1px; }
-.ops-hint-popover { position: fixed; z-index: 90; width: min(320px, calc(100vw - 16px)); padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); color: var(--foreground); box-shadow: var(--shadow-card); }
-.ops-hint-popover strong { display: block; margin-bottom: 5px; color: var(--muted-foreground); font-size: var(--type-meta); font-weight: 650; }
-.ops-hint-popover p { margin: 0; font-size: var(--type-support); line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
-.ops-hint-popover p + p { margin-top: 6px; }
 .ops-correction-form { display: grid; gap: 14px; margin-top: 18px; }
-.ops-correction-form label { display: grid; gap: 7px; font-size: var(--type-support); font-weight: 600; }
+.ops-correction-form label { display: grid; gap: 7px; color: var(--field-label); font-size: var(--type-support); font-weight: 400; }
 .ops-correction-form select, .ops-correction-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--card); color: var(--foreground); font-size: var(--type-body); }
 .ops-correction-form select { padding-right: 32px; appearance: none; background-image: var(--select-chevron); background-repeat: no-repeat; background-size: 16px 16px; background-position: right 10px center; }
 .ops-correction-form .ops-form-error { margin: 0; }
@@ -945,11 +944,7 @@ button.ops-contract-exit.is-active svg { opacity: .7; }
 .contract-inline-readonly, .customer-inline-readonly { overflow-wrap:anywhere; }
 /* 合同表单的「运营商经办人」:整块独占一行,内里三段(机构/姓名/联系方式)按三列对齐。 */
 .contract-agent-block { display:grid; gap:8px; }
-.contract-agent-block > .ops-field-title { color:var(--text-secondary); font-size:var(--type-support); }
-/* 合同编辑器(新增/编辑合同)的编辑项标题统一口径:不加粗,颜色固定 #5b6777(业主 2026-11-19 定案);
-   必填星号仍走 --destructive,标题后的「选填/自动推算」等小字仍用 --muted-foreground。 */
-.contract-editor .ops-field-title,
-.contract-editor .ops-contract-exit-fieldset legend { color:#5b6777; font-weight:400; }
+.contract-agent-block > .ops-field-title { color:var(--field-label); font-size:var(--type-support); }
 .contract-agent-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px 16px; }
 @media(max-width:1100px){ .contract-agent-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
 @media(max-width:600px){ .contract-agent-grid { grid-template-columns:1fr; } }
@@ -1045,3 +1040,15 @@ button.ops-contract-exit.is-active svg { opacity: .7; }
   .contract-inline-editor, .customer-inline-editor { max-width:100%; }
   .contract-savebar { position:static; }
 }
+
+/* ── 交付现状(讨论稿 §7.7):实测列头带测值日期;出口不一致整行标红、两值同显 ── */
+.ops-delivery-status { display:flex; flex-direction:column; gap:12px; min-width:0; }
+.ops-delivery-status .ops-table th .ops-muted { font-weight:400; font-size:var(--type-meta); }
+.ops-delivery-status tr.ops-delivery-mismatch > td { background:color-mix(in srgb, var(--destructive) 8%, transparent); }
+.ops-delivery-status tr.ops-delivery-mismatch > td.ops-delivery-mismatch-cell { color:var(--destructive); font-weight:600; }
+.ops-delivery-status tr.ops-delivery-mismatch:hover > td { background:color-mix(in srgb, var(--destructive) 14%, transparent); }
+
+/* ── 客户工作台:顶部七个区块改为页签(讨论稿§7.7:新增「交付现状」页签) ── */
+.customer-workspace-tabs { margin-bottom:4px; }
+.customer-workspace-tabs button span { color:var(--muted-foreground); font-weight:400; }
+.customer-workspace-panel[hidden] { display:none !important; }

+ 3 - 2
web-scaffold/src/styles/orders.css

@@ -128,8 +128,9 @@
 .order-editor section h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 11px; border-bottom: 1px solid var(--border); font-size: var(--type-section); font-weight: 650; }
 .order-editor section h3 span { color: var(--icon); font: var(--type-support) var(--font-mono); }
 .order-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 15px; margin-top: 17px; }
-.order-form-grid label { min-width: 0; color: var(--foreground); font-size: var(--type-body); font-weight: 550; }
-.order-form-grid label > input, .order-form-grid select, .order-readonly-value { display: block; width: 100%; height: 39px; margin-top: 7px; font-size: var(--type-body); font-weight: 400; }
+.order-form-grid label { min-width: 0; color: var(--field-label); font-size: var(--type-body); font-weight: 400; }
+/* 标题上了 --field-label 的色,控件文字必须自己拿回 --foreground(输入框默认继承 label 的色)。 */
+.order-form-grid label > input, .order-form-grid select, .order-readonly-value { display: block; width: 100%; height: 39px; margin-top: 7px; color: var(--foreground); font-size: var(--type-body); font-weight: 400; }
 .order-form-grid select { padding: 0 10px; border: 1px solid var(--input); border-radius: 6px; background: var(--card); color: var(--foreground); cursor: pointer; }
 .order-form-grid em { color: var(--destructive); font-style: normal; }
 .order-form-wide { grid-column: 1 / -1; }

+ 3 - 2
web-scaffold/src/styles/organization.css

@@ -380,7 +380,8 @@
 .org-icon-button{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:6px;background:var(--org-soft);color:var(--muted-foreground);cursor:pointer}
 .org-dialog form{display:flex;flex:1;flex-direction:column;min-height:0}
 .org-dialog-content{flex:1;overflow:auto;padding:25px 28px}
-.org-field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;font-size:var(--type-body);font-weight:650}
+/* 编辑项标题:不加粗、色 --field-label(业主 2026-11-19 定案);控件自带 color:--foreground。 */
+.org-field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;color:var(--field-label);font-size:var(--type-body);font-weight:400}
 .org-field em{color:var(--destructive);font-style:normal}
 .org-field input,.org-field textarea,.org-field .org-select{width:100%;max-width:none;min-height:39px;padding:8px 11px;border:1px solid var(--org-line);border-radius:7px;background:var(--card);font:inherit;font-size:var(--type-body);color:var(--foreground)}
 .org-field input:focus,.org-field textarea:focus{outline:2px solid var(--primary-border)}
@@ -414,7 +415,7 @@
 .org-account-inline-row>span{color:var(--muted-foreground);font-size:var(--type-support);line-height:1.5}
 .org-account-create{margin-top:20px;padding:18px;border:1px solid var(--primary-border);border-left:4px solid var(--primary);border-radius:9px;background:var(--org-soft)}
 .org-account-create .org-field{margin-bottom:14px}
-.org-account-create .org-field>span:first-child{font-size:var(--type-body);line-height:1.5;color:var(--text-secondary)}
+.org-account-create .org-field>span:first-child{font-size:var(--type-body);line-height:1.5;color:var(--field-label)}
 .org-account-create p{margin:3px 0 0;color:var(--muted-foreground);font-size:var(--type-support);line-height:1.7}
 .org-password-row{display:flex;gap:9px;align-items:center}
 .org-password-row input{flex:1;min-width:0}

+ 3 - 9
web-scaffold/src/styles/packages.css

@@ -72,7 +72,7 @@
 .catalog-editor-body{--catalog-field-label-height:21px;--catalog-field-gap:6px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:0 22px;min-height:0;padding:0 24px;overflow-y:auto;scrollbar-gutter:stable}
 .catalog-editor-body section{min-width:0;padding:15px 0;border-bottom:1px solid var(--border)}
 .catalog-editor-body h3{margin:0 0 12px;font-size:16px;font-weight:700}.catalog-editor-body h3 span{margin-right:8px;color:var(--primary);font-family:var(--font-mono);font-size:13px}
-.catalog-editor-body label{display:block;margin:0 0 11px;color:var(--foreground);font-size:14px;font-weight:620;line-height:var(--catalog-field-label-height)}
+.catalog-editor-body label{display:block;margin:0 0 11px;color:var(--field-label);font-size:14px;font-weight:400;line-height:var(--catalog-field-label-height)}
 .catalog-editor-body label:last-child{margin-bottom:0}.catalog-editor-body label em{color:var(--destructive);font-style:normal}
 .catalog-editor-body input,.catalog-editor-body select,.catalog-editor-body textarea{display:block;width:100%;margin-top:var(--catalog-field-gap);padding:8px 11px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);font:400 14px/1.5 var(--font-sans)}
 .catalog-editor-body input:disabled,.catalog-editor-body select:disabled{background:var(--surface-subtle);color:var(--muted-foreground);cursor:not-allowed}
@@ -88,18 +88,12 @@
 @media (width > 760px){
   .catalog-cost-editor>.catalog-heading-with-info:has(+.catalog-cost-editor-row){margin-bottom:calc(12px + var(--catalog-field-label-height) + var(--catalog-field-gap))}
 }
-.catalog-info{display:inline-grid;place-items:center;flex:none;width:20px;height:20px;border-radius:4px;color:var(--info);cursor:help}
-.catalog-info:is(:hover,:focus-visible){background:var(--info-soft)}
-.catalog-info:focus-visible{outline:2px solid var(--info);outline-offset:1px}
-.catalog-info-tip{position:absolute;z-index:3;inset-block-start:100%;inset-inline-end:0;display:none;inline-size:min(260px,100%);padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);box-shadow:var(--shadow-card);font-size:var(--type-support);line-height:1.5}
-.catalog-cost-editor .catalog-info-tip{inset-inline:0 auto}
-.catalog-info:is(:hover,:focus-visible)+.catalog-info-tip,.catalog-info-tip:hover{display:block}
 .catalog-editor-body section>p{margin:-3px 0 15px;color:var(--muted-foreground);font-size:13px;line-height:1.6}
 .catalog-cost-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 85px 34px;align-items:center;gap:8px;margin-bottom:8px}
 .catalog-bandwidth-field>select,.catalog-cost-editor-row>:is(input,select){min-width:0;height:40px}
 /* 带宽档位快捷(2026-11-17):档位目录同时是套餐带宽权益的预设,点一条即填上/下行。 */
 .catalog-bandwidth-presets{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:-4px 0 14px;padding:10px 12px;border:1px dashed var(--border);border-radius:6px;background:var(--surface-subtle)}
-.catalog-bandwidth-presets-label{display:inline-flex;align-items:baseline;gap:4px;color:var(--text-secondary);font-size:var(--type-support);font-weight:650}
+.catalog-bandwidth-presets-label{display:inline-flex;align-items:baseline;gap:4px;color:var(--field-label);font-size:var(--type-support);font-weight:400}
 .catalog-bandwidth-presets-label small{color:var(--muted-foreground);font-size:var(--type-meta);font-weight:400}
 .catalog-bandwidth-presets-list{display:flex;flex-wrap:wrap;gap:6px}
 .catalog-bandwidth-preset{min-height:30px;padding:0 10px;border:1px solid var(--border);border-radius:999px;background:var(--card);color:var(--text-secondary);font-size:var(--type-support);cursor:pointer}
@@ -128,7 +122,7 @@
 .catalog-exits-list button.is-locked{cursor:not-allowed;opacity:.6}
 .catalog-exits-list button.is-locked:hover{background:transparent;color:inherit}
 /* 删除二次确认:手打出口原文,打对才解禁「确认删除」。 */
-.catalog-confirm-input{display:block;margin-top:14px;color:var(--foreground);font-size:13px;font-weight:620}
+.catalog-confirm-input{display:block;margin-top:14px;color:var(--field-label);font-size:13px;font-weight:400}
 .catalog-confirm-input input{display:block;width:100%;margin-top:6px;padding:8px 11px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--foreground);font:400 14px/1.5 var(--font-sans)}
 .catalog-exits-list button:hover{background:var(--destructive-soft);color:var(--destructive)}
 .catalog-exits-note{margin:0;color:var(--text-secondary);font-size:13px;line-height:1.6}

+ 1 - 1
web-scaffold/src/styles/reconciliation-settings.css

@@ -9,7 +9,7 @@
 .billing-default-copy p{margin:0;color:var(--text-secondary);font-size:var(--type-support);line-height:1.55}
 .billing-default-current>span{display:block;color:var(--text-secondary);font-size:var(--type-support)}
 .billing-default-current strong{display:block;margin-top:4px;color:var(--primary);font-size:16px;font-variant-numeric:tabular-nums;line-height:1.35}
-.billing-default-edit>label{display:block;margin-bottom:5px;color:var(--text-secondary);font-size:var(--type-support);font-weight:600}
+.billing-default-edit>label{display:block;margin-bottom:5px;color:var(--field-label);font-size:var(--type-support);font-weight:400}
 .billing-default-edit>div{display:flex;align-items:center;gap:8px}
 .billing-default-edit .ops-select{flex:1;min-width:125px;background:var(--card)}
 .billing-default-edit .ops-select select{width:100%;min-width:100px}

+ 1 - 1
web-scaffold/src/styles/role-workspace.css

@@ -40,7 +40,7 @@
 .workspace-alert{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--warning-border);border-radius:8px;background:var(--warning-soft);padding:13px 16px;color:var(--warning);font-size:13px;line-height:1.6}.workspace-alert svg{flex:none;margin-top:2px}.workspace-alert a{margin-left:auto;white-space:nowrap;font-weight:600}
 .workspace-empty{display:grid;justify-items:center;gap:8px;padding:42px 20px;color:var(--muted-foreground);text-align:center}.workspace-empty h3{font-size:15px;font-weight:600;color:var(--foreground)}.workspace-empty p{font-size:13px;line-height:1.6}
 .workspace-member-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;padding:0 20px 20px}.workspace-member-card{padding:15px;border:1px solid var(--border);border-radius:8px}.workspace-member-card>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.workspace-member-card h3{font-size:14px;font-weight:600}.workspace-member-card p{font-size:13px;color:var(--muted-foreground);line-height:1.6;margin-top:7px}.workspace-member-card strong{font-size:22px;color:var(--primary)}
-.workspace-form{display:grid;gap:20px;padding:22px}.workspace-form h3{font-size:15px;font-weight:650}.workspace-field{display:grid;gap:7px;min-width:0;font-size:14px}.workspace-field>span{font-weight:600}.workspace-field em{font-style:normal;color:var(--destructive)}.workspace-field small{font-size:13px;color:var(--muted-foreground);line-height:1.6}.workspace-field select{cursor:pointer;padding-right:32px}.workspace-field textarea{resize:vertical;min-height:130px}.workspace-field :is(input,textarea,select):focus-visible{outline:2px solid var(--ring);outline-offset:1px}.workspace-form footer{display:flex;justify-content:flex-end;gap:10px;padding-top:16px;border-top:1px solid var(--border)}
+.workspace-form{display:grid;gap:20px;padding:22px}.workspace-form h3{font-size:15px;font-weight:650}.workspace-field{display:grid;gap:7px;min-width:0;font-size:14px}.workspace-field>span{color:var(--field-label);font-weight:400}.workspace-field em{font-style:normal;color:var(--destructive)}.workspace-field small{font-size:13px;color:var(--muted-foreground);line-height:1.6}.workspace-field select{cursor:pointer;padding-right:32px}.workspace-field textarea{resize:vertical;min-height:130px}.workspace-field :is(input,textarea,select):focus-visible{outline:2px solid var(--ring);outline-offset:1px}.workspace-form footer{display:flex;justify-content:flex-end;gap:10px;padding-top:16px;border-top:1px solid var(--border)}
 .workspace-error{color:var(--destructive);font-size:13px}.workspace-success{color:var(--success);font-size:13px}.workspace-checklist{display:grid;gap:8px;max-height:380px;overflow:auto}.workspace-checklist label{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--border);border-radius:7px;font-size:14px;cursor:pointer}.workspace-checklist input{accent-color:var(--primary);width:16px;height:16px}.workspace-checklist small{display:block;font-size:13px;color:var(--muted-foreground);margin-top:4px}
 .workspace-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:4px 20px 20px}.workspace-choice{position:relative;border:1px solid var(--border);border-radius:9px;padding:20px;cursor:pointer}.workspace-choice.selected{border-color:var(--primary);background:var(--primary-soft)}.workspace-choice input{position:absolute;top:23px;right:20px;accent-color:var(--primary)}.workspace-choice h3{font-size:16px;font-weight:650;margin:13px 0 8px}.workspace-choice p{font-size:14px;color:var(--text-secondary);line-height:1.7;max-width:90%}.workspace-choice>svg{color:var(--primary)}
 .workspace-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.workspace-detail-grid dt{color:var(--muted-foreground);font-size:13px;margin-bottom:6px}.workspace-detail-grid dd{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.workspace-detail-grid .wide{grid-column:1/-1}

+ 4 - 0
web-scaffold/src/styles/tokens.css

@@ -25,6 +25,9 @@
   --muted: #edf1f3;
   --muted-foreground: #586b76;
   --text-secondary: #425863;
+  /* 表单编辑项标题:全站统一一档灰蓝、不加粗(业主 2026-11-19 定案)。
+     ⛔ 不要用 --foreground/--text-secondary 代替:那会把标题拉回正文色或另起一档。 */
+  --field-label: #5b6777;
   --icon: #617783;
   --border: #d9e2e7;
   --border-subtle: #e8eef1;
@@ -96,6 +99,7 @@
   --muted: #22333d;
   --muted-foreground: #a7bac5;
   --text-secondary: #c1d0d9;
+  --field-label: #a7bac5;
   --icon: #9cb2c0;
   --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239cb2c0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
   --border: #364d5a;

+ 5 - 5
web-scaffold/src/styles/work-orders.css

@@ -140,7 +140,7 @@
 .work-order-close-reason { margin-top: 14px; padding: 12px; border-radius: 5px; background: var(--surface-subtle); color: var(--text-secondary); font-size: var(--type-body); line-height: 1.55; }
 .work-order-detail-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--border); }
 .work-order-process-form { margin-top: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface-subtle); }
-.work-order-process-form label { display: block; font-size: var(--type-body); font-weight: 550; }
+.work-order-process-form label { display: block; color: var(--field-label); font-size: var(--type-body); font-weight: 400; }
 .work-order-process-form em, .work-order-editor em { color: var(--destructive); font-style: normal; }
 .work-order-process-form textarea, .work-order-editor textarea { display: block; width: 100%; margin-top: 8px; padding: 10px 11px; border: 1px solid var(--input); border-radius: 6px; background: var(--card); color: var(--foreground); font-size: var(--type-body); resize: vertical; }
 .work-order-process-form textarea:focus-visible, .work-order-editor textarea:focus-visible, .work-order-editor select:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; }
@@ -148,7 +148,7 @@
    `.work-order-form-grid` 一起收成 `display:flex`(2026-11-14 前的那条规则):两列栅格被压成
    一行右对齐,select 掉回 24px 高的裸控件。按钮行已由 `.work-order-inbox-actions` 收口。 */
 .work-order-process-form label input,
-.work-order-process-form label select { display: block; width: 100%; height: 39px; margin-top: 7px; font-size: var(--type-body); font-weight: 400; }
+.work-order-process-form label select { display: block; width: 100%; height: 39px; margin-top: 7px; color: var(--foreground); font-size: var(--type-body); font-weight: 400; }
 .work-order-process-form select { padding: 0 10px; border: 1px solid var(--input); border-radius: 6px; background: var(--card); color: var(--foreground); cursor: pointer; }
 .work-order-detail-footnote { display: flex; align-items: flex-start; gap: 8px; margin-top: 17px; padding: 12px; border-radius: 6px; background: var(--surface-subtle); color: var(--text-secondary); font-size: var(--type-support); line-height: 1.55; }
 .work-order-detail-footnote svg { flex: none; margin-top: 2px; }
@@ -162,8 +162,8 @@
 .work-order-editor section h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 11px; border-bottom: 1px solid var(--border); font-size: var(--type-section); font-weight: 650; }
 .work-order-editor section h3 span { color: var(--icon); font: var(--type-support) var(--font-mono); }
 .work-order-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; margin-top: 17px; }
-.work-order-editor label { display: block; min-width: 0; color: var(--foreground); font-size: var(--type-body); font-weight: 550; }
-.work-order-editor label input, .work-order-editor select { display: block; width: 100%; height: 39px; margin-top: 7px; font-size: var(--type-body); font-weight: 400; }
+.work-order-editor label { display: block; min-width: 0; color: var(--field-label); font-size: var(--type-body); font-weight: 400; }
+.work-order-editor label input, .work-order-editor select { display: block; width: 100%; height: 39px; margin-top: 7px; color: var(--foreground); font-size: var(--type-body); font-weight: 400; }
 .work-order-editor select { padding: 0 10px; border: 1px solid var(--input); border-radius: 6px; background: var(--card); color: var(--foreground); cursor: pointer; }
 .work-order-form-grid .wide { grid-column: 1 / -1; }
 .work-order-editor section > p { margin-top: 10px; color: var(--muted-foreground); font-size: var(--type-support); line-height: 1.55; }
@@ -178,7 +178,7 @@
 .work-order-repeater-head small { flex: 1 1 320px; color: var(--muted-foreground); font-size: var(--type-support); line-height: 1.5; }
 .work-order-repeater-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 11px 12px; border: 1px solid var(--input); border-radius: calc(var(--radius) - 2px); background: var(--card); }
 .work-order-repeater-row.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); align-items: end; }
-.work-order-repeater-row > label { display: grid; gap: 0; flex: 1 1 150px; color: var(--muted-foreground); font-size: var(--type-support); font-weight: 600; }
+.work-order-repeater-row > label { display: grid; gap: 0; flex: 1 1 150px; color: var(--field-label); font-size: var(--type-support); font-weight: 400; }
 .work-order-repeater-row.cols > label { flex: none; }
 .work-order-repeater-row label em { color: var(--destructive); font-style: normal; }
 /* 复选框沿用 label 内 input 的块级样式会被拉成 39px 高的方框,这里收回行内尺寸 */