#view-commerce-agent{padding-bottom:38px}.commerce-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.commerce-head h1{font-size:24px;margin:0}.commerce-head p{font-size:11px;color:var(--muted);margin:8px 0 0}.commerce-head-actions{display:flex;align-items:center;gap:8px}.commerce-head-actions>span{display:flex;align-items:center;gap:6px;color:#8f9d94;font-size:9px;margin-right:5px}.commerce-head-actions>span i{width:6px;height:6px;border-radius:50%;background:var(--amber)}.commerce-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid var(--line);border-radius:7px;background:#141b18;margin-bottom:14px;overflow:hidden}.commerce-flow-item{display:flex;align-items:center;gap:9px;padding:11px 12px;border-right:1px solid var(--line);min-width:0}.commerce-flow-item:last-child{border-right:0}.commerce-flow-item>i{width:22px;height:22px;display:grid;place-items:center;border:1px solid #35443a;border-radius:50%;font:8px Consolas,monospace;color:#87958c;font-style:normal;flex:0 0 auto}.commerce-flow-item span{display:grid;gap:3px;min-width:0}.commerce-flow-item b{font-size:9px;font-weight:550;white-space:nowrap}.commerce-flow-item small{font-size:8px;color:#76847b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.commerce-flow-item.done>i{background:#34513f;color:#c8f0d3;border-color:#547b60}.commerce-flow-item.done b{color:var(--mint)}.commerce-flow-item.active{background:#1c2821}.commerce-flow-item.active>i{background:var(--mint);border-color:var(--mint);color:#102117}.commerce-layout{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:14px;align-items:start}.commerce-main{display:grid;gap:14px}.commerce-section{overflow:hidden}.commerce-section>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 15px;border-bottom:1px solid var(--line)}.commerce-section>header>div:first-child{display:grid;grid-template-columns:26px minmax(0,1fr);column-gap:9px}.commerce-step-no{grid-row:1/3;width:26px;height:26px;border:1px solid #45564b;border-radius:5px;display:grid;place-items:center;font:9px Consolas,monospace;color:var(--mint)}.commerce-section h2,.commerce-publish h2{font-size:12px;margin:0}.commerce-section header p,.commerce-publish header p{font-size:9px;color:#7f8d84;margin:5px 0 0}.commerce-filters{display:flex;gap:6px}.commerce-filters select,.commerce-schedule select,.commerce-schedule input{background:#101613;border:1px solid var(--line);border-radius:5px;color:#c7d2ca;padding:7px 8px;font-size:9px}.commerce-hot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:12px}.commerce-hot-card{border:1px solid #2c3831;border-radius:6px;background:#121815;overflow:hidden;text-align:left;padding:0;color:var(--text);min-width:0}.commerce-hot-card:hover,.commerce-hot-card.selected{border-color:#60856b;background:#17221c}.commerce-hot-preview{height:106px;display:flex;flex-direction:column;justify-content:flex-end;padding:9px;position:relative;background:linear-gradient(145deg,#2b352f,#18201c)}.commerce-hot-preview:before{content:"▶";position:absolute;top:10px;left:10px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#0c110ebd;color:#d9eee0;font-size:8px}.commerce-hot-preview.cosmetic{background:linear-gradient(145deg,#694e55,#262126)}.commerce-hot-preview.food{background:linear-gradient(145deg,#705d32,#28251c)}.commerce-hot-preview.fashion{background:linear-gradient(145deg,#3f5260,#1e2429)}.commerce-hot-preview.home{background:linear-gradient(145deg,#526452,#202720)}.commerce-hot-preview.digital{background:linear-gradient(145deg,#3c5268,#1c232b)}.commerce-hot-preview em{font-style:normal;font-size:8px;color:#e9f0eb;background:#101713a6;border-radius:3px;padding:3px 5px;align-self:flex-start}.commerce-hot-copy{padding:9px}.commerce-hot-copy b{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.commerce-hot-copy span{display:flex;justify-content:space-between;margin-top:7px;font-size:8px;color:#829087}.commerce-hot-copy strong{color:#e8c878;font-weight:500}.commerce-copy-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:13px 13px 0}.commerce-copy-grid label,.commerce-result{display:grid;gap:7px}.commerce-copy-grid label>span,.commerce-result>span{font-size:9px;color:#aebbb2}.commerce-copy-grid textarea,.commerce-result textarea{background:#101613;border:1px solid var(--line);border-radius:5px;color:var(--text);padding:9px;resize:vertical;min-height:88px;font-size:10px;line-height:1.6}.commerce-copy-grid .button{justify-content:center}.commerce-result{padding:10px 13px 0}.commerce-result textarea{min-height:106px}.commerce-meta-actions{padding:10px 13px 13px;display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start}.commerce-title-results{display:flex;flex-wrap:wrap;gap:6px;min-height:30px}.commerce-title-results button{border:1px solid #35443b;border-radius:4px;background:#202923;color:#b8c7bd;padding:6px 8px;font-size:8px;text-align:left}.commerce-title-results button:hover{border-color:#60816b;color:var(--mint)}.commerce-status{font-size:8px;color:#988a61;border:1px solid #4b4431;background:#26231b;border-radius:4px;padding:4px 6px}.commerce-status.ready{color:#aee8bd;border-color:#3f634a;background:#1d2c22}.commerce-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:13px}.commerce-drop{border:1px dashed #3a4940;border-radius:6px;background:#121815;padding:15px;display:grid;grid-template-columns:31px 1fr auto;grid-template-rows:auto auto;column-gap:10px;align-items:center}.commerce-drop>i{grid-row:1/3;width:31px;height:31px;border-radius:6px;background:#253229;color:var(--mint);display:grid;place-items:center;font-style:normal}.commerce-drop>b{font-size:10px}.commerce-drop>span{font-size:8px;color:#7e8c83;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.commerce-drop>.button{grid-column:3;grid-row:1/3;padding:6px 8px;font-size:9px}.commerce-generate-row{display:flex;justify-content:flex-end;gap:7px;padding:0 13px 13px}.commerce-pack-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:13px}.commerce-pack-options label{border:1px solid #2e3a33;background:#121815;border-radius:6px;padding:9px;cursor:pointer}.commerce-pack-options label:has(input:checked){border-color:#54745e;background:#19251e}.commerce-pack-options input{position:absolute;opacity:0}.commerce-pack-options span{display:grid;grid-template-columns:25px 1fr;column-gap:8px}.commerce-pack-options i{grid-row:1/3;width:25px;height:25px;border-radius:5px;background:#27332c;display:grid;place-items:center;font-style:normal;color:#a9dbb7;font-size:9px}.commerce-pack-options b{font-size:9px}.commerce-pack-options small{font-size:8px;color:#77857c;margin-top:4px}.commerce-wide-button{margin:0 13px 13px;width:calc(100% - 26px);justify-content:center}.commerce-output{margin:0 13px 13px;min-height:96px;border:1px solid #2d3932;border-radius:6px;background:#101613;display:grid;place-items:center}.commerce-output>div{text-align:center;display:grid;gap:6px}.commerce-output span{font:9px Consolas,monospace;color:#738178}.commerce-output b{font-size:10px;color:#aab7af}.commerce-output small{font-size:8px;color:#6f7d74}.commerce-output.ready{background:linear-gradient(145deg,#26382d,#131a16);border-color:#4a6b54}.commerce-output.ready span{color:var(--mint)}.commerce-publish{position:sticky;top:78px;overflow:hidden}.commerce-publish>header{display:flex;gap:10px;padding:15px;border-bottom:1px solid var(--line)}.commerce-publish>header>span{width:28px;height:28px;border:1px solid #45564b;border-radius:5px;display:grid;place-items:center;color:var(--mint);font:9px Consolas,monospace}.commerce-publish-note{margin:12px;padding:9px;border:1px solid #4b4431;background:#252219;border-radius:5px;color:#cabc94;font-size:8px;line-height:1.6}.commerce-platforms{padding:0 12px;display:grid;gap:6px}.commerce-platforms label{display:grid;grid-template-columns:auto 30px 1fr;gap:9px;align-items:center;border:1px solid #2d3932;border-radius:6px;padding:8px;background:#131a17;cursor:pointer}.commerce-platforms label:has(input:checked){border-color:#56745f;background:#1a261f}.commerce-platforms input{accent-color:var(--mint)}.commerce-platforms i{width:29px;height:29px;border-radius:7px;display:grid;place-items:center;font-style:normal;font-size:9px;font-weight:700;background:#2a3430}.commerce-platforms i.douyin{color:#72e5dc}.commerce-platforms i.redbook{color:#ff8e8e}.commerce-platforms i.wechatvideo{color:#83db9a}.commerce-platforms i.kuaishou{color:#f0ad76}.commerce-platforms span{display:grid;gap:4px}.commerce-platforms b{font-size:9px}.commerce-platforms small{font-size:8px;color:#78867d}.commerce-schedule{padding:12px;display:grid;gap:9px}.commerce-schedule label{display:grid;gap:5px;color:#9eaca3;font-size:8px}.commerce-schedule select,.commerce-schedule input{width:100%}.commerce-publish-button{margin:0 12px;width:calc(100% - 24px);justify-content:center}.commerce-publish-history{border-top:1px solid var(--line);margin-top:13px;padding:12px}.commerce-publish-history>div:first-child{display:flex;justify-content:space-between;align-items:center}.commerce-publish-history h3{font-size:10px;margin:0}.commerce-publish-history span{font-size:8px;color:#7b8980}.commerce-empty-history{padding:20px 0 8px;text-align:center;color:#68766e;font-size:8px}.commerce-history-item{display:grid;grid-template-columns:1fr auto;gap:5px;padding:9px 0;border-bottom:1px solid #29342e}.commerce-history-item b{font-size:8px}.commerce-history-item small{font-size:7px;color:#76847b}.commerce-history-item em{font-style:normal;font-size:7px;color:#d8bd72}.commerce-button-busy{opacity:.6;pointer-events:none}
.commerce-wan-options{display:grid;grid-template-columns:1.2fr repeat(3,1fr) 1.3fr;gap:8px;padding:0 13px 12px}.commerce-wan-options label{display:grid;gap:5px;color:#9ca9a1;font-size:8px}.commerce-wan-options input,.commerce-wan-options select{min-width:0;border:1px solid var(--line);border-radius:5px;background:#101613;color:#d3ddd6;padding:7px 8px;font-size:9px}.commerce-wan-options input:disabled{color:#90cda2;background:#18231d}.commerce-wan-options small{font-size:7px;color:#6f7c74}.commerce-wan-options .commerce-wan-check{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:5px;padding:7px 8px;color:#b7c4bb}.commerce-wan-check input{accent-color:var(--mint)}.commerce-api-note{margin:0 13px 12px;border:1px solid #34423a;background:#121915;border-radius:6px;padding:8px 9px;display:grid;grid-template-columns:8px 1fr auto;gap:8px;align-items:center}.commerce-api-note>i{width:7px;height:7px;border-radius:50%;background:var(--amber)}.commerce-api-note.ready>i{background:var(--mint)}.commerce-api-note.error>i{background:var(--red)}.commerce-api-note span{display:grid;gap:3px}.commerce-api-note b{font-size:8px}.commerce-api-note small{font-size:7px;color:#75837a}.commerce-api-note .text-button{font-size:8px}.commerce-output video{display:block;width:min(100%,360px);max-height:480px;background:#080b09;border-radius:5px}.commerce-output.has-video{padding:10px}
@media(max-width:1150px){.commerce-layout{grid-template-columns:1fr}.commerce-publish{position:static}.commerce-hot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.commerce-platforms{grid-template-columns:repeat(2,1fr)}.commerce-schedule{grid-template-columns:1fr 1fr}.commerce-publish-history{margin-bottom:2px}.commerce-wan-options{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.commerce-head{align-items:flex-start;flex-direction:column}.commerce-head-actions{width:100%;flex-wrap:wrap}.commerce-head-actions>span{width:100%}.commerce-flow{grid-template-columns:1fr}.commerce-flow-item{border-right:0;border-bottom:1px solid var(--line)}.commerce-flow-item:last-child{border-bottom:0}.commerce-hot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-copy-grid,.commerce-upload-grid{grid-template-columns:1fr}.commerce-pack-options{grid-template-columns:repeat(2,1fr)}.commerce-meta-actions{grid-template-columns:1fr}.commerce-drop{grid-template-columns:31px minmax(0,1fr);padding:12px}.commerce-drop>.button{grid-column:1/-1;grid-row:auto;margin-top:8px;justify-content:center}.commerce-filters{flex-direction:column}.commerce-platforms,.commerce-schedule{grid-template-columns:1fr}}
@media(max-width:430px){.commerce-hot-grid{grid-template-columns:1fr}.commerce-pack-options{grid-template-columns:1fr}.commerce-head-actions .button{flex:1;justify-content:center}}
@media(max-width:760px){.commerce-wan-options{grid-template-columns:1fr 1fr}.commerce-wan-options .commerce-wan-check{grid-column:1/-1}.commerce-api-note{grid-template-columns:8px 1fr}.commerce-api-note .text-button{grid-column:2;justify-self:start;padding-left:0}}
