.bom-child-title{background:#00354d;color:white;font-weight:600;padding:12px 18px;margin-top:18px}.bom-table-scroll{max-height:310px}.bom-active td{background:#e0e8ee!important}.bom-image{width:38px;height:38px;object-fit:contain}.bom-frozen{position:sticky;left:0;z-index:2;background:#f6f8fa!important}.bom-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:26px 22px}.bom-filter-grid label,.bom-parent-fields label{display:flex;gap:8px;align-items:center;justify-content:flex-end;min-width:0;color:#606266}.bom-filter-grid input,.bom-filter-grid select{width:60%;min-width:0}.bom-filter-grid footer{grid-column:1/-1;display:flex;justify-content:flex-end;gap:12px}.bom-parent-fields{display:grid;grid-template-columns:repeat(var(--bom-layout,4),minmax(0,1fr));gap:24px 18px;padding:24px}.bom-parent-fields input,.bom-parent-fields select{min-width:0;width:62%}.bom-editor .cfg-dialog{width:min(1400px,96vw)!important;max-width:96vw!important}.bom-editor-bar{display:flex;gap:12px;padding:12px}.bom-edit-table td input,.bom-edit-table td select{min-width:100px;max-width:180px}.bom-edit-table input[type=checkbox]{min-width:0}.bom-design-grid{display:grid;grid-template-columns:1fr 270px;min-height:420px}.bom-design-grid aside{border-left:1px solid #e1e6ed;padding:10px}.bom-design-grid aside button{padding:5px 10px}.bom-design-toolbar{background:#f3f6fa;padding:12px}.bom-design-modal .cfg-dialog{width:min(1400px,96vw)!important;max-width:96vw!important}#bom-pick-list{display:grid;gap:6px;margin-top:12px;max-height:360px;overflow:auto}.bom-editor footer{display:flex;gap:12px;justify-content:flex-end;margin-top:20px}.bom-editor footer button,.bom-design-toolbar button{background:#00354d;color:white}@media(max-width:850px){.bom-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bom-parent-fields{gap:18px 10px;padding:18px 8px}.bom-parent-fields label{flex-direction:column;align-items:flex-start}.bom-parent-fields input,.bom-parent-fields select{width:100%}}@media print{body>*:not(#cfg-modal){display:none!important}.cfg-dialog{max-width:100%!important;width:100%!important}.cfg-dialog>header,.cfg-dialog footer{display:none!important}.bom-table-scroll{max-height:none;overflow:visible}}
.bom-opening-page .unit-bar{padding:16px 0 12px;gap:24px}.bom-opening-page .unit-bar h2{font-size:16px;white-space:nowrap;border-bottom:2px solid #666;padding-bottom:7px}.bom-opening-page .unit-bar form{gap:11px}.bom-opening-page .unit-bar button,.bom-opening-page .unit-bar summary{font-size:14px;min-height:36px;padding:8px 17px;border-radius:9px}.bom-opening-page .unit-search{width:328px}.bom-opening-page .unit-search select{width:157px;font-size:14px}.bom-opening-page .unit-search input{width:170px;font-size:14px}.bom-opening-page .bom-parent-table{height:320px;max-height:320px}.bom-opening-page .bom-child-table{max-height:300px}.erp-layout.unit-management-page .bom-opening-page .unit-table{table-layout:fixed;width:max-content;min-width:100%;font-size:14px}.erp-layout.unit-management-page .bom-opening-page .unit-table td,.erp-layout.unit-management-page .bom-opening-page .unit-table th{height:50px;padding:12px;font-size:14px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:1px solid #e8edf5;line-height:24px}.bom-opening-page .unit-table th{background:#f7f7f9;position:sticky;top:0;z-index:2;color:#606266}.bom-opening-page .unit-table tr:nth-child(even) td{background:#fafafa}.bom-opening-page .unit-table .unit-name{font-size:14px;color:#003a60}.bom-opening-page .bom-col-number{width:60px}.bom-opening-page .bom-col-check{width:62px}.bom-opening-page .bom-col-image_id{width:90px}.bom-opening-page .bom-col-code{width:202px}.bom-opening-page .bom-col-name{width:256px}.bom-opening-page .bom-col-spec{width:554px}.bom-opening-page .bom-col-category_id,.bom-opening-page .bom-col-unit_id{width:90px}.bom-opening-page .bom-col-attribute{width:170px}.bom-opening-page col{width:135px}.bom-opening-page .bom-col-created,.bom-opening-page .bom-col-updated{width:190px}.bom-opening-page .bom-sort{display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:14px}.bom-sort-arrows{display:inline-flex;flex-direction:column;gap:3px}.bom-sort-arrows i{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #a5aab3}.bom-sort-arrows i:last-child{border-bottom:0;border-top:5px solid #a5aab3}.bom-sort-arrows i.active{border-bottom-color:#003a60;border-top-color:#003a60}.bom-opening-page .bom-pagination{justify-content:flex-end;gap:10px;height:46px;padding:5px 20px;background:white;border:1px solid #e8edf5;border-top:0;font-size:16px}.bom-pagination select{width:144px;height:36px;font-size:16px}.bom-pagination button{min-width:32px;height:36px;padding:4px 8px;border:1px solid #e0e4eb;border-radius:6px;background:white;color:#606266}.bom-pagination button.on{border-color:#b8c5d2;color:#003a60}.bom-pagination label{display:flex;align-items:center;gap:9px}.bom-pagination input{width:62px;height:36px;text-align:center}.bom-opening-page>.unit-panel>.bom-child-title{margin-top:12px;color:#151515;background:white;padding:8px 0;font-size:16px}.bom-opening-page #bom-more>div button{background:white;color:#00354d;display:block;text-align:left;width:100%;border-radius:0}.bom-opening-page #bom-more>div{z-index:10}@media(max-width:1100px){.bom-opening-page .unit-bar form{flex-wrap:wrap}.bom-opening-page .bom-pagination{flex-wrap:wrap;height:auto}}
.bom-opening-page .unit-bar{padding:8px 0 12px;margin-bottom:0}.bom-opening-page .bom-parent-table{box-sizing:border-box;height:320px;max-height:320px}.bom-opening-page .unit-table input[type=checkbox]{width:16px;height:16px;min-height:16px;padding:0;margin:0;accent-color:#00354d}.erp-layout.unit-management-page .bom-opening-page .unit-table th button{min-height:0;line-height:20px}.bom-opening-page .unit-table th,.bom-opening-page .unit-table td{box-sizing:border-box}.bom-opening-page .unit-footer{box-sizing:border-box}
.bom-filter-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 24px;padding:22px 0 28px}.bom-filter-grid label{font-size:14px;white-space:nowrap}.bom-filter-grid input,.bom-filter-grid select{height:44px;width:65%;box-sizing:border-box}.bom-filter-grid .category-picker-trigger{width:100%;height:44px;background:white;color:#606266;border:1px solid #d7dfea}.bom-filter-grid .category-picker{width:65%}.bom-uploads{display:flex;gap:30px;padding:15px 20px;flex-wrap:wrap}.bom-uploads label{display:flex;align-items:center;gap:10px}.bom-parent-picker select{flex:1;min-width:60px}.bom-parent-picker button{padding:0;background:transparent;color:#00354d;white-space:nowrap;font-size:14px}.bom-parent-picker em{color:#f66}.bom-warning{text-align:center;padding:24px;color:#606266}.bom-import-buttons{display:flex;gap:12px;margin-bottom:18px}.bom-editor .bom-child-title:nth-of-type(2){background:white;color:#666}.bom-editor .bom-parent-fields input[readonly]{background:#f5f7fa}.unit-settings-tip{background:#00354d;color:white;padding:12px 20px}.bom-editor .bom-parent-fields label{font-size:14px}.bom-editor .bom-parent-fields{gap:20px 18px;padding:20px 0}.bom-editor .bom-parent-fields input,.bom-editor .bom-parent-fields select{height:44px;box-sizing:border-box}.bom-editor-bar{justify-content:flex-end}.bom-editor-bar button{background:white;color:#606266}@media(max-width:1200px){.bom-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:850px){.bom-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bom-parent-picker{flex-wrap:wrap}}
.bom-filter-grid .category-picker-trigger{width:65%;flex:none}.bom-edit-table th button{display:inline-flex;align-items:center;gap:10px;background:transparent;color:#606266;white-space:nowrap;font-size:14px}.bom-edit-table th,.bom-edit-table td{font-size:14px;height:50px}.bom-editor .cfg-dialog-body{padding:16px 12px}.bom-editor .bom-parent-fields input:not([readonly]),.bom-editor .bom-parent-fields select{width:80%}.bom-editor .bom-parent-picker select{width:auto}
.bom-editor .cfg-dialog{width:min(1600px,96vw)!important;max-width:96vw!important}.bom-editor .bom-child-title{background:#00354d!important;color:white!important;margin-top:0}.bom-editor .bom-editor-children-heading{background:white!important;color:#606266!important;padding:10px 0}.bom-uploads label{white-space:nowrap;flex:none}.bom-uploads input[type=file]{width:270px;min-width:0}.bom-editor .unit-table-scroll{height:180px;min-height:0;max-height:260px}.bom-editor .unit-table th,.bom-editor .unit-table td{box-sizing:border-box;height:50px;padding:12px}.bom-editor .unit-table th button{min-height:0;padding:0;line-height:22px}.bom-editor .unit-footer{padding:10px;text-align:right;justify-content:flex-end}.bom-editor form>footer{position:sticky;bottom:-16px;background:white;padding:14px;border-top:1px solid #e0e5ec;margin-top:0}.bom-editor .cfg-dialog-body{max-height:calc(92vh - 65px)}
.bom-uploads[hidden]{display:none}.bom-picker-modal .cfg-dialog,.bom-product-modal .cfg-dialog{width:min(1560px,96vw)!important;max-width:96vw!important}.bom-picker-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 8px}.bom-picker-filter label{display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:14px;white-space:nowrap}.bom-picker-filter input,.bom-picker-filter select,.bom-picker-filter .category-picker-trigger{width:75%;height:44px;box-sizing:border-box;min-width:0}.bom-picker-filter .category-picker-trigger{background:white;color:#606266;border:1px solid #d7dfea}.bom-picker-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #00354d;padding:16px 0}.bom-picker-scroll{height:350px;max-height:40vh;min-height:140px}.bom-picker-scroll .unit-table{min-width:1400px;table-layout:fixed}.bom-picker-scroll .unit-table th:nth-child(1){width:45px}.bom-picker-scroll .unit-table th:nth-child(2){width:45px}.bom-picker-scroll .unit-table th:nth-child(3){width:65px}.bom-picker-scroll .unit-table th:nth-child(4){width:200px}.bom-picker-scroll .unit-table th:nth-child(5){width:200px}.bom-picker-scroll .unit-table th:nth-child(6){width:330px}.bom-picker-scroll th,.bom-picker-scroll td{height:50px;padding:12px;font-size:14px;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bom-picker-scroll th button{background:transparent;color:#606266;min-height:0;padding:0;font-weight:600}.bom-picker-pages{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:10px;font-size:14px}.bom-picker-pages input{width:60px}.bom-picker-pages select{width:100px}.bom-picker-modal footer,.bom-product-modal footer{display:flex;justify-content:flex-end;gap:12px;padding:14px;background:white;border-top:1px solid #e0e5ec;position:sticky;bottom:-16px}.bom-product-modal .product-edit-grid{gap:20px 10px}.bom-product-modal .product-edit-grid label{font-size:14px;display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}.bom-product-modal .product-edit-grid label:has([name=amount_logic]){grid-row:8;grid-column:1}.bom-product-modal .product-edit-grid label:has([name=ext-image_id]){grid-row:8;grid-column:2}.bom-product-modal .product-edit-grid label:has([name=ext-attachment_id]){grid-row:8;grid-column:3}.bom-product-modal .cfg-dialog-body{max-height:calc(92vh - 65px)}@media(max-width:1000px){.bom-picker-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.bom-product-modal .product-edit-grid label{white-space:normal;flex-wrap:wrap}}
.bom-product-modal .product-edit-grid{padding:20px 0;gap:20px 10px}.bom-product-modal .product-edit-grid>label{height:44px;padding:0;min-height:0}.bom-product-modal .product-edit-grid input:not([type=checkbox]),.bom-product-modal .product-edit-grid select{height:44px;flex:1;width:0;min-width:0}.bom-product-modal .product-ref{display:flex;flex:1;gap:8px;align-items:center;min-width:0}.bom-product-modal .product-ref>span{margin:0;flex:none;white-space:nowrap}.bom-product-modal .product-ref select{flex:1;width:0}.bom-product-modal .product-edit-grid label:has([name=ext-image_id]),.bom-product-modal .product-edit-grid label:has([name=ext-attachment_id]){height:80px}.bom-product-modal .product-photo-field{min-width:80px}.bom-product-modal .product-section{margin:20px 0;font-size:16px}
.bom-designer{display:grid;grid-template-columns:220px minmax(0,1fr) 240px;min-height:420px;margin:-12px}.bom-palette,.bom-properties{border-right:1px solid #e4e7ed;background:white}.bom-palette>p,.bom-properties>p{padding:16px;margin:0;border-bottom:1px solid #e4e7ed;color:#606266}.bom-palette>div{padding:10px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.bom-palette button{background:#f0f8ea;color:#606266;border:1px solid #e8eee5;text-align:left;padding:10px;font-weight:400}.bom-designer main{padding:10px 14px}.bom-designer .bom-parent-fields{padding:10px 0;gap:16px 10px}.bom-designer .bom-design-toolbar{display:flex;align-items:center;gap:16px}.bom-design-toolbar label{font-size:13px;color:#409eff}.bom-design-toolbar input{width:auto}.bom-custom-fields{display:grid;grid-template-columns:repeat(var(--bom-layout,3),minmax(0,1fr));gap:18px;padding:20px 0}.bom-custom-fields label{display:flex;gap:10px;align-items:center;color:#606266;min-width:0}.bom-custom-fields input,.bom-custom-fields select,.bom-custom-fields textarea{width:65%;min-width:0}.bom-custom-fields input[type=file]{width:100%}.bom-custom-fields input[type=hidden]{display:none}.bom-design-child{margin-top:20px}.bom-design-child>b{display:block;padding:15px 0;border-bottom:1px solid #e4e7ed;color:#606266}.bom-design-child .bom-table-scroll{height:225px;margin-top:15px}.bom-design-child tbody td{height:170px}.bom-properties>div{padding:10px}.bom-properties button{background:white;color:#606266;border:1px solid #dcdfe6;padding:6px}.bom-properties button.on{color:#409eff;background:#ecf5ff}.bom-properties label{display:flex;gap:8px;align-items:center;margin-bottom:10px;font-size:13px}.bom-properties input{min-width:0;width:65%}.bom-properties input[type=checkbox]{width:auto}.bom-properties textarea{width:100%;height:100px}.bom-param{display:flex;gap:3px;margin-bottom:8px}.bom-param input{width:65px}.bom-param select{width:65px}.bom-designer [data-field]{cursor:pointer;border:1px dashed transparent;padding:5px}.bom-designer [data-field].on{border-color:#409eff;background:#f5faff}.bom-designer .bom-parent-fields input,.bom-designer .bom-parent-fields select{height:28px}.bom-design-modal .cfg-dialog{width:98vw!important;max-width:98vw!important}.bom-design-modal .cfg-dialog-body{max-height:calc(95vh - 60px)}@media(max-width:1100px){.bom-designer{grid-template-columns:180px minmax(0,1fr) 230px}.bom-designer .bom-parent-fields{gap:24px 10px}.bom-palette>div{grid-template-columns:1fr}}
.bom-child-toolbar{display:flex;align-items:center;justify-content:space-between}.bom-child-toolbar .bom-editor-bar{padding:8px 0;gap:36px}.bom-child-toolbar .bom-editor-bar button{padding:5px 14px;font-size:14px;font-weight:400}.bom-parent-collapse{position:relative;border-top:1px solid #00354d;border-bottom:1px solid #e4e7ed;height:18px;margin:32px -12px 0}.bom-parent-collapse button{position:absolute;left:50%;transform:translate(-50%,-50%);top:0;background:white;color:#00354d;border:1px solid #00354d;border-radius:10px;width:44px;height:15px;min-height:0;padding:0;line-height:12px}.bom-editor .bom-parent-fields input,.bom-editor .bom-parent-fields select{width:82%;background:#f5f7fa}.bom-editor .bom-parent-fields [name=raw_qty]{background:white}.bom-editor .bom-parent-picker select{background:#f5f7fa;width:auto;flex:1}.bom-editor .bom-parent-fields label{white-space:nowrap}.bom-editor .bom-parent-fields em{color:#f66;font-style:normal}.bom-editor .bom-edit-table{min-width:4200px}.bom-editor .bom-edit-table th:nth-child(2){width:100px}.bom-editor .bom-edit-table th:nth-child(3){width:200px}.bom-editor .bom-edit-table th:nth-child(4){width:250px}.bom-editor .bom-edit-table th:nth-child(5){width:350px}.bom-editor .unit-table-scroll{height:118px}.bom-editor .bom-empty-cell{height:68px!important;text-align:center;color:#909399}.bom-editor #bom-lines .unit-footer{height:40px;border:1px solid #e4e7ed;border-top:0;background:white;font-size:14px}.bom-editor form>footer{padding:22px 0 0;margin-top:14px}.bom-editor .cfg-dialog{border-radius:4px}.bom-editor .cfg-dialog-body{padding:0 12px 14px}.bom-editor .cfg-dialog>header{height:56px;box-sizing:border-box}.bom-editor .bom-parent-fields{padding:22px 0 20px}.bom-editor .bom-child-title{padding:10px 18px;height:40px;box-sizing:border-box}.bom-editor .bom-editor-children-heading{height:40px;padding:10px 0}.bom-uploads[hidden],.bom-parent-fields[hidden],.bom-child-title[hidden]{display:none!important}.bom-editor [name=parent_id]{appearance:none}.bom-editor .bom-parent-picker button{font-weight:400}.unit-bar #bom-print-menu{position:relative}.unit-bar #bom-print-menu summary{list-style:none;cursor:pointer;background:#00354d;color:white;border-radius:9px;padding:10px 18px;white-space:nowrap;font-weight:600;font-size:14px}.unit-bar #bom-print-menu>div{position:absolute;right:0;top:44px;z-index:9;display:flex;flex-direction:column;width:160px;background:white;border:1px solid #e4e7ed;border-radius:6px;box-shadow:0 2px 12px #0002;padding:8px 0}.unit-bar #bom-print-menu button{background:white;color:#606266;text-align:left;font-weight:400;padding:8px 18px}.unit-bar #bom-print-menu button:hover{background:#f5f7fa}.bom-print table{min-width:0}.bom-print section{page-break-after:always}.bom-print h2{text-align:center}
.bom-editor{align-items:flex-start!important;padding-top:12px!important}.bom-editor .cfg-dialog{width:98vw!important;max-width:98vw!important;margin:0!important;font:14px 'Microsoft YaHei',sans-serif}.bom-editor .cfg-dialog>header h2{font-size:16px}.bom-editor .bom-parent-fields{gap:20px 18px}.bom-editor .bom-parent-fields input[readonly]{width:82%}.bom-number-control{display:flex;width:82%;height:44px;position:relative}.bom-editor .bom-parent-fields .bom-number-control input{width:100%;padding-right:45px;appearance:textfield;-moz-appearance:textfield}.bom-number-control input::-webkit-inner-spin-button{appearance:none}.bom-number-control>span{position:absolute;right:0;top:0;width:44px;height:44px;display:flex;flex-direction:column}.bom-number-control button{height:22px;min-height:0;line-height:18px;padding:0;background:#f5f7fa;border:1px solid #dcdfe6;color:#606266;border-radius:0}.bom-editor .bom-empty-cell{font-size:0;text-align:left}.bom-editor .bom-empty-cell::before{content:'暂无数据';font-size:14px;position:sticky;left:calc(49vw - 32px)}.bom-editor .unit-table th:nth-child(1){width:100px}.bom-editor .unit-table-scroll{scrollbar-color:#d9dadd #fff;scrollbar-width:thin}.bom-editor .unit-table-scroll::-webkit-scrollbar{height:12px;width:12px}.bom-editor .unit-table-scroll::-webkit-scrollbar-thumb{background:#d9dadd;border:1px solid white;border-radius:8px}.bom-editor .unit-table-scroll::-webkit-scrollbar-track{background:white}
.bom-editor .cfg-dialog{width:calc(100vw - 32px)!important;max-width:calc(100vw - 32px)!important}.bom-editor .bom-parent-fields>label{height:44px;min-height:0;padding:0;margin:0;align-items:center}.bom-editor .bom-parent-fields input,.bom-editor .bom-parent-fields select,.bom-editor .bom-number-control input{margin:0}.bom-child-toolbar{height:40px}.bom-child-toolbar .bom-editor-bar{height:40px;padding:0;align-items:center}.bom-child-toolbar .bom-editor-bar button{height:32px;min-height:0}.bom-editor .cfg-dialog>header h2::before{content:'ⓘ ';font-weight:400}.bom-editor .bom-edit-table th:nth-child(3) button::before{content:'*';color:#f66}.bom-editor #be-new-product::before,.bom-editor #be-pick::before{content:'＋'}.bom-editor #be-delete::before{content:'▥'}.bom-editor #be-import::before{content:'↑'}
.bom-editor .bom-parent-fields>label{display:grid!important;grid-template-columns:90px minmax(0,1fr);gap:8px;height:auto!important;min-height:44px;white-space:normal;flex-direction:row}.bom-field-label{display:flex;align-items:center;justify-content:flex-end;gap:3px;white-space:nowrap;line-height:22px}.bom-field-control{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}.bom-editor .bom-field-control>input,.bom-editor .bom-field-control>select,.bom-editor .bom-field-control>.bom-number-control{width:100%!important;min-width:0;box-sizing:border-box}.bom-editor .bom-parent-picker .bom-field-control>select{flex:1 1 130px;width:0!important}.bom-editor .bom-parent-picker .bom-field-control>button{flex:none}.bom-editor .bom-number-control input{width:100%!important}.bom-editor .bom-parent-fields{align-items:start}.bom-editor .bom-field-control input,.bom-editor .bom-field-control select{font-size:14px}.bom-editor .bom-field-label{font-size:14px}.bom-editor .bom-child-toolbar{height:auto;min-height:40px;gap:10px;flex-wrap:wrap}.bom-editor .bom-child-toolbar .bom-editor-bar{height:auto;gap:12px;flex-wrap:wrap}.bom-editor .cfg-dialog-body{overflow-x:hidden}@media(max-width:1100px){.bom-editor .bom-parent-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 18px}.bom-editor .bom-parent-fields>label{grid-template-columns:1fr;gap:7px}.bom-editor .bom-field-label{justify-content:flex-start}.bom-editor .bom-parent-picker .bom-field-control>select{flex:1 1 100%;width:100%!important}.bom-editor .bom-parent-picker .bom-field-control{row-gap:7px}.bom-editor .bom-parent-fields>label:first-child{grid-column:1/-1}.bom-editor .bom-parent-picker .bom-field-control>select{flex:1 1 50%;width:auto!important}.bom-editor .cfg-dialog>header h2{font-size:16px!important}}@media(max-width:600px){.bom-editor .bom-parent-fields{grid-template-columns:1fr!important}.bom-editor .bom-parent-picker .bom-field-control>select{flex:1 1 100%;width:100%!important}.bom-editor .bom-editor-bar{justify-content:flex-start}.bom-editor .bom-child-toolbar{align-items:flex-start;flex-direction:column}}
.bom-editor .bom-parent-fields>label[hidden]{display:none!important}
.cfg-overlay.bom-editor{display:flex;align-items:flex-start!important;justify-content:flex-start!important;overflow:auto;padding:3px 16px 12px!important;box-sizing:border-box}.cfg-overlay.bom-editor .cfg-dialog{flex:none;width:calc(100vw - 32px)!important;min-width:1180px;max-width:none!important;margin:0!important;font:14px 'Microsoft YaHei',sans-serif}.cfg-overlay.bom-editor .cfg-dialog>header{height:56px;padding:16px 14px;box-sizing:border-box}.cfg-overlay.bom-editor .cfg-dialog>header h2{font-size:16px!important;line-height:24px;margin:0}.cfg-overlay.bom-editor .cfg-dialog-body{padding:0 12px 8px!important;max-height:none!important;overflow:visible!important}.cfg-overlay.bom-editor .bom-parent-fields{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px 18px!important;padding:22px 0 20px!important;align-items:start}.cfg-overlay.bom-editor .bom-parent-fields>label{display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;grid-column:auto!important;align-items:center!important;gap:8px!important;margin:0!important;padding:0!important;height:44px!important;min-height:0!important;white-space:nowrap!important;font-size:14px!important}.cfg-overlay.bom-editor .bom-parent-fields>label[hidden]{display:none!important}.cfg-overlay.bom-editor .bom-field-label{display:flex;justify-content:flex-end;align-items:center;white-space:nowrap;gap:2px;font-size:14px!important;line-height:22px}.cfg-overlay.bom-editor .bom-field-label em{font-size:14px;margin:0}.cfg-overlay.bom-editor .bom-field-control{display:flex!important;align-items:center;gap:8px;flex-wrap:nowrap!important;min-width:0;height:44px}.cfg-overlay.bom-editor .bom-field-control>input,.cfg-overlay.bom-editor .bom-field-control>select,.cfg-overlay.bom-editor .bom-field-control>.bom-number-control{width:100%!important;height:44px!important;min-width:0!important;flex:1 1 0!important;margin:0!important;box-sizing:border-box;font-size:14px!important;padding:10px 15px;border:1px solid #dcdfe6;border-radius:4px}.cfg-overlay.bom-editor .bom-parent-picker .bom-field-control>select{width:0!important;flex:1 1 0!important}.cfg-overlay.bom-editor .bom-parent-picker .bom-field-control>button{flex:none!important;font-size:14px!important;padding:0!important;height:24px!important;min-height:0!important;background:transparent;color:#00354d;font-weight:400;white-space:nowrap}.cfg-overlay.bom-editor .bom-field-control>.bom-number-control{padding:0;border:0}.cfg-overlay.bom-editor .bom-number-control input{width:100%!important;height:44px!important;font-size:14px!important;box-sizing:border-box;border:1px solid #dcdfe6;border-radius:4px;padding:10px 48px 10px 15px}.cfg-overlay.bom-editor .bom-number-control button{font-size:12px!important}.cfg-overlay.bom-editor .bom-child-title{height:40px!important;margin:0!important;padding:10px 18px!important;font-size:16px!important;line-height:20px}.cfg-overlay.bom-editor .bom-parent-collapse{height:18px;margin-top:32px}.cfg-overlay.bom-editor .bom-child-toolbar{height:40px!important;min-height:40px;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;justify-content:space-between}.cfg-overlay.bom-editor .bom-editor-children-heading{font-size:14px!important;padding:10px 0!important;height:40px!important}.cfg-overlay.bom-editor .bom-child-toolbar .bom-editor-bar{display:flex;flex-wrap:nowrap!important;gap:28px!important;padding:0!important;margin:0;height:40px!important}.cfg-overlay.bom-editor .bom-editor-bar button{font-size:14px!important;height:32px!important;min-height:0!important;padding:5px 10px!important;font-weight:400}.cfg-overlay.bom-editor .unit-table-scroll{height:116px!important;min-height:0!important;max-height:116px!important}.cfg-overlay.bom-editor .unit-table th,.cfg-overlay.bom-editor .unit-table td,.cfg-overlay.bom-editor .unit-table th button{font-size:14px!important}.cfg-overlay.bom-editor .unit-table th{height:48px!important}.cfg-overlay.bom-editor .unit-table th button{padding:0!important;min-height:0!important}.cfg-overlay.bom-editor #bom-lines .unit-footer{font-size:14px;height:40px;box-sizing:border-box}.cfg-overlay.bom-editor form>footer{padding:22px 0 0!important;margin-top:14px!important;height:64px;box-sizing:border-box}.cfg-overlay.bom-editor form>footer button{height:36px!important;min-height:36px!important;font-size:14px!important;padding:8px 18px!important;border-radius:8px}.cfg-overlay.bom-editor .bom-empty-cell::before{left:calc(max(1180px,100vw - 32px) / 2 - 32px)}
.cfg-overlay.bom-editor .unit-table td.bom-empty-cell{font-size:0!important}
