Sfoglia il codice sorgente

feat(web-scaffold): Web 前端脚手架首次入库

基于 React + TypeScript + Rsbuild + Tailwind + shadcn/ui + React Router +
TanStack Query 的中后台起步工程,含管理壳层、登录页、套餐/报价/订阅/工单
原型页面、API 基础层与角色能力配置,附设计文档、原型截图与原始报价资料。
cg 1 settimana fa
parent
commit
1a8dfe2092
100 ha cambiato i file con 15957 aggiunte e 0 eliminazioni
  1. 15 0
      web-scaffold/.env.example
  2. 63 0
      web-scaffold/README.md
  3. BIN
      web-scaffold/artifacts/bill-table/wide.png
  4. BIN
      web-scaffold/artifacts/billing-settings-table/revised.png
  5. BIN
      web-scaffold/artifacts/billing-settings-table/wide.png
  6. BIN
      web-scaffold/artifacts/contract-table/1024.png
  7. BIN
      web-scaffold/artifacts/contract-table/actions-wide.png
  8. BIN
      web-scaffold/artifacts/contract-table/wide.png
  9. BIN
      web-scaffold/artifacts/correction-table/wide.png
  10. BIN
      web-scaffold/artifacts/cost-tables/amounts.png
  11. BIN
      web-scaffold/artifacts/cost-tables/definitions.png
  12. BIN
      web-scaffold/artifacts/cost-tables/entry-fixed.png
  13. BIN
      web-scaffold/artifacts/customer-onboarding/claim-fixture.xlsx
  14. 28 0
      web-scaffold/artifacts/customer-onboarding/registration-demo.pdf
  15. BIN
      web-scaffold/artifacts/customer-onboarding/text-fixture.xlsx
  16. BIN
      web-scaffold/artifacts/customer-table/actions-wide.png
  17. BIN
      web-scaffold/artifacts/customer-table/narrow.png
  18. BIN
      web-scaffold/artifacts/customer-table/wide.png
  19. BIN
      web-scaffold/artifacts/filter-icons/preview.png
  20. 0 0
      web-scaffold/artifacts/filter-icons/preview.svg
  21. BIN
      web-scaffold/artifacts/identity-switch-desktop.png
  22. BIN
      web-scaffold/artifacts/import-table/wide.png
  23. BIN
      web-scaffold/artifacts/job-table/narrow-fixed.png
  24. BIN
      web-scaffold/artifacts/job-table/wide.png
  25. BIN
      web-scaffold/artifacts/login-business-aligned.png
  26. BIN
      web-scaffold/artifacts/login-illustrated-desktop.jpg
  27. BIN
      web-scaffold/artifacts/login-illustrated-original-form.jpg
  28. BIN
      web-scaffold/artifacts/login-illustrated-soft-divider.jpg
  29. BIN
      web-scaffold/artifacts/login-illustration-carousel.jpg
  30. BIN
      web-scaffold/artifacts/login-minimal-desktop.jpg
  31. BIN
      web-scaffold/artifacts/operator-modal/create.png
  32. BIN
      web-scaffold/artifacts/operator-table/wide.png
  33. BIN
      web-scaffold/artifacts/package-management-emphasis.png
  34. BIN
      web-scaffold/artifacts/package-management.png
  35. BIN
      web-scaffold/artifacts/scope-select/selected.png
  36. BIN
      web-scaffold/artifacts/share-table/wide.png
  37. BIN
      web-scaffold/artifacts/shared-contract-detail.png
  38. BIN
      web-scaffold/artifacts/sidebar-customer.png
  39. BIN
      web-scaffold/artifacts/sidebar-team.png
  40. BIN
      web-scaffold/artifacts/statement-table/balanced.png
  41. BIN
      web-scaffold/artifacts/statement-table/wide.png
  42. BIN
      web-scaffold/artifacts/subscription-table/narrow.png
  43. BIN
      web-scaffold/artifacts/subscription-table/wide.png
  44. BIN
      web-scaffold/artifacts/team-tables/maintenance-wide.png
  45. BIN
      web-scaffold/artifacts/team-tables/operations-wide.png
  46. BIN
      web-scaffold/artifacts/team-tables/ticket-types-tooltip.png
  47. BIN
      web-scaffold/artifacts/team-tables/ticket-types.png
  48. BIN
      web-scaffold/artifacts/theme-login.png
  49. BIN
      web-scaffold/artifacts/theme-packages.png
  50. BIN
      web-scaffold/artifacts/typography-login.png
  51. BIN
      web-scaffold/artifacts/typography-packages-desktop.png
  52. BIN
      web-scaffold/artifacts/typography-packages.png
  53. BIN
      web-scaffold/artifacts/work-order-table/wide.png
  54. BIN
      web-scaffold/artifacts/workspace-customer-plan.png
  55. BIN
      web-scaffold/artifacts/workspace-customer-progress.png
  56. BIN
      web-scaffold/artifacts/workspace-queue-desktop.png
  57. BIN
      web-scaffold/artifacts/workspace-submit-mobile.png
  58. BIN
      web-scaffold/assets/source-images/legacy-login/operations-login-3d-billing.png
  59. BIN
      web-scaffold/assets/source-images/legacy-login/operations-login-3d-customer.png
  60. BIN
      web-scaffold/assets/source-images/legacy-login/operations-login-3d-service.png
  61. BIN
      web-scaffold/assets/source-images/legacy-login/operations-login-billing.png
  62. BIN
      web-scaffold/assets/source-images/legacy-login/operations-login-flat-billing-deep.png
  63. BIN
      web-scaffold/assets/source-images/legacy-login/operations-login-flat-billing.png
  64. BIN
      web-scaffold/assets/source-images/legacy-login/operations-login-flat-customer-deep.png
  65. BIN
      web-scaffold/assets/source-images/legacy-login/operations-login-flat-customer.png
  66. BIN
      web-scaffold/assets/source-images/legacy-login/operations-login-flat-service-deep.png
  67. BIN
      web-scaffold/assets/source-images/legacy-login/operations-login-flat-service.png
  68. BIN
      web-scaffold/assets/source-images/legacy-login/operations-login-illustration.png
  69. 3 0
      web-scaffold/assets/source-images/legacy-login/operations-login-illustration.prompt.txt
  70. BIN
      web-scaffold/assets/source-images/legacy-login/operations-login-service.png
  71. BIN
      web-scaffold/assets/source-images/operations-login-diorama-billing.png
  72. BIN
      web-scaffold/assets/source-images/operations-login-diorama-customer.png
  73. BIN
      web-scaffold/assets/source-images/operations-login-diorama-service.png
  74. 22 0
      web-scaffold/components.json
  75. 60 0
      web-scaffold/docs/api-request.md
  76. 137 0
      web-scaffold/docs/chat-handoff.md
  77. 34 0
      web-scaffold/docs/customer-onboarding-delivery.md
  78. 27 0
      web-scaffold/docs/domain-foundation.md
  79. 119 0
      web-scaffold/docs/prototype-page-audit.md
  80. 119 0
      web-scaffold/docs/prototype-v2-comparison.md
  81. 21 0
      web-scaffold/docs/region-select-audit.md
  82. 63 0
      web-scaffold/docs/role-workspace-delivery.md
  83. 36 0
      web-scaffold/docs/shared-page-consistency.md
  84. 27 0
      web-scaffold/docs/table-design-rollout.md
  85. 61 0
      web-scaffold/docs/theme-tokens.md
  86. 16 0
      web-scaffold/index.html
  87. 5354 0
      web-scaffold/package-lock.json
  88. 43 0
      web-scaffold/package.json
  89. 2964 0
      web-scaffold/prototype-v2/app.js
  90. 1222 0
      web-scaffold/prototype-v2/data.js
  91. 14 0
      web-scaffold/prototype-v2/index.html
  92. 1118 0
      web-scaffold/prototype-v2/styles.css
  93. 2142 0
      web-scaffold/prototype/app.js
  94. 1153 0
      web-scaffold/prototype/data.js
  95. 14 0
      web-scaffold/prototype/index.html
  96. 1079 0
      web-scaffold/prototype/styles.css
  97. 3 0
      web-scaffold/public/images/README.md
  98. 0 0
      web-scaffold/public/images/login-captcha.svg
  99. BIN
      web-scaffold/public/images/operations-login-diorama-billing.webp
  100. BIN
      web-scaffold/public/images/operations-login-diorama-customer.webp

+ 15 - 0
web-scaffold/.env.example

@@ -0,0 +1,15 @@
+# 接口一律经 SEOH API 网关,前端⛔ 拼 IP:端口(总则§16.1)。
+
+# 浏览器侧网关前缀,缺省 /api-gateway;由 dev 代理或生产 nginx 整段剥除,
+# 剥除后的 `/api/{namespace}/{service_name}/{operation_id}` 即网关规定路径。
+# ENV_KLT_API_BASE_URL=/api-gateway
+
+# 联调代理:网关地址(本地 docker 自签证书 HTTPS)与 dev 端口,见 rsbuild.config.ts。
+# OSS_GATEWAY_BASE=https://localhost:3000
+# OSS_DEV_PORT=5180
+
+# `end_user` 档登录上下文(缺省读 temp/seoh_provision.json 台账的 tenant_id/project_id)。
+# OSS_SEOH_TENANT_ID=
+# OSS_SEOH_PROJECT_ID=
+# OSS_SEOH_ENV=nonprod
+# OSS_SEOH_STAGE=dev

+ 63 - 0
web-scaffold/README.md

@@ -0,0 +1,63 @@
+# Web 前端工程脚手架
+
+基于 React、TypeScript、Rsbuild、Tailwind CSS、shadcn/ui、React Router、Axios 和 TanStack Query 的中后台起步工程。已包含响应式管理壳层、登录页样例、套餐管理与订阅管理 UI 原型、API 请求基础层,以及业务视图模型与前端角色能力配置。
+
+套餐管理界面位于 `/packages`,默认展示年度固定套餐原型,完整列出年订阅价格、月结算标准金额、下属分账号额度和总带宽。可在本地演示新增、编辑,并按年价 ÷ 12 填入月结算参考值。正式档位和年价尚未由运营确认;页面的两个固定套餐均为虚构示例,刷新后恢复。
+
+“原始报价参考”视图依据项目提供的《跨境网络报价单(1)(1).pdf》展示 8 个报价档位:通用办公(90 / 120 / 160 元/月)、直播(900 / 2700 / 5200 元/月)、AI 应用(480 / 900 元/月)。采用场景分组卡片、定价说明侧栏和按需服务区,分别展示上下行带宽与 IP 配置。
+
+月价为原始报价;年费用参考仅为月价 × 12。直播 A 类独立 IP 另购 80 元/个,计费周期未明确。30 人及以上企业定制与云手机按需服务单列,价格待确认。“10 人左右”是适用规模,不是账号额度。
+
+报价参考视图支持场景/状态筛选、搜索、月价/年费参考切换、CSV 导出及新建/编辑/上下架。初始均为“待上架”;运营状态与修改仅在当前页面本地演示,刷新恢复报价目录,未连接业务 API。名称和编号为目录展示命名。报价数据定义位于 `src/lib/package-catalog.ts`,年度固定套餐布局位于 `src/pages/FixedPlanWorkspace.tsx`。
+
+登录界面位于 `/login`,包含账号、密码与验证码输入,前端必填校验和密码显示切换。验证码图使用 `public/images/login-captcha.svg` 静态样例;输入值会随 `onSubmit` 回调提交,图文匹配校验须由认证服务完成。当前未连接真实认证服务。
+
+唯一登录入口 `/login` 使用三张 1536×1024 的柔和立体 WebP 插画,分别对应客户订阅、运维工单和计费对账,文件名为 `public/images/operations-login-diorama-*.webp`。相较原 PNG,每张从约 1.7–1.8 MiB 降至约 165–195 KiB。原始 PNG 保存在 `assets/source-images`,旧版登录插画归档在 `assets/source-images/legacy-login`,不会随 `public` 发布。插画默认持续自动轮播,也可手动切换;表单区以淡绿色 SVG 线条点缀背景,小屏幕下登录表单排在插画下方。
+
+订阅管理页面位于 `/subscriptions`,提供状态概览、订阅台账、状态和类型筛选、详情抽屉,以及仅当前页面生效的首次订阅新增演示。页面中的企业、合同、套餐和金额均为虚构示例,不引用报价单作为正式年订阅价;实际订阅仍需从企业、套餐与合同接口取得。升级、叠加与续订作为独立记录展示,尚未模拟其账单计算或原订阅状态变更。权限分配未与后端确定,当前页面不执行角色鉴权。
+
+工单管理页面位于 `/work-orders`,展示开户、到期停机、故障、售后四类固定工单,支持类型/状态筛选、搜索、超 7 天待执行提醒、详情与处理记录。新增表单只演示故障和售后;开户、到期停机须由开停动作生成,页面不模拟网络侧回填或账户状态变化。列表数据、新增和处理操作均仅在当前页面本地生效,刷新恢复演示记录。
+
+定时任务页面位于 `/daily-tasks`,对应原型的每日轮询设计:列出订阅生效流转、开户与停机记录生成、分成方出账、超期提醒等作业的调度时点、触发方式与幂等规则,并展示最近执行记录(扫描/命中/跳过/失败行数与处理说明)。页面只读演示,执行结果为虚构示例,不触发真实调度。
+
+侧栏已补齐原型中其余管理入口,分组与顺序对齐原型 NAV:`/contracts` 合同管理与 `/customers` 客户管理、`/import-batches` 导入批次(客户与订阅),`/share-rules` 分成与成本、`/settlement-scopes` 结算范围、`/settlement-batches` 结算批次、`/settlement-bills` 结算明细、`/reconciliation-settings` 对账设置(分成与结算),`/maintenance-notes` 维护说明与 `/operator-feedback` 运营商反馈(运维与反馈),以及顶层项 `/audit-logs` 审计日志。合同管理对应原型 5.3:服务构成分套餐式与自定义式条目,账号数、出口与 IP 按条目派生,状态由生效/结束日推导,「是否已开通」取关联开户结果,数据定义位于 `src/lib/contract-demo.ts`。各页沿用概览带、分组标签、筛选工具栏、台账表格与详情抽屉的统一布局,共享样式位于 `src/styles/operations.css`,共享组件为 `src/components/OperationsKit.tsx`,演示数据位于 `src/lib/customer-demo.ts`、`settlement-demo.ts` 与 `support-demo.ts`;结算批次复用领域模型与状态字典,其余状态为页面级演示口径。对账设置的默认对账日修改与特例移除仅当前页面生效,刷新恢复。
+
+“组织与区域”侧栏已接入五个页面:`/organization/regions`、`/organization/operators`、`/organization/partners`、`/organization/operations-teams`、`/organization/maintenance-teams`。页面字段与样例关系取自 `prototype/data.js`,分别采用区域树、运营商名录与详情、合伙人范围档案、运营团队结构和常规/施工运维工作台。区域管理可以从概况进入区域信息、运营商、合伙人、运营团队、运维团队和下挂客户的列表与详情;组织档案支持本地新增、编辑、删除,负责范围可选区域(含下级)及指定客户,客户可挂载或改挂区域。演示删除会检查当前前端样例中可见的区域、客户、范围和成员引用;正式的完整删除约束仍须由后端校验。所有改动仅保留在当前浏览器内存,刷新恢复。账号开通、成员账号管理及审计日志尚待后端契约确定,当前仅展示原型样例信息,不执行这些业务动作。
+
+## 启动
+
+    npm install
+    npm run dev
+
+## 可用命令
+
+    npm run dev       # 本地开发
+    npm run build     # 生产构建
+    npm run preview   # 预览生产构建
+    npm run typecheck # TypeScript 类型检查
+    npm run test:domain # 业务日期与角色能力验证
+
+## 目录约定
+
+- src/app:应用入口、路由与全局 Provider
+- src/lib/api:Axios 请求实例、错误处理、TanStack Query 配置与查询键
+- src/domain:业务视图模型、状态字典与订阅日期边界
+- src/access:登录角色、前端操作能力与导航配置
+- src/components/layout:通用中后台布局
+- src/components/ui:shadcn/ui 组件
+- src/pages:路由页面
+- src/styles:全局样式与设计 token
+
+## 添加 shadcn/ui 组件
+
+工程已提供 components.json 配置。需要某个组件时再添加,例如:
+
+    npx shadcn@latest add button
+
+计费、结算的业务页面,以及真实认证/业务 API 尚未接入。套餐、订阅与工单管理目前是用于确认页面结构的前端原型。请求层的配置和用法见 [API 请求层文档](docs/api-request.md);业务模型、状态与角色入口见 [业务基础层文档](docs/domain-foundation.md)。后端路径和数据契约确定后再接入具体业务接口与服务端鉴权。
+
+## 主题与 token
+
+统一采用冷灰画布、深色正文、深青绿主色。`src/styles/tokens.css` 是颜色、状态、导航、遮罩和阴影的统一来源,`src/styles/globals.css` 将语义颜色映射至 Tailwind。套餐页与登录页不再维护局部颜色值;根元素 `.dark` 的配套 token 已准备,不新增主题切换入口。
+
+使用规则与浅色/深色角色表见 [主题 token 文档](docs/theme-tokens.md)。

BIN
web-scaffold/artifacts/bill-table/wide.png


BIN
web-scaffold/artifacts/billing-settings-table/revised.png


BIN
web-scaffold/artifacts/billing-settings-table/wide.png


BIN
web-scaffold/artifacts/contract-table/1024.png


BIN
web-scaffold/artifacts/contract-table/actions-wide.png


BIN
web-scaffold/artifacts/contract-table/wide.png


BIN
web-scaffold/artifacts/correction-table/wide.png


BIN
web-scaffold/artifacts/cost-tables/amounts.png


BIN
web-scaffold/artifacts/cost-tables/definitions.png


BIN
web-scaffold/artifacts/cost-tables/entry-fixed.png


BIN
web-scaffold/artifacts/customer-onboarding/claim-fixture.xlsx


+ 28 - 0
web-scaffold/artifacts/customer-onboarding/registration-demo.pdf

@@ -0,0 +1,28 @@
+%PDF-1.4
+1 0 obj
+<< /Type /Catalog /Pages 2 0 R >>
+endobj
+2 0 obj
+<< /Type /Pages /Kids [3 0 R] /Count 1 >>
+endobj
+3 0 obj
+<< /Type /Page /Parent 2 0 R /MediaBox [0 0 595 842] /Contents 4 0 R >>
+endobj
+4 0 obj
+<< /Length 0 >>
+stream
+
+endstream
+endobj
+xref
+0 5
+0000000000 65535 f 
+0000000009 00000 n 
+0000000058 00000 n 
+0000000115 00000 n 
+0000000202 00000 n 
+trailer
+<< /Size 5 /Root 1 0 R >>
+startxref
+251
+%%EOF

BIN
web-scaffold/artifacts/customer-onboarding/text-fixture.xlsx


BIN
web-scaffold/artifacts/customer-table/actions-wide.png


BIN
web-scaffold/artifacts/customer-table/narrow.png


BIN
web-scaffold/artifacts/customer-table/wide.png


BIN
web-scaffold/artifacts/filter-icons/preview.png


File diff suppressed because it is too large
+ 0 - 0
web-scaffold/artifacts/filter-icons/preview.svg


BIN
web-scaffold/artifacts/identity-switch-desktop.png


BIN
web-scaffold/artifacts/import-table/wide.png


BIN
web-scaffold/artifacts/job-table/narrow-fixed.png


BIN
web-scaffold/artifacts/job-table/wide.png


BIN
web-scaffold/artifacts/login-business-aligned.png


BIN
web-scaffold/artifacts/login-illustrated-desktop.jpg


BIN
web-scaffold/artifacts/login-illustrated-original-form.jpg


BIN
web-scaffold/artifacts/login-illustrated-soft-divider.jpg


BIN
web-scaffold/artifacts/login-illustration-carousel.jpg


BIN
web-scaffold/artifacts/login-minimal-desktop.jpg


BIN
web-scaffold/artifacts/operator-modal/create.png


BIN
web-scaffold/artifacts/operator-table/wide.png


BIN
web-scaffold/artifacts/package-management-emphasis.png


BIN
web-scaffold/artifacts/package-management.png


BIN
web-scaffold/artifacts/scope-select/selected.png


BIN
web-scaffold/artifacts/share-table/wide.png


BIN
web-scaffold/artifacts/shared-contract-detail.png


BIN
web-scaffold/artifacts/sidebar-customer.png


BIN
web-scaffold/artifacts/sidebar-team.png


BIN
web-scaffold/artifacts/statement-table/balanced.png


BIN
web-scaffold/artifacts/statement-table/wide.png


BIN
web-scaffold/artifacts/subscription-table/narrow.png


BIN
web-scaffold/artifacts/subscription-table/wide.png


BIN
web-scaffold/artifacts/team-tables/maintenance-wide.png


BIN
web-scaffold/artifacts/team-tables/operations-wide.png


BIN
web-scaffold/artifacts/team-tables/ticket-types-tooltip.png


BIN
web-scaffold/artifacts/team-tables/ticket-types.png


BIN
web-scaffold/artifacts/theme-login.png


BIN
web-scaffold/artifacts/theme-packages.png


BIN
web-scaffold/artifacts/typography-login.png


BIN
web-scaffold/artifacts/typography-packages-desktop.png


BIN
web-scaffold/artifacts/typography-packages.png


BIN
web-scaffold/artifacts/work-order-table/wide.png


BIN
web-scaffold/artifacts/workspace-customer-plan.png


BIN
web-scaffold/artifacts/workspace-customer-progress.png


BIN
web-scaffold/artifacts/workspace-queue-desktop.png


BIN
web-scaffold/artifacts/workspace-submit-mobile.png


BIN
web-scaffold/assets/source-images/legacy-login/operations-login-3d-billing.png


BIN
web-scaffold/assets/source-images/legacy-login/operations-login-3d-customer.png


BIN
web-scaffold/assets/source-images/legacy-login/operations-login-3d-service.png


BIN
web-scaffold/assets/source-images/legacy-login/operations-login-billing.png


BIN
web-scaffold/assets/source-images/legacy-login/operations-login-flat-billing-deep.png


BIN
web-scaffold/assets/source-images/legacy-login/operations-login-flat-billing.png


BIN
web-scaffold/assets/source-images/legacy-login/operations-login-flat-customer-deep.png


BIN
web-scaffold/assets/source-images/legacy-login/operations-login-flat-customer.png


BIN
web-scaffold/assets/source-images/legacy-login/operations-login-flat-service-deep.png


BIN
web-scaffold/assets/source-images/legacy-login/operations-login-flat-service.png


BIN
web-scaffold/assets/source-images/legacy-login/operations-login-illustration.png


+ 3 - 0
web-scaffold/assets/source-images/legacy-login/operations-login-illustration.prompt.txt

@@ -0,0 +1,3 @@
+Use case: illustration
+Asset: brand illustration for an enterprise operations support login page, placed in a pale mint left column.
+Create a sophisticated custom editorial vector-like illustration with subtle isometric depth, crisp rounded geometry, and restrained soft shadows. Show a connected operations workspace: a central enterprise service dashboard, a client profile card to the left, a work-order clipboard with a checkmark, a small network infrastructure module, and a financial reconciliation document to the right. Two small professional human figures collaborating tie the composition together. Communicate customer subscriptions, service delivery and financial reconciliation through visual symbols, not text. Arrange these into one balanced, coherent scene, not a collection of unrelated floating stickers. Dark teal #176b63 and #10564f are the dominant accents, with muted sage, mint and white surfaces. A very small warm amber accent is acceptable. Background must be a perfectly uniform pale mint #e8f3f1, including every outer edge, so the illustration blends into the page. No frame or card surrounding the scene. Leave at least 8 percent quiet empty space around the objects. Landscape 3:2 composition, scene centered and fully visible. Mature B2B brand aesthetic, friendly but precise. No text, letters, digits, watermarks, logos, gradients, photorealism, glossy plastic 3D, excessive floating objects, or purple/blue neon.

BIN
web-scaffold/assets/source-images/legacy-login/operations-login-service.png


BIN
web-scaffold/assets/source-images/operations-login-diorama-billing.png


BIN
web-scaffold/assets/source-images/operations-login-diorama-customer.png


BIN
web-scaffold/assets/source-images/operations-login-diorama-service.png


+ 22 - 0
web-scaffold/components.json

@@ -0,0 +1,22 @@
+{
+  "$schema": "https://ui.shadcn.com/schema.json",
+  "style": "base-nova",
+  "rsc": false,
+  "tsx": true,
+  "tailwind": {
+    "config": "",
+    "css": "src/styles/globals.css",
+    "baseColor": "neutral",
+    "cssVariables": true,
+    "prefix": ""
+  },
+  "iconLibrary": "lucide",
+  "aliases": {
+    "components": "@/components",
+    "utils": "@/lib/utils",
+    "ui": "@/components/ui",
+    "lib": "@/lib",
+    "hooks": "@/hooks"
+  },
+  "registries": {}
+}

+ 60 - 0
web-scaffold/docs/api-request.md

@@ -0,0 +1,60 @@
+# API 请求层
+
+项目使用 Axios 处理 HTTP 请求,TanStack Query 管理服务端数据缓存。当前系统设计说明只确定账户管理、运维执行、计费对账的职责与数据边界,没有给出后端 URL、认证协议和响应结构,因此本层不预设具体接口路径或业务返回包裹格式。
+
+## 配置
+
+复制 `.env.example` 为 `.env.local`,按联调环境设置 `PUBLIC_API_BASE_URL`。未设置时默认请求当前站点的 `/api`。这是 Rsbuild 的公开构建变量,不能放令牌或密码。
+
+`apiClient` 统一配置 15 秒超时与 JSON 接收头;`apiRequest<T>` 返回 Axios 响应中的 `data`。后端如果采用 `{ code, data }` 等包裹格式,应在接口契约确定后由具体业务接口处理,不应在通用层猜测。
+
+请求失败统一转换为 `ApiError`,提供 `message`、`status`、`code`;取消请求保持 Axios 原有的取消错误。查询请求默认 15 秒内视为新鲜,网络错误与 5xx 最多重试一次,4xx 不重试;变更请求不自动重试。查询会把 `AbortSignal` 交给 Axios,组件卸载或查询取消时可中止在途请求。
+
+## 调用方式
+
+以下路径仅展示调用形态,接入时替换为后端确认的真实路径与类型。
+
+```tsx
+import { useMutation, useQuery } from "@tanstack/react-query";
+import {
+  ApiError,
+  getQueryOptions,
+  queryClient,
+  queryKeys,
+  requestMutationOptions,
+} from "../lib/api";
+
+type Account = { id: string; name: string };
+type UpdateAccount = { name: string };
+
+function AccountExample({ accountId }: { accountId: string }) {
+  const accountPath = "/confirmed-account-endpoint";
+  const accountQuery = useQuery(
+    getQueryOptions<Account>(queryKeys.accounts.detail(accountId), accountPath),
+  );
+
+  const updateAccount = useMutation({
+    ...requestMutationOptions<Account, UpdateAccount>((input) => ({
+      method: "PATCH",
+      url: accountPath,
+      data: input,
+    })),
+    onSuccess: () => queryClient.invalidateQueries({ queryKey: queryKeys.accounts.all }),
+  });
+
+  const errorMessage = accountQuery.error instanceof ApiError
+    ? accountQuery.error.message
+    : null;
+
+  return (
+    <div>
+      <span>{errorMessage ?? accountQuery.data?.name}</span>
+      <button onClick={() => updateAccount.mutate({ name: "新名称" })}>更新</button>
+    </div>
+  );
+}
+```
+
+`queryKeys` 按账户、套餐、订阅、工单、对账划分缓存;这些名称表示前端业务域,不是后端路径。变更成功后按对应业务域精准失效缓存。切换登录身份或退出时调用 `clearSessionQueries()`,避免上一账号的数据留在内存缓存中。
+
+当前登录页没有认证 API,套餐页仍是本地报价原型。认证令牌、401 跳转、后端响应包裹格式与各业务接口地址,应在后端契约确定后接入,不在通用层假设。

+ 137 - 0
web-scaffold/docs/chat-handoff.md

@@ -0,0 +1,137 @@
+# 项目对话交接摘要
+
+> 2026-10-27 更新:客户独立新增/编辑页已补齐原型字段、查重、建档同步主账号、分组附件本地保存与审计;客户管理已增加按区域/批次导出激活码 XLSX,支持交付有效期、过期换码、有效期内重导不延期。详情沿用原有客户档案。完整交付、验证证据和浏览器点击尚未复核的边界见 `docs/customer-onboarding-delivery.md`,不要再把这两项列为未实现。
+
+整理日期:2026-10-26。
+
+来源:Codex 对话「更新套餐管理与布局设计」(threadId:01a142d7-f387-7680-95f7-bdf07a39167d,hostId:local),已通过 read_thread 分 14 页读完 139 轮记录。本文合并后续修正,保留最终有效方案,不把失败或中断轮次单独当作完成证据。另补充本对话中的登录页撤回决定。
+
+项目:`D:/work/zcode/web-scaffold`。这是历史交接记录,不替代后续修改时对实际代码的检查。
+
+## 1. 项目依据、技术栈与边界
+
+- 业务依据:《运营支撑系统设计说明.md》《运营支撑系统_Web前端技术开发文档.md》。最新页面字段和交互以 `prototype/` 内的 `index.html`、`app.js`、`data.js` 为重要对照。
+- 技术栈:React 19、TypeScript、Rsbuild、React Router、Tailwind CSS、shadcn/ui、Lucide、Axios、TanStack Query;概览已接入 ECharts,并按需加载。
+- 系统围绕账户管理、运维执行、对账核算展开。原型中的“企业”档案归入客户管理,没有独立的企业管理菜单。
+- 首期按年度订阅。年订阅价格、月结算标准、分账号额度、总带宽须独立建模;不能混淆报价月价、月结算标准和年度合同金额。
+- 已有领域模型、状态字典、年度订阅日期工具及角色能力配置,分别位于 `src/domain/`、`src/access/`。订阅的变更关系、正式/叠加类型等须按原型分别表达。
+- 后端路径、DTO、分页、认证、账号管理、权限分配尚未约定。页面主要使用本地原型数据;前端角色配置不构成真正鉴权,服务端最终校验数据范围。
+
+## 2. 全局设计与用户偏好
+
+- 保留深青绿主色 `#176B63`、冷灰画布 `#F5F7F8`、深色正文 `#1F2B32`,颜色集中维护于 `src/styles/tokens.css`,有深色主题 token,不新增主题切换入口。
+- 正文、控件主要 14px,短说明 13px,状态和单位等辅助文字至少 12px;组织列表副信息尽量至少 13px。业务阅读信息避免大量 10–11px 小字。
+- 页面纵向紧凑、减少重复说明和大面积留白,保留正常字号与点击面积;宽屏应合理利用空间,统计项在宽度足够时尽量同排,窄屏合理换列。
+- 不同业务页面需有各自的信息重点,避免机械复制同一套布局。字段和操作参考原型,视觉设计遵循当前项目体系。
+- 所有必填红星紧跟 label 文字右侧,不能另起一行。
+- 编辑/账号/范围/删除按用途区分,账号蓝、范围主题色、删除及停用 danger;具体编辑样式以所在统一组件为准。按钮保留图标和文字,运营团队曾改成纯图标的编辑/删除已恢复文字。
+- 管理表格详情入口统一为“详情 →”;卡片内编辑/配置使用“归属配置”同款小号描边按钮;卡片右侧跨页入口使用“查看客户档案 →”同款;表格其他操作参考合同管理的图标加文字样式。
+- 筛选重置统一使用合同管理同款样式和“重置筛选”文案,覆盖筛选栏及空结果入口。
+- 原生 select 的箭头间距、选中文字垂直居中已修复;支持 customizable select 的浏览器使用与“更多”菜单一致的 token 菜单,其他浏览器保留原生回退。
+- 滚动条已细化并配合主题;弹窗/抽屉打开时隐藏背景滚动,保留弹层内部滚动。
+- 长表格合理分配列宽,短数字列保持紧凑,长字段省略并提供全文提示;右侧操作列只在确有横向溢出时固定并显示分隔阴影,避免过早出现滚动条。
+- 详情之间跳转传递来源,返回逐级回到来源详情;直接从列表进入则回列表。页面切换回到顶部。
+
+## 3. 导航与顶部栏
+
+- 侧栏按原型分组,支持分组折叠、自动展开当前分组、当前项强调;收起后用分隔线区分模块,折叠分组内有当前页面时也有提示。
+- 侧栏收缩控制柄最终放在侧栏与内容分界竖线的垂直中间,并有轻微阴影;收起状态跨页保持,导航区可独立滚动。
+- 当前分组:组织与区域(区域、运营商、合伙人、运营团队、运维团队);客户与订阅(套餐目录、合同、客户、批量导入、全部订阅);分成与对账(分成、成本、对账清单、账单明细、出账更正、出账配置);工单与开停(工单、定时任务);另有概览和审计日志。
+- 顶栏有消息菜单和用户菜单,后者含个人资料、设置、退出登录。登录名称读取前端会话;退出清理会话和查询缓存。
+- 2026-10-27 用户菜单“切换身份”支持 13 个原型可见账号、搜索、分组、确认、会话保留与退出清理;侧栏按原型 `navFor` 对齐主子账号菜单、默认入口及详情高亮。后续已依次实现全部 10 个 `/workspace/:page` 专属页面,移除 `RolePagePending.tsx`。新增角色只读客户/合同/变更目录、团队/本人范围工单、对账方范围和列表导出限制;本轮交付与边界看 `docs/role-workspace-delivery.md`,首次核对快照看 `docs/prototype-page-audit.md`。客户激活、分账号停用、区域运营范围与全局操作限制、真实鉴权/附件服务仍待接入。新增 `npm run test:workspace` 验证分派与范围;浏览器专用测试单 `T-20261027-01` 已走通客户提交、分派、运维完成和客户确认闭环。原有工单未为本轮验证改写。
+
+## 4. 登录页的当前决定
+
+> 2026-10-27 页面复用纠正:合同清单、客户清单/团队客户、工单进度直接复用现有管理列表及独立详情,只按身份控制数据和操作;删除 `RoleDirectoryPages.tsx` 及 `?record=` 抽屉跳转。我的套餐进入共用订阅详情,归属/范围变更复用审计日志。列表条件写入 URL,逐级返回保留来源。完整核对见 `docs/shared-page-consistency.md`,后续不要再为同一业务的只读身份另建一套简化列表或详情抽屉。
+
+- 测试默认账号:林管;密码:123456。校验通过进入起始页,退出返回登录页;不是真实认证。
+- 本对话曾重设计为左侧深绿品牌区、右侧白底表单,但用户明确要求“撤回”,已恢复改版前 LoginPage。
+- 新增的 `src/styles/login.css`、`--login-hero-*` token、对应文档说明、`artifacts/login-redesign-desktop.png` 均已移除。后续不要默认恢复这次被撤回的设计。
+- 保留原页的账户/运维/对账介绍、前端测试入口、密码显示切换、必填校验和认证回调。
+
+## 5. 套餐目录
+
+- 当前按原型合并为一个目录:9 个公共固定档和 1 个客户专属档,支持归属、用途分类、客户及文本筛选。早期“8 个 PDF 月价档”和“年度套餐/原始报价参考双视图”均不是当前布局。
+- 展示年价、月结算标准、分账号额度、带宽、成本项、说明、归属客户和订阅量;价格与带宽数字突出。
+- 去掉顶部统计区域,以及多余的“套餐目录”标题、英文标识和匹配数量介绍。
+- 新增/编辑最终采用居中对话框,宽屏双栏、小屏单栏,底部保存入口保持可见。
+- 成本项从目录下拉选择,禁止重复;仅“每份”类需要填写份数。
+- 已被订阅引用的档位锁定价格、额度、带宽且禁止删除;允许改名称、说明和成本项,改价规格需新增档位并办理订阅升级。
+- 目录价格采用原型样例,不能因存在具体金额就当作后端正式确认价格。主要文件:PackageManagementPage.tsx、package-catalog.ts、packages.css。
+
+## 6. 组织与区域、账号管理
+
+- 区域树最终保留真实展开/折叠:箭头展开,名称选择;折叠选中节点的上级时合理切换选中项。较早“静态圆点不可折叠”方案已被替换。
+- 区域页去 tabs 和额外 org-banner,渐变直接用于概况;概况偏重统计预览,可下钻区域信息、四类组织、下挂客户。
+- 区域关联组织最终只显示表格,去掉点击行后再展示的详情卡片;操作直接放行内。
+- 下挂客户有状态、改挂、删除、客户编号详情入口;删除检查关联合同/订阅,改挂同步区域路径。组织删除检查范围、客户、成员等引用。
+- 运营商采用表格与右侧紧凑档案预览,编辑/账号/删除放在行内;合伙人的编辑档案与负责范围分开。
+- 运营团队和运维团队最终均为紧凑台账,账号按钮进入独立账号管理页,替换早期列表/侧栏/成员卡片等多次试验布局。
+- 运维台账按常规、施工团队区分,展示可分派工单、范围、覆盖客户、分成和负载;“分成方式 / 取值”改名“分成规则”,金额/比例为主题色主信息,方式为次信息。
+- 两种团队账号页顶部加图标;主账号独立卡片,子账号/成员在表格。运营团队无主账号时先创建主账号,总部内置团队不可删除、内置主账号不可转交。
+- 运维团队主账号也可在账号页新增/编辑;姓名与资料编辑、登录名/手机号/密码/启停等账号设置区分开。
+- 运营商、合伙人、运营团队成员、运维主账号和成员共用紧凑账号弹层,以运营商样式为准;重点显示登录名、状态,减少重复信息,常见 720px 高窗口初始视图尽量无需滚动。
+- 状态统一为带文字的醒目标签:在用绿、未开通琥珀、停用红;删除/停用用危险色。账号开通、手机号、演示密码生成/重置、启停均为前端流程,角色开放范围仍需与后端统一。
+- 主要文件:OrganizationPages.tsx、OrganizationTeamAccounts.tsx、OrganizationAccountDialog.tsx、OrganizationAccountStatus.tsx、organization-demo.ts、organization.css。
+
+## 7. 客户与合同
+
+- 客户详情移除 tabs,连续展示主体、区域组织归属、主账号、订阅、合同、分账号、文件和历史,尽量直接显示原型字段。
+- 区域与组织归属可配置并记录历史;客户有独立的套餐订阅管理页,支持按状态新增、编辑未锁定记录、升降配、作废、删除,从该客户未开通合同选择服务条目。
+- 主账号补开、重置激活码、模拟激活、改绑定手机号、启停已补齐;模拟激活始终有入口,并解释已激活/过期状态。分账号可编辑姓名、用途、网络侧账号名,账号标识和状态保持只读;临时测试转换按额度规则处理。
+- 合同列表去顶部统计,状态 tabs 改为筛选下拉;数字列压缩、长文本列合理分配,避免服务构成单列占满宽屏。
+- 新增合同选客户并预览主体;编辑合同客户只读,不使用禁用下拉框。商务信息宽屏三列,首行为合同编号/外部单号/合同总额;编辑页客户资料标题下间距 15px,新增页不改。
+- 合同新增/编辑支持多附件选择移除与详情下载,必填校验包括经办电话、交接单日期等。
+- 合同详情按客户资料、商务信息、服务构成、关联订阅、应收出账等组织;补订单号、账号/IP/带宽、价格和实际开通日,客户资料卡有客户档案入口。
+- 应收合计和已出账金额依据已录入期次累计,不用合同总额替代;缺可靠记录时显示缺口。“进入的对账清单”按编号合并,状态并列、分成方标签化。宽屏统计尽量六项一行。
+- 主要文件:CustomerWorkspacePage.tsx、CustomerSubscriptionsPage.tsx、customer-records.ts、ContractManagementPage.tsx、ContractDetailPages.tsx、ContractRecordPage.tsx、contract-store.ts、contract-attachments.ts、contract-billing-demo.ts。
+
+## 8. 订阅与详情导航
+
+- 全部订阅有独立详情页,与客户、合同详情统一标题卡片/图标/返回习惯,但主体按订阅信息组织。
+- 最终主体顺序参考原型:本条订阅、关联订阅、计费与出账、关联工单、合同文件、相关客户主体。区分正式/叠加类型与首次/续订等变更关系。
+- 统计区为年订阅价格、月结算标准、应收合计、已出账、未出账、累计成本六项;移除顶部多余的客户档案和订阅管理按钮。
+- 冻结价格、额度、带宽和文件快照保留;期次、工单、文件按可靠的订阅标识关联,不把同客户其他记录误算进本条订阅,缺成本快照不冒充 0。
+- 补齐 HT-CL-20250318 的同合同叠加订阅,已有本地数据有一次性迁移。
+- 列表合同期间起止日期分行、压缩实际开通列,保留操作空间;窄屏允许必要横向滚动。
+- 来源导航统一在 detail-navigation.ts;路由切换回顶部。主要文件:SubscriptionManagementPage.tsx、SubscriptionRecordPage.tsx、subscription-demo.ts、subscription-store.ts、subscription-record.css。
+
+## 9. 工单与定时任务
+
+- 工单管理按更新原型同步 27 条样例,补齐类型、状态、回填来源、创建时间、多选等筛选及独立详情入口。
+- 统计区参考对账清单的三张等宽卡片;超 7 天未完成可点击筛选。多选点击外部或 Esc 收起,勾选内部保持展开,弹出列表避免裁切。
+- 工单详情按类型和状态动态展示客户/合同、开通准备资料(运营商交接单)、执行回填、服务清单、处理记录、竣工回执、运营商逐条报文和处置入口。
+- 开户工单始终有交接单准备卡,卡内可编辑;补开始处理、负责人分派、团队内委托、延期提醒、回填与记录;到期停机回填简化。
+- 服务开通完成会同步关联订阅实际开通日;本地旧工单补入新增报文字段。状态流转用步骤区分完成/当前/未到达,关闭单独表达。
+- 定时任务最终为同一卡片“任务清单 / 执行记录”两个 tabs,清单用表格;点击某任务执行记录会切换标签并自动筛选该任务。取代早期两栏并列方案。
+- 网络执行、真实报文接收、竣工回传、账号状态联动、客户身份撤回/闭环权限仍需后端。
+- 主要文件:WorkOrderManagementPage.tsx、WorkOrderRecordPage.tsx、work-order-store.ts、work-order-prototype-adapter.ts、ScheduledJobManagementPage.tsx,及对应样式。
+
+## 10. 分成、对账、出账配置与更正
+
+- 分成管理的“分成金额”进入独立详情页,展示累计、对账概览、历史明细、各客户规则。
+- 可为归属客户配置按总金额比例或按账号金额的规则及层级,可清除;未配置明确计 0。同步当前规则,但不重算已生成的历史分成金额。
+- 对账清单按“分成方 × 自然月”展示;清单和账单明细各有独立详情,支持相互跳转,返回保留筛选,导出 CSV。
+- 缺逐期冻结成本时明确说明,不能拿现行配置倒推历史金额。
+- 出账配置:顶部默认对账日,运营商表格含覆盖日期、付款周期、通知地址,每行可编辑/撤销/保存,与运营商档案共享当前会话数据。
+- 出账更正:全宽台账、搜索/级别筛选、登记和详情对话框。选择已出账账单预览金额、批次、区域。
+- 更正详情的关联账单补客户编号、挂载区域、月份、出账情况;清单批次补分成方、月份、状态、明细数、提示。历史单号无法匹配时明确指出,不捏造状态。
+- 主要文件:SettlementPages.tsx、SettlementRecordPages.tsx、ShareAmountRecordPage.tsx、FinanceReferencePages.tsx、share-rule-store.ts、settlement-demo.ts,及对应样式。
+
+## 11. 概览与其他页面
+
+- 概览以原型五项核心指标和待办为基础扩展,已真正接入 ECharts:工单新增/完成趋势、在办类型环图、月度清单分成金额、客户区域分布,并保留客户状态信息。
+- 趋势切换近 6/12 月,类型可下钻到筛选后的台账;统计从现有记录计算,对账图与清单共享数据源;应收标明已录入期次范围。宽屏五指标同排,让图表尽量进入首屏。
+- 最新配色为中性卡片 + 深青绿/蓝灰主线,暖铜少量强调未出账、红色只用于真实告警;图表使用协调低饱和配色,去掉多彩顶边。早期每张卡一种鲜明状态色的方案已替换。
+- 审计日志使用时间线,顶部统计区已移除;维护说明用公告卡片,导入批次显示成功/失败比例等信息。
+- 主要文件:StarterPage.tsx、OverviewChart.tsx、overview.css、AuditLogPage.tsx、SupportPages.tsx。
+
+## 12. API、本地存储与后续注意事项
+
+- `src/lib/api/` 已有 Axios 基础地址/超时/错误归一化/取消、Query 工厂和查询键、资源 hooks、写入后的缓存失效,以及组织/套餐/订阅/工单的类型化请求。
+- 暂定接口路径集中 routes.ts,页面不向未约定后端发真实请求;账号字段留给统一账号接口,订阅变更新增记录,人工新建工单仅故障/售后。
+- 接入后端先确认路径、方法、DTO、分页、响应结构、认证、错误码、权限及上传协议,再做适配并逐页换 hooks,不在页面拼地址。
+- 不要笼统说所有数据刷新恢复:客户、主/分账号、合同、订阅、工单、导入批次、客户分成规则已有 localStorage;合同新附件在 IndexedDB;组织和部分配置/目录仍为内存或当前页面状态。测试身份在 sessionStorage。
+- 历史多轮记录显示 typecheck/build 和相关领域测试通过;这不代表摘要整理时重新全面测试,也不代表真实后端业务已完成。
+- README、domain-foundation.md 等部分早期描述仍写“两套套餐视图”“仅首页和套餐导航”,已经落后于现代码;后续优先看实际实现、最新原型和本摘要,再维护文档。
+- 后续改动保留已经确认的样式约定、已补齐功能和本地数据迁移。重复设计前先核对最新代码,不把旧迭代方案当作当前需求。

+ 34 - 0
web-scaffold/docs/customer-onboarding-delivery.md

@@ -0,0 +1,34 @@
+# 客户建档与激活码交付
+
+实现日期:2026-10-27。字段与交付规则对照 `prototype/app.js` 的 `entNew`、`entEdit`、`entExport`、`claimDeliveryPlan`。
+
+## 新增与编辑
+
+- 入口:客户管理 → 新增客户,继续使用独立页面,保存后进入共用客户档案。
+- 主体号按当年最大序号自动生成。客户名称允许重复;识别号去空白、转大写、全局查重。企业填 18 位统一社会信用代码,个人和个体工商户填 18 位身份证号。
+- 联系人、联系电话、地址、挂载区域、运营商、常规运维团队必填;合伙人与施工团队选填。选项来自组织数据。
+- 新建同步建立一个在用、未激活的客户主账号。默认登录名按名称首字母生成并避重,允许手动修改;登录名与可选绑定手机号按现有各类账号查重。
+- 激活码创建时不计交付有效期。客户仍为未开通,分账号额度为零;套餐订阅后续办理。
+- 登记材料、合同文档分组上传,可移除,文件内容存于当前浏览器 IndexedDB;档案中可下载本次上传的文件。合同附件不自动生成合同记录。
+- 编辑识别号需变更依据,字段变更留存历史和审计。客户改名保留主账号登录名与激活码。
+- 档案、主账号与审计一起写入本地存储,失败回滚,不跳转成功页。
+
+## 激活码导出
+
+- 客户管理顶部「导出激活码」,模态对话框预览后确认。
+- 按区域多选并包含下级;取消下级节点会从范围中移除。区域运营与团队负责范围取交集,确认时重新读取账号状态。
+- 按导入批次仅取成功且关联有效客户主体号的记录,去重后与可见范围取交集。存量缺少主账号的客户先在档案补开,导出不会补造账号。
+- 可筛选未激活、已过期或两者。已激活和未开通主账号的客户排除。
+- 新交付有效期默认 30 天,可设 1–90 天;首次导出开始计时,过期导出换新码并作废原码,有效期内重导沿用原码与原截止日。
+- 预览前五条并打码。实际生成 XLSX,包括交付说明、九列数据、冻结前两行;全部单元格按文本写入,防止号码精度变化及公式执行。
+- 确认导出后保存同一批账号状态和审计,随后发起文件下载;审计不写入激活码。
+
+## 验证与边界
+
+- 浏览器已验证空字段、识别号重复时草稿保留;独立客户 `KL-2026-0037` 已建档,主账号 `ymyzkj` 未激活、尚未交付,登记材料上传成功,详情沿用原有页面。
+- `npm run test:customer-onboarding`:11 项检查,覆盖查重、必填、更正依据、区域与批次范围、交付状态、重复导出、存储失败回滚、文本 XLSX、文件 Blob 下载入口。
+- 原有身份、导航、领域、工作台、详情返回共 21 项检查通过;类型检查和生产构建通过。
+- 使用 Python ZIP CRC / XML 检查和独立 openpyxl 读取生成文件,核验九列字段、文本类型、冻结行、原码失效与重复导出截止日。
+- 浏览器操作工具在继续验证时被移除;Windows 电脑操作连接也不可用。最终文件下载、附件下载的实际页面点击及窄屏修正后的视觉复核尚未完成,不能把函数测试计为这些点击已通过。
+- 当前仍为浏览器本地演示;真实认证、密码设置、服务端附件及权限校验不在本轮。其他共享管理页的区域权限仍待完善。组织数据保持原有内存模式,新增客户本身及其区域路径、主账号和附件会本地保存。
+- 测试文件在 `artifacts/customer-onboarding/`,均为独立虚构数据,不使用原有客户的激活码。

+ 27 - 0
web-scaffold/docs/domain-foundation.md

@@ -0,0 +1,27 @@
+# 业务模型与前端角色能力
+
+这层配置取自《运营支撑系统设计说明》,供页面、表单和查询适配层复用;后端接口字段、认证令牌与资源范围仍以实际接口契约为准。
+
+## 业务模型
+
+`src/domain/models.ts` 定义企业主账号、下属分账号、固定/自定义套餐、年订阅、工单和结算批次的前端视图模型。运营商与代理合作商是企业归属渠道,运维团队、负责子账号及合伙人区域分别保存,不能混为一个“所属人”。一个自定义套餐只归一个企业;正式订阅挂在企业而非分账号上。
+
+套餐中的 `annualSubscriptionPrice`、`monthlySettlementAmount`、`subAccountQuota` 和 `totalBandwidthMbps` 分别建模。月结算标准默认由年价除以 12 得出,合同直接约定月单价时则采用合同值;带宽仅作套餐属性,首期不据此拆价。金额用十进制元字符串表达,避免在页面中使用浮点数直接累计金额。
+
+`/packages` 默认显示年度固定套餐原型,四项字段完整展示;其中两个记录是虚构的前端样例,并非运营确认的定价。原报价 PDF 的月价目录保留在“原始报价参考”视图。报价中的“10 人左右”不等于下属分账号额度,月报价也不等于正式年订阅价,因此没有把报价数据自动映射成正式套餐模型。正式产品数据和订阅接口确定后再由适配层转换。
+
+`src/domain/statuses.ts` 统一账号、订阅、工单和结算批次的首期状态、工单类型及展示语义。页面应使用此处的状态文案与 `statusPresentation`,避免每个页面另建枚举。报价目录的“待上架/已上架”只属于当前原型,不是订阅状态。
+
+`src/domain/subscription-dates.ts` 提供两个无副作用的日期规则:年度订阅结束日为下一周期合同生效日前一天;未实际开通时没有正式计费起点,已开通时取实际开通日与合同生效日中的较晚日期。它们只计算日期边界,不计算自然月应收、尾差、升级或叠加的账单金额。
+
+## 角色与页面入口
+
+`src/access/roles.ts` 只列可登录身份:企业主账号、下属分账号、运维团队、运维子账号、施工公司、施工人员、区域合伙人和系统管理员。运营商、代理合作商不登录。一个登录身份只对应一种角色。
+
+`src/access/capabilities.ts` 使用操作能力定义各角色可显示的页面动作。例如套餐管理限管理员,区域合伙人只开放所属区域对账与回执,运维团队可在本团队范围改派工单,运维子账号记录执行结果。`canShowAction` 只用于前端展示或禁用操作,不能作为鉴权依据;企业、团队、区域和管理员授权范围均须由服务端逐条验证。
+
+`src/access/navigation.ts` 仅维护已经实现的首页和套餐管理入口,并提供 `getNavigationForRole` / `canShowNavigationPath`。侧边栏已从该配置渲染。当前没有真实登录身份,原型导航仍完整显示;接入认证后将用户角色交给 `getNavigationForRole`,再对路由与接口分别实施权限检查。
+
+设计说明中尚待确认的独立录入账号权限、合伙人页面具体字段、后续自动开停及轮班,没有写入首期能力配置。
+
+运行 `npm run test:domain` 可验证日期边界、状态字典和关键角色隔离;`npm run typecheck` 与 `npm run build` 验证工程可用性。

+ 119 - 0
web-scaffold/docs/prototype-page-audit.md

@@ -0,0 +1,119 @@
+# 原型菜单与前端演示流程核对
+
+核对日期:2026-10-27。依据为本次提供的演示流程、`prototype/app.js` 的 `NAV_ADMIN / NAV / navFor / PAGES`、`prototype/data.js` 的可见账号,以及当前 `src/app/App.tsx` 路由和页面代码。
+
+**后续实现更新:** 原型角色菜单对应的 10 个工作台占位页已经替换为真实布局;共享客户、合同、变更、工单与对账页面也已接入上述角色的演示视角。当前交付、验证和保留边界见 [角色工作台页面交付](./role-workspace-delivery.md)。下文保留上一轮首次核对的差距快照,用于追溯,不能直接作为当前待办列表。
+
+“有页面”指有实际路由和页面组件,不代表全部角色权限、数据范围、业务闭环或后端服务已完成。以下是源码核对结果;浏览器验证覆盖身份切换与角色侧栏。
+
+## 本轮已完成
+
+- 头部用户菜单新增“切换身份”,打开可搜索、按类型筛选的账号选择对话框。
+- 提供原型角色树的 13 个可见账号:林管、周运营、许芸、吴队、周宁、孙队、赵工、澄澜科技有限公司、临港跨境贸易、陈阿福、张敏、邹合、联通对账。不纳入原型隐藏的王敏、海岚,以及停用的何南。
+- 会话保留账号名称和身份标识;切换同步头部、个人资料及角色侧栏,清理查询缓存,重建页面状态并进入该角色的第一个菜单。刷新保留本标签页身份,退出清除身份。
+- 账号目录保留原型角色及当前项目中的团队、成员、客户、合伙人、运营商标识,便于后续接入范围过滤。赵工对应当前成员 `mtm-3`,不能直接照搬原型的数组下标。
+- **侧栏已按原型接入全部角色,名称、分组、顺序和主子账号差异已对齐;数据范围和操作权限仍未实施。** 尚未实现的角色页面使用明确的“页面待接入”提示,不代表完成业务流程。复用已有页面时仍为共享演示数据,页面顶部提示负责范围与只读限制尚待接入。
+- 新导航位于 `src/access/demo-navigation.ts`;待接入页面使用 `/workspace/:page`,仅解析当前身份的有效菜单;现成列表与详情仍复用原有路由。菜单高亮支持详情归属与合伙人对账别名,桌面、折叠及移动导航共用一份目录。菜单显示不能替代路由授权或后端权限。
+- 切换客户账号不执行激活,不会创建、保存或修改客户密码、激活码及客户档案。
+
+## 总运营侧栏:20 项均有页面
+
+原型 `NAV_ADMIN` 的菜单与当前 `navigationItems` 均为 20 个叶子项,未发现整张总运营侧栏管理页面缺失。原型将区域运营主账号复用同一套页面,区域运营差异见后文。
+
+| 分组 | 菜单 | 当前路由 | 实现文件 |
+| --- | --- | --- | --- |
+| 独立入口 | 概览 | `/` | `src/pages/StarterPage.tsx` |
+| 组织与区域 | 区域管理 | `/organization/regions` | `src/pages/OrganizationPages.tsx` |
+| 组织与区域 | 运营商 | `/organization/operators` | 同上 |
+| 组织与区域 | 合伙人 | `/organization/partners` | 同上 |
+| 组织与区域 | 运营团队 | `/organization/operations-teams` | 同上 |
+| 组织与区域 | 运维团队 | `/organization/maintenance-teams` | 同上 |
+| 客户与订阅 | 套餐目录 | `/packages` | `src/pages/PackageManagementPage.tsx` |
+| 客户与订阅 | 合同管理 | `/contracts` | `src/pages/ContractManagementPage.tsx` |
+| 客户与订阅 | 客户管理 | `/customers` | `src/pages/CustomerRecordsPages.tsx` |
+| 客户与订阅 | 批量导入 | `/import-batches` | `src/pages/CustomerManagementPages.tsx` |
+| 客户与订阅 | 全部订阅 | `/subscriptions` | `src/pages/SubscriptionManagementPage.tsx` |
+| 分成与对账 | 分成管理 | `/share-rules` | `src/pages/SettlementPages.tsx` |
+| 分成与对账 | 成本管理 | `/costs` | `src/pages/FinanceReferencePages.tsx` |
+| 分成与对账 | 对账清单 | `/settlement-batches` | `src/pages/SettlementRecordPages.tsx` |
+| 分成与对账 | 账单明细 | `/settlement-bills` | 同上 |
+| 分成与对账 | 出账更正记录 | `/correction-notes` | `src/pages/FinanceReferencePages.tsx` |
+| 分成与对账 | 出账配置 | `/reconciliation-settings` | `src/pages/SettlementPages.tsx` |
+| 工单与开停 | 工单管理 | `/work-orders` | `src/pages/WorkOrderManagementPage.tsx` |
+| 工单与开停 | 定时任务 | `/daily-tasks` | `src/pages/ScheduledJobManagementPage.tsx` |
+| 独立入口 | 审计日志 | `/audit-logs` | `src/pages/AuditLogPage.tsx` |
+
+另有详情、团队账号、客户订阅、结算范围、维护说明及运营商反馈路由;后几项不是原型当前侧栏叶子,不能按“缺少侧栏页面”计算。
+
+## 其他角色:缺少的页面及视角
+
+### 客户主账号 / 下属分账号
+
+| 原型菜单 | 原型路由 / 函数 | 当前差距 |
+| --- | --- | --- |
+| 我的套餐 | `plan / pagePlan` | 缺客户自助页。已有后台订阅及详情,尚未按当前客户展示在用、待生效和往期套餐。 |
+| 下属分账号(仅主账号) | `accounts / pageAccounts` | 菜单已接入,缺客户自助业务页;后台客户详情里已有分账号展示和编辑,不能等同于主账号自助管理。 |
+| 归属变更 | `logs / pageAudit` | 缺当前客户范围的日志视图;客户档案内有历史,现有全局审计页未按客户收窄。 |
+| 提交故障或售后 | `submit / pageSubmit` | 缺客户提交页;后台人工新建工单不能替代客户身份提交与提交人记录。 |
+| 工单进度 | `progress / pageProgress` | 缺客户进度页及撤回、完成后确认关闭。主账号看本公司,张敏只看本人提交的单。 |
+
+客户激活是进入客户工作台之前的入口流程,当前没有独立激活路由。后台的“模拟客户激活”仅更新前端状态,不构成客户自设密码登录。
+
+### 运维主账号(吴队 / 孙队)
+
+| 原型菜单 | 原型路由 / 函数 | 当前差距 |
+| --- | --- | --- |
+| 待分派工单 | `queue / pageQueue` | 缺独立队列页与团队维度自动平均分派。现有后台工单支持未分派筛选、详情人工分派,不能替代主账号队列。 |
+| 工单管理 | `tickets / pageTickets` | 已有列表和详情,缺按当前团队过滤、角色操作限制;施工团队应仅出现开户工单。 |
+| 团队客户 | `enterprises / pageEnterprises` | 现有后台客户列表可复用,但尚无只展示本团队客户的视角。 |
+| 成员与负责范围 | `members / pageMembers` | 缺当前团队自助页。后台运维团队账号页是管理员维护入口,尚未绑定当前登录团队。 |
+| 分派方式 | `mode / pageMode` | 菜单已接入,缺团队主账号业务页,配置应服务待分派工单的手工或自动平均分派。 |
+| 对账清单 | `rules / pageRegion` | 缺本团队作为分成方的只读对账视图,原型同时展示批次与明细。 |
+| 变更记录 | `logs / pageAudit` | 缺当前团队范围的变更日志视图。 |
+
+周宁、赵工子账号在原型中仅有“工单管理”,不含队列、团队管理及财务菜单。当前列表与详情尚未按“分派给本人”过滤,不能仅靠搜索责任人代替范围限制。
+
+### 合伙人 / 运营商对账
+
+| 身份 | 原型侧栏 | 当前差距 |
+| --- | --- | --- |
+| 邹合 | 本区域对账、合同清单、客户清单、范围变更 | 菜单已对齐,缺本方对账聚合视图和只读限制;客户及合同口径必须为“合伙人=邹合”,不能把负责区域内所有客户都计入名下。 |
+| 联通对账 | 对账清单、账单明细、合同清单、客户清单、变更记录 | 已有可复用的总运营页面,缺“运营商=本方”的数据限制、只读动作及详情越界防护。 |
+
+二者均需保留批次详情的单批 CSV 导出,并隐藏列表导出。现有总运营对账清单与账单明细列表均有“导出当前结果 CSV”,尚未按角色区分。
+
+### 区域运营
+
+- 周运营:页面与总运营共用,无需另建一套管理页;缺按华东运营负责范围及下级区域过滤、全局成本项定义与出账配置只读、定时任务启停隐藏。
+- 许芸:已按原型隐藏整个“组织与区域”菜单组;数据范围仍需按团队主账号范围接入。
+- 当前 `src/access/roles.ts` / `capabilities.ts` 属于较早模型,缺少原型的 `regAdmin` 与 `operator` 等明确对应;`AppShell` 现使用 `getDemoNavigation`。旧 `getNavigationForRole` 仍为历史能力模型,不代表权限已对齐。
+- 登录页仍有“运营商与代理合作商不使用本系统账号登录”的旧说明,与原型中的联通只读对账账号存在差异;后续接入角色入口时应同步修正。本轮按要求只修改头部身份入口,保留之前撤回改版后的登录页。
+
+## 演示流程中已有页面但未完成的动作
+
+| 演示环节 | 当前实现与差距 |
+| --- | --- |
+| 概览五类待办与跳转 | 已有未分派、超 7 日、到期停机、运营商报文、对账失败五类待办及跳转。仍未按当前身份过滤。 |
+| 新增客户 | 已做主体识别号查重及挂区域,但保存仅写客户档案;没有“建档即创建主账号”。区域选项目前从客户记录收集,亦需与组织区域树统一。 |
+| 导出激活码 | 后台可补开、重置、展示本次生成的码及模拟激活,没有交付文件导出和有效期交付流程。 |
+| 对账失败人工补跑 | 对账清单详情只有查询与单批 CSV 导出,没有人工补跑按钮和执行状态写入。 |
+| 出账争议 | 已有更正登记及详情;部分旧样例/说明仍写“批次打回重做”,需按本次“不改账、不在系统内打回重做、财务线下处理差额”修正文案与动作口径。 |
+| 工单执行及回执 | 已有开始处理、人工分派、回填、客户状态同步、竣工单号登记与联通回执操作基础。缺角色范围、队列平均分派与客户确认关闭的完整串联。 |
+| 操作留痕 | 多处仍使用固定的“林管”或“当前操作人”,尚未统一采用本次会话身份;现有全局审计页也不是所有业务写入的统一存储。 |
+
+## 后续补齐顺序
+
+1. 角色菜单已对齐,继续接入数据范围和可操作项;同步处理详情直达的范围检查及操作记录署名。
+2. 完成客户激活入口与客户侧五个菜单页面,串起提交、撤回和确认关闭。
+3. 完成运维主账号队列、成员范围、分派方式及本人/团队工单视角,串起施工开户与常规运维。
+4. 补齐对账补跑、只读对账方视角、导出限制与争议口径,最后完整回归所给演示流程。
+
+## 本轮验证
+
+- `npm run typecheck`、`npm run build`。
+- `npm run test:identities`:与原型可见账号逐项对照、角色/登录名、归属标识、旧会话解析及未知账号处理。
+- `npm run test:navigation`:13 个身份与原型 `navFor` 的菜单名称、顺序和分组逐项对照;主子账号差异、角色默认页、详情高亮及菜单路由可达性。
+- `npm run test:domain`:保留既有领域检查;其中旧权限模型的断言不代表原型多角色权限已完成。
+- 浏览器:搜索、空结果重置、四个运维账号分组、确认切换、取消不变、Escape 关闭与焦点恢复、刷新保留身份、个人资料同步、退出与原有林管登录兼容。
+- 角色侧栏浏览器验证:客户主账号与张敏的分账号菜单差异、孙队的全部菜单、赵工仅工单管理及刷新保留、许芸隐藏组织组、周运营保留组织组、联通与邹合的不同对账菜单、折叠导航与当前页标记。截图保存在 `artifacts/sidebar-customer.png` 和 `artifacts/sidebar-team.png`。
+- 对话框在 375×812、768×1024、1024×720、1440×900 下均在视口内,无横向溢出,确认区保持可见。

+ 119 - 0
web-scaffold/docs/prototype-v2-comparison.md

@@ -0,0 +1,119 @@
+# 运营支撑系统原型差异:prototype → prototype-v2
+
+核对日期:2026-11-06。对照范围为两个目录里的 `index.html`、`app.js`、`data.js` 和 `styles.css`,不以现有 `src/` 的实现情况为依据。页面、弹窗和点击处理以原型代码为准;有说明但未接入操作链路的项目单列在文末。
+
+新版没有重做原型的页面框架。主要变化在**运营与运维的权限、工单流转、客户激活、合同与订阅、分成与出账口径**。页面键由 47 个增至 49 个(新增 3、移除 1);`index.html` 完全相同,CSS 只增加 39 行。下表中的路由键是原型内部标识。
+
+## 1. 页面入口、角色和概览
+
+| 对象 | 旧版 → 新版 |
+| --- | --- |
+| 总运营、区域运营 | 「工单与开停」新增**工单配置**(`ticketcfg`)。总运营可修改闭环路径,区域运营主、子账号均只读。区域运营角色由 `regAdmin` 加主账号标记拆为 `opsMain` / `opsSub`;子账号继续不显示「组织与区域」。 |
+| 运维主账号 | 登录落地由「待分派工单」改为独立的**只读首页**(`ohome`);待分派工单和工单管理仍保留。团队客户从共用的客户管理拆出为独立**团队客户**(`teamcust`),范围为团队负责范围与挂接本团队的客户的交集;列表、档案均只读,无增删改、订阅管理和激活码办理。 |
+| 运维子账号 | 登录也先到只读首页;旧 `worker` 施工身份合并到 `ops`。侧栏为「首页」「工单管理」,仅处理分派给自己的工单。 |
+| 运维对账与审计 | 移除旧 `rules` 路由,运维主账号的「对账清单」改为「对账与分成 → 本方对账」,复用合并视图 `region`;「变更记录」移到「变更与范围 → 本方变更记录」。 |
+| 合伙人、运营商 | 合伙人的「对账」分组改名「对账与分成」,保留「本区域对账」,「范围变更」改「本方变更记录」;运营商菜单结构不变,「变更记录」改「本方变更记录」。合伙人、运营商仍按本方看客户和合同。 |
+| 客户门户与演示登录 | 门户侧栏条目保持不变。原型仍从演示身份卡片进入;卡片按拆分后的角色组织,未设密客户主账号点卡片先走激活。没有新增正式账号密码登录表单或验证码。 |
+| 运营概览 | 顶部说明日期与数据范围。卡片常显统计口径;告警改为「待处置运营商报文 / 执行失败批次 / 0 明细批次」三类,点击可分 Tab 看明细。仍保留五项待处理事项;未完成工单统计含待派单、待处理、处理中,超期弹窗增加超期天数、延期状态和授权延期入口,单类弹窗超过 50 条提供查看全部。 |
+| 运维首页 | 主账号看团队在办、待派单、超期、待竣工、待回执、负责客户数和报文待处置;子账号看本人在办、超期、待回填等,服务开通与到期停机按本人可处理类型展示。首页只提供查看及跳转。 |
+| 页面返回 | 增加「返回概览/返回首页」,仅在从该首页跳进工单或对账的列表、详情链路时出现;侧栏换页、离开链路或切身份会清除。对账清单和账单明细可双向跳转,详情「返回」跟随来路。 |
+
+出处:[菜单与身份](../prototype-v2/app.js#L298)、[概览](../prototype-v2/app.js#L2225)、[运维首页](../prototype-v2/app.js#L11035)、[团队客户](../prototype-v2/app.js#L11200)、[页面注册](../prototype-v2/app.js#L12244)。
+
+## 2. 组织档案、团队和成员
+
+- **权限调整。** 运营主账号可在团队负责范围内新建、编辑、删除运营商、合伙人、运维团队等档案,配置范围并维护运维成员;运营子账号对这些组织档案只读。运营团队档案及其负责范围仍由总运营维护;合伙人分成方式和取值仍只给总运营修改。运维主账号可维护本团队成员、成员范围和分派方式,不能自行扩大团队范围。运营团队主账号转交限总运营或本团队运营主账号;内置总运营主账号不可转交、删除。
+- **区域和运营商。** 区域节点同一直属上级下不得重名,跨上级可重名。运营商只能建档在省级节点,同省同品牌不可重复。客户建档、改挂区域、改运营商时,要求客户所在省与运营商档案省一致;合同内联建档、批量导入同样校验,存量数据不批量回改。
+- **去掉常规/施工分类。** 团队和成员均取消该分类及对应分栏;团队配「可分配工单类型」,成员配「可处理工单类型」,成员所选必须是团队类型子集,团队缩减类型时同步缩减成员配置。示例「华东常规运维」改「华东运维」,「沪东施工」改「沪东开户组」。原施工人员的奖惩区块和样例记录移除。
+- **成员负责范围有三种模式。** 跟着团队走(新成员默认,随团队调整)、指定区域(含所选节点的下级)、点客户清单(保存当前名单)。解析结果始终限制在团队覆盖客户内;范围为空时不接单。被成员「指定区域」引用的节点不能直接删除。列表增加类型和范围摘要,支持按姓名、账号、类型、客户和区域等关键词查询。
+- **挂接与分派。** 客户可挂多支运维团队,允许同类承接重叠。分派先选能接该类型的团队,承接类型较少的优先,同数量按挂接顺序;没有匹配团队时落第一支挂接团队并留待派单。团队内候选必须满足同团队、类型匹配、客户在本人范围内;自动平均取未完成单最少者,同量按固定顺序。切为自动平均须确认,再尝试分派存量待派单;重试或切换的结果逐单显示派给谁或未派出的原因。
+
+出处:[档案权限](../prototype-v2/app.js#L298)、[区域同级校验](../prototype-v2/app.js#L8558)、[团队档案](../prototype-v2/app.js#L8975)、[团队路由与成员候选](../prototype-v2/data.js#L1060)、[三类成员范围](../prototype-v2/data.js#L1150)。
+
+## 3. 客户、批量导入和账号激活
+
+| 项目 | 旧版 → 新版 |
+| --- | --- |
+| 客户标识与检索 | 主体号由四位流水改为六位最小宽度(如 `KL-2026-000001`),导入批次号仍是四位。客户查询拆分为名称模糊查、主体号/客户识别号归一化后精确查,可叠加主体类型、区域、运营商、合伙人和服务状态。客户识别号继续用于主体查重,名称允许重名。 |
+| 客户状态与档案 | 「账户状态」明确为「服务开通状态」:未开通、在用、停用,与登录和激活分开。客户详情适配多团队挂接,增加运营发起服务停用入口。删除弹窗逐项展示工单、开停记录、应收与账单明细等阻塞原因;无阻塞时须逐字输入客户名确认,级联清理对应账号等数据。 |
+| 人工建档 | 客户新增、合同登记内联建档均可填写初始密码(选填,8–32 位):填了即激活主账号,只当次显示初始密码、下次须改密;留空则生成一次性激活码。内联建档须显式选运营商,使用同一套登录名、手机号校验;客户服务仍待网络侧开户。 |
+| 激活码 | 从「导出交付起算、默认 30 天且可配置」改为「发码起算、默认 7 天」。导出不延长未过期凭证;导出过期凭证时换码并作废旧码。激活状态只保留未激活/已激活;凭证过期单独判断。导出可选择全部未激活、仅凭证有效、仅凭证过期。 |
+| 批量导入 | 模板由常规/施工团队两列改为一个「运维团队」列(必填,可用 `;` 分隔多支);新增客户区域和运营商同省的逐行校验。成功行建档、建立客户主账号并发码,批次导出与续传沿用新凭证规则。原型解析 CSV 或粘贴文本,不解析 `.xlsx` 内容。 |
+| 分账号 | 去掉正式/委派等用途口径,按未到期订阅额度自动补齐,账号名按「主账号-序号」递增,只补不删;未开通席位可由开通工单启用。运营侧主要维护姓名和网络侧账号名。 |
+
+出处:[客户筛选](../prototype-v2/app.js#L2735)、[客户编号](../prototype-v2/app.js#L5319)、[激活](../prototype-v2/app.js#L4251)、[导入模板与校验](../prototype-v2/app.js#L4787)、[分账号补建](../prototype-v2/app.js#L3354)。
+
+## 4. 套餐目录、合同和订阅
+
+- **套餐档与定价。** 用途分类改为新建时明确选择,建档后不可改,未被引用也一样。公共档删除同时核对合同条目引用和订阅引用。档位没有显式月结算标准时,按年价 ÷ 12 向下舍到分(例:10,000 元 → 833.33 元),订阅保存时冻结具体金额;价差由出账尾月按口径对齐。按月、季度、年仍保留,季度文案统一,跨短月的结束日计算改为先取目标月有效日期、再减一天。
+- **合同登记。** 外部单号去首尾空白后查重:同客户重复按幂等冲突处理,跨客户撞号明确拒绝。合同总额须大于 0,附件改为单文件、重选替换。合同开通判定按关联开户工单或服务开通的实际开通日,独立于合同日期状态。
+- **合同服务构成。** 套餐式条目由单出口改为多出口,与自定义式一样,每条最多 8 个且去重。固定 IP 改为合同级按需勾选:勾选后至少一行,每行须有线路出口、带宽档位(5/10/30 兆)和 IP 数量;不勾选则不保存这些行。条目上下行带宽与 IP 档位分开校验。
+- **合同派生自定义档。** 自定义式条目必填年订阅价,月结算标准可留空派生。合同保存时生成或更新 `自定义档-{合同编号}-{两位条目序号}`,归属签约客户;目录侧只读,修改回合同条目,已冻结的存量订阅不随之改价。
+- **订阅承接与试用。** 同出口从「有交集」改为「去重排序后集合相等」;如「美国+日本」和「美国」不再算同一出口。适用于同分类并存、升降配基数和合同条目匹配。新增 1/2 个月试用和选填优惠金额(可为 0),在表单保存并在订阅页面展示;未填优惠不应回退到正式月费,出账链路的实现边界见文末。
+- **开通与历史。** 实际开通日由开户/服务开通回填写入,订阅表单只读;已生效且已开通的订阅保持只读,升降配新增订阅并保留原记录。已有应收的订阅不能删除,提前停止通过服务停用。订阅详情补齐月结算标准、成本与应收的口径说明,并更新跳转入口。
+
+出处:[出口匹配与月标准](../prototype-v2/app.js#L150)、[套餐引用](../prototype-v2/app.js#L3096)、[合同条目与固定 IP](../prototype-v2/app.js#L3692)、[合同派生](../prototype-v2/app.js#L8366)、[订阅保存](../prototype-v2/app.js#L8103)。
+
+## 5. 工单与开停
+
+- **状态链。** 「待派单」从无责任人的待办含义升级为独立状态:待派单 → 待处理 → 处理中 → 已完成 → 已闭环;提前终止单独为「已关闭」。手工或自动派给成员后进待处理,责任人打开详情后进处理中。待分派页只看待派单,去掉冗余的状态与回填来源筛选,增加行内可接单成员的未完成数量和自动重试结果。委托候选须同时匹配团队、类型、范围且非本人,无候选给出原因及出路。
+- **「客户停机」改为「服务停用」。** 取消由客户自助停用分账号触发的旧入口。运营可在客户/订阅详情人工发起服务停用,须在用、有生效订阅、无在途停机工单,并填写原因确认。到期停机、服务停用均走简化停机回填;成功后客户及在用分账号停用,人工服务停用同时截断生效订阅结束日。已出账期次不改、不冲。新版也描述了升降配回收原档的系统停用单,当前接入情况见文末。
+- **回填。** 开户按账号标识、线路路由、IP/接入凭据、结论凭证分组;失败收起并清空不应保存的明细,仅留结论、原因、凭证;部分成功保留明细但不生效,工单仍处理中。服务开通需勾完清单并填写实际开通日,只写本条订阅和本次覆盖的席位。回填、服务状态、计费起点与竣工闭环分开。
+- **主线闭环可配置。** 开户、服务开通、到期停机、服务停用默认继续「竣工回传+运营商回执确认」,待回执允许同号覆盖;可改「完成即竣工」,成功提交时生成竣工记录并直接闭环。仅影响之后完成的单,在途已完成的单沿旧路径。回传给本运维团队主账号及运营侧,确认回执仅本团队主账号和总运营。竣工资料保留下载入口,原型下载是占位文件。
+- **故障/售后闭环与防重。** 客户+工单类型+未完成三态查重,不区分提交人,命中提示已有单号、保留输入并记审计。人发起的单完成后由有权提交方确认,满 7 个自然日未确认自动闭环;系统自动/联通来源的非主线单无确认人,标记完成时直接闭环。撤回未完成工单改为二次确认并必填原因。
+- **运营商报文。** 待处置只列未归属或冲突,成功匹配后当轮生效,不再展示中间态或二次生效按钮。可按权限挂接、改挂、作废或确认以现状为准;作废必填原因,已生效/以现状为准/已作废为终态。摘要与展开原文均脱敏 PIN、CPID、识别号、手机号等字段,客户主体名保留。
+- **超期。** 开停类从开停记录待执行日、服务开通从建单日起算;满 7 个自然日当日即计入,支持临时延期 7 天,只调整提醒,不拦办理或改计费。运营概览可进入超期清单,运维首页按角色只读展示。
+
+出处:[工单生命周期](../prototype-v2/app.js#L1073)、[提交与查重](../prototype-v2/app.js#L1478)、[停用建单](../prototype-v2/app.js#L1746)、[回填结论联动](../prototype-v2/app.js#L5724)、[工单配置](../prototype-v2/app.js#L10313)、[报文处理](../prototype-v2/app.js#L10591)。
+
+## 6. 客户门户
+
+- **我的套餐。** 当前与往期用相同七列:套餐/合同、运营商(合同签订方)、总金额、方式、线路出口、期间、状态。详情补齐订阅信息、合同、单附件下载、服务清单和固定 IP;套餐变更或费用疑问引导发售后工单,无内部成本、分成及出账口径。
+- **下属分账号。** 去掉自助停用、用途等内容,列表突出姓名、网络侧账号名、状态、开通时间、停用时间。只有在用分账号显示「改姓名」,弹窗仅改姓名,客户名脱敏,网络侧账号名只读。客户服务停用时门户常驻说明,仍可登录,相关门户操作不由该状态一律禁用。
+- **我的账号。** 原来的分账号简版信息改为客户主、分账号共用的本人资料和改密表单:验原密码、新密码 8–32 位、两次一致、新旧不同,审计不记密码;不支持自助换绑手机。现有侧栏入口未接入,改密仅在原型内存中模拟。
+- **报障与工单进度。** 主账号报故障可代在用分账号报障,售后不显示该选择;区分提交来源与报障账号。附件可分次追加、移除,最多 9 份,仅模拟登记。进度页实际向主、分账号展示本公司工单;撤回、确认闭环按报障账号本人及其客户主账号关系判断。进度使用独立列集;详情只保留流程、工单信息、只读处理记录,不显示回填凭据、交接、竣工回执、运营商报文或内部材料。
+- **归属变更。** 菜单名保留,进入共用审计页,页面标题为「审计日志」,客户侧按本主体收窄,无导出。
+
+出处:[门户工单详情](../prototype-v2/app.js#L11643)、[套餐和分账号](../prototype-v2/app.js#L11882)、[我的账号](../prototype-v2/app.js#L12057)、[报障与进度](../prototype-v2/app.js#L12107)。
+
+## 7. 分成、成本和出账配置
+
+| 项目 | 旧版 → 新版 |
+| --- | --- |
+| 分成取值 | 移除逐客户规则及「区域常规/合同增补」层级和启停,分成统一从分成方档案取方式和取值,状态改「已配分成/未配分成」。管理页一行一分成方,详情看累计与历史、计算过程,不再编辑逐客户规则。历史期次保存归属与分成快照。 |
+| 分成计算说明 | 三种方式保留,档案、明细和审计统一展示。按比例从应收扣当期可扣成本后乘比例;按每账号取在期计费分账号,不满月按天折;按金额采用档案约定的固定月金额,同客户同账期只记一次,不乘基数、不按天折。明细补充未配置、基数归零等 0 值原因。 |
+| 成本管理 | 成本金额组合由省份×运营商档案改为省份×运营商品牌(固定联通、电信、移动)。一览表枚举可见省份与品牌组合,单独筛选,不改下方录入组合;区分未配置按 0 与显式录入 0。类别补线路投入示例;名称去首尾空白后 2–64 字符;摊销月数留空表示每月摊销、不结束,不自动换算当期金额。 |
+| 出账配置 | 新增「期初快照」(默认)和「按现值」两种生效时点。前者按账期期初冻结,后者成本在生成应收时、分成在出账时取值。已生成应收、已出账批次不追溯,补跑沿用原口径;归属快照不受切换影响。默认对账日、运营商单独约定及付款周期、取数模式的修改增加范围确认和审计,仍由总运营操作。 |
+
+出处:[分成规则](../prototype-v2/app.js#L9347)、[成本项与组合](../prototype-v2/app.js#L9063)、[成本管理](../prototype-v2/app.js#L9260)、[出账配置](../prototype-v2/app.js#L10270)。
+
+## 8. 对账清单、账单明细和更正
+
+- **批次状态与出账状态拆开。** 批次为待执行/已执行/执行失败/已作废,删除「已打回」。应收另判已出账/出账异常/未出账。执行失败的批次走人工补跑,成功后旧批作废并链接新批;已执行不重复出账。批次详情显示覆盖对象、计费口径、0 明细原因及未完成开户/服务开通提示,补跑需确认。
+- **自然月及进度。** 对账清单和明细默认上一个已结束自然月,选项只含当前范围实际有数据的月份;默认月不存在时回「全部自然月」并提示。对账清单增加本期应出、已生成、未到对账日、应出未出等分成方进度,已生成仍可能处于待执行或执行失败。本方对账同步展示本方进度。
+- **账单明细只显示已出账。** 列表与详情只收录进入有效「已执行」批次的行,去掉对账状态筛选,新增所属对账单号,可跳批次详情并从批次点回明细。客户名为纯文本,历史明细保留并标「归属已变更」。详情补计费起止日、快照、分成计算、在期分账号及成本超额归零等口径;筛选结果导出同步调整字段。
+- **只读对账视图。** 运维主账号、合伙人的本方合并页共用自然月、单号条件筛两张表,补齐各表的明细号与导航;运营商保留分开的两页。仅提供可导的单批明细,限制列表导出;只读身份遇空批次隐藏单批导出入口。
+- **出账更正。** 列表增加自然月、归属区域(含下级)、登记人和错误内容关键词筛选,默认不预选自然月。登记时按对账单号、客户名+自然月或分成方名+自然月推归属;无法识别或歧义须先补全。能识别但未匹配已出账候选时仍可留痕,详情注明未关联;命中时附账目摘要和详情入口。登记长期保留,不重算或改写已出账记录。
+
+出处:[批次状态及期次进度](../prototype-v2/app.js#L9650)、[有效明细](../prototype-v2/app.js#L9459)、[明细列表](../prototype-v2/app.js#L10115)、[更正记录](../prototype-v2/app.js#L10375)、[本方对账](../prototype-v2/app.js#L12153)。
+
+## 9. 定时任务、审计、样例和样式
+
+- **定时任务从 6 行扩到 12 行。** 业务 9 条、系统维护 3 条。新增月度账单快照冻结、子账号权限同步、故障/售后超时自动闭环、悬空节点清理、区域树缓存预热、一客一档一致性巡检。作业区分页面可启停、平台控制台启停、注册位未接线、业务操作同步完成无开关;开户和服务开通生成工单属于最后一类,无平台执行流水。执行记录抽屉与清单同组,轮次区分正常流水与异常记录口径;应收生成与对账日出账 `RECON` 标为未接线,页面仍保留后续阶段的对账演示数据。
+- **审计日志。** 增加主体、操作人、类型、日期区间和关键字组合检索,角色码、对象类型等快照显示,以及各角色只读范围提示。列表每批 10 条,倒序加载更多;运营侧可导出当前命中结果 CSV,单次上限 20,000 行,成功后留审计,非运营侧无导出。
+- **示例数据。** 两版均以 2026-10-15 为固定演示日。客户仍 9 家、合同 15 份、工单 27 张;更新客户主体号、团队与成员配置、客户账号、部分工单状态和材料、合同服务条目、历史成本分成快照、批次及更正样例。种子奖惩和逐客户分成规则移除;报文样例 4 → 3,作业流水样例 25 → 17。样例数量变化不代表功能删减。
+- **样式。** 原型壳、主色和布局未重做;新增 KPI 口径小字、历史归属标签、回填结论警示色、报文摘要和展开样式、可点击对账单号下划线、阶段说明横幅。
+
+出处:[作业注册表](../prototype-v2/app.js#L2435)、[审计筛选分页与导出](../prototype-v2/app.js#L10838)、[新版种子](../prototype-v2/data.js)、[样式](../prototype-v2/styles.css#L182)。
+
+## 10. 对接前需确认的差异
+
+| 事项 | 核对结果 |
+| --- | --- |
+| 分账号工单可见范围 | 代码按客户主体显示本公司全部工单;用同一张敏样例,旧版可见 1 张、新版 11 张。「工单进度」副标题和登录演示文案仍说只看本人。开发前应把实际可见范围和撤回/确认权限分别定清。 |
+| 升降配自动停用 | 新版定义了 `autoStopTicketForUpdown()`,界面也有自动生成回收原档停用单的说明;但订阅保存未调用该函数。当前保存会截止原订阅,并按客户状态生成开通类工单;运营人工发起停用另有入口。 |
+| 客户自助改密入口 | `self` 页面和改密逻辑存在,但主、分账号侧栏没有链接,源码未找到跳转到 `self` 的可见入口。不能按「门户用户已能从菜单使用」验收。 |
+| 试用与账期模式 | 试用和优惠字段已接入表单保存与展示;当前原型的出账补跑基于预置应收与分成数据,未见按试用重算应收。出账取数模式有设置和提示,`RECON` 仍待接线,不能据此认定正式调度、快照和计费已落地。 |
+| 部分说明与实现不一致 | 审计筛选栏称「对象类型」,实际选项和筛选取日志的操作类型 `l.type`;对账返回说明写刷新退回列表,但恢复逻辑仍会恢复详情路由,只丢失来路栈。建议以确定后的交互口径做验收。 |
+
+核对方式:逐文件和逐业务处理函数比对;在 Node 沙箱以浏览器经典脚本语义加载两版代码,用简化 DOM 运行角色菜单与页面模板,核查分账号可见范围、六位主体号、月标准取整、出口集合判定和补跑作废链路。新版失败批次样例中,广州批次可补跑并成功作废旧批,联通另一失败批次提示没有需要补跑的明细。未把前端模拟当作后台集成验证。

+ 21 - 0
web-scaffold/docs/region-select-audit.md

@@ -0,0 +1,21 @@
+# 区域选择统一核对
+
+2026-10-27:单选区域统一复用 `components/ui/tree-select.tsx`,树数据与范围适配在 `lib/region-tree.ts`。
+
+| 入口 | 处理 |
+| --- | --- |
+| 运营商、合伙人、运营团队、运维团队区域筛选 | 共用 TreeSelect,选择父区域包含下级 |
+| 组织新增/编辑、改挂客户区域 | 共用 TreeSelect,保持区域 ID 回写 |
+| 客户管理及各角色共用客户清单区域筛选 | TreeSelect,按当前可见客户构树,兼容原筛选 URL 的路径值 |
+| 新增/编辑客户的挂载区域 | TreeSelect,按当前身份范围开放节点;不可选祖先保留作层级上下文 |
+| 客户档案的归属配置 | TreeSelect,保持完整路径回写、区域 ID 同步和变更历史,兼容旧档案路径 |
+| 未挂路由的旧客户管理页面 | 区域筛选也替换,避免遗留原生区域下拉 |
+| 激活码导出的区域多选、组织负责范围多选 | 保留现有勾选规则;单选 TreeSelect 不直接替代多选 |
+| 区域管理页面左侧树 | 保留原有导航树,承担页面导航和区域管理功能 |
+| 运营商/团队/客户选择项中附带区域说明 | 保留原对象选择器,选值并非区域 |
+
+必填字段继续提供红显、错误描述与焦点定位。弹层使用原生 popover 顶层显示;筛选可清空,必填表单不提供清空。
+
+筛选区 TreeSelect 按选中路径自适应宽度,最大 320px 且不超过容器;不使用 210px / 230px 固定宽度。控件保持单行,超长路径省略,悬停显示完整路径。筛选栏恢复既有响应式布局。树节点字号 14px。
+
+验证:区域树四项检查覆盖 ID、同名省市、受限节点、旧路径和父区域筛选边界;客户建档 11 项检查、类型检查与构建通过。浏览器操作工具不可用,页面点击尚未复核。

+ 63 - 0
web-scaffold/docs/role-workspace-delivery.md

@@ -0,0 +1,63 @@
+# 角色工作台页面交付
+
+更新日期:2026-10-27。依据为原型 `pageQueue / pageMembers / pageMode / pagePlan / pageAccounts / pageSubmit / pageProgress / pageRegion` 及已确认的演示流程。用户要求依次完成页面,保留当前青绿主题、冷灰画布、14px 正文、紧凑卡片、表格和右侧抽屉。
+
+**同类页面复用已统一:** 合同、客户、工单列表和独立详情复用既有组件;客户套餐进入共用订阅详情,日志复用既有时间线。详情不再使用单独的简化抽屉,见 [同类业务页面复用核对](./shared-page-consistency.md)。
+
+## 本轮页面
+
+| 页面 | 路由 | 布局与交互 |
+| --- | --- | --- |
+| 待分派工单 | `/workspace/queue` | 当前团队与分派方式、待分派/超期/可接单统计、提醒、队列表格、成员负荷;搜索、类型、日期、手工指定成员、自动平均确认、详情跳转与返回。 |
+| 成员与负责范围 | `/workspace/members` | 成员列表、负责客户摘要、登录状态与负荷;搜索、按区域与客户勾选的范围抽屉、保存和取消。不能超出团队范围。 |
+| 分派方式 | `/workspace/dispatch-mode` | 手工/自动平均选择卡、当前方式、规则说明、保存与取消;更改配置不立即派单。 |
+| 团队对账 | `/workspace/team-reconciliation` | 本团队分成统计、共用月份/单号条件、按月清单和逐笔明细;只读,详情返回保留条件。 |
+| 我的套餐 | `/workspace/plan` | 客户状态、当前订阅卡片、往期订阅表格;详情进入共用 `/subscriptions/:id`,按身份隐藏内部成本、分成与出账数据。 |
+| 下属分账号 | `/workspace/accounts` | 合同额度、在用与待开通统计、账号清单、姓名编辑抽屉;客户子账号不显示此菜单。 |
+| 归属变更 | `/workspace/customer-changes` | 仅当前客户的档案历史、搜索、倒序时间线。 |
+| 提交故障或售后 | `/workspace/submit` | 类型、问题描述、附件选择、处理流程侧栏;提交后进入常规团队并跳到进度详情。 |
+| 工单进度 | `/workspace/progress` | 共用工单列表;详情进入共用 `/work-orders/:id` 查看时间线,本人故障/售后可撤回、完成后由本人确认关闭。 |
+| 本区域对账 | `/workspace/partner-reconciliation` | 当前合伙人作为分成方的月度批次、账单明细与统计;只读,列表不提供导出。 |
+
+全部原 `/workspace/:page` 占位页已替换,`RolePagePending.tsx` 已删除。导航使用 `workspace` 标记工作台路由;名称、顺序和分组保持原型一致。
+
+## 共用页面的角色视角
+
+- 运维工单列表和详情:主账号只看本团队;子账号只看分派给本人,施工团队只出现开户。列表统计同步收窄,代客建单仅运营角色保留。
+- 团队客户:共用客户列表和完整客户档案,仅查询当前团队可见客户。
+- 合伙人客户:按名下绑定客户取数,不扩展为负责区域内的全部客户。
+- 运营商客户:以“区域 / 运营商”精确匹配本方,避免同名运营商跨区域混入。
+- 合同清单:通过客户编号关联当前可见客户;没有编号的旧合同仅在客户名称唯一时允许名称回退,避免同名主体越界。
+- 合伙人、运营商、团队变更记录:只显示当前名下客户的档案历史,只读。
+- 对账清单及账单明细:对账方名称和类型同时过滤;列表隐藏 CSV 导出,批次详情保留单批 CSV。详情也核验当前对账方,避免从其他方详情直达读取。
+- 详情返回工作台、对账父菜单高亮及筛选条件保留已处理。争议说明使用“不改账、不在系统内打回重做、差额财务线下处理”的口径。
+
+## 分派与客户工单
+
+- 待分派口径:属于本团队、没有责任人、状态为待处理或处理中。
+- 可接单成员:本团队、类型匹配、登录账号在用、成员负责范围包含该客户。客户编号无法匹配时不自动放大范围。
+- 自动平均逐张重算未完成数,负荷相同按成员固定顺序选择;已分派与终态记录不变,无合适成员时留在团队。自动分派针对全部队列,不受列表查询条件影响。
+- 分派写入现有工单台账、当前操作人和处理记录。队列监听台账变更。
+- 新客户提交记录保存 `submitterId`;主账号可看本公司工单,子账号只看本人提交的单。旧样例通过分账号标识回退匹配,不能把所有“下属分账号”单都归给张敏。
+- 撤回和确认会再次读取台账并核对提交人、当前状态;撤回要填写原因,完成后确认写入已闭环。
+
+## 验证
+
+- 类型检查、生产构建;菜单对照、身份目录、领域、工作台及详情返回检查共 21 项。
+- 新增算法检查覆盖动态均衡、固定顺序、输入不变、缺少成员/范围/客户时留队、排除已分派/终态/外团队/施工故障,以及手工分派边界。
+- 范围检查覆盖新旧提交人、子账号本人范围、合伙人绑定客户、运营商区域限定、同名客户合同、施工团队和成员工单范围。
+- 浏览器验证:队列空结果与重置、分派确认、成员抽屉取消、方式切换取消、套餐详情、归属历史、只读客户/合同与对账视角、对账详情返回、手机导航。
+- 使用单独标记的 `T-20261027-01` 测试单完成“张敏提交 → 吴队手工分派周宁 → 周宁完成 → 张敏确认关闭”,刷新后仍为已闭环。原有工单未为本轮验证改写。
+- 375×812、768×1024、1024×720、1440×900 布局检查;窄屏表格在容器内滚动,无页面横向溢出。
+
+## 保留边界
+
+- 本轮完成前端演示页面及上述本地交互,不是真实认证或后端授权;隐藏菜单、前端过滤不等于完整路由和接口鉴权。
+- 客户激活、密码设置仍未接入;身份切换不校验密码。
+- 客户分账号本轮支持改姓名,停用、生成“客户停机”工单和恢复流程尚未接入,页面明确提示联系运营。
+- 附件只记录文件名,客户侧留档下载尚无真实文件服务。
+- 区域运营仍需接入负责区域及下级范围、全局配置只读和定时任务操作限制;页面保留提示。
+- 团队配置沿用组织演示数据的内存存储,刷新恢复初始组织配置;工单、分账号姓名使用已有本地存储,刷新保留。
+- 客户变更页取客户档案历史,团队配置等业务留痕尚未汇入统一审计存储。对账失败补跑尚无实际执行接口;旧样例的已打回状态保留为历史数据。
+
+主要实现:`src/pages/TeamQueuePage.tsx`、`TeamWorkspacePages.tsx`、`CustomerSelfServicePages.tsx`、`CustomerTicketPages.tsx`、`PartyReconciliationPage.tsx`,及原有共用客户/合同/订阅/工单/审计页面;公共布局 `components/RoleWorkspaceKit.tsx`、`styles/role-workspace.css`;范围工具在 `lib/use-business-view.ts`、`team-workspace.ts`、`customer-workspace.ts`、`workspace-scope.ts`。

+ 36 - 0
web-scaffold/docs/shared-page-consistency.md

@@ -0,0 +1,36 @@
+# 同类业务页面复用核对
+
+更新日期:2026-10-27。不同身份访问同一种业务时,共用既有列表、独立详情路由和样式,只按角色调整数据范围、字段可见性与操作项。
+
+| 入口 | 共用列表 | 共用详情 | 身份差异 |
+| --- | --- | --- | --- |
+| 合同管理 / 合同清单 | `ContractManagementPage`,`/contracts` | `ContractRecordPage`,`/contracts/:no` | 运营可维护;对账方只读且只看名下客户的合同。 |
+| 客户管理 / 客户清单 / 团队客户 | `CustomerListPage`,`/customers` | `CustomerWorkspacePage`,`/customers/:no` | 按当前身份收窄;只读身份隐藏新增、编辑、删除、归属配置、主/分账号维护。 |
+| 工单管理 / 工单进度 | `WorkOrderLedgerPage`,`/work-orders` 或 `/workspace/progress` | `WorkOrderRecordPage`,`/work-orders/:id` | 运营、团队、成员、客户按各自范围取数;客户只操作本人提交的故障/售后,不执行运维动作。 |
+| 我的套餐 | 客户自助的 `CustomerPlanPage`,`/workspace/plan` | `SubscriptionRecordPage`,`/subscriptions/:id` | 客户侧标题为套餐详情,隐藏内部成本、计费出账与运营办理入口。 |
+| 套餐订阅管理 / 只读订阅查询 | `CustomerSubscriptionsPage` | 同上 | 只读身份仅查询详情,不能新增、升降配、编辑、作废或删除。 |
+| 审计日志 / 归属变更 / 范围变更 / 变更记录 | `AuditLogPage` | 无独立详情 | 同一日志查询及时间线,非运营身份只取当前可见客户的档案历史。 |
+| 对账清单 / 账单明细 | 原有 `SettlementRecordPages` | 原有 `/settlement-batches/:partyId/:no`、`/settlement-bills/:index` | 原本已共用,本轮保留;按本方数据收窄,列表无导出、详情保留单批导出。 |
+
+待分派队列、成员负责范围、分派方式及团队/合伙人的双台账对账页属于原型中的专属业务入口,继续保留专属页面。姓名编辑、成员范围、分派确认等操作表单可以使用对话框或抽屉;业务详情统一进入上述独立路由。
+
+已删除重复的 `RoleDirectoryPages.tsx`,移除合同/客户详情跳回 `?record=` 打开抽屉的跳转。客户套餐、工单进度的详情抽屉也已移除,客户工单动作并入共用工单详情。
+
+## 返回与范围
+
+- 客户、合同列表的查询条件写入 URL;详情携带列表来源,返回后恢复关键字、状态、区域等条件。
+- 合同 → 客户 → 合同 → 原筛选列表,以及订阅、工单之间的详情返回保留前一级历史。
+- 客户套餐和工单详情分别保持“我的套餐”和“工单进度”的侧栏高亮。
+- 共用详情核验当前身份范围;只读身份直达新增、编辑路由会返回相应清单。
+- 合伙人/运营商的合同详情隐藏内部成本、全局出账和履约工单区;客户套餐详情隐藏内部结算字段。字段差异由权限控制,不再另做一套简化详情。
+- 客户工单撤回和确认再次核对最新记录、本人身份、工单类型及状态,不因改为共用详情而放宽操作。
+
+## 验证
+
+- 浏览器核对:邹合合同清单使用完整 11 列台账,详情进入 `/contracts/HT-CL-20260318`,无详情对话框、无编辑合同按钮;林管访问同一路由仍有编辑入口。
+- 合同筛选、合同 → 客户 → 合同 → 清单逐级返回后保留 `q=HT-CL-20260318`。
+- 客户档案使用原有完整页面,隐藏编辑档案、配置归属、激活码重置及账号管理。
+- 张敏套餐详情进入 `/subscriptions/SUB-2026-002`,无抽屉和内部成本字段;返回“我的套餐”。
+- 张敏工单进度共用工单列表;详情进入 `/work-orders/T-20261014-02`,只有本人撤回入口,没有分派、完成、回填或关闭未完成工单的运维按钮;取消撤回不改记录,返回保留工单筛选。
+- 新增返回导航检查,以及客户本人撤回/确认的状态与范围检查。真实认证和服务端授权仍需后续接入。
+- 本轮类型检查、生产构建和 21 项自动检查通过。

+ 27 - 0
web-scaffold/docs/table-design-rollout.md

@@ -0,0 +1,27 @@
+# 管理表格逐页改造进度
+
+按用户要求:每完成一个页面,停下来等待用户验证通过,再开始下一项。不要因本清单而自动连续改造。
+
+统一规则:按容器实际宽度分配列宽;窄屏固定识别列及操作列、中间滚动;边界阴影按滚动方向显示;表头固定、整行背景一致;三个及以上操作宽屏展开、窄屏保留主入口加更多;一至两个操作始终直接展示。
+
+已有:合同管理、客户管理、运营团队、运维团队。运维工单类型保留前三类与 +N,浮层展示其余,不改变行高。
+
+## 主台账顺序
+
+1. 全部订阅:用户验证通过。根据用户反馈移除表格高度上限,表格随内容展开,只保留横向滚动,纵向由页面滚动承担。2560px 宽屏弹性分配;1024px 表格局部滚动、两侧固定与详情导航验证;375px 保留原有卡片,无页面横溢。
+2. 运营商管理:用户验证通过。保持档案预览及账号弹层;宽屏展开编辑/删除,窄屏账号加更多;不设置纵向高度上限。
+3. 批量导入台账:用户验证通过。成功/失败占剩余宽度35%,进度条取消180px上限。弹性列宽、窄屏双侧固定及滚动阴影,无内部纵向高度上限;仅保留原有详情入口。
+4. 分成管理:用户验证通过。序号与分成方固定左侧,分成金额入口固定右侧,列宽按容器伸缩,无内部纵向高度限制。
+5. 成本管理:用户验证通过。成本项定义、金额一览、逐组合录入三表已调整。定义表将项目移到序号后作识别列,编辑定义与删除始终直接展示;金额一览按成本项数量动态分配列宽,固定省份/运营商及录入入口;无表格内部纵向高度限制。
+6. 对账清单:用户验证通过。根据宽屏反馈改为最低阅读宽度加均衡补宽,其余列均衡补宽;状态固定120px,单号与分成方最低均为260px,宽屏同等按其他弹性列的1.4倍分配,其余列尽量均分。弹性列宽、编号/详情两侧固定、无内部纵向高度限制;原有筛选、对账方范围及导出规则保持。
+7. 账单明细:用户验证通过。天数固定72px;金额仅展示、详情为唯一入口;对账清单标签上、单号下。名称与关联单号适度加宽,其余均衡补宽;天数及操作保持紧凑;固定分成方与详情,无内部纵向高度限制。
+8. 出账更正记录:用户验证通过。关联账单与说明适度加宽,级别/操作紧凑固定,长内容单行省略附全文提示,保留完整详情,无内部纵向高度限制。
+9. 出账配置:用户验证通过。按容器分配列宽,通知地址限制250–280px;操作列宽170px、标题右对齐,保存和撤销直接展示;仅固定左侧身份,右侧随内容滚动,无内部纵向高度限制。
+10. 工单管理:用户验证通过。工单号与客户适度加宽,其余弹性列均衡分配;序号、状态与操作紧凑;窄屏固定序号/工单号及详情,长文本单行省略,无内部纵向高度上限。
+11. 定时任务:用户验证通过。固定任务与操作列,宽屏展开三个操作、窄屏详情加更多(按钮文字与箭头同排、样式统一),状态紧凑,长文本单行省略,无内部纵向高度上限。执行记录原为卡片列表,保留现有布局。
+
+## 后续内嵌表与角色表
+
+区域管理关联组织及下挂客户;客户套餐订阅管理;运营/运维团队账号页;分成金额详情内客户规则表;客户档案内分账号等关联表;角色工作台队列、成员、客户分账号与往期套餐、对账表格;维护说明及运营商反馈等辅助页面。逐页核实是否需要完整固定列,不为短表或单操作表机械新增更多菜单。
+
+合伙人及套餐目录当前为卡片布局,不纳入表格改造。未路由的旧客户/工单组件不按独立页面计数。

+ 61 - 0
web-scaffold/docs/theme-tokens.md

@@ -0,0 +1,61 @@
+# 运营支撑系统主题 token
+
+主题目标:为账户、套餐、工单与后续计费管理提供一致、清晰、可扩展的中后台界面。延续开发文档的深青绿方向,减少局部草绿、米黄和多套品牌绿混用。
+
+## 核心角色
+
+唯一颜色来源为 `src/styles/tokens.css`;`globals.css` 负责 Tailwind 映射。完整值以源码为准。
+
+| 角色 | Token | 浅色 | 深色 | 用途 |
+|---|---|---|---|---|
+| 工作画布 | `--background` | `#F5F7F8` | `#111A20` | 页面底色 |
+| 内容容器 | `--card` | `#FFFFFF` | `#19262E` | 卡片、表单、弹窗 |
+| 次级区域 | `--surface-subtle` | `#F0F4F5` | `#1E2D35` | 带宽区、按需服务 |
+| 正文 | `--foreground` | `#1F2B32` | `#E5EDF1` | 标题、关键规格 |
+| 辅助文本 | `--muted-foreground` | `#586B76` | `#A7BAC5` | 单位、标签、说明 |
+| 品牌主色 | `--primary` | `#176B63` | `#71C6B9` | 主按钮、选中、重点价格 |
+| 主色悬停 | `--primary-hover` | `#10564F` | `#9ADBCF` | 主按钮悬停 |
+| 主色上的文字 | `--primary-foreground` | `#FFFFFF` | `#102923` | 保证主按钮文字对比度 |
+| 品牌浅底 | `--primary-soft` | `#E8F3F1` | `#203F3D` | 选中导航、定价说明 |
+| 浅底文字 | `--primary-soft-foreground` | `#195B54` | `#A8DDD3` | 品牌浅底上的标题 |
+| 容器边界 | `--border` | `#D9E2E7` | `#364D5A` | 卡片、分隔线 |
+| 输入边界 | `--input` | `#7B8E99` | `#6C899A` | 输入框、选择框 |
+| 成功文字 | `--success` | `#216444` | `#9AD7B2` | 已上架、成功状态 |
+| 警告文字 | `--warning` | `#835812` | `#E9C27C` | 待上架、待确认信息 |
+| 信息文字 | `--info` | `#315E89` | `#A0C7ED` | 业务说明与信息提示 |
+| 错误文字 / 操作 | `--destructive` | `#B03B3B` | `#F3AAA5` | 错误、破坏性操作 |
+
+成功、警告、信息、错误均配套 `-soft` 与 `-border`。错误按钮另用 `--destructive-foreground` 与 `--destructive-hover`。侧栏引用全局语义值,不创建第二套品牌色。
+
+## 使用示例
+
+```tsx
+<Button>新建套餐</Button>
+<span className="bg-success-soft text-success">已上架</span>
+<p className="text-muted-foreground">Mbps / 月</p>
+```
+
+```css
+.price { color: var(--primary); }
+.specification { background: var(--surface-subtle); color: var(--foreground); }
+```
+
+SVG 同样引用 `var(--primary)` 等语义变量。页面内不写十六进制颜色,不以透明主色替代状态色;不同业务场景通过名称和图标区分。
+
+## 数字与视觉层级
+
+- 字号基础层级定义在 `tokens.css`:辅助标识 12px、短说明 13px、正文及控件 14px、舒适阅读 15px、小节标题 16px。10–11px 不用于可阅读的业务信息。
+- 套餐描述、表单提示和报价说明以 14px 正文为主;特性清单与短说明至少 13px;状态、来源和数字单位至少 12px。长句使用约 1.6–1.7 倍行高。
+- 月价:36–40px,700 字重,主色;币种和周期为小号辅助文本。
+- 带宽数字:23px,700 字重,正文色;Mbps 独立为小号辅助文本。
+- 年费用参考:小号辅助文本,金额适度加重;不抢占原始月价层级。
+- 未承诺、未明确的带宽为普通辅助文本,不用大号数字样式。
+- 字体沿用项目中文优先的字体栈;视觉重点通过字号、字重和正文对比度共同建立。
+
+## 主题和验证
+
+浅色为默认主题;在应用根元素设置 `.dark` 使用配套深色值。当前不增加切换按钮。
+
+已检查浅色与深色的正文、辅助文字、品牌按钮、品牌浅底、状态提示、错误按钮和提示条的关键对比度组合(至少 4.5:1);输入边界与卡片背景至少 3:1。这是 token 层验证,不等同于整个产品已通过可访问性认证。悬停、焦点、状态信息还须在组件中使用文字、图标与结构表达。
+
+修改主题时同步检查套餐页、编辑抽屉、报价说明和登录表单;不要仅替换主按钮颜色。

+ 16 - 0
web-scaffold/index.html

@@ -0,0 +1,16 @@
+<!doctype html>
+<html lang="zh-CN">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="theme-color" content="#f6f6f2" />
+    <meta
+      name="description"
+      content="运营支撑系统前端登录入口"
+    />
+    <title>运营支撑系统</title>
+  </head>
+  <body>
+    <div id="root"></div>
+  </body>
+</html>

+ 5354 - 0
web-scaffold/package-lock.json

@@ -0,0 +1,5354 @@
+{
+  "name": "operations-support-web",
+  "version": "0.1.0",
+  "lockfileVersion": 3,
+  "requires": true,
+  "packages": {
+    "": {
+      "name": "operations-support-web",
+      "version": "0.1.0",
+      "dependencies": {
+        "@tanstack/react-query": "^5.102.0",
+        "axios": "^1.20.0",
+        "class-variance-authority": "^0.7.1",
+        "cn": "^0.4.0",
+        "echarts": "^6.1.0",
+        "lucide-react": "^1.57.0",
+        "react": "^19.0.0",
+        "react-dom": "^19.0.0",
+        "react-router": "^7.18.4",
+        "shadcn": "^4.21.5",
+        "tw-animate-css": "^1.4.0"
+      },
+      "devDependencies": {
+        "@rsbuild/core": "^2.2.13",
+        "@rsbuild/plugin-react": "^2.1.1",
+        "@rsbuild/plugin-tailwindcss": "^2.0.0",
+        "@types/node": "^26.6.6",
+        "@types/react": "^19.0.0",
+        "@types/react-dom": "^19.0.0",
+        "tailwindcss": "^4.3.0",
+        "typescript": "^5.9.3"
+      }
+    },
+    "node_modules/@alloc/quick-lru": {
+      "version": "5.3.0",
+      "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.3.0.tgz",
+      "integrity": "sha512-U4+70Pc5ZS9osnCBCE5Jha/ciHM+Yp+CNMNC/7HvYbNRk1Ldd+f7qO65W5qfhu/TCv+/ozljlXXe9Nj8419DMA==",
+      "dev": true,
+      "license": "MIT",
+      "engines": {
+        "node": ">=10"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/@babel/code-frame": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz",
+      "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/helper-validator-identifier": "^7.29.7",
+        "js-tokens": "^4.0.0",
+        "picocolors": "^1.1.1"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/compat-data": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz",
+      "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/core": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz",
+      "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/code-frame": "^7.29.7",
+        "@babel/generator": "^7.29.7",
+        "@babel/helper-compilation-targets": "^7.29.7",
+        "@babel/helper-module-transforms": "^7.29.7",
+        "@babel/helpers": "^7.29.7",
+        "@babel/parser": "^7.29.7",
+        "@babel/template": "^7.29.7",
+        "@babel/traverse": "^7.29.7",
+        "@babel/types": "^7.29.7",
+        "@jridgewell/remapping": "^2.3.5",
+        "convert-source-map": "^2.0.0",
+        "debug": "^4.1.0",
+        "gensync": "^1.0.0-beta.2",
+        "json5": "^2.2.3",
+        "semver": "^6.3.1"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/babel"
+      }
+    },
+    "node_modules/@babel/generator": {
+      "version": "7.29.8",
+      "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.8.tgz",
+      "integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/parser": "^7.29.8",
+        "@babel/types": "^7.29.8",
+        "@jridgewell/gen-mapping": "^0.3.12",
+        "@jridgewell/trace-mapping": "^0.3.28",
+        "jsesc": "^3.0.2"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/helper-annotate-as-pure": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.29.7.tgz",
+      "integrity": "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/types": "^7.29.7"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/helper-compilation-targets": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz",
+      "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/compat-data": "^7.29.7",
+        "@babel/helper-validator-option": "^7.29.7",
+        "browserslist": "^4.24.0",
+        "lru-cache": "^5.1.1",
+        "semver": "^6.3.1"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/helper-create-class-features-plugin": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.29.7.tgz",
+      "integrity": "sha512-IY3ZD9Tmooqr3TUhc3DUWxiuo8xx1DWLhd5M7hQ+ZWJamqM2BbalrBJb2MisSLoYorOj75U03qULCxQTY9r3hg==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/helper-annotate-as-pure": "^7.29.7",
+        "@babel/helper-member-expression-to-functions": "^7.29.7",
+        "@babel/helper-optimise-call-expression": "^7.29.7",
+        "@babel/helper-replace-supers": "^7.29.7",
+        "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7",
+        "@babel/traverse": "^7.29.7",
+        "semver": "^6.3.1"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      },
+      "peerDependencies": {
+        "@babel/core": "^7.0.0"
+      }
+    },
+    "node_modules/@babel/helper-globals": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz",
+      "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/helper-member-expression-to-functions": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.29.7.tgz",
+      "integrity": "sha512-j+7JYmk1JYDtACIGj0QJqqWZjoUpMoEikQGADMaHgCMCSDqd2+P32rfcibUNrGOMWrlzK1WJBdxrB3JJQZwWtg==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/traverse": "^7.29.7",
+        "@babel/types": "^7.29.7"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/helper-module-imports": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz",
+      "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/traverse": "^7.29.7",
+        "@babel/types": "^7.29.7"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/helper-module-transforms": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz",
+      "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/helper-module-imports": "^7.29.7",
+        "@babel/helper-validator-identifier": "^7.29.7",
+        "@babel/traverse": "^7.29.7"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      },
+      "peerDependencies": {
+        "@babel/core": "^7.0.0"
+      }
+    },
+    "node_modules/@babel/helper-optimise-call-expression": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.29.7.tgz",
+      "integrity": "sha512-+kmGVjcT9RGYzoDwdwEqEvGgKe3BYq+O1iGzjFubaNgZHwYHP6lsF2Yghf4kEuv9BV7tYDZ913aBW9am6YKong==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/types": "^7.29.7"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/helper-plugin-utils": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.29.7.tgz",
+      "integrity": "sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/helper-replace-supers": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.29.7.tgz",
+      "integrity": "sha512-atfGXWSeCiF4DnKZIfmJfQRkSw9b9gNNXR1kqKjbhG4pGYCOnkp8OcTB8E3NXjBu8NpheSnOeNKz8KT7UNFTmQ==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/helper-member-expression-to-functions": "^7.29.7",
+        "@babel/helper-optimise-call-expression": "^7.29.7",
+        "@babel/traverse": "^7.29.7"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      },
+      "peerDependencies": {
+        "@babel/core": "^7.0.0"
+      }
+    },
+    "node_modules/@babel/helper-skip-transparent-expression-wrappers": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.29.7.tgz",
+      "integrity": "sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/traverse": "^7.29.7",
+        "@babel/types": "^7.29.7"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/helper-string-parser": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz",
+      "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/helper-validator-identifier": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",
+      "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/helper-validator-option": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz",
+      "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/helpers": {
+      "version": "7.29.10",
+      "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.10.tgz",
+      "integrity": "sha512-EMCx3AGZ3WfAl6ht7AyQoPm2Lh+BGYEMdc4Q6Hf7uSCDOZFuLq44qNwL+iaim8VlyYhRAo4X43+weadK8ZB4Yg==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/template": "^7.29.7",
+        "@babel/types": "^7.29.8"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/parser": {
+      "version": "7.29.9",
+      "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.9.tgz",
+      "integrity": "sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/types": "^7.29.8"
+      },
+      "bin": {
+        "parser": "bin/babel-parser.js"
+      },
+      "engines": {
+        "node": ">=6.0.0"
+      }
+    },
+    "node_modules/@babel/plugin-syntax-jsx": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.29.7.tgz",
+      "integrity": "sha512-TSu8+mHCoEaaCDEZ0I3+6mvTBYR4PCxQwf2z9/r5Tbztv6NaLR3B9thGTTxX2WGuGHJqRiAbKPeGTJ5XWXVg6A==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/helper-plugin-utils": "^7.29.7"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      },
+      "peerDependencies": {
+        "@babel/core": "^7.0.0-0"
+      }
+    },
+    "node_modules/@babel/plugin-syntax-typescript": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.29.7.tgz",
+      "integrity": "sha512-ngr+82Sh0xMz25TPCZi+nC2iTzjfCdWS2ONXTp/PtSCHCgaCNBpdMqgvJ2ccdLlClVZ7sisIgB914j/JFe+RZA==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/helper-plugin-utils": "^7.29.7"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      },
+      "peerDependencies": {
+        "@babel/core": "^7.0.0-0"
+      }
+    },
+    "node_modules/@babel/plugin-transform-modules-commonjs": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.29.7.tgz",
+      "integrity": "sha512-j0vCldybPC5b5dwCQOJ21uKtHzt7hxLygJTg9eF1ScfaikEDNfzn94XoW5Fi+seBR0nCyL23xaBFFkq7dTM8XQ==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/helper-module-transforms": "^7.29.7",
+        "@babel/helper-plugin-utils": "^7.29.7"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      },
+      "peerDependencies": {
+        "@babel/core": "^7.0.0-0"
+      }
+    },
+    "node_modules/@babel/plugin-transform-typescript": {
+      "version": "7.29.9",
+      "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.29.9.tgz",
+      "integrity": "sha512-FFwIwzU+7SCOuxxV4YtJql6T9981ZVTm+FHO5GhVsRqCTdy0WwrEZh3l42ARpXruJUDGOptdduHW6Zr7pNPLNg==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/helper-annotate-as-pure": "^7.29.7",
+        "@babel/helper-create-class-features-plugin": "^7.29.7",
+        "@babel/helper-plugin-utils": "^7.29.7",
+        "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7",
+        "@babel/plugin-syntax-typescript": "^7.29.7"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      },
+      "peerDependencies": {
+        "@babel/core": "^7.0.0-0"
+      }
+    },
+    "node_modules/@babel/preset-typescript": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.29.7.tgz",
+      "integrity": "sha512-/Foi8vKY2EVbed/1eZx0gJEEwHAIxogrySI7rULcRIvhZzbvoE/b5qG5Ghc0WKAFKOHA9SD1x7RsFlOYdutIiQ==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/helper-plugin-utils": "^7.29.7",
+        "@babel/helper-validator-option": "^7.29.7",
+        "@babel/plugin-syntax-jsx": "^7.29.7",
+        "@babel/plugin-transform-modules-commonjs": "^7.29.7",
+        "@babel/plugin-transform-typescript": "^7.29.7"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      },
+      "peerDependencies": {
+        "@babel/core": "^7.0.0-0"
+      }
+    },
+    "node_modules/@babel/template": {
+      "version": "7.29.7",
+      "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz",
+      "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/code-frame": "^7.29.7",
+        "@babel/parser": "^7.29.7",
+        "@babel/types": "^7.29.7"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/traverse": {
+      "version": "7.29.10",
+      "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.10.tgz",
+      "integrity": "sha512-B3lYAs2nkKskbgQ1nfy8Ma9ao9Q1rntTAQHrzzyDuj+TSO+X3le6PfWwqDvodsb+OumE10eMFfuMCTQSQ5iuIQ==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/code-frame": "^7.29.7",
+        "@babel/generator": "^7.29.8",
+        "@babel/helper-globals": "^7.29.7",
+        "@babel/parser": "^7.29.9",
+        "@babel/template": "^7.29.7",
+        "@babel/types": "^7.29.8",
+        "debug": "^4.3.1"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/types": {
+      "version": "7.29.8",
+      "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz",
+      "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/helper-string-parser": "^7.29.7",
+        "@babel/helper-validator-identifier": "^7.29.7"
+      },
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@dotenvx/dotenvx": {
+      "version": "1.75.1",
+      "resolved": "https://registry.npmjs.org/@dotenvx/dotenvx/-/dotenvx-1.75.1.tgz",
+      "integrity": "sha512-/BITOC9dmS/edY2zQwZNicQ059O6RKabtQfyEafV0nGtfYRNHYy1DIPiYVcov40+tob9hfmBnbR963dS+EQ1DQ==",
+      "license": "BSD-3-Clause",
+      "dependencies": {
+        "@dotenvx/primitives": "^0.8.0",
+        "commander": "^11.1.0",
+        "conf": "^10.2.0",
+        "dotenv": "^17.2.1",
+        "enquirer": "^2.4.1",
+        "env-paths": "^2.2.1",
+        "execa": "^5.1.1",
+        "fdir": "^6.2.0",
+        "ignore": "^5.3.0",
+        "object-treeify": "1.1.33",
+        "open": "^8.4.2",
+        "picomatch": "^4.0.4",
+        "systeminformation": "^5.22.11",
+        "undici": "^7.11.0",
+        "which": "^4.0.0",
+        "yocto-spinner": "^1.1.0"
+      },
+      "bin": {
+        "dotenvx": "src/cli/dotenvx.js"
+      },
+      "funding": {
+        "url": "https://dotenvx.com"
+      }
+    },
+    "node_modules/@dotenvx/dotenvx/node_modules/commander": {
+      "version": "11.1.0",
+      "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz",
+      "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=16"
+      }
+    },
+    "node_modules/@dotenvx/dotenvx/node_modules/define-lazy-prop": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz",
+      "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=8"
+      }
+    },
+    "node_modules/@dotenvx/dotenvx/node_modules/execa": {
+      "version": "5.1.1",
+      "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
+      "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
+      "license": "MIT",
+      "dependencies": {
+        "cross-spawn": "^7.0.3",
+        "get-stream": "^6.0.0",
+        "human-signals": "^2.1.0",
+        "is-stream": "^2.0.0",
+        "merge-stream": "^2.0.0",
+        "npm-run-path": "^4.0.1",
+        "onetime": "^5.1.2",
+        "signal-exit": "^3.0.3",
+        "strip-final-newline": "^2.0.0"
+      },
+      "engines": {
+        "node": ">=10"
+      },
+      "funding": {
+        "url": "https://github.com/sindresorhus/execa?sponsor=1"
+      }
+    },
+    "node_modules/@dotenvx/dotenvx/node_modules/get-stream": {
+      "version": "6.0.1",
+      "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
+      "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=10"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/@dotenvx/dotenvx/node_modules/human-signals": {
+      "version": "2.1.0",
+      "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
+      "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
+      "license": "Apache-2.0",
+      "engines": {
+        "node": ">=10.17.0"
+      }
+    },
+    "node_modules/@dotenvx/dotenvx/node_modules/is-docker": {
+      "version": "2.2.1",
+      "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
+      "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
+      "license": "MIT",
+      "bin": {
+        "is-docker": "cli.js"
+      },
+      "engines": {
+        "node": ">=8"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/@dotenvx/dotenvx/node_modules/is-stream": {
+      "version": "2.0.1",
+      "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
+      "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=8"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/@dotenvx/dotenvx/node_modules/is-wsl": {
+      "version": "2.2.0",
+      "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
+      "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
+      "license": "MIT",
+      "dependencies": {
+        "is-docker": "^2.0.0"
+      },
+      "engines": {
+        "node": ">=8"
+      }
+    },
+    "node_modules/@dotenvx/dotenvx/node_modules/npm-run-path": {
+      "version": "4.0.1",
+      "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
+      "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+      "license": "MIT",
+      "dependencies": {
+        "path-key": "^3.0.0"
+      },
+      "engines": {
+        "node": ">=8"
+      }
+    },
+    "node_modules/@dotenvx/dotenvx/node_modules/open": {
+      "version": "8.4.2",
+      "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz",
+      "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==",
+      "license": "MIT",
+      "dependencies": {
+        "define-lazy-prop": "^2.0.0",
+        "is-docker": "^2.1.1",
+        "is-wsl": "^2.2.0"
+      },
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/@dotenvx/dotenvx/node_modules/signal-exit": {
+      "version": "3.0.7",
+      "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+      "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
+      "license": "ISC"
+    },
+    "node_modules/@dotenvx/dotenvx/node_modules/strip-final-newline": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
+      "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6"
+      }
+    },
+    "node_modules/@dotenvx/primitives": {
+      "version": "0.8.0",
+      "resolved": "https://registry.npmjs.org/@dotenvx/primitives/-/primitives-0.8.0.tgz",
+      "integrity": "sha512-VYJy0uhFm9zTJ1TxBaW/pA8bjbOM/OttaNMwZ1RHG4JKyRG7DhSdiqD1ipQoAyoD22olUtxbP78W9xY3Wd11bg==",
+      "license": "BSD-3-Clause"
+    },
+    "node_modules/@emnapi/core": {
+      "version": "1.11.3",
+      "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.3.tgz",
+      "integrity": "sha512-zLpS5asjEb7lq8jYLq37N6XKaE41DIexlY1rF/z4/tIl3wo13Sqm28fRyfIsKZD+NZ8mM5RoKkpW/rBcuoSZSg==",
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "dependencies": {
+        "@emnapi/wasi-threads": "1.2.3",
+        "tslib": "^2.4.0"
+      }
+    },
+    "node_modules/@emnapi/runtime": {
+      "version": "1.11.3",
+      "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz",
+      "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==",
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "dependencies": {
+        "tslib": "^2.4.0"
+      }
+    },
+    "node_modules/@emnapi/wasi-threads": {
+      "version": "1.2.3",
+      "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.3.tgz",
+      "integrity": "sha512-ELEBe8PsLvvJ6QMr0zLt8ffvOHW/dc1m3CEzNMg7aJUv3bMaoDtw2TXyDAwkYBuroxxuHEwhRTLJSe5sya547g==",
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "dependencies": {
+        "tslib": "^2.4.0"
+      }
+    },
+    "node_modules/@hono/node-server": {
+      "version": "2.1.5",
+      "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.5.tgz",
+      "integrity": "sha512-MgP/I06GdvsilDspMk/qmRzpk8LOUStP6jFAbSRi40W09DhoyUn+Mj7eyKICPqeYKybOjVFLVIAQzvu1bfIa7Q==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=20"
+      },
+      "peerDependencies": {
+        "hono": "^4 || ^5.0.0-0"
+      }
+    },
+    "node_modules/@jridgewell/gen-mapping": {
+      "version": "0.3.13",
+      "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
+      "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+      "license": "MIT",
+      "dependencies": {
+        "@jridgewell/sourcemap-codec": "^1.5.0",
+        "@jridgewell/trace-mapping": "^0.3.24"
+      }
+    },
+    "node_modules/@jridgewell/remapping": {
+      "version": "2.3.5",
+      "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz",
+      "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",
+      "license": "MIT",
+      "dependencies": {
+        "@jridgewell/gen-mapping": "^0.3.5",
+        "@jridgewell/trace-mapping": "^0.3.24"
+      }
+    },
+    "node_modules/@jridgewell/resolve-uri": {
+      "version": "3.1.2",
+      "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+      "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6.0.0"
+      }
+    },
+    "node_modules/@jridgewell/sourcemap-codec": {
+      "version": "1.6.0",
+      "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz",
+      "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==",
+      "license": "MIT"
+    },
+    "node_modules/@jridgewell/trace-mapping": {
+      "version": "0.3.31",
+      "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
+      "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
+      "license": "MIT",
+      "dependencies": {
+        "@jridgewell/resolve-uri": "^3.1.0",
+        "@jridgewell/sourcemap-codec": "^1.4.14"
+      }
+    },
+    "node_modules/@modelcontextprotocol/sdk": {
+      "version": "1.32.1",
+      "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.32.1.tgz",
+      "integrity": "sha512-2DdE+SJDtzLEEWzY1ZjY7Q+VcPhcV1KisD3zI4u0XZyktsjHum1mwbMI+JaulUBi2OZk+KJAi2uPXzxichPkdw==",
+      "license": "MIT",
+      "dependencies": {
+        "@hono/node-server": "^1.19.9 || ^2.0.5",
+        "ajv": "^8.17.1",
+        "ajv-formats": "^3.0.1",
+        "content-type": "^1.0.5",
+        "cors": "^2.8.5",
+        "cross-spawn": "^7.0.5",
+        "eventsource": "^3.0.2",
+        "eventsource-parser": "^3.0.0",
+        "express": "^5.2.1",
+        "express-rate-limit": "^8.2.1",
+        "hono": "^4.11.4",
+        "jose": "^6.1.3",
+        "json-schema-typed": "^8.0.2",
+        "pkce-challenge": "^5.0.0",
+        "raw-body": "^3.0.0",
+        "zod": "^3.25 || ^4.0",
+        "zod-to-json-schema": "^3.25.1"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "peerDependencies": {
+        "@cfworker/json-schema": "^4.1.1",
+        "zod": "^3.25 || ^4.0"
+      },
+      "peerDependenciesMeta": {
+        "@cfworker/json-schema": {
+          "optional": true
+        },
+        "zod": {
+          "optional": false
+        }
+      }
+    },
+    "node_modules/@napi-rs/wasm-runtime": {
+      "version": "1.1.6",
+      "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.6.tgz",
+      "integrity": "sha512-ZLv/JdUfkvOy9eCnnBaGfiO+XimbjebAeO+MRQqD/B+FR1tnRN0tpKSJHRbE8sFfS6aqsXZ67TQjfwfsxULVbg==",
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "dependencies": {
+        "@tybys/wasm-util": "^0.10.3"
+      },
+      "funding": {
+        "type": "github",
+        "url": "https://github.com/sponsors/Brooooooklyn"
+      },
+      "peerDependencies": {
+        "@emnapi/core": "^1.7.1",
+        "@emnapi/runtime": "^1.7.1"
+      }
+    },
+    "node_modules/@nodelib/fs.scandir": {
+      "version": "2.1.5",
+      "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
+      "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
+      "license": "MIT",
+      "dependencies": {
+        "@nodelib/fs.stat": "2.0.5",
+        "run-parallel": "^1.1.9"
+      },
+      "engines": {
+        "node": ">= 8"
+      }
+    },
+    "node_modules/@nodelib/fs.stat": {
+      "version": "2.0.5",
+      "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
+      "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 8"
+      }
+    },
+    "node_modules/@nodelib/fs.walk": {
+      "version": "1.2.8",
+      "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
+      "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
+      "license": "MIT",
+      "dependencies": {
+        "@nodelib/fs.scandir": "2.1.5",
+        "fastq": "^1.6.0"
+      },
+      "engines": {
+        "node": ">= 8"
+      }
+    },
+    "node_modules/@rsbuild/core": {
+      "version": "2.2.13",
+      "resolved": "https://registry.npmjs.org/@rsbuild/core/-/core-2.2.13.tgz",
+      "integrity": "sha512-UDSDrokgG70tmx+0bz9kuc64SkPQ5A1/Zhqsp8pD0L3Cko/xEnukAbrjouGihUTk55imhC4zx62DnQN/1VJ+GQ==",
+      "dev": true,
+      "license": "MIT",
+      "dependencies": {
+        "@rspack/core": "~2.2.9",
+        "@swc/helpers": "^0.5.23"
+      },
+      "bin": {
+        "rsbuild": "bin/rsbuild.js"
+      },
+      "engines": {
+        "node": "^20.19.0 || >=22.12.0"
+      },
+      "peerDependencies": {
+        "core-js": ">= 3.0.0"
+      },
+      "peerDependenciesMeta": {
+        "core-js": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/@rsbuild/plugin-react": {
+      "version": "2.1.1",
+      "resolved": "https://registry.npmjs.org/@rsbuild/plugin-react/-/plugin-react-2.1.1.tgz",
+      "integrity": "sha512-tLtUedsRtTLS6M4VtwzI6aakFLOFdgl9Sh1ZNBWvxb0Te3EnHrppaE7UiYEmDUXQDJ50gfr6yyirtxY5N6moyg==",
+      "dev": true,
+      "license": "MIT",
+      "dependencies": {
+        "@rspack/plugin-react-refresh": "^2.0.2",
+        "react-refresh": "^0.19.0"
+      },
+      "peerDependencies": {
+        "@rsbuild/core": "^2.0.0"
+      },
+      "peerDependenciesMeta": {
+        "@rsbuild/core": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/@rsbuild/plugin-tailwindcss": {
+      "version": "2.0.3",
+      "resolved": "https://registry.npmjs.org/@rsbuild/plugin-tailwindcss/-/plugin-tailwindcss-2.0.3.tgz",
+      "integrity": "sha512-sl7mN0fyoP0W+zEyFR2xEMVAS2cZPlOAqsXwI8Ei9tUSvV7V4G8Xw2WBVCOQ/B4KEFfJ6H1+TEuPlAzHLEfc4g==",
+      "dev": true,
+      "license": "MIT",
+      "dependencies": {
+        "@tailwindcss/webpack": "^4.3.1"
+      },
+      "peerDependencies": {
+        "@rsbuild/core": "^2.0.0"
+      },
+      "peerDependenciesMeta": {
+        "@rsbuild/core": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/@rspack/binding": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/binding/-/binding-2.2.9.tgz",
+      "integrity": "sha512-Y8wDJoRo8n0KXDGq6J3KGVekkUQcOcUHSppMHoJv8JLbNBEsyaaKiDx4ljNTGEDtTON0CRbMEWbSiLRe+bJxOQ==",
+      "dev": true,
+      "license": "MIT",
+      "optionalDependencies": {
+        "@rspack/binding-darwin-arm64": "2.2.9",
+        "@rspack/binding-darwin-x64": "2.2.9",
+        "@rspack/binding-linux-arm64-gnu": "2.2.9",
+        "@rspack/binding-linux-arm64-musl": "2.2.9",
+        "@rspack/binding-linux-ppc64-gnu": "2.2.9",
+        "@rspack/binding-linux-riscv64-gnu": "2.2.9",
+        "@rspack/binding-linux-riscv64-musl": "2.2.9",
+        "@rspack/binding-linux-s390x-gnu": "2.2.9",
+        "@rspack/binding-linux-x64-gnu": "2.2.9",
+        "@rspack/binding-linux-x64-musl": "2.2.9",
+        "@rspack/binding-wasm32-wasi": "2.2.9",
+        "@rspack/binding-win32-arm64-msvc": "2.2.9",
+        "@rspack/binding-win32-ia32-msvc": "2.2.9",
+        "@rspack/binding-win32-x64-msvc": "2.2.9"
+      }
+    },
+    "node_modules/@rspack/binding-darwin-arm64": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/binding-darwin-arm64/-/binding-darwin-arm64-2.2.9.tgz",
+      "integrity": "sha512-aIHkk/wngpwgWkwVQFz2AIkmG9WpWtWlkqy4BlYhs5a7l9z0BrB0kXnUb6VSbqZ7Tc3cRepKw7ipkGjKa8KKXw==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "darwin"
+      ]
+    },
+    "node_modules/@rspack/binding-darwin-x64": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/binding-darwin-x64/-/binding-darwin-x64-2.2.9.tgz",
+      "integrity": "sha512-QtUS7lyOE5oxdMm7RH/Fw176jqwdHiTW2qEsmbdCYzPw3t7QkmI5ohoyiuxOp3czJfaayXP6bVyvm2FqqnWPAw==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "darwin"
+      ]
+    },
+    "node_modules/@rspack/binding-linux-arm64-gnu": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-2.2.9.tgz",
+      "integrity": "sha512-GMKxtBJAMoqBPqXZVi0QanDkneWwgiKRpTgHW/pbKPY/2XMfZJ98thm4YlATO18XZJ2KET+GfsNfaf1o5Y+aaA==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ]
+    },
+    "node_modules/@rspack/binding-linux-arm64-musl": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/binding-linux-arm64-musl/-/binding-linux-arm64-musl-2.2.9.tgz",
+      "integrity": "sha512-aW3fcM64R5mY2+ym6Q8okAo/pcVIjAliqxFOc9lf9hCyS7hHaabWo30smeMX3neEjsqw+iyNbzWMuH0G5AugTw==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ]
+    },
+    "node_modules/@rspack/binding-linux-ppc64-gnu": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-2.2.9.tgz",
+      "integrity": "sha512-dVEiyZdANq+g/qugI64vKnxO+PCVicidu/GQ6sO0QEWGVzdSUbxHztHviSnMwdvRs6OLrN7Lwhaw536hJ/cU8w==",
+      "cpu": [
+        "ppc64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ]
+    },
+    "node_modules/@rspack/binding-linux-riscv64-gnu": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-2.2.9.tgz",
+      "integrity": "sha512-uBHWmfMm502145le0EUOsBoV6bJ9XA5s3NQLL4smSMoSEuMbNrRhqDJ2+B1u8aXVfjfhxCPyNlMDmgbsdVaO0Q==",
+      "cpu": [
+        "riscv64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ]
+    },
+    "node_modules/@rspack/binding-linux-riscv64-musl": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-2.2.9.tgz",
+      "integrity": "sha512-MR7e6PP7KcG3jHYWznk17npBBvjUXQg7qQbS+yrAu0R3p/27wLp+aP5m/zk4ev1Iq93ccIBIAGVRGA3v1fSKew==",
+      "cpu": [
+        "riscv64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ]
+    },
+    "node_modules/@rspack/binding-linux-s390x-gnu": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-2.2.9.tgz",
+      "integrity": "sha512-Tc9Nuv7XvkrAG79Ps/6F7vT4bxZqiaiQ3Rd3BidKUjVYiwTPJogk1W3gPXp7Lw+AMoN/dY63W22bMJ7Oh0FeZw==",
+      "cpu": [
+        "s390x"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ]
+    },
+    "node_modules/@rspack/binding-linux-x64-gnu": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/binding-linux-x64-gnu/-/binding-linux-x64-gnu-2.2.9.tgz",
+      "integrity": "sha512-xQYhQwC8q3mSCzHV+yi76Gt2Lt9BhnmeJnQgXGjuhyvjZWBB9jFNp9Uj6umun7tlMliMRhoqTesqvK4Vo/kkcQ==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ]
+    },
+    "node_modules/@rspack/binding-linux-x64-musl": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/binding-linux-x64-musl/-/binding-linux-x64-musl-2.2.9.tgz",
+      "integrity": "sha512-FfEYdFhOd1nZL+U/up8nlbcRTTyWX4ohXUQcApQMYKIZoR1EJ0g/oBhS915+TSray0DchA+NT6yVL1sqWJOFaQ==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ]
+    },
+    "node_modules/@rspack/binding-wasm32-wasi": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/binding-wasm32-wasi/-/binding-wasm32-wasi-2.2.9.tgz",
+      "integrity": "sha512-+29JEBiUi2TMDOGYmT3Tm3JGk3f19+CbjxNEt1bVreR8axuZZj+wOSwB/sx85lKQkL5fuNPh0BhOZ7cdkDxQpA==",
+      "cpu": [
+        "wasm32"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "dependencies": {
+        "@emnapi/core": "1.11.3",
+        "@emnapi/runtime": "1.11.3",
+        "@napi-rs/wasm-runtime": "1.1.6"
+      }
+    },
+    "node_modules/@rspack/binding-win32-arm64-msvc": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-2.2.9.tgz",
+      "integrity": "sha512-x/BDAwQCkR+ANWAAWV+15PFWuae2z9DzL+QcVeb+5taOri+tHa/iQdG8e3GJ60d0amsR+u9BJ2CBtJLK1fQkxw==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "win32"
+      ]
+    },
+    "node_modules/@rspack/binding-win32-ia32-msvc": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-2.2.9.tgz",
+      "integrity": "sha512-i622t0Mom3STiDi8VHLaX62LKwhbT2kg37fKjzv3wQT+9bJvQ/+St6QQzFZg9C7fV53LXqAw8jFi5yIPIjg0Qw==",
+      "cpu": [
+        "ia32"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "win32"
+      ]
+    },
+    "node_modules/@rspack/binding-win32-x64-msvc": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/binding-win32-x64-msvc/-/binding-win32-x64-msvc-2.2.9.tgz",
+      "integrity": "sha512-K98FPCAv0VpDPAz5ZqZ0XI1CmdJu9Kw1FmUDl4rN/zQIt9iqYn+Hgxq6Nk6Zx7g938jiG7ABLwITXSIKGbs6aw==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "win32"
+      ]
+    },
+    "node_modules/@rspack/core": {
+      "version": "2.2.9",
+      "resolved": "https://registry.npmjs.org/@rspack/core/-/core-2.2.9.tgz",
+      "integrity": "sha512-Tp6/ZdM5UrGB3BeLfvh69l1iX03PZ46IgXjKqubVEuJVAhnOjpshooH/YAxcxR0AymcBLKA997Z4v+LV2aXzCw==",
+      "dev": true,
+      "license": "MIT",
+      "dependencies": {
+        "@rspack/binding": "2.2.9"
+      },
+      "engines": {
+        "node": "^20.19.0 || >=22.12.0"
+      },
+      "peerDependencies": {
+        "@module-federation/runtime-tools": "^0.24.1 || ^2.0.0",
+        "@swc/helpers": "^0.5.23"
+      },
+      "peerDependenciesMeta": {
+        "@module-federation/runtime-tools": {
+          "optional": true
+        },
+        "@swc/helpers": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/@rspack/plugin-react-refresh": {
+      "version": "2.0.2",
+      "resolved": "https://registry.npmjs.org/@rspack/plugin-react-refresh/-/plugin-react-refresh-2.0.2.tgz",
+      "integrity": "sha512-dGNZiCxQxgAUI9sah7gd8u+O7OJZRCmqtEJNDOd8xW5RqcieC86F7p5qcShyw6onH5pKf57evpr2VjGbaFGkZg==",
+      "dev": true,
+      "license": "MIT",
+      "peerDependencies": {
+        "@rspack/core": "^2.0.0",
+        "react-refresh": ">=0.10.0 <1.0.0"
+      },
+      "peerDependenciesMeta": {
+        "@rspack/core": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/@sec-ant/readable-stream": {
+      "version": "0.4.1",
+      "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz",
+      "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==",
+      "license": "MIT"
+    },
+    "node_modules/@shadcn/registry": {
+      "version": "0.1.4",
+      "resolved": "https://registry.npmjs.org/@shadcn/registry/-/registry-0.1.4.tgz",
+      "integrity": "sha512-IGrkPadYYiaDFULUYzsjUNadQQ+pwYbLP7apZDXNeB/vH7JAS5CsQ6sOuvZLGz4DuAmNap5bpV6p26fmDx0VuA==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/core": "^7.28.0",
+        "@babel/parser": "^7.28.0",
+        "@babel/plugin-transform-typescript": "^7.28.0",
+        "@babel/preset-typescript": "^7.27.1",
+        "@dotenvx/dotenvx": "^1.48.4",
+        "cn": "^0.2.4",
+        "code-block-writer": "^13.0.3",
+        "deepmerge": "^4.3.1",
+        "execa": "^9.6.0",
+        "fast-glob": "^3.3.3",
+        "fs-extra": "^11.3.1",
+        "fuzzysort": "^3.1.0",
+        "kleur": "^4.1.5",
+        "ora": "^8.2.0",
+        "postcss": "^8.5.23",
+        "prompts": "^2.4.2",
+        "recast": "^0.23.11",
+        "socks": "^2.8.8",
+        "stringify-object": "^5.0.0",
+        "tsconfig-paths": "^4.2.0",
+        "type-fest": "^4.41.0",
+        "undici": "^7.29.1",
+        "zod": "^3.24.1"
+      },
+      "engines": {
+        "node": ">=20.18.1"
+      }
+    },
+    "node_modules/@shadcn/registry/node_modules/cn": {
+      "version": "0.2.6",
+      "resolved": "https://registry.npmjs.org/cn/-/cn-0.2.6.tgz",
+      "integrity": "sha512-+i4L0zUGgRcEnhsxueVrP7iBGxBx5iD0WOTYg1MwFEu2ZyCmH5Ov2V1cul2Ht5UchRQQgftCf4be/RxspuW6QQ==",
+      "license": "MIT",
+      "bin": {
+        "cn": "bin/cn.mjs"
+      },
+      "engines": {
+        "node": ">=20"
+      }
+    },
+    "node_modules/@sindresorhus/merge-streams": {
+      "version": "4.0.0",
+      "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz",
+      "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/@swc/helpers": {
+      "version": "0.5.23",
+      "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.23.tgz",
+      "integrity": "sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==",
+      "dev": true,
+      "license": "Apache-2.0",
+      "dependencies": {
+        "tslib": "^2.8.0"
+      }
+    },
+    "node_modules/@tailwindcss/node": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.3.tgz",
+      "integrity": "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==",
+      "dev": true,
+      "license": "MIT",
+      "dependencies": {
+        "@jridgewell/remapping": "^2.3.5",
+        "enhanced-resolve": "^5.24.1",
+        "jiti": "^2.7.0",
+        "lightningcss": "1.32.0",
+        "magic-string": "^0.30.21",
+        "source-map-js": "^1.2.1",
+        "tailwindcss": "4.3.3"
+      }
+    },
+    "node_modules/@tailwindcss/oxide": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.3.tgz",
+      "integrity": "sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==",
+      "dev": true,
+      "license": "MIT",
+      "engines": {
+        "node": ">= 20"
+      },
+      "optionalDependencies": {
+        "@tailwindcss/oxide-android-arm64": "4.3.3",
+        "@tailwindcss/oxide-darwin-arm64": "4.3.3",
+        "@tailwindcss/oxide-darwin-x64": "4.3.3",
+        "@tailwindcss/oxide-freebsd-x64": "4.3.3",
+        "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.3",
+        "@tailwindcss/oxide-linux-arm64-gnu": "4.3.3",
+        "@tailwindcss/oxide-linux-arm64-musl": "4.3.3",
+        "@tailwindcss/oxide-linux-x64-gnu": "4.3.3",
+        "@tailwindcss/oxide-linux-x64-musl": "4.3.3",
+        "@tailwindcss/oxide-wasm32-wasi": "4.3.3",
+        "@tailwindcss/oxide-win32-arm64-msvc": "4.3.3",
+        "@tailwindcss/oxide-win32-x64-msvc": "4.3.3"
+      }
+    },
+    "node_modules/@tailwindcss/oxide-android-arm64": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.3.tgz",
+      "integrity": "sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "android"
+      ],
+      "engines": {
+        "node": ">= 20"
+      }
+    },
+    "node_modules/@tailwindcss/oxide-darwin-arm64": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.3.tgz",
+      "integrity": "sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "darwin"
+      ],
+      "engines": {
+        "node": ">= 20"
+      }
+    },
+    "node_modules/@tailwindcss/oxide-darwin-x64": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.3.tgz",
+      "integrity": "sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "darwin"
+      ],
+      "engines": {
+        "node": ">= 20"
+      }
+    },
+    "node_modules/@tailwindcss/oxide-freebsd-x64": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.3.tgz",
+      "integrity": "sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "freebsd"
+      ],
+      "engines": {
+        "node": ">= 20"
+      }
+    },
+    "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.3.tgz",
+      "integrity": "sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==",
+      "cpu": [
+        "arm"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">= 20"
+      }
+    },
+    "node_modules/@tailwindcss/oxide-linux-arm64-gnu": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.3.tgz",
+      "integrity": "sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">= 20"
+      }
+    },
+    "node_modules/@tailwindcss/oxide-linux-arm64-musl": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.3.tgz",
+      "integrity": "sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">= 20"
+      }
+    },
+    "node_modules/@tailwindcss/oxide-linux-x64-gnu": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.3.tgz",
+      "integrity": "sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">= 20"
+      }
+    },
+    "node_modules/@tailwindcss/oxide-linux-x64-musl": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.3.tgz",
+      "integrity": "sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">= 20"
+      }
+    },
+    "node_modules/@tailwindcss/oxide-wasm32-wasi": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.3.tgz",
+      "integrity": "sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==",
+      "bundleDependencies": [
+        "@napi-rs/wasm-runtime",
+        "@emnapi/core",
+        "@emnapi/runtime",
+        "@tybys/wasm-util",
+        "@emnapi/wasi-threads",
+        "tslib"
+      ],
+      "cpu": [
+        "wasm32"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "dependencies": {
+        "@emnapi/core": "^1.11.1",
+        "@emnapi/runtime": "^1.11.1",
+        "@emnapi/wasi-threads": "^1.2.2",
+        "@napi-rs/wasm-runtime": "^1.1.4",
+        "@tybys/wasm-util": "^0.10.2",
+        "tslib": "^2.8.1"
+      },
+      "engines": {
+        "node": ">=14.0.0"
+      }
+    },
+    "node_modules/@tailwindcss/oxide-win32-arm64-msvc": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.3.tgz",
+      "integrity": "sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "win32"
+      ],
+      "engines": {
+        "node": ">= 20"
+      }
+    },
+    "node_modules/@tailwindcss/oxide-win32-x64-msvc": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.3.tgz",
+      "integrity": "sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "win32"
+      ],
+      "engines": {
+        "node": ">= 20"
+      }
+    },
+    "node_modules/@tailwindcss/webpack": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/@tailwindcss/webpack/-/webpack-4.3.3.tgz",
+      "integrity": "sha512-e7A7ubt+D+MzXAlQcOaDaHMD5oYzxULVdZVjLzGVStIXebGfD4RcVHxBSRP7xE+G8sS3o691zyfIbhm/veOLjQ==",
+      "dev": true,
+      "license": "MIT",
+      "dependencies": {
+        "@alloc/quick-lru": "^5.2.0",
+        "@tailwindcss/node": "4.3.3",
+        "@tailwindcss/oxide": "4.3.3",
+        "tailwindcss": "4.3.3"
+      },
+      "peerDependencies": {
+        "@rspack/core": "^1.0.0 || ^2.0.0",
+        "webpack": "^5.0.0"
+      },
+      "peerDependenciesMeta": {
+        "@rspack/core": {
+          "optional": true
+        },
+        "webpack": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/@tanstack/query-core": {
+      "version": "5.104.2",
+      "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.104.2.tgz",
+      "integrity": "sha512-/qbsxJK5c3Ve1aFIULWYNcT2jeRUAiD4HME6Eu2ZdpofHoVgAjpkQhLg5xHuOoBkTPQUJLfP7zOxy0qsBcqROA==",
+      "license": "MIT",
+      "funding": {
+        "type": "github",
+        "url": "https://github.com/sponsors/tannerlinsley"
+      }
+    },
+    "node_modules/@tanstack/react-query": {
+      "version": "5.104.2",
+      "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.104.2.tgz",
+      "integrity": "sha512-xKmzWGhadbE5wGS/ZmXShRITnI9oItox5GO14KvFZco3+vhTAyXS1erYzJWdiY280zapAGJXFUL9nHgwP6SV/g==",
+      "license": "MIT",
+      "dependencies": {
+        "@tanstack/query-core": "5.104.2"
+      },
+      "funding": {
+        "type": "github",
+        "url": "https://github.com/sponsors/tannerlinsley"
+      },
+      "peerDependencies": {
+        "react": "^18 || ^19"
+      }
+    },
+    "node_modules/@ts-morph/common": {
+      "version": "0.27.0",
+      "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.27.0.tgz",
+      "integrity": "sha512-Wf29UqxWDpc+i61k3oIOzcUfQt79PIT9y/MWfAGlrkjg6lBC1hwDECLXPVJAhWjiGbfBCxZd65F/LIZF3+jeJQ==",
+      "license": "MIT",
+      "dependencies": {
+        "fast-glob": "^3.3.3",
+        "minimatch": "^10.0.1",
+        "path-browserify": "^1.0.1"
+      }
+    },
+    "node_modules/@tybys/wasm-util": {
+      "version": "0.10.4",
+      "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz",
+      "integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==",
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "dependencies": {
+        "tslib": "^2.4.0"
+      }
+    },
+    "node_modules/@types/node": {
+      "version": "26.6.6",
+      "resolved": "https://registry.npmmirror.com/@types/node/-/node-26.6.6.tgz",
+      "integrity": "sha512-MzQj+8Kx3XI40OmUAE6Qoh58ZMNstNNMwn2nfd3qWsfe7nDNSqJNzes4njhz6AHwrSHOffSLwXU6yb474Q4aog==",
+      "dev": true,
+      "license": "MIT",
+      "dependencies": {
+        "undici-types": "~8.9.0"
+      }
+    },
+    "node_modules/@types/react": {
+      "version": "19.3.0",
+      "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz",
+      "integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==",
+      "devOptional": true,
+      "license": "MIT",
+      "dependencies": {
+        "csstype": "^3.2.2"
+      }
+    },
+    "node_modules/@types/react-dom": {
+      "version": "19.3.0",
+      "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.3.0.tgz",
+      "integrity": "sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==",
+      "dev": true,
+      "license": "MIT",
+      "peerDependencies": {
+        "@types/react": "^19.3.0"
+      }
+    },
+    "node_modules/@types/validate-npm-package-name": {
+      "version": "4.0.2",
+      "resolved": "https://registry.npmjs.org/@types/validate-npm-package-name/-/validate-npm-package-name-4.0.2.tgz",
+      "integrity": "sha512-lrpDziQipxCEeK5kWxvljWYhUvOiB2A9izZd9B2AFarYAkqZshb4lPbRs7zKEic6eGtH8V/2qJW+dPp9OtF6bw==",
+      "license": "MIT"
+    },
+    "node_modules/accepts": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz",
+      "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==",
+      "license": "MIT",
+      "dependencies": {
+        "mime-types": "^3.0.0",
+        "negotiator": "^1.0.0"
+      },
+      "engines": {
+        "node": ">= 0.6"
+      }
+    },
+    "node_modules/agent-base": {
+      "version": "6.0.2",
+      "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
+      "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
+      "license": "MIT",
+      "dependencies": {
+        "debug": "4"
+      },
+      "engines": {
+        "node": ">= 6.0.0"
+      }
+    },
+    "node_modules/ajv": {
+      "version": "8.20.0",
+      "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz",
+      "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==",
+      "license": "MIT",
+      "dependencies": {
+        "fast-deep-equal": "^3.1.3",
+        "fast-uri": "^3.0.1",
+        "json-schema-traverse": "^1.0.0",
+        "require-from-string": "^2.0.2"
+      },
+      "funding": {
+        "type": "github",
+        "url": "https://github.com/sponsors/epoberezkin"
+      }
+    },
+    "node_modules/ajv-formats": {
+      "version": "3.0.1",
+      "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz",
+      "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==",
+      "license": "MIT",
+      "dependencies": {
+        "ajv": "^8.0.0"
+      },
+      "peerDependencies": {
+        "ajv": "^8.0.0"
+      },
+      "peerDependenciesMeta": {
+        "ajv": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/ansi-colors": {
+      "version": "4.1.3",
+      "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz",
+      "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6"
+      }
+    },
+    "node_modules/ansi-regex": {
+      "version": "5.0.1",
+      "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+      "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=8"
+      }
+    },
+    "node_modules/ast-types": {
+      "version": "0.16.3",
+      "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.16.3.tgz",
+      "integrity": "sha512-FvWoWYfSCM6kRxCSH+MGLHIKKGRL6A6AW7Zek2O32REPQRdg131428uRTKMBYAeRd3XXAaHDS60Wpri7CdKDrA==",
+      "license": "MIT",
+      "dependencies": {
+        "tslib": "^2.0.1"
+      },
+      "engines": {
+        "node": ">=4"
+      }
+    },
+    "node_modules/asynckit": {
+      "version": "0.4.0",
+      "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
+      "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
+      "license": "MIT"
+    },
+    "node_modules/atomically": {
+      "version": "1.7.0",
+      "resolved": "https://registry.npmjs.org/atomically/-/atomically-1.7.0.tgz",
+      "integrity": "sha512-Xcz9l0z7y9yQ9rdDaxlmaI4uJHf/T8g9hOEzJcsEqX2SjCj4J20uK7+ldkDHMbpJDK76wF7xEIgxc/vSlsfw5w==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=10.12.0"
+      }
+    },
+    "node_modules/axios": {
+      "version": "1.20.0",
+      "resolved": "https://registry.npmjs.org/axios/-/axios-1.20.0.tgz",
+      "integrity": "sha512-r8aOh8j9cGKpgQAqpzrUHnSIc6a59Y3Xf/cv8sy1DrHCkZHzQGEuoq1tARk6qSyDdtQGSDgpb9kFlruzPvrgwg==",
+      "license": "MIT",
+      "dependencies": {
+        "follow-redirects": "^1.16.0",
+        "form-data": "^4.0.6",
+        "https-proxy-agent": "^5.0.1",
+        "proxy-from-env": "^2.1.0"
+      }
+    },
+    "node_modules/balanced-match": {
+      "version": "4.0.4",
+      "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
+      "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
+      "license": "MIT",
+      "engines": {
+        "node": "18 || 20 || >=22"
+      }
+    },
+    "node_modules/baseline-browser-mapping": {
+      "version": "2.11.28",
+      "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.28.tgz",
+      "integrity": "sha512-br0LOmjJqr6Rt4AEkadbcNf67Zpo7EPwKsWbjnRrJIa1QYFHQBqM4C7F2WTbV8ahTEcg1Eo+Y0aWjjORInYFyA==",
+      "license": "Apache-2.0",
+      "bin": {
+        "baseline-browser-mapping": "dist/cli.cjs"
+      },
+      "engines": {
+        "node": ">=6.0.0"
+      }
+    },
+    "node_modules/body-parser": {
+      "version": "2.3.0",
+      "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz",
+      "integrity": "sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==",
+      "license": "MIT",
+      "dependencies": {
+        "bytes": "^3.1.2",
+        "content-type": "^2.0.0",
+        "debug": "^4.4.3",
+        "http-errors": "^2.0.1",
+        "iconv-lite": "^0.7.2",
+        "on-finished": "^2.4.1",
+        "qs": "^6.15.2",
+        "raw-body": "^3.0.2",
+        "type-is": "^2.1.0"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/body-parser/node_modules/content-type": {
+      "version": "2.1.0",
+      "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz",
+      "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/brace-expansion": {
+      "version": "5.0.12",
+      "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz",
+      "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==",
+      "license": "MIT",
+      "dependencies": {
+        "balanced-match": "^4.0.2"
+      },
+      "engines": {
+        "node": "20 || >=22"
+      }
+    },
+    "node_modules/braces": {
+      "version": "3.0.3",
+      "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+      "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
+      "license": "MIT",
+      "dependencies": {
+        "fill-range": "^7.1.1"
+      },
+      "engines": {
+        "node": ">=8"
+      }
+    },
+    "node_modules/browserslist": {
+      "version": "4.29.3",
+      "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.3.tgz",
+      "integrity": "sha512-1R4kiYKXGViqEN0CnoDrXc1StD9niAwu+j2dukWzrD4bJgsD4lDmEp0CRbc6E/vYJIfTHwPmwyaKtVSudICdPA==",
+      "funding": [
+        {
+          "type": "opencollective",
+          "url": "https://opencollective.com/browserslist"
+        },
+        {
+          "type": "tidelift",
+          "url": "https://tidelift.com/funding/github/npm/browserslist"
+        },
+        {
+          "type": "github",
+          "url": "https://github.com/sponsors/ai"
+        }
+      ],
+      "license": "MIT",
+      "dependencies": {
+        "baseline-browser-mapping": "^2.11.26",
+        "caniuse-lite": "^1.0.30001813",
+        "electron-to-chromium": "^1.5.439",
+        "node-releases": "^2.0.57",
+        "update-browserslist-db": "^1.3.3"
+      },
+      "bin": {
+        "browserslist": "cli.js"
+      },
+      "engines": {
+        "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+      }
+    },
+    "node_modules/bundle-name": {
+      "version": "4.1.1",
+      "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.1.tgz",
+      "integrity": "sha512-DdH81/zPLVS11EUgWq3tEu/xn+EzljlMYooDNdzWEnFha3R3NBMpMV1UqYIpjYHV/SgpFKMIX1Oh7o06SjM/oA==",
+      "license": "MIT",
+      "dependencies": {
+        "run-applescript": "^7.0.0"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/bytes": {
+      "version": "3.1.2",
+      "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
+      "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.8"
+      }
+    },
+    "node_modules/call-bind-apply-helpers": {
+      "version": "1.0.2",
+      "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
+      "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
+      "license": "MIT",
+      "dependencies": {
+        "es-errors": "^1.3.0",
+        "function-bind": "^1.1.2"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/call-bound": {
+      "version": "1.0.4",
+      "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz",
+      "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==",
+      "license": "MIT",
+      "dependencies": {
+        "call-bind-apply-helpers": "^1.0.2",
+        "get-intrinsic": "^1.3.0"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/ljharb"
+      }
+    },
+    "node_modules/caniuse-lite": {
+      "version": "1.0.30001816",
+      "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001816.tgz",
+      "integrity": "sha512-+8Yx7BXCoqk6IF8yTicjfUR6D/ldJzdlsodlEOiOSPmhK844WIgk67/zIQaGAOxNkZyyvBlrRFnLvqKIoqbAFw==",
+      "funding": [
+        {
+          "type": "opencollective",
+          "url": "https://opencollective.com/browserslist"
+        },
+        {
+          "type": "tidelift",
+          "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+        },
+        {
+          "type": "github",
+          "url": "https://github.com/sponsors/ai"
+        }
+      ],
+      "license": "CC-BY-4.0"
+    },
+    "node_modules/chalk": {
+      "version": "5.6.2",
+      "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz",
+      "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==",
+      "license": "MIT",
+      "engines": {
+        "node": "^12.17.0 || ^14.13 || >=16.0.0"
+      },
+      "funding": {
+        "url": "https://github.com/chalk/chalk?sponsor=1"
+      }
+    },
+    "node_modules/class-variance-authority": {
+      "version": "0.7.1",
+      "resolved": "https://registry.npmjs.org/class-variance-authority/-/class-variance-authority-0.7.1.tgz",
+      "integrity": "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==",
+      "license": "Apache-2.0",
+      "dependencies": {
+        "clsx": "^2.1.1"
+      },
+      "funding": {
+        "url": "https://polar.sh/cva"
+      }
+    },
+    "node_modules/cli-cursor": {
+      "version": "5.0.0",
+      "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz",
+      "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==",
+      "license": "MIT",
+      "dependencies": {
+        "restore-cursor": "^5.0.0"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/cli-spinners": {
+      "version": "2.9.2",
+      "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz",
+      "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/clsx": {
+      "version": "2.1.1",
+      "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
+      "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6"
+      }
+    },
+    "node_modules/cn": {
+      "version": "0.4.0",
+      "resolved": "https://registry.npmjs.org/cn/-/cn-0.4.0.tgz",
+      "integrity": "sha512-qOAeUhPwPzBxx6jaeQdo646XIKliKHc2j1ZF7Ngb1o0pJZKH5gq8FkA0aVdUdPFUDXNXyUCXpCtoJISo6dhizg==",
+      "license": "MIT",
+      "bin": {
+        "cn": "bin/cn.mjs"
+      },
+      "engines": {
+        "node": ">=20"
+      }
+    },
+    "node_modules/code-block-writer": {
+      "version": "13.0.3",
+      "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-13.0.3.tgz",
+      "integrity": "sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==",
+      "license": "MIT"
+    },
+    "node_modules/combined-stream": {
+      "version": "1.0.8",
+      "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
+      "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
+      "license": "MIT",
+      "dependencies": {
+        "delayed-stream": "~1.0.0"
+      },
+      "engines": {
+        "node": ">= 0.8"
+      }
+    },
+    "node_modules/commander": {
+      "version": "14.0.3",
+      "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz",
+      "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=20"
+      }
+    },
+    "node_modules/conf": {
+      "version": "10.2.0",
+      "resolved": "https://registry.npmjs.org/conf/-/conf-10.2.0.tgz",
+      "integrity": "sha512-8fLl9F04EJqjSqH+QjITQfJF8BrOVaYr1jewVgSRAEWePfxT0sku4w2hrGQ60BC/TNLGQ2pgxNlTbWQmMPFvXg==",
+      "license": "MIT",
+      "dependencies": {
+        "ajv": "^8.6.3",
+        "ajv-formats": "^2.1.1",
+        "atomically": "^1.7.0",
+        "debounce-fn": "^4.0.0",
+        "dot-prop": "^6.0.1",
+        "env-paths": "^2.2.1",
+        "json-schema-typed": "^7.0.3",
+        "onetime": "^5.1.2",
+        "pkg-up": "^3.1.0",
+        "semver": "^7.3.5"
+      },
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/conf/node_modules/ajv-formats": {
+      "version": "2.1.1",
+      "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz",
+      "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==",
+      "license": "MIT",
+      "dependencies": {
+        "ajv": "^8.0.0"
+      },
+      "peerDependencies": {
+        "ajv": "^8.0.0"
+      },
+      "peerDependenciesMeta": {
+        "ajv": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/conf/node_modules/json-schema-typed": {
+      "version": "7.0.3",
+      "resolved": "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-7.0.3.tgz",
+      "integrity": "sha512-7DE8mpG+/fVw+dTpjbxnx47TaMnDfOI1jwft9g1VybltZCduyRQPJPvc+zzKY9WPHxhPWczyFuYa6I8Mw4iU5A==",
+      "license": "BSD-2-Clause"
+    },
+    "node_modules/conf/node_modules/semver": {
+      "version": "7.8.5",
+      "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+      "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+      "license": "ISC",
+      "bin": {
+        "semver": "bin/semver.js"
+      },
+      "engines": {
+        "node": ">=10"
+      }
+    },
+    "node_modules/content-disposition": {
+      "version": "2.0.1",
+      "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-2.0.1.tgz",
+      "integrity": "sha512-e+H0ZXHSWYrENhQzw1LPuP4oF5MzVKmDU6d3hxlvaPEYLLg62MxtQNPRx4SYSuYJSBUgnQIG4HIN2tEtNv7Dog==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/content-type": {
+      "version": "1.0.5",
+      "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
+      "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.6"
+      }
+    },
+    "node_modules/convert-source-map": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
+      "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
+      "license": "MIT"
+    },
+    "node_modules/cookie": {
+      "version": "1.1.1",
+      "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.1.1.tgz",
+      "integrity": "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/cookie-signature": {
+      "version": "1.2.2",
+      "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz",
+      "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6.6.0"
+      }
+    },
+    "node_modules/cors": {
+      "version": "2.8.6",
+      "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.6.tgz",
+      "integrity": "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==",
+      "license": "MIT",
+      "dependencies": {
+        "object-assign": "^4",
+        "vary": "^1"
+      },
+      "engines": {
+        "node": ">= 0.10"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/cross-spawn": {
+      "version": "7.0.6",
+      "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
+      "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
+      "license": "MIT",
+      "dependencies": {
+        "path-key": "^3.1.0",
+        "shebang-command": "^2.0.0",
+        "which": "^2.0.1"
+      },
+      "engines": {
+        "node": ">= 8"
+      }
+    },
+    "node_modules/cross-spawn/node_modules/isexe": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+      "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
+      "license": "ISC"
+    },
+    "node_modules/cross-spawn/node_modules/which": {
+      "version": "2.0.2",
+      "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+      "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+      "license": "ISC",
+      "dependencies": {
+        "isexe": "^2.0.0"
+      },
+      "bin": {
+        "node-which": "bin/node-which"
+      },
+      "engines": {
+        "node": ">= 8"
+      }
+    },
+    "node_modules/cssesc": {
+      "version": "3.0.0",
+      "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
+      "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
+      "license": "MIT",
+      "bin": {
+        "cssesc": "bin/cssesc"
+      },
+      "engines": {
+        "node": ">=4"
+      }
+    },
+    "node_modules/csstype": {
+      "version": "3.2.3",
+      "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
+      "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
+      "devOptional": true,
+      "license": "MIT"
+    },
+    "node_modules/debounce-fn": {
+      "version": "4.0.0",
+      "resolved": "https://registry.npmjs.org/debounce-fn/-/debounce-fn-4.0.0.tgz",
+      "integrity": "sha512-8pYCQiL9Xdcg0UPSD3d+0KMlOjp+KGU5EPwYddgzQ7DATsg4fuUDjQtsYLmWjnk2obnNHgV3vE2Y4jejSOJVBQ==",
+      "license": "MIT",
+      "dependencies": {
+        "mimic-fn": "^3.0.0"
+      },
+      "engines": {
+        "node": ">=10"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/debug": {
+      "version": "4.4.3",
+      "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+      "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+      "license": "MIT",
+      "dependencies": {
+        "ms": "^2.1.3"
+      },
+      "engines": {
+        "node": ">=6.0"
+      },
+      "peerDependenciesMeta": {
+        "supports-color": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/dedent": {
+      "version": "1.7.2",
+      "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.2.tgz",
+      "integrity": "sha512-WzMx3mW98SN+zn3hgemf4OzdmyNhhhKz5Ay0pUfQiMQ3e1g+xmTJWp/pKdwKVXhdSkAEGIIzqeuWrL3mV/AXbA==",
+      "license": "MIT",
+      "peerDependencies": {
+        "babel-plugin-macros": "^3.1.0"
+      },
+      "peerDependenciesMeta": {
+        "babel-plugin-macros": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/deepmerge": {
+      "version": "4.3.1",
+      "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
+      "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=0.10.0"
+      }
+    },
+    "node_modules/default-browser": {
+      "version": "5.5.1",
+      "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.5.1.tgz",
+      "integrity": "sha512-m1pAzaJgZ/gssEqlOhJkPJp8Xly7QyW6xcrkUa2KKcDeDSEMP7X8xipU3snUcfisTQx0w1AGae+9UtJSfVnXGw==",
+      "license": "MIT",
+      "dependencies": {
+        "bundle-name": "^4.1.0",
+        "default-browser-id": "^5.0.0"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/default-browser-id": {
+      "version": "5.0.1",
+      "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.1.tgz",
+      "integrity": "sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/define-lazy-prop": {
+      "version": "3.0.0",
+      "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz",
+      "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/delayed-stream": {
+      "version": "1.0.0",
+      "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
+      "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=0.4.0"
+      }
+    },
+    "node_modules/depd": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
+      "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.8"
+      }
+    },
+    "node_modules/detect-libc": {
+      "version": "2.1.2",
+      "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
+      "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
+      "dev": true,
+      "license": "Apache-2.0",
+      "engines": {
+        "node": ">=8"
+      }
+    },
+    "node_modules/diff": {
+      "version": "8.0.4",
+      "resolved": "https://registry.npmjs.org/diff/-/diff-8.0.4.tgz",
+      "integrity": "sha512-DPi0FmjiSU5EvQV0++GFDOJ9ASQUVFh5kD+OzOnYdi7n3Wpm9hWWGfB/O2blfHcMVTL5WkQXSnRiK9makhrcnw==",
+      "license": "BSD-3-Clause",
+      "engines": {
+        "node": ">=0.3.1"
+      }
+    },
+    "node_modules/dot-prop": {
+      "version": "6.0.1",
+      "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-6.0.1.tgz",
+      "integrity": "sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==",
+      "license": "MIT",
+      "dependencies": {
+        "is-obj": "^2.0.0"
+      },
+      "engines": {
+        "node": ">=10"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/dotenv": {
+      "version": "17.4.2",
+      "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.4.2.tgz",
+      "integrity": "sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==",
+      "license": "BSD-2-Clause",
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://dotenvx.com"
+      }
+    },
+    "node_modules/dunder-proto": {
+      "version": "1.0.1",
+      "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
+      "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
+      "license": "MIT",
+      "dependencies": {
+        "call-bind-apply-helpers": "^1.0.1",
+        "es-errors": "^1.3.0",
+        "gopd": "^1.2.0"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/echarts": {
+      "version": "6.1.0",
+      "resolved": "https://registry.npmjs.org/echarts/-/echarts-6.1.0.tgz",
+      "integrity": "sha512-q0yaFPggC9FUdsWH4blavRWFmxdrIodbkoKNAjJudAI6CA9gNPxHtV2RcZNEepZVlk4yvBYkOkbk6HIVpIyHZA==",
+      "license": "Apache-2.0",
+      "dependencies": {
+        "tslib": "2.3.0",
+        "zrender": "6.1.0"
+      }
+    },
+    "node_modules/echarts/node_modules/tslib": {
+      "version": "2.3.0",
+      "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz",
+      "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==",
+      "license": "0BSD"
+    },
+    "node_modules/ee-first": {
+      "version": "1.1.1",
+      "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
+      "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",
+      "license": "MIT"
+    },
+    "node_modules/electron-to-chromium": {
+      "version": "1.5.456",
+      "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.456.tgz",
+      "integrity": "sha512-8hboqI6xesozteFb8aa7OGknvxUtTeRJLz0FoePysUEh/oWbddykIGdgpEJRbPRg/nIMfBf2DFos+H2MtvJl2A==",
+      "license": "ISC"
+    },
+    "node_modules/emoji-regex": {
+      "version": "10.6.0",
+      "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz",
+      "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==",
+      "license": "MIT"
+    },
+    "node_modules/encodeurl": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
+      "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.8"
+      }
+    },
+    "node_modules/enhanced-resolve": {
+      "version": "5.26.0",
+      "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.26.0.tgz",
+      "integrity": "sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw==",
+      "dev": true,
+      "license": "MIT",
+      "dependencies": {
+        "graceful-fs": "^4.2.4",
+        "tapable": "^2.3.3"
+      },
+      "engines": {
+        "node": ">=10.13.0"
+      }
+    },
+    "node_modules/enquirer": {
+      "version": "2.4.1",
+      "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz",
+      "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==",
+      "license": "MIT",
+      "dependencies": {
+        "ansi-colors": "^4.1.1",
+        "strip-ansi": "^6.0.1"
+      },
+      "engines": {
+        "node": ">=8.6"
+      }
+    },
+    "node_modules/env-paths": {
+      "version": "2.2.1",
+      "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
+      "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6"
+      }
+    },
+    "node_modules/es-define-property": {
+      "version": "1.0.1",
+      "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
+      "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/es-errors": {
+      "version": "1.3.0",
+      "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
+      "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/es-object-atoms": {
+      "version": "1.1.2",
+      "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz",
+      "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==",
+      "license": "MIT",
+      "dependencies": {
+        "es-errors": "^1.3.0"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/es-set-tostringtag": {
+      "version": "2.1.0",
+      "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz",
+      "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",
+      "license": "MIT",
+      "dependencies": {
+        "es-errors": "^1.3.0",
+        "get-intrinsic": "^1.2.6",
+        "has-tostringtag": "^1.0.2",
+        "hasown": "^2.0.2"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/escalade": {
+      "version": "3.2.0",
+      "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
+      "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6"
+      }
+    },
+    "node_modules/escape-html": {
+      "version": "1.0.3",
+      "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
+      "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",
+      "license": "MIT"
+    },
+    "node_modules/esprima": {
+      "version": "4.0.1",
+      "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
+      "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
+      "license": "BSD-2-Clause",
+      "bin": {
+        "esparse": "bin/esparse.js",
+        "esvalidate": "bin/esvalidate.js"
+      },
+      "engines": {
+        "node": ">=4"
+      }
+    },
+    "node_modules/etag": {
+      "version": "1.8.1",
+      "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
+      "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.6"
+      }
+    },
+    "node_modules/eventsource": {
+      "version": "3.0.7",
+      "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.7.tgz",
+      "integrity": "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==",
+      "license": "MIT",
+      "dependencies": {
+        "eventsource-parser": "^3.0.1"
+      },
+      "engines": {
+        "node": ">=18.0.0"
+      }
+    },
+    "node_modules/eventsource-parser": {
+      "version": "3.1.1",
+      "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.1.1.tgz",
+      "integrity": "sha512-EKN1vKAMcZ8MlYMpaNuxN6R9yakzH6uajHcHVTqWJzvu5pWw9DyhbP35HH8MVBQ+dZjAfDxk+A8NiR9KWaXiyQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18.0.0"
+      }
+    },
+    "node_modules/execa": {
+      "version": "9.6.1",
+      "resolved": "https://registry.npmjs.org/execa/-/execa-9.6.1.tgz",
+      "integrity": "sha512-9Be3ZoN4LmYR90tUoVu2te2BsbzHfhJyfEiAVfz7N5/zv+jduIfLrV2xdQXOHbaD6KgpGdO9PRPM1Y4Q9QkPkA==",
+      "license": "MIT",
+      "dependencies": {
+        "@sindresorhus/merge-streams": "^4.0.0",
+        "cross-spawn": "^7.0.6",
+        "figures": "^6.1.0",
+        "get-stream": "^9.0.0",
+        "human-signals": "^8.0.1",
+        "is-plain-obj": "^4.1.0",
+        "is-stream": "^4.0.1",
+        "npm-run-path": "^6.0.0",
+        "pretty-ms": "^9.2.0",
+        "signal-exit": "^4.1.0",
+        "strip-final-newline": "^4.0.0",
+        "yoctocolors": "^2.1.1"
+      },
+      "engines": {
+        "node": "^18.19.0 || >=20.5.0"
+      },
+      "funding": {
+        "url": "https://github.com/sindresorhus/execa?sponsor=1"
+      }
+    },
+    "node_modules/express": {
+      "version": "5.3.0",
+      "resolved": "https://registry.npmjs.org/express/-/express-5.3.0.tgz",
+      "integrity": "sha512-qCqy1xSoaugxOD4IVHb1ZWdkvCF2W3aE2okKouWj8VwJ+ztskSiXoBnCSJqfKT+cVPJhuJqe9YLbY425+Zh00g==",
+      "license": "MIT",
+      "dependencies": {
+        "accepts": "^2.0.0",
+        "body-parser": "^2.3.0",
+        "content-disposition": "^2.0.1",
+        "content-type": "^2.0.0",
+        "cookie": "^0.7.1",
+        "cookie-signature": "^1.2.1",
+        "debug": "^4.4.0",
+        "depd": "^2.0.0",
+        "encodeurl": "^2.0.0",
+        "escape-html": "^1.0.3",
+        "etag": "^1.8.1",
+        "finalhandler": "^2.1.0",
+        "fresh": "^2.0.0",
+        "http-errors": "^2.0.0",
+        "merge-descriptors": "^2.0.0",
+        "mime-types": "^3.0.0",
+        "on-finished": "^2.4.1",
+        "once": "^1.4.0",
+        "parseurl": "^1.3.3",
+        "proxy-addr": "^2.0.8",
+        "qs": "^6.16.0",
+        "range-parser": "^1.2.1",
+        "router": "^2.2.0",
+        "send": "^1.1.0",
+        "serve-static": "^2.2.0",
+        "statuses": "^2.0.1",
+        "type-is": "^2.1.0",
+        "vary": "^1.1.2"
+      },
+      "engines": {
+        "node": ">= 18"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/express-rate-limit": {
+      "version": "8.7.1",
+      "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.7.1.tgz",
+      "integrity": "sha512-2FXbqkygil3mZiXzEtM0IjE/UBmBNot0J1GEVrJT4JbrvwOSoEtqtO+wHbiMQELWe1eNvHoYRg2dkjOid+6JkA==",
+      "license": "MIT",
+      "dependencies": {
+        "debug": "^4.4.3",
+        "ip-address": "^10.2.0"
+      },
+      "engines": {
+        "node": ">= 16"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/express-rate-limit"
+      },
+      "peerDependencies": {
+        "express": ">= 4.11"
+      }
+    },
+    "node_modules/express/node_modules/content-type": {
+      "version": "2.1.0",
+      "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz",
+      "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/express/node_modules/cookie": {
+      "version": "0.7.2",
+      "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
+      "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.6"
+      }
+    },
+    "node_modules/fast-deep-equal": {
+      "version": "3.1.3",
+      "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+      "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+      "license": "MIT"
+    },
+    "node_modules/fast-glob": {
+      "version": "3.3.3",
+      "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
+      "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
+      "license": "MIT",
+      "dependencies": {
+        "@nodelib/fs.stat": "^2.0.2",
+        "@nodelib/fs.walk": "^1.2.3",
+        "glob-parent": "^5.1.2",
+        "merge2": "^1.3.0",
+        "micromatch": "^4.0.8"
+      },
+      "engines": {
+        "node": ">=8.6.0"
+      }
+    },
+    "node_modules/fast-uri": {
+      "version": "3.1.8",
+      "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz",
+      "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==",
+      "funding": [
+        {
+          "type": "github",
+          "url": "https://github.com/sponsors/fastify"
+        },
+        {
+          "type": "opencollective",
+          "url": "https://opencollective.com/fastify"
+        }
+      ],
+      "license": "BSD-3-Clause"
+    },
+    "node_modules/fastq": {
+      "version": "1.20.3",
+      "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.3.tgz",
+      "integrity": "sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==",
+      "license": "ISC",
+      "dependencies": {
+        "reusify": "^1.0.4"
+      }
+    },
+    "node_modules/fdir": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+      "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=12.0.0"
+      },
+      "peerDependencies": {
+        "picomatch": "^3 || ^4"
+      },
+      "peerDependenciesMeta": {
+        "picomatch": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/figures": {
+      "version": "6.1.0",
+      "resolved": "https://registry.npmjs.org/figures/-/figures-6.1.0.tgz",
+      "integrity": "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==",
+      "license": "MIT",
+      "dependencies": {
+        "is-unicode-supported": "^2.0.0"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/fill-range": {
+      "version": "7.1.1",
+      "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+      "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
+      "license": "MIT",
+      "dependencies": {
+        "to-regex-range": "^5.0.1"
+      },
+      "engines": {
+        "node": ">=8"
+      }
+    },
+    "node_modules/finalhandler": {
+      "version": "2.1.1",
+      "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz",
+      "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==",
+      "license": "MIT",
+      "dependencies": {
+        "debug": "^4.4.0",
+        "encodeurl": "^2.0.0",
+        "escape-html": "^1.0.3",
+        "on-finished": "^2.4.1",
+        "parseurl": "^1.3.3",
+        "statuses": "^2.0.1"
+      },
+      "engines": {
+        "node": ">= 18.0.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/find-up": {
+      "version": "3.0.0",
+      "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+      "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+      "license": "MIT",
+      "dependencies": {
+        "locate-path": "^3.0.0"
+      },
+      "engines": {
+        "node": ">=6"
+      }
+    },
+    "node_modules/follow-redirects": {
+      "version": "1.16.1",
+      "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.1.tgz",
+      "integrity": "sha512-FNvFGzoMLWmE6Yj9spb/zjd7yiNCHiAW9/Tg9CXrQ8wuu32HtlJOwWO11OJafl5FfY3DxTdQ0vj42zU1kvv5jg==",
+      "funding": [
+        {
+          "type": "individual",
+          "url": "https://github.com/sponsors/RubenVerborgh"
+        }
+      ],
+      "license": "MIT",
+      "engines": {
+        "node": ">=4.0"
+      },
+      "peerDependenciesMeta": {
+        "debug": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/form-data": {
+      "version": "4.0.6",
+      "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz",
+      "integrity": "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==",
+      "license": "MIT",
+      "dependencies": {
+        "asynckit": "^0.4.0",
+        "combined-stream": "^1.0.8",
+        "es-set-tostringtag": "^2.1.0",
+        "hasown": "^2.0.4",
+        "mime-types": "^2.1.35"
+      },
+      "engines": {
+        "node": ">= 6"
+      }
+    },
+    "node_modules/form-data/node_modules/mime-db": {
+      "version": "1.52.0",
+      "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+      "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.6"
+      }
+    },
+    "node_modules/form-data/node_modules/mime-types": {
+      "version": "2.1.35",
+      "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+      "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+      "license": "MIT",
+      "dependencies": {
+        "mime-db": "1.52.0"
+      },
+      "engines": {
+        "node": ">= 0.6"
+      }
+    },
+    "node_modules/forwarded": {
+      "version": "0.2.0",
+      "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
+      "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.6"
+      }
+    },
+    "node_modules/fresh": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz",
+      "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.8"
+      }
+    },
+    "node_modules/fs-extra": {
+      "version": "11.4.1",
+      "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.4.1.tgz",
+      "integrity": "sha512-KYAb4c9BJQI6QqGKthV68OHe0badztdXJWKo0WtBA9IuCFPTKvE5ZdUBglP833aMjhaSPNO4A5j/EkzZtGlKjA==",
+      "license": "MIT",
+      "dependencies": {
+        "graceful-fs": "^4.2.0",
+        "jsonfile": "^6.0.1",
+        "universalify": "^2.0.0"
+      },
+      "engines": {
+        "node": ">=14.14"
+      }
+    },
+    "node_modules/function-bind": {
+      "version": "1.1.2",
+      "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+      "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+      "license": "MIT",
+      "funding": {
+        "url": "https://github.com/sponsors/ljharb"
+      }
+    },
+    "node_modules/fuzzysort": {
+      "version": "3.1.0",
+      "resolved": "https://registry.npmjs.org/fuzzysort/-/fuzzysort-3.1.0.tgz",
+      "integrity": "sha512-sR9BNCjBg6LNgwvxlBd0sBABvQitkLzoVY9MYYROQVX/FvfJ4Mai9LsGhDgd8qYdds0bY77VzYd5iuB+v5rwQQ==",
+      "license": "MIT"
+    },
+    "node_modules/gensync": {
+      "version": "1.0.0-beta.2",
+      "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+      "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/get-east-asian-width": {
+      "version": "1.7.0",
+      "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz",
+      "integrity": "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/get-intrinsic": {
+      "version": "1.3.0",
+      "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
+      "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
+      "license": "MIT",
+      "dependencies": {
+        "call-bind-apply-helpers": "^1.0.2",
+        "es-define-property": "^1.0.1",
+        "es-errors": "^1.3.0",
+        "es-object-atoms": "^1.1.1",
+        "function-bind": "^1.1.2",
+        "get-proto": "^1.0.1",
+        "gopd": "^1.2.0",
+        "has-symbols": "^1.1.0",
+        "hasown": "^2.0.2",
+        "math-intrinsics": "^1.1.0"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/ljharb"
+      }
+    },
+    "node_modules/get-own-enumerable-keys": {
+      "version": "1.0.0",
+      "resolved": "https://registry.npmjs.org/get-own-enumerable-keys/-/get-own-enumerable-keys-1.0.0.tgz",
+      "integrity": "sha512-PKsK2FSrQCyxcGHsGrLDcK0lx+0Ke+6e8KFFozA9/fIQLhQzPaRvJFdcz7+Axg3jUH/Mq+NI4xa5u/UT2tQskA==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=14.16"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/get-proto": {
+      "version": "1.0.1",
+      "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
+      "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
+      "license": "MIT",
+      "dependencies": {
+        "dunder-proto": "^1.0.1",
+        "es-object-atoms": "^1.0.0"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/get-stream": {
+      "version": "9.0.1",
+      "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz",
+      "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==",
+      "license": "MIT",
+      "dependencies": {
+        "@sec-ant/readable-stream": "^0.4.1",
+        "is-stream": "^4.0.1"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/glob-parent": {
+      "version": "5.1.2",
+      "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+      "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+      "license": "ISC",
+      "dependencies": {
+        "is-glob": "^4.0.1"
+      },
+      "engines": {
+        "node": ">= 6"
+      }
+    },
+    "node_modules/gopd": {
+      "version": "1.2.0",
+      "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
+      "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.4"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/ljharb"
+      }
+    },
+    "node_modules/graceful-fs": {
+      "version": "4.2.11",
+      "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
+      "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
+      "license": "ISC"
+    },
+    "node_modules/has-symbols": {
+      "version": "1.1.0",
+      "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
+      "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.4"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/ljharb"
+      }
+    },
+    "node_modules/has-tostringtag": {
+      "version": "1.0.2",
+      "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
+      "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
+      "license": "MIT",
+      "dependencies": {
+        "has-symbols": "^1.0.3"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/ljharb"
+      }
+    },
+    "node_modules/hasown": {
+      "version": "2.0.4",
+      "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz",
+      "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==",
+      "license": "MIT",
+      "dependencies": {
+        "function-bind": "^1.1.2"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/hono": {
+      "version": "4.13.13",
+      "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.13.tgz",
+      "integrity": "sha512-CQ46U0ZkAGmbT/4UxdzzGJpacP2IeKgY4a5/tOI9AABbpOMfK739wfDXmv1usCk+3RkKj1hQy4/fjhiwa2xlrA==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=16.9.0"
+      }
+    },
+    "node_modules/http-errors": {
+      "version": "2.0.1",
+      "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",
+      "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",
+      "license": "MIT",
+      "dependencies": {
+        "depd": "~2.0.0",
+        "inherits": "~2.0.4",
+        "setprototypeof": "~1.2.0",
+        "statuses": "~2.0.2",
+        "toidentifier": "~1.0.1"
+      },
+      "engines": {
+        "node": ">= 0.8"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/https-proxy-agent": {
+      "version": "5.0.1",
+      "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
+      "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
+      "license": "MIT",
+      "dependencies": {
+        "agent-base": "6",
+        "debug": "4"
+      },
+      "engines": {
+        "node": ">= 6"
+      }
+    },
+    "node_modules/human-signals": {
+      "version": "8.0.1",
+      "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.1.tgz",
+      "integrity": "sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==",
+      "license": "Apache-2.0",
+      "engines": {
+        "node": ">=18.18.0"
+      }
+    },
+    "node_modules/iconv-lite": {
+      "version": "0.7.3",
+      "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz",
+      "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==",
+      "license": "MIT",
+      "dependencies": {
+        "safer-buffer": ">= 2.1.2 < 3.0.0"
+      },
+      "engines": {
+        "node": ">=0.10.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/ignore": {
+      "version": "5.3.2",
+      "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
+      "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 4"
+      }
+    },
+    "node_modules/inherits": {
+      "version": "2.0.4",
+      "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+      "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+      "license": "ISC"
+    },
+    "node_modules/ip-address": {
+      "version": "10.7.4",
+      "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.4.tgz",
+      "integrity": "sha512-DWBMKyeM25D70nrIiTkgQth59/G+naKOTep6huF9j+GmeK3DMD60Zvxg5d5qQnz+38AHgou6ean2LECX+lrKDg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 12"
+      }
+    },
+    "node_modules/ipaddr.js": {
+      "version": "1.9.1",
+      "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
+      "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.10"
+      }
+    },
+    "node_modules/is-docker": {
+      "version": "3.0.0",
+      "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz",
+      "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==",
+      "license": "MIT",
+      "bin": {
+        "is-docker": "cli.js"
+      },
+      "engines": {
+        "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/is-extglob": {
+      "version": "2.1.1",
+      "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+      "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=0.10.0"
+      }
+    },
+    "node_modules/is-glob": {
+      "version": "4.0.3",
+      "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+      "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
+      "license": "MIT",
+      "dependencies": {
+        "is-extglob": "^2.1.1"
+      },
+      "engines": {
+        "node": ">=0.10.0"
+      }
+    },
+    "node_modules/is-in-ssh": {
+      "version": "1.0.0",
+      "resolved": "https://registry.npmjs.org/is-in-ssh/-/is-in-ssh-1.0.0.tgz",
+      "integrity": "sha512-jYa6Q9rH90kR1vKB6NM7qqd1mge3Fx4Dhw5TVlK1MUBqhEOuCagrEHMevNuCcbECmXZ0ThXkRm+Ymr51HwEPAw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=20"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/is-inside-container": {
+      "version": "1.0.0",
+      "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz",
+      "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==",
+      "license": "MIT",
+      "dependencies": {
+        "is-docker": "^3.0.0"
+      },
+      "bin": {
+        "is-inside-container": "cli.js"
+      },
+      "engines": {
+        "node": ">=14.16"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/is-interactive": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz",
+      "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/is-number": {
+      "version": "7.0.0",
+      "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+      "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=0.12.0"
+      }
+    },
+    "node_modules/is-obj": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz",
+      "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=8"
+      }
+    },
+    "node_modules/is-plain-obj": {
+      "version": "4.1.0",
+      "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",
+      "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/is-promise": {
+      "version": "4.0.0",
+      "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+      "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+      "license": "MIT"
+    },
+    "node_modules/is-regexp": {
+      "version": "3.1.0",
+      "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-3.1.0.tgz",
+      "integrity": "sha512-rbku49cWloU5bSMI+zaRaXdQHXnthP6DZ/vLnfdSKyL4zUzuWnomtOEiZZOd+ioQ+avFo/qau3KPTc7Fjy1uPA==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/is-stream": {
+      "version": "4.0.1",
+      "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz",
+      "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/is-unicode-supported": {
+      "version": "2.1.0",
+      "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz",
+      "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/is-wsl": {
+      "version": "3.1.1",
+      "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.1.tgz",
+      "integrity": "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw==",
+      "license": "MIT",
+      "dependencies": {
+        "is-inside-container": "^1.0.0"
+      },
+      "engines": {
+        "node": ">=16"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/isexe": {
+      "version": "3.1.5",
+      "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.5.tgz",
+      "integrity": "sha512-6B3tLtFqtQS4ekarvLVMZ+X+VlvQekbe4taUkf/rhVO3d/h0M2rfARm/pXLcPEsjjMsFgrFgSrhQIxcSVrBz8w==",
+      "license": "BlueOak-1.0.0",
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/jiti": {
+      "version": "2.7.0",
+      "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz",
+      "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==",
+      "dev": true,
+      "license": "MIT",
+      "bin": {
+        "jiti": "lib/jiti-cli.mjs"
+      }
+    },
+    "node_modules/jose": {
+      "version": "6.2.12",
+      "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.12.tgz",
+      "integrity": "sha512-9NiFmJEex0sy2Dk58j2UGBSHgUs2ypF9eZSu4L6vjOX3Dp96Sw1F3uL+H+D1sx02jZZdzUT0HgvCy59CuvXcWw==",
+      "license": "MIT",
+      "funding": {
+        "url": "https://github.com/sponsors/panva"
+      }
+    },
+    "node_modules/js-tokens": {
+      "version": "4.0.0",
+      "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+      "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+      "license": "MIT"
+    },
+    "node_modules/jsesc": {
+      "version": "3.1.0",
+      "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
+      "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
+      "license": "MIT",
+      "bin": {
+        "jsesc": "bin/jsesc"
+      },
+      "engines": {
+        "node": ">=6"
+      }
+    },
+    "node_modules/json-schema-traverse": {
+      "version": "1.0.0",
+      "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
+      "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
+      "license": "MIT"
+    },
+    "node_modules/json-schema-typed": {
+      "version": "8.0.2",
+      "resolved": "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-8.0.2.tgz",
+      "integrity": "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==",
+      "license": "BSD-2-Clause"
+    },
+    "node_modules/json5": {
+      "version": "2.2.3",
+      "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+      "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
+      "license": "MIT",
+      "bin": {
+        "json5": "lib/cli.js"
+      },
+      "engines": {
+        "node": ">=6"
+      }
+    },
+    "node_modules/jsonfile": {
+      "version": "6.2.1",
+      "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz",
+      "integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==",
+      "license": "MIT",
+      "dependencies": {
+        "universalify": "^2.0.0"
+      },
+      "optionalDependencies": {
+        "graceful-fs": "^4.1.6"
+      }
+    },
+    "node_modules/kleur": {
+      "version": "4.1.5",
+      "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz",
+      "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6"
+      }
+    },
+    "node_modules/lightningcss": {
+      "version": "1.32.0",
+      "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",
+      "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",
+      "dev": true,
+      "license": "MPL-2.0",
+      "dependencies": {
+        "detect-libc": "^2.0.3"
+      },
+      "engines": {
+        "node": ">= 12.0.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/parcel"
+      },
+      "optionalDependencies": {
+        "lightningcss-android-arm64": "1.32.0",
+        "lightningcss-darwin-arm64": "1.32.0",
+        "lightningcss-darwin-x64": "1.32.0",
+        "lightningcss-freebsd-x64": "1.32.0",
+        "lightningcss-linux-arm-gnueabihf": "1.32.0",
+        "lightningcss-linux-arm64-gnu": "1.32.0",
+        "lightningcss-linux-arm64-musl": "1.32.0",
+        "lightningcss-linux-x64-gnu": "1.32.0",
+        "lightningcss-linux-x64-musl": "1.32.0",
+        "lightningcss-win32-arm64-msvc": "1.32.0",
+        "lightningcss-win32-x64-msvc": "1.32.0"
+      }
+    },
+    "node_modules/lightningcss-android-arm64": {
+      "version": "1.32.0",
+      "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz",
+      "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MPL-2.0",
+      "optional": true,
+      "os": [
+        "android"
+      ],
+      "engines": {
+        "node": ">= 12.0.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/parcel"
+      }
+    },
+    "node_modules/lightningcss-darwin-arm64": {
+      "version": "1.32.0",
+      "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz",
+      "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MPL-2.0",
+      "optional": true,
+      "os": [
+        "darwin"
+      ],
+      "engines": {
+        "node": ">= 12.0.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/parcel"
+      }
+    },
+    "node_modules/lightningcss-darwin-x64": {
+      "version": "1.32.0",
+      "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz",
+      "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MPL-2.0",
+      "optional": true,
+      "os": [
+        "darwin"
+      ],
+      "engines": {
+        "node": ">= 12.0.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/parcel"
+      }
+    },
+    "node_modules/lightningcss-freebsd-x64": {
+      "version": "1.32.0",
+      "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz",
+      "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MPL-2.0",
+      "optional": true,
+      "os": [
+        "freebsd"
+      ],
+      "engines": {
+        "node": ">= 12.0.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/parcel"
+      }
+    },
+    "node_modules/lightningcss-linux-arm-gnueabihf": {
+      "version": "1.32.0",
+      "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz",
+      "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==",
+      "cpu": [
+        "arm"
+      ],
+      "dev": true,
+      "license": "MPL-2.0",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">= 12.0.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/parcel"
+      }
+    },
+    "node_modules/lightningcss-linux-arm64-gnu": {
+      "version": "1.32.0",
+      "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz",
+      "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MPL-2.0",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">= 12.0.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/parcel"
+      }
+    },
+    "node_modules/lightningcss-linux-arm64-musl": {
+      "version": "1.32.0",
+      "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz",
+      "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MPL-2.0",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">= 12.0.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/parcel"
+      }
+    },
+    "node_modules/lightningcss-linux-x64-gnu": {
+      "version": "1.32.0",
+      "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz",
+      "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MPL-2.0",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">= 12.0.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/parcel"
+      }
+    },
+    "node_modules/lightningcss-linux-x64-musl": {
+      "version": "1.32.0",
+      "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz",
+      "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MPL-2.0",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">= 12.0.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/parcel"
+      }
+    },
+    "node_modules/lightningcss-win32-arm64-msvc": {
+      "version": "1.32.0",
+      "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz",
+      "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MPL-2.0",
+      "optional": true,
+      "os": [
+        "win32"
+      ],
+      "engines": {
+        "node": ">= 12.0.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/parcel"
+      }
+    },
+    "node_modules/lightningcss-win32-x64-msvc": {
+      "version": "1.32.0",
+      "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz",
+      "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MPL-2.0",
+      "optional": true,
+      "os": [
+        "win32"
+      ],
+      "engines": {
+        "node": ">= 12.0.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/parcel"
+      }
+    },
+    "node_modules/locate-path": {
+      "version": "3.0.0",
+      "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+      "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+      "license": "MIT",
+      "dependencies": {
+        "p-locate": "^3.0.0",
+        "path-exists": "^3.0.0"
+      },
+      "engines": {
+        "node": ">=6"
+      }
+    },
+    "node_modules/log-symbols": {
+      "version": "6.0.0",
+      "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-6.0.0.tgz",
+      "integrity": "sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==",
+      "license": "MIT",
+      "dependencies": {
+        "chalk": "^5.3.0",
+        "is-unicode-supported": "^1.3.0"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/log-symbols/node_modules/is-unicode-supported": {
+      "version": "1.3.0",
+      "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz",
+      "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/lru-cache": {
+      "version": "5.1.1",
+      "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+      "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+      "license": "ISC",
+      "dependencies": {
+        "yallist": "^3.0.2"
+      }
+    },
+    "node_modules/lucide-react": {
+      "version": "1.57.0",
+      "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.57.0.tgz",
+      "integrity": "sha512-bXFZEucYhAzLD62Jse76AbTR6LiSLTn3Tqir2f1n8rZrWAdLodYy7jnRZSPIT89dRLk/IseMOUWG82wJtTyTTw==",
+      "license": "ISC",
+      "peerDependencies": {
+        "@types/react": "*",
+        "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+      },
+      "peerDependenciesMeta": {
+        "@types/react": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/magic-string": {
+      "version": "0.30.21",
+      "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+      "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
+      "dev": true,
+      "license": "MIT",
+      "dependencies": {
+        "@jridgewell/sourcemap-codec": "^1.5.5"
+      }
+    },
+    "node_modules/math-intrinsics": {
+      "version": "1.1.0",
+      "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
+      "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/media-typer": {
+      "version": "1.1.1",
+      "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.1.tgz",
+      "integrity": "sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.8"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/merge-descriptors": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz",
+      "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/merge-stream": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
+      "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
+      "license": "MIT"
+    },
+    "node_modules/merge2": {
+      "version": "1.4.1",
+      "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
+      "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 8"
+      }
+    },
+    "node_modules/micromatch": {
+      "version": "4.0.8",
+      "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
+      "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
+      "license": "MIT",
+      "dependencies": {
+        "braces": "^3.0.3",
+        "picomatch": "^2.3.1"
+      },
+      "engines": {
+        "node": ">=8.6"
+      }
+    },
+    "node_modules/micromatch/node_modules/picomatch": {
+      "version": "2.3.2",
+      "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
+      "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=8.6"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/jonschlinkert"
+      }
+    },
+    "node_modules/mime-db": {
+      "version": "1.54.0",
+      "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
+      "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.6"
+      }
+    },
+    "node_modules/mime-types": {
+      "version": "3.0.2",
+      "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz",
+      "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==",
+      "license": "MIT",
+      "dependencies": {
+        "mime-db": "^1.54.0"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/mimic-fn": {
+      "version": "3.1.0",
+      "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-3.1.0.tgz",
+      "integrity": "sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=8"
+      }
+    },
+    "node_modules/mimic-function": {
+      "version": "5.0.1",
+      "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz",
+      "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/minimatch": {
+      "version": "10.2.6",
+      "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz",
+      "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==",
+      "license": "BlueOak-1.0.0",
+      "dependencies": {
+        "brace-expansion": "^5.0.8"
+      },
+      "engines": {
+        "node": "18 || 20 || >=22"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/isaacs"
+      }
+    },
+    "node_modules/minimist": {
+      "version": "1.2.8",
+      "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
+      "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
+      "license": "MIT",
+      "funding": {
+        "url": "https://github.com/sponsors/ljharb"
+      }
+    },
+    "node_modules/ms": {
+      "version": "2.1.3",
+      "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+      "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+      "license": "MIT"
+    },
+    "node_modules/nanoid": {
+      "version": "3.3.20",
+      "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz",
+      "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==",
+      "funding": [
+        {
+          "type": "github",
+          "url": "https://github.com/sponsors/ai"
+        }
+      ],
+      "license": "MIT",
+      "bin": {
+        "nanoid": "bin/nanoid.cjs"
+      },
+      "engines": {
+        "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+      }
+    },
+    "node_modules/negotiator": {
+      "version": "1.1.0",
+      "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.1.0.tgz",
+      "integrity": "sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==",
+      "license": "MIT",
+      "dependencies": {
+        "content-type": "^2.1.0"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/negotiator/node_modules/content-type": {
+      "version": "2.1.0",
+      "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz",
+      "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/node-releases": {
+      "version": "2.0.58",
+      "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.58.tgz",
+      "integrity": "sha512-BdiKAgbfRlvfMq/XzO/AF9NPmaA8a+YpLAyAFTVFBj3gARrAIfWvNq7Q7NE4se3KgFu0KkrvQMxTS0XVnsGzHg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/npm-run-path": {
+      "version": "6.0.0",
+      "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-6.0.0.tgz",
+      "integrity": "sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==",
+      "license": "MIT",
+      "dependencies": {
+        "path-key": "^4.0.0",
+        "unicorn-magic": "^0.3.0"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/npm-run-path/node_modules/path-key": {
+      "version": "4.0.0",
+      "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz",
+      "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/object-assign": {
+      "version": "4.1.1",
+      "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+      "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=0.10.0"
+      }
+    },
+    "node_modules/object-inspect": {
+      "version": "1.13.4",
+      "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",
+      "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.4"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/ljharb"
+      }
+    },
+    "node_modules/object-treeify": {
+      "version": "1.1.33",
+      "resolved": "https://registry.npmjs.org/object-treeify/-/object-treeify-1.1.33.tgz",
+      "integrity": "sha512-EFVjAYfzWqWsBMRHPMAXLCDIJnpMhdWAqR7xG6M6a2cs6PMFpl/+Z20w9zDW4vkxOFfddegBKq9Rehd0bxWE7A==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 10"
+      }
+    },
+    "node_modules/on-finished": {
+      "version": "2.4.1",
+      "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
+      "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
+      "license": "MIT",
+      "dependencies": {
+        "ee-first": "1.1.1"
+      },
+      "engines": {
+        "node": ">= 0.8"
+      }
+    },
+    "node_modules/once": {
+      "version": "1.4.0",
+      "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+      "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
+      "license": "ISC",
+      "dependencies": {
+        "wrappy": "1"
+      }
+    },
+    "node_modules/onetime": {
+      "version": "5.1.2",
+      "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+      "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+      "license": "MIT",
+      "dependencies": {
+        "mimic-fn": "^2.1.0"
+      },
+      "engines": {
+        "node": ">=6"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/onetime/node_modules/mimic-fn": {
+      "version": "2.1.0",
+      "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+      "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6"
+      }
+    },
+    "node_modules/open": {
+      "version": "11.0.4",
+      "resolved": "https://registry.npmjs.org/open/-/open-11.0.4.tgz",
+      "integrity": "sha512-++Zlftm0kVLPmzC06t6epuWmcRMDbI4z5P3NNX979WA/k23+NtSOynEGzsVfZwguKw2mi5umVgnBlJQMwRz4Pg==",
+      "license": "MIT",
+      "dependencies": {
+        "default-browser": "^5.5.1",
+        "define-lazy-prop": "^3.0.0",
+        "is-in-ssh": "^1.0.0",
+        "is-inside-container": "^1.0.0",
+        "powershell-utils": "^0.2.1",
+        "wsl-utils": "^1.0.0"
+      },
+      "engines": {
+        "node": ">=20"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/ora": {
+      "version": "8.2.0",
+      "resolved": "https://registry.npmjs.org/ora/-/ora-8.2.0.tgz",
+      "integrity": "sha512-weP+BZ8MVNnlCm8c0Qdc1WSWq4Qn7I+9CJGm7Qali6g44e/PUzbjNqJX5NJ9ljlNMosfJvg1fKEGILklK9cwnw==",
+      "license": "MIT",
+      "dependencies": {
+        "chalk": "^5.3.0",
+        "cli-cursor": "^5.0.0",
+        "cli-spinners": "^2.9.2",
+        "is-interactive": "^2.0.0",
+        "is-unicode-supported": "^2.0.0",
+        "log-symbols": "^6.0.0",
+        "stdin-discarder": "^0.2.2",
+        "string-width": "^7.2.0",
+        "strip-ansi": "^7.1.0"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/ora/node_modules/ansi-regex": {
+      "version": "6.4.0",
+      "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz",
+      "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+      }
+    },
+    "node_modules/ora/node_modules/strip-ansi": {
+      "version": "7.2.0",
+      "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz",
+      "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==",
+      "license": "MIT",
+      "dependencies": {
+        "ansi-regex": "^6.2.2"
+      },
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+      }
+    },
+    "node_modules/p-limit": {
+      "version": "2.3.0",
+      "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+      "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+      "license": "MIT",
+      "dependencies": {
+        "p-try": "^2.0.0"
+      },
+      "engines": {
+        "node": ">=6"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/p-locate": {
+      "version": "3.0.0",
+      "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+      "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+      "license": "MIT",
+      "dependencies": {
+        "p-limit": "^2.0.0"
+      },
+      "engines": {
+        "node": ">=6"
+      }
+    },
+    "node_modules/p-try": {
+      "version": "2.2.0",
+      "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+      "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6"
+      }
+    },
+    "node_modules/parse-ms": {
+      "version": "4.0.0",
+      "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz",
+      "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/parseurl": {
+      "version": "1.3.3",
+      "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
+      "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.8"
+      }
+    },
+    "node_modules/path-browserify": {
+      "version": "1.0.1",
+      "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz",
+      "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==",
+      "license": "MIT"
+    },
+    "node_modules/path-exists": {
+      "version": "3.0.0",
+      "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+      "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=4"
+      }
+    },
+    "node_modules/path-key": {
+      "version": "3.1.1",
+      "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+      "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=8"
+      }
+    },
+    "node_modules/path-to-regexp": {
+      "version": "8.4.2",
+      "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz",
+      "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==",
+      "license": "MIT",
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/picocolors": {
+      "version": "1.1.1",
+      "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+      "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+      "license": "ISC"
+    },
+    "node_modules/picomatch": {
+      "version": "4.0.7",
+      "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz",
+      "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/jonschlinkert"
+      }
+    },
+    "node_modules/pkce-challenge": {
+      "version": "5.0.1",
+      "resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.1.tgz",
+      "integrity": "sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=16.20.0"
+      }
+    },
+    "node_modules/pkg-up": {
+      "version": "3.1.0",
+      "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz",
+      "integrity": "sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==",
+      "license": "MIT",
+      "dependencies": {
+        "find-up": "^3.0.0"
+      },
+      "engines": {
+        "node": ">=8"
+      }
+    },
+    "node_modules/postcss": {
+      "version": "8.5.30",
+      "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.30.tgz",
+      "integrity": "sha512-zkd+e9S1AQHhmaBKye9zlFHWjOwVgqXl1q3ECYy8561K7qxR2cREf/STLskulBFd78k6AOFeA+ff1TtEzk9bAA==",
+      "funding": [
+        {
+          "type": "opencollective",
+          "url": "https://opencollective.com/postcss/"
+        },
+        {
+          "type": "tidelift",
+          "url": "https://tidelift.com/funding/github/npm/postcss"
+        },
+        {
+          "type": "github",
+          "url": "https://github.com/sponsors/ai"
+        }
+      ],
+      "license": "MIT",
+      "dependencies": {
+        "nanoid": "^3.3.20",
+        "picocolors": "^1.1.1",
+        "source-map-js": "^1.2.2"
+      },
+      "engines": {
+        "node": "^10 || ^12 || >=14"
+      }
+    },
+    "node_modules/postcss-selector-parser": {
+      "version": "7.1.6",
+      "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.6.tgz",
+      "integrity": "sha512-7qASPzhKF2l2KLboRZux8CCTRMdGiV08vWmyKzPz22qZ7ZjQBOeY7rNzNoCLSUiftJ7HUq0GERHmxw/t0dCdMw==",
+      "license": "MIT",
+      "dependencies": {
+        "cssesc": "^3.0.0",
+        "util-deprecate": "^1.0.2"
+      },
+      "engines": {
+        "node": ">=4"
+      }
+    },
+    "node_modules/powershell-utils": {
+      "version": "0.2.1",
+      "resolved": "https://registry.npmjs.org/powershell-utils/-/powershell-utils-0.2.1.tgz",
+      "integrity": "sha512-C+y9x90UElAddDZmV4qOx9W53B61PO7cIqWz2dQsWlwswuq4mr8NEwytdGKboYbQlGZ3awrkTeNvcZiZNHnQ8A==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=20"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/pretty-ms": {
+      "version": "9.3.1",
+      "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.3.1.tgz",
+      "integrity": "sha512-HzMy3Geq23nVALD/M2LliU+F+M+gVNsvkQWWqeBZ8HDiCgzo6YPJ/Omrmtq24EFrIsk0a3EkQGEd7bDOo+IhGA==",
+      "license": "MIT",
+      "dependencies": {
+        "parse-ms": "^4.0.0"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/prompts": {
+      "version": "2.4.2",
+      "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
+      "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==",
+      "license": "MIT",
+      "dependencies": {
+        "kleur": "^3.0.3",
+        "sisteransi": "^1.0.5"
+      },
+      "engines": {
+        "node": ">= 6"
+      }
+    },
+    "node_modules/prompts/node_modules/kleur": {
+      "version": "3.0.3",
+      "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
+      "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6"
+      }
+    },
+    "node_modules/proxy-addr": {
+      "version": "2.0.8",
+      "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.8.tgz",
+      "integrity": "sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ==",
+      "license": "MIT",
+      "dependencies": {
+        "forwarded": "0.2.0",
+        "ipaddr.js": "1.9.1"
+      },
+      "engines": {
+        "node": ">= 0.10"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/proxy-from-env": {
+      "version": "2.1.0",
+      "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz",
+      "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=10"
+      }
+    },
+    "node_modules/qs": {
+      "version": "6.16.1",
+      "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.1.tgz",
+      "integrity": "sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg==",
+      "license": "BSD-3-Clause",
+      "dependencies": {
+        "es-define-property": "^1.0.1",
+        "side-channel": "^1.1.1"
+      },
+      "engines": {
+        "node": ">=0.6"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/ljharb"
+      }
+    },
+    "node_modules/queue-microtask": {
+      "version": "1.2.3",
+      "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
+      "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
+      "funding": [
+        {
+          "type": "github",
+          "url": "https://github.com/sponsors/feross"
+        },
+        {
+          "type": "patreon",
+          "url": "https://www.patreon.com/feross"
+        },
+        {
+          "type": "consulting",
+          "url": "https://feross.org/support"
+        }
+      ],
+      "license": "MIT"
+    },
+    "node_modules/range-parser": {
+      "version": "1.3.0",
+      "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.3.0.tgz",
+      "integrity": "sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.6"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/raw-body": {
+      "version": "3.0.2",
+      "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz",
+      "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==",
+      "license": "MIT",
+      "dependencies": {
+        "bytes": "~3.1.2",
+        "http-errors": "~2.0.1",
+        "iconv-lite": "~0.7.0",
+        "unpipe": "~1.0.0"
+      },
+      "engines": {
+        "node": ">= 0.10"
+      }
+    },
+    "node_modules/react": {
+      "version": "19.3.1",
+      "resolved": "https://registry.npmjs.org/react/-/react-19.3.1.tgz",
+      "integrity": "sha512-QNhWdt7nrgVWWQG58QuGsAR3jv3Hbe4mb4vz7w2csnHavciZJgda1CPNaldF6eVxv90ud3jUXpKlHL69gO38yw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=0.10.0"
+      }
+    },
+    "node_modules/react-dom": {
+      "version": "19.3.1",
+      "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.3.1.tgz",
+      "integrity": "sha512-Y0bARz53lhEC1NMCASs0/j+faB/zqt3R8hpvg1e8+61ZVJ4UL0UdC4cBbXfZMcIuhrfgeILTLe+ZeBCavQPtKQ==",
+      "license": "MIT",
+      "dependencies": {
+        "scheduler": "^0.28.0"
+      },
+      "peerDependencies": {
+        "react": "^19.3.1"
+      }
+    },
+    "node_modules/react-refresh": {
+      "version": "0.19.0",
+      "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.19.0.tgz",
+      "integrity": "sha512-5HdstYgoJBbBofjapO5qCPcovECJCBfvjLb+iTcsmqDFVMRdqy0qs7iiInBJTUXmIFc2bjoc5b2HVLp2zRtYhQ==",
+      "dev": true,
+      "license": "MIT",
+      "engines": {
+        "node": ">=0.10.0"
+      }
+    },
+    "node_modules/react-router": {
+      "version": "7.18.4",
+      "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.18.4.tgz",
+      "integrity": "sha512-PUPQcMhMGRAslLcvtlPz/kmzBEWPhLdgLFrL7pLNepBL6dX0lWj4WD2cUYVgYCuT3jxvghYFg81cDTj44DhetQ==",
+      "license": "MIT",
+      "dependencies": {
+        "cookie": "^1.0.1",
+        "set-cookie-parser": "^2.6.0"
+      },
+      "engines": {
+        "node": ">=20.0.0"
+      },
+      "peerDependencies": {
+        "react": ">=18",
+        "react-dom": ">=18"
+      },
+      "peerDependenciesMeta": {
+        "react-dom": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/recast": {
+      "version": "0.23.21",
+      "resolved": "https://registry.npmjs.org/recast/-/recast-0.23.21.tgz",
+      "integrity": "sha512-mFAyJq9vUbSTARLZUvAEf1z3YxlvAwswbmxMx2mPA/MSm4KmpwvwvhsH/NIrZhyOuwD60Lzyw2qh83uCbgTPYw==",
+      "license": "MIT",
+      "dependencies": {
+        "ast-types": "^0.16.1",
+        "esprima": "~4.0.0",
+        "source-map": "~0.6.1",
+        "tiny-invariant": "^1.3.3",
+        "tslib": "^2.0.1"
+      },
+      "engines": {
+        "node": ">= 4"
+      }
+    },
+    "node_modules/require-from-string": {
+      "version": "2.0.2",
+      "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
+      "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=0.10.0"
+      }
+    },
+    "node_modules/restore-cursor": {
+      "version": "5.1.0",
+      "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz",
+      "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==",
+      "license": "MIT",
+      "dependencies": {
+        "onetime": "^7.0.0",
+        "signal-exit": "^4.1.0"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/restore-cursor/node_modules/onetime": {
+      "version": "7.0.0",
+      "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz",
+      "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==",
+      "license": "MIT",
+      "dependencies": {
+        "mimic-function": "^5.0.0"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/reusify": {
+      "version": "1.1.0",
+      "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
+      "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
+      "license": "MIT",
+      "engines": {
+        "iojs": ">=1.0.0",
+        "node": ">=0.10.0"
+      }
+    },
+    "node_modules/router": {
+      "version": "2.2.0",
+      "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz",
+      "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==",
+      "license": "MIT",
+      "dependencies": {
+        "debug": "^4.4.0",
+        "depd": "^2.0.0",
+        "is-promise": "^4.0.0",
+        "parseurl": "^1.3.3",
+        "path-to-regexp": "^8.0.0"
+      },
+      "engines": {
+        "node": ">= 18"
+      }
+    },
+    "node_modules/run-applescript": {
+      "version": "7.1.0",
+      "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.1.0.tgz",
+      "integrity": "sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/run-parallel": {
+      "version": "1.2.0",
+      "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
+      "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+      "funding": [
+        {
+          "type": "github",
+          "url": "https://github.com/sponsors/feross"
+        },
+        {
+          "type": "patreon",
+          "url": "https://www.patreon.com/feross"
+        },
+        {
+          "type": "consulting",
+          "url": "https://feross.org/support"
+        }
+      ],
+      "license": "MIT",
+      "dependencies": {
+        "queue-microtask": "^1.2.2"
+      }
+    },
+    "node_modules/safer-buffer": {
+      "version": "2.1.2",
+      "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
+      "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
+      "license": "MIT"
+    },
+    "node_modules/scheduler": {
+      "version": "0.28.0",
+      "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.28.0.tgz",
+      "integrity": "sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==",
+      "license": "MIT"
+    },
+    "node_modules/semver": {
+      "version": "6.3.1",
+      "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+      "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+      "license": "ISC",
+      "bin": {
+        "semver": "bin/semver.js"
+      }
+    },
+    "node_modules/send": {
+      "version": "1.2.1",
+      "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz",
+      "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==",
+      "license": "MIT",
+      "dependencies": {
+        "debug": "^4.4.3",
+        "encodeurl": "^2.0.0",
+        "escape-html": "^1.0.3",
+        "etag": "^1.8.1",
+        "fresh": "^2.0.0",
+        "http-errors": "^2.0.1",
+        "mime-types": "^3.0.2",
+        "ms": "^2.1.3",
+        "on-finished": "^2.4.1",
+        "range-parser": "^1.2.1",
+        "statuses": "^2.0.2"
+      },
+      "engines": {
+        "node": ">= 18"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/serve-static": {
+      "version": "2.2.1",
+      "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz",
+      "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==",
+      "license": "MIT",
+      "dependencies": {
+        "encodeurl": "^2.0.0",
+        "escape-html": "^1.0.3",
+        "parseurl": "^1.3.3",
+        "send": "^1.2.0"
+      },
+      "engines": {
+        "node": ">= 18"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/set-cookie-parser": {
+      "version": "2.7.2",
+      "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz",
+      "integrity": "sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw==",
+      "license": "MIT"
+    },
+    "node_modules/setprototypeof": {
+      "version": "1.2.0",
+      "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
+      "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
+      "license": "ISC"
+    },
+    "node_modules/shadcn": {
+      "version": "4.21.5",
+      "resolved": "https://registry.npmjs.org/shadcn/-/shadcn-4.21.5.tgz",
+      "integrity": "sha512-gZtE1by6dEdHdWKgyEZf/dkRaDHPRlTAH3qOxldHNXToxFECUSlJsb+S0LfbR4o79jflIKVryhe9UCXZf407Vw==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/core": "^7.28.0",
+        "@babel/parser": "^7.28.0",
+        "@babel/plugin-transform-typescript": "^7.28.0",
+        "@babel/preset-typescript": "^7.27.1",
+        "@dotenvx/dotenvx": "^1.48.4",
+        "@modelcontextprotocol/sdk": "^1.32.0",
+        "@shadcn/registry": "0.1.4",
+        "@types/validate-npm-package-name": "^4.0.2",
+        "browserslist": "^4.29.3",
+        "cn": "^0.2.4",
+        "commander": "^14.0.0",
+        "dedent": "^1.6.0",
+        "deepmerge": "^4.3.1",
+        "diff": "^8.0.2",
+        "execa": "^9.6.0",
+        "fast-glob": "^3.3.3",
+        "fs-extra": "^11.3.1",
+        "fuzzysort": "^3.1.0",
+        "kleur": "^4.1.5",
+        "open": "^11.0.4",
+        "ora": "^8.2.0",
+        "postcss": "^8.5.23",
+        "postcss-selector-parser": "^7.1.6",
+        "prompts": "^2.4.2",
+        "recast": "^0.23.11",
+        "socks": "^2.8.8",
+        "stringify-object": "^5.0.0",
+        "ts-morph": "^26.0.0",
+        "tsconfig-paths": "^4.2.0",
+        "undici": "^7.29.1",
+        "validate-npm-package-name": "^7.0.1",
+        "zod": "^3.24.1",
+        "zod-to-json-schema": "^3.24.6"
+      },
+      "bin": {
+        "shadcn": "dist/index.js"
+      },
+      "engines": {
+        "node": ">=20.18.1"
+      }
+    },
+    "node_modules/shadcn/node_modules/cn": {
+      "version": "0.2.6",
+      "resolved": "https://registry.npmjs.org/cn/-/cn-0.2.6.tgz",
+      "integrity": "sha512-+i4L0zUGgRcEnhsxueVrP7iBGxBx5iD0WOTYg1MwFEu2ZyCmH5Ov2V1cul2Ht5UchRQQgftCf4be/RxspuW6QQ==",
+      "license": "MIT",
+      "bin": {
+        "cn": "bin/cn.mjs"
+      },
+      "engines": {
+        "node": ">=20"
+      }
+    },
+    "node_modules/shebang-command": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+      "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+      "license": "MIT",
+      "dependencies": {
+        "shebang-regex": "^3.0.0"
+      },
+      "engines": {
+        "node": ">=8"
+      }
+    },
+    "node_modules/shebang-regex": {
+      "version": "3.0.0",
+      "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
+      "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=8"
+      }
+    },
+    "node_modules/side-channel": {
+      "version": "1.1.1",
+      "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz",
+      "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==",
+      "license": "MIT",
+      "dependencies": {
+        "es-errors": "^1.3.0",
+        "object-inspect": "^1.13.4",
+        "side-channel-list": "^1.0.1",
+        "side-channel-map": "^1.0.1",
+        "side-channel-weakmap": "^1.0.2"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/ljharb"
+      }
+    },
+    "node_modules/side-channel-list": {
+      "version": "1.0.1",
+      "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz",
+      "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==",
+      "license": "MIT",
+      "dependencies": {
+        "es-errors": "^1.3.0",
+        "object-inspect": "^1.13.4"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/ljharb"
+      }
+    },
+    "node_modules/side-channel-map": {
+      "version": "1.0.1",
+      "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz",
+      "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==",
+      "license": "MIT",
+      "dependencies": {
+        "call-bound": "^1.0.2",
+        "es-errors": "^1.3.0",
+        "get-intrinsic": "^1.2.5",
+        "object-inspect": "^1.13.3"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/ljharb"
+      }
+    },
+    "node_modules/side-channel-weakmap": {
+      "version": "1.0.2",
+      "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz",
+      "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==",
+      "license": "MIT",
+      "dependencies": {
+        "call-bound": "^1.0.2",
+        "es-errors": "^1.3.0",
+        "get-intrinsic": "^1.2.5",
+        "object-inspect": "^1.13.3",
+        "side-channel-map": "^1.0.1"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/ljharb"
+      }
+    },
+    "node_modules/signal-exit": {
+      "version": "4.1.0",
+      "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
+      "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
+      "license": "ISC",
+      "engines": {
+        "node": ">=14"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/isaacs"
+      }
+    },
+    "node_modules/sisteransi": {
+      "version": "1.0.5",
+      "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
+      "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==",
+      "license": "MIT"
+    },
+    "node_modules/smart-buffer": {
+      "version": "4.2.0",
+      "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",
+      "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 6.0.0",
+        "npm": ">= 3.0.0"
+      }
+    },
+    "node_modules/socks": {
+      "version": "2.8.10",
+      "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.10.tgz",
+      "integrity": "sha512-e0VyvkVTwVYViNovRkZ9aodhxVlyoMn7eJhVUPxZ+eK9P/7CBkxvvsBOHqFPEH416726W8tLXXXjKwqgTErrCQ==",
+      "license": "MIT",
+      "dependencies": {
+        "ip-address": "^10.1.1",
+        "smart-buffer": "^4.2.0"
+      },
+      "engines": {
+        "node": ">= 10.0.0",
+        "npm": ">= 3.0.0"
+      }
+    },
+    "node_modules/source-map": {
+      "version": "0.6.1",
+      "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+      "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+      "license": "BSD-3-Clause",
+      "engines": {
+        "node": ">=0.10.0"
+      }
+    },
+    "node_modules/source-map-js": {
+      "version": "1.2.2",
+      "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz",
+      "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==",
+      "license": "BSD-3-Clause",
+      "engines": {
+        "node": ">=0.10.0"
+      }
+    },
+    "node_modules/statuses": {
+      "version": "2.0.2",
+      "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
+      "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.8"
+      }
+    },
+    "node_modules/stdin-discarder": {
+      "version": "0.2.2",
+      "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.2.2.tgz",
+      "integrity": "sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/string-width": {
+      "version": "7.2.0",
+      "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz",
+      "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==",
+      "license": "MIT",
+      "dependencies": {
+        "emoji-regex": "^10.3.0",
+        "get-east-asian-width": "^1.0.0",
+        "strip-ansi": "^7.1.0"
+      },
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/string-width/node_modules/ansi-regex": {
+      "version": "6.4.0",
+      "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz",
+      "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+      }
+    },
+    "node_modules/string-width/node_modules/strip-ansi": {
+      "version": "7.2.0",
+      "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz",
+      "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==",
+      "license": "MIT",
+      "dependencies": {
+        "ansi-regex": "^6.2.2"
+      },
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+      }
+    },
+    "node_modules/stringify-object": {
+      "version": "5.0.0",
+      "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-5.0.0.tgz",
+      "integrity": "sha512-zaJYxz2FtcMb4f+g60KsRNFOpVMUyuJgA51Zi5Z1DOTC3S59+OQiVOzE9GZt0x72uBGWKsQIuBKeF9iusmKFsg==",
+      "license": "BSD-2-Clause",
+      "dependencies": {
+        "get-own-enumerable-keys": "^1.0.0",
+        "is-obj": "^3.0.0",
+        "is-regexp": "^3.1.0"
+      },
+      "engines": {
+        "node": ">=14.16"
+      },
+      "funding": {
+        "url": "https://github.com/yeoman/stringify-object?sponsor=1"
+      }
+    },
+    "node_modules/stringify-object/node_modules/is-obj": {
+      "version": "3.0.0",
+      "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-3.0.0.tgz",
+      "integrity": "sha512-IlsXEHOjtKhpN8r/tRFj2nDyTmHvcfNeu/nrRIcXE17ROeatXchkojffa1SpdqW4cr/Fj6QkEf/Gn4zf6KKvEQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/strip-ansi": {
+      "version": "6.0.1",
+      "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+      "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+      "license": "MIT",
+      "dependencies": {
+        "ansi-regex": "^5.0.1"
+      },
+      "engines": {
+        "node": ">=8"
+      }
+    },
+    "node_modules/strip-bom": {
+      "version": "3.0.0",
+      "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
+      "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=4"
+      }
+    },
+    "node_modules/strip-final-newline": {
+      "version": "4.0.0",
+      "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-4.0.0.tgz",
+      "integrity": "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/systeminformation": {
+      "version": "5.33.15",
+      "resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.33.15.tgz",
+      "integrity": "sha512-s5RloL0F7xhN0ZjfHtLGnbf7EW74EI0N8NFL+1xR7Oxz9QA33obNZsl7lyfnJOhN04E/kGFPoJPlvY7TZ5fzmw==",
+      "license": "MIT",
+      "os": [
+        "darwin",
+        "linux",
+        "win32",
+        "freebsd",
+        "openbsd",
+        "netbsd",
+        "sunos",
+        "android"
+      ],
+      "bin": {
+        "systeminformation": "lib/cli.js"
+      },
+      "engines": {
+        "node": ">=10.0.0"
+      },
+      "funding": {
+        "type": "Buy me a coffee",
+        "url": "https://www.buymeacoffee.com/systeminfo"
+      }
+    },
+    "node_modules/tailwindcss": {
+      "version": "4.3.3",
+      "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.3.tgz",
+      "integrity": "sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==",
+      "dev": true,
+      "license": "MIT"
+    },
+    "node_modules/tapable": {
+      "version": "2.3.3",
+      "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz",
+      "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==",
+      "dev": true,
+      "license": "MIT",
+      "engines": {
+        "node": ">=6"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/webpack"
+      }
+    },
+    "node_modules/tiny-invariant": {
+      "version": "1.3.3",
+      "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz",
+      "integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==",
+      "license": "MIT"
+    },
+    "node_modules/to-regex-range": {
+      "version": "5.0.1",
+      "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+      "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+      "license": "MIT",
+      "dependencies": {
+        "is-number": "^7.0.0"
+      },
+      "engines": {
+        "node": ">=8.0"
+      }
+    },
+    "node_modules/toidentifier": {
+      "version": "1.0.1",
+      "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
+      "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=0.6"
+      }
+    },
+    "node_modules/ts-morph": {
+      "version": "26.0.0",
+      "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-26.0.0.tgz",
+      "integrity": "sha512-ztMO++owQnz8c/gIENcM9XfCEzgoGphTv+nKpYNM1bgsdOVC/jRZuEBf6N+mLLDNg68Kl+GgUZfOySaRiG1/Ug==",
+      "license": "MIT",
+      "dependencies": {
+        "@ts-morph/common": "~0.27.0",
+        "code-block-writer": "^13.0.3"
+      }
+    },
+    "node_modules/tsconfig-paths": {
+      "version": "4.2.0",
+      "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz",
+      "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==",
+      "license": "MIT",
+      "dependencies": {
+        "json5": "^2.2.2",
+        "minimist": "^1.2.6",
+        "strip-bom": "^3.0.0"
+      },
+      "engines": {
+        "node": ">=6"
+      }
+    },
+    "node_modules/tslib": {
+      "version": "2.8.1",
+      "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
+      "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
+      "license": "0BSD"
+    },
+    "node_modules/tw-animate-css": {
+      "version": "1.4.0",
+      "resolved": "https://registry.npmjs.org/tw-animate-css/-/tw-animate-css-1.4.0.tgz",
+      "integrity": "sha512-7bziOlRqH0hJx80h/3mbicLW7o8qLsH5+RaLR2t+OHM3D0JlWGODQKQ4cxbK7WlvmUxpcj6Kgu6EKqjrGFe3QQ==",
+      "license": "MIT",
+      "funding": {
+        "url": "https://github.com/sponsors/Wombosvideo"
+      }
+    },
+    "node_modules/type-fest": {
+      "version": "4.41.0",
+      "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz",
+      "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==",
+      "license": "(MIT OR CC0-1.0)",
+      "engines": {
+        "node": ">=16"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/type-is": {
+      "version": "2.1.0",
+      "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz",
+      "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==",
+      "license": "MIT",
+      "dependencies": {
+        "content-type": "^2.0.0",
+        "media-typer": "^1.1.0",
+        "mime-types": "^3.0.0"
+      },
+      "engines": {
+        "node": ">= 18"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/type-is/node_modules/content-type": {
+      "version": "2.1.0",
+      "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz",
+      "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/express"
+      }
+    },
+    "node_modules/typescript": {
+      "version": "5.9.3",
+      "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
+      "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+      "dev": true,
+      "license": "Apache-2.0",
+      "bin": {
+        "tsc": "bin/tsc",
+        "tsserver": "bin/tsserver"
+      },
+      "engines": {
+        "node": ">=14.17"
+      }
+    },
+    "node_modules/undici": {
+      "version": "7.30.0",
+      "resolved": "https://registry.npmjs.org/undici/-/undici-7.30.0.tgz",
+      "integrity": "sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=20.18.1"
+      }
+    },
+    "node_modules/undici-types": {
+      "version": "8.9.0",
+      "resolved": "https://registry.npmmirror.com/undici-types/-/undici-types-8.9.0.tgz",
+      "integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==",
+      "dev": true,
+      "license": "MIT"
+    },
+    "node_modules/unicorn-magic": {
+      "version": "0.3.0",
+      "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz",
+      "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/universalify": {
+      "version": "2.0.1",
+      "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
+      "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 10.0.0"
+      }
+    },
+    "node_modules/unpipe": {
+      "version": "1.0.0",
+      "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
+      "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.8"
+      }
+    },
+    "node_modules/update-browserslist-db": {
+      "version": "1.3.4",
+      "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.4.tgz",
+      "integrity": "sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A==",
+      "funding": [
+        {
+          "type": "opencollective",
+          "url": "https://opencollective.com/browserslist"
+        },
+        {
+          "type": "tidelift",
+          "url": "https://tidelift.com/funding/github/npm/browserslist"
+        },
+        {
+          "type": "github",
+          "url": "https://github.com/sponsors/ai"
+        }
+      ],
+      "license": "MIT",
+      "dependencies": {
+        "escalade": "^3.2.0",
+        "picocolors": "^1.1.1"
+      },
+      "bin": {
+        "update-browserslist-db": "cli.js"
+      },
+      "peerDependencies": {
+        "browserslist": ">= 4.21.0"
+      }
+    },
+    "node_modules/util-deprecate": {
+      "version": "1.0.2",
+      "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+      "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
+      "license": "MIT"
+    },
+    "node_modules/validate-npm-package-name": {
+      "version": "7.0.2",
+      "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-7.0.2.tgz",
+      "integrity": "sha512-hVDIBwsRruT73PbK7uP5ebUt+ezEtCmzZz3F59BSr2F6OVFnJ/6h8liuvdLrQ88Xmnk6/+xGGuq+pG9WwTuy3A==",
+      "license": "ISC",
+      "engines": {
+        "node": "^20.17.0 || >=22.9.0"
+      }
+    },
+    "node_modules/vary": {
+      "version": "1.1.2",
+      "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
+      "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.8"
+      }
+    },
+    "node_modules/which": {
+      "version": "4.0.0",
+      "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz",
+      "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==",
+      "license": "ISC",
+      "dependencies": {
+        "isexe": "^3.1.1"
+      },
+      "bin": {
+        "node-which": "bin/which.js"
+      },
+      "engines": {
+        "node": "^16.13.0 || >=18.0.0"
+      }
+    },
+    "node_modules/wrappy": {
+      "version": "1.0.2",
+      "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+      "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
+      "license": "ISC"
+    },
+    "node_modules/wsl-utils": {
+      "version": "1.0.1",
+      "resolved": "https://registry.npmjs.org/wsl-utils/-/wsl-utils-1.0.1.tgz",
+      "integrity": "sha512-c16PKLIRxBYpR3jSWsdS7SFp0COm5SOQdiFjY818dYFHJbMGuLBszpF07LBWmOS1uzrHa9VGdynsEgoeKy0oOQ==",
+      "license": "MIT",
+      "dependencies": {
+        "is-wsl": "^3.1.0",
+        "powershell-utils": "^0.2.0"
+      },
+      "engines": {
+        "node": ">=20"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/yallist": {
+      "version": "3.1.1",
+      "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
+      "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
+      "license": "ISC"
+    },
+    "node_modules/yocto-spinner": {
+      "version": "1.2.2",
+      "resolved": "https://registry.npmjs.org/yocto-spinner/-/yocto-spinner-1.2.2.tgz",
+      "integrity": "sha512-DODGl1wJjA/s5pnJFKau9lIYHT81lnhob1i3e1TjxZRxEhWRKl74nTbWE6H5KlkViQQTo/Z29YFdxzTZAMY3ng==",
+      "license": "MIT",
+      "dependencies": {
+        "yoctocolors": "^2.1.1"
+      },
+      "engines": {
+        "node": ">=18.19"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/yoctocolors": {
+      "version": "2.2.0",
+      "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.2.0.tgz",
+      "integrity": "sha512-xYqdZFUK/VYazNl/oCDYN+3WloWQwMfZxBoiNt6qNyk+xfOdi598muWE42rNZFp1kNOiqW936q5RhUdnpqElSg==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/zod": {
+      "version": "3.25.76",
+      "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
+      "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
+      "license": "MIT",
+      "funding": {
+        "url": "https://github.com/sponsors/colinhacks"
+      }
+    },
+    "node_modules/zod-to-json-schema": {
+      "version": "3.25.2",
+      "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.25.2.tgz",
+      "integrity": "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==",
+      "license": "ISC",
+      "peerDependencies": {
+        "zod": "^3.25.28 || ^4"
+      }
+    },
+    "node_modules/zrender": {
+      "version": "6.1.0",
+      "resolved": "https://registry.npmjs.org/zrender/-/zrender-6.1.0.tgz",
+      "integrity": "sha512-oEGMDB6pOP2S6OwRR4PdVv610zrjnA3Bh+JnSG12fYJlBKjtNAoEb5fSUoCOOINlH96I2fU38/A2UpRKs67xYQ==",
+      "license": "BSD-3-Clause",
+      "dependencies": {
+        "tslib": "2.3.0"
+      }
+    },
+    "node_modules/zrender/node_modules/tslib": {
+      "version": "2.3.0",
+      "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz",
+      "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==",
+      "license": "0BSD"
+    }
+  }
+}

+ 43 - 0
web-scaffold/package.json

@@ -0,0 +1,43 @@
+{
+  "name": "operations-support-web",
+  "private": true,
+  "version": "0.1.0",
+  "type": "module",
+  "scripts": {
+    "dev": "rsbuild dev",
+    "build": "rsbuild build",
+    "preview": "rsbuild preview",
+    "typecheck": "tsc --noEmit",
+    "test:domain": "node --experimental-strip-types tests/domain-foundation.test.mjs",
+    "test:identities": "node --experimental-strip-types --test tests/demo-identities.test.mjs",
+    "test:navigation": "node --experimental-strip-types --test tests/demo-navigation.test.mjs",
+    "test:workspace": "node --experimental-strip-types --test tests/role-workspace.test.mjs",
+    "test:detail-navigation": "node --experimental-strip-types --test tests/detail-navigation.test.mjs",
+    "test:customer-onboarding": "node --experimental-strip-types --test tests/customer-onboarding.test.mjs",
+    "test:region-tree": "node --experimental-strip-types --test tests/region-tree.test.mjs",
+    "test:ops-team": "node --experimental-strip-types --test tests/ops-team-members.test.mjs"
+  },
+  "dependencies": {
+    "@tanstack/react-query": "^5.102.0",
+    "axios": "^1.20.0",
+    "class-variance-authority": "^0.7.1",
+    "cn": "^0.4.0",
+    "echarts": "^6.1.0",
+    "lucide-react": "^1.57.0",
+    "react": "^19.0.0",
+    "react-dom": "^19.0.0",
+    "react-router": "^7.18.4",
+    "shadcn": "^4.21.5",
+    "tw-animate-css": "^1.4.0"
+  },
+  "devDependencies": {
+    "@rsbuild/core": "^2.2.13",
+    "@rsbuild/plugin-react": "^2.1.1",
+    "@rsbuild/plugin-tailwindcss": "^2.0.0",
+    "@types/node": "^26.6.6",
+    "@types/react": "^19.0.0",
+    "@types/react-dom": "^19.0.0",
+    "tailwindcss": "^4.3.0",
+    "typescript": "^5.9.3"
+  }
+}

File diff suppressed because it is too large
+ 2964 - 0
web-scaffold/prototype-v2/app.js


+ 1222 - 0
web-scaffold/prototype-v2/data.js

@@ -0,0 +1,1222 @@
+/* 模拟数据只存在于页面内存。内部下标从 0 开始,页面上的序号从 1 开始。 */
+const TODAY = "2026-10-15";
+
+/* 区域三级:省 / 市 / 区县。客户可挂在任一层,只能挂一个节点。
+   省级节点即「省份 × 运营商」组合取数用的省份(见 costs);市、区县不重复维护,继承向上最近的省级节点。 */
+const LEVEL_NAMES = ["省", "市", "区县"];
+
+const SEED = {
+  /* exitOptions:合同服务构成「线路出口」下拉的可选项(国家/地区名称原文),全局共用一套,
+     在「套餐目录 → 线路出口可选项配置」里由总运营增删;合同条目从这里取用,不再自由填写。 */
+  setting: { defaultReconcileDay: 5, effectiveMode: "period_snapshot", closureMode: "receipt", exitOptions: ["中国香港", "中国澳门", "中国台湾", "日本", "韩国", "新加坡", "马来西亚", "泰国", "美国", "英国", "德国", "法国"] },
+  regions: [
+    { id: "shp", name: "上海市", level: 0, parent: null },
+    { id: "jsp", name: "江苏省", level: 0, parent: null },
+    { id: "gdp", name: "广东省", level: 0, parent: null },
+    { id: "sh", name: "上海市", level: 1, parent: "shp" },
+    { id: "su", name: "苏州市", level: 1, parent: "jsp" },
+    { id: "gz", name: "广州市", level: 1, parent: "gdp" },
+    { id: "pd", name: "浦东新区", level: 2, parent: "sh" },
+    { id: "lg", name: "临港新片区", level: 2, parent: "sh" },
+    { id: "mh", name: "闵行区", level: 2, parent: "sh" },
+    { id: "ks", name: "昆山市", level: 2, parent: "su" },
+    { id: "th", name: "天河区", level: 2, parent: "gz" },
+  ],
+  /* 运营商按所属区域建档(region 为区域节点 id,含下级生效);客户只归属唯一运营商。
+     名称只能取三大运营商枚举(移动 / 联通 / 电信),不带地名;所属区域默认取省一级节点,
+     同一区域内三家运营商各建一条,「所属区域 + 名称」构成幂等键(如「上海市 / 移动」),同区域同名不可重复建档。
+     shareMode 为档案级分成方式(按比例 / 按金额 / 按每账号,三选一),shareValue 随方式而定:
+     按比例时为 0-1 的比例(列表显示为百分比),按金额时为每月固定分成的人民币元(列表显示为金额/月),
+     按每账号时为每个账号的人民币金额(结算时分成金额 = 账号数 × 每账号金额)。在各自编辑界面配置。 */
+  operators: [
+    { name: "联通", region: "shp", reconcileDay: null, payCycle: "按月", notify: "notice@unicorn.example", shareMode: "按比例", shareValue: 0.2 },
+    { name: "电信", region: "shp", reconcileDay: null, payCycle: "按年", notify: "notice@ict-telecom.example", shareMode: "按比例", shareValue: 0.18 },
+    { name: "移动", region: "shp", reconcileDay: 8, payCycle: "按月", notify: "notice@mobile.example", shareMode: "按比例", shareValue: 0.15 },
+    { name: "电信", region: "gdp", reconcileDay: null, payCycle: "按季度", notify: "notice@gd-ict.example", shareMode: "按金额", shareValue: 60 },
+    { name: "移动", region: "jsp", reconcileDay: 12, payCycle: "按季度", notify: "notice@js-mobile.example", shareMode: "按每账号", shareValue: 3.5 },
+    /* 广东省 / 移动在档案上把对账日单独约定到 20 日:合伙人与运维团队一律按系统默认 5 日出账,
+       所以对账日还没到的最近一个自然月只有这类「各分成方都未到对账日」的期次才显示未出账(见结算记录末三条) */
+    { name: "移动", region: "gdp", reconcileDay: 20, payCycle: "按月", notify: "notice@gd-mobile.example", shareMode: "按比例", shareValue: 0.12 },
+  ],
+  partners: [
+    { name: "邹合", region: "shp", title: "华东渠道", notify: "zouhe@example", scope: { regions: ["sh", "su"], enterprises: [] }, shareMode: "按比例", shareValue: 0.05 },
+    { name: "何南", region: "gz", title: "华南渠道", notify: "henan@example", scope: { regions: ["th"], enterprises: [2] }, shareMode: "按每账号", shareValue: 6 },
+  ],
+  /* 运维团队按所属区域建档(region 为建档区域节点 id,列表显示全路径),负责范围另在「配置范围」里勾;
+      运维团队不再按「常规 / 施工」分类,团队上只有一个「可分配工单类型」集合;
+     mode 为团队内工单分派方式,ticketTypes 为该团队可承接的工单类型(开通与编辑团队时指定,
+     路由工单时只在声明了该类型的团队里落单),
+     shareMode 与 shareValue 为档案级分成配置,口径与运营商、合伙人、运营团队一致。 */
+  teams: [
+    { name: "华东运维", region: "shp", mode: "手工", ticketTypes: ["开户", "服务开通", "到期停机", "服务停用", "故障", "售后"], scope: { regions: ["sh", "su"], enterprises: [] }, shareMode: "按金额", shareValue: 50 },
+    { name: "沪东开户组", region: "sh", mode: "自动平均", ticketTypes: ["开户"], scope: { regions: ["pd"], enterprises: [1] }, shareMode: "按每账号", shareValue: 4 },
+  ],
+  /* hq: true 为系统内置的总运营团队:不限所属区域(region 为空),负责范围覆盖全国,列表置顶且不可删除。
+     该团队的默认主账号即总运营账号(见 users 中 builtin: true 的一条),不再另设运营团队账号。 */
+  regOpsTeams: [
+    { name: "总运营团队", region: "", hq: true, scope: { regions: ["shp", "jsp", "gdp"], enterprises: [] }, desc: "总部平台级团队,不限所属区域,覆盖全国全部客户", shareMode: "按比例", shareValue: 0.1 },
+    { name: "华东运营", region: "shp", scope: { regions: ["shp", "jsp"], enterprises: [] }, desc: "覆盖上海市与江苏省全部下挂客户", shareMode: "按比例", shareValue: 0.08 },
+    { name: "华南运营", region: "gdp", scope: { regions: ["gdp"], enterprises: [] }, desc: "覆盖广东省全部下挂客户", shareMode: "按金额", shareValue: 30 },
+    { name: "上海运营", region: "sh", scope: { regions: ["sh"], enterprises: [] }, desc: "覆盖上海市及其下级区域", shareMode: "按每账号", shareValue: 2.5 },
+  ],
+  /* 成员不再分「常规 / 施工」两种身份:每名成员配三件事——
+     ① types=本人可处理的工单类型(必须是所在团队 ticketTypes 的子集);
+     ② scopeMode=负责范围形态(follow_team 跟着团队走 / region 指定区域 / customer 点客户清单,
+        以 memberScopeEnts() 解析成客户集合,三种形态的结果都必须是团队负责范围的子集);
+     ③ follow_team 不存任何名单;region 存 scopeRegions(区域节点 id);customer 存 scope(客户下标)。
+     种子全部按 customer 形态建档,与三形态上线前的行为逐字等价。 */
+  members: [
+    { name: "周宁", team: 0, scopeMode: "customer", scopeRegions: [], types: ["开户", "服务开通", "到期停机", "服务停用", "故障", "售后"], scope: [0, 1, 2, 4] },
+    { name: "李可", team: 0, scopeMode: "customer", scopeRegions: [], types: ["开户", "服务开通", "到期停机", "服务停用", "故障", "售后"], scope: [0, 3, 4] },
+    { name: "赵工", team: 1, scopeMode: "customer", scopeRegions: [], types: ["开户"], scope: [0, 1, 3] },
+    { name: "钱工", team: 1, scopeMode: "customer", scopeRegions: [], types: ["开户"], scope: [0, 1, 3] },
+  ],
+  enterprises: [
+    {
+      no: "KL-2026-000001",
+      name: "澄澜科技有限公司",
+      subject: "企业",
+      idNo: "91310115MA1K3XE71T",
+      materials: "营业执照、客户名称、统一社会信用代码、经办联系人、地址、合同、电话",
+      files: ["oss://materials/KL-2026-000001/营业执照.pdf", "oss://materials/KL-2026-000001/受理单.pdf", "oss://materials/KL-2026-000001/联通交接单.pdf"],
+      contact: "沈澄",
+      address: "上海市浦东新区金港路 300 号 6 号楼 3 层",
+      phone: "021-66001001",
+      region: "pd",
+      operator: 0,
+      partner: 0,
+      teams: [0, 1],
+      status: "在用",
+      quota: 5,
+      history: [
+        { at: "2026-08-10 10:20", field: "挂载区域", before: "未挂载", after: "上海市 / 上海市 / 浦东新区", by: "林管" },
+        { at: "2026-03-20 16:40", field: "服务开通状态", before: "未开通", after: "在用(实际开通日 2026-03-20)", by: "赵工回填" },
+      ],
+    },
+    {
+      no: "KL-2026-000008",
+      name: "临港跨境贸易",
+      subject: "企业",
+      idNo: "91310115MA1F9QB64P",
+      materials: "营业执照、客户名称、统一社会信用代码、经办联系人、地址、合同、电话",
+      files: ["oss://materials/KL-2026-000008/营业执照.pdf", "oss://materials/KL-2026-000008/ICT合同.pdf", "oss://materials/KL-2026-000008/联通交接单.pdf"],
+      contact: "陆港",
+      address: "上海市浦东新区环湖西二路 800 号 A 座 11 层",
+      phone: "021-66002008",
+      region: "lg",
+      operator: 1,
+      partner: null,
+      teams: [0, 1],
+      status: "未开通",
+      quota: 8,
+      history: [
+        { at: "2026-09-02 09:05", field: "挂载区域", before: "未挂载", after: "上海市 / 上海市 / 临港新片区", by: "林管" },
+      ],
+    },
+    {
+      no: "KL-2026-000012",
+      name: "陈阿福",
+      subject: "个体工商户",
+      idNo: "320583199003124517",
+      materials: "身份证、姓名、身份证号、手机号、地址",
+      files: ["oss://materials/KL-2026-000012/身份证.jpg"],
+      contact: "陈阿福",
+      address: "江苏省昆山市玉山镇中华园东路 58 号 2 单元 402",
+      phone: "13800001112",
+      region: "ks",
+      operator: 2,
+      partner: 1,
+      teams: [0],
+      status: "在用",
+      quota: 1,
+      history: [
+        { at: "2026-08-28 14:10", field: "挂载区域", before: "未挂载", after: "江苏省 / 苏州市 / 昆山市", by: "林管" },
+      ],
+    },
+    {
+      no: "KL-2026-000019",
+      name: "王敏",
+      subject: "个人",
+      idNo: "310115199208173024",
+      materials: "身份证、姓名、身份证号、手机号、地址",
+      files: ["oss://materials/KL-2026-000019/身份证.jpg"],
+      contact: "王敏",
+      address: "上海市浦东新区张杨路 1200 弄 12 号 1802 室",
+      phone: "13900001019",
+      region: "pd",
+      operator: 2,
+      partner: 1,
+      teams: [0, 1],
+      status: "在用",
+      quota: 2,
+      history: [
+        { at: "2026-08-20 11:30", field: "挂载区域", before: "江苏省 / 苏州市 / 昆山市", after: "上海市 / 上海市 / 浦东新区", by: "林管" },
+        { at: "2026-08-20 11:32", field: "合伙人", before: "无", after: "何南(华南渠道,直接多选客户)", by: "林管" },
+      ],
+    },
+    {
+      no: "KL-2026-000023",
+      name: "海岚跨境电商(上海)",
+      subject: "企业",
+      idNo: "91310112MA1G8YK45H",
+      materials: "营业执照、客户名称、统一社会信用代码、经办联系人、地址、合同、电话",
+      files: ["oss://materials/KL-2026-000023/营业执照.pdf", "oss://materials/KL-2026-000023/续约合同.pdf"],
+      contact: "周岚",
+      address: "上海市闵行区申长路 988 号 3 号楼 5 层",
+      phone: "021-54002023",
+      region: "mh",
+      operator: 0,
+      partner: 0,
+      teams: [0],
+      status: "在用",
+      quota: 2,
+      history: [
+        { at: "2026-09-12 15:00", field: "挂载区域", before: "未挂载", after: "上海市 / 上海市 / 闵行区", by: "林管" },
+        { at: "2025-10-01 10:00", field: "服务开通状态", before: "未开通", after: "在用(实际开通日 2025-10-01)", by: "周宁回填" },
+      ],
+    },
+    /* 与 KL-2026-000012 同名的个人客户:客户名称允许重名,建档与查重只看客户识别号 */
+    {
+      no: "KL-2026-000026",
+      name: "陈阿福",
+      subject: "个人",
+      idNo: "330382198711260018",
+      materials: "身份证、姓名、身份证号、手机号、地址",
+      files: ["oss://materials/KL-2026-000026/身份证.jpg"],
+      contact: "陈阿福",
+      address: "上海市闵行区七莘路 1500 弄 8 号 501 室",
+      phone: "13800002026",
+      region: "mh",
+      operator: 0,
+      partner: 1,
+      teams: [0],
+      status: "未开通",
+      quota: 1,
+      history: [
+        { at: "2026-10-15 09:40", field: "挂载区域", before: "未挂载", after: "上海市 / 上海市 / 闵行区", by: "林管" },
+      ],
+    },
+    /* 广东省内客户(挂在市级节点):名下只有运营商分成——没有合伙人,华东运维虽归属在本客户档案上但团队档案未配分成(计 0、不进对账),
+       广东省 / 移动又把对账日单独约定到 20 日,故该客户 2026-09 的应收至今各分成方都未到对账日,用于演示未出账(见 settlements 末三条) */
+    {
+      no: "KL-2026-000031",
+      name: "广州天河北商贸",
+      subject: "企业",
+      idNo: "91440101MA5CQ7X23L",
+      materials: "营业执照、客户名称、统一社会信用代码、经办联系人、地址、合同、电话",
+      files: ["oss://materials/KL-2026-000031/营业执照.pdf", "oss://materials/KL-2026-000031/移动交接单.pdf"],
+      contact: "区先生",
+      address: "广州市天河区天河北路 233 号 12 层 05 室",
+      phone: "020-38002031",
+      region: "gz",
+      operator: 5,
+      partner: null,
+      teams: [0],
+      status: "在用",
+      quota: 10,
+      history: [
+        { at: "2026-06-18 15:20", field: "挂载区域", before: "未挂载", after: "广东省 / 广州市", by: "林管" },
+        { at: "2026-07-01 09:10", field: "服务开通状态", before: "未开通", after: "在用(实际开通日 2026-07-01)", by: "周宁回填" },
+      ],
+    },
+    /* 停机客户(到期停机演示):订阅到期未续费,停机工单 T-20260921-01 回填成功后客户与在用分账号全改停用,
+       工单停在已完成、竣工单待每月 25 日统一回传;主账号未建,额度归零后不再自动补建分账号 */
+    {
+      no: "KL-2026-000035",
+      name: "苏州启航电商工作室",
+      subject: "个体工商户",
+      idNo: "92320583MA1M9XK20T",
+      materials: "营业执照、客户名称、统一社会信用代码、经办联系人、地址、合同、电话",
+      files: ["oss://materials/KL-2026-000035/营业执照.pdf"],
+      contact: "黄启",
+      address: "江苏省昆山市玉山镇前进西路 688 号 3 号楼 708 室",
+      phone: "0512-57003035",
+      region: "ks",
+      operator: 4,
+      partner: null,
+      teams: [0],
+      status: "停用",
+      quota: 0,
+      history: [
+        { at: "2026-09-22 18:05", field: "服务开通状态", before: "在用", after: "停用(到期停机工单 T-20260921-01 回填成功)", by: "周宁回填" },
+        { at: "2025-09-22 10:00", field: "服务开通状态", before: "未开通", after: "在用(实际开通日 2025-09-22)", by: "周宁回填" },
+      ],
+    },
+    /* 停机客户(到期停机闭环演示):旧订阅到期的停机单因客户续费承接提前关闭(T-20260701-01,开停记录置执行失败);
+       承接订阅到期后停机成功,竣工回传+运营商回执闭环(T-20260901-02),客户与在用分账号改停用 */
+    {
+      no: "KL-2026-000036",
+      name: "上海憬庭文化传媒有限公司",
+      subject: "企业",
+      idNo: "91310112MA1H7TQ83R",
+      materials: "营业执照、客户名称、统一社会信用代码、经办联系人、地址、合同、电话",
+      files: ["oss://materials/KL-2026-000036/营业执照.pdf"],
+      contact: "袁女士",
+      address: "上海市闵行区虹梅北路 2100 号 2 号楼 1203 室",
+      phone: "021-64002036",
+      region: "mh",
+      operator: 0,
+      partner: null,
+      teams: [0],
+      status: "停用",
+      quota: 0,
+      history: [
+        { at: "2026-09-02 17:35", field: "服务开通状态", before: "在用", after: "停用(到期停机工单 T-20260901-02 回填成功)", by: "周宁回填" },
+        { at: "2025-07-02 09:30", field: "服务开通状态", before: "未开通", after: "在用(实际开通日 2025-07-02)", by: "周宁回填" },
+      ],
+    },
+  ],
+  /* 固定套餐口径取自 docs/原始文档/跨境网络报价单.pdf:
+     使用规模 10 人左右分「通用办公 / 直播高需求 / AI 应用」三组共 8 档,另设「单独境外 IP」按个叠加档;
+     使用规模 30 人及以上走定制化,报价单不列固定单价,由区域运营为具体客户配自定义套餐承接
+     (跨境养号的云手机租赁同为按需报价,同样走自定义套餐)。
+     cat 为用途分类,目录按它分组;desc 为报价单权益口径。
+     报价单按月报价,首期只做按年订阅,年订阅价格 = 月价 × 12。
+     分账号额度报价单未给出,按用途推定(办公档 10;直播 A 单链接单流 2、B 单链接多流 5、C 顶配 10;
+     AI 5M 档 3、10M 档 5;按个叠加的增值项不占额度记 0),运营可在目录内直接改。
+     costs 为该档位随附的成本项:名称取自「成本管理」里的全局应扣除成本项清单,档位上不录金额——
+     同一成本项的具体金额按「省份 × 运营商」组合各不相同(见 costs),金额在出账时按订单相关的组合取。
+     计算方式为「每份」的项再多一个 qty:本档位实际配了几份这项资源就摊几份
+     (例如该档配了 2 台境外云主机记 qty: 2),不填按 1 份;「每客户」「每账号」的项不带 qty,也不按份数放大。
+     成本项本身是全局口径,不挂在客户或订阅上,客户本月计入哪几笔由其在用订阅引用的档位决定。 */
+  packages: [
+    { name: "跨境办公 · 基础档", cat: "通用办公", yearPrice: 1080, monthPrice: 90, quota: 10, bw: "不承诺带宽", desc: "一般访问流量,无固定境外 IP,不承诺带宽", custom: null },
+    { name: "跨境办公 · 标准档", cat: "通用办公", yearPrice: 1440, monthPrice: 120, quota: 10, bw: "下行 10M / 上行 1M", desc: "店铺管理、一般办公、视频会议、ERP 等,比基础档速度更快更稳定", custom: null },
+    { name: "跨境办公 · 独立 IP 档", cat: "通用办公", yearPrice: 1920, monthPrice: 160, quota: 10, bw: "下行 5M / 上行 2M", desc: "单独境外 IP 配置,通过第三方网络管理平台", custom: null, costs: [{ name: "国家 IP 地址月摊销", qty: 1 }] },
+    { name: "直播高需求 · A 类", cat: "直播高需求", yearPrice: 10800, monthPrice: 900, quota: 2, bw: "上下行 10M", desc: "单链接、单流;单独境外 IP 另购,80 元/个", custom: null },
+    { name: "直播高需求 · B 类", cat: "直播高需求", yearPrice: 32400, monthPrice: 2700, quota: 5, bw: "上下行 30M", desc: "单链接、多流;团队内部运营如后台管理、看播等已包含", custom: null },
+    { name: "直播高需求 · C 类", cat: "直播高需求", yearPrice: 62400, monthPrice: 5200, quota: 10, bw: "上下行 50M", desc: "直播高需求顶配档;链接数与流数按合同另定", custom: null },
+    { name: "AI 应用 · 5M 档", cat: "AI 应用", yearPrice: 5760, monthPrice: 480, quota: 3, bw: "上下行 5M", desc: "面向 AI 应用访问的固定上下行带宽档", custom: null, costs: [{ name: "国家 IP 地址月摊销", qty: 1 }] },
+    { name: "AI 应用 · 10M 档", cat: "AI 应用", yearPrice: 10800, monthPrice: 900, quota: 5, bw: "上下行 10M", desc: "面向 AI 应用访问的固定上下行带宽档", custom: null },
+    { name: "单独境外 IP(按个叠加)", cat: "叠加增值", yearPrice: 960, monthPrice: 80, quota: 0, bw: "按个计,不占带宽", desc: "80 元/个/月,与主档叠加订阅、各自计费;个数与单价在订阅上按合同改写", custom: null, costs: [{ name: "国际云主机月摊销", qty: 1 }] },
+    { name: "临港 ICT 定制套餐", cat: "定制化", yearPrice: 24000, monthPrice: 2000, quota: 8, bw: "150Mbps", desc: "使用规模 30 人及以上,业务分析与需求摸排调研后定制;临港跨境贸易专项档", custom: 1, costs: [{ name: "国际出口带宽月摊销" }, { name: "国际云主机月摊销", qty: 2 }] }, /* 每份:该档配了 2 台境外云主机,金额按订单的「省份 × 运营商」组合 × 2 摊 */
+  ],
+  /* 订阅一律按名称引用「套餐目录」中的档位,签约时把目录价冻结到订阅上(目录改价不影响存量订阅)。
+     示例覆盖全部用途分类:通用办公(基础 / 标准 / 独立 IP 档)、直播高需求(A 类)、AI 应用(5M 档)、
+     叠加增值(单独境外 IP ×2 个:80 元/个/月 × 2 × 12)、定制化(临港 ICT 自定义档)。
+     另含「同一套餐不同出口并存」示例(见末条):出口随所引用合同的套餐条目带出,不同出口各计一份额度、各自出账。
+     orderNo 为运营商(联通/政企云平台)侧订单号,即所引用合同上的外部单号:保存订阅时随合同带出并冻结在本条订阅上,
+     一份订单可以对应多份订阅(同一份合同的多条服务构成条目分别成订阅),合同外部单号为空(界面录入)时记空串、列表出「—」。 */
+  subs: [
+    /* 到期与升降配被替代都只把原订阅的结束日截到承接方开始日前一天并转「已到期」,
+       订阅方式保留本条建立时的原值(这里仍是「正式」),不另设「升降配前」这类口径 */
+    { enterprise: 0, name: "跨境办公 · 基础档", kind: "正式", status: "已到期", start: "2025-03-18", end: "2026-03-17", yearPrice: 1080, monthPrice: 90, openedOn: "2025-03-20", contractNo: "HT-CL-20250318", orderNo: "CU-SH-20250315-011", files: ["oss://contracts/HT-CL-20250318.pdf"] },
+    { enterprise: 0, name: "跨境办公 · 标准档", kind: "正式", status: "生效中", start: "2026-03-18", end: "2027-03-17", yearPrice: 1440, monthPrice: 120, openedOn: "2026-03-20", contractNo: "HT-CL-20260318", orderNo: "CU-SH-20260316-023", files: ["oss://contracts/HT-CL-20260318.pdf"] },
+    { enterprise: 1, name: "临港 ICT 定制套餐", kind: "正式", status: "生效中", start: "2026-09-02", end: "2027-09-01", yearPrice: 24000, monthPrice: 2000, openedOn: null, contractNo: "ICT-LG-20260902", orderNo: "CU-SH-20261006-077", files: ["oss://contracts/ICT-LG-20260902.pdf"] },
+    { enterprise: 2, name: "直播高需求 · A 类", kind: "正式", status: "生效中", start: "2026-09-01", end: "2026-10-31", yearPrice: 10800, monthPrice: 900, openedOn: "2026-09-01", contractNo: "HT-CFA-20260901", orderNo: "CM-SZ-20260828-042", files: ["oss://contracts/HT-CFA-20260901.pdf"] },
+    { enterprise: 3, name: "AI 应用 · 5M 档", kind: "正式", status: "生效中", start: "2026-06-01", end: "2027-05-31", yearPrice: 5760, monthPrice: 480, openedOn: "2026-06-01", contractNo: "HT-WM-20260601", orderNo: "", files: ["oss://contracts/HT-WM-20260601.pdf"] },
+    { enterprise: 3, name: "单独境外 IP(按个叠加)", kind: "叠加", status: "生效中", start: "2026-08-01", end: "2027-07-31", yearPrice: 1920, monthPrice: 160, openedOn: "2026-08-01", contractNo: "HT-WM-20260801", orderNo: "", files: ["oss://contracts/HT-WM-20260801.pdf"] },
+    { enterprise: 4, name: "跨境办公 · 独立 IP 档", kind: "正式", status: "已到期", start: "2025-10-01", end: "2026-09-30", yearPrice: 1920, monthPrice: 160, openedOn: "2025-10-01", contractNo: "HT-HL-20251001", orderNo: "CU-SH-20250925-090", files: ["oss://contracts/HT-HL-20251001.pdf"] },
+    { enterprise: 4, name: "跨境办公 · 独立 IP 档", kind: "正式", status: "待生效", start: "2026-11-01", end: "2027-10-31", yearPrice: 1920, monthPrice: 160, openedOn: null, contractNo: "HT-HL-20261101", orderNo: "CU-SH-20261009-115", files: ["oss://contracts/HT-HL-20261101.pdf"] },
+    /* 客户已在用时新增的叠加订阅:保存时自动生成「服务开通」工单(见 tickets 末条),实际开通日尚未回填 */
+    { enterprise: 3, name: "单独境外 IP(按个叠加)", kind: "叠加", status: "生效中", start: "2026-10-08", end: "2027-10-07", yearPrice: 1920, monthPrice: 160, openedOn: null, contractNo: "HT-WM-20261008", orderNo: "", files: ["oss://contracts/HT-WM-20261008.pdf"] },
+    /* 同一套餐不同出口并存示例:客户 0 已有中国香港出口的标准档生效订阅(HT-CL-20260318),本条经 HT-CL-20260901 走美国出口,
+       两份额度累加、各自出账;出口随所引用合同的套餐条目带出(本条不写 exits,由合同条目派生演示兜底链路) */
+    { enterprise: 0, name: "跨境办公 · 标准档", kind: "正式", status: "生效中", start: "2026-09-01", end: "2027-08-31", yearPrice: 1440, monthPrice: 120, openedOn: "2026-09-03", contractNo: "HT-CL-20260901", orderNo: "", files: ["oss://contracts/HT-CL-20260901.pdf"] },
+    /* 一份订单出多份订阅示例:联通订单 CU-SH-20250315-011(合同 HT-CL-20250318)里同时订了基础档与 1 个单独境外 IP,
+       两个服务构成条目分别成订阅,两条订阅记同一个订单号,核对这一单时按订单号能一起捞出来 */
+    { enterprise: 0, name: "单独境外 IP(按个叠加)", kind: "叠加", status: "已到期", start: "2025-03-18", end: "2026-03-17", yearPrice: 960, monthPrice: 80, openedOn: "2025-03-20", contractNo: "HT-CL-20250318", orderNo: "CU-SH-20250315-011", files: ["oss://contracts/HT-CL-20250318.pdf"] },
+    /* 广州天河北商贸(客户 6):只有运营商分成的纯运营商订阅,2026-07-01 整月起租(6 月 18 日签单、7 月 1 日开通),
+       三个整月的出账状态正好覆盖已出账 / 出账异常 / 未出账三态(见 settlements 末三条) */
+    { enterprise: 6, name: "跨境办公 · 独立 IP 档", kind: "正式", status: "生效中", start: "2026-07-01", end: "2027-06-30", yearPrice: 1920, monthPrice: 160, openedOn: "2026-07-01", contractNo: "HT-GZ-20260701", orderNo: "CM-GZ-20260618-031", files: ["oss://contracts/HT-GZ-20260701.pdf"] },
+    /* 覆盖工单类型×流程节点全组合的补充样例:客户 6 新增叠加订阅自动生成待派单服务开通工单(见 tickets T-20261013-02);
+       客户 7、8 为停机客户,订阅到期前均已开通 */
+    { enterprise: 6, name: "单独境外 IP(按个叠加)", kind: "叠加", status: "生效中", start: "2026-10-13", end: "2027-10-12", yearPrice: 960, monthPrice: 80, openedOn: null, contractNo: "HT-GZ-20261013", orderNo: "", files: ["oss://contracts/HT-GZ-20261013.pdf"] },
+    { enterprise: 7, name: "跨境办公 · 基础档", kind: "正式", status: "已到期", start: "2025-09-21", end: "2026-09-20", yearPrice: 1080, monthPrice: 90, openedOn: "2025-09-22", contractNo: "HT-QH-20250921", orderNo: "CU-SZ-20250918-055", files: ["oss://contracts/HT-QH-20250921.pdf"] },
+    { enterprise: 8, name: "跨境办公 · 标准档", kind: "正式", status: "已到期", start: "2026-07-05", end: "2026-08-31", yearPrice: 1440, monthPrice: 120, openedOn: "2026-07-06", contractNo: "HT-JT-20260705", orderNo: "CU-SH-20260702-024", files: ["oss://contracts/HT-JT-20260705.pdf"] },
+    { enterprise: 8, name: "跨境办公 · 标准档", kind: "正式", status: "已到期", start: "2025-07-01", end: "2026-06-30", yearPrice: 1440, monthPrice: 120, openedOn: "2025-07-02", contractNo: "HT-JT-20250701", orderNo: "CU-SH-20250626-018", files: ["oss://contracts/HT-JT-20250701.pdf"] },
+  ],
+  /* 合同管理(见需求规格说明 5.3):合同留存完整的合同业务配置信息,是生成工单与运营商对账的数据源头。
+     no 与订阅上的合同编号对应(界面录入可留空,由系统按客户主体号生成);extNo 为运营商侧外部单号(联通订单号,界面录入可空),
+     一份合同可出多份订阅,订阅保存时把这个号作为「订单号」冻结到每条订阅上,追溯时按订单号能捞回同一单的订阅;
+     amount 为合同总额(客户应收仍按订阅冻结价计,见 5.3);items 为服务构成条目,两种形态可在同一份合同混用、逐项独立配置:
+     套餐式 {type:"套餐", pkg:档位名, qty, exits, ips}——账号数按档位额度 × 数量派生,带宽以档位口径为准;
+     自定义式 {type:"自定义", accounts, bwDown, bwUp, bwSym?, exits, ips}——不指定固定套餐,直接录账号数与上/下行带宽(只填单值时 bwSym 标注对称)。
+     条目内 exits 为线路出口(国家/地区,从下拉选取):套餐式单选一条(要换出口另建一条合同),自定义式可选多条;ips 为需分配 IP 条目(出口 + 带宽档位 + 数量,与 7.2 交接单同口径);
+     列表与详情的带宽 / 出口 / 账号数 / IP 条目均按条目汇总派生。agent 三件套为运营商经办人(姓名、电话、交接单日期,均必填);
+     source 记合同进入系统的途径(联通同步 / 界面录入 / 批量导入)。状态按起止日与 TODAY 派生:待生效 / 生效中 / 已到期。 */
+  contracts: [
+    /* 一份订单出多份订阅的落点:这一单(联通订单 CU-SH-20250315-011)里带两个服务构成条目——基础档与 1 个单独境外 IP,
+       分别成两条订阅(见 subs 首条与末条),两条订阅记同一个订单号;合同总额含叠加档 960 元 */
+    { no: "HT-CL-20250318", enterprise: 0, extNo: "CU-SH-20250315-011", amount: 2040, payCycle: "按年", start: "2025-03-18", end: "2026-03-17", items: [{ type: "套餐", pkg: "跨境办公 · 基础档", qty: 1, exits: ["中国香港"], ipCount: 0 }, { type: "套餐", pkg: "单独境外 IP(按个叠加)", qty: 1, exits: ["中国香港"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2025-03-15", source: "联通同步", files: ["oss://contracts/HT-CL-20250318.pdf"] },
+    { no: "HT-CL-20260318", enterprise: 0, extNo: "CU-SH-20260316-023", amount: 1440, payCycle: "按年", start: "2026-03-18", end: "2027-03-17", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-03-16", source: "联通同步", files: ["oss://contracts/HT-CL-20260318.pdf"] },
+    /* 套餐式 + 自定义式混用示例:临港 ICT 定制套餐 ×1,另有一笔不指定套餐的自定义服务(账号 4、对称 30M、美国出口 + IP) */
+    { no: "ICT-LG-20260902", enterprise: 1, extNo: "CU-SH-20261006-077", amount: 24000, payCycle: "按年", start: "2026-09-02", end: "2027-09-01", items: [
+      { type: "套餐", pkg: "临港 ICT 定制套餐", qty: 1, exits: ["中国香港"], ipCount: 2 },
+      { type: "自定义", accounts: 4, bwDown: 30, bwUp: 30, bwSym: true, exits: ["美国"], ipCount: 1, annualPrice: 1200, monthlyPrice: 100 },
+    ], agent: "临港联通 · 张工", agentPhone: "13601700208", handoverOn: "2026-10-06", source: "界面录入", files: ["oss://contracts/ICT-LG-20260902.pdf"] },
+    { no: "HT-CFA-20260901", enterprise: 2, extNo: "CM-SZ-20260828-042", amount: 10800, payCycle: "按月", start: "2026-09-01", end: "2026-10-31", items: [{ type: "套餐", pkg: "直播高需求 · A 类", qty: 1, exits: ["美国"], ipCount: 1 }], agent: "苏州移动 · 刘经理", agentPhone: "13800002201", handoverOn: "2026-08-29", source: "批量导入", files: ["oss://contracts/HT-CFA-20260901.pdf"] },
+    { no: "HT-WM-20260601", enterprise: 3, extNo: "", amount: 5760, payCycle: "按年", start: "2026-06-01", end: "2027-05-31", items: [{ type: "套餐", pkg: "AI 应用 · 5M 档", qty: 1, exits: ["日本"], ipCount: 1 }], agent: "上海移动 · 高经理", agentPhone: "13900003301", handoverOn: "2026-05-28", source: "界面录入", files: ["oss://contracts/HT-WM-20260601.pdf"] },
+    /* 纯自定义式示例:不指定固定套餐,直接约定账号 2、上下行对称 5M、日本出口与 IP 条目 */
+    { no: "HT-WM-20260801", enterprise: 3, extNo: "", amount: 1920, payCycle: "按年", start: "2026-08-01", end: "2027-07-31", items: [{ type: "自定义", accounts: 2, bwDown: 5, bwUp: 5, bwSym: true, exits: ["日本"], ipCount: 2, annualPrice: 600, monthlyPrice: 50 }], agent: "上海移动 · 高经理", agentPhone: "13900003301", handoverOn: "2026-07-29", source: "界面录入", files: ["oss://contracts/HT-WM-20260801.pdf"] },
+    /* 叠加档示例:单独境外 IP ×2 个,档位额度为 0,不新增账号数 */
+    { no: "HT-WM-20261008", enterprise: 3, extNo: "", amount: 1920, payCycle: "按年", start: "2026-10-08", end: "2027-10-07", items: [{ type: "套餐", pkg: "单独境外 IP(按个叠加)", qty: 2, exits: ["中国香港"], ipCount: 2 }], agent: "上海移动 · 高经理", agentPhone: "13900003301", handoverOn: "2026-10-06", source: "界面录入", files: ["oss://contracts/HT-WM-20261008.pdf"] },
+    { no: "HT-HL-20251001", enterprise: 4, extNo: "CU-SH-20250925-090", amount: 1920, payCycle: "按年", start: "2025-10-01", end: "2026-09-30", items: [{ type: "套餐", pkg: "跨境办公 · 独立 IP 档", qty: 1, exits: ["新加坡"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2025-09-26", source: "联通同步", files: ["oss://contracts/HT-HL-20251001.pdf"] },
+    { no: "HT-HL-20261101", enterprise: 4, extNo: "CU-SH-20261009-115", amount: 1920, payCycle: "按年", start: "2026-11-01", end: "2027-10-31", items: [{ type: "套餐", pkg: "跨境办公 · 独立 IP 档", qty: 1, exits: ["新加坡"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-10-10", source: "联通同步", files: ["oss://contracts/HT-HL-20261101.pdf"] },
+    /* 不同出口并存演示合同:与客户 0 的中国香港标准档(HT-CL-20260318)同套餐不同出口,两份额度累加、各自出账 */
+    { no: "HT-CL-20260901", enterprise: 0, extNo: "", amount: 1440, payCycle: "按年", start: "2026-09-01", end: "2027-08-31", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["美国"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-08-28", source: "界面录入", files: ["oss://contracts/HT-CL-20260901.pdf"] },
+    /* 广州天河北商贸(客户 6)的合同:广州移动政企单,2026-06-18 交接、2026-07-01 生效,
+       服务构成只有一条独立 IP 档,对账走该运营商档案上的 20 日 */
+    { no: "HT-GZ-20260701", enterprise: 6, extNo: "CM-GZ-20260618-031", amount: 1920, payCycle: "按年", start: "2026-07-01", end: "2027-06-30", items: [{ type: "套餐", pkg: "跨境办公 · 独立 IP 档", qty: 1, exits: ["新加坡"], ipCount: 1 }], agent: "广州移动 · 区经理", agentPhone: "13800004401", handoverOn: "2026-06-18", source: "界面录入", files: ["oss://contracts/HT-GZ-20260701.pdf"] },
+    /* 覆盖工单全组合的补充合同:客户 6 叠加订阅(生成待派单服务开通工单)、客户 7 一年期一档(到期停机)、
+       客户 8 新旧两份(旧订阅停机单被续费承接关闭,新订阅停机单回执闭环) */
+    { no: "HT-GZ-20261013", enterprise: 6, extNo: "", amount: 960, payCycle: "按年", start: "2026-10-13", end: "2027-10-12", items: [{ type: "套餐", pkg: "单独境外 IP(按个叠加)", qty: 1, exits: ["新加坡"], ipCount: 1 }], agent: "广州移动 · 区经理", agentPhone: "13800004401", handoverOn: "2026-10-12", source: "界面录入", files: ["oss://contracts/HT-GZ-20261013.pdf"] },
+    { no: "HT-QH-20250921", enterprise: 7, extNo: "CU-SZ-20250918-055", amount: 1080, payCycle: "按年", start: "2025-09-21", end: "2026-09-20", items: [{ type: "套餐", pkg: "跨境办公 · 基础档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "江苏联通 · 黄经理", agentPhone: "13601900502", handoverOn: "2025-09-18", source: "联通同步", files: ["oss://contracts/HT-QH-20250921.pdf"] },
+    { no: "HT-JT-20250701", enterprise: 8, extNo: "CU-SH-20250626-018", amount: 1440, payCycle: "按年", start: "2025-07-01", end: "2026-06-30", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2025-06-26", source: "联通同步", files: ["oss://contracts/HT-JT-20250701.pdf"] },
+    { no: "HT-JT-20260705", enterprise: 8, extNo: "CU-SH-20260702-024", amount: 360, payCycle: "按月", start: "2026-07-05", end: "2026-08-31", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-07-02", source: "联通同步", files: ["oss://contracts/HT-JT-20260705.pdf"] },
+  ],
+  /* 下属分账号:login 为账号名,规则是「客户主账号登录名-n」,n 为该客户的分账号序号,从 1 起,
+     同一客户共用一个序号池;netLogin 为零信任客户端上的账号名,选填、可改、不校验唯一。
+     分账号数量由套餐额度决定,示例里未建满的部分由启动时的 alignSubAccounts 按额度自动补齐。
+     name 是使用人姓名,建号时留空为「席位 n」,之后由运营在客户管理页或客户主账号在「下属分账号」页改写。
+     status 的「停用」只由停机类回填产生:到期停机回填(整户停),以及运营发起的「服务停用」工单回填。
+     2026-11-02 EP-02 定案:客户门户不提供自助停用入口,客户侧在本页只能改下属号姓名。
+     pwd / pwdSetOn 同样只在运行期写入(本人在「我的账号」自助改密,AC-05),种子不预置。 */
+  accounts: [
+    { enterprise: 0, name: "张敏", login: "clkj-1", status: "在用", openedOn: "2026-03-20", netLogin: "zhangmin@clkj" },
+    { enterprise: 0, name: "李航", login: "clkj-2", status: "在用", openedOn: "2026-03-20", netLogin: "" },
+    { enterprise: 0, name: "待开通席位", login: "clkj-3", status: "未开通", openedOn: null, netLogin: "" },
+    { enterprise: 1, name: "临港-财务", login: "lgkjmy-1", status: "未开通", openedOn: null, netLogin: "" },
+    { enterprise: 1, name: "临港-关务", login: "lgkjmy-2", status: "未开通", openedOn: null, netLogin: "customs-01@lingang" },
+    { enterprise: 3, name: "王敏本人", login: "wm-1", status: "在用", openedOn: "2026-06-01", netLogin: "wangmin@wm" },
+    { enterprise: 4, name: "海岚-小王", login: "hlkjdssh-1", status: "在用", openedOn: "2025-10-01", netLogin: "" },
+    /* 陈阿福(客户 2)的席位:开户工单 T-20260829-01 回填成功后在用,账号名按「主账号登录名-n」规则 */
+    { enterprise: 2, name: "陈阿福", login: "caf-1", status: "在用", openedOn: "2026-09-01", netLogin: "chenafu@caf" },
+    /* 广州天河北商贸(客户 6)的分账号:开户工单 T-20260620-01 回填成功时启用的两个席位(该客户主账号未建,不自动补建额度) */
+    { enterprise: 6, name: "区先生", login: "tghb-1", status: "在用", openedOn: "2026-07-01", netLogin: "quxs@tghb" },
+    { enterprise: 6, name: "天河北-外贸", login: "tghb-2", status: "在用", openedOn: "2026-07-01", netLogin: "" },
+    /* 两个停机客户的分账号:随到期停机回填成功改停用 */
+    { enterprise: 7, name: "启航-运营", login: "sqhq-1", status: "停用", openedOn: "2025-09-22", stoppedAt: "2026-09-22", netLogin: "" },
+    { enterprise: 8, name: "憬庭-行政", login: "jtwh-1", status: "停用", openedOn: "2025-07-02", stoppedAt: "2026-09-02", netLogin: "jingting@jtwh" },
+    { enterprise: 8, name: "憬庭-投放", login: "jtwh-2", status: "停用", openedOn: "2025-07-02", stoppedAt: "2026-09-02", netLogin: "" },
+  ],
+  /* 开停记录与工单一一对应;状态:待执行 / 执行成功 / 执行失败 */
+  actions: [
+    { id: "A-20261007-08", enterprise: 1, type: "开户", status: "待执行", ticket: 0, created: "2026-10-07", doneOn: null, extendUntil: null, by: null },
+    { id: "A-20261009-23", enterprise: 4, type: "到期停机", status: "待执行", ticket: 7, created: "2026-10-09", doneOn: null, extendUntil: null, by: null },
+    { id: "A-20260829-05", enterprise: 2, type: "开户", status: "执行成功", ticket: 10, created: "2026-08-29", doneOn: "2026-09-01", extendUntil: null, by: "周宁" },
+    /* 覆盖工单全组合的补充开停记录:ticket 为工单数组下标(新工单追加在 idx11-26) */
+    { id: "A-20261015-02", enterprise: 5, type: "开户", status: "待执行", ticket: 11, created: "2026-10-15", doneOn: null, extendUntil: null, by: null },
+    { id: "A-20260620-03", enterprise: 6, type: "开户", status: "执行成功", ticket: 12, created: "2026-06-20", doneOn: "2026-07-01", extendUntil: null, by: "周宁" },
+    { id: "A-20261003-11", enterprise: 1, type: "开户", status: "执行失败", ticket: 13, created: "2026-10-03", doneOn: null, extendUntil: null, by: null },
+    { id: "A-20260921-04", enterprise: 7, type: "到期停机", status: "执行成功", ticket: 19, created: "2026-09-21", doneOn: "2026-09-22", extendUntil: null, by: "周宁" },
+    { id: "A-20260901-09", enterprise: 8, type: "到期停机", status: "执行成功", ticket: 20, created: "2026-09-01", doneOn: "2026-09-02", extendUntil: null, by: "周宁" },
+    { id: "A-20260701-06", enterprise: 8, type: "到期停机", status: "执行失败", ticket: 21, created: "2026-07-01", doneOn: null, extendUntil: null, by: null },
+    { id: "A-20260318-02", enterprise: 0, type: "到期停机", status: "执行失败", ticket: 18, created: "2026-03-18", doneOn: null, extendUntil: null, by: "周宁" },
+    /* 澄澜科技标准档开户(idx26,沪东开户组):赵工回填成功后客户账户转在用 */
+    { id: "A-20260318-03", enterprise: 0, type: "开户", status: "执行成功", ticket: 26, created: "2026-03-18", doneOn: "2026-03-20", extendUntil: null, by: "赵工" },
+  ],
+  /* 工单:no 为我方工单号(T-创建日-当日流水),贯穿开户回填、竣工回传与运营商回执;contractNo 关联合同(主线工单)。
+     created 为创建日(建单当天);doneOn 为完成时间,即工单流转进「已完成」「已闭环」或「已关闭」终态的当天,
+     未到终态为空。回填与核对完成时记操作当天,不按实际开通日回算;「已闭环」主线工单记运营商回执确认当天,
+     故障 / 售后这类工单记提交方确认关闭当天,超时自动闭环的记确认期限届满当天。
+     submitter 是提交口径:客户主账号 / 下属分账号 / 运维代建 / 系统自动。只有客户主账号与下属分账号提交的
+     工单,提交方才能自己撤回关闭(未完成时)或确认关闭形成闭环(已完成后);运维代建与系统自动带出的不放这个入口,
+     这类单在运维标记已完成的当天即同事务转「已闭环」,不等确认期限。 */
+  tickets: [
+    { no: "T-20261007-01", contractNo: "ICT-LG-20260902", type: "开户", enterprise: 1, account: null, team: 1, assignee: null, status: "待派单", created: "2026-10-07", doneOn: null, text: "合同套餐已建立,网络侧尚未开通。本工单只开通客户本身,不含下属分账号;分账号在套餐订阅时按额度对齐开通。", logs: ["2026-10-07 生成待执行开户记录(A-20261007-08)", "2026-10-07 客户已挂运维团队,开户工单按「承接开户」落到沪东开户组,待孙队分派(团队当时为手工分派)", "2026-10-07 林管登记联通交接单的开通准备资料(办公应用 6 个账号;中国香港 10 兆固定 IP 2 个)"], closeReason: null, materials: ["oss://materials/KL-2026-000008/联通交接单.pdf"],
+      prep: {
+        apps: { 浏览应用: 0, 办公应用: 6, 运营应用: 0, 直播应用: 0, 定制应用: 0 },
+        ips: [{ country: "中国香港", bw: "10兆", count: 2 }],
+        agent: "临港联通 · 张工", agentPhone: "13601700208", handoverOn: "2026-10-06",
+      } },
+    { no: "T-20261012-01", type: "故障", enterprise: 0, account: null, team: 0, assignee: 0, status: "处理中", created: "2026-10-12", doneOn: null, text: "办公网晚高峰丢包,疑似国际出口拥塞。", logs: ["2026-10-12 客户主账号在系统内提交(文字)", "2026-10-12 吴队分派给周宁"], closeReason: null, submitter: "客户主账号", materials: [] },
+    { no: "T-20261014-01", type: "故障", enterprise: 0, account: null, team: 0, assignee: null, status: "待派单", created: "2026-10-14", doneOn: null, text: "机房侧线路需要复查,怀疑楼层弱电间配线架松动。", logs: ["2026-10-14 客户主账号在系统内提交(文字)"], closeReason: null, submitter: "客户主账号", materials: [] },
+    { no: "T-20261010-01", type: "故障", enterprise: 0, account: null, team: 0, assignee: 1, status: "处理中", created: "2026-10-10", doneOn: null, text: "园区弱电井跳纤松动,需上门复位。", logs: ["2026-10-10 客户主账号在系统内提交(文字)", "2026-10-10 吴队分派给李可", "2026-10-11 李可 上门复测,跳纤已复位,观察中"], closeReason: null, submitter: "客户主账号", materials: ["oss://tickets/T-1010/现场照片-1.jpg"] },
+    { no: "T-20261013-01", type: "故障", enterprise: 3, account: null, team: 0, assignee: 1, status: "待处理", created: "2026-10-13", doneOn: null, text: "约定上门时段用户不在,待再次上门排查。", logs: ["2026-10-13 客户主账号电话报修,运维人员代建", "2026-10-13 吴队分派给李可"], closeReason: null, submitter: "运维代建", materials: [] },
+    { no: "T-20260928-01", type: "售后", enterprise: 0, account: null, team: 0, assignee: 1, status: "已完成", created: "2026-09-28", doneOn: "2026-09-29", text: "补充开通说明并回传配置手册。", logs: ["2026-09-28 客户主账号在系统内提交(文字)", "2026-09-29 李可填写处理记录并完成"], closeReason: null, submitter: "客户主账号", materials: [] },
+    { no: "T-20261014-02", type: "故障", enterprise: 0, account: 0, team: 0, assignee: 0, status: "处理中", created: "2026-10-14", doneOn: null, text: "我的座位网络登不上。", logs: ["2026-10-14 下属分账号张敏在系统内提交", "2026-10-14 吴队分派给周宁"], closeReason: null, submitter: "下属分账号", materials: [] },
+    { no: "T-20261009-01", contractNo: "HT-HL-20251001", type: "到期停机", enterprise: 4, account: null, team: 0, assignee: 0, status: "待处理", created: "2026-10-09", doneOn: null, text: "订阅于 2026-09-30 到期,次日生成到期停机记录。停机不把计费延长过结束日。", logs: ["2026-10-09 定时任务生成待执行到期停机记录(A-20261009-23)", "2026-10-09 吴队分派给周宁"], closeReason: null, materials: [] },
+    { no: "T-20261008-01", type: "故障", enterprise: 0, account: null, team: 0, assignee: 1, status: "已关闭", created: "2026-10-08", doneOn: "2026-10-09", text: "重复报修:办公网丢包。", logs: ["2026-10-08 客户主账号在系统内提交", "2026-10-08 分派给李可", "2026-10-09 吴队关闭:与 10-12 晚高峰丢包工单重复,合并处理"], closeReason: "与同期晚高峰丢包工单重复,合并处理。", submitter: "客户主账号", materials: [] },
+    /* 客户已在用时新增订阅 → 服务开通工单:不带开停记录、不改客户服务开通状态,按套餐带出的服务清单逐条核对,
+       全部核对后填实际开通日完成,实际开通日写回 sub 指向的订阅。创建满 7 个自然日仍未完成即进超期提醒。 */
+    { no: "T-20261007-02", contractNo: "HT-WM-20261008", type: "服务开通", enterprise: 3, account: null, team: 0, assignee: 1, status: "处理中", created: "2026-10-07", doneOn: null, sub: 8, extendUntil: null,
+      text: "HT-WM-20261008 新增叠加订阅「单独境外 IP(按个叠加)」,客户已在用,请在网络侧开通下列 3 项服务。",
+      logs: ["2026-10-07 林管 新增叠加订阅,自动生成服务开通工单", "2026-10-08 吴队分派给李可"], closeReason: null, materials: [],
+      svcItems: [
+        { text: "网络带宽:按个计,不占带宽", done: false },
+        { text: "单独境外 IP(按个叠加):个数与单价以合同为准(本条订阅年价 1920 元),不补建分账号档案", done: false },
+        { text: "套餐权益:80 元/个/月,与主档叠加订阅、各自计费;个数与单价在订阅上按合同改写", done: false },
+      ] },
+    /* 已闭环全流程演示:运营商反馈先到(执行结论即时生效)→ 人工补齐必填组 → 已完成 → 竣工回传 → 运营商回执确认 → 已闭环。
+       回填四组字段齐备(标识与定位 / 线路与路由 / IP 与凭据 / 执行结论与凭证);PIN 码与 CPID 展示脱敏,处理记录只记条数。
+       回填记录带 ext(有外部报文写入)与 mixed(人工在报文之后补录改写),回填来源据此判为「人工与反馈混合」。 */
+    { no: "T-20260829-01", contractNo: "HT-CFA-20260901", type: "开户", enterprise: 2, account: null, team: 0, assignee: 0, status: "已闭环", created: "2026-08-29", doneOn: "2026-09-01",
+      text: "HT-CFA-20260901 直播高需求 · A 类(美国出口,境外 IP 1 个)合同套餐已建立,网络侧开通客户与 1 个分账号。",
+      logs: ["2026-08-29 生成待执行开户记录(A-20260829-05)", "2026-08-29 吴队分派给周宁",
+        "2026-08-30 周宁 登记交接单开通准备资料(共 1 个账号):直播应用 1 个;境外 IP 美国 10兆 × 1;经办人 苏州移动 · 刘经理(13800002201)· 交接单 2026-08-29",
+        "2026-09-01 【运营商反馈】按联通订单号 CM-SZ-20260828-042 归属本单:动作 开户 · 结论 成功 · 实际开通日 2026-09-01。执行结论即时生效——开停记录置执行成功、客户账户改在用、计费自该日起算;报文不携路由 / IP / 凭据明细,工单保持处理中并列出竣工缺口",
+        "2026-09-01 周宁 补齐反馈缺的必填组,回填开户执行结论「成功」:实际开通日 2026-09-01 · 施工人 赵工 · 完成时间 2026-09-01 16:40;本次开通 1 个账号;境外 IP 1 条(接入凭据 1 组,凭据与截图不入处理记录)",
+        "2026-09-01 周宁 竣工回传(JC-20260901-01):竣工单已生成并回传运营商,待回执确认",
+        "2026-09-02 周宁 运营商回执确认,工单闭环"],
+      closeReason: null,
+      materials: ["oss://materials/KL-2026-000012/联通交接单.pdf", "oss://回填凭证/T-20260829-01/零信任放行截图.png", "oss://竣工回传/JC-20260901-01.pdf"],
+      prep: {
+        apps: { 浏览应用: 0, 办公应用: 0, 运营应用: 0, 直播应用: 1, 定制应用: 0 },
+        ips: [{ country: "美国", bw: "10兆", count: 1 }],
+        agent: "苏州移动 · 刘经理", agentPhone: "13800002201", handoverOn: "2026-08-29",
+      },
+      backfill: {
+        result: "成功", reason: "", openedOn: "2026-09-01", builder: "赵工", doneAt: "2026-09-01 16:40", ruleVer: "IPRULE-2026.09",
+        ext: true, mixed: true,
+        rows: [{ acct: "caf-1", netAcct: "chenafu@caf", ip: "10.86.12.21", mask: "255.255.255.0", gw: "10.86.12.1", vlan: "120", vni: "50120", srcEnd: "昆山玉山镇中华园东路 58 号 402", dstEnd: "洛杉矶 POP-LAX-03", pop: "POP-LAX-03", bwDown: "10M", bwUp: "10M", cpe: "CPE-A610" }],
+        ips: [{ exit: "美国", addr: "156.240.86.37", kind: "固定 IP", bw: "10兆", pin: "884213", cpid: "CPID-77213588" }],
+        evidences: ["oss://回填凭证/T-20260829-01/零信任放行截图.png"], photos: [],
+      },
+      closure: { no: "JC-20260901-01", action: "开户", conclusion: "成功", sentOn: "2026-09-01", receipt: "2026-09-02", ruleVer: "IPRULE-2026.09", file: "oss://竣工回传/JC-20260901-01.pdf" } },
+    /* ↓ 以下 15 张为补齐「工单类型 × 流程节点」全组合的补充样例(开户:处理中 / 已完成 / 已关闭;
+       服务开通:待派单 / 已完成 / 已闭环 / 已关闭;到期停机:处理中 / 已完成 / 已闭环 / 已关闭;
+       故障:已完成;售后:待派单 / 处理中 / 已关闭)。追加在数组末尾,不打乱既有工单下标
+       (feedback 与开停记录按 tickets 下标引用既有工单)。 */
+    { no: "T-20261015-01", type: "开户", enterprise: 5, account: null, team: 0, assignee: 0, status: "处理中", created: "2026-10-15", doneOn: null,
+      text: "联通交接单已到手,合同评审中、网络侧先行准备。本单只开通客户本身,不含下属分账号。",
+      logs: ["2026-10-15 生成待执行开户记录(A-20261015-02)", "2026-10-15 吴队分派给周宁",
+        "2026-10-15 周宁 登记交接单开通准备资料(共 1 个账号):浏览应用 1 个;境外 IP 新加坡 10兆 × 1;经办人 上海联通 · 王经理(13601700101)· 交接单 2026-10-14"],
+      closeReason: null, materials: ["oss://materials/KL-2026-000026/联通交接单.pdf"],
+      prep: {
+        apps: { 浏览应用: 1, 办公应用: 0, 运营应用: 0, 直播应用: 0, 定制应用: 0 },
+        ips: [{ country: "新加坡", bw: "10兆", count: 1 }],
+        agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-10-14",
+      } },
+    { no: "T-20260620-01", contractNo: "HT-GZ-20260701", type: "开户", enterprise: 6, account: null, team: 0, assignee: 0, status: "已完成", created: "2026-06-20", doneOn: "2026-07-01",
+      text: "HT-GZ-20260701 跨境办公 · 独立 IP 档(新加坡出口,境外 IP 1 个)合同套餐已建立,网络侧开通客户与 2 个分账号。",
+      logs: ["2026-06-20 生成待执行开户记录(A-20260620-03)", "2026-06-20 吴队分派给周宁",
+        "2026-06-21 周宁 登记交接单开通准备资料(共 2 个账号):办公应用 4 个、运营应用 2 个;境外 IP 新加坡 10兆 × 1;经办人 广州移动 · 区经理(13800004401)· 交接单 2026-06-18",
+        "2026-07-01 周宁 回填开户执行结论「成功」:实际开通日 2026-07-01 · 施工人 赵工 · 完成时间 2026-07-01 15:20;本次开通 2 个账号;境外 IP 1 条(接入凭据 1 组,凭据与截图不入处理记录)",
+        "2026-07-01 周宁 备注:现场实测需 2 个境外 IP、合同核定 1 个,竣工回传暂缓、待合同修订核定后办理,工单停在已完成"],
+      closeReason: null,
+      materials: ["oss://materials/KL-2026-000031/移动交接单.pdf", "oss://回填凭证/T-20260620-01/零信任放行截图.png"],
+      prep: {
+        apps: { 浏览应用: 0, 办公应用: 4, 运营应用: 2, 直播应用: 0, 定制应用: 0 },
+        ips: [{ country: "新加坡", bw: "10兆", count: 1 }],
+        agent: "广州移动 · 区经理", agentPhone: "13800004401", handoverOn: "2026-06-18",
+      },
+      backfill: {
+        result: "成功", reason: "", openedOn: "2026-07-01", builder: "赵工", doneAt: "2026-07-01 15:20", ruleVer: "IPRULE-2026.06",
+        ext: false, mixed: false,
+        rows: [
+          { acct: "tghb-1", netAcct: "quxs@tghb", ip: "10.66.21.11", mask: "255.255.255.0", gw: "10.66.21.1", vlan: "210", vni: "50210", srcEnd: "广州市天河区天河北路 233 号 12 层 05 室", dstEnd: "新加坡 POP-SIN-02", pop: "POP-SIN-02", bwDown: "10M", bwUp: "10M", cpe: "CPE-B210" },
+          { acct: "tghb-2", netAcct: "", ip: "10.66.21.12", mask: "255.255.255.0", gw: "10.66.21.1", vlan: "210", vni: "50210", srcEnd: "广州市天河区天河北路 233 号 12 层 05 室", dstEnd: "新加坡 POP-SIN-02", pop: "POP-SIN-02", bwDown: "10M", bwUp: "10M", cpe: "CPE-B211" },
+        ],
+        ips: [{ exit: "新加坡", addr: "103.216.45.18", kind: "固定 IP", bw: "10兆", pin: "704812", cpid: "CPID-63018947" }],
+        evidences: ["oss://回填凭证/T-20260620-01/零信任放行截图.png"], photos: [],
+      } },
+    { no: "T-20261003-01", contractNo: "HT-LG-20261002", type: "开户", enterprise: 1, account: null, team: 1, assignee: null, status: "已关闭", created: "2026-10-03", doneOn: "2026-10-06",
+      text: "客户要求先行开户(临港联通交接单已到手),后因工商变更资料不齐暂缓,本单终止。",
+      logs: ["2026-10-03 生成待执行开户记录(A-20261003-11)", "2026-10-03 客户已挂运维团队,开户工单按「承接开户」落到沪东开户组", "2026-10-04 林管 登记交接单开通准备资料(办公应用 6 个账号;中国香港 10 兆固定 IP 2 个)",
+        "2026-10-06 孙队关闭:客户营业执照工商变更未完成、资料不齐暂缓开户;A-20261003-11 改执行失败,待变更完成后重新建单"],
+      closeReason: "客户营业执照工商变更未完成、资料不齐暂缓开户,待完成后重新建单(见 T-20261007-01)。",
+      materials: ["oss://materials/KL-2026-000008/联通交接单.pdf"],
+      prep: {
+        apps: { 浏览应用: 0, 办公应用: 6, 运营应用: 0, 直播应用: 0, 定制应用: 0 },
+        ips: [{ country: "中国香港", bw: "10兆", count: 2 }],
+        agent: "临港联通 · 张工", agentPhone: "13601700208", handoverOn: "2026-10-02",
+      } },
+    { no: "T-20261013-02", contractNo: "HT-GZ-20261013", type: "服务开通", enterprise: 6, account: null, team: 0, assignee: null, status: "待派单", created: "2026-10-13", doneOn: null, sub: 12, extendUntil: null,
+      text: "HT-GZ-20261013 新增叠加订阅「单独境外 IP(按个叠加)」,客户已在用,请在网络侧开通下列 3 项服务。",
+      logs: ["2026-10-13 林管 新增叠加订阅,自动生成服务开通工单"], closeReason: null, materials: [],
+      svcItems: [
+        { text: "网络带宽:按个计,不占带宽", done: false },
+        { text: "单独境外 IP(按个叠加):个数与单价以合同为准(本条订阅年价 960 元),不补建分账号档案", done: false },
+        { text: "套餐权益:80 元/个/月,与主档叠加订阅、各自计费", done: false },
+      ] },
+    { no: "T-20260901-01", contractNo: "HT-CL-20260901", type: "服务开通", enterprise: 0, account: null, team: 0, assignee: 1, status: "已完成", created: "2026-09-01", doneOn: "2026-09-03", sub: 9, extendUntil: null,
+      text: "HT-CL-20260901 新增标准档订阅(美国出口,境外 IP 1 个),客户已在用,请在网络侧开通下列 3 项服务。",
+      logs: ["2026-09-01 林管 新增订阅,自动生成服务开通工单", "2026-09-01 吴队分派给李可",
+        "2026-09-03 李可 3 项服务全部核对完成:实际开通日 2026-09-03 写回订阅;下行 10M/上行 1M 生效,美国出口核定 1 条境外 IP 已按合同分配",
+        "2026-09-03 李可 备注:竣工回传随美国出口调整批次统一办理,暂留已完成"],
+      closeReason: null, materials: [],
+      svcItems: [
+        { text: "网络带宽:下行 10M/上行 1M", done: true },
+        { text: "单独境外 IP:美国出口核定 1 条境外 IP,已按合同分配", done: true },
+        { text: "套餐权益:标准档(美国出口),与既有中国香港档额度累加", done: true },
+      ] },
+    { no: "T-20260318-01", contractNo: "HT-CL-20260318", type: "服务开通", enterprise: 0, account: null, team: 0, assignee: 0, status: "已闭环", created: "2026-03-18", doneOn: "2026-03-21", sub: 1, extendUntil: null,
+      text: "HT-CL-20260318 新增正式订阅(中国香港出口),客户已在用,请在网络侧开通下列 3 项服务。",
+      logs: ["2026-03-18 林管 新增订阅,自动生成服务开通工单", "2026-03-18 吴队分派给周宁",
+        "2026-03-20 周宁 3 项服务全部核对完成:实际开通日 2026-03-20 写回订阅;额度内 2 个分账号改在用",
+        "2026-03-20 周宁 竣工回传(JC-20260320-01):竣工单已生成并回传运营商,待回执确认",
+        "2026-03-21 周宁 运营商回执确认,工单闭环"],
+      closeReason: null, materials: ["oss://竣工回传/JC-20260320-01.pdf"],
+      svcItems: [
+        { text: "网络带宽:下行 20M/上行 2M", done: true },
+        { text: "单独境外 IP:中国香港(本条合同核定境外 IP 0 条,无需登记 IP 凭据)", done: true },
+        { text: "套餐权益:标准档(中国香港出口),额度内分账号随本单启用", done: true },
+      ],
+      closure: { no: "JC-20260320-01", action: "服务开通", conclusion: "成功", sentOn: "2026-03-20", receipt: "2026-03-21", ruleVer: "IPRULE-2026.03", file: "oss://竣工回传/JC-20260320-01.pdf" } },
+    { no: "T-20260908-01", contractNo: "HT-WM-20260908", type: "服务开通", enterprise: 3, account: null, team: 0, assignee: 1, status: "已关闭", created: "2026-09-08", doneOn: "2026-09-10", sub: null, extendUntil: null,
+      text: "HT-WM-20260908 新增叠加订阅「单独境外 IP(按个叠加)」(日本出口),客户已在用,请在网络侧开通下列 2 项服务。",
+      logs: ["2026-09-08 运营人员代录新增叠加订阅,自动生成服务开通工单", "2026-09-09 吴队分派给李可",
+        "2026-09-10 吴队关闭:客户撤回叠加需求,订阅与合同已一并删除,无处回写,本单终止"],
+      closeReason: "客户撤回叠加需求,订阅与合同已一并删除,无处回写,本单终止。", materials: [],
+      svcItems: [
+        { text: "网络带宽:按个计,不占带宽", done: false },
+        { text: "单独境外 IP(按个叠加):日本出口 × 1,个数与单价以合同为准", done: false },
+      ] },
+    { no: "T-20260318-02", contractNo: "HT-CL-20250318", type: "到期停机", enterprise: 0, account: null, team: 0, assignee: 0, status: "处理中", created: "2026-03-18", doneOn: null,
+      text: "老线路资源到期(中国香港出口 IP 1 个与网络设备 1 台,随 HT-CL-20250318 叠加订阅到期),停机不影响客户在用新订阅。",
+      logs: ["2026-03-18 定时任务生成待执行到期停机记录(A-20260318-02)", "2026-03-18 吴队分派给周宁",
+        "2026-03-19 【运营商反馈】按联通订单号 CU-SH-20250315-011 归属本单:动作 到期停机 · 结论 失败 · 割接窗口未执行。执行结论即时生效——开停记录置执行失败",
+        "2026-03-19 周宁 保存回填失败结论,等待联通侧改期割接窗口后再执行"],
+      closeReason: null, materials: ["oss://回填凭证/T-20260318-02/联通割接改期说明.png"],
+      backfill: {
+        result: "失败", reason: "割接窗口未执行,等待联通侧改期", openedOn: null, builder: "赵工", doneAt: "2026-03-19 18:05", ruleVer: "IPRULE-2026.09",
+        ext: true, mixed: true, rows: [], ips: [],
+        evidences: ["oss://回填凭证/T-20260318-02/联通割接改期说明.png"], photos: [],
+      } },
+    { no: "T-20260921-01", contractNo: "HT-QH-20250921", type: "到期停机", enterprise: 7, account: null, team: 0, assignee: 0, status: "已完成", created: "2026-09-21", doneOn: "2026-09-22",
+      text: "订阅于 2026-09-20 到期未续费,次日生成到期停机记录。停机不把计费延长过结束日。",
+      logs: ["2026-09-21 定时任务生成待执行到期停机记录(A-20260921-04)", "2026-09-21 吴队分派给周宁",
+        "2026-09-22 周宁 回填到期停机执行结论「成功」:停机完成日 2026-09-22 · 施工人 赵工 · 完成时间 2026-09-22 18:00;客户账户及其在用分账号改停用",
+        "2026-09-22 周宁 备注:竣工回传每月 25 日统一办理,工单暂留已完成"],
+      closeReason: null, materials: ["oss://回填凭证/T-20260921-01/停机确认截图.png"],
+      backfill: { result: "成功", reason: "", openedOn: "2026-09-22", builder: "赵工", doneAt: "2026-09-22 18:00", ruleVer: "IPRULE-2026.09", ext: false, mixed: false, rows: [], ips: [], evidences: ["oss://回填凭证/T-20260921-01/停机确认截图.png"], photos: [] } },
+    { no: "T-20260901-02", contractNo: "HT-JT-20260705", type: "到期停机", enterprise: 8, account: null, team: 0, assignee: 0, status: "已闭环", created: "2026-09-01", doneOn: "2026-09-04",
+      text: "订阅于 2026-08-31 到期未续费,次日生成到期停机记录。停机不把计费延长过结束日。",
+      logs: ["2026-09-01 定时任务生成待执行到期停机记录(A-20260901-09)", "2026-09-01 吴队分派给周宁",
+        "2026-09-02 周宁 回填到期停机执行结论「成功」:停机完成日 2026-09-02 · 施工人 赵工 · 完成时间 2026-09-02 17:30;客户账户及其 2 个在用分账号改停用",
+        "2026-09-02 周宁 竣工回传(JC-20260902-01):竣工单已生成并回传运营商,待回执确认",
+        "2026-09-04 周宁 运营商回执确认,工单闭环"],
+      closeReason: null, materials: ["oss://回填凭证/T-20260901-02/停机确认截图.png", "oss://竣工回传/JC-20260902-01.pdf"],
+      backfill: { result: "成功", reason: "", openedOn: "2026-09-02", builder: "赵工", doneAt: "2026-09-02 17:30", ruleVer: "IPRULE-2026.09", ext: false, mixed: false, rows: [], ips: [], evidences: ["oss://回填凭证/T-20260901-02/停机确认截图.png"], photos: [] },
+      closure: { no: "JC-20260902-01", action: "到期停机", conclusion: "成功", sentOn: "2026-09-02", receipt: "2026-09-04", ruleVer: "IPRULE-2026.09", file: "oss://竣工回传/JC-20260902-01.pdf" } },
+    { no: "T-20260701-01", contractNo: "HT-JT-20250701", type: "到期停机", enterprise: 8, account: null, team: 0, assignee: 0, status: "已关闭", created: "2026-07-01", doneOn: "2026-07-03",
+      text: "订阅于 2026-06-30 到期,次日生成到期停机记录。客户续费承接中,本单暂缓执行。",
+      logs: ["2026-07-01 定时任务生成待执行到期停机记录(A-20260701-06)", "2026-07-01 吴队分派给周宁",
+        "2026-07-03 吴队关闭:客户续费承接(HT-JT-20260705,2026-07-05 起),本单停机动作不再需要执行;旧线路资源随新订阅停机单一并停机,A-20260701-06 改执行失败"],
+      closeReason: "客户续费承接(HT-JT-20260705,2026-07-05 起),本单停机动作不再需要执行,终止。", materials: [] },
+    { no: "T-20261014-03", type: "故障", enterprise: 0, account: null, team: 0, assignee: 1, status: "已完成", created: "2026-10-14", doneOn: "2026-10-15", text: "视频会议偶发卡顿,排查出口链路。", logs: ["2026-10-14 客户主账号在系统内提交(文字)", "2026-10-14 吴队分派给李可", "2026-10-15 李可 处理完成:美国出口段抖动,切备用平面后恢复,观察 24 小时无复现"], closeReason: null, submitter: "客户主账号", materials: [] },
+    { no: "T-20261014-04", type: "售后", enterprise: 4, account: null, team: 0, assignee: null, status: "待派单", created: "2026-10-14", doneOn: null, text: "咨询续约优惠与单独境外 IP 增购价格,待回复配置说明。", logs: ["2026-10-14 运营商客服转交,周宁代建"], closeReason: null, submitter: "运维代建", materials: [] },
+    { no: "T-20261013-03", type: "售后", enterprise: 6, account: null, team: 0, assignee: 0, status: "处理中", created: "2026-10-13", doneOn: null, text: "要求出具 7-9 月新加坡出口用量清单与对账单核对说明。", logs: ["2026-10-13 企业微信咨询转工单,周宁代建", "2026-10-13 吴队分派给周宁"], closeReason: null, submitter: "运维代建", materials: [] },
+    { no: "T-20261009-02", type: "售后", enterprise: 2, account: null, team: 0, assignee: 1, status: "已关闭", created: "2026-10-09", doneOn: "2026-10-10", text: "咨询直播档是否支持多店铺同时开播与链接数。", logs: ["2026-10-09 客户主账号在系统内提交(文字)", "2026-10-09 分派给李可", "2026-10-10 吴队关闭:客户撤回咨询(已电话线下答复),无需继续处理"], closeReason: "客户撤回咨询(已电话线下答复),无需继续处理。", submitter: "客户主账号", materials: [] },
+    /* ↓ 沪东开户组名下的历史开户单(idx26):澄澜科技签 HT-CL-20260318 后由承接开户的运维团队(沪东开户组)落单,
+       2026-03-20 赵工回填成功,客户账户与 2 个分账号转在用,与客户档案的服务开通状态变更记录一一对应。 */
+    { no: "T-20260318-03", contractNo: "HT-CL-20260318", type: "开户", enterprise: 0, account: null, team: 1, assignee: 2, status: "已完成", created: "2026-03-18", doneOn: "2026-03-20",
+      text: "HT-CL-20260318 跨境办公 · 标准档(中国香港出口,合同核定境外 IP 0 条)合同套餐已建立,网络侧开通客户与 2 个分账号。",
+      logs: ["2026-03-18 生成待执行开户记录(A-20260318-03)", "2026-03-18 客户已挂运维团队,开户工单按「承接开户」落到沪东开户组", "2026-03-18 孙队 按自动平均分派给赵工",
+        "2026-03-18 赵工 登记交接单开通准备资料(共 2 个账号):办公应用 2 个;经办人 上海联通 · 王经理(13601700101)· 交接单 2026-03-16",
+        "2026-03-20 赵工 回填开户执行结论「成功」:实际开通日 2026-03-20 · 施工人 赵工 · 完成时间 2026-03-20 16:40;本次开通 2 个账号;合同核定境外 IP 0 条,本单无境外 IP 待配"],
+      closeReason: null, submitter: "系统自动",
+      materials: ["oss://materials/KL-2026-000001/联通交接单.pdf", "oss://回填凭证/T-20260318-03/零信任放行截图.png"],
+      prep: {
+        apps: { 浏览应用: 0, 办公应用: 2, 运营应用: 0, 直播应用: 0, 定制应用: 0 },
+        ips: [],
+        agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-03-16",
+      },
+      backfill: {
+        result: "成功", reason: "", openedOn: "2026-03-20", builder: "赵工", doneAt: "2026-03-20 16:40", ruleVer: "IPRULE-2026.03",
+        ext: false, mixed: false,
+        rows: [
+          { acct: "clkj-1", netAcct: "zhangmin@clkj", ip: "10.20.8.11", mask: "255.255.255.0", gw: "10.20.8.1", vlan: "810", vni: "50810", srcEnd: "上海市浦东新区金港路 300 号 6 号楼 3 层", dstEnd: "中国香港 POP-HKG-01", pop: "POP-HKG-01", bwDown: "10M", bwUp: "1M", cpe: "CPE-C810" },
+          { acct: "clkj-2", netAcct: "", ip: "10.20.8.12", mask: "255.255.255.0", gw: "10.20.8.1", vlan: "810", vni: "50810", srcEnd: "上海市浦东新区金港路 300 号 6 号楼 3 层", dstEnd: "中国香港 POP-HKG-01", pop: "POP-HKG-01", bwDown: "10M", bwUp: "1M", cpe: "CPE-C811" },
+        ],
+        ips: [],
+        evidences: ["oss://回填凭证/T-20260318-03/零信任放行截图.png"], photos: [],
+      } },
+  ],
+  /* 分成取值只有一处真源:四类分成方(运营商、合伙人、运维团队)各自档案上的 shareMode / shareValue 两列,
+     2026-11-04 业主定案取消逐客户分成规则(原 rules 数组与「区域常规 / 合同增补」层级一并删除),
+     该方名下客户统一按这两个取值计算分成;名下没有客户的该方不产生分成行。 */
+  /* 应扣除成本项是两块功能(见需求规格说明 6.1):① 定义全局一套、不涉及金额;② 金额按「省份 × 运营商」组合各配一套。
+     ① 一条只描述这项成本本身——kind 成本类别、name 项目名称、calc 计算方式、repeat 周期、deduct 是否从分成基数中扣除,
+     不挂在客户或订阅名下,客户与订阅上不录入、不勾选;套餐档位按 name 引用它。
+     ② 存在 amounts[] 里,元素为 { brand: 运营商品牌(联通 / 电信 / 移动), province: 省级区域节点名称, amount },
+     某组合缺条目即该组合未配置:未配置的成本一律按 0 元 / 月计,不在数据里补写 0 条目,取数时按 0 返回。
+     deduct:勾选的按摊销额从基数中扣除;不勾选的本期只做登记,
+     设备采买与项目费用约定的固定金额直接记入分成结果属会议约定的口径,本期不实现。
+     calc:每客户按客户整体计一次,每账号按该客户在期分账号数逐账号计,
+     每份按数量逐份摊销(组合上的 amount 是单份的摊销额,份数取套餐档上这条随附成本项的 qty),用于成本随数量走的项目,
+     例如国家 IP 地址与国际云主机按每个 IP / 每台云主机摊一份。
+     repeat 是周期:本期只有「每月」一个取值,逐月摊销计入;一次性取值待固定金额记入口径沟通确定后再加。
+     amounts 是金额层:2026.10.21 与运营商侧确认「不同运营商有差异,账号收费模式一样,同一运营商全省统一」,
+     故同一成本项为各省的各个运营商各配一个金额,按「省份 × 运营商品牌」取数:brand 为联通 / 电信 / 移动三选一、
+     province 取客户向上最近的省级区域节点名称,
+     同一组合内不再按市细分。组合没配到就是未配置:出账时该项一律按 0 元 / 月计入(等于不从分成基数扣除)、不阻止出账,成本快照记 0 并标「未配置」。
+     线路投入按示例口径建行时不勾选摊销与扣除(仍由操作人勾选,页面不按类别写死);临时成本增补不建数据。
+     某客户本月计入哪几笔由其在用订阅引用的套餐档随附成本项决定(见 packages.costs),金额按该客户的组合取,出账时冻结成该期的成本快照。 */
+  costs: [
+    { kind: "国际资源", name: "国家 IP 地址月摊销", repeat: "每月", calc: "每份", deduct: true, amounts: [
+      { brand: "联通", province: "上海市", amount: 50 },
+      { brand: "联通", province: "江苏省", amount: 45 },
+      { brand: "电信", province: "上海市", amount: 55 },
+      { brand: "电信", province: "江苏省", amount: 48 },
+      { brand: "移动", province: "上海市", amount: 46 },
+      { brand: "电信", province: "广东省", amount: 60 },
+      { brand: "移动", province: "江苏省", amount: 42 },
+      { brand: "移动", province: "广东省", amount: 52 },
+    ] },
+    { kind: "国际资源", name: "国际云主机月摊销", repeat: "每月", calc: "每份", deduct: true, amounts: [
+      { brand: "联通", province: "上海市", amount: 30 },
+      { brand: "联通", province: "江苏省", amount: 28 },
+      { brand: "电信", province: "上海市", amount: 33 },
+      { brand: "移动", province: "上海市", amount: 26 },
+      { brand: "电信", province: "广东省", amount: 35 },
+      { brand: "移动", province: "广东省", amount: 32 },
+    ] },
+    { kind: "国际资源", name: "国际出口带宽月摊销", repeat: "每月", calc: "每账号", deduct: true, amounts: [
+      { brand: "联通", province: "上海市", amount: 80 },
+      { brand: "联通", province: "江苏省", amount: 72 },
+      { brand: "电信", province: "广东省", amount: 90 },
+      { brand: "移动", province: "江苏省", amount: 65 },
+    ] },
+    /* 演示「组合未配置」:这一条只配了联通/上海市,其余组合出账时该项按 0 元 / 月计入并标未配置 */
+    { kind: "项目费用", name: "园区机房改造项目月摊销", repeat: "每月", calc: "每客户", deduct: false, amounts: [
+      { brand: "联通", province: "上海市", amount: 1200 },
+    ] },
+  ],
+  /* 客户应收结算记录:一条 = 一份生效订阅 × 一个自然月,是计费的原始依据。
+     costs 是出账时冻结的成本快照,同时记取数所用的「省份 × 运营商」组合(combo),此后改组合金额不改写本条。
+     shares 每条带 ch / ref 标明该笔分成的分成方,账单明细与对账清单即按此围绕分成方展开;
+     「未配置,计 0」的占位行不带 ch / ref,不进对账。 */
+  settlements: [
+    {
+      enterprise: 0, sub: 1, month: "2026-03", days: 12, monthDays: 31, partial: true, std: 120, amount: 46.45, tail: false, exact: 46.45,
+      costs: [], base: 46.45,
+      shares: [
+        { ch: "operator", ref: 0, who: "联通", mode: "按比例", rate: 0.2, amount: 9.29 },
+        { ch: "team", ref: 0, who: "华东运维", mode: "按每账号", per: 50, accounts: 5, amount: 112.90 },
+        { ch: "team", ref: 1, who: "沪东开户组", mode: "按比例", rate: 0.05, amount: 2.32 },
+        { ch: "partner", ref: 0, who: "邹合", mode: "按比例", rate: 0.05, amount: 2.32 },
+      ],
+      attrs: "联通 / 邹合(华东) / 华东运维 / 沪东开户组",
+    },
+    {
+      enterprise: 0, sub: 1, month: "2026-04", days: 30, monthDays: 30, partial: false, std: 120, amount: 120, tail: false, exact: 120,
+      costs: [], base: 120,
+      shares: [
+        { ch: "operator", ref: 0, who: "联通", mode: "按比例", rate: 0.2, amount: 24 },
+        { ch: "team", ref: 0, who: "华东运维", mode: "按每账号", per: 50, accounts: 5, amount: 250 },
+        { ch: "team", ref: 1, who: "沪东开户组", mode: "按比例", rate: 0.05, amount: 6 },
+        { ch: "partner", ref: 0, who: "邹合", mode: "按比例", rate: 0.05, amount: 6 },
+      ],
+      attrs: "联通 / 邹合(华东) / 华东运维 / 沪东开户组",
+    },
+    {
+      enterprise: 0, sub: 1, month: "2026-09", days: 30, monthDays: 30, partial: false, std: 120, amount: 120, tail: false, exact: 120,
+      costs: [], base: 120,
+      shares: [
+        { ch: "operator", ref: 0, who: "联通", mode: "按比例", rate: 0.2, amount: 24 },
+        { ch: "team", ref: 0, who: "华东运维", mode: "按每账号", per: 50, accounts: 5, amount: 250 },
+        { ch: "team", ref: 1, who: "沪东开户组", mode: "按比例", rate: 0.05, amount: 6 },
+        { ch: "partner", ref: 0, who: "邹合", mode: "按比例", rate: 0.05, amount: 6 },
+      ],
+      attrs: "联通 / 邹合(华东) / 华东运维 / 沪东开户组",
+    },
+    {
+      enterprise: 3, sub: 4, month: "2026-09", days: 30, monthDays: 30, partial: false, std: 480, amount: 480, tail: false, exact: 480,
+      costs: [{ name: "国家 IP 地址月摊销", amount: 46 }], combo: "上海市 / 移动", base: 434,
+      shares: [
+        { ch: "operator", ref: 2, who: "上海市 / 移动", mode: "按比例", rate: 0.15, amount: 65.1 },
+        { ch: "team", ref: 0, who: "华东运维", mode: "按比例", rate: 0.1, amount: 43.4 },
+        { ch: "team", ref: 1, who: "沪东开户组", mode: "按比例", rate: 0.05, amount: 21.7 },
+        { ch: "partner", ref: 1, who: "何南", mode: "按比例", rate: 0.08, amount: 34.72 },
+      ],
+      attrs: "移动 / 何南(华南) / 华东运维 / 沪东开户组",
+    },
+    {
+      enterprise: 3, sub: 5, month: "2026-09", days: 30, monthDays: 30, partial: false, std: 160, amount: 160, tail: false, exact: 160,
+      costs: [{ name: "国际云主机月摊销", amount: 26 }], combo: "上海市 / 移动", base: 134,
+      shares: [
+        { ch: "operator", ref: 2, who: "上海市 / 移动", mode: "按比例", rate: 0.15, amount: 20.1 },
+        { ch: "team", ref: 0, who: "华东运维", mode: "按比例", rate: 0.1, amount: 13.4 },
+        { ch: "team", ref: 1, who: "沪东开户组", mode: "按比例", rate: 0.05, amount: 6.7 },
+        { ch: "partner", ref: 1, who: "何南", mode: "按比例", rate: 0.08, amount: 10.72 },
+      ],
+      attrs: "移动 / 何南(华南) / 华东运维 / 沪东开户组(叠加订阅各算各的;叠加增值不占分账号额度)",
+    },
+    {
+      enterprise: 4, sub: 6, month: "2026-09", days: 30, monthDays: 30, partial: false, std: 160, amount: 160, tail: true, exact: 160,
+      costs: [{ name: "国家 IP 地址月摊销", amount: 50 }], combo: "上海市 / 联通", base: 110,
+      shares: [
+        { ch: "operator", ref: 0, who: "联通", mode: "按比例", rate: 0.2, amount: 22 },
+        { ch: "team", ref: 0, who: "华东运维", mode: "按比例", rate: 0.1, amount: 11 },
+        { who: "沪东开户组(该客户未挂,计 0)", mode: "—", rate: 0, amount: 0 },
+        { ch: "partner", ref: 0, who: "邹合", mode: "按比例", rate: 0.05, amount: 5.5 },
+      ],
+      attrs: "联通 / 邹合(华东) / 华东运维 / 未挂沪东开户组",
+    },
+    /* 广东省 / 移动(客户 6 · 订阅 11)三条连续期次,演示出账状态三态(判据见需求规格说明 8.2):
+       该客户没有合伙人,归属的华东运维未配分成取值(计 0、不进对账),唯一分成方广东省 / 移动的对账日是 20 日。
+       7 月批次生成中断(执行失败)→ 出账异常;8 月批次已执行 → 已出账;
+       9 月批次要到 2026-10-20 才出,今天(10-15)各分成方都还没到对账日 → 未出账,这正是未出账该出现的唯一情形 */
+    {
+      enterprise: 6, sub: 11, month: "2026-07", days: 31, monthDays: 31, partial: false, std: 160, amount: 160, tail: false, exact: 160,
+      costs: [{ name: "国家 IP 地址月摊销", amount: 52 }], combo: "广东省 / 移动", base: 108,
+      shares: [
+        { ch: "operator", ref: 5, who: "广东省 / 移动", mode: "按比例", rate: 0.12, amount: 12.96 },
+        { who: "华东运维(未配置,计 0)", mode: "—", rate: 0, amount: 0 },
+      ],
+      attrs: "广东省 / 移动 / 无合伙人 / 运维团队未配分成取值(计 0)",
+    },
+    {
+      enterprise: 6, sub: 11, month: "2026-08", days: 31, monthDays: 31, partial: false, std: 160, amount: 160, tail: false, exact: 160,
+      costs: [{ name: "国家 IP 地址月摊销", amount: 52 }], combo: "广东省 / 移动", base: 108,
+      shares: [
+        { ch: "operator", ref: 5, who: "广东省 / 移动", mode: "按比例", rate: 0.12, amount: 12.96 },
+        { who: "华东运维(未配置,计 0)", mode: "—", rate: 0, amount: 0 },
+      ],
+      attrs: "广东省 / 移动 / 无合伙人 / 运维团队未配分成取值(计 0)",
+    },
+    {
+      enterprise: 6, sub: 11, month: "2026-09", days: 30, monthDays: 30, partial: false, std: 160, amount: 160, tail: false, exact: 160,
+      costs: [{ name: "国家 IP 地址月摊销", amount: 52 }], combo: "广东省 / 移动", base: 108,
+      shares: [
+        { ch: "operator", ref: 5, who: "广东省 / 移动", mode: "按比例", rate: 0.12, amount: 12.96 },
+        { who: "华东运维(未配置,计 0)", mode: "—", rate: 0, amount: 0 },
+      ],
+      attrs: "广东省 / 移动 / 无合伙人 / 运维团队未配分成取值(计 0)",
+    },
+  ],
+  /* 对账清单:一条 = 一个分成方 × 一个已结束自然月。对账是与分成方(运营商 / 合伙人 / 运维团队)进行的,
+     不是与客户,故批次只挂 ch / ref(分成方类型与档案下标),客户与该分成方的对应关系逐条落在 rows 指向的
+     应收结算记录里。同一个结算记录会同时进入多个分成方的批次(各算各的)。
+     运营商按档案上的对账日出批次(无覆盖时按系统默认对账日),合伙人与运维团队按系统默认对账日出批次。 */
+  statements: [
+    { no: "DZD-20261005-LT", day: "2026-10-05", month: "2026-09", ch: "operator", ref: 0, trigger: "自动", status: "已执行", by: "系统", at: "2026-10-05 06:00", rows: [2, 5], warning: "" },
+    { no: "DZD-20261008-YD", day: "2026-10-08", month: "2026-09", ch: "operator", ref: 2, trigger: "自动", status: "已执行", by: "系统", at: "2026-10-08 06:00", rows: [3, 4], warning: "" },
+    { no: "DZD-20261005-ZH", day: "2026-10-05", month: "2026-09", ch: "partner", ref: 0, trigger: "自动", status: "已执行", by: "系统", at: "2026-10-05 06:00", rows: [2, 5], warning: "" },
+    { no: "DZD-20261005-YW0", day: "2026-10-05", month: "2026-09", ch: "team", ref: 0, trigger: "自动", status: "已执行", by: "系统", at: "2026-10-05 06:00", rows: [2, 3, 4, 5], warning: "" },
+    { no: "DZD-20261005-SG1", day: "2026-10-05", month: "2026-09", ch: "team", ref: 1, trigger: "自动", status: "已执行", by: "系统", at: "2026-10-05 06:00", rows: [2, 3, 4], warning: "海岚跨境未挂沪东开户组,该分成方本月不计分成" },
+    /* 8 月这两批是「补跑唯一通路」的样本:9-05 自动出批时对账任务中断(执行失败),9-12 人工补跑成功,
+       旧批置「已作废」留痕、新批成为该分成方该月唯一有效结果。⛔ 不存在「已打回」这个中间态(需求 8.2/8.6) */
+    { no: "DZD-20260905-DX", day: "2026-09-05", month: "2026-08", ch: "operator", ref: 1, trigger: "自动", status: "已作废", by: "系统", at: "2026-09-05 06:00", rows: [], warning: "执行失败(对账任务中断),已由 DZD-20260912-DX-R 人工补跑取代,本批不再作为有效分成" },
+    { no: "DZD-20260912-DX-R", day: "2026-09-12", month: "2026-08", ch: "operator", ref: 1, trigger: "人工", status: "已执行", by: "林管", at: "2026-09-12 10:20", rows: [], warning: "人工补跑重出,本批为该分成方 2026-08 唯一有效对账结果" },
+    { no: "DZD-20260605-LT", day: "2026-06-05", month: "2026-05", ch: "operator", ref: 0, trigger: "自动", status: "执行失败", by: "系统", at: "2026-06-05 06:00", rows: [], warning: "对账任务异常中断,等待人工补跑" },
+    { no: "DZD-20260905-HN", day: "2026-09-05", month: "2026-08", ch: "partner", ref: 1, trigger: "自动", status: "已执行", by: "系统", at: "2026-09-05 06:00", rows: [], warning: "何南(华南渠道)8 月尚未配置分成方式,本批 0 条明细" },
+    /* 广东省 / 移动按档案对账日 20 日出账:8 月批次已执行(该期已出账);7 月批次生成时中断、至今未补跑(该期出账异常);
+       9 月批次要到 2026-10-20 才生成,故应收结算记录 8(2026-09)还没进任何批次,是唯一的未出账期次 */
+    { no: "DZD-20260920-GZ", day: "2026-09-20", month: "2026-08", ch: "operator", ref: 5, trigger: "自动", status: "已执行", by: "系统", at: "2026-09-20 06:00", rows: [7], warning: "" },
+    { no: "DZD-20260820-GZ", day: "2026-08-20", month: "2026-07", ch: "operator", ref: 5, trigger: "自动", status: "执行失败", by: "系统", at: "2026-08-20 06:00", rows: [6], warning: "账单明细已生成,清单导出与运营商回传中断,等待授权人在对账清单页人工补跑" },
+    /* 历史月份批次留档:这两批覆盖澄澜科技 2026-03、2026-04 的应收,使其按「已出账」计,
+       未出账只应出现在各分成方都未到对账日的最近一个自然月 */
+    { no: "DZD-20260405-LT", day: "2026-04-05", month: "2026-03", ch: "operator", ref: 0, trigger: "自动", status: "已执行", by: "系统", at: "2026-04-05 06:00", rows: [0], warning: "" },
+    { no: "DZD-20260505-LT", day: "2026-05-05", month: "2026-04", ch: "operator", ref: 0, trigger: "自动", status: "已执行", by: "系统", at: "2026-05-05 06:00", rows: [1], warning: "" },
+  ],
+  /* 客户批量导入批次(见需求规格说明 4.8):一次上传一个文件生成一个批次,批次号贯穿行级结果、续传与按批次导出。
+     rows 每行记 line 行编号、cells 模板 14 列原文、status 成功 / 失败、reason 失败原因、
+     ent 导入生成的客户下标(未成功为 null)。行级明细持久保留,是续传与按批次导出的依据;批次不删除、不撤销。 */
+  importBatches: [
+    {
+      no: "IMP-2026-0001", file: "闵行区客户建档-20261008.csv", by: "林管", at: "2026-10-08 10:05",
+      status: "已完成",
+      rows: [
+        { line: "1", cells: ["1", "海岚跨境电商(上海)", "企业", "周岚", "021-54002023", "上海市闵行区申长路 988 号 3 号楼 5 层", "闵行区", "联通", "邹合", "华东运维", "", "跨境办公 · 独立 IP 档", "hlkjdssh", ""], status: "成功", reason: "", ent: 4 },
+      ],
+    },
+    {
+      no: "IMP-2026-0002", file: "临港与张江客户-20261012.csv", by: "周运营", at: "2026-10-12 09:40",
+      status: "有失败待续传",
+      rows: [
+        { line: "1", cells: ["1", "临港跨境贸易", "企业", "陆港", "021-66002008", "上海市浦东新区环湖西二路 800 号 A 座 11 层", "临港新片区", "电信", "", "华东运维", "", "", "lgkjmy", ""], status: "成功", reason: "", ent: 1 },
+        { line: "2", cells: ["2", "澄澜科技有限公司", "企业", "沈澄", "021-66001001", "上海市浦东新区金港路 300 号 6 号楼 3 层", "浦东新区", "联通", "邹合", "华东运维", "", "跨境办公 · 标准档", "", ""], status: "失败", reason: "客户名称与已有客户「澄澜科技有限公司」(KL-2026-000001)重复,不覆盖已有客户", ent: null },
+        { line: "3", cells: ["3", "张江芯创半导体", "企业", "何工", "021-50003301", "上海市浦东新区祖冲之路 887 号 2 号楼", "张江区", "联通", "", "华东运维", "", "", "", "13900000331"], status: "失败", reason: "所挂区域「张江区」匹配不到,填区域名称原文且需在负责范围内", ent: null },
+        { line: "4", cells: ["4", "陆家嘴外贸服务中心", "个体工商户", "王经理", "021-58002277", "上海市浦东新区世纪大道 100 号 18 层", "浦东新区", "联通", "", "华东运维", "", "", "clkj", ""], status: "失败", reason: "主账号登录名 clkj 已被占用,系统不自动加后缀,请改写后重新上传", ent: null },
+      ],
+    },
+  ],
+  /* 出账更正记录只追加、不删除。region 是该笔差错的归属区域节点:单客户差错记客户所在区域,
+     整批差错记该分成方的建档区域。登记时不叫人选,系统按关联账单推出来。它同时是区域运营的
+     可见范围判据——区域不在其负责范围(含下级区域)内的记录不展示,登记时也落不到范围外的账上。
+     match 是登记当时的匹配结果(第 6 册 对账§14.6):{kind:"bill", ent, month} 或 {kind:"batch", no},
+     命不中候选为 null。⚠️ 命不中⛔ 不影响受理:原文在 bill 里原样存着,详情标「未关联到系统账目」、
+     不给账目入口。批次事后被作废不改 match——历史如实反映「当时关联的是它」。 */
+  notes: [
+    /* 命中候选:澄澜科技 2026-03 已被 DZD-20260405-LT 覆盖(已执行)⇒ 详情给客户账单表与账目入口 */
+    { level: "严重", region: "pd", bill: "澄澜科技 2026-03", match: { kind: "bill", ent: 0, month: "2026-03" }, text: "3 月比例曾按 0.18 录入,已在档案上改为 0.20,从 4 月起生效。3 月账单已递交运营商,原明细保留不改。", by: "林管", at: "2026-04-06 09:30" },
+    /* 命中候选:登记时该批(8 月唯一有效结果)已执行 ⇒ 详情给批次表与账目入口;
+       同一期的上一批 DZD-20260905-DX 因执行失败已作废,本条不指向它 */
+    { level: "严重", region: "shp", bill: "上海市 / 电信 2026-08 对账清单(DZD-20260912-DX-R)", match: { kind: "batch", no: "DZD-20260912-DX-R" }, text: "8 月分成比例误录,期初快照已冻结该错误取值,本批按错误比例出账递交。运营商尚未付款;已出账批次不在系统内改数重出,差额由财务线下对账处理。已在分成档案上改正,从 9 月起生效。", by: "林管", at: "2026-09-12 10:15" },
+    /* 归属广东省:华东运营的账号在本页看不到这条,用于演示按负责范围的可见范围。
+       未命中候选:DZD-20260808-GD 在系统里没有这一批 ⇒ 手工填写且匹配不到,标「未关联到系统账目」、无入口 */
+    { level: "严重", region: "gdp", bill: "广东省 / 电信 2026-07 对账清单(DZD-20260808-GD)", match: null, text: "按季度对账时把 7 月与 8 月并进同一批次,跨了自然月;该分成方尚未付款。已出账批次不在系统内重出,差额由财务线下对账处理,8 月按自然月单独出账。", by: "林管", at: "2026-08-09 11:20" },
+  ],
+  /* 运营商外部报文(反馈 / 竣工回执):不是独立流程,是按联通订单号归属到一张工单上的一次外部回填事件
+     (见运营支撑系统设计说明 6.4、工单流程说明 4.8)。ticket 为归属的工单序号,未归属为 null。
+     state:matched=已归属待本轮生效 / applied=已生效 / nomatch=未归属待挂接或作废 / conflict=与现状冲突待确认
+            / rejected=确认为反馈有误以现状为准 / void=已作废。
+     ⚠️ 种子只放「待处置」两态(未归属、与现状冲突)与「已生效」:归属成功即当轮生效,不存在落库停留的
+        「已归属待生效」;原型没有入站通道,"报文到货"这一机器动作无法在界面触发,生效后的形态由已生效样本演示。 */
+  feedback: [
+    { extNo: "CM-SZ-20260828-042", ticket: 10, action: "开户", conclusion: "成功", date: "2026-09-01", receivedAt: "2026-09-01 09:12", state: "applied",
+      raw: "订单号 CM-SZ-20260828-042;动作 开户;结论 成功;实际开通日 2026-09-01;施工方 苏州移动政企。报文不含账号路由、IP 分配与接入凭据明细。",
+      note: "结论与实际开通日已于 2026-09-01 生效,路由与 IP 凭据明细当日由周宁补齐,工单已完成并闭环。" },
+    { extNo: "CU-SH-20261011-048", ticket: null, action: "开户", conclusion: "成功", date: "2026-10-11", receivedAt: "2026-10-11 16:05", state: "nomatch",
+      raw: "订单号 CU-SH-20261011-048;动作 开户;结论 成功;实际开通日 2026-10-11。报文未携客户识别号,主体号未登记。",
+      note: "订单号在授权范围内查不到对应工单,报文原文留存;不自动创建客户,不改服务开通状态。" },
+    { extNo: "CM-SZ-20260828-042", ticket: 10, action: "开户", conclusion: "成功", date: "2026-10-13", receivedAt: "2026-10-13 11:47", state: "conflict",
+      raw: "订单号 CM-SZ-20260828-042;动作 开户;结论 成功;实际开通日 2026-10-13。",
+      note: "该工单已于 2026-09-01 回填成功并于 09-02 回执闭环,本条报文晚到 42 天且实际开通日与现状不符,不覆盖,待责任人确认。" },
+  ],
+  /* 定时任务执行记录(见需求规格说明 12、运营支撑系统设计说明 9.4):一轮执行一条流水,只追加不修改。
+     scan 本轮纳入检查的对象数;hit 其中满足触发条件的对象数;done / skip / fail 是对命中对象的处置结果,
+     正常跑完的轮次恒有 hit = done + skip + fail;在取数阶段就中断的轮次四项均计 0,失败只记在轮次结果上。
+     数字是当轮执行时的快照,不随后续业务变化回算(例如批次后来作废或被补跑取代,本轮记录仍记「成功」)。
+     handle 是该轮次的处置口径:空 / 待补跑 / 人工补跑完成 / 次日轮询覆盖。
+     route 是给「去处理」留的落地页(对账清单、工单列表),items 为对象级明细,供详情弹窗逐条解释。
+     清单上「无开关」的 OPEN-GEN/SVC-GEN 不成流水:开户记录与工单在业务操作提交的事务内生成并回填,
+     结果就在 A-* 开停记录与工单上,平台侧没有这两个键的轮次。
+     「未启用(注册位待接线)」的 RECON 同样不成流水:尚未接到调度平台、从没跑过一轮,
+     可查流水而流水为空(见第 10 册 3.1),界面一律显空态,不显 0。
+     「启用、启停由平台办理」的 STOP-GEN/OVERDUE/AUTO-CLOSE 已第 1 期接线,轮次由平台控制台调度,
+     本页不渲染启停按钮(见第 10 册 3.1);它们的流水按平台实际执行返回,不在此表预置。
+     「待人工补跑」的演示轮次由已接线作业承载(⚠️ 2026-10-31 U-75 定案派生项 R-4:原先挂在 RECON 上的
+     三条待补跑流水已随「RECON 从未跑过」清空,⛔ 不得再把待补跑轮次挂回未接线的键),本表用 ORPHAN-CLEAN
+     这一轮取数中断的失败轮次保住「待人工补跑」KPI 与页顶告警条的演示能力。
+     ⚠️ 2026-11-05 按审计报告 D7 补种子(业主拍板=只在合规范围内补):本表由 4 轮补到 17 轮,使测试手册
+     第 12 章的抽屉读数与筛选断言重新可测。新增轮次⛔ 不得越出上面四条纪律——一律挂在「可启停且已接线」的
+     SUB-EFF/ORPHAN-CLEAN/REGION-WARM/ONEDIR-CHECK 上,⛔ 不为 RECON/OPEN-GEN/SVC-GEN/STOP-GEN/
+     OVERDUE/AUTO-CLOSE 预置流水,故本表**没有任何「人工」触发轮次**(该触发方式只有未接线的 RECON 支持)。
+     ⚠️ 轮数⛔ 不得再写死进文档:用例说明 08 册与册 10 01 已改为「以抽屉标题读数为准」。 */
+  jobRuns: [
+    /* ---- 今天(2026-10-15):已接线的 SUB-EFF 与 ORPHAN-CLEAN 有轮次 ---- */
+    {
+      id: "RUN-20261015-002", job: "ORPHAN-CLEAN", start: "2026-10-15 00:20:11", ms: 96, trigger: "定时", by: "系统",
+      status: "失败", scan: 0, hit: 0, done: 0, skip: 0, fail: 0, handle: "待补跑", route: "regions",
+      msg: "本轮在读取区域树挂载引用阶段中断(数据库连接超时),未纳入检查任何节点、未清理任何节点,本轮未完成。",
+      items: [],
+    },
+    {
+      id: "RUN-20261015-001", job: "SUB-EFF", start: "2026-10-15 00:05:03", ms: 412, trigger: "定时", by: "系统",
+      status: "成功", scan: 10, hit: 0, done: 0, skip: 0, fail: 0, handle: "",
+      msg: "扫描全部订阅 10 条,无到达合同生效日的「待生效」订阅,本轮不流转。", items: [],
+    },
+    {
+      id: "RUN-20261015-003", job: "REGION-WARM", start: "2026-10-15 01:00:21", ms: 340, trigger: "定时", by: "系统",
+      status: "成功", scan: 11, hit: 0, done: 0, skip: 11, fail: 0, handle: "",
+      msg: "重建区域树与各节点可见范围缓存:比对全部 11 个区域节点,缓存版本均未变化,本轮全部跳过、不重复重建。", items: [],
+    },
+    {
+      id: "RUN-20261015-004", job: "ONEDIR-CHECK", start: "2026-10-15 01:30:31", ms: 1180, trigger: "定时", by: "系统",
+      status: "成功", scan: 10, hit: 0, done: 0, skip: 10, fail: 0, handle: "",
+      msg: "核对全部 10 条订阅及其客户档案、账单、工单的指向一致性,本轮未发现指向不一致,无需记入待人工核对项。", items: [],
+    },
+    /* ---- 2026-10-14 ---- */
+    { id: "RUN-20261014-001", job: "SUB-EFF", start: "2026-10-14 00:05:03", ms: 388, trigger: "定时", by: "系统", status: "成功", scan: 10, hit: 0, done: 0, skip: 0, fail: 0, handle: "", msg: "无到达合同生效日的订阅。", items: [] },
+    { id: "RUN-20261014-002", job: "ORPHAN-CLEAN", start: "2026-10-14 00:20:12", ms: 88, trigger: "定时", by: "系统", status: "成功", scan: 11, hit: 0, done: 0, skip: 11, fail: 0, handle: "", route: "regions",
+      msg: "检查全部 11 个区域节点:11 个节点均有下级、有客户挂载或有业务引用,本轮无可清理的悬空节点。", items: [] },
+    { id: "RUN-20261014-003", job: "REGION-WARM", start: "2026-10-14 01:00:20", ms: 322, trigger: "定时", by: "系统", status: "成功", scan: 11, hit: 0, done: 0, skip: 11, fail: 0, handle: "",
+      msg: "重建区域树与各节点可见范围缓存:比对全部 11 个区域节点,缓存版本均未变化,本轮全部跳过、不重复重建。", items: [] },
+    { id: "RUN-20261014-004", job: "ONEDIR-CHECK", start: "2026-10-14 01:30:29", ms: 1164, trigger: "定时", by: "系统", status: "成功", scan: 10, hit: 0, done: 0, skip: 10, fail: 0, handle: "",
+      msg: "核对全部 10 条订阅及其客户档案、账单、工单的指向一致性,本轮未发现指向不一致。", items: [] },
+    /* ---- 2026-10-13(当日区域树变更,REGION-WARM 除 01:00 定时轮外另有一轮事件触发) ---- */
+    { id: "RUN-20261013-001", job: "SUB-EFF", start: "2026-10-13 00:05:04", ms: 395, trigger: "定时", by: "系统", status: "成功", scan: 10, hit: 0, done: 0, skip: 0, fail: 0, handle: "", msg: "无到达合同生效日的订阅。", items: [] },
+    { id: "RUN-20261013-002", job: "ORPHAN-CLEAN", start: "2026-10-13 00:20:09", ms: 92, trigger: "定时", by: "系统", status: "成功", scan: 11, hit: 0, done: 0, skip: 11, fail: 0, handle: "", route: "regions",
+      msg: "检查全部 11 个区域节点:本轮无可清理的悬空节点。", items: [] },
+    { id: "RUN-20261013-003", job: "REGION-WARM", start: "2026-10-13 01:00:19", ms: 318, trigger: "定时", by: "系统", status: "成功", scan: 11, hit: 0, done: 0, skip: 11, fail: 0, handle: "",
+      msg: "重建区域树与各节点可见范围缓存:缓存版本均未变化,本轮全部跳过。", items: [] },
+    { id: "RUN-20261013-004", job: "ONEDIR-CHECK", start: "2026-10-13 01:30:27", ms: 1152, trigger: "定时", by: "系统", status: "成功", scan: 10, hit: 0, done: 0, skip: 10, fail: 0, handle: "",
+      msg: "核对全部 10 条订阅及其客户档案、账单、工单的指向一致性,本轮未发现指向不一致。", items: [] },
+    { id: "RUN-20261013-101", job: "REGION-WARM", start: "2026-10-13 16:05:12", ms: 296, trigger: "事件", by: "系统", status: "成功", scan: 11, hit: 3, done: 3, skip: 8, fail: 0, handle: "",
+      msg: "总运营 16:05 在区域树调整节点后即时触发:3 个节点的可见范围随调整变化,已重建这 3 个节点的缓存,其余 8 个节点缓存版本未变化跳过。", items: [] },
+    /* ---- 2026-10-12(悬空节点清理部分成功:一轮里既有清理完成的节点,也有取数超时未清理的节点) ---- */
+    {
+      id: "RUN-20261012-001", job: "ORPHAN-CLEAN", start: "2026-10-12 00:20:14", ms: 173, trigger: "定时", by: "系统",
+      status: "部分成功", scan: 11, hit: 2, done: 1, skip: 9, fail: 1, handle: "", route: "regions",
+      msg: "检查全部 11 个区域节点,命中 2 个候选悬空节点:1 个已清理,1 个读取客户挂载引用超时未清理(下轮按幂等口径重试,不重复处理已清理节点)。",
+      items: [
+        { obj: "区域节点 · 虹口区(原属上海市)", act: "悬空节点清理", res: "成功", note: "无下级、无客户挂载且无业务引用,已清理" },
+        { obj: "区域节点 · 闵行区", act: "悬空节点清理", res: "失败", note: "读取客户挂载引用超时,本轮未清理该节点,区域树保持原状" },
+      ],
+    },
+    { id: "RUN-20261012-002", job: "REGION-WARM", start: "2026-10-12 01:00:22", ms: 330, trigger: "定时", by: "系统", status: "成功", scan: 11, hit: 0, done: 0, skip: 11, fail: 0, handle: "",
+      msg: "重建区域树与各节点可见范围缓存:缓存版本均未变化,本轮全部跳过。", items: [] },
+    /* ---- 2026-10-10(区域节点删除时即时触发的事件轮,当日无 00:20 定时轮以外的异常) ---- */
+    {
+      id: "RUN-20261010-101", job: "ORPHAN-CLEAN", start: "2026-10-10 14:32:07", ms: 74, trigger: "事件", by: "系统",
+      status: "成功", scan: 11, hit: 1, done: 1, skip: 10, fail: 0, handle: "", route: "regions",
+      msg: "总运营 14:32 在区域树删除节点时即时触发:该节点无下级、无客户挂载且无业务引用,已清理;其余 10 个节点不满足清理条件跳过。",
+      items: [
+        { obj: "区域节点 · 静安区(原属上海市)", act: "悬空节点清理", res: "成功", note: "随总运营的删除动作即时触发,无下级、无客户挂载且无业务引用,已清理" },
+      ],
+    },
+    { id: "RUN-20260901-001", job: "SUB-EFF", start: "2026-09-01 00:05:04", ms: 402, trigger: "定时", by: "系统", status: "成功", scan: 8, hit: 2, done: 2, skip: 0, fail: 0, handle: "",
+      msg: "2 条订阅到达合同生效日,状态由「待生效」置为「生效中」。",
+      items: [
+        { obj: "陈阿福 · HT-CFA-20260901", act: "订阅状态流转", res: "成功", note: "生效日 2026-09-01;应收自实际开通日 2026-09-01 起计" },
+        { obj: "澄澜科技 · HT-CL-20260901", act: "订阅状态流转", res: "成功", note: "生效日 2026-09-01(美国出口第二条标准档,与既有中国香港档额度累加)" },
+      ] },
+  ],
+  /* 审计日志只追加。区域树维护仅总运营可见。 */
+  auditLogs: [
+    { at: "2026-08-01 09:12", by: "林管", type: "新建区域", object: "上海市 / 上海市 / 浦东新区", before: "", after: "新建三级节点" },
+    { at: "2026-08-01 09:20", by: "林管", type: "新建区域", object: "上海市 / 上海市 / 临港新片区", before: "", after: "新建区县节点" },
+    { at: "2026-08-02 14:02", by: "林管", type: "新建区域", object: "江苏省 / 苏州市 / 昆山市", before: "", after: "新建区县节点" },
+    { at: "2026-08-05 10:40", by: "林管", type: "重命名区域", object: "上海市 / 上海市 / 临港新片区", before: "南汇新城区", after: "临港新片区" },
+    { at: "2026-08-10 10:20", by: "林管", type: "客户挂载", object: "澄澜科技有限公司", before: "未挂载", after: "上海市 / 上海市 / 浦东新区" },
+    { at: "2026-08-20 11:30", by: "林管", type: "客户改挂区域", object: "王敏", before: "江苏省 / 苏州市 / 昆山市", after: "上海市 / 上海市 / 浦东新区" },
+    { at: "2026-08-21 16:00", by: "林管", type: "合伙人负责范围首次配置", object: "邹合(华东渠道)", before: "(空)", after: "澄澜科技、临港跨境、陈阿福、王敏、海岚跨境(选定上海市、苏州市,含其下级全部客户)" },
+    { at: "2026-09-02 09:10", by: "林管", type: "运维团队负责范围调整", object: "沪东开户组", before: "澄澜科技、王敏", after: "澄澜科技、临港跨境、王敏(新增直接多选客户:临港跨境)" },
+    { at: "2026-10-05 15:20", by: "林管", type: "合伙人负责范围调整", object: "何南(华南渠道)", before: "(空)", after: "天河区(暂无直属客户);直接多选客户:陈阿福" },
+    { at: "2026-10-05 15:25", by: "林管", type: "分成档案取值变更", object: "何南(华南渠道)", before: "未配分成(计 0)", after: "按比例 8%(对名下全部客户统一生效)" },
+    { at: "2026-10-05 06:00", by: "系统", type: "对账清单自动执行", object: "DZD-20261005-LT · 联通 · 2026-09", before: "待执行", after: "已执行(2 条明细)" },
+  ],
+  /* 登录账号:login 为登录名,acctStatus 在用 / 停用(停用的不出现在「换身份」列表),
+     mustChange 为下次登录是否必须改密,pwdResetOn 为最近一次重置密码日期。
+     role=operator 是运营商的对账查看账号(只读),与运营商档案一比一。
+     builtin: true 为系统内置账号:总运营账号即总运营团队的默认主账号,必须存在、不能删除,主账号身份也不可转交。
+     phone 为绑定手机号:选填,可更换,但全站唯一(一个手机号至多绑定一个账号),
+     绑定后可用手机号代替登录名登录;未填时只能用登录名登录。
+     客户主账号不用初始密码,改用一次性激活码激活(acctOpenOn 开通日、claimOn 当前码生成日、
+     claimExpireOn 有效期截止日:发码即写,采用平台 activate 默认 7 天 TTL;claimStatus 只取
+     未激活 / 已激活,已激活时 claimCode 与 claimExpireOn 置空。凭证过期按截止日与当天比对即时判定)。
+     pwd / pwdSetOn 只在运行期由原型写入(建档录初始密码、激活设密、本人自助改密),
+     用于「我的账号」校验原密码(AC-05);⛔ 种子里不预置口令,原型不存口令哈希。 */
+  users: [
+    { name: "林管", role: "admin", regTeam: 0, primary: true, builtin: true, title: "总运营团队主账号", phone: "13900000001", acctStatus: "在用", mustChange: false },
+    { name: "周运营", role: "opsMain", regTeam: 1, primary: true, title: "华东运营 · 团队主账号", login: "zhouyun@example", phone: "13900000101", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-20" },
+    { name: "许芸", role: "opsSub", regTeam: 1, primary: false, title: "华东运营 · 子账号(客户建档)", login: "xuyun@example", acctStatus: "在用", mustChange: true, pwdResetOn: "2026-10-09" },
+    { name: "吴队", role: "teamLead", team: 0, title: "华东运维 · 团队主账号", login: "wudui@example", phone: "13900000103", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-06" },
+    { name: "周宁", role: "ops", member: 0, title: "运维子账号 · 开停回填", login: "zhouning@example", phone: "13900000104", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-18" },
+    { name: "孙队", role: "teamLead", team: 1, title: "沪东开户组 · 团队主账号", login: "sundui@example", phone: "13900000105", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-02" },
+    { name: "赵工", role: "ops", member: 2, title: "运维子账号 · 开户回填", login: "zhaogong@example", phone: "13900000106", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-21" },
+    /* 客户主账号登录名取客户名称的拼音首字母(见《需求规格说明》3.2),不照抄中文客户名称。
+       激活状态只有未激活 / 已激活。样例:未激活且凭证仍有效(临港、王敏)、已激活(澄澜)、
+       未激活且平台 TTL 已过(陈阿福、海岚,导出时会自动换新码) */
+    { name: "澄澜科技有限公司", role: "enterprise", enterprise: 0, title: "客户主账号", login: "clkj", phone: "13900000200", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-11", acctOpenOn: "2026-09-11", claimStatus: "已激活", claimCode: "", claimOn: "2026-09-11", claimExpireOn: "" },
+    { name: "临港跨境贸易", role: "enterprise", enterprise: 1, title: "客户主账号", login: "lgkjmy", acctStatus: "在用", mustChange: false, acctOpenOn: "2026-10-12", claimStatus: "未激活", claimCode: "KQF7HRM2XW", claimOn: "2026-10-12", claimExpireOn: "2026-10-19" },
+    { name: "陈阿福", role: "enterprise", enterprise: 2, title: "客户主账号", login: "caf", phone: "13900000212", acctStatus: "在用", mustChange: false, acctOpenOn: "2026-09-20", claimStatus: "未激活", claimCode: "TBW4KJN6QD", claimOn: "2026-09-20", claimExpireOn: "2026-09-27" },
+    /* hideInTree: true 只把该账号从登录页角色树上收起(演示时样本客户过多),
+       账号本身仍在用,客户档案、订阅、工单等各处照常可见可查 */
+    { name: "王敏", role: "enterprise", enterprise: 3, title: "客户主账号", login: "wm", acctStatus: "在用", mustChange: false, acctOpenOn: "2026-10-15", claimStatus: "未激活", claimCode: "PMXZ3RTV8H", claimOn: "2026-10-15", claimExpireOn: "2026-10-22", hideInTree: true },
+    { name: "海岚跨境电商(上海)", role: "enterprise", enterprise: 4, title: "客户主账号", login: "hlkjdssh", acctStatus: "在用", mustChange: false, acctOpenOn: "2026-10-01", claimStatus: "未激活", claimCode: "GHY2NQSC5F", claimOn: "2026-10-01", claimExpireOn: "2026-10-08", hideInTree: true },
+    { name: "张敏", role: "sub", enterprise: 0, account: 0, title: "下属分账号" },
+    { name: "邹合", role: "partner", partner: 0, title: "华东渠道", login: "zouhe@example", phone: "13900000107", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-12" },
+    { name: "何南", role: "partner", partner: 1, title: "华南渠道", login: "henan@example", phone: "13900000108", acctStatus: "停用", mustChange: false, pwdResetOn: "2026-08-05" },
+    { name: "联通对账", role: "operator", operator: 0, title: "联通 · 对账查看账号", login: "unicom-dz@example", phone: "13900000109", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-26" },
+  ],
+};
+
+/* 种子工单的提交方口径补齐:早期种子只存一个展示值 `submitter`(客户主账号/下属分账号/
+   运维代建/系统自动)与旧列 `account`,而运行期用的是 F24 定案后的两个字段——
+   `submitter_type`(ops/customer/system/unicom 四值)+ `reporter`(报障账号)。
+   在唯一入口把两套口径合成一套,否则列表「提交方」列与「故障 · 〈报障账号〉」标注会读成空。
+   ⚠️ 正式系统由建单事务写这两列(`reporter_account_id` NOT NULL、留空由服务端以当前登录人兜底),
+   ⛔ 不靠页面或种子补;这里只是演示数据的同口径回填。 */
+const SEED_SUBMITTER_TYPES = { 客户主账号: "customer", 下属分账号: "customer", 运维代建: "ops", 系统自动: "system", 联通侧: "unicom" };
+/* 主线四类(开户/服务开通/到期停机/服务停用)客户侧不产生,一律系统生成 */
+const MAINLINE_TYPES = ["开户", "服务开通", "到期停机", "服务停用"];
+function normalizeTicketSubmitters(db) {
+  db.tickets.forEach((t) => {
+    if (t.submitter_type) return;
+    const type = SEED_SUBMITTER_TYPES[t.submitter];
+    if (type) t.submitter_type = type;
+    else if (MAINLINE_TYPES.includes(t.type)) t.submitter_type = "system";
+    else return;
+    if (!t.reporter) {
+      /* 报障人:分账号自报=本人;主账号自报=本客户主账号;运维代客报障=被代报的客户主账号 */
+      if (t.submitter === "下属分账号") t.reporter = { kind: "sub", id: t.account };
+      else if (t.submitter_type === "customer" || t.submitter_type === "ops") t.reporter = { kind: "enterprise", id: t.enterprise };
+    }
+    delete t.submitter;
+  });
+  return db;
+}
+function cloneSeed() {
+  return normalizeTicketSubmitters(JSON.parse(JSON.stringify(SEED)));
+}
+
+function money(n) {
+  return Number(n || 0).toLocaleString("zh-CN", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
+}
+
+function pct(n) {
+  const v = Math.round(Number(n || 0) * 10000) / 100;
+  return String(v) + "%";
+}
+
+function daysBetween(start, end) {
+  const a = new Date(start + "T00:00:00");
+  const b = new Date(end + "T00:00:00");
+  return Math.round((b - a) / 86400000) + 1;
+}
+
+function addDays(date, n) {
+  const d = new Date(date + "T00:00:00");
+  d.setDate(d.getDate() + n);
+  const pad = (x) => String(x).padStart(2, "0");
+  return d.getFullYear() + "-" + pad(d.getMonth() + 1) + "-" + pad(d.getDate());
+}
+
+/* 超 7 个自然日:需求 §7.6 写死 7 天,不按客户配置,也不按工单类型分级 */
+const OVERDUE_DAYS = 7;
+
+/* 开停工单超期:起点=这条开停记录进入「待执行」之日,满 7 个自然日仍未回填即超期。
+   期限日=起算日+7(起算日当天不计入),期限日当天即算「满 7 个自然日仍未回填」,
+   与「完成满 7 个自然日仍未确认由系统自动闭环」同一把尺子;延期单改按延期后的新期限,
+   新期限当日同样重新计入。全站唯一判据,⛔ 各页面不得另算一套。 */
+function overdueAction(action) {
+  if (!action || action.status !== "待执行") return false;
+  const limit = action.extendUntil || addDays(action.created, OVERDUE_DAYS);
+  return TODAY >= limit;
+}
+
+function unfinished(db, memberIndex) {
+  return db.tickets.filter((t) => t.assignee === memberIndex && (t.status === "待处理" || t.status === "处理中")).length;
+}
+
+/* 团队可承接的工单类型:取团队档案上开通/编辑时指定的 ticketTypes;
+   存量档案没配时按「全部六类」兜底(团队不分类型,没有按类型收窄的默认值) */
+function teamTicketTypes(team) {
+  if (team.ticketTypes && team.ticketTypes.length) return team.ticketTypes;
+  return ["开户", "服务开通", "到期停机", "服务停用", "故障", "售后"];
+}
+
+/* 工单归属团队:在客户挂接的团队里找**声明承接该工单类型**的那一支。
+   可能有多支都承接(例如一支全栈团队 + 一支只接开户的专精团队),按「承接类型数更少者优先」定落点
+   ——专精团队先接专精工单;承接数相同时按挂接顺序。都不承接时回落第一支挂接团队,
+   工单照建、留在该团队待派单,等总运营/区域运营改挂团队或补承接类型 */
+function ticketTeamFor(db, ent, type) {
+  const list = Array.isArray(ent.teams) ? ent.teams : [];
+  const cands = list
+    .map((ti, ord) => ({ ti, ord, n: db.teams[ti] ? teamTicketTypes(db.teams[ti]).length : 99 }))
+    .filter((x) => db.teams[x.ti] && teamTicketTypes(db.teams[x.ti]).includes(type));
+  if (cands.length) {
+    cands.sort((a, b) => a.n - b.n || a.ord - b.ord);
+    return cands[0].ti;
+  }
+  return list.length ? list[0] : 0;
+}
+
+/* 可接单成员=同团队 ∧ 该工单类型在本人可处理类型集合内 ∧ 客户在本人解析后的负责范围内。
+   成员不再按「常规/施工」分身份,接单能力完全由 types(可处理工单类型)决定;
+   「解析后的负责范围」按三种形态取数,见 memberScopeEnts */
+function eligible(db, ticket) {
+  return db.members
+    .map((m, index) => ({ ...m, index }))
+    .filter((m) => m.team === ticket.team && (m.types || []).includes(ticket.type) && memberScopeEnts(db, m).includes(ticket.enterprise));
+}
+
+function pickEven(db, ticket) {
+  const list = eligible(db, ticket);
+  if (!list.length) return null;
+  list.sort((a, b) => unfinished(db, a.index) - unfinished(db, b.index) || a.index - b.index);
+  return list[0].index;
+}
+
+/* ---- 区域与范围工具 ---- */
+
+function regionNode(db, id) {
+  return db.regions.find((r) => r.id === id) || null;
+}
+
+function regionPath(db, id) {
+  const names = [];
+  let cur = regionNode(db, id);
+  while (cur) {
+    names.unshift(cur.name);
+    cur = cur.parent ? regionNode(db, cur.parent) : null;
+  }
+  return names.join(" / ");
+}
+
+function descendantIds(db, id) {
+  const out = [id];
+  let added = true;
+  while (added) {
+    added = false;
+    db.regions.forEach((r) => {
+      if (r.parent && out.includes(r.parent) && !out.includes(r.id)) {
+        out.push(r.id);
+        added = true;
+      }
+    });
+  }
+  return out;
+}
+
+function enterprisesUnderRegion(db, id) {
+  const ids = new Set(descendantIds(db, id));
+  return db.enterprises.map((e, i) => i).filter((i) => ids.has(db.enterprises[i].region));
+}
+
+function scopeEnterpriseSet(db, scope) {
+  const set = new Set();
+  (scope.regions || []).forEach((rid) => enterprisesUnderRegion(db, rid).forEach((i) => set.add(i)));
+  (scope.enterprises || []).forEach((i) => set.add(i));
+  return set;
+}
+
+function scopeEnterprises(db, scope) {
+  return Array.from(scopeEnterpriseSet(db, scope)).sort((a, b) => a - b);
+}
+
+/* ---- 成员负责范围的三形态(需求 4.3/设计册 1 §5.6)----
+   follow_team=不存客户名单,本人范围恒等于所在团队的负责范围,团队范围扩缩时自动跟随;
+   region=存区域节点 id(scopeRegions),按含下级展开后再与团队负责范围取交;
+   customer=逐人点选的客户下标(scope)。
+   「全选团队范围」是 customer 形态的一次性快照,与 follow_team 不是一回事:
+   前者点下去就把团队范围复制成一份逐人清单,团队范围之后变化不再跟随。
+   ⛔ 三种形态解析出的客户集合都必须是团队负责范围的子集(自定义范围不得跨团队)。 */
+const MEMBER_SCOPE_MODES = ["follow_team", "region", "customer"];
+const MEMBER_SCOPE_MODE_TEXT = { follow_team: "跟着团队走", region: "指定区域", customer: "点客户清单" };
+const MEMBER_SCOPE_MODE_TIP = {
+  follow_team: "本人范围等于所在团队的负责范围:团队范围扩大或缩小本人随之变化,不保存客户名单,也不需要逐人勾选。新增成员默认选本形态。",
+  region: "在团队负责范围的区域树里勾区域节点,选定节点自动含其下级区域的全部客户(勾父节点即可,不需要再逐个勾下级);结果必须落在团队负责范围之内。",
+  customer: "一个一个勾选客户;勾区域节点等于整块勾选该区域(含下级)范围内的客户。「全选团队范围」是把此刻团队范围内客户全部勾进草稿的一次性快照,保存后团队范围再变化不自动跟随。",
+};
+
+/* 团队覆盖客户=团队区域范围 ∧ 挂在团队上的客户(交集,总则§6.3) */
+function teamCoveredEnts(db, teamIndex) {
+  const t = db.teams[teamIndex];
+  if (!t) return [];
+  return scopeEnterprises(db, t.scope || {}).filter((i) => (db.enterprises[i].teams || []).includes(teamIndex));
+}
+
+/* 旧数据没有 scopeMode:按点客户清单解析,与三形态上线前的行为逐字等价 */
+function memberScopeMode(m) {
+  return MEMBER_SCOPE_MODES.includes(m.scopeMode) ? m.scopeMode : "customer";
+}
+
+function memberScopeEnts(db, m) {
+  const covered = teamCoveredEnts(db, m.team);
+  const mode = memberScopeMode(m);
+  if (mode === "follow_team") return covered;
+  const set = new Set();
+  if (mode === "region") {
+    (m.scopeRegions || []).forEach((rid) => enterprisesUnderRegion(db, rid).forEach((i) => set.add(i)));
+  } else {
+    (m.scope || []).forEach((i) => set.add(i));
+  }
+  return covered.filter((i) => set.has(i));
+}
+
+/* 成员负责范围的摘要:follow_team 先写形态名(家数按解析后的团队范围显示),
+   自定义范围写家数与前两家。范围为空=该成员不接单 */
+function memberScopeSummary(db, m) {
+  const mode = memberScopeMode(m);
+  const ents = memberScopeEnts(db, m);
+  if (mode === "follow_team") {
+    return ents.length ? `跟着团队走(团队范围 ${ents.length} 家,随团队范围变化)` : "跟着团队走(团队范围暂无客户)";
+  }
+  if (!ents.length) return `${MEMBER_SCOPE_MODE_TEXT[mode]} · 未配置(该成员不接单)`;
+  const head = ents.slice(0, 2).map((i) => db.enterprises[i].name).join("、");
+  return `${MEMBER_SCOPE_MODE_TEXT[mode]} · ${ents.length} 家:${head}${ents.length > 2 ? ` 等 ${ents.length} 家` : ""}`;
+}
+
+function scopeSummary(db, scope) {
+  const parts = [];
+  (scope.regions || []).forEach((rid) => {
+    const n = regionNode(db, rid);
+    if (n) parts.push(`${n.name}(含下级 ${enterprisesUnderRegion(db, rid).length} 家客户)`);
+  });
+  const fromRegion = new Set();
+  (scope.regions || []).forEach((rid) => enterprisesUnderRegion(db, rid).forEach((i) => fromRegion.add(i)));
+  const extra = (scope.enterprises || []).filter((i) => !fromRegion.has(i));
+  if (extra.length) parts.push(`直接多选:${extra.map((i) => db.enterprises[i].name).join("、")}`);
+  return parts.length ? parts.join(";") : "(空)";
+}
+
+function regionReferenced(db, id) {
+  const refs = [];
+  db.teams.forEach((t, i) => { if ((t.scope.regions || []).includes(id)) refs.push(`运维团队「${t.name}」负责范围`); });
+  /* 成员「指定区域」形态存的是区域节点引用(口径 14):被引用的区域不能删除,
+     也不得静默解除——删除前必须由主账号把该成员改成别的形态或另选区域 */
+  db.members.forEach((m) => { if ((m.scopeRegions || []).includes(id)) refs.push(`运维成员「${m.name}」负责范围(指定区域)`); });
+  db.partners.forEach((p, i) => {
+    if (p.region === id) refs.push(`合伙人「${p.name}」所属区域`);
+    if ((p.scope.regions || []).includes(id)) refs.push(`合伙人「${p.name}」负责范围`);
+  });
+  db.operators.forEach((o) => { if (o.region === id) refs.push(`运营商「${o.name}」所属区域`); });
+  db.regOpsTeams.forEach((t) => { if (t.region === id) refs.push(`运营团队「${t.name}」所属区域`); });
+  return refs;
+}

+ 14 - 0
web-scaffold/prototype-v2/index.html

@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1">
+  <title>运营支撑系统原型</title>
+  <link rel="stylesheet" href="styles.css">
+</head>
+<body>
+  <div id="app"></div>
+  <script src="data.js"></script>
+  <script src="app.js"></script>
+</body>
+</html>

+ 1118 - 0
web-scaffold/prototype-v2/styles.css

@@ -0,0 +1,1118 @@
+:root {
+  --ink: #1b2430;
+  --muted: #5c6b7a;
+  --line: #e2d9cc;
+  --paper: #f6f1e8;
+  --card: #fffdf8;
+  --teal: #0e6e68;
+  --teal-ink: #084843;
+  --amber: #9a5b12;
+  --red: #8f2d2d;
+  --green: #1d6b45;
+  --shadow: 0 10px 30px rgba(40, 32, 20, 0.06);
+  font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;
+}
+
+* { box-sizing: border-box; }
+body { margin: 0; color: var(--ink); background: var(--paper); }
+button, input, select, textarea { font: inherit; color: inherit; }
+button { cursor: pointer; }
+h1, h2, h3, p { margin: 0; }
+
+.login {
+  min-height: 100vh;
+  display: grid;
+  grid-template-columns: 320px 1fr;
+}
+.login-side {
+  background: var(--teal-ink);
+  color: #f3efe6;
+  padding: 48px 36px;
+}
+.login-side h1 { font-size: 28px; font-weight: 650; letter-spacing: 0.04em; }
+.login-side p { margin-top: 16px; line-height: 1.7; color: #d5ebe8; }
+.login-main { padding: 40px 48px 64px; }
+/* 身份选择:组织机构图,按层次排布,同层节点在同一水平线 */
+.org-chart { margin-top: 20px; overflow-x: auto; padding-bottom: 10px; }
+.org-chart ul { display: flex; justify-content: center; list-style: none; margin: 0; padding: 22px 0 0; position: relative; }
+.org-chart > ul { padding-top: 0; }
+.org-chart li { display: flex; flex-direction: column; align-items: center; position: relative; padding: 22px 4px 0; }
+/* 子节点上方的连接线:左右两段横线拼成本节点的横向挂线 */
+.org-chart li::before, .org-chart li::after {
+  content: "";
+  position: absolute;
+  top: 0;
+  right: 50%;
+  width: 50%;
+  height: 22px;
+  border-top: 1px dashed #c8bca8;
+}
+.org-chart li::after { right: auto; left: 50%; border-left: 1px dashed #c8bca8; }
+/* 独子不需要横挂线,直接从父节点垂直落下 */
+.org-chart li:only-child { padding-top: 0; }
+.org-chart li:only-child::before, .org-chart li:only-child::after { display: none; }
+/* 行首行尾只保留朝向内侧的横线和落到本节点的竖线 */
+.org-chart li:first-child::before, .org-chart li:last-child::after { border: 0 none; }
+.org-chart li:last-child::before { border-right: 1px dashed #c8bca8; }
+.org-chart li:first-child::after, .org-chart li:last-child::before { border-radius: 4px 0 0 0; }
+/* 父卡片底部到横挂线之间的竖线 */
+.org-chart ul ul::before {
+  content: "";
+  position: absolute;
+  top: 0;
+  left: 50%;
+  width: 0;
+  height: 22px;
+  border-left: 1px dashed #c8bca8;
+}
+/* 顶层(总运营)不挂线 */
+.org-chart > ul > li { padding-top: 0; }
+.org-chart > ul > li::before, .org-chart > ul > li::after { display: none; }
+.persona {
+  text-align: left;
+  background: var(--card);
+  border: 1px solid var(--line);
+  border-radius: 12px;
+  padding: 14px 16px;
+  box-shadow: var(--shadow);
+}
+/* 横向挂载组:团队子账号排在主账号右侧,短横虚线相连(宽度与 app.js 常量一致) */
+.org-side { display: flex; align-items: center; }
+.org-side-link { flex: none; width: 28px; border-top: 1px dashed #c8bca8; }
+/* 组织图内卡片紧凑档:收窄到 170px,配合整体缩放保证一屏看全 */
+.org-chart .persona { display: block; width: 170px; flex: none; padding: 10px 12px; }
+.org-chart .persona strong { font-size: 14px; }
+.org-chart .persona span { font-size: 12px; }
+.org-chart .persona .note, .org-chart .persona .brief { word-break: break-all; }
+.persona strong { display: block; font-size: 16px; }
+.persona span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }
+.persona .brief { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); color: #46586a; }
+.persona:hover { border-color: var(--teal); }
+
+/* 左右两栏各自占满视口、各自滚动:侧栏自身不滚动,滚动只发生在菜单区,底部账号信息固定 */
+.shell { height: 100vh; display: grid; grid-template-columns: 220px 1fr; }
+.nav {
+  background: #172028;
+  color: #e7e1d6;
+  padding: 22px 14px;
+  display: flex;
+  flex-direction: column;
+  gap: 4px;
+  height: 100vh;
+  overflow: hidden;
+}
+/* 侧栏定高后直接子项一律不参与 flex 收缩:.nav-sub 为折叠动画带 overflow:hidden,
+   自动最小尺寸为 0,被压缩时会裁掉组内末尾的菜单项(如「全部订阅」) */
+.nav > * { flex: none; }
+/* 菜单区独占剩余高度并独立滚动;菜单高于视口时给出可发现的细滚动条,避免被当成菜单缺失 */
+.nav-menu {
+  flex: 1 1 auto;
+  min-height: 0;
+  overflow-y: auto;
+  overscroll-behavior: contain;
+  display: flex;
+  flex-direction: column;
+  gap: 4px;
+  scrollbar-width: thin;
+  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
+  /* 关掉滚动锚定:重绘后脚本还原的 scrollTop 才不会被浏览器再挪一次 */
+  overflow-anchor: none;
+}
+.nav-menu > * { flex: none; }
+.nav-menu::-webkit-scrollbar { width: 8px; }
+.nav-menu::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 4px; }
+.brand { padding: 0 8px 16px; font-weight: 650; letter-spacing: 0.06em; }
+.nav button {
+  background: transparent;
+  border: 0;
+  color: inherit;
+  text-align: left;
+  border-radius: 8px;
+  padding: 9px 10px;
+  width: 100%;
+  font-size: 14px;
+  cursor: pointer;
+}
+.nav button.active, .nav button:hover { background: rgba(255, 255, 255, 0.08); }
+.nav .nav-group {
+  font-size: 12px;
+  letter-spacing: 0.08em;
+  text-transform: uppercase;
+  color: #8ea0a0;
+  padding: 14px 10px 6px;
+  cursor: pointer;
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+  user-select: none;
+}
+.nav .nav-group:hover { background: transparent; color: #c2d3d1; }
+.nav .nav-group .caret { font-size: 11px; transition: transform 0.18s ease; }
+.nav .nav-group.open .caret { transform: rotate(0deg); }
+.nav .nav-sub { padding-left: 12px; display: flex; flex-direction: column; gap: 2px; }
+.nav .nav-sub.closed { display: none; }
+.nav .nav-sub .nav-leaf { font-size: 13.5px; color: #d1c8ba; padding: 7px 10px; }
+.nav .nav-sub .nav-leaf.active {
+  background: linear-gradient(90deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
+  color: #fff;
+}
+/* 身份面板与菜单列底色区分:独立卡片底 + 描边,避免和菜单混成一块 */
+.nav .who {
+  margin-top: auto;
+  padding: 12px;
+  font-size: 13px;
+  color: #cdd9d7;
+  line-height: 1.5;
+  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
+  border: 1px solid rgba(255,255,255,0.12);
+  border-radius: 12px;
+}
+.nav .who button { margin-top: 8px; border: 1px solid rgba(255,255,255,0.22); background: rgba(23,32,40,0.55); width: 100%; }
+.nav .who button:hover { background: rgba(23,32,40,0.8); }
+
+.main { padding: 22px 28px 48px; min-width: 0; height: 100vh; overflow-y: auto; overscroll-behavior: contain; }
+.top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
+.top h1 { font-size: 22px; font-weight: 650; }
+.top p { color: var(--muted); margin-top: 4px; font-size: 13px; }
+.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
+
+.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
+/* 工单页顶部告警卡:同排最多两张,不拉伸整行;卡内第二行 span 是说明文案 */
+.cards.narrow { grid-template-columns: repeat(auto-fit, minmax(210px, 320px)); }
+.card .hint { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; opacity: .82; }
+/* 统计卡的口径副标题:必须**常驻印在卡上**,⛔ 不是「?」悬浮气泡(第 6 册 14:24/:30)。
+   它存在的理由就是「卡片 12 万、列表加起来 15 万」不需要人解释 */
+.card .card-sub { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--muted); opacity: .95; }
+/* 账单明细客户列的「归属已变更」标记:客户已改挂到别的分成方,历史明细照常显示但要标出来 */
+.tag-changed { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 999px; font-size: 12px; line-height: 1.5; color: var(--amber); border: 1px solid currentColor; vertical-align: 1px; }
+/* 回填弹窗「执行结论」联动提示:失败红字、部分成功黄字 */
+.bf-hint { grid-column: 1 / -1; font-size: 13px; line-height: 1.6; margin: 2px 0 4px; }
+.bf-hint.bad { color: var(--red); }
+.bf-hint.warn { color: var(--amber); }
+/* 报文摘要与脱敏原文展开(明文出口=零) */
+.fb-brief b { font-weight: 600; }
+.fb-brief .note { margin-top: 2px; }
+.fb-raw { margin-top: 4px; }
+.fb-raw summary { cursor: pointer; font-size: 12px; color: var(--muted); }
+.fb-raw summary:hover { color: var(--teal); }
+.card, .panel {
+  background: var(--card);
+  border: 1px solid var(--line);
+  border-radius: 14px;
+  box-shadow: var(--shadow);
+}
+.card { padding: 14px 16px; }
+.card b { display: block; font-size: 22px; margin-top: 4px; word-break: break-word; }
+.card span { color: var(--muted); font-size: 13px; }
+/* 未完成工单卡:数字用告警红,整卡可点开明细列表 */
+.card.alarm { cursor: pointer; }
+.card.alarm b { color: var(--red); }
+.card.alarm:hover { border-color: var(--red); box-shadow: 0 2px 10px rgba(143, 45, 45, 0.14); }
+/* 概览 KPI 卡:数值下方放历史曲线,曲线一律贴卡片底边对齐 */
+.cards.kpi { grid-auto-rows: 1fr; }
+.cards.kpi .card { display: flex; flex-direction: column; }
+.cards.kpi .num-row { margin-bottom: 10px; }
+.cards.kpi .num-row b { flex: none; font-size: 27px; }
+.cards.kpi .spark { display: block; flex: none; width: 100%; height: 34px; margin: auto 0 0; overflow: visible; }
+.spark-line { fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
+.spark-area { fill: var(--teal); opacity: 0.09; stroke: none; }
+.card.alarm .spark-line { stroke: var(--red); }
+.card.alarm .spark-area { fill: var(--red); }
+/* 数值行:未完成工单卡在总数右侧显示待处理 / 处理中拆分数 */
+.num-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
+/* 选择器带上 .cards.kpi 前缀,避免被上面的 .card span 规则把字号改回 13px */
+.cards.kpi .num-split { font-size: 12px; line-height: 1.15; text-align: right; }
+.cards.kpi .num-split i { font-style: normal; opacity: 0.72; margin-right: 4px; }
+.panel { padding: 16px 18px; margin-bottom: 14px; overflow-x: auto; min-width: 0; }
+.panel h2 { font-size: 16px; margin-bottom: 10px; }
+.panel > .note { margin-top: 8px; }
+
+table { width: 100%; border-collapse: collapse; font-size: 14px; }
+th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
+td.wrap { white-space: normal; min-width: 240px; }
+/* 定时任务页:任务编码与执行编号是系统标识符,等宽显示便于逐位比对与检索 */
+code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
+/* 分成管理列表:分成方列放宽,分成方式与分成比例/金额列收紧(多个取值逐行列出),避免表格横向溢出后点不到操作列 */
+td .party-name { max-width: 200px; white-space: normal; line-height: 1.4; }
+td .tight { max-width: 104px; white-space: normal; line-height: 1.4; }
+/* 合同管理列表:列多且值长(编号、外部单号、期间、出口),字号与行内边距收紧 + 长文本列换行,避免面板出现横向滚动 */
+table.dense { font-size: 13px; }
+table.dense th, table.dense td { padding: 7px 7px; }
+/* 表头允许换行:窗口变窄时表头折行,整表最小宽度随之下降,不致于撑出横向滚动 */
+table.dense th { white-space: normal; }
+table.dense .note { font-size: 12px; line-height: 1.5; }
+/* 行内操作按钮收紧且不换行,否则两个按钮竖排会把整行撑到三层高 */
+table.dense .row { flex-wrap: nowrap; gap: 6px; }
+table.dense .btn { padding: 4px 8px; font-size: 12px; }
+/* 定时任务清单:10 列监控指标(编码、名称、调度、上次执行、耗时、结果、计数、下轮、状态、操作)。
+   任务名称与调度说明折行、时间戳拆两行,把横向空间让给计数列与操作列,避免面板出现横向滚动。
+   min-width 不能省:只有 max-width 时自动布局会把折行列压到单字宽(任务名称曾塌成 27px)。 */
+table.job-list td.c-name { min-width: 92px; max-width: 126px; white-space: normal; line-height: 1.4; }
+table.job-list td.c-sched { min-width: 100px; max-width: 132px; white-space: normal; line-height: 1.4; }
+/* 客户管理列表:列多且值长(编号、掩码识别号、区域全路径、团队名),
+   长文本列折行、行尾操作列不折行——按钮一旦竖排会把整行撑到三层高。 */
+table.ent-list { font-size: 13px; }
+table.ent-list th, table.ent-list td { padding: 7px 8px; }
+table.ent-list th { white-space: normal; }
+table.ent-list .note { font-size: 12px; line-height: 1.45; }
+/* 折行列限定宽度,把横向空间让给操作列;折行只发生在编号下方、区域路径与团队清单上 */
+table.ent-list td.c-ent, table.ent-list td.c-subject,
+table.ent-list td.c-region, table.ent-list td.c-teams { white-space: normal; }
+table.ent-list td.c-ent { width: 108px; }
+/* 掩码识别号是一个不断行的整串(18 位),这列的最小宽就是它撑出来的宽度 */
+table.ent-list td.c-subject { width: 122px; }
+table.ent-list td.c-region { width: 128px; }
+table.ent-list td.c-teams { width: 110px; }
+/* 短列显式收窄,避免自动布局把剩余宽度按比例摊到它们身上、反过来挤压长文本列 */
+table.ent-list th:first-child, table.ent-list td:first-child { width: 36px; }
+table.ent-list td.c-op, table.ent-list td.c-partner { width: 62px; }
+table.ent-list td.c-status { width: 66px; }
+/* 操作列按三枚按钮的最小宽度取宽,不参与压缩;按钮字号与内边距同步收紧 */
+table.ent-list th.c-ops, table.ent-list td.c-ops { width: 1%; }
+table.ent-list td.c-ops .row { flex-wrap: nowrap; gap: 6px; }
+table.ent-list td.c-ops .btn { padding: 4px 8px; font-size: 12px; }
+th { color: var(--muted); font-weight: 550; font-size: 12px; }
+tr.clickable { cursor: pointer; }
+tr.clickable:hover { background: #f3efe6; }
+
+.pill {
+  display: inline-block;
+  border-radius: 999px;
+  padding: 2px 8px;
+  font-size: 12px;
+  background: #efe7da;
+  white-space: nowrap;
+}
+.pill.ok { background: #e5f4ea; color: var(--green); }
+.pill.wait { background: #fff1d6; color: var(--amber); }
+.pill.bad { background: #fde8e4; color: var(--red); }
+.pill.run { background: #e5f3f2; color: var(--teal-ink); }
+/* 表内的对账单号:行整体可点(进明细),单号本身再点一下进批次详情。
+   视觉上只做下划线提示,不做成按钮,避免每行塞一颗按钮 */
+.bno {
+  color: var(--teal-ink);
+  font-variant-numeric: tabular-nums;
+  text-decoration: underline;
+  text-underline-offset: 2px;
+  cursor: pointer;
+  white-space: nowrap;
+}
+.bno:hover { color: var(--teal); }
+
+/* 线路出口已选标签:下拉选一个即落一枚,可逐枚移除;与配置面板的可选项清单共用 */
+.exit-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; min-height: 26px; }
+.exit-chips:empty::after { content: "尚未选择线路出口"; color: var(--muted); font-size: 12px; }
+.exit-chip {
+  display: inline-flex; align-items: center; gap: 6px;
+  border-radius: 999px; padding: 3px 6px 3px 11px; font-size: 12px;
+  background: #e5f3f2; color: var(--teal-ink); border: 1px solid #bfe0dd;
+}
+.exit-chip button {
+  border: 0; background: transparent; color: var(--teal-ink);
+  font-size: 13px; line-height: 1; padding: 0 2px; cursor: pointer;
+}
+.exit-chip button:hover { color: var(--red); }
+.exit-opts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
+.exit-opts .exit-chip { background: #efe7da; color: var(--ink); border-color: var(--line); }
+
+.btn, .btn.ghost {
+  border-radius: 8px;
+  padding: 7px 12px;
+  border: 1px solid var(--teal);
+  background: var(--teal);
+  color: white;
+  white-space: nowrap;
+}
+.btn.ghost { background: transparent; color: var(--teal-ink); }
+.btn.warn { background: var(--red); border-color: var(--red); }
+.btn:disabled { opacity: 0.45; cursor: not-allowed; }
+
+label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
+input, select, textarea {
+  width: 100%;
+  max-width: 420px;
+  border: 1px solid var(--line);
+  background: white;
+  border-radius: 8px;
+  padding: 8px 10px;
+}
+input[type="checkbox"], input[type="radio"] { width: auto; max-width: none; margin: 0; }
+td select, .row select { width: auto; min-width: 96px; max-width: 200px; }
+.row input { width: auto; }
+textarea { min-height: 88px; max-width: 560px; }
+.form-actions { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
+
+/* 多列表单 */
+.form-grid {
+  display: grid;
+  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
+  gap: 0 18px;
+}
+.form-grid label { margin-top: 8px; }
+/* 必填项标记:字段名后的红色星号 */
+.req { color: #c0392b; margin-left: 2px; font-weight: 700; }
+/* 校验未通过:已填内容整体保留、弹窗不重置,只红显有问题的编辑项并在字段下写原因 */
+.f-bad > label { color: var(--red); }
+.f-bad input, .f-bad select { border-color: var(--red); box-shadow: 0 0 0 2px rgba(143, 45, 45, 0.12); }
+.f-err { display: block; margin-top: 3px; font-size: 12px; color: var(--red); }
+.form-grid .form-actions { grid-column: 1 / -1; }
+
+/* 套餐档弹窗的成本项:名称下拉取自「成本管理」的全局成本项定义,档位上不录金额,可加多条、逐条删除 */
+.form-grid .pkg-costs { grid-column: 1 / -1; margin-top: 10px; }
+.pkg-costs-head {
+  display: flex; align-items: center; justify-content: space-between;
+  gap: 10px; flex-wrap: wrap;
+}
+.pkg-costs-head .btn { padding: 5px 12px; font-size: 13px; }
+.pkg-cost-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
+.pkg-cost-row select { flex: 1 1 auto; min-width: 0; }
+.pkg-cost-row input { flex: 0 0 auto; width: 120px; max-width: 120px; }
+.pkg-cost-row .pkg-cost-qty { width: 62px; max-width: 62px; }
+.pkg-cost-row .pkg-cost-times { flex: 0 0 auto; }
+.pkg-cost-row .pkg-cost-qty-unit, .pkg-cost-row .pkg-cost-money-unit { flex: 0 0 auto; white-space: nowrap; }
+.pkg-cost-row .pkg-cost-amt-note { flex: 0 1 auto; white-space: nowrap; }
+
+/* 成本管理 ② 成本金额定义录入:一个「省份 × 运营商」组合下逐条成本项填具体金额 */
+td input.cost-amt { width: 130px; max-width: 130px; }
+
+/* 开关(二态表单):checkbox 隐藏,用 .track 画滑块 */
+label.switch {
+  display: inline-flex;
+  align-items: center;
+  gap: 8px;
+  cursor: pointer;
+  margin: 8px 0 4px;
+  min-height: 38px;
+  font-size: 13px;
+  color: var(--muted);
+}
+label.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
+label.switch .track {
+  flex: none;
+  width: 40px;
+  height: 22px;
+  border-radius: 999px;
+  background: #cfc8ba;
+  position: relative;
+  transition: background 180ms ease;
+}
+label.switch .track::after {
+  content: "";
+  position: absolute;
+  top: 3px;
+  left: 3px;
+  width: 16px;
+  height: 16px;
+  border-radius: 50%;
+  background: #fff;
+  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
+  transition: transform 180ms ease;
+}
+label.switch input:checked + .track { background: var(--teal-ink); }
+label.switch input:checked + .track::after { transform: translateX(18px); }
+label.switch input:disabled + .track { opacity: 0.45; cursor: not-allowed; }
+
+/* 对象存储键列表 / 材料列表 */
+ul.files {
+  margin: 8px 0 0;
+  padding: 0;
+  list-style: none;
+}
+ul.files li {
+  padding: 6px 10px;
+  background: #f7f2e8;
+  border: 1px solid var(--line);
+  border-radius: 8px;
+  margin-bottom: 6px;
+  font-size: 13px;
+  word-break: break-all;
+}
+
+/* 建档弹窗的材料上传:左侧「登记材料」与右侧「合同文档」并排,两类都可选上传 */
+.doc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
+@media (max-width: 760px) { .doc-row { grid-template-columns: 1fr; } }
+/* 文件控件 + 已选清单(文档名在左,移除在右) */
+.doc-pick { margin-top: 8px; min-width: 0; }
+.doc-pick input[type="file"] { width: 100%; margin-top: 4px; }
+.doc-pick .files { margin-top: 6px; }
+ul.files.doc-list li {
+  padding: 4px 9px;
+  margin-bottom: 4px;
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  gap: 8px;
+}
+ul.files.doc-list .doc-name { min-width: 0; overflow-wrap: anywhere; }
+ul.files.doc-list .btn { padding: 2px 8px; font-size: 11px; }
+
+/* 复选列表(成员范围、客户直选) */
+.checklist {
+  display: grid;
+  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
+  gap: 2px 18px;
+  margin-top: 6px;
+}
+label.ck {
+  display: flex;
+  align-items: center;
+  gap: 7px;
+  font-size: 14px;
+  font-weight: normal;
+  color: var(--ink);
+  margin: 4px 0;
+  line-height: 1.5;
+}
+label.ck .note { font-weight: normal; }
+
+/* 区域树 */
+ul.tree {
+  list-style: none;
+  margin: 0;
+  padding: 0;
+}
+ul.tree ul.tree { padding-left: 24px; }
+.tree-node {
+  display: flex;
+  align-items: center;
+  gap: 8px;
+  padding: 2px 0;
+}
+.tree-select {
+  background: transparent;
+  border: 1px solid transparent;
+  border-radius: 8px;
+  padding: 5px 10px;
+  color: var(--ink);
+}
+.tree-select:hover { background: #f3efe6; }
+.tree-node.on .tree-select {
+  background: var(--teal);
+  border-color: var(--teal);
+  color: #fff;
+}
+.lv {
+  font-size: 12px;
+  color: var(--teal-ink);
+  background: #e5f3f2;
+  border-radius: 6px;
+  padding: 1px 7px;
+  white-space: nowrap;
+}
+.cnt { font-size: 12px; color: var(--muted); white-space: nowrap; }
+
+/* 范围配置里的勾选树 */
+ul.tree.check label.ck { margin: 5px 0; }
+ul.tree.check ul.tree { margin: 2px 0; }
+
+.note { color: var(--muted); font-size: 13px; line-height: 1.6; }
+.alert {
+  background: #fff4ec;
+  border: 1px solid #f0d2bc;
+  color: #7a3e12;
+  border-radius: 12px;
+  padding: 10px 12px;
+  margin-bottom: 12px;
+  font-size: 14px;
+  line-height: 1.6;
+}
+/* 期次标注横幅:原型把「第 3 期接线后的形态」与第 1/2 期的接线现状同页展示(对账演示数据留着,
+   RECON 注册位仍是未接线),这类说明是口径消歧、不是待办,故用中性青色与 .alert 区分,
+   避免演示口径与真实待办混成同一级视觉提示 */
+.phase-note {
+  background: #eef4f3;
+  border: 1px solid #cfe0dd;
+  color: var(--teal-ink);
+  border-radius: 12px;
+  padding: 9px 12px;
+  margin-bottom: 12px;
+  font-size: 13px;
+  line-height: 1.6;
+}
+.toast {
+  position: fixed;
+  /* 提示浮在抽屉(45)与弹窗(50)之上,否则「已按某任务过滤」这类提示会被遮在浮层底下 */
+  z-index: 60;
+  right: 20px;
+  bottom: 20px;
+  background: var(--ink);
+  color: white;
+  padding: 12px 14px;
+  border-radius: 10px;
+  max-width: 320px;
+  box-shadow: var(--shadow);
+  font-size: 14px;
+  line-height: 1.5;
+}
+.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 14px; align-items: start; }
+.log { margin: 0; padding-left: 18px; color: var(--muted); }
+.log li { margin: 4px 0; line-height: 1.6; }
+@media (max-width: 900px) {
+  .login, .shell, .split { grid-template-columns: 1fr; }
+  .login-side { padding: 28px 22px; }
+  /* 窄屏单列:回到整页滚动,不锁两栏各自的高度与滚动条 */
+  .shell { height: auto; }
+  .nav, .nav-menu, .main { height: auto; overflow: visible; overscroll-behavior: auto; }
+}
+
+/* ================= 交互与视觉增强 ================= */
+
+/* 全局过渡基类,给常见可交互元素 */
+button, .card, .panel, tr.clickable, .tree-select, label.ck {
+  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 120ms ease, box-shadow 180ms ease;
+}
+input, select, textarea { transition: border-color 180ms ease, box-shadow 180ms ease; }
+
+/* 侧栏:折叠子菜单过渡(用 max-height 替代 display:none) */
+.nav .nav-sub { overflow: hidden; transition: max-height 220ms ease, opacity 220ms ease; max-height: 600px; opacity: 1; }
+.nav .nav-sub.closed { max-height: 0; opacity: 0; }
+
+/* 侧栏叶子按钮活跃态:左侧竖条 + 更强对比 */
+.nav .nav-sub .nav-leaf.active {
+  position: relative;
+  background: rgba(14, 110, 104, 0.22);
+  color: #fff;
+  padding-left: 14px;
+}
+.nav .nav-sub .nav-leaf.active::before {
+  content: "";
+  position: absolute; left: -12px; top: 4px; bottom: 4px; width: 3px;
+  background: #19d0c0; border-radius: 2px;
+}
+.nav .nav-sub .nav-leaf:hover { color: #fff; background: rgba(255,255,255,0.06); }
+
+/* 顶层叶子按钮(如"概览""审计日志")活跃态 */
+.nav > button.nav-leaf.active {
+  background: rgba(14, 110, 104, 0.22);
+  color: #fff;
+}
+
+/* 折叠 caret 旋转 */
+.nav .nav-group .caret { transform: rotate(-90deg); }
+.nav .nav-group.open .caret { transform: rotate(0deg); }
+
+/* 按钮:focus-visible + 按下态 */
+.btn:focus-visible, button:focus-visible,
+.persona:focus-visible, .tree-select:focus-visible {
+  outline: 2px solid var(--teal);
+  outline-offset: 2px;
+}
+.btn:active { transform: translateY(1px); }
+
+/* 表格:thead 底线 + hover 高亮 + 斑马纹 */
+table { border-radius: 10px; overflow: hidden; }
+thead th {
+  background: #faf4e8;
+  border-bottom: 2px solid var(--line);
+  padding: 10px 10px;
+  position: sticky; top: 0; z-index: 1;
+}
+tbody tr:nth-child(even) td { background: #fbf7ee; }
+tbody tr.clickable:hover td, tbody tr:hover td {
+  background: #f0e8d6 !important;
+}
+
+/* 套餐目录:用途分类分组小标题行 */
+tbody tr.grp td {
+  background: #f2ece0 !important;
+  border-bottom: 1px solid var(--line);
+  padding: 7px 10px;
+  font-weight: 640;
+  color: var(--teal-ink);
+  white-space: nowrap;
+}
+tbody tr.grp td span {
+  margin-left: 10px;
+  font-weight: 400;
+  font-size: 12px;
+  color: var(--muted);
+}
+
+/* 表单 focus glow */
+input:focus, select:focus, textarea:focus {
+  border-color: var(--teal);
+  box-shadow: 0 0 0 3px rgba(14, 110, 104, 0.14);
+  outline: none;
+}
+
+/* panel / card 入场动画 */
+@keyframes fadeInUp {
+  from { opacity: 0; transform: translateY(6px); }
+  to   { opacity: 1; transform: none; }
+}
+.panel, .card, .alert, .persona { animation: fadeInUp 300ms ease both; }
+.panel:nth-child(2)  { animation-delay: 40ms; }
+.panel:nth-child(3)  { animation-delay: 80ms; }
+.panel:nth-child(4)  { animation-delay: 120ms; }
+
+/* toast 滑入 */
+.toast {
+  animation: slideInRight 280ms ease both;
+}
+@keyframes slideInRight {
+  from { opacity: 0; transform: translateX(24px); }
+  to   { opacity: 1; transform: none; }
+}
+
+/* 登录 persona 悬停抬升 */
+.persona { transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
+.persona:hover {
+  transform: translateY(-2px);
+  box-shadow: 0 14px 32px rgba(40, 32, 20, 0.12);
+  border-color: var(--teal);
+}
+
+/* webkit 滚动条 */
+::-webkit-scrollbar { width: 10px; height: 10px; }
+::-webkit-scrollbar-track { background: transparent; }
+::-webkit-scrollbar-thumb { background: #d7ccba; border-radius: 5px; }
+::-webkit-scrollbar-thumb:hover { background: #b9ac95; }
+.panel::-webkit-scrollbar-thumb { background: #d7ccba; }
+
+/* pill hover 微动(可交互的情况下) */
+.pill { cursor: default; }
+
+/* 区域树选中节点加 glow */
+.tree-node.on .tree-select {
+  box-shadow: 0 0 0 2px rgba(14,110,104,0.2);
+}
+
+/* 区域树操作菜单 */
+.tree-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; position: relative; }
+.tree-head h2 { margin: 0; }
+.tree-node { position: relative; }
+.node-menu-btn {
+  background: transparent; border: 1px solid transparent; border-radius: 6px;
+  color: var(--muted); font-weight: 700; font-size: 15px; line-height: 1;
+  padding: 3px 7px; margin-left: 2px;
+}
+.node-menu-btn:hover { background: #efe7da; color: var(--ink); }
+.tree-node.on .node-menu-btn { color: #fff; }
+.tree-node.on .node-menu-btn:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
+.node-menu {
+  position: absolute; top: 100%; left: 0; z-index: 30;
+  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
+  box-shadow: 0 12px 32px rgba(40, 32, 20, 0.16);
+  padding: 4px; min-width: 176px;
+  display: flex; flex-direction: column; gap: 2px;
+}
+.node-menu button {
+  text-align: left; background: transparent; border: 0; border-radius: 7px;
+  padding: 7px 10px; font-size: 13.5px;
+}
+.node-menu button:hover { background: #f3efe6; }
+.node-menu button.danger { color: var(--red); }
+.node-menu button.danger:hover { background: #fde8e4; }
+/* 区域树面板:不裁剪溢出内容,保证节点下拉菜单完整显示 */
+.panel.uncut { overflow: visible; }
+/* 区域管理页:主区纵向铺满视口,左右两栏拉伸到底,区域树底部与窗口底部对齐 */
+.main.stretch { display: flex; flex-direction: column; padding-bottom: 22px; }
+.main.stretch .top { flex: none; }
+.main.stretch .region-split { flex: 1 1 auto; align-items: stretch; }
+.main.stretch .region-split > .panel.uncut { display: flex; flex-direction: column; }
+.main.stretch .region-split > .panel.uncut > ul.tree { flex: 1 1 auto; }
+.icon-btn {
+  background: transparent; border: 1px solid var(--line); border-radius: 7px;
+  color: var(--muted); font-size: 14px; line-height: 1;
+  padding: 5px 8px; margin-left: 6px;
+}
+.icon-btn:hover { background: #efe7da; color: var(--ink); }
+.icon-btn.danger:hover { background: #fde8e4; color: var(--red); }
+/* 套餐目录操作列:编辑与删除用图标按钮,同一行水平排列不折行;引用提示另起一行 */
+.pkg-ops { display: flex; flex-wrap: nowrap; gap: 6px; align-items: center; }
+.pkg-ops .icon-btn { margin-left: 0; }
+/* 区域详情卡片标题旁的"被引用"小标签:随标题行内显示,不占独立高度 */
+.ref-tag {
+  display: inline-block; vertical-align: 2px; margin-left: 8px;
+  font-size: 12px; font-weight: 500; color: var(--red);
+  background: #fde8e4; border-radius: 6px; padding: 2px 7px; cursor: help;
+}
+
+/* 弹窗 */
+.modal-overlay {
+  position: fixed; inset: 0; z-index: 50;
+  background: rgba(23, 32, 40, 0.45);
+  display: flex; align-items: center; justify-content: center;
+  padding: 20px;
+  animation: fadeIn 160ms ease both;
+}
+@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
+/* 弹窗已开着时的重绘(如切换套餐档位、条目增删、校验反馈):不再重播入场动画,消除闪动 */
+.modal-overlay.no-anim { animation: none; }
+.modal-overlay.no-anim .panel, .modal-overlay.no-anim .card, .modal-overlay.no-anim .alert { animation: none; }
+/* 同一次重绘里底层整页也会重建,隔着半透明遮罩可见其卡片上浮动画重播——一并禁用 */
+#app.no-page-anim .panel, #app.no-page-anim .card, #app.no-page-anim .alert,
+#app.no-page-anim .persona, #app.no-page-anim .ov-card { animation: none; }
+.modal {
+  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
+  padding: 20px 22px; width: 100%; max-width: 480px;
+  max-height: calc(100vh - 40px); overflow-y: auto;
+  box-shadow: 0 20px 60px rgba(20, 16, 10, 0.28);
+}
+.modal h3 { font-size: 17px; margin-bottom: 10px; }
+.modal label { margin-top: 2px; }
+/* 弹窗内的编辑项跟随弹窗宽度,不再受全局 420/560 上限约束(多行文本框同样撑满所在列) */
+.modal input, .modal select, .modal textarea { max-width: 100%; }
+/* 字段较多的新增/编辑表单(客户档案、订阅)用宽弹窗 */
+.modal.wide { max-width: 760px; }
+/* 新增客户字段最多(含客户主账号),再加宽一档 */
+.modal.wider { max-width: 980px; }
+/* 加宽后表单最小列宽同步提高,保证每行最多三列(窄屏仍自动降为两列/单列) */
+.modal.wider .form-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
+/* 报文兜底与超期工单明细:列数多,用最宽一档,让整表在常见宽屏上不必横向滚动 */
+.modal.widest { max-width: min(1320px, 100%); }
+/* 兜底表的处理列改上下排布,下拉显式限宽(否则固有宽度随最长选项,整表被撑到 1300+) */
+.fb-act { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
+.fb-act select { width: 230px; max-width: 100%; }
+/* 该档弹窗内的说明列允许压得更窄,把宽度让给处理列 */
+.modal.widest td.wrap { min-width: 180px; }
+.modal .form-grid { gap: 0 16px; }
+
+/* 右侧抽屉:定时任务页的「执行记录」。整高贴右滑入,遮罩比弹窗低一层——
+   抽屉里再点「详情」开的弹窗浮在抽屉之上,关弹窗后抽屉还在原位 */
+.drawer-overlay {
+  position: fixed; inset: 0; z-index: 45;
+  background: rgba(23, 32, 40, 0.35);
+  display: flex; justify-content: flex-end;
+  animation: fadeIn 160ms ease both;
+}
+@keyframes drawerIn { from { transform: translateX(28px); opacity: 0.3; } to { transform: none; opacity: 1; } }
+.drawer {
+  width: min(1180px, 100%); height: 100%;
+  background: var(--card); border-left: 1px solid var(--line);
+  box-shadow: -18px 0 54px rgba(20, 16, 10, 0.22);
+  padding: 20px 24px 34px; overflow-y: auto; overscroll-behavior: contain;
+  animation: drawerIn 200ms ease both;
+}
+/* 抽屉开着时的重绘(改筛选、启停任务):不再重播入场动画,消除闪动 */
+.drawer-overlay.no-anim { animation: none; }
+.drawer-overlay.no-anim .drawer { animation: none; }
+.drawer-head {
+  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
+  margin-bottom: 12px;
+}
+.drawer-head h2 { font-size: 17px; }
+/* 列数多的流水表在抽屉里横向滚动,不把整只抽屉撑宽 */
+.drawer-scroll-x { overflow-x: auto; }
+/* 窄抽屉:成员负责范围只装一棵区域树,不必像执行记录那样占满整屏 */
+.drawer.narrow { width: min(620px, 100%); }
+/* 客户名称联想下拉:输入部分关键字后在输入框下方弹出已有客户列表 */
+.ac-box { position: relative; }
+.ac-list {
+  position: absolute; z-index: 30; top: calc(100% + 2px); left: 0; right: 0;
+  max-height: 220px; overflow-y: auto;
+  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
+  box-shadow: 0 12px 28px rgba(20, 16, 10, 0.18);
+}
+.ac-item {
+  display: block; width: 100%; text-align: left; padding: 7px 12px;
+  background: none; border: 0; border-bottom: 1px solid rgba(226, 217, 204, 0.5);
+  font: inherit; color: var(--ink); cursor: pointer;
+}
+.ac-item:last-child { border-bottom: 0; }
+.ac-item:hover { background: #f3eee4; }
+.ac-item small { display: block; opacity: 0.65; font-size: 12px; }
+
+/* 标题右侧问号提示:悬停或聚焦时弹出说明文字 */
+.q-tip {
+  position: relative;
+  display: inline-flex;
+  align-items: center;
+  justify-content: center;
+  width: 18px;
+  height: 18px;
+  margin-left: 8px;
+  border-radius: 50%;
+  border: 1px solid var(--line);
+  background: #f3eee4;
+  color: var(--muted);
+  font-size: 12px;
+  font-weight: 600;
+  cursor: help;
+  vertical-align: 2px;
+}
+.q-tip .q-tip-pop {
+  display: none;
+  position: absolute;
+  top: 24px;
+  left: -10px;
+  width: 320px;
+  padding: 10px 12px;
+  background: #2f2a22;
+  color: #fff;
+  font-size: 12px;
+  font-weight: 400;
+  line-height: 1.6;
+  text-align: left;
+  border-radius: 8px;
+  z-index: 30;
+  box-shadow: 0 8px 24px rgba(20, 16, 10, 0.25);
+}
+.q-tip:hover .q-tip-pop, .q-tip:focus .q-tip-pop, .q-tip.open .q-tip-pop { display: block; }
+/* 表头里的问号:单元格是 nowrap,弹层要单独允许换行;靠右的列让弹层向左展开,
+   否则会被 .panel 的横向滚动裁掉(overflow-x:auto 同时会裁掉纵向溢出) */
+th .q-tip-pop { white-space: normal; }
+.q-tip.pop-right .q-tip-pop { left: auto; right: -6px; }
+
+/* 初始密码:输入框与「自动生成」按钮同行,等宽字体便于分辨易混字符 */
+.pwd-row { display: flex; align-items: center; gap: 8px; }
+.pwd-row input {
+  flex: 1; min-width: 0; max-width: none;
+  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .5px;
+}
+.pwd-row input.flash { animation: pwdFlash 520ms ease both; }
+@keyframes pwdFlash { from { background: #dff3ef; border-color: var(--teal); } to { background: white; border-color: var(--line); } }
+
+/* 新增档案时一并开通登录账号:可选区块,左侧色条把「登录名—初始密码—手机号」归为一组,
+   浅底与卡片底色区分,表明这几项不是档案必填内容(都留空即只建档案) */
+.acct-new {
+  margin-top: 8px;
+  padding: 8px 12px 6px;
+  border: 1px solid var(--line);
+  border-left: 3px solid var(--teal);
+  border-radius: 10px;
+  background: #fbf7ef;
+}
+.acct-new .note { margin-top: 4px; }
+/* 登录名与手机号并排显示 */
+.acct-grid {
+  display: grid;
+  grid-template-columns: 1fr 1fr;
+  gap: 0 12px;
+}
+@media (max-width: 580px) { .acct-grid { grid-template-columns: 1fr; } }
+/* 弹窗内可折叠说明,默认收起 */
+details.note-details { margin-top: 4px; }
+details.note-details summary {
+  cursor: pointer; font-size: 12px; color: var(--muted);
+  list-style: none; display: inline-flex; align-items: center; gap: 4px;
+}
+details.note-details summary::before { content: '?'; display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); background: #f3eee4; font-size: 10px; font-weight: 600; flex: none; }
+details.note-details[open] summary::before { content: '\2212'; }
+details.note-details .note { margin-top: 4px; }
+
+/* 成员负责范围:下拉多选树。收起时是一行选择框,展开后浮层内是区域—客户勾选树,区域可整块勾选 */
+.scope-pick { position: relative; margin-top: 6px; }
+.scope-pick-btn {
+  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
+  padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px;
+  background: var(--card); font-size: 14px; text-align: left;
+  transition: border-color 160ms ease;
+}
+.scope-pick-btn:hover, .scope-pick.open .scope-pick-btn { border-color: var(--teal); }
+.scope-pick-text {
+  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
+  color: var(--muted);
+}
+.scope-pick-caret { color: var(--muted); font-size: 12px; transition: transform 160ms ease; }
+.scope-pick.open .scope-pick-caret { transform: rotate(180deg); }
+.scope-pick-pop {
+  display: none; position: absolute; z-index: 6; left: 0; right: 0; margin-top: 6px;
+  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
+  box-shadow: 0 14px 34px rgba(40, 32, 20, 0.16);
+}
+.scope-pick.open .scope-pick-pop { display: block; animation: fadeIn 140ms ease both; }
+.scope-pick-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
+.scope-pick-bar .note { margin-left: auto; }
+.scope-pick-scroll { max-height: 250px; overflow: auto; }
+ul.tree .sp-region { font-weight: 600; }
+ul.tree .sp-region, ul.tree .sp-ent { margin: 3px 0; }
+/* 负责范围抽屉里的区域树:直接摊开在抽屉里(不走下拉浮层),限高让底部保存按钮始终够得着 */
+.scope-tree {
+  max-height: 52vh; overflow: auto; margin-top: 4px;
+  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fbf7ef;
+}
+
+/* 导出激活码弹窗:区域范围勾选树在弹窗内直接展开(勾选父节点即整块勾选其下级) */
+.ex-tree {
+  max-height: 262px; overflow: auto; margin: 0 0 12px;
+  padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fbf7ef;
+}
+.ex-tree ul.tree { margin: 2px 0; }
+.ex-tree label.ck { font-weight: normal; }
+
+/* 工单流程:状态筛选 tabs */
+.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
+.tab {
+  display: inline-flex; align-items: center; gap: 6px;
+  border: 1px solid var(--line); background: var(--card); border-radius: 999px;
+  padding: 6px 14px; font-size: 13px; color: var(--muted);
+  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
+}
+.tab b { font-size: 12px; color: inherit; opacity: 0.75; }
+.tab:hover { border-color: var(--teal); color: var(--teal-ink); transform: translateY(-1px); }
+.tab.active { background: var(--teal-ink); border-color: var(--teal-ink); color: #f3efe6; }
+.tab.active b { opacity: 0.9; }
+
+/* 运维团队:tab 与「开通运维团队」按钮同行,tab 在左按钮在右 */
+.team-tabs { justify-content: space-between; margin-bottom: 14px; }
+.panel-sub { margin: 16px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
+/* 某类型尚未开通团队时的空白 tab 页:虚线空态 + 居中开通入口 */
+.team-empty {
+  display: flex; flex-direction: column; align-items: center; gap: 4px;
+  padding: 46px 18px; border: 1px dashed #d3c6b3; background: transparent;
+}
+.team-empty-title { font-size: 15px; color: var(--ink); }
+.team-empty .note { max-width: 540px; margin-bottom: 10px; }
+
+/* 工单流程:状态流转指示 */
+.flow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
+.fstep {
+  display: inline-flex; align-items: center;
+  border: 1px solid var(--line); border-radius: 999px;
+  padding: 3px 12px; font-size: 12px; color: var(--muted); background: var(--card);
+}
+.fstep.done { border-color: #bcd9c8; color: var(--green); background: #e5f4ea; }
+.fstep.now { border-color: var(--teal); color: var(--teal-ink); background: #e5f3f2; font-weight: 600; }
+.fstep.bad { border-color: #eac4bc; color: var(--red); background: #fde8e4; }
+.farrow { color: var(--muted); font-size: 12px; }
+.fstep.clickable {
+  cursor: pointer; border-style: dashed; border-color: var(--teal); color: var(--teal-ink);
+  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
+}
+.fstep.clickable:hover {
+  transform: translateY(-1px);
+  background: #eef7f5;
+  box-shadow: 0 0 0 2px rgba(14, 110, 104, 0.15);
+}
+
+/* ===== 区域管理:概况卡片 + 钻取列表 ===== */
+/* 右栏允许收缩到 fr 份额以内,宽表格在 panel 内部横向滚动,避免挤压左侧区域树 */
+.region-over { min-height: 0; min-width: 0; }
+.ov-grid {
+  display: grid;
+  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
+  gap: 14px;
+  align-content: start;
+}
+button.ov-card {
+  text-align: left;
+  width: 100%;
+  display: flex;
+  flex-direction: column;
+  gap: 6px;
+  cursor: pointer;
+  border: 1px solid var(--line);
+}
+button.ov-card:hover {
+  border-color: var(--teal);
+  transform: translateY(-2px);
+  box-shadow: 0 14px 32px rgba(40, 32, 20, 0.12);
+}
+.ov-card .ov-title { color: var(--muted); font-size: 13.5px; }
+.ov-card b { font-size: 30px; margin: 2px 0; line-height: 1.1; word-break: break-word; }
+.ov-card .ov-sub { color: var(--muted); font-size: 12.5px; line-height: 1.55; min-height: 36px; }
+.ov-card .ov-go { color: var(--teal-ink); font-size: 12.5px; margin-top: 2px; }
+.ov-head .row { margin-bottom: 2px; }
+
+/* 危险色 ghost 按钮 */
+.btn.danger { background: transparent; color: var(--red); border-color: var(--red); }
+.btn.danger:hover { background: #fde8e4; }
+
+/* 概况卡片与右侧钻取视图入场动画(保持既有动效) */
+.ov-card { animation: fadeInUp 300ms ease both; }
+
+/* 列表筛选条:区域/付款周期下拉框与名称文本框排在表头上方,底部对齐 */
+.filters {
+  display: flex;
+  flex-wrap: wrap;
+  gap: 10px 16px;
+  align-items: flex-end;
+  margin: 6px 0 12px;
+}
+.filters .f-item label { margin: 0 0 4px; }
+.filters .f-item select,
+.filters .f-item input { width: auto; min-width: 200px; max-width: 320px; }
+/* 多选筛选下拉:工单类型 / 状态 / 回填来源三组各占一个控件的宽度,与其他下拉同行排布,
+   纵向省掉三整行标签。选项面板绝对定位浮在表格上方,展开态由 JS 状态维持,勾完一项仍保持展开 */
+.filters .f-item .msel { position: relative; }
+.filters .f-item .msel-btn {
+  display: flex;
+  align-items: center;
+  gap: 8px;
+  width: auto;
+  min-width: 200px;
+  max-width: 320px;
+  border: 1px solid var(--line);
+  background: white;
+  border-radius: 8px;
+  padding: 8px 10px;
+  text-align: left;
+  transition: border-color 180ms ease, box-shadow 180ms ease;
+}
+.filters .f-item .msel-btn:hover { border-color: var(--teal); }
+.filters .f-item .msel.open .msel-btn { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14, 110, 104, 0.12); }
+.filters .f-item .msel-text {
+  flex: 1 1 auto;
+  min-width: 0;
+  overflow: hidden;
+  white-space: nowrap;
+  text-overflow: ellipsis;
+  color: var(--muted);
+}
+.filters .f-item .msel-btn.has .msel-text { color: var(--ink); font-weight: 600; }
+.filters .f-item .msel-n {
+  flex: none;
+  min-width: 18px;
+  padding: 0 5px;
+  border-radius: 999px;
+  background: var(--teal);
+  color: #fff;
+  font-size: 11.5px;
+  line-height: 17px;
+  text-align: center;
+}
+.filters .f-item .msel-caret { flex: none; color: var(--muted); transition: transform 150ms ease; }
+.filters .f-item .msel.open .msel-caret { transform: rotate(180deg); }
+.filters .f-item .msel-panel {
+  position: absolute;
+  z-index: 30;
+  top: calc(100% + 4px);
+  left: 0;
+  min-width: 100%;
+  max-height: 264px;
+  overflow-y: auto;
+  display: flex;
+  flex-direction: column;
+  gap: 2px;
+  padding: 6px;
+  background: var(--card);
+  border: 1px solid var(--line);
+  border-radius: 10px;
+  box-shadow: var(--shadow);
+}
+.filters .f-item .msel-opt {
+  display: flex;
+  align-items: center;
+  gap: 7px;
+  white-space: nowrap;
+  border: 0;
+  background: transparent;
+  border-radius: 7px;
+  padding: 6px 9px;
+  font-size: 13.5px;
+  text-align: left;
+}
+.filters .f-item .msel-opt:hover { background: #f0e8d6; }
+.filters .f-item .msel-opt.on { color: var(--teal-ink); font-weight: 600; }
+
+/* ② 成本金额定义 · 一览表:未配置的格子按 0 计但置灰区分,当前录入中的组合整行高亮。
+   放在文件末尾以胜过上面 tbody tr:nth-child(even) td 的斑马纹背景 */
+td.amt-none { color: var(--muted); }
+tbody tr.combo-cur td { background: #f1e7d3; }
+tbody tr.combo-cur td:first-child { font-weight: 600; }
+.filters .f-item .msel-tick { flex: none; width: 12px; color: var(--teal); font-weight: 700; }
+
+/* 工单管理分页条:左边说明当前区间与总条数,右边页码;当前页实心,到头的一侧置灰不可点 */
+.pager { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
+.pager .note { margin: 0 auto 0 0; }
+.pager .pgs { display: flex; align-items: center; gap: 6px; }
+.pager .pg {
+  min-width: 34px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px;
+  background: var(--card); font-size: 13px; color: var(--ink);
+  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
+}
+.pager .pg:hover:not(:disabled) { border-color: var(--teal); }
+.pager .pg.cur { background: var(--teal); border-color: var(--teal); color: #fff; font-weight: 600; }
+.pager .pg:disabled { color: var(--muted); opacity: 0.5; cursor: not-allowed; }
+.pager .pg.gap { border: 0; background: transparent; color: var(--muted); }

File diff suppressed because it is too large
+ 2142 - 0
web-scaffold/prototype/app.js


+ 1153 - 0
web-scaffold/prototype/data.js

@@ -0,0 +1,1153 @@
+/* 模拟数据只存在于页面内存。内部下标从 0 开始,页面上的序号从 1 开始。 */
+const TODAY = "2026-10-15";
+
+/* 区域三级:省 / 市 / 区县。客户可挂在任一层,只能挂一个节点。
+   省级节点即「省份 × 运营商」组合取数用的省份(见 costs);市、区县不重复维护,继承向上最近的省级节点。 */
+const LEVEL_NAMES = ["省", "市", "区县"];
+
+const SEED = {
+  /* exitOptions:合同服务构成「线路出口」下拉的可选项(国家/地区名称原文),全局共用一套,
+     在「套餐目录 → 线路出口可选项配置」里由总运营增删;合同条目从这里取用,不再自由填写。 */
+  setting: { defaultReconcileDay: 5, exitOptions: ["中国香港", "中国澳门", "中国台湾", "日本", "韩国", "新加坡", "马来西亚", "泰国", "美国", "英国", "德国", "法国"] },
+  regions: [
+    { id: "shp", name: "上海市", level: 0, parent: null },
+    { id: "jsp", name: "江苏省", level: 0, parent: null },
+    { id: "gdp", name: "广东省", level: 0, parent: null },
+    { id: "sh", name: "上海市", level: 1, parent: "shp" },
+    { id: "su", name: "苏州市", level: 1, parent: "jsp" },
+    { id: "gz", name: "广州市", level: 1, parent: "gdp" },
+    { id: "pd", name: "浦东新区", level: 2, parent: "sh" },
+    { id: "lg", name: "临港新片区", level: 2, parent: "sh" },
+    { id: "mh", name: "闵行区", level: 2, parent: "sh" },
+    { id: "ks", name: "昆山市", level: 2, parent: "su" },
+    { id: "th", name: "天河区", level: 2, parent: "gz" },
+  ],
+  /* 运营商按所属区域建档(region 为区域节点 id,含下级生效);客户只归属唯一运营商。
+     名称只能取三大运营商枚举(移动 / 联通 / 电信),不带地名;所属区域默认取省一级节点,
+     同一区域内三家运营商各建一条,「所属区域 + 名称」构成幂等键(如「上海市 / 移动」),同区域同名不可重复建档。
+     shareMode 为档案级分成方式(按比例 / 按金额 / 按每账号,三选一),shareValue 随方式而定:
+     按比例时为 0-1 的比例(列表显示为百分比),按金额时为每月固定分成的人民币元(列表显示为金额/月),
+     按每账号时为每个账号的人民币金额(结算时分成金额 = 账号数 × 每账号金额)。在各自编辑界面配置。 */
+  operators: [
+    { name: "联通", region: "shp", reconcileDay: null, payCycle: "按月", notify: "notice@unicorn.example", shareMode: "按比例", shareValue: 0.2 },
+    { name: "电信", region: "shp", reconcileDay: null, payCycle: "按年", notify: "notice@ict-telecom.example", shareMode: "按比例", shareValue: 0.18 },
+    { name: "移动", region: "shp", reconcileDay: 8, payCycle: "按月", notify: "notice@mobile.example", shareMode: "按比例", shareValue: 0.15 },
+    { name: "电信", region: "gdp", reconcileDay: null, payCycle: "按季度", notify: "notice@gd-ict.example", shareMode: "按金额", shareValue: 60 },
+    { name: "移动", region: "jsp", reconcileDay: 12, payCycle: "按季度", notify: "notice@js-mobile.example", shareMode: "按每账号", shareValue: 3.5 },
+    /* 广东省 / 移动在档案上把对账日覆盖到 20 日:合伙人与运维团队一律按系统默认 5 日出账,
+       所以对账日还没到的最近一个自然月只有这类「各分成方都未到对账日」的期次才显示未出账(见结算记录末三条) */
+    { name: "移动", region: "gdp", reconcileDay: 20, payCycle: "按月", notify: "notice@gd-mobile.example", shareMode: "按比例", shareValue: 0.12 },
+  ],
+  partners: [
+    { name: "邹合", region: "shp", title: "华东渠道", notify: "zouhe@example", scope: { regions: ["sh", "su"], enterprises: [] }, shareMode: "按比例", shareValue: 0.05 },
+    { name: "何南", region: "gz", title: "华南渠道", notify: "henan@example", scope: { regions: ["th"], enterprises: [2] }, shareMode: "按每账号", shareValue: 6 },
+  ],
+  /* 运维团队按所属区域建档(region 为建档区域节点 id,列表显示全路径),负责范围另在「配置范围」里勾;
+     type 为团队类型(常规 / 施工,各占一个 tab),mode 为团队内工单分派方式,
+     ticketTypes 为该团队可承接的工单类型(开通与编辑团队时指定,路由工单时只在声明了该类型的团队里落单),
+     shareMode 与 shareValue 为档案级分成配置,口径与运营商、合伙人、运营团队一致。 */
+  teams: [
+    { name: "华东常规运维", region: "shp", type: "常规", mode: "手工", ticketTypes: ["开户", "服务开通", "故障", "售后", "到期停机", "客户停机"], scope: { regions: ["sh", "su"], enterprises: [] }, shareMode: "按金额", shareValue: 50 },
+    { name: "沪东施工", region: "sh", type: "施工", mode: "自动平均", ticketTypes: ["开户"], scope: { regions: ["pd"], enterprises: [1] }, shareMode: "按每账号", shareValue: 4 },
+  ],
+  /* hq: true 为系统内置的总运营团队:不限所属区域(region 为空),负责范围覆盖全国,列表置顶且不可删除。
+     该团队的默认主账号即总运营账号(见 users 中 builtin: true 的一条),不再另设运营团队账号。 */
+  regOpsTeams: [
+    { name: "总运营团队", region: "", hq: true, scope: { regions: ["shp", "jsp", "gdp"], enterprises: [] }, desc: "总部平台级团队,不限所属区域,覆盖全国全部客户", shareMode: "按比例", shareValue: 0.1 },
+    { name: "华东运营", region: "shp", scope: { regions: ["shp", "jsp"], enterprises: [] }, desc: "覆盖上海市与江苏省全部下挂客户", shareMode: "按比例", shareValue: 0.08 },
+    { name: "华南运营", region: "gdp", scope: { regions: ["gdp"], enterprises: [] }, desc: "覆盖广东省全部下挂客户", shareMode: "按金额", shareValue: 30 },
+    { name: "上海运营", region: "sh", scope: { regions: ["sh"], enterprises: [] }, desc: "覆盖上海市及其下级区域", shareMode: "按每账号", shareValue: 2.5 },
+  ],
+  members: [
+    { name: "周宁", team: 0, type: "常规", scope: [0, 1, 2, 4] },
+    { name: "李可", team: 0, type: "常规", scope: [0, 3, 4] },
+    { name: "赵工", team: 1, type: "施工", scope: [0, 1, 3] },
+    { name: "钱工", team: 1, type: "施工", scope: [0, 1, 3] },
+  ],
+  awards: [
+    { member: 2, at: "2026-09-20", kind: "奖励", text: "浦东园区割接提前 1 天完成,客户零投诉", amount: 200 },
+    { member: 2, at: "2026-10-11", kind: "扣罚", text: "临港上门未按约定时间到达,扣罚只作考核,费用在线下处理", amount: -100 },
+  ],
+  enterprises: [
+    {
+      no: "KL-2026-0001",
+      name: "澄澜科技有限公司",
+      subject: "企业",
+      idNo: "91310115MA1K3XE71T",
+      materials: "营业执照、客户名称、统一社会信用代码、经办联系人、地址、合同、电话",
+      files: ["oss://materials/KL-2026-0001/营业执照.pdf", "oss://materials/KL-2026-0001/受理单.pdf", "oss://materials/KL-2026-0001/联通交接单.pdf"],
+      contact: "沈澄",
+      address: "上海市浦东新区金港路 300 号 6 号楼 3 层",
+      phone: "021-66001001",
+      region: "pd",
+      operator: 0,
+      partner: 0,
+      teams: { 常规: 0, 施工: 1 },
+      status: "在用",
+      quota: 5,
+      history: [
+        { at: "2026-08-10 10:20", field: "挂载区域", before: "未挂载", after: "上海市 / 上海市 / 浦东新区", by: "林管" },
+        { at: "2026-03-20 16:40", field: "账户状态", before: "未开通", after: "在用(实际开通日 2026-03-20)", by: "赵工回填" },
+      ],
+    },
+    {
+      no: "KL-2026-0008",
+      name: "临港跨境贸易",
+      subject: "企业",
+      idNo: "91310115MA1F9QB64P",
+      materials: "营业执照、客户名称、统一社会信用代码、经办联系人、地址、合同、电话",
+      files: ["oss://materials/KL-2026-0008/营业执照.pdf", "oss://materials/KL-2026-0008/ICT合同.pdf", "oss://materials/KL-2026-0008/联通交接单.pdf"],
+      contact: "陆港",
+      address: "上海市浦东新区环湖西二路 800 号 A 座 11 层",
+      phone: "021-66002008",
+      region: "lg",
+      operator: 1,
+      partner: null,
+      teams: { 常规: 0, 施工: 1 },
+      status: "未开通",
+      quota: 8,
+      history: [
+        { at: "2026-09-02 09:05", field: "挂载区域", before: "未挂载", after: "上海市 / 上海市 / 临港新片区", by: "林管" },
+      ],
+    },
+    {
+      no: "KL-2026-0012",
+      name: "陈阿福",
+      subject: "个体工商户",
+      idNo: "320583199003124517",
+      materials: "身份证、姓名、身份证号、手机号、地址",
+      files: ["oss://materials/KL-2026-0012/身份证.jpg"],
+      contact: "陈阿福",
+      address: "江苏省昆山市玉山镇中华园东路 58 号 2 单元 402",
+      phone: "13800001112",
+      region: "ks",
+      operator: 2,
+      partner: 1,
+      teams: { 常规: 0 },
+      status: "在用",
+      quota: 1,
+      history: [
+        { at: "2026-08-28 14:10", field: "挂载区域", before: "未挂载", after: "江苏省 / 苏州市 / 昆山市", by: "林管" },
+      ],
+    },
+    {
+      no: "KL-2026-0019",
+      name: "王敏",
+      subject: "个人",
+      idNo: "310115199208173024",
+      materials: "身份证、姓名、身份证号、手机号、地址",
+      files: ["oss://materials/KL-2026-0019/身份证.jpg"],
+      contact: "王敏",
+      address: "上海市浦东新区张杨路 1200 弄 12 号 1802 室",
+      phone: "13900001019",
+      region: "pd",
+      operator: 2,
+      partner: 1,
+      teams: { 常规: 0, 施工: 1 },
+      status: "在用",
+      quota: 2,
+      history: [
+        { at: "2026-08-20 11:30", field: "挂载区域", before: "江苏省 / 苏州市 / 昆山市", after: "上海市 / 上海市 / 浦东新区", by: "林管" },
+        { at: "2026-08-20 11:32", field: "合伙人", before: "无", after: "何南(华南渠道,直接多选客户)", by: "林管" },
+      ],
+    },
+    {
+      no: "KL-2026-0023",
+      name: "海岚跨境电商(上海)",
+      subject: "企业",
+      idNo: "91310112MA1G8YK45H",
+      materials: "营业执照、客户名称、统一社会信用代码、经办联系人、地址、合同、电话",
+      files: ["oss://materials/KL-2026-0023/营业执照.pdf", "oss://materials/KL-2026-0023/续约合同.pdf"],
+      contact: "周岚",
+      address: "上海市闵行区申长路 988 号 3 号楼 5 层",
+      phone: "021-54002023",
+      region: "mh",
+      operator: 0,
+      partner: 0,
+      teams: { 常规: 0 },
+      status: "在用",
+      quota: 2,
+      history: [
+        { at: "2026-09-12 15:00", field: "挂载区域", before: "未挂载", after: "上海市 / 上海市 / 闵行区", by: "林管" },
+        { at: "2025-10-01 10:00", field: "账户状态", before: "未开通", after: "在用(实际开通日 2025-10-01)", by: "周宁回填" },
+      ],
+    },
+    /* 与 KL-2026-0012 同名的个人客户:客户名称允许重名,建档与查重只看客户识别号 */
+    {
+      no: "KL-2026-0026",
+      name: "陈阿福",
+      subject: "个人",
+      idNo: "330382198711260018",
+      materials: "身份证、姓名、身份证号、手机号、地址",
+      files: ["oss://materials/KL-2026-0026/身份证.jpg"],
+      contact: "陈阿福",
+      address: "上海市闵行区七莘路 1500 弄 8 号 501 室",
+      phone: "13800002026",
+      region: "mh",
+      operator: 0,
+      partner: 1,
+      teams: { 常规: 0 },
+      status: "未开通",
+      quota: 1,
+      history: [
+        { at: "2026-10-15 09:40", field: "挂载区域", before: "未挂载", after: "上海市 / 上海市 / 闵行区", by: "林管" },
+      ],
+    },
+    /* 广东省内客户(挂在市级节点):名下只有运营商分成——没有合伙人,华东常规运维虽归属在本客户档案上但没有配到该客户的分成规则(计 0、不进对账),
+       广东省 / 移动又把对账日覆盖到 20 日,故该客户 2026-09 的应收至今各分成方都未到对账日,用于演示未出账(见 settlements 末三条) */
+    {
+      no: "KL-2026-0031",
+      name: "广州天河北商贸",
+      subject: "企业",
+      idNo: "91440101MA5CQ7X23L",
+      materials: "营业执照、客户名称、统一社会信用代码、经办联系人、地址、合同、电话",
+      files: ["oss://materials/KL-2026-0031/营业执照.pdf", "oss://materials/KL-2026-0031/移动交接单.pdf"],
+      contact: "区先生",
+      address: "广州市天河区天河北路 233 号 12 层 05 室",
+      phone: "020-38002031",
+      region: "gz",
+      operator: 5,
+      partner: null,
+      teams: { 常规: 0 },
+      status: "在用",
+      quota: 10,
+      history: [
+        { at: "2026-06-18 15:20", field: "挂载区域", before: "未挂载", after: "广东省 / 广州市", by: "林管" },
+        { at: "2026-07-01 09:10", field: "账户状态", before: "未开通", after: "在用(实际开通日 2026-07-01)", by: "周宁回填" },
+      ],
+    },
+    /* 停机客户(到期停机演示):订阅到期未续费,停机工单 T-20260921-01 回填成功后客户与在用分账号全改停用,
+       工单停在已完成、竣工单待每月 25 日统一回传;主账号未建,额度归零后不再自动补建分账号 */
+    {
+      no: "KL-2026-0035",
+      name: "苏州启航电商工作室",
+      subject: "个体工商户",
+      idNo: "92320583MA1M9XK20T",
+      materials: "营业执照、客户名称、统一社会信用代码、经办联系人、地址、合同、电话",
+      files: ["oss://materials/KL-2026-0035/营业执照.pdf"],
+      contact: "黄启",
+      address: "江苏省昆山市玉山镇前进西路 688 号 3 号楼 708 室",
+      phone: "0512-57003035",
+      region: "ks",
+      operator: 4,
+      partner: null,
+      teams: { 常规: 0 },
+      status: "停用",
+      quota: 0,
+      history: [
+        { at: "2026-09-22 18:05", field: "账户状态", before: "在用", after: "停用(到期停机工单 T-20260921-01 回填成功)", by: "周宁回填" },
+        { at: "2025-09-22 10:00", field: "账户状态", before: "未开通", after: "在用(实际开通日 2025-09-22)", by: "周宁回填" },
+      ],
+    },
+    /* 停机客户(到期停机闭环演示):旧订阅到期的停机单因客户续费承接提前关闭(T-20260701-01,开停记录置执行失败);
+       承接订阅到期后停机成功,竣工回传+联通回执闭环(T-20260901-02),客户与在用分账号改停用 */
+    {
+      no: "KL-2026-0036",
+      name: "上海憬庭文化传媒有限公司",
+      subject: "企业",
+      idNo: "91310112MA1H7TQ83R",
+      materials: "营业执照、客户名称、统一社会信用代码、经办联系人、地址、合同、电话",
+      files: ["oss://materials/KL-2026-0036/营业执照.pdf"],
+      contact: "袁女士",
+      address: "上海市闵行区虹梅北路 2100 号 2 号楼 1203 室",
+      phone: "021-64002036",
+      region: "mh",
+      operator: 0,
+      partner: null,
+      teams: { 常规: 0 },
+      status: "停用",
+      quota: 0,
+      history: [
+        { at: "2026-09-02 17:35", field: "账户状态", before: "在用", after: "停用(到期停机工单 T-20260901-02 回填成功)", by: "周宁回填" },
+        { at: "2025-07-02 09:30", field: "账户状态", before: "未开通", after: "在用(实际开通日 2025-07-02)", by: "周宁回填" },
+      ],
+    },
+  ],
+  /* 固定套餐口径取自 docs/原始文档/跨境网络报价单.pdf:
+     使用规模 10 人左右分「通用办公 / 直播高需求 / AI 应用」三组共 8 档,另设「单独境外 IP」按个叠加档;
+     使用规模 30 人及以上走定制化,报价单不列固定单价,由区域运营为具体客户配自定义套餐承接
+     (跨境养号的云手机租赁同为按需报价,同样走自定义套餐)。
+     cat 为用途分类,目录按它分组;desc 为报价单权益口径。
+     报价单按月报价,首期只做按年订阅,年订阅价格 = 月价 × 12。
+     分账号额度报价单未给出,按用途推定(办公档 10;直播 A 单链接单流 2、B 单链接多流 5、C 顶配 10;
+     AI 5M 档 3、10M 档 5;按个叠加的增值项不占额度记 0),运营可在目录内直接改。
+     costs 为该档位随附的成本项:名称取自「成本管理」里的全局应扣除成本项清单,档位上不录金额——
+     同一成本项的具体金额按「省份 × 运营商」组合各不相同(见 costs),金额在出账时按订单相关的组合取。
+     计算方式为「每份」的项再多一个 qty:本档位实际配了几份这项资源就摊几份
+     (例如该档配了 2 台境外云主机记 qty: 2),不填按 1 份;「每客户」「每账号」的项不带 qty,也不按份数放大。
+     成本项本身是全局口径,不挂在客户或订阅上,客户本月计入哪几笔由其在用订阅引用的档位决定。 */
+  packages: [
+    { name: "跨境办公 · 基础档", cat: "通用办公", yearPrice: 1080, monthPrice: 90, quota: 10, bw: "不承诺带宽", desc: "一般访问流量,无固定境外 IP,不承诺带宽", custom: null },
+    { name: "跨境办公 · 标准档", cat: "通用办公", yearPrice: 1440, monthPrice: 120, quota: 10, bw: "下行 10M / 上行 1M", desc: "店铺管理、一般办公、视频会议、ERP 等,比基础档速度更快更稳定", custom: null },
+    { name: "跨境办公 · 独立 IP 档", cat: "通用办公", yearPrice: 1920, monthPrice: 160, quota: 10, bw: "下行 5M / 上行 2M", desc: "单独境外 IP 配置,通过 CPE 组织网络管理平台", custom: null, costs: [{ name: "国家 IP 地址月摊销", qty: 1 }] },
+    { name: "直播高需求 · A 类", cat: "直播高需求", yearPrice: 10800, monthPrice: 900, quota: 2, bw: "上下行 10M", desc: "单链接、单流;单独境外 IP 另购,80 元/个", custom: null },
+    { name: "直播高需求 · B 类", cat: "直播高需求", yearPrice: 32400, monthPrice: 2700, quota: 5, bw: "上下行 30M", desc: "单链接、多流;团队内部运营如后台管理、看播等已包含", custom: null },
+    { name: "直播高需求 · C 类", cat: "直播高需求", yearPrice: 62400, monthPrice: 5200, quota: 10, bw: "上下行 50M", desc: "直播高需求顶配档;链接数与流数按合同另定", custom: null },
+    { name: "AI 应用 · 5M 档", cat: "AI 应用", yearPrice: 5760, monthPrice: 480, quota: 3, bw: "上下行 5M", desc: "面向 AI 应用访问的固定上下行带宽档", custom: null, costs: [{ name: "国家 IP 地址月摊销", qty: 1 }] },
+    { name: "AI 应用 · 10M 档", cat: "AI 应用", yearPrice: 10800, monthPrice: 900, quota: 5, bw: "上下行 10M", desc: "面向 AI 应用访问的固定上下行带宽档", custom: null },
+    { name: "单独境外 IP(按个叠加)", cat: "叠加增值", yearPrice: 960, monthPrice: 80, quota: 0, bw: "按个计,不占带宽", desc: "80 元/个/月,与主档叠加订阅、各自计费;个数与单价在订阅上按合同改写", custom: null, costs: [{ name: "国际云主机月摊销", qty: 1 }] },
+    { name: "临港 ICT 定制套餐", cat: "定制化", yearPrice: 24000, monthPrice: 2000, quota: 8, bw: "150Mbps", desc: "使用规模 30 人及以上,业务分析与需求摸排调研后定制;临港跨境贸易专项档", custom: 1, costs: [{ name: "国际出口带宽月摊销" }, { name: "国际云主机月摊销", qty: 2 }] }, /* 每份:该档配了 2 台境外云主机,金额按订单的「省份 × 运营商」组合 × 2 摊 */
+  ],
+  /* 订阅一律按名称引用「套餐目录」中的档位,签约时把目录价冻结到订阅上(目录改价不影响存量订阅)。
+     示例覆盖全部用途分类:通用办公(基础 / 标准 / 独立 IP 档)、直播高需求(A 类)、AI 应用(5M 档)、
+     叠加增值(单独境外 IP ×2 个:80 元/个/月 × 2 × 12)、定制化(临港 ICT 自定义档)。
+     另含「同一套餐不同出口并存」示例(见末条):出口随所引用合同的套餐条目带出,不同出口各计一份额度、各自出账。
+     orderNo 为运营商(联通/政企云平台)侧订单号,即所引用合同上的外部单号:保存订阅时随合同带出并冻结在本条订阅上,
+     一份订单可以对应多份订阅(同一份合同的多条服务构成条目分别成订阅),合同外部单号为空(界面录入)时记空串、列表出「—」。 */
+  subs: [
+    /* 到期与升降配被替代都只把原订阅的结束日截到承接方开始日前一天并转「已到期」,
+       订阅方式保留本条建立时的原值(这里仍是「正式」),不另设「升降配前」这类口径 */
+    { enterprise: 0, name: "跨境办公 · 基础档", kind: "正式", status: "已到期", start: "2025-03-18", end: "2026-03-17", yearPrice: 1080, monthPrice: 90, openedOn: "2025-03-20", contractNo: "HT-CL-20250318", orderNo: "CU-SH-20250315-011", files: ["oss://contracts/HT-CL-20250318.pdf"] },
+    { enterprise: 0, name: "跨境办公 · 标准档", kind: "正式", status: "生效中", start: "2026-03-18", end: "2027-03-17", yearPrice: 1440, monthPrice: 120, openedOn: "2026-03-20", contractNo: "HT-CL-20260318", orderNo: "CU-SH-20260316-023", files: ["oss://contracts/HT-CL-20260318.pdf"] },
+    { enterprise: 1, name: "临港 ICT 定制套餐", kind: "正式", status: "生效中", start: "2026-09-02", end: "2027-09-01", yearPrice: 24000, monthPrice: 2000, openedOn: null, contractNo: "ICT-LG-20260902", orderNo: "CU-SH-20261006-077", files: ["oss://contracts/ICT-LG-20260902.pdf"] },
+    { enterprise: 2, name: "直播高需求 · A 类", kind: "正式", status: "生效中", start: "2026-09-01", end: "2026-10-31", yearPrice: 10800, monthPrice: 900, openedOn: "2026-09-01", contractNo: "HT-CFA-20260901", orderNo: "CM-SZ-20260828-042", files: ["oss://contracts/HT-CFA-20260901.pdf"] },
+    { enterprise: 3, name: "AI 应用 · 5M 档", kind: "正式", status: "生效中", start: "2026-06-01", end: "2027-05-31", yearPrice: 5760, monthPrice: 480, openedOn: "2026-06-01", contractNo: "HT-WM-20260601", orderNo: "", files: ["oss://contracts/HT-WM-20260601.pdf"] },
+    { enterprise: 3, name: "单独境外 IP(按个叠加)", kind: "叠加", status: "生效中", start: "2026-08-01", end: "2027-07-31", yearPrice: 1920, monthPrice: 160, openedOn: "2026-08-01", contractNo: "HT-WM-20260801", orderNo: "", files: ["oss://contracts/HT-WM-20260801.pdf"] },
+    { enterprise: 4, name: "跨境办公 · 独立 IP 档", kind: "正式", status: "已到期", start: "2025-10-01", end: "2026-09-30", yearPrice: 1920, monthPrice: 160, openedOn: "2025-10-01", contractNo: "HT-HL-20251001", orderNo: "CU-SH-20250925-090", files: ["oss://contracts/HT-HL-20251001.pdf"] },
+    { enterprise: 4, name: "跨境办公 · 独立 IP 档", kind: "正式", status: "待生效", start: "2026-11-01", end: "2027-10-31", yearPrice: 1920, monthPrice: 160, openedOn: null, contractNo: "HT-HL-20261101", orderNo: "CU-SH-20261009-115", files: ["oss://contracts/HT-HL-20261101.pdf"] },
+    /* 客户已在用时新增的叠加订阅:保存时自动生成「服务开通」工单(见 tickets 末条),实际开通日尚未回填 */
+    { enterprise: 3, name: "单独境外 IP(按个叠加)", kind: "叠加", status: "生效中", start: "2026-10-08", end: "2027-10-07", yearPrice: 1920, monthPrice: 160, openedOn: null, contractNo: "HT-WM-20261008", orderNo: "", files: ["oss://contracts/HT-WM-20261008.pdf"] },
+    /* 同一套餐不同出口并存示例:客户 0 已有中国香港出口的标准档生效订阅(HT-CL-20260318),本条经 HT-CL-20260901 走美国出口,
+       两份额度累加、各自出账;出口随所引用合同的套餐条目带出(本条不写 exits,由合同条目派生演示兜底链路) */
+    { enterprise: 0, name: "跨境办公 · 标准档", kind: "正式", status: "生效中", start: "2026-09-01", end: "2027-08-31", yearPrice: 1440, monthPrice: 120, openedOn: "2026-09-03", contractNo: "HT-CL-20260901", orderNo: "", files: ["oss://contracts/HT-CL-20260901.pdf"] },
+    /* 一份订单出多份订阅示例:联通订单 CU-SH-20250315-011(合同 HT-CL-20250318)里同时订了基础档与 1 个单独境外 IP,
+       两个服务构成条目分别成订阅,两条订阅记同一个订单号,核对这一单时按订单号能一起捞出来 */
+    { enterprise: 0, name: "单独境外 IP(按个叠加)", kind: "叠加", status: "已到期", start: "2025-03-18", end: "2026-03-17", yearPrice: 960, monthPrice: 80, openedOn: "2025-03-20", contractNo: "HT-CL-20250318", orderNo: "CU-SH-20250315-011", files: ["oss://contracts/HT-CL-20250318.pdf"] },
+    /* 广州天河北商贸(客户 6):只有运营商分成的纯运营商订阅,2026-07-01 整月起租(6 月 18 日签单、7 月 1 日开通),
+       三个整月的出账状态正好覆盖已出账 / 出账异常 / 未出账三态(见 settlements 末三条) */
+    { enterprise: 6, name: "跨境办公 · 独立 IP 档", kind: "正式", status: "生效中", start: "2026-07-01", end: "2027-06-30", yearPrice: 1920, monthPrice: 160, openedOn: "2026-07-01", contractNo: "HT-GZ-20260701", orderNo: "CM-GZ-20260618-031", files: ["oss://contracts/HT-GZ-20260701.pdf"] },
+    /* 覆盖工单类型×流程节点全组合的补充样例:客户 6 新增叠加订阅自动生成待处理服务开通工单(见 tickets T-20261013-02);
+       客户 7、8 为停机客户,订阅到期前均已开通 */
+    { enterprise: 6, name: "单独境外 IP(按个叠加)", kind: "叠加", status: "生效中", start: "2026-10-13", end: "2027-10-12", yearPrice: 960, monthPrice: 80, openedOn: null, contractNo: "HT-GZ-20261013", orderNo: "", files: ["oss://contracts/HT-GZ-20261013.pdf"] },
+    { enterprise: 7, name: "跨境办公 · 基础档", kind: "正式", status: "已到期", start: "2025-09-21", end: "2026-09-20", yearPrice: 1080, monthPrice: 90, openedOn: "2025-09-22", contractNo: "HT-QH-20250921", orderNo: "CU-SZ-20250918-055", files: ["oss://contracts/HT-QH-20250921.pdf"] },
+    { enterprise: 8, name: "跨境办公 · 标准档", kind: "正式", status: "已到期", start: "2026-07-05", end: "2026-08-31", yearPrice: 1440, monthPrice: 120, openedOn: "2026-07-06", contractNo: "HT-JT-20260705", orderNo: "CU-SH-20260702-024", files: ["oss://contracts/HT-JT-20260705.pdf"] },
+    { enterprise: 8, name: "跨境办公 · 标准档", kind: "正式", status: "已到期", start: "2025-07-01", end: "2026-06-30", yearPrice: 1440, monthPrice: 120, openedOn: "2025-07-02", contractNo: "HT-JT-20250701", orderNo: "CU-SH-20250626-018", files: ["oss://contracts/HT-JT-20250701.pdf"] },
+  ],
+  /* 合同管理(见需求规格说明 5.3):合同留存完整的合同业务配置信息,是生成工单与运营商对账的数据源头。
+     no 与订阅上的合同编号对应(界面录入可留空,由系统按客户主体号生成);extNo 为运营商侧外部单号(联通订单号,界面录入可空),
+     一份合同可出多份订阅,订阅保存时把这个号作为「订单号」冻结到每条订阅上,追溯时按订单号能捞回同一单的订阅;
+     amount 为合同总额(客户应收仍按订阅冻结价计,见 5.3);items 为服务构成条目,两种形态可在同一份合同混用、逐项独立配置:
+     套餐式 {type:"套餐", pkg:档位名, qty, exits, ips}——账号数按档位额度 × 数量派生,带宽以档位口径为准;
+     自定义式 {type:"自定义", accounts, bwDown, bwUp, bwSym?, exits, ips}——不指定固定套餐,直接录账号数与上/下行带宽(只填单值时 bwSym 标注对称)。
+     条目内 exits 为线路出口(国家/地区,从下拉选取):套餐式单选一条(要换出口另建一条合同),自定义式可选多条;ips 为需分配 IP 条目(出口 + 带宽档位 + 数量,与 7.2 交接单同口径);
+     列表与详情的带宽 / 出口 / 账号数 / IP 条目均按条目汇总派生。agent 三件套为运营商经办人(姓名、电话、交接单日期,均必填);
+     source 记合同进入系统的途径(联通同步 / 界面录入 / 批量导入)。状态按起止日与 TODAY 派生:待生效 / 生效中 / 已到期。 */
+  contracts: [
+    /* 一份订单出多份订阅的落点:这一单(联通订单 CU-SH-20250315-011)里带两个服务构成条目——基础档与 1 个单独境外 IP,
+       分别成两条订阅(见 subs 首条与末条),两条订阅记同一个订单号;合同总额含叠加档 960 元 */
+    { no: "HT-CL-20250318", enterprise: 0, extNo: "CU-SH-20250315-011", amount: 2040, payCycle: "按年", start: "2025-03-18", end: "2026-03-17", items: [{ type: "套餐", pkg: "跨境办公 · 基础档", qty: 1, exits: ["中国香港"], ipCount: 0 }, { type: "套餐", pkg: "单独境外 IP(按个叠加)", qty: 1, exits: ["中国香港"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2025-03-15", source: "联通同步", files: ["oss://contracts/HT-CL-20250318.pdf"] },
+    { no: "HT-CL-20260318", enterprise: 0, extNo: "CU-SH-20260316-023", amount: 1440, payCycle: "按年", start: "2026-03-18", end: "2027-03-17", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-03-16", source: "联通同步", files: ["oss://contracts/HT-CL-20260318.pdf"] },
+    /* 套餐式 + 自定义式混用示例:临港 ICT 定制套餐 ×1,另有一笔不指定套餐的自定义服务(账号 4、对称 30M、美国出口 + IP) */
+    { no: "ICT-LG-20260902", enterprise: 1, extNo: "CU-SH-20261006-077", amount: 24000, payCycle: "按年", start: "2026-09-02", end: "2027-09-01", items: [
+      { type: "套餐", pkg: "临港 ICT 定制套餐", qty: 1, exits: ["中国香港"], ipCount: 2 },
+      { type: "自定义", accounts: 4, bwDown: 30, bwUp: 30, bwSym: true, exits: ["美国"], ipCount: 1 },
+    ], agent: "临港联通 · 张工", agentPhone: "13601700208", handoverOn: "2026-10-06", source: "界面录入", files: ["oss://contracts/ICT-LG-20260902.pdf"] },
+    { no: "HT-CFA-20260901", enterprise: 2, extNo: "CM-SZ-20260828-042", amount: 10800, payCycle: "按月", start: "2026-09-01", end: "2026-10-31", items: [{ type: "套餐", pkg: "直播高需求 · A 类", qty: 1, exits: ["美国"], ipCount: 1 }], agent: "苏州移动 · 刘经理", agentPhone: "13800002201", handoverOn: "2026-08-29", source: "批量导入", files: ["oss://contracts/HT-CFA-20260901.pdf"] },
+    { no: "HT-WM-20260601", enterprise: 3, extNo: "", amount: 5760, payCycle: "按年", start: "2026-06-01", end: "2027-05-31", items: [{ type: "套餐", pkg: "AI 应用 · 5M 档", qty: 1, exits: ["日本"], ipCount: 1 }], agent: "上海移动 · 高经理", agentPhone: "13900003301", handoverOn: "2026-05-28", source: "界面录入", files: ["oss://contracts/HT-WM-20260601.pdf"] },
+    /* 纯自定义式示例:不指定固定套餐,直接约定账号 2、上下行对称 5M、日本出口与 IP 条目 */
+    { no: "HT-WM-20260801", enterprise: 3, extNo: "", amount: 1920, payCycle: "按年", start: "2026-08-01", end: "2027-07-31", items: [{ type: "自定义", accounts: 2, bwDown: 5, bwUp: 5, bwSym: true, exits: ["日本"], ipCount: 2 }], agent: "上海移动 · 高经理", agentPhone: "13900003301", handoverOn: "2026-07-29", source: "界面录入", files: ["oss://contracts/HT-WM-20260801.pdf"] },
+    /* 叠加档示例:单独境外 IP ×2 个,档位额度为 0,不新增账号数 */
+    { no: "HT-WM-20261008", enterprise: 3, extNo: "", amount: 1920, payCycle: "按年", start: "2026-10-08", end: "2027-10-07", items: [{ type: "套餐", pkg: "单独境外 IP(按个叠加)", qty: 2, exits: ["中国香港"], ipCount: 2 }], agent: "上海移动 · 高经理", agentPhone: "13900003301", handoverOn: "2026-10-06", source: "界面录入", files: ["oss://contracts/HT-WM-20261008.pdf"] },
+    { no: "HT-HL-20251001", enterprise: 4, extNo: "CU-SH-20250925-090", amount: 1920, payCycle: "按年", start: "2025-10-01", end: "2026-09-30", items: [{ type: "套餐", pkg: "跨境办公 · 独立 IP 档", qty: 1, exits: ["新加坡"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2025-09-26", source: "联通同步", files: ["oss://contracts/HT-HL-20251001.pdf"] },
+    { no: "HT-HL-20261101", enterprise: 4, extNo: "CU-SH-20261009-115", amount: 1920, payCycle: "按年", start: "2026-11-01", end: "2027-10-31", items: [{ type: "套餐", pkg: "跨境办公 · 独立 IP 档", qty: 1, exits: ["新加坡"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-10-10", source: "联通同步", files: ["oss://contracts/HT-HL-20261101.pdf"] },
+    /* 不同出口并存演示合同:与客户 0 的中国香港标准档(HT-CL-20260318)同套餐不同出口,两份额度累加、各自出账 */
+    { no: "HT-CL-20260901", enterprise: 0, extNo: "", amount: 1440, payCycle: "按年", start: "2026-09-01", end: "2027-08-31", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["美国"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-08-28", source: "界面录入", files: ["oss://contracts/HT-CL-20260901.pdf"] },
+    /* 广州天河北商贸(客户 6)的合同:广州移动政企单,2026-06-18 交接、2026-07-01 生效,
+       服务构成只有一条独立 IP 档,对账走该运营商档案上的 20 日 */
+    { no: "HT-GZ-20260701", enterprise: 6, extNo: "CM-GZ-20260618-031", amount: 1920, payCycle: "按年", start: "2026-07-01", end: "2027-06-30", items: [{ type: "套餐", pkg: "跨境办公 · 独立 IP 档", qty: 1, exits: ["新加坡"], ipCount: 1 }], agent: "广州移动 · 区经理", agentPhone: "13800004401", handoverOn: "2026-06-18", source: "界面录入", files: ["oss://contracts/HT-GZ-20260701.pdf"] },
+    /* 覆盖工单全组合的补充合同:客户 6 叠加订阅(生成待处理服务开通工单)、客户 7 一年期一档(到期停机)、
+       客户 8 新旧两份(旧订阅停机单被续费承接关闭,新订阅停机单回执闭环) */
+    { no: "HT-GZ-20261013", enterprise: 6, extNo: "", amount: 960, payCycle: "按年", start: "2026-10-13", end: "2027-10-12", items: [{ type: "套餐", pkg: "单独境外 IP(按个叠加)", qty: 1, exits: ["新加坡"], ipCount: 1 }], agent: "广州移动 · 区经理", agentPhone: "13800004401", handoverOn: "2026-10-12", source: "界面录入", files: ["oss://contracts/HT-GZ-20261013.pdf"] },
+    { no: "HT-QH-20250921", enterprise: 7, extNo: "CU-SZ-20250918-055", amount: 1080, payCycle: "按年", start: "2025-09-21", end: "2026-09-20", items: [{ type: "套餐", pkg: "跨境办公 · 基础档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "江苏联通 · 黄经理", agentPhone: "13601900502", handoverOn: "2025-09-18", source: "联通同步", files: ["oss://contracts/HT-QH-20250921.pdf"] },
+    { no: "HT-JT-20250701", enterprise: 8, extNo: "CU-SH-20250626-018", amount: 1440, payCycle: "按年", start: "2025-07-01", end: "2026-06-30", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2025-06-26", source: "联通同步", files: ["oss://contracts/HT-JT-20250701.pdf"] },
+    { no: "HT-JT-20260705", enterprise: 8, extNo: "CU-SH-20260702-024", amount: 360, payCycle: "按月", start: "2026-07-05", end: "2026-08-31", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-07-02", source: "联通同步", files: ["oss://contracts/HT-JT-20260705.pdf"] },
+  ],
+  /* 下属分账号:login 为账号名,规则是「客户主账号登录名-n」,n 为该客户的分账号序号,从 1 起,
+     正式与临时测试共用一个序号池;netLogin 为零信任客户端上的账号名,选填、可改、不校验唯一。
+     正式数量由套餐额度决定,示例里未建满的部分由启动时的 alignSubAccounts 按额度自动补齐。
+     name 是使用人姓名,建号时留空为「席位 n」,之后由运营在客户管理页或客户主账号在「下属分账号」页改写。
+     status 的「停用」有两条来源:到期停机回填(整户停);客户主账号在自己的「下属分账号」页停用单个「在用」号
+     (二次确认后生效,本号不再计入共享账号数,同时自动生成一张「客户停机」工单交运维执行网络侧停机)。 */
+  accounts: [
+    { enterprise: 0, name: "张敏", login: "clkj-1", status: "在用", usage: "正式", openedOn: "2026-03-20", netLogin: "zhangmin@clkj" },
+    { enterprise: 0, name: "李航", login: "clkj-2", status: "在用", usage: "正式", openedOn: "2026-03-20", netLogin: "" },
+    { enterprise: 0, name: "联调测试", login: "clkj-3", status: "在用", usage: "测试", openedOn: "2026-04-01", netLogin: "uat-liantiao@clkj" },
+    { enterprise: 0, name: "待开通席位", login: "clkj-4", status: "未开通", usage: "正式", openedOn: null, netLogin: "" },
+    { enterprise: 1, name: "临港-财务", login: "lgkjmy-1", status: "未开通", usage: "正式", openedOn: null, netLogin: "" },
+    { enterprise: 1, name: "临港-关务", login: "lgkjmy-2", status: "未开通", usage: "正式", openedOn: null, netLogin: "customs-01@lingang" },
+    { enterprise: 3, name: "王敏本人", login: "wm-1", status: "在用", usage: "正式", openedOn: "2026-06-01", netLogin: "wangmin@wm" },
+    { enterprise: 4, name: "海岚-小王", login: "hlkjdssh-1", status: "在用", usage: "正式", openedOn: "2025-10-01", netLogin: "" },
+    /* 陈阿福(客户 2)的正式席位:开户工单 T-20260829-01 回填成功后在用,账号名按「主账号登录名-n」规则 */
+    { enterprise: 2, name: "陈阿福", login: "caf-1", status: "在用", usage: "正式", openedOn: "2026-09-01", netLogin: "chenafu@caf" },
+    /* 广州天河北商贸(客户 6)的分账号:开户工单 T-20260620-01 回填成功时启用的两个正式席位(该客户主账号未建,不自动补建额度) */
+    { enterprise: 6, name: "区先生", login: "tghb-1", status: "在用", usage: "正式", openedOn: "2026-07-01", netLogin: "quxs@tghb" },
+    { enterprise: 6, name: "天河北-外贸", login: "tghb-2", status: "在用", usage: "正式", openedOn: "2026-07-01", netLogin: "" },
+    /* 两个停机客户的分账号:随到期停机回填成功改停用 */
+    { enterprise: 7, name: "启航-运营", login: "sqhq-1", status: "停用", usage: "正式", openedOn: "2025-09-22", netLogin: "" },
+    { enterprise: 8, name: "憬庭-行政", login: "jtwh-1", status: "停用", usage: "正式", openedOn: "2025-07-02", netLogin: "jingting@jtwh" },
+    { enterprise: 8, name: "憬庭-投放", login: "jtwh-2", status: "停用", usage: "正式", openedOn: "2025-07-02", netLogin: "" },
+  ],
+  /* 开停记录与工单一一对应;状态:待执行 / 执行成功 / 执行失败 */
+  actions: [
+    { id: "A-20261007-08", enterprise: 1, type: "开户", status: "待执行", ticket: 0, created: "2026-10-07", doneOn: null, extendUntil: null, by: null },
+    { id: "A-20261009-23", enterprise: 4, type: "到期停机", status: "待执行", ticket: 7, created: "2026-10-09", doneOn: null, extendUntil: null, by: null },
+    { id: "A-20260829-05", enterprise: 2, type: "开户", status: "执行成功", ticket: 10, created: "2026-08-29", doneOn: "2026-09-01", extendUntil: null, by: "周宁" },
+    /* 覆盖工单全组合的补充开停记录:ticket 为工单数组下标(新工单追加在 idx11-26) */
+    { id: "A-20261015-02", enterprise: 5, type: "开户", status: "待执行", ticket: 11, created: "2026-10-15", doneOn: null, extendUntil: null, by: null },
+    { id: "A-20260620-03", enterprise: 6, type: "开户", status: "执行成功", ticket: 12, created: "2026-06-20", doneOn: "2026-07-01", extendUntil: null, by: "周宁" },
+    { id: "A-20261003-11", enterprise: 1, type: "开户", status: "执行失败", ticket: 13, created: "2026-10-03", doneOn: null, extendUntil: null, by: null },
+    { id: "A-20260921-04", enterprise: 7, type: "到期停机", status: "执行成功", ticket: 19, created: "2026-09-21", doneOn: "2026-09-22", extendUntil: null, by: "周宁" },
+    { id: "A-20260901-09", enterprise: 8, type: "到期停机", status: "执行成功", ticket: 20, created: "2026-09-01", doneOn: "2026-09-02", extendUntil: null, by: "周宁" },
+    { id: "A-20260701-06", enterprise: 8, type: "到期停机", status: "执行失败", ticket: 21, created: "2026-07-01", doneOn: null, extendUntil: null, by: null },
+    { id: "A-20260318-02", enterprise: 0, type: "到期停机", status: "执行失败", ticket: 18, created: "2026-03-18", doneOn: null, extendUntil: null, by: "周宁" },
+    /* 澄澜科技标准档开户(idx26,沪东施工):施工类型成员回填成功后客户账户转在用 */
+    { id: "A-20260318-03", enterprise: 0, type: "开户", status: "执行成功", ticket: 26, created: "2026-03-18", doneOn: "2026-03-20", extendUntil: null, by: "赵工" },
+  ],
+  /* 工单:no 为我方工单号(T-创建日-当日流水),贯穿开户回填、竣工回传与联通回执;contractNo 关联合同(主线工单)。
+     created 为创建日(建单当天);doneOn 为完成时间,即工单流转进「已完成」「已闭环」或「已关闭」终态的当天,
+     未到终态为空。回填与核对完成时记操作当天,不按实际开通日回算;「已闭环」主线工单记联通回执确认当天,
+     故障 / 售后 / 客户停机这类工单记提交方确认关闭当天。
+     submitter 是提交口径:客户主账号 / 下属分账号 / 运维代建 / 系统自动。只有客户主账号与下属分账号提交的
+     工单,提交方才能自己撤回关闭(未完成时)或确认关闭形成闭环(已完成后);运维代建与系统自动带出的不放这个入口。 */
+  tickets: [
+    { no: "T-20261007-01", contractNo: "ICT-LG-20260902", type: "开户", enterprise: 1, account: null, team: 1, assignee: null, status: "待处理", created: "2026-10-07", doneOn: null, text: "合同套餐已建立,网络侧尚未开通。本工单只开通客户本身,不含下属分账号;分账号在套餐订阅时按额度对齐开通。", logs: ["2026-10-07 生成待执行开户记录(A-20261007-08)", "2026-10-07 客户已挂施工类型运维团队,开户工单落沪东施工,待孙队分派", "2026-10-07 林管登记联通交接单的开通准备资料(办公应用 6 个账号;中国香港 10 兆固定 IP 2 个)"], closeReason: null, materials: ["oss://materials/KL-2026-0008/联通交接单.pdf"],
+      prep: {
+        apps: { 浏览应用: 0, 办公应用: 6, 运营应用: 0, 直播应用: 0, 定制应用: 0 },
+        ips: [{ country: "中国香港", bw: "10兆", count: 2 }],
+        agent: "临港联通 · 张工", agentPhone: "13601700208", handoverOn: "2026-10-06",
+      } },
+    { no: "T-20261012-01", type: "故障", enterprise: 0, account: null, team: 0, assignee: 0, status: "处理中", created: "2026-10-12", doneOn: null, text: "办公网晚高峰丢包,疑似国际出口拥塞。", logs: ["2026-10-12 客户主账号在系统内提交(文字)", "2026-10-12 吴队分派给周宁"], closeReason: null, submitter: "客户主账号", materials: [] },
+    { no: "T-20261014-01", type: "故障", enterprise: 0, account: null, team: 0, assignee: null, status: "待处理", created: "2026-10-14", doneOn: null, text: "机房侧线路需要复查,怀疑楼层弱电间配线架松动。", logs: ["2026-10-14 客户主账号在系统内提交(文字)"], closeReason: null, submitter: "客户主账号", materials: [] },
+    { no: "T-20261010-01", type: "故障", enterprise: 0, account: null, team: 0, assignee: 1, status: "处理中", created: "2026-10-10", doneOn: null, text: "园区弱电井跳纤松动,需上门复位。", logs: ["2026-10-10 客户主账号在系统内提交(文字)", "2026-10-10 吴队分派给李可", "2026-10-11 李可 上门复测,跳纤已复位,观察中"], closeReason: null, submitter: "客户主账号", materials: ["oss://tickets/T-1010/现场照片-1.jpg"] },
+    { no: "T-20261013-01", type: "故障", enterprise: 3, account: null, team: 0, assignee: 1, status: "待处理", created: "2026-10-13", doneOn: null, text: "约定上门时段用户不在,待再次上门排查。", logs: ["2026-10-13 客户主账号电话报修,运维人员代建", "2026-10-13 吴队分派给李可"], closeReason: null, submitter: "运维代建", materials: [] },
+    { no: "T-20260928-01", type: "售后", enterprise: 0, account: null, team: 0, assignee: 1, status: "已完成", created: "2026-09-28", doneOn: "2026-09-29", text: "补充开通说明并回传配置手册。", logs: ["2026-09-28 客户主账号在系统内提交(文字)", "2026-09-29 李可填写处理记录并完成"], closeReason: null, submitter: "客户主账号", materials: [] },
+    { no: "T-20261014-02", type: "故障", enterprise: 0, account: 0, team: 0, assignee: 0, status: "处理中", created: "2026-10-14", doneOn: null, text: "我的座位网络登不上。", logs: ["2026-10-14 下属分账号张敏在系统内提交", "2026-10-14 吴队分派给周宁"], closeReason: null, submitter: "下属分账号", materials: [] },
+    { no: "T-20261009-01", contractNo: "HT-HL-20251001", type: "到期停机", enterprise: 4, account: null, team: 0, assignee: 0, status: "待处理", created: "2026-10-09", doneOn: null, text: "订阅于 2026-09-30 到期,次日生成到期停机记录。停机不把计费延长过结束日。", logs: ["2026-10-09 定时任务生成待执行到期停机记录(A-20261009-23)", "2026-10-09 吴队分派给周宁"], closeReason: null, materials: [] },
+    { no: "T-20261008-01", type: "故障", enterprise: 0, account: null, team: 0, assignee: 1, status: "已关闭", created: "2026-10-08", doneOn: "2026-10-09", text: "重复报修:办公网丢包。", logs: ["2026-10-08 客户主账号在系统内提交", "2026-10-08 分派给李可", "2026-10-09 吴队关闭:与 10-12 晚高峰丢包工单重复,合并处理"], closeReason: "与同期晚高峰丢包工单重复,合并处理。", submitter: "客户主账号", materials: [] },
+    /* 客户已在用时新增订阅 → 服务开通工单:不带开停记录、不改客户账户状态,按套餐带出的服务清单逐条核对,
+       全部核对后填实际开通日完成,实际开通日写回 sub 指向的订阅。创建满 7 个自然日仍未完成即进超期提醒。 */
+    { no: "T-20261007-02", contractNo: "HT-WM-20261008", type: "服务开通", enterprise: 3, account: null, team: 0, assignee: 1, status: "处理中", created: "2026-10-07", doneOn: null, sub: 8, extendUntil: null,
+      text: "HT-WM-20261008 新增叠加订阅「单独境外 IP(按个叠加)」,客户已在用,请在网络侧开通下列 3 项服务。",
+      logs: ["2026-10-07 林管 新增叠加订阅,自动生成服务开通工单", "2026-10-08 吴队分派给李可"], closeReason: null, materials: [],
+      svcItems: [
+        { text: "网络带宽:按个计,不占带宽", done: false },
+        { text: "单独境外 IP(按个叠加):个数与单价以合同为准(本条订阅年价 1920 元),不补建分账号档案", done: false },
+        { text: "套餐权益:80 元/个/月,与主档叠加订阅、各自计费;个数与单价在订阅上按合同改写", done: false },
+      ] },
+    /* 已闭环全流程演示:运营商反馈先到(执行结论即时生效)→ 人工补齐必填组 → 已完成 → 竣工回传 → 联通回执确认 → 已闭环。
+       回填四组字段齐备(标识与定位 / 线路与路由 / IP 与凭据 / 执行结论与凭证);PIN 码与 CPID 展示脱敏,处理记录只记条数。
+       回填记录带 ext(有外部报文写入)与 mixed(人工在报文之后补录改写),回填来源据此判为「人工与反馈混合」。 */
+    { no: "T-20260829-01", contractNo: "HT-CFA-20260901", type: "开户", enterprise: 2, account: null, team: 0, assignee: 0, status: "已闭环", created: "2026-08-29", doneOn: "2026-09-01",
+      text: "HT-CFA-20260901 直播高需求 · A 类(美国出口,境外 IP 1 个)合同套餐已建立,网络侧开通客户与 1 个正式分账号。",
+      logs: ["2026-08-29 生成待执行开户记录(A-20260829-05)", "2026-08-29 吴队分派给周宁",
+        "2026-08-30 周宁 登记交接单开通准备资料(共 1 个账号):直播应用 1 个;境外 IP 美国 10兆 × 1;经办人 苏州移动 · 刘经理(13800002201)· 交接单 2026-08-29",
+        "2026-09-01 【运营商反馈】按联通订单号 CM-SZ-20260828-042 归属本单:动作 开户 · 结论 成功 · 实际开通日 2026-09-01。执行结论即时生效——开停记录置执行成功、客户账户改在用、计费自该日起算;报文不携路由 / IP / 凭据明细,工单保持处理中并列出竣工缺口",
+        "2026-09-01 周宁 补齐反馈缺的必填组,回填开户执行结论「成功」:实际开通日 2026-09-01 · 施工人 赵工 · 完成时间 2026-09-01 16:40;本次开通 1 个账号;境外 IP 1 条(接入凭据 1 组,凭据与截图不入处理记录)",
+        "2026-09-01 周宁 竣工回传(JC-20260901-01):竣工单已生成并回传联通,待回执确认",
+        "2026-09-02 周宁 联通回执确认,工单闭环"],
+      closeReason: null,
+      materials: ["oss://materials/KL-2026-0012/联通交接单.pdf", "oss://回填凭证/T-20260829-01/零信任放行截图.png", "oss://竣工回传/JC-20260901-01.pdf"],
+      prep: {
+        apps: { 浏览应用: 0, 办公应用: 0, 运营应用: 0, 直播应用: 1, 定制应用: 0 },
+        ips: [{ country: "美国", bw: "10兆", count: 1 }],
+        agent: "苏州移动 · 刘经理", agentPhone: "13800002201", handoverOn: "2026-08-29",
+      },
+      backfill: {
+        result: "成功", reason: "", openedOn: "2026-09-01", builder: "赵工", doneAt: "2026-09-01 16:40", ruleVer: "IPRULE-2026.09",
+        ext: true, mixed: true,
+        rows: [{ acct: "caf-1", netAcct: "chenafu@caf", ip: "10.86.12.21", mask: "255.255.255.0", gw: "10.86.12.1", vlan: "120", vni: "50120", srcEnd: "昆山玉山镇中华园东路 58 号 402", dstEnd: "洛杉矶 POP-LAX-03", pop: "POP-LAX-03", bwDown: "10M", bwUp: "10M", cpe: "CPE-A610" }],
+        ips: [{ exit: "美国", addr: "156.240.86.37", kind: "固定 IP", bw: "10兆", pin: "884213", cpid: "CPID-77213588" }],
+        evidences: ["oss://回填凭证/T-20260829-01/零信任放行截图.png"], photos: [],
+      },
+      closure: { no: "JC-20260901-01", action: "开户", conclusion: "成功", sentOn: "2026-09-01", receipt: "2026-09-02", ruleVer: "IPRULE-2026.09", file: "oss://竣工回传/JC-20260901-01.pdf" } },
+    /* ↓ 以下 15 张为补齐「工单类型 × 流程节点」全组合的补充样例(开户:处理中 / 已完成 / 已关闭;
+       服务开通:待处理 / 已完成 / 已闭环 / 已关闭;到期停机:处理中 / 已完成 / 已闭环 / 已关闭;
+       故障:已完成;售后:待处理 / 处理中 / 已关闭)。追加在数组末尾,不打乱既有工单下标
+       (feedback 与开停记录按 tickets 下标引用既有工单)。 */
+    { no: "T-20261015-01", type: "开户", enterprise: 5, account: null, team: 0, assignee: 0, status: "处理中", created: "2026-10-15", doneOn: null,
+      text: "联通交接单已到手,合同评审中、网络侧先行准备。本单只开通客户本身,不含下属分账号。",
+      logs: ["2026-10-15 生成待执行开户记录(A-20261015-02)", "2026-10-15 吴队分派给周宁",
+        "2026-10-15 周宁 登记交接单开通准备资料(共 1 个账号):浏览应用 1 个;境外 IP 新加坡 10兆 × 1;经办人 上海联通 · 王经理(13601700101)· 交接单 2026-10-14"],
+      closeReason: null, materials: ["oss://materials/KL-2026-0026/联通交接单.pdf"],
+      prep: {
+        apps: { 浏览应用: 1, 办公应用: 0, 运营应用: 0, 直播应用: 0, 定制应用: 0 },
+        ips: [{ country: "新加坡", bw: "10兆", count: 1 }],
+        agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-10-14",
+      } },
+    { no: "T-20260620-01", contractNo: "HT-GZ-20260701", type: "开户", enterprise: 6, account: null, team: 0, assignee: 0, status: "已完成", created: "2026-06-20", doneOn: "2026-07-01",
+      text: "HT-GZ-20260701 跨境办公 · 独立 IP 档(新加坡出口,境外 IP 1 个)合同套餐已建立,网络侧开通客户与 2 个正式分账号。",
+      logs: ["2026-06-20 生成待执行开户记录(A-20260620-03)", "2026-06-20 吴队分派给周宁",
+        "2026-06-21 周宁 登记交接单开通准备资料(共 2 个账号):办公应用 4 个、运营应用 2 个;境外 IP 新加坡 10兆 × 1;经办人 广州移动 · 区经理(13800004401)· 交接单 2026-06-18",
+        "2026-07-01 周宁 回填开户执行结论「成功」:实际开通日 2026-07-01 · 施工人 赵工 · 完成时间 2026-07-01 15:20;本次开通 2 个账号;境外 IP 1 条(接入凭据 1 组,凭据与截图不入处理记录)",
+        "2026-07-01 周宁 备注:现场实测需 2 个境外 IP、合同核定 1 个,竣工回传暂缓、待合同修订核定后办理,工单停在已完成"],
+      closeReason: null,
+      materials: ["oss://materials/KL-2026-0031/移动交接单.pdf", "oss://回填凭证/T-20260620-01/零信任放行截图.png"],
+      prep: {
+        apps: { 浏览应用: 0, 办公应用: 4, 运营应用: 2, 直播应用: 0, 定制应用: 0 },
+        ips: [{ country: "新加坡", bw: "10兆", count: 1 }],
+        agent: "广州移动 · 区经理", agentPhone: "13800004401", handoverOn: "2026-06-18",
+      },
+      backfill: {
+        result: "成功", reason: "", openedOn: "2026-07-01", builder: "赵工", doneAt: "2026-07-01 15:20", ruleVer: "IPRULE-2026.06",
+        ext: false, mixed: false,
+        rows: [
+          { acct: "tghb-1", netAcct: "quxs@tghb", ip: "10.66.21.11", mask: "255.255.255.0", gw: "10.66.21.1", vlan: "210", vni: "50210", srcEnd: "广州市天河区天河北路 233 号 12 层 05 室", dstEnd: "新加坡 POP-SIN-02", pop: "POP-SIN-02", bwDown: "10M", bwUp: "10M", cpe: "CPE-B210" },
+          { acct: "tghb-2", netAcct: "", ip: "10.66.21.12", mask: "255.255.255.0", gw: "10.66.21.1", vlan: "210", vni: "50210", srcEnd: "广州市天河区天河北路 233 号 12 层 05 室", dstEnd: "新加坡 POP-SIN-02", pop: "POP-SIN-02", bwDown: "10M", bwUp: "10M", cpe: "CPE-B211" },
+        ],
+        ips: [{ exit: "新加坡", addr: "103.216.45.18", kind: "固定 IP", bw: "10兆", pin: "704812", cpid: "CPID-63018947" }],
+        evidences: ["oss://回填凭证/T-20260620-01/零信任放行截图.png"], photos: [],
+      } },
+    { no: "T-20261003-01", contractNo: "HT-LG-20261002", type: "开户", enterprise: 1, account: null, team: 1, assignee: null, status: "已关闭", created: "2026-10-03", doneOn: "2026-10-06",
+      text: "客户要求先行开户(临港联通交接单已到手),后因工商变更资料不齐暂缓,本单终止。",
+      logs: ["2026-10-03 生成待执行开户记录(A-20261003-11)", "2026-10-03 客户已挂施工类型运维团队,开户工单落沪东施工", "2026-10-04 林管 登记交接单开通准备资料(办公应用 6 个账号;中国香港 10 兆固定 IP 2 个)",
+        "2026-10-06 孙队关闭:客户营业执照工商变更未完成、资料不齐暂缓开户;A-20261003-11 改执行失败,待变更完成后重新建单"],
+      closeReason: "客户营业执照工商变更未完成、资料不齐暂缓开户,待完成后重新建单(见 T-20261007-01)。",
+      materials: ["oss://materials/KL-2026-0008/联通交接单.pdf"],
+      prep: {
+        apps: { 浏览应用: 0, 办公应用: 6, 运营应用: 0, 直播应用: 0, 定制应用: 0 },
+        ips: [{ country: "中国香港", bw: "10兆", count: 2 }],
+        agent: "临港联通 · 张工", agentPhone: "13601700208", handoverOn: "2026-10-02",
+      } },
+    { no: "T-20261013-02", contractNo: "HT-GZ-20261013", type: "服务开通", enterprise: 6, account: null, team: 0, assignee: null, status: "待处理", created: "2026-10-13", doneOn: null, sub: 12, extendUntil: null,
+      text: "HT-GZ-20261013 新增叠加订阅「单独境外 IP(按个叠加)」,客户已在用,请在网络侧开通下列 3 项服务。",
+      logs: ["2026-10-13 林管 新增叠加订阅,自动生成服务开通工单"], closeReason: null, materials: [],
+      svcItems: [
+        { text: "网络带宽:按个计,不占带宽", done: false },
+        { text: "单独境外 IP(按个叠加):个数与单价以合同为准(本条订阅年价 960 元),不补建分账号档案", done: false },
+        { text: "套餐权益:80 元/个/月,与主档叠加订阅、各自计费", done: false },
+      ] },
+    { no: "T-20260901-01", contractNo: "HT-CL-20260901", type: "服务开通", enterprise: 0, account: null, team: 0, assignee: 1, status: "已完成", created: "2026-09-01", doneOn: "2026-09-03", sub: 9, extendUntil: null,
+      text: "HT-CL-20260901 新增标准档订阅(美国出口,境外 IP 1 个),客户已在用,请在网络侧开通下列 3 项服务。",
+      logs: ["2026-09-01 林管 新增订阅,自动生成服务开通工单", "2026-09-01 吴队分派给李可",
+        "2026-09-03 李可 3 项服务全部核对完成:实际开通日 2026-09-03 写回订阅;下行 10M/上行 1M 生效,美国出口核定 1 条境外 IP 已按合同分配",
+        "2026-09-03 李可 备注:竣工回传随美国出口调整批次统一办理,暂留已完成"],
+      closeReason: null, materials: [],
+      svcItems: [
+        { text: "网络带宽:下行 10M/上行 1M", done: true },
+        { text: "单独境外 IP:美国出口核定 1 条境外 IP,已按合同分配", done: true },
+        { text: "套餐权益:标准档(美国出口),与既有中国香港档额度累加", done: true },
+      ] },
+    { no: "T-20260318-01", contractNo: "HT-CL-20260318", type: "服务开通", enterprise: 0, account: null, team: 0, assignee: 0, status: "已闭环", created: "2026-03-18", doneOn: "2026-03-21", sub: 1, extendUntil: null,
+      text: "HT-CL-20260318 新增正式订阅(中国香港出口),客户已在用,请在网络侧开通下列 3 项服务。",
+      logs: ["2026-03-18 林管 新增订阅,自动生成服务开通工单", "2026-03-18 吴队分派给周宁",
+        "2026-03-20 周宁 3 项服务全部核对完成:实际开通日 2026-03-20 写回订阅;额度内 2 个正式分账号改在用",
+        "2026-03-20 周宁 竣工回传(JC-20260320-01):竣工单已生成并回传联通,待回执确认",
+        "2026-03-21 周宁 联通回执确认,工单闭环"],
+      closeReason: null, materials: ["oss://竣工回传/JC-20260320-01.pdf"],
+      svcItems: [
+        { text: "网络带宽:下行 20M/上行 2M", done: true },
+        { text: "单独境外 IP:中国香港(本条合同核定境外 IP 0 条,无需登记 IP 凭据)", done: true },
+        { text: "套餐权益:标准档(中国香港出口),额度内分账号随本单启用", done: true },
+      ],
+      closure: { no: "JC-20260320-01", action: "服务开通", conclusion: "成功", sentOn: "2026-03-20", receipt: "2026-03-21", ruleVer: "IPRULE-2026.03", file: "oss://竣工回传/JC-20260320-01.pdf" } },
+    { no: "T-20260908-01", contractNo: "HT-WM-20260908", type: "服务开通", enterprise: 3, account: null, team: 0, assignee: 1, status: "已关闭", created: "2026-09-08", doneOn: "2026-09-10", sub: null, extendUntil: null,
+      text: "HT-WM-20260908 新增叠加订阅「单独境外 IP(按个叠加)」(日本出口),客户已在用,请在网络侧开通下列 2 项服务。",
+      logs: ["2026-09-08 运营人员代录新增叠加订阅,自动生成服务开通工单", "2026-09-09 吴队分派给李可",
+        "2026-09-10 吴队关闭:客户撤回叠加需求,订阅与合同已一并删除,无处回写,本单终止"],
+      closeReason: "客户撤回叠加需求,订阅与合同已一并删除,无处回写,本单终止。", materials: [],
+      svcItems: [
+        { text: "网络带宽:按个计,不占带宽", done: false },
+        { text: "单独境外 IP(按个叠加):日本出口 × 1,个数与单价以合同为准", done: false },
+      ] },
+    { no: "T-20260318-02", contractNo: "HT-CL-20250318", type: "到期停机", enterprise: 0, account: null, team: 0, assignee: 0, status: "处理中", created: "2026-03-18", doneOn: null,
+      text: "老线路资源到期(中国香港出口 IP 1 个与 CPE 1 台,随 HT-CL-20250318 叠加订阅到期),停机不影响客户在用新订阅。",
+      logs: ["2026-03-18 定时任务生成待执行到期停机记录(A-20260318-02)", "2026-03-18 吴队分派给周宁",
+        "2026-03-19 【运营商反馈】按联通订单号 CU-SH-20250315-011 归属本单:动作 到期停机 · 结论 失败 · 割接窗口未执行。执行结论即时生效——开停记录置执行失败",
+        "2026-03-19 周宁 保存回填失败结论,等待联通侧改期割接窗口后再执行"],
+      closeReason: null, materials: ["oss://回填凭证/T-20260318-02/联通割接改期说明.png"],
+      backfill: {
+        result: "失败", reason: "割接窗口未执行,等待联通侧改期", openedOn: null, builder: "赵工", doneAt: "2026-03-19 18:05", ruleVer: "IPRULE-2026.09",
+        ext: true, mixed: true, rows: [], ips: [],
+        evidences: ["oss://回填凭证/T-20260318-02/联通割接改期说明.png"], photos: [],
+      } },
+    { no: "T-20260921-01", contractNo: "HT-QH-20250921", type: "到期停机", enterprise: 7, account: null, team: 0, assignee: 0, status: "已完成", created: "2026-09-21", doneOn: "2026-09-22",
+      text: "订阅于 2026-09-20 到期未续费,次日生成到期停机记录。停机不把计费延长过结束日。",
+      logs: ["2026-09-21 定时任务生成待执行到期停机记录(A-20260921-04)", "2026-09-21 吴队分派给周宁",
+        "2026-09-22 周宁 回填到期停机执行结论「成功」:停机完成日 2026-09-22 · 施工人 赵工 · 完成时间 2026-09-22 18:00;客户账户及其在用分账号改停用",
+        "2026-09-22 周宁 备注:竣工回传每月 25 日统一办理,工单暂留已完成"],
+      closeReason: null, materials: ["oss://回填凭证/T-20260921-01/停机确认截图.png"],
+      backfill: { result: "成功", reason: "", openedOn: "2026-09-22", builder: "赵工", doneAt: "2026-09-22 18:00", ruleVer: "IPRULE-2026.09", ext: false, mixed: false, rows: [], ips: [], evidences: ["oss://回填凭证/T-20260921-01/停机确认截图.png"], photos: [] } },
+    { no: "T-20260901-02", contractNo: "HT-JT-20260705", type: "到期停机", enterprise: 8, account: null, team: 0, assignee: 0, status: "已闭环", created: "2026-09-01", doneOn: "2026-09-04",
+      text: "订阅于 2026-08-31 到期未续费,次日生成到期停机记录。停机不把计费延长过结束日。",
+      logs: ["2026-09-01 定时任务生成待执行到期停机记录(A-20260901-09)", "2026-09-01 吴队分派给周宁",
+        "2026-09-02 周宁 回填到期停机执行结论「成功」:停机完成日 2026-09-02 · 施工人 赵工 · 完成时间 2026-09-02 17:30;客户账户及其 2 个在用分账号改停用",
+        "2026-09-02 周宁 竣工回传(JC-20260902-01):竣工单已生成并回传联通,待回执确认",
+        "2026-09-04 周宁 联通回执确认,工单闭环"],
+      closeReason: null, materials: ["oss://回填凭证/T-20260901-02/停机确认截图.png", "oss://竣工回传/JC-20260902-01.pdf"],
+      backfill: { result: "成功", reason: "", openedOn: "2026-09-02", builder: "赵工", doneAt: "2026-09-02 17:30", ruleVer: "IPRULE-2026.09", ext: false, mixed: false, rows: [], ips: [], evidences: ["oss://回填凭证/T-20260901-02/停机确认截图.png"], photos: [] },
+      closure: { no: "JC-20260902-01", action: "到期停机", conclusion: "成功", sentOn: "2026-09-02", receipt: "2026-09-04", ruleVer: "IPRULE-2026.09", file: "oss://竣工回传/JC-20260902-01.pdf" } },
+    { no: "T-20260701-01", contractNo: "HT-JT-20250701", type: "到期停机", enterprise: 8, account: null, team: 0, assignee: 0, status: "已关闭", created: "2026-07-01", doneOn: "2026-07-03",
+      text: "订阅于 2026-06-30 到期,次日生成到期停机记录。客户续费承接中,本单暂缓执行。",
+      logs: ["2026-07-01 定时任务生成待执行到期停机记录(A-20260701-06)", "2026-07-01 吴队分派给周宁",
+        "2026-07-03 吴队关闭:客户续费承接(HT-JT-20260705,2026-07-05 起),本单停机动作不再需要执行;旧线路资源随新订阅停机单一并停机,A-20260701-06 改执行失败"],
+      closeReason: "客户续费承接(HT-JT-20260705,2026-07-05 起),本单停机动作不再需要执行,终止。", materials: [] },
+    { no: "T-20261014-03", type: "故障", enterprise: 0, account: null, team: 0, assignee: 1, status: "已完成", created: "2026-10-14", doneOn: "2026-10-15", text: "视频会议偶发卡顿,排查出口链路。", logs: ["2026-10-14 客户主账号在系统内提交(文字)", "2026-10-14 吴队分派给李可", "2026-10-15 李可 处理完成:美国出口段抖动,切备用平面后恢复,观察 24 小时无复现"], closeReason: null, submitter: "客户主账号", materials: [] },
+    { no: "T-20261014-04", type: "售后", enterprise: 4, account: null, team: 0, assignee: null, status: "待处理", created: "2026-10-14", doneOn: null, text: "咨询续约优惠与单独境外 IP 增购价格,待回复配置说明。", logs: ["2026-10-14 运营商客服转交,周宁代建"], closeReason: null, submitter: "运维代建", materials: [] },
+    { no: "T-20261013-03", type: "售后", enterprise: 6, account: null, team: 0, assignee: 0, status: "处理中", created: "2026-10-13", doneOn: null, text: "要求出具 7-9 月新加坡出口用量清单与对账单核对说明。", logs: ["2026-10-13 企业微信咨询转工单,周宁代建", "2026-10-13 吴队分派给周宁"], closeReason: null, submitter: "运维代建", materials: [] },
+    { no: "T-20261009-02", type: "售后", enterprise: 2, account: null, team: 0, assignee: 1, status: "已关闭", created: "2026-10-09", doneOn: "2026-10-10", text: "咨询直播档是否支持多店铺同时开播与链接数。", logs: ["2026-10-09 客户主账号在系统内提交(文字)", "2026-10-09 分派给李可", "2026-10-10 吴队关闭:客户撤回咨询(已电话线下答复),无需继续处理"], closeReason: "客户撤回咨询(已电话线下答复),无需继续处理。", submitter: "客户主账号", materials: [] },
+    /* ↓ 沪东施工名下的历史开户单(idx26):澄澜科技签 HT-CL-20260318 后由施工类型团队承接开户,
+       2026-03-20 赵工回填成功,客户账户与 2 个正式分账号转在用,与客户档案的账户状态变更记录一一对应。 */
+    { no: "T-20260318-03", contractNo: "HT-CL-20260318", type: "开户", enterprise: 0, account: null, team: 1, assignee: 2, status: "已完成", created: "2026-03-18", doneOn: "2026-03-20",
+      text: "HT-CL-20260318 跨境办公 · 标准档(中国香港出口,合同核定境外 IP 0 条)合同套餐已建立,网络侧开通客户与 2 个正式分账号。",
+      logs: ["2026-03-18 生成待执行开户记录(A-20260318-03)", "2026-03-18 客户已挂施工类型运维团队,开户工单落沪东施工", "2026-03-18 孙队 按自动平均分派给赵工",
+        "2026-03-18 赵工 登记交接单开通准备资料(共 2 个账号):办公应用 2 个;经办人 上海联通 · 王经理(13601700101)· 交接单 2026-03-16",
+        "2026-03-20 赵工 回填开户执行结论「成功」:实际开通日 2026-03-20 · 施工人 赵工 · 完成时间 2026-03-20 16:40;本次开通 2 个账号;合同核定境外 IP 0 条,本单无境外 IP 待配"],
+      closeReason: null, submitter: "系统自动",
+      materials: ["oss://materials/KL-2026-0001/联通交接单.pdf", "oss://回填凭证/T-20260318-03/零信任放行截图.png"],
+      prep: {
+        apps: { 浏览应用: 0, 办公应用: 2, 运营应用: 0, 直播应用: 0, 定制应用: 0 },
+        ips: [],
+        agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-03-16",
+      },
+      backfill: {
+        result: "成功", reason: "", openedOn: "2026-03-20", builder: "赵工", doneAt: "2026-03-20 16:40", ruleVer: "IPRULE-2026.03",
+        ext: false, mixed: false,
+        rows: [
+          { acct: "clkj-1", netAcct: "zhangmin@clkj", ip: "10.20.8.11", mask: "255.255.255.0", gw: "10.20.8.1", vlan: "810", vni: "50810", srcEnd: "上海市浦东新区金港路 300 号 6 号楼 3 层", dstEnd: "中国香港 POP-HKG-01", pop: "POP-HKG-01", bwDown: "10M", bwUp: "1M", cpe: "CPE-C810" },
+          { acct: "clkj-2", netAcct: "", ip: "10.20.8.12", mask: "255.255.255.0", gw: "10.20.8.1", vlan: "810", vni: "50810", srcEnd: "上海市浦东新区金港路 300 号 6 号楼 3 层", dstEnd: "中国香港 POP-HKG-01", pop: "POP-HKG-01", bwDown: "10M", bwUp: "1M", cpe: "CPE-C811" },
+        ],
+        ips: [],
+        evidences: ["oss://回填凭证/T-20260318-03/零信任放行截图.png"], photos: [],
+      } },
+  ],
+  /* 分成规则挂在渠道与客户的关系上,两种方式二选一:按总金额比例(rate,0-1)或按总客户账号数(per,每账号分成金额,精确到分)。
+     mode 缺省为按总金额比例。两层都没有时分成计 0。合同增补优先于区域常规。 */
+  rules: [
+    { ch: "operator", ref: 0, ent: 0, layer: "区域常规", rate: 0.2 },
+    { ch: "team", ref: 0, ent: 0, layer: "合同增补", mode: "按总客户账号数", per: 50 },
+    { ch: "team", ref: 1, ent: 0, layer: "区域常规", rate: 0.05 },
+    { ch: "partner", ref: 0, ent: 0, layer: "区域常规", rate: 0.05 },
+    { ch: "operator", ref: 2, ent: 3, layer: "区域常规", rate: 0.15 },
+    { ch: "team", ref: 0, ent: 3, layer: "区域常规", rate: 0.1 },
+    { ch: "team", ref: 1, ent: 3, layer: "区域常规", rate: 0.05 },
+    { ch: "partner", ref: 1, ent: 3, layer: "合同增补", rate: 0.08 },
+    { ch: "operator", ref: 0, ent: 4, layer: "区域常规", rate: 0.2 },
+    { ch: "team", ref: 0, ent: 4, layer: "区域常规", rate: 0.1 },
+    { ch: "partner", ref: 0, ent: 4, layer: "区域常规", rate: 0.05 },
+  ],
+  /* 应扣除成本项是两块功能(见需求规格说明 6.1):① 定义全局一套、不涉及金额;② 金额按「省份 × 运营商」组合各配一套。
+     ① 一条只描述这项成本本身——kind 成本类别、name 项目名称、calc 计算方式、repeat 周期、deduct 是否从分成基数中扣除,
+     不挂在客户或订阅名下,客户与订阅上不录入、不勾选;套餐档位按 name 引用它。
+     ② 存在 amounts[] 里,元素为 { operator: operators 下标, province: 省级区域节点名称, amount },
+     某组合缺条目即该组合未配置:未配置的成本一律按 0 元 / 月计,不在数据里补写 0 条目,取数时按 0 返回。
+     deduct:勾选的按摊销额从基数中扣除;不勾选的本期只做登记,
+     设备采买与项目费用约定的固定金额直接记入分成结果属会议约定的口径,本期不实现。
+     calc:每客户按客户整体计一次,每账号按该客户在期分账号数逐账号计,
+     每份按数量逐份摊销(组合上的 amount 是单份的摊销额,份数取套餐档上这条随附成本项的 qty),用于成本随数量走的项目,
+     例如国家 IP 地址与国际云主机按每个 IP / 每台云主机摊一份。
+     repeat 是周期:本期只有「每月」一个取值,逐月摊销计入;一次性取值待固定金额记入口径沟通确定后再加。
+     amounts 是金额层:2026.10.21 与运营商侧确认「不同运营商有差异,账号收费模式一样,同一运营商全省统一」,
+     故同一成本项为各省的各个运营商各配一个金额,operator 为 operators 下标、province 取客户向上最近的省级区域节点名称,
+     同一组合内不再按市细分。组合没配到就是未配置:出账时该项一律按 0 元 / 月计入(等于不从分成基数扣除)、不阻止出账,成本快照记 0 并标「未配置」。
+     线路投入按约定比例分成、不扣基数,不登记为成本项;临时成本增补不建数据。
+     某客户本月计入哪几笔由其在用订阅引用的套餐档随附成本项决定(见 packages.costs),金额按该客户的组合取,出账时冻结成该期的成本快照。 */
+  costs: [
+    { kind: "国际资源", name: "国家 IP 地址月摊销", repeat: "每月", calc: "每份", deduct: true, amounts: [
+      { operator: 0, province: "上海市", amount: 50 },
+      { operator: 0, province: "江苏省", amount: 45 },
+      { operator: 1, province: "上海市", amount: 55 },
+      { operator: 1, province: "江苏省", amount: 48 },
+      { operator: 2, province: "上海市", amount: 46 },
+      { operator: 3, province: "广东省", amount: 60 },
+      { operator: 4, province: "江苏省", amount: 42 },
+      { operator: 5, province: "广东省", amount: 52 },
+    ] },
+    { kind: "国际资源", name: "国际云主机月摊销", repeat: "每月", calc: "每份", deduct: true, amounts: [
+      { operator: 0, province: "上海市", amount: 30 },
+      { operator: 0, province: "江苏省", amount: 28 },
+      { operator: 1, province: "上海市", amount: 33 },
+      { operator: 2, province: "上海市", amount: 26 },
+      { operator: 3, province: "广东省", amount: 35 },
+      { operator: 5, province: "广东省", amount: 32 },
+    ] },
+    { kind: "国际资源", name: "国际出口带宽月摊销", repeat: "每月", calc: "每账号", deduct: true, amounts: [
+      { operator: 0, province: "上海市", amount: 80 },
+      { operator: 0, province: "江苏省", amount: 72 },
+      { operator: 3, province: "广东省", amount: 90 },
+      { operator: 4, province: "江苏省", amount: 65 },
+    ] },
+    /* 演示「组合未配置」:这一条只配了联通/上海市,其余组合出账时该项按 0 元 / 月计入并标未配置 */
+    { kind: "项目费用", name: "园区机房改造项目月摊销", repeat: "每月", calc: "每客户", deduct: false, amounts: [
+      { operator: 0, province: "上海市", amount: 1200 },
+    ] },
+  ],
+  /* 客户应收结算记录:一条 = 一份生效订阅 × 一个自然月,是计费的原始依据。
+     costs 是出账时冻结的成本快照,同时记取数所用的「省份 × 运营商」组合(combo),此后改组合金额不改写本条。
+     shares 每条带 ch / ref 标明该笔分成的分成方,账单明细与对账清单即按此围绕分成方展开;
+     「未配置,计 0」的占位行不带 ch / ref,不进对账。 */
+  settlements: [
+    {
+      enterprise: 0, sub: 1, month: "2026-03", days: 12, monthDays: 31, partial: true, std: 120, amount: 46.45, tail: false, exact: 46.45,
+      costs: [], base: 46.45,
+      shares: [
+        { ch: "operator", ref: 0, who: "联通", mode: "按总金额比例", rate: 0.2, amount: 9.29 },
+        { ch: "team", ref: 0, who: "华东常规运维", mode: "按总客户账号数", per: 50, accounts: 5, amount: 112.90 },
+        { ch: "team", ref: 1, who: "沪东施工", mode: "按总金额比例", rate: 0.05, amount: 2.32 },
+        { ch: "partner", ref: 0, who: "邹合", mode: "按总金额比例", rate: 0.05, amount: 2.32 },
+      ],
+      attrs: "联通 / 邹合(华东) / 华东常规运维 / 沪东施工",
+    },
+    {
+      enterprise: 0, sub: 1, month: "2026-04", days: 30, monthDays: 30, partial: false, std: 120, amount: 120, tail: false, exact: 120,
+      costs: [], base: 120,
+      shares: [
+        { ch: "operator", ref: 0, who: "联通", mode: "按总金额比例", rate: 0.2, amount: 24 },
+        { ch: "team", ref: 0, who: "华东常规运维", mode: "按总客户账号数", per: 50, accounts: 5, amount: 250 },
+        { ch: "team", ref: 1, who: "沪东施工", mode: "按总金额比例", rate: 0.05, amount: 6 },
+        { ch: "partner", ref: 0, who: "邹合", mode: "按总金额比例", rate: 0.05, amount: 6 },
+      ],
+      attrs: "联通 / 邹合(华东) / 华东常规运维 / 沪东施工",
+    },
+    {
+      enterprise: 0, sub: 1, month: "2026-09", days: 30, monthDays: 30, partial: false, std: 120, amount: 120, tail: false, exact: 120,
+      costs: [], base: 120,
+      shares: [
+        { ch: "operator", ref: 0, who: "联通", mode: "按总金额比例", rate: 0.2, amount: 24 },
+        { ch: "team", ref: 0, who: "华东常规运维", mode: "按总客户账号数", per: 50, accounts: 5, amount: 250 },
+        { ch: "team", ref: 1, who: "沪东施工", mode: "按总金额比例", rate: 0.05, amount: 6 },
+        { ch: "partner", ref: 0, who: "邹合", mode: "按总金额比例", rate: 0.05, amount: 6 },
+      ],
+      attrs: "联通 / 邹合(华东) / 华东常规运维 / 沪东施工",
+    },
+    {
+      enterprise: 3, sub: 4, month: "2026-09", days: 30, monthDays: 30, partial: false, std: 480, amount: 480, tail: false, exact: 480,
+      costs: [{ name: "国家 IP 地址月摊销", amount: 46 }], combo: "上海市 / 移动", base: 434,
+      shares: [
+        { ch: "operator", ref: 2, who: "上海市 / 移动", mode: "按总金额比例", rate: 0.15, amount: 65.1 },
+        { ch: "team", ref: 0, who: "华东常规运维", mode: "按总金额比例", rate: 0.1, amount: 43.4 },
+        { ch: "team", ref: 1, who: "沪东施工", mode: "按总金额比例", rate: 0.05, amount: 21.7 },
+        { ch: "partner", ref: 1, who: "何南", mode: "合同增补 · 比例", rate: 0.08, amount: 34.72 },
+      ],
+      attrs: "移动 / 何南(华南) / 华东常规运维 / 沪东施工",
+    },
+    {
+      enterprise: 3, sub: 5, month: "2026-09", days: 30, monthDays: 30, partial: false, std: 160, amount: 160, tail: false, exact: 160,
+      costs: [{ name: "国际云主机月摊销", amount: 26 }], combo: "上海市 / 移动", base: 134,
+      shares: [
+        { ch: "operator", ref: 2, who: "上海市 / 移动", mode: "按总金额比例", rate: 0.15, amount: 20.1 },
+        { ch: "team", ref: 0, who: "华东常规运维", mode: "按总金额比例", rate: 0.1, amount: 13.4 },
+        { ch: "team", ref: 1, who: "沪东施工", mode: "按总金额比例", rate: 0.05, amount: 6.7 },
+        { ch: "partner", ref: 1, who: "何南", mode: "合同增补 · 比例", rate: 0.08, amount: 10.72 },
+      ],
+      attrs: "移动 / 何南(华南) / 华东常规运维 / 沪东施工(叠加订阅各算各的;叠加增值不占分账号额度)",
+    },
+    {
+      enterprise: 4, sub: 6, month: "2026-09", days: 30, monthDays: 30, partial: false, std: 160, amount: 160, tail: true, exact: 160,
+      costs: [{ name: "国家 IP 地址月摊销", amount: 50 }], combo: "上海市 / 联通", base: 110,
+      shares: [
+        { ch: "operator", ref: 0, who: "联通", mode: "按总金额比例", rate: 0.2, amount: 22 },
+        { ch: "team", ref: 0, who: "华东常规运维", mode: "按总金额比例", rate: 0.1, amount: 11 },
+        { who: "沪东施工(未配置,计 0)", mode: "—", rate: 0, amount: 0 },
+        { ch: "partner", ref: 0, who: "邹合", mode: "按总金额比例", rate: 0.05, amount: 5.5 },
+      ],
+      attrs: "联通 / 邹合(华东) / 华东常规运维 / 无施工团队",
+    },
+    /* 广东省 / 移动(客户 6 · 订阅 11)三条连续期次,演示出账状态三态(判据见需求规格说明 8.2):
+       该客户没有合伙人,归属的华东常规运维未配到本客户的分成规则(计 0、不进对账),唯一分成方广东省 / 移动的对账日是 20 日。
+       7 月批次生成中断(执行失败)→ 出账异常;8 月批次已执行 → 已出账;
+       9 月批次要到 2026-10-20 才出,今天(10-15)各分成方都还没到对账日 → 未出账,这正是未出账该出现的唯一情形 */
+    {
+      enterprise: 6, sub: 11, month: "2026-07", days: 31, monthDays: 31, partial: false, std: 160, amount: 160, tail: false, exact: 160,
+      costs: [{ name: "国家 IP 地址月摊销", amount: 52 }], combo: "广东省 / 移动", base: 108,
+      shares: [
+        { ch: "operator", ref: 5, who: "广东省 / 移动", mode: "按总金额比例", rate: 0.12, amount: 12.96 },
+        { who: "华东常规运维(未配置,计 0)", mode: "—", rate: 0, amount: 0 },
+      ],
+      attrs: "广东省 / 移动 / 无合伙人 / 运维团队未配规则(计 0)",
+    },
+    {
+      enterprise: 6, sub: 11, month: "2026-08", days: 31, monthDays: 31, partial: false, std: 160, amount: 160, tail: false, exact: 160,
+      costs: [{ name: "国家 IP 地址月摊销", amount: 52 }], combo: "广东省 / 移动", base: 108,
+      shares: [
+        { ch: "operator", ref: 5, who: "广东省 / 移动", mode: "按总金额比例", rate: 0.12, amount: 12.96 },
+        { who: "华东常规运维(未配置,计 0)", mode: "—", rate: 0, amount: 0 },
+      ],
+      attrs: "广东省 / 移动 / 无合伙人 / 运维团队未配规则(计 0)",
+    },
+    {
+      enterprise: 6, sub: 11, month: "2026-09", days: 30, monthDays: 30, partial: false, std: 160, amount: 160, tail: false, exact: 160,
+      costs: [{ name: "国家 IP 地址月摊销", amount: 52 }], combo: "广东省 / 移动", base: 108,
+      shares: [
+        { ch: "operator", ref: 5, who: "广东省 / 移动", mode: "按总金额比例", rate: 0.12, amount: 12.96 },
+        { who: "华东常规运维(未配置,计 0)", mode: "—", rate: 0, amount: 0 },
+      ],
+      attrs: "广东省 / 移动 / 无合伙人 / 运维团队未配规则(计 0)",
+    },
+  ],
+  /* 对账清单:一条 = 一个分成方 × 一个已结束自然月。对账是与分成方(运营商 / 合伙人 / 运维团队)进行的,
+     不是与客户,故批次只挂 ch / ref(分成方类型与档案下标),客户与该分成方的对应关系逐条落在 rows 指向的
+     应收结算记录里。同一个结算记录会同时进入多个分成方的批次(各算各的)。
+     运营商按档案上的对账日出批次(无覆盖时按系统默认对账日),合伙人与运维团队按系统默认对账日出批次。 */
+  statements: [
+    { no: "DZD-20261005-LT", day: "2026-10-05", month: "2026-09", ch: "operator", ref: 0, trigger: "自动", status: "已执行", by: "系统", at: "2026-10-05 06:00", rows: [2, 5], warning: "" },
+    { no: "DZD-20261008-YD", day: "2026-10-08", month: "2026-09", ch: "operator", ref: 2, trigger: "自动", status: "已执行", by: "系统", at: "2026-10-08 06:00", rows: [3, 4], warning: "" },
+    { no: "DZD-20261005-ZH", day: "2026-10-05", month: "2026-09", ch: "partner", ref: 0, trigger: "自动", status: "已执行", by: "系统", at: "2026-10-05 06:00", rows: [2, 5], warning: "" },
+    { no: "DZD-20261005-YW0", day: "2026-10-05", month: "2026-09", ch: "team", ref: 0, trigger: "自动", status: "已执行", by: "系统", at: "2026-10-05 06:00", rows: [2, 3, 4, 5], warning: "" },
+    { no: "DZD-20261005-SG1", day: "2026-10-05", month: "2026-09", ch: "team", ref: 1, trigger: "自动", status: "已执行", by: "系统", at: "2026-10-05 06:00", rows: [2, 3, 4], warning: "海岚跨境未挂施工团队,该分成方本月不计分成" },
+    { no: "DZD-20260905-DX", day: "2026-09-05", month: "2026-08", ch: "operator", ref: 1, trigger: "自动", status: "已打回", by: "系统", at: "2026-09-05 06:00", rows: [], warning: "分成比例误录,运营商尚未付款" },
+    { no: "DZD-20260912-DX-R", day: "2026-09-12", month: "2026-08", ch: "operator", ref: 1, trigger: "人工", status: "已执行", by: "林管", at: "2026-09-12 10:20", rows: [], warning: "打回后重做,新明细成为 8 月唯一有效分成" },
+    { no: "DZD-20260605-LT", day: "2026-06-05", month: "2026-05", ch: "operator", ref: 0, trigger: "自动", status: "执行失败", by: "系统", at: "2026-06-05 06:00", rows: [], warning: "对账任务异常中断,等待人工补跑" },
+    { no: "DZD-20260905-HN", day: "2026-09-05", month: "2026-08", ch: "partner", ref: 1, trigger: "自动", status: "已执行", by: "系统", at: "2026-09-05 06:00", rows: [], warning: "何南(华南渠道)8 月尚无生效分成规则,本批 0 条明细" },
+    /* 广东省 / 移动按档案对账日 20 日出账:8 月批次已执行(该期已出账);7 月批次生成时中断、至今未补跑(该期出账异常);
+       9 月批次要到 2026-10-20 才生成,故应收结算记录 8(2026-09)还没进任何批次,是唯一的未出账期次 */
+    { no: "DZD-20260920-GZ", day: "2026-09-20", month: "2026-08", ch: "operator", ref: 5, trigger: "自动", status: "已执行", by: "系统", at: "2026-09-20 06:00", rows: [7], warning: "" },
+    { no: "DZD-20260820-GZ", day: "2026-08-20", month: "2026-07", ch: "operator", ref: 5, trigger: "自动", status: "执行失败", by: "系统", at: "2026-08-20 06:00", rows: [6], warning: "账单明细已生成,清单导出与运营商回传中断,等待授权人在对账清单页人工补跑" },
+    /* 历史月份批次留档:这两批覆盖澄澜科技 2026-03、2026-04 的应收,使其按「已出账」计,
+       未出账只应出现在各分成方都未到对账日的最近一个自然月 */
+    { no: "DZD-20260405-LT", day: "2026-04-05", month: "2026-03", ch: "operator", ref: 0, trigger: "自动", status: "已执行", by: "系统", at: "2026-04-05 06:00", rows: [0], warning: "" },
+    { no: "DZD-20260505-LT", day: "2026-05-05", month: "2026-04", ch: "operator", ref: 0, trigger: "自动", status: "已执行", by: "系统", at: "2026-05-05 06:00", rows: [1], warning: "" },
+  ],
+  /* 客户批量导入批次(见需求规格说明 4.8):一次上传一个文件生成一个批次,批次号贯穿行级结果、续传与按批次导出。
+     rows 每行记 line 行编号、cells 模板 14 列原文、status 成功 / 失败、reason 失败原因、
+     ent 导入生成的客户下标(未成功为 null)。行级明细持久保留,是续传与按批次导出的依据;批次不删除、不撤销。 */
+  importBatches: [
+    {
+      no: "IMP-2026-0001", file: "闵行区客户建档-20261008.csv", by: "林管", at: "2026-10-08 10:05",
+      status: "已完成",
+      rows: [
+        { line: "1", cells: ["1", "海岚跨境电商(上海)", "企业", "周岚", "021-54002023", "上海市闵行区申长路 988 号 3 号楼 5 层", "闵行区", "联通", "邹合", "华东常规运维", "", "跨境办公 · 独立 IP 档", "hlkjdssh", ""], status: "成功", reason: "", ent: 4 },
+      ],
+    },
+    {
+      no: "IMP-2026-0002", file: "临港与张江客户-20261012.csv", by: "周运营", at: "2026-10-12 09:40",
+      status: "有失败待续传",
+      rows: [
+        { line: "1", cells: ["1", "临港跨境贸易", "企业", "陆港", "021-66002008", "上海市浦东新区环湖西二路 800 号 A 座 11 层", "临港新片区", "电信", "", "华东常规运维", "", "", "lgkjmy", ""], status: "成功", reason: "", ent: 1 },
+        { line: "2", cells: ["2", "澄澜科技有限公司", "企业", "沈澄", "021-66001001", "上海市浦东新区金港路 300 号 6 号楼 3 层", "浦东新区", "联通", "邹合", "华东常规运维", "", "跨境办公 · 标准档", "", ""], status: "失败", reason: "客户名称与已有客户「澄澜科技有限公司」(KL-2026-0001)重复,不覆盖已有客户", ent: null },
+        { line: "3", cells: ["3", "张江芯创半导体", "企业", "何工", "021-50003301", "上海市浦东新区祖冲之路 887 号 2 号楼", "张江区", "联通", "", "华东常规运维", "", "", "", "13900000331"], status: "失败", reason: "所挂区域「张江区」匹配不到,填区域名称原文且需在负责范围内", ent: null },
+        { line: "4", cells: ["4", "陆家嘴外贸服务中心", "个体工商户", "王经理", "021-58002277", "上海市浦东新区世纪大道 100 号 18 层", "浦东新区", "联通", "", "华东常规运维", "", "", "clkj", ""], status: "失败", reason: "主账号登录名 clkj 已被占用,系统不自动加后缀,请改写后重新上传", ent: null },
+      ],
+    },
+  ],
+  /* 出账更正记录只追加、不删除。region 是该笔差错的归属区域节点:单客户差错记客户所在区域,
+     整批差错记该分成方的建档区域。登记时不叫人选,系统按关联账单推出来。它同时是区域运营的
+     可见范围判据——区域不在其负责范围(含下级区域)内的记录不展示,登记时也落不到范围外的账上。 */
+  notes: [
+    { level: "严重", region: "pd", bill: "澄澜科技 2026-03", text: "3 月比例曾按 0.18 录入,核验后从 4 月起改为 0.20。3 月账单已递交运营商,原明细保留不改。", by: "林管", at: "2026-04-06 09:30" },
+    { level: "严重", region: "shp", bill: "上海市 / 电信 2026-08 对账清单(DZD-20260905-DX)", text: "批次分成比例误录,运营商尚未付款,批次打回重做;重做批次 DZD-20260912-DX-R 核验通过。", by: "林管", at: "2026-09-12 10:15" },
+    /* 归属广东省:华东运营的账号在本页看不到这条,用于演示按负责范围的可见范围 */
+    { level: "严重", region: "gdp", bill: "广东省 / 电信 2026-07 对账清单(DZD-20260808-GD)", text: "按季度对账时把 7 月与 8 月并进同一批次,跨了自然月;该分成方尚未付款,批次打回按月重出。", by: "林管", at: "2026-08-09 11:20" },
+  ],
+  /* 运营商外部报文(反馈 / 竣工回执):不是独立流程,是按联通订单号归属到一张工单上的一次外部回填事件
+     (见运营支撑系统设计说明 6.4、工单流程说明 4.8)。ticket 为归属的工单序号,未归属为 null。
+     state:matched=已归属待本轮生效 / applied=已生效 / nomatch=未归属待挂接或作废 / conflict=与现状冲突待确认
+            / rejected=确认为反馈有误以现状为准 / void=已作废。 */
+  feedback: [
+    { extNo: "CM-SZ-20260828-042", ticket: 10, action: "开户", conclusion: "成功", date: "2026-09-01", receivedAt: "2026-09-01 09:12", state: "applied",
+      raw: "订单号 CM-SZ-20260828-042;动作 开户;结论 成功;实际开通日 2026-09-01;施工方 苏州移动政企。报文不含账号路由、IP 分配与接入凭据明细。",
+      note: "结论与实际开通日已于 2026-09-01 生效,路由与 IP 凭据明细当日由周宁补齐,工单已完成并闭环。" },
+    { extNo: "CU-SH-20261006-077", ticket: 0, action: "开户", conclusion: "成功", date: "2026-10-14", receivedAt: "2026-10-14 09:20", state: "matched",
+      raw: "订单号 CU-SH-20261006-077;动作 开户;结论 成功;实际开通日 2026-10-14;施工方 临港联通。报文不含账号路由、IP 分配与接入凭据明细。",
+      note: "" },
+    { extNo: "CU-SH-20261011-048", ticket: null, action: "开户", conclusion: "成功", date: "2026-10-11", receivedAt: "2026-10-11 16:05", state: "nomatch",
+      raw: "订单号 CU-SH-20261011-048;动作 开户;结论 成功;实际开通日 2026-10-11。报文未携客户识别号,主体号未登记。",
+      note: "订单号在授权范围内查不到对应工单,报文原文留存;不自动创建客户,不改账户状态。" },
+    { extNo: "CM-SZ-20260828-042", ticket: 10, action: "开户", conclusion: "成功", date: "2026-10-13", receivedAt: "2026-10-13 11:47", state: "conflict",
+      raw: "订单号 CM-SZ-20260828-042;动作 开户;结论 成功;实际开通日 2026-10-13。",
+      note: "该工单已于 2026-09-01 回填成功并于 09-02 回执闭环,本条报文晚到 42 天且实际开通日与现状不符,不覆盖,待责任人确认。" },
+  ],
+  /* 定时任务执行记录(见需求规格说明 12、运营支撑系统设计说明 9.4):一轮执行一条流水,只追加不修改。
+     scan 本轮纳入检查的对象数;hit 其中满足触发条件的对象数;done / skip / fail 是对命中对象的处置结果,
+     正常跑完的轮次恒有 hit = done + skip + fail;在取数阶段就中断的轮次四项均计 0,失败只记在轮次结果上。
+     数字是当轮执行时的快照,不随后续业务变化回算(例如批次后来被打回,本轮记录仍记「成功」)。
+     handle 是该轮次的处置口径:空 / 待补跑 / 人工补跑完成 / 次日轮询覆盖。
+     route 是给「去处理」留的落地页(对账清单、工单列表),items 为对象级明细,供详情弹窗逐条解释。 */
+  jobRuns: [
+    /* ---- 今天(2026-10-15)五个轮次 ---- */
+    {
+      id: "RUN-20261015-001", job: "SUB-EFF", start: "2026-10-15 00:05:03", ms: 412, trigger: "定时", by: "系统",
+      status: "成功", scan: 10, hit: 0, done: 0, skip: 0, fail: 0, handle: "",
+      msg: "扫描全部订阅 10 条,无到达合同生效日的「待生效」订阅,本轮不流转。", items: [],
+    },
+    {
+      id: "RUN-20261015-002", job: "OPEN-GEN", start: "2026-10-15 00:10:02", ms: 268, trigger: "定时", by: "系统",
+      status: "成功", scan: 10, hit: 1, done: 0, skip: 1, fail: 0, handle: "",
+      msg: "命中 1 条「订阅已生效且客户账户未开通」,该客户已有待执行开户记录,按幂等跳过,未重复生成工单。",
+      items: [
+        { obj: "临港跨境贸易(KL-2026-0008)", act: "生成开户记录与待分派工单", res: "跳过", note: "已存在待执行记录 A-20261007-08(工单 T-20261007-01),同一客户同一动作只保留一条待执行记录" },
+      ],
+    },
+    {
+      id: "RUN-20261015-003", job: "STOP-GEN", start: "2026-10-15 00:15:02", ms: 233, trigger: "定时", by: "系统",
+      status: "成功", scan: 10, hit: 1, done: 0, skip: 1, fail: 0, handle: "",
+      msg: "命中 1 条「已过订阅结束日且客户账户仍在用」,该订阅已有待执行到期停机记录,按幂等跳过。",
+      items: [
+        { obj: "海岚跨境电商(上海)· HT-HL-20251001", act: "生成到期停机记录与工单", res: "跳过", note: "结束日 2026-09-30,已于 2026-10-09 生成 A-20261009-23(工单 T-20261009-01),不重复生成" },
+        { obj: "陈阿福 · HT-CFA-20260901", act: "生成到期停机记录与工单", res: "未命中", note: "结束日 2026-10-31 未到,预计 2026-11-01 进入本任务" },
+      ],
+    },
+    {
+      id: "RUN-20261015-004", job: "RECON", start: "2026-10-15 06:00:05", ms: 1840, trigger: "定时", by: "系统",
+      status: "成功", scan: 10, hit: 0, done: 0, skip: 0, fail: 0, handle: "",
+      msg: "本日(15 日)不是任何分成方的对账日,未生成批次;下一个对账日为广东省 / 移动 10 月 20 日(档案对账日 20 日)。", items: [],
+    },
+    {
+      id: "RUN-20261015-005", job: "OVERDUE", start: "2026-10-15 08:00:04", ms: 516, trigger: "定时", by: "系统",
+      status: "成功", scan: 10, hit: 2, done: 2, skip: 0, fail: 0, handle: "", route: "tickets",
+      msg: "扫描待执行开停记录 2 条与未完成工单 8 张,2 个对象待执行已满 7 个自然日,已连续提醒所属团队主账号。",
+      items: [
+        { obj: "A-20261007-08 · 临港跨境贸易 · 开户", act: "满 7 自然日提醒", res: "成功", note: "创建日 2026-10-07,限期 2026-10-14,今日为第 8 个自然日;已提醒 华东常规运维 主账号,工单 T-20261007-01 尚未分派" },
+        { obj: "T-20261007-02 · 王敏 · 服务开通", act: "满 7 自然日提醒", res: "成功", note: "创建日 2026-10-07,限期 2026-10-14,今日为第 8 个自然日;已提醒 华东常规运维 主账号,3 项服务待核对 2 项" },
+      ],
+    },
+    /* ---- 2026-10-14 ---- */
+    { id: "RUN-20261014-001", job: "SUB-EFF", start: "2026-10-14 00:05:03", ms: 388, trigger: "定时", by: "系统", status: "成功", scan: 10, hit: 0, done: 0, skip: 0, fail: 0, handle: "", msg: "无到达合同生效日的订阅。", items: [] },
+    { id: "RUN-20261014-002", job: "OPEN-GEN", start: "2026-10-14 00:10:02", ms: 271, trigger: "定时", by: "系统", status: "成功", scan: 10, hit: 1, done: 0, skip: 1, fail: 0, handle: "", msg: "命中 1 条,已有待执行开户记录,按幂等跳过。", items: [] },
+    { id: "RUN-20261014-003", job: "STOP-GEN", start: "2026-10-14 00:15:01", ms: 245, trigger: "定时", by: "系统", status: "成功", scan: 10, hit: 1, done: 0, skip: 1, fail: 0, handle: "", msg: "命中 1 条,已有待执行到期停机记录,按幂等跳过。", items: [] },
+    { id: "RUN-20261014-004", job: "RECON", start: "2026-10-14 06:00:04", ms: 1702, trigger: "定时", by: "系统", status: "成功", scan: 10, hit: 0, done: 0, skip: 0, fail: 0, handle: "", msg: "本日不是任何分成方的对账日,未生成批次。", items: [] },
+    { id: "RUN-20261014-005", job: "OVERDUE", start: "2026-10-14 08:00:03", ms: 497, trigger: "定时", by: "系统", status: "成功", scan: 10, hit: 0, done: 0, skip: 0, fail: 0, handle: "", msg: "无待执行满 7 个自然日的记录与工单(A-20261007-08 当日为第 7 个自然日,未超限)。", items: [] },
+    /* ---- 2026-10-13 / 10-12 ---- */
+    { id: "RUN-20261013-005", job: "OVERDUE", start: "2026-10-13 08:00:03", ms: 466, trigger: "定时", by: "系统", status: "成功", scan: 9, hit: 0, done: 0, skip: 0, fail: 0, handle: "", msg: "无待执行满 7 个自然日的记录与工单。", items: [] },
+    { id: "RUN-20261012-003", job: "STOP-GEN", start: "2026-10-12 00:15:01", ms: 3120, trigger: "定时", by: "系统", status: "失败", scan: 0, hit: 0, done: 0, skip: 0, fail: 0, handle: "次日轮询覆盖",
+      msg: "读取订阅表超时(连接池等待 3 000 毫秒后放弃),本轮在取数阶段中断,未纳入任何对象、也未产生记录与工单;该任务每日轮询,后续轮次已自然覆盖,无需人工补跑。",
+      items: [{ obj: "全部订阅", act: "到期停机检查", res: "失败", note: "异常:DB 连接超时;取数阶段即中断,故扫描数计 0,不影响已完成的历史记录" }] },
+    { id: "RUN-20261012-004", job: "RECON", start: "2026-10-12 06:00:06", ms: 1963, trigger: "定时", by: "系统", status: "成功", scan: 10, hit: 1, done: 0, skip: 1, fail: 0, handle: "", route: "statements",
+      msg: "江苏省 / 移动本日对账(档案对账日 12 日),2026-09 对本方无可账单明细,按口径不生成空批次。",
+      items: [{ obj: "江苏省 / 移动(运营商)", act: "出 2026-09 对账清单", res: "跳过", note: "该分成方 2026-09 无生效分成规则命中的账单明细,不生成 0 条明细的空批次" }] },
+    /* ---- 2026-10-09 / 10-08 / 10-07:本轮真正产生业务对象 ---- */
+    { id: "RUN-20261009-003", job: "STOP-GEN", start: "2026-10-09 00:15:02", ms: 301, trigger: "定时", by: "系统", status: "成功", scan: 10, hit: 1, done: 1, skip: 0, fail: 0, handle: "", route: "tickets",
+      msg: "命中 1 条「已过结束日且账户仍在用」,已生成待执行到期停机记录与工单。",
+      items: [{ obj: "海岚跨境电商(上海)· HT-HL-20251001", act: "生成到期停机记录与工单", res: "成功", note: "结束日 2026-09-30,生成 A-20261009-23 与工单 T-20261009-01;停机不把计费延长过结束日" }] },
+    { id: "RUN-20261008-004", job: "RECON", start: "2026-10-08 06:00:05", ms: 1875, trigger: "定时", by: "系统", status: "成功", scan: 10, hit: 1, done: 1, skip: 0, fail: 0, handle: "", route: "statements",
+      msg: "上海市 / 移动本日对账(档案对账日 8 日),已生成 2026-09 对账清单 1 批。",
+      items: [{ obj: "上海市 / 移动(运营商)", act: "出 2026-09 对账清单", res: "成功", note: "生成 DZD-20261008-YD,2 条账单明细" }] },
+    { id: "RUN-20261007-101", job: "SVC-GEN", start: "2026-10-07 16:42:11", ms: 158, trigger: "事件", by: "周运营", status: "成功", scan: 1, hit: 1, done: 1, skip: 0, fail: 0, handle: "", route: "tickets",
+      msg: "保存订阅 HT-WM-20261008 时触发:客户账户已在用,按套餐带出的服务清单生成「服务开通」工单 1 张。",
+      items: [{ obj: "王敏 · 单独境外 IP(按个叠加)×2", act: "生成服务开通工单", res: "成功", note: "生成 T-20261007-02,带出 3 项服务待逐条核对;实际开通日待施工回填后写回本条订阅" }] },
+    { id: "RUN-20261007-100", job: "OPEN-GEN", start: "2026-10-07 09:12:40", ms: 173, trigger: "事件", by: "系统", status: "成功", scan: 10, hit: 1, done: 1, skip: 0, fail: 0, handle: "", route: "tickets",
+      msg: "订阅 ICT-LG-20260902 生效后触发:客户账户未开通,生成待执行开户记录与待分派工单。",
+      items: [{ obj: "临港跨境贸易(KL-2026-0008)", act: "生成开户记录与工单", res: "成功", note: "生成 A-20261007-08 与工单 T-20261007-01,工单待团队主账号分派" }] },
+    /* ---- 2026-10-05:默认对账日批量出账 ---- */
+    { id: "RUN-20261005-004", job: "RECON", start: "2026-10-05 06:00:08", ms: 4260, trigger: "定时", by: "系统", status: "成功", scan: 10, hit: 7, done: 4, skip: 3, fail: 0, handle: "", route: "statements",
+      msg: "7 个分成方按系统默认对账日(5 日)进入对账,4 个生成 2026-09 批次,3 个当月对本方无可账单明细未生成空批次;上海市 / 移动、江苏省 / 移动与广东省 / 移动按各自档案对账日(8 日 / 12 日 / 20 日)出账,未到对账日。",
+      items: [
+        { obj: "联通(运营商)", act: "出 2026-09 对账清单", res: "成功", note: "生成 DZD-20261005-LT,2 条账单明细(档案未覆盖对账日,按系统默认 5 日)" },
+        { obj: "邹合(合伙人 · 华东渠道)", act: "出 2026-09 对账清单", res: "成功", note: "生成 DZD-20261005-ZH,2 条账单明细" },
+        { obj: "华东常规运维(运维团队)", act: "出 2026-09 对账清单", res: "成功", note: "生成 DZD-20261005-YW0,4 条账单明细" },
+        { obj: "沪东施工(运维团队)", act: "出 2026-09 对账清单", res: "成功", note: "生成 DZD-20261005-SG1,3 条账单明细;海岚跨境未挂施工团队,该分成方本月不计分成" },
+        { obj: "上海市 / 电信、广东省 / 电信(运营商)", act: "出 2026-09 对账清单", res: "跳过", note: "2026-09 对本方无可账单明细,不生成空批次" },
+        { obj: "何南(合伙人 · 华南渠道)", act: "出 2026-09 对账清单", res: "跳过", note: "2026-09 尚无生效分成规则" },
+      ],
+    },
+    /* ---- 历史轮次:人工补跑与失败留档 ---- */
+    { id: "RUN-20260920-004", job: "RECON", start: "2026-09-20 06:00:05", ms: 1610, trigger: "定时", by: "系统", status: "成功", scan: 10, hit: 1, done: 1, skip: 0, fail: 0, handle: "", route: "statements",
+      msg: "广东省 / 移动本日对账(档案对账日 20 日),已生成 2026-08 对账清单 1 批;该分成方下一个对账日为 2026-10-20,届时才出 2026-09 批次,在此之前广州天河北商贸 2026-09 应收按未出账计。",
+      items: [{ obj: "广东省 / 移动(运营商)", act: "出 2026-08 对账清单", res: "成功", note: "生成 DZD-20260920-GZ,1 条账单明细(广州天河北商贸 · 跨境办公 独立 IP 档)" }] },
+    { id: "RUN-20260912-100", job: "RECON", start: "2026-09-12 10:20:31", ms: 1420, trigger: "人工", by: "林管", status: "成功", scan: 1, hit: 1, done: 1, skip: 0, fail: 0, handle: "人工补跑完成", route: "statements",
+      msg: "上海市 / 电信 2026-08 批次(DZD-20260905-DX)因分成比例误录被打回,由授权人对同一分成方同一自然月重做,新批次成为该月唯一有效对账结果。",
+      items: [{ obj: "上海市 / 电信(运营商)· 2026-08", act: "重做对账清单", res: "成功", note: "生成 DZD-20260912-DX-R;原批次置为已打回并留档,不回改客户应收,不牵动其他分成方" }] },
+    { id: "RUN-20260905-004", job: "RECON", start: "2026-09-05 06:00:07", ms: 3980, trigger: "定时", by: "系统", status: "成功", scan: 10, hit: 7, done: 2, skip: 5, fail: 0, handle: "", route: "statements",
+      msg: "7 个分成方按系统默认对账日(5 日)进入对账,上海市 / 电信与何南生成 2026-08 批次,其余 5 个当月对本方无可账单明细;广东省 / 移动按档案对账日 20 日出账,本轮未到对账日。",
+      items: [
+        { obj: "上海市 / 电信(运营商)", act: "出 2026-08 对账清单", res: "成功", note: "生成 DZD-20260905-DX(该批次于 2026-09-08 被打回,属本轮之后的业务变化,本条记录按当轮快照保留「成功」)" },
+        { obj: "何南(合伙人 · 华南渠道)", act: "出 2026-08 对账清单", res: "成功", note: "生成 DZD-20260905-HN,0 条明细(8 月尚无生效分成规则,仅作留档)" },
+      ] },
+    { id: "RUN-20260901-001", job: "SUB-EFF", start: "2026-09-01 00:05:04", ms: 402, trigger: "定时", by: "系统", status: "成功", scan: 8, hit: 2, done: 2, skip: 0, fail: 0, handle: "",
+      msg: "2 条订阅到达合同生效日,状态由「待生效」置为「生效中」。",
+      items: [
+        { obj: "陈阿福 · HT-CFA-20260901", act: "订阅状态流转", res: "成功", note: "生效日 2026-09-01;应收自实际开通日 2026-09-01 起计" },
+        { obj: "澄澜科技 · HT-CL-20260901", act: "订阅状态流转", res: "成功", note: "生效日 2026-09-01(美国出口第二条标准档,与既有中国香港档额度累加)" },
+      ] },
+    { id: "RUN-20260829-100", job: "OPEN-GEN", start: "2026-08-29 14:30:22", ms: 165, trigger: "事件", by: "系统", status: "成功", scan: 8, hit: 1, done: 1, skip: 0, fail: 0, handle: "", route: "tickets",
+      msg: "陈阿福订阅生效后触发:客户账户未开通,生成待执行开户记录与工单。",
+      items: [{ obj: "陈阿福(KL-2026-0012)", act: "生成开户记录与工单", res: "成功", note: "生成 A-20260829-05 与工单 T-20260829-01,2026-09-01 施工回填成功" }] },
+    { id: "RUN-20260820-004", job: "RECON", start: "2026-08-20 06:00:06", ms: 4870, trigger: "定时", by: "系统", status: "部分成功", scan: 10, hit: 1, done: 0, skip: 0, fail: 1, handle: "待补跑", route: "statements",
+      msg: "广东省 / 移动本日对账(档案对账日 20 日),2026-07 批次已带出 1 条账单明细,但清单导出与运营商回传中断(连接超时),未形成有效对账结果;该期应收至今未补跑,对应在收结算记录按出账异常计。",
+      items: [{ obj: "广东省 / 移动(运营商)· 2026-07", act: "出对账清单", res: "失败", note: "生成 DZD-20260820-GZ 时中断,明细已生成、清单未导出,批次状态为执行失败;补跑入口在对账清单页的「人工补跑」" }] },
+    { id: "RUN-20260605-004", job: "RECON", start: "2026-06-05 06:00:06", ms: 5310, trigger: "定时", by: "系统", status: "部分成功", scan: 10, hit: 7, done: 0, skip: 6, fail: 1, handle: "待补跑", route: "statements",
+      msg: "7 个分成方按系统默认对账日(5 日)进入对账;联通 2026-05 批次生成中断(应收明细聚合超时),其余 6 个分成方当月对本方无可账单明细,未生成空批次。失败批次等待授权人在「对账清单」页人工补跑。",
+      items: [{ obj: "联通(运营商)· 2026-05", act: "出对账清单", res: "失败", note: "生成 DZD-20260605-LT 时中断,批次状态为执行失败;补跑入口在对账清单页的「人工补跑」" }] },
+  ],
+  /* 审计日志只追加。区域树维护仅总运营可见。 */
+  auditLogs: [
+    { at: "2026-08-01 09:12", by: "林管", type: "新建区域", object: "上海市 / 上海市 / 浦东新区", before: "", after: "新建三级节点" },
+    { at: "2026-08-01 09:20", by: "林管", type: "新建区域", object: "上海市 / 上海市 / 临港新片区", before: "", after: "新建区县节点" },
+    { at: "2026-08-02 14:02", by: "林管", type: "新建区域", object: "江苏省 / 苏州市 / 昆山市", before: "", after: "新建区县节点" },
+    { at: "2026-08-05 10:40", by: "林管", type: "重命名区域", object: "上海市 / 上海市 / 临港新片区", before: "南汇新城区", after: "临港新片区" },
+    { at: "2026-08-10 10:20", by: "林管", type: "客户挂载", object: "澄澜科技有限公司", before: "未挂载", after: "上海市 / 上海市 / 浦东新区" },
+    { at: "2026-08-20 11:30", by: "林管", type: "客户改挂区域", object: "王敏", before: "江苏省 / 苏州市 / 昆山市", after: "上海市 / 上海市 / 浦东新区" },
+    { at: "2026-08-21 16:00", by: "林管", type: "合伙人负责范围首次配置", object: "邹合(华东渠道)", before: "(空)", after: "澄澜科技、临港跨境、陈阿福、王敏、海岚跨境(选定上海市、苏州市,含其下级全部客户)" },
+    { at: "2026-09-02 09:10", by: "林管", type: "运维团队负责范围调整", object: "沪东施工", before: "澄澜科技、王敏", after: "澄澜科技、临港跨境、王敏(新增直接多选客户:临港跨境)" },
+    { at: "2026-10-05 15:20", by: "林管", type: "合伙人负责范围调整", object: "何南(华南渠道)", before: "(空)", after: "天河区(暂无直属客户);直接多选客户:陈阿福" },
+    { at: "2026-10-05 15:25", by: "林管", type: "分成规则新建", object: "何南(华南渠道)× 王敏", before: "(无规则,分成计 0)", after: "合同增补 · 按总金额比例 0.08" },
+    { at: "2026-10-05 06:00", by: "系统", type: "对账清单自动执行", object: "DZD-20261005-LT · 联通 · 2026-09", before: "待执行", after: "已执行(2 条明细)" },
+  ],
+  /* 登录账号:login 为登录名,acctStatus 在用 / 停用(停用的不出现在「换身份」列表),
+     mustChange 为下次登录是否必须改密,pwdResetOn 为最近一次重置密码日期。
+     role=operator 是运营商的对账查看账号(只读),与运营商档案一比一。
+     builtin: true 为系统内置账号:总运营账号即总运营团队的默认主账号,必须存在、不能删除,主账号身份也不可转交。
+     phone 为绑定手机号:选填,可更换,但全站唯一(一个手机号至多绑定一个账号),
+     绑定后可用手机号代替登录名登录;未填时只能用登录名登录。
+     客户主账号不用初始密码,改用一次性激活码激活(acctOpenOn 开通日、claimOn 当前码生成日、
+     claimExpireOn 有效期截止日:导出交付时才写,未交付为空、不判过期、claimStatus 未激活 / 已激活 /
+     已过期;已激活时 claimCode 置空)。 */
+  users: [
+    { name: "林管", role: "admin", regTeam: 0, primary: true, builtin: true, title: "总运营团队主账号", phone: "13900000001", acctStatus: "在用", mustChange: false },
+    { name: "周运营", role: "regAdmin", regTeam: 1, primary: true, title: "华东运营 · 团队主账号", login: "zhouyun@example", phone: "13900000101", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-20" },
+    { name: "许芸", role: "regAdmin", regTeam: 1, title: "华东运营 · 子账号(客户建档)", login: "xuyun@example", acctStatus: "在用", mustChange: true, pwdResetOn: "2026-10-09" },
+    { name: "吴队", role: "teamLead", team: 0, title: "华东常规运维 · 团队主账号", login: "wudui@example", phone: "13900000103", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-06" },
+    { name: "周宁", role: "ops", member: 0, title: "常规运维 · 开停回填", login: "zhouning@example", phone: "13900000104", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-18" },
+    { name: "孙队", role: "teamLead", team: 1, title: "沪东施工 · 团队主账号", login: "sundui@example", phone: "13900000105", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-02" },
+    { name: "赵工", role: "worker", member: 2, title: "施工人员", login: "zhaogong@example", phone: "13900000106", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-21" },
+    /* 客户主账号登录名取客户名称的拼音首字母(见《需求规格说明》3.2),不照抄中文客户名称。
+       激活状态只有三种,样例:未激活且已交付还在有效期内(临港)、已激活(澄澜)、
+       截止日已过按当天即时判为已过期(陈阿福、海岚,导出时会自动重置出新码)、
+       刚建档还没导出交付(王敏,没有截止日、不判过期) */
+    { name: "澄澜科技有限公司", role: "enterprise", enterprise: 0, title: "客户主账号", login: "clkj", phone: "13900000200", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-11", acctOpenOn: "2026-09-11", claimStatus: "已激活", claimCode: "", claimOn: "2026-09-11", claimExpireOn: "2026-09-25" },
+    { name: "临港跨境贸易", role: "enterprise", enterprise: 1, title: "客户主账号", login: "lgkjmy", acctStatus: "在用", mustChange: false, acctOpenOn: "2026-10-12", claimStatus: "未激活", claimCode: "KQF7HRM2XW", claimOn: "2026-10-12", claimExpireOn: "2026-10-26" },
+    { name: "陈阿福", role: "enterprise", enterprise: 2, title: "客户主账号", login: "caf", phone: "13900000212", acctStatus: "在用", mustChange: false, acctOpenOn: "2026-09-20", claimStatus: "未激活", claimCode: "TBW4KJN6QD", claimOn: "2026-09-20", claimExpireOn: "2026-10-04" },
+    /* hideInTree: true 只把该账号从登录页角色树上收起(演示时样本客户过多),
+       账号本身仍在用,客户档案、订阅、工单等各处照常可见可查 */
+    { name: "王敏", role: "enterprise", enterprise: 3, title: "客户主账号", login: "wm", acctStatus: "在用", mustChange: false, acctOpenOn: "2026-10-15", claimStatus: "未激活", claimCode: "PMXZ3RTV8H", claimOn: "2026-10-15", claimExpireOn: "", hideInTree: true },
+    { name: "海岚跨境电商(上海)", role: "enterprise", enterprise: 4, title: "客户主账号", login: "hlkjdssh", acctStatus: "在用", mustChange: false, acctOpenOn: "2026-10-08", claimStatus: "未激活", claimCode: "GHY2NQSC5F", claimOn: "2026-10-08", claimExpireOn: "2026-10-13", hideInTree: true },
+    { name: "张敏", role: "sub", enterprise: 0, account: 0, title: "下属分账号" },
+    { name: "邹合", role: "partner", partner: 0, title: "华东渠道", login: "zouhe@example", phone: "13900000107", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-12" },
+    { name: "何南", role: "partner", partner: 1, title: "华南渠道", login: "henan@example", phone: "13900000108", acctStatus: "停用", mustChange: false, pwdResetOn: "2026-08-05" },
+    { name: "联通对账", role: "operator", operator: 0, title: "联通 · 对账查看账号", login: "unicom-dz@example", phone: "13900000109", acctStatus: "在用", mustChange: false, pwdResetOn: "2026-09-26" },
+  ],
+};
+
+function cloneSeed() {
+  return JSON.parse(JSON.stringify(SEED));
+}
+
+function money(n) {
+  return Number(n || 0).toLocaleString("zh-CN", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
+}
+
+function pct(n) {
+  const v = Math.round(Number(n || 0) * 10000) / 100;
+  return String(v) + "%";
+}
+
+function daysBetween(start, end) {
+  const a = new Date(start + "T00:00:00");
+  const b = new Date(end + "T00:00:00");
+  return Math.round((b - a) / 86400000) + 1;
+}
+
+function addDays(date, n) {
+  const d = new Date(date + "T00:00:00");
+  d.setDate(d.getDate() + n);
+  const pad = (x) => String(x).padStart(2, "0");
+  return d.getFullYear() + "-" + pad(d.getMonth() + 1) + "-" + pad(d.getDate());
+}
+
+function overdueAction(action) {
+  if (!action || action.status !== "待执行") return false;
+  const limit = action.extendUntil || addDays(action.created, 7);
+  return TODAY > limit;
+}
+
+function unfinished(db, memberIndex) {
+  return db.tickets.filter((t) => t.assignee === memberIndex && (t.status === "待处理" || t.status === "处理中")).length;
+}
+
+function ticketTypeOfTeam(team) {
+  return team.type === "施工" ? "施工" : "常规";
+}
+
+/* 团队可承接的工单类型:取团队档案上开通/编辑时指定的 ticketTypes;
+   存量档案没配时按团队类型兜底——施工类型只承接开户,常规类型承接全部类型(原口径) */
+function teamTicketTypes(team) {
+  if (team.ticketTypes && team.ticketTypes.length) return team.ticketTypes;
+  return team.type === "施工" ? ["开户"] : ["开户", "服务开通", "故障", "售后", "到期停机", "客户停机"];
+}
+
+/* 工单归属团队:在客户挂接的团队里找声明承接该工单类型的团队——开户优先施工类型团队,
+   其余类型优先常规类型团队;两个挂接团队都不承接该类型时回落常规类型团队(工单照建,等总运营/区域运营改派) */
+function ticketTeamFor(db, ent, type) {
+  const order = type === "开户" ? ["施工", "常规"] : ["常规", "施工"];
+  for (let i = 0; i < order.length; i++) {
+    const ti = ent.teams[order[i]];
+    if (ti !== undefined && teamTicketTypes(db.teams[ti]).includes(type)) return ti;
+  }
+  return ent.teams.常规;
+}
+
+function eligible(db, ticket) {
+  const team = db.teams[ticket.team];
+  const need = ticketTypeOfTeam(team);
+  return db.members
+    .map((m, index) => ({ ...m, index }))
+    .filter((m) => m.team === ticket.team && m.type === need && m.scope.includes(ticket.enterprise));
+}
+
+function pickEven(db, ticket) {
+  const list = eligible(db, ticket);
+  if (!list.length) return null;
+  list.sort((a, b) => unfinished(db, a.index) - unfinished(db, b.index) || a.index - b.index);
+  return list[0].index;
+}
+
+/* ---- 区域与范围工具 ---- */
+
+function regionNode(db, id) {
+  return db.regions.find((r) => r.id === id) || null;
+}
+
+function regionPath(db, id) {
+  const names = [];
+  let cur = regionNode(db, id);
+  while (cur) {
+    names.unshift(cur.name);
+    cur = cur.parent ? regionNode(db, cur.parent) : null;
+  }
+  return names.join(" / ");
+}
+
+function descendantIds(db, id) {
+  const out = [id];
+  let added = true;
+  while (added) {
+    added = false;
+    db.regions.forEach((r) => {
+      if (r.parent && out.includes(r.parent) && !out.includes(r.id)) {
+        out.push(r.id);
+        added = true;
+      }
+    });
+  }
+  return out;
+}
+
+function enterprisesUnderRegion(db, id) {
+  const ids = new Set(descendantIds(db, id));
+  return db.enterprises.map((e, i) => i).filter((i) => ids.has(db.enterprises[i].region));
+}
+
+function scopeEnterpriseSet(db, scope) {
+  const set = new Set();
+  (scope.regions || []).forEach((rid) => enterprisesUnderRegion(db, rid).forEach((i) => set.add(i)));
+  (scope.enterprises || []).forEach((i) => set.add(i));
+  return set;
+}
+
+function scopeEnterprises(db, scope) {
+  return Array.from(scopeEnterpriseSet(db, scope)).sort((a, b) => a - b);
+}
+
+function scopeSummary(db, scope) {
+  const parts = [];
+  (scope.regions || []).forEach((rid) => {
+    const n = regionNode(db, rid);
+    if (n) parts.push(`${n.name}(含下级 ${enterprisesUnderRegion(db, rid).length} 家客户)`);
+  });
+  const fromRegion = new Set();
+  (scope.regions || []).forEach((rid) => enterprisesUnderRegion(db, rid).forEach((i) => fromRegion.add(i)));
+  const extra = (scope.enterprises || []).filter((i) => !fromRegion.has(i));
+  if (extra.length) parts.push(`直接多选:${extra.map((i) => db.enterprises[i].name).join("、")}`);
+  return parts.length ? parts.join(";") : "(空)";
+}
+
+function regionReferenced(db, id) {
+  const refs = [];
+  db.teams.forEach((t, i) => { if ((t.scope.regions || []).includes(id)) refs.push(`运维团队「${t.name}」负责范围`); });
+  db.partners.forEach((p, i) => {
+    if (p.region === id) refs.push(`合伙人「${p.name}」所属区域`);
+    if ((p.scope.regions || []).includes(id)) refs.push(`合伙人「${p.name}」负责范围`);
+  });
+  db.operators.forEach((o) => { if (o.region === id) refs.push(`运营商「${o.name}」所属区域`); });
+  db.regOpsTeams.forEach((t) => { if (t.region === id) refs.push(`运营团队「${t.name}」所属区域`); });
+  return refs;
+}

+ 14 - 0
web-scaffold/prototype/index.html

@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1">
+  <title>运营支撑系统原型</title>
+  <link rel="stylesheet" href="styles.css">
+</head>
+<body>
+  <div id="app"></div>
+  <script src="data.js"></script>
+  <script src="app.js"></script>
+</body>
+</html>

+ 1079 - 0
web-scaffold/prototype/styles.css

@@ -0,0 +1,1079 @@
+:root {
+  --ink: #1b2430;
+  --muted: #5c6b7a;
+  --line: #e2d9cc;
+  --paper: #f6f1e8;
+  --card: #fffdf8;
+  --teal: #0e6e68;
+  --teal-ink: #084843;
+  --amber: #9a5b12;
+  --red: #8f2d2d;
+  --green: #1d6b45;
+  --shadow: 0 10px 30px rgba(40, 32, 20, 0.06);
+  font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;
+}
+
+* { box-sizing: border-box; }
+body { margin: 0; color: var(--ink); background: var(--paper); }
+button, input, select, textarea { font: inherit; color: inherit; }
+button { cursor: pointer; }
+h1, h2, h3, p { margin: 0; }
+
+.login {
+  min-height: 100vh;
+  display: grid;
+  grid-template-columns: 320px 1fr;
+}
+.login-side {
+  background: var(--teal-ink);
+  color: #f3efe6;
+  padding: 48px 36px;
+}
+.login-side h1 { font-size: 28px; font-weight: 650; letter-spacing: 0.04em; }
+.login-side p { margin-top: 16px; line-height: 1.7; color: #d5ebe8; }
+.login-main { padding: 40px 48px 64px; }
+/* 身份选择:组织机构图,按层次排布,同层节点在同一水平线 */
+.org-chart { margin-top: 20px; overflow-x: auto; padding-bottom: 10px; }
+.org-chart ul { display: flex; justify-content: center; list-style: none; margin: 0; padding: 22px 0 0; position: relative; }
+.org-chart > ul { padding-top: 0; }
+.org-chart li { display: flex; flex-direction: column; align-items: center; position: relative; padding: 22px 4px 0; }
+/* 子节点上方的连接线:左右两段横线拼成本节点的横向挂线 */
+.org-chart li::before, .org-chart li::after {
+  content: "";
+  position: absolute;
+  top: 0;
+  right: 50%;
+  width: 50%;
+  height: 22px;
+  border-top: 1px dashed #c8bca8;
+}
+.org-chart li::after { right: auto; left: 50%; border-left: 1px dashed #c8bca8; }
+/* 独子不需要横挂线,直接从父节点垂直落下 */
+.org-chart li:only-child { padding-top: 0; }
+.org-chart li:only-child::before, .org-chart li:only-child::after { display: none; }
+/* 行首行尾只保留朝向内侧的横线和落到本节点的竖线 */
+.org-chart li:first-child::before, .org-chart li:last-child::after { border: 0 none; }
+.org-chart li:last-child::before { border-right: 1px dashed #c8bca8; }
+.org-chart li:first-child::after, .org-chart li:last-child::before { border-radius: 4px 0 0 0; }
+/* 父卡片底部到横挂线之间的竖线 */
+.org-chart ul ul::before {
+  content: "";
+  position: absolute;
+  top: 0;
+  left: 50%;
+  width: 0;
+  height: 22px;
+  border-left: 1px dashed #c8bca8;
+}
+/* 顶层(总运营)不挂线 */
+.org-chart > ul > li { padding-top: 0; }
+.org-chart > ul > li::before, .org-chart > ul > li::after { display: none; }
+.persona {
+  text-align: left;
+  background: var(--card);
+  border: 1px solid var(--line);
+  border-radius: 12px;
+  padding: 14px 16px;
+  box-shadow: var(--shadow);
+}
+/* 横向挂载组:团队子账号排在主账号右侧,短横虚线相连(宽度与 app.js 常量一致) */
+.org-side { display: flex; align-items: center; }
+.org-side-link { flex: none; width: 28px; border-top: 1px dashed #c8bca8; }
+/* 组织图内卡片紧凑档:收窄到 170px,配合整体缩放保证一屏看全 */
+.org-chart .persona { display: block; width: 170px; flex: none; padding: 10px 12px; }
+.org-chart .persona strong { font-size: 14px; }
+.org-chart .persona span { font-size: 12px; }
+.org-chart .persona .note, .org-chart .persona .brief { word-break: break-all; }
+.persona strong { display: block; font-size: 16px; }
+.persona span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }
+.persona .brief { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); color: #46586a; }
+.persona:hover { border-color: var(--teal); }
+
+/* 左右两栏各自占满视口、各自滚动:侧栏自身不滚动,滚动只发生在菜单区,底部账号信息固定 */
+.shell { height: 100vh; display: grid; grid-template-columns: 220px 1fr; }
+.nav {
+  background: #172028;
+  color: #e7e1d6;
+  padding: 22px 14px;
+  display: flex;
+  flex-direction: column;
+  gap: 4px;
+  height: 100vh;
+  overflow: hidden;
+}
+/* 侧栏定高后直接子项一律不参与 flex 收缩:.nav-sub 为折叠动画带 overflow:hidden,
+   自动最小尺寸为 0,被压缩时会裁掉组内末尾的菜单项(如「全部订阅」) */
+.nav > * { flex: none; }
+/* 菜单区独占剩余高度并独立滚动;菜单高于视口时给出可发现的细滚动条,避免被当成菜单缺失 */
+.nav-menu {
+  flex: 1 1 auto;
+  min-height: 0;
+  overflow-y: auto;
+  overscroll-behavior: contain;
+  display: flex;
+  flex-direction: column;
+  gap: 4px;
+  scrollbar-width: thin;
+  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
+  /* 关掉滚动锚定:重绘后脚本还原的 scrollTop 才不会被浏览器再挪一次 */
+  overflow-anchor: none;
+}
+.nav-menu > * { flex: none; }
+.nav-menu::-webkit-scrollbar { width: 8px; }
+.nav-menu::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 4px; }
+.brand { padding: 0 8px 16px; font-weight: 650; letter-spacing: 0.06em; }
+.nav button {
+  background: transparent;
+  border: 0;
+  color: inherit;
+  text-align: left;
+  border-radius: 8px;
+  padding: 9px 10px;
+  width: 100%;
+  font-size: 14px;
+  cursor: pointer;
+}
+.nav button.active, .nav button:hover { background: rgba(255, 255, 255, 0.08); }
+.nav .nav-group {
+  font-size: 12px;
+  letter-spacing: 0.08em;
+  text-transform: uppercase;
+  color: #8ea0a0;
+  padding: 14px 10px 6px;
+  cursor: pointer;
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+  user-select: none;
+}
+.nav .nav-group:hover { background: transparent; color: #c2d3d1; }
+.nav .nav-group .caret { font-size: 11px; transition: transform 0.18s ease; }
+.nav .nav-group.open .caret { transform: rotate(0deg); }
+.nav .nav-sub { padding-left: 12px; display: flex; flex-direction: column; gap: 2px; }
+.nav .nav-sub.closed { display: none; }
+.nav .nav-sub .nav-leaf { font-size: 13.5px; color: #d1c8ba; padding: 7px 10px; }
+.nav .nav-sub .nav-leaf.active {
+  background: linear-gradient(90deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
+  color: #fff;
+}
+/* 身份面板与菜单列底色区分:独立卡片底 + 描边,避免和菜单混成一块 */
+.nav .who {
+  margin-top: auto;
+  padding: 12px;
+  font-size: 13px;
+  color: #cdd9d7;
+  line-height: 1.5;
+  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
+  border: 1px solid rgba(255,255,255,0.12);
+  border-radius: 12px;
+}
+.nav .who button { margin-top: 8px; border: 1px solid rgba(255,255,255,0.22); background: rgba(23,32,40,0.55); width: 100%; }
+.nav .who button:hover { background: rgba(23,32,40,0.8); }
+
+.main { padding: 22px 28px 48px; min-width: 0; height: 100vh; overflow-y: auto; overscroll-behavior: contain; }
+.top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
+.top h1 { font-size: 22px; font-weight: 650; }
+.top p { color: var(--muted); margin-top: 4px; font-size: 13px; }
+.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
+
+.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
+/* 工单页顶部告警卡:同排最多两张,不拉伸整行;卡内第二行 span 是说明文案 */
+.cards.narrow { grid-template-columns: repeat(auto-fit, minmax(210px, 320px)); }
+.card .hint { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; opacity: .82; }
+.card, .panel {
+  background: var(--card);
+  border: 1px solid var(--line);
+  border-radius: 14px;
+  box-shadow: var(--shadow);
+}
+.card { padding: 14px 16px; }
+.card b { display: block; font-size: 22px; margin-top: 4px; word-break: break-word; }
+.card span { color: var(--muted); font-size: 13px; }
+/* 未完成工单卡:数字用告警红,整卡可点开明细列表 */
+.card.alarm { cursor: pointer; }
+.card.alarm b { color: var(--red); }
+.card.alarm:hover { border-color: var(--red); box-shadow: 0 2px 10px rgba(143, 45, 45, 0.14); }
+/* 概览 KPI 卡:数值下方放历史曲线,曲线一律贴卡片底边对齐 */
+.cards.kpi { grid-auto-rows: 1fr; }
+.cards.kpi .card { display: flex; flex-direction: column; }
+.cards.kpi .num-row { margin-bottom: 10px; }
+.cards.kpi .num-row b { flex: none; font-size: 27px; }
+.cards.kpi .spark { display: block; flex: none; width: 100%; height: 34px; margin: auto 0 0; overflow: visible; }
+.spark-line { fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
+.spark-area { fill: var(--teal); opacity: 0.09; stroke: none; }
+.card.alarm .spark-line { stroke: var(--red); }
+.card.alarm .spark-area { fill: var(--red); }
+/* 数值行:未完成工单卡在总数右侧显示待处理 / 处理中拆分数 */
+.num-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
+/* 选择器带上 .cards.kpi 前缀,避免被上面的 .card span 规则把字号改回 13px */
+.cards.kpi .num-split { font-size: 12px; line-height: 1.15; text-align: right; }
+.cards.kpi .num-split i { font-style: normal; opacity: 0.72; margin-right: 4px; }
+.panel { padding: 16px 18px; margin-bottom: 14px; overflow-x: auto; min-width: 0; }
+.panel h2 { font-size: 16px; margin-bottom: 10px; }
+.panel > .note { margin-top: 8px; }
+
+table { width: 100%; border-collapse: collapse; font-size: 14px; }
+th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
+td.wrap { white-space: normal; min-width: 240px; }
+/* 定时任务页:任务编码与执行编号是系统标识符,等宽显示便于逐位比对与检索 */
+code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
+/* 分成管理列表:分成方列放宽,分成方式与分成比例/金额列收紧(多个取值逐行列出),避免表格横向溢出后点不到操作列 */
+td .party-name { max-width: 200px; white-space: normal; line-height: 1.4; }
+td .tight { max-width: 104px; white-space: normal; line-height: 1.4; }
+/* 合同管理列表:列多且值长(编号、外部单号、期间、出口),字号与行内边距收紧 + 长文本列换行,避免面板出现横向滚动 */
+table.dense { font-size: 13px; }
+table.dense th, table.dense td { padding: 7px 7px; }
+/* 表头允许换行:窗口变窄时表头折行,整表最小宽度随之下降,不致于撑出横向滚动 */
+table.dense th { white-space: normal; }
+table.dense .note { font-size: 12px; line-height: 1.5; }
+/* 行内操作按钮收紧且不换行,否则两个按钮竖排会把整行撑到三层高 */
+table.dense .row { flex-wrap: nowrap; gap: 6px; }
+table.dense .btn { padding: 4px 8px; font-size: 12px; }
+/* 定时任务清单:10 列监控指标(编码、名称、调度、上次执行、耗时、结果、计数、下轮、状态、操作)。
+   任务名称与调度说明折行、时间戳拆两行,把横向空间让给计数列与操作列,避免面板出现横向滚动。
+   min-width 不能省:只有 max-width 时自动布局会把折行列压到单字宽(任务名称曾塌成 27px)。 */
+table.job-list td.c-name { min-width: 92px; max-width: 126px; white-space: normal; line-height: 1.4; }
+table.job-list td.c-sched { min-width: 100px; max-width: 132px; white-space: normal; line-height: 1.4; }
+/* 客户管理列表:列多且值长(编号、掩码识别号、区域全路径、团队名),
+   长文本列折行、行尾操作列不折行——按钮一旦竖排会把整行撑到三层高。 */
+table.ent-list { font-size: 13px; }
+table.ent-list th, table.ent-list td { padding: 7px 8px; }
+table.ent-list th { white-space: normal; }
+table.ent-list .note { font-size: 12px; line-height: 1.45; }
+/* 折行列限定宽度,把横向空间让给操作列;折行只发生在编号下方、区域路径与团队清单上 */
+table.ent-list td.c-ent, table.ent-list td.c-subject,
+table.ent-list td.c-region, table.ent-list td.c-teams { white-space: normal; }
+table.ent-list td.c-ent { width: 108px; }
+/* 掩码识别号是一个不断行的整串(18 位),这列的最小宽就是它撑出来的宽度 */
+table.ent-list td.c-subject { width: 122px; }
+table.ent-list td.c-region { width: 128px; }
+table.ent-list td.c-teams { width: 110px; }
+/* 短列显式收窄,避免自动布局把剩余宽度按比例摊到它们身上、反过来挤压长文本列 */
+table.ent-list th:first-child, table.ent-list td:first-child { width: 36px; }
+table.ent-list td.c-op, table.ent-list td.c-partner { width: 62px; }
+table.ent-list td.c-status { width: 66px; }
+/* 操作列按三枚按钮的最小宽度取宽,不参与压缩;按钮字号与内边距同步收紧 */
+table.ent-list th.c-ops, table.ent-list td.c-ops { width: 1%; }
+table.ent-list td.c-ops .row { flex-wrap: nowrap; gap: 6px; }
+table.ent-list td.c-ops .btn { padding: 4px 8px; font-size: 12px; }
+th { color: var(--muted); font-weight: 550; font-size: 12px; }
+tr.clickable { cursor: pointer; }
+tr.clickable:hover { background: #f3efe6; }
+
+.pill {
+  display: inline-block;
+  border-radius: 999px;
+  padding: 2px 8px;
+  font-size: 12px;
+  background: #efe7da;
+  white-space: nowrap;
+}
+.pill.ok { background: #e5f4ea; color: var(--green); }
+.pill.wait { background: #fff1d6; color: var(--amber); }
+.pill.bad { background: #fde8e4; color: var(--red); }
+.pill.run { background: #e5f3f2; color: var(--teal-ink); }
+
+/* 线路出口已选标签:下拉选一个即落一枚,可逐枚移除;与配置面板的可选项清单共用 */
+.exit-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; min-height: 26px; }
+.exit-chips:empty::after { content: "尚未选择线路出口"; color: var(--muted); font-size: 12px; }
+.exit-chip {
+  display: inline-flex; align-items: center; gap: 6px;
+  border-radius: 999px; padding: 3px 6px 3px 11px; font-size: 12px;
+  background: #e5f3f2; color: var(--teal-ink); border: 1px solid #bfe0dd;
+}
+.exit-chip button {
+  border: 0; background: transparent; color: var(--teal-ink);
+  font-size: 13px; line-height: 1; padding: 0 2px; cursor: pointer;
+}
+.exit-chip button:hover { color: var(--red); }
+.exit-opts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
+.exit-opts .exit-chip { background: #efe7da; color: var(--ink); border-color: var(--line); }
+
+.btn, .btn.ghost {
+  border-radius: 8px;
+  padding: 7px 12px;
+  border: 1px solid var(--teal);
+  background: var(--teal);
+  color: white;
+  white-space: nowrap;
+}
+.btn.ghost { background: transparent; color: var(--teal-ink); }
+.btn.warn { background: var(--red); border-color: var(--red); }
+.btn:disabled { opacity: 0.45; cursor: not-allowed; }
+
+label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
+input, select, textarea {
+  width: 100%;
+  max-width: 420px;
+  border: 1px solid var(--line);
+  background: white;
+  border-radius: 8px;
+  padding: 8px 10px;
+}
+input[type="checkbox"], input[type="radio"] { width: auto; max-width: none; margin: 0; }
+td select, .row select { width: auto; min-width: 96px; max-width: 200px; }
+.row input { width: auto; }
+textarea { min-height: 88px; max-width: 560px; }
+.form-actions { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
+
+/* 多列表单 */
+.form-grid {
+  display: grid;
+  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
+  gap: 0 18px;
+}
+.form-grid label { margin-top: 8px; }
+/* 必填项标记:字段名后的红色星号 */
+.req { color: #c0392b; margin-left: 2px; font-weight: 700; }
+/* 校验未通过:已填内容整体保留、弹窗不重置,只红显有问题的编辑项并在字段下写原因 */
+.f-bad > label { color: var(--red); }
+.f-bad input, .f-bad select { border-color: var(--red); box-shadow: 0 0 0 2px rgba(143, 45, 45, 0.12); }
+.f-err { display: block; margin-top: 3px; font-size: 12px; color: var(--red); }
+.form-grid .form-actions { grid-column: 1 / -1; }
+
+/* 套餐档弹窗的成本项:名称下拉取自「成本管理」的全局成本项定义,档位上不录金额,可加多条、逐条删除 */
+.form-grid .pkg-costs { grid-column: 1 / -1; margin-top: 10px; }
+.pkg-costs-head {
+  display: flex; align-items: center; justify-content: space-between;
+  gap: 10px; flex-wrap: wrap;
+}
+.pkg-costs-head .btn { padding: 5px 12px; font-size: 13px; }
+.pkg-cost-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
+.pkg-cost-row select { flex: 1 1 auto; min-width: 0; }
+.pkg-cost-row input { flex: 0 0 auto; width: 120px; max-width: 120px; }
+.pkg-cost-row .pkg-cost-qty { width: 62px; max-width: 62px; }
+.pkg-cost-row .pkg-cost-times { flex: 0 0 auto; }
+.pkg-cost-row .pkg-cost-qty-unit, .pkg-cost-row .pkg-cost-money-unit { flex: 0 0 auto; white-space: nowrap; }
+.pkg-cost-row .pkg-cost-amt-note { flex: 0 1 auto; white-space: nowrap; }
+
+/* 成本管理 ② 成本金额定义录入:一个「省份 × 运营商」组合下逐条成本项填具体金额 */
+td input.cost-amt { width: 130px; max-width: 130px; }
+
+/* 开关(二态表单):checkbox 隐藏,用 .track 画滑块 */
+label.switch {
+  display: inline-flex;
+  align-items: center;
+  gap: 8px;
+  cursor: pointer;
+  margin: 8px 0 4px;
+  min-height: 38px;
+  font-size: 13px;
+  color: var(--muted);
+}
+label.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
+label.switch .track {
+  flex: none;
+  width: 40px;
+  height: 22px;
+  border-radius: 999px;
+  background: #cfc8ba;
+  position: relative;
+  transition: background 180ms ease;
+}
+label.switch .track::after {
+  content: "";
+  position: absolute;
+  top: 3px;
+  left: 3px;
+  width: 16px;
+  height: 16px;
+  border-radius: 50%;
+  background: #fff;
+  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
+  transition: transform 180ms ease;
+}
+label.switch input:checked + .track { background: var(--teal-ink); }
+label.switch input:checked + .track::after { transform: translateX(18px); }
+label.switch input:disabled + .track { opacity: 0.45; cursor: not-allowed; }
+
+/* 对象存储键列表 / 材料列表 */
+ul.files {
+  margin: 8px 0 0;
+  padding: 0;
+  list-style: none;
+}
+ul.files li {
+  padding: 6px 10px;
+  background: #f7f2e8;
+  border: 1px solid var(--line);
+  border-radius: 8px;
+  margin-bottom: 6px;
+  font-size: 13px;
+  word-break: break-all;
+}
+
+/* 建档弹窗的材料上传:左侧「登记材料」与右侧「合同文档」并排,两类都可选上传 */
+.doc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
+@media (max-width: 760px) { .doc-row { grid-template-columns: 1fr; } }
+/* 文件控件 + 已选清单(文档名在左,移除在右) */
+.doc-pick { margin-top: 8px; min-width: 0; }
+.doc-pick input[type="file"] { width: 100%; margin-top: 4px; }
+.doc-pick .files { margin-top: 6px; }
+ul.files.doc-list li {
+  padding: 4px 9px;
+  margin-bottom: 4px;
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  gap: 8px;
+}
+ul.files.doc-list .doc-name { min-width: 0; overflow-wrap: anywhere; }
+ul.files.doc-list .btn { padding: 2px 8px; font-size: 11px; }
+
+/* 复选列表(成员范围、客户直选) */
+.checklist {
+  display: grid;
+  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
+  gap: 2px 18px;
+  margin-top: 6px;
+}
+label.ck {
+  display: flex;
+  align-items: center;
+  gap: 7px;
+  font-size: 14px;
+  font-weight: normal;
+  color: var(--ink);
+  margin: 4px 0;
+  line-height: 1.5;
+}
+label.ck .note { font-weight: normal; }
+
+/* 区域树 */
+ul.tree {
+  list-style: none;
+  margin: 0;
+  padding: 0;
+}
+ul.tree ul.tree { padding-left: 24px; }
+.tree-node {
+  display: flex;
+  align-items: center;
+  gap: 8px;
+  padding: 2px 0;
+}
+.tree-select {
+  background: transparent;
+  border: 1px solid transparent;
+  border-radius: 8px;
+  padding: 5px 10px;
+  color: var(--ink);
+}
+.tree-select:hover { background: #f3efe6; }
+.tree-node.on .tree-select {
+  background: var(--teal);
+  border-color: var(--teal);
+  color: #fff;
+}
+.lv {
+  font-size: 12px;
+  color: var(--teal-ink);
+  background: #e5f3f2;
+  border-radius: 6px;
+  padding: 1px 7px;
+  white-space: nowrap;
+}
+.cnt { font-size: 12px; color: var(--muted); white-space: nowrap; }
+
+/* 范围配置里的勾选树 */
+ul.tree.check label.ck { margin: 5px 0; }
+ul.tree.check ul.tree { margin: 2px 0; }
+
+.note { color: var(--muted); font-size: 13px; line-height: 1.6; }
+.alert {
+  background: #fff4ec;
+  border: 1px solid #f0d2bc;
+  color: #7a3e12;
+  border-radius: 12px;
+  padding: 10px 12px;
+  margin-bottom: 12px;
+  font-size: 14px;
+  line-height: 1.6;
+}
+.toast {
+  position: fixed;
+  /* 提示浮在抽屉(45)与弹窗(50)之上,否则「已按某任务过滤」这类提示会被遮在浮层底下 */
+  z-index: 60;
+  right: 20px;
+  bottom: 20px;
+  background: var(--ink);
+  color: white;
+  padding: 12px 14px;
+  border-radius: 10px;
+  max-width: 320px;
+  box-shadow: var(--shadow);
+  font-size: 14px;
+  line-height: 1.5;
+}
+.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 14px; align-items: start; }
+.log { margin: 0; padding-left: 18px; color: var(--muted); }
+.log li { margin: 4px 0; line-height: 1.6; }
+@media (max-width: 900px) {
+  .login, .shell, .split { grid-template-columns: 1fr; }
+  .login-side { padding: 28px 22px; }
+  /* 窄屏单列:回到整页滚动,不锁两栏各自的高度与滚动条 */
+  .shell { height: auto; }
+  .nav, .nav-menu, .main { height: auto; overflow: visible; overscroll-behavior: auto; }
+}
+
+/* ================= 交互与视觉增强 ================= */
+
+/* 全局过渡基类,给常见可交互元素 */
+button, .card, .panel, tr.clickable, .tree-select, label.ck {
+  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 120ms ease, box-shadow 180ms ease;
+}
+input, select, textarea { transition: border-color 180ms ease, box-shadow 180ms ease; }
+
+/* 侧栏:折叠子菜单过渡(用 max-height 替代 display:none) */
+.nav .nav-sub { overflow: hidden; transition: max-height 220ms ease, opacity 220ms ease; max-height: 600px; opacity: 1; }
+.nav .nav-sub.closed { max-height: 0; opacity: 0; }
+
+/* 侧栏叶子按钮活跃态:左侧竖条 + 更强对比 */
+.nav .nav-sub .nav-leaf.active {
+  position: relative;
+  background: rgba(14, 110, 104, 0.22);
+  color: #fff;
+  padding-left: 14px;
+}
+.nav .nav-sub .nav-leaf.active::before {
+  content: "";
+  position: absolute; left: -12px; top: 4px; bottom: 4px; width: 3px;
+  background: #19d0c0; border-radius: 2px;
+}
+.nav .nav-sub .nav-leaf:hover { color: #fff; background: rgba(255,255,255,0.06); }
+
+/* 顶层叶子按钮(如"概览""审计日志")活跃态 */
+.nav > button.nav-leaf.active {
+  background: rgba(14, 110, 104, 0.22);
+  color: #fff;
+}
+
+/* 折叠 caret 旋转 */
+.nav .nav-group .caret { transform: rotate(-90deg); }
+.nav .nav-group.open .caret { transform: rotate(0deg); }
+
+/* 按钮:focus-visible + 按下态 */
+.btn:focus-visible, button:focus-visible,
+.persona:focus-visible, .tree-select:focus-visible {
+  outline: 2px solid var(--teal);
+  outline-offset: 2px;
+}
+.btn:active { transform: translateY(1px); }
+
+/* 表格:thead 底线 + hover 高亮 + 斑马纹 */
+table { border-radius: 10px; overflow: hidden; }
+thead th {
+  background: #faf4e8;
+  border-bottom: 2px solid var(--line);
+  padding: 10px 10px;
+  position: sticky; top: 0; z-index: 1;
+}
+tbody tr:nth-child(even) td { background: #fbf7ee; }
+tbody tr.clickable:hover td, tbody tr:hover td {
+  background: #f0e8d6 !important;
+}
+
+/* 套餐目录:用途分类分组小标题行 */
+tbody tr.grp td {
+  background: #f2ece0 !important;
+  border-bottom: 1px solid var(--line);
+  padding: 7px 10px;
+  font-weight: 640;
+  color: var(--teal-ink);
+  white-space: nowrap;
+}
+tbody tr.grp td span {
+  margin-left: 10px;
+  font-weight: 400;
+  font-size: 12px;
+  color: var(--muted);
+}
+
+/* 表单 focus glow */
+input:focus, select:focus, textarea:focus {
+  border-color: var(--teal);
+  box-shadow: 0 0 0 3px rgba(14, 110, 104, 0.14);
+  outline: none;
+}
+
+/* panel / card 入场动画 */
+@keyframes fadeInUp {
+  from { opacity: 0; transform: translateY(6px); }
+  to   { opacity: 1; transform: none; }
+}
+.panel, .card, .alert, .persona { animation: fadeInUp 300ms ease both; }
+.panel:nth-child(2)  { animation-delay: 40ms; }
+.panel:nth-child(3)  { animation-delay: 80ms; }
+.panel:nth-child(4)  { animation-delay: 120ms; }
+
+/* toast 滑入 */
+.toast {
+  animation: slideInRight 280ms ease both;
+}
+@keyframes slideInRight {
+  from { opacity: 0; transform: translateX(24px); }
+  to   { opacity: 1; transform: none; }
+}
+
+/* 登录 persona 悬停抬升 */
+.persona { transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
+.persona:hover {
+  transform: translateY(-2px);
+  box-shadow: 0 14px 32px rgba(40, 32, 20, 0.12);
+  border-color: var(--teal);
+}
+
+/* webkit 滚动条 */
+::-webkit-scrollbar { width: 10px; height: 10px; }
+::-webkit-scrollbar-track { background: transparent; }
+::-webkit-scrollbar-thumb { background: #d7ccba; border-radius: 5px; }
+::-webkit-scrollbar-thumb:hover { background: #b9ac95; }
+.panel::-webkit-scrollbar-thumb { background: #d7ccba; }
+
+/* pill hover 微动(可交互的情况下) */
+.pill { cursor: default; }
+
+/* 区域树选中节点加 glow */
+.tree-node.on .tree-select {
+  box-shadow: 0 0 0 2px rgba(14,110,104,0.2);
+}
+
+/* 区域树操作菜单 */
+.tree-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; position: relative; }
+.tree-head h2 { margin: 0; }
+.tree-node { position: relative; }
+.node-menu-btn {
+  background: transparent; border: 1px solid transparent; border-radius: 6px;
+  color: var(--muted); font-weight: 700; font-size: 15px; line-height: 1;
+  padding: 3px 7px; margin-left: 2px;
+}
+.node-menu-btn:hover { background: #efe7da; color: var(--ink); }
+.tree-node.on .node-menu-btn { color: #fff; }
+.tree-node.on .node-menu-btn:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
+.node-menu {
+  position: absolute; top: 100%; left: 0; z-index: 30;
+  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
+  box-shadow: 0 12px 32px rgba(40, 32, 20, 0.16);
+  padding: 4px; min-width: 176px;
+  display: flex; flex-direction: column; gap: 2px;
+}
+.node-menu button {
+  text-align: left; background: transparent; border: 0; border-radius: 7px;
+  padding: 7px 10px; font-size: 13.5px;
+}
+.node-menu button:hover { background: #f3efe6; }
+.node-menu button.danger { color: var(--red); }
+.node-menu button.danger:hover { background: #fde8e4; }
+/* 区域树面板:不裁剪溢出内容,保证节点下拉菜单完整显示 */
+.panel.uncut { overflow: visible; }
+/* 区域管理页:主区纵向铺满视口,左右两栏拉伸到底,区域树底部与窗口底部对齐 */
+.main.stretch { display: flex; flex-direction: column; padding-bottom: 22px; }
+.main.stretch .top { flex: none; }
+.main.stretch .region-split { flex: 1 1 auto; align-items: stretch; }
+.main.stretch .region-split > .panel.uncut { display: flex; flex-direction: column; }
+.main.stretch .region-split > .panel.uncut > ul.tree { flex: 1 1 auto; }
+.icon-btn {
+  background: transparent; border: 1px solid var(--line); border-radius: 7px;
+  color: var(--muted); font-size: 14px; line-height: 1;
+  padding: 5px 8px; margin-left: 6px;
+}
+.icon-btn:hover { background: #efe7da; color: var(--ink); }
+.icon-btn.danger:hover { background: #fde8e4; color: var(--red); }
+/* 套餐目录操作列:编辑与删除用图标按钮,同一行水平排列不折行;引用提示另起一行 */
+.pkg-ops { display: flex; flex-wrap: nowrap; gap: 6px; align-items: center; }
+.pkg-ops .icon-btn { margin-left: 0; }
+/* 区域详情卡片标题旁的"被引用"小标签:随标题行内显示,不占独立高度 */
+.ref-tag {
+  display: inline-block; vertical-align: 2px; margin-left: 8px;
+  font-size: 12px; font-weight: 500; color: var(--red);
+  background: #fde8e4; border-radius: 6px; padding: 2px 7px; cursor: help;
+}
+
+/* 弹窗 */
+.modal-overlay {
+  position: fixed; inset: 0; z-index: 50;
+  background: rgba(23, 32, 40, 0.45);
+  display: flex; align-items: center; justify-content: center;
+  padding: 20px;
+  animation: fadeIn 160ms ease both;
+}
+@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
+/* 弹窗已开着时的重绘(如切换套餐档位、条目增删、校验反馈):不再重播入场动画,消除闪动 */
+.modal-overlay.no-anim { animation: none; }
+.modal-overlay.no-anim .panel, .modal-overlay.no-anim .card, .modal-overlay.no-anim .alert { animation: none; }
+/* 同一次重绘里底层整页也会重建,隔着半透明遮罩可见其卡片上浮动画重播——一并禁用 */
+#app.no-page-anim .panel, #app.no-page-anim .card, #app.no-page-anim .alert,
+#app.no-page-anim .persona, #app.no-page-anim .ov-card { animation: none; }
+.modal {
+  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
+  padding: 20px 22px; width: 100%; max-width: 480px;
+  max-height: calc(100vh - 40px); overflow-y: auto;
+  box-shadow: 0 20px 60px rgba(20, 16, 10, 0.28);
+}
+.modal h3 { font-size: 17px; margin-bottom: 10px; }
+.modal label { margin-top: 2px; }
+/* 弹窗内的编辑项跟随弹窗宽度,不再受全局 420/560 上限约束(多行文本框同样撑满所在列) */
+.modal input, .modal select, .modal textarea { max-width: 100%; }
+/* 字段较多的新增/编辑表单(客户档案、订阅)用宽弹窗 */
+.modal.wide { max-width: 760px; }
+/* 新增客户字段最多(含客户主账号),再加宽一档 */
+.modal.wider { max-width: 980px; }
+/* 加宽后表单最小列宽同步提高,保证每行最多三列(窄屏仍自动降为两列/单列) */
+.modal.wider .form-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
+/* 报文兜底与超期工单明细:列数多,用最宽一档,让整表在常见宽屏上不必横向滚动 */
+.modal.widest { max-width: min(1320px, 100%); }
+/* 兜底表的处理列改上下排布,下拉显式限宽(否则固有宽度随最长选项,整表被撑到 1300+) */
+.fb-act { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
+.fb-act select { width: 230px; max-width: 100%; }
+/* 该档弹窗内的说明列允许压得更窄,把宽度让给处理列 */
+.modal.widest td.wrap { min-width: 180px; }
+.modal .form-grid { gap: 0 16px; }
+
+/* 右侧抽屉:定时任务页的「执行记录」。整高贴右滑入,遮罩比弹窗低一层——
+   抽屉里再点「详情」开的弹窗浮在抽屉之上,关弹窗后抽屉还在原位 */
+.drawer-overlay {
+  position: fixed; inset: 0; z-index: 45;
+  background: rgba(23, 32, 40, 0.35);
+  display: flex; justify-content: flex-end;
+  animation: fadeIn 160ms ease both;
+}
+@keyframes drawerIn { from { transform: translateX(28px); opacity: 0.3; } to { transform: none; opacity: 1; } }
+.drawer {
+  width: min(1180px, 100%); height: 100%;
+  background: var(--card); border-left: 1px solid var(--line);
+  box-shadow: -18px 0 54px rgba(20, 16, 10, 0.22);
+  padding: 20px 24px 34px; overflow-y: auto; overscroll-behavior: contain;
+  animation: drawerIn 200ms ease both;
+}
+/* 抽屉开着时的重绘(改筛选、启停任务):不再重播入场动画,消除闪动 */
+.drawer-overlay.no-anim { animation: none; }
+.drawer-overlay.no-anim .drawer { animation: none; }
+.drawer-head {
+  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
+  margin-bottom: 12px;
+}
+.drawer-head h2 { font-size: 17px; }
+/* 列数多的流水表在抽屉里横向滚动,不把整只抽屉撑宽 */
+.drawer-scroll-x { overflow-x: auto; }
+/* 窄抽屉:成员负责范围只装一棵区域树,不必像执行记录那样占满整屏 */
+.drawer.narrow { width: min(620px, 100%); }
+/* 客户名称联想下拉:输入部分关键字后在输入框下方弹出已有客户列表 */
+.ac-box { position: relative; }
+.ac-list {
+  position: absolute; z-index: 30; top: calc(100% + 2px); left: 0; right: 0;
+  max-height: 220px; overflow-y: auto;
+  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
+  box-shadow: 0 12px 28px rgba(20, 16, 10, 0.18);
+}
+.ac-item {
+  display: block; width: 100%; text-align: left; padding: 7px 12px;
+  background: none; border: 0; border-bottom: 1px solid rgba(226, 217, 204, 0.5);
+  font: inherit; color: var(--ink); cursor: pointer;
+}
+.ac-item:last-child { border-bottom: 0; }
+.ac-item:hover { background: #f3eee4; }
+.ac-item small { display: block; opacity: 0.65; font-size: 12px; }
+
+/* 标题右侧问号提示:悬停或聚焦时弹出说明文字 */
+.q-tip {
+  position: relative;
+  display: inline-flex;
+  align-items: center;
+  justify-content: center;
+  width: 18px;
+  height: 18px;
+  margin-left: 8px;
+  border-radius: 50%;
+  border: 1px solid var(--line);
+  background: #f3eee4;
+  color: var(--muted);
+  font-size: 12px;
+  font-weight: 600;
+  cursor: help;
+  vertical-align: 2px;
+}
+.q-tip .q-tip-pop {
+  display: none;
+  position: absolute;
+  top: 24px;
+  left: -10px;
+  width: 320px;
+  padding: 10px 12px;
+  background: #2f2a22;
+  color: #fff;
+  font-size: 12px;
+  font-weight: 400;
+  line-height: 1.6;
+  text-align: left;
+  border-radius: 8px;
+  z-index: 30;
+  box-shadow: 0 8px 24px rgba(20, 16, 10, 0.25);
+}
+.q-tip:hover .q-tip-pop, .q-tip:focus .q-tip-pop, .q-tip.open .q-tip-pop { display: block; }
+/* 表头里的问号:单元格是 nowrap,弹层要单独允许换行;靠右的列让弹层向左展开,
+   否则会被 .panel 的横向滚动裁掉(overflow-x:auto 同时会裁掉纵向溢出) */
+th .q-tip-pop { white-space: normal; }
+.q-tip.pop-right .q-tip-pop { left: auto; right: -6px; }
+
+/* 初始密码:输入框与「自动生成」按钮同行,等宽字体便于分辨易混字符 */
+.pwd-row { display: flex; align-items: center; gap: 8px; }
+.pwd-row input {
+  flex: 1; min-width: 0; max-width: none;
+  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .5px;
+}
+.pwd-row input.flash { animation: pwdFlash 520ms ease both; }
+@keyframes pwdFlash { from { background: #dff3ef; border-color: var(--teal); } to { background: white; border-color: var(--line); } }
+
+/* 新增档案时一并开通登录账号:可选区块,左侧色条把「登录名—初始密码—手机号」归为一组,
+   浅底与卡片底色区分,表明这几项不是档案必填内容(都留空即只建档案) */
+.acct-new {
+  margin-top: 8px;
+  padding: 8px 12px 6px;
+  border: 1px solid var(--line);
+  border-left: 3px solid var(--teal);
+  border-radius: 10px;
+  background: #fbf7ef;
+}
+.acct-new .note { margin-top: 4px; }
+/* 登录名与手机号并排显示 */
+.acct-grid {
+  display: grid;
+  grid-template-columns: 1fr 1fr;
+  gap: 0 12px;
+}
+@media (max-width: 580px) { .acct-grid { grid-template-columns: 1fr; } }
+/* 弹窗内可折叠说明,默认收起 */
+details.note-details { margin-top: 4px; }
+details.note-details summary {
+  cursor: pointer; font-size: 12px; color: var(--muted);
+  list-style: none; display: inline-flex; align-items: center; gap: 4px;
+}
+details.note-details summary::before { content: '?'; display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); background: #f3eee4; font-size: 10px; font-weight: 600; flex: none; }
+details.note-details[open] summary::before { content: '\2212'; }
+details.note-details .note { margin-top: 4px; }
+
+/* 成员负责范围:下拉多选树。收起时是一行选择框,展开后浮层内是区域—客户勾选树,区域可整块勾选 */
+.scope-pick { position: relative; margin-top: 6px; }
+.scope-pick-btn {
+  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
+  padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px;
+  background: var(--card); font-size: 14px; text-align: left;
+  transition: border-color 160ms ease;
+}
+.scope-pick-btn:hover, .scope-pick.open .scope-pick-btn { border-color: var(--teal); }
+.scope-pick-text {
+  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
+  color: var(--muted);
+}
+.scope-pick-caret { color: var(--muted); font-size: 12px; transition: transform 160ms ease; }
+.scope-pick.open .scope-pick-caret { transform: rotate(180deg); }
+.scope-pick-pop {
+  display: none; position: absolute; z-index: 6; left: 0; right: 0; margin-top: 6px;
+  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
+  box-shadow: 0 14px 34px rgba(40, 32, 20, 0.16);
+}
+.scope-pick.open .scope-pick-pop { display: block; animation: fadeIn 140ms ease both; }
+.scope-pick-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
+.scope-pick-bar .note { margin-left: auto; }
+.scope-pick-scroll { max-height: 250px; overflow: auto; }
+ul.tree .sp-region { font-weight: 600; }
+ul.tree .sp-region, ul.tree .sp-ent { margin: 3px 0; }
+/* 负责范围抽屉里的区域树:直接摊开在抽屉里(不走下拉浮层),限高让底部保存按钮始终够得着 */
+.scope-tree {
+  max-height: 52vh; overflow: auto; margin-top: 4px;
+  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fbf7ef;
+}
+
+/* 导出激活码弹窗:区域范围勾选树在弹窗内直接展开(勾选父节点即整块勾选其下级) */
+.ex-tree {
+  max-height: 262px; overflow: auto; margin: 0 0 12px;
+  padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fbf7ef;
+}
+.ex-tree ul.tree { margin: 2px 0; }
+.ex-tree label.ck { font-weight: normal; }
+
+/* 工单流程:状态筛选 tabs */
+.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
+.tab {
+  display: inline-flex; align-items: center; gap: 6px;
+  border: 1px solid var(--line); background: var(--card); border-radius: 999px;
+  padding: 6px 14px; font-size: 13px; color: var(--muted);
+  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
+}
+.tab b { font-size: 12px; color: inherit; opacity: 0.75; }
+.tab:hover { border-color: var(--teal); color: var(--teal-ink); transform: translateY(-1px); }
+.tab.active { background: var(--teal-ink); border-color: var(--teal-ink); color: #f3efe6; }
+.tab.active b { opacity: 0.9; }
+
+/* 运维团队:tab 与「开通运维团队」按钮同行,tab 在左按钮在右 */
+.team-tabs { justify-content: space-between; margin-bottom: 14px; }
+.panel-sub { margin: 16px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
+/* 某类型尚未开通团队时的空白 tab 页:虚线空态 + 居中开通入口 */
+.team-empty {
+  display: flex; flex-direction: column; align-items: center; gap: 4px;
+  padding: 46px 18px; border: 1px dashed #d3c6b3; background: transparent;
+}
+.team-empty-title { font-size: 15px; color: var(--ink); }
+.team-empty .note { max-width: 540px; margin-bottom: 10px; }
+
+/* 工单流程:状态流转指示 */
+.flow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
+.fstep {
+  display: inline-flex; align-items: center;
+  border: 1px solid var(--line); border-radius: 999px;
+  padding: 3px 12px; font-size: 12px; color: var(--muted); background: var(--card);
+}
+.fstep.done { border-color: #bcd9c8; color: var(--green); background: #e5f4ea; }
+.fstep.now { border-color: var(--teal); color: var(--teal-ink); background: #e5f3f2; font-weight: 600; }
+.fstep.bad { border-color: #eac4bc; color: var(--red); background: #fde8e4; }
+.farrow { color: var(--muted); font-size: 12px; }
+.fstep.clickable {
+  cursor: pointer; border-style: dashed; border-color: var(--teal); color: var(--teal-ink);
+  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
+}
+.fstep.clickable:hover {
+  transform: translateY(-1px);
+  background: #eef7f5;
+  box-shadow: 0 0 0 2px rgba(14, 110, 104, 0.15);
+}
+
+/* ===== 区域管理:概况卡片 + 钻取列表 ===== */
+/* 右栏允许收缩到 fr 份额以内,宽表格在 panel 内部横向滚动,避免挤压左侧区域树 */
+.region-over { min-height: 0; min-width: 0; }
+.ov-grid {
+  display: grid;
+  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
+  gap: 14px;
+  align-content: start;
+}
+button.ov-card {
+  text-align: left;
+  width: 100%;
+  display: flex;
+  flex-direction: column;
+  gap: 6px;
+  cursor: pointer;
+  border: 1px solid var(--line);
+}
+button.ov-card:hover {
+  border-color: var(--teal);
+  transform: translateY(-2px);
+  box-shadow: 0 14px 32px rgba(40, 32, 20, 0.12);
+}
+.ov-card .ov-title { color: var(--muted); font-size: 13.5px; }
+.ov-card b { font-size: 30px; margin: 2px 0; line-height: 1.1; word-break: break-word; }
+.ov-card .ov-sub { color: var(--muted); font-size: 12.5px; line-height: 1.55; min-height: 36px; }
+.ov-card .ov-go { color: var(--teal-ink); font-size: 12.5px; margin-top: 2px; }
+.ov-head .row { margin-bottom: 2px; }
+
+/* 危险色 ghost 按钮 */
+.btn.danger { background: transparent; color: var(--red); border-color: var(--red); }
+.btn.danger:hover { background: #fde8e4; }
+
+/* 概况卡片与右侧钻取视图入场动画(保持既有动效) */
+.ov-card { animation: fadeInUp 300ms ease both; }
+
+/* 列表筛选条:区域/付款周期下拉框与名称文本框排在表头上方,底部对齐 */
+.filters {
+  display: flex;
+  flex-wrap: wrap;
+  gap: 10px 16px;
+  align-items: flex-end;
+  margin: 6px 0 12px;
+}
+.filters .f-item label { margin: 0 0 4px; }
+.filters .f-item select,
+.filters .f-item input { width: auto; min-width: 200px; max-width: 320px; }
+/* 多选筛选下拉:工单类型 / 状态 / 回填来源三组各占一个控件的宽度,与其他下拉同行排布,
+   纵向省掉三整行标签。选项面板绝对定位浮在表格上方,展开态由 JS 状态维持,勾完一项仍保持展开 */
+.filters .f-item .msel { position: relative; }
+.filters .f-item .msel-btn {
+  display: flex;
+  align-items: center;
+  gap: 8px;
+  width: auto;
+  min-width: 200px;
+  max-width: 320px;
+  border: 1px solid var(--line);
+  background: white;
+  border-radius: 8px;
+  padding: 8px 10px;
+  text-align: left;
+  transition: border-color 180ms ease, box-shadow 180ms ease;
+}
+.filters .f-item .msel-btn:hover { border-color: var(--teal); }
+.filters .f-item .msel.open .msel-btn { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14, 110, 104, 0.12); }
+.filters .f-item .msel-text {
+  flex: 1 1 auto;
+  min-width: 0;
+  overflow: hidden;
+  white-space: nowrap;
+  text-overflow: ellipsis;
+  color: var(--muted);
+}
+.filters .f-item .msel-btn.has .msel-text { color: var(--ink); font-weight: 600; }
+.filters .f-item .msel-n {
+  flex: none;
+  min-width: 18px;
+  padding: 0 5px;
+  border-radius: 999px;
+  background: var(--teal);
+  color: #fff;
+  font-size: 11.5px;
+  line-height: 17px;
+  text-align: center;
+}
+.filters .f-item .msel-caret { flex: none; color: var(--muted); transition: transform 150ms ease; }
+.filters .f-item .msel.open .msel-caret { transform: rotate(180deg); }
+.filters .f-item .msel-panel {
+  position: absolute;
+  z-index: 30;
+  top: calc(100% + 4px);
+  left: 0;
+  min-width: 100%;
+  max-height: 264px;
+  overflow-y: auto;
+  display: flex;
+  flex-direction: column;
+  gap: 2px;
+  padding: 6px;
+  background: var(--card);
+  border: 1px solid var(--line);
+  border-radius: 10px;
+  box-shadow: var(--shadow);
+}
+.filters .f-item .msel-opt {
+  display: flex;
+  align-items: center;
+  gap: 7px;
+  white-space: nowrap;
+  border: 0;
+  background: transparent;
+  border-radius: 7px;
+  padding: 6px 9px;
+  font-size: 13.5px;
+  text-align: left;
+}
+.filters .f-item .msel-opt:hover { background: #f0e8d6; }
+.filters .f-item .msel-opt.on { color: var(--teal-ink); font-weight: 600; }
+
+/* ② 成本金额定义 · 一览表:未配置的格子按 0 计但置灰区分,当前录入中的组合整行高亮。
+   放在文件末尾以胜过上面 tbody tr:nth-child(even) td 的斑马纹背景 */
+td.amt-none { color: var(--muted); }
+tbody tr.combo-cur td { background: #f1e7d3; }
+tbody tr.combo-cur td:first-child { font-weight: 600; }
+.filters .f-item .msel-tick { flex: none; width: 12px; color: var(--teal); font-weight: 700; }
+
+/* 工单管理分页条:左边说明当前区间与总条数,右边页码;当前页实心,到头的一侧置灰不可点 */
+.pager { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
+.pager .note { margin: 0 auto 0 0; }
+.pager .pgs { display: flex; align-items: center; gap: 6px; }
+.pager .pg {
+  min-width: 34px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px;
+  background: var(--card); font-size: 13px; color: var(--ink);
+  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
+}
+.pager .pg:hover:not(:disabled) { border-color: var(--teal); }
+.pager .pg.cur { background: var(--teal); border-color: var(--teal); color: #fff; font-weight: 600; }
+.pager .pg:disabled { color: var(--muted); opacity: 0.5; cursor: not-allowed; }
+.pager .pg.gap { border: 0; background: transparent; color: var(--muted); }

+ 3 - 0
web-scaffold/public/images/README.md

@@ -0,0 +1,3 @@
+The current login page draws its service-flow illustration with inline SVG and CSS, so it has no external image dependency.
+
+Place any future raster assets for the web app in this directory and reference them from the relevant page.

File diff suppressed because it is too large
+ 0 - 0
web-scaffold/public/images/login-captcha.svg


BIN
web-scaffold/public/images/operations-login-diorama-billing.webp


BIN
web-scaffold/public/images/operations-login-diorama-customer.webp


Some files were not shown because too many files changed in this diff