.cp-thumb{width:72px;height:56px;object-fit:contain}
.cp-main-image{width:100%;height:260px;object-fit:contain;background:var(--vz-light)}
.cp-gallery-image{width:100%;height:170px;object-fit:contain}
.cp-pre{white-space:pre-wrap;overflow-wrap:anywhere}
#cp-modal .modal-content>form{display:flex;flex-direction:column;max-height:100%;overflow:hidden}
#catalog-workspace .table th,#catalog-workspace .table td{vertical-align:middle}
.mp-brand-logo{height:72px;width:100%;object-fit:contain;object-position:left center}
.cp-brand-image-open{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}
.cp-brand-image-open:focus-visible,.mp-model-image-open:focus-visible{outline:2px solid var(--vz-primary);outline-offset:3px;border-radius:.25rem}
.mp-logo{width:48px;height:48px;object-fit:contain}
.mp-card-image{height:230px;background:var(--vz-light);overflow:hidden}
.mp-card-image .carousel-inner,.mp-card-image .carousel-item{height:100%}
.mp-card-image .carousel-item img{width:100%;height:195px;object-fit:contain;padding:12px}
.mp-card-image .mp-image-retry{position:absolute;left:40px;right:40px;top:75px;white-space:normal;z-index:2}
.mp-model-image-open{display:block;width:100%;padding:0;border:0;background:transparent;cursor:pointer}
.mp-slide-caption{text-align:center;font-size:12px;padding:5px;color:var(--vz-body-color)}
.mp-card-image .carousel-control-prev,.mp-card-image .carousel-control-next{width:34px;background:rgba(33,37,41,.28)}
.mp-sku{font-family:monospace;letter-spacing:1px;font-weight:600}
.mp-features{min-width:240px;max-width:360px;white-space:normal}
#model-workspace .nav{flex-wrap:wrap}
#model-workspace .table td{vertical-align:middle}
.mp-bulk-grid-wrap{max-height:65vh;border:1px solid var(--vz-border-color);border-radius:.5rem}
#cp-modal .modal-dialog.cp-wide-dialog{--bs-modal-width:min(96vw,1800px)}
#cp-modal .modal-dialog.mp-invoice-dialog-wide{--bs-modal-width:min(90vw,1360px);width:min(90vw,1360px);max-width:min(90vw,1360px);max-height:90vh;margin-left:auto;margin-right:auto}
#cp-modal .mp-invoice-dialog-wide .modal-content{max-height:90vh}
#cp-modal .mp-invoice-dialog-wide .modal-body{min-height:0;overflow:auto}
.mp-invoice-table-scroll{max-height:52vh;overflow:auto;border:1px solid var(--vz-border-color);border-radius:.5rem}
.mp-invoice-table-scroll table{min-width:1050px;margin-bottom:0}
.mp-invoice-table-scroll thead{position:sticky;top:0;z-index:2;background:var(--vz-light,#f3f6f9)}
.mp-invoice-table-scroll th,.mp-invoice-table-scroll td{padding:.55rem .65rem}
.mp-invoice-table-scroll td:nth-child(2){min-width:260px;max-width:380px;white-space:normal;overflow-wrap:anywhere}
.mp-invoice-summary{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0}
.mp-invoice-summary-item{min-width:125px;padding:.5rem .7rem;border:1px solid var(--vz-border-color);border-radius:.45rem;background:var(--vz-light,#f3f6f9)}
.mp-invoice-summary-item span{display:block;color:var(--vz-secondary-color,#74788d);font-size:.75rem}
.mp-invoice-summary-item strong{display:block;font-size:.92rem}
.mp-invoice-flow-hint{border-left:3px solid var(--vz-primary,#405189);padding:.45rem .7rem;background:var(--vz-light,#f3f6f9);font-size:.82rem}
#cp-modal .modal-dialog.cp-image-bulk-dialog.modal-xl{--bs-modal-width:min(92vw,980px);width:min(92vw,980px);max-width:min(92vw,980px)}
.cp-image-variant-list{max-height:46vh;overflow-y:auto;padding-right:.2rem}
.cp-image-variant-row{font-size:.875rem;line-height:1.25}
.cp-image-variant-row .badge{font-size:.68rem;padding:.25rem .4rem}
.mp-bulk-grid{min-width:max-content;margin-bottom:0}
.mp-bulk-grid th,.mp-bulk-grid td{min-width:190px;max-width:300px;padding:.55rem}
.mp-bulk-grid th:first-child,.mp-bulk-grid td:first-child{min-width:190px}
.mp-bulk-grid .mp-bulk-sticky{position:sticky;left:0;z-index:2;background:var(--vz-card-bg,#fff);box-shadow:2px 0 4px rgba(15,23,42,.06)}
.mp-bulk-grid thead .mp-bulk-sticky{z-index:3;background:var(--vz-light,#f3f6f9)}
.mp-bulk-grid textarea{min-width:210px}
.portal-logo{width:100%;height:100%;object-fit:contain}
.cp-image-action{width:auto;min-width:28px;height:26px;padding:3px 7px;font-size:11px;line-height:18px;border-radius:5px;white-space:nowrap;}
.cp-image-up.cp-image-action,.cp-image-down.cp-image-action{width:28px;padding:3px;}

.mp-filter-bar{display:flex;align-items:flex-end;gap:8px;flex-wrap:nowrap;overflow-x:auto}.mp-filter-field{flex:1 0 150px;min-width:150px;max-width:220px}.mp-filter-field .search-select{width:100%}.mp-filter-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto;white-space:nowrap;padding-bottom:1px}.mp-filter-actions .btn{white-space:nowrap}
