.product-workspace{min-width:0;color:#17233b;overflow-wrap:anywhere}
.product-workspace [hidden]{display:none!important}
.product-section-head,.product-list-filters,.product-pager{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.product-section-head{justify-content:space-between;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid #dbe4f4}
.product-section-tabs{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;min-width:0;flex:1 1 auto}
.product-section-title{display:flex;align-items:center;gap:8px;min-width:0}
.product-workspace button.product-tab-btn,.public-shop .shop-upload-dialog .product-workspace button.product-tab-btn{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:12px;border:1px solid #dbe4f4;background:white;color:#17233b;text-align:start;min-width:0;flex:0 1 auto}
.product-workspace button.product-tab-btn.is-active,.public-shop .shop-upload-dialog .product-workspace button.product-tab-btn.is-active{border-color:#2563eb;background:#eff6ff;color:#17233b;box-shadow:0 2px 8px rgba(37,99,235,.12)}
.product-tab-copy{display:grid;gap:1px;min-width:0}
.product-tab-copy>*{margin:0;min-width:0}
.product-all-filters{align-items:end;padding:12px;border:1px solid #dbe4f4;border-radius:12px;background:white}
.product-all-filters label:first-child{flex:1 1 240px}
.product-all-filters label{flex:0 1 160px}
[data-product-all-panel] .list-pagination{flex-wrap:wrap;gap:8px}
.product-all-detail{padding:12px;margin-block:12px;border:1px solid #dbe4f4;border-radius:12px;background:white}
.product-all-detail-grid{display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr);gap:16px;align-items:start}
.product-all-detail-grid>div:only-child{grid-column:1/-1}
.product-all-detail img{max-width:100%;max-height:240px;object-fit:contain}
.product-all-detail dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 12px}
.product-all-detail dd{margin:0;overflow-wrap:anywhere}
.product-all-description{white-space:pre-wrap;max-height:320px;overflow:auto;margin-top:12px;overflow-wrap:anywhere}
.product-all-actions{display:flex;align-items:center;gap:6px;min-width:18rem}
.product-all-actions>button{min-width:7rem;flex:0 0 auto}
.product-all-actions>a{min-width:9.5rem;flex:1 1 auto}
@media(max-width:800px){.product-all-detail-grid{grid-template-columns:1fr}.product-all-filters label{flex:1 1 100%}}
.product-section-mark{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:10px;background:#e8f0ff;color:#2563eb}
.product-section-head h1,.product-section-head h2,.product-section-head p{margin:0}
.product-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,300px);gap:12px;align-items:start}
.product-fields,.product-workspace label{display:grid;gap:4px;min-width:0}
.product-fields{gap:8px}
.product-basics{display:grid;gap:8px;padding:10px;border:1px solid #dbe4f4;border-radius:14px;background:white;min-width:0}
.product-field-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:8px;min-width:0}
.product-category-group{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;min-width:0}
.product-field-triple{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0}
.product-text-grid,.product-media-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;min-width:0;align-items:stretch}
.product-workspace label{color:#526583}
.product-workspace input,.product-workspace textarea,.product-workspace select{width:100%;min-width:0;box-sizing:border-box;padding:7px 10px;border:1px solid #d5deee;border-radius:10px;color:#17233b;background:white;font-family:inherit}
.product-workspace :is(input,select){min-height:36px}
.product-workspace textarea{resize:vertical;min-height:42px}
.product-workspace button,.product-workspace a{min-height:36px;max-width:100%;box-sizing:border-box;padding:5px 10px;border-radius:8px;white-space:normal;overflow-wrap:anywhere;font-family:inherit}
.product-workspace :is(button.product-mini-btn,button.product-chip,button.product-tag-chip,label.product-upload-btn-mini),.public-shop .shop-upload-dialog .product-workspace :is(button.product-mini-btn,button.product-chip,button.product-tag-chip,label.product-upload-btn-mini){min-height:28px;padding:2px 8px;border-radius:7px}
.product-section-head>*{min-width:0}
.product-workspace button,.public-shop .shop-upload-dialog .product-workspace button{border:1px solid #bfd0ef;background:#eef4ff;color:#17439c;cursor:pointer}
.product-workspace :is(button[data-product-save="PUBLISHED"],button[data-product-create],button.product-action-btn),.public-shop .shop-upload-dialog .product-workspace :is(button[data-product-save="PUBLISHED"],button[data-product-create],button.product-action-btn){background:#2563eb;color:white;border-color:#2563eb}
.product-workspace .product-chip.is-active,.public-shop .shop-upload-dialog .product-workspace .product-chip.is-active{background:#dbeafe;border-color:#2563eb;color:#1d4ed8}
.product-workspace :is(button,input,textarea,select,a):focus-visible,.product-workspace .product-upload-btn:focus-within{outline:3px solid #2563eb;outline-offset:2px}
.product-workspace button:disabled,.product-workspace .product-upload-btn:has(input:disabled){opacity:.55;cursor:wait}
.product-keyword-box,.product-text-card,.product-cover-box,.product-gallery-box{display:grid;gap:6px;padding:10px;border:1px solid #dbe4f4;border-radius:14px;background:white;min-width:0;align-content:start}
.product-box-head,.product-box-tools,.product-chip-bar,.product-keyword-row,.product-keyword-list{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.product-box-head{justify-content:space-between;align-items:flex-start}
.product-workspace .product-box-title{display:inline-flex;align-items:center;gap:6px;color:#17233b;min-width:0}
.product-box-icon{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:#2563eb}
.product-section-mark .product-box-icon{width:18px;height:18px;flex-basis:18px}
.product-box-tools{justify-content:flex-end;margin-left:auto}
.product-keyword-row>input{flex:1 1 180px;min-width:0}
.product-tag-chip{display:inline-flex;align-items:center;gap:4px}
.product-counter{color:#526583;padding:1px 6px;border-radius:999px;background:#eef2f7}
.product-cover-row{display:flex;gap:6px;align-items:center;min-width:0}
.product-cover-row>input{flex:1 1 120px;min-width:0}
.product-cover-thumb{width:52px;height:52px;flex:0 0 52px;border-radius:10px;border:1px dashed #93c5fd;background:#eff6ff;color:#1d4ed8;display:grid;place-items:center;overflow:hidden}
.product-cover-thumb img{width:100%;height:100%;object-fit:cover}
.product-cover-url{min-width:0}
.product-workspace label.product-upload-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:36px;max-width:100%;box-sizing:border-box;padding:5px 10px;border:1px solid #2563eb;border-radius:8px;background:#eff6ff;color:#1d4ed8;cursor:pointer;position:relative;overflow:hidden}
.product-workspace label.product-upload-btn-mini{min-height:28px;padding:2px 8px;border-radius:7px}
.product-workspace .product-upload-btn input[type="file"]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.product-gallery-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:6px;min-width:0}
.product-gallery-thumb{position:relative;height:54px;border-radius:8px;border:1px solid #cbd5e1;background:white;display:grid;place-items:center;overflow:hidden;min-width:0}
.product-gallery-thumb img{width:100%;height:100%;object-fit:cover}
.product-gallery-thumb b{position:absolute;left:3px;bottom:2px;padding:0 4px;border-radius:4px;background:rgba(15,23,42,.72);color:white}
.product-workspace .product-gallery-thumb button.product-gallery-remove,.public-shop .shop-upload-dialog .product-workspace .product-gallery-thumb button.product-gallery-remove{position:absolute;top:2px;right:2px;min-height:20px;width:20px;height:20px;padding:0;display:grid;place-items:center;border-radius:999px;background:rgba(255,255,255,.94);color:#b91c1c;border:1px solid #fca5a5}
.product-preview{display:grid;gap:8px;align-content:start;position:sticky;top:0;background:white;padding:12px;border:1px solid #dbe4f4;border-radius:16px;min-width:0;box-shadow:0 8px 24px #0f172a0d}
.product-preview-card{display:grid;gap:8px;padding:8px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;min-width:0}
.product-preview-media{position:relative;display:grid;place-items:center;aspect-ratio:16/10;min-height:96px;max-height:148px;padding:8px;border-radius:12px;background:#eef3fb;border:1px dashed #cbd5e1;text-align:center;min-width:0}
.product-preview img{width:100%;max-height:132px;object-fit:contain;border-radius:8px;background:#f1f5f9}
.product-preview-price{color:#e11d48}
.product-preview-sku-line{display:flex;justify-content:space-between;gap:8px;margin:0;padding:6px 8px;border-radius:8px;background:white;border:1px solid #e2e8f0;color:#526583}
.product-preview-sku-line b{color:#17233b;overflow-wrap:anywhere;text-align:end}
.product-preview-gallery-badge{position:absolute;right:6px;bottom:6px;padding:1px 6px;border-radius:999px;background:rgba(15,23,42,.78);color:white}
.product-preview-copy{display:grid;gap:4px;min-width:0}
.product-preview h3,.product-preview p{white-space:pre-wrap;margin:0}
.product-preview-summary{padding:4px 7px;border-radius:6px;background:#eff6ff;border-left:3px solid #2563eb;color:#1e3a8a}
.product-preview-keywords{display:flex;flex-wrap:wrap;gap:4px;min-width:0}
.product-preview-tag{padding:1px 6px;border-radius:999px;background:#eef4ff;border:1px solid #bfd0ef;color:#17439c}
.product-preview-price-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.product-source,.product-note{color:#526583;margin:0}
.product-save-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;padding-top:8px;border-top:1px solid #dbe4f4}
.product-save-bar>.secondary{grid-column:1/-1}
.product-gallery-box textarea{border-style:dashed;background:#f8fafc;min-height:64px}
.product-status{min-height:1.4em;color:#17439c;margin:0}
.product-workspace .product-field-error{color:#b91c1c;margin:0}
.product-workspace [aria-invalid="true"]{border-color:#b91c1c}
.product-table-image{width:64px;height:64px;object-fit:contain}
.product-workspace .media-picker{padding:5px 8px;border:1px solid #dbe4f4;border-radius:8px;background:white;min-width:0}
.product-workspace .media-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
.product-workspace .media-picker-heading>*{min-width:0}
.product-workspace .media-picker-heading :is(h4,p){margin:0}
.product-pager{justify-content:center;padding:10px}
.product-import-panel{display:grid;gap:10px;min-width:0}
.product-import-card{display:grid;gap:8px;padding:12px;border:1px solid #dbe4f4;border-radius:14px;background:white;min-width:0}
.product-import-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0}
.product-import-bar,.product-import-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;min-width:0}
.product-workspace button[data-product-import-start],.public-shop .shop-upload-dialog .product-workspace button[data-product-import-start]{background:#2563eb;color:white;border-color:#2563eb}
.product-import-progress-track{height:8px;border-radius:999px;background:#e2e8f0;overflow:hidden}
.product-import-progress-fill{display:block;width:0;height:100%;background:#2563eb}
.product-import-table-slot{min-width:0}
.product-workspace .table-wrap{overflow-x:auto;max-width:100%}
.product-workspace table{width:100%;border-collapse:collapse}
.product-workspace :is(th,td){padding:6px 8px;border-bottom:1px solid #e2e8f0;text-align:start;vertical-align:middle}
.product-import-state{display:inline-block;padding:1px 7px;border-radius:999px;background:#eef4ff;color:#17439c}
.product-import-state-created{background:#dcfce7;color:#166534}
.product-import-state-skip,.product-import-state-stopped{background:#fef3c7;color:#92400e}
.product-import-state-failed{background:#fee2e2;color:#991b1b}
.public-shop .upload-body>[data-upload-products]{grid-column:2/-1;padding:10px 14px;overflow:auto;min-width:0}
.public-shop [data-product-mode="1"] .upload-access,.public-shop [data-product-mode="1"] .upload-body>:not(.upload-nav):not([data-upload-products]),.public-shop [data-product-mode="1"] .upload-footer{display:none!important}
.public-shop [data-product-mode="1"] .upload-body{display:grid;grid-template-columns:230px minmax(0,1fr);align-items:start}
@media(max-width:800px){.product-editor-grid,.product-field-pair,.product-category-group,.product-field-triple,.product-text-grid,.product-media-grid,.product-import-controls{grid-template-columns:1fr}.product-workspace button.product-tab-btn,.public-shop .shop-upload-dialog .product-workspace button.product-tab-btn{flex:1 1 100%}.product-preview img{max-height:160px}.product-workspace .table-wrap{overflow-x:auto}.product-list-filters>*{width:100%}.public-shop [data-product-mode="1"] .upload-body{grid-template-columns:1fr}.public-shop .upload-body>[data-upload-products]{grid-column:1;padding:12px}}
