@charset "UTF-8";

:root{--canvas:#f5f5f0;--surface:#fff;--ink:#253a30;--muted:#7b857d;--green:#183d32;--green-hover:#235340;--green-soft:#eaf0e7;--line:#e7e9e1;--orange:#ed7149;--amber:#a47a36;--danger:#c4554c;--radius:16px;--shadow:0 5px 22px #263d2e05;font-family:-apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif;color:var(--ink);font-size:14px;line-height:1.6;font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;background:var(--canvas)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button{color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #88ac94;outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.app-shell{min-height:100vh;display:grid;grid-template-columns:220px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);padding:32px 20px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;padding:0 8px}.brand-mark{height:43px;width:43px;display:grid;place-items:center;background:var(--green);color:#fff;border-radius:12px;font-size:25px;font-weight:600;line-height:1}.brand-copy{display:flex;flex-direction:column;line-height:1.5}.brand-copy strong{font-size:21px;letter-spacing:.1em;font-weight:700}.brand-copy>span{font-size:11px;color:var(--muted);letter-spacing:.08em}.workspace-label{font-size:10px;letter-spacing:.13em;color:#9aa096;padding:0 14px;margin-top:48px;margin-bottom:13px}.main-nav{display:grid;gap:7px}.nav-button{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;border-radius:10px;padding:12px 14px;text-align:left;color:#747e76;font-weight:500;transition:background .15s,color .15s}.nav-button svg{width:18px;height:18px}.nav-button:hover{background:#f5f7f2;color:var(--green)}.nav-button.active{background:var(--green-soft);color:var(--green);font-weight:650}.sidebar-bottom{margin-top:auto;padding:20px 10px 0}.channel-label{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:550}.shopee-mark{font-size:18px;font-weight:750;width:31px;height:34px;display:grid;place-items:center;background:#fff1eb;color:var(--orange);border-radius:6px}.channel-sub{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:1px}.local-note{font-size:10px;color:#90998f;display:flex;align-items:center;gap:6px;border-top:1px solid var(--line);margin-top:20px;padding-top:17px}.status-dot{height:5px;width:5px;background:#83a07e;border-radius:50%;display:inline-block;flex:none}
.main-content{padding:35px 40px 20px;max-width:1660px;width:100%;margin:0 auto}.page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.eyebrow{color:#6a806d;font-size:10px;font-weight:650;letter-spacing:.15em;display:flex;align-items:center;gap:7px;margin-bottom:9px}.eyebrow>span{width:5px;height:5px;background:var(--orange);border-radius:50%}h1{font-size:28px;line-height:1.5;font-weight:650;letter-spacing:-.025em}.heading-dot{color:var(--orange)}.page-heading>p{font-size:12px;color:var(--muted);margin-top:6px}.header-actions{display:flex;gap:10px;align-items:center;padding-top:9px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:41px;padding:10px 17px;line-height:1.4;font-size:12px;font-weight:600;border:1px solid transparent;border-radius:8px;white-space:nowrap;transition:background .15s,transform .15s,border-color .15s;letter-spacing:.015em}.btn svg{width:16px;height:16px}.btn:active{transform:translateY(1px)}.btn.primary,.btn-primary{background:var(--green);color:#fff;border-color:var(--green)}.btn.primary:hover,.btn-primary:hover{background:var(--green-hover);border-color:var(--green-hover)}.btn.secondary,.btn-secondary{background:#fff;color:#435748;border-color:#dce1d7}.btn.secondary:hover,.btn-secondary:hover{border-color:#9eaf99;background:#fafbf8}.btn.ghost,.btn-ghost{background:transparent;color:#75816f}.btn.ghost:hover,.btn-ghost:hover{background:var(--green-soft);color:var(--green)}.btn.danger{color:var(--danger)}.btn.danger:hover{background:#fbefed;color:#ae3933}.icon-button{display:grid;place-items:center;width:34px;height:34px;background:transparent;border:1px solid transparent;border-radius:8px;color:#82907d}.icon-button:hover{background:#eef1e9;color:var(--green)}.icon-button svg{width:18px;height:18px}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:27px}.stat{border:1px solid var(--line);background:#fff;border-radius:12px;padding:18px 20px 16px;box-shadow:var(--shadow)}.stat-label{font-size:11px;color:#778270;font-weight:500}.stat-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:7px}.stat-bottom>strong{font-size:31px;font-weight:600;line-height:1.35;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.stat-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:9px;background:#f1f3ed;color:#7c8b72}.stat-icon svg{width:17px;height:17px}.stat-icon.green{color:#709364;background:#edf3e9}.stat-icon.amber{color:#b28e4e;background:#faf5e9}.stat-note{font-size:10px;color:#98a08f;display:block;margin-top:5px}.stat-template{background:#f0f3e9;border-color:#e5e9db}.stat-bottom>.stat-date{font-size:27px;letter-spacing:-.04em}.stat-date>span{padding:0 5px;font-size:18px;color:#a7b09c;font-weight:400}.template-tag{font-size:10px;color:#839174;padding:3px 7px;border:1px solid #dce3cf;border-radius:5px;line-height:1.4}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 258px;gap:22px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.inventory-panel{min-height:547px;overflow:hidden}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 25px 20px}.section-heading h2{font-size:16px;font-weight:650;letter-spacing:.01em}.section-heading p{font-size:11px;color:#91998b;margin-top:5px}.save-status{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#8c9785;white-space:nowrap}.list-toolbar{padding:0 25px 17px;border-bottom:1px solid #eef0e8;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.filter-tabs{display:flex;align-items:center;gap:5px}.filter-button{border:0;border-radius:6px;padding:7px 9px;background:transparent;display:flex;gap:7px;align-items:center;color:#8d9784;font-size:11px;line-height:1.4;white-space:nowrap}.filter-button>span{font-size:9px;background:#f0f2ec;color:#8c9882;padding:1px 5px;border-radius:4px;line-height:1.5;font-variant-numeric:tabular-nums}.filter-button.active{color:var(--green);background:#edf2e9;font-weight:600}.filter-button.active>span{background:#dfe8d8;color:#56754a}.filter-button:hover{background:#f4f6ef}.search-sort{display:flex;align-items:center;gap:10px;flex:1;justify-content:flex-end;min-width:245px}.search-box{display:flex;align-items:center;gap:8px;border:1px solid #e7ebdf;border-radius:7px;padding:7px 10px;background:#fcfdfa;max-width:243px;min-width:100px;flex:1}.search-box svg{width:14px;height:14px;color:#97a28c}.search-box input{border:0;background:transparent;outline:none;width:100%;min-width:0;font-size:10px;color:var(--ink);line-height:1.5}.search-box input::placeholder{color:#a1aa98}.sort-label select{border:0;background:#fff;color:#87927e;font-size:10px;max-width:92px;padding:7px 2px;cursor:pointer}.empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;padding:35px 20px 36px;min-height:405px}.empty-illustration{width:165px;height:124px;margin-bottom:13px}.empty-illustration>svg{width:100%;height:100%;stroke:none}.empty-eyebrow{font-size:9px;letter-spacing:.12em;color:#8b9b7e;margin-bottom:5px}.empty-state h3{font-size:19px;font-weight:600;letter-spacing:.015em}.empty-state>p{font-size:11px;color:#929c88;line-height:1.9;margin:9px 0 21px}.empty-state>.btn{font-size:11px;min-height:38px;padding:10px 16px}.empty-footnote{font-size:9px;color:#a1aa97;margin-top:13px}
.workflow-column{display:grid;gap:16px}.workflow-card{background:var(--green);color:#fff;border-radius:var(--radius);padding:25px 23px 23px;position:relative;overflow:hidden}.workflow-card:after{content:"";position:absolute;width:200px;height:200px;right:-130px;top:12px;border:1px solid #ffffff0b;border-radius:50%;pointer-events:none;box-shadow:0 0 0 21px #ffffff03,0 0 0 42px #ffffff02}.workflow-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.small-eyebrow{font-size:8px;letter-spacing:.16em;font-weight:500;color:#aec5a7}.workflow-top svg{width:20px;height:20px;color:#a8bea0}.workflow-card h2{font-size:20px;font-weight:550;letter-spacing:.02em}.workflow-intro{font-size:11px;color:#afc4a8;line-height:1.9;margin-top:8px}.workflow-steps{list-style:none;padding:0;margin:25px 0 24px;display:grid;gap:24px}.workflow-steps li{display:flex;align-items:flex-start;gap:12px;position:relative}.workflow-steps li:not(:last-child):before{content:"";position:absolute;left:11px;top:27px;bottom:-18px;width:1px;background:#ffffff16}.step-number{font-size:9px;display:grid;place-items:center;height:24px;width:24px;flex:none;border:1px solid #ffffff27;border-radius:50%;color:#b8cdb0;font-variant-numeric:tabular-nums}.workflow-steps strong{font-weight:550;font-size:12px;line-height:1.7;display:block}.workflow-steps p{font-size:9px;color:#9db796;margin-top:2px;line-height:1.6}.workflow-export{background:#f0f3e8;color:var(--green);width:100%;justify-content:space-between;padding:11px 14px;border:0;font-size:11px}.workflow-export:hover{background:#fff}.template-note{padding:18px 15px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;align-items:flex-start;gap:10px}.template-note-icon{display:grid;place-items:center;width:32px;height:35px;color:#8e9f80;background:#f0f4e9;border-radius:7px;flex:none}.template-note-icon svg{width:17px;height:17px}.template-note strong{font-size:10px;font-weight:600}.template-note p{font-size:9px;color:#98a18e;line-height:1.8;margin-top:2px}.tiny-check{margin-left:auto;color:#9bb38d;font-size:11px}.privacy-note{font-size:9px;color:#9da594;line-height:1.9;display:flex;gap:8px;padding:0 5px}.privacy-note svg{width:12px;height:12px;margin-top:2px;stroke-width:1.5}.page-footer{display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#a7ae9f;padding:24px 1px 0}.page-footer>span:last-child{font-size:7px;letter-spacing:.14em}
.product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px 25px}.product-list:empty{padding:0;display:none}.product-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:box-shadow .15s,border-color .15s;min-width:0}.product-card:hover{border-color:#c4cfbb;box-shadow:0 6px 20px #1e442c08}.product-thumb,.product-image{background:#f2f4ed;aspect-ratio:1.4;display:flex;align-items:center;justify-content:center;color:#b1bea5;overflow:hidden}.product-thumb img,.product-image img{width:100%;height:100%;object-fit:contain;display:block;background:#fff}.product-thumb svg{width:40px;height:40px;stroke-width:1}.product-info,.product-body{padding:15px 15px 12px}.product-title,.product-card h3{font-size:13px;line-height:1.65;font-weight:600;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word}.product-sku,.product-meta,.product-card .sku{font-size:10px;color:#98a18e;margin-top:4px;word-break:break-all}.product-price,.price{color:var(--green);font-size:18px;font-weight:650;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.product-price small,.price small{font-size:10px;font-weight:400;color:#8c9981;margin-right:3px}.product-card-bottom,.product-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:13px}.product-actions{display:flex;align-items:center;gap:5px;padding:10px 15px;border-top:1px solid #eff1e9;justify-content:flex-end}.product-actions button{background:transparent;border:0;border-radius:5px;font-size:10px;padding:5px 8px;color:#7f9074}.product-actions button:hover{background:#f1f5eb}.badge{display:inline-flex;gap:5px;align-items:center;white-space:nowrap;font-size:9px;line-height:1.5;padding:4px 7px;border-radius:5px;font-weight:500}.badge-ready{background:#edf4e6;color:#76935c}.badge-incomplete{background:#faf1df;color:#ab8849}.badge-ready:before,.badge-incomplete:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.no-results{text-align:center;padding:70px 24px;color:#8c9980;grid-column:1/-1}.no-results h3{color:var(--ink);font-size:16px;margin-bottom:7px}
.section-kicker{display:block;font-size:9px;color:#869679;letter-spacing:.12em;margin-bottom:5px}.export-panel,.help-panel{padding-bottom:25px}.export-panel>.section-heading,.help-panel>.section-heading{padding:27px 30px}.export-panel .section-heading h2,.help-panel .section-heading h2{font-size:21px}.export-header-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#f0f4e9;color:#7f996f}.export-header-icon svg{width:23px;height:23px}.export-summary{margin:0 30px 20px;padding:20px 22px;background:#f3f6ed;border:1px solid #e3eadb;border-radius:10px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}.export-summary h3{font-size:15px;font-weight:600}.export-summary p{font-size:11px;color:#859477;margin-top:4px}.export-summary strong{color:var(--green)}.export-summary .summary-stat{font-size:12px;color:#849476}.export-summary .summary-stat strong{font-size:24px;margin-right:6px}.issues-list{margin:0 30px}.issue-row{display:flex;align-items:flex-start;gap:13px;padding:16px 18px;border:1px solid #ebe8dc;border-radius:9px;background:#fffdf7;margin-top:10px;font-size:12px}.issue-row svg{color:#b59152;width:17px;height:17px;margin-top:2px}.issue-row strong{font-size:12px;font-weight:600}.issue-row p,.issue-row ul{font-size:11px;color:#a28c63;line-height:1.8;margin:4px 0 0}.issue-row ul{padding-left:18px}.issue-row button{margin-left:auto}.issue-row .btn{font-size:10px;min-height:31px;padding:7px 11px}.export-actions{display:flex;gap:10px;flex-wrap:wrap;padding:25px 30px 0}.export-note{margin:26px 30px 0;padding:18px 20px;border-top:1px solid var(--line);background:#fafbf7;border-radius:8px}.export-note strong{font-size:11px;font-weight:600;color:#6d805e}.export-note p{font-size:11px;color:#929e85;line-height:1.9;margin-top:5px;max-width:680px}.help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:0 30px}.help-card{padding:23px;border:1px solid var(--line);border-radius:11px;background:#fcfdf9}.help-number{font-size:11px;letter-spacing:.1em;color:#93a383;display:block;margin-bottom:14px}.help-card h3{font-size:14px;font-weight:600;margin-bottom:8px}.help-card p{font-size:11px;color:#929e85;line-height:2}
dialog{border:0;padding:0;color:var(--ink);box-shadow:0 20px 100px #10281828}dialog::backdrop{background:#192b2480;backdrop-filter:blur(4px)}.editor-dialog{width:min(1080px,calc(100vw - 56px));max-width:none;max-height:calc(100dvh - 56px);border-radius:16px;background:#fff;overflow:hidden}.editor-shell{max-height:calc(100dvh - 56px)}#product-form{display:flex;flex-direction:column;max-height:calc(100dvh - 56px)}.editor-header{display:flex;align-items:center;justify-content:space-between;padding:22px 28px 19px;border-bottom:1px solid #eff1e9}.editor-header h2{font-size:20px;font-weight:600}.editor-tabs{display:flex;padding:0 28px;gap:18px;border-bottom:1px solid var(--line);overflow-x:auto;flex-shrink:0}.editor-tab{display:flex;align-items:center;gap:7px;border:0;border-bottom:2px solid transparent;background:transparent;padding:16px 1px 14px;font-size:11px;color:#98a18d;white-space:nowrap}.editor-tab>span{font-size:9px;width:18px;height:18px;display:grid;place-items:center;background:#f0f3e9;border-radius:50%;font-variant-numeric:tabular-nums}.editor-tab.active{color:var(--green);border-bottom-color:var(--green);font-weight:600}.editor-tab.active>span{background:var(--green);color:#fff}.editor-body{display:grid;grid-template-columns:minmax(0,1fr) 270px;overflow:auto;min-height:340px;flex:1}.form-fields{padding:27px 30px 32px;min-width:0}.form-section-heading,.form-fields>h3,.form-fields .step-title{font-size:16px;font-weight:600;margin-bottom:6px}.form-fields>p,.form-intro,.step-description{font-size:11px;color:#8c9b80;line-height:1.9;margin-bottom:24px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 18px}.field{min-width:0;margin-bottom:20px}.field-grid>.field{margin-bottom:0}.field.full,.field.full-width,.field.span-2{grid-column:1/-1}.field label,.field-label{display:flex;gap:5px;align-items:center;font-size:12px;font-weight:550;color:#52684a;margin-bottom:8px}.field label .required,.field-label .required,.required{color:#d98561;font-size:11px}.field input:not([type=checkbox]):not([type=radio]),.field textarea,.field select,.field-input{display:block;width:100%;border:1px solid #dfe6d7;background:#fff;border-radius:7px;min-height:41px;padding:10px 12px;font-size:12px;color:var(--ink);line-height:1.6;transition:border-color .15s,box-shadow .15s}.field input:not([type=checkbox]):not([type=radio]):focus,.field textarea:focus,.field select:focus{border-color:#94b080;outline:0;box-shadow:0 0 0 3px #87a87912}.field input::placeholder,.field textarea::placeholder{color:#b1b9a7;font-size:11px}.field textarea{min-height:145px;resize:vertical}.field input[aria-invalid=true],.field textarea[aria-invalid=true],.field select[aria-invalid=true],.field.has-error input{border-color:#df9d86;background:#fffbf9}.field-help{display:block;font-size:10px;color:#98a28d;line-height:1.8;margin-top:7px}.field-error{display:block;font-size:10px;color:#c17659;line-height:1.8;margin-top:6px}.field small{font-size:10px;color:#98a28d}.checkbox-field{display:flex;align-items:flex-start;gap:9px;font-size:11px;color:#6e8161;padding:12px 0}.checkbox-field input{accent-color:var(--green);margin:4px 0 0}.checkbox-field label{margin:0;display:block;font-weight:400}.field input[type=checkbox],.field input[type=radio]{accent-color:var(--green)}.field input[type=number]{font-variant-numeric:tabular-nums}.field-unit{position:relative}.field-unit input{padding-right:48px!important}.field-unit>span{position:absolute;right:12px;top:11px;font-size:11px;color:#9da891}.form-notice{font-size:11px;color:#859875;line-height:1.9;padding:15px 17px;background:#f4f7ef;border:1px solid #e6ecdf;border-radius:8px;margin:0 0 22px}.form-notice strong{color:#5e7751}.editor-preview{border-left:1px solid var(--line);background:#f8faf4;padding:28px 22px;min-width:0}.preview-label,.preview-heading{font-size:9px;letter-spacing:.08em;color:#8e9c81;margin-bottom:14px;display:block}.preview-card{border:1px solid #e4e9db;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 3px 10px #1c3f2603}.preview-image{width:100%;aspect-ratio:1;background:#f0f4e9;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#becbb1}.preview-image img{width:100%;height:100%;object-fit:contain;background:#fff}.preview-image svg{width:44px;height:44px;stroke-width:1}.preview-placeholder{aspect-ratio:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;color:#b4c0a8;background:#f0f4e9;font-size:10px}.preview-card h3,.preview-title{font-size:12px;font-weight:550;line-height:1.8;word-break:break-word}.preview-info,.preview-body{padding:15px}.preview-price{font-size:20px;color:var(--orange);margin-top:12px;font-weight:600;letter-spacing:-.02em}.preview-meta{font-size:9px;color:#a2ad96;margin-top:7px}.preview-note{font-size:10px;color:#99a78c;line-height:1.9;margin-top:14px}.preview-card>.preview-title,.preview-card>h3{margin:15px 15px 0}.preview-card>.preview-price{margin:10px 15px 15px}.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 28px;border-top:1px solid var(--line);background:#fff;flex-shrink:0}.editor-status{font-size:10px;color:#92a083}.editor-footer-actions{display:flex;gap:10px}.editor-footer .btn{font-size:11px;min-height:38px}.confirm-dialog{width:min(410px,calc(100vw - 40px));border-radius:15px}.confirm-inner{padding:28px}.confirm-symbol{width:42px;height:42px;border-radius:50%;background:#f8f1e1;color:#b39258;display:grid;place-items:center;margin-bottom:17px}.confirm-symbol svg{width:23px;height:23px}#confirm-content{font-size:13px;line-height:1.9;color:#7a8a6d}#confirm-content h2,#confirm-content h3{font-size:18px;color:var(--ink);font-weight:600;margin-bottom:8px}#confirm-content p{margin:8px 0}.confirm-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:23px}.confirm-actions .btn{min-width:75px}.toast{position:fixed;bottom:28px;left:calc(50% + 110px);transform:translate(-50%,12px);background:var(--green);color:#fff;border-radius:9px;padding:13px 20px;font-size:12px;max-width:calc(100vw - 40px);box-shadow:0 8px 35px #102d2520;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s;z-index:1000;line-height:1.7}.toast.show,.toast.visible,.toast[data-visible=true]{opacity:1;transform:translate(-50%,0)}.toast:empty{display:none}.error-banner{padding:12px 16px;background:#fff1ec;border:1px solid #edd4c9;border-radius:8px;color:#b16c4c;font-size:11px}
@media(min-width:1500px){.main-content{padding-left:50px;padding-right:50px}.content-grid{grid-template-columns:minmax(0,1fr) 285px;gap:26px}.workflow-card{padding:28px}.product-list{grid-template-columns:repeat(3,minmax(0,1fr))}.list-toolbar{flex-wrap:nowrap}.search-box{max-width:265px}}
@media(max-width:1200px){.app-shell{grid-template-columns:194px minmax(0,1fr)}.sidebar{padding:29px 15px 20px}.main-content{padding:30px 28px 20px}.page-header{gap:15px}.page-heading h1{font-size:25px}.page-heading>p{font-size:11px}.header-actions{gap:8px}.header-actions .btn{padding:10px 13px;font-size:11px}.content-grid{grid-template-columns:minmax(0,1fr) 232px;gap:18px}.workflow-card{padding:22px 19px}.workflow-card h2{font-size:18px}.workflow-steps p{font-size:8.5px}.stat{padding:16px}.section-heading{padding:22px 21px 18px}.list-toolbar{padding:0 21px 16px;gap:12px}.search-sort{min-width:100%;justify-content:space-between}.search-box{max-width:none}.product-list{padding:20px}.save-status{font-size:9px}.toast{left:calc(50% + 97px)}.help-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.app-shell{grid-template-columns:174px minmax(0,1fr)}.sidebar{padding:26px 12px 20px}.brand{padding:0 6px;gap:9px}.brand-mark{width:37px;height:39px;font-size:23px}.brand-copy strong{font-size:19px}.brand-copy>span{font-size:9px}.workspace-label{font-size:9px;padding:0 10px}.nav-button{padding:11px 10px;gap:9px;font-size:12px}.nav-button svg{width:16px;height:16px}.main-content{padding:28px 24px 18px}.page-header{align-items:flex-start;flex-wrap:wrap;margin-bottom:23px}.page-heading h1{font-size:25px}.header-actions{padding-top:0}.stats-grid{gap:10px;margin-bottom:22px}.stat{padding:14px 13px 12px}.stat-icon{height:27px;width:27px;border-radius:7px}.stat-icon svg{width:15px;height:15px}.stat-bottom>strong{font-size:27px}.stat-label{font-size:10px}.stat-note{font-size:8px}.stat-bottom>.stat-date{font-size:23px}.template-tag{font-size:8px;padding:2px 5px}.content-grid{grid-template-columns:minmax(0,1fr)}.workflow-column{grid-template-columns:1.3fr 1fr;gap:15px}.workflow-card{grid-row:span 2;display:grid;grid-template-columns:1fr;min-height:0}.workflow-intro br{display:none}.workflow-top{margin-bottom:9px}.workflow-steps{gap:15px;margin:20px 0}.workflow-steps li:not(:last-child):before{bottom:-10px}.workflow-steps p{font-size:9px}.template-note{height:fit-content}.privacy-note{align-self:start;padding:0 10px;margin-top:-4px}.inventory-panel{min-height:520px}.list-toolbar{flex-wrap:nowrap}.search-sort{min-width:0}.search-box{max-width:210px}.save-status{font-size:9px}.page-footer>span:last-child{display:none}.toast{left:calc(50% + 87px)}.editor-dialog{width:calc(100vw - 34px);max-height:calc(100dvh - 34px)}.editor-shell,#product-form{max-height:calc(100dvh - 34px)}.editor-body{grid-template-columns:minmax(0,1fr) 230px}.editor-preview{padding:25px 17px}.editor-tabs{gap:14px;padding:0 22px}.editor-tab{font-size:10px;gap:5px}.form-fields{padding:25px 24px}.help-grid{gap:14px}.help-card{padding:20px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:relative;top:auto;height:auto;padding:17px 22px 0;border-right:0;border-bottom:1px solid var(--line);flex-direction:row;align-items:center;flex-wrap:wrap;gap:13px}.brand{padding:0;margin-right:auto}.brand-mark{width:34px;height:35px;font-size:21px;border-radius:9px}.brand-copy{flex-direction:row;align-items:baseline;gap:8px}.brand-copy strong{font-size:18px}.brand-copy>span{font-size:10px;letter-spacing:.02em}.workspace-label{display:none}.main-nav{display:flex;gap:8px;width:100%;padding-top:1px}.nav-button{width:auto;padding:10px 11px 12px;border-radius:0;border-bottom:2px solid transparent;font-size:11px;background:transparent!important;color:#8c9882}.nav-button.active{border-bottom-color:var(--green)}.nav-button svg{width:14px;height:14px}.sidebar-bottom{display:none}.main-content{padding:26px 22px 18px}.page-header{margin-bottom:22px;gap:18px}.page-heading h1{font-size:24px}.eyebrow{font-size:9px;margin-bottom:7px}.header-actions .btn{min-height:38px;font-size:11px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.stat{padding:12px 11px}.stat-bottom>strong{font-size:25px}.stat-note{display:none}.stat-icon{width:23px;height:25px}.stat-icon svg{width:13px;height:13px}.stat-bottom{margin-top:6px}.stat-label{font-size:9px}.stat-bottom>.stat-date{font-size:21px}.stat-date>span{padding:0 3px;font-size:13px}.template-tag{display:none}.list-toolbar{flex-wrap:wrap;gap:12px}.search-sort{min-width:100%}.search-box{max-width:none}.section-heading{padding:22px 21px 18px}.save-status{font-size:8px}.workflow-column{grid-template-columns:1.4fr 1fr}.workflow-card{padding:23px}.workflow-card h2{font-size:19px}.workflow-steps{margin:21px 0}.empty-state{padding-top:28px}.help-grid{padding:0 24px}.help-panel .section-heading,.export-panel .section-heading{padding:25px 24px}.export-summary{margin:0 24px 18px}.issues-list{margin:0 24px}.export-actions{padding:22px 24px 0}.export-note{margin:22px 24px 0}.toast{left:50%;bottom:20px}.editor-body{grid-template-columns:minmax(0,1fr)}.editor-preview{display:none}.editor-tabs{gap:17px}.editor-tabs .editor-tab{font-size:10px}.editor-header{padding:19px 23px}.editor-header h2{font-size:18px}.editor-footer{padding:15px 22px}.editor-status{font-size:9px}}
@media(max-width:480px){.sidebar{padding:16px 17px 0}.main-nav{gap:2px}.nav-button{padding:9px 10px 11px;font-size:11px}.main-content{padding:22px 17px 16px}.page-heading h1{font-size:22px;letter-spacing:-.04em}.page-heading>p{font-size:10px;margin-top:5px}.header-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:9px}.header-actions .btn{font-size:11px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.stat{padding:14px 16px}.stat-label{font-size:10px}.stat-bottom>strong{font-size:27px}.stat-icon{height:27px;width:27px}.stat-icon svg{height:15px;width:15px}.stat-bottom>.stat-date{font-size:25px}.template-tag{display:inline}.stat-note{display:block;font-size:8px;margin-top:4px}.section-heading{padding:20px 18px 17px;gap:8px;align-items:flex-start}.section-heading h2{font-size:15px}.section-heading p{font-size:10px}.save-status{font-size:8px;gap:4px;padding-top:4px}.list-toolbar{padding:0 18px 15px;gap:13px}.filter-tabs{gap:4px}.filter-button{font-size:10px;padding:6px 8px;gap:5px}.filter-button>span{font-size:8px}.search-sort{gap:7px}.search-box{padding:8px 9px}.search-box input{font-size:9px}.sort-label select{font-size:9px}.empty-state{padding:27px 18px 32px;min-height:382px}.empty-illustration{width:148px;height:111px}.empty-state h3{font-size:18px}.empty-state>p{font-size:10px}.empty-footnote{font-size:8px}.workflow-column{display:block}.workflow-card{margin-top:0;padding:23px}.workflow-intro br{display:none}.workflow-top{margin-bottom:12px}.workflow-steps{gap:21px;margin:24px 0}.workflow-steps li:not(:last-child):before{bottom:-16px}.workflow-card h2{font-size:20px}.workflow-steps strong{font-size:12px}.workflow-steps p{font-size:10px}.template-note{margin-top:14px;padding:16px 18px}.template-note strong{font-size:11px}.template-note p{font-size:10px}.privacy-note{font-size:9px;margin:14px 0 0;padding:0 7px}.privacy-note br{display:none}.page-footer{font-size:8px;padding-top:20px}.product-list{grid-template-columns:minmax(0,1fr);padding:18px}.product-thumb,.product-image{aspect-ratio:1.65}.product-info,.product-body{padding:16px}.product-title,.product-card h3{font-size:13px}.product-actions{padding:9px 13px}.product-actions button{font-size:10px}.badge{font-size:9px}.help-grid{grid-template-columns:minmax(0,1fr);gap:12px;padding:0 20px}.help-panel .section-heading,.export-panel .section-heading{padding:23px 20px}.help-panel .section-heading h2,.export-panel .section-heading h2{font-size:18px}.help-card{padding:20px}.help-number{margin-bottom:10px}.help-card h3{font-size:13px}.help-card p{font-size:11px}.export-header-icon{width:35px;height:38px}.export-header-icon svg{width:18px;height:18px}.export-summary{margin:0 20px 18px;padding:17px;gap:12px}.export-summary h3{font-size:14px}.issues-list{margin:0 20px}.issue-row{padding:14px;flex-wrap:wrap;gap:9px}.export-actions{padding:22px 20px 0;gap:8px}.export-actions .btn{flex-grow:1;font-size:10px}.export-note{margin:21px 20px 0;padding:16px}.export-note p{font-size:10px}.editor-dialog{width:100vw;max-height:100dvh;border-radius:0;height:100dvh;margin:0}.editor-shell,#product-form{max-height:100dvh;height:100dvh}.editor-header{padding:18px 20px 16px}.editor-tabs{padding:0 20px;gap:17px}.editor-tab{padding:14px 0 12px;font-size:10px}.editor-tab>span{font-size:8px;width:16px;height:16px}.form-fields{padding:24px 20px}.field-grid{grid-template-columns:minmax(0,1fr);gap:20px}.field.full,.field.full-width,.field.span-2{grid-column:auto}.field label{font-size:12px}.field input:not([type=checkbox]):not([type=radio]),.field textarea,.field select{font-size:16px;padding:10px 11px}.field input::placeholder,.field textarea::placeholder{font-size:11px}.editor-footer{padding:15px 19px;gap:8px}.editor-footer-actions{gap:2px}.editor-footer .btn{font-size:10px;padding:10px 12px}.editor-status{max-width:120px;font-size:8px}.toast{font-size:11px;max-width:calc(100vw - 30px);width:max-content;bottom:18px}.confirm-inner{padding:24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* Product rows keep stock, readiness, and editing visible together. */
.stat-value{font-size:31px;line-height:1.5;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin-top:6px}.product-list{display:flex;flex-direction:column;gap:0;padding:0 24px}.product-list:empty{display:none}.product-card{display:grid;grid-template-columns:64px minmax(0,1fr) 95px 112px auto;align-items:center;gap:15px;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:21px 0;overflow:visible;background:transparent}.product-card:last-child{border-bottom:0}.product-card:hover{border-color:var(--line);box-shadow:none}.product-card>.product-thumb{width:64px;height:64px;aspect-ratio:1;border:1px solid #e9ede3;border-radius:8px;flex-direction:column;gap:3px}.product-card>.product-info{padding:0}.product-card>.product-info h3{font-size:14px;line-height:1.65;margin-top:4px}.product-card>.product-price{padding:0;font-size:17px;white-space:nowrap}.product-card>.product-status{font-size:10px;min-width:0}.product-card>.product-status small{font-size:10px;color:#929e88;line-height:1.6}.product-card>.product-actions{padding:0;border:0;gap:3px;justify-content:flex-end}.product-actions .btn{padding:8px 10px;min-height:33px;font-size:11px}.product-actions .icon-btn{padding:7px}.product-list>.no-results{width:100%;padding:70px 20px;font-size:12px}
/* Chinese reading sizes: compact metadata, comfortable instructions and forms. */
.page-heading>p{font-size:13px}.btn,.header-actions .btn{font-size:13px}.stat-label{font-size:12px}.stat-note{font-size:11px}.section-heading h2{font-size:17px}.section-heading p{font-size:12px}.save-status{font-size:11px}.filter-button{font-size:12px}.filter-button>span{font-size:10px}.search-box input{font-size:12px}.sort-label select{font-size:12px;max-width:106px}.empty-eyebrow{font-size:10px}.empty-state h3{font-size:20px}.empty-state>p{font-size:13px;line-height:1.9}.empty-state>.btn{font-size:12px}.empty-footnote{font-size:11px}.workflow-intro{font-size:12px}.workflow-steps strong{font-size:13px}.workflow-steps p{font-size:11px}.workflow-export{font-size:12px}.template-note strong{font-size:12px}.template-note p{font-size:11px}.privacy-note{font-size:11px}.privacy-note svg{width:14px;height:14px;margin-top:3px}.help-card h3{font-size:15px}.help-card p{font-size:12px}.export-note strong{font-size:12px}.export-note p{font-size:12px}.export-summary p{font-size:12px}.editor-tab{font-size:12px}.field label,.field-label{font-size:13px}.field input:not([type=checkbox]):not([type=radio]),.field textarea,.field select,.field-input{font-size:13px}.field input::placeholder,.field textarea::placeholder{font-size:12px}.field-help{font-size:11px}.form-notice{font-size:12px}.form-fields>p,.form-intro,.step-description{font-size:12px}.editor-status{font-size:11px}.editor-footer .btn{font-size:12px}
@media(max-width:1200px){.product-card{grid-template-columns:56px minmax(0,1fr) 78px 100px auto;gap:11px}.product-card>.product-thumb{width:56px;height:56px}.product-card>.product-price{font-size:15px}.product-card>.product-info h3{font-size:13px}.product-card>.product-actions{gap:0}.product-actions .btn{padding:7px 9px;font-size:10px}.product-actions .icon-btn{padding:6px}.product-card .badge{font-size:8px;padding:4px 6px}.workflow-steps p{font-size:11px}}
@media(max-width:980px){.product-card{grid-template-columns:64px minmax(0,1fr) 85px 108px auto;gap:12px}.product-card>.product-thumb{width:64px;height:64px}.product-card .badge{font-size:9px}.stat-label{font-size:11px}.stat-note{font-size:10px}.stat-value{font-size:29px}.editor-tab{font-size:11px}.workflow-intro{font-size:12px}}
@media(max-width:760px){.page-heading>p{font-size:12px}.header-actions .btn{font-size:12px}.section-heading p{font-size:12px}.product-card{grid-template-columns:58px minmax(0,1fr) 78px 100px auto;gap:10px}.product-card>.product-thumb{width:58px;height:58px}.product-card>.product-price{font-size:15px;padding-left:0}.product-card>.product-info h3{font-size:13px}.product-card .badge{font-size:8px}.product-actions .icon-btn{padding:5px}.product-list{padding:0 20px}.stat-label{font-size:11px}.stat-note{font-size:10px}.save-status{font-size:10px}.privacy-note{font-size:11px}.editor-tab{font-size:11px}}
@media(max-width:600px){.product-card{grid-template-columns:58px minmax(0,1fr) auto;gap:12px 11px;padding:20px 0}.product-card>.product-thumb{grid-column:1;grid-row:1/span 2;align-self:start;margin-top:4px}.product-card>.product-info{grid-column:2/-1;grid-row:1}.product-card>.product-price{grid-column:2;grid-row:2;padding-left:0}.product-card>.product-status{grid-column:3;grid-row:2;text-align:right}.product-card>.product-actions{grid-column:2/-1;grid-row:3;margin-left:0;justify-content:flex-end}.product-card .badge{font-size:9px}.product-actions .btn{font-size:11px;min-height:33px;padding:8px 12px}.product-actions .icon-btn{padding:7px}.filter-button{font-size:12px}.search-box input,.sort-label select{font-size:11px}.stat-value{font-size:28px}.workflow-column .workflow-card{padding:23px}.workflow-intro,.workflow-steps p{font-size:12px}.privacy-note{font-size:11px}}
@media(max-width:480px){.page-heading>p{font-size:12px}.stat-label{font-size:11px}.stat-note{font-size:10px}.section-heading h2{font-size:16px}.section-heading p{font-size:11px}.save-status{font-size:9px}.empty-state>p{font-size:12px}.empty-state h3{font-size:19px}.empty-footnote{font-size:10px}.template-note p{font-size:11px}.help-card p{font-size:12px}.help-card h3{font-size:14px}.export-note p{font-size:12px}.export-actions .btn{font-size:12px}.editor-tab{font-size:11px}.field input:not([type=checkbox]):not([type=radio]),.field textarea,.field select{font-size:16px}.editor-status{font-size:9px}.editor-footer .btn{font-size:11px}}
.inventory-panel:has(#product-list:not([hidden])){min-height:0}.product-card{grid-template-columns:64px minmax(0,1fr) max-content max-content max-content}.product-card>.product-info{min-width:0}.product-card>.product-price{width:max-content;padding-left:0}.product-card>.product-status{width:max-content}.product-card .product-meta{flex-wrap:wrap;gap:6px;overflow-wrap:anywhere}
@media(max-width:1200px){.product-card{grid-template-columns:56px minmax(0,1fr) max-content max-content max-content}}
@media(max-width:980px){.product-card{grid-template-columns:64px minmax(0,1fr) max-content max-content max-content}}
@media(max-width:760px){.product-card{grid-template-columns:58px minmax(0,1fr) max-content max-content max-content}}
@media(max-width:600px){.product-card{grid-template-columns:58px minmax(0,1fr) max-content}.product-card>.product-price{font-size:14px}.product-card .badge{font-size:8px}}
