@media screen {
  body.clothing-interface .product-edit-label {display:inline-flex;align-items:center;gap:5px;color:#244e41;font-size:12px;font-weight:650}
  body.clothing-interface .product-edit-label svg {width:15px;height:15px}
  body.clothing-interface #stock-group-filter {width:190px;min-width:130px;flex:0 1 190px}
  body.clothing-interface .catalog-editor-content #catalog-form {display:block}
  body.clothing-interface .catalog-barcode-row,body.clothing-interface .catalog-group-row {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin:18px 0 8px}
  body.clothing-interface .catalog-name-field {display:grid;gap:7px;margin:18px 0}
  body.clothing-interface .catalog-editor-dialog #catalog-form input:not([type=checkbox]) {width:100%;min-width:0}
  body.clothing-interface :is(.catalog-barcode-row,.catalog-group-row)>label {margin:0;min-width:0}
  body.clothing-interface .catalog-barcode-row>button,body.clothing-interface .catalog-group-row>button {margin-bottom:0}
  body.clothing-interface .catalog-extra-barcodes {display:grid;gap:10px;margin:10px 0}
  body.clothing-interface .catalog-extra-barcode-row {display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:10px}
  body.clothing-interface .catalog-extra-barcode-row button {min-width:0;padding:10px}
  body.clothing-interface .catalog-extra-barcode-row svg {width:18px;height:18px}
  body.clothing-interface .catalog-assortment-control {padding:14px 16px;margin-top:18px;border:1px solid #dce5d6;border-radius:10px;background:#f7f9f4}
  body.clothing-interface .catalog-assortment-control .check {margin:0;font-size:14px;font-weight:650;color:#244e41}
  body.clothing-interface .catalog-assortment-hint {display:block;margin-top:7px;color:#64786b;font-size:12px;line-height:1.65}
  body.clothing-interface .catalog-assortment .catalog-extra-barcode-row {grid-template-columns:minmax(0,1fr) 84px 48px}
  body.clothing-interface .catalog-extra-barcode-row .catalog-variant-lookup {width:auto;min-width:0;padding:8px 12px;gap:6px}
  body.clothing-interface .catalog-extra-barcode-row .catalog-variant-lookup[hidden],body.clothing-interface .catalog-assortment-binding[hidden] {display:none}
  body.clothing-interface .catalog-assortment-binding {min-width:0;padding:10px 12px;margin:8px 0 14px;border-left:3px solid #a7b99e;background:#f6f8f4;border-radius:0 8px 8px 0;overflow-wrap:anywhere}
  body.clothing-interface .catalog-assortment-binding.ready {border-left-color:#6f975c}
  body.clothing-interface .catalog-assortment-binding strong {display:block;font-size:13px;line-height:1.65;color:#244e41;font-weight:650}
  body.clothing-interface .catalog-assortment-binding small {display:block;font-size:11px;line-height:1.7;color:#64786b}
  body.clothing-interface .catalog-assortment-binding.needs-selection {border-left-color:#c8b576;background:#faf8f0}
  body.clothing-interface .register-assortment-dialog {width:min(620px,calc(100vw - 32px));max-height:92dvh;padding:24px;box-sizing:border-box}
  body.clothing-interface .register-assortment-family {margin:0 0 16px;color:#64786b;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
  body.clothing-interface .register-assortment-list {display:grid;gap:10px;max-height:60dvh;overflow-y:auto;overscroll-behavior:contain;padding-right:3px}
  body.clothing-interface #sale-form .register-assortment-dialog button.register-assortment-variant {display:block;width:100%;min-height:76px;padding:14px;border:1px solid #cfdcca;border-radius:9px;background:#fff;color:#263d35;white-space:normal;text-align:left;font:inherit}
  body.clothing-interface #sale-form .register-assortment-dialog button.register-assortment-variant:hover:not(:disabled) {border-color:#789b67;background:#edf4e7;color:#263d35}
  body.clothing-interface #sale-form .register-assortment-dialog button.register-assortment-variant:disabled {background:#f5f6f2;border-color:#e4e8e1;color:#87928b;opacity:1;cursor:not-allowed}
  body.clothing-interface .register-assortment-variant strong {display:block;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
  body.clothing-interface .register-assortment-variant small {display:block;margin-top:6px;color:#64786b;font-size:11px;line-height:1.7;overflow-wrap:anywhere}
  body.clothing-interface .catalog-barcode-add-row {display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:10px 0 14px}
  body.clothing-interface .catalog-barcode-add-row small {flex:1 1 200px;font-size:12px;line-height:1.7}
  body.clothing-interface .catalog-group-create-row {display:flex;align-items:center;gap:12px;padding:12px;background:#f6f8f4;border-radius:9px;margin:12px 0}
  body.clothing-interface .catalog-price-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}
  body.clothing-interface .catalog-price-card {padding:16px;border:1px solid #e4e8e1;border-radius:12px;background:#fafbf8;min-width:0}
  body.clothing-interface .catalog-price-card>small {display:block;margin-top:12px;line-height:1.6}
  body.clothing-interface .catalog-price-card>label:first-child {margin:0}
  body.clothing-interface .catalog-markup {display:grid;gap:7px;margin:16px 0 0}
  body.clothing-interface .catalog-details {padding:12px 0}
  body.clothing-interface .catalog-details .form-grid {margin:14px 0}
  body.clothing-interface .nkt-dialog h2 {padding-right:38px;margin-bottom:16px}
  body.clothing-interface .nkt-dialog .catalog-editor-content {padding:28px 30px}
  body.clothing-interface #nkt-search {display:block;width:100%;min-width:0}
  body.clothing-interface .nkt-connection-note {padding:14px;background:#f5f7f1;border:1px solid #e4e8e1;border-radius:9px;font-size:13px;line-height:1.6;margin-bottom:18px}
  body.clothing-interface .nkt-product-row {display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,180px) auto;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid #e4e8e1}
  body.clothing-interface .nkt-product-row strong {font-size:14px}
  body.clothing-interface .nkt-product-row small {display:block;color:#87928b;margin-top:5px}
  body.clothing-interface .nkt-code {font-size:12px;overflow-wrap:anywhere}
  body.clothing-interface #nkt-form {padding:16px;border:1px solid #cbd9c6;background:#f6f8f4;border-radius:10px;margin:16px 0}
  body.clothing-interface #nkt-save {margin-top:14px}
  body.clothing-interface .catalog-editor-layout {overflow:hidden;display:flex;flex-direction:column}
  body.clothing-interface #catalog-editor-dialog #catalog-form {display:flex;flex-direction:column;max-height:92dvh;min-height:0;padding:0}
  body.clothing-interface #catalog-editor-dialog #catalog-form>.section-head {flex:none;margin:0;padding:26px 84px 22px 30px;border-bottom:1px solid #e4e8e1;background:#fff}
  body.clothing-interface .catalog-editor-body {flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 30px 16px;scrollbar-width:thin}
  body.clothing-interface #catalog-editor-dialog .catalog-editor-actions {flex:none;margin:0;padding:18px 30px;border-top:1px solid #e4e8e1;background:#fff}
  body.clothing-interface .catalog-nkt-results {min-width:0;margin:12px 0;padding:14px;border:1px solid #cfdcca;border-radius:10px;background:#f6f8f4}
  body.clothing-interface .catalog-nkt-results-heading {display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#244e41;font-size:13px;margin-bottom:10px}
  body.clothing-interface .catalog-nkt-results-heading>svg {width:17px;height:17px;flex:none}
  body.clothing-interface .catalog-nkt-results-heading>small {margin-left:auto;color:#64786b;font-size:11px}
  body.clothing-interface .catalog-nkt-results>p {font-size:13px;line-height:1.65;color:#64786b;margin:8px 0}
  body.clothing-interface .catalog-editor-dialog button.catalog-nkt-candidate {display:flex;align-items:center;gap:10px;width:100%;min-height:70px;padding:12px;margin-top:8px;border:1px solid #cfdcca;border-radius:8px;background:#fff;color:#263d35;text-align:left;font:inherit;white-space:normal}
  body.clothing-interface .catalog-editor-dialog button.catalog-nkt-candidate:hover:not(:disabled),body.clothing-interface .catalog-editor-dialog button.catalog-nkt-candidate.selected {border-color:#789b67;background:#edf4e7;color:#263d35}
  body.clothing-interface .catalog-nkt-candidate>span {flex:1;min-width:0}
  body.clothing-interface .catalog-nkt-candidate b {display:block;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
  body.clothing-interface .catalog-nkt-candidate small {display:block;margin-top:4px;font-size:11px;font-weight:500;color:#64786b;overflow-wrap:anywhere;line-height:1.65}
  body.clothing-interface .catalog-nkt-candidate>svg {width:18px;height:18px;flex:none}
  body.clothing-interface .catalog-nkt-source {display:block;font-size:11px;line-height:1.65;color:#64786b;margin-top:12px}
  body.clothing-interface .catalog-nkt-pagination {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:12px;color:#64786b;font-size:12px}
  body.clothing-interface .catalog-nkt-pagination>button {min-height:38px;padding:6px 12px;border:1px solid #cfdcca;border-radius:7px;background:#fff;color:#244e41;font-size:12px}
  body.clothing-interface .catalog-row-error {color:#a34b35}
  body.clothing-interface .nkt-toolbar {display:flex;align-items:center;gap:16px;flex-wrap:wrap}
  body.clothing-interface .nkt-toolbar #nkt-search {flex:1 1 250px}
  body.clothing-interface .nkt-toolbar .check {margin:0;white-space:nowrap;font-size:13px}
  body.clothing-interface .nkt-selection-head {display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
  body.clothing-interface .nkt-selection-head>div {flex:1 1 200px;min-width:0;overflow-wrap:anywhere}
  body.clothing-interface .nkt-mapping-state {display:block;color:#87928b;font-size:11px;line-height:1.65;margin-top:6px}
  body.clothing-interface .nkt-mapping-state.verified {color:#426f3c}
  body.clothing-interface .nkt-manual-entry {display:flex;gap:12px;align-items:end;margin:22px 0 10px;flex-wrap:wrap}
  body.clothing-interface .nkt-manual-entry>label {flex:1 1 220px;min-width:0;margin:0}
  body.clothing-interface #nkt-ntin {width:100%}
  body.clothing-interface #nkt-save {margin:0}
  body.clothing-interface #nkt-apply {margin-top:14px;max-width:100%}
  body.clothing-interface .catalog-scan-offer {display:flex;align-items:center;gap:14px;padding:16px 20px;margin:0 0 20px;border:1px solid #cfdcca;border-radius:12px;background:#f6f8f4}
  body.clothing-interface .catalog-scan-offer>svg {flex:none;color:#244e41}
  body.clothing-interface .catalog-scan-offer>div {flex:1;min-width:0;overflow-wrap:anywhere}
  body.clothing-interface .catalog-scan-offer strong {display:block;font-size:14px}
  body.clothing-interface .catalog-scan-offer span {display:block;font-size:12px;color:#64786b;line-height:1.6;margin-top:5px}
  @media(max-width:700px){
    body.clothing-interface .catalog-price-grid {grid-template-columns:1fr}
    body.clothing-interface .catalog-barcode-row,body.clothing-interface .catalog-group-row {grid-template-columns:1fr}
    body.clothing-interface .catalog-group-create-row {flex-direction:column;align-items:stretch}
    body.clothing-interface .catalog-assortment .catalog-extra-barcode-row {grid-template-columns:minmax(0,1fr) 70px 44px;gap:8px}
    body.clothing-interface .catalog-assortment-control {padding:12px}
    body.clothing-interface .catalog-extra-barcode-row .catalog-variant-lookup {padding:8px}
    body.clothing-interface .nkt-product-row {grid-template-columns:minmax(0,1fr) auto;gap:10px}
    body.clothing-interface .nkt-product-row .nkt-code {grid-column:1;grid-row:2}
    body.clothing-interface .nkt-product-row>button {grid-column:2;grid-row:1 / span 2}
    body.clothing-interface .nkt-dialog .catalog-editor-content {padding:24px 20px}
    body.clothing-interface #catalog-editor-dialog #catalog-form>.section-head {padding:24px 76px 20px 20px}
    body.clothing-interface .catalog-editor-body {padding:0 20px 16px}
    body.clothing-interface #catalog-editor-dialog .catalog-editor-actions {padding:14px 20px}
    body.clothing-interface .catalog-scan-offer {align-items:flex-start;flex-wrap:wrap}
    body.clothing-interface .catalog-scan-offer>div {flex:1 1 calc(100% - 46px)}
    body.clothing-interface .catalog-scan-offer>button {width:100%}
  }
  @media(max-width:600px){body.clothing-interface #stock-group-filter {flex:1 1 100%;width:100%;min-width:0}}
}
