.commerce-page{
  --ink:#182119;--muted:#6f776f;--line:#dfe4dd;--paper:#fff;--wash:#f4f6f2;--deep:#1e2b21;
  --accent:#e65337;--accent-soft:#fff3ef;--green:#335a40;--ui:"Noto Sans SC",Manrope,"PingFang SC","Microsoft YaHei",Arial,sans-serif;
  --mono:"DM Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  background:#f5f6f3;color:var(--ink);font:500 14px/1.58 var(--ui)
}
.commerce-page button,.commerce-page input,.commerce-page textarea,.commerce-page select{font:600 13px var(--ui)}
.commerce-main{min-width:0}.commerce-topbar{min-height:64px;padding:0 36px;border-bottom:1px solid #dce1db;background:rgba(251,252,249,.94);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:20;backdrop-filter:blur(16px)}
.commerce-topbar>div{display:flex;align-items:center;gap:10px;font-size:13px}.commerce-topbar span,.commerce-topbar p{color:var(--muted)}.commerce-topbar i{font-style:normal;color:#b9beb8}.commerce-topbar strong{font-weight:850}.commerce-topbar p{max-width:58vw;margin:0;font-size:11px;text-align:right}
.commerce-content{display:grid;gap:18px;max-width:1500px;margin:auto;padding:28px 34px 70px}
.commerce-hero{min-height:196px;padding:34px 38px;border:1px solid rgba(255,255,255,.08);border-radius:20px;color:#f7f8f3;background:radial-gradient(circle at 78% 12%,rgba(242,83,50,.34),transparent 25%),linear-gradient(128deg,#172019,#2a3a2c 55%,#111512);box-shadow:0 16px 42px rgba(23,32,25,.12);display:flex;align-items:flex-end;justify-content:space-between;gap:28px;overflow:hidden;position:relative}
.commerce-hero:after{content:"";position:absolute;right:60px;top:-100px;width:240px;height:240px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 70px rgba(255,107,65,.22)}
.commerce-hero>div,.commerce-hero aside{position:relative;z-index:1}.commerce-hero h1{margin:8px 0 12px;font-size:clamp(34px,4vw,52px);font-weight:900;line-height:1.06;letter-spacing:-.045em}.commerce-hero>div>p:last-child{max-width:760px;margin:0;color:rgba(255,255,255,.7);font-size:14px}
.commerce-hero aside{max-width:320px;padding:17px 19px;border-left:3px solid #ff6948;border-radius:0 12px 12px 0;background:rgba(255,255,255,.07);display:grid;gap:6px}.commerce-hero aside b{font-size:14px}.commerce-hero aside span{color:rgba(255,255,255,.68);font-size:11px}
.commerce-taskbar{padding:11px 14px;border:1px solid var(--line);border-radius:13px;background:#fff;display:flex;align-items:end;gap:10px;box-shadow:0 5px 16px rgba(31,42,33,.04)}.commerce-taskbar label{min-width:0;flex:1;display:grid;gap:5px}.commerce-taskbar label span{color:#707971;font-size:10px;font-weight:800}.commerce-taskbar input{width:100%;min-height:39px;box-sizing:border-box;padding:8px 11px;border:1px solid #d9dfd8;border-radius:9px;background:#fafbf9;color:var(--ink);font:800 12px var(--ui);outline:0}.commerce-taskbar input:focus{border-color:#5d7b65;box-shadow:0 0 0 3px rgba(62,92,70,.09)}.commerce-taskbar button{min-height:39px;padding:0 14px;border:1px solid #e4c5bd;border-radius:9px;background:#fff7f4;color:#a93d29;font:800 10px var(--ui);cursor:pointer}.commerce-taskbar button:hover{border-color:#d54a31;background:#d94d33;color:#fff}.commerce-taskbar button span{font-size:14px}
.commerce-flow{padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;box-shadow:0 5px 18px rgba(26,37,28,.035)}
.commerce-flow span{min-width:0;padding:10px 12px;border-radius:10px;background:#f4f6f2;color:#4f5b51;font-size:11px;font-weight:750;white-space:nowrap}.commerce-flow b{margin-right:7px;color:var(--accent);font:800 10px var(--mono)}
.commerce-step{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--paper);box-shadow:0 8px 26px rgba(35,42,36,.045)}
.commerce-step>header{min-height:68px;padding:18px 24px;border-bottom:1px solid #e6e9e4;display:flex;align-items:center;justify-content:space-between;gap:20px}.commerce-step>header small{color:#a34c38;font:750 10px var(--mono);letter-spacing:.14em}.commerce-step>header h2{margin:5px 0 0;font-size:21px;font-weight:880;line-height:1.2}.commerce-step>header>span{font-size:11px;color:var(--muted)}
.commerce-market-entry{display:flex;align-items:center;gap:10px}.commerce-market-entry span{font-size:11px;color:var(--muted)}.commerce-market-entry a{min-height:34px;padding:0 13px;border:1px solid #ccd5cd;border-radius:9px;color:#273b2d;background:#fff;text-decoration:none;font-size:12px;font-weight:800;display:inline-flex;align-items:center}
.commerce-source-grid{padding:22px 24px 16px;display:grid;grid-template-columns:1.08fr .92fr;gap:14px}.commerce-source-card{min-width:0;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fafbf9;display:grid;align-content:start;gap:13px}.commerce-source-title{display:grid;gap:3px}.commerce-source-title span{color:var(--accent);font:750 9px var(--mono);letter-spacing:.13em}.commerce-source-title b{font-size:15px}
.commerce-source-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.commerce-source-card label,.commerce-form-grid label,.commerce-supply-tools label,.commerce-dialog label{display:grid;gap:7px;color:#626c64;font-size:11px;font-weight:750}
.commerce-source-card input,.commerce-source-card select,.commerce-form-grid input,.commerce-form-grid textarea,.commerce-supply-tools input,.commerce-dialog textarea,.commerce-dialog select{width:100%;min-height:42px;box-sizing:border-box;padding:10px 12px;border:1px solid #d9dfd8;border-radius:10px;background:#fff;color:var(--ink);outline:0}.commerce-source-card input:focus,.commerce-source-card select:focus,.commerce-form-grid input:focus,.commerce-form-grid textarea:focus,.commerce-supply-tools input:focus,.commerce-dialog textarea:focus,.commerce-dialog select:focus{border-color:#5d7b65;box-shadow:0 0 0 3px rgba(62,92,70,.09)}
.commerce-source-card p{margin:0;color:var(--muted);font-size:11px}.commerce-platform-checks{display:flex;gap:8px;flex-wrap:wrap}.commerce-platform-checks label{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff}.commerce-platform-checks input{width:auto;min-height:0;accent-color:var(--accent)}
.commerce-image-search-drop{min-height:82px!important;padding:10px;border:1px dashed #b9c3ba;border-radius:11px;background:#fff;cursor:pointer;display:grid!important;grid-template-columns:64px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:12px}.commerce-image-search-drop>span{grid-row:1/3;width:64px;height:64px;border-radius:8px;background:#eff2ed;display:grid;place-items:center;color:#819083;font-size:22px;overflow:hidden}.commerce-image-search-drop img{width:100%;height:100%;object-fit:contain}.commerce-image-search-drop b{align-self:end;color:var(--ink)}.commerce-image-search-drop small{align-self:start;color:#858c85}
.commerce-primary,.commerce-source-card>button,.commerce-action-row button,.commerce-gate-layout aside button,.commerce-header-actions button.primary,.commerce-publish button,.commerce-supply-tools button,.commerce-dialog footer button{min-height:42px;border:1px solid var(--deep);border-radius:10px;background:var(--deep);color:#fff;padding:0 18px;font-weight:850;cursor:pointer}.commerce-primary:hover,.commerce-source-card>button:hover,.commerce-action-row button:hover,.commerce-gate-layout aside button:hover,.commerce-header-actions button.primary:hover,.commerce-publish button:hover{border-color:var(--accent);background:var(--accent)}button:disabled{opacity:.42;cursor:not-allowed!important}
.commerce-results{padding:0 24px 22px;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}.commerce-empty,.commerce-no-data{grid-column:1/-1;padding:28px;border:1px dashed #ccd3cc;border-radius:10px;text-align:center;color:#7d867e;font-size:11px}
.commerce-product{min-width:0;padding:11px;border:1px solid var(--line);border-radius:11px;background:#fff;display:grid;grid-template-columns:72px 1fr;gap:11px;text-align:left;cursor:pointer}.commerce-product:hover,.commerce-product.selected{border-color:var(--accent);box-shadow:0 0 0 2px rgba(230,83,55,.1)}.commerce-product img{width:72px;height:72px;border-radius:7px;background:#f0f2ee;object-fit:contain}.commerce-product div{min-width:0;display:grid;align-content:start;gap:4px}.commerce-product b{font-size:12px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.commerce-product span{color:#7c847d;font-size:10px}
.commerce-reference-preview{margin:0 24px 24px;border:1px solid var(--line);border-radius:14px;background:#f6f8f4;overflow:hidden}.commerce-reference-preview>header{padding:13px 15px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}.commerce-reference-preview>header div{display:grid}.commerce-reference-preview small{color:var(--accent);font:700 9px var(--mono)}.commerce-reference-preview>header span{color:var(--muted);font-size:10px}.commerce-reference-body{padding:14px;display:grid;grid-template-columns:1.5fr .75fr;gap:14px}.commerce-reference-images{display:flex;gap:8px;overflow:auto}.commerce-reference-images figure{min-width:104px;margin:0}.commerce-reference-images img{width:104px;height:104px;border:1px solid var(--line);border-radius:8px;background:#fff;object-fit:contain}.commerce-reference-images figcaption{margin-top:4px;color:#848b84;font-size:9px}.commerce-reference-facts{padding:12px;border-radius:10px;background:#fff}.commerce-reference-facts b{display:block}.commerce-reference-facts span,.commerce-reference-facts p{color:#6f786f;font-size:10px}
.commerce-supply-disclosure{margin:18px 24px 0;border:1px solid var(--line);border-radius:12px;background:#fafbf9;overflow:hidden}.commerce-supply-disclosure summary{padding:14px 16px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;list-style:none}.commerce-supply-disclosure summary span{display:grid}.commerce-supply-disclosure summary small{color:var(--muted);font-size:10px}.commerce-supply-disclosure summary i{font-style:normal;font-size:10px}.commerce-supply-tools{padding:14px 16px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}.commerce-supply-layout{margin:0 16px 16px;border:1px solid var(--line);border-radius:12px;display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.5fr);min-height:320px;overflow:hidden}.commerce-supplies{max-height:450px;padding:9px;border-right:1px solid var(--line);display:grid;align-content:start;gap:7px;overflow:auto}.commerce-supply-card{padding:8px;border:1px solid var(--line);border-radius:9px;background:#fff;display:grid;grid-template-columns:58px 1fr;gap:9px;text-align:left;cursor:pointer}.commerce-supply-card.selected{border-color:var(--accent)}.commerce-supply-card img{width:58px;height:58px;object-fit:contain}.commerce-supply-card b{font-size:11px}.commerce-supply-card span{display:block;color:var(--muted);font-size:9px}.commerce-supply-detail{max-height:450px;padding:16px;overflow:auto}.commerce-supply-detail-head{padding-bottom:13px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:84px 1fr auto;gap:12px}.commerce-supply-detail-head img{width:84px;height:84px;object-fit:contain}.commerce-supply-detail-head h3{margin:0;font-size:14px}.commerce-supply-detail-head p{margin:4px 0;color:var(--muted);font-size:10px}.commerce-supply-detail-head a{display:block;margin-top:8px;color:var(--accent);font-size:10px}.commerce-supply-detail button{min-height:32px;border:1px solid #ccd4cd;border-radius:8px;background:#fff;cursor:pointer}.commerce-supply-gallery{padding:13px 0;display:flex;gap:8px;overflow:auto}.commerce-supply-gallery img{width:102px;height:102px;border:1px solid var(--line);border-radius:8px;object-fit:contain}.commerce-localized-copy{padding:12px;border-radius:10px;background:var(--deep);color:#fff;font-size:10px}
.commerce-brief-grid{padding:22px 24px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(390px,.95fr);gap:22px}.commerce-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.commerce-form-grid .wide{grid-column:1/-1}.commerce-form-grid textarea{min-height:88px;resize:vertical;line-height:1.6}.commerce-upload{min-height:310px;padding:20px;border:1px dashed #aebaae;border-radius:14px;background:#f6f8f4;display:grid;align-content:start;gap:14px}.commerce-upload>div:first-child{display:grid;gap:3px}.commerce-upload>div:first-child b{font-size:13px}.commerce-upload span{color:var(--muted);font-size:10px}.commerce-role-legend{margin:0;padding:11px 11px 11px 30px;border-radius:9px;background:#fff;color:#667068;font-size:10px;line-height:1.7}.commerce-upload>label{min-height:52px;border:1px solid var(--green);border-radius:9px;display:grid;place-items:center;color:var(--green);font-size:11px;font-weight:850;cursor:pointer}
.commerce-uploaded-images{display:grid!important;grid-template-columns:repeat(2,1fr);gap:10px}.commerce-uploaded-images figure{margin:0;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden;position:relative}.commerce-uploaded-images img{width:100%;aspect-ratio:1.2;object-fit:contain;background:#fbfcfa}.commerce-uploaded-images figcaption{padding:8px;display:grid;gap:5px}.commerce-uploaded-images figcaption b{font-size:10px}.commerce-uploaded-images figcaption label{display:grid;gap:3px}.commerce-uploaded-images figcaption span{font-size:9px}.commerce-uploaded-images figcaption select{width:100%;min-height:34px;padding:0 8px;border:1px solid #cfd7cf;border-radius:7px;background:#fff;color:var(--ink);font-size:10px;font-weight:750}.commerce-uploaded-images button{position:absolute;right:6px;top:6px;width:25px;height:25px;border:0;border-radius:50%;background:rgba(25,29,25,.82);color:#fff;cursor:pointer}
.commerce-action-row{padding:0 24px 24px;display:flex;align-items:center;gap:14px}.commerce-action-row p{margin:0;color:var(--muted);font-size:11px}
.commerce-analysis{margin:0 24px 24px;border:1px solid #36483b;border-radius:15px;background:var(--deep);color:#fff;overflow:hidden}.commerce-analysis>header{padding:17px 19px;border-bottom:1px solid rgba(255,255,255,.12);display:flex;align-items:center;justify-content:space-between;gap:16px}.commerce-analysis header small{color:#ff8a6f;font:700 9px var(--mono)}.commerce-analysis h3{margin:4px 0 0;font-size:17px}.commerce-analysis header span{color:rgba(255,255,255,.55);font-size:10px}.commerce-analysis-summary{margin:0;padding:16px 19px;color:rgba(255,255,255,.74);font-size:12px}
.commerce-fact-grid{padding:0 19px 16px;display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.commerce-fact-grid section,.commerce-lock-grid section{min-width:0;padding:12px;border:1px solid rgba(255,255,255,.11);border-radius:9px;background:rgba(255,255,255,.04)}.commerce-fact-grid b{font-size:11px}.commerce-analysis ul{margin:7px 0 0;padding-left:16px;color:rgba(255,255,255,.65);font-size:10px}.commerce-analysis p{color:rgba(255,255,255,.66);font-size:10px}.commerce-lock-grid{padding:0 19px 16px;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.commerce-lock-grid span{display:block;color:#ff9b83;font:700 9px var(--mono)}.commerce-lock-grid b{display:block;margin-top:5px;font-size:11px}.commerce-analysis details{margin:0 19px 10px;border:1px solid rgba(255,255,255,.11);border-radius:9px;overflow:hidden}.commerce-analysis summary{padding:11px 13px;cursor:pointer;font-size:11px;font-weight:800}.commerce-strategy-list{padding:0 10px 10px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}.commerce-strategy-list article{padding:10px;border-radius:8px;background:rgba(255,255,255,.06);display:grid;grid-template-columns:26px 1fr;gap:8px}.commerce-strategy-list article>span{color:#ff8f74;font:800 10px var(--mono)}.commerce-strategy-list b,.commerce-strategy-list small{display:block}.commerce-strategy-list small{color:rgba(255,255,255,.5);font-size:9px}.commerce-strategy-list p{margin:5px 0}.commerce-strategy-list em{color:#f8c7bb;font-size:9px;font-style:normal}.commerce-analysis>aside{padding:13px 19px 17px;border-top:1px solid rgba(255,255,255,.1)}
.commerce-generation-status{margin:14px 24px 0;padding:12px 14px;border:1px solid #e7c4ba;border-radius:10px;background:#fff5f1;color:#9d3522;font-size:11px;font-weight:800}.commerce-generation-status.success{border-color:#b9d8c1;background:#eef8f0;color:#256a38}.commerce-generation-status.warning{border-color:#e6d3a5;background:#fff9e9;color:#7c5b08}.commerce-generation-status.error{border-color:#efb8b0;background:#fff0ee;color:#a52d20}.commerce-gate-layout{padding:18px 24px 24px;display:grid;grid-template-columns:minmax(360px,.92fr) minmax(420px,1.08fr);gap:16px;align-items:stretch}.commerce-gate-result-panel,.commerce-gate-prompt{min-width:0;padding:17px;border:1px solid var(--line);border-radius:16px;background:#f7f9f6;display:grid;align-content:start;gap:12px}.commerce-gate-prompt{background:linear-gradient(145deg,#fff8f5,#f6f8f3)}.commerce-gate-panel-label{display:flex!important;grid-template-columns:none!important;align-items:center;justify-content:space-between;gap:12px}.commerce-gate-panel-label span{font-size:12px;font-weight:850}.commerce-gate-panel-label small{color:var(--muted);font-size:9px}.commerce-gate-result-panel .commerce-modules.single{padding:0}.commerce-gate-result-panel .commerce-generated.gate{padding:0}.commerce-gate-prompt label{min-height:0;display:grid;grid-template-rows:1fr;gap:8px}.commerce-gate-prompt textarea{width:100%;min-height:182px;box-sizing:border-box;padding:13px 14px;border:1px solid #dedfd8;border-radius:12px;background:#fff;color:var(--ink);font:600 10px/1.6 var(--ui);resize:vertical;outline:0}.commerce-gate-prompt textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(230,83,55,.08)}.commerce-gate-actions{display:grid!important;grid-template-columns:1.2fr .8fr!important;gap:8px}.commerce-gate-layout aside button{width:100%;padding:0 12px}.commerce-gate-layout aside .commerce-approve{border-color:#31483a;background:#31483a}.commerce-gate-layout aside .commerce-generate-featured{border-color:var(--accent);background:linear-gradient(135deg,#ef6447,#d9452d);box-shadow:0 8px 18px rgba(222,72,44,.18)}
.commerce-header-actions{display:flex;gap:8px}.commerce-header-actions button{min-height:36px;padding:0 13px;border:1px solid #ccd4cd;border-radius:9px;background:#fff;color:var(--deep);font-weight:800;cursor:pointer}.commerce-pack-note{margin:16px 24px 0;padding:12px 14px;border-left:3px solid var(--accent);border-radius:0 9px 9px 0;background:#faf4f1;display:flex;gap:12px}.commerce-pack-note b{font-size:11px;white-space:nowrap}.commerce-pack-note span{color:#786a64;font-size:10px}
.commerce-modules{padding:16px 24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:11px}.commerce-modules.single{padding:0;display:block}.commerce-module{min-height:104px;border:1px solid var(--line);border-radius:14px;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;overflow:hidden;box-shadow:0 5px 15px rgba(31,42,33,.04);transition:.18s ease}.commerce-module:hover{transform:translateY(-1px);border-color:#bdc9bb;box-shadow:0 9px 20px rgba(31,42,33,.08)}.commerce-module:has(input:checked){border-color:#dfa494;background:#fffaf8}.commerce-module.locked{opacity:.55;background:#f2f4f1}.commerce-module-select{min-width:0;padding:13px;display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:start;gap:10px;cursor:pointer}.commerce-module-select input{margin-top:4px;accent-color:var(--accent)}.commerce-module-index{width:32px;height:32px;border-radius:10px;background:#f0f3ee;color:#69756b;font:800 9px var(--mono);display:grid!important;place-items:center}.commerce-module-copy{min-width:0;display:grid;gap:3px}.commerce-module-copy b{font-size:11px}.commerce-module-copy small{color:var(--muted);font-size:9px;line-height:1.45}.commerce-module-copy em{color:#9a665a;font:750 8px var(--mono);font-style:normal}.commerce-module-action{align-self:stretch;min-width:86px;padding:0 12px;border:0;border-left:1px solid #f0ded9;background:linear-gradient(180deg,#fff9f7,#fff1ec);color:#b64530;font-size:9px;font-weight:850;cursor:pointer}.commerce-module-action:hover{background:linear-gradient(180deg,#ef6549,#dc472f);color:#fff}.commerce-module-action span{font-size:12px}.commerce-module.gate-module{display:block;min-height:auto}.commerce-module.gate-module .commerce-module-select{grid-template-columns:auto minmax(0,1fr);padding:10px 12px}.commerce-module.gate-module .commerce-module-index{background:#25362b;color:#fff}
.commerce-generated{padding:0 24px 24px;display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:12px}.commerce-generated.gate{padding:0;display:block}.commerce-generated figure{margin:0;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 6px 16px rgba(31,42,33,.05);transition:.18s ease}.commerce-generated figure:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(31,42,33,.09)}.commerce-generated img{width:100%;aspect-ratio:1;object-fit:contain;background:linear-gradient(145deg,#f7f8f5,#eef1ec);display:block}.commerce-generated figure.detail img{aspect-ratio:16/9}.commerce-generated figcaption{padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:9px}.commerce-generated figcaption span{display:grid}.commerce-generated b{font-size:10px}.commerce-generated small{color:var(--muted);font-size:8px}.commerce-generated a{padding:6px 9px;border-radius:8px;background:#fff1ec;color:var(--accent);font-size:9px;font-weight:850;text-decoration:none;white-space:nowrap}
.commerce-qa-grid{padding:18px 24px 0;display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.commerce-qa-grid span{padding:13px;border:1px solid var(--line);border-radius:10px;background:#f8faf7;color:var(--muted);font-size:10px}.commerce-qa-grid b{display:block;margin-top:5px;color:var(--ink);font-size:13px}.commerce-qa-grid b.done{color:#287443}.commerce-publish-actions{padding:16px 24px 22px;display:flex;align-items:center;justify-content:space-between;gap:24px}.commerce-publish-actions p{max-width:850px;margin:0;color:var(--muted);font-size:11px}
.commerce-marketplaces{margin:0 24px 20px;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(230px,.45fr);gap:12px}.commerce-marketplace-card,.commerce-marketplace-reserved article{border:1px solid var(--line);border-radius:14px;background:#fafbf9}.commerce-marketplace-card.active{padding:16px;border-color:#c9d4c9;background:linear-gradient(145deg,#fbfcf9,#f4f7f2)}.commerce-marketplace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:13px;border-bottom:1px solid var(--line)}.commerce-marketplace-head small,.commerce-marketplace-reserved span{color:var(--accent);font:750 9px var(--mono);letter-spacing:.11em}.commerce-marketplace-head h3{margin:3px 0 2px;font-size:16px}.commerce-marketplace-head p,.commerce-marketplace-connect p,.commerce-marketplace-submit p,.commerce-marketplace-reserved p{margin:0;color:var(--muted);font-size:10px}.commerce-marketplace-head>span{padding:5px 9px;border-radius:999px;background:#fff0eb;color:#aa432f;font-size:9px;font-weight:850;white-space:nowrap}.commerce-marketplace-head>span.connected{background:#e9f5eb;color:#287443}.commerce-marketplace-connect{padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:12px}.commerce-marketplace-connect button,.commerce-category-input button{min-height:34px;padding:0 12px;border:1px solid #cbd4cb;border-radius:8px;background:#fff;color:var(--deep);font-size:10px;font-weight:850;cursor:pointer}.commerce-marketplace-connect button:hover,.commerce-category-input button:hover{border-color:var(--accent);color:var(--accent)}.commerce-marketplace-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.commerce-marketplace-form label{min-width:0;display:grid;gap:5px;color:#687269;font-size:9px;font-weight:800}.commerce-marketplace-form label.wide{grid-column:span 2}.commerce-marketplace-form input,.commerce-marketplace-form select{width:100%;min-height:38px;box-sizing:border-box;padding:8px 10px;border:1px solid #d8dfd8;border-radius:8px;background:#fff;color:var(--ink);font-size:11px;outline:0}.commerce-marketplace-form input:focus,.commerce-marketplace-form select:focus{border-color:#5d7b65;box-shadow:0 0 0 3px rgba(62,92,70,.08)}.commerce-category-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.commerce-category-suggestions{grid-column:1/-1;padding:7px;border:1px solid var(--line);border-radius:9px;background:#fff;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.commerce-category-suggestions button{padding:7px 8px;border:1px solid #e1e6df;border-radius:7px;background:#fafbf9;text-align:left;cursor:pointer}.commerce-category-suggestions button:hover{border-color:var(--accent);background:#fff6f2}.commerce-category-suggestions b,.commerce-category-suggestions span{display:block}.commerce-category-suggestions b{font-size:9px}.commerce-category-suggestions span{margin-top:2px;color:var(--muted);font-size:8px}.commerce-category-suggestions p{grid-column:1/-1;margin:0;color:var(--muted);font-size:9px}.commerce-marketplace-submit{margin-top:13px;padding-top:12px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px}.commerce-marketplace-submit button{min-height:40px;padding:0 18px;border:1px solid var(--accent);border-radius:9px;background:linear-gradient(135deg,#ef6447,#d9472f);color:#fff;font-weight:900;cursor:pointer;box-shadow:0 7px 16px rgba(222,72,44,.15)}.commerce-marketplace-reserved{display:grid;gap:9px}.commerce-marketplace-reserved article{padding:14px;display:grid;align-content:start;gap:5px}.commerce-marketplace-reserved b{font-size:12px}.commerce-marketplace-reserved em{margin-top:5px;color:#8b938c;font-size:9px;font-style:normal;font-weight:800}
.commerce-store-manager{align-items:end}.commerce-store-selection{min-width:0;flex:1;display:grid;grid-template-columns:auto minmax(190px,310px);align-items:center;gap:5px 10px}.commerce-store-selection>label{color:#687269;font-size:9px;font-weight:850}.commerce-store-selection>select{min-height:36px;padding:7px 30px 7px 10px;border:1px solid #cbd4cb;border-radius:8px;background:#fff;color:var(--ink);font-size:11px;font-weight:750}.commerce-store-selection>p{grid-column:1/-1}.commerce-store-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.commerce-store-actions #commerceMercadoLibreDisconnect{color:#a14334;border-color:#ead4cf}.commerce-store-actions button:disabled{opacity:.46;cursor:not-allowed}
.commerce-listing-copy{margin:0 24px 24px;border:1px solid var(--line);border-radius:14px;background:#fbfcf9;overflow:hidden}.commerce-listing-copy-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border-bottom:1px solid var(--line);background:#f3f6ef}.commerce-listing-copy-head small{color:var(--accent);font-size:10px;font-weight:900;letter-spacing:.08em}.commerce-listing-copy-head h3{margin:3px 0 2px;font-size:17px;color:var(--ink)}.commerce-listing-copy-head p{margin:0;color:var(--muted);font-size:11px}.commerce-listing-copy-head>div:last-child{display:flex;gap:8px;flex-shrink:0}.commerce-listing-copy-head button{min-height:36px;border:1px solid var(--deep);border-radius:9px;background:#fff;color:var(--deep);padding:0 14px;font-weight:850;cursor:pointer}.commerce-listing-copy-head button.primary{background:var(--deep);color:#fff}.commerce-listing-copy-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 18px}.commerce-listing-copy-grid label{display:grid;gap:6px}.commerce-listing-copy-grid label.wide{grid-column:1/-1}.commerce-listing-copy-grid span{font-size:11px;font-weight:850;color:var(--ink)}.commerce-listing-copy-grid input,.commerce-listing-copy-grid textarea{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);padding:10px 11px;font:inherit;line-height:1.55;resize:vertical}.commerce-listing-copy-grid input:focus,.commerce-listing-copy-grid textarea:focus{outline:2px solid color-mix(in srgb,var(--accent) 34%,transparent);border-color:var(--accent)}.commerce-listing-copy-status{padding:0 18px 14px;color:var(--muted);font-size:10px}
.commerce-dialog{width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 28px);padding:0;border:0;background:transparent}.commerce-dialog::backdrop{background:rgba(14,18,15,.66);backdrop-filter:blur(5px)}.commerce-dialog-shell{overflow:hidden;border:1px solid #cacfc8;border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(12,17,13,.3)}.commerce-dialog-shell>header{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between}.commerce-dialog-shell>header small{color:var(--accent);font:700 9px var(--mono)}.commerce-dialog-shell h2{margin:4px 0 0;font-size:20px}.commerce-dialog-shell>header button{border:0;background:transparent;font-size:25px;cursor:pointer}.commerce-dialog-body{max-height:calc(100vh - 210px);padding:20px 22px;display:grid;gap:15px;overflow:auto}.commerce-dialog-body p{margin:4px 0;color:var(--muted);font-size:10px}.commerce-dialog textarea{resize:vertical;line-height:1.65}.commerce-dialog-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.commerce-dialog-assets{margin-top:9px;display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.commerce-dialog-assets label{aspect-ratio:1;border:1px solid var(--line);border-radius:8px;background:#fff;position:relative;overflow:hidden;cursor:pointer}.commerce-dialog-assets label:has(input:checked){border:2px solid var(--accent)}.commerce-dialog-assets img{width:100%;height:100%;object-fit:contain}.commerce-dialog-assets span{position:absolute;left:3px;right:3px;bottom:3px;padding:3px;background:rgba(19,26,21,.82);color:#fff;font-size:7px}.commerce-dialog-assets input{position:absolute;right:5px;top:5px;accent-color:var(--accent)}.commerce-dialog-note{padding:10px 12px;border-radius:9px;background:#edf1ec!important}.commerce-dialog-shell>footer{padding:14px 22px;border-top:1px solid var(--line)}.commerce-dialog-shell>footer button{width:100%}
.commerce-prompt-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#626c64}.commerce-prompt-heading button{min-height:30px;padding:0 11px;border:1px solid #d8b3aa;border-radius:8px;background:#fff;color:#b7442f;font:800 10px var(--sans);cursor:pointer}.commerce-prompt-heading button:hover{border-color:var(--accent);background:#fff7f4}.commerce-prompt-heading button:disabled{opacity:.55}.commerce-prompt-field>small{color:var(--muted);font-size:9px;line-height:1.5}
.commerce-busy{opacity:.6;pointer-events:none}.hidden{display:none!important}
@media(max-width:1150px){.commerce-flow{grid-template-columns:repeat(3,1fr)}.commerce-source-grid,.commerce-brief-grid{grid-template-columns:1fr}.commerce-gate-layout{grid-template-columns:1fr 1fr}.commerce-fact-grid,.commerce-qa-grid{grid-template-columns:repeat(2,1fr)}.commerce-marketplaces{grid-template-columns:1fr}.commerce-marketplace-reserved{grid-template-columns:1fr 1fr}}
@media(max-width:820px){.commerce-topbar{padding:0 18px}.commerce-topbar p{display:none}.commerce-content{padding:16px 13px 54px}.commerce-hero{min-height:auto;padding:27px 22px;display:grid}.commerce-hero aside{max-width:none}.commerce-step>header{align-items:flex-start}.commerce-market-entry{align-items:flex-end;flex-direction:column}.commerce-market-entry span{display:none}.commerce-reference-body,.commerce-supply-layout,.commerce-gate-layout{grid-template-columns:1fr}.commerce-supplies{max-height:250px;border-right:0;border-bottom:1px solid var(--line)}.commerce-form-grid{grid-template-columns:1fr}.commerce-form-grid .wide{grid-column:auto}.commerce-modules{grid-template-columns:1fr 1fr}.commerce-publish-actions{align-items:stretch;flex-direction:column}.commerce-publish-actions button{width:100%}.commerce-listing-copy{margin:0 14px 18px}.commerce-listing-copy-head{align-items:flex-start;flex-direction:column}.commerce-listing-copy-head>div:last-child{width:100%}.commerce-listing-copy-head button{flex:1}.commerce-listing-copy-grid{grid-template-columns:1fr}.commerce-listing-copy-grid label.wide{grid-column:auto}.commerce-dialog-assets{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.commerce-taskbar{align-items:stretch;flex-direction:column}.commerce-taskbar button{width:100%}.commerce-flow{display:flex;overflow:auto}.commerce-flow span{min-width:145px}.commerce-source-grid,.commerce-results,.commerce-brief-grid,.commerce-modules,.commerce-generated,.commerce-qa-grid{padding-left:16px;padding-right:16px}.commerce-source-fields,.commerce-modules,.commerce-fact-grid,.commerce-qa-grid,.commerce-dialog-options{grid-template-columns:1fr}.commerce-reference-preview,.commerce-supply-disclosure,.commerce-analysis{margin-left:16px;margin-right:16px}.commerce-action-row{padding-left:16px;padding-right:16px;align-items:stretch;flex-direction:column}.commerce-action-row button{width:100%}.commerce-pack-note{margin-left:16px;margin-right:16px}.commerce-step>header{padding:17px}.commerce-header-actions{display:grid}.commerce-dialog-assets{grid-template-columns:repeat(2,1fr)}.commerce-marketplaces{margin-left:16px;margin-right:16px}.commerce-marketplace-form{grid-template-columns:1fr 1fr}.commerce-marketplace-form label.wide{grid-column:1/-1}.commerce-marketplace-reserved{grid-template-columns:1fr}.commerce-marketplace-connect,.commerce-marketplace-submit{align-items:stretch;flex-direction:column}.commerce-store-selection{grid-template-columns:1fr}.commerce-store-selection>p{grid-column:auto}.commerce-store-actions{display:grid;grid-template-columns:1fr 1fr}.commerce-store-actions button,.commerce-marketplace-submit button{width:100%}.commerce-store-actions button:first-child{grid-column:1/-1}}
.commerce-generated figure.detail img{aspect-ratio:1464/600}
.commerce-module.gate-module{height:100%;box-sizing:border-box;padding-right:12px;cursor:default}
/* SKU editing and publishing share one source of truth in step 02. */
.commerce-sku-hero{grid-column:1/-1;display:flex;gap:14px;align-items:center;padding:12px 0;border-top:1px solid #d9dfd7;min-width:0}
.commerce-sku-hero>div:last-child{display:grid;gap:7px;min-width:0;flex:1}
.commerce-sku-hero button:has(img){padding:0;width:96px;height:96px;overflow:hidden;background:#fff;border:1px solid #d9dfd7;border-radius:10px}
.commerce-sku-hero img{width:100%;height:100%;object-fit:contain}
.commerce-sku-hero small,.commerce-sku-image-actions small{color:#536252;font-size:12px}
.commerce-sku-hero select{width:100%;max-width:440px;min-width:0}
.commerce-sku-hero-placeholder{display:grid;place-items:center;width:96px;height:96px;background:#f0f3ed;border-radius:10px;color:#52614f}
.commerce-sku-platform{grid-column:1/-1;min-width:0;border-top:1px solid #d9dfd7;padding-top:10px}
.commerce-sku-platform header{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.commerce-sku-platform .commerce-variant-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}
.commerce-sku-platform details{margin-top:10px}
.commerce-sku-image-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:10px 0}
.commerce-sku-publishing-settings{min-width:0}
.commerce-reference-store{display:flex;align-items:center;gap:8px;min-width:0}
.commerce-shop-source{font-size:12px;white-space:nowrap;color:#456d24;text-decoration:underline}
@media(max-width:600px){.commerce-sku-hero{gap:10px}.commerce-sku-hero button:has(img),.commerce-sku-hero-placeholder{width:76px;height:76px}.commerce-sku-publishing-settings .commerce-marketplace-form{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-reference-store{flex-wrap:wrap}}
