/* Neutral workspace: soft gray surfaces, readable slate text, restrained blue. */
:root{color-scheme:light;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#29333f;background:#f5f5f1;--ink:#29333f;--muted:#606c7a;--line:#e0e4e9;--accent:#375675}
body{background:#f5f5f1;color:var(--ink);-webkit-font-smoothing:antialiased}body:before{display:none}button,input,select,textarea{font:inherit}button{transition:background .16s,color .16s}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.dropzone:focus-visible,summary:focus-visible{outline:2px solid #606c7a;outline-offset:3px}
.workspace-nav{position:fixed;top:112px;width:170px;display:grid;gap:8px}.workspace-nav button{display:flex;align-items:center;gap:12px;border:0;border-radius:10px;padding:13px 15px;background:transparent;color:#4b6079;text-align:left;cursor:pointer}.workspace-nav button[aria-current="page"]{background:#e9e8f7;color:#3e4c8a;font-weight:600}#workspace-main{margin-left:194px}#workspace-main:not(.library-mode) #image-library-panel{display:none}body:not(.workspace-v2) #workspace-main.library-mode>:not(#image-library-panel):not(#account-panel):not(#admin-panel){display:none}#workspace-main.library-mode #image-library-panel{display:block;margin-top:28px}
.shell{max-width:1400px;padding:0 48px}.topbar{height:88px;border-bottom:1px solid var(--line);gap:20px}.brand{gap:12px}.brandmark{width:36px;height:36px;background:var(--ink);border-radius:10px;box-shadow:none;font-size:21px;font-weight:600}.brand strong{font-size:18px;letter-spacing:-.5px;color:var(--ink)}.brand small{font-size:12px;letter-spacing:2px;color:var(--muted);margin-top:4px}.topright{gap:16px;flex-wrap:wrap;justify-content:flex-end}.topnote{color:#606c7a;font-size:12px}.text-button{color:#606c7a;font-weight:500;padding:7px 0}.text-button:hover{color:#375675}.chip{font-size:12px;font-weight:500;border-radius:6px;padding:7px 10px}.chip-ready{color:#4b6079;background:#f1f3f5}.chip-wait{color:#947846;background:#f5f0e2}.chip-error{color:#a95f49;background:#faeee7}
.hero{padding:38px 0 30px;margin:0;background:none;border:0;border-radius:0;box-shadow:none;color:var(--ink);gap:24px;min-height:0}.hero h1{font-size:34px;letter-spacing:-1.1px;line-height:1.3;font-weight:600;margin:10px 0}.hero p{font-size:13px;color:#606c7a;line-height:1.8;margin:0}.eyebrow{font-size:12px;color:#606c7a;letter-spacing:2px;font-weight:500}.hero-stat{min-width:auto;text-align:right;border:0;padding-left:24px;display:flex;align-items:center;gap:14px}.hero-stat strong{font-size:42px;font-weight:400;letter-spacing:-2px;color:#4b6079}.hero-stat span{font-size:12px;color:#788391;margin:0}.hero-stat small{display:block;font-size:12px;color:#788391;margin-top:5px}.hero-stat i,.hero-tags,.live-dot{display:none}
.columns{grid-template-columns:1.05fr 1fr;gap:20px}.card,.results,.history,.admin-panel,.listing-panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 3px 8px #29333f03}.card{padding:28px;min-height:0}.section-head{margin-bottom:24px;align-items:center}.section-index{font-size:12px;color:#788391;letter-spacing:1.5px;font-weight:500;margin-bottom:7px}.section-head h2{color:var(--ink);font-size:19px;font-weight:600;letter-spacing:-.4px}.section-hint{font-size:12px;color:#788391}.label{color:#4b6079;font-size:12px;font-weight:600;margin:22px 0 9px}.label span{color:#788391;font-size:12px}.smallnote,.muted{color:#606c7a;font-size:12px;line-height:1.7}.smallnote:empty{display:none}select{height:46px;background:#fafbfc;border:1px solid #e0e4e9;border-radius:8px;color:#375675;padding:0 13px}select:disabled{color:#788391;background:#fafbfc}select option{background:white;color:var(--ink)}
.dropzone{min-height:166px;background:#fafbfc;border:1px dashed #c5cdd7;border-radius:10px;gap:7px}.dropzone:hover,.dropzone.drag{background:#f1f3f5;border-color:#606c7a}.upload-icon{font-size:30px;color:#606c7a;margin-bottom:5px}.dropzone strong{font-size:13px;font-weight:500;color:#4b6079}.dropzone span{color:#788391;font-size:12px}.file-row{padding:9px 3px;border-bottom-color:#f1f3f5;color:#606c7a;font-size:12px}.file-row button{color:#ad8372}.actionrow{gap:14px;margin-top:20px}.primary{background:#375675;border:1px solid #375675;color:#fff;border-radius:8px;padding:13px 20px;box-shadow:none;font-size:12px;font-weight:600}.primary:hover{background:#375675;border-color:#375675}.primary:disabled{background:#e0e4e9;border-color:#e0e4e9;color:#788391;box-shadow:none}.primary span{margin-left:28px}.secondary{border:1px solid #e0e4e9;background:#fff;color:#4b6079;border-radius:7px;font-size:12px;padding:10px 13px;font-weight:500}.secondary:hover{background:#f1f3f5;border-color:#788391}.empty-state{height:290px;color:#788391}.empty-state div{font-size:44px;color:#c5cdd7}.empty-state strong{font-size:14px;font-weight:500;color:#606c7a;margin-top:14px}.empty-state p{font-size:12px;line-height:1.8;color:#788391}
.batch-id{font-size:12px;color:#788391;overflow-wrap:anywhere}.progress-head{margin-top:16px}.progress-head strong{font-size:22px;font-weight:500;color:#4b6079}.progress-head span{font-size:12px;color:#788391}.progressbar{height:5px;background:#f1f3f5;border-radius:4px}.progressbar>span{background:#606c7a;box-shadow:none}.metricrow{gap:12px;margin:27px 0}.metric{padding:20px 16px;background:#fafbfc;border:1px solid #f1f3f5;border-radius:9px}.metric strong{font-size:28px;font-weight:500;color:#4b6079;letter-spacing:-1px;margin-bottom:5px}.metric span{color:#788391;font-size:12px}.warning{background:#fbf4e8;border:1px solid #f0e5d1;color:#a1834d;font-size:12px;line-height:1.8;padding:12px 14px;border-radius:8px}.warning.success{background:#f1f3f5;border-color:#e0e4e9;color:#606c7a}
.results,.history,.listing-panel{margin-top:20px;padding:28px}.sku-card{border:1px solid #e0e4e9;border-radius:10px;padding:16px;background:#fff}.sku-top strong{font-size:13px;color:#4b6079}.sku-top small{font-size:12px;color:#788391;overflow-wrap:anywhere}.sku-status{background:#f1f3f5;color:#606c7a;font-size:12px;border-radius:5px}.sku-status.fail{background:#f9efe5;color:#b38c64}.scene{border-color:#e0e4e9;border-radius:7px;background:#fafbfc}.scene img{background:#fff}.scene-foot{font-size:12px;padding:8px 6px;color:#788391}.scene-foot em{color:#788391;font-size:12px}.scene-foot em.failed{color:#b2715c}.scene-placeholder{color:#788391}.sku-actions a{color:#606c7a;font-size:12px}.history-list{gap:0}.history-item{background:#fff;border:0;border-top:1px solid #f1f3f5;border-radius:0;padding:16px 0;color:#788391;font-size:12px;gap:15px}.history-item strong{color:#606c7a;font-weight:500}.history-item button{color:#606c7a;font-size:12px;white-space:nowrap}.history{margin-bottom:28px}
.listing-panel>.section-head{margin-bottom:0;cursor:pointer;list-style:none}.listing-panel>.section-head::-webkit-details-marker{display:none}.listing-panel>.section-head:after{content:'＋';color:#788391;font-size:18px;margin-left:auto}.listing-panel[open]>.section-head:after{content:'−'}.listing-panel[open]>.section-head{margin-bottom:20px}.listing-form{display:grid;gap:14px}.listing-form>label,.listing-files label{font-size:12px;font-weight:500;color:#606c7a}.listing-files{display:grid;grid-template-columns:1fr 1fr;gap:14px}.listing-files label{display:grid;gap:10px;padding:17px;border:1px dashed #e0e4e9;background:#fafbfc;border-radius:8px;min-width:0}.listing-files input{max-width:100%;font-size:12px;color:#788391}.listing-files small{font-size:12px;color:#788391;font-weight:400;overflow-wrap:anywhere}.listing-form textarea{width:100%;min-height:150px;border:1px solid #e0e4e9;border-radius:8px;padding:14px;background:#fafbfc;color:#4b6079;resize:vertical;font-size:12px;line-height:1.8}.listing-form textarea::placeholder{color:#788391}.listing-note{font-size:12px;line-height:1.7;color:#788391;margin-top:14px}.listing-jobs{display:grid;gap:9px;margin-top:16px}.listing-job{display:grid;grid-template-columns:1fr auto;gap:8px;border:1px solid #e0e4e9;border-radius:8px;padding:13px;font-size:12px}.listing-job strong{color:#606c7a;font-weight:500}.listing-job span{color:#788391}.listing-job small{grid-column:1/-1;color:#788391;overflow-wrap:anywhere}
.admin-panel{margin:20px 0;padding:26px}.admin-grid{gap:26px}.admin-grid h3{color:#4b6079;font-weight:500}.admin-panel input:not([type=checkbox]){background:#fafbfc;border:1px solid #e0e4e9;color:#375675;border-radius:8px;font-size:13px}.admin-panel input::placeholder::placeholder{color:#788391}.admin-row{border-color:#f1f3f5;color:#606c7a}.admin-row button{color:#606c7a}.template-card{border-color:#e0e4e9;background:#fafbfc}.template-card small,.template-card em{color:#788391}.template-card input[type=checkbox]{accent-color:#606c7a}footer{font-size:12px;color:#788391;text-align:left;border-top:1px solid var(--line);padding:22px 0 30px;letter-spacing:.5px}

@media(max-width:1050px){.shell{padding:0 28px}.topright{gap:12px}.brand small{letter-spacing:1px}.section-hint{display:none}}
@media(max-width:900px){.workspace-nav{position:static;width:auto;display:flex;margin-top:16px}.workspace-nav button{flex:1;justify-content:center}#workspace-main{margin-left:0}.columns{grid-template-columns:1fr}.hero-stat{display:none}.topbar{height:auto;min-height:80px;padding:18px 0;flex-wrap:wrap}.scene-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-grid{grid-template-columns:1fr}}
@media(max-width:600px){.shell{padding:0 16px}.topbar{gap:16px}.topright{width:100%;justify-content:flex-start;gap:14px}.brand small{font-size:12px}.chip{padding:6px 8px;font-size:12px}.hero{padding:28px 0 22px}.hero h1{font-size:27px}.hero p{font-size:12px}.card,.results,.history,.listing-panel,.admin-panel{padding:20px;border-radius:11px}.section-head h2{font-size:17px}.label span{font-size:12px}.metric{padding:16px 12px}.metric strong{font-size:24px}.scene-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.listing-files{grid-template-columns:1fr}.actionrow{flex-wrap:wrap}.history-item{align-items:flex-start}.history-item>span{overflow-wrap:anywhere;min-width:0}}
.smallnote,.muted,.hero p,.empty-state p,.listing-note,.listing-job small,.file-row,.history-item,.sku-top small{color:#606c7a}.label span,.section-hint,.metric span,.dropzone span,.scene-foot em{color:#606c7a}.section-index,.eyebrow{color:#606c7a}
.sku-toolbar,.sku-pagination{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.sku-toolbar{margin-bottom:12px}.sku-toolbar input{width:min(320px,100%);padding:10px 12px;border:1px solid #e0e4e9;border-radius:7px;background:#fafbfc;color:#375675}.sku-pagination{justify-content:flex-end;margin-top:16px;font-size:12px;color:#606c7a}.sku-pagination button:disabled{opacity:.4;cursor:default}.sku-compact{border-bottom:1px solid #e0e4e9}.sku-compact-head{display:flex;align-items:center;gap:16px;padding:10px 0}.sku-toggle{display:flex;align-items:center;gap:14px;flex:1;min-width:0;text-align:left;border:0;background:none;padding:0;color:inherit;cursor:pointer}.sku-toggle img,.sku-thumb-empty{width:52px;height:52px;object-fit:contain;border:1px solid #f1f3f5;border-radius:6px;flex-shrink:0}.sku-thumb-empty{display:grid;place-items:center;font-size:12px;color:#606c7a}.sku-name{display:grid;gap:5px;flex:1;min-width:0}.sku-name strong{font-size:12px;color:#375675}.sku-name small{font-size:12px;color:#606c7a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sku-expand,.sku-zip{white-space:nowrap;font-size:12px;color:#4b6079}.sku-expanded{padding:10px 0 18px}.sku-toggle:focus-visible{outline:2px solid #375675;outline-offset:4px}.sku-zip{padding:8px}.sku-list{display:block}@media(max-width:600px){.sku-toggle{gap:8px;flex-wrap:wrap}.sku-name{min-width:90px}.sku-compact-head{gap:6px}.sku-toggle img,.sku-thumb-empty{width:42px;height:42px}.sku-expand{display:none}.sku-pagination{justify-content:center}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
.listing-help{margin:0;font-size:13px;line-height:1.75;color:#4b6079}
.listing-help>summary{cursor:pointer;width:fit-content;padding:4px 0;color:#4b6079}
.listing-help>ul{margin:8px 0 0;padding-left:20px;max-width:72ch}
.listing-help li+li{margin-top:6px}
#qwen-result:empty,.listing-jobs:empty{display:none}
/* Readability for sustained daily work; no rendering/business behavior changes. */
body{font-size:14px;line-height:1.65;background:#f3f4f6}
.brand small,.eyebrow,.hero-stat small{display:none}
.smallnote,.muted,.label span,.section-hint,.metric span,.dropzone span,.scene-foot,.scene-foot em,.sku-name small,.sku-top small,.file-row,.history-item,.listing-files small,footer{color:#626c78}
.label,.listing-form>label,.listing-files label{font-size:14px;color:#354252}
input,select,textarea,.listing-form textarea{font-size:14px;line-height:1.65}
.primary,.secondary,.text-button{font-size:14px}
.primary{background:#486b96;border-color:#486b96}.primary:hover{background:#365578;border-color:#365578}
.primary:disabled{background:#e5e8ed;border-color:#d7dce3;color:#626c78}
.hero h1{font-size:28px;letter-spacing:0}.hero p{font-size:14px}
.section-index{letter-spacing:.4px}.card,.results,.history,.listing-panel{box-shadow:none}
.scene-foot{flex-wrap:wrap;gap:3px}.scene-foot em{font-size:12px}
.listing-help,.listing-help>summary{color:#626c78}


/* Studio redesign: one quiet surface, clear working hierarchy. */
html body{--ink:#30323b;--muted:#62636e;--line:#e3e1df;--accent:#585c88;background:#f3f2f0;color:var(--ink);font-family:"Segoe UI","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.65}
html body .shell{max-width:1440px;padding:0 40px}
html body .topbar{height:76px;border-bottom:1px solid var(--line);background:transparent}
html body .brandmark{background:#373946;border-radius:10px}
html body .brand small,html body .eyebrow,html body .hero-stat,html body .section-index{display:none}
html body .hero{padding:36px 0 26px}
html body .hero h1{font-size:30px;line-height:1.35;font-weight:650;letter-spacing:-.5px;margin:0 0 8px}
html body .hero p{font-size:14px;color:var(--muted)}
html body .columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:24px;align-items:start}
html body .card,html body .results,html body .history,html body .listing-panel,html body .admin-panel{background:#fffefd;border:1px solid var(--line);border-radius:16px;padding:28px;box-shadow:0 2px 4px #24304703}
html body .section-head{margin-bottom:24px;gap:16px}
html body .section-head h2{font-size:18px;font-weight:600;letter-spacing:0;margin:0}
html body .label,html body .listing-form>label,html body .listing-files label{font-size:14px;font-weight:550;color:#35404e}
html body input:not([type=checkbox]):not([type=file]),html body select,html body textarea{font-size:14px;color:#293441;background:#fbfcfd;border:1px solid #d6dce4;border-radius:9px;min-height:46px;padding:11px 13px;box-shadow:none}
html body textarea{line-height:1.8}
html body input::placeholder,html body textarea::placeholder{color:#737d8b}
html body .smallnote,html body .muted,html body .section-hint,html body .label span{font-size:12px;line-height:1.75;color:#62636e}
html body .dropzone{min-height:190px;background:#f6f5f9;border:1px dashed #b5c2d1;border-radius:12px;gap:8px}
html body .dropzone:hover,html body .dropzone.drag{background:#efedf6;border-color:#76799d}
html body .upload-icon{display:grid;place-items:center;width:46px;height:46px;font-size:27px;border:1px solid #dfe6ef;border-radius:12px;background:#fff;color:#62668f;margin:0 0 8px}
html body .dropzone strong{font-size:15px;color:#35465b;font-weight:550}
html body .dropzone span{font-size:12px;color:#62636e}
html body .primary{min-height:44px;background:#585c88;color:#fff;border:1px solid #585c88;border-radius:9px;box-shadow:none;font-size:14px;padding:11px 20px;font-weight:550}
html body .primary:hover{background:#464a70;border-color:#464a70}
html body .primary:disabled{background:#e5e9ef;border-color:#e0e4ea;color:#697585;opacity:1;cursor:not-allowed}
html body .secondary{min-height:40px;background:#fff;border:1px solid #d7dde5;color:#40516a;border-radius:9px;font-size:13px;padding:9px 15px}
html body .secondary:hover{background:#f3f6fa;border-color:#b9c6d6}
html body .text-button,html body .sku-zip,html body .sku-expand{color:#585c88;font-size:13px}
html body :is(button,input,select,textarea,summary,a,[tabindex]):focus-visible{outline:2px solid #527ca6;outline-offset:3px}
html body .actionrow{gap:14px;margin-top:24px;flex-wrap:wrap}
html body .empty-state{height:330px;color:#62636e}
html body .empty-state div{color:#9eacbd;font-size:42px}
html body .empty-state strong{font-size:15px;color:#46556a;margin-top:20px}
html body .empty-state p{font-size:13px;color:#62636e;max-width:240px;line-height:1.85}
html body .batch-id{font-size:12px;color:#62636e}
html body .progress-head strong{font-size:22px;color:#32465c}
html body .progressbar{height:6px;background:#e8edf3}
html body .progressbar>span{background:#7c7fa3;box-shadow:none}
html body .metricrow{gap:12px;margin:24px 0}
html body .metric{background:#f5f4f2;border:0;border-radius:10px;padding:20px 16px}
html body .metric strong{font-size:28px;color:#32465c;font-weight:550;letter-spacing:0}
html body .metric span{font-size:12px;color:#62636e}
html body .chip{font-size:12px;padding:6px 10px;border-radius:6px}
html body .chip-ready,html body .sku-status,html body .warning.success{color:#575b81;background:#efeff5;border-color:#e0e8f2}
html body .chip-wait,html body .warning{background:#fbf4e8;color:#88622f}
html body .chip-error,html body .sku-status.fail{background:#fbefec;color:#a14e43}
html body .sku-compact{border:0;border-bottom:1px solid var(--line);background:#fff;border-radius:0}
html body .sku-compact-head{min-height:78px;gap:16px;padding:16px 0}
html body .sku-name strong{font-size:14px;color:#344152}
html body .sku-name small{font-size:12px;color:#62636e}
html body .scene{background:#f8f9fb;border:1px solid var(--line);border-radius:9px}
html body .scene-foot{font-size:12px;color:#5d6877;padding:9px 8px;flex-wrap:wrap;gap:3px}
html body .scene-foot em{font-size:12px;color:#5d6877}
html body .scene-foot em.failed{color:#a14e43}
html body .history-item{background:transparent;border-color:var(--line);color:#62636e;font-size:13px;padding:18px 0}
html body .history-item strong{color:#35445a}
html body .listing-panel{margin-top:24px}
html body .listing-panel>.section-head{margin-bottom:0}
html body .listing-panel[open]>.section-head{margin-bottom:24px}
html body .listing-form{gap:12px;max-width:960px}
html body .listing-form>label{margin-top:12px}
html body .listing-files label{background:#f8f9fb;border:1px dashed #ccd5e0;padding:18px;border-radius:10px;gap:12px}
html body .listing-files small,html body .listing-files input{font-size:12px;color:#62636e}
html body .listing-help{font-size:13px;color:#62636e}
html body .listing-job{border-color:var(--line);font-size:13px;background:#f9fafc;padding:18px;border-radius:10px}
html body .listing-job strong,html body .listing-job span,html body .listing-job small{color:#4d5d72}
html body footer{font-size:12px;letter-spacing:0;color:#62636e;padding:24px 0}








/* The redesigned workspace is available at ?workspace=1. */
html body.workspace-v2 .shell{max-width:none;margin:0;padding:0 40px 0 264px}
/* Keep the navigation outside the padded content column even if injected styles are unavailable. */
html body.workspace-v2 #app-view>.wv-sidebar{position:fixed;top:0;bottom:0;left:0;right:auto;z-index:20;display:flex;flex-direction:column}
html body.workspace-v2 #workspace-main{margin-left:0;min-width:0}
html body.workspace-v2 main{max-width:none;width:100%;min-width:0;margin:0}
html body.workspace-v2 .topbar{height:76px;background:transparent;gap:20px}
html body.workspace-v2 .topright{width:auto;margin-left:auto;gap:18px}
html body.workspace-v2 .wv-breadcrumb{font-size:13px;color:#62636e}
html body.workspace-v2 .wv-sidebar{width:224px;padding:30px 16px;background:#eeedeb;border-right:1px solid #e0e4ea;gap:7px}
html body.workspace-v2 .wv-brand{font-size:21px;font-weight:650;letter-spacing:-.5px;color:#28394e;margin:0 14px 36px}
html body.workspace-v2 .wv-brand:before{content:'P';display:inline-grid;place-items:center;width:32px;height:32px;background:#28394e;color:white;border-radius:9px;font-size:18px;margin-right:10px}
html body.workspace-v2 .wv-sidebar button{padding:13px 15px;font-size:14px;color:#606d7c;border-radius:9px;font-weight:450}
html body.workspace-v2 .wv-sidebar button span{color:#718096;width:28px}
html body.workspace-v2 .wv-sidebar button:hover{background:#edf0f4;color:#334b66}
html body.workspace-v2 .wv-sidebar button[aria-current=page]{background:#e7e7f1;color:#4f537f;font-weight:600}
html body.workspace-v2 .wv-sidebar button[aria-current=page] span{color:#4f537f}
html body.workspace-v2 .wv-sidebar a{font-size:12px;color:#667487;padding:14px}
html body.workspace-v2 .wv-bottom{border-top:1px solid #e0e4ea;padding-top:16px}
html body.workspace-v2 .wv-intro{padding:36px 0 26px}
html body.workspace-v2 .wv-intro h1{font-size:30px;line-height:1.35;color:#293748;letter-spacing:-.5px;margin:0 0 8px}
html body.workspace-v2 .wv-intro p{font-size:14px;color:#62636e}
html body.workspace-v2 .wv-flow{display:flex;gap:8px;border:0;padding:0;margin:0 0 24px}
html body.workspace-v2 .wv-flow button{background:transparent;border:1px solid #dce2e9;border-radius:8px;color:#53657a;padding:9px 15px;font-size:13px}
html body.workspace-v2 .wv-flow button:hover{background:#e9eff6;border-color:#b4c4d6}
html body.workspace-v2 .wv-preview{background:#f9fafc;border-color:#e0e5ed;border-radius:9px;padding:14px;margin:8px 0}
html body.workspace-v2 .wv-preview summary{font-size:13px;color:#53657a}
html body.workspace-v2 .wv-scope{font-size:13px;color:#53657a}
html body.workspace-v2 .wv-notice{font-size:13px;color:#62636e;background:#eceff3;border:0;border-radius:8px;padding:12px 16px}
html body.workspace-v2 .studio-lead{background:#eae8f0;color:#30323b;border:1px solid #dedbe7;border-radius:18px;padding:38px 40px;display:flex;align-items:center;justify-content:space-between;gap:24px}
html body.workspace-v2 .studio-lead h2{font-size:28px;font-weight:550;line-height:1.4;margin:0 0 12px;color:#343443;letter-spacing:-.5px}
html body.workspace-v2 .studio-lead p{font-size:14px;line-height:1.9;color:#626170;margin:0}
html body.workspace-v2 .studio-lead .primary{background:#585c88;border-color:#585c88;color:#ffffff;white-space:nowrap}
html body.workspace-v2 .studio-lead .primary:hover{background:#464a70}
html body.workspace-v2 .studio-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}
html body.workspace-v2 .studio-shortcut{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px}
html body.workspace-v2 .studio-shortcut h3{font-size:17px;font-weight:550;color:#34445a;margin:0 0 8px}
html body.workspace-v2 .studio-shortcut p{font-size:14px;color:#62636e;line-height:1.8;margin:0 0 20px}
html body.workspace-v2 .studio-roadmap{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #dce2e9;padding:20px 0;color:#62636e;font-size:13px}
html body.workspace-v2 .studio-roadmap div{display:flex;gap:20px}
html body.workspace-v2 .wv-tile{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px}
html body.workspace-v2 .wv-tile p{font-size:14px;color:#62636e;line-height:1.8}
html body.workspace-v2 .wv-tag{background:#eceff3;color:#5c6979}
@media(max-width:1100px){html body.workspace-v2 .shell{padding:0 24px 0 216px}html body.workspace-v2 .wv-sidebar{width:192px;padding:26px 12px}html body.workspace-v2 .wv-brand{font-size:18px;margin-left:8px}html body .columns{grid-template-columns:1fr}html body .empty-state{height:220px}html body.workspace-v2 .studio-lead{padding:30px}}
@media(max-width:700px){html body .shell,html body.workspace-v2 .shell{padding:0 16px}html body.workspace-v2 .wv-sidebar{position:relative;inset:auto;width:auto;margin:0 -16px;padding:16px;flex-direction:row;flex-wrap:wrap;border-right:0;border-bottom:1px solid var(--line)}html body.workspace-v2 .wv-brand{width:100%;margin:0 0 12px}html body.workspace-v2 .wv-sidebar button{width:auto;padding:10px;font-size:13px}html body.workspace-v2 .wv-sidebar button span{display:none}html body.workspace-v2 .wv-bottom{margin:0;padding:0;border:0;display:flex;align-items:center}html body.workspace-v2 .wv-sidebar a{display:none}html body .topbar,html body.workspace-v2 .topbar{height:auto;min-height:70px;padding:16px 0;flex-wrap:wrap}html body.workspace-v2 .topright{margin:0;gap:12px;flex-wrap:wrap}html body .hero,html body.workspace-v2 .wv-intro{padding:28px 0 20px}html body .hero h1,html body.workspace-v2 .wv-intro h1{font-size:25px}html body .card,html body .results,html body .listing-panel,html body .history{padding:20px;border-radius:12px}html body .listing-files{grid-template-columns:1fr}html body.workspace-v2 .studio-lead{padding:26px;align-items:flex-start;flex-direction:column}html body.workspace-v2 .studio-lead h2{font-size:24px}html body.workspace-v2 .studio-shortcuts{grid-template-columns:1fr;gap:14px}html body.workspace-v2 .studio-roadmap{align-items:flex-start;flex-direction:column}html body .scene-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){html body.workspace-v2 #app-view>.wv-sidebar{position:relative;top:auto;bottom:auto;left:auto;right:auto;z-index:auto;flex-direction:row}}
/* Multi-model selection stays within each authorized template. */
html body #template-options .template-choice{display:block;margin:8px 0 12px}
html body #template-options .template-choice span{display:block;font-size:12px;color:#777584;margin-bottom:6px}
html body #template-options select{width:100%}
html body #model-dropdown{position:relative;border:0;padding:0;margin:8px 0;background:transparent}
html body #model-selection-summary{display:block;position:relative;border:1px solid #dedde5;border-radius:8px;padding:13px 36px 13px 14px;cursor:pointer;background:#fffefd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;list-style:none;font-weight:400}
html body #model-selection-summary::-webkit-details-marker{display:none}
html body #model-selection-summary::after{content:'⌄';position:absolute;right:14px;top:12px}
html body #model-selection-summary:focus-visible{outline:2px solid #585c88;outline-offset:2px}
html body #model-menu{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:30;background:#fffefd;border:1px solid #dedde5;border-radius:8px;box-shadow:0 10px 28px #26233320;padding:10px}
html body #model-dropdown:not([open]) #model-menu{display:none}
html body #model-menu .model-search-label{display:block;font-size:12px;margin-bottom:5px;color:#62636e}
html body #model-search{width:100%;margin-bottom:8px}
html body #model-options{max-height:300px;overflow-y:auto;padding:5px}
html body #model-dropdown .model-choice{border:0;margin:0;padding:9px;border-radius:5px}
html body #model-dropdown .model-choice:hover{background:#eeedf5}
html body #model[hidden],html body #template[hidden]{display:none!important}
html body .model-picker{border:0;padding:0;margin:0 0 16px;min-width:0}
html body .model-choice{border:1px solid #dedde5;border-radius:9px;padding:12px 14px;margin:8px 0;background:#fffefd}
html body .model-choice label{display:flex;align-items:center;gap:10px;cursor:pointer;margin:0}
html body .model-choice input[type=checkbox]{width:18px;height:18px;min-height:0;padding:0;margin:0;accent-color:#585c88;flex-shrink:0}
html body .model-choice select{margin-top:10px;width:100%}
html body .multi-batches{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
html body .multi-batches:empty{display:none}
html body .multi-batches button[aria-pressed=true]{border-color:#585c88;background:#eeedf5;color:#373950}
.library-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}.library-toolbar input[type="search"]{min-width:260px;flex:1}.library-numbering{display:flex;gap:10px;flex-wrap:wrap}.library-numbering input{min-width:200px}.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}.library-card{border:1px solid var(--line,#d9dfeb);border-radius:12px;padding:10px;background:#fff}.library-card img{width:100%;height:180px;object-fit:contain;background:#f4f6fa;border-radius:8px}.library-card strong,.library-card small{display:block;margin-top:7px;overflow-wrap:anywhere}.library-card label{display:flex;gap:7px;align-items:center;margin-top:8px}.library-upload-rows{display:grid;gap:8px}.library-upload-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr);gap:10px;align-items:center}.library-pagination{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:18px}
.library-view-switch{display:flex;gap:6px;flex-wrap:wrap}.library-view-switch button[aria-pressed="true"]{background:#e9e8f7;border-color:#656aa0;color:#303965;font-weight:700}
.render-library-picker{border:1px solid var(--line,#d9dfeb);border-radius:12px;margin-top:18px;padding:12px}.render-library-picker legend{padding:0 7px;margin:0}.render-library-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px}.render-library-toolbar input{min-width:0;grid-column:1/-1}.render-library-toolbar select,.render-library-toolbar button{min-width:0;width:100%}.render-library-toolbar button{min-height:36px;height:auto}.render-library-toolbar #render-library-selected-count{grid-column:1/-1}.render-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:9px;margin-top:12px;max-height:330px;overflow:auto}.render-library-item{display:grid;gap:5px;border:1px solid var(--line,#d9dfeb);border-radius:9px;padding:7px;background:#fff;font-size:11px}.render-library-item img{width:100%;height:105px;object-fit:contain;background:#f4f6fa;border-radius:6px}.render-library-item label{display:flex;gap:5px;align-items:center;overflow-wrap:anywhere}@media(max-width:600px){.render-library-toolbar{grid-template-columns:1fr}.render-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.library-remove-store{width:100%;margin-top:9px;color:#8a493e;border-color:#ead8d4}
.render-library-toolbar label{display:grid;gap:4px;font-size:12px;color:#40506b}.render-library-toolbar label input{width:100%;box-sizing:border-box}
.library-pagination{flex-wrap:wrap}
.library-pagination .page-jump-label{display:inline-flex;align-items:center;gap:6px;margin:0;white-space:nowrap;font-size:12px}
.library-pagination .page-jump-label input{width:64px;min-width:0;padding:7px 8px;border:1px solid var(--line,#d9dfeb);border-radius:7px;background:#fff;color:inherit;text-align:center}
.library-pagination .page-jump-label input:focus-visible{outline:2px solid #375675;outline-offset:2px}
.library-pagination .page-jump-error{color:#a33232;font-size:12px}
.library-pagination .page-jump-error:empty{display:none}

/* Listing keeps one form and one preview; wide screens use the available workspace. */
html body #listing-form [hidden]{display:none!important}
html body #listing-form{display:grid;max-width:none;width:100%;min-width:0;grid-template-columns:minmax(420px,1fr) minmax(0,1.15fr);grid-template-areas:"mode mode" "setup preview";gap:24px;align-items:start}
html body #listing-form .listing-step{display:grid;gap:10px;min-width:0;padding:22px;border:1px solid var(--line,#dce2e9);border-radius:12px;background:#fff}
html body #listing-form .listing-setup{grid-area:setup}
html body #listing-form .listing-copy{grid-area:copy}
html body #listing-form .listing-step-heading{display:flex;align-items:flex-start;gap:12px;margin:0 0 12px;padding-bottom:16px;border-bottom:1px solid #edf0f5}
html body #listing-form .listing-step-heading>span{display:grid;place-items:center;min-width:36px;height:32px;padding:0 7px;border-radius:8px;background:#edf1f9;color:#486b96;font-size:12px;font-weight:600}
html body #listing-form .listing-step-heading h3{margin:0 0 5px;font-size:16px;color:#263a54}
html body #listing-form .listing-step-heading p{margin:0;color:#748095;font-size:12px;line-height:1.6}
html body #listing-form .listing-step>label{margin:8px 0 0;font-size:13px}
html body #listing-form input,html body #listing-form select,html body #listing-form textarea{min-width:0;max-width:100%;box-sizing:border-box}
html body #listing-form textarea{min-height:105px;resize:vertical}
html body #listing-form small{color:#748095;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
html body #listing-form .listing-files{grid-template-columns:minmax(0,1fr);margin:4px 0}
html body #listing-form .listing-files label{padding:14px}
html body #listing-form #profile-trial-file{display:block;width:100%;margin:10px 0}
html body #listing-form #profile-trial-start{width:100%;background:#486b96;color:white;border-color:#486b96;margin:4px 0 8px;min-height:42px}
html body #listing-form #profile-trial-download:not([hidden]){display:block;padding:12px;margin-bottom:10px;border-radius:8px;background:#edf5f0;color:#32654a;text-align:center}
html body #listing-form #profile-trial-message:empty{display:none}
html body #listing-form .actionrow{display:flex;flex-wrap:wrap;gap:10px}
html body #listing-form #listing-submit{width:100%;min-height:44px}
html body #listing-form .listing-preview-pane{grid-area:preview;position:sticky;top:20px;min-width:0;max-width:100%;padding:22px;border:1px solid var(--line,#dce2e9);border-radius:12px;background:#fbfcfe}
html body #listing-form .listing-preview-empty{text-align:center;padding:80px 18px;color:#748095;line-height:1.9}
html body #listing-form .listing-preview-empty>span{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:16px;background:#edf1f9;color:#486b96;font-size:36px}
html body #listing-form .listing-preview-empty h4{color:#34445a;font-size:16px;margin:20px 0 8px}
html body #listing-form .listing-preview-empty p{font-size:13px;margin:0 0 14px}
html body #profile-table-preview:not([hidden])+.listing-preview-empty{display:none}
html body #profile-table-preview{min-width:0;font-size:12px;overflow-wrap:anywhere}
html body #profile-table-preview h4{font-size:14px;margin:0 0 8px}
html body #profile-table-preview p{color:#748095;line-height:1.7}
html body #profile-table-preview table{border-collapse:separate;border-spacing:0;background:#fff}
html body #profile-table-preview th,html body #profile-table-preview td{padding:10px 12px;border-bottom:1px solid #e6ebf2;border-right:1px solid #edf0f5;text-align:left;vertical-align:top}
html body #profile-table-preview th{position:sticky;top:0;background:#edf2f8;color:#34445a;z-index:1;white-space:nowrap}
html body #profile-table-preview tbody tr:nth-child(even){background:#f8fafc}
html body #profile-table-preview tbody tr:hover{background:#f0f5fc}
html body #profile-table-preview button{margin-top:12px}
@media(max-width:1100px){html body #listing-form{grid-template-columns:minmax(0,1fr);grid-template-areas:"mode" "setup" "preview"}html body #listing-form .listing-preview-pane{position:static}html body #listing-form .listing-preview-empty{padding:32px 12px}}
@media(max-width:700px){html body #listing-form{gap:14px}html body #listing-form .listing-step,html body #listing-form .listing-preview-pane{padding:16px}}

/* Unified workspace finish. Scoped to the workspace; legacy pages stay compatible. */
html body.workspace-v2{background:#f3f5f9;color:#243247;font-size:14px;--line:#e2e7ef;--accent:#435bc4}
html body.workspace-v2 .wv-page{width:100%;min-width:0}
html body.workspace-v2 .listing-form{max-width:none;min-width:0;width:100%}
html body.workspace-v2 .wv-page>.listing-panel,html body.workspace-v2 .wv-page>.history,html body.workspace-v2 #listing-profiles{max-width:none;width:100%;min-width:0}
html body.workspace-v2 .wv-sidebar{background:#172337;border-right:1px solid #27354a;box-shadow:6px 0 24px #17233708}
html body.workspace-v2 .wv-brand{color:#f4f7ff;letter-spacing:-.6px}
html body.workspace-v2 .wv-brand:before{background:#7284ec;color:#fff;box-shadow:0 4px 12px #0002}
html body.workspace-v2 .wv-sidebar button{color:#b6c2d5;min-height:44px;font-size:14px;transition:background .15s,color .15s}
html body.workspace-v2 .wv-sidebar button span{color:#8d9eb8}
html body.workspace-v2 .wv-sidebar button:hover{background:#25344c;color:#fff}
html body.workspace-v2 .wv-sidebar button[aria-current=page]{background:#33466a;color:#fff;box-shadow:inset 3px 0 #91a2ff}
html body.workspace-v2 .wv-sidebar button[aria-current=page] span{color:#c4ceff}
html body.workspace-v2 .wv-sidebar a{color:#aab9d0}
html body.workspace-v2 .wv-bottom{border-color:#334057}
html body.workspace-v2 .topbar{min-height:76px;border-bottom:1px solid #e0e6ef;background:transparent}
html body.workspace-v2 .wv-breadcrumb{color:#57677e;font-size:14px;white-space:normal}
html body.workspace-v2 .card,html body.workspace-v2 .listing-panel,html body.workspace-v2 .results,html body.workspace-v2 .history,html body.workspace-v2 .wv-tile,html body.workspace-v2 .studio-shortcut{border:1px solid #e2e7ef;border-radius:16px;background:#fff;box-shadow:0 4px 20px #24324705}
html body.workspace-v2 .section-head h2,html body.workspace-v2 .listing-panel>summary{font-size:19px;font-weight:650;color:#243247;letter-spacing:-.25px}
html body.workspace-v2 .smallnote,html body.workspace-v2 .muted{color:#67768b;font-size:13px;line-height:1.75}
html body.workspace-v2 input,html body.workspace-v2 select,html body.workspace-v2 textarea{font-size:14px;border-color:#dce3ed;background:#fbfcfe;color:#243247;border-radius:9px;min-width:0}
html body.workspace-v2 input[type=file]::file-selector-button{border:0;border-radius:5px;padding:7px 10px;margin-right:12px;background:#eaf0fb;color:#435578;cursor:pointer}
html body.workspace-v2 .primary{background:#435bc4;border-color:#435bc4;border-radius:9px;box-shadow:0 3px 8px #435bc41a}
html body.workspace-v2 .primary:hover:not(:disabled){background:#364ba9;border-color:#364ba9}
html body.workspace-v2 .secondary{background:#fff;border:1px solid #dce3ed;border-radius:9px;color:#465872}
html body.workspace-v2 .secondary:hover:not(:disabled){background:#eef2fc;border-color:#aebce3}
html body.workspace-v2 button:disabled{cursor:not-allowed;box-shadow:none;opacity:.6}
html body.workspace-v2 :is(button,input,select,textarea,a,summary):focus-visible{outline:3px solid #91a2ef;outline-offset:3px}
html body.workspace-v2 [hidden]{display:none!important}
.sellfox-filters,.sellfox-pagination{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sellfox-filters{margin-bottom:16px}.sellfox-filters label{font-size:13px}.sellfox-filters #sellfox-shop{min-width:220px}.sellfox-filters #sellfox-search{min-width:200px;flex:1}.sellfox-table-wrap{overflow-x:auto}.sellfox-table{width:100%;border-collapse:collapse;min-width:600px}.sellfox-table th,.sellfox-table td{padding:12px;border-bottom:1px solid #e4e8ef;text-align:left;font-size:13px}.sellfox-table th{background:#f7f8fa;white-space:nowrap}.sellfox-table td:first-child strong,.sellfox-table td:first-child small{display:block;max-width:380px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sellfox-table td:first-child small{color:#697386}.sellfox-pagination{justify-content:flex-end;margin-top:15px}
html body.workspace-v2 .studio-lead{background:linear-gradient(115deg,#e9eefb,#f4f6fc);border-color:#dce3f4}
html body.workspace-v2 #image-library-panel{width:100%;max-width:none;min-width:0}
html body.workspace-v2 #library-upload-form{max-width:none;display:grid;grid-template-columns:minmax(140px,.55fr) minmax(220px,1.7fr) minmax(160px,.6fr);gap:10px 16px;padding:18px 20px;margin:20px 0;background:#f6f8fc;border:1px solid #e5eaf2;border-radius:12px;align-items:center}
html body.workspace-v2 #library-upload-form>label{margin:0;font-size:13px}
html body.workspace-v2 #library-upload-form label[for=library-upload-category]{grid-column:1;grid-row:1}
html body.workspace-v2 #library-upload-category{grid-column:1;grid-row:2}
html body.workspace-v2 #library-upload-form label[for=library-files]{grid-column:2;grid-row:1}
html body.workspace-v2 #library-files{grid-column:2;grid-row:2;width:100%;max-width:100%}
html body.workspace-v2 #library-upload{grid-column:3;grid-row:2;background:#435bc4;border-color:#435bc4;color:#fff;min-height:42px}
html body.workspace-v2 #library-category-note,html body.workspace-v2 #library-message{grid-column:1/-1;margin:0;font-size:12px;overflow-wrap:anywhere}
html body.workspace-v2 #library-message:empty{display:none}
html body.workspace-v2 .library-toolbar{gap:10px;margin:14px 0;min-width:0}
html body.workspace-v2 .library-toolbar select{width:auto;min-width:150px;max-width:100%}
html body.workspace-v2 .library-toolbar input[type=search]{min-width:160px;max-width:100%;flex:1 1 280px}
html body.workspace-v2 .library-toolbar label{font-size:13px;color:#617087}
html body.workspace-v2 .library-view-switch{display:flex;gap:4px;padding:4px;background:#eef2f8;border-radius:10px;flex-wrap:wrap}
html body.workspace-v2 .library-view-switch button[aria-pressed=true]{background:#fff;border-color:#d8e0ef;color:#3e51ae;box-shadow:0 2px 5px #2432470a}
html body.workspace-v2 .library-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;margin-top:22px}
html body.workspace-v2 .library-card{padding:12px;border-color:#e3e8f0;border-radius:13px;box-shadow:0 2px 8px #24324704;transition:border-color .15s,box-shadow .15s;min-width:0}
html body.workspace-v2 .library-card:hover{border-color:#b1bfe2;box-shadow:0 6px 18px #2432470d}
html body.workspace-v2 .library-card img{height:210px;background:#f5f7fb;border-radius:8px}
html body.workspace-v2 .library-card strong{font-size:14px;color:#2d3c53}
html body.workspace-v2 .library-card small{font-size:12px;line-height:1.65;color:#6a7890}
@media(max-width:1100px){html body.workspace-v2 #library-upload-form{grid-template-columns:minmax(120px,.6fr) minmax(180px,1.4fr)}html body.workspace-v2 #library-upload{grid-column:1/-1;grid-row:auto}}
@media(max-width:700px){html body.workspace-v2 #library-upload-form{grid-template-columns:minmax(0,1fr);padding:14px}html body.workspace-v2 #library-upload-form>*{grid-column:1!important;grid-row:auto!important}html body.workspace-v2 .wv-sidebar{box-shadow:none}html body.workspace-v2 .library-toolbar>*{max-width:100%}html body.workspace-v2 .library-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}html body.workspace-v2 .library-card img{height:170px}html body.workspace-v2 .topbar{height:auto;padding:18px 0;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html body.workspace-v2 *,html body.workspace-v2 *::before,html body.workspace-v2 *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* SKU organizer: scoped two-column workspace; no changes to listing or render controls. */
#sku-organizer-panel{width:100%;min-width:0}
.sku-org-layout{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:20px;align-items:start}
#sku-org-form{display:grid;gap:10px;min-width:0}
#sku-org-form label{display:block;font-weight:600;margin:8px 0 4px}
#sku-org-form input,#sku-org-form select,#sku-org-form textarea,#sku-org-output{width:100%;box-sizing:border-box}
.sku-org-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#sku-org-review{border:1px solid var(--line,#dfe3eb);border-radius:8px;background:#fafbfe;min-width:0}
#sku-org-review>summary{cursor:pointer;padding:10px 12px;font-size:12px;color:#475267}
#sku-org-matches{max-height:280px;overflow-y:auto;overscroll-behavior:contain;padding:0 10px 6px;scrollbar-gutter:stable}
#sku-org-form .sku-org-match{display:grid;grid-template-columns:minmax(80px,.7fr) minmax(0,1.3fr);gap:10px;align-items:center;padding:6px 0;border-top:1px solid var(--line,#dfe3eb)}
#sku-org-form .sku-org-match label{margin:0;font-size:12px;font-weight:500;overflow-wrap:anywhere}
#sku-org-form .sku-org-match select{min-width:0;margin:0;font-size:12px;padding:7px 8px}
.sku-org-result{min-width:0}.sku-org-result .section-head{flex-wrap:wrap;gap:10px}
.sku-org-result-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.sku-org-result-actions button{max-width:100%;white-space:normal;text-align:start}
.sku-org-table{overflow:auto;max-height:620px;margin:16px 0}.sku-org-table table{border-collapse:collapse;width:100%;font-size:13px}
.sku-org-table th,.sku-org-table td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--line,#dfe3eb);min-width:110px;white-space:pre-wrap;overflow-wrap:anywhere}
.sku-org-table th{position:sticky;top:0;background:#edf1f7}.sku-org-table td:first-child{min-width:260px}
#sku-org-preview>h3{overflow-wrap:anywhere}#sku-org-preview:empty::before{content:'查询并确认型号后，生成结果会显示在这里。';display:block;padding:60px 20px;text-align:center;color:#788391}
@media(max-width:1100px){.sku-org-layout{grid-template-columns:1fr}}
@media(max-width:650px){.sku-org-fields{grid-template-columns:1fr}.sku-org-table{max-height:420px}}
@media(max-width:650px){
  .sku-org-result-actions{width:100%}
  .sku-org-result-actions button{flex:1 1 145px}
  .sku-org-table td:first-child{min-width:165px}
}

/* Daily orders: scoped to the sales workbench, leaving production tools unchanged. */
.workspace-v2 .daily-dashboard{padding:28px 0 12px;color:#203148;font-variant-numeric:tabular-nums}
.daily-dashboard .daily-hero{background:radial-gradient(ellipse at 100% 0%,#285964 0%,transparent 60%),#182e42;border:1px solid #24495a;border-radius:20px;padding:32px 36px;display:flex;justify-content:space-between;align-items:center;gap:24px;color:#fff;box-shadow:0 12px 28px #132c4010}
.daily-dashboard .daily-eyebrow{font-size:10px;letter-spacing:2.5px;font-weight:700;color:#a0cec8}
.daily-dashboard .daily-hero h1{font-size:30px;letter-spacing:-.7px;line-height:1.3;margin:12px 0;color:#fff}
.daily-dashboard .daily-hero p{font-size:13px;color:#c5d5df;margin:0 0 20px}
.daily-dashboard .daily-hero-tags{display:flex;gap:8px;flex-wrap:wrap}
.daily-dashboard .daily-hero-tags span{font-size:11px;border:1px solid #ffffff25;background:#ffffff08;border-radius:6px;padding:5px 9px;color:#d8e9ed}
.daily-dashboard .daily-hero-action{display:flex;flex-direction:column;gap:13px;align-items:flex-end;flex-shrink:0}
.daily-dashboard .daily-sync-label{font-size:11px;color:#b9d9d4}
.daily-dashboard #daily-orders-refresh{border:1px solid #94dccb;background:#bcebdc;color:#183d3c;padding:11px 18px;font-weight:700;border-radius:9px}
.daily-dashboard #daily-orders-refresh:hover{background:#d6f7eb}.daily-dashboard #daily-orders-refresh:focus-visible{outline:3px solid #fff;outline-offset:4px}
.daily-dashboard .daily-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0 28px}
.daily-dashboard .daily-kpi{display:flex;flex-direction:column;gap:10px;padding:23px 24px;background:#fff;border:1px solid #e0e6ee;border-radius:14px;box-shadow:0 4px 12px #1a344304;min-width:0}
.daily-dashboard .daily-kpi>span{font-size:13px;color:#53687b;font-weight:600}.daily-dashboard .daily-kpi>strong{font-size:40px;line-height:1.2;letter-spacing:-1.5px;font-weight:700;color:#213b50}.daily-dashboard .daily-kpi>small{font-size:11px;color:#66798c}
.daily-dashboard .daily-kpi.is-primary{border-color:#9bd9c8;background:#edf9f4}.daily-dashboard .is-primary>strong{color:#19765e}.daily-dashboard .is-cancel>strong{color:#9b642d}
.daily-dashboard .daily-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.daily-dashboard .daily-section-title h2{font-size:18px;margin:0 0 5px;color:#253b50}.daily-dashboard .daily-section-title p{font-size:11px;color:#64788b;margin:0}
.daily-dashboard .daily-legend{display:flex;gap:14px;font-size:11px;color:#64788b;white-space:nowrap}.daily-dashboard .daily-legend span:before{content:'';display:inline-block;width:8px;height:8px;background:#a2b5ce;border-radius:3px;margin-right:5px}.daily-dashboard .daily-legend span:last-child:before{background:#32a98a}
.daily-dashboard .daily-store-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.daily-dashboard .daily-store-card{background:#fff;border:1px solid #e1e7ee;border-radius:12px;padding:18px;min-width:0}.daily-dashboard .daily-store-card:hover{border-color:#a6c9c0;box-shadow:0 4px 14px #1e554109}
.daily-dashboard .daily-store-head{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:18px}.daily-dashboard .daily-store-head h3{font-size:16px;color:#273e54;margin:0}.daily-dashboard .daily-store-badge{font-size:10px;background:#f1f4f7;color:#657789;border-radius:5px;padding:3px 6px;white-space:nowrap}.daily-dashboard .daily-store-badge.is-active{background:#e4f5ee;color:#216c53}
.daily-dashboard .daily-store-bar{display:grid;grid-template-columns:1fr auto;gap:5px;margin:0 0 12px;color:#6a7f93;font-size:11px}.daily-dashboard .daily-store-bar strong{font-size:15px;line-height:1;color:#354f68}.daily-dashboard .daily-store-bar.today strong{color:#208468}
.daily-dashboard progress{grid-column:1/-1;appearance:none;-webkit-appearance:none;border:0;border-radius:8px;height:5px;width:100%;overflow:hidden;background:#eff3f7}.daily-dashboard progress::-webkit-progress-bar{background:#eff3f7;border-radius:8px}.daily-dashboard progress::-webkit-progress-value{background:#a2b5ce;border-radius:8px}.daily-dashboard progress::-moz-progress-bar{background:#a2b5ce;border-radius:8px}.daily-dashboard .today progress::-webkit-progress-value{background:#32a98a}.daily-dashboard .today progress::-moz-progress-bar{background:#32a98a}
.daily-dashboard .daily-store-cancellations{font-size:10px;color:#738396;border-top:1px solid #edf0f4;padding-top:10px;margin:14px 0 0}.daily-dashboard .daily-status{font-size:11px;color:#61768a;line-height:1.8;margin:16px 2px 22px;overflow-wrap:anywhere}
.daily-dashboard .daily-detail{background:#fff;border:1px solid #e0e6ee;border-radius:12px;padding:0 20px}.daily-dashboard .daily-detail summary{cursor:pointer;padding:17px 0;font-size:13px;font-weight:600;color:#334d65}.daily-dashboard .daily-detail summary span{font-size:11px;font-weight:400;color:#74869a;margin-left:12px}.daily-dashboard .daily-detail .sellfox-table-wrap{margin-bottom:18px}.daily-dashboard .sellfox-table th{background:#f5f7fa}.daily-dashboard .sellfox-table td:nth-child(3){color:#19765e;font-weight:600}
@media(max-width:1000px){.daily-dashboard .daily-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-dashboard .daily-hero{padding:26px}.daily-dashboard .daily-hero h1{font-size:26px}}
@media(max-width:760px){.daily-dashboard .daily-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-dashboard .daily-hero{align-items:flex-start;flex-direction:column;gap:18px}.daily-dashboard .daily-hero-action{width:100%;flex-direction:row;justify-content:space-between;align-items:center}.daily-dashboard .daily-kpi{padding:18px}.daily-dashboard .daily-kpi>strong{font-size:34px}.daily-dashboard .daily-section-title{align-items:flex-start}.daily-dashboard .daily-store-card{padding:14px}}
@media(max-width:400px){.daily-dashboard .daily-store-grid{grid-template-columns:1fr}.daily-dashboard .daily-hero{padding:20px}.daily-dashboard .daily-kpis{gap:10px}.daily-dashboard .daily-kpi{padding:14px}.daily-dashboard .daily-kpi>strong{font-size:28px}.daily-dashboard .daily-detail summary span{display:block;margin:5px 0 0}}
.daily-dashboard .daily-leaderboard{margin:20px 0;padding:22px;background:linear-gradient(120deg,#fffaf0,#fff);border:1px solid #e9dcc0;border-radius:16px}
.daily-dashboard .daily-rank-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.daily-dashboard .daily-rank-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 18px;background:#fff;border:1px solid #eee3ce;border-radius:12px}
.daily-dashboard .daily-rank-card span{color:#957337;font-size:13px}.daily-dashboard .daily-rank-card strong{font-size:25px;color:#253d4c}
@media(max-width:600px){.daily-dashboard .daily-rank-grid{grid-template-columns:1fr}.daily-dashboard .daily-rank-card{padding:14px 18px}}
.daily-dashboard .daily-new-listings{margin:20px 0;padding:22px;background:#fff;border:1px solid #dce6ec;border-radius:16px}
.daily-dashboard .new-listings-store{margin-top:12px;border:1px solid #dce6ec;border-radius:12px;overflow:hidden}
.daily-dashboard .new-listings-store summary{padding:16px;background:#f0f7f6;color:#245b52;font-weight:700;cursor:pointer}
.daily-dashboard .new-listings-product{padding:14px 18px;border-top:1px solid #e8eef2;overflow-wrap:anywhere}
.daily-dashboard .new-listings-product strong{font-size:14px}.daily-dashboard .new-listings-product p{font-size:12px;margin:6px 0;color:#526779}
.daily-dashboard .new-listings-scroll{max-height:320px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.daily-dashboard .new-listings-scroll:focus-visible{outline:2px solid #467d76;outline-offset:-2px}
.daily-dashboard .new-listings-scroll .new-listings-product{padding:10px 16px}
.daily-dashboard .new-listings-scroll .new-listings-product strong{display:block;font-size:13px;line-height:1.5}
.daily-dashboard .new-listings-scroll .new-listings-product p{display:inline-block;margin:4px 20px 0 0;font-size:12px}
.daily-dashboard .new-listings-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.daily-dashboard .new-listings-totals article{padding:16px;background:#f3f8f7;border-radius:12px;display:flex;flex-direction:column;gap:8px}
.daily-dashboard .new-listings-totals strong{font-size:26px;color:#245b52}.daily-dashboard .new-listings-totals span,.daily-dashboard .new-listings-totals small{font-size:12px;color:#526779}
.daily-dashboard .new-listings-scroll .new-listings-product{position:relative;padding-left:96px;min-height:88px}
.daily-dashboard .new-listings-image,.daily-dashboard .new-listings-image-placeholder{position:absolute;left:16px;top:10px;width:64px;height:64px;border:1px solid #e3e9ed;border-radius:8px;object-fit:contain;background:#fff}
.daily-dashboard .new-listings-image-placeholder{font-size:11px;line-height:64px;text-align:center;color:#7a8a95}
@media(max-width:600px){.daily-dashboard .new-listings-totals{grid-template-columns:1fr}.daily-dashboard .new-listings-totals strong{font-size:22px}}

/* Daily operations: isolated from the rendering and existing dashboard layouts. */
.ops-shell{width:100%;max-width:none;box-sizing:border-box;margin:0 0 28px;background:#fff;border:1px solid #e1e6ec;border-radius:20px;padding:30px;color:#20364b;min-width:0}
.ops-query,.ops-paging{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}.ops-query input{flex:1;min-width:160px}.ops-query select{width:auto;min-width:110px}.ops-task select{width:auto;min-width:130px;margin-top:12px}.ops-table-wrap td{overflow-wrap:anywhere;max-width:420px}.ops-settings input[type=time]{width:160px;margin-bottom:16px}
.ops-shell [hidden]{display:none!important}.ops-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.ops-eyebrow{font-size:10px;letter-spacing:2px;color:#7b8c9c;font-weight:700}.ops-header h1{font-size:26px!important;letter-spacing:-.5px;margin:8px 0}.ops-header p,.ops-muted{font-size:13px;color:#6d7e8c;line-height:1.8}.ops-ai{display:inline-block;vertical-align:middle;font-size:11px;font-weight:500;background:#eaf4f1;color:#267061;padding:4px 9px;border-radius:6px;letter-spacing:0;margin-left:8px}.ops-header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ops-tabs{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:22px;border-bottom:1px solid #e9edf1}.workspace-v2 .ops-tabs button{border:1px solid #dce3e8;background:#fff;border-radius:24px;padding:8px 18px;color:#526574;font-size:13px}.workspace-v2 .ops-tabs button[aria-selected=true]{color:#fff;background:#203c4b;border-color:#203c4b;box-shadow:0 3px 8px #203c4b18}.ops-shell button:focus-visible,.ops-shell select:focus-visible,.ops-shell input:focus-visible,.ops-shell [role=tabpanel]:focus-visible{outline:3px solid #6fa6c7;outline-offset:3px}.ops-shell [role=tabpanel]{padding-top:6px}.ops-status{font-size:12px;line-height:1.7;color:#6c7e8f;min-height:20px;margin:15px 0 20px;overflow-wrap:anywhere}
.ops-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}.ops-section-heading h2{font-size:18px;margin:0}.ops-pill{display:inline-block;font-size:11px;font-weight:400;padding:4px 9px;border-radius:6px;background:#f1f4f6;color:#657988}.ops-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.ops-kpis article{border:1px solid #e7edf0;border-radius:12px;padding:22px 18px;display:flex;flex-direction:column;gap:12px;background:#fbfcfc}.ops-kpis article:first-child{background:#f0f8f5;border-color:#d9ece5}.ops-kpis article>span{font-size:13px;color:#617687}.ops-kpis strong{font-size:30px;line-height:1.2;font-variant-numeric:tabular-nums;color:#203c4b}.ops-kpis small{font-size:11px;color:#798995}
.ops-summary{padding:24px;border-radius:14px;background:linear-gradient(120deg,#f2f7f7,#f8fafc);border:1px solid #e4eded}.ops-summary>p{font-size:15px;line-height:2;margin:12px 0 20px;max-width:960px}.ops-summary-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ops-summary-actions small{color:#748692;font-size:12px}.ops-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-bottom:22px}.ops-empty{padding:22px;border:1px solid #e2e8ed;border-radius:12px;background:#fcfdfd}.ops-empty h3{font-size:16px;margin:16px 0 10px}.ops-empty p,.ops-note{font-size:13px;color:#71818e;line-height:1.9}.ops-note{padding:16px;background:#f6f8fa;border-radius:10px}.ops-table-wrap{overflow-x:auto;border:1px solid #e4eaee;border-radius:10px}.ops-table-wrap table{width:100%;min-width:620px;border-collapse:collapse;font-size:13px}.ops-table-wrap th,.ops-table-wrap td{text-align:left;padding:15px;border-bottom:1px solid #edf0f3}.ops-table-wrap th{background:#f6f8fa;color:#607482;font-weight:500}.ops-task{padding:18px 22px;border:1px solid #e7e9df;border-left:3px solid #b9a064;border-radius:10px;margin:12px 0;background:#fffefb}.ops-task h3{font-size:15px;margin:0 0 8px}.ops-task p{font-size:13px;color:#74818b;margin:0;line-height:1.8}.ops-settings{max-width:680px;padding:24px;background:#f8fafb;border:1px solid #e6ecf0;border-radius:12px}.ops-settings>label{display:block;font-size:14px;margin-bottom:16px}.ops-settings input[type=checkbox]{width:auto;margin-right:8px}.ops-settings select{max-width:200px}.ops-settings dl{display:grid;grid-template-columns:100px 1fr;gap:16px;font-size:13px;line-height:1.8;margin-top:26px}.ops-settings dt{color:#62798b}.ops-settings dd{margin:0;color:#425968}
@media(max-width:1000px){.ops-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-header{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.ops-shell{padding:20px 16px;border-radius:14px}.ops-header h1{font-size:22px!important}.ops-ai{margin-left:0}.workspace-v2 .ops-tabs button{padding:7px 12px;font-size:12px}.ops-kpis{gap:10px}.ops-kpis article{padding:17px 12px}.ops-kpis strong{font-size:25px}.ops-summary{padding:18px}.ops-settings{padding:18px}.ops-settings dl{grid-template-columns:1fr;gap:6px}.ops-settings dd{margin-bottom:12px}.ops-grid{grid-template-columns:1fr}}
/* Workspace 2026: consistent task hierarchy, accessible controls and page boundaries. */
html body.workspace-v2{--studio-bg:#f4f6f9;--studio-surface:#fff;--studio-ink:#202c3d;--studio-muted:#627087;--studio-border:#e1e7ef;--studio-accent:#365fd6;--studio-soft:#eef3ff;background:var(--studio-bg);color:var(--studio-ink);font-family:"Segoe UI","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.65}
html body.workspace-v2 *,html body.workspace-v2 *:before,html body.workspace-v2 *:after{box-sizing:border-box}
html body.workspace-v2 [hidden]{display:none!important}
html body.workspace-v2 .shell{max-width:none;margin:0;padding:0 36px 0 268px}
html body.workspace-v2 .wv-sidebar{position:fixed;inset:0 auto 0 0;width:232px;height:100dvh;padding:24px 14px 16px;background:#142237;border:0;overflow-y:auto;display:flex;flex-direction:column;gap:6px;box-shadow:4px 0 24px #12223a08;z-index:30}
html body.workspace-v2 .wv-brand{color:#f8fafc;font-size:21px;letter-spacing:-.5px;margin:0 14px 18px;line-height:1.3}
html body.workspace-v2 .wv-brand small{display:block;color:#91a2bb;font-size:10px;letter-spacing:1.5px;margin-top:7px}
html body.workspace-v2 .wv-nav-group{display:grid;gap:2px;margin-bottom:4px}
html body.workspace-v2 .wv-nav-label{font-size:11px;font-weight:600;letter-spacing:1px;color:#93a4bd;margin:7px 14px 4px}
html body.workspace-v2 .wv-sidebar button{width:100%;min-height:34px;margin:0;border:0;border-radius:8px;padding:7px 13px;background:transparent;color:#c7d1e0;text-align:left;font-size:13px;line-height:1.5;box-shadow:none}
html body.workspace-v2 .wv-sidebar button span{display:inline-block;width:24px;color:#93a9cc}
html body.workspace-v2 .wv-sidebar button:hover{background:#21344f;color:#fff}
html body.workspace-v2 .wv-sidebar button[aria-current=page]{background:#304d82;color:#fff;box-shadow:inset 3px 0 #91afff;font-weight:600}
html body.workspace-v2 .wv-sidebar .wv-bottom{margin-top:auto;padding-top:12px;border-top:1px solid #2a3950}
html body.workspace-v2 .wv-sidebar a{color:#93a4bd;font-size:11px;padding:8px 13px}
html body.workspace-v2 .topbar{height:72px;background:transparent;border-bottom:1px solid var(--studio-border);gap:16px;box-shadow:none}
html body.workspace-v2:not([data-workspace-page=render]) #worker-chip{display:none}
html body.workspace-v2 .wv-breadcrumb{color:var(--studio-muted);font-size:12px;white-space:nowrap}
html body.workspace-v2 #workspace-main{width:100%;max-width:none;margin:0;min-width:0}
html body.workspace-v2 .wv-page{min-width:0;padding:28px 0 56px}
html body.workspace-v2 .wv-intro{padding:4px 0 24px}
html body.workspace-v2 .wv-intro h1,html body.workspace-v2 .hero h1{font-size:27px;font-weight:650;line-height:1.3;letter-spacing:-.6px;color:#202c3d;margin:6px 0 10px}
html body.workspace-v2 .wv-intro p,html body.workspace-v2 .hero p{font-size:14px;color:var(--studio-muted);line-height:1.8;margin:0;max-width:80ch}
html body.workspace-v2 .wv-kicker{color:#6a7b96;font-size:10px;letter-spacing:1.4px;font-weight:650}
html body.workspace-v2 .card,html body.workspace-v2 .results,html body.workspace-v2 .history,html body.workspace-v2 .listing-panel,html body.workspace-v2 .admin-panel,html body.workspace-v2 .wv-tile,html body.workspace-v2 .team-task-card{background:var(--studio-surface);border:1px solid var(--studio-border);border-radius:14px;box-shadow:0 4px 16px #182c4a03;padding:24px;min-width:0}
html body.workspace-v2 .section-head{align-items:flex-start;gap:16px;margin-bottom:22px}
html body.workspace-v2 h2{font-size:18px;line-height:1.45;letter-spacing:-.2px;color:#26364d}
html body.workspace-v2 h3{font-size:15px;line-height:1.5;color:#2c3c53}
html body.workspace-v2 .smallnote,html body.workspace-v2 .muted,html body.workspace-v2 .section-hint{font-size:12px;color:var(--studio-muted);line-height:1.8}
html body.workspace-v2 button,html body.workspace-v2 input,html body.workspace-v2 select,html body.workspace-v2 textarea{font-family:inherit;font-size:13px}
html body.workspace-v2 button{cursor:pointer;line-height:1.5}
html body.workspace-v2 .primary{min-height:40px;border:1px solid var(--studio-accent);background:var(--studio-accent);color:#fff;padding:10px 18px;border-radius:8px;font-weight:600;box-shadow:0 2px 4px #365fd614}
html body.workspace-v2 .primary:hover{background:#294fbe;border-color:#294fbe}
html body.workspace-v2 .secondary{min-height:38px;background:#fff;border:1px solid #d6dfeb;color:#3b506e;padding:9px 14px;border-radius:8px;box-shadow:none}
html body.workspace-v2 .secondary:hover{background:#f2f5fa;border-color:#b9c9df}
html body.workspace-v2 button:disabled{cursor:not-allowed;opacity:.55;box-shadow:none}
html body.workspace-v2 input:not([type=checkbox]):not([type=radio]),html body.workspace-v2 select,html body.workspace-v2 textarea{min-height:40px;max-width:100%;min-width:0;background:#fff;color:#26364d;border:1px solid #d6dfeb;border-radius:8px;padding:9px 12px;line-height:1.6}
html body.workspace-v2 textarea{resize:vertical;min-height:100px}
html body.workspace-v2 input[type=checkbox],html body.workspace-v2 input[type=radio]{width:16px;height:16px;min-height:0;accent-color:var(--studio-accent);vertical-align:middle;flex-shrink:0}
html body.workspace-v2 input[type=file]{padding:7px;background:#fafbfd}
html body.workspace-v2 input::file-selector-button{border:1px solid #d7e1ee;border-radius:6px;background:#eef3fa;color:#345078;padding:6px 12px;margin-right:12px;font:inherit;cursor:pointer}
html body.workspace-v2 :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #8daaf4;outline-offset:3px}
html body.workspace-v2 label{color:#35465e;line-height:1.65}
html body.workspace-v2 .actionrow,html body.workspace-v2 .library-toolbar,html body.workspace-v2 .tt-filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
html body.workspace-v2 .wv-notice{background:#f2f6fc;border:1px solid #e1e8f2;border-left:3px solid #8aaddb;border-radius:8px;padding:12px 16px;color:#526883;line-height:1.8}
html body.workspace-v2 .wv-flow{display:flex;flex-wrap:wrap;gap:8px;border:0;margin:0 0 22px}
html body.workspace-v2 .wv-flow button{border:1px solid #dbe4f1;background:#fff;border-radius:8px;padding:10px 15px;color:#4f6482}
html body.workspace-v2 .dropzone{border:1px dashed #bacbe3;background:#f8faff;border-radius:10px;min-height:140px}
html body.workspace-v2 .metric{background:#f5f7fb;border:1px solid #e8edf5;border-radius:10px;padding:18px}
html body.workspace-v2 .metric strong{font-size:28px;letter-spacing:-1px;color:#34527a}
html body.workspace-v2 .progressbar{height:6px;border-radius:20px;overflow:hidden;background:#e8eef7}
html body.workspace-v2 .progressbar>span{background:#4b73db}
html body.workspace-v2 .library-grid{gap:16px;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}
html body.workspace-v2 .library-card{border:1px solid var(--studio-border);border-radius:12px;padding:12px;background:#fff;min-width:0}
html body.workspace-v2 .library-card img{width:100%;height:220px;object-fit:contain;border-radius:8px;background:#f6f8fb}
html body.workspace-v2 .library-card :is(p,small,strong){overflow-wrap:anywhere}
html body.workspace-v2 .library-toolbar{padding:12px 0;margin:0}
html body.workspace-v2 .library-toolbar input[type=search]{flex:1 1 240px}
html body.workspace-v2 .library-toolbar select{min-width:120px;width:auto}
html body.workspace-v2 .library-selection{border-top:1px solid #e6ecf4;margin-top:10px;padding-top:16px}
html body.workspace-v2 .library-assign{padding:16px;background:#f7f9fc;border-radius:10px;margin:6px 0 20px}
html body.workspace-v2 .tt-filters input{flex:1 1 220px;width:auto}
html body.workspace-v2 .tt-filters select{flex:0 1 180px;width:auto}
html body.workspace-v2 .sellfox-filters select{width:auto;flex:0 1 220px}
html body.workspace-v2 .sellfox-filters #sellfox-search-type{flex-basis:100px;min-width:90px}
html body.workspace-v2 .sellfox-filters #sellfox-search{width:auto;flex:1 1 220px}
html body.workspace-v2 .sellfox-filters label{margin:0}
@media(max-width:600px){
 html body.workspace-v2 .sellfox-panel .sellfox-filters{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 10px;align-items:center}
 html body.workspace-v2 .sellfox-panel .sellfox-filters :is(select,#sellfox-search){width:100%;min-width:0;margin:0}
 html body.workspace-v2 .sellfox-panel .sellfox-filters :is(#sellfox-search,#sellfox-query){grid-column:1/-1}
}
html body.workspace-v2 .listing-panel>summary .section-hint{font-size:12px;font-weight:400;color:#627087}
html body.workspace-v2 .studio-shortcut .section-index{display:block;font-size:11px;color:#62799a;margin-bottom:10px}
html body.workspace-v2 .history-item{gap:16px;align-items:center;padding:15px 8px;border-bottom:1px solid #edf1f6;line-height:1.7}
html body.workspace-v2 .history-item>span{min-width:0;overflow-wrap:anywhere}
html body.workspace-v2 .history-item button{flex-shrink:0}
html body.workspace-v2 #listing-ai-panel{grid-column:1/-1;background:#f4f7ff;border:1px solid #d9e3fb;border-radius:12px;padding:20px;margin-bottom:8px}
html body.workspace-v2 #listing-ai-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}
html body.workspace-v2 #listing-ai-fields label{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;font-size:13px}
html body.workspace-v2 #listing-ai-fields input:not([type=checkbox]),html body.workspace-v2 #listing-ai-fields small{grid-column:1/-1;width:100%}
html body.workspace-v2 #profile-saved-drafts{padding:16px;background:#f7f9fc;border:1px solid #e1e7ef;border-radius:10px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
html body.workspace-v2 #profile-saved-drafts small{flex-basis:100%}
html body.workspace-v2 #profile-table-preview{border:1px solid var(--studio-border);border-radius:10px;overflow:hidden}
html body.workspace-v2 #listing-profiles{background:#fff;border:1px solid var(--studio-border);border-radius:14px;padding:24px}
html body.workspace-v2 #listing-profiles>h3{font-size:23px;margin:0 0 16px}
html body.workspace-v2 #listing-profiles>label{display:block;margin:24px 0 8px}
html body.workspace-v2 #listing-profiles>details{margin-top:22px;padding-top:18px;border-top:1px solid var(--studio-border)}
html body.workspace-v2 #listing-profiles #profile-fields:not(:empty) {
  container-type: inline-size;
  max-height: min(58vh,520px);
  overflow: auto;
  overscroll-behavior: contain;
  margin-top: 12px;
  border: 1px solid var(--studio-border);
  border-radius: 8px;
}
html body.workspace-v2 #listing-profiles #profile-fields:empty { display: none; }
html body.workspace-v2 #profile-fields .profile-field {
  grid-template-columns: minmax(0,1fr) minmax(105px,.5fr) minmax(0,1.15fr);
  align-items: start;
  padding: 12px;
  overflow-wrap: anywhere;
}
html body.workspace-v2 #profile-fields .profile-field:last-child { border-bottom: 0; }
html body.workspace-v2 #profile-fields .profile-field :is(select,textarea) { width: 100%; min-width: 0; margin: 0; }
@container (max-width:560px) {
  html body.workspace-v2 #profile-fields .profile-field { grid-template-columns: minmax(0,1fr); gap: 8px; }
}
html body.workspace-v2 .profile-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}
html body.workspace-v2 .profile-edit-grid label{display:block;margin-bottom:8px}
html body.workspace-v2 .profile-edit-grid input{width:100%}
@media(max-width:760px){html body.workspace-v2 .profile-edit-grid{grid-template-columns:1fr}}
html body.workspace-v2 table{font-size:12px;line-height:1.65;border-collapse:collapse}
html body.workspace-v2 th{background:#f4f7fb;color:#53667f;font-weight:600;text-align:left;white-space:nowrap}
html body.workspace-v2 td,html body.workspace-v2 th{padding:12px 14px;border-bottom:1px solid #e7edf5}
html body.workspace-v2 tr:hover td{background:#f9fbff}
html body.workspace-v2 .ops-table-wrap,html body.workspace-v2 .daily-table-wrap{overflow:auto;border:1px solid var(--studio-border);border-radius:10px}
html body.workspace-v2 .studio-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
html body.workspace-v2 .studio-shortcut{padding:24px;border:1px solid var(--studio-border);border-radius:14px;background:#fff}
html body.workspace-v2 .studio-shortcut button{margin:6px 8px 0 0}
html body.workspace-v2 .daily-dashboard,html body.workspace-v2 .ops-shell,html body.workspace-v2 #team-tasks-root{max-width:none}
html body.workspace-v2 .daily-hero{border-radius:16px;padding:28px;background:#edf2fc;border:1px solid #dde6f7;color:#253d64}
html body.workspace-v2 .daily-hero h1{font-size:27px;color:#253d64;letter-spacing:-.5px}
html body.workspace-v2 .daily-hero p,html body.workspace-v2 .daily-hero-action>span{color:#526883}
html body.workspace-v2 .daily-eyebrow{color:#536f97}
html body.workspace-v2 .daily-hero-tags span{color:#526883;border-color:#d4dff1;background:#fff9}
html body.workspace-v2 .daily-hero-action button{background:#365fd6;color:#fff;border-color:#365fd6;box-shadow:none}
html body.workspace-v2 .wv-sidebar{scrollbar-width:thin;scrollbar-color:#3d506a #142237}
html body.workspace-v2 #render-test-workspace>button,html body.workspace-v2 .rt-client-panel button{min-height:38px;border:1px solid #d6dfeb;border-radius:8px;padding:8px 14px;background:#fff;color:#3b506e;margin:4px 6px 4px 0}
html body.workspace-v2 .rt-client-panel{background:#fff;border:1px solid #e1e7ef;border-radius:12px;padding:22px;margin-top:18px}
html body.workspace-v2 .rt-client-panel h2 { margin: 0; }
html body.workspace-v2 .rt-client-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
html body.workspace-v2 .rt-client-actions a:not([hidden]) { padding: 6px 2px; }
html body.workspace-v2 .rt-client-panel .rt-client-help { margin-bottom: 0; overflow-wrap: anywhere; }
html body.workspace-v2 .daily-kpis{gap:16px}
html body.workspace-v2 .daily-kpi{border-radius:12px;box-shadow:none;border:1px solid var(--studio-border);padding:22px}
html body.workspace-v2 .daily-kpi strong{font-size:34px;font-variant-numeric:tabular-nums}
html body.workspace-v2 .tt-filters input{flex:1 1 220px}
html body.workspace-v2 .ops-tabs{gap:6px;flex-wrap:wrap}
html body.workspace-v2 .ops-tabs button{border-radius:8px;min-height:38px}
@media (max-width:600px) {
  html body.workspace-v2 .ops-tabs {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  html body.workspace-v2 .ops-tabs button { min-width: 0; min-height: 44px; white-space: normal; }
}
@media(min-width:1600px){html body.workspace-v2 .shell{padding-right:52px;padding-left:284px}}
@media(max-width:1100px){html body.workspace-v2 .shell{padding-right:22px;padding-left:238px}html body.workspace-v2 .wv-sidebar{width:216px}html body.workspace-v2 .card,html body.workspace-v2 .listing-panel{padding:20px}html body.workspace-v2 .columns{grid-template-columns:1fr}}
@media(max-width:760px){html body.workspace-v2 .shell{padding:0 16px}html body.workspace-v2 .wv-sidebar{position:relative;inset:auto;width:100%;height:auto;max-height:260px;padding:16px;display:block;border-radius:0 0 14px 14px;overflow:auto}html body.workspace-v2 .wv-brand{margin:0 0 10px;font-size:18px}html body.workspace-v2 .wv-brand small{display:none}html body.workspace-v2 .wv-nav-group{display:flex;gap:5px;margin:0 0 7px;overflow-x:auto}html body.workspace-v2 .wv-nav-label{display:none}html body.workspace-v2 .wv-sidebar button{width:auto;min-width:max-content;padding:7px 12px;min-height:34px;font-size:12px}html body.workspace-v2 .wv-sidebar .wv-bottom{display:flex;padding:6px 0 0;gap:10px}html body.workspace-v2 .topbar{height:auto;min-height:58px;flex-wrap:wrap;padding:12px 0}html body.workspace-v2 .wv-page{padding-top:20px}html body.workspace-v2 .wv-intro h1,html body.workspace-v2 .daily-hero h1{font-size:23px}html body.workspace-v2 .studio-shortcuts,html body.workspace-v2 #listing-ai-fields{grid-template-columns:1fr}html body.workspace-v2 .daily-hero{padding:20px}html body.workspace-v2 .library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html body.workspace-v2 .library-card img{height:170px}html body.workspace-v2 .history-item{align-items:flex-start;flex-direction:column;gap:6px}}
@media(prefers-reduced-motion:reduce){html body.workspace-v2 *{scroll-behavior:auto!important;transition:none!important}}

html body #listing-form .listing-mode-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding-bottom:18px;border-bottom:1px solid #e1e7ef}
html body #listing-form .listing-mode-toolbar>select{width:100%;max-width:100%;min-width:0}
html body #listing-form .listing-mode-toolbar>section{flex-basis:100%;margin:8px 0 0}
/* Dashboard layout: use the workspace width, with one clear reading order. */
html body.workspace-v2{font-size:15px}
html body.workspace-v2 .wv-sidebar button{font-size:17px;min-height:44px;padding:9px 14px;line-height:1.5}
html body.workspace-v2 :is(input,select,textarea,button){font-size:14px}
html body.workspace-v2 :is(.smallnote,.muted,.section-hint){font-size:13px}
html body.workspace-v2 .daily-dashboard{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;padding:0;align-items:start}
html body.workspace-v2 .daily-dashboard>.daily-hero{grid-column:1/-1;padding:0 0 4px;border:0;background:transparent;box-shadow:none;border-radius:0;gap:24px}
html body.workspace-v2 .daily-dashboard .daily-hero h1{font-size:30px;color:#1d293b;margin:6px 0 8px;letter-spacing:-.6px}
html body.workspace-v2 .daily-dashboard .daily-eyebrow{font-size:12px;color:#64748b;letter-spacing:1px}
html body.workspace-v2 .daily-dashboard .daily-hero p{font-size:15px;margin:0 0 12px;color:#64748b}
html body.workspace-v2 .daily-dashboard .daily-hero-tags span{font-size:12px;background:transparent;border:0;padding:0 12px 0 0;color:#64748b}
html body.workspace-v2 .daily-dashboard #daily-orders-refresh{background:#365fd6;border:1px solid #365fd6;color:white;border-radius:8px;padding:10px 18px;font-size:14px;box-shadow:none}
html body.workspace-v2 .daily-dashboard>#daily-orders-status{grid-column:1/-1;font-size:13px;line-height:1.7;margin:-8px 0 0;padding:12px 16px;background:#fff;border:1px solid #e1e7ef;border-radius:8px;color:#526078}
html body.workspace-v2 .daily-dashboard>.daily-kpis{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0}
html body.workspace-v2 .daily-dashboard .daily-kpi{padding:24px;background:white;border:1px solid #e1e7ef;border-radius:12px;box-shadow:none}
html body.workspace-v2 .daily-dashboard .daily-kpi>span{font-size:14px;color:#526078}
html body.workspace-v2 .daily-dashboard .daily-kpi>strong{font-size:36px;line-height:1.25;color:#243752;letter-spacing:-1px}
html body.workspace-v2 .daily-dashboard .daily-kpi>small{font-size:12px;color:#69788c;line-height:1.6}
html body.workspace-v2 .daily-dashboard>.daily-performance{grid-column:span 8;margin:0;padding:24px;background:white;border:1px solid #e1e7ef;border-radius:12px}
html body.workspace-v2 .daily-dashboard>.daily-leaderboard{grid-column:span 4;margin:0;padding:24px;background:white;border:1px solid #e1e7ef;border-radius:12px}
html body.workspace-v2 .daily-dashboard .daily-section-title{margin-bottom:20px;gap:12px}
html body.workspace-v2 .daily-dashboard .daily-section-title h2{font-size:18px;margin:0 0 6px}
html body.workspace-v2 .daily-dashboard .daily-section-title p{font-size:12px;line-height:1.7;color:#69788c}
html body.workspace-v2 .daily-dashboard .daily-rank-grid{grid-template-columns:1fr;gap:10px}
html body.workspace-v2 .daily-dashboard .daily-rank-card{padding:14px 16px;border:0;border-radius:8px;background:#f6f8fb}
html body.workspace-v2 .daily-dashboard .daily-rank-card span{font-size:13px;color:#64748b}
html body.workspace-v2 .daily-dashboard .daily-rank-card strong{font-size:22px;color:#243752}
html body.workspace-v2 .daily-dashboard .daily-store-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html body.workspace-v2 .daily-dashboard .daily-store-grid:empty::after{content:'暂无可展示的订单数据，请查看上方同步状态。';font-size:13px;color:#69788c;padding:24px 0}
html body.workspace-v2 .daily-dashboard>.daily-new-listings{grid-column:span 6;min-width:0;margin:0;padding:24px;border:1px solid #e1e7ef;border-radius:12px;background:white}
html body.workspace-v2 .daily-dashboard .new-listings-totals article{padding:16px;border-radius:8px;background:#f6f8fb}
html body.workspace-v2 .daily-dashboard .new-listings-totals strong{font-size:30px;color:#243752}
html body.workspace-v2 .daily-dashboard .daily-status{font-size:13px;margin:16px 0 0;color:#69788c}
html body.workspace-v2 .daily-dashboard>.daily-detail{grid-column:1/-1}
@media(max-width:1200px){html body.workspace-v2 .daily-dashboard>.daily-performance,html body.workspace-v2 .daily-dashboard>.daily-leaderboard{grid-column:1/-1}html body.workspace-v2 .daily-dashboard .daily-rank-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){html body.workspace-v2 .daily-dashboard{gap:16px}html body.workspace-v2 .daily-dashboard>.daily-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}html body.workspace-v2 .daily-dashboard>.daily-new-listings{grid-column:1/-1}html body.workspace-v2 .daily-dashboard .daily-kpi{padding:16px}html body.workspace-v2 .daily-dashboard .daily-rank-grid{grid-template-columns:1fr}html body.workspace-v2 .daily-dashboard>.daily-hero{align-items:flex-start;flex-direction:column}html body.workspace-v2 .daily-dashboard .daily-hero-action{width:100%}}
@media(max-width:760px){html body.workspace-v2 .wv-sidebar{width:calc(100% + 32px);margin:0 -16px}html body.workspace-v2 .wv-nav-group{scrollbar-width:thin}html body.workspace-v2 .wv-page>.listing-panel{margin-top:0}}
@media(max-width:760px){html body.workspace-v2 .daily-dashboard .daily-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Shared reading scale: navigation and working controls must remain legible. */
.listing-workflow-guide{flex-basis:100%;margin:0 0 8px;color:#526078}
.listing-flow-section,.listing-copy-fields,.listing-workbook-field{display:grid;gap:12px;min-width:0}
.listing-flow-section{border-top:1px solid #e1e7ef;padding-top:20px;margin-top:10px}
#profile-trial-download{display:inline-block;margin:16px 0;padding:10px 16px;background:#365fd6;color:white;border-radius:8px}
html body.workspace-v2{font-size:16px}
html body.workspace-v2 .wv-nav-label{font-size:13px;letter-spacing:.4px;color:#afbed1;margin:12px 14px 6px}
html body.workspace-v2 .wv-brand small{font-size:12px;letter-spacing:.8px}
html body.workspace-v2 .wv-sidebar a{font-size:14px;line-height:1.6}
html body.workspace-v2 .wv-sidebar button span{width:28px;font-size:17px}
html body.workspace-v2 .wv-nav-group{gap:3px}
html body.workspace-v2 :is(input,select,textarea,button){font-size:15px}
html body.workspace-v2 :is(.smallnote,.muted,.section-hint,.wv-breadcrumb,.wv-intro p,.ops-status,.ops-note,.ops-muted){font-size:14px;line-height:1.75}
html body.workspace-v2 :is(table,.ops-table-wrap table){font-size:14px;line-height:1.65}
html body.workspace-v2 :is(th,td){padding:12px 14px}
html body.workspace-v2 :is(button,input,select,textarea):focus-visible{outline:3px solid #7295ee;outline-offset:3px}
html body.workspace-v2 .daily-dashboard :is(.daily-kpi>small,.daily-section-title p,.daily-hero-tags span,.daily-status,.daily-rank-card span){font-size:14px}
html body.workspace-v2 #workspace-main small{font-size:14px;line-height:1.7}
html body.workspace-v2 #workspace-main label{font-size:14px;line-height:1.7}
html body.workspace-v2 .daily-dashboard :is(.daily-store-bar,.daily-store-cancellations){font-size:14px;line-height:1.7}
html body.workspace-v2 :is(.tt-stat span,.tt-badge,.tt-meta span,.export-history-row>summary,.export-pages,.topright,.wv-notice,.wv-tag){font-size:14px}
html body.workspace-v2 #team-task-message,html body.workspace-v2 #listing-jobs h4{font-size:14px}
html body.workspace-v2 .wv-sidebar{overflow:hidden}
html body.workspace-v2 .wv-sidebar>.wv-brand,html body.workspace-v2 .wv-sidebar>.wv-bottom{flex-shrink:0}
html body.workspace-v2 .wv-nav-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#3d506a #142237}
html body.workspace-v2 .studio-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px){html body.workspace-v2 .studio-shortcuts{grid-template-columns:1fr}}
@media(max-width:760px){html body.workspace-v2 .wv-sidebar{overflow:auto}html body.workspace-v2 .wv-nav-scroll{overflow:visible}}
@media(min-width:761px){html body.workspace-v2 .wv-sidebar{width:248px;padding:24px 14px 16px}html body.workspace-v2 .shell{padding-left:280px;padding-right:32px}}
@media(max-width:760px){html body.workspace-v2 .wv-sidebar button{font-size:15px;min-height:42px;padding:9px 12px}html body.workspace-v2 .wv-sidebar a{font-size:14px}html body.workspace-v2 :is(th,td){padding:10px}}

html body #listing-form [hidden]{display:none!important}
html body #listing-form .listing-setup>.listing-copy{grid-area:auto;border:0;border-top:1px solid #e1e7ef;border-radius:0;padding:20px 0 0;margin-top:8px;background:transparent}

html body #listing-form>.listing-workflow-guide{grid-area:mode;margin:0;padding-bottom:16px;border-bottom:1px solid #e1e7ef}
html body #listing-form #listing-method-step .listing-mode-toolbar{border:0;padding:0;margin:0}

/* Listing uses one input column; draft recovery and preview are no longer product panels. */
html body #listing-form{grid-template-columns:minmax(0,1fr);grid-template-areas:"mode" "setup"}
html body #listing-form #profile-saved-drafts,html body #listing-form .listing-preview-pane{display:none!important}


/* Product form fills the workspace; related inputs share rows without nested cards. */
html body #listing-form{max-width:none;width:100%;margin:0;gap:0}
html body #listing-form>.listing-workflow-guide,
html body #listing-form .listing-step-heading,
html body #listing-form .listing-flow-section>h3{display:none}
html body #listing-form .listing-setup{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 32px;padding:12px 0 0;border:0;border-radius:0;background:transparent}
html body #listing-form .listing-setup> *{grid-column:1/-1}
html body #listing-form #listing-source-step{grid-column:1}
html body #listing-form #listing-sku-step{grid-column:2}
html body #listing-form .listing-flow-section{margin:0;padding:0;border:0;min-width:0;align-content:start}
html body #listing-form :is(label,h3){font-size:15px;line-height:1.5}
html body #listing-form :is(input,select,textarea){font-size:15px;width:100%;min-height:42px}
html body #listing-form :is(small,.smallnote){font-size:13px;line-height:1.65}
html body #listing-form .listing-product-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}
html body #listing-form .listing-fact-field{display:flex;flex-direction:column;gap:10px;min-width:0}
html body #listing-form .listing-fact-field textarea{min-height:88px}
html body #listing-form .listing-facts-presets{display:grid;gap:8px;padding:14px;border:1px solid #dde5e3;border-radius:8px;background:#f7faf8}
html body #listing-form .listing-workflow{padding:18px;margin:0 0 20px;border:1px solid #d7e4df;border-radius:10px;background:#fff}
html body #listing-form .listing-workflow-heading{display:flex;justify-content:space-between;align-items:baseline;gap:14px;flex-wrap:wrap}
html body #listing-form .listing-workflow-heading h3{margin:0}
html body #listing-form .listing-workflow-heading p{margin:0;font-size:12px;overflow-wrap:anywhere}
html body #listing-form .listing-workflow-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;list-style:none;padding:0;margin:16px 0}
html body #listing-form .listing-workflow-render-inputs{padding:16px;margin:0 0 20px;border:1px solid #d7e4df;border-radius:10px;background:#fff}
html body #listing-form .listing-workflow-render-inputs>summary{font-weight:600;cursor:pointer}
html body #listing-form .listing-workflow-renderer>.rt-client-panel,html body #listing-form .listing-workflow-renderer>button{display:none!important}
html body #listing-form .listing-workflow #listing-workflow-source{max-width:400px;margin:8px 0 0}
html body #listing-form .listing-workflow-steps li{min-width:0}
html body #listing-form .listing-workflow-steps :is(button,.listing-workflow-stage){box-sizing:border-box;display:grid;grid-template-columns:24px minmax(0,1fr);gap:5px 8px;align-content:start;width:100%;min-height:78px;padding:12px;text-align:left;border:1px solid #e0e6e4;border-radius:6px;background:#fafcfb;white-space:normal}
html body #listing-form .listing-workflow-steps :is(button,.listing-workflow-stage) span{grid-row:1/3;display:grid;place-items:center;align-self:start;width:24px;height:24px;border-radius:50%;background:#e9efec}
html body #listing-form .listing-workflow-steps small{font-size:12px;line-height:1.5;color:#61706b;overflow-wrap:anywhere}
html body #listing-form .listing-workflow-steps li[data-state=done] :is(button,.listing-workflow-stage){border-color:#b8d6c9;background:#f2f8f5}
html body #listing-form .listing-workflow-steps li[data-state=attention] :is(button,.listing-workflow-stage){border-color:#e3cfab;background:#fffbf4}
html body #listing-form .listing-workflow-steps li[data-state=running] :is(button,.listing-workflow-stage){border-color:#7fafa0;background:#eaf5f0}
html body #listing-form .listing-workflow .actionrow{margin:10px 0}
html body #listing-form .listing-workflow-download{padding:9px 14px;border:1px solid #b8d6c9;border-radius:6px;color:#20584d}
html body #listing-form .listing-workflow-table{display:grid;gap:8px;margin:16px 0;max-width:650px}
html body #listing-form .listing-workflow-review{margin:16px 0}
html body #listing-form .listing-workflow-review label{display:flex;align-items:center;gap:6px}
html body #listing-form .listing-workflow-review small{display:block;margin:6px 0 0 24px;color:#61706b;line-height:1.5}
html body #listing-form .listing-workflow p[role=status]{font-size:13px;margin:8px 0 0}
html body #listing-form .listing-workflow details{margin:12px 0 0}
html body #listing-form .listing-workflow details ul{max-height:220px;overflow:auto;overflow-wrap:anywhere;padding-left:24px}
@media(max-width:1000px){html body #listing-form .listing-workflow-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){html body #listing-form .listing-workflow-steps{grid-template-columns:minmax(0,1fr)}html body #listing-form .listing-workflow-steps :is(button,.listing-workflow-stage){min-height:0}}
html body #listing-form .listing-preset-editor{display:grid;gap:8px}
html body #listing-form .listing-preset-editor[hidden]{display:none}
html body #listing-form .listing-fact-field .listing-facts-presets input{height:auto;min-height:0;padding:10px 12px}
html body #listing-form .listing-preset-editor fieldset{display:flex;flex-wrap:wrap;gap:8px 16px;margin:4px 0;padding:12px;border:1px solid #dde5e3;border-radius:6px}
html body #listing-form .listing-preset-editor fieldset label{display:flex;align-items:center;gap:6px;font-weight:400;margin:0}
html body #listing-form .listing-preset-editor input[type=checkbox]{width:16px;height:16px;min-height:0;padding:0;margin:0;accent-color:#20584d}
html body #listing-form #profile-sku-text{min-height:116px}
html body #listing-form #listing-method-step{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 32px;padding-top:24px;border-top:1px solid #edf0f5}
html body #listing-form #listing-method-step>.listing-mode-toolbar{grid-area:auto;display:grid;align-content:start;gap:10px}
html body #listing-form #listing-method-step>:is(#listing-ai-panel,#profile-saved-drafts){grid-column:1/-1}
html body #listing-form .listing-setup>.listing-copy{border:0;margin:0;padding:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px}
html body #listing-form .listing-copy>label,html body #listing-form .listing-copy>select{grid-column:1}
html body #listing-form .listing-copy>:is(#listing-copy-fields,#listing-copy-skip){grid-column:1/-1}
html body #listing-form .listing-files label{background:transparent;border:0;padding:0}
html body #listing-form .listing-field-help{font-size:13px;color:#66758a;line-height:1.65}
html body #listing-form .listing-field-help summary{cursor:pointer;width:fit-content}
html body #listing-form .listing-field-help small{display:block;margin-top:8px}
html body #listing-form .listing-setup>.actionrow{padding-top:18px;border-top:1px solid #edf0f5;margin-top:0}
html body #listing-form #listing-submit{width:auto;min-width:180px;min-height:44px;padding:10px 24px}
@media(max-width:900px){html body #listing-form .listing-setup,html body #listing-form .listing-product-facts,html body #listing-form #listing-method-step,html body #listing-form .listing-setup>.listing-copy{grid-template-columns:minmax(0,1fr);gap:16px}html body #listing-form #listing-source-step,html body #listing-form #listing-sku-step{grid-column:1/-1}}

html body #listing-form #listing-method-step>*{min-width:0;align-self:start}
html body #listing-form .listing-workbook-field{align-content:start}
html body #listing-form .listing-product-facts #listing-package{min-height:88px}
html body #listing-form #profile-trial-message{grid-column:1/-1;margin:0;font-size:14px}

html body #listing-form #listing-source-step,html body #listing-form #listing-sku-step{grid-column:1/-1}
html body #listing-form .listing-aligned-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}
html body #listing-form .listing-aligned-field{display:flex;flex-direction:column;gap:10px;min-width:0}
html body #listing-form .listing-aligned-field :is(input,select,textarea){margin:0;max-width:none}
html body #listing-form .listing-fact-field :is(input,textarea){height:112px;min-height:112px;margin:0}
html body #listing-form #listing-copy-skip{margin:0}
html body #listing-form #profile-trial-file{margin:0}
@media(max-width:900px){html body #listing-form .listing-aligned-row{grid-template-columns:minmax(0,1fr);gap:16px}}
html body #listing-form #listing-method-step>:is(.listing-copy-fields,.listing-workbook-field,.listing-aligned-field){gap:10px;align-content:start}

html body #listing-form {
  grid-template-areas: "mode" "setup" "preview";
  gap: 16px;
}
html body #listing-form > .listing-aligned-field {
  max-width: 360px;
}
html body #listing-form .listing-setup {
  gap: 16px;
}
html body #listing-form .listing-setup > .listing-flow-section {
  padding: 16px;
  border: 1px solid #dce6df;
  border-radius: 10px;
  background: #fcfdfc;
}
html body #listing-form .listing-setup > .listing-flow-section > h3 {
  display: block;
  grid-column: 1 / -1;
  margin: 0;
  color: #283c32;
}
html body #listing-form .listing-product-facts {
  grid-template-columns: minmax(0,1fr);
}
html body #listing-form #listing-method-step > details {
  grid-column: 1 / -1;
}
html body #listing-form .listing-preview-pane:has(#profile-table-preview:not([hidden])) {
  display: block !important;
  position: static;
}
html body #listing-form .listing-preview-pane .listing-step-heading {
  display: flex;
}
html body #listing-form .listing-preview-pane:has(#profile-table-preview:not([hidden])) .listing-preview-empty {
  display: none;
}
html body #listing-form #profile-saved-drafts:not([hidden]) {
  display: block !important;
}
html body #listing-form input[type=checkbox] {
  width: auto;
  min-height: 0;
}

/* Shared gallery: filters first, images central, actions only for a selection. */
html body #image-library-panel [hidden]{display:none!important}
html body #image-library-panel .library-upload-panel{margin:12px 0 16px;border-bottom:1px solid #e6eaf0;padding-bottom:14px}
html body #image-library-panel .library-upload-panel>summary{cursor:pointer;width:fit-content;padding:10px 18px;border:1px solid #dce2ed;border-radius:8px;font-size:15px;color:#334a7a;background:#f8faff}
html body #image-library-panel #library-upload-form{display:grid;grid-template-columns:minmax(160px,1fr) minmax(240px,2fr) auto;gap:12px 18px;margin:16px 0 0;padding:18px;align-items:end}
html body #image-library-panel #library-upload-form>*{grid-column:auto;grid-row:auto;min-width:0;margin:0}
html body #image-library-panel #library-upload-form label[for=library-upload-category]{grid-column:1;grid-row:1}
html body #image-library-panel #library-upload-category{grid-column:1;grid-row:2}
html body #image-library-panel #library-upload-form label[for=library-files]{grid-column:2;grid-row:1}
html body #image-library-panel #library-files{grid-column:2;grid-row:2;width:100%}
html body #image-library-panel #library-upload{grid-column:3;grid-row:2}
html body #image-library-panel #library-custom-category-label{grid-column:1/-1;grid-row:3}
html body #image-library-panel #library-custom-category-name{grid-column:1/3;grid-row:4}
html body #image-library-panel #library-custom-category-add{grid-column:3;grid-row:4}
html body #image-library-panel #library-category-note{grid-column:1/-1;grid-row:5}
html body #image-library-panel #library-message:empty{display:none}
html body #image-library-panel .library-query{display:flex;gap:12px;align-items:end;margin:0;padding:0 0 16px;border-bottom:1px solid #e6eaf0}
html body #image-library-panel .library-filter-field{display:flex;flex-direction:column;gap:8px;font-size:14px;min-width:120px}
html body #image-library-panel .library-filter-search{flex:0 1 320px;min-width:220px;max-width:360px}
html body #image-library-panel .library-filter-field :is(input,select){width:100%;margin:0;min-height:42px;font-size:15px;min-width:0}
html body #image-library-panel .library-filter-search input{flex:none}
html body #image-library-panel .library-view-switch{margin:0;min-height:42px;align-items:center}
html body #image-library-panel .library-selection{border:0;margin:0;padding:14px 0}
html body #image-library-panel .library-assign:not([hidden]){position:sticky;bottom:12px;z-index:5;border:1px solid #dbe3f0;box-shadow:0 4px 18px #20345012;background:#f6f8fc;border-radius:10px;padding:12px 16px;margin:0 0 16px}
html body #image-library-panel .library-grid:not(:has(.library-card)){display:flex;align-items:center;justify-content:center;min-height:220px;padding:24px;background:#f8fafc;border-radius:10px;color:#6b778b;text-align:center;line-height:1.8}
html body #image-library-panel .library-grid{gap:18px;grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
@media(max-width:800px){html body #image-library-panel #library-upload-form{grid-template-columns:minmax(0,1fr)}html body #image-library-panel #library-upload-form>*{grid-column:1!important;grid-row:auto!important}html body #image-library-panel .library-filter-field{flex:1 1 140px}html body #image-library-panel .library-filter-search{flex-basis:100%}html body #image-library-panel .library-assign:not([hidden]){position:static}html body #image-library-panel .library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}

@media(max-width:800px){html body #image-library-panel .library-filter-search{flex:1 1 100%;min-width:0;max-width:none}}

/* Dashboard compares store metrics in a single table, with a compact ranking strip. */
html body.workspace-v2 .daily-dashboard [hidden]{display:none!important}
html body.workspace-v2 .daily-dashboard>.daily-performance,
html body.workspace-v2 .daily-dashboard>.daily-leaderboard{grid-column:1/-1}
html body.workspace-v2 .daily-dashboard .daily-hero-tags{display:none}
html body.workspace-v2 .daily-dashboard>.daily-leaderboard{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,3fr);gap:12px 24px;padding:20px 24px;align-items:center}
html body.workspace-v2 .daily-dashboard .daily-leaderboard .daily-section-title{margin:0}
html body.workspace-v2 .daily-dashboard .daily-rank-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html body.workspace-v2 .daily-dashboard .daily-leaderboard .daily-status{grid-column:1/-1;margin:0;font-size:13px}
html body.workspace-v2 .daily-dashboard .daily-kpi{padding:18px 24px}
html body.workspace-v2 .daily-dashboard .daily-comparison-table{max-height:460px;overflow:auto;border:1px solid #e5e9ef;border-radius:8px}
html body.workspace-v2 .daily-comparison-table table{width:100%;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
html body.workspace-v2 .daily-comparison-table :is(th,td){padding:12px 18px;font-size:15px;line-height:1.5;text-align:right;border-bottom:1px solid #edf0f4}
html body.workspace-v2 .daily-comparison-table :is(th,td):first-child{text-align:left}
html body.workspace-v2 .daily-comparison-table th{position:sticky;top:0;background:#f6f8fb;z-index:1;font-weight:600}
html body.workspace-v2 .daily-comparison-table tbody tr:hover{background:#f8faff}
html body.workspace-v2 .daily-comparison-table td:nth-child(3){color:#15745f;font-weight:600}
@media(max-width:760px){html body.workspace-v2 .daily-dashboard>.daily-leaderboard{grid-template-columns:minmax(0,1fr);padding:16px}html body.workspace-v2 .daily-dashboard .daily-rank-grid{grid-template-columns:repeat(3,minmax(0,1fr))}html body.workspace-v2 .daily-dashboard .daily-rank-card{padding:10px}html body.workspace-v2 .daily-comparison-table table{min-width:520px}}

/* Store comparison: calm hierarchy, tabular numbers and a clear current-day column. */
html body.workspace-v2 .daily-dashboard>.daily-performance{padding:24px;border-color:#e4e9ef;box-shadow:0 3px 16px #24375204}
html body.workspace-v2 .daily-dashboard .daily-comparison-table{border:0;border-radius:10px;max-height:500px;scrollbar-width:thin;scrollbar-color:#c9d2de transparent}
html body.workspace-v2 .daily-comparison-table table{table-layout:fixed}
html body.workspace-v2 .daily-comparison-table :is(th,td){width:17%;padding:13px 22px;text-align:center;border-bottom:1px solid #edf1f5}
html body.workspace-v2 .daily-comparison-table :is(th,td):first-child{width:32%;text-align:left;padding-left:24px}
html body.workspace-v2 .daily-comparison-table th{height:48px;box-sizing:border-box;background:#f3f6fa;color:#64748b;font-size:13px;font-weight:600;letter-spacing:.02em;border-bottom:1px solid #e3e9f1}
html body.workspace-v2 .daily-comparison-table td{font-size:16px;color:#334155;height:52px;box-sizing:border-box}
html body.workspace-v2 .daily-comparison-table td:first-child{font-weight:600;color:#243752}
html body.workspace-v2 .daily-comparison-table td:first-child::before{content:'';display:inline-block;width:7px;height:7px;margin-right:12px;border-radius:50%;background:#8b9fbc;vertical-align:middle}
html body.workspace-v2 .daily-comparison-table tbody tr:nth-child(even){background:#fafbfd}
html body.workspace-v2 .daily-comparison-table :is(th,td):nth-child(3){background:#f0f8f5;color:#23745c;font-weight:600}
html body.workspace-v2 .daily-comparison-table td:nth-child(n+4){color:#7b8798;font-size:14px}
html body.workspace-v2 .daily-comparison-table tbody tr:hover{background:#f0f4fb}
html body.workspace-v2 .daily-comparison-table tbody tr:hover td:nth-child(3){background:#e7f3ee}
@media(max-width:760px){html body.workspace-v2 .daily-dashboard>.daily-performance{padding:16px}html body.workspace-v2 .daily-comparison-table :is(th,td){padding:12px}}

html body.workspace-v2 .store-performance-tools{display:flex;align-items:end;gap:14px;margin:0 0 18px;padding:16px;background:#f7f9fc;border-radius:10px}
html body.workspace-v2 #daily-orders-visible-count{margin-right:auto;align-self:center;font-size:14px;color:#52647c}
html body.workspace-v2 .store-performance-tools label{display:grid;gap:6px;font-size:12px;color:#6c7c90}
html body.workspace-v2 .store-performance-tools :is(input,select){width:190px;margin:0;background:white;font-size:14px;min-height:40px}
html body.workspace-v2 .daily-comparison-table td:nth-child(2),html body.workspace-v2 .daily-comparison-table td:nth-child(3){font-size:20px;font-weight:600;padding:12px 24px}
html body.workspace-v2 .daily-comparison-table .store-order-meter{display:block;width:100%;height:5px;border:0;border-radius:8px;overflow:hidden;margin:8px auto 0;background:#e8edf3;appearance:none}
html body.workspace-v2 .store-order-meter::-webkit-progress-bar{background:#e8edf3;border-radius:8px}
html body.workspace-v2 .store-order-meter::-webkit-progress-value{background:#92a7c5;border-radius:8px}
html body.workspace-v2 td:nth-child(3) .store-order-meter::-webkit-progress-value{background:#46967d}
html body.workspace-v2 .store-order-meter::-moz-progress-bar{background:#92a7c5}
html body.workspace-v2 td:nth-child(3) .store-order-meter::-moz-progress-bar{background:#46967d}
@media(max-width:760px){html body.workspace-v2 .store-performance-tools{flex-wrap:wrap}html body.workspace-v2 #daily-orders-visible-count{width:100%}html body.workspace-v2 .store-performance-tools label{flex:1;min-width:0}html body.workspace-v2 .store-performance-tools :is(input,select){width:100%}}
@media (max-width:760px) {
  html body.workspace-v2 .daily-comparison-table table { min-width: 460px; }
  html body.workspace-v2 .daily-comparison-table :is(th,td):first-child {
    position: sticky;
    inset-inline-start: 0;
    z-index: 1;
    width: 24%;
    padding-inline: 12px;
    background: #f3f6fa;
  }
  html body.workspace-v2 .daily-comparison-table th:first-child { z-index: 2; }
  html body.workspace-v2 .daily-comparison-table td:nth-child(2),
  html body.workspace-v2 .daily-comparison-table td:nth-child(3) { padding-inline: 10px; font-size: 17px; }
}

/* Workspace responsive foundation: keep every business page inside its content column. */
html body.workspace-v2{--studio-border:#e0e6ee;--studio-muted:#6d7e94;--studio-surface:#fff;background:#f5f7fa;color:#26384d;font-size:16px;line-height:1.6}
html body.workspace-v2 .shell{box-sizing:border-box;max-width:none;width:100%;margin:0}
html body.workspace-v2 #workspace-main,html body.workspace-v2 .wv-page{box-sizing:border-box;min-width:0;max-width:100%;width:100%}
html body.workspace-v2 .wv-page{padding:22px 0 32px}
html body.workspace-v2 .wv-page> :first-child{margin-top:0}
html body.workspace-v2 .wv-page :is(.ads-shell,.fba-shell,#team-tasks-root){box-sizing:border-box;width:100%;max-width:none;margin:0;min-width:0}
html body.workspace-v2 .wv-page :is(.card,.listing-panel,.results,.history,.team-task-card,.fba-panel,.ads-card){min-width:0;max-width:100%;border-color:var(--studio-border);border-radius:12px;box-shadow:none}
html body.workspace-v2 .wv-page h1{font-size:clamp(26px,1.8vw,32px);line-height:1.35;letter-spacing:-.4px}
html body.workspace-v2 .wv-page h2{font-size:18px;line-height:1.45}
html body.workspace-v2 .wv-page h3{font-size:16px;line-height:1.5}
html body.workspace-v2 .wv-page :is(button,input,select,textarea){font-size:15px;line-height:1.5}
html body.workspace-v2 .wv-page :is(input,select,textarea){min-width:0}
html body.workspace-v2 .wv-page :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select){min-height:40px;max-width:100%;border-radius:8px}
html body.workspace-v2 .wv-page :is(.primary,.secondary){min-height:40px;border-radius:8px;padding:9px 16px}
html body.workspace-v2 .wv-page :is(table,.ads-note,.fba-header p,.fba-toolbar p,.fba-footnote){font-size:14px}
html body.workspace-v2 .wv-page :is(th,td){font-size:14px;line-height:1.6}
html body.workspace-v2 .wv-page :is(.ads-scroll,.fba-table-wrap,.daily-comparison-table){max-width:100%;min-width:0;overscroll-behavior-x:contain;scrollbar-width:thin}
html body.workspace-v2 .topbar{height:68px;min-height:68px;border-color:var(--studio-border)}
html body.workspace-v2 .wv-sidebar button{border-radius:8px;font-size:15px;line-height:1.5;min-height:42px}
html body.workspace-v2 .wv-sidebar button[aria-current=page]{background:#2e4771;color:#fff;box-shadow:inset 3px 0 #98aaff}
html body.workspace-v2 .ads-shell{font-size:15px}
html body.workspace-v2 .ads-shell .ads-note{font-size:14px}
html body.workspace-v2 .ads-shell .ads-card{padding:20px}
html body.workspace-v2 .ads-shell .ads-actions{min-width:0}
html body.workspace-v2 .ads-shell .ads-actions select.ads-target-campaign{width:420px;max-width:100%;min-width:0}
html body.workspace-v2 .ads-shell .ads-rows small{font-size:12px}
html body.workspace-v2 .ads-shell .ads-stat>strong{font-size:clamp(24px,2vw,30px)}
html body.workspace-v2 .fba-shell{container-type:inline-size;padding:0;font-size:15px}
html body.workspace-v2 .fba-header{align-items:flex-start;margin:0 0 20px;gap:18px}
html body.workspace-v2 .fba-stores{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin-bottom:20px}
html body.workspace-v2 .fba-stores button{padding:14px;min-width:0;border:1px solid var(--studio-border);box-shadow:none}
html body.workspace-v2 .fba-stores strong{font-size:17px}
html body.workspace-v2 .fba-stores small{font-size:13px}
html body.workspace-v2 .fba-toolbar{align-items:flex-start;gap:20px;padding:20px}
html body.workspace-v2 .fba-toolbar label{flex:0 1 340px;width:340px;max-width:100%;min-width:0;margin:0}
html body.workspace-v2 .fba-toolbar input{width:100%;max-width:100%;background:white}
html body.workspace-v2 .fba-table-wrap{max-height:min(66vh,720px);overflow:auto}
html body.workspace-v2 .fba-table{min-width:1240px}
html body.workspace-v2 .fba-table th{background:#f3f6fb;color:#526985;border-bottom:1px solid var(--studio-border);font-size:14px}
html body.workspace-v2 .fba-table td{font-size:14px}
html body.workspace-v2 .fba-table .fba-group td{font-size:14px;background:#edf3f1!important;border-top-width:6px}
html body.workspace-v2 .fba-table .fba-source{font-size:12px}
html body.workspace-v2 #team-tasks-root .tt-heading small{font-size:13px;letter-spacing:.04em}
@media(min-width:761px) and (max-width:1100px){html body.workspace-v2 .wv-sidebar{width:208px;padding:20px 12px}html body.workspace-v2 .shell{padding-left:232px;padding-right:20px}}
@media(min-width:1101px){html body.workspace-v2 .shell{padding-right:24px}}
@container(max-width:850px){html body.workspace-v2 .fba-shell .fba-header,html body.workspace-v2 .fba-shell .fba-toolbar{flex-direction:column;align-items:stretch}html body.workspace-v2 .fba-shell .fba-toolbar label{flex:initial;width:100%}html body.workspace-v2 .fba-shell .fba-stores{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){html body.workspace-v2 .shell{padding-left:16px;padding-right:16px}html body.workspace-v2 .topbar{height:auto;min-height:64px;gap:10px}html body.workspace-v2 .wv-page{padding-top:16px}html body.workspace-v2 .wv-page :is(.card,.listing-panel,.team-task-card,.ads-card){padding:16px}html body.workspace-v2 .fba-toolbar label{flex:initial;width:100%}html body.workspace-v2 .fba-stores{grid-template-columns:repeat(2,minmax(0,1fr))}html body.workspace-v2 .fba-pagination{gap:10px;flex-wrap:wrap}html body.workspace-v2 .tt-form-row,html body.workspace-v2 .tt-filters{grid-template-columns:minmax(0,1fr)}html body.workspace-v2 .tt-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Shared workspace layout for production, reporting and settings pages. */
html body.workspace-v2 {
  --wv-nav-width: 228px;
  --wv-gutter: clamp(16px, 2vw, 32px);
  --studio-border: #e1e0d8;
  --wv-nav-surface: #f1efe8;
  --wv-nav-accent: #46543c;
  background: #f8f7f3;
}
html body.workspace-v2.wv-compact-navigation { --wv-nav-width: 72px; }
html body.workspace-v2 .shell {
  padding-inline: calc(var(--wv-nav-width) + var(--wv-gutter)) var(--wv-gutter);
}
html body.workspace-v2 .wv-sidebar {
  box-sizing: border-box;
  width: var(--wv-nav-width);
  padding: 16px 12px;
  background: var(--wv-nav-surface);
  border-inline-end: 1px solid var(--studio-border);
  box-shadow: none;
  scrollbar-color: #acae9e var(--wv-nav-surface);
}
html body.workspace-v2 .wv-sidebar .wv-nav-scroll { scrollbar-color: #acae9e var(--wv-nav-surface); }
html body.workspace-v2 .wv-sidebar .wv-brand { color: #262e23; }
html body.workspace-v2 .wv-sidebar .wv-brand::before { background: var(--wv-nav-accent); box-shadow: none; }
html body.workspace-v2 .wv-sidebar :is(.wv-brand small,.wv-nav-label,a) { color: #595e50; }
html body.workspace-v2 .wv-sidebar button { color: #373d32; }
html body.workspace-v2 .wv-sidebar button:hover { background: #e8e9df; color: #262e23; }
html body.workspace-v2 .wv-sidebar button[aria-current=page] {
  background: #dce4d2;
  color: #2e3c27;
  box-shadow: inset 3px 0 #6d7f60;
}
html body.workspace-v2 .wv-sidebar button[aria-current=page] span { color: inherit; }
html body.workspace-v2 .wv-sidebar .wv-nav-icon { color: #626c59; }
html body.workspace-v2 .wv-sidebar .wv-bottom { border-color: var(--studio-border); }
html body.workspace-v2 .wv-sidebar .wv-nav-toggle {
  flex-shrink: 0;
  width: 100%;
  min-height: 36px;
  padding: 4px 10px;
  color: #46543c;
  background: #e9e8de;
  text-align: center;
}
html body.workspace-v2 .wv-sidebar [data-view] {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 14px;
}
html body.workspace-v2 .wv-sidebar .wv-nav-text { display: inline; width: auto; color: inherit; font-size: inherit; }
html body.workspace-v2 .wv-sidebar .wv-nav-icon { flex: 0 0 20px; width: 20px; text-align: center; }
html body.workspace-v2 .wv-sidebar.wv-compact :is(.wv-brand,.wv-nav-label,.wv-nav-text,.wv-bottom a) { display: none; }
html body.workspace-v2 .wv-sidebar.wv-compact [data-view] { justify-content: center; }
html body.workspace-v2 .topbar { min-height: 60px; height: 60px; gap: 12px; }
html body.workspace-v2 .wv-breadcrumb { color: #51627b; font-size: 13px; min-width: 0; overflow-wrap: anywhere; }
.workspace-upgrade-link {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #cad8d0;
  border-radius: 8px;
  color: #284f40;
  background: #f3f7f4;
  white-space: nowrap;
}
body.workspace-v2 .workspace-upgrade-link { display: none; }
html body.workspace-v2 .wv-search-trigger {
  padding: 6px 12px; border: 1px solid var(--studio-border); border-radius: 8px;
  background: #fff; color: #51627b; white-space: nowrap;
}
.wv-module-search {
  width: min(520px, calc(100vw - 32px)); max-width: none; box-sizing: border-box;
  padding: 18px; border: 1px solid #dfe5ed; border-radius: 14px; color: #26384d;
}
.wv-module-search::backdrop { background: #17243999; }
.wv-search-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.wv-search-head h2 { margin: 0; font-size: 18px; }
.wv-module-search input { width: 100%; box-sizing: border-box; margin: 0 0 10px; }
html body.workspace-v2 .studio-assistant-launcher {
  position: fixed;
  z-index: 70;
  width: 48px;
  height: 48px;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #234e43;
  border-radius: 14px;
  color: #fff;
  background: #234e43;
  box-shadow: 0 2px 8px #162e2926;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: left 180ms ease-out, top 180ms ease-out, box-shadow 180ms ease-out;
}
.studio-assistant-launcher:hover { box-shadow: 0 3px 10px #162e2938; }
.studio-assistant-launcher:focus-visible { outline: 3px solid var(--pod-theme-color, #2659d6); outline-offset: 3px; }
html body.workspace-v2 .studio-assistant-launcher[data-dragging] { transition: none; cursor: grabbing; }
.studio-assistant-robot {
  position: relative;
  width: 30px;
  height: 23px;
  margin-top: 4px;
  border-radius: 10px;
  background: #f3f7ff;
  box-shadow: -5px 0 0 -2px #a8c7ff, 5px 0 0 -2px #a8c7ff;
}
.studio-assistant-robot::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 6px;
  top: -6px;
  left: 14px;
  background: #f3f7ff;
}
.studio-assistant-robot::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: -9px;
  left: 12.5px;
  border-radius: 50%;
  background: #9ff8e5;
}
.studio-assistant-robot > span {
  position: absolute;
  inset: 5px;
  border-radius: 5px;
  background: radial-gradient(circle at 32% 50%, #9ff8e5 2px, transparent 2.5px),
    radial-gradient(circle at 68% 50%, #9ff8e5 2px, transparent 2.5px), #172e61;
}
@keyframes studio-assistant-hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  html body.workspace-v2 .studio-assistant-launcher { transition: none; }
  .studio-assistant-robot { animation: none; }
}
.studio-assistant-launcher[data-working]::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 4px;
  width: 10px;
  height: 10px;
  border: 2px solid #203d82;
  border-radius: 50%;
  background: #9ff8e5;
}
html body.workspace-v2 .studio-assistant {
  inset: 3.5vh 2vw;
  margin: 0;
  width: 96vw;
  height: 93vh;
  max-width: none;
  max-height: 93vh;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--pod-theme-border, #d4e0d9);
  color: var(--pod-theme-ink, #20312c);
  background: var(--pod-theme-background, #f6f8f6);
  box-shadow: 0 24px 64px #172d2440;
}
.studio-assistant[open] {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr);
  grid-template-rows: auto minmax(0,1fr) auto;
  grid-template-areas: "tools header" "tools body" "tools composer";
}
.studio-assistant::backdrop { background: #15251e59; }
.studio-assistant-header {
  grid-area: header;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  color: var(--pod-theme-ink, #20312c);
  background: var(--pod-theme-nav, #fff);
  border-bottom: 1px solid #e1e8e3;
}
.studio-assistant-identity { display: flex; gap: 12px; align-items: center; min-width: 0; }
.studio-assistant-avatar { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--pod-theme-color, #20584d); }
.studio-assistant-avatar .studio-assistant-robot { transform: scale(.7) translateY(2px); animation: none; }
html body.workspace-v2 .studio-assistant-header h2 { margin: 0; color: var(--pod-theme-ink, #20312c); font-size: 20px; letter-spacing: -.025em; }
.studio-assistant-header p { margin: 4px 0 0; color: var(--pod-theme-muted, #52665d); font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.studio-assistant-header-actions { display: flex; align-items: center; gap: 7px; flex: none; }
html body.workspace-v2 .studio-assistant-header-actions button {
  padding: 7px 9px; border: 1px solid var(--pod-theme-border, #dce5de); border-radius: 8px; color: #28443b; background: var(--pod-theme-nav, #fff);
}
html body.workspace-v2 .studio-assistant-header-actions .wv-search-close { font-size: 20px; line-height: 1; }
.studio-assistant-header :focus-visible { outline: 2px solid var(--pod-theme-color, #20584d); outline-offset: 2px; }
.studio-assistant-tools {
  grid-area: tools;
  display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; align-items: stretch;
  padding: 14px; border-right: 1px solid #e1e8e3; background: #fbfcfb;
  min-height: 0; max-height: none; overflow: auto; overscroll-behavior: contain;
}
.studio-assistant-tools details { min-width: 0; border-top: 1px solid #e5ebe7; padding-top: 5px; }
.studio-assistant-tools details[open] { flex-basis: auto; }
.studio-assistant-tools summary { cursor: pointer; padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 650; color: var(--pod-theme-color, #34584e); }
.studio-assistant-tools summary:hover, .studio-assistant-tools details[open] > summary { background: var(--pod-theme-soft, #eaf2ec); }
.studio-assistant-workspace-tabs { display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; border-radius:10px; background:var(--pod-theme-background, #eef1ef); }
html body.workspace-v2 .studio-assistant-workspace-tabs button { min-width:0; padding:8px 5px; border:0; border-radius:7px; background:transparent; color:var(--pod-theme-muted, #52647b); font-size:12px; }
html body.workspace-v2 .studio-assistant-workspace-tabs button[aria-pressed="true"] { background: var(--pod-theme-nav, #fff); color:var(--pod-theme-color, #315ed4); box-shadow:0 1px 4px #1f35551a; }
html body.workspace-v2 .studio-assistant-tools > .studio-assistant-new { width:100%; min-height:38px; border:1px solid var(--pod-theme-border, #d8e0dc); border-radius:8px; background: var(--pod-theme-nav, #fff); color:var(--pod-theme-ink, #20312c); font-weight:650; }
.studio-assistant-body { grid-area:body; min-height:0; padding:22px 36px; overflow:auto; overscroll-behavior:contain; background: var(--pod-theme-nav, #fff); }
.studio-assistant-empty { max-width:560px; margin:clamp(26px,9dvh,92px) auto 0; padding:24px; border:0; border-radius:16px; background: var(--pod-theme-nav, #fff); text-align:center; }
.studio-assistant-welcome-icon { display:grid; place-items:center; width:56px; height:56px; margin:0 auto 18px; border-radius:16px; color:var(--pod-theme-color, #3565ee); background:var(--pod-theme-soft, #eef3ff); font-size:18px; letter-spacing:2px; }
.studio-assistant-empty h3 { margin: 0 0 7px; font-size: 22px; letter-spacing: -.035em; }
.studio-assistant-empty p { margin: 0; color: var(--pod-theme-muted, #4f6258); line-height: 1.6; }
.studio-assistant-starters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 18px; }
html body.workspace-v2 .studio-assistant-starters button { padding: 10px 12px; border: 1px solid var(--pod-theme-border, #d5e3d9); border-radius: 9px; background: var(--pod-theme-nav, #fff); color: var(--pod-theme-color, #20584d); text-align: start; overflow-wrap: anywhere; }
html body.workspace-v2 .studio-assistant-starters button:hover { background: var(--pod-theme-soft, #eaf3ed); }
.studio-assistant-messages { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.studio-assistant-messages article { box-sizing: border-box; max-width: 90%; padding: 12px 15px; border: 1px solid var(--pod-theme-border, #dfe8e1); border-radius: 4px 14px 14px; background: var(--pod-theme-nav, #fff); overflow-wrap: anywhere; }
.studio-assistant-messages article[data-speaker="你"] { align-self: flex-end; border-radius: 14px 4px 14px 14px; background: var(--pod-theme-soft, #e5f0e9); border-color: var(--pod-theme-border, #d3e4d9); }
.studio-assistant-messages article:has(.studio-assistant-message-result) { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; }
.studio-assistant-messages article strong { font-size: 12px; color: var(--pod-theme-muted, #526d60); }
.studio-assistant-messages article p { margin: 4px 0 0; white-space: pre-wrap; line-height: 1.55; }
.studio-assistant-messages .studio-assistant-pending { color: var(--pod-theme-muted, #51675c); }
.studio-assistant-messages .studio-assistant-pending::before {
  content:''; display:inline-block; width:7px; height:7px;
  margin-inline-end:7px; border-radius:50%; background:var(--pod-theme-color, #658f7c);
}
.studio-assistant-message-files { margin-top: 8px; font-size: 12px; color: var(--pod-theme-muted, #354b6a); }
.studio-assistant-message-files summary { cursor: pointer; }
.studio-assistant-message-files ul { margin: 5px 0 0; padding-inline-start: 16px; max-height: 9rem; overflow: auto; }
.studio-assistant-message-result {
  min-width: 0;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--pod-theme-border, #dbe8df);
  border-radius: 10px;
  background: var(--pod-theme-soft, #f5f8f5);
}
.studio-assistant-message-result h3 { margin: 0; color: var(--pod-theme-color, #25483a); font-size: 14px; }
.studio-assistant-message-result ul { margin: 6px 0 0; padding-inline-start: 18px; }
.studio-assistant-message-result li + li { margin-top: 3px; }
.studio-assistant-message-result > :is(button,a,details) { margin-block-start: 8px; }
.studio-assistant-message-result > details > summary { cursor: pointer; color: var(--pod-theme-color, #2c5647); }
.studio-order-audit { min-width: 0; }
.studio-order-audit-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.studio-order-audit-tools select { min-height: 34px; }
.studio-order-next { align-items: end; }
.studio-order-next label { display: grid; gap: 4px; font-size: 13px; }
.studio-order-next label input { width: 7ch; min-height: 34px; }
.studio-order-queue { display: grid; gap: 8px; margin: 10px 0 0; }
.studio-order-queue p { margin: 0; }
.studio-order-queue progress { width: 100%; height: 8px; accent-color: var(--pod-theme-color, #28604f); }
.studio-order-queue summary { cursor: pointer; color: var(--pod-theme-color, #28594e); }
.studio-order-queue > button { justify-self: start; }
.studio-order-queue ol { margin: 8px 0 0; padding: 0 0 0 22px; }
.studio-order-queue li { padding: 6px 0; border-bottom: 1px solid var(--pod-theme-border, #dce7e0); }
.studio-order-queue li span { display: block; color: var(--pod-theme-muted, #52647c); font-size: 12px; }
.studio-order-audit-table {
  overflow: auto;
  max-width: 100%;
  border: 1px solid var(--pod-theme-border, #dce7e0);
  border-radius: 6px;
  background: var(--pod-theme-nav, #fff);
}
.studio-order-audit-table table { border-collapse: collapse; text-align: left; font-size: 12px; }
.studio-order-audit-table :is(th,td) { padding: 6px 8px; border-bottom: 1px solid var(--pod-theme-border, #e4ece7); vertical-align: top; }
.studio-order-audit-table th { background: var(--pod-theme-soft, #eef4f0); white-space: nowrap; }
.studio-order-audit-table td { min-width: 90px; max-width: 260px; white-space: pre-line; overflow-wrap: anywhere; }
.studio-order-audit-table td:first-child { min-width: 0; }
.studio-order-audit-table td:nth-child(7) { min-width: 150px; }
.studio-order-audit-table td :is(input,select,button,img) { display: block; max-width: 100%; margin-top: 6px; }
.studio-order-audit-table td img { width: 112px; height: 112px; object-fit: contain; background: var(--pod-theme-background, #f4f7f5); }
.studio-order-audit-table td img[hidden] { display: none; }
.studio-order-import { width: min(460px,calc(100vw - 24px)); }
.studio-order-import form { display: grid; gap: 14px; }
.studio-order-import header,.studio-order-import footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.studio-order-import header { justify-content: space-between; }
.studio-order-import h2 { margin: 0; font-size: 18px; }
.studio-order-import label { display: grid; gap: 6px; min-width: 0; font-size: 13px; font-weight: 600; }
.studio-order-import input { min-width: 0; width: 100%; }
.studio-order-import p { margin: 0; font-size: 13px; color: var(--pod-theme-muted, #52647c); }
.studio-assistant-image-previews { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,135px),1fr)); gap: 8px; }
.studio-assistant-image-previews figure { min-width: 0; margin: 0; }
.studio-assistant-image-previews img { display: block; width: 100%; height: 140px; object-fit: contain; background: var(--pod-theme-background, #f5f8fc); border-radius: 6px; }
.studio-assistant-image-previews figcaption { margin-top: 4px; color: var(--pod-theme-muted, #4c6180); font-size: 12px; overflow-wrap: anywhere; }
.studio-assistant-order-previews { margin-top: 10px; grid-template-columns: repeat(auto-fill,minmax(min(100%,148px),1fr)); }
.studio-assistant-order-previews figure { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--pod-theme-border, #dce6f1); border-radius: 8px; background: var(--pod-theme-nav, #fff); }
.studio-assistant-order-previews figure > a { display: block; }
.studio-assistant-order-previews img { height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
.studio-assistant-order-previews figcaption { display: flex; flex: 1; flex-direction: column; gap: 6px; margin: 0; padding: 8px 10px; }
.studio-assistant-order-previews figcaption strong { color: var(--pod-theme-ink, #243652); }
.studio-assistant-order-previews .studio-assistant-download { align-self: flex-start; margin-top: auto; }
.studio-assistant-order-preview-status { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--pod-theme-background, #f5f8fc); color: var(--pod-theme-muted, #4c6180); }
.studio-assistant-order-download-status:not(:empty) { display: block; margin-top: 4px; }
.studio-assistant-comparison { max-width: 100%; overflow-x: auto; }
.studio-assistant-comparison table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.studio-assistant-comparison th, .studio-assistant-comparison td { padding: 8px 6px; border-bottom: 1px solid var(--pod-theme-border, #e1e8f3); text-align: left; }
.studio-assistant-comparison thead { color: var(--pod-theme-muted, #405674); background: var(--pod-theme-soft, #eef3fa); }
.studio-assistant-comparison small { display: block; margin-top: 3px; color: var(--pod-theme-muted, #4c6180); font-weight: normal; }
.studio-assistant-result-section { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--pod-theme-border, #dfe7f2); }
.studio-assistant-message-result .studio-assistant-task-results { list-style: none; padding: 0; }
.studio-assistant-task-results li { display: grid; gap: 4px; padding: 7px 0; }
.studio-assistant-task-results li + li { border-top: 1px solid var(--pod-theme-border, #dce6f1); }
.studio-assistant-task-results button { justify-self: start; max-width: 100%; overflow-wrap: anywhere; text-align: start; }
.studio-assistant-task-results small { color: var(--pod-theme-muted, #52647b); }
.studio-assistant-composer {
  grid-area:composer; display:grid; gap:8px; margin:0 36px 22px; padding:14px 16px max(14px,env(safe-area-inset-bottom));
  border:1px solid var(--pod-theme-border, #dfe6f0); border-radius:18px; background: var(--pod-theme-nav, #fff); box-shadow:0 8px 26px #243b5a0a;
}
.studio-assistant textarea { width: 100%; box-sizing: border-box; }
.studio-assistant-composer textarea { min-height:76px; max-height:26dvh; resize:vertical; }
html body.workspace-v2 .studio-assistant-composer textarea { padding:8px 2px; border:0; border-radius:0; background: var(--pod-theme-nav, #fff); }
html body.workspace-v2 .studio-assistant-composer textarea:focus { border-color: var(--pod-theme-hover, #4e8272); outline: 2px solid #4e827240; outline-offset: 1px; }
.studio-assistant-attachment-row:not([hidden]) { display: flex; align-items: flex-start; gap: 10px; padding: 7px 9px; border: 1px solid var(--pod-theme-border, #dbe8df); border-radius: 9px; background: var(--pod-theme-soft, #f4f8f5); }
.studio-assistant-attachment-row details { flex: 1; min-width: 0; }
.studio-assistant-attachment-row summary { cursor: pointer; }
.studio-assistant-attachment-row ul { max-height: min(90px,18dvh); margin: 4px 0 0; padding-inline-start: 18px; overflow: auto; overflow-wrap: anywhere; font-size: 12px; }
.studio-assistant-composer.is-file-drop textarea { outline: 2px dashed var(--pod-theme-color, #346a5f); outline-offset: -3px; background: var(--pod-theme-soft, #f0f7f4); }
.studio-assistant-attachment-feedback { color: var(--pod-theme-muted, #52647b); }
.studio-assistant-attachment-feedback:empty { display: none; }
.studio-assistant-composer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.studio-assistant-model-label { display:flex; align-items:center; gap:6px; margin-inline-start:auto; color:var(--pod-theme-muted, #52647b); font-size:12px; }
.studio-assistant-model { max-width:190px; padding:7px 28px 7px 9px; border:1px solid var(--pod-theme-border, #dce5de); border-radius:8px; background: var(--pod-theme-nav, #fff); color:var(--pod-theme-ink, #20312c); }
.studio-assistant-composer-actions [type="submit"] { margin-inline-start: auto; }
.studio-assistant-model-label + [type="submit"] { margin-inline-start:0; }
.studio-assistant-file-count { min-width: 0; overflow-wrap: anywhere; font-size: 12px; color: var(--pod-theme-muted, #465a79); }
.studio-assistant-files { position: relative; display: inline-flex; padding: 7px 9px; border-radius: 8px; color: var(--pod-theme-color, #2e5649); background: var(--pod-theme-soft, #ecf3ee); cursor: pointer; font-size: 13px; }
.studio-assistant-files:hover { background: var(--pod-theme-soft, #e1eee5); }
html body.workspace-v2 .studio-assistant-composer-actions [type="submit"] { min-width: 72px; background: var(--pod-theme-color, #20584d); border-color: var(--pod-theme-color, #20584d); color: #fff; }
html body.workspace-v2 .studio-assistant-composer-actions [type="submit"]:disabled { opacity: .64; }
.studio-assistant-files input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.studio-assistant-files:focus-within { outline: 2px solid var(--pod-theme-color, #315cc7); outline-offset: 2px; }
.studio-assistant-remove { font-size: 12px; }
.studio-assistant-confirm-file:not([hidden]), .studio-assistant-file-progress:not(:empty) { margin-top: 12px; }
.studio-assistant-download { display: block; margin-top: 8px; overflow-wrap: anywhere; }
.studio-assistant-research-progress progress { display: block; width: 100%; height: 10px; margin-top: 6px; accent-color: var(--pod-theme-color, #20584d); }
.studio-assistant-research-progress small { display: block; margin-top: 5px; color: var(--pod-theme-muted, #52647b); }
.studio-assistant-copy { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.studio-assistant-render-links { display: grid; gap: 8px; margin-top: 10px; min-width: 0; }
.studio-assistant-render-links textarea { box-sizing: border-box; width: 100%; max-width: 100%; resize: vertical; }
.studio-assistant-dismiss:not([hidden]) { margin: 12px 0 0 6px; }
.studio-assistant-outputs[hidden] { display: none; }
.studio-assistant-outputs summary { cursor: pointer; color: #25436f; font-weight: 650; overflow-wrap: anywhere; }
.studio-assistant-outputs > div { display: grid; gap: 8px; margin-top: 10px; }
.studio-assistant-outputs details { padding: 9px 10px; background: #f2f6fc; border-radius: 8px; }
.studio-assistant-outputs details > button { margin-top: 8px; font-size: 12px; }
.studio-assistant-output-content > h3 { margin: 8px 0; font-size: 14px; }
.studio-assistant-output-content > ul { padding-inline-start: 18px; }
.studio-assistant-examples { display: flex; flex-wrap: wrap; gap: 7px; padding: 7px 2px 4px; max-height: min(220px, 32vh); overflow-y: auto; overscroll-behavior: contain; }
.studio-assistant-shortcut-search { width: 100%; box-sizing: border-box; margin: 6px 0 2px; }
.studio-assistant-shortcut-groups { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.studio-assistant-shortcut-empty { margin: 4px 2px 6px; color: #52647b; font-size: 13px; }
html body.workspace-v2 .studio-assistant :is(.studio-assistant-examples,.studio-assistant-modules,.studio-assistant-shortcut-groups) button {
  padding: 7px 10px;
  border: 1px solid #dce6f6;
  border-radius: 8px;
  background: #edf3ff;
  color: #274575;
}
html body.workspace-v2 .studio-assistant .studio-assistant-shortcut-groups button[aria-pressed="true"] { background: #20584d; border-color: #20584d; color: white; }
.studio-assistant-examples button[hidden] { display: none; }
.studio-assistant-status { margin: 0; color: #455970; overflow-wrap: anywhere; }
.studio-assistant-status:not(:empty) { margin: 14px 0 8px; }
.studio-assistant-body > .studio-assistant-status:not(:empty), .studio-assistant-file-progress:not(:empty) {
  padding: 9px 11px; border-radius: 8px; background: #ebf2ec; color: #36594b;
}
.studio-assistant-result { background: #fff; border: 1px solid #dce6f4; border-radius: 12px; padding: 14px 16px; }
.studio-assistant-result h3 { margin: 0 0 8px; }
.studio-assistant-result ul { margin: 0; padding-inline-start: 20px; }
.studio-assistant-result li { margin: 3px 0; overflow-wrap: anywhere; }
.studio-assistant-actions:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.studio-assistant-modules nav { display: grid; gap: 12px; padding: 7px 2px 4px; }
.studio-assistant-modules nav h3 { margin: 0 0 6px; font-size: 12px; color: #50617b; }
.studio-assistant-modules nav section > div { display: flex; flex-wrap: wrap; gap: 7px; }
@media (max-width: 540px) {
  html body.workspace-v2 .studio-assistant { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); max-height: calc(100% - 16px); }
  .studio-assistant[open] { display:flex; flex-direction:column; }
  .studio-assistant-tools { order:2; max-height:28%; border-right:0; border-bottom:1px solid #e1e8e3; }
  .studio-assistant-header { order:1; }
  .studio-assistant-body { order:3; }
  .studio-assistant-composer { order:4; margin:0 10px 10px; }
  .studio-assistant-header, .studio-assistant-composer { padding-inline: 12px; }
  .studio-assistant-body { padding: 12px; }
  .studio-assistant-empty { padding: 16px; }
  .studio-assistant-identity { gap: 8px; }
  .studio-assistant-avatar { width: 34px; height: 34px; }
}
@media (max-width: 360px) {
  .studio-assistant-starters { grid-template-columns: minmax(0, 1fr); }
  .studio-assistant-header-actions { gap: 4px; }
}
@media (max-height: 620px) {
  .studio-assistant-header { padding-block: 10px; }
  .studio-assistant-tools { max-height: 25%; }
  .studio-assistant-composer { padding-block: 8px; }
  .studio-assistant-composer textarea { min-height: 48px; }
  .studio-assistant-examples { max-height: min(108px, 19dvh); }
}
@media (max-height: 400px) {
  .studio-assistant-header { padding-block: 6px; }
  .studio-assistant-tools { max-height: 64px; padding-block: 4px; }
  .studio-assistant-composer { padding-block: 6px; gap: 4px; }
  html body.workspace-v2 .studio-assistant-composer textarea { height: 40px; min-height: 40px; padding-block: 6px; }
  .studio-assistant-body { padding-block: 8px; }
}
.wv-search-results { display: grid; gap: 4px; max-height: 52dvh; overflow: auto; }
.wv-search-results button,.wv-search-close { text-align: left; padding: 8px 12px; border: 1px solid #dfe5ed; border-radius: 8px; background: #fff; color: #294766; }
.wv-search-results button:hover { background: #edf3ff; }
.wv-search-empty { margin: 0; padding: 12px; color: #52647b; }
html body.workspace-v2 .wv-page { padding-top: 20px; min-width: 0; }
html body.workspace-v2 .wv-page[data-page=settings]:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
  gap: 16px;
  max-width: 1320px;
}
html body.workspace-v2 .wv-page[data-page=settings] > :is(.wv-intro,.settings-shortcut,#admin-panel) {
  grid-column: 1 / -1;
}
html body.workspace-v2 .wv-page[data-page=settings] > .wv-intro { padding-bottom: 0; }
html body.workspace-v2 .wv-page[data-page=settings] > :is(#account-panel,#r2-accounts-panel,#admin-panel) { margin: 0; }
html body.workspace-v2 .settings-shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: clamp(16px,3vw,24px);
  border: 1px solid var(--studio-border);
  border-radius: 14px;
  background: var(--studio-surface);
  border-inline-start: 4px solid var(--studio-accent);
}
html body.workspace-v2 .settings-shortcut h2 { margin: 0 0 4px; font-size: 20px; }
html body.workspace-v2 .settings-shortcut p { margin: 0; color: var(--studio-muted); }
html body.workspace-v2 a.settings-shortcut-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
@media (max-width: 950px) {
  html body.workspace-v2 .wv-page[data-page=settings]:not([hidden]) { grid-template-columns: minmax(0,1fr); }
}
html body.workspace-v2 .wv-page[data-page=categoryTemplates] { max-width: 1360px; }
html body.workspace-v2 .wv-page .tl-shell { max-width: none; margin: 0; }
html body.workspace-v2 .dr-task-dialog {
  box-sizing: border-box;
  width: min(680px,calc(100% - 24px));
  max-height: 88dvh;
  margin: auto;
  padding: clamp(14px,3vw,24px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--studio-border);
  border-radius: 12px;
}
html body.workspace-v2 .dr-task-dialog::backdrop { background: #17243999; }
html body.workspace-v2 .dr-task-dialog .dr-review-image {
  width: 100%;
  max-height: 28dvh;
  object-fit: contain;
  background: #f3f6f4;
  border-radius: 8px;
}
@media(max-width:520px) {
  html body.workspace-v2 .dr-task-dialog .dr-grid { grid-template-columns: minmax(0,1fr); }
}
html body.workspace-v2 .wv-page :is(.ops-table-wrap,.sellfox-table-wrap,.ads-scroll,.fba-table-wrap) {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
html body.workspace-v2 :is(button,a,input,select,textarea,summary):focus-visible {
  outline: 2px solid #606d55;
  outline-offset: 3px;
}
html body.workspace-v2 .wv-sidebar :is(button,a):focus-visible { outline-offset: -2px; }
html body.workspace-v2 .wv-page .primary:not(:disabled) {
  background: var(--wv-nav-accent);
  border-color: var(--wv-nav-accent);
  color: #fff;
  box-shadow: none;
}
html body.workspace-v2 .wv-page .primary:not(:disabled):hover {
  background: #394632;
  border-color: #394632;
}
@media (max-width: 760px) {
  html body.workspace-v2 .shell { padding-inline: 14px; }
  html body.workspace-v2 #app-view > .wv-sidebar { position: relative; inset: auto; display: block; height: auto; z-index: auto; }
  html body.workspace-v2 .wv-sidebar { width: 100%; margin: 0; padding: 10px 14px; max-height: none; border-radius: 0; }
  html body.workspace-v2 .wv-sidebar .wv-brand { display: inline-block; width: auto; margin: 0 12px 0 0; }
  html body.workspace-v2 .wv-sidebar .wv-nav-toggle { width: 42px; display: inline-block; vertical-align: middle; }
  html body.workspace-v2 .wv-sidebar:not(.wv-mobile-open) :is(.wv-nav-scroll,.wv-bottom) { display: none; }
  html body.workspace-v2 .wv-sidebar .wv-nav-scroll { max-height: 55dvh; overflow: auto; margin-top: 10px; }
  html body.workspace-v2 .wv-nav-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; }
  html body.workspace-v2 .wv-sidebar [data-view] { width: 100%; min-width: 0; min-height: 44px; text-align: start; }
  html body.workspace-v2 .wv-sidebar .wv-nav-text { white-space: normal; overflow-wrap: anywhere; }
  html body.workspace-v2 .wv-sidebar .wv-nav-icon { display: inline-block; }
  html body.workspace-v2 .topbar { height: auto; min-height: 52px; flex-wrap: wrap; gap: 6px 12px; padding-block: 8px; }
  html body.workspace-v2 .op-layout, html body.workspace-v2 .op-panel { grid-template-columns: minmax(0,1fr); }
  html body.workspace-v2 .op-layout > *, html body.workspace-v2 .op-panel > * { min-width: 0; }
}

/* Home queue uses the same panel and control rhythm as the workspace. */
.wv-work-queue{grid-column:1/-1;min-width:0;padding:18px 20px;background:#fff;border:1px solid var(--studio-border);border-radius:12px}
.wv-work-queue-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.wv-work-queue-head h2{margin:0}.wv-work-queue p[role=status]{margin:8px 0;color:#586b84;font-size:14px}
.wv-work-queue-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:10px;margin-top:12px}
.wv-work-queue-items>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;padding:12px 14px;border:1px solid var(--studio-border);border-radius:8px;background:#fafbfc;overflow-wrap:anywhere}
.wv-work-queue-items strong{grid-column:1;grid-row:1;font-size:14px}
.wv-work-queue-items span{grid-column:1;grid-row:2}
.wv-work-queue-items button{grid-column:2;grid-row:1/3;white-space:nowrap}
.wv-work-queue-items span{color:#586b84;font-size:14px}
@media(max-width:600px){.wv-work-queue{padding:14px}.wv-work-queue-items>div{grid-template-columns:minmax(0,1fr) auto;gap:4px 10px}.wv-work-queue-items span{grid-column:1;grid-row:2}.wv-work-queue-items button{grid-column:2;grid-row:1/3}}
@media(max-width:420px) {
  .wv-work-queue-items > div { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .wv-work-queue-items button { grid-column: 1; grid-row: auto; justify-self: start; max-width: 100%; white-space: normal; }
}

.wv-announcement {
  grid-column: 1 / -1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 10px 14px;
  margin: 0;
  border: 1px solid #d3dfed;
  border-inline-start: 4px solid #416757;
  border-radius: 12px;
  background: #f7faf8;
  color: #202b28;
}
.wv-announcement > details { flex: 1 1 420px; min-width: 0; margin: 0; }
.wv-announcement summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  cursor: pointer;
  list-style: none;
  min-height: 32px;
}
.wv-announcement summary::-webkit-details-marker { display: none; }
.wv-announcement-meta { display: inline-flex; flex-wrap: wrap; gap: 8px; font-weight: 650; color: #245c49; }
.wv-announcement-meta time { color: #526481; font-weight: 400; }
.wv-announcement summary strong { overflow-wrap: anywhere; }
.wv-announcement-toggle { color: #245c49; font-size: .875rem; white-space: nowrap; }
.wv-announcement-toggle::after { content: ' ▾'; }
.wv-announcement details[open] .wv-announcement-toggle::after { content: ' ▴'; }
.wv-announcement > details[open] { flex-basis: 100%; }
.wv-announcement p { margin: 4px 0 0; }
.wv-announcement-updates { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:10px 24px;list-style:none;padding:0;margin:12px 0; }
.wv-announcement-updates li { display:grid;gap:4px;min-width:0; }
.wv-announcement-updates span { color:#526481;font-size:.875rem;line-height:1.6; }
.wv-announcement-action { color: #526481; font-size: .875rem; }
.wv-announcement-links { display: flex; flex-wrap: wrap; gap: 8px; }
.wv-announcement-links a {
  white-space: nowrap;
  padding: 4px 8px;
  border: 1px solid #ccd9ec;
  border-radius: 8px;
  background: white;
  color: #245c49;
  text-decoration: none;
}
@media(max-width:520px) {
  .wv-announcement summary strong { flex-basis: 100%; order: 1; }
  .wv-announcement-links a { font-size: .8rem; }
}
.wv-announcement-links a:hover,
.wv-announcement-links a:focus-visible { border-color: #416757; text-decoration: underline; }

#image-library-panel #library-message:not(:empty) {
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin: 12px 0;
  padding: 10px 14px;
  border-inline-start: 3px solid #416757;
  border-radius: 6px;
  background: #f3f7f4;
  color: #253a30;
}

html body.workspace-v2 #image-library-panel .library-query {
  align-items: end;
  border-block-end: 1px solid var(--line, #d9dfeb);
}

html body.workspace-v2 #image-library-panel .library-filter-search {
  flex: 1 1 240px;
}

html body.workspace-v2 #image-library-panel .library-filter-search input {
  width: 100%;
  min-width: 0;
}

html body.workspace-v2 #image-library-panel .library-selection {
  padding: 10px 0 0;
}

#image-library-panel .library-sold-filter:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 12px;
  border: 1px solid #d7e1da;
  border-radius: 8px;
  cursor: pointer;
}
#image-library-panel .library-sold-filter input { width: auto; margin: 0; }
#image-library-panel .library-sold-filter:has(input:checked) {
  background: #edf5ef;
  border-color: #a4bbab;
  color: #28553b;
}
#image-library-panel .library-ratio-filters button { min-height: 36px; }
#image-library-panel .library-sale-positive { color: #215c40; font-weight: 650; }
html body.workspace-v2 #image-library-panel .library-card > img {
  width: 100%;
  height: auto;
  max-height: 240px;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}
@media(max-width:520px) {
  html body.workspace-v2 #image-library-panel .library-card { padding: 8px; }
  html body.workspace-v2 #image-library-panel .library-card :is(button,a) { white-space: normal; overflow-wrap: anywhere; }
}

html body #image-library-panel .library-range {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,180px)) auto minmax(0,1fr);
  align-items: end;
  gap: 8px 12px;
  margin-block: 12px;
  padding: 12px;
  border: 1px solid var(--studio-border, #dce2ed);
  border-radius: 10px;
  background: #f8faf9;
}
html body #image-library-panel .library-range .library-filter-field { min-width: 0; }
html body #image-library-panel .library-range small { overflow-wrap: anywhere; align-self: center; }
@media (max-width: 800px) {
  html body #image-library-panel .library-range { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html body #image-library-panel .library-range small { grid-column: 1/-1; }
  html body #image-library-panel .library-range button { grid-column: 1/-1; justify-self: start; }
  html body #image-library-panel .library-query .library-view-switch { flex: 1 1 100%; order: -1; }
  html body #image-library-panel .library-view-switch button { flex: 1 1 0; min-width: 0; }
}

#order-print-root .op-head {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px 14px;
}

#order-print-root .op-head h2 { margin: 0; }
#order-print-root .op-contour-source {
  min-width: 0;
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid #dce5df;
  border-radius: 10px;
  background: #f4f7f5;
}
#order-print-root .op-contour-source legend { padding-inline: 4px; font-weight: 600; }
#order-print-root .op-contour-source p { margin: 6px 0 0; }
#order-print-root .op-contour-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
#order-print-root .op-contour-controls select { flex: 1 1 220px; min-width: 0; max-width: 100%; }
#order-print-root .op-head button { margin-inline-start: auto; }
#order-print-root .op-results {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
}

#order-print-root .op-card img {
  height: clamp(160px, 20vw, 250px);
  background: #f4f7f5;
}
#order-print-root .op-preview-error {
  margin: 0;
  padding: 14px;
  background: #f4f7f5;
  color: #52665b;
  overflow-wrap: anywhere;
}

#order-print-root .op-card a {
  background: #edf4ef;
  color: #245c49;
  text-decoration: none;
}

#order-print-root .op-card a:hover,
#order-print-root .op-card a:focus-visible { text-decoration: underline; }

.workspace-v2 #order-print-root .op-actions,
.workspace-v2 .contour-shell .contour-tools {
  align-items: center;
  gap: 10px;
}

.workspace-v2 #order-print-root .op-output,
.workspace-v2 .contour-shell .contour-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 12px;
}

.workspace-v2 #order-print-root .op-status,
.workspace-v2 .contour-shell .contour-status {
  padding: 10px 12px;
  background: #f1f5fb;
  color: #203957;
  border-radius: 8px;
  overflow-wrap: anywhere;
}

.workspace-v2 #order-print-root .op-status:empty,
.workspace-v2 .contour-shell .contour-status:empty {
  display: none;
}

.workspace-v2 .contour-shell .contour-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

html body.workspace-v2 .wv-page :is(.contour-shell,.tl-shell,#image-selector-panel,#r2-accounts-panel) {
  width: 100%;
  min-width: 0;
}

html body.workspace-v2 .wv-page :is(.contour-head,.tl-head,.contour-tools,.contour-downloads,.contour-zoom-toolbar,.tl-stage-tools) {
  flex-wrap: wrap;
  gap: 10px;
}

html body.workspace-v2 .wv-page :is(.contour-preview-grid,.contour-zoom-panels,.tl-layout) > * {
  min-width: 0;
}

html body.workspace-v2 #image-selector-form {
  max-width: 100%;
  min-width: 0;
}

html body.workspace-v2 .wv-page[data-page=settings] > :is(.card,.listing-panel,details) {
  width: 100%;
  overflow-wrap: anywhere;
}
html body.workspace-v2 #account-panel .password-form {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,205px),1fr));
  align-items: end;
  gap: 12px;
}
html body.workspace-v2 #account-panel .password-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}
html body.workspace-v2 #account-panel .password-form input { width: 100%; min-width: 0; margin: 0; }
html body.workspace-v2 #account-panel .password-form button { justify-self: start; }
html body.workspace-v2 #password-message:empty { display: none; }
html body.workspace-v2 #admin-panel .admin-grid > div {
  min-width: 0;
  padding: clamp(12px,2vw,20px);
  border: 1px solid var(--studio-border);
  border-radius: 10px;
  overflow-wrap: anywhere;
}
html body.workspace-v2 #admin-panel :is(#create-user-form,#template-import-form) {
  display: grid;
  gap: 8px;
}
html body.workspace-v2 #admin-panel :is(#create-user-form,#template-import-form) :is(input,select) {
  width: 100%;
  min-width: 0;
  margin: 0;
}
html body.workspace-v2 #admin-panel :is(#create-user-form,#template-import-form) button { justify-self: start; }

@media (max-width: 760px) {
  html body.workspace-v2 .wv-page :is(.contour-layout,.contour-preview-grid,.contour-zoom-panels,.tl-layout) {
    grid-template-columns: minmax(0, 1fr);
  }

  html body.workspace-v2 .wv-page :is(.contour-card,.tl-card,#image-selector-panel,#r2-accounts-panel) {
    padding: 14px;
  }
}

#upload-links-panel .upload-links-layout {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}
#upload-links-panel .upload-links-card {
  min-width: 0;
  padding: clamp(14px, 2vw, 24px);
  background: #fff;
  border: 1px solid var(--studio-border, #dce2ed);
  border-radius: 12px;
}
#upload-links-panel .upload-links-card h2 { margin: 0 0 18px; font-size: 17px; }
#upload-links-form { display: grid; gap: 12px; }
#upload-links-panel .upload-links-file-box {
  display: grid;
  min-width: 0;
  gap: 8px;
  padding: 14px;
  background: #f4f7f2;
  border: 1px dashed #aabca7;
  border-radius: 9px;
}
#upload-links-panel :is(input[type=file], select, textarea) {
  width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
#upload-links-panel :is(.upload-links-note, #upload-links-limit) {
  margin: 0;
  color: #51635a;
  font-size: 12px;
}
#upload-links-panel .upload-links-toolbar { display: grid; gap: 10px; }
#upload-links-panel .upload-links-batch-field { display: grid; gap: 6px; min-width: 0; max-width: 390px; }
#upload-links-panel .upload-links-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#upload-links-panel #upload-links-message {
  margin: 14px 0 0;
  padding: 9px 12px;
  border-radius: 7px;
  background: #eef3ed;
  color: #354a3c;
  overflow-wrap: anywhere;
}
#upload-links-panel #upload-links-message:empty,
#upload-links-panel [hidden] { display: none; }
#upload-links-panel #upload-links-output { margin-top: 10px; }
#upload-links-results { min-width: 0; margin-block: 14px; color: #51635a; }
#upload-links-results .upload-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 14px;
  padding: 12px;
  border-bottom: 1px solid #e5ebe3;
}
#upload-links-results .upload-link-row:nth-child(odd) { background: #f5f7f4; }
#upload-links-results .upload-link-row span { overflow-wrap: anywhere; color: #26382e; }
#upload-links-results .upload-link-row a {
  grid-column: 1;
  grid-row: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #245c49;
}
#upload-links-results .upload-link-row button { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 1050px) {
  #upload-links-panel .upload-links-layout { grid-template-columns: minmax(0, 1fr); }
}

.sku-org-table {
  border: 1px solid var(--line, #d9dfeb);
  border-radius: 8px;
  overscroll-behavior: contain;
}

.sku-org-table :is(th,td):first-child {
  position: sticky;
  inset-inline-start: 0;
  background: #fff;
}

.sku-org-table th:first-child {
  z-index: 1;
  background: #edf1f7;
}

html body.workspace-v2 .wv-page[data-page=assets] .section-head {
  flex-wrap: wrap;
  gap: 10px 16px;
}

@media (max-width: 760px) {
  html body.workspace-v2 #listing-profiles { padding: 14px; }
  html body.workspace-v2 #listing-profiles :is(input,select,textarea) { max-width: 100%; }
  #upload-links-results .upload-link-row { padding: 10px; }
  .sku-org-table :is(th,td):first-child { position: static; }
}

html body.workspace-v2 .studio-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 16px;
}

html body.workspace-v2 .studio-shortcut {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

html body.workspace-v2 .studio-shortcut p { flex: 1; }
html body.workspace-v2 .product-workflow {
  list-style: none;
  margin: 0;
  padding: 0;
}
html body.workspace-v2 .product-workflow h2 { margin: 0; }
html body.workspace-v2 .product-workflow-actions { display: flex; flex-wrap: wrap; gap: 8px; }
html body.workspace-v2 .wv-intro .wv-kicker:empty { display: none; }

html body.workspace-v2 .wv-page :is(.ops-table-wrap,.sellfox-table-wrap,.ads-scroll,.fba-table-wrap) {
  overflow-x: auto;
  max-width: 100%;
}

html body.workspace-v2 .wv-page :is(.ads-filters,.fba-toolbar,.listing-mode-toolbar) {
  gap: 10px 16px;
  flex-wrap: wrap;
  align-items: end;
}

html body.workspace-v2 .wv-page :is(.ads-filters,.fba-toolbar,.listing-mode-toolbar) > * {
  min-width: 0;
  max-width: 100%;
}

html body.workspace-v2 .wv-page :is(.ads-scroll,.fba-table-wrap,.sellfox-table-wrap) th {
  font-weight: 600;
  text-align: start;
}

html body.workspace-v2 .wv-page :is(.ads-scroll,.fba-table-wrap,.sellfox-table-wrap) tbody tr:hover td {
  background-color: #f1f5fb;
}

html body.workspace-v2 .wv-page :is(.ads-scroll,.fba-table-wrap) {
  border: 1px solid var(--studio-border);
  border-radius: 10px;
  background: #fff;
}
html body.workspace-v2 .wv-page :is(.ads-scroll,.fba-table-wrap):focus-visible {
  outline: 2px solid var(--wv-nav-accent);
  outline-offset: 2px;
}
html body.workspace-v2 .wv-page .ads-scroll th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f3f5f2;
}

html body.workspace-v2 .wv-page :is(.ads-message,#fba-status):empty {
  display: none;
}

html body.workspace-v2 #team-task-create > summary {
  cursor: pointer;
  color: #283c32;
  font-size: 1.05rem;
  font-weight: 650;
}
html body.workspace-v2 #team-task-create[open] > summary {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--studio-border);
}
html body.workspace-v2 #team-tasks-root .team-task-head {
  flex-wrap: wrap;
  align-items: flex-start;
}
html body.workspace-v2 #team-tasks-root .tt-heading { min-width: 0; }
html body.workspace-v2 #team-tasks-root .tt-weekly-row { flex-wrap: wrap; }
html body.workspace-v2 #team-tasks-root :is(.tt-description,.tt-note,.tt-details) {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  html body.workspace-v2 #team-tasks-root .tt-filters input { flex-basis: 100%; }
  html body.workspace-v2 #team-tasks-root .tt-filters select { flex: 1 1 130px; }
  html body.workspace-v2 .wv-page :is(.tt-filters,.fba-toolbar,.ads-toolbar,.actionrow) {
    flex-wrap: wrap;
    gap: 8px;
  }

  html body.workspace-v2 .wv-page :is(.tt-filters,.fba-toolbar,.ads-toolbar,.actionrow) > * {
    max-width: 100%;
    min-width: 0;
  }
}

/* Only expose the finished workbook in the combined generation workflow. */
#listing-form:has(#listing-copy-choice option[value="generate"]:checked) #profile-trial-download:not(.listing-final-download) { display: none !important; }
.wv-production-shortcuts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.wv-recent-production {
  margin-bottom: 16px;
}
.daily-dashboard > :is(.wv-production-shortcuts,.wv-recent-production) {
  grid-column: 1/-1;
  margin-block: 0;
}
html body.workspace-v2 .daily-dashboard { gap: 16px; }
html body.workspace-v2 .daily-dashboard > .daily-hero {
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-block: 4px;
}
html body.workspace-v2 .daily-dashboard .daily-hero h1 { margin: 0 0 4px; }
html body.workspace-v2 .daily-dashboard .daily-hero p { margin: 0; }
html body.workspace-v2 .daily-dashboard #daily-orders-refresh { background: #46543c; border-color: #46543c; }
html body.workspace-v2 .daily-dashboard > .wv-production-shortcuts {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--studio-border);
}
html body.workspace-v2 .daily-dashboard > #daily-orders-status {
  margin: 0;
  padding: 8px 12px;
  background: #f0f3ee;
  border-color: #dee5d9;
}
html body.workspace-v2 .daily-dashboard > #daily-orders-status:empty { display: none; }
.wv-home-production {
  grid-column: span 5;
  min-width: 0;
  align-self: start;
  border: 1px solid var(--studio-border);
  border-radius: 10px;
  background: #fff;
  padding: 16px 18px;
}
.wv-home-production > h2 { margin: 0; font-size: 17px; }
.wv-home-production-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
}
html body.workspace-v2 .wv-home-production-grid > :is(.wv-work-queue,.wv-recent-production) {
  grid-column: auto;
  min-width: 0;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--studio-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.wv-home-production-grid > :last-child { border-bottom: 0; }
.wv-home-production-grid .wv-work-queue-head h2 { font-size: 14px; }
.wv-home-production-grid .wv-work-queue-head button { min-height: 32px; padding-block: 4px; }
.wv-home-production-grid .wv-production-shortcuts { margin-bottom: 4px; }
.wv-home-production-grid [role="status"]:empty { display: none; }
.wv-home-production-grid .wv-work-queue-items { grid-template-columns: minmax(0,1fr); }
.wv-home-production-grid .history-list > :first-child { overflow-wrap: anywhere; }
html body.workspace-v2 .daily-dashboard > .daily-performance {
  grid-column: span 7;
  align-self: start;
  padding: 17px 20px;
  margin: 0;
  border: 1px solid var(--studio-border);
  border-radius: 12px;
  background: #fff;
}
html body.workspace-v2 .daily-dashboard > .daily-leaderboard {
  grid-column: span 4;
  grid-template-columns: minmax(0,1fr);
  margin: 0;
  padding: 17px 20px;
  border: 1px solid var(--studio-border);
  border-radius: 12px;
  background: #f4f7f2;
}
html body.workspace-v2 .daily-dashboard > .wv-recent-production { grid-column: span 8; }
html body.workspace-v2 .daily-dashboard .daily-rank-grid {
  grid-template-columns: minmax(0,1fr);
  gap: 6px;
}
html body.workspace-v2 .daily-dashboard .daily-rank-card {
  justify-content: flex-start;
  gap: 14px;
  min-height: 0;
  padding: 9px 11px;
  border-color: #e0e8df;
  border-radius: 8px;
}
html body.workspace-v2 .daily-dashboard .daily-rank-card span { color: #486050; }
html body.workspace-v2 .daily-dashboard .daily-rank-card strong { font-size: 16px; }
html body.workspace-v2 .daily-dashboard .daily-performance .daily-section-title { margin-bottom: 9px; }
html body.workspace-v2 .daily-dashboard .daily-kpi { gap: 4px; padding: 12px 18px; }
html body.workspace-v2 .daily-dashboard .daily-kpi > strong { font-size: clamp(25px,2.6vw,32px); }
html body.workspace-v2 .daily-dashboard .store-performance-tools { margin: 0 0 6px; gap: 8px 12px; padding: 5px 9px; }
html body.workspace-v2 .daily-dashboard .store-performance-tools label { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
html body.workspace-v2 .daily-dashboard .store-performance-tools :is(input,select) { min-height: 30px; padding-block: 3px; }
html body.workspace-v2 .daily-dashboard .store-performance-tools input { width: 9ch; }
.daily-order-chart { color: #4a5e57; font-size: 13px; }
.daily-order-chart:empty { display: none; }
.daily-order-chart.is-expanded { max-height:min(48dvh,360px); overflow-y:auto; overscroll-behavior-y:contain; scrollbar-gutter:stable; }
#daily-orders-chart-toggle { min-height:34px; margin:0; }
#daily-orders-clear-store { min-height:34px; margin:0; }
.daily-order-chart.is-expanded:focus-visible { outline:2px solid #5e8770; outline-offset:2px; border-radius:4px; }
.daily-chart-row {
  display: grid;
  grid-template-columns: minmax(3.5rem,auto) minmax(0,1fr);
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  border-top: 1px solid #e8ede8;
}
.daily-chart-row > strong { color: #263b33; }
html body.workspace-v2 button.daily-chart-row {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-top: 1px solid #e8ede8;
  border-radius: 0;
  padding: 5px 4px;
  text-align: left;
  background: transparent;
}
html body.workspace-v2 button.daily-chart-row:hover { background: #f2f7f4; }
html body.workspace-v2 button.daily-chart-row:focus-visible { outline-offset: -2px; }
.daily-chart-series { display: grid; gap: 3px; }
.daily-chart-line {
  display: grid;
  grid-template-columns: 2rem minmax(0,1fr) minmax(2rem,auto);
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 11px;
  line-height: 1.15;
}
.daily-chart-line strong { text-align: right; font-size: 12px; }
.daily-chart-line progress {
  grid-column: 2;
  appearance: none;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 9px;
  overflow: hidden;
  background: #eef1ee;
  color: var(--chart-color);
}
.daily-chart-line.yesterday { --chart-color: #8195a7; }
.daily-chart-line.today { --chart-color: #28745f; }
.daily-chart-line progress::-webkit-progress-bar { background: #eef1ee; }
.daily-chart-line progress::-webkit-progress-value { background: var(--chart-color); }
.daily-chart-line progress::-moz-progress-bar { background: var(--chart-color); }
html body.workspace-v2 .daily-dashboard .daily-performance .daily-detail {
  margin: 8px 0 0;
  padding: 8px 0 0;
  border: 0;
  border-top: 1px solid #e8ede8;
  background: transparent;
}
html body.workspace-v2 .daily-dashboard .daily-performance .daily-detail summary { padding: 4px 0; }
.daily-trend-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.daily-order-trend [role="status"] { font-size: 12px; color: #52647c; margin: 6px 0 10px; }
.daily-trend-chart:not(:empty) { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; margin: 8px 0 14px; }
.daily-trend-chart > div { display: grid; grid-template-rows: auto 52px auto; text-align: center; gap: 4px; font-size: 11px; }
.daily-trend-chart strong { font-size: 12px; overflow-wrap: anywhere; }
.daily-trend-bar { align-self: end; justify-self: center; width: min(72%,30px); height: calc(52px * var(--trend-ratio)); background: #3c7665; border-radius: 3px 3px 0 0; }
html body.workspace-v2 .daily-dashboard .daily-comparison-table { max-height: 330px; }
.daily-listing-details {
  grid-column: 1/-1;
  padding: 13px 16px;
  border: 1px solid var(--studio-border);
  border-radius: 10px;
  background: #fff;
}
.daily-listing-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.daily-listing-grid > .daily-new-listings { min-width: 0; margin: 12px 0 0; }
.wv-home-production-grid .wv-work-queue-items { gap: 6px; margin-top: 6px; }
.wv-home-production-grid .wv-work-queue-items > div { padding: 6px 8px; gap: 3px 8px; }
.wv-home-production-grid .wv-work-queue-items span { font-size: 12px; }
.wv-queue-more summary { margin-top: 7px; cursor: pointer; color: #28594e; font-size: 13px; }
.wv-home-production-grid .fulfillment-toolbar label { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
@media(max-width:980px) {
  html body.workspace-v2 .daily-dashboard > :is(.wv-home-production,.daily-performance,.wv-recent-production,.daily-leaderboard) { grid-column: 1/-1; }
  html body.workspace-v2 .daily-dashboard .daily-rank-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:600px) {
  .daily-listing-grid { grid-template-columns: minmax(0,1fr); }
  html body.workspace-v2 .daily-dashboard .daily-rank-card { flex-wrap: wrap; gap: 4px 8px; }
  html body.workspace-v2 .daily-dashboard .store-performance-tools :is(input,select) { min-width: 0; width: 100%; }
  html body.workspace-v2 .daily-dashboard .store-performance-tools label { flex: 1 1 105px; }
}
@media(max-width:760px) {
  html body.workspace-v2 .daily-dashboard { gap: 12px; }
  html body.workspace-v2 .daily-dashboard > .daily-kpis { gap: 8px; }
  html body.workspace-v2 .daily-dashboard .daily-kpi { padding: 12px; }
}
.wv-recent-production .history-item > span,
#rust-assets-list .history-item > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.wv-batch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.wv-batch-actions .smallnote:empty {
  display: none;
}
.wv-batch-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.wv-batch-label small { flex-basis: 100%; color: #5b6d64; }
.wv-batch-status {
  padding: 2px 8px;
  border-radius: 999px;
  background: #edf1f5;
  color: #40536c;
  font-size: .78rem;
}
.wv-batch-status[data-status="completed"] { background: #e7f2eb; color: #26563b; }
.wv-batch-status:is([data-status="failed"],[data-status="interrupted"]) { background: #fff0e6; color: #874814; }
html body.workspace-v2 .wv-assets-tools {
  display:flex;
  align-items:end;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:14px;
}
.wv-assets-sources { display:flex; flex-wrap:wrap; gap:4px; padding:4px; background:#e9ede6; border-radius:10px; }
.wv-assets-sources button { background:transparent; color:#405346; border:1px solid transparent; border-radius:7px; padding:8px 12px; cursor:pointer; }
.wv-assets-sources button[aria-pressed=true] { background:#fff; color:#244a35; border-color:#d3dfd3; font-weight:650; }
.wv-assets-tools label { display:grid; gap:4px; flex:1 1 220px; max-width:360px; min-width:0; font-size:13px; color:#53685b; }
.wv-assets-tools input { width:100%; min-width:0; margin:0; }
.wv-assets-tools .wv-assets-status-filter { flex:0 1 132px; }
.wv-assets-tools .wv-assets-status { width:100%; min-width:0; margin:0; }
html body.workspace-v2 .wv-page[data-page=assets] .wv-assets-panel { margin:0; padding:14px; }
.wv-assets-panel .history-list:has(.history-item) { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,335px),1fr)); gap:8px; }
.wv-assets-panel .history-list:not(:has(.history-item)) { color:#53685b; padding:18px 4px; }
html body.workspace-v2 .wv-assets-panel .history-item {
  display:flex;
  min-width:0;
  align-items:center;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:8px;
  padding:10px 12px;
  border:1px solid #e0e7df;
  border-radius:8px;
  background:#f9faf8;
}
.wv-assets-panel .history-item .wv-batch-label { flex:1 1 160px; }
html body.workspace-v2 .wv-assets-panel .history-item button {
  padding:5px 8px;
  border:1px solid #d5dfd4;
  border-radius:6px;
  background:#fff;
  color:#284c37;
}
.wv-assets-panel .history-item button:hover { background:#edf4ed; }
.wv-assets-panel .history-item .wv-batch-actions { justify-content:flex-start; }
.wv-batch-public-links {
  flex: 0 1 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-top: 1px solid var(--studio-border);
  padding-top: 6px;
}
.wv-batch-public-links summary { cursor: pointer; color: #234e43; font-size: 13px; font-weight: 650; }
.wv-batch-public-links [role="status"] { margin: 6px 0; color: #52647c; font-size: 13px; }
.wv-assets-footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; margin-top:10px; font-size:13px; color:#54685a; }
.wv-page[data-page=assets] [hidden] { display:none!important; }
@media(max-width:600px) {
  .wv-assets-sources { flex:1 1 100%; }
  .wv-assets-sources button { flex:1 1 120px; }
  .wv-assets-tools label { flex-basis:150px; }
}
@media(max-width:760px) {
  :is(#rust-assets-list,#history-list) .history-item { flex-wrap: wrap; }
  #rust-assets-list .history-item { flex-direction: row; }
  #rust-assets-list .wv-batch-actions { justify-content: flex-start; }
}

/* Listing workspace */
#listing-panel .listing-page-intro { display: none; }
html body.workspace-v2 [data-page=listing] > #listing-panel {
  padding: 0;
  border: 0;
  background: transparent;
}
html body.workspace-v2 [data-page=listing] #listing-panel > summary { display: none; }
html body.workspace-v2 [data-page=listing] #listing-panel .listing-page-intro { display: block; }

/* Workspace chrome shared by every module. */
html body.workspace-v2 #app-view > .wv-sidebar {
  --wv-nav-surface: #182f2a;
  --wv-nav-text: #f0f5f2;
  --wv-nav-muted: #bbcfc5;
  background: var(--wv-nav-surface);
  border-color: #263e36;
  color: var(--wv-nav-text);
}
html body.workspace-v2 .wv-sidebar :is(.wv-brand,[data-view]) { color: var(--wv-nav-text); }
html body.workspace-v2 .wv-sidebar :is(.wv-brand small,.wv-nav-label,.wv-nav-icon,a) { color: var(--wv-nav-muted); }
html body.workspace-v2 .wv-sidebar .wv-brand::before { background: #437660; color: #fff; }
html body.workspace-v2 .wv-sidebar .wv-bottom { border-color: #456055; }
html body.workspace-v2 .wv-sidebar .wv-nav-toggle { background: #2c483f; color: var(--wv-nav-text); }
html body.workspace-v2 .wv-sidebar button:hover { background: #35564a; color: #fff; }
html body.workspace-v2 .wv-sidebar button[aria-current=page] {
  background: #d9eee3;
  color: #15392e;
  box-shadow: inset 3px 0 #76a891;
}
html body.workspace-v2 .wv-sidebar :is(button,a):focus-visible { outline-color: #addec5; }
html body.workspace-v2 .wv-sidebar button[aria-current=page]:focus-visible { outline-color: #315f49; }
@media (max-width: 760px) {
  html body.workspace-v2 .wv-sidebar .wv-nav-toggle { float: inline-end; }
  html body.workspace-v2 .wv-sidebar .wv-nav-scroll { clear: both; }
  html body.workspace-v2 .wv-sidebar .wv-nav-group { gap: 4px 6px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid #456055; }
  html body.workspace-v2 .wv-sidebar .wv-nav-label { display: block; grid-column: 1 / -1; margin: 3px 8px; }
  html body.workspace-v2 .wv-sidebar .wv-bottom a { display: inline-flex; align-items: center; }
}
html body.workspace-v2 .wv-search-trigger {
  min-height: 36px;
  background: #fff;
  color: #25483a;
  border-color: #9eb7aa;
  font-weight: 650;
}
html body.workspace-v2 .wv-search-trigger:hover { background: #e8f1eb; }
html body.workspace-v2 .wv-search-trigger { display: inline-flex; align-items: center; gap: 10px; }
html body.workspace-v2 .wv-search-trigger kbd {
  padding: 1px 5px;
  border: 1px solid #b9cdc0;
  border-radius: 4px;
  font-size: 11px;
  color: #365a49;
}
html body.workspace-v2 .wv-search-results button { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
html body.workspace-v2 .wv-search-results button small { color: #52645b; text-align: end; }
@media (max-width: 760px) {
  html body.workspace-v2 .wv-search-trigger kbd { display: none; }
}
html body.workspace-v2 .wv-skip-link {
  position: fixed;
  inset: 8px auto auto 8px;
  transform: translateY(calc(-100% - 12px));
  z-index: 1000;
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff;
  color: #15392e;
}
html body.workspace-v2 .wv-skip-link:focus { transform: none; }
html body.workspace-v2 .wv-page .wv-intro { border-bottom: 1px solid var(--studio-border); margin-bottom: 16px; }
html body.workspace-v2 .wv-page[data-page=settings] > .wv-intro { padding-bottom: 12px; margin-bottom: 0; }
html body.workspace-v2 [data-page=insights] .sellfox-filters {
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--studio-border);
  border-radius: 10px;
  background: #f2f6f3;
}
html body.workspace-v2 [data-page=insights] #sellfox-status {
  margin: 0 0 10px;
  color: var(--studio-muted);
}
html body.workspace-v2 [data-page=insights] .sellfox-table-wrap {
  margin-top: 12px;
  max-height: min(58vh,620px);
  border: 1px solid var(--studio-border);
  border-radius: 10px;
}
html body.workspace-v2 [data-page=insights] .sellfox-table th { position: sticky; top: 0; }
@media (max-width: 520px) {
  html body.workspace-v2 [data-page=insights] .sellfox-pagination { justify-content: space-between; gap: 4px; }
}
html body.workspace-v2 .fulfillment-list-return { display: none; }
html body.workspace-v2 .fulfillment-stages { gap: 6px; margin: 12px 0 16px; }
html body.workspace-v2 .fulfillment-stages button { gap: 4px; padding: 8px 10px; }
html body.workspace-v2 .fulfillment-stages button[aria-pressed=true] { background: #25483a; border-color: #25483a; }
@media (max-width: 760px) {
  html body.workspace-v2 .fulfillment-list-return { display: inline-flex; align-items: center; }
  html body.workspace-v2 .fulfillment-panel .fulfillment-toolbar label { flex: 1 1 120px; min-width: 0; }
  html body.workspace-v2 .fulfillment-panel .fulfillment-toolbar select { width: 100%; min-width: 0; }
  html body.workspace-v2 .fulfillment-panel .fulfillment-workspace { gap: 10px; }
}
html body #listing-form > .listing-purpose {
  max-width: none;
  display: grid;
  grid-template-columns: max-content minmax(0, 300px);
  align-items: center;
  gap: 10px 20px;
  padding: 14px clamp(14px, 2vw, 24px);
  border: 1px solid #dce6df;
  border-radius: 12px;
  background: #eef3ed;
}
html body #listing-form .listing-setup { align-items: stretch; gap: 16px; padding-top: 0; }
html body #listing-form .listing-setup > .listing-flow-section {
  padding: clamp(14px, 2vw, 24px);
  border-radius: 12px;
  background: #fff;
}
html body #listing-form .listing-setup > .listing-flow-section > h3 {
  padding-bottom: 10px;
  border-bottom: 1px solid #e5ebe4;
  font-size: 17px;
}
html body #listing-form :is(#listing-source-step,#listing-sku-step) .listing-aligned-row { gap: 16px; }
html body #listing-form #listing-sku-step .listing-aligned-row {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
html body #listing-form .listing-setup > .actionrow {
  margin: 0;
  padding: 14px;
  border: 1px solid #dce6df;
  border-radius: 12px;
  background: #eef3ed;
}
@media (min-width: 1120px) {
  html body #listing-form #listing-source-step { grid-column: 1; }
  html body #listing-form #listing-sku-step { grid-column: 2; }
  html body #listing-form :is(#listing-source-step,#listing-sku-step) .listing-aligned-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  html body #listing-form #listing-sku-step .listing-aligned-row { grid-template-columns: minmax(0, 1fr); }
}
.wv-fulfillment-home-header { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:12px; }
.wv-fulfillment-home-header h2 { margin:0; }
.wv-fulfillment-home-store { display:flex; align-items:center; gap:8px; }
.wv-fulfillment-home-store select { margin:0; min-width:88px; }
.wv-fulfillment-back { margin-bottom:12px; }
.wv-identifier-copy { display:inline-flex; gap:6px; align-items:center; flex-wrap:wrap; min-width:0; }
.wv-identifier-copy input { width:min(100%,250px); min-width:0; margin:0; }
.wv-identifier-copy input[hidden] { display:none; }
.wv-identifier-copy button { white-space:nowrap; }
.wv-asset-note { flex:1 0 100%; min-width:0; max-width:100%; box-sizing:border-box; color:#365448; }
.wv-asset-note summary { cursor:pointer; overflow-wrap:anywhere; }
.wv-asset-note input { box-sizing:border-box; width:min(100%,240px); min-width:0; margin:6px 6px 0 0; }
.wv-asset-note button { margin:6px 6px 0 0; }
.wv-assets-retention { margin:4px 0 10px; }
@media(max-width:760px) {
  .wv-assets-panel .wv-asset-note { flex:0 1 auto; width:100%; }
  .wv-assets-panel .wv-batch-actions { max-width:100%; }
}
.fbm-panel { min-width:0; }
.fbm-toolbar { display:flex; align-items:end; flex-wrap:wrap; gap:10px; }
.fbm-toolbar label { display:grid; gap:5px; max-width:100%; }
.fbm-toolbar .fbm-search { flex:1 1 220px; }
.fbm-toolbar :is(select,input) { margin:0; min-width:0; width:100%; }
.fbm-table { max-height:min(62vh,680px); max-width:100%; overflow:auto; overscroll-behavior-inline:contain; border:1px solid var(--studio-border,#dce2ed); border-radius:8px; }
.fbm-table table { width:100%; min-width:790px; border-collapse:separate; border-spacing:0; background:#fff; }
.fbm-table th { text-align:left; background:#eef3ef; white-space:nowrap; }
.fbm-table thead th { position:sticky; top:0; z-index:2; }
.fbm-table :is(th,td):first-child { position:sticky; inset-inline-start:0; }
.fbm-table th:first-child { z-index:3; }
.fbm-table td:first-child { z-index:1; min-width:95px; max-width:122px; background:#fff; overflow-wrap:anywhere; }
.fbm-table tr:nth-child(even) td { background:#f6f8f6; }
.fbm-table td:nth-child(2) { font-weight:650; font-variant-numeric:tabular-nums; }
.fbm-table td:nth-child(3) { min-width:180px; max-width:320px; overflow-wrap:anywhere; }
.fbm-retry-stores { margin-bottom:12px; }
html body.workspace-v2 #team-tasks-root .tt-scope { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 10px; }
html body.workspace-v2 #team-tasks-root .tt-scope [aria-pressed=true] { background:#e4f0e8; color:#214a35; border-color:#82a992; }
html body.workspace-v2 #team-tasks-root .tt-summary { margin:14px 0; }
html body.workspace-v2 #team-tasks-root .tt-stat { border:1px solid transparent; text-align:start; cursor:pointer; color:#20362d; }
html body.workspace-v2 #team-tasks-root .tt-stat[aria-pressed=true] { border-color:#5e8770; box-shadow:inset 0 -2px #77a58a; }
html body.workspace-v2 .dr-active-research:not([hidden]) {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
  gap:8px 12px; margin:0 0 14px; padding:10px 12px;
  border:1px solid #c5d9cd; border-inline-start:3px solid #5e8b73;
  border-radius:9px; background:#edf5ef;
}
html body.workspace-v2 .dr-active-research p { margin:0; color:#23483a; font-weight:650; }
html body.workspace-v2 .dr-task-download.has-selection:not([hidden]) {
  position:sticky; top:4px; z-index:4;
  padding:8px 10px; border:1px solid #cbded0; border-radius:9px;
  background:#f0f7f1; box-shadow:0 2px 12px #18372814;
}
#library-mobile-selection { display:none; }
@media(max-width:800px) {
  html body.workspace-v2 #image-library-panel:has(#library-mobile-selection:not([hidden])) { padding-bottom:76px; }
  html body.workspace-v2 #library-mobile-selection:not([hidden]) {
    display:inline-flex; align-items:center; justify-content:center;
    position:fixed; z-index:6; inset-inline-start:16px;
    bottom:calc(12px + env(safe-area-inset-bottom,0px)); min-height:44px;
    border:1px solid #365e4c; border-radius:22px; padding-inline:16px;
    background:#234737; color:white; box-shadow:0 3px 16px #142e2240;
  }
}
#upload-links-panel .upload-links-result-tools { display:flex; flex-wrap:wrap; align-items:end; gap:8px 12px; margin-top:14px; }
#upload-links-panel .upload-links-result-tools label { display:grid; gap:4px; flex:1 1 180px; min-width:0; }
#upload-links-panel .upload-links-result-tools input { width:100%; min-width:0; margin:0; }
#upload-links-result-count { color:var(--studio-muted); font-size:13px; }
html body.workspace-v2 .fba-table thead th { z-index:2; }
html body.workspace-v2 .fba-table thead th:first-child,
html body.workspace-v2 .fba-table tbody tr:not(.fba-group) > td:first-child:not([colspan]) { position:sticky; inset-inline-start:0; }
html body.workspace-v2 .fba-table thead th:first-child { z-index:3; }
html body.workspace-v2 .fba-table tbody tr:not(.fba-group) > td:first-child:not([colspan]) { z-index:1; background:#fff; }
html body.workspace-v2 .fba-table tbody tr.fba-alt > td:first-child { background:#fafcfd; }
html body.workspace-v2 .fba-table tbody tr:not(.fba-group) > td:nth-child(2) { min-width:4.5rem; font-weight:650; font-variant-numeric:tabular-nums; }
html body.workspace-v2 .fba-table tbody tr:not(.fba-group) > td:nth-child(3) { max-width:280px; white-space:normal; font-family:inherit; overflow-wrap:anywhere; }
html body.workspace-v2 .fba-table tbody tr:not(.fba-group) > td:nth-child(5) { font-family:ui-monospace,monospace; text-align:left; }
@media(max-width:760px) {
  html body.workspace-v2 .fba-table tbody tr:not(.fba-group) > td:first-child:not([colspan]) { min-width:90px; width:118px; max-width:118px; }
}

/* Shared page-heading rhythm for views that own their header markup. */
html body.workspace-v2 .wv-page {
  --wv-heading-size: clamp(24px,2.4vw,32px);
  --wv-heading-color: #20362d;
  --wv-heading-muted: #52645b;
}
html body.workspace-v2 .wv-page :is(.wv-intro,.hero,.daily-hero,.fba-header,.ads-head,.ops-header,.contour-head,.tl-head) h1 {
  margin-block: 0 6px;
  color: var(--wv-heading-color);
  font-size: var(--wv-heading-size);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
html body.workspace-v2 .wv-page .ops-header h1 { font-size: var(--wv-heading-size) !important; }
html body.workspace-v2 .wv-page :is(.wv-intro,.hero,.daily-hero,.fba-header,.ads-head,.ops-header,.contour-head,.tl-head) :is(p,.tl-muted) {
  margin-block: 0;
  color: var(--wv-heading-muted);
  line-height: 1.55;
}
html body.workspace-v2 .wv-page :is(.fba-header,.ads-head,.ops-header,.contour-head,.tl-head) {
  gap: 12px 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--studio-border);
}
@media(max-width:760px) {
  html body.workspace-v2 .wv-page :is(.fba-header,.ads-head,.ops-header,.contour-head,.tl-head) { align-items: flex-start; flex-wrap: wrap; }
  html body.workspace-v2 .wv-page .ops-header-actions { width:100%; justify-content:flex-start; }
  html body.workspace-v2 .daily-dashboard > .daily-hero {
    display:grid; grid-template-columns:minmax(0,1fr) auto;
    align-items:center; text-align:start; gap:8px 12px;
  }
  html body.workspace-v2 .daily-dashboard .daily-hero-action { width:auto; justify-content:end; }
  html body.workspace-v2 .daily-dashboard .daily-hero-action .daily-sync-label { display:none; }
  html body.workspace-v2 .daily-dashboard > .wv-production-shortcuts {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px;
  }
  html body.workspace-v2 .daily-dashboard > .wv-production-shortcuts button { min-width:0; width:100%; }
  html body.workspace-v2 .wv-announcement:not(:has(details[open])) .wv-announcement-links { display:none; }
}
.fbm-pagination { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:12px; }

/* Automatic production has its own compact workspace, independent of manual fill. */
#automatic-workflow-form { max-width:none; }
#automatic-workflow-form .listing-workflow { display:block; padding:0; border:0; background:transparent; }
#automatic-workflow-form h3 { margin:0 0 6px; font-size:17px; }
#automatic-workflow-form .listing-workflow>p { color:var(--studio-muted); margin:0 0 14px; }
#automatic-workflow-form #listing-workflow-source { width:min(100%,430px); display:block; margin:6px 0 16px; }
#automatic-workflow-form .listing-workflow-steps { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); padding:0; margin:0 0 16px; gap:8px; list-style:none; }
#automatic-workflow-form .listing-workflow-stage { display:grid; grid-template-columns:22px minmax(0,1fr); gap:4px 7px; padding:10px; border:1px solid var(--studio-border); border-radius:8px; background:#fff; }
#automatic-workflow-form .listing-workflow-stage>span { grid-row:span 2; border-radius:50%; width:22px; height:22px; text-align:center; background:#f1f3f5; }
#automatic-workflow-form .listing-workflow-stage strong { font-size:13px; }
#automatic-workflow-form .listing-workflow-stage small { color:var(--studio-muted); font-size:11px; }
#automatic-workflow-form .listing-workflow-steps [data-state=running] .listing-workflow-stage { border-color:var(--pod-theme-color,var(--studio-accent)); background:var(--studio-soft); }
#automatic-workflow-form .workflow-setup-grid { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr); gap:16px; align-items:start; }
#automatic-workflow-form :is(.listing-workflow-render-inputs,.workflow-run-settings,.listing-workflow>details) { padding:16px; border:1px solid var(--studio-border); border-radius:10px; background:#fff; margin:0; min-width:0; }
#automatic-workflow-form summary { cursor:pointer; font-weight:600; }
#automatic-workflow-form .listing-workflow-renderer>.rt-client-panel,#automatic-workflow-form .listing-workflow-renderer>button { display:none!important; }
#automatic-workflow-form .listing-workflow-renderer iframe { max-height:680px; }
#automatic-workflow-form .workflow-run-settings { display:grid; gap:16px; }
#automatic-workflow-form .workflow-run-settings :is(p,.actionrow) { margin:0; overflow-wrap:anywhere; }
#automatic-workflow-form label { display:grid; gap:7px; font-size:13px; }
#automatic-workflow-form .listing-workflow-review label { display:flex; align-items:center; gap:8px; }
#automatic-workflow-form small { display:block; color:var(--studio-muted); line-height:1.6; }
#automatic-workflow-form :is(input:not([type=checkbox]),select,textarea) { width:100%; box-sizing:border-box; min-width:0; }
#automatic-workflow-form .workflow-options-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:14px; }
#automatic-workflow-form .listing-workflow>details { margin-top:16px; }
#automatic-workflow-form [hidden] { display:none!important; }
html body.workspace-v2 .wv-desktop-shortcut { display:inline-flex; align-items:center; white-space:nowrap; text-decoration:none; }
@media(max-width:1000px) { #automatic-workflow-form .workflow-setup-grid { grid-template-columns:minmax(0,1fr); } #automatic-workflow-form .listing-workflow-steps { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:600px) { #automatic-workflow-form .workflow-options-grid { grid-template-columns:minmax(0,1fr); } #automatic-workflow-form .listing-workflow-stage { padding:7px; } #automatic-workflow-form .listing-workflow-stage small { display:none; } }

/* Module tabs reuse the existing page DOM and sidebar router. */
html body.workspace-v2 .wv-page-tabs { display:flex; align-items:center; gap:8px; position:sticky; top:0; z-index:20; min-width:0; padding:9px 0; background:var(--studio-bg,#f5f6f8); border-bottom:1px solid var(--studio-border); }
html body.workspace-v2 .wv-page-tablist { display:flex; gap:6px; min-width:0; overflow-x:auto; scrollbar-width:thin; position:relative; padding:2px; }
html body.workspace-v2 .wv-page-tab { display:flex; align-items:center; flex-shrink:0; min-width:0; border:1px solid transparent; border-radius:7px; color:var(--studio-muted); background:transparent; }
html body.workspace-v2 .wv-page-tab:hover { background:#eef0f3; }
html body.workspace-v2 .wv-page-tab button { border:0; box-shadow:none; background:transparent; color:inherit; min-height:34px; padding:6px 12px; font:inherit; font-size:13px; white-space:nowrap; cursor:pointer; }
html body.workspace-v2 .wv-page-tab [role=tab] { max-width:220px; overflow:hidden; text-overflow:ellipsis; border-radius:6px; }
html body.workspace-v2 .wv-page-tab .wv-tab-close { padding:4px 8px; margin-inline-end:3px; min-width:28px; border-radius:5px; font-size:17px; }
html body.workspace-v2 .wv-page-tab[data-active=true] { background:var(--pod-theme-color,var(--studio-accent)); color:var(--pod-theme-onColor,#fff); border-color:var(--pod-theme-color,var(--studio-accent)); font-weight:600; }
html body.workspace-v2 .wv-page-tab .wv-tab-close:hover { background:#0000000d; }
html body.workspace-v2 .wv-tabs-nav-toggle { flex-shrink:0; border:1px solid var(--studio-border); border-radius:7px; min-height:34px; width:34px; background:#fff; color:var(--studio-ink); cursor:pointer; }
html body.workspace-v2 .wv-sidebar .wv-nav-label.wv-group-toggle { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; min-width:0; min-height:36px; margin:7px 0 3px; padding:7px 12px; border:0; background:transparent; color:var(--studio-muted); font-size:12px; font-weight:600; letter-spacing:0; cursor:pointer; text-align:start; }
html body.workspace-v2 .wv-sidebar .wv-group-toggle::after { content:'⌄'; flex-shrink:0; font-size:15px; }
html body.workspace-v2 .wv-sidebar .wv-group-toggle[aria-expanded=false]::after { content:'›'; }
html body.workspace-v2 .wv-sidebar .wv-group-toggle:hover { background:#f2f4f7; color:var(--studio-ink); }
html body.workspace-v2 .wv-sidebar:not(.wv-compact) .wv-nav-group[data-collapsed=true] > [data-view] { display:none; }
html body.workspace-v2 .wv-sidebar.wv-compact .wv-nav-label.wv-group-toggle { display:none; }
@media(max-width:760px) {
 html body.workspace-v2 .wv-page-tabs { padding-block:7px; }
 html body.workspace-v2 .wv-page-tab [role=tab] { max-width:165px; }
 html body.workspace-v2 .wv-sidebar .wv-nav-label.wv-group-toggle { grid-column:1/-1; margin:0; }
}

/* Shared neutral foundation; accent is reserved for actions and selection. */
html[data-studio-design=balanced] { background:var(--pod-theme-background); }
html[data-studio-design=balanced] body,
html[data-studio-design=balanced] body.workspace-v2 {
  --ink:var(--pod-theme-ink); --muted:var(--pod-theme-muted);
  --studio-ink:var(--pod-theme-ink); --studio-muted:var(--pod-theme-muted); --studio-surface:#fff;
  --wv-heading-color:var(--pod-theme-ink); --wv-heading-muted:var(--pod-theme-muted);
  --accent:var(--pod-theme-text); --studio-accent:var(--pod-theme-color);
  --studio-soft:var(--pod-theme-soft); --studio-bg:var(--pod-theme-background);
  --studio-border:var(--pod-theme-border); --line:var(--pod-theme-border);
  --wv-nav-surface:var(--pod-theme-nav); --wv-nav-accent:var(--pod-theme-text);
  background:var(--pod-theme-background); color:var(--pod-theme-ink);
}
html[data-studio-design=balanced] body :is(button,a).primary:not(:disabled) {
  background:var(--pod-theme-color)!important; border-color:var(--pod-theme-color)!important;
  color:var(--pod-theme-onColor)!important; box-shadow:none;
}
html[data-studio-design=balanced] body :is(button,a).primary:not(:disabled):hover { background:var(--pod-theme-hover)!important; }
html[data-studio-design=balanced] body.workspace-v2 .wv-sidebar,
html[data-studio-design=balanced] body.workspace-v2 #app-view > .wv-sidebar {
  --wv-nav-surface:#fff; --wv-nav-text:var(--pod-theme-ink); --wv-nav-muted:var(--pod-theme-muted);
  background:#fff; color:var(--pod-theme-ink); border-color:var(--pod-theme-border);
}
html[data-studio-design=balanced] body.workspace-v2 .wv-sidebar :is(.wv-brand,button,[data-view]) { color:var(--pod-theme-ink); }
html[data-studio-design=balanced] body.workspace-v2 .wv-sidebar :is(.wv-brand small,.wv-nav-label,.wv-nav-icon,a) { color:var(--pod-theme-muted); }
html[data-studio-design=balanced] body.workspace-v2 .wv-sidebar .wv-brand::before { background:var(--pod-theme-color); color:#fff; }
html[data-studio-design=balanced] body.workspace-v2 .wv-sidebar :is(.wv-bottom,.wv-nav-group) { border-color:var(--pod-theme-border); }
html[data-studio-design=balanced] body.workspace-v2 .wv-sidebar .wv-nav-toggle { background:#f5f6f8; color:var(--pod-theme-muted); }
html[data-studio-design=balanced] body.workspace-v2 .wv-sidebar button:hover { background:#f2f4f7; color:var(--pod-theme-ink); }
html[data-studio-design=balanced] body.workspace-v2 .wv-sidebar button[aria-current=page],
html[data-studio-design=balanced] body .dr-tabs button[aria-pressed=true] {
  background:var(--pod-theme-soft); color:var(--pod-theme-text);
  box-shadow:inset 3px 0 var(--pod-theme-text);
}
html[data-studio-design=balanced] body.workspace-v2 .wv-sidebar button[aria-current=page] .wv-nav-icon { color:inherit; }
html[data-studio-design=balanced] body :is(a.text-button,.listing-workflow-download,.sku-zip,.sku-expand) { color:var(--pod-theme-text); }
html[data-studio-design=balanced] body :is(button,input,select,textarea,summary,a):focus-visible { outline-color:var(--pod-theme-text); }
html[data-studio-design=balanced] body :is(input[type=checkbox],input[type=radio],progress) { accent-color:var(--pod-theme-text); }
html[data-studio-design=balanced] body.workspace-v2 :is(.card,.results,.history,.listing-panel,.admin-panel,.wv-tile,.team-task-card,.fba-panel,.ads-card,.daily-kpi,.library-card) {
  background:#fff; border-color:var(--pod-theme-border); border-radius:10px; box-shadow:none;
}
html[data-studio-design=balanced] body.workspace-v2 :is(.topbar,.wv-announcement,.settings-shortcut) { border-color:var(--pod-theme-border); }
html[data-studio-design=balanced] body.workspace-v2 :is(.wv-announcement,.settings-shortcut,.metric,.dropzone) { background:#f9fafb; }
html[data-studio-design=balanced] body.workspace-v2 :is(h1,h2,h3,.section-head h2,.daily-kpi>strong,.daily-kpi>span,.wv-breadcrumb,.label) { color:var(--pod-theme-ink); }
html[data-studio-design=balanced] body.workspace-v2 :is(.smallnote,.muted,.section-hint,.daily-kpi>small,.wv-intro p,.hero p,.daily-hero p) { color:var(--pod-theme-muted); }
html[data-studio-design=balanced] body.workspace-v2 :is(.secondary,.text-button,.wv-search-trigger) { background:#fff; color:var(--pod-theme-ink); border-color:#d5dbe3; box-shadow:none; }
html[data-studio-design=balanced] body.workspace-v2 :is(.secondary,.text-button,.wv-search-trigger):hover { background:#f2f4f7; border-color:#bdc6d2; }
html[data-studio-design=balanced] body.workspace-v2 :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]),select,textarea) { background:#fff; color:var(--pod-theme-ink); border-color:#d5dbe3; }
html[data-studio-design=balanced] body.workspace-v2 :is(input,select,textarea):disabled { background:#f2f4f7; color:var(--pod-theme-muted); }
html[data-studio-design=balanced] body.workspace-v2 :is(.daily-table,.ops-table,.fba-table) th { background:#f7f8fa; color:var(--pod-theme-muted); border-color:var(--pod-theme-border); }
html[data-studio-design=balanced] body .progressbar>span { background:var(--pod-theme-color); }
.theme-preferences-trigger {
  display:inline-flex; align-items:center; gap:7px; flex-shrink:0; white-space:nowrap;
  padding:6px 10px; border:1px solid #d7ded9; border-radius:7px;
  background:#fff; color:#37463e; font:inherit; cursor:pointer;
}
.theme-trigger-dot { width:12px; height:12px; border-radius:50%; background:var(--pod-theme-color,#46543c); border:1px solid #0002; }
.theme-preferences-dialog {
  box-sizing:border-box; width:min(460px,calc(100vw - 32px)); max-height:calc(100dvh - 40px);
  padding:24px; border:1px solid #dfe4e1; border-radius:14px; overflow:auto;
  background:#fff; color:#26362e; box-shadow:0 18px 70px #172d2440; font:14px/1.6 "Segoe UI","Microsoft YaHei",sans-serif;
}
.theme-preferences-dialog::backdrop { background:#11182766; }
.theme-preferences-dialog .theme-preferences-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.theme-preferences-dialog h2 { margin:0; color:#20362d; font-size:21px; }
.theme-preferences-dialog p { margin:6px 0 0; color:#617068; font-size:13px; }
.theme-preferences-dialog .theme-close { flex-shrink:0; white-space:nowrap; padding:4px 8px; background:#fff; border:1px solid #d5dbe3; border-radius:6px; color:#374151; cursor:pointer; }
.theme-preferences-dialog .theme-presets { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:24px 0; }
.theme-preferences-dialog .theme-presets button { display:flex; align-items:center; gap:8px; padding:10px; border:1px solid #e0e5e2; border-radius:8px; background:#fff; color:#34443b; font:inherit; cursor:pointer; }
.theme-preferences-dialog .theme-presets button span { flex-shrink:0; width:18px; height:18px; border-radius:50%; border:1px solid #0002; }
.theme-preferences-dialog .theme-presets button[aria-pressed=true] { border-color:var(--pod-theme-text,#46543c); outline:1px solid var(--pod-theme-text,#46543c); background:var(--pod-theme-soft,#f0f4ee); }
.theme-preferences-dialog .theme-custom { display:grid; grid-template-columns:100px minmax(0,1fr); gap:16px; }
.theme-preferences-dialog .theme-custom label { display:grid; gap:6px; font-size:13px; color:#425149; }
.theme-preferences-dialog .theme-custom input { box-sizing:border-box; width:100%; height:42px; min-height:42px; border:1px solid #d6dfd9; border-radius:7px; font:inherit; }
.theme-preferences-dialog .theme-custom input[type=color] { padding:4px; background:#fff; cursor:pointer; }
.theme-preferences-dialog .theme-custom input[type=text] { padding:8px 12px; color:#26362e; background:#fff; }
.theme-preferences-dialog .theme-example { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:16px; margin:20px 0 12px; border:1px solid var(--pod-theme-border,#dce4d7); border-radius:9px; background:var(--pod-theme-nav,#f6f7f3); }
.theme-preferences-dialog .theme-example span { width:100%; color:#637066; font-size:12px; }
.theme-preferences-dialog .theme-example strong { flex:1; }
.theme-preferences-dialog .theme-status { min-height:40px; font-size:12px; }
.theme-preferences-dialog .theme-preferences-footer { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:12px; padding-top:16px; border-top:1px solid #e4e9e5; }
.theme-preferences-dialog .theme-preferences-footer small { color:#68756d; font-size:12px; }
.theme-preferences-dialog #theme-reset { white-space:nowrap; }
@media(max-width:480px) {
  .theme-preferences-dialog { padding:20px; }
  .theme-preferences-dialog .theme-presets { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
