.machining-section .detail-section-title p{margin:6px 0 0;color:#667085;font-size:13px}.detail-section-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:1px solid #edf0f4}.machining-downloads{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.machining-downloads button,.route-buttons button{border:1px solid #b7cef4;background:#fff;color:#1769c2;border-radius:6px;padding:8px 12px;font-size:12px;line-height:1.4;cursor:pointer;white-space:nowrap}.machining-items{display:grid;gap:12px;padding-top:16px}.machining-item{display:grid;grid-template-columns:28px 1fr;border:1px solid #e4e7ec;border-radius:6px;padding:18px;background:#fff}.item-check input{width:16px;height:16px}.item-title{display:flex;align-items:center;gap:10px}.item-title h4{margin:0;font-size:16px}.route{font-size:12px;padding:4px 8px;border-radius:4px}.route-pending{background:#f2f4f7;color:#667085}.route-internal{background:#e7f0ff;color:#1769c2}.route-external{background:#fff2d6;color:#9a5700}.item-files{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.file-chip{background:#f7f8fa;border:1px solid #e4e7ec;border-radius:4px;padding:5px 8px;color:#475467;font-size:12px}.operation-list{list-style:none;padding:0;margin:12px 0}.operation-list li{display:flex;justify-content:space-between;padding:8px 0;border-top:1px solid #edf0f4}.operation-list small{color:#667085}.operation-list .eq-type{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:4px;background:#eef4ff;color:#1769c2;font-size:11px;font-weight:600;vertical-align:1px;line-height:1.5}.item-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.route-buttons{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.route-buttons label{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #b7cef4;background:#fff;color:#344054;border-radius:6px;padding:8px 12px;font-size:12px;line-height:1.4;cursor:pointer;white-space:nowrap;user-select:none}.route-buttons label input{width:15px;height:15px;margin:0;accent-color:#1769c2}.link-button{border:0;background:none;color:#1769c2;padding:7px;cursor:pointer;white-space:nowrap}.link-button.danger{color:#b42318}.machining-item.deleted{background:#fff8f7;color:#8c1d18}.machining-item.deleted .item-main{text-decoration:line-through;text-decoration-color:#d92d20;text-decoration-thickness:2px}.machining-item.deleted .delete-note{text-decoration:none;display:inline-block;color:#b42318}.machining-empty{padding:28px;text-align:center;color:#98a2b3}@media(max-width:800px){.detail-section-title{align-items:flex-start;gap:12px}.machining-downloads{flex-direction:column}.machining-item{grid-template-columns:24px 1fr}.operation-list li{display:block}.operation-list small{display:block;margin-top:4px}}
.machining-item .state-chip{font-weight:700;border:1px solid transparent}
.machining-item .state-chip.state-pending{background:#f2f4f7;color:#344054;border-color:#98a2b3}
.machining-item .state-chip.state-config{background:#fff4e5;color:#9a3412;border-color:#f59e0b}
.machining-item .state-chip.state-processing{background:#dbeafe;color:#1e40af;border-color:#3b82f6}
.machining-item .state-chip.state-rework{background:#fee4e2;color:#b42318;border-color:#f04438}
.machining-item .state-chip.state-confirm{background:#fef0c7;color:#92400e;border-color:#f79009}
.machining-item .state-chip.state-done{background:#d1fadf;color:#027a48;border-color:#12b76a}
.machining-item .part-responsible{display:inline-flex;align-items:center;margin-left:6px;padding:4px 9px;border-radius:6px;background:#1d2939;color:#fff;font-size:12px;font-weight:700;white-space:nowrap}
.excel-table-wrap{max-width:100%;overflow-x:auto;margin-top:18px}.excel-table{width:max-content;min-width:100%;border-collapse:collapse;table-layout:auto}.excel-table th,.excel-table td{border:1px solid #e4e7ec;padding:8px 10px;white-space:nowrap;vertical-align:middle}.excel-table th{background:#f7f8fa;color:#344054;font-weight:700;position:relative;resize:horizontal;overflow:hidden;min-width:72px}.excel-table th:nth-child(2){min-width:180px}.excel-table th:nth-child(3),.excel-table th:nth-child(4),.excel-table th:nth-child(5){min-width:110px}.excel-table th:nth-child(11){min-width:160px}.excel-table td input{width:100%;min-width:72px;border:1px solid #d0d5dd;border-radius:4px;padding:6px 8px;box-sizing:border-box}.excel-table td:nth-child(2) input{min-width:170px}.attachment-append{display:flex;align-items:center;gap:10px;margin:14px 0}.attachment-append label{display:inline-flex;align-items:center;background:#eef4ff;border-radius:6px}.attachment-append input{display:none}
.machining-item .item-tools .link-button{display:inline-flex;align-items:center;justify-content:center;min-height:28px;border:1px solid #b7cef4;background:#fff;color:#1769c2;border-radius:6px;padding:5px 12px;font-size:12px;font-weight:600;line-height:1;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s}
.machining-item .item-tools .link-button:hover{background:#e7f0ff}
.machining-item .item-tools .link-button.danger{border-color:#f1aaa5;color:#b42318}
.machining-item .item-tools .link-button.danger:hover{background:#fff4f3}
.machining-item .item-tools .link-button.primary{border-color:#1769c2;background:#1769c2;color:#fff}
.machining-item .item-tools .link-button.primary:hover{background:#0f55a4}
