.purchase-order-editor { min-width: 0; }
.po-items-heading, .po-status-line { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.po-items-heading { justify-content: space-between; }
.po-items-heading h3 { margin: 0; font-size: 1.1rem; }
.purchase-order-editor .table-responsive { margin-bottom: 1rem; }
.purchase-order-editor td:first-child { min-width: 230px; width: 65%; }
.purchase-order-editor td:nth-child(2) { min-width: 140px; }
.purchase-order-editor input { min-height: 44px; font-size: 1rem; }
.po-note { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) {
    .purchase-order-form { grid-template-columns: 1fr !important; }
    .purchase-order-form .span-2 { grid-column: 1 / -1; }
    .purchase-order-review { grid-template-columns: 1fr !important; }
}

.po-attachments { min-width: 0; }
.po-attachments h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.po-attachment { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid #e2e8f0; margin-bottom: .75rem; }
.po-file-name, .po-selected-files li { overflow-wrap: anywhere; }
.po-attachment .po-file-name { flex: 1 1 200px; }
.po-attachment label { display: inline-flex; align-items: center; gap: .5rem; }
.po-attachments input[type="file"] { min-height: 44px; }
