.work-order-drawing-upload {
    display: grid;
    gap: 9px;
    padding: 12px;
    border: 1px dashed color-mix(in srgb, var(--primary-color, #2563eb) 45%, var(--border-color, #64748b));
    border-radius: 10px;
    background: color-mix(in srgb, var(--primary-color, #2563eb) 5%, transparent);
}

.work-order-drawing-upload input[type="file"] { width: 100%; }
.work-order-drawing-upload small { color: var(--text-muted, #64748b); }

.work-order-drawing-status {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    color: var(--text-muted, #64748b);
}

.work-order-drawing-status > i { font-size: 1.15rem; }
.work-order-drawing-status span { display: grid; min-width: 0; gap: 2px; }
.work-order-drawing-status strong { overflow: hidden; color: var(--text-color, #0f172a); text-overflow: ellipsis; white-space: nowrap; }
.work-order-drawing-status.has-file > i { color: #16a34a; }

#materialListPrintArea.bom-pdf-export,
#materialListPrintArea.bom-pdf-export * {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

#materialListPrintArea.bom-pdf-export {
    background: #fff !important;
    filter: grayscale(1) !important;
}

#materialListPrintArea.bom-pdf-export table,
#materialListPrintArea.bom-pdf-export thead,
#materialListPrintArea.bom-pdf-export tbody,
#materialListPrintArea.bom-pdf-export tr,
#materialListPrintArea.bom-pdf-export th,
#materialListPrintArea.bom-pdf-export td,
#materialListPrintArea.bom-pdf-export div,
#materialListPrintArea.bom-pdf-export p,
#materialListPrintArea.bom-pdf-export span {
    background: #fff !important;
    background-image: none !important;
}

#materialListPrintArea.bom-pdf-export table,
#materialListPrintArea.bom-pdf-export th,
#materialListPrintArea.bom-pdf-export td {
    border-color: #555 !important;
}

@media print {
    #materialListPrintArea,
    #materialListPrintArea * {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
        background: #fff !important;
        background-image: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    #materialListPrintArea { filter: grayscale(1) !important; }
    #materialListPrintArea table,
    #materialListPrintArea th,
    #materialListPrintArea td { border-color: #555 !important; }
}
