@media screen {
 .product-catalog {overflow-wrap:anywhere}
 .product-catalog .catalog-filters {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 .cabinet-content #app .product-catalog form.catalog-filters {max-width:none}
 .product-catalog .catalog-query {grid-column:1/-1}
 .product-catalog .catalog-filters .catalog-actions {grid-column:1/-1;margin:0}
 .product-catalog th:first-child {white-space:nowrap;min-width:40px}
 .cabinet-content main .product-catalog .catalog-name {background:transparent;border:0;border-radius:0}
 .product-catalog label {display:flex;flex-direction:column;gap:6px}
 .product-catalog input,.product-catalog select {width:100%;box-sizing:border-box}
 .product-catalog .catalog-actions {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}
 .product-catalog table {width:100%;border-collapse:collapse;background:var(--cabinet-surface,#fff);font-size:14px}
 .product-catalog th {text-align:left;font-size:13px;color:var(--cabinet-muted);font-weight:600}
 .product-catalog td,.product-catalog th {padding:10px 8px;border-bottom:1px solid var(--cabinet-border);vertical-align:middle}
 .product-catalog tr:hover,.product-catalog tr:focus-within {background:#edf1f6}
 .product-catalog .catalog-name {border:0;background:transparent;padding:0;text-align:left;min-height:44px;color:var(--cabinet-ink);font-weight:600}
 .product-catalog td small {display:block;color:var(--cabinet-muted)}
 .product-catalog .catalog-picture {width:80px}
 .cabinet-content main .product-catalog .catalog-picture button {padding:0;width:64px;height:64px;min-width:64px;border:0;background:#f3f5f9;border-radius:10px;overflow:hidden;display:block}
 .product-catalog .catalog-picture img {display:block;width:64px;height:64px;object-fit:contain;border-radius:10px}
 .catalog-no-photo {display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:10px;background:#f3f5f9;color:#8793a5;font-size:11px;flex-shrink:0}
 .catalog-no-photo svg {width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.4}
 .cabinet-content main .product-catalog .catalog-name {display:block;width:100%;padding:0;margin:0;min-height:44px;text-align:left;line-height:1.4}
 .product-catalog td small {margin-top:3px;line-height:1.4}
 .cabinet-content main .product-catalog .catalog-issue {color:#80561e}
 .product-catalog td[data-label="Размер"] {font-weight:600;white-space:nowrap}
 .product-catalog label.catalog-attention {flex-direction:row;align-items:center;gap:8px}
 .product-catalog .catalog-attention input {width:20px;height:20px}
 .catalog-dialog .ow-candidates {display:grid;gap:8px;margin:16px 0}
 .catalog-dialog .ow-candidates button {display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;text-align:left;margin:0;width:100%;white-space:normal}
 .catalog-choice-picture img {display:block;width:64px;height:64px;object-fit:contain;border-radius:10px}
 .catalog-dialog label {display:grid;gap:8px;margin:12px 0}
 .catalog-dialog input,.catalog-dialog select {max-width:100%;width:100%;box-sizing:border-box}
 .catalog-status {font-size:13px;color:var(--cabinet-muted);display:inline-block}
 .catalog-status.matched {color:#236746}
 .catalog-status.review {color:#9a3c27}
 .catalog-status.unmatched {color:#80561e}
 .catalog-dialog {box-sizing:border-box;width:min(700px,calc(100vw - 24px));max-height:85vh;overflow:auto;padding:24px;border:1px solid var(--cabinet-border);border-radius:14px;color:var(--cabinet-ink);background:white;overflow-wrap:anywhere}
 .catalog-dialog button {min-height:44px;margin:6px 8px 6px 0}
 .catalog-large {display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:16px auto}
}
@media screen and (max-width:1100px) {
 .product-catalog .catalog-filters {grid-template-columns:1fr}
 .product-catalog thead {display:none}
 .product-catalog tbody {display:block}
 .product-catalog tr {display:grid;grid-template-columns:64px minmax(0,1fr);gap:4px 12px;border-bottom:1px solid var(--cabinet-border);padding:16px 12px}
 .product-catalog td {display:flex;justify-content:space-between;gap:12px;border:0;padding:6px 0}
 .product-catalog td[data-label]::before {content:attr(data-label);color:var(--cabinet-muted);font-size:13px;min-width:65px}
 .product-catalog td[data-label="Товар"] {display:block;grid-column:2;grid-row:1;min-width:0}
 .product-catalog td[data-label="Товар"]::before {display:none}
 .product-catalog .catalog-picture {width:64px;grid-column:1;grid-row:1;padding:0}
 .product-catalog td[data-label]:not([data-label="Товар"]) {grid-column:1/-1}
}

@media screen {
 .catalog-dialog {font-family:Inter,system-ui,sans-serif;font-size:15px;color:var(--text,#243047);width:min(720px,calc(100vw - 24px));max-height:90dvh;padding:24px;box-sizing:border-box;overflow:auto;border-radius:14px;overflow-wrap:anywhere}
 .catalog-dialog h2 {font-size:22px;margin:20px 0 8px}
 .catalog-dialog h3 {font-size:17px;margin:0 0 12px}
 .catalog-dialog h4 {font-size:15px;margin:16px 0 8px}
 .catalog-dialog p {line-height:1.6;margin:10px 0}
 .catalog-dialog button,.catalog-dialog input {font:inherit;min-height:44px;border-radius:10px}
 .catalog-dialog button {padding:10px 16px}
 .catalog-dialog .primary {background:#4964bd;color:white;border-color:#4964bd}
 .cr-section,.cr-candidate {border:1px solid #e1e6ef;border-radius:12px;padding:16px;margin:16px 0}
 .cr-warning {padding:12px 16px;background:#fff3d4;border-left:4px solid #c18621;border-radius:8px;color:#725017}
 .cr-success {padding:16px;background:#e0f3e8;color:#246549;border-radius:10px}
 .cr-photo {width:72px;height:90px;object-fit:contain;float:right;margin:0 0 12px 12px;border-radius:10px}
 .cr-step {color:#657188;font-size:13px}
 .cr-search {display:flex;align-items:end;gap:12px;margin:20px 0}
 .cr-search label {flex:1;display:grid;gap:8px}
 .cr-search input {width:100%;box-sizing:border-box}
 .cr-footer {display:flex;justify-content:space-between;gap:12px;position:sticky;bottom:-24px;background:white;padding:16px 0;margin-top:20px;border-top:1px solid #e1e6ef}
 .cr-reasons {display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
 .cr-reasons a {padding:10px 12px;border:1px solid #e1e6ef;border-radius:10px;text-decoration:none;color:#243047;background:white}
 .cr-reasons a[aria-current] {border-color:#4964bd;background:#edf0fa}
 .cr-bulk {display:flex;align-items:center;justify-content:space-between;gap:16px}
 @media(max-width:560px){.catalog-dialog{padding:16px}.cr-search,.cr-footer,.cr-bulk{flex-direction:column;align-items:stretch}.cr-footer{bottom:-16px}.cr-search label{width:100%}}
}
@media screen { .catalog-dialog [hidden] {display:none!important} }

@media screen {
 .cr-picture {display:flex;align-items:center;justify-content:center;flex:none;float:right;width:88px;height:104px;margin:0 0 12px 12px;background:#f3f5f9;border-radius:10px;overflow:hidden}
 .cr-picture img {width:100%;height:100%;object-fit:contain}
 .cr-no-photo {font-size:12px;text-align:center;color:#657188;padding:8px}
 .cr-candidate,.cr-section {display:flow-root}
 .cr-product-head {display:flex;align-items:center;gap:16px}
 .cr-product-head .cr-picture {float:none;margin:0}
 .cr-product-head h2 {margin:0}
 @media(max-width:560px){.cr-picture{width:68px;height:84px}.cr-product-head h2{font-size:19px}}
}
@media screen {
  #order-evidence-filter {display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0}
  #order-evidence-filter label {display:flex;flex-direction:column;gap:6px;flex:1 1 180px;min-width:0;margin:0}
  #order-evidence-filter select {width:100%;height:44px;margin:0;box-sizing:border-box}
  #order-evidence-filter button {height:44px;margin:0}
}
