/* ERP theme v1.1: regular-weight text + the product's established blue palette. */
:root {
  --dialog-width-staff: 1000px;
  --staff-tab-width: 140px;
  --staff-tab-height: 52px;
  --staff-form-label-width: 144px;
  --staff-query-width: 200px;
  --staff-query-gap: 24px;
  --staff-table-head-height: 46px;
  --staff-table-row-height: 67px;
  --staff-section-height: 40px;
  --staff-upload-width: 208px;
  --staff-upload-height: 140px;
  --staff-upload-icon-size: 40px;
  --staff-id-icon-size: 176px;
  --color-staff-section: #f6f7f9;
  --color-staff-id-card: #8c9eff;
  --color-staff-id-person: #ffd600;
  --color-staff-id-line: #e6f7ff;
  --company-dialog-width: 1000px;
  --company-table-row-height: 105px;
  --company-table-head-height: 46px;
  --company-license-size: 104px;
  --dialog-width-excel-import: 700px;
  --excel-drop-height: 150px;
  --excel-upload-icon-size: 48px;
  --account-sidebar-width: 248px;
  --account-table-row-height: 63px;
  --account-request-row-height: 42px;
  --account-tree-indent: 18px;
  --account-query-width: 1160px;
  --account-button-width: 82px;
  --invoice-editor-width: 2060px;
  --invoice-operation-width: 130px;
  --comment-editor-width: 1780px;
  --comment-picker-width: 1100px;
  --person-picker-width: 1100px;
  --person-picker-column: 150px;
  --person-picker-row-height: 44px;
  --person-picker-heading-height: 40px;
  --person-picker-content-height: 400px;
  --person-picker-search-width: 208px;
  --person-picker-chip-width: 180px;
  --person-picker-strip-color: #dddddd;
  --comment-picker-column: 150px;
  --comment-picker-search-width: 208px;
  --comment-category-width: 720px;
  --comment-page-jump-width: 64px;
  --comment-list-row-height: 65px;
  --reference-search-gap: 5px;
  --reference-search-padding: 10px;
  --reference-search-date-width: 120px;
  --reference-search-text-width: 100px;
  --reference-search-hours-width: 50px;
  --scan-counter-size: 240px;
  --scan-counter-line: 256px;
  --scan-avatar-size: 56px;
  --scan-control-height: 48px;
  --scan-name-size: 24px;
  --scan-name-line: 32px;
  --scan-feedback-size: 28px;
  --scan-feedback-line: 40px;
  --scan-reference-header-height: 48px;
  --scan-counter-color: #c9cbce;
  --seller-remark-width: 440px;
  --seller-remark-narrow-width: 360px;
  --seller-remark-source-height: 64px;
  --seller-remark-editor-height: 112px;
  --seller-remark-list-height: clamp(288px, 34vh - 32px, 328px);
  --seller-remark-pagination-gap: var(--space-4);
  --color-login-bg: #e7f3fc;
  --color-login-panel: #f3f9fe;
  --color-login-text: #18252d;
  --color-login-muted: #536775;
  --color-login-button: #1a272f;
  --color-login-button-hover: #304653;
  --color-login-accent: #f08033;
  --login-art-radius: 16px;
  --login-shadow: 0 24px 80px rgb(38 91 130 / 10%);
  --collapse-row-height: 48px;
  --freight-input-width: 76px;
  --dialog-width-freight: calc(100vw - 32px);
  --dialog-width-material-form: 800px;
  --cost-switch-width: 44px;
  --cost-switch-height: 24px;
  --cost-switch-knob: 20px;
  --flag-none: var(--flag-gray);
  color-scheme: light;
  --font-family: Arial, "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-family-shell: var(--font-family);
  --line-height-shell: 22px;
  --font-size-sm: 12px;
  --font-size-body: 14px;
  --font-size-title: 16px;
  --font-size-page: 20px;
  --line-height-sm: 20px;
  --line-height-body: 22px;
  --line-height-title: 24px;
  --line-height-page: 28px;
  --font-weight-normal: 400;
  --font-weight-medium: 400;
  --font-weight-strong: 500;
  --color-primary: #1890ff;
  --color-primary-hover: #40a9ff;
  --color-primary-active: #096dd9;
  --color-link: #096dd9;
  --color-primary-bg: #e6f7ff;
  --color-primary-soft: #bae7ff;
  --color-primary-border: #91d5ff;
  --color-text: #333333;
  --color-text-secondary: #595959;
  --color-text-muted: #737373;
  --color-placeholder: #bfbfbf;
  --color-disabled-text: #bfbfbf;
  --color-bg: #ffffff;
  --color-bg-layout: #f5f5f5;
  --color-bg-subtle: #fafafa;
  --color-bg-disabled: #f5f5f5;
  --color-border: #d9d9d9;
  --color-divider: #f0f0f0;
  --color-cost-grid: #000000;
  --color-cost-text: rgba(0, 0, 0, 0.65);
  --cost-font-family: Avenir, Helvetica, Arial, sans-serif;
  --cost-font-size: 14px;
  --accessory-header-height: 38px;
  --accessory-row-height: 38px;
  --cost-line-height: 21px;
  --cost-header-weight: 700;
  --cost-cell-padding: 4px;
  --cost-header-height: 30px;
  --cost-row-height: 40px;
  --wage-row-height: 41px;
  --color-success: #389e0d;
  --color-success-bg: #f6ffed;
  --color-warning: #ad6800;
  --color-warning-bg: #fffbe6;
  --color-error: #cf1322;
  --color-error-fill: #ff4d4f;
  --color-error-bg: #fff1f0;
  --color-mask: rgb(0 0 0 / 45%);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --control-height-sm: 24px;
  --control-height: 32px;
  --control-height-lg: 40px;
  --table-row-height: 64px;
  --table-row-height-compact: 38px;
  --color-success-fill: #008000;
  --dialog-width-reference-form: 600px;
  --reference-question-row-height: 54px;
  --reference-category-width: 200px;
  --dialog-width-reference-picker: 1500px;
  --dialog-width-reference-expression: 850px;
  --dialog-width-reference-main-form: 800px;
  --dialog-width-reference-main-expression: 700px;
  --dialog-width-reference-binding: 1700px;
  --shadow-popup: 0 6px 16px rgb(0 0 0 / 8%), 0 3px 6px -4px rgb(0 0 0 / 12%), 0 9px 28px 8px rgb(0 0 0 / 5%);
  --shadow-toast: 0 3px 12px rgb(0 0 0 / 12%);
  --focus-ring: 0 0 0 3px rgb(24 144 255 / 18%);
  --motion-fast: 120ms;
  --flag-gray: #8c8c8c;
  --flag-red: #f5222d;
  --flag-yellow: #d4b106;
  --flag-green: #389e0d;
  --flag-blue: #1890ff;
  --flag-purple: #722ed1;
  --after-sales-color: #d500f9;
}
.scan-reference {
  --font-family: Avenir, Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.material-reference {
  --font-family: Avenir, Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --line-height-body: 21px;
  --material-data-font-size: 12px;
  --material-data-line-height: 18px;
  --material-header-height: 42px;
  --table-row-height: 61px;
  --material-category-width: 200px;
}
/* 用户指定订单列表与录单按原系统尺寸；不影响其他 ERP 页面。 */
/* 工序两页按原系统实测字体，作用域不影响其他模块。 */
.process-reference {
  --font-family: Avenir, Helvetica, Arial, sans-serif;
  --font-size-body: 14px;
  --line-height-body: 21px;
  --process-header-weight: 500;
  --process-category-line-height: 24px;
}
.broadband-reference {
  --reference-form-label-width: 115px;
  --reference-form-end-gap: 46px;
  --reference-form-row-height: 40px;
  --reference-footer-padding: 10px;
  --reference-table-head-height: 46px;
  --reference-table-row-height: 88px;
  --reference-table-cell-padding: 12px 8px;
  --reference-table-border: #e8e8e8;
  --reference-query-gap: 24px;
}
.after-sales-reference, .broadband-reference {
  --font-family: Avenir, Helvetica, Arial, sans-serif;
  --line-height-body: 21px;
  --color-text: rgba(0, 0, 0, 0.65);
  --color-reference-heading: rgba(0, 0, 0, 0.85);
  --color-reference-border: #e8e8e8;
  --color-success: var(--color-success-fill);
  --color-error: #ff0000;
  --radius: var(--radius-sm);
  --reference-header-weight: var(--font-weight-strong);
  --reference-button-padding: 15px;
  --reference-query-width: 340px;
  --reference-query-gap: 24px;
  --reference-query-bottom: 24px;
  --reference-actions-bottom: 16px;
  --reference-panel-padding: 2px;
  --reference-table-viewport-offset: 260px;
  --reference-dialog-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --reference-dialog-line: 22px;
  --reference-form-row-height: 40px;
  --reference-form-label-width: 115px;
  --reference-form-end-gap: 46px;
  --reference-footer-padding: 10px;
}
.collection-reference {
  --transfer-dialog-width: 800px;
  --transfer-form-label-width: 124px;
  --transfer-form-end-gap: 31px;
  --transfer-form-row-height: 45px;
  --transfer-textarea-height: 52px;
  --transfer-upload-height: 56px;
  --transfer-table-width: 2310px;
  --reference-dialog-line: 22px;
  --reference-form-label-width: 115px;
  --reference-form-end-gap: 46px;
  --reference-form-row-height: 40px;
  --reference-footer-padding: 10px;
  --collection-data-size: 12px;
  --collection-data-line: 18px;
  --collection-cell-block: 10px;
  --collection-cell-inline: 5px;
  --collection-table-width: 1410px;
  --collection-sidebar-width: 160px;
}
.order-reference {
  --font-family: Avenir, Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --line-height-body: 21px;
  --order-data-font-size: 12px;
  --order-data-line-height: 18px;
  --order-cell-padding: 3px;
  --order-header-height: 38px;
  --table-row-height: 65px;
  --order-filter-width: 200px;
}
.phone-reference {
  --reference-form-label-width: 115px;
  --reference-form-end-gap: 46px;
  --reference-form-row-height: 40px;
  --reference-footer-padding: 10px;
}
