/* Full-width workspace; compact editable catalog without hidden inputs. */
.page { width:calc(100% - 40px); max-width:none; }
.topbar { padding-right:20px; padding-left:20px; }
.page > * { min-width:0; }
.catalog-form { padding:0; }
.catalog-price-table { width:100%; min-width:0; table-layout:fixed; }
.catalog-price-table th,.catalog-price-table td { min-width:0; white-space:normal; overflow-wrap:anywhere; }
.catalog-price-table th:nth-child(1),.catalog-price-table td:nth-child(1) { width:19%; }
.catalog-price-table th:nth-child(2),.catalog-price-table td:nth-child(2) { width:6%; }
.catalog-price-table th:nth-child(3),.catalog-price-table td:nth-child(3),
.catalog-price-table th:nth-child(4),.catalog-price-table td:nth-child(4),
.catalog-price-table th:nth-child(5),.catalog-price-table td:nth-child(5),
.catalog-price-table th:nth-child(6),.catalog-price-table td:nth-child(6) { width:8%; }
.catalog-price-table th:nth-child(7),.catalog-price-table td:nth-child(7) { width:18%; }
.catalog-price-table th:nth-child(8),.catalog-price-table td:nth-child(8),
.catalog-price-table th:nth-child(9),.catalog-price-table td:nth-child(9) { width:5%; }
.catalog-price-table th:nth-child(10),.catalog-price-table td:nth-child(10) { width:7%; }
.catalog-price-table th:nth-child(11),.catalog-price-table td:nth-child(11) { width:8%; }
.catalog-price-table input,.catalog-price-table select { width:100%; min-width:0; max-width:100%; }
.catalog-price-table .catalog-product { min-width:0; max-width:none; }
.catalog-price-table .catalog-product strong { max-width:100%; white-space:normal; }
.catalog-price-table .catalog-product > small { display:block; max-width:100%; }
.catalog-price-table .catalog-price-control { min-width:0; }
.catalog-price-table .column-filter-actions { flex-wrap:wrap; }
.catalog-price-table .input-meta,.catalog-price-table .catalog-readonly small { font-size:11px; max-width:100%; }
.catalog-price-table .catalog-price-control .badge { font-size:11px; max-width:100%; white-space:normal; }
.catalog-price-details { margin-top:3px; font-size:12px; }
.catalog-price-details summary { color:var(--green); cursor:pointer; font-weight:650; }
.catalog-price-details small { display:block; margin-top:4px; font-size:12px; line-height:1.35; }
.catalog-form .form-actions { padding:12px; }

@media (min-width:1101px) {
  .shipment-detail-table,.shipment-table { width:100%; min-width:0; table-layout:fixed; }
  .shipment-detail-table th,.shipment-detail-table td,.shipment-table th,.shipment-table td { min-width:0; white-space:normal; overflow-wrap:anywhere; padding:7px; }
  .shipment-table input,.shipment-table select { min-width:0; width:100%; }
  .shipment-table .column-filter-actions { flex-wrap:wrap; }
  .shipment-detail-table tr > :nth-child(1),.shipment-detail-table tr > :nth-child(2) { width:12%; }
  .shipment-detail-table tr > :nth-child(3) { width:10%; }
  .shipment-detail-table tr > :nth-child(4) { width:7%; }
  .shipment-detail-table tr > :nth-child(5),.shipment-detail-table tr > :nth-child(6) { width:9%; }
  .shipment-detail-table tr > :nth-child(7) { width:11%; }
  .shipment-detail-table tr > :nth-child(8),.shipment-detail-table tr > :nth-child(9) { width:5%; }
  .shipment-detail-table tr > :nth-child(10) { width:20%; }
  .shipment-table tr > :nth-child(1) { width:12%; }
  .shipment-table tr > :nth-child(2),.shipment-table tr > :nth-child(3) { width:14%; }
  .shipment-table tr > :nth-child(4),.shipment-table tr > :nth-child(5),
  .shipment-table tr > :nth-child(6),.shipment-table tr > :nth-child(7) { width:10%; }
  .shipment-table tr > :nth-child(8) { width:20%; }
}

@media (max-width:1100px) {
  .catalog-price-table,.catalog-price-table thead,.catalog-price-table tbody { display:block; }
  .catalog-price-table thead > tr:first-child { display:none; }
  .catalog-price-table tr { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
  .catalog-price-table tbody tr { margin-top:10px; border:1px solid var(--line); border-radius:6px; }
  .catalog-price-table tr > th:nth-child(n),.catalog-price-table tr > td:nth-child(n) { display:block; width:auto; max-width:none; padding:7px; }
  .catalog-price-table tr > td:first-child,.catalog-price-table tr > td:nth-child(7) { grid-column:span 2; }
  .catalog-price-table .column-filter-row > th:empty { display:none; }
  .catalog-price-table td::before,.catalog-price-table .column-filter-row th::before { display:block; margin-bottom:4px; color:var(--muted); font-size:12px; font-weight:600; text-transform:none; letter-spacing:0; }
  .catalog-price-table tr > :nth-child(1)::before { content:"Товар и режим FBO"; }
  .catalog-price-table tr > :nth-child(2)::before { content:"Свой остаток"; }
  .catalog-price-table tr > :nth-child(3)::before { content:"Себестоимость, ₽"; }
  .catalog-price-table tr > :nth-child(4)::before { content:"Минимальная, ₽"; }
  .catalog-price-table tr > :nth-child(5)::before { content:"Оптимальная, ₽"; }
  .catalog-price-table tr > :nth-child(6)::before { content:"Идеальная, ₽"; }
  .catalog-price-table tr > :nth-child(7)::before { content:"Ozon и решение"; }
  .catalog-price-table tr > :nth-child(8)::before { content:"Короб"; }
  .catalog-price-table tr > :nth-child(9)::before { content:"Пошив, дней"; }
  .catalog-price-table tr > :nth-child(10)::before { content:"Объём Ozon"; }
  .catalog-price-table tr > :nth-child(11)::before { content:"Хранение, ₽/шт/сут"; }
  .catalog-price-table td.empty { grid-column:1/-1; }
  .catalog-price-table td.empty::before { content:none; }
  .catalog-exchange { grid-template-columns:minmax(0,1fr); }
  .catalog-exchange-actions { flex-wrap:wrap; min-width:0; }
}
@media (max-width:700px) {
  .page { width:calc(100% - 24px); }
  .topbar { padding-right:12px; padding-left:12px; }
  .catalog-price-table tr { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .catalog-price-table input,.catalog-price-table select { font-size:14px; min-height:36px; }
  .catalog-form .form-actions button { max-width:100%; white-space:normal; }
}
