:root{color:#1f2933;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f4f6f8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}body{min-width:320px;margin:0}#root{min-height:100vh}*{box-sizing:border-box;margin:0;padding:0}body{color:#1f2933;background:#f4f6f8;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.converter-shell{min-height:100vh;padding-top:58px;padding-left:220px}.side-nav{z-index:20;background:#fff;border-right:1px solid #e2e7ee;width:220px;position:fixed;top:0;bottom:0;left:0}.side-nav__brand{color:#172033;border-bottom:1px solid #e2e7ee;align-items:center;gap:10px;height:68px;padding:0 20px;font-size:16px;font-weight:760;display:flex}.brand-mark{color:#fff;background:#172033;border-radius:6px;flex:0 0 30px;justify-content:center;align-items:center;width:30px;height:30px;font-size:14px;font-weight:800;display:inline-flex}.side-nav__list{gap:6px;padding:18px 12px;display:grid}.side-nav__item{color:#596579;text-align:left;border-radius:6px;align-items:center;width:100%;min-height:42px;padding:0 13px;font-size:13px;font-weight:700;text-decoration:none;display:flex}.side-nav__item:hover{color:#182230;background:#f7f8fa}.side-nav__item.is-active{color:#c94d25;background:#fff1eb}.topbar{z-index:15;background:#fffffff5;border-bottom:1px solid #e2e7ee;justify-content:space-between;align-items:center;height:58px;padding:0 max(32px,50vw - 950px);display:flex;position:fixed;top:0;left:220px;right:0}.page-title{color:#172033;font-size:14px;font-weight:760}.back-link{color:#596579;font-size:12px;font-weight:700;text-decoration:none}.back-link:hover{color:#c94d25}button,input,select,textarea{font:inherit}button{border:0}.workspace{width:min(1180px,100vw - 40px);margin:0 auto;padding:28px 0 40px}.layout-grid{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:20px;display:grid}.flow-column,.settings-column{min-width:0}.settings-column{position:sticky;top:18px}.panel{background:#fff;border:1px solid #dfe4ea;border-radius:8px;margin-bottom:16px;padding:20px}.panel-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.panel-heading.compact{margin-bottom:14px}.editor-heading-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.panel h2{color:#111827;font-size:16px;font-weight:700}.panel-heading p{color:#6b7280;margin-top:5px;font-size:13px}.primary-btn,.secondary-btn,.text-btn,.download-btn{cursor:pointer;border-radius:7px;text-decoration:none;transition:background .15s,border-color .15s,color .15s}.primary-btn{color:#fff;background:#f97316;min-width:128px;padding:12px 18px;font-weight:700}.primary-btn:hover:not(:disabled){background:#ea580c}.primary-btn:disabled{cursor:not-allowed;background:#cbd5e1}.secondary-btn,.text-btn{color:#475569;background:#fff;border:1px solid #cbd5e1}.secondary-btn{padding:10px 14px}.text-btn{padding:8px 11px;font-size:13px}.download-btn{color:#fff;background:#16a34a;justify-content:center;align-items:center;padding:10px 14px;font-weight:700;display:inline-flex}.stage-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:18px;display:grid}.stage-item{color:#6b7280;background:#f9fafb;border:1px solid #e5e7eb;border-radius:7px;align-items:center;gap:7px;min-height:36px;padding:8px 10px;font-size:12px;display:flex}.stage-dot{background:#cbd5e1;border-radius:50%;flex:none;width:8px;height:8px}.stage-item.done{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.stage-item.done .stage-dot{background:#22c55e}.stage-item.active{color:#9a3412;background:#fff7ed;border-color:#fed7aa}.stage-item.active .stage-dot{background:#f97316}.progress-block{background:#fafafa;border:1px solid #e5e7eb;border-radius:8px;padding:14px}.progress-track{background:#e5e7eb;border-radius:999px;height:10px;overflow:hidden}.progress-fill{background:linear-gradient(90deg,#f97316,#22c55e);border-radius:999px;height:100%;transition:width .25s}.progress-meta{color:#4b5563;justify-content:space-between;gap:14px;margin-top:10px;font-size:13px;display:flex}.progress-meta strong{color:#111827;min-width:42px}.progress-event{color:#6b7280;text-align:left;word-break:break-word;margin-top:6px;font-size:12px}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.metric-grid div{background:#fff;border:1px solid #e5e7eb;border-radius:7px;padding:10px}.metric-grid span{color:#6b7280;font-size:12px;display:block}.metric-grid strong{color:#111827;word-break:break-word;margin-top:4px;font-size:13px;display:block}.error-box{color:#b91c1c;text-align:left;white-space:pre-wrap;background:#fef2f2;border:1px solid #fecaca;border-radius:7px;margin-top:12px;padding:12px;font-size:13px}.notice-box{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:7px;margin-bottom:12px;padding:10px 12px;font-size:13px}.result-box{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;margin-top:14px;padding:14px;display:flex}.result-box h3{color:#166534;font-size:15px}.result-box p{color:#4b5563;margin-top:4px;font-size:12px}.result-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.dropzone{background:#fbfdff;border:2px dashed #cbd5e1;border-radius:8px;min-height:178px;transition:border-color .15s,background .15s;position:relative}.dropzone:hover{background:#fff7ed;border-color:#f97316}.dropzone input{z-index:2;opacity:0;cursor:pointer;position:absolute;inset:0}.dropzone-content{color:#64748b;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:174px;display:flex}.drop-symbol{color:#94a3b8;font-size:34px;line-height:1}.dropzone-content strong{color:#334155;font-size:15px}.dropzone-content span:last-child{font-size:12px}.file-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.file-summary div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:7px;padding:10px}.file-summary strong,.file-summary span{display:block}.file-summary strong{color:#111827;font-size:16px}.file-summary span{color:#6b7280;margin-top:3px;font-size:12px}.file-list{border:1px solid #e5e7eb;border-radius:8px;max-height:300px;margin-top:12px;overflow:auto}.file-row{color:#475569;border-bottom:1px solid #edf0f3;grid-template-columns:minmax(0,1fr) 88px 72px 54px;align-items:center;gap:10px;min-height:40px;padding:8px 10px;font-size:12px;display:grid}.file-row:last-child{border-bottom:0}.file-row.invalid{color:#b91c1c;background:#fef2f2}.file-name{text-overflow:ellipsis;white-space:nowrap;color:#111827;overflow:hidden}.file-row button{cursor:pointer;color:#475569;background:#f1f5f9;border-radius:5px;padding:5px 7px;font-size:12px}.editor-list{gap:14px;display:grid}.editor-panel{margin-top:4px}.editor-filter-bar{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;grid-template-columns:minmax(220px,1fr) auto minmax(170px,auto) 70px;align-items:center;gap:10px;margin-bottom:14px;padding:10px;display:grid}.editor-filter-bar input[type=search],.editor-filter-bar input[type=number]{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;min-width:0;padding:9px 10px;font-size:13px}.editor-filter-toggle,.editor-price-filter{color:#334155;white-space:nowrap;align-items:center;gap:7px;font-size:13px;font-weight:700;display:flex}.editor-filter-toggle input{accent-color:#f97316;width:15px;height:15px}.editor-price-filter input{width:92px}.editor-filter-bar button{cursor:pointer;color:#334155;background:#e2e8f0;border-radius:7px;min-height:36px;font-size:13px;font-weight:700}.editor-filter-bar button:disabled{cursor:not-allowed;color:#94a3b8}.editor-selection-bar{color:#475569;background:#fff;border:1px solid #e5e7eb;border-radius:8px;justify-content:flex-end;align-items:center;gap:12px;margin-bottom:14px;padding:9px 10px;font-size:13px;display:flex}.editor-selection-bar label,.editor-card-select{align-items:center;gap:8px;min-width:0;display:flex}.editor-selection-bar input,.editor-card-select input{accent-color:#f97316;flex:none;width:15px;height:15px}.editor-selection-bar strong{color:#111827;font-size:13px}.editor-selection-bar button{cursor:pointer;color:#b91c1c;background:#fee2e2;border-radius:7px;padding:8px 11px;font-size:13px;font-weight:700}.editor-selection-bar button:disabled{cursor:not-allowed;color:#94a3b8;background:#f1f5f9}.editor-empty{color:#64748b;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;padding:20px;font-size:13px}.editor-card{background:#fbfdff;border:1px solid #e5e7eb;border-radius:8px;padding:14px}.editor-card-head{color:#475569;justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.editor-card-head span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.editor-card-select{flex:auto}.editor-card-select span{min-width:0}.editor-card-actions{white-space:nowrap;align-items:center;gap:8px;display:flex}.editor-card-actions strong{color:#111827;white-space:nowrap}.editor-card-actions button{cursor:pointer;color:#075985;background:#e0f2fe;border-radius:6px;padding:7px 10px;font-size:12px;font-weight:700}.editor-card-actions .remove-product-btn{color:#b91c1c;background:#fee2e2}.editor-title-input{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;padding:10px 11px;font-size:13px}.editor-title-actions{grid-template-columns:minmax(0,1fr) 86px;align-items:center;gap:8px;display:grid}.shopee-search-btn{color:#c2410c;white-space:nowrap;background:#fff7ed;border:1px solid #fed7aa;border-radius:7px;justify-content:center;align-items:center;min-height:38px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.shopee-search-btn.disabled{color:#94a3b8;background:#f1f5f9;border-color:#e2e8f0}.editor-title-layout{grid-template-columns:86px minmax(0,1fr);align-items:end;gap:12px;margin-top:10px;display:grid}.editor-title-layout .field-label{margin-top:0}.editor-preview{aspect-ratio:1;color:#94a3b8;background:#f8fafc;border:1px solid #d7dde5;border-radius:8px;justify-content:center;align-items:center;width:86px;font-size:12px;display:flex;overflow:hidden}.editor-preview img{object-fit:cover;width:100%;height:100%;display:block}.product-image-editor{background:#fff;border:1px solid #e5e7eb;border-radius:8px;gap:12px;margin-top:12px;padding:12px;display:grid}.image-strip-row{grid-template-columns:50px minmax(0,1fr);align-items:center;gap:8px;display:grid}.image-strip-label{color:#475569;font-size:12px;font-weight:700}.image-strip-list{gap:8px;min-width:0;padding:6px 0;display:flex;overflow:auto hidden}.product-image-editor .image-strip-list{min-height:100px}.image-strip-empty{color:#94a3b8;font-size:12px}.image-thumb{flex:none;width:46px;height:46px;position:relative}.product-image-editor .image-thumb{width:88px;height:88px}.image-preview-btn{cursor:zoom-in;background:#f8fafc;border:1px solid #d7dde5;border-radius:6px;width:46px;height:46px;padding:0;overflow:hidden}.product-image-editor .image-preview-btn{width:88px;height:88px}.image-preview-btn img{object-fit:cover;width:100%;height:100%;display:block}.video-thumb-label{color:#fff;background:#111827;justify-content:center;align-items:center;width:100%;height:100%;font-size:11px;font-weight:700;display:flex}.image-remove-btn{color:#fff;cursor:pointer;background:#111827;border-radius:50%;width:17px;height:17px;font-size:11px;line-height:17px;position:absolute;top:-5px;right:-5px}.product-image-editor .image-remove-btn{width:20px;height:20px;line-height:20px;top:4px;right:4px}.image-preview-backdrop{z-index:30;background:#0f172ab3;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.image-preview-dialog{max-width:min(920px,100%);max-height:92vh;position:relative}.image-preview-dialog button{z-index:1;cursor:pointer;color:#fff;background:#111827d1;border-radius:6px;padding:8px 10px;font-size:12px;position:absolute;top:10px;right:10px}.image-preview-dialog img{background:#fff;border-radius:8px;max-width:100%;max-height:92vh;display:block}.image-preview-dialog video{background:#000;border-radius:8px;max-width:100%;max-height:92vh;display:block}@media (width<=760px){.editor-filter-bar{grid-template-columns:minmax(0,1fr)}.editor-price-filter{grid-template-columns:auto minmax(0,1fr);display:grid}.editor-price-filter input{width:100%}.editor-title-actions{grid-template-columns:minmax(0,1fr)}.editor-selection-bar{flex-wrap:wrap;justify-content:flex-start}}.sku-editor-table{background:#fff;border:1px solid #e5e7eb;border-radius:8px;max-height:420px;margin-top:12px;overflow:auto}.sku-editor-head,.sku-editor-row{grid-template-columns:54px minmax(180px,1fr) minmax(140px,.8fr) 100px 86px 88px 60px;align-items:center;gap:8px;min-width:960px;display:grid}.sku-editor-head{z-index:1;color:#64748b;background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:9px 10px;font-size:12px;font-weight:700;position:sticky;top:0}.sku-editor-row{border-bottom:1px solid #edf0f3;padding:8px 10px}.sku-editor-row:last-child{border-bottom:0}.sku-editor-row input{color:#111827;background:#fff;border:1px solid #d7dde5;border-radius:6px;width:100%;min-width:0;padding:8px;font-size:12px}.sku-image-cell{color:#94a3b8;justify-content:center;align-items:center;min-height:46px;font-size:12px;display:flex}.converted-price{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:6px;justify-content:flex-end;align-items:center;min-height:33px;padding:0 8px;font-size:12px;font-weight:700;display:flex}.sku-delete-btn{cursor:pointer;color:#b91c1c;background:#fef2f2;border-radius:6px;min-height:33px;font-size:12px}.batch-dialog-backdrop{z-index:20;background:#0f172a6b;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.batch-dialog{background:#fff;border:1px solid #dfe4ea;border-radius:8px;width:min(420px,100%);padding:18px;box-shadow:0 18px 45px #0f172a33}.batch-dialog-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.batch-dialog-head h3{color:#111827;font-size:16px}.batch-dialog-head button{cursor:pointer;color:#475569;background:#f1f5f9;border-radius:6px;padding:7px 10px;font-size:12px}.dialog-action-row{grid-template-columns:minmax(0,1fr) 72px;gap:8px;display:grid}.dialog-action-row input{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;min-width:0;padding:10px;font-size:13px}.dialog-action-row button{cursor:pointer;color:#fff;background:#f97316;border-radius:7px;font-size:13px;font-weight:700}.settings-panel h2{margin-bottom:14px}.platform-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px;display:grid}.platform-list button{cursor:pointer;color:#475569;background:#fff;border:1px solid #d7dde5;border-radius:7px;min-height:42px;padding:8px;font-size:13px}.platform-list button.selected{color:#c2410c;background:#fff7ed;border-color:#f97316;font-weight:700}.field-label{color:#334155;margin:13px 0 6px;font-size:12px;font-weight:700;display:block}.settings-panel input,.settings-panel select,.settings-panel textarea{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;padding:10px 11px;font-size:13px}.settings-panel input:disabled{color:#94a3b8;background:#f1f5f9}.settings-panel textarea{resize:vertical}.checkbox-line{color:#334155;align-items:center;gap:8px;margin:14px 0 8px;font-size:13px;display:flex}.checkbox-line input{width:15px;height:15px}@media (width<=920px){.converter-shell{padding-left:72px}.side-nav{width:72px}.side-nav__brand{justify-content:center;height:58px;padding:0}.side-nav__brand>span:last-child{display:none}.side-nav__list{padding:12px 7px}.side-nav__item{text-align:center;justify-content:center;min-height:44px;padding:0 3px;font-size:11px}.topbar{padding:0 12px;left:72px}.workspace{width:min(100vw - 96px,760px);padding-top:18px}.result-box{flex-direction:column;align-items:stretch}.result-actions{justify-content:flex-start}.layout-grid{grid-template-columns:1fr}.settings-column{position:static}.stage-row,.metric-grid,.file-summary,.editor-list{grid-template-columns:1fr}.file-row{grid-template-columns:minmax(0,1fr) 70px 56px 48px}.sku-editor-table{overflow-x:auto}.editor-title-layout{grid-template-columns:72px minmax(0,1fr)}.editor-preview{width:72px}}
