/* Dropship Manager compact layout. Additive: preserves existing theme and behaviour. */
:root{font-size:12px}body{font-size:12px;line-height:1.35}.shell{max-width:1320px;padding:10px 16px}.bar{gap:8px}.brand{font-size:15px}.brand small{font-size:10px}h1{font-size:20px;margin:4px 0}h2{font-size:15px;margin:0 0 9px}p{line-height:1.35;margin:6px 0}.panel{padding:12px 15px;margin:9px 0;border-radius:9px}.stack{gap:8px}label{font-size:11px;gap:3px;margin-bottom:7px}input,textarea,select{font-size:12px;padding:6px 8px;border-radius:5px;min-height:30px}textarea{font-size:11px;line-height:1.3}textarea[name="description"]{height:100px;min-height:70px}textarea#images{height:72px;min-height:50px}button,.button{font-size:11px;padding:6px 10px;border-radius:5px;line-height:1.25}.actions,.fetch,.heading{gap:7px}.actions{justify-content:flex-start;flex-wrap:wrap}.twocol{gap:0 12px}.gallery{grid-template-columns:repeat(auto-fill,minmax(95px,1fr));gap:7px;margin:8px 0}.thumb{padding:5px;gap:4px}.thumb img{height:78px}.thumb button{padding:4px 5px}.muted{font-size:11px}.pill{font-size:10px;padding:3px 7px}th,td{padding:7px 8px;font-size:12px}.alert{padding:8px 10px;margin-top:8px}footer{font-size:10px;padding-bottom:14px}.narrow{margin:35px auto}input[type="color"]{width:38px;min-height:28px;height:28px;padding:2px}input[type="range"]{width:115px;min-height:22px;padding:0}#edit-image-select{max-width:260px}#editor-status{margin:5px 0}#image-canvas{width:auto!important;height:auto!important;max-width:min(100%,560px)!important;max-height:390px!important;object-fit:contain;margin:0 auto}#image-canvas:focus{outline:2px solid #7ca8dd}section.panel:has(#image-canvas){padding:10px 12px}section.panel:has(#image-canvas) .actions{justify-content:flex-start;gap:5px}section.panel:has(#image-canvas) .actions label{margin:0;display:flex;flex-direction:row;align-items:center;gap:5px}section.panel:has(#image-canvas) .actions button{padding:5px 7px}@media(max-width:650px){.shell{padding:8px}.panel{padding:9px}.twocol{grid-template-columns:1fr}#image-canvas{max-width:100%!important;max-height:300px!important}}

/* v1.5 compact planning list */
.list-thumbnail{display:block;width:58px;height:58px;object-fit:contain;border:1px solid #e1e5ed;border-radius:5px;background:white}.inline-link-editor{display:flex;align-items:center;gap:4px;margin-top:5px}.list-shopify-input{width:175px;max-width:100%;min-width:80px}.shopify-cell{min-width:205px}.shopify-cell .link-status{display:block;font-size:10px;color:#47735b}.row-number{font-weight:600;white-space:nowrap}.tablewrap td{vertical-align:middle}.tablewrap .actions{flex-wrap:wrap}.tablewrap .actions .button,.tablewrap .actions button{padding:5px 7px}.tablewrap .product-row[hidden]{display:none}#shopify-link-below{display:block;font-size:11px;margin-top:3px}#shopify-auto-status{display:block;font-size:10px;margin-top:3px}@media(max-width:720px){.tablewrap{overflow-x:auto}.list-shopify-input{width:140px}}

/* v1.6 list SKU editing and edited image download */
.list-sku-input{width:120px;min-width:75px;max-width:100%}.sku-cell .inline-link-editor{margin-top:0}.sku-status{display:block;font-size:10px;color:#47735b}.sku-cell{min-width:165px}

/* v1.7 editable product names in saved products list */
.title-cell{min-width:215px}.title-cell .inline-link-editor{margin-top:0}.list-title-input{width:180px;max-width:100%;min-width:100px}.title-status{display:block;font-size:10px;color:#47735b}.title-cell a{font-size:11px}

/* v1.9 category filtering */
.product-filter-bar{display:flex;gap:8px;align-items:center;margin:5px 0 12px;flex-wrap:wrap}
.product-filter-bar input{flex:1 1 260px;min-width:160px}
.product-filter-bar select{flex:0 1 200px;max-width:100%}
.category-cell select{min-width:120px;max-width:175px;font-size:12px}
.category-status{display:block;font-size:10px;color:#47735b}

/* v2.0 product listing progress */
.product-progress{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;margin-bottom:10px;padding:7px 10px;border:1px solid #d6dce4;border-radius:7px}
.product-progress strong{font-variant-numeric:tabular-nums}
.product-row.is-listed{background:#ffe4e4!important}
.product-row.is-listed td{background:#ffe4e4!important;border-bottom-color:#efb0b0!important}
.product-row.is-listed:hover,.product-row.is-listed:hover td{background:#ffd4d4!important}
.number-cell{white-space:nowrap;min-width:64px}.listed-checkbox{width:16px;height:16px;vertical-align:middle;cursor:pointer;accent-color:#c12a2a}
.listed-status{font-size:10px;display:block}

/* v2.1 seller references */
.seller-list-editor{margin-top:5px;border-top:1px solid #ddd;padding-top:5px;font-size:11px}
.seller-fields{display:flex;gap:4px;flex-wrap:wrap;margin-top:4px;align-items:center}
.seller-fields input{width:155px;max-width:100%;font-size:11px;padding:5px}
.seller-fields .seller-url-input{width:240px}
.seller-status,#edit-seller-status{font-size:11px;color:#47735b}
.seller-edit-controls{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin:8px 0}
.seller-edit-controls label{flex:1 1 210px}

/* v2.3: compact seller directory, selector and combined filters */
.product-filter-bar{gap:5px;flex-wrap:nowrap;margin:4px 0 7px}
.product-filter-bar input{flex:1 1 280px;min-width:110px}
.product-filter-bar select{flex:0 1 155px;min-width:100px;max-width:155px}
.managed-seller-cell{min-width:145px}.managed-seller-select{width:145px;max-width:100%}
.managed-seller-link{margin-top:3px;font-size:11px;overflow-wrap:anywhere}
.managed-seller-status{display:block;font-size:10px;color:#47735b}
.manage-links{display:flex;gap:4px;align-items:center}.manage-links .button{padding:4px 7px}
.tablewrap td{padding:5px 6px}.tablewrap th{padding:5px 6px}
@media(max-width:670px){.product-filter-bar{flex-wrap:wrap}.product-filter-bar input{flex-basis:100%}.product-filter-bar select{flex:1 1 125px;max-width:none}}
.seller-directory input{width:100%;min-width:0}.seller-directory td{vertical-align:middle}

/* v2.4 compact store navigation */
.store-nav{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin:6px 0 10px;font-size:12px}.store-nav-label{font-weight:600;margin-right:3px}.store-tab{padding:5px 9px;border:1px solid #ccd4df;border-radius:6px;text-decoration:none;background:#fff;color:#24354d}.store-tab.active{background:#223c65;color:#fff;border-color:#223c65}.store-tab.store-add{border-style:dashed}.store-directory{display:flex;flex-wrap:wrap;gap:8px}.store-directory-item{display:flex;flex-direction:column;gap:4px;border:1px solid #ccd4df;border-radius:8px;padding:12px;min-width:160px;text-decoration:none;color:inherit}.store-directory-item small{color:#69758a}

/* v2.5: compact CRM link, no extra table row height */
.crm-mini{font-size:10px;white-space:nowrap;color:#667085}
.title-cell .crm-mini{display:inline}
