:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;letter-spacing:0;background:#f2f4f7;font-family:Inter,Segoe UI,Microsoft YaHei,PingFang SC,system-ui,sans-serif}html,body,#root{min-height:100%}body{background:#f2f4f7;min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.auth-restoring{color:#344054;background:#f2f4f7;place-items:center;min-height:100vh;display:grid}.auth-restoring p{margin:0}.field-hint{color:#667085;margin-top:4px;font-size:.78rem;line-height:1.35;display:block}img{max-width:100%;display:block}.app-shell{grid-template-columns:170px minmax(0,1fr);min-height:100vh;display:grid}.app-shell.font-large{font-size:1.06rem}.app-shell.sidebar-collapsed{grid-template-columns:minmax(0,1fr)}.sidebar-collapsed .sidebar{display:none}.sidebar{color:#344054;background:#fff;border-right:1px solid #dce2ea;flex-direction:column;height:100vh;min-height:100vh;display:flex}.sidebar-sticky{position:sticky;top:0;overflow-y:auto}.brand-block{color:#172033;background:#fff;align-items:center;gap:6px;height:50px;padding:0 6px;font-weight:700;display:flex}.brand-mark{color:#034;background:#4edbd3;border-radius:50%;place-items:center;width:28px;height:28px;font-size:.65rem;display:grid}.brand-block h1{color:#172033;white-space:nowrap;margin:0;font-size:.85rem;line-height:1.3}.page-header h2,.content-section h3,.login-panel h1{color:#1f2937;margin:0}.nav-stack{flex-direction:column;padding:10px 0;display:flex}.nav-stack button{color:#344054;text-align:left;background:0 0;border:0;border-radius:0;align-items:center;gap:8px;width:100%;min-height:44px;padding:0 16px;font-size:.88rem;display:flex}.nav-stack button:hover,.nav-stack button.active,.nav-stack button.active-child{color:#fff;background:#1890ff}.nav-stack button.child{background:#fff;min-height:40px;padding-left:40px}.nav-stack button.child:hover{color:#1685f8;background:#e8f4ff}.nav-stack button.active-child{color:#fff;background:#1890ff;border-right:3px solid #1890ff}.menu-group-title{justify-content:flex-start}.menu-section{display:contents}.menu-icon{width:16px;color:inherit;place-items:center;font-size:.86rem;display:inline-grid}.menu-arrow{color:#98a2b3;margin-left:auto}.layout-main{flex-direction:column;min-width:0;min-height:100vh;display:flex}.layout-main-scroll{height:100vh;overflow-y:auto}.topbar{z-index:20;background:#fff;border-bottom:1px solid #dce2ea;flex-shrink:0;justify-content:space-between;align-items:center;height:50px;padding:0 16px;display:flex;position:sticky;top:0}.topbar-left,.topbar-right{align-items:center;gap:14px;min-width:0;display:flex}.topbar-left{flex:auto}.topbar-right{flex:0 auto}.topbar-icon-button{color:#344054;background:0 0;border:0;border-radius:3px;place-items:center;width:28px;height:28px;padding:0;display:inline-grid}.topbar-icon-button:hover{color:#1685f8;background:#f2f6fc}.topbar-svg-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:17px;height:17px}.breadcrumb{color:#303133;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.88rem;font-weight:600;display:block;overflow:hidden}.menu-search{color:#a8abb2;text-align:center;border:0;outline:0;width:170px}.menu-search-wrap{position:relative}.menu-search-results{z-index:20;background:#fff;border:1px solid #dcdfe6;border-radius:3px;min-width:150px;padding:6px;display:grid;position:absolute;top:30px;right:0;box-shadow:0 6px 18px #0000001f}.menu-search-results button{color:#303133;text-align:left;background:0 0;border:0;border-radius:2px;height:30px;padding:0 10px}.menu-search-results button:hover{color:#409eff;background:#ecf5ff}.user-chip{color:#344054;background:0 0;border:0;align-items:center;gap:8px;padding:0;display:inline-flex}.user-menu-wrap{display:inline-flex;position:relative}.user-menu{z-index:20;background:#fff;border:1px solid #dcdfe6;border-radius:3px;min-width:120px;padding:6px;position:absolute;top:42px;right:0;box-shadow:0 6px 18px #0000001f}.user-menu button{color:#303133;text-align:left;background:0 0;border:0;border-radius:2px;width:100%;height:32px}.user-menu button:hover{color:#409eff;background:#ecf5ff}.avatar{color:#06323a;background:#5bd6d0;border-radius:50%;place-items:center;width:36px;height:36px;font-size:.78rem;display:grid}.tagbar{z-index:19;background:#fff;border-bottom:1px solid #dce2ea;flex-shrink:0;align-items:center;height:35px;padding:0;display:flex;position:sticky;top:50px}.tag-item{color:#606266;white-space:nowrap;background:#fff;border:1px solid #dcdfe6;border-radius:2px;align-items:center;height:28px;margin-left:4px;padding:0 14px;font-size:.86rem;display:inline-flex}.tag-item.active{color:#fff;background:#409eff;border-color:#409eff}.tag-tool{color:#909399;background:0 0;border:0;border-right:1px solid #ebeef5;place-items:center;width:35px;height:35px;padding:0;font-size:.9rem;display:inline-grid}.tag-list-tool{gap:4px;width:auto;min-width:58px;padding:0 8px;display:inline-flex}.tag-spacer{flex:1}.tag-menu{z-index:12;background:#fff;border:1px solid #dcdfe6;border-radius:2px;min-width:160px;padding:6px;display:grid;position:absolute;top:34px;right:8px;box-shadow:0 6px 18px #0000001f}.tag-menu button{color:#606266;text-align:left;background:0 0;border:0;border-radius:2px;height:30px;padding:0 10px}.tag-menu button:hover,.tag-menu button.active{color:#409eff;background:#ecf5ff}.ghost-button,.primary-button,.secondary-button,.success-button,.danger-button{color:#344054;background:#fff;border:1px solid #d9dfe8;border-radius:4px;justify-content:center;align-items:center;min-width:80px;height:32px;padding:6px 14px;font-size:.88rem;line-height:1.2;text-decoration:none;display:inline-flex}.primary-button{color:#fff;background:#1890ff;border-color:#1890ff}.secondary-button{color:#409eff;background:#ecf5ff;border-color:#b3d8ff}.success-button{color:#67c23a;background:#f0f9eb;border-color:#b3e19d}.danger-button{color:#f56c6c;background:#fef0f0;border-color:#fab6b6}.ghost-button{background:#fff}.toolbar .primary-button{color:#344054;background:#fff;border-color:#d9dfe8}.content{background:#f2f4f7;flex:1;min-width:0;padding:20px}.page-stack{flex-direction:column;gap:10px;min-width:0;display:flex}.page-header{display:none}.toolbar,.button-row{flex-wrap:wrap;align-items:center;gap:10px 18px;display:flex}.toolbar{background:#fff;border:1px solid #e5e9f0;border-radius:4px;padding:10px}.toolbar-actions{flex-wrap:wrap;gap:8px;display:flex}.view-tabs{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.view-tabs button{color:#344054;background:#fff;border:1px solid #d9dfe8;border-radius:4px;min-width:96px;padding:8px 14px}.view-tabs button.active{color:#1f4db7;background:#eaf2ff;border-color:#2f6feb}.toolbar>label,.toolbar-field,.form-grid label,.login-panel label{color:#475160;grid-template-columns:76px minmax(180px,1fr);align-items:center;gap:8px;font-size:.88rem;display:grid}.toolbar-field>label{color:inherit}.clearable-input-wrap{min-width:0;display:block;position:relative}.clearable-input-wrap input{padding-right:34px}.input-clear-button{color:#7b8797;background:#fff;border:1px solid #c7d0dd;border-radius:50%;place-items:center;width:18px;min-width:0;height:18px;padding:0;font-size:.78rem;line-height:1;display:inline-grid;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.input-clear-button:hover{color:#1685f8;background:#f2f8ff;border-color:#409eff}.toolbar input,.toolbar select,.form-grid input,.form-grid select,.form-grid textarea,.stacked-field textarea,.login-panel input{color:#18212b;background:#fff;border:1px solid #c9d1db;border-radius:4px;min-width:0;height:32px;padding:5px 10px;font-size:.88rem}.stacked-field{color:#475160;flex-direction:column;gap:8px;font-size:.92rem;display:flex}textarea{resize:vertical;min-height:120px}.toolbar input,.toolbar select{width:100%}.filter-panel{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));justify-content:start;gap:18px 32px;display:grid}.filter-panel .toolbar-actions{grid-column:1/-1}.form-grid{background:#fff;border:1px solid #e5e9f0;border-radius:4px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));justify-content:start;gap:18px 32px;padding:10px;display:grid}.dialog-mask{z-index:30;background:#00000057;place-items:start center;padding:10vh 20px 24px;display:grid;position:fixed;inset:0;overflow:auto}.form-dialog{background:#fff;border:1px solid #dcdfe6;border-radius:2px;flex-direction:column;width:min(720px,100%);max-height:86vh;display:flex;box-shadow:0 8px 24px #0000002e}.form-dialog-large{width:min(1080px,100%)}.form-dialog-header{border-bottom:1px solid #ebeef5;justify-content:space-between;align-items:center;height:48px;padding:0 16px 0 20px;display:flex}.form-dialog-header h3{color:#303133;margin:0;font-size:.98rem;font-weight:600}.dialog-close{color:#909399;background:0 0;border:0;width:28px;height:28px;font-size:1rem}.form-dialog-body{padding:18px 24px;overflow:auto}.form-dialog-message{color:#17612c;background:#f0fbf3;border:1px solid #b7dfc0;border-radius:4px;margin:0 0 12px;padding:10px 12px}.dialog-form{border:0;padding:0}.dialog-actions{justify-content:flex-end;padding-top:4px}.dialog-section{margin-top:18px}.form-grid label.wide-field{grid-column:auto}.wide-field:not(label),.form-actions{grid-column:1/-1}.form-actions{flex-wrap:wrap;align-items:center;gap:8px;min-height:32px;display:flex}.checkbox-field{flex-direction:row;align-items:flex-start;gap:0;min-height:34px;padding:4px 0;line-height:1.4;display:inline-flex}.checkbox-field input{margin:0 2px 0 0}.toolbar>label.checkbox-field{grid-template-columns:none;gap:8px;width:auto;display:inline-flex}.checkbox-field input{width:16px;height:16px;margin:0}.checkbox-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px 16px;margin-top:8px;display:grid}.detail-list{gap:8px;display:grid}.detail-row{border:1px solid #e5e9f0;border-radius:4px;grid-template-columns:48px minmax(100px,.8fr) minmax(160px,1.2fr) minmax(180px,1fr) minmax(160px,1fr);align-items:stretch;gap:10px;padding:8px;display:grid}.detail-row .image-thumb{width:40px;height:40px}.detail-row label{flex-direction:column;gap:4px;min-width:0;margin:0;display:flex}.detail-row label input{box-sizing:border-box;width:100%}.import-field{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.import-field label{margin:0}.import-field input[type=file]{max-width:280px}.compact-detail-list{min-width:360px}.compact-detail-list .detail-row{grid-template-columns:40px minmax(88px,.8fr) minmax(116px,1.2fr) repeat(3,max-content);padding:4px;font-size:.82rem}.inline-check{align-items:center;gap:6px;display:inline-flex}.content-section{background:#fff;border:1px solid #e5e9f0;border-radius:4px;padding:10px}.section-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.section-header h3{margin:0}.audit-filter-panel{margin:10px 0}.pagination-bar{color:#606266;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;padding-top:10px;font-size:.88rem;display:flex}.pagination-bar label{align-items:center;gap:6px;display:inline-flex}.pagination-bar select{background:#fff;border:1px solid #d9dfe8;border-radius:4px;height:30px;padding:4px 8px}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.metric-tile{text-align:left;background:#fff;border:1px solid #d5dbe3;border-radius:4px;flex-direction:column;justify-content:space-between;gap:10px;min-height:96px;padding:14px 16px;display:flex}.metric-tile span{color:#566072;font-size:.9rem}.metric-tile strong{color:#18212b;font-size:1.6rem;line-height:1}.warning-tile{background:#fffaf0;border-color:#d59a42}.table-wrap{background:#fff;border:1px solid #e5e9f0;border-radius:4px;overflow-x:auto}.stock-toolbar{z-index:5;border-bottom-right-radius:0;border-bottom-left-radius:0;margin-bottom:0;position:sticky;top:0}.stock-table-wrap{background:#fff;border:1px solid #e5e9f0;border-radius:4px;max-height:calc(100vh - 196px);overflow:auto}.stock-table-wrap .data-table th{z-index:2;position:sticky;top:0}.stock-table-wrap .data-table{border-collapse:separate;border-spacing:0;table-layout:fixed}.stock-table-wrap .table-wrap{overflow:visible}.stock-table-wrap .col-part-code,.stock-table-wrap .col-specification,.stock-table-wrap .col-weight,.stock-table-wrap .col-quantity,.stock-table-wrap .col-image{white-space:normal;word-break:break-word;width:80px;min-width:64px;max-width:120px;font-size:clamp(11px,.8rem,13px);overflow:visible}.stock-table-wrap .col-part-name{white-space:normal;word-break:break-word;width:140px;min-width:100px;max-width:200px;font-size:clamp(11px,.8rem,13px);overflow:visible}.stock-table-wrap .col-remark{white-space:normal;word-break:break-word;width:140px;min-width:100px;max-width:220px;font-size:clamp(11px,.8rem,13px);overflow:visible}.stock-table-wrap .col-time{white-space:normal;word-break:break-word;width:140px;min-width:100px;font-size:clamp(11px,.8rem,13px)}.stock-table-wrap .col-actions{white-space:normal;width:120px;min-width:80px}.parts-table-wrap{background:#fff;border:1px solid #e5e9f0;border-radius:4px;max-height:calc(100vh - 196px);overflow:auto}.parts-table-wrap .data-table th{z-index:2;position:sticky;top:0}.parts-table-wrap .data-table{border-collapse:separate;border-spacing:0;table-layout:fixed}.parts-table-wrap .table-wrap{overflow:visible}.parts-table-wrap .col-part-code,.parts-table-wrap .col-specification,.parts-table-wrap .col-weight,.parts-table-wrap .col-quantity,.parts-table-wrap .col-image{white-space:normal;word-break:break-word;width:80px;min-width:64px;max-width:120px;font-size:clamp(11px,.8rem,13px);overflow:visible}.parts-table-wrap .col-part-name{white-space:normal;word-break:break-word;width:140px;min-width:100px;max-width:200px;font-size:clamp(11px,.8rem,13px);overflow:visible}.parts-table-wrap .col-remark{white-space:normal;word-break:break-word;width:140px;min-width:100px;max-width:220px;font-size:clamp(11px,.8rem,13px);overflow:visible}.parts-table-wrap .col-actions{white-space:normal;width:120px;min-width:80px}.page-table-wrap{background:#fff;border:1px solid #e5e9f0;border-radius:4px;min-height:200px;max-height:calc(100vh - 260px);overflow:auto}.page-table-wrap .data-table th{z-index:2;background:#f5f7fa;position:sticky;top:0;box-shadow:inset 0 -1px #dfe3eb}.page-table-wrap .data-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%}.page-table-wrap .table-wrap{background:0 0;border:none;border-radius:0;overflow:visible}.page-table-wrap .data-table th,.page-table-wrap .data-table td{white-space:normal;word-break:break-word;font-size:clamp(11px,.82rem,14px);overflow:visible}.page-table-wrap .col-store{width:140px;min-width:120px}.page-table-wrap .col-operator{width:120px;min-width:100px}.page-table-wrap .col-created-at,.page-table-wrap .col-ship-time{width:130px;min-width:120px}.page-table-wrap .col-country{width:140px;min-width:120px}.page-table-wrap .col-status-narrow,.page-table-wrap .col-quantity-narrow{white-space:normal;word-break:break-word;width:72px;min-width:64px;max-width:90px}.page-table-wrap .col-product-detail{width:auto;min-width:320px}.page-table-wrap .col-remark{width:120px;min-width:100px}.page-table-wrap .col-actions{width:160px;min-width:140px}.row-number-cell{text-align:center;color:#606266;width:56px}.data-table th.row-number-cell{background:#f7f8fa}.data-table{border-collapse:collapse;background:#fff;width:100%}.data-table th,.data-table td{text-align:center;vertical-align:middle;border-bottom:1px solid #ebeef5;padding:8px 10px;font-size:clamp(11px,.82rem,14px);line-height:1.4}.data-table .selection-cell{text-align:center;width:40px}.data-table input[type=checkbox]{width:16px;height:16px}.table-input,.table-datetime-input{border:1px solid #c9d1db;border-radius:4px;width:100%;min-width:88px;max-width:170px;height:30px;padding:4px 8px;font-size:.86rem}.table-datetime-input{min-width:158px}.inline-arrival-cell{gap:6px;min-width:140px;display:grid}.inline-arrival-cell label{color:#475160;gap:4px;font-size:.82rem;display:grid}.purchase-receipts-table{background:#fff;border:1px solid #e5e9f0;border-radius:4px;min-height:200px;max-height:calc(100vh - 260px);overflow:auto}.purchase-receipts-table .table-wrap{background:0 0;border:none;border-radius:0;overflow:visible}.purchase-receipts-table .data-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%}.purchase-receipts-table .data-table th{z-index:3;background:#f5f7fa;position:sticky;top:0;box-shadow:inset 0 -1px #dfe3eb}.purchase-receipts-table .data-table th,.purchase-receipts-table .data-table td{padding:8px 6px}.purchase-receipts-table .inline-arrival-cell{min-width:0}.purchase-receipts-table .data-table th:last-child,.purchase-receipts-table .data-table td:last-child{z-index:1;white-space:normal;word-break:break-word;background:#fff;font-size:clamp(11px,.8rem,13px);position:sticky;right:0;box-shadow:-1px 0 #e5e9f0}.purchase-receipts-table .data-table th:last-child{z-index:2;background:#f7f8fa}.purchase-receipts-table .data-table th.quantity-emphasis-column{color:#124f9e;background:#dcecff;border-bottom-color:#b8d6ff}.purchase-receipts-table .data-table th.inbound-emphasis-column{color:#7a4700;background:#fff0ce;border-bottom-color:#f0c36a}.compact-cell-text,.receipt-no-compact,.order-no-compact,.logistics-no-compact,.part-name-compact,.compact-date-text{white-space:normal;word-break:break-word;max-width:none;font-size:clamp(11px,.8rem,13px);line-height:1.4;display:inline}.data-table .copyable-text-value{white-space:normal;word-break:break-word;font-size:clamp(11px,.82rem,14px);overflow:visible}.compact-code-input{width:100%;min-width:140px;max-width:none}.compact-status-select{min-width:96px;max-width:116px}.compact-date-input{width:100%;min-width:150px;max-width:none}.compact-remark-input{min-width:100px;max-width:120px}.compact-arrival-input{min-width:92px;max-width:116px}.purchase-receipts-table .col-order-no-wide{width:180px;min-width:170px}.purchase-receipts-table .col-arrival-time-wide{width:160px;min-width:150px}.purchase-receipts-table .quantity-emphasis-column{width:65px;min-width:55px}.purchase-receipts-table .col-current-stock-narrow{width:80px;min-width:70px}.purchase-receipts-table .inbound-emphasis-column{width:120px;min-width:110px}.purchase-receipts-table .col-image-narrow{width:70px;min-width:60px}.purchase-receipts-table .col-status-narrow{width:96px;min-width:88px}.purchase-receipts-table .col-remark-narrow{width:100px;min-width:90px}.purchase-receipts-table .col-actions-narrow{width:80px;min-width:72px}.purchase-receipts-table .col-part-name-wide{width:auto;min-width:160px}.purchase-receipts-table .col-logistics-no-wide{width:140px;min-width:130px}.purchase-receipts-table .col-receipt-no{width:150px;min-width:140px}.purchase-receipts-table .col-order-time{width:130px;min-width:120px}.compact-number{justify-content:center;min-width:42px;font-weight:700;display:inline-flex}.quantity-badge{color:#1456a8;background:#eaf3ff;border:1px solid #9fc5ff;border-radius:4px;justify-content:center;align-items:center;min-width:46px;min-height:30px;padding:4px 8px;font-size:1.05rem;font-weight:800;line-height:1;display:inline-flex}.receipt-progress{color:#8a4d00;background:#fff5df;border:1px solid #f0bf65;border-radius:4px;gap:2px;max-width:124px;padding:6px 8px;display:grid}.receipt-progress-label{font-size:.78rem;line-height:1}.receipt-progress-value{font-size:1.05rem;font-weight:800;line-height:1.1}.receipt-progress.warning{color:#8a4d00;background:#fff4dd;border-color:#e6a23c}.receipt-progress.success{color:#17612c;background:#edf9f0;border-color:#8ac796}.receipt-progress.danger{color:#b42318;background:#fff0f0;border-color:#f2a1a1}.compact-action-button{background:#fff;border:1px solid #a9b5c4;border-radius:4px;min-width:72px;padding:6px 8px}.data-table th{color:#2c3643;background:#f7f8fa;font-weight:700}.search-highlight{color:inherit;background:#fff2a8;border-radius:2px;padding:0 1px}.empty-cell{color:#6b7685;text-align:center}.table-loading-cell{color:#5f6b7a;background:#fafbfc;font-style:italic}.row-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.row-actions button{background:#fff;border:1px solid #b7c2d1;border-radius:4px;padding:4px 8px;font-size:.8rem}.status-badge{border-radius:4px;align-items:center;padding:3px 8px;font-size:.86rem;line-height:1.2;display:inline-flex}.status-badge.success{color:#17612c;background:#effaf1;border:1px solid #94bf9f}.status-badge.warning{color:#8a4d00;background:#fff4dd;border:1px solid #d59a42}.inline-error,.form-error{color:#17612c;background:#f0fbf3;border:1px solid #b7dfc0;border-radius:4px;margin:0;padding:10px 12px}.inline-status{color:#6b7685;margin:0 0 12px}.inline-image{object-fit:contain;border:1px solid #c9d1db;border-radius:4px;width:44px;height:44px}.image-thumb{background:#fff;border:1px solid #c9d1db;border-radius:4px;width:44px;height:44px;padding:0;overflow:hidden}.image-thumb img{object-fit:contain;width:100%;height:100%}.empty-image{color:#6b7685;border:1px dashed #c9d1db;border-radius:4px;place-items:center;width:44px;height:44px;font-size:.82rem;display:inline-grid}.image-modal{z-index:20;background:#18212bb8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.image-modal img{object-fit:contain;background:#fff;border:1px solid #d5dbe3;max-width:min(92vw,980px);max-height:88vh}.bom-list{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.bom-list-vertical{flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:6px}.bom-list-vertical .bom-item{width:100%;min-width:0}.bom-item{align-items:center;gap:8px;min-width:160px;display:inline-flex}.col-bom-vertical{text-align:left;width:180px;min-width:140px}.bom-editor{gap:10px;display:grid}.section-heading-row,.bom-editor-row,.form-inline-summary{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.section-heading-row{color:#475160;justify-content:space-between;font-size:.92rem}.bom-editor-row{background:#fff;border:1px solid #d5dbe3;padding:10px}.bom-editor-row>.form-field-group{flex:3 1 0;min-width:0}.bom-editor-row>label{flex:none;grid-template-columns:none;align-items:center;gap:8px;display:flex}.bom-editor-row>label input{width:80px;min-width:80px}.form-inline-summary{color:#475160;font-size:.92rem}.login-shell{background:linear-gradient(#ffffffdb,#f2f6fbeb),repeating-linear-gradient(90deg,#1890ff0f 0 1px,#0000 1px 72px),repeating-linear-gradient(0deg,#1890ff0d 0 1px,#0000 1px 72px);place-items:center;min-height:100vh;padding:32px;display:grid}.login-layout{background:#fff;border:1px solid #d9e1ec;border-radius:6px;grid-template-columns:minmax(0,1.08fr) minmax(360px,440px);width:min(100%,980px);min-height:560px;display:grid;overflow:hidden;box-shadow:0 18px 50px #1f293724}.login-intro{background:linear-gradient(135deg,#f8fbff 0%,#eef6ff 58%,#f7fafc 100%);border-right:1px solid #e4eaf2;flex-direction:column;justify-content:space-between;padding:44px;display:flex}.login-brand-row{align-items:center;gap:12px;display:flex}.login-brand-row .brand-mark{color:#fff;background:#1890ff;border-radius:8px;width:38px;height:38px;font-size:.86rem}.login-brand-row h1,.login-heading h2,.login-intro-copy h2{color:#172033;margin:0}.login-brand-row h1{font-size:1.18rem}.login-brand-row p,.login-intro-copy p,.login-heading p,.login-help{color:#637083;margin:0;font-size:.9rem}.login-intro-copy{gap:14px;max-width:520px;display:grid}.login-intro-copy .login-kicker{color:#1890ff;font-weight:700}.login-intro-copy h2{max-width:480px;font-size:2rem;line-height:1.28}.login-feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.login-feature-grid span{color:#344054;text-align:center;background:#ffffffb3;border:1px solid #d7e5f6;border-radius:4px;padding:10px;font-size:.86rem}.login-panel{align-self:center;gap:18px;padding:44px;display:grid}.login-heading{gap:8px;margin-bottom:6px;display:grid}.login-heading p{color:#1890ff;font-weight:700}.login-heading h2{font-size:1.42rem}.login-panel label{color:#344054;flex-direction:column;align-items:stretch;gap:6px;font-weight:600;display:flex}.login-panel input{background:#fbfdff;border-color:#bfc9d8;width:100%;height:38px}.login-panel input:focus{border-color:#1890ff;outline:3px solid #1890ff24}.login-submit{width:100%;height:40px;margin-top:2px;font-size:.94rem;font-weight:700}@media (width<=1024px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.app-shell:not(.sidebar-collapsed) .sidebar{z-index:25;border-right:1px solid #d5dbe3;width:min(260px,86vw);max-height:calc(100vh - 50px);display:flex;position:fixed;inset:50px auto 0 0;overflow:auto;box-shadow:0 16px 48px #00000047}.metric-grid,.form-grid,.filter-panel,.toolbar>label,.toolbar-field,.form-grid label,.login-panel label{grid-template-columns:1fr}.content{padding:12px}.content-section{padding:8px}.topbar{gap:8px;padding:0 10px}.topbar-right{gap:8px}.menu-search{width:120px}.data-table th,.data-table td{padding:6px;font-size:clamp(10px,.78rem,13px)}.purchase-receipts-table .data-table{width:max-content;min-width:100%}.purchase-receipts-table .data-table th,.purchase-receipts-table .data-table td{word-break:normal;overflow-wrap:anywhere;padding:5px 4px}.page-table-wrap .data-table{width:max-content;min-width:100%}.page-table-wrap .data-table th,.page-table-wrap .data-table td{font-size:clamp(10px,.76rem,13px)}.row-actions{gap:4px}.row-actions button{padding:4px 6px;font-size:.78rem}.status-badge{padding:2px 5px;font-size:.78rem}.detail-row{grid-template-columns:1fr;gap:8px}.compact-detail-list{min-width:auto}.compact-detail-list .detail-row{grid-template-columns:1fr}.dialog-mask{align-items:start;padding:58px 10px 14px}.form-dialog{max-height:calc(100vh - 72px)}.form-dialog-body{padding:14px 12px}.tag-list-tool span{display:none}.tag-list-tool{min-width:35px;padding:0}.login-shell{align-items:start;padding:18px}.login-layout{grid-template-columns:1fr;min-height:auto}.login-intro{border-bottom:1px solid #e4eaf2;border-right:0;gap:28px;padding:28px}.login-intro-copy h2{font-size:1.45rem}.login-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-panel{padding:28px}}@media (width>=1280px){.filter-panel,.form-grid{grid-template-columns:repeat(4,minmax(260px,1fr))}}.form-dialog .form-grid{grid-template-columns:repeat(2,minmax(260px,1fr))}@media (width<=760px){.form-dialog .form-grid{grid-template-columns:1fr}}@media (width<=768px){.topbar-right{gap:6px}.user-chip{gap:0;font-size:0}.user-chip .avatar{font-size:.78rem}.content{padding:8px}.toolbar{gap:8px 12px;padding:8px}.toolbar button,.button-row button{min-width:64px;height:30px;padding:4px 8px;font-size:.8rem}.data-table th,.data-table td{padding:5px;font-size:clamp(9px,.74rem,12px)}.purchase-receipts-table .data-table th,.purchase-receipts-table .data-table td{padding:4px 3px}.page-table-wrap .data-table th,.page-table-wrap .data-table td{font-size:clamp(9px,.72rem,12px)}.table-input,.table-datetime-input{min-width:72px;max-width:140px;height:28px;padding:3px 6px;font-size:.8rem}.table-datetime-input{min-width:132px}.metric-grid{grid-template-columns:1fr}.pagination-bar{gap:6px;font-size:.8rem}.pagination-bar select{height:28px}.view-tabs button{min-width:72px;padding:6px 10px;font-size:.8rem}.tag-item{padding:0 10px;font-size:.8rem}.tag-tool{width:30px;height:30px}}.form-field-group{flex-direction:column;gap:4px;display:flex}.group-label{color:#1f2937;font-size:.9rem;font-weight:600}.search-select-control{flex-direction:column;gap:6px;width:100%;display:flex}.search-input-wrap{align-items:center;gap:8px;width:100%;display:flex}.search-input-wrap .search-input{border:1px solid #d9dfe8;border-radius:4px;flex:auto;min-width:0;height:32px;padding:4px 8px;font-size:.88rem}.search-input-wrap .search-input:focus{border-color:#1890ff;outline:none}.search-input-wrap .match-badge{color:#667085;white-space:nowrap;flex-shrink:0;font-size:.8rem}.select-dropdown{background:#fff;border:1px solid #d9dfe8;border-radius:4px;width:100%;height:32px;min-height:32px;padding:4px 8px;font-size:.88rem}.select-dropdown:focus{border-color:#1890ff;outline:none}.search-select{width:100%;position:relative}.search-select-input-wrap{align-items:center;width:100%;display:flex;position:relative}.search-select-input{color:#18212b;background:#fff;border:1px solid #c9d1db;border-radius:4px;width:100%;min-width:0;height:32px;padding:5px 50px 5px 10px;font-size:.88rem}.search-select-input:focus{border-color:#1890ff;outline:none}.search-select-arrow{color:#667085;pointer-events:none;font-size:.7rem;position:absolute;right:26px}.search-select-clear{color:#7b8797;background:#fff;border:1px solid #c7d0dd;border-radius:50%;place-items:center;width:18px;height:18px;padding:0;font-size:.78rem;line-height:1;display:inline-grid;position:absolute;right:6px}.search-select-clear:hover{color:#1685f8;background:#f2f8ff;border-color:#409eff}.search-select-list{z-index:20;background:#fff;border:1px solid #dcdfe6;border-radius:4px;max-height:310px;margin:0;padding:4px 0;list-style:none;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 6px 18px #0000001f}.search-select-option,.search-select-empty{color:#303133;cursor:pointer;padding:8px 12px;font-size:.88rem}.search-select-option:hover,.search-select-option.active{color:#409eff;background:#ecf5ff}.search-select-option.selected{color:#1685f8;background:#f2f8ff}.search-select-empty{color:#909399;cursor:default}:root{--primary-color:#2563eb;--primary-hover:#1d4ed8;--secondary-color:#64748b;--success-color:#16a34a;--warning-color:#d97706;--danger-color:#dc2626;--bg-primary:#f8fafc;--bg-secondary:#f1f5f9;--text-primary:#0f172a;--text-secondary:#475569;--border-color:#e2e8f0}.store-binding-empty{text-align:center;color:#909399;background:#f7f8fa;border:1px dashed #dcdfe6;border-radius:4px;padding:40px 20px;font-size:.95rem}.history-tabs{background:#fff;border:1px solid #e5e9f0;border-bottom:none;border-top-left-radius:4px;border-top-right-radius:4px;gap:4px;margin-bottom:0;padding:8px 12px 0;display:flex}.history-tab{color:#606266;cursor:pointer;background:#f2f3f5;border:1px solid #0000;border-bottom:none;border-top-left-radius:4px;border-top-right-radius:4px;padding:8px 16px;font-size:.9rem;transition:background .2s,color .2s}.history-tab:hover{color:#303133;background:#e4e7ed}.history-tab.active{color:#409eff;background:#fff;border-color:#e5e9f0;font-weight:500}.history-section{border-top-left-radius:0;border-top-right-radius:0;margin-top:0}.copyable-text{cursor:pointer;align-items:center;max-width:100%;display:inline-flex;position:relative}.copyable-text-value{text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;max-width:100%;display:inline-block;overflow:hidden}.copyable-text-tooltip{z-index:100;color:#fff;white-space:normal;word-break:break-all;background:#1f2937;border-radius:4px;align-items:center;gap:8px;max-width:360px;margin-top:4px;padding:6px 10px;font-size:.85rem;line-height:1.4;display:inline-flex;position:absolute;top:100%;left:0;box-shadow:0 4px 12px #00000026}.copyable-text-tooltip:before{content:"";background:#1f2937;width:8px;height:8px;position:absolute;top:-4px;left:12px;transform:rotate(45deg)}.copyable-text-tooltip-content{flex:auto;min-width:0}.copyable-text-copy-button{color:#fff;cursor:pointer;background:0 0;border:1px solid #ffffff4d;border-radius:3px;flex:none;padding:2px 8px;font-size:.78rem;transition:background .2s}.copyable-text-copy-button:hover{background:#ffffff26}:root{color:#1c2b3b;background:#f4f7fb;font-family:Microsoft YaHei,Arial,sans-serif}*{box-sizing:border-box}body{background:#f4f7fb;min-width:1160px}button,input{font:inherit}button{cursor:pointer;border:0}.simple-app{grid-template-columns:250px minmax(0,1fr);min-height:100vh;display:grid}.simple-app.is-collapsed{grid-template-columns:70px minmax(0,1fr)}.simple-sidebar{color:#c5d4e4;background:#10243e;padding:16px 12px;overflow:hidden}.simple-brand{color:#fff;white-space:nowrap;align-items:center;gap:9px;height:45px;font-size:17px;display:flex}.simple-brand button{color:#94abc1;background:0 0;font-size:19px}.simple-brand b{color:#10243e;background:#45d1b6;border-radius:9px;place-items:center;width:28px;height:28px;display:grid}.admin-card{white-space:nowrap;background:#183553;border-radius:11px;align-items:center;gap:10px;margin:16px 5px;padding:11px;display:flex}.admin-card>span,.top-avatar{color:#4b2c04;background:#f5b869;border-radius:50%;place-items:center;width:30px;height:30px;font-weight:800;display:grid}.admin-card b,.admin-card small{display:block}.admin-card small{color:#8eaac4;margin-top:2px;font-size:11px}.menu-group{margin:4px 0}.menu-title,.menu-page{color:#bed0e1;text-align:left;background:0 0;border-radius:8px;width:100%;display:block}.menu-title{align-items:center;gap:9px;padding:11px 10px;font-weight:700;display:flex}.menu-title:hover{color:#fff;background:#193854}.menu-title i{color:#61d5c0;text-align:center;width:16px;font-style:normal}.menu-title em{color:#7894ae;margin-left:auto;font-style:normal}.menu-pages{padding:2px 0 5px 34px}.menu-page{padding:8px 9px;font-size:14px}.menu-page:hover,.menu-page.selected{color:#fff;background:#1c5a71}.is-collapsed .simple-brand strong,.is-collapsed .admin-card div,.is-collapsed .menu-title span,.is-collapsed .menu-title em,.is-collapsed .menu-pages{display:none}.is-collapsed .admin-card{margin-inline:4px;padding:8px}.is-collapsed .menu-title{justify-content:center}.simple-main{min-width:0}.simple-topbar{background:#fff;border-bottom:1px solid #e4ebf2;justify-content:space-between;align-items:center;height:88px;padding:16px 36px;display:flex}.simple-topbar p,.welcome>div>p,.flow-card p{color:#73869a;letter-spacing:.08em;margin:0 0 5px;font-size:12px;font-weight:700}.simple-topbar h1{margin:0;font-size:22px}.simple-topbar>div:last-child{align-items:center;gap:17px;display:flex}.status-note{color:#397d70;font-size:13px}.dashboard-area,.content-area{max-width:1600px;margin:auto;padding:30px 36px 50px}.welcome,.content-intro{justify-content:space-between;align-items:center;gap:22px;display:flex}.welcome h2,.content-intro h2{margin:0 0 8px;font-size:27px}.welcome span,.content-intro p{color:#687b8d}.primary{color:#fff;background:#137b73;border-radius:8px;padding:11px 16px;box-shadow:0 6px 14px #137b7329}.primary:hover{background:#0c655f}.task-grid{grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0;display:grid}.task-grid article,.flow-card,.production-focus,.shortcut-card,.list-card,.demo-dialog{background:#fff;border:1px solid #e3ebf3;border-radius:14px;box-shadow:0 7px 20px #1834500a}.task-grid article{flex-direction:column;align-items:flex-start;min-height:184px;padding:20px;display:flex}.task-grid p{color:#63768a;margin:0 0 10px;font-size:14px}.task-grid strong{margin-bottom:12px;font-size:36px}.task-grid span{color:#8292a2;min-height:38px;font-size:13px;line-height:1.5}.task-grid button,.shortcut-card button,.filter-bar button{color:#137b73;background:#edf7f5;border-radius:7px;margin-top:auto;padding:8px 10px;font-weight:700}.flow-card{justify-content:space-between;align-items:center;gap:20px;padding:23px 25px;display:flex}.flow-card h3{margin:0;font-size:18px}.flow-card ol{margin:0;padding:0;list-style:none;display:flex}.flow-card li{color:#496174;border-left:1px solid #d9e5ed;padding:0 13px;font-size:13px}.flow-card li:before{content:counter(list-item);color:#137b73;background:#dff5f0;border-radius:50%;place-items:center;width:20px;height:20px;margin-right:6px;font-weight:800;display:inline-grid}.dashboard-bottom{grid-template-columns:2fr 1fr;gap:18px;margin-top:18px;display:grid}.production-focus,.shortcut-card{padding:23px}.production-focus h3,.shortcut-card h3{margin:0 0 8px}.production-focus p{color:#63768a;font-size:14px}.progress{background:#e6edf3;border-radius:20px;height:10px;margin:18px 0;overflow:hidden}.progress span{background:linear-gradient(90deg,#43cbb4,#137b73);border-radius:20px;width:20%;height:100%;display:block}.production-focus>div:last-child{color:#668095;align-items:center;gap:15px;font-size:13px;display:flex}.production-focus>div:last-child span{flex:1}.shortcut-card{flex-direction:column;align-items:flex-start;gap:9px;display:flex}.shortcut-card h3{margin-bottom:3px}.shortcut-card button{margin-top:0}.content-intro{margin-bottom:22px}.content-intro p{margin:0}.filter-bar{justify-content:space-between;align-items:end;margin-bottom:14px;display:flex}.filter-bar label{color:#63768a;font-size:13px;font-weight:700}.filter-bar input{border:1px solid #cfdae5;border-radius:8px;outline-color:#137b73;width:300px;margin-top:7px;padding:10px 12px;display:block}.list-card{overflow:auto}table{border-collapse:collapse;width:100%;min-width:760px}th,td{text-align:left;border-bottom:1px solid #e8eef4;padding:15px 16px}th{color:#6a7c90;background:#f8fafc;font-size:12px}td{color:#344b60;font-size:14px}tbody tr:hover{background:#f6fbfb}.empty-state{text-align:center;color:#8495a5;height:150px}.table-action{color:#137b73;background:#e6f5f2;border-radius:7px;padding:7px 9px;font-weight:700}.demo-dialog{border-color:#9edbd0;justify-content:space-between;align-items:center;margin:-6px 0 18px;padding:17px 20px;display:flex}.demo-dialog p{color:#6f8293;margin:5px 0 0;font-size:13px}.demo-dialog>div:last-child{gap:8px;display:flex}.demo-dialog>div:last-child>button:first-child{color:#566b7e;background:#edf1f5;border-radius:8px;padding:10px 14px}@media (width<=1250px){.task-grid{grid-template-columns:repeat(2,1fr)}.flow-card{flex-direction:column;align-items:flex-start}}.simple-sidebar{flex-direction:column;height:100vh;display:flex;position:sticky;top:0;overflow:hidden}.simple-sidebar nav[aria-label=系统主菜单]{flex:1;min-height:0;padding-bottom:8px;overflow-y:auto}.sidebar-account{border-top:1px solid #1d3a57;margin-top:auto;padding:10px 5px 4px}.admin-card{margin:0 0 8px}.sidebar-logout{color:#d7e6f4;text-align:center;background:#243f5c;border-radius:8px;width:100%;padding:9px 10px;font-size:13px;font-weight:700;display:block}.sidebar-logout:hover{color:#fff;background:#2d4f70}.is-collapsed .sidebar-account{padding-inline:0}.is-collapsed .admin-card{justify-content:center;margin:0 0 8px;padding:8px}.is-collapsed .admin-card div{display:none}.is-collapsed .sidebar-logout{letter-spacing:0;width:100%;padding:8px 0;font-size:12px}.demo-dialog{z-index:10;width:min(680px,100vw - 80px);margin:0;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 20px 60px #0a1f364d}.order-dialog-backdrop{z-index:30;background:#08192c7a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.order-dialog{background:#fff;border-radius:16px;width:min(860px,100%);max-height:calc(100vh - 48px);overflow:auto;box-shadow:0 24px 70px #08192c52}.order-dialog header{border-bottom:1px solid #e6edf3;justify-content:space-between;align-items:flex-start;padding:24px 28px 20px;display:flex}.order-dialog header p{color:#4f837d;margin:0 0 5px;font-size:12px;font-weight:700}.order-dialog h2{margin:0;font-size:22px}.order-dialog header span{color:#6e8194;margin-top:10px;font-size:13px;line-height:1.55;display:block}.order-dialog header button{color:#617487;background:#f2f5f8;border-radius:8px;width:32px;height:32px;font-size:22px;line-height:1}.auto-info{color:#537085;background:#f5faf9;border-radius:9px;gap:28px;margin:20px 28px;padding:13px 15px;font-size:13px;display:flex}.auto-info b{color:#24445c;margin-left:5px}.order-fields{grid-template-columns:1fr 1fr;gap:16px 20px;padding:24px 28px 0;display:grid}.order-fields label,.remark{color:#52687c;flex-wrap:wrap;align-items:center;gap:7px 4px;font-size:13px;font-weight:700;display:flex}.order-fields label>i,.remark>i,.order-fields i,.items-head i,.single-input>i,.dialog-section-head i,.order-dialog label>i,.order-dialog h3>i{color:#d45e5e;font-style:normal;font-weight:800;line-height:1}.order-fields label>input,.order-fields label>select,.order-fields label>textarea,.order-fields label>small,.remark>textarea,.remark>small{flex:100%;width:100%}.order-fields label>small,.remark>small{font-weight:400}.order-fields select,.order-fields input,.item-row select,.item-row input,.remark textarea{color:#263f55;background:#fff;border:1px solid #cfdce7;border-radius:8px;outline-color:#137b73;width:100%;padding:10px 11px}.items-head{justify-content:space-between;align-items:center;margin:22px 28px 10px;display:flex}.items-head h3{margin:0;font-size:16px}.items-head p{color:#718498;margin:6px 0 0;font-size:12px}.items-head button{color:#137b73;background:#edf7f5;border-radius:7px;padding:8px 10px;font-weight:700}.item-table{margin:0 28px 18px}.item-header,.item-row{grid-template-columns:minmax(190px,1.7fr) minmax(120px,.8fr) 74px 42px;align-items:center;gap:10px;display:grid}.item-header{color:#8191a0;padding:0 0 7px;font-size:12px;font-weight:700}.item-row{margin:9px 0}.item-row span{color:#607589;padding:10px 0;font-size:14px}.item-row button{color:#bc5e5e;background:#f9eeee;border-radius:8px;height:38px;font-size:12px;font-weight:700}.item-row button:disabled{visibility:hidden}.remark{margin:0 28px}.remark textarea{resize:vertical;min-height:78px}.form-error{color:#b54141;margin:12px 28px 0;font-size:13px}.confirm-summary{background:#f7fbfa;border:1px solid #e6edf3;border-radius:10px;gap:8px;margin:24px 28px 8px;padding:16px 18px;display:grid}.confirm-summary b{color:#24445c;font-size:16px;line-height:1.4}.confirm-summary span{color:#617487;word-break:break-word;font-size:13px;line-height:1.55;display:block}.order-dialog footer{border-top:1px solid #e6edf3;justify-content:flex-end;gap:10px;margin-top:22px;padding:17px 28px;display:flex}.order-dialog footer button{color:#556c80;background:#edf1f5;border-radius:8px;padding:10px 16px;font-weight:700}@media (width<=720px){.order-dialog-backdrop{padding:10px}.order-dialog header{padding-left:18px;padding-right:18px}.auto-info{flex-direction:column;gap:8px;margin-left:18px;margin-right:18px}.order-fields{grid-template-columns:1fr;padding-inline:18px}.items-head,.item-table{margin-inline:18px}.item-header{display:none}.item-row{grid-template-columns:1fr 1fr 55px 38px}.item-row select{grid-column:span 2}.remark{margin-inline:18px}.order-dialog footer{padding-inline:18px}}.form-error{background:#fff4f4;border:1px solid #f1c2c2;border-radius:8px;padding:10px 12px}.order-dialog footer .primary{color:#fff;background:#137b73}.operation-summary{color:#597083;background:#f7fbfa;border:1px solid #dceae8;border-radius:9px;grid-template-columns:1fr 1.5fr .8fr;gap:12px;margin:20px 28px;padding:14px 15px;font-size:13px;display:grid}.operation-summary span{gap:5px;display:grid}.operation-summary b{color:#24445c;font-size:14px}.single-input{color:#52687c;flex-wrap:wrap;align-items:center;gap:7px 4px;max-width:340px;margin:0 28px 18px;font-size:13px;font-weight:700;display:flex}.single-input>i,.single-input i{color:#d45e5e;font-style:normal;font-weight:800;line-height:1}.single-input>input,.single-input>small{flex:100%;width:100%}.single-input small{color:#788b9c;font-weight:400}@media (width<=720px){.operation-summary{grid-template-columns:1fr;margin-inline:18px}.single-input{max-width:none;margin-inline:18px}}.production-order-list{gap:14px;display:grid}.production-order-card{background:#fff;border:1px solid #e0e9f0;border-radius:13px;padding:20px 22px;box-shadow:0 7px 20px #1834500a}.production-order-head{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.production-order-head p{color:#4e6b82;align-items:center;gap:10px;margin:0 0 7px;font-size:13px;font-weight:800;display:flex}.production-order-head p span{color:#137b73;background:#edf7f5;border-radius:12px;padding:3px 8px;font-size:12px}.production-order-head h3{color:#263f55;margin:0 0 5px;font-size:18px}.production-order-head small{color:#778a9b}.production-order-progress{text-align:right}.production-order-progress b{color:#137b73;font-size:24px;display:block}.production-order-progress span{color:#718498;font-size:12px}.production-order-info{border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5;grid-template-columns:1.1fr 1.4fr 1.1fr 1fr;gap:14px;margin:18px 0;padding:14px 0;display:grid}.production-order-info span{gap:6px;display:grid}.production-order-info small,.production-config small{color:#7c8e9f;font-size:12px}.production-order-info b{color:#344b60;font-size:14px}.production-order-footer{color:#62778a;align-items:center;gap:16px;font-size:13px;display:flex}.production-order-footer b{color:#344b60}.material-ready,.material-warn{white-space:nowrap;border-radius:7px;max-width:none;padding:5px 8px;font-weight:700;line-height:1.3;display:inline-block}.material-ready{color:#297b60;background:#edf8f4}.material-warn{color:#b56c22;background:#fff5e8}.mini-progress{background:#e7edf2;border-radius:10px;flex:1;min-width:120px;height:8px;overflow:hidden}.mini-progress i{background:#27aa96;border-radius:10px;height:100%;display:block}.production-source-summary{grid-template-columns:.8fr 1.5fr .8fr .8fr}.production-config{grid-template-columns:.8fr 1.4fr 1.4fr;gap:12px;margin:0 28px 20px;display:grid}.production-config span{background:#fbfcfd;border:1px solid #e1e9ef;border-radius:8px;gap:5px;padding:11px 13px;display:grid}.production-config b{color:#3b556b;font-size:13px}.production-dialog{width:min(900px,100%)}@media (width<=900px){.production-order-info{grid-template-columns:repeat(2,1fr)}.production-order-footer{flex-wrap:wrap;align-items:flex-start}.mini-progress{flex-basis:100%}}@media (width<=720px){.production-order-card{padding:17px}.production-order-head{gap:10px}.production-order-info{grid-template-columns:1fr}.production-config{grid-template-columns:1fr;margin-inline:18px}.production-source-summary{grid-template-columns:1fr}}.production-dialog header,.production-dialog footer{z-index:2;background:#fff;position:sticky}.production-dialog header{top:0}.production-dialog footer{bottom:0}.dialog-section-head{justify-content:space-between;align-items:center;gap:14px;margin:22px 28px 10px;display:flex}.dialog-section-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.dialog-section-head h3{margin:0;font-size:16px}.dialog-section-head .secondary{padding:8px 10px;font-size:13px}.dialog-section-head+.item-table .item-row{grid-template-columns:minmax(190px,1.7fr) minmax(120px,.8fr) 74px}.item-table--bom{margin-bottom:8px}.item-row--bom>label{color:#62778a;flex-direction:column;gap:6px;font-size:12px;font-weight:700;display:flex}.item-row--bom>label>input,.item-row--bom>label>select{color:#263f55;background:#fff;border:1px solid #cfdce7;border-radius:8px;width:100%;padding:9px 10px}.order-fields label.is-span-2{grid-column:1/-1}.order-fields label>small,.item-row--bom label>small{color:#788b9c;font-size:12px;font-weight:400;line-height:1.4}.item-row--bom{grid-template-columns:minmax(260px,2fr) minmax(88px,.5fr) minmax(110px,.7fr) minmax(110px,.7fr) minmax(120px,.8fr) 64px;align-items:end}.order-dialog:has(.item-table--bom){width:min(1180px,100%)}@media (width<=900px){.item-row--bom{grid-template-columns:1fr 1fr 55px}.item-row--bom>label:first-child{grid-column:1/-2}}@media (width<=720px){.dialog-section-head{margin-inline:18px}.dialog-section-head+.item-table .item-row{grid-template-columns:1fr 1fr 55px}.dialog-section-head+.item-table .item-row select{grid-column:auto}}.item-row-sales{background:#fbfcfd;border:1px solid #e0eaf0;border-radius:10px;grid-template-columns:minmax(300px,1.8fr) minmax(135px,.7fr) minmax(150px,.85fr) 42px;gap:12px;padding:14px}.item-row-sales>label{color:#62778a;flex-wrap:wrap;align-items:center;gap:7px 4px;font-size:12px;font-weight:700;display:flex}.item-row-sales>label>i{color:#d45e5e;font-style:normal;font-weight:800;line-height:1}.item-row-sales>label>input,.item-row-sales>label>select,.item-row-sales>label>textarea,.item-row-sales>label>small,.item-row-sales>label>.product-search-select{flex:100%;width:100%;min-width:0}.product-search-select{min-width:0;position:relative}.product-search-select input{color:#263f55;background:#fff;border:1px solid #cfdce7;border-radius:8px;outline-color:#137b73;width:100%;padding:10px 11px}.product-search-menu{z-index:4;background:#fff;border:1px solid #b8d6d1;border-radius:9px;width:max(100%,440px);max-height:230px;position:absolute;top:calc(100% + 4px);left:0;overflow:auto;box-shadow:0 12px 28px #122b4338}.product-search-menu button{color:#304b61;text-align:left;background:#fff;grid-template-columns:1.35fr 1fr auto;place-items:center start;gap:9px;width:100%;padding:10px 12px;display:grid}.product-search-menu button:hover{background:#eef8f6}.product-search-menu b{font-size:14px}.product-search-menu span,.product-search-menu small{color:#698095;font-size:12px}.product-search-menu small{white-space:nowrap;color:#137b73}.product-search-menu p{color:#7b8d9d;margin:0;padding:14px;font-size:13px}.product-auto-details{color:#718498;border-top:1px dashed #d9e4eb;grid-column:1/-1;gap:24px;padding-top:11px;font-size:12px;display:flex}.product-auto-details b{color:#36536a;margin-left:6px;font-size:13px}.product-auto-details span:last-child b{color:#137b73}.sales-amount-summary{color:#62778a;justify-content:flex-end;align-items:center;gap:20px;margin:-2px 28px 18px;font-size:13px;display:flex}.sales-amount-summary b{color:#137b73;font-size:16px}@media (width<=720px){.item-row-sales{grid-template-columns:1fr 1fr 38px}.item-row-sales .product-field{grid-column:span 2}.item-row-sales input{min-width:0}.product-search-menu{width:calc(200% + 10px)}.product-search-menu button{grid-template-columns:1fr}.product-search-menu small{display:none}.product-auto-details{flex-direction:column;grid-column:span 3;gap:9px}.sales-amount-summary{margin-inline:18px}}.material-demand-workspace,.stock-workspace{gap:14px;display:grid}.demand-flow-note{color:#587184;background:#eef7f5;border-radius:10px;align-items:center;gap:10px;padding:13px 16px;font-size:13px;display:flex}.demand-flow-note b{color:#137b73}.material-transit{color:#137b73;background:#eef7f5;border-radius:7px;padding:5px 8px;font-weight:700}.purchase-receipt-section{gap:12px;margin-top:8px;display:grid}.stock-category-bar{flex-wrap:wrap;gap:8px;padding:2px 0;display:flex}.stock-category-bar button{color:#607589;background:#fff;border:1px solid #d7e3eb;border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.stock-category-bar button.selected{color:#fff;background:#137b73;border-color:#137b73}.material-issue-workspace{gap:14px;display:grid}.material-issue-dialog{width:min(980px,100%)}.issue-summary{grid-template-columns:1.5fr .75fr 1fr}.issue-total{color:#137b73;background:#edf7f5;border-radius:8px;padding:7px 10px;font-size:13px}.issue-lines{border:1px solid #e1e9ef;border-radius:10px;margin:0 28px 18px;overflow:hidden}.issue-line{color:#425b70;border-bottom:1px solid #e8eef4;grid-template-columns:minmax(175px,1.5fr) repeat(4,minmax(86px,.7fr)) minmax(132px,.9fr);align-items:center;gap:10px;padding:13px 15px;font-size:13px;display:grid}.issue-line:last-child{border-bottom:0}.issue-line-head{color:#6a7c90;background:#f8fafc;font-size:12px;font-weight:700}.issue-line>span:first-child,.issue-line label{gap:4px;display:grid}.issue-line small{color:#7a8d9e;font-size:12px}.issue-line label input{border:1px solid #cfdce7;border-radius:7px;outline-color:#137b73;width:100%;padding:8px 9px}.issue-limit{color:#b56c22;font-weight:800}@media (width<=800px){.issue-summary{grid-template-columns:1fr}.issue-lines{margin-inline:18px;overflow:auto}.issue-line{min-width:820px}.issue-line-head{display:grid}.issue-total{display:none}}.shortage-dialog{width:min(960px,100%)}.shortage-table{border:1px solid #e1e9ef;border-radius:10px;margin:0 28px 18px;overflow:hidden}.shortage-row{color:#425b70;border-bottom:1px solid #e8eef4;grid-template-columns:70px minmax(210px,1.6fr) repeat(4,1fr);align-items:center;gap:10px;padding:14px 15px;font-size:13px;display:grid}.shortage-row:last-child{border-bottom:0}.shortage-row:not(.shortage-header){cursor:pointer}.shortage-row:not(.shortage-header):hover{background:#f6fbfb}.shortage-header{color:#6a7c90;background:#f8fafc;font-size:12px;font-weight:700}.shortage-row input{accent-color:#137b73;width:16px;height:16px}.shortage-row span:nth-child(2){gap:4px;display:grid}.shortage-row small{color:#7b8d9e}.shortage-gap{color:#c06a24;font-weight:800}.shortage-hint{color:#567085;background:#f4f8fb;border-radius:8px;margin:0 28px 18px;padding:11px 13px;font-size:13px}.shortage-dialog footer .primary:disabled{cursor:not-allowed;opacity:.5}@media (width<=720px){.shortage-table{margin-inline:18px;overflow:auto}.shortage-row{min-width:700px}.shortage-hint{margin-inline:18px}}.purchase-dialog{width:min(900px,100%)}.purchase-preview{grid-template-columns:1.4fr .8fr 1.2fr}.purchase-order-list{gap:14px;display:grid}.purchase-order-card{background:#fff;border:1px solid #e0e9f0;border-radius:13px;padding:20px 22px;box-shadow:0 7px 20px #1834500a}.purchase-order-head{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.purchase-order-head p,.purchase-inbound-card>div:first-child p{color:#537085;align-items:center;gap:9px;margin:0 0 6px;font-size:13px;font-weight:800;display:flex}.purchase-order-head h3,.purchase-inbound-card h3{color:#28445c;margin:0 0 5px;font-size:18px}.purchase-order-head small,.purchase-inbound-card small,.purchase-order-info small,.purchase-inbound-info small{color:#778a9b;font-size:12px}.purchase-order-head>div:last-child{text-align:right;gap:5px;display:grid}.purchase-order-head>div:last-child b{color:#137b73;font-size:20px}.purchase-status,.purchase-inbound-card>div:first-child p span{color:#657b8d;background:#f3f6f8;border-radius:12px;padding:3px 8px;font-size:12px}.status-1{color:#b56c22;background:#fff5e8}.status-2,.status-3{color:#137b73;background:#edf7f5}.status-4{color:#297b60;background:#edf8f4}.purchase-order-info{border-top:1px solid #edf1f5;grid-template-columns:repeat(4,1fr);gap:14px;margin:17px 0 13px;padding:13px 0;display:grid}.purchase-order-info span,.purchase-inbound-info span{gap:6px;display:grid}.purchase-order-info b,.purchase-inbound-info b{color:#344b60;font-size:14px}.purchase-flow{background:#f4f7fa;border-radius:8px;margin-bottom:14px;display:flex;overflow:hidden}.purchase-flow span{color:#8292a2;text-align:center;flex:1;padding:8px 12px;font-size:12px;position:relative}.purchase-flow span:not(:last-child):after{z-index:1;content:"";background:#f4f7fa;border-top:1px solid #dce5ec;border-right:1px solid #dce5ec;width:11px;height:11px;position:absolute;top:7px;right:-6px;transform:rotate(45deg)}.purchase-flow .is-active{color:#137b73;background:#eaf7f4;font-weight:700}.purchase-flow .is-active:not(:last-child):after{background:#eaf7f4}.purchase-order-footer,.purchase-inbound-footer{color:#647a8d;justify-content:space-between;align-items:center;gap:14px;font-size:13px;display:flex}.purchase-order-footer>div{gap:8px;display:flex}.purchase-inbound-workspace{gap:15px;display:grid}.purchase-inbound-list{gap:12px;display:grid}.purchase-inbound-card{background:#fff;border:1px solid #dceae8;border-radius:13px;padding:20px 22px;box-shadow:0 7px 20px #1834500a}.purchase-inbound-info{border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5;grid-template-columns:repeat(4,1fr);gap:14px;margin:16px 0;padding:13px 0;display:grid}.purchase-inbound-footer .primary{padding:9px 14px}@media (width<=900px){.purchase-order-info,.purchase-inbound-info{grid-template-columns:repeat(2,1fr)}.purchase-preview{grid-template-columns:1fr}}@media (width<=720px){.purchase-order-card,.purchase-inbound-card{padding:17px}.purchase-order-head{gap:10px}.purchase-order-info,.purchase-inbound-info{grid-template-columns:1fr}.purchase-flow{grid-template-columns:1fr 1fr;display:grid}.purchase-flow span:not(:last-child):after{display:none}.purchase-order-footer,.purchase-inbound-footer{flex-direction:column;align-items:flex-start}.purchase-order-footer>div,.purchase-order-footer .table-action,.purchase-order-footer .primary,.purchase-inbound-footer .primary{width:100%}}.finished-inbound-workspace{gap:16px;display:grid}.inbound-flow-note{color:#587184;background:#eef7f5;border-radius:10px;align-items:center;gap:10px;padding:13px 16px;font-size:13px;display:flex}.inbound-flow-note b{color:#137b73}.inbound-section-head{justify-content:space-between;align-items:flex-end;gap:15px;display:flex}.inbound-section-head h3{color:#28445c;margin:0;font-size:18px}.inbound-section-head p{color:#718498;margin:5px 0 0;font-size:13px}.inbound-section-head>b{color:#137b73;background:#edf7f5;border-radius:8px;padding:6px 9px;font-size:13px}.finished-inbound-list{gap:12px;margin-top:12px;display:grid}.finished-inbound-card{background:#fff;border:1px solid #dceae8;border-radius:13px;padding:20px 22px;box-shadow:0 7px 20px #1834500a}.finished-inbound-head{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.finished-inbound-head p{color:#537085;align-items:center;gap:9px;margin:0 0 6px;font-size:13px;font-weight:800;display:flex}.finished-inbound-head p span,.inbound-status{color:#b56c22;background:#fff3df;border-radius:12px;padding:3px 8px;font-size:12px}.finished-inbound-head h3{color:#28445c;margin:0 0 5px;font-size:18px}.finished-inbound-head small,.finished-inbound-info small{color:#778a9b;font-size:12px}.finished-inbound-head>div:last-child{text-align:right;gap:5px;display:grid}.finished-inbound-head>div:last-child b{color:#137b73;font-size:21px}.finished-inbound-info{border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5;grid-template-columns:1fr 1fr 1fr 1.4fr;gap:14px;margin:17px 0;padding:13px 0;display:grid}.finished-inbound-info span{gap:6px;display:grid}.finished-inbound-info b{color:#344b60;font-size:14px}.finished-inbound-footer{color:#647a8d;justify-content:space-between;align-items:center;gap:14px;font-size:13px;display:flex}.finished-inbound-footer .primary{padding:9px 14px}.inbound-empty-state{color:#8495a5;background:#fff;border:1px dashed #cbd9e3;border-radius:12px;place-items:center;min-height:150px;font-size:14px;display:grid}.inbound-record-section{gap:12px;margin-top:8px;display:grid}.inbound-status{color:#297b60;background:#edf8f4;font-weight:700}@media (width<=900px){.finished-inbound-info{grid-template-columns:repeat(2,1fr)}}@media (width<=720px){.inbound-flow-note{align-items:flex-start}.finished-inbound-card{padding:17px}.finished-inbound-head{gap:10px}.finished-inbound-info{grid-template-columns:1fr}.finished-inbound-footer{flex-direction:column;align-items:flex-start}.finished-inbound-footer .primary{width:100%}}.process-workspace{gap:14px;display:grid}.process-order-picker{background:#fff;border:1px solid #e0e9f0;border-radius:12px;justify-content:space-between;align-items:end;gap:18px;padding:15px 18px;display:flex}.process-order-picker label{color:#52687c;gap:6px;font-size:13px;font-weight:700;display:grid}.process-order-picker select{color:#263f55;background:#fff;border:1px solid #cfdce7;border-radius:8px;outline-color:#137b73;min-width:360px;padding:9px 11px}.process-order-picker>span{color:#74889a;font-size:13px}.process-order-summary{background:#f7fbfa;border:1px solid #dceae8;border-radius:12px;grid-template-columns:1.6fr 1.2fr .8fr .7fr;gap:14px;padding:16px 18px;display:grid}.process-order-summary div{gap:5px;display:grid}.process-order-summary small,.process-step-info small,.process-step-title small{color:#778a9b;font-size:12px}.process-order-summary b{color:#29455d}.process-order-summary span{color:#61788b;font-size:13px}.process-flow-note{color:#587184;background:#eef7f5;border-radius:10px;align-items:center;gap:9px;padding:12px 16px;font-size:13px;display:flex}.process-flow-note b{color:#137b73}.process-flow-note span{align-items:center;gap:9px;display:flex}.process-step-list{gap:12px;display:grid}.process-step-card{background:#fff;border:1px solid #e0e9f0;border-radius:12px;padding:18px 20px;box-shadow:0 7px 20px #1834500a}.process-step-title{justify-content:space-between;align-items:start;gap:18px;display:flex}.process-step-title p{color:#537085;align-items:center;gap:9px;margin:0 0 5px;font-size:13px;font-weight:800;display:flex}.process-step-title p span{color:#657b8d;background:#f3f6f8;border-radius:12px;padding:3px 8px;font-size:12px}.process-step-title p .process-done{color:#297b60;background:#edf8f4}.process-step-title h3{color:#28445c;margin:0;font-size:17px}.process-step-title>div:last-child{text-align:right;gap:4px;display:grid}.process-step-title>div:last-child b{color:#137b73;font-size:16px}.process-step-info{border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5;grid-template-columns:repeat(4,1fr);gap:14px;margin:16px 0;padding:13px 0;display:grid}.process-step-info span{gap:6px;display:grid}.process-step-info b{color:#344b60;font-size:14px}.process-step-footer{color:#63798c;justify-content:space-between;align-items:center;gap:15px;font-size:13px;display:flex}.process-step-footer>div{gap:8px;display:flex}.compact{border-radius:7px;padding:7px 10px;font-size:13px}.table-action:disabled{cursor:not-allowed;opacity:.5}.process-dialog{width:min(800px,100%)}.process-dialog footer{z-index:2;background:#fff;position:sticky;bottom:0}.settlement-hint{color:#567085;background:#f4f8fb;border-radius:8px;margin:0 28px;padding:11px 13px;font-size:13px}.report-preview{color:#597083;background:#f7fbfa;border:1px solid #dceae8;border-radius:9px;gap:36px;margin:0 28px 18px;padding:13px 15px;font-size:13px;display:flex}.report-preview span{gap:5px;display:grid}.report-preview b{color:#24445c;font-size:15px}@media (width<=900px){.process-order-summary,.process-step-info{grid-template-columns:repeat(2,1fr)}.process-order-picker,.process-step-footer{flex-direction:column;align-items:flex-start}.process-step-footer>div{width:100%}}@media (width<=720px){.process-order-picker select{width:100%;min-width:0}.process-order-summary,.process-step-info{grid-template-columns:1fr}.process-flow-note{flex-wrap:wrap;align-items:flex-start}.process-step-card{padding:16px}.report-preview{flex-direction:column;gap:12px;margin-inline:18px}.settlement-hint{margin-inline:18px}}.production-plan-workspace{gap:14px;display:grid}.production-plan-card{background:#fff;border:1px solid #e0e9f0;border-radius:13px;padding:20px 22px;box-shadow:0 7px 20px #1834500a}.production-plan-card>div:first-child p{color:#537085;align-items:center;gap:9px;margin:0 0 6px;font-size:13px;font-weight:800;display:flex}.production-plan-card>div:first-child p span{color:#b56c22;background:#fff5e8;border-radius:12px;padding:3px 8px;font-size:12px}.production-plan-card>div:first-child p .plan-done{color:#297b60;background:#edf8f4}.production-plan-card h3{color:#28445c;margin:0 0 5px;font-size:18px}.production-plan-card small,.list-card td small{color:#778a9b;margin-top:4px;font-size:12px;display:block}.production-plan-info,.reconciliation-summary{border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5;grid-template-columns:repeat(4,1fr);gap:14px;margin:16px 0;padding:13px 0;display:grid}.production-plan-info span,.reconciliation-summary span{gap:6px;display:grid}.production-plan-info small,.reconciliation-summary small{color:#7c8e9f;font-size:12px}.production-plan-info b,.reconciliation-summary b{color:#344b60;font-size:14px}.production-plan-footer{color:#647a8d;justify-content:space-between;align-items:center;gap:14px;font-size:13px;display:flex}.reconciliation-workspace{gap:14px;display:grid}.reconciliation-summary{background:#f7fbfa;border:1px solid #dceae8;border-radius:12px;margin:0;padding:16px 18px}.reconciliation-summary span:last-child b{color:#137b73;font-size:18px}@media (width<=900px){.production-plan-info,.reconciliation-summary{grid-template-columns:repeat(2,1fr)}}@media (width<=720px){.production-plan-card{padding:17px}.production-plan-info,.reconciliation-summary{grid-template-columns:1fr}.production-plan-footer{flex-direction:column;align-items:flex-start}.production-plan-footer .primary{width:100%}}.sales-order-workspace{gap:14px;display:grid}.sales-order-row.is-expanded{background:#f3faf8}.sales-link-row>td{background:#f3f7fb;border-bottom:1px solid #d7e3ec;padding:0!important}.sales-link-panel{background:#f7fbfa;border:1px solid #dceae8;border-radius:13px;padding:19px 21px}.sales-link-panel--inline{background:0 0;border:0;border-radius:0;margin:0;padding:14px 16px 16px}.sales-link-panel-head{margin-bottom:2px}.sales-link-panel h3,.sales-link-panel-head h3{color:#28445c;margin:0;font-size:18px}.sales-link-panel--inline h3{font-size:15px}.sales-link-panel>div>p,.sales-link-panel-head p{color:#718498;margin:5px 0 0;font-size:13px}.sales-link-flow{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px;display:grid;position:relative}.sales-link-step{background:#fff;border:1px solid #d9e4ee;border-radius:12px;gap:8px;min-width:0;padding:12px 13px 13px;display:grid;position:relative;box-shadow:0 1px #18345008}.sales-link-step:not(:last-child):after{content:"";z-index:1;border-top:2px solid #b7c9d8;border-right:2px solid #b7c9d8;width:6px;height:6px;position:absolute;top:28px;right:-8px;transform:rotate(45deg)}.sales-link-step header{align-items:flex-start;gap:9px;min-width:0;display:flex}.sales-link-step-index{color:#fff;background:#8aa0b4;border-radius:7px;flex:none;place-items:center;width:22px;height:22px;font-size:12px;font-weight:800;display:grid}.sales-link-step header>div{flex:1;gap:3px;min-width:0;display:grid}.sales-link-step small{color:#5f758a;letter-spacing:.02em;font-size:12px;font-weight:800}.sales-link-step em{white-space:nowrap;text-overflow:ellipsis;border-radius:999px;align-items:center;width:fit-content;max-width:100%;padding:1px 7px;font-size:11px;font-style:normal;font-weight:700;line-height:1.5;display:inline-flex;overflow:hidden}.sales-link-step strong{color:#1f364c;word-break:break-all;font-size:16px;line-height:1.35;display:block}.sales-link-step strong i{color:#7a8fa3;margin-left:2px;font-size:12px;font-style:normal;font-weight:700}.sales-link-step p{color:#6d8296;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;line-height:1.4;overflow:hidden}.sales-link-step--production.is-active{background:linear-gradient(#f3fbf9 0%,#fff 48%);border-color:#9ed7cf}.sales-link-step--production.is-active .sales-link-step-index{background:#1aa58f}.sales-link-step--production.is-active em{color:#0f7a6a;background:#dff4ef}.sales-link-step--inbound.is-active{background:linear-gradient(#f2f7fd 0%,#fff 48%);border-color:#a8c8ef}.sales-link-step--inbound.is-active .sales-link-step-index{background:#3b82c4}.sales-link-step--inbound.is-active em{color:#1f5f99;background:#e3effb}.sales-link-step--outbound.is-active{background:linear-gradient(#fbf7ef 0%,#fff 48%);border-color:#e2c48a}.sales-link-step--outbound.is-active .sales-link-step-index{background:#c7892a}.sales-link-step--outbound.is-active em{color:#8a5a12;background:#f7ecda}.sales-link-step--return.is-active{background:linear-gradient(#fdf4f4 0%,#fff 48%);border-color:#e2a8a8}.sales-link-step--return.is-active .sales-link-step-index{background:#c45a5a}.sales-link-step--return.is-active em{color:#9a3a3a;background:#f8e4e4}.sales-link-step.is-empty{opacity:.88;background:#fafcfe;border-style:dashed}.sales-link-step.is-empty .sales-link-step-index{background:#a8b7c6}.sales-link-step.is-empty em{color:#738699;background:#eef2f6}.sales-link-step.is-empty strong{color:#8a9aab;font-size:15px;font-weight:700}.permission-grid article{background:#fff;border:1px solid #e0e9ef;border-radius:10px;gap:6px;padding:13px 14px;display:grid}.permission-workspace{gap:14px;display:grid}.permission-workspace .workspace-section-head{margin:0 0 10px}.permission-workspace td small{color:#8495a5;margin-top:4px;font-size:12px;display:block}.permission-workspace .table-action-group{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.permission-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.permission-grid h3{color:#28445c;margin:0;font-size:17px}.permission-grid p{color:#657b8d;margin:0;font-size:13px;line-height:1.6}.permission-grid span{color:#247a65;font-size:13px}@media (width<=900px){.sales-link-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=720px){.sales-link-grid,.permission-grid{grid-template-columns:1fr}.sales-link-panel{padding:17px}}.content-actions{align-items:center;gap:10px;display:flex}.secondary{color:#137b73;background:#fff;border:1px solid #b9ddd6;border-radius:8px;padding:10px 14px;font-weight:700}.stocktake-workspace{gap:14px;display:grid}@media (width<=720px){.content-actions{justify-content:space-between;width:100%}.content-actions .primary,.content-actions .secondary{padding-inline:10px;font-size:13px}}.employee-workspace,.operation-log-workspace{gap:14px;display:grid}.summary-cards{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.summary-cards article{background:#fff;border:1px solid #dceae8;border-radius:12px;gap:7px;padding:16px 18px;display:grid}.summary-cards span{color:#718498;font-size:13px}.summary-cards b{color:#137b73;font-size:22px}.workspace-subtitle{color:#28445c;margin:8px 0 -2px;font-size:17px}@media (width<=720px){.summary-cards{grid-template-columns:1fr}}.manufacturing-login-shell{background:linear-gradient(135deg,#eef7f6,#eaf0f6);place-items:center;min-height:100vh;padding:24px;display:grid}.manufacturing-login-card{background:#fff;border:1px solid #d8e7e4;border-radius:18px;gap:14px;width:min(100%,420px);padding:36px;display:grid;box-shadow:0 20px 48px #173a5326}.manufacturing-login-card p{color:#0d867d;margin:0;font-weight:700}.manufacturing-login-card h1{color:#132c46;margin:0}.manufacturing-login-card>span,.manufacturing-login-card small{color:#71839a;line-height:1.6}.manufacturing-login-card label{color:#29425d;gap:7px;font-weight:700;display:grid}.manufacturing-login-card input{box-sizing:border-box;width:100%;font:inherit;border:1px solid #cfddeb;border-radius:9px;padding:12px}.manufacturing-login-card .primary{justify-content:center}.material-workspace{gap:14px;display:grid}.material-filter-panel{background:#fff;border:1px solid #e0e9f0;border-radius:12px;padding:16px 18px;box-shadow:0 7px 20px #1834500a}.material-filter-grid{grid-template-columns:minmax(220px,1.4fr) minmax(140px,.7fr) minmax(150px,.75fr) minmax(120px,.55fr);gap:14px 18px;display:grid}.material-filter-grid--bom{grid-template-columns:minmax(240px,1.6fr) minmax(140px,.7fr) minmax(140px,.7fr)}.material-filter-grid--sales{grid-template-columns:repeat(3,minmax(140px,1fr))}.material-filter-grid--salary{grid-template-columns:minmax(160px,.8fr) minmax(160px,.8fr)}.material-filter-action-group{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.primary.compact{padding:8px 14px;font-size:13px}.material-filter-grid--wide{grid-template-columns:minmax(280px,1.6fr)}.material-filter-grid label{color:#52687c;gap:7px;font-size:13px;font-weight:700;display:grid}.material-filter-grid input,.material-filter-grid select{color:#263f55;background:#fff;border:1px solid #cfdae5;border-radius:8px;outline-color:#137b73;width:100%;padding:10px 12px}.material-filter-actions{border-top:1px solid #e8eef4;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding-top:14px;display:flex}.material-filter-summary{color:#6a7c90;font-size:13px}.secondary.compact{padding:8px 12px;font-size:13px}.secondary.compact:disabled{opacity:.45;cursor:not-allowed}.table-action.danger{color:#bc5e5e;background:#f9eeee}@media (width<=960px){.material-filter-grid,.material-filter-grid--bom,.material-filter-grid--sales,.material-filter-grid--wide,.material-filter-grid--salary{grid-template-columns:1fr}.material-filter-actions{flex-direction:column;align-items:flex-start}}.bom-workspace{gap:14px;display:grid}.bom-workspace .list-card{overflow:auto visible}.bom-workspace .list-card-paged{overflow-x:auto}.bom-workspace table{table-layout:auto;min-width:1320px}.bom-workspace th:first-child,.bom-workspace td:first-child{white-space:nowrap;min-width:110px}.bom-workspace th:nth-child(3),.bom-workspace td:nth-child(3){white-space:nowrap;min-width:90px}.bom-workspace th:nth-child(4),.bom-workspace td:nth-child(4){vertical-align:top;min-width:280px;max-width:420px}.bom-workspace th:nth-child(5),.bom-workspace td:nth-child(5){vertical-align:top;min-width:200px;max-width:280px}.bom-workspace th:nth-child(6),.bom-workspace td:nth-child(6){white-space:nowrap;min-width:72px}.bom-workspace th:nth-child(7),.bom-workspace td:nth-child(7){white-space:nowrap;min-width:96px}.bom-workspace th:nth-child(8),.bom-workspace td:nth-child(8){white-space:nowrap;min-width:88px}.bom-workspace th:nth-child(9),.bom-workspace td:nth-child(9){white-space:nowrap;vertical-align:middle;width:248px;min-width:248px}.bom-workspace td b{display:inline}.bom-workspace .table-action-group{flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:6px;display:flex}.bom-workspace .table-action-group .table-action{flex:none;margin:0}.status-action{cursor:pointer;border:0}.status-action:hover{filter:brightness(.97)}.bom-cell{gap:8px;min-width:0;display:grid}.bom-cell-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.bom-count-badge{color:#137b73;background:#edf7f5;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:700;line-height:1.5;display:inline-block}.bom-count-badge.route{color:#3b6ea8;background:#eef4fb}.bom-toggle{color:#137b73;cursor:pointer;text-underline-offset:2px;background:0 0;border:0;padding:0;font-size:12px;font-weight:700;text-decoration:underline}.bom-chip-list,.route-step-list{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.bom-chip{color:#3b556b;background:#f7fbfa;border:1px solid #dceae8;border-radius:8px;align-items:center;gap:6px;max-width:100%;padding:5px 9px;font-size:12px;line-height:1.35;display:inline-flex}.bom-chip-name{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.bom-chip-code{text-overflow:ellipsis;white-space:nowrap;color:#0f5f7a;flex-shrink:0;max-width:140px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:700;overflow:hidden}.bom-chip-qty{color:#137b73;flex-shrink:0;font-weight:700}.route-step-list{flex-direction:column;align-items:stretch;gap:4px}.route-step-chip{color:#425b70;align-items:center;gap:8px;padding:4px 0;font-size:12px;line-height:1.4;display:flex}.route-step-index{color:#607589;background:#edf1f5;border-radius:999px;place-items:center;min-width:18px;height:18px;font-size:11px;font-weight:700;display:inline-grid}.route-step-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.muted{color:#8495a5;font-size:13px}.list-card-paged{padding-bottom:4px}.pagination-bar{color:#63768a;background:#fafcfd;border-top:1px solid #e8eef4;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;padding:12px 16px 14px;font-size:13px;display:flex}.pagination-bar label{align-items:center;gap:6px;font-weight:600;display:inline-flex}.pagination-bar select{color:#344b60;background:#fff;border:1px solid #cfdce7;border-radius:8px;outline-color:#137b73;height:32px;padding:4px 8px}.ghost-button{color:#607589;background:#fff;border:1px solid #cfdce7;border-radius:8px;padding:7px 12px;font-weight:700}.ghost-button:hover:not(:disabled){color:#137b73;border-color:#137b73}.ghost-button:disabled{opacity:.45;cursor:not-allowed}.document-detail{gap:14px;margin:8px 28px 18px;display:grid}.document-detail-banner{background:linear-gradient(#f5f9fc,#fff);border:1px solid #d5e4ef;border-radius:12px;grid-template-columns:1.1fr 1.4fr auto;align-items:center;gap:12px;padding:14px 16px;display:grid}.document-detail-banner>div{gap:4px;min-width:0;display:grid}.document-detail-banner small{color:#7a8fa3;font-size:12px;font-weight:700}.document-detail-banner b{color:#1f364c;word-break:break-all;font-size:15px}.document-detail-status{border-radius:999px;align-items:center;width:fit-content;padding:4px 10px;font-size:13px;font-style:normal;font-weight:800;line-height:1.4;display:inline-flex}.document-detail-status.is-ok{color:#0f7a6a;background:#dff4ef}.document-detail-status.is-pending{color:#8a5a12;background:#f7ecda}.document-detail-status.is-danger{color:#9a3a3a;background:#f8e4e4}.document-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;display:grid}.document-detail-grid>span{background:#fbfcfd;border:1px solid #e3ebf2;border-radius:10px;gap:4px;min-width:0;padding:11px 12px;display:grid}.document-detail-grid>span.is-wide{grid-column:1/-1}.document-detail-grid small{color:#7a8fa3;font-size:12px;font-weight:700}.document-detail-grid b{color:#24445c;word-break:break-word;font-size:14px;font-weight:700}.document-detail-subtitle{color:#28445c;margin:2px 0 0;font-size:14px}.document-detail-table{margin:0}.document-detail .detail-cancel-hint{color:#8a5a12;margin:0;font-size:13px}.status-done{color:#137b73;background:#edf7f5}.status-draft{color:#5f7388;background:#eef2f6}.status-ready{color:#1f5f99;background:#e8f4ff}.status-cancelled{color:#9a3a3a;background:#f8e4e4}.sales-order-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.table-action--confirm{color:#fff;background:#137b73}.table-action--confirm:hover{background:#0f6a63}.table-action--detail{color:#2a5f8f;background:#e8f0f8}.table-action--link{color:#2d7a52;background:#eef6f0}.table-action--collapse{color:#7a6548;background:#f3f0ea}.sales-outbound-dialog{width:min(780px,100%)}.sales-outbound-dialog header{padding:20px 24px 14px}.sales-outbound-dialog header h2{font-size:20px}.outbound-dialog-meta{background:linear-gradient(#f5f9fc,#fff);border:1px solid #d7e4ee;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin:0 24px;padding:12px 14px;display:flex}.outbound-dialog-meta>div{gap:3px;display:grid}.outbound-dialog-meta small{color:#7a8fa3;font-size:12px;font-weight:700}.outbound-dialog-meta b{color:#1f364c;font-size:15px}.outbound-dialog-body{gap:14px;padding:14px 24px 8px;display:grid}.outbound-dialog-section{background:#fbfcfd;border:1px solid #e4ecf3;border-radius:12px;gap:10px;padding:14px;display:grid}.outbound-dialog-section h4{color:#28445c;letter-spacing:.02em;margin:0;font-size:13px;font-weight:800}.sales-outbound-dialog .outbound-fields{gap:12px 14px;padding:0}.sales-outbound-dialog .outbound-fields label{align-content:start;gap:6px;display:grid}.sales-outbound-dialog .outbound-fields label.is-span-2{grid-column:1/-1}.sales-outbound-dialog .outbound-fields small{color:#7a8fa3;font-size:12px;font-weight:600}.outbound-preview{background:#f7fafc;border:1px dashed #cfdce8;border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;display:grid}.outbound-preview.is-ready{background:linear-gradient(#f3fbf9,#fff);border-style:solid;border-color:#9ed7cf}.outbound-preview>span{gap:4px;min-width:0;display:grid}.outbound-preview small{color:#7a8fa3;font-size:12px;font-weight:700}.outbound-preview b{color:#24445c;word-break:break-word;font-size:14px}.outbound-preview em{color:#6d8296;font-size:12px;font-style:normal}.outbound-serial textarea{resize:vertical;min-height:72px}.outbound-remark{margin:0;padding:0}.sales-outbound-dialog .remark textarea{width:100%;min-height:56px}.sales-outbound-dialog footer{padding:14px 24px 20px}@media (width<=720px){.outbound-preview,.sales-outbound-dialog .outbound-fields{grid-template-columns:1fr}.sales-outbound-dialog .outbound-fields label.is-span-2{grid-column:auto}}.pagination-page-jump{align-items:center;gap:6px;margin:0;font-weight:600;display:inline-flex}.pagination-page-jump input{color:#344b60;text-align:center;background:#fff;border:1px solid #cfdce7;border-radius:8px;outline-color:#137b73;width:56px;height:32px;padding:4px 6px}.pagination-page-jump input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.pagination-page-jump input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.pagination-page-jump input[type=number]{appearance:textfield}.outbound-block-banner{background:linear-gradient(#fff8f0,#fff);border:1px solid #f0c9a0;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin:12px 24px 0;padding:12px 14px;display:flex}.outbound-block-banner>div{gap:4px;display:grid}.outbound-block-banner b{color:#9a4d12;font-size:13px}.outbound-block-banner span{color:#8a6a4a;font-size:12px}.outbound-preview.is-blocked{background:linear-gradient(#fff6ee,#fff);border-color:#efb48a}.outbound-shortage-hint{color:#9a4d12;background:#fff4ea;border-radius:8px;margin:0;padding:10px 12px;font-size:13px}.shortage-table--delivery .shortage-row{grid-template-columns:54px minmax(180px,1.5fr) 110px 120px repeat(2,1fr)}.availability-dialog{width:min(920px,100%)}.availability-banner{border:1px solid #d7e4ee;border-radius:12px;margin:0 24px 14px;padding:14px 16px}.availability-banner.is-green{background:linear-gradient(#eef9f5,#fff);border-color:#9ed7cf}.availability-banner.is-yellow{background:linear-gradient(#fff9eb,#fff);border-color:#efd39a}.availability-banner.is-red{background:linear-gradient(#fff1ee,#fff);border-color:#efb4ab}.availability-banner strong{color:#1f364c;margin-bottom:6px;display:block}.availability-banner p{color:#567085;margin:0 0 10px;font-size:13px}.availability-totals{flex-wrap:wrap;gap:8px;display:flex}.availability-totals span{color:#3d5870;background:#f4f8fb;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700}.availability-panels{grid-template-columns:1fr 1fr;gap:12px;padding:0 24px 8px;display:grid}.availability-panels h4{color:#28445c;margin:0 0 8px;font-size:13px}.availability-table{background:#fbfcfd;border:1px solid #e4ecf3;border-radius:10px;gap:8px;max-height:220px;padding:10px;display:grid;overflow:auto}.availability-row{color:#425b70;grid-template-columns:minmax(0,1.4fr) repeat(4,minmax(52px,auto)) auto;align-items:center;gap:8px;font-size:12px;display:grid}.availability-row b{color:#24445c;gap:2px;min-width:0;font-size:13px;display:grid}.availability-row small{color:#7b8d9e;font-weight:600}.availability-row .is-warn{color:#c06a24;font-weight:800}.availability-row .is-danger{color:#b54747;font-weight:800}.availability-row em{color:#b54747;grid-column:1/-1;font-size:12px;font-style:normal}.dashboard-todo-grid{grid-template-columns:1fr 1fr;gap:14px;margin:0 0 14px;display:grid}.dashboard-todo-card{background:#fff;border:1px solid #e0e9f0;border-radius:12px;padding:16px 18px}.dashboard-todo-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.dashboard-todo-head h3{color:#24445c;margin:0;font-size:15px}.dashboard-todo-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.dashboard-todo-list li{background:#f8fafc;border:1px solid #e8eef4;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.dashboard-todo-list li>div{gap:4px;min-width:0;display:grid}.dashboard-todo-list b{color:#1f364c;font-size:13px}.dashboard-todo-list span{color:#6d8296;font-size:12px}.dashboard-todo-empty{color:#7a8fa3;margin:0;font-size:13px}@media (width<=900px){.availability-panels,.dashboard-todo-grid{grid-template-columns:1fr}.shortage-table--delivery .shortage-row{grid-template-columns:54px minmax(140px,1fr) repeat(2,1fr)}}.status-warn{color:#9a4d12;background:#fff4ea}.material-workspace .list-card{overflow-x:auto}.material-workspace table{table-layout:auto;min-width:1100px}.material-workspace th,.material-workspace td{vertical-align:middle}.material-workspace th:first-child,.material-workspace td:first-child{white-space:nowrap;min-width:110px}.material-workspace th:nth-child(2),.material-workspace td:nth-child(2){min-width:160px}.material-workspace th:nth-child(3),.material-workspace td:nth-child(3){white-space:nowrap;min-width:88px}.material-workspace th:nth-child(4),.material-workspace td:nth-child(4){min-width:180px;max-width:320px}.material-workspace .material-spec-cell{word-break:break-word}.material-workspace th:nth-child(5),.material-workspace td:nth-child(5){white-space:nowrap;min-width:64px}.material-workspace th:nth-child(6),.material-workspace td:nth-child(6){white-space:nowrap;text-align:center;min-width:80px}.material-workspace th:nth-child(7),.material-workspace td:nth-child(7){white-space:nowrap;min-width:72px}.material-workspace th:nth-child(8),.material-workspace td:nth-child(8){white-space:nowrap;min-width:100px}.material-workspace th:nth-child(9),.material-workspace td:nth-child(9){white-space:nowrap;width:140px;min-width:140px}.material-workspace .purchase-status{white-space:nowrap;writing-mode:horizontal-tb;justify-content:center;align-items:center;min-width:48px;display:inline-flex}.material-workspace .sales-order-actions{white-space:nowrap;flex-wrap:nowrap;align-items:center;gap:6px;display:inline-flex}.batch-serial-workspace{gap:14px;display:grid}.batch-serial-card-head{border-bottom:1px solid #edf1f5;padding:16px 18px 12px}.batch-serial-card-head h3{color:#28445c;letter-spacing:.02em;margin:0;font-size:16px;font-weight:800}.batch-serial-workspace .list-card-paged>table{margin-top:0}.login-demo-accounts{border-top:1px solid #e4ecf3;margin-top:12px;padding-top:12px}.login-demo-accounts>p{color:#5f7388;margin:0 0 8px;font-size:12px;font-weight:700}.login-demo-accounts>div{flex-wrap:wrap;gap:8px;display:flex}.login-demo-accounts button{width:auto;min-width:0;padding:8px 12px;font-size:13px;font-weight:700}.role-shortcut-card{margin-top:14px;padding:16px 18px}.role-shortcut-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.order-dialog:has(.bom-view-wrap){width:min(1100px,100%)}.bom-view-wrap{max-height:min(60vh,520px);margin:16px 28px 8px;overflow:auto}.bom-view-table{min-width:980px}.bom-view-table th,.bom-view-table td{white-space:nowrap;padding:10px 12px;font-size:13px}.bom-view-table td:nth-child(2),.bom-view-table td:nth-child(3),.bom-view-table td:nth-child(8),.bom-view-table td:nth-child(9),.bom-view-table td:nth-child(10){white-space:normal;min-width:88px;max-width:180px}.delete-error-banner{color:#9a3030;background:#fff1f1;border:1px solid #f0b4b4;border-radius:10px;margin:12px 28px 0;padding:12px 14px}.delete-error-banner strong{margin-bottom:4px;font-size:14px;display:block}.delete-error-banner p{margin:0;font-size:13px;font-weight:600;line-height:1.5}
