/* Runtime VI, derived from final98 / source/style.css. No business visibility grants. */
@layer plan01 {
  :root {
    --erp-ink: #172438 !important; --erp-text: #172438 !important;
    --erp-text-secondary: #66768c !important; --erp-text-muted: #66768c !important;
    --erp-canvas: #fff !important; --erp-surface: #fff !important;
    --erp-surface-subtle: #f4f8fa !important; --erp-surface-hover: #f6fcfa !important;
    --erp-line: #e0e9f0 !important; --erp-line-strong: #ccdae6 !important;
    --erp-jade-800: #076d63 !important; --erp-jade-700: #007568 !important;
    --erp-jade-600: #008575 !important; --erp-jade-500: #0aa584 !important;
    --erp-jade-200: #b7e8dc !important; --erp-jade-100: #d0f6eb !important;
    --erp-jade-50: #edf8f5 !important;
    --erp-success: #087f62 !important; --erp-success-soft: #e0faf1 !important;
    --erp-warning: #a9600b !important; --erp-warning-soft: #fff2dc !important;
    --erp-danger: #c83b36 !important; --erp-danger-soft: #ffebe9 !important;
    --erp-info: #276aac !important; --erp-info-soft: #e8f2ff !important;
    --vi-link: #1879d2 !important; --vi-link-hover: #1261ab !important;
    --erp-font: "PingFang SC", "Microsoft YaHei", Arial, sans-serif !important;
    --erp-font-data: var(--erp-font) !important; --erp-text-md: 14px !important;
    --erp-text-page: 29px !important; --erp-topbar-height: 74px !important;
    --erp-sidebar-width: 232px !important; --erp-control-height: 39px !important;
    --erp-control-radius: 5px !important; --erp-panel-radius: 5px !important;
    --erp-dialog-radius: 5px !important; --erp-shadow-float: none !important;
  }
  body.erp-plan01 { background: #fff !important; color: #172438 !important; font: 400 14px/1.5 var(--erp-font) !important; font-variant-numeric: tabular-nums; }
  body.erp-plan01 :is(button,input,select,textarea) { font-family: var(--erp-font) !important; font-size: 13px !important; }
  body.erp-plan01 :is(button,a,input,select,textarea,summary):focus-visible { outline: 2px solid #008575 !important; outline-offset: 3px; }
  body.erp-plan01 .app-shell { grid-template-columns: 232px minmax(0,1fr) !important; background: #fff !important; }
  body.erp-plan01 .sidebar { width: 232px !important; min-width: 232px !important; background: #edf4f7 !important; border-right: 1px solid #e0e9f0 !important; color: #172438 !important; padding: 0 !important; }
  body.erp-plan01 .sidebar .brand { height: 74px !important; min-height: 74px !important; padding: 0 22px !important; background: transparent !important; border: 0 !important; display: flex !important; }
  body.erp-plan01 .sidebar .brand > div { display: block !important; }
  body.erp-plan01 .sidebar .brand strong { color: #172438 !important; white-space: nowrap; font-size: 25px !important; font-weight: 740 !important; letter-spacing: -.7px; }
  body.erp-plan01 .sidebar :is(.brand-mark,.brand small,.quick-menu,.nav) { display: none !important; }
  body.erp-plan01 .sidebar-company { display: block !important; padding: 18px 22px !important; font-size: 11px !important; color: #66768c !important; background: transparent !important; }
  body.erp-plan01 .vi-rail { display: flex !important; flex-direction: column !important; gap: 2px !important; padding: 12px 8px !important; overflow: auto !important; }
  body.erp-plan01 .vi-rail > button { display: flex !important; flex: 0 0 auto !important; align-items: center !important; justify-content: flex-start !important; flex-direction: row !important; gap: 17px !important; width: 100% !important; height: 59px !important; min-height: 59px !important; padding: 0 20px !important; border: 0 !important; border-radius: 6px !important; background: transparent !important; color: #172438 !important; font-size: 17px !important; font-weight: 560 !important; text-align: left !important; box-shadow: none !important; }
  body.erp-plan01 .vi-rail > button[aria-current] { background: #d0f6eb !important; color: #172438 !important; font-weight: 700 !important; }
  body.erp-plan01 .vi-rail > button:hover { background: #e1f0ee !important; }
  body.erp-plan01 .vi-rail svg { width: 25px; height: 25px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
  body.erp-plan01 .workspace { min-width: 0 !important; width: auto !important; margin: 0 !important; padding: 0 !important; background: #fff !important; }
  body.erp-plan01 .topbar { display: flex !important; align-items: center !important; gap: 24px !important; height: 74px !important; min-height: 74px !important; padding: 0 28px !important; border-bottom: 1px solid #e0e9f0 !important; background: #fff !important; box-shadow: none !important; }
  body.erp-plan01 :is(.topbar-module-icon,.page-subtitle) { display: none !important; }
  body.erp-plan01 .topbar-title { display: block !important; width: auto !important; min-width: 100px !important; flex: 0 0 auto !important; }
  body.erp-plan01 .topbar-title::before, body.erp-plan01 .topbar-title::after { content: none !important; }
  body.erp-plan01 .topbar-title h1 { display: block !important; font-size: 15px !important; line-height: 1.4 !important; font-weight: 600 !important; color: #66768c !important; }
  body.erp-plan01 .topbar-actions { display: flex !important; align-items: center !important; gap: 12px !important; flex: 1 !important; min-width: 0 !important; }
  body.erp-plan01 .wecom-super-search { display: flex !important; justify-content: flex-start !important; flex: 1 !important; width: auto !important; max-width: 600px !important; min-width: 160px !important; height: 40px !important; margin-right: auto !important; padding: 0 14px !important; border: 1px solid #e0e9f0 !important; border-radius: 5px !important; color: #66768c !important; background: #f4f8fa !important; box-shadow: none !important; }
  body.erp-plan01 .wecom-super-search-placeholder { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.erp-plan01 .user-badge { color: #172438 !important; background: transparent !important; border: 0 !important; font-size: 14px !important; }
  body.erp-plan01 .vi-subnav { display: flex !important; flex-wrap: nowrap !important; align-items: center !important; gap: 8px !important; min-height: 60px !important; margin: 0 12px !important; padding: 8px 16px !important; background: #edf4f7 !important; border: 0 !important; border-radius: 0 0 6px 6px !important; overflow-x: auto !important; }
  body.erp-plan01 .vi-subnav > button { flex: 0 0 auto !important; width: auto !important; min-width: 100px !important; height: 43px !important; min-height: 43px !important; padding: 9px 23px !important; background: transparent !important; border: 0 !important; border-radius: 5px !important; color: #172438 !important; font-size: 16px !important; font-weight: 680 !important; }
  body.erp-plan01 .vi-subnav > button[aria-current] { background: #008575 !important; color: #fff !important; }
  body.erp-plan01 .workspace > .view { padding: 22px 28px 28px !important; background: #fff !important; border: 0 !important; margin: 0 !important; width: 100% !important; min-width: 0 !important; }
  body.erp-plan01 :is(.section-bar,.panel-header,.customer-workbench-header,.purchase-section-bar) { background: #fff !important; box-shadow: none !important; border-radius: 0 !important; }
  body.erp-plan01 :is(.section-bar,.purchase-section-bar) { margin: 0 0 16px !important; padding: 0 !important; border: 0 !important; min-height: 44px !important; gap: 14px !important; }
  body.erp-plan01 :is(.section-bar,.purchase-section-bar) h2 { font-size: 29px !important; font-weight: 740 !important; line-height: 1.28 !important; letter-spacing: -.5px !important; color: #172438 !important; }
  body.erp-plan01 :is(.panel,.ledger-panel,.detail-card,.metric-card,.module-card) { background: #fff !important; border: 1px solid #e0e9f0 !important; border-radius: 5px !important; box-shadow: none !important; color: #172438 !important; }
  body.erp-plan01 .panel-header { padding: 14px 16px !important; }
  body.erp-plan01 .panel-header h2 { font-size: 20px !important; font-weight: 700 !important; color: #172438 !important; }
  body.erp-plan01 :is(.primary-button,button[type=submit]) { min-height: 39px !important; height: auto !important; padding: 8px 19px !important; border: 1px solid #008575 !important; border-radius: 5px !important; color: #fff !important; background: #008575 !important; box-shadow: none !important; font-weight: 550 !important; }
  body.erp-plan01 :is(.ghost-button,.secondary-button) { min-height: 39px !important; padding: 8px 15px !important; border: 1px solid #ccdae6 !important; border-radius: 5px !important; background: #fff !important; color: #172438 !important; box-shadow: none !important; font-weight: 550 !important; }
  body.erp-plan01 :is(.text-button,.table-link,.link-button) { color: #1879d2 !important; font-size: 13px !important; background: transparent !important; }
  body.erp-plan01 button:disabled { opacity: .5 !important; cursor: not-allowed !important; }
  body.erp-plan01 :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=file]) { min-height: 39px !important; border: 1px solid #cad8e5 !important; border-radius: 4px !important; background: #fff !important; color: #40536a !important; padding: 8px 12px !important; box-shadow: none !important; }
  body.erp-plan01 :is(input,textarea)[readonly], body.erp-plan01 :is(input,select,textarea):disabled { background: #f6f9fb !important; }
  body.erp-plan01 :is(input[type=checkbox],input[type=radio]) { accent-color: #008575; }
  body.erp-plan01 :is(.filter-bar,.order-filter-row,.purchase-filter-navigation,.filters) { gap: 10px !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
  body.erp-plan01 :is(.status-nav,.orders-status-nav,.workorder-status-nav,.purchase-status-nav) { gap: 7px !important; background: #fff !important; margin: 0 0 14px !important; padding: 0 !important; }
  body.erp-plan01 :is(.status-nav,.orders-status-nav,.workorder-status-nav,.purchase-status-nav) button { min-height: 36px !important; border-radius: 4px !important; padding: 7px 17px !important; font-size: 13px !important; }
  body.erp-plan01 :is(.status-nav,.orders-status-nav,.workorder-status-nav,.purchase-status-nav) button.active { background: #008575 !important; color: #fff !important; border-color: #008575 !important; }
  body.erp-plan01 :is(.table-wrap,.table-wrapper,.table-scroll) { background: #fff !important; border-radius: 5px !important; box-shadow: none !important; max-width: 100% !important; overflow-x: auto !important; }
  body.erp-plan01 table { width: 100% !important; border-collapse: collapse !important; color: #172438 !important; font-size: 13px !important; line-height: 1.45 !important; }
  body.erp-plan01 th { background: #f0f6f9 !important; color: #485b73 !important; font-size: 12px !important; font-weight: 650 !important; padding: 12px !important; border: 1px solid #e0e9f0 !important; }
  body.erp-plan01 td { height: 54px !important; padding: 10px 12px !important; border: 1px solid #edf2f6 !important; color: #172438 !important; vertical-align: middle !important; }
  body.erp-plan01 tbody tr:first-child td { background: #f6fcfa !important; }
  body.erp-plan01 td :is(small,.muted) { color: #66768c !important; font-size: 11px !important; line-height: 1.6 !important; }
  body.erp-plan01 td :is(.ghost-button,.primary-button) { min-height: 30px !important; padding: 4px 12px !important; border-radius: 4px !important; }
  body.erp-plan01 :is(.badge,.status-badge,.status-tag) { border-radius: 4px !important; font-size: 11px !important; line-height: 1.5 !important; padding: 3px 8px !important; }
  body.erp-plan01 :is(.pagination,.orders-pagination,.table-pagination) { margin-top: 18px !important; padding: 0 !important; font-size: 12px !important; background: transparent !important; }
  body.erp-plan01 :is(.form-grid,.purchase-information-grid) { gap: 15px 24px !important; }
  body.erp-plan01 :is(.form-grid,.purchase-information-grid) label { font-size: 13px !important; font-weight: 550 !important; color: #172438 !important; }
  body.erp-plan01 dialog { background: #fff !important; border: 1px solid #e0e9f0 !important; box-shadow: none !important; color: #172438 !important; }
  body.erp-plan01 dialog::backdrop { background: rgba(23,36,56,.3); }
  body.erp-plan01 dialog :is(.dialog-card,.dialog-header,.dialog-actions,.detail-tabs,.order-detail-dialog) { background: #fff !important; color: #172438 !important; box-shadow: none !important; }
  body.erp-plan01 :is(.dialog-header,.dialog-actions) { border-color: #e0e9f0 !important; padding: 16px 28px !important; }
  body.erp-plan01 .dialog-header h2 { font-size: 24px !important; color: #172438 !important; }
  body.erp-plan01 :is(.plan01-page-heading,.blacklake-page-title) { display: flex !important; align-items: center !important; gap: 18px !important; margin: 0 0 16px !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
  body.erp-plan01 :is(.plan01-page-heading,.blacklake-page-title) h2 { font-size: 29px !important; font-weight: 740 !important; letter-spacing: -.5px !important; color: #172438 !important; margin: 0 !important; }
  body.erp-plan01 .plan01-page-heading p { margin: 0; color: #66768c; }
  body.erp-plan01 .plan01-heading-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
  body.erp-plan01 .blacklake-breadcrumb { display: none !important; }
  body.erp-plan01 .blacklake-page-title p { font-size: 13px !important; color: #66768c !important; margin: 4px 0 0 !important; }
  body.erp-plan01 :is(.blacklake-primary-button,.primary-row-action) { background: #008575 !important; border: 1px solid #008575 !important; color: #fff !important; border-radius: 5px !important; box-shadow: none !important; padding: 8px 15px !important; }
  body.erp-plan01 :is(.blacklake-plain-button,.plan01-heading-actions > button:not(.blacklake-primary-button)) { border: 1px solid #ccdae6 !important; border-radius: 5px !important; min-height: 39px !important; padding: 8px 15px !important; color: #172438 !important; background: #fff !important; }
  body.erp-plan01 :is(.blacklake-tabbar,.order-status-navigation) { display: flex !important; flex-wrap: wrap !important; gap: 7px !important; padding: 0 !important; margin: 0 0 14px !important; border: 0 !important; background: transparent !important; }
  body.erp-plan01 :is(.blacklake-tabbar,.order-status-navigation) > button { border: 1px solid #e0e9f0 !important; border-radius: 4px !important; background: #f4f8fa !important; color: #172438 !important; padding: 7px 17px !important; min-height: 36px !important; font-weight: 550 !important; font-size: 13px !important; }
  body.erp-plan01 :is(.blacklake-tabbar,.order-status-navigation) > button:is(.active,[aria-pressed=true]) { background: #008575 !important; color: #fff !important; border-color: #008575 !important; box-shadow: none !important; }
  body.erp-plan01 :is(.blacklake-tabbar,.order-status-navigation) > button::after { content: none !important; }
  body.erp-plan01 .blacklake-filterbar { display: flex !important; align-items: end !important; flex-wrap: wrap !important; gap: 10px !important; padding: 0 !important; margin: 0 0 14px !important; border: 0 !important; background: #fff !important; }
  body.erp-plan01 .blacklake-filterbar label { flex: 1 1 150px !important; min-width: 0 !important; }
  body.erp-plan01 .blacklake-filterbar label > span { font-size: 11px !important; color: #66768c !important; margin-bottom: 5px !important; }
  body.erp-plan01 .blacklake-toolbar { padding: 0 0 12px !important; border: 0 !important; color: #66768c !important; background: #fff !important; }
  body.erp-plan01 .blacklake-status-strip { border: 0 !important; margin-top: 18px !important; background: #f4f8fa !important; }
  body.erp-plan01 .plan01-list-filters { display: flex !important; margin: 0 0 14px !important; padding: 0 !important; width: 100% !important; max-width: none !important; }
  body.erp-plan01 .order-filter-search { width: 340px !important; max-width: 100% !important; }
  body.erp-plan01 .order-filter-search > span { display: none !important; }
  body.erp-plan01 :is(.order-section-bar,.purchase-section-bar) { display: flex !important; flex-wrap: wrap !important; align-items: center !important; }
  body.erp-plan01 :is(.order-section-bar,.purchase-section-bar) > .section-create-button { margin-left: auto !important; }
  body.erp-plan01 #ordersListPanel { padding: 0 !important; border: 0 !important; border-radius: 0 !important; }
  body.erp-plan01 .clean-orders-table :is(th,td) { font-size: 13px !important; }
  body.erp-plan01 :is(.clean-order-link,.blacklake-link-button) { color: #1879d2 !important; font-weight: 500 !important; }
  body.erp-plan01 .clean-order-operation { min-width: 165px !important; }
  body.erp-plan01 .clean-order-operation :is(button,summary), body.erp-plan01 .blacklake-workorder-table button { min-height: 30px !important; padding: 4px 10px !important; border: 1px solid #ccdae6 !important; border-radius: 4px !important; font-size: 12px !important; color: #172438 !important; background: #fff !important; }
  body.erp-plan01 .plan01-more { margin: 20px 0 0 !important; border-top: 1px solid #e0e9f0 !important; background: #fff !important; }
  body.erp-plan01 .plan01-more > summary { padding: 14px 0; cursor: pointer; color: #66768c; font-size: 13px; }
  body.erp-plan01 .plan01-more-body { padding: 16px 0; }
  body.erp-plan01 .plan01-workbench .workbench-layout { display: block !important; }
  body.erp-plan01 .plan01-workbench .workbench-metric-band { border: 0 !important; background: #f4f8fa !important; padding: 0 !important; margin: 0 0 16px !important; min-height: 0 !important; }
  body.erp-plan01 .plan01-workbench #metricsGrid { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 0 !important; padding: 0 !important; }
  body.erp-plan01 .plan01-workbench #metricsGrid > * { border: 0 !important; border-right: 1px solid #e0e9f0 !important; background: #f4f8fa !important; padding: 14px 18px !important; box-shadow: none !important; }
  body.erp-plan01 .plan01-workbench #metricsGrid strong { font-size: 24px !important; color: #172438 !important; }
  body.erp-plan01 .plan01-workbench #todayWorkbenchGrid { display: grid !important; grid-template-columns: 1fr !important; padding: 0 !important; gap: 0 !important; }
  body.erp-plan01 .plan01-workbench .today-workbench-card { display: grid !important; grid-template-columns: 140px 160px minmax(0,1fr) auto !important; align-items: center !important; gap: 14px !important; padding: 12px 16px !important; min-height: 64px !important; border: 0 !important; border-top: 1px solid #e0e9f0 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; }
  body.erp-plan01 .today-workbench-card :is(strong,p,button) { margin: 0 !important; }
  body.erp-plan01 .today-workbench-card strong { font-size: 18px !important; }
  body.erp-plan01 .today-workbench-card p { font-size: 13px !important; color: #66768c !important; }
  body.erp-plan01 .plan01-form-page :is(.form-grid,.purchase-information-grid) { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  body.erp-plan01 .plan01-list-filters { min-height: 40px !important; border: 0 !important; background: #fff !important; align-items: center !important; }
  body.erp-plan01 #ordersListPanel > .table-wrap { padding: 0 !important; }
  body.erp-plan01 #ordersTable :is(td,td strong,td button) { text-align: left !important; }
  body.erp-plan01 .plan01-empty-presentation { display: none !important; }
  body.erp-plan01 .plan01-form-section { padding: 20px !important; margin: 0 0 17px !important; background: #fff !important; border: 1px solid #e0e9f0 !important; border-radius: 5px !important; }
  body.erp-plan01 .plan01-form-section h3 { margin: 0 0 15px !important; font-size: 18px !important; font-weight: 650 !important; }
  body.erp-plan01 .plan01-fields { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 15px 24px !important; margin: 0 !important; padding: 0 !important; }
  body.erp-plan01 .plan01-fields > :is(label,div) { grid-column: auto !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important; }
  body.erp-plan01 .plan01-fields input, body.erp-plan01 .plan01-fields select { width: 100% !important; height: 39px !important; }
  body.erp-plan01 .plan01-fields label { display: grid; gap: 7px; font-size: 13px !important; }
  body.erp-plan01 .plan01-fields .order-customer-input-row { display: flex !important; gap: 7px; }
  body.erp-plan01 .plan01-fields .order-customer-input-row input { min-width: 0 !important; flex: 1; }
  body.erp-plan01 .plan01-fields .order-new-customer-button { min-height: 39px !important; white-space: nowrap; padding: 0 9px !important; background: #fff !important; border: 1px solid #ccdae6 !important; color: #1879d2 !important; }
  body.erp-plan01 .order-entry-body { padding: 0 0 20px !important; }
  body.erp-plan01 :is(.order-detail-section,.order-process-section,.order-invoice-section) { background: #fff !important; border: 1px solid #e0e9f0 !important; border-radius: 5px !important; padding: 20px !important; }
  body.erp-plan01 :is(.order-detail-section .dialog-subheader,.order-process-section-header) { background: transparent !important; border: 0 !important; padding: 0 0 15px !important; }
  body.erp-plan01 .order-detail-row { border: 1px solid #e0e9f0 !important; border-radius: 4px !important; background: #fff !important; padding: 15px !important; }
  body.erp-plan01 .order-entry-actions { gap: 10px !important; }
  body.erp-plan01 #customerProfile { border: 0 !important; padding: 0 !important; margin: 0 !important; }
  body.erp-plan01 #customerProfile > :is(.customer-section-banner,.panel-header) { display: none !important; }
  body.erp-plan01 #customerCards { display: block !important; padding: 0 !important; gap: 0 !important; border: 1px solid #e0e9f0 !important; border-radius: 5px !important; overflow: auto !important; }
  body.erp-plan01 #customerCards .customer-profile-card { padding: 0 !important; border: 0 !important; border-top: 1px solid #e0e9f0 !important; margin: 0 !important; border-radius: 0 !important; min-width: 1040px; }
  body.erp-plan01 :is(.plan01-customer-columns,.plan01-customer-row) { display: grid !important; grid-template-columns: minmax(200px,1.5fr) minmax(85px,.7fr) minmax(130px,1fr) minmax(100px,.8fr) minmax(95px,.7fr) minmax(95px,.7fr) 155px !important; gap: 0 !important; align-items: stretch !important; min-width: 1040px; }
  body.erp-plan01 .plan01-customer-columns { background: #f0f6f9 !important; color: #485b73 !important; font-size: 12px !important; font-weight: 650; }
  body.erp-plan01 :is(.plan01-customer-columns,.plan01-customer-row) > * { padding: 10px 12px !important; border-right: 1px solid #edf2f6 !important; }
  body.erp-plan01 .plan01-customer-row > * { align-content: center; min-height: 54px !important; font-size: 13px !important; }
  body.erp-plan01 .plan01-customer-row small { display: block; margin-top: 3px; font-size: 11px !important; color: #66768c !important; }
  body.erp-plan01 .plan01-customer-identity button { padding: 0 !important; min-height: 0 !important; text-align: left; border: 0 !important; }
  body.erp-plan01 .plan01-cell-label { display: none; }
  body.erp-plan01 .plan01-row-actions { display: flex; gap: 6px; align-items: center; }
  body.erp-plan01 .plan01-row-actions .small-button { padding: 4px 8px !important; min-height: 30px !important; border: 1px solid #ccdae6 !important; border-radius: 4px !important; background: #fff !important; font-size: 12px !important; }
  body.erp-plan01 #customerCards .customer-card-more { margin: 0 !important; border: 0 !important; background: #fff !important; }
  body.erp-plan01 #customerCards .customer-card-more > summary { min-height: 0 !important; padding: 3px 12px 7px !important; text-align: right; color: #66768c; font-size: 11px !important; }
  body.erp-plan01 #customerCards .customer-card-more > summary small { display: none; }
  body.erp-plan01 .customer-profile-presets { display: flex !important; gap: 7px !important; background: transparent !important; margin-bottom: 14px !important; }
  body.erp-plan01 .customer-profile-presets > button { padding: 7px 17px !important; min-height: 36px !important; border-radius: 4px !important; background: #f4f8fa !important; border: 1px solid #e0e9f0 !important; }
  body.erp-plan01 .customer-profile-presets > button.active { color: #fff !important; background: #008575 !important; border-color: #008575 !important; }
  body.erp-plan01 .customer-profile-inline-filters { padding: 0 !important; background: #fff !important; border: 0 !important; margin: 0 0 16px !important; }
  body.erp-plan01 .customer-profile-inline-filters .toolbar { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; }
  body.erp-plan01 .customer-profile-inline-filters .toolbar { flex-direction: row !important; align-items: center !important; }
  body.erp-plan01 .customer-profile-inline-filters .toolbar > :is(input,select) { width: auto !important; flex: 0 1 150px !important; min-width: 120px !important; max-width: none !important; }
  body.erp-plan01 .customer-profile-inline-filters .toolbar > input:first-child { flex: 1 1 260px; }
  body.erp-plan01 .customer-profile-inline-filters .toolbar > #customerProfileKeyword { flex: 1 1 280px !important; }
  body.erp-plan01 .wecom-super-search { max-width: 505px !important; }
  body.erp-plan01 .small-button { border-radius: 4px !important; border: 1px solid #ccdae6 !important; min-height: 30px !important; font-size: 12px !important; color: #172438 !important; background: #fff !important; }
  body.erp-plan01 :is(.mini-card,.metric-card) > span { font-size: 12px !important; color: #66768c !important; letter-spacing: 0 !important; }
  body.erp-plan01 :is(.mini-card,.metric-card) > strong { font-size: 20px !important; font-weight: 650 !important; }
  body.erp-plan01 :is(.mini-card,.metric-card) > p { font-size: 12px !important; color: #66768c !important; }
  body.erp-plan01 .status { border-radius: 4px !important; padding: 3px 8px !important; font-size: 11px !important; }
  body.erp-plan01 .empty { font-size: 13px !important; color: #66768c !important; }
  body.erp-plan01 #customerProfilePagination { display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: flex-end !important; gap: 10px !important; margin-top: 18px !important; padding: 0 !important; }
  body.erp-plan01 #customerProfilePagination > * { flex: 0 0 auto !important; white-space: nowrap !important; width: auto !important; }
  body.erp-plan01 #customerProfilePageSize { width: 100px !important; }
  body.erp-plan01 #customerProfilePagination > button { min-width: 70px !important; min-height: 34px !important; }
  body.erp-plan01 .user-badge { max-width: 210px !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; flex: 0 1 auto !important; }
  /* Three-page Scheme 01 pass. Scope overrides to these live business views. */
  body.erp-plan01 :is(#customersView,#ordersView) > .section-bar { display: flex !important; align-items: center !important; justify-content: space-between !important; }
  body.erp-plan01 :is(#customersView,#ordersView) > .section-bar > div:first-child { display: flex !important; align-items: baseline !important; flex-wrap: wrap; gap: 8px 18px; }
  body.erp-plan01 :is(#customersView,#ordersView) > .section-bar p { margin: 0 !important; color: #66768c !important; font-size: 13px !important; }
  body.erp-plan01 .plan01-sales-heading-actions { display: flex; gap: 10px; margin-left: auto; flex-shrink: 0; }
  body.erp-plan01 .plan01-list-filters { gap: 10px !important; flex-wrap: wrap !important; }
  body.erp-plan01 .plan01-list-filters > select:not(.order-status-filter-native) { flex: 1 1 145px !important; width: auto !important; max-width: 210px; }
  body.erp-plan01 .order-filter-search { flex: 2 1 300px !important; margin: 0 !important; order: -1 !important; }
  body.erp-plan01 .order-filter-search input { width: 100% !important; }
  body.erp-plan01 #ordersView #ordersListPanel { display: flex !important; flex-direction: column !important; }
  body.erp-plan01 #ordersListPanel > :not(.orders-table-wrap) { flex: 0 0 auto !important; }
  body.erp-plan01 #ordersListPanel > .orders-table-wrap { flex: 1 1 auto !important; min-height: 0 !important; height: auto !important; }
  body.erp-plan01 #ordersListPanel .orders-list-header { display: flex !important; justify-content: space-between !important; padding: 0 0 12px !important; min-height: 30px !important; }
  body.erp-plan01 #ordersListPanel .clean-list-title h2 { display: none !important; }
  body.erp-plan01 #ordersListPanel .clean-list-title span { color: #66768c !important; font-size: 12px !important; }
  body.erp-plan01 #ordersListPanel .orders-tools-menu > summary { border: 1px solid #ccdae6 !important; background: #fff !important; color: #172438 !important; border-radius: 5px !important; padding: 7px 12px !important; }
  body.erp-plan01 #ordersResultBar:empty { display: none !important; }
  body.erp-plan01 #ordersResultBar:not(:empty) { padding: 8px 12px !important; margin-bottom: 12px !important; background: #f4f8fa !important; border: 1px solid #e0e9f0 !important; border-radius: 5px !important; }
  body.erp-plan01 .clean-orders-table { table-layout: fixed !important; min-width: 1000px !important; }
  body.erp-plan01 .clean-orders-table colgroup { display: table-column-group !important; }
  body.erp-plan01 .clean-orders-table col { display: table-column !important; visibility: visible !important; }
  body.erp-plan01 .clean-orders-table thead { display: table-header-group !important; }
  body.erp-plan01 .clean-orders-table tbody { display: table-row-group !important; }
  body.erp-plan01 .clean-orders-table tr { display: table-row !important; }
  body.erp-plan01 .clean-orders-table :is(th,td) { display: table-cell !important; }
  body.erp-plan01 .clean-orders-table :is(th,td)::before { content: none !important; }
  body.erp-plan01 .clean-orders-table col:nth-child(1) { width: 45px !important; }
  body.erp-plan01 .clean-orders-table col:nth-child(2) { width: 85px !important; }
  body.erp-plan01 .clean-orders-table col:nth-child(3) { width: 225px !important; }
  body.erp-plan01 .clean-orders-table col:nth-child(4) { width: 145px !important; }
  body.erp-plan01 .clean-orders-table col:nth-child(5) { width: 90px !important; }
  body.erp-plan01 .clean-orders-table col:nth-child(6) { width: 200px !important; }
  body.erp-plan01 .clean-orders-table col:nth-child(7) { width: 115px !important; }
  body.erp-plan01 .clean-orders-table col:nth-child(8) { width: 130px !important; }
  body.erp-plan01 .clean-orders-table col:nth-child(9) { width: 150px !important; }
  body.erp-plan01 #ordersListPanel.clean-orders-simple-fields :is(col,th,td):nth-child(6) { display: none !important; width: 0 !important; }
  body.erp-plan01 #ordersListPanel.clean-orders-simple-fields col:nth-child(6) { visibility: collapse !important; }
  body.erp-plan01 #ordersListPanel:not(.clean-orders-simple-fields) .clean-orders-table { min-width: 1220px !important; }
  body.erp-plan01 .clean-orders-table :is(th,td) { text-align: left !important; font-weight: 400 !important; white-space: normal !important; overflow-wrap: anywhere; }
  body.erp-plan01 .clean-orders-table th { font-weight: 650 !important; font-size: 12px !important; }
  body.erp-plan01 #ordersTable td strong { display: block !important; font-weight: 550 !important; }
  body.erp-plan01 #ordersTable td small { display: block !important; }
  body.erp-plan01 .clean-orders-table :is(th,td):nth-child(5), body.erp-plan01 .clean-orders-table :is(th,td):nth-child(8) { text-align: right !important; }
  body.erp-plan01 #ordersTable :is(td:nth-child(5),td:nth-child(8)) strong { text-align: right !important; }
  body.erp-plan01 .clean-order-operation { min-width: 125px !important; }
  body.erp-plan01 #ordersTable .simple-row-actions { display: flex !important; flex-wrap: nowrap !important; align-items: flex-start !important; justify-content: flex-start !important; gap: 7px !important; }
  body.erp-plan01 #ordersTable .row-more-actions { position: relative !important; flex: 0 0 auto !important; margin: 0 !important; }
  body.erp-plan01 #ordersTable .row-more-actions > summary { list-style: none !important; cursor: pointer; }
  body.erp-plan01 #ordersTable .row-more-actions > summary::-webkit-details-marker { display: none; }
  body.erp-plan01 #ordersTable .row-more-actions > div { position: static !important; display: grid !important; gap: 6px !important; min-width: 88px !important; padding: 8px 0 0 !important; background: #fff !important; border: 0 !important; box-shadow: none !important; }
  body.erp-plan01 #ordersTable .row-more-actions:not([open]) > div { display: none !important; }
  body.erp-plan01 .clean-order-operation .danger-text-button { color: #c83b36 !important; }
  body.erp-plan01 .orders-pagination { display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 12px !important; flex-wrap: wrap !important; }
  body.erp-plan01 .orders-pagination-actions { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 9px !important; }
  body.erp-plan01 :is(.orders-pagination-actions,#customerProfilePagination) button { border: 1px solid #ccdae6 !important; border-radius: 4px !important; background: #fff !important; color: #172438 !important; min-height: 34px !important; padding: 5px 10px !important; font-size: 12px !important; }
  body.erp-plan01 .plan01-page-jump { display: inline-flex !important; align-items: center !important; gap: 7px !important; color: #66768c !important; font-size: 12px !important; }
  body.erp-plan01 .plan01-page-jump input { width: 54px !important; min-height: 34px !important; padding: 5px !important; text-align: center; }
  body.erp-plan01 #customerProfilePageSummary { order: -1 !important; margin-right: auto !important; color: #66768c !important; font-size: 12px !important; }
  body.erp-plan01 #customerCards .customer-profile-card { position: relative; min-width: 1030px !important; }
  body.erp-plan01 :is(.plan01-customer-columns,.plan01-customer-row) { min-width: 1030px !important; grid-template-columns: minmax(175px,1.6fr) minmax(90px,.8fr) minmax(85px,.8fr) minmax(120px,1fr) minmax(100px,.8fr) minmax(100px,.8fr) minmax(135px,1.1fr) 145px !important; }
  body.erp-plan01 .plan01-customer-row > * { color: #172438 !important; font-weight: 400 !important; }
  body.erp-plan01 #customerCards .customer-profile-card:first-of-type .plan01-customer-row { background: #f6fcfa !important; }
  body.erp-plan01 #customerCards .customer-card-more > summary { position: absolute; top: 12px; right: 12px; padding: 5px 9px !important; min-height: 30px !important; border: 1px solid #ccdae6 !important; border-radius: 4px; font-size: 12px !important; background: #fff !important; color: #172438 !important; list-style: none; cursor: pointer; }
  body.erp-plan01 #customerCards .customer-card-more > summary::-webkit-details-marker { display: none; }
  body.erp-plan01 #customerCards .customer-card-more-body { padding: 16px !important; border-top: 1px solid #e0e9f0; background: #f4f8fa !important; }
  body.erp-plan01 .customer-profile-inline-filters .toolbar > #customerProfileTagFilter { flex: 0 1 125px !important; min-width: 110px !important; }
  body.erp-plan01 .plan01-scroll-hint { display: none; margin: 0 0 7px; color: #66768c; font-size: 11px; }
  body.erp-plan01 #orderForm { display: flex !important; flex-direction: column !important; gap: 0 !important; }
  body.erp-plan01 #orderForm .order-entry-header { padding: 0 0 18px !important; position: static !important; min-height: auto !important; border: 0 !important; gap: 16px !important; flex-shrink: 0; }
  body.erp-plan01 #orderForm .order-entry-header h2 { font-size: 29px !important; font-weight: 740 !important; letter-spacing: -.5px !important; }
  body.erp-plan01 #orderForm .order-entry-header .dialog-subtitle { display: block !important; margin: 5px 0 0 !important; font-size: 13px !important; color: #66768c !important; }
  body.erp-plan01 #orderForm .order-entry-header .order-dialog-context:empty { display: none !important; }
  body.erp-plan01 #closeDialogBtn { display: none !important; }
  body.erp-plan01 .plan01-form-header-actions { display: flex; gap: 10px; flex-shrink: 0; margin-left: auto; }
  body.erp-plan01 #orderForm button[name=saveDraft] { background: #fff !important; color: #172438 !important; border-color: #ccdae6 !important; }
  body.erp-plan01 #orderForm .order-entry-body { flex: 1 1 auto !important; min-height: 0 !important; padding: 0 0 20px !important; overflow: auto !important; scrollbar-gutter: stable; }
  body.erp-plan01 #orderForm .order-entry-actions { display: flex !important; align-items: center !important; justify-content: flex-end !important; position: static !important; padding: 14px 0 0 !important; margin: 0 !important; min-height: auto !important; border-top: 1px solid #e0e9f0 !important; flex-shrink: 0; }
  body.erp-plan01 #orderForm .order-continue-submit { display: inline-flex !important; flex-direction: row !important; align-items: center !important; gap: 8px !important; margin: 0 auto 0 0 !important; }
  body.erp-plan01 #orderForm .order-entry-actions button { width: auto !important; min-width: 75px !important; }
  body.erp-plan01 #orderForm :is(.plan01-form-section,.order-detail-section,.order-process-section,.order-invoice-section) { margin: 0 0 17px !important; }
  body.erp-plan01 #orderForm :is(.order-invoice-grid,.detail-parameter-grid) { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 15px 24px !important; }
  body.erp-plan01 #orderForm .order-detail-table { width: 100% !important; max-width: 100% !important; min-width: 0 !important; overflow-x: auto !important; overscroll-behavior-x: contain; }
  body.erp-plan01 #orderForm :is(.order-detail-head,.order-detail-row) { min-width: 1220px !important; grid-template-columns: 52px 105px minmax(145px,1.6fr) 90px 90px 155px 100px 80px 80px minmax(130px,1fr) 60px !important; padding: 0 !important; border-radius: 0 !important; gap: 0 !important; }
  body.erp-plan01 #orderForm .order-detail-head { display: grid !important; min-height: 40px !important; background: #f0f6f9 !important; }
  body.erp-plan01 #orderForm .order-detail-head span { min-height: 40px !important; color: #485b73 !important; font-size: 12px !important; font-weight: 650 !important; padding: 8px !important; }
  body.erp-plan01 #orderForm .order-detail-row > * { grid-column: auto !important; min-height: 39px !important; font-size: 13px !important; font-weight: 400 !important; padding: 8px !important; color: #40536a !important; }
  body.erp-plan01 #orderForm .order-detail-row > input[type=hidden] { display: none !important; }
  body.erp-plan01 #orderForm .order-detail-row .detail-index { grid-column: auto !important; padding: 8px !important; font-size: 12px !important; }
  body.erp-plan01 #orderForm .order-detail-row > .vi-entry-field { display: flex !important; justify-content: center !important; flex-direction: column !important; border: 1px solid #edf2f6 !important; }
  body.erp-plan01 #orderForm .order-detail-row > .vi-entry-field > span { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
  body.erp-plan01 #orderForm .order-detail-row > .vi-entry-field > :is(input,select) { width: 100% !important; min-width: 0 !important; }
  body.erp-plan01 #orderForm .detail-parameters-cell { grid-column: 1 / -1 !important; background: #f6f9fb !important; padding: 14px !important; }
  body.erp-plan01 #orderForm .order-detail-toolbar::before { content: none !important; }
  body.erp-plan01 #orderForm .plan01-detail-scroll-hint { margin: 0 0 10px; color: #66768c; font-size: 12px; }
  body.erp-plan01 #orderForm :is(.order-detail-section h3,.order-process-section h3,.order-invoice-section h3) { font-size: 18px !important; font-weight: 650 !important; }
  @media (max-width: 1400px) {
    body.erp-plan01 .plan01-scroll-hint { display: block; }
  }
  @media (max-width: 980px) {
    body.erp-plan01 :is(#customersView,#ordersView) > .section-bar { text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; }
    body.erp-plan01 #newCustomerBtn { margin: 0 0 0 auto !important; }
    body.erp-plan01 .plan01-sales-heading-actions { width: 100%; }
    body.erp-plan01 .plan01-sales-heading-actions > button { width: auto !important; flex: 1; }
    body.erp-plan01 .plan01-sales-heading-actions { margin: 0; flex-wrap: wrap; }
    body.erp-plan01 :is(#customersView,#ordersView) > .section-bar { flex-wrap: wrap !important; }
    body.erp-plan01 #customerProfilePagination > #customerProfilePageSummary { flex-basis: 100% !important; }
    body.erp-plan01 #customerProfilePagination { justify-content: flex-start !important; }
    body.erp-plan01 #orderDialog { width: 100vw !important; max-width: 100vw !important; height: 100dvh !important; max-height: 100dvh !important; margin: 0 !important; padding: 0 !important; }
    body.erp-plan01 #orderForm { width: 100% !important; max-width: none !important; height: 100% !important; max-height: none !important; padding: 16px !important; }
    body.erp-plan01 #orderForm .order-entry-header { flex-wrap: wrap !important; }
    body.erp-plan01 #orderForm .plan01-form-header-actions { display: none; }
    body.erp-plan01 #orderForm :is(.order-invoice-grid,.detail-parameter-grid) { grid-template-columns: 1fr !important; }
    body.erp-plan01 #orderForm .order-entry-actions { display: flex !important; flex-wrap: wrap !important; justify-content: flex-end !important; }
    body.erp-plan01 #orderForm .order-continue-submit { margin-right: auto !important; }
  }
  @media (min-width: 981px) {
    body.erp-plan01 dialog.plan01-form-page { inset: 134px 0 0 232px !important; margin: 0 !important; width: calc(100vw - 232px) !important; max-width: none !important; height: calc(100dvh - 134px) !important; max-height: none !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; }
    body.erp-plan01 dialog.plan01-form-page > .dialog-card { width: 100% !important; max-width: none !important; height: 100% !important; max-height: 100% !important; padding: 20px 28px !important; border-radius: 0 !important; }
    body.erp-plan01 :is(#orderDialog,#purchaseDialog,dialog[id$="DetailDialog"],#customerDialog) { inset: 134px 0 0 232px !important; margin: 0 !important; width: calc(100vw - 232px) !important; max-width: none !important; height: calc(100dvh - 134px) !important; max-height: none !important; border-radius: 0 !important; border: 0 !important; }
    body.erp-plan01 :is(dialog.plan01-form-page,dialog[id$="DetailDialog"])::backdrop { background: transparent !important; backdrop-filter: none !important; }
    body.erp-plan01 .mobile-nav-toggle { display: none !important; }
  }
  @media (max-width: 980px) {
    body.erp-plan01 .plan01-fields { grid-template-columns: 1fr !important; }
    body.erp-plan01 .plan01-page-heading { display: block !important; }
    body.erp-plan01 .plan01-workbench .today-workbench-card { grid-template-columns: minmax(0,1fr) auto !important; }
    body.erp-plan01 .today-workbench-card p { grid-column: 1 / -1; }
    body.erp-plan01 .plan01-workbench #metricsGrid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
    body.erp-plan01 .plan01-form-page :is(.form-grid,.purchase-information-grid) { grid-template-columns: 1fr !important; }
    /* Phone pages use document scrolling; the desktop fixed-height shell clips long modules. */
    body.erp-plan01 .app-shell { display: block !important; height: auto !important; min-height: 100dvh !important; max-height: none !important; overflow: visible !important; }
    body.erp-plan01 .workspace { height: auto !important; max-height: none !important; min-height: 0 !important; overflow: visible !important; }
    body.erp-plan01 .sidebar { max-width: 85vw !important; }
    body.erp-plan01 .topbar { height: auto !important; min-height: 64px !important; padding: 10px 16px !important; gap: 12px !important; }
    body.erp-plan01 .topbar-title { display: none !important; }
    body.erp-plan01 .topbar-create, body.erp-plan01 .wecom-super-search kbd { display: none !important; }
    body.erp-plan01 .topbar-actions { flex-wrap: wrap !important; }
    body.erp-plan01 .workspace > .view { padding: 18px 16px !important; }
    body.erp-plan01 .vi-subnav { margin: 0 !important; padding: 8px !important; }
    body.erp-plan01 .vi-subnav > button { padding: 8px 14px !important; font-size: 14px !important; }
    body.erp-plan01 .vi-rail { grid-template-columns: 1fr !important; }
  }
}

body.erp-operate-ui .vi-rail button:is([data-vi-module="dashboard"],[data-vi-module="customers"])[aria-busy="true"] { pointer-events: auto; }
