body { background: #f5f6f8; }
.table td, .table th { vertical-align: middle; }
.table-orders { font-size: .9rem; }
.table-orders td.item { max-width: 15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.order-no { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; white-space: nowrap; }
.status { font-size: .78rem; font-weight: 600; white-space: nowrap; }
.status-in_delivery { background: #e7f1ff; color: #0a58ca; }
.status-partial { background: #fff3cd; color: #8a6100; }
.status-ready { background: #d1e7dd; color: #0f5132; }
.status-done { background: #e9ecef; color: #495057; }
.status-return, .status-cancelled { background: #f8d7da; color: #842029; }
.debt { color: #b02a37; font-weight: 600; }
.card-kv dt { font-weight: 500; color: #6c757d; }
.client-preview { white-space: pre-line; background: #eef6ff; border-left: 4px solid #2aabee; }
.pickup-search { font-size: 1.4rem; }
.big-qty { font-size: 1.6rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 576px) { .big-qty { font-size: 1.3rem; } }
@media print {
  body { background: #fff; }
}
.item-suggest { position: absolute; z-index: 20; left: .25rem; right: .25rem; max-height: 22rem; overflow-y: auto; }
.th-sort a { color: inherit; text-decoration: none; white-space: nowrap; }
.th-sort a:hover { text-decoration: underline; }
.filter-row th { padding: .25rem; font-weight: 400; }
.filter-row .form-control, .filter-row .form-select { font-size: .8rem; padding: .15rem .35rem; min-width: 4rem; }
.size-0 { background: #e9ecef; color: #343a40; }
.size-1 { background: #fff3cd; color: #8a6100; }
.size-2 { background: #fd9a4d; color: #5a2a00; }
.parcel-stored { background: #e7f1ff; color: #0a58ca; }
.parcel-picked { background: #1f6f43; color: #fff; }
.parcel-cancelled { background: #f8d7da; color: #842029; }
.extra-fields .form-label { color: #6c757d; }
.extra-fields .form-control, .extra-fields .form-select { background-color: #fafbfc; }
/* Выпадающие фильтры с галочками в списке заказов */
.pick .form-select { font-size: .8rem; padding: .15rem 1.6rem .15rem .35rem; min-width: 6rem; max-width: 11rem; }
.pick .form-select.picked { border-color: #0d6efd; background-color: #eef4ff; font-weight: 600; }
.pick-menu { width: 16rem; font-size: .9rem; }
.pick-list { max-height: 15rem; overflow-y: auto; overscroll-behavior: contain; }
.pick-opt { display: flex; align-items: center; padding: .3rem .35rem; border-radius: .25rem; cursor: pointer; margin: 0; font-weight: 400; }
.pick-opt:hover { background: #f1f3f5; }
.pick-opt[hidden] { display: none; }
.status-processing { background: #fff3cd; color: #8a5a00; }
.told-yes { color: #198754; font-weight: 700; font-size: 1.1rem; }
.told-no { color: #b02a37; font-weight: 600; font-size: .85rem; white-space: nowrap; }
