s-app-nav:not(:defined) { display: none; }
[hidden] { display: none !important; }
.home-options, .split, .supply-split { display: grid; gap: 16px; align-items: start; }
.home-options { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.split { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.supply-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.actions > .location-picker { flex: 1; min-width: 155px; max-width: 365px; }
.count-controls { margin-block-end: 16px; }
#notice:not(:empty) { margin-block-end: 12px; }
.scanned-list { max-height: min(52vh, 570px); min-height: 205px; overflow: auto; }
.product-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 4px 8px; min-height: 52px; gap: 8px; border-block-end: 1px solid #e3e3e3; }
.counted-row.selected { background: #eaf4ff; border-radius: 8px; }
.product-row s-button { min-width: 0; overflow-wrap: anywhere; }
.expired-quantity { inline-size: 7rem; }
.quantity { font-weight: 650; }
.quantity { text-align: end; font-variant-numeric: tabular-nums; }
.quantity-display { display: grid; grid-template-columns: auto 1fr auto; align-items: center; text-align: center; gap: 8px; }
.quantity-display output { font-size: 40px; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.15; }
.keypad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.key-label { display: grid; min-height: 36px; align-items: center; font-size: 17px; font-weight: 650; }
.adjust-key { min-width: 28px; }
.counted-row { display: block; border-block-end: 1px solid #e3e3e3; }
.counted-row-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; padding: 4px 12px; }
.row-title { overflow-wrap: anywhere; }
.review-table { max-height: 52vh; overflow: auto; }
.results { max-height: 305px; overflow: auto; }
.supply-list { display: grid; gap: 12px; max-height: 52vh; overflow: auto; }
.supply-item { border-block-end: 1px solid #e3e3e3; padding-block-end: 12px; }
.supply-item .actions > .item-quantity { width: 90px; }
.supply-item .actions > .item-details { flex: 1; min-width: 140px; }
.supply-split + * { margin-block-start: 16px; }
.order-details { padding-block: 8px; }
.order-details summary { cursor: pointer; }
@media (max-width: 560px) {
  .home-options, .split, .supply-split { grid-template-columns: minmax(0, 1fr); }
  .scanned-list { min-height: 110px; max-height: 28vh; }
}
