/* Закупка ГУПР: запросы на пополнение, партии, заявки поставщикам.
   Стиль — общий с контурами «Продажи»/«Транспортировка»: табы .tabs/.tab,
   кнопки .btn, фильтры .gt-filters, таблица в карточке .gt-queue. */

.rs-page { max-width: 1180px; }

/* Шапка страницы с кнопками справа */
.rs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.rs-head__actions { display: flex; gap: 8px; flex-shrink: 0; }
.rs-new { flex-shrink: 0; }

/* Колонка «Нужно» + «Выбрать все» в разборе */
.rs-needhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.rs-needhead .rs-stock__head { margin-bottom: 0; }
.rs-selall { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: none; letter-spacing: 0; cursor: pointer; }

/* Подсказка режима разбора */
.rs-razbor-hint { margin: -4px 0 12px; padding: 8px 12px; border: 1px solid #bfdbfe; border-radius: 8px; background: #eff6ff; color: #1e3a8a; font-size: 12px; }

/* Верхние вкладки-виды: По заявкам | По товарам | По складам */
.rs-viewtabs { margin: 6px 0 14px; }
.rs-viewtabs .tab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; font-family: inherit; }
.rs-viewtabs .tab--active { border-bottom-color: var(--green); }

/* Фильтры: Способ | Статус | Склад | Производитель | Группировка, поиск — на всю строку */
.rs-filters { grid-template-columns: auto 150px 190px 190px 170px; align-items: end; }
.rs-filters__search { grid-column: 1 / -1; }

/* Заголовок группы при группировке по справочнику */
.rs-grouprow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--bg-stripe); border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 700; }
.rs-grouprow .rs-muted { font-weight: 600; }
.rs-grouprow--sub { padding-left: 22px; font-size: 11.5px; font-weight: 600; color: var(--text-secondary); }

/* Строки-таблицы */
.rs-row { display: grid; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 13px; }
.rs-row:last-child { border-bottom: 0; }
a.rs-row--link { color: inherit; text-decoration: none; }
a.rs-row--link:hover { background: var(--green-subtle); }
.rs-row--head { padding-top: 7px; padding-bottom: 7px; background: var(--bg-hover); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; color: var(--text-muted); }
.rs-row--off { opacity: .55; }
.rs-row--check { cursor: pointer; }
.rs-row > :nth-child(1) { min-width: 0; }
.rs-col-id { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.rs-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rs-muted { color: var(--text-muted); font-size: 11.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-method { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rs-method .rs-avail { white-space: normal; }
.rs-method .rs-muted { white-space: normal; }
.rs-actions { text-align: right; }

/* Сетки колонок под конкретные таблицы */
.rs-row--req { grid-template-columns: 105px 1.4fr 1fr 100px 100px 190px 130px; }
.rs-row--batch { grid-template-columns: 150px 1.6fr 120px 120px 110px; }
.rs-row--ord { grid-template-columns: 150px 1.4fr 100px 90px 120px 120px 130px; }
.rs-row--olines { grid-template-columns: 1.6fr 90px 90px 90px 100px 110px 1fr 40px; }
.rs-row--lines { grid-template-columns: 28px 1.6fr 150px 110px 1.2fr 1fr 40px; }
.rs-row--link { cursor: pointer; }
.rs-check { width: 15px; height: 15px; accent-color: var(--green); cursor: pointer; flex-shrink: 0; }
.rs-col-id__top { display: flex; align-items: center; gap: 6px; }
.rs-row--sup { grid-template-columns: 1.8fr 80px 110px 70px 1fr 110px; }
.rs-row--whi { grid-template-columns: 1.7fr 140px 130px 150px 210px; }
.rs-row--bl { grid-template-columns: 1.6fr 110px 150px 90px 110px 110px 150px 40px; align-items: center; }
.rs-row--tr { grid-template-columns: 145px minmax(170px, 1fr) minmax(170px, 1fr) 80px 95px 95px 85px; }
.rs-row--whi--sel { grid-template-columns: 26px 1.7fr 140px 130px 150px 210px; }

/* Вид «по складам»: группа = склад-получатель, строки = товары */
.rs-wh { border-bottom: 1px solid var(--border); }
.rs-wh:last-child { border-bottom: 0; }
.rs-wh__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; background: var(--bg-hover); }
.rs-wh__name { min-width: 0; }
.rs-wh__name b { font-size: 13px; }
.rs-wh__name .rs-muted { margin-top: 1px; }
.rs-wh .rs-row { padding-left: 22px; }
.rs-whi__name { min-width: 0; }
.rs-whi__name b { font-size: 13px; }
.rs-whi__name .rs-muted { margin-top: 1px; }

/* Статусы — пилюли, как gt-state/gl-chip */
.rs-st { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; white-space: nowrap; width: fit-content; }
.rs-st--new { color: #92400e; background: var(--orange-light); }
.rs-st--batch { color: var(--blue); background: var(--blue-light); }
.rs-st--ordered { color: #5b21b6; background: #ede9fe; }
.rs-st--done { color: var(--green-dark); background: var(--green-light); }
.rs-st--muted { color: var(--text-secondary); background: var(--bg-hover); }

.rs-urgent { display: inline-flex; padding: 1px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 700; color: var(--red-dark); background: var(--red-light); width: fit-content; }

/* Подсказка производителя из 1С */
.rs-sup { display: inline-block; font-size: 11px; color: var(--blue); background: var(--blue-light); border-radius: 999px; padding: 1px 7px; width: fit-content; }
.rs-req__line .rs-sup, .gi-pick__row .rs-sup { margin-left: 4px; }

/* Колонка производителя в таблицах */
.rs-prodcol { font-size: 12px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; }

/* Маленькая кнопка удаления строки (×) */
.rs-x { width: 26px; height: 26px; padding: 0; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-card); color: var(--text-muted); font-size: 14px; line-height: 1; cursor: pointer; }
.rs-x:hover { color: var(--red-dark); border-color: #f0b4ae; background: var(--red-light); }

/* Формы */
.rs-formwrap { margin: 0 0 14px; }
.rs-hidden { display: none !important; }
.rs-form { background: var(--bg-hover); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px; }
.rs-form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 14px; }
.rs-form-grid label, .rs-cardhead label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text-secondary); }
.rs-form-grid input, .rs-form-grid select, .rs-lineform input, .rs-cardhead input, .rs-cardhead select, .rs-pickbar input, .rs-pickbar select { font-size: 13px; padding: 6px 8px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.rs-form-grid input:focus, .rs-form-grid select:focus, .rs-lineform input:focus, .rs-cardhead input:focus, .rs-cardhead select:focus, .rs-pickbar input:focus, .rs-pickbar select:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-light); outline: none; }
.rs-form-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.rs-form-error { color: var(--red-dark); font-size: 12px; }
.rs-lineform { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.rs-lineform input { width: 160px; }

.rs-cardhead { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; font-size: 13px; }
.rs-cardhead label { flex-direction: row; align-items: center; gap: 6px; }
.rs-h2 { font-size: 14px; font-weight: 600; margin: 18px 0 8px; }
.rs-pickbar { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; font-size: 12px; color: var(--text-secondary); }
.rs-pickbar label { display: flex; flex-direction: column; gap: 4px; }
.rs-price { width: 90px; font-size: 13px; padding: 4px 6px; border: 1px solid var(--border); border-radius: var(--radius); }
.rs-price:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-light); outline: none; }
.rs-qty { width: 100px; }

/* Запрос в карточке партии: шапка с галочкой + состав */
.rs-req { border-bottom: 1px solid var(--border); padding: 6px 12px; }
.rs-req:last-child { border-bottom: 0; }
.rs-req__head { display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; flex-wrap: wrap; }
.rs-req__lines { margin: 4px 0 6px 26px; }
.rs-req__line { display: flex; gap: 10px; font-size: 12px; padding: 2px 0; align-items: baseline; flex-wrap: wrap; }
.rs-req__line span:first-child { flex: 1; min-width: 200px; }

/* Сегментированный переключатель (Вид, Способ) */
.rs-seg { display: inline-flex; background: var(--bg-hover); border-radius: 7px; padding: 3px; gap: 2px; }
.rs-seg__btn { border: 0; background: transparent; font-size: 12px; line-height: 16px; padding: 6px 12px; border-radius: 5px; cursor: pointer; color: var(--text-secondary); white-space: nowrap; }
.rs-seg__btn:hover { color: var(--text-primary); }
.rs-seg__btn--active { background: var(--bg-card); color: var(--text-primary); font-weight: 600; box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }

/* Кликабельный заголовок колонки «К дате» — сортировка */
.rs-thsort { border: 0; background: transparent; padding: 0; font: inherit; text-transform: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; }
.rs-thsort:hover { color: var(--green); }

/* Вид «по товарам» */
.rs-item { border-bottom: 1px solid var(--border); }
.rs-item:last-child { border-bottom: 0; }
.rs-item__head { display: grid; grid-template-columns: 20px minmax(220px, 1.6fr) 150px 190px minmax(180px, 1fr); align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer; font-size: 13px; }
.rs-item__head:hover { background: var(--green-subtle); }
.rs-item__head .rs-num { text-align: right; }
.rs-item__head .rs-muted { white-space: normal; }
.rs-short { color: var(--red-dark); font-weight: 700; }
.rs-ok { color: var(--green-dark); font-weight: 700; }
.rs-needhead__actions { display: flex; align-items: center; gap: 8px; }

/* Перемещение по товару: по строке на склад-получателя */
.rs-prodtr { display: flex; flex-direction: column; gap: 10px; }
.rs-prodtr__row { display: grid; grid-template-columns: 160px 1fr; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.rs-prodtr__row:last-child { border-bottom: 0; }
.rs-prodtr__dest b { display: block; font-size: 13px; }
.rs-prodtr__src { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; color: var(--text-muted); }
.rs-item__chev { color: var(--text-muted); }
.rs-item__name { min-width: 0; }
.rs-item__total { font-weight: 600; }
.rs-item__body { border-top: 1px dashed var(--border); padding: 8px 12px 12px; }
/* Раскрытые позиции идут той же сеткой, что и строка товара: килограммы
   стоят ровно под «Потребностью», производитель — под «Производителем». */
.rs-needrow { display: grid; grid-template-columns: 20px minmax(220px, 1.6fr) 150px 190px minmax(180px, 1fr); gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 12px; }
.rs-needrow:last-child { border-bottom: 0; }
.rs-needrow__src { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; min-width: 0; }
.rs-needrow__qty { text-align: right; font-weight: 600; }
.rs-item__stockblock { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border); }
.rs-item__stockblock .rs-stock__head { margin-bottom: 6px; }

/* Доска остатков: раскрытие «по товарам» и панель в карточке запроса */
.rs-stock__head { margin-bottom: 4px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; color: var(--text-muted); }
.rs-stock__row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: baseline; padding: 4px 0; border-bottom: 1px dashed var(--border); font-size: 12px; }
.rs-stock__row:last-child { border-bottom: 0; }
.rs-stock__row--full { background: var(--green-subtle); margin: 0 -6px; padding-left: 6px; padding-right: 6px; border-radius: 6px; border-bottom-color: transparent; }
.rs-stock__row--head { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; color: var(--text-muted); }

/* Остатки по сети внутри состава запроса */
.rs-sb__cities { padding: 4px 14px 8px 26px; }
.rs-sb__row { display: grid; grid-template-columns: minmax(140px, 1fr) 80px 80px 80px 100px 90px 110px; gap: 10px; align-items: baseline; padding: 5px 8px; border-bottom: 1px dashed var(--border); font-size: 12.5px; }
.rs-sb__row:last-child { border-bottom: 0; }
.rs-sb__row--head { padding-top: 2px; padding-bottom: 2px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; color: var(--text-muted); }
.rs-sb__row--full { background: var(--green-subtle); border-radius: 6px; border-bottom-color: transparent; }
.rs-sb__stock, .rs-sb__res { color: var(--text-muted); }

/* Состав запроса: настоящая таблица, чтобы колонки не плыли */
.rs-lines-wrap { border: 1px solid var(--border); border-radius: 11px; overflow: hidden; background: var(--bg-card); }
.rs-lines { table-layout: auto; }
.rs-lines .tbl-th { vertical-align: middle; white-space: nowrap; }
.rs-lines .tbl-td { vertical-align: top; }
.rs-lines .tbl-row:hover { background: var(--green-subtle); }
.rs-lines__chk { width: 30px; padding-left: 12px; padding-right: 4px; }
.rs-lines__qty { width: 120px; white-space: nowrap; }
.rs-lines__act { width: 44px; text-align: right; }
.rs-lines .rs-muted { white-space: normal; }
.rs-lines__item { max-width: 340px; white-space: normal; }
.rs-lines__note { max-width: 220px; white-space: normal; }
.rs-lines .rs-prodcol { max-width: 190px; }
.rs-lines__stockcol { width: 200px; white-space: nowrap; }
.rs-lines__stock { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 2px 9px; border: 0; border-radius: 999px; font-size: 11px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.rs-lines__stock span:first-child { overflow: hidden; text-overflow: ellipsis; }
.rs-lines__stock--ok { color: var(--green-dark); background: var(--green-light); }
.rs-lines__stock--part { color: #92400e; background: var(--orange-light); }
.rs-lines__stock--none { color: var(--text-muted); background: var(--bg-hover); }
.rs-lines__stock:disabled { cursor: default; }
.rs-lines__stock:not(:disabled):hover { filter: brightness(.96); }
.rs-lines__chev { font-size: 9px; opacity: .7; }
.rs-lines__detail > td { padding: 0 14px 8px; background: var(--bg-hover); border-bottom: 1px solid var(--border); }
.rs-lines__detail .rs-sb__cities { padding: 4px 4px 4px 8px; }
.rs-lines__group > td { padding: 7px 14px; background: var(--bg-stripe); border-bottom: 1px solid var(--border); }
.rs-lines__group > td > span:first-child { font-size: 12px; font-weight: 700; }
.rs-lines__group-meta { margin-left: 12px; color: var(--text-muted); font-size: 11.5px; font-weight: 600; }

/* Панель решения по выбранным позициям в карточке */
.rs-cardbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--border); background: var(--bg-hover); }
.rs-cardbar .rs-muted { margin-right: auto; display: inline; }

/* Приёмка на склад: факт по строкам заявки */
.rs-receive { max-height: 60vh; overflow-y: auto; }
.rs-receive__row { display: grid; grid-template-columns: 1fr 110px 24px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 12.5px; }
.rs-receive__row:last-of-type { border-bottom: 0; }
.rs-receive__name b { display: block; }
.rs-receive__inp { text-align: right; }

/* Выбор группировки в карточке запроса */
.rs-cardgroup { align-items: center; }
.rs-cardgroup__lbl { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-muted); }
.rs-cardgroup__lbl .field__select { width: auto; padding: 4px 8px; font-size: 12px; }

/* Разделение запроса: список позиций с галочками */
.rs-split { display: flex; flex-direction: column; }
.rs-split__row { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.rs-split__row:last-child { border-bottom: 0; }
.rs-split__row:hover { background: var(--green-subtle); }

/* Чип доступности: где можно закрыть запрос */
.rs-avail { display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 600; width: fit-content; white-space: nowrap; }
.rs-avail--ok { color: var(--green-dark); background: var(--green-light); }
.rs-avail--part { color: #92400e; background: var(--orange-light); }
.rs-avail--none { color: var(--text-muted); background: var(--bg-hover); }
.rs-avail--tr { color: var(--blue); background: var(--blue-light); }

/* Окно «Переместить»: выбор отправителя */
.rs-tfrom { display: flex; flex-direction: column; gap: 6px; }
.rs-tfrom__row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; font-size: 13px; }
.rs-tfrom__row:hover { border-color: var(--green); }
.rs-tfrom__row:has(input:checked) { border-color: var(--green); background: var(--green-subtle); }
.rs-tfrom__row input { accent-color: var(--green); }
.rs-batchrow { align-items: flex-start; }
.rs-batchrow > input { margin-top: 3px; }
.rs-batchrow__main { flex: 1; min-width: 0; }
.rs-batchrow__title { font-size: 13px; }
.rs-batchrow__title span { color: var(--text-muted); }
.rs-batchrow .rs-muted { white-space: normal; font-size: 11.5px; margin-top: 2px; }

/* Действия над выбранными запросами в тулбаре */
.rs-pickactions { align-items: center; }
.rs-pickactions .rs-muted { display: inline; }

@media (max-width: 900px) {
}

/* Грузовичок «Запросить пополнение» в карточке заявки продаж + поп-ап */
.gl-boxbtn { margin-top: 4px; }
.gl-box { display: flex; flex-direction: column; gap: 12px; min-width: 380px; }
.gl-box__item b { font-size: 14px; }
.gl-box__row { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text-secondary); }

@media (max-width: 900px) {
  .rs-filters { grid-template-columns: 1fr 1fr; }
  .rs-filters__search { grid-column: 1 / -1; }
  .gt-table { overflow-x: auto; }
  .rs-row--req, .rs-row--batch, .rs-row--ord, .rs-row--olines, .rs-row--lines, .rs-row--sup, .rs-row--whi, .rs-row--whi--sel, .rs-row--bl, .rs-row--tr { min-width: 980px; }
}

/* Потребность по товарам (Продажи → По товарам): повар/логист собирает
   нехватки по нескольким заявкам в запрос на пополнение. */
.gn-toggle { display: flex; flex-direction: column; gap: 2px; }
.gn-collect { display: flex; flex-direction: column; gap: 12px; min-width: 460px; }
.gn-collect__row { display: grid; grid-template-columns: 1fr 260px; gap: 14px; align-items: end; padding: 10px 0; border-bottom: 1px solid var(--border); }
.gn-collect__row:last-of-type { border-bottom: 0; }
.gn-collect__row > div > b { display: block; font-size: 13px; }
.gn-collect__row .gl-fld { margin: 0; }


/* Карточка запроса: куда ушло снабжение */
.rs-supply { margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); }
.rs-supply__row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 5px 0; border-bottom: 1px dashed var(--border); }
.rs-supply__row:last-child { border-bottom: 0; }
.rs-supply__row .rs-muted { display: inline; white-space: normal; }
.rs-props__wide { max-width: none !important; flex-basis: 100%; }
.rs-props__wide .field__textarea { width: 100%; min-height: 72px; resize: vertical; }
.rs-props__wide dd { margin-top: 2px; }

.rs-needcell { display: flex; flex-direction: column; gap: 3px; }
.rs-needcell .rs-avail { margin-top: 1px; }

/* Партия: сформированные ЗП с фактом приёмки */
.rs-row--bord { grid-template-columns: 150px 1.3fr 80px 100px 100px 110px 110px 1.3fr 100px; align-items: center; }

/* Карточка заявки поставщику: ссылки, статусы, доставка */
.rs-ordnav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.rs-ordnav .gi-back { margin: 0; }
.rs-ordhead { align-items: center; }
.rs-ordprops { margin-bottom: 14px; }

/* Приёмка: машина и рейс в одном экране */
.gr-vehicle { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); }
.gr-vehicle > div { display: flex; flex-direction: column; gap: 2px; min-width: 150px; }
.gr-vehicle span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .035em; color: var(--text-muted); font-weight: 800; }
.gr-vehicle b { font-size: 13px; }

/* Карточка запроса: «Потребность» и «Работа» — компактной сеткой,
   комментарий — на всю ширину; поля не растягиваются на полэкрана. */
.rs-page .gi-props__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.rs-page .gi-props__list > div { max-width: none; min-width: 0; }
.rs-page .gi-props__list .field__select,
.rs-page .gi-props__list .field__input { max-width: 320px; }
.rs-page .gi-props__list .rs-props__wide { grid-column: 1 / -1; }

/* Фильтры «Потребность по товарам»: даты и наличие в одной сетке,
   поиск и действия — отдельной строкой. */
.gn-filters { gap: 10px; }
.gn-filters__row { display: grid; grid-template-columns: minmax(220px, 1.2fr) 170px 170px minmax(280px, auto); gap: 12px 16px; align-items: end; }
.gn-filters__avail .rs-seg { width: fit-content; }
.gn-filters__actions { display: grid; grid-template-columns: minmax(260px, 1fr) auto auto auto; gap: 10px; align-items: center; }
@media (max-width: 900px) {
  .gn-filters__row { grid-template-columns: 1fr 1fr; }
  .gn-filters__actions { grid-template-columns: 1fr; }
}

/* Куда дальше пошло — колонка в составе запроса, без чипов в шапке */
.rs-lines__supply { min-width: 180px; }
.rs-lines__supply .rs-avail { white-space: normal; margin: 0 2px 2px 0; }

.rs-transfer-filters { grid-template-columns: minmax(150px, .7fr) minmax(220px, 1fr) minmax(220px, 1fr); }
@media (max-width: 800px) { .rs-transfer-filters { grid-template-columns: 1fr; } }
