/* Arrival choices are compact; product quantities own the operating surface. */
#main.inbound-page > .page-heading,
.inbound-page #inbound-view,
.inbound-page > footer { max-width: var(--ui-list-width); margin-inline: auto; }
#main.inbound-page > .page-heading { min-height: var(--ui-page-heading-height); padding: var(--ui-page-heading-padding); margin-bottom: 0; }
.inbound-page #summary-metrics { display: none; }
.inbound-page #all-batches { margin-left: auto; white-space: nowrap; font-size: 13px; }
.inbound-page .batch-navigation { margin-bottom: 10px; grid-template-columns: 28px minmax(0,1fr) 28px; gap: 6px; }
.inbound-page .batch-scroll-button { width: 28px; }
.inbound-page .batch-rail { grid-auto-columns: minmax(178px,1fr); gap: 8px; padding-bottom: 4px; }
.inbound-page .batch-slot { border-radius: 6px; }
.inbound-page .batch-card,
.inbound-page .batch-card.selected { padding: 9px 11px; min-height: 86px; text-align: left; }
.inbound-page .batch-top { display: flex; align-items: center; gap: 5px; justify-content: space-between; }
.inbound-page .batch-top > b { font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: 0; }
.inbound-page .shipment-status { display: inline-block; border-radius: 3px; padding: 1px 4px; color: #52677f; background: #edf1f6; font-size: 11px; font-weight: 400; line-height: 1.5; white-space: nowrap; }
.inbound-page .shipment-status.blue { background: #eaf2ff; color: #235fab; }
.inbound-page .shipment-status.amber { background: #fff3df; color: #875a11; }
.inbound-page .shipment-status.green { background: #e9f5ef; color: #1c704b; }
.inbound-page .batch-arrival { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 7px; margin-top: 5px; }
.inbound-page .batch-arrival > strong { font-size: 20px; line-height: 1.35; font-weight: 600; color: #234b7c; }
.inbound-page .batch-arrival > span { color: var(--ui-muted); font-size: 11px; }
.inbound-page .batch-card.selected .batch-arrival > strong { color: #215ac5; }
.inbound-page .batch-board-date { display: block; margin-top: 2px; color: var(--ui-muted); font-size: 12px; line-height: 1.4; }
.inbound-page .inbound-tools { display: flex; align-items: center; flex-wrap: nowrap; gap: 12px; padding: 7px 14px; min-height: 48px; border-bottom: 1px solid var(--ui-border); }
.inbound-page .inbound-list-heading { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.inbound-page .inbound-list-heading h2 { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 600; white-space: nowrap; }
.inbound-page #inbound-result { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.inbound-page .manifest-picker { display: flex; margin: 0; padding: 0; border: 0; }
.inbound-page .manifest-picker[hidden] { display: none; }
.inbound-page .manifest-picker select { width: auto; max-width: 195px; min-height: 34px; height: 34px; font-size: 13px; }
.inbound-page .filter-tabs { flex-shrink: 0; gap: 3px; margin-left: auto; }
.inbound-page .inbound-tools .filter-tabs button { height: 34px; min-height: 34px; padding: 5px 8px; font-size: 13px; }
.inbound-page .inbound-tools .search { flex: 0 1 220px; min-width: 165px; width: 220px; max-width: 260px; height: 34px; min-height: 34px; padding-block: 0; }
.inbound-page .inbound-tools .search input { height: 32px; min-height: 32px; padding-block: 4px; font-size: 13px; }
.inbound-page #refresh-inbound { height: 34px; min-height: 34px; font-size: 12px; padding: 6px 0; white-space: nowrap; }
.inbound-page .inbound-refresh-status { flex: none; max-width: 144px; margin: 0; padding: 0; color: var(--ui-muted); font-size: 12px; line-height: 1.3; }
.inbound-page .inbound-refresh-status.error { color: #875a11; background: #fff3df; padding: 2px 5px; }
.inbound-page .inbound-refresh-status[hidden] { display: none; }
.inbound-page #inbound-products > .table-scroll { max-height: none; }
.inbound-page #inbound-products { scroll-margin-top: calc(var(--header-height) + 12px); }
.inbound-page .inbound-table { width: 100%; min-width: 660px; table-layout: fixed; }
.inbound-page .inbound-table th:nth-child(1) { width: 38%; min-width: 0; }
.inbound-page .inbound-table th:nth-child(2) { width: 17%; text-align: left; }
.inbound-page .inbound-table th:nth-child(3) { width: 14%; }
.inbound-page .inbound-table th:nth-child(4) { width: 31%; }
.inbound-page .inbound-table th { height: 34px; padding: 7px 14px; }
.inbound-page .inbound-table td { height: 64px; padding: 7px 14px; vertical-align: middle; }
.inbound-page .inbound-product { gap: 11px; }
.inbound-page .inbound-product > div { min-width: 0; }
.inbound-page .product-thumb,
.inbound-page .inbound-thumb { width: 48px; height: 48px; }
.inbound-page .inbound-product-title { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.inbound-page .inbound-product .product-name { font-size: 16px; line-height: 1.4; font-weight: 500; }
.inbound-page .inbound-product-title .badge { padding: 2px 5px; font-size: 11px; line-height: 1.3; font-weight: 400; }
.inbound-page .new-product-label { display: none; }
.inbound-page .inbound-product-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 3px; line-height: 1.4; }
.inbound-page .inbound-product-meta .sku { margin: 0; font-size: 13px; color: var(--ui-muted); }
.inbound-page .inbound-product-meta .inbound-spec { font-size: 13px; color: #52677f; overflow-wrap: anywhere; }
.inbound-page .inbound-table .shipment-quantity { white-space: nowrap; text-align: left; }
.inbound-page .shipment-quantity b { font-size: 18px; font-weight: 600; color: #234b7c; font-variant-numeric: tabular-nums; }
.inbound-page .shipment-quantity > span { font-size: 13px; color: var(--ui-muted); margin-left: 5px; }
.inbound-page .eta-cell { font-size: 14px; }
.inbound-page .eta-cell > strong { font-weight: 600; }
.inbound-page .eta-cell > small { margin-left: 7px; display: inline; font-size: 12px; color: var(--ui-muted); }
.inbound-page #inbound-unit-note[hidden],
.inbound-page .table-footer[hidden] { display: none; }
.inbound-page .footnote { margin: 8px 0; }
@media(max-width:1200px) {
  .inbound-page .inbound-list-heading { display: block; }
  .inbound-page .manifest-picker select { max-width: 155px; }
  .inbound-page .inbound-tools { gap: 8px; }
  .inbound-page .inbound-tools .search { flex-basis: 185px; min-width: 135px; }
}
@media(max-width:850px) {
  .inbound-page .inbound-tools { flex-wrap: wrap; }
  .inbound-page .inbound-tools .search { flex: 1 1 180px; }
  .inbound-page .batch-rail { grid-auto-columns: 182px; }
}
@media(max-width:640px) {
  .inbound-page .inbound-table { min-width: 0; }
  .inbound-page .inbound-table :is(th,td):is(:nth-child(3),:nth-child(4)) { display: none; }
  .inbound-page .inbound-table th:nth-child(1) { width: 72%; }
  .inbound-page .inbound-table th:nth-child(2) { width: 28%; }
  .inbound-page .inbound-table :is(th,td) { padding: 8px; }
  .inbound-page .product-thumb,.inbound-page .inbound-thumb { width: 40px; height: 40px; }
  .inbound-page .inbound-product { gap: 8px; }
  .inbound-page .inbound-product .product-name { font-size: 14px; }
  .inbound-page .inbound-product-meta { display: block; }
  .inbound-page .inbound-product-meta > span { display: block; }
  .inbound-page .inbound-list-heading { display: flex; }
  .inbound-page .filter-tabs { margin-left: 0; }
}
