#bulkEntryDialog { width: min(1500px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: 90vh; overflow: auto; }
.bulk-entry-scroll { overflow-x: auto; margin: 16px 0; }
.bulk-entry-table { border-collapse: collapse; width: 100%; font-size: .85rem; }
.bulk-entry-table th, .bulk-entry-table td { padding: 6px; text-align: left; vertical-align: top; border-bottom: 1px solid #d5dbe2; }
.bulk-entry-table th { white-space: nowrap; }
.bulk-entry-table input:not([type=checkbox]), .bulk-entry-table select { width: 160px; min-height: 40px; padding: 7px; border: 1px solid #8996a6; border-radius: 5px; background: var(--surface, #fff); color: var(--ink, #17212f); }
.bulk-entry-table input[aria-invalid=true], .bulk-entry-table select[aria-invalid=true] { border: 2px solid #b42318; }
.bulk-entry-error { color: #b42318; display: block; }
.bulk-entry-warning { min-width: 180px; }
@media (max-width: 700px) {
  .bulk-entry-scroll { overflow: visible; }
  .bulk-entry-table, .bulk-entry-table tbody, .bulk-entry-table tr, .bulk-entry-table td { display: block; width: 100%; }
  .bulk-entry-table thead { display: none; }
  .bulk-entry-table tr { border: 1px solid #8996a6; border-radius: 6px; margin-bottom: 16px; padding: 8px; box-sizing: border-box; }
  .bulk-entry-table td { box-sizing: border-box; overflow-wrap: anywhere; }
  .bulk-entry-table td::before { content: attr(data-label); display: block; font-weight: 600; margin-bottom: 4px; }
  .bulk-entry-table input:not([type=checkbox]), .bulk-entry-table select { width: 100%; max-width: 100%; box-sizing: border-box; }
}
