.submitted-po-filters,
.submitted-po-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.submitted-po-filters { align-items: end; margin-bottom: 16px; }
.submitted-po-filters .field { display: grid; gap: 6px; }
.submitted-po-filters input[type="submit"] { width: auto; min-width: 120px; }
.submitted-po-totals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.submitted-po-totals strong { overflow-wrap: anywhere; }
.submitted-po-table-wrap { max-width: 100%; }
.submitted-po-table-wrap small { display: block; color: var(--muted); margin-top: 4px; }
.submitted-po-warning,
.submitted-po-table-wrap .submitted-po-warning { color: #805719; }
.submitted-po-table { min-width: 380px; table-layout: fixed; }
.submitted-po-table th:first-child { width: 43%; }
.submitted-po-table th:nth-child(2) { width: 15%; }
.submitted-po-table th:nth-child(3) { width: 17%; }
.submitted-po-table th:nth-child(4) { width: 25%; }
.submitted-po-table td { overflow-wrap: anywhere; }
.submitted-po-table th:not(:first-child),
.submitted-po-table td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.submitted-po-detail-table { min-width: 700px; }
.submitted-po-detail-table td:nth-last-child(-n+2),
.submitted-po-detail-table th:nth-last-child(-n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.submitted-po-details { margin-top: 24px; min-width: 0; scroll-margin-top: 24px; }
.submitted-po-details h2 { font-size: 20px; }
.submitted-po-pagination { margin-top: 16px; }
.submitted-po-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 600px) {
  .submitted-po-totals { grid-template-columns: 1fr; }
}
