:root{
  --bg:#070910;--bg-2:#0c0f19;--surface:#111521;--surface-2:#171c2b;
  --line:rgba(255,255,255,.08);--line-strong:rgba(255,255,255,.14);
  --text:#f3f6ff;--muted:#818aa0;--cyan:#28e6d7;--blue:#6687ff;
  --pink:#ff5ec9;--lime:#b9f66b;--warning:#ffcf5a;--danger:#ff6b7a;
  --shadow:0 28px 80px rgba(0,0,0,.36);--radius:20px;
}
*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;min-width:320px;min-height:100vh;color:var(--text);font:14px/1.55 Inter,"Segoe UI","Microsoft YaHei",sans-serif;background:var(--bg);overflow-x:hidden}button,input,select,textarea{font:inherit;color:inherit}.ambient{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:-1;background:linear-gradient(rgba(255,255,255,.015) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.015) 1px,transparent 1px);background-size:44px 44px}.ambient span{position:absolute;border-radius:50%;filter:blur(100px);opacity:.16}.ambient span:nth-child(1){width:480px;height:480px;left:-180px;top:-220px;background:var(--blue)}.ambient span:nth-child(2){width:420px;height:420px;right:3%;top:28%;background:var(--cyan)}.ambient span:nth-child(3){width:360px;height:360px;left:32%;bottom:-220px;background:var(--pink)}
.glass{border:1px solid var(--line);background:rgba(14,17,28,.84);box-shadow:var(--shadow);backdrop-filter:blur(22px)}.app-shell{display:grid;grid-template-columns:minmax(0,1fr) 286px;grid-template-areas:"main sidebar";gap:22px;max-width:1840px;margin:0 auto;padding:22px;min-height:100vh}.sidebar{grid-area:sidebar;position:sticky;top:22px;height:calc(100vh - 44px);border-radius:26px;padding:18px 14px;display:flex;flex-direction:column}.sidebar:before{content:"";position:absolute;inset:0 0 auto;height:3px;border-radius:26px 26px 0 0;background:linear-gradient(90deg,var(--cyan),var(--blue),var(--pink))}.brand-card{display:flex;align-items:center;gap:12px;padding:14px 10px 22px;border-bottom:1px solid var(--line)}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;color:#071014;background:linear-gradient(135deg,var(--cyan),#98fff5);font-size:18px;font-weight:900;box-shadow:0 0 30px rgba(40,230,215,.24)}.brand-card strong{display:block;font-size:14px;letter-spacing:.12em}.brand-card span{display:block;margin-top:2px;color:var(--muted);font-size:10px}nav{overflow:auto;padding:18px 3px 10px;scrollbar-width:thin;scrollbar-color:#2e3549 transparent}nav section{margin-bottom:22px}nav h2{display:inline-flex;align-items:center;min-height:30px;margin:0 0 9px 7px;padding:5px 11px;border:1px solid rgba(123,255,247,.38);border-radius:9px;background:linear-gradient(135deg,#38e6d7,#55d8f6);box-shadow:0 8px 22px rgba(40,230,215,.18),inset 0 1px rgba(255,255,255,.3);color:#061417;font-size:14px;font-weight:900;line-height:1;letter-spacing:.08em;text-transform:none}.nav-item{position:relative;width:100%;display:flex;align-items:center;gap:10px;border:0;border-radius:11px;padding:8px 10px;background:transparent;color:#9da6ba;text-align:left;font-weight:600;cursor:pointer;transition:.2s}.nav-item i{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border:1px solid var(--line);border-radius:9px;background:#121725;color:#73809a;font-style:normal;font-size:10px}.nav-item:hover{color:#fff;background:rgba(255,255,255,.035)}.nav-item.active{color:#fff;background:linear-gradient(90deg,rgba(40,230,215,.12),rgba(102,135,255,.04));box-shadow:inset 3px 0 var(--cyan)}.nav-item.active i{border-color:rgba(40,230,215,.26);background:rgba(40,230,215,.12);color:var(--cyan)}.user-card{margin-top:auto;padding:14px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#161b29,#10131e)}.user-card small,.user-card strong{display:block}.user-card small{color:var(--muted);font-size:9px}.user-card strong{margin:3px 0 10px;font-size:13px}.user-card>div{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.trial{padding:4px 8px;border:1px solid rgba(40,230,215,.18);border-radius:20px;background:rgba(40,230,215,.08);color:var(--cyan);font-size:9px}.user-card button{border:0;background:transparent;color:#6f788d;font-size:10px;cursor:pointer}
main{grid-area:main;min-width:0}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:12px 18px 12px 22px;border-radius:20px}.topbar>div:first-child{display:flex;align-items:center;gap:12px}.topbar>div:first-child:before{content:"";width:9px;height:9px;border-radius:50%;background:var(--cyan);box-shadow:0 0 18px var(--cyan)}.topbar small{display:block;color:#697287;font-size:9px;letter-spacing:.12em}.topbar strong{display:block;margin-top:1px;font-size:16px}.top-actions{display:flex;align-items:center;gap:9px}.status-dot{padding:8px 11px;border:1px solid rgba(185,246,107,.18);border-radius:10px;background:rgba(185,246,107,.06);color:var(--lime);font-size:10px}.status-dot:before{content:"";display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:var(--lime)}.store-select{display:flex;align-items:center;gap:8px;margin:0;padding:4px 5px 4px 10px;border:1px solid var(--line);border-radius:11px;background:#0b0e17;color:var(--muted);font-size:10px}.store-select select{width:auto;min-width:170px;margin:0;border:0;padding:7px 9px;border-radius:8px;background:#171c29;color:#e7ebf6;outline:0}
#page{padding-bottom:26px}.hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 260px;min-height:154px;margin-top:14px;border-radius:20px;overflow:hidden;background:linear-gradient(120deg,rgba(21,26,41,.96),rgba(10,13,22,.95))}.hero:before{content:"";position:absolute;width:290px;height:290px;right:16%;top:-190px;border:1px solid rgba(40,230,215,.14);border-radius:50%;box-shadow:0 0 0 45px rgba(40,230,215,.025),0 0 0 90px rgba(102,135,255,.02)}.hero:after{display:none}.hero-copy{position:relative;padding:25px 30px 22px;border-left:0}.hero-copy small{color:var(--cyan);font-size:10px;font-weight:800;letter-spacing:.12em}.hero-copy h1{margin:9px 0 5px;font-size:38px;line-height:1.05;letter-spacing:-.04em}.hero-copy p{max-width:650px;margin:0;color:var(--muted)}.hero dl{position:relative;display:flex;flex-direction:column;justify-content:center;gap:0;margin:0;border-left:1px solid var(--line);background:rgba(255,255,255,.018)}.hero dl div{display:flex;align-items:center;justify-content:space-between;min-height:51px;padding:0 22px;border-bottom:1px solid var(--line)}.hero dl div:last-child{border-bottom:0}.hero dt{color:#626c82;font-size:9px;letter-spacing:.1em}.hero dd{margin:0;color:#fff;font-size:15px;font-weight:800}.hero dl div:nth-child(2) dd{color:var(--cyan)}
.auth-gate{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:rgba(5,7,12,.82);backdrop-filter:blur(22px)}.auth-card{width:min(420px,100%);padding:28px;border-radius:24px}.auth-brand{display:flex;align-items:center;gap:13px;margin-bottom:22px}.auth-brand>span{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,var(--cyan),#9afff5);color:#071014;font-size:18px;font-weight:900}.auth-brand strong,.auth-brand small{display:block}.auth-brand strong{letter-spacing:.12em}.auth-brand small,.auth-card>p,.auth-note{color:var(--muted)}.auth-card>p{margin-bottom:20px;font-size:11px}.auth-card label{display:block;margin-top:12px}.auth-note{display:block;margin-top:14px;text-align:center;font-size:9px}.login-error{min-height:20px;padding-top:7px;color:var(--danger);font-size:10px}.app-shell.locked{visibility:hidden}
.content-card{margin-top:16px;padding:20px;border-radius:20px;background:rgba(15,19,30,.82)}.card-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.card-title h2{margin:0;padding:0;font-size:15px;letter-spacing:-.01em}.card-title h2:before{content:"//";margin-right:9px;color:var(--cyan);font:700 12px monospace}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}.kpi-grid article{position:relative;padding:18px 18px 16px;overflow:hidden;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,#151a28,#0e111b)}.kpi-grid article:after{content:"";position:absolute;width:70px;height:70px;right:-30px;bottom:-32px;border:14px solid rgba(102,135,255,.06);border-radius:50%}.kpi-grid span,.kpi-grid small{display:block}.kpi-grid span{color:#737d92;font-size:10px}.kpi-grid strong{display:block;margin:10px 0 5px;font-size:25px;letter-spacing:-.04em}.kpi-grid small{color:var(--cyan);font-size:9px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.bar-chart{height:244px;display:flex;align-items:end;justify-content:space-around;gap:12px;padding:22px 16px 8px;background:repeating-linear-gradient(0deg,transparent 0 47px,rgba(255,255,255,.035) 48px)}.bar-chart div{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px}.bar-chart span{width:min(34px,75%);min-height:12px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,var(--cyan),var(--blue));box-shadow:0 0 18px rgba(40,230,215,.13)}.bar-chart small{color:#555f73;font-size:9px}
.table-wrap{overflow-x:clip;overflow-y:clip;border:1px solid var(--line);border-right:0;border-radius:14px 0 0 14px;background:#0a0f18;contain:paint;isolation:isolate}.table-wrap.table-scrollable{overflow-x:auto;overflow-y:hidden}.table-wrap table{width:100%;border-collapse:collapse;white-space:nowrap}.table-wrap thead{background:#0b0e16}.table-wrap th{padding:10px 12px;color:#596277;font-size:9px;font-weight:700;text-align:left;letter-spacing:.06em}.table-wrap td{padding:12px;border-top:1px solid var(--line);color:#b6bdcc;font-size:11px}.table-wrap tbody tr{transition:.18s}.table-wrap tbody tr:hover{background:rgba(102,135,255,.045)}.table-wrap td b,.table-wrap td small{display:block}.table-wrap td b{color:#e9edf7}.table-wrap td small{margin-top:2px;color:#5e687c;font-size:8px}.badge{display:inline-flex!important;width:max-content;padding:4px 8px;border:1px solid;border-radius:20px;font-size:8px;font-weight:700}.badge.success{border-color:rgba(40,230,215,.18);background:rgba(40,230,215,.08);color:var(--cyan)}.badge.warning{border-color:rgba(255,207,90,.2);background:rgba(255,207,90,.08);color:var(--warning)}.badge.danger{border-color:rgba(255,107,122,.22);background:rgba(255,107,122,.08);color:var(--danger)}.up{color:var(--lime)!important;font-weight:700}.muted{color:var(--muted)}
.workflow{display:grid;grid-template-columns:minmax(430px,600px) 1fr;gap:18px;margin-top:16px;padding:16px;border-radius:22px}.form-panel{padding:20px;border:1px solid var(--line);border-radius:18px;background:#0d1019;overflow:auto}.form-panel h2{margin:0 0 15px;font-size:16px}.step-head{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid rgba(102,135,255,.1);border-radius:12px;background:linear-gradient(90deg,rgba(102,135,255,.08),transparent)}.step-head b{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--blue);font-size:10px}.step-head strong,.step-head span{display:block}.step-head span{color:var(--muted);font-size:9px}.field,label{color:#818ba0;font-size:10px;font-weight:600}.field{display:block;margin-top:12px}.field>span{display:block}.field small{display:block;margin-top:5px;color:#555f74;font-weight:400}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}input,select,textarea,.field textarea{width:100%;margin-top:5px;border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:#090c14;color:#e7ebf5;outline:0;resize:vertical;transition:.2s}input::placeholder,textarea::placeholder{color:#3f485c}input:focus,select:focus,textarea:focus,.field textarea:focus{border-color:rgba(40,230,215,.42);box-shadow:0 0 0 3px rgba(40,230,215,.06)}input[type=checkbox],input[type=range],input[type=file]{width:auto}.primary{width:100%;margin-top:15px;border:0;border-radius:10px;padding:12px 16px;background:linear-gradient(100deg,var(--cyan),#5ed8f6);color:#061014;font-weight:800;cursor:pointer;box-shadow:0 10px 30px rgba(40,230,215,.12);transition:.2s}.primary:hover{transform:translateY(-1px);box-shadow:0 14px 36px rgba(40,230,215,.19)}.primary:disabled{opacity:.5;cursor:not-allowed;transform:none}.primary.compact{width:auto;padding-inline:25px}.secondary{border:1px solid var(--line-strong);border-radius:9px;padding:9px 13px;background:#151a27;color:#aeb6c8;font-size:10px;font-weight:700;cursor:pointer}.secondary:hover{border-color:rgba(40,230,215,.35);color:var(--cyan)}.wide-form,.settings-form{max-width:1080px}.grid-action{display:grid;grid-template-columns:1fr 180px;gap:10px;align-items:end}.option-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.option-row label{display:flex;align-items:center;gap:7px;margin:0;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:#0b0e17}.check-card{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:11px;background:#0b0e17}.check-card input{margin:3px 0 0}.check-card b,.check-card small{display:block}.check-card b{color:#c9cfdd}.check-card small{color:#586277;font-weight:400}
.log-panel{display:grid;place-items:start center;padding:18px}.phone{position:relative;width:min(310px,92%);height:580px;border:1px solid var(--line-strong);border-radius:28px;background:linear-gradient(180deg,#151a28,#090c13);box-shadow:0 35px 80px rgba(0,0,0,.45)}.phone:after{content:"";position:absolute;left:16px;right:16px;top:85px;border-top:1px solid var(--line)}.speaker{position:absolute;top:10px;left:50%;width:46px;height:4px;transform:translateX(-50%);border-radius:5px;background:#30384a}.camera{position:absolute;top:26px;left:50%;width:7px;height:7px;transform:translateX(-50%);border:2px solid #252d3e;border-radius:50%;background:var(--cyan)}.phone h3{margin:52px 20px 0;color:#aab3c4;font-size:10px;letter-spacing:.1em}.empty-log{height:450px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center}.empty-log b{color:var(--cyan);font:9px monospace}.empty-log strong{font-size:11px}.empty-log span{color:#4d566a;font-size:8px}.mouse{position:relative;width:48px;height:70px;border:1px solid #242c3b;border-radius:25px;background:#0b0e17}.mouse:before{content:"";position:absolute;left:50%;top:10px;width:5px;height:5px;transform:translateX(-50%);border-radius:50%;background:var(--cyan);box-shadow:0 0 12px var(--cyan)}.mouse:after{content:"";position:absolute;left:50%;top:0;height:70px;border-left:1px solid #202737}#logList{position:absolute;inset:102px 16px 62px;margin:0;padding:0;overflow:auto;list-style:none}#logList li{padding:9px 10px;margin-bottom:6px;border:1px solid var(--line);border-radius:8px;background:#0d111b;color:#7f899e;font-size:9px;animation:rise .25s ease}#logList li:before{content:"✓";margin-right:6px;color:var(--cyan)}.progress-wrap{position:absolute;left:18px;right:18px;bottom:17px;text-align:center}.progress{height:4px;overflow:hidden;border-radius:5px;background:#202637}.progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--cyan),var(--blue));transition:.3s}.progress-wrap strong{color:var(--cyan);font:8px monospace}.hidden{display:none!important}@keyframes rise{from{opacity:0;transform:translateY(5px)}}
.editor-grid{margin-top:0}.image-preview{position:relative;display:grid;place-items:center;min-height:350px;overflow:hidden;border:1px solid var(--line);border-radius:15px;background:radial-gradient(circle,#1c2435,#090c14)}.sample-product{display:grid;place-items:center;width:170px;height:220px;border-radius:85px 85px 30px 30px;background:linear-gradient(145deg,#30dfd1,#2b567c);color:#061014;font-weight:900;box-shadow:0 25px 60px rgba(40,230,215,.16)}.image-preview>span{position:absolute;right:18px;bottom:18px;padding:6px 10px;border:1px solid var(--line-strong);border-radius:7px;background:rgba(5,7,12,.8);color:#fff;font-size:9px}.image-preview>span[data-position=bl]{right:auto;left:18px}.image-preview>span[data-position=center]{right:50%;bottom:50%;transform:translate(50%,50%)}.image-result{min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #2b3447;border-radius:15px;color:#525c71}.image-result b{color:#858fa4}.image-result b,.image-result span{display:block}.generated-placeholder{width:215px;height:290px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:14px;background:#0a0d15}.generated-placeholder>span{display:grid;place-items:center;width:82px;height:120px;border-radius:42px;background:linear-gradient(#c7fff9,#46cfc3);color:#071014;font-size:21px;font-weight:900}.generated-placeholder b{margin-top:16px;color:#d6dbe7}.generated-placeholder small{color:#566074}.filter-bar,.toolbar{display:flex;align-items:center;gap:8px}.filter-bar input,.filter-bar select,.toolbar input{width:auto;flex:1;margin:0}.filter-bar select{max-width:180px}.filter-bar button{min-width:90px}.toolbar{justify-content:space-between;margin-bottom:11px}.toolbar input{max-width:340px}.link-btn{border:0;background:transparent;color:var(--cyan);font-size:10px;font-weight:700;cursor:pointer}.link-btn:hover{text-decoration:underline}.tabs{display:flex;gap:7px;margin-bottom:11px}.tab-btn{border:1px solid var(--line);border-radius:8px;padding:7px 12px;background:#0c0f18;color:#727c91;font-size:9px;cursor:pointer}.tab-btn.active{border-color:rgba(40,230,215,.25);background:rgba(40,230,215,.08);color:var(--cyan)}.notice-list p{display:flex;justify-content:space-between;gap:12px;margin:0;padding:13px 3px;border-bottom:1px solid var(--line)}.notice-list span{color:var(--muted)}.match-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.match-grid article{padding:12px;border:1px solid var(--line);border-radius:13px;background:#0b0e17}.product-thumb{height:130px;display:grid;place-items:center;margin-bottom:10px;border-radius:9px;background:linear-gradient(145deg,#172235,#0c121f);color:var(--cyan);font-weight:900}.match-grid b,.match-grid span,.match-grid strong{display:block;margin:4px 0}.match-grid span{color:var(--muted);font-size:9px}.match-grid strong{color:var(--lime)}.match-grid .secondary{width:100%;margin-top:8px}.store-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:16px}.store-card{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:14px;padding:18px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,#141927,#0b0e17)}.store-card h3,.store-card p{margin:2px 0}.store-card h3{font-size:14px}.store-card p{color:var(--muted);font-size:9px}.store-logo{display:grid;place-items:center;width:58px;height:58px;border:1px solid rgba(102,135,255,.24);border-radius:16px;background:linear-gradient(145deg,#344ca8,#5b3b94);font-size:17px;font-weight:900}.add-store{min-height:120px;border:1px dashed #30394d;border-radius:17px;background:#0b0e16;color:var(--cyan);cursor:pointer}.notice{padding:12px;border-left:2px solid var(--warning);background:rgba(255,207,90,.05);color:#9e916b;font-size:10px}.danger-outline{border-color:rgba(255,107,122,.2);color:var(--danger)}.empty-state{min-height:125px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#505a6f}.empty-state b{color:#828ca1}.empty-state span{font-size:9px}#toast{position:fixed;top:18vh;left:50%;bottom:auto;z-index:1000;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;width:min(680px,calc(100vw - 40px));padding:17px 14px 17px 20px;border:1px solid rgba(40,230,215,.32);border-radius:13px;background:rgba(16,21,33,.98);color:#dfe6f3;box-shadow:0 24px 70px rgba(0,0,0,.55);opacity:0;visibility:hidden;transform:translate(-50%,-14px) scale(.98);transition:opacity .2s,transform .2s,visibility .2s;pointer-events:none}#toast.show{opacity:1;visibility:visible;transform:translate(-50%,0) scale(1);pointer-events:auto}.toast-message{min-width:0;padding:3px 0;font-size:14px;font-weight:700;line-height:1.65;overflow-wrap:anywhere}.toast-close{display:grid;place-items:center;width:32px;height:32px;margin:0;padding:0;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#171e2c;color:#aeb9cb;font-size:22px;line-height:1;cursor:pointer}.toast-close:hover,.toast-close:focus-visible{border-color:rgba(40,230,215,.45);color:var(--cyan);outline:0}
.ozon-actions{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:14px;border:1px solid var(--line);border-radius:13px;background:#0b0e17}.ozon-actions b,.ozon-actions span{display:block}.ozon-actions span{margin-top:3px;color:var(--muted);font-size:9px}.ozon-actions .primary{margin:0}.ozon-table{margin-top:12px}
.product-cell{display:flex;align-items:center;gap:10px;max-width:360px}.product-cell img,.no-image{width:48px;height:48px;flex:0 0 48px;border-radius:9px;object-fit:cover;background:#171d2a}.no-image{display:grid;place-items:center;color:var(--cyan);font-weight:800}.product-cell>div{min-width:0}.product-cell b{max-width:280px;overflow:hidden;text-overflow:ellipsis}.old-price{text-decoration:line-through}.ozon-table td{vertical-align:middle}
.product-list-table table{min-width:1440px}.product-list-table th,.product-list-table td{padding:14px 16px}.product-list-table .product-check{width:42px;padding-left:14px;padding-right:4px;text-align:center}.product-list-table input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--cyan)}.product-info-cell{display:flex;align-items:center;gap:14px;min-width:430px;max-width:520px}.product-image-zoom{display:block;width:78px;height:78px;flex:0 0 78px;cursor:zoom-in}.product-image-zoom>img,.product-info-cell .no-image{width:78px;height:78px;flex:0 0 78px;border-radius:8px;object-fit:cover}.product-image-preview{position:fixed;left:-9999px;top:-9999px;z-index:100;width:min(370px,calc(100vw - 32px));padding:10px;border:1px solid rgba(40,230,215,.32);border-radius:15px;background:#0b0e17;box-shadow:0 28px 90px rgba(0,0,0,.72);opacity:0;visibility:hidden;transform:translateY(5px);transition:opacity .14s,transform .14s;pointer-events:none}.product-image-preview.show{opacity:1;visibility:visible;transform:none}.product-image-preview img{display:block;width:100%;height:auto;max-height:min(500px,70vh);border-radius:10px;object-fit:contain;background:#fff}.product-image-preview span{display:block;padding:9px 3px 1px;color:#8f99ac;font-size:12px;white-space:normal}.product-info-cell>div{min-width:0}.product-list-table .product-title-static{display:block;max-width:390px;margin:0 0 5px;color:#344054;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-info-cell small{margin-top:2px!important;color:#929caf!important}.commission-cell span,.commission-cell b,.price-detail span,.product-time span{display:block}.commission-cell span{color:var(--muted);font-size:12px}.commission-cell b{margin-top:3px;color:#dce2ec}.commission-cell small{color:#6f7a8f!important}.store-pill{display:inline-block;max-width:150px;color:#8ca3ff;overflow:hidden;text-overflow:ellipsis}.product-time{min-width:205px}.product-time span{color:#8e98aa;font-size:12px;line-height:1.7}.price-detail,.stock-detail{position:relative;min-width:165px;padding-right:22px}.product-list-table .price-detail span{color:#475467;font-size:12px;line-height:1.65}.product-list-table .price-detail b{display:inline!important;color:#344054!important;font-weight:700}.price-detail s{color:#778196}.mini-edit{position:absolute;right:0;top:50%;transform:translateY(-50%);padding:2px;border:0;background:transparent;color:#5e88ff;font-size:16px;cursor:pointer}.stock-detail{min-width:75px}.stock-detail b{font-size:15px}.product-list-table .weight-value{color:#475467}.product-list-table .badge.success{color:var(--cyan)}
.product-quick-edit{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:20px;background:rgba(3,5,10,.68);backdrop-filter:blur(5px)}.quick-edit-dialog{width:min(560px,100%);max-height:86vh;overflow:auto;padding:22px;border:1px solid rgba(40,230,215,.24);border-radius:18px;background:#101521;box-shadow:0 35px 110px rgba(0,0,0,.72)}.quick-edit-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.quick-edit-head b,.quick-edit-head span{display:block}.quick-edit-head b{font-size:18px}.quick-edit-head span{max-width:440px;margin-top:4px;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-edit-close{border:0;background:transparent;color:#8993a7;font-size:28px;line-height:1;cursor:pointer}.quick-field-title{display:block;margin-bottom:8px;color:#aeb7c8;font-weight:700}.warehouse-choice-list{display:grid;gap:8px;max-height:280px;overflow:auto}.warehouse-choice{display:flex;align-items:center;gap:11px;margin:0;padding:12px;border:1px solid var(--line);border-radius:11px;background:#0b0e17;cursor:pointer}.warehouse-choice:has(input:checked){border-color:rgba(40,230,215,.4);background:rgba(40,230,215,.06)}.warehouse-choice input{width:auto;margin:0;accent-color:var(--cyan)}.warehouse-choice b,.warehouse-choice small{display:block}.warehouse-choice b{color:#e5eaf3}.warehouse-choice small{margin-top:3px;color:var(--muted)!important}.stock-input-note{display:block;margin-top:6px;color:var(--muted)}
.product-info-dialog{width:min(920px,100%)}.product-info-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-info-form-grid .field{margin:0}.product-info-form-grid .full{grid-column:1/-1}.dimension-inputs{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:8px}.dimension-inputs label{position:relative}.dimension-inputs input{margin:0;padding-right:36px}.dimension-inputs small{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#667188}.dimension-inputs>b{color:#69758a}.product-info-submit-note{margin:14px 0 10px;padding:10px 12px;border-left:2px solid var(--warning);background:rgba(255,207,90,.05);color:#9e916b;font-size:11px}.product-info-dialog form>.primary{width:100%;margin:0}
.product-category-editor,.product-brand-editor{position:relative}.product-edit-options{position:absolute;left:0;right:0;top:calc(100% - 2px);z-index:8;max-height:250px;overflow:auto;border:1px solid var(--line-strong);border-radius:10px;background:#101622;box-shadow:0 18px 45px rgba(0,0,0,.55)}.product-edit-options:empty{display:none}.product-edit-option{display:block;width:100%;padding:10px 12px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:#dce3ef;text-align:left;cursor:pointer}.product-edit-option:hover{background:rgba(40,230,215,.07)}.product-edit-option b,.product-edit-option small{display:block}.product-edit-option small{margin-top:3px;color:#7f899d}.product-edit-option-message{padding:11px 12px;color:#8d97aa;font-size:11px}
.product-category-trigger{display:flex;width:100%;align-items:center;justify-content:space-between;gap:15px;margin:6px 0 0;padding:13px 15px;border:1px solid var(--line-strong);border-radius:11px;background:#0b0e17;color:#e6ebf3;text-align:left;cursor:pointer}.product-category-trigger:hover{border-color:rgba(40,230,215,.5)}.product-category-trigger b{font-size:13px}.product-category-trigger i{color:#8490a4;font-size:25px;font-style:normal}.product-category-modal{position:fixed;inset:0;z-index:180;display:grid;place-items:center;padding:24px;background:rgba(3,5,10,.78);backdrop-filter:blur(6px)}.product-category-dialog{width:min(780px,100%);max-height:min(760px,90vh);overflow:hidden;border:1px solid rgba(40,230,215,.3);border-radius:18px;background:#101521;box-shadow:0 35px 110px rgba(0,0,0,.78)}.product-category-modal-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 14px}.product-category-modal-head h3{margin:0;font-size:20px}.close-product-category-modal{border:0;background:transparent;color:#8f99ac;font-size:27px;cursor:pointer}.product-category-search{display:flex;align-items:center;gap:9px;margin:0 22px 14px;padding:0 13px;border:1px solid var(--line-strong);border-radius:10px;background:#0b0e17}.product-category-search span{color:#8f99ac;font-size:21px}.product-category-search input{margin:0;border:0;background:transparent;box-shadow:none}.product-category-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:#8f99ac}.product-category-nav button{padding:5px 8px;border:0;background:transparent;color:var(--cyan);cursor:pointer}.product-category-nav button:disabled{color:#596376;cursor:default}.product-category-tree-list{max-height:540px;overflow:auto;padding:8px 12px 16px}.product-category-tree-item{display:grid;width:100%;grid-template-columns:22px 1fr auto;align-items:center;gap:8px;padding:12px 11px;border:0;border-bottom:1px solid var(--line);border-radius:8px;background:transparent;color:#dce3ef;text-align:left;cursor:pointer}.product-category-tree-item:hover{background:rgba(40,230,215,.07)}.product-category-tree-item>span{color:#748096;font-size:18px}.product-category-tree-item>b{font-size:13px}.product-category-tree-item>small{color:#7f899d}
.product-field-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.product-field-head .secondary{width:auto;margin:0;padding:7px 10px;font-size:11px}
.order-toolbar{display:grid;grid-template-columns:1fr 170px auto;align-items:center;gap:10px;margin-bottom:12px}.order-toolbar b,.order-toolbar span{display:block}.order-toolbar span{margin-top:3px;color:var(--muted);font-size:9px}.order-toolbar select,.order-toolbar .primary{margin:0}.order-products b{max-width:320px;overflow:hidden;text-overflow:ellipsis}.order-products small{margin-bottom:3px}.order-table{max-height:600px}
.order-workspace{padding:18px}.order-status-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.order-status-toolbar .order-status-tabs{flex:1;margin-bottom:12px}.order-status-toolbar>.primary{flex:0 0 auto;margin:0 0 12px;white-space:nowrap}
.order-product-images,.order-product-details{display:flex;flex-direction:column;gap:8px}.order-product-image{display:grid;width:52px;height:52px;place-items:center;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#101522;color:#596378;font-size:9px}.order-product-image>img{width:100%;height:100%;object-fit:cover}.order-product-detail{display:flex;min-height:52px;max-width:330px;flex-direction:column;justify-content:center;white-space:normal}.order-product-detail b{color:#7fa0ff!important}.order-product-detail span{display:-webkit-box;margin-top:3px;overflow:hidden;color:#aeb7c8;font-size:10px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.order-fulfillment-table td:last-child:empty{padding:0}.order-fulfillment-table th:nth-child(3),.order-fulfillment-table td:nth-child(3){width:68px;min-width:68px;padding-left:6px;padding-right:6px}.order-fulfillment-table th:nth-child(4),.order-fulfillment-table td:nth-child(4){min-width:340px;padding-left:4px}.order-fulfillment-table .order-product-details{margin-left:0}
.order-column-search{display:grid;grid-template-columns:auto 15px minmax(105px,1fr);align-items:center;gap:7px;min-width:230px;color:#596277;font-size:9px}.order-column-search.product-search{min-width:330px}.order-column-search i{color:#758097;font-size:14px;font-style:normal}.order-column-search input{height:30px;margin:0;padding:6px 9px;border-radius:7px;font-size:10px;font-weight:500;letter-spacing:0}.order-column-search input::-webkit-search-cancel-button{cursor:pointer}
.order-fulfillment-table .order-check{width:46px;min-width:46px;padding-left:14px;padding-right:5px;text-align:center}.order-fulfillment-table input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--cyan);cursor:pointer}
.order-label-action{display:inline-flex;min-width:82px;align-items:center;justify-content:center;padding:9px 12px;border:1px solid rgba(40,230,215,.28);border-radius:9px;background:rgba(40,230,215,.06);color:var(--cyan);font-weight:800;cursor:pointer}.order-label-action:hover{border-color:var(--cyan);background:rgba(40,230,215,.11)}.order-label-action:disabled{opacity:.55;cursor:wait}.order-label-action span{color:inherit;font-size:12px}
.ozon-tracking-number{display:flex;min-width:118px;max-width:150px;align-items:center;gap:7px;white-space:normal}.ozon-tracking-number b{overflow-wrap:anywhere;color:#dbe5f5!important;font-size:11px;line-height:1.35}.copy-order-tracking{flex:0 0 auto;padding:2px;border:0;background:transparent;color:#4f8cff;font-size:15px;cursor:pointer}.copy-order-tracking:hover{color:var(--cyan)}
.domestic-package-cell.readonly b{color:#c9d1df!important;font-weight:600}.domestic-package-cell.readonly{min-width:118px;white-space:normal;overflow-wrap:anywhere}
.user-management-table table{min-width:1380px}.user-management-table .user-code{color:var(--cyan)!important;letter-spacing:.08em}.user-id-search{display:flex;align-items:center;gap:8px;color:#596277;font-size:9px}.user-id-search input{width:105px;height:30px;margin:0;padding:6px 9px;border-radius:7px;font-size:10px;font-weight:500;letter-spacing:0}.managed-user-points{display:inline-flex;min-width:76px;align-items:center;justify-content:space-between;gap:8px;padding:6px 9px;border:1px solid rgba(11,191,178,.2);border-radius:9px;background:rgba(11,191,178,.08)}.managed-user-points span{color:#667085;font-size:9px}.managed-user-points b{color:#087f75!important;font-size:12px}.user-admin-actions{min-width:220px;white-space:nowrap}.admin-highest{display:inline-flex;padding:5px 9px;border:1px solid rgba(255,207,90,.22);border-radius:999px;background:rgba(255,207,90,.08);color:var(--warning);font-size:9px;font-weight:800}
.user-create-card{padding-top:16px;padding-bottom:16px}.user-create-card .card-title{margin-bottom:10px}.user-create-inline{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 120px minmax(190px,.8fr) auto;align-items:end;gap:10px}.user-create-inline label{min-width:0;margin:0}.user-create-inline label>span,.user-permission-inline>span{display:block;margin-bottom:5px;color:#818ba0;font-size:10px;font-weight:600}.user-create-inline input{height:40px;margin:0}.user-create-inline .primary{height:40px;margin:0;padding:0 18px;white-space:nowrap}.user-permission-inline{min-width:0;padding:0 11px 8px;border-left:2px solid var(--warning)}.user-permission-inline b{display:block;overflow:hidden;color:#a99b71;font-size:10px;white-space:nowrap;text-overflow:ellipsis}@media(max-width:1100px){.user-create-inline{grid-template-columns:repeat(3,minmax(150px,1fr))}.user-create-inline .primary{width:100%}}@media(max-width:760px){.user-create-inline{grid-template-columns:1fr}.user-create-limit{width:100%}}
.account-menu-shell{position:relative}.account-menu-toggle{display:flex;align-items:center;gap:8px;height:44px;padding:4px 10px 4px 5px;border:1px solid var(--line);border-radius:12px;background:#0b0e17;cursor:pointer}.account-menu-toggle>span,.account-summary>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,var(--cyan),#6ee5ff);color:#071015;font-size:12px;font-weight:900}.account-menu-toggle>b{max-width:115px;overflow:hidden;color:#e8edf7;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.account-menu-toggle>i{color:#667188;font-style:normal}.account-dropdown{position:absolute;z-index:90;right:0;top:calc(100% + 9px);width:260px;padding:8px;border:1px solid var(--line-strong);border-radius:15px;background:#111622;box-shadow:0 28px 80px rgba(0,0,0,.65)}.account-summary{display:flex;align-items:center;gap:11px;padding:10px 9px 13px;border-bottom:1px solid var(--line)}.account-summary b,.account-summary small{display:block}.account-summary b{color:#edf1f8}.account-summary small{margin-top:2px;color:var(--muted);font-size:9px}.account-dropdown>button{display:grid;width:100%;grid-template-columns:27px 1fr auto;align-items:center;gap:8px;padding:10px 9px;border:0;border-radius:9px;background:transparent;color:#c8d0df;text-align:left;cursor:pointer}.account-dropdown>button:hover{background:rgba(40,230,215,.07);color:#fff}.account-dropdown>button i{display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--line);border-radius:7px;color:#8390a5;font-size:9px;font-style:normal}.account-dropdown>button span{font-size:11px}.account-dropdown>button b{padding:2px 7px;border-radius:999px;background:rgba(40,230,215,.1);color:var(--cyan);font-size:9px}.account-dropdown>.account-logout{margin-top:6px;border-top:1px solid var(--line);border-radius:0 0 9px 9px;color:#ff8d99}.account-modal{position:fixed;inset:0;z-index:160;display:grid;place-items:center;padding:20px;background:rgba(3,5,10,.72);backdrop-filter:blur(7px)}.account-dialog{width:min(560px,100%);max-height:90vh;overflow:auto;padding:24px;border:1px solid rgba(40,230,215,.25);border-radius:20px;background:#111622;box-shadow:0 35px 110px rgba(0,0,0,.72)}.account-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.account-dialog-head small{color:var(--cyan);font:8px monospace;letter-spacing:.15em}.account-dialog-head h2{margin:4px 0 0}.close-account-modal{border:0;background:transparent;color:#8b95a8;font-size:28px;cursor:pointer}.account-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.account-profile-grid label{margin:0}.account-profile-grid label>span{display:block;margin-bottom:5px}.account-profile-grid input{margin:0}.account-profile-grid input:disabled{color:#7c879a;background:#0a0d15}.account-profile-grid .full{grid-column:1/-1}.account-security-note{margin-top:13px;padding:10px 12px;border-left:2px solid var(--warning);background:rgba(255,207,90,.06);color:#9e916b;font-size:10px}.points-filter-note{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;color:var(--muted);font-size:10px}.points-table table{min-width:900px}.point-change{font-size:13px}.point-change.income{color:var(--cyan)!important}.point-change.expense{color:#ff8090!important}@media(max-width:980px){.status-dot{display:none}.account-menu-toggle>b{display:none}.account-dropdown{right:0}}@media(max-width:650px){.store-select>span{display:none}.store-select select{min-width:120px}.account-profile-grid{grid-template-columns:1fr}.account-profile-grid .full{grid-column:auto}}
.purchase-order-toolbar{grid-template-columns:minmax(240px,1fr) 150px auto auto}.purchase-order-toolbar .secondary{white-space:nowrap}
.draft-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:13px;border:1px solid rgba(255,207,90,.2);border-radius:12px;background:rgba(255,207,90,.05)}.draft-banner b,.draft-banner span{display:block}.draft-banner b{color:var(--warning)}.draft-banner span{margin-top:3px;color:var(--muted);font-size:9px}.price-stock-table{max-height:640px}.price-stock-table input{width:110px;margin:0;padding:8px}.sale-status-head{display:flex;align-items:center;gap:8px}.sale-status-head select{width:auto;min-width:104px;margin:0;padding:6px 28px 6px 9px;border-radius:8px;color:#aeb6c8;font-weight:700;letter-spacing:0}.row-actions{display:flex;gap:9px}.danger-text{color:var(--danger)}
.draft-toolbar{display:flex;gap:8px}.draft-toolbar .primary{margin:0}.preview-panel{margin-top:14px;padding:16px;border:1px solid rgba(40,230,215,.18);border-radius:14px;background:rgba(40,230,215,.035)}.preview-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.preview-head b,.preview-head span{display:block}.preview-head span{margin-top:3px;color:var(--muted);font-size:9px}.preview-warnings{margin-bottom:10px;padding:9px 12px;border-left:2px solid var(--warning);background:rgba(255,207,90,.06);color:var(--warning);font-size:10px}.preview-warnings p{margin:3px 0}.submit-disabled{margin-top:12px}
.submit-gate{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;padding:14px;border:1px solid rgba(255,107,122,.2);border-radius:12px;background:rgba(255,107,122,.035)}.submit-gate .field{margin:0}.danger-submit{background:linear-gradient(100deg,#ff7b83,#ffb15e);box-shadow:0 10px 30px rgba(255,107,122,.12)}.submit-outcome{display:flex;flex-direction:column;gap:4px;margin-top:12px;padding:12px;border-left:2px solid var(--cyan);background:rgba(40,230,215,.05)}.submit-outcome b{color:var(--cyan)}.submit-outcome span,.submit-outcome small{color:var(--muted);font-size:10px}.submit-outcome.partial,.submit-outcome.failed{border-color:var(--warning);background:rgba(255,207,90,.05)}.submit-outcome.partial b,.submit-outcome.failed b{color:var(--warning)}
.detail-summary{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}.detail-summary span{padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:#0b0e17;color:var(--muted);font-size:10px}.detail-summary b{color:#e8edf7}.external-link{color:var(--cyan);font-size:10px;text-decoration:none}.external-link:hover{text-decoration:underline}
.category-search-row{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:end}.category-search-row input{min-width:0}.category-search-row .secondary{height:39px;white-space:nowrap}.category-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:320px;margin-top:10px;overflow:auto}.category-result{display:flex;flex-direction:column;gap:3px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#0b0e17;color:#cbd2df;text-align:left;cursor:pointer}.category-result:hover{border-color:rgba(40,230,215,.38);background:rgba(40,230,215,.05)}.category-result b{color:#e9edf7}.category-result span,.category-result small{color:var(--muted);font-size:9px}.category-result small{color:#77839a}.category-message{grid-column:1/-1;padding:12px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:10px;text-align:center}
.form-actions-inline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.form-actions-inline .primary,.form-actions-inline .secondary{margin-top:0;height:44px}.alibaba-empty-preview{margin-top:14px;padding:18px;border:1px dashed var(--line-strong);border-radius:14px;background:#0b0e17;color:#8d97aa}.alibaba-empty-preview b,.alibaba-empty-preview span{display:block}.alibaba-empty-preview span{margin-top:5px;font-size:12px}.alibaba-product-preview{margin-top:16px;padding:16px;border:1px solid rgba(40,230,215,.22);border-radius:16px;background:linear-gradient(145deg,rgba(40,230,215,.045),rgba(102,135,255,.035))}.alibaba-product-preview .preview-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.alibaba-product-preview .preview-head b,.alibaba-product-preview .preview-head span{display:block}.alibaba-product-preview .preview-head span{margin-top:5px;color:var(--muted);font-size:12px}.alibaba-product-main{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;margin:14px 0;padding:12px;border:1px solid var(--line);border-radius:12px;background:#0b0e17}.alibaba-product-main p{margin:0;color:#9aa4b7;font-size:13px;line-height:1.7}.alibaba-product-main .product-image-zoom,.alibaba-product-main .product-image-zoom>img{width:96px;height:96px}.no-preview-image,.sku-config-image span{display:grid;place-items:center;width:96px;height:96px;border:1px dashed var(--line);border-radius:10px;color:#667085;background:#090c14}.alibaba-product-preview h3{display:flex;align-items:center;justify-content:space-between;margin:16px 0 9px;color:#e9edf7;font-size:16px}.alibaba-product-preview h3 small{color:var(--cyan);font-size:12px}.alibaba-product-preview table input[type=checkbox]{width:16px;height:16px;accent-color:var(--cyan)}.alibaba-sku-config-list{display:grid;gap:10px}.alibaba-sku-config{display:grid;grid-template-columns:64px minmax(180px,1.2fr) repeat(5,minmax(95px,1fr));gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:13px;background:#0b0e17}.alibaba-sku-config .sku-config-image img{width:64px;height:64px;border-radius:9px;object-fit:cover;background:#fff}.alibaba-sku-config .sku-config-image span{width:64px;height:64px;font-size:12px}.alibaba-sku-config b,.alibaba-sku-config small{display:block}.alibaba-sku-config small{margin-top:4px;color:var(--muted);font-size:11px}.alibaba-sku-config label{margin:0;color:#8792a7;font-size:11px}.alibaba-sku-config input{margin-top:5px;padding:9px 10px}
.capture-token-panel{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,460px) auto;gap:12px;align-items:center;margin-bottom:14px}.capture-token-panel b,.capture-token-panel span{display:block}.capture-token-panel span{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.5}.capture-token-panel code{display:block;min-height:42px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#090c14;color:var(--cyan);font-size:12px;white-space:nowrap;overflow:auto}.capture-token-panel .row-actions{justify-content:flex-end}.capture-token-panel .secondary,.capture-token-panel .primary{margin-top:0;white-space:nowrap}
.capture-records-wrap{max-height:390px;overflow-y:auto;overflow-x:hidden;border:1px solid var(--line);border-radius:12px}.capture-records-table{width:100%;table-layout:fixed}.capture-records-table .capture-product-col{width:41%}.capture-records-table .capture-image-col{width:9%}.capture-records-table .capture-sku-col{width:7%}.capture-records-table .capture-time-col{width:18%}.capture-records-table .capture-action-col{width:25%}.capture-records-table th,.capture-records-table td{padding:10px 14px;vertical-align:middle}.capture-records-table .capture-product{min-width:0}.capture-records-table .capture-product b,.capture-records-table .capture-product small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.capture-records-table .capture-product small{margin-top:5px}.capture-main-image,.capture-main-image>img{width:54px!important;height:54px!important;flex-basis:54px!important;border-radius:8px;object-fit:cover;background:#fff}.capture-no-image{display:grid;place-items:center;width:54px;height:54px;border:1px dashed var(--line);border-radius:8px;color:var(--muted);font-size:11px}.capture-row-actions{display:flex;align-items:center;gap:14px;white-space:nowrap}.capture-row-actions .link-btn{margin:0}
.capture-listing-form{display:grid;gap:16px}.selected-capture-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border:1px dashed var(--line-strong);border-radius:13px;background:#090c14}.selected-capture-summary.active{border-style:solid;border-color:rgba(40,230,215,.42);background:rgba(40,230,215,.055)}.selected-capture-summary span,.selected-capture-summary b{display:block}.selected-capture-summary span{margin-bottom:5px;color:var(--muted);font-size:11px}.selected-capture-summary b{color:#eef2fb;font-size:15px}.selected-capture-summary small{color:var(--muted);text-align:right}.selected-capture-summary.active small{color:var(--cyan)}.capture-category-config{padding:16px;border:1px solid var(--line);border-radius:14px;background:#0b0e17}.create-capture-ai-task{display:block;min-width:240px;margin:16px 0 0 auto}.step-card-hint{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:12px 14px;border:1px solid rgba(40,230,215,.22);border-radius:12px;background:rgba(40,230,215,.045)}.step-card-hint b,.step-card-hint span{display:block}.step-card-hint span{color:var(--muted);font-size:12px;text-align:right}
.capture-ai-workspace{min-height:430px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#0a0e17}.capture-flow-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border-bottom:1px solid var(--line);background:#101622}.capture-flow-left,.capture-flow-right{display:flex;align-items:center;gap:9px}.capture-flow-toolbar button{height:40px;margin:0;padding:0 17px}.category-flow-button{max-width:320px;color:var(--cyan);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.capture-flow-status{padding:9px 13px;border:1px solid var(--line-strong);border-radius:10px;color:#aeb8ca;font-size:12px;font-weight:800}.capture-flow-status.ready,.capture-flow-status.complete{border-color:rgba(40,230,215,.35);color:var(--cyan);background:rgba(40,230,215,.07)}.capture-flow-status.collecting,.capture-flow-status.ai{border-color:rgba(255,180,60,.35);color:#ffc65c;background:rgba(255,180,60,.07)}.capture-basic-info{padding:14px 16px;border-bottom:1px solid var(--line)}.capture-product-summary{display:flex;align-items:center;gap:13px}.capture-product-summary .product-image-zoom,.capture-product-summary .product-image-zoom img{width:64px;height:64px}.capture-product-summary b,.capture-product-summary span{display:block}.capture-product-summary span{margin-top:4px;color:var(--muted);font-size:12px}.capture-execution-placeholder{display:grid;min-height:270px;place-content:center;text-align:center}.capture-execution-placeholder b{font-size:18px}.capture-execution-placeholder span{max-width:600px;margin-top:8px;color:var(--muted);font-size:13px}.capture-workspace-empty{display:grid;min-height:350px;place-content:center;text-align:center;border:1px dashed var(--line-strong);border-radius:15px;background:#090c14}.capture-workspace-empty b{font-size:18px}.capture-workspace-empty span{max-width:620px;margin-top:8px;color:var(--muted)}
.capture-flow-modal{position:fixed;inset:0;z-index:210;display:grid;place-items:center;padding:22px;background:rgba(2,4,9,.8);backdrop-filter:blur(7px)}.capture-category-dialog,.capture-sku-dialog{width:min(980px,96vw);max-height:92vh;overflow:hidden;border:1px solid rgba(40,230,215,.3);border-radius:20px;background:#101521;box-shadow:0 35px 120px rgba(0,0,0,.78)}.capture-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:19px 21px;border-bottom:1px solid var(--line)}.capture-modal-head b,.capture-modal-head span{display:block}.capture-modal-head b{font-size:19px}.capture-modal-head span{margin-top:5px;color:var(--muted);font-size:12px}.capture-category-search{display:grid;grid-template-columns:1fr auto;gap:10px;padding:13px 18px;border-bottom:1px solid var(--line)}.capture-category-search input,.capture-category-search button{margin:0}.capture-category-columns{display:grid;grid-template-columns:minmax(330px,.9fr) minmax(390px,1.1fr);height:min(560px,62vh)}.capture-category-results,.capture-category-attributes{overflow:auto;padding:14px}.capture-category-results{border-right:1px solid var(--line)}.capture-category-results .category-result{margin-bottom:8px}.capture-category-attributes .attribute-preview{margin:0}.capture-category-attributes .required-attributes{display:grid;grid-template-columns:1fr;max-height:none}.capture-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 18px;border-top:1px solid var(--line);background:#0b101a}.capture-modal-footer>span{color:var(--muted);font-size:12px}.capture-modal-footer button{margin:0}.capture-sku-actions{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--line)}.capture-sku-actions button{margin:0}.capture-sku-choice-list{display:grid;gap:8px;max-height:65vh;overflow:auto;padding:12px 15px}.capture-sku-choice{display:grid;grid-template-columns:auto 58px minmax(0,1fr) auto;align-items:center;gap:12px;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#0b0f18;cursor:pointer}.capture-sku-choice:has(input:checked){border-color:rgba(40,230,215,.34);background:rgba(40,230,215,.045)}.capture-sku-choice input{width:17px;margin:0;accent-color:var(--cyan)}.capture-sku-choice img,.capture-sku-choice i{display:grid;width:58px;height:58px;place-items:center;border-radius:9px;object-fit:cover;background:#fff;color:#667085;font-size:11px;font-style:normal}.capture-sku-choice b,.capture-sku-choice small{display:block}.capture-sku-choice small{margin-top:4px;color:var(--muted)}.capture-sku-choice aside{text-align:right}.capture-live-progress{display:flex;align-items:center;gap:13px;margin:14px;padding:14px;border:1px solid rgba(255,180,60,.25);border-radius:12px;background:rgba(255,180,60,.055)}.capture-live-progress b,.capture-live-progress small{display:block}.capture-live-progress small{margin-top:4px;color:var(--muted)}.capture-spinner{width:24px;height:24px;border:3px solid rgba(255,198,92,.2);border-top-color:#ffc65c;border-radius:50%;animation:spin .8s linear infinite}.capture-field-summary{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;color:var(--muted);font-size:12px}.capture-field-summary b{color:var(--cyan);font-size:14px}.capture-ozon-field-table{margin:0 14px 16px;border:1px solid var(--line);border-radius:12px}.capture-ozon-field-table table{min-width:1850px}.capture-ozon-field-table th{min-width:135px;white-space:normal}.capture-ozon-field-table th:first-child,.capture-ozon-field-table th:nth-child(2){min-width:55px}.capture-ozon-field-table th span,.capture-ozon-field-table th small{display:block}.capture-ozon-field-table th small{margin-top:3px;color:var(--cyan);font-size:10px}.capture-ozon-field-table td{vertical-align:middle}.capture-ozon-field-table td b,.capture-ozon-field-table td small{display:block}.capture-ozon-field-table td small{margin-top:4px;color:var(--muted)}.capture-ozon-field-table input{min-width:115px;margin:0;padding:9px}.capture-ozon-field-table .product-image-zoom,.capture-ozon-field-table .product-image-zoom img{width:46px;height:46px}
@keyframes spin{to{transform:rotate(360deg)}}
.capture-category-dialog .capture-category-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin:12px 18px 0;padding:0 8px 0 11px;border:1px solid #d7e0eb;border-radius:9px;background:#fff}.capture-category-dialog .capture-category-search>span{color:#718096;font-size:20px;font-weight:800}.capture-category-dialog .capture-category-search input{height:42px;padding:0;border:0;background:transparent;box-shadow:none}.capture-category-dialog .capture-category-search input:focus{box-shadow:none}.capture-category-dialog #clearOzonCategorySearch{display:grid;width:28px;height:28px;margin:0;padding:0;place-items:center;border:0;border-radius:7px;background:transparent;color:#718096;font-size:20px;line-height:1}.capture-category-dialog #clearOzonCategorySearch:hover{background:#edf2f7;color:#172033}.capture-category-results{display:block;margin-top:0;overflow:auto;background:#fff}.capture-category-reset-panel{display:flex;align-items:flex-start;justify-content:flex-end;padding:14px;background:#101521}.capture-category-reset-panel #resetAlibabaCategorySelection{width:auto;min-width:120px;margin:0;background:#fff;color:#172033}.alibaba-category-tree{display:block;min-height:100%}.alibaba-category-search-caption{padding:7px 10px;color:#667085;font-size:12px}.alibaba-category-tree-node{position:relative}.alibaba-category-tree-row{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:4px;width:100%;min-height:32px;margin:0;padding:5px 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:#172033;text-align:left;cursor:pointer}.alibaba-category-tree-row:hover{background:#f1f5f9}.alibaba-category-tree-row:disabled{opacity:.65}.alibaba-category-tree-row b{overflow:hidden;color:#172033;font-size:13px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.alibaba-category-tree-arrow{color:#a8b7c7;font-size:20px;font-weight:700;line-height:1;transition:transform .15s}.alibaba-category-tree-node.expanded>.alibaba-category-tree-row .alibaba-category-tree-arrow{transform:rotate(90deg)}.alibaba-category-tree-node.loading>.alibaba-category-tree-row .alibaba-category-tree-arrow{animation:spin .7s linear infinite}.alibaba-category-tree-children{position:relative;margin-left:18px;padding-left:10px;border-left:1px solid #cbd8e6}.alibaba-category-tree-children>.alibaba-category-tree-node:before{content:'';position:absolute;left:-10px;top:16px;width:10px;border-top:1px solid #cbd8e6}.alibaba-category-tree-node.leaf .alibaba-category-tree-row{grid-template-columns:18px minmax(0,1fr)}.alibaba-category-tree-leaf{display:block;width:12px;border-top:1px solid #cbd8e6}.alibaba-category-tree-row.selected{border-color:#146cff;background:#eef5ff;box-shadow:0 0 0 1px #146cff}.alibaba-category-tree-row.selected b{font-weight:700}.capture-modal-footer #captureCategoryFooter{flex:1 1 auto;min-width:0;overflow:hidden;color:#667085;text-overflow:ellipsis;white-space:nowrap}.capture-modal-footer #confirmAlibabaCategory{flex:0 0 auto;width:auto;min-width:120px;background:#146cff;color:#fff}
@media(max-width:900px){.qwen-key-panel{grid-template-columns:1fr}.qwen-key-panel .row-actions{justify-content:flex-start}.capture-flow-toolbar{align-items:flex-start;flex-direction:column}.capture-flow-left,.capture-flow-right{width:100%;flex-wrap:wrap}.capture-category-columns{grid-template-columns:1fr;height:65vh}.capture-category-results{border-right:0;border-bottom:1px solid var(--line)}.capture-category-attributes{display:none}.capture-token-panel{grid-template-columns:1fr}.capture-sku-choice{grid-template-columns:auto 48px 1fr}.capture-sku-choice aside{grid-column:3;text-align:left}}
.attribute-loading{margin-top:10px;padding:12px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:10px}.attribute-preview{display:grid;grid-template-columns:auto 1fr;gap:12px;margin-top:10px;padding:13px;border:1px solid rgba(102,135,255,.18);border-radius:12px;background:rgba(102,135,255,.045)}.attribute-preview>div:first-child b,.attribute-preview>div:first-child span{display:block}.attribute-preview>div:first-child span,.attribute-preview>small{margin-top:3px;color:var(--muted);font-size:9px}.attribute-preview>small{grid-column:1/-1}.required-attributes{display:flex;flex-wrap:wrap;gap:7px}.required-attribute{padding:7px 9px;border:1px solid rgba(40,230,215,.16);border-radius:9px;background:rgba(40,230,215,.05)}.required-attribute b,.required-attribute small{display:block}.required-attribute b{color:#dce3ee;font-size:10px}.required-attribute small{margin-top:2px;color:var(--cyan);font-size:8px}
.ai-analysis{margin-top:14px;padding:15px;border:1px solid rgba(102,135,255,.2);border-radius:14px;background:linear-gradient(145deg,rgba(102,135,255,.07),rgba(40,230,215,.025))}.ai-analysis-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.ai-analysis-head b,.ai-analysis-head span{display:block}.ai-analysis-head span{margin-top:3px;color:var(--muted);font-size:9px}.ai-analysis details{margin-top:10px}.ai-analysis summary{color:var(--cyan);font-size:10px;cursor:pointer}.ai-analysis details .table-wrap{margin-top:9px}.ai-execution-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0;padding:15px 17px;border:1px solid rgba(40,230,215,.25);border-radius:13px;background:linear-gradient(90deg,rgba(40,230,215,.08),rgba(102,135,255,.06))}.ai-execution-bar b,.ai-execution-bar span{display:block}.ai-execution-bar span{margin-top:5px;color:var(--muted);font-size:12px}.ai-execution-bar button{margin:0;white-space:nowrap}.ai-context{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0}.ai-context span{padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:#0b0e17;color:#aeb8ca;font-size:12px}.ai-product-editor{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px;margin-bottom:14px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#0b0e17}.ai-product-editor label{margin:0;color:#8d98ab;font-size:12px}.ai-product-editor input,.ai-product-editor textarea{margin-top:6px}.ai-product-editor .wide{grid-column:1/-1}.ai-product-editor textarea{min-height:94px}.ai-sku-field-table table{min-width:4200px}.ai-sku-field-table th{vertical-align:bottom}.ai-sku-field-table th>span{display:block;white-space:nowrap}.ai-sku-field-table .copy-first-ai-field{display:block;margin:4px 0 0;padding:0;border:0;background:transparent;color:#5d8cff;font-size:11px;cursor:pointer}.ai-sku-field-table td{padding:8px 6px}.ai-sku-field-table input{min-width:130px;margin:0;padding:8px 9px}.ai-sku-field-table td:first-child{position:sticky;left:0;z-index:2;min-width:190px;background:#0f1420}.ai-sku-field-table .product-image-zoom,.ai-sku-field-table .product-image-zoom>img{width:46px;height:46px}.ai-raw-json{max-height:420px;overflow:auto;padding:14px;border:1px solid var(--line);border-radius:10px;background:#070a11;color:#b9c4d8;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap}
.listing-draft{margin-top:14px;padding:14px;border:1px solid rgba(40,230,215,.2);border-radius:12px;background:rgba(40,230,215,.035)}.listing-draft .submit-disabled{margin-top:10px}.ai-analysis-head .draft-toolbar{align-items:center}.ai-analysis-head .draft-toolbar .primary{margin:0}
.product-manage-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:9px;align-items:center;margin-bottom:10px}.product-manage-toolbar input,.product-manage-toolbar select,.product-manage-toolbar .primary{margin:0}.sync-note,.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px}.sync-note{margin-bottom:12px}.pagination{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.pagination-summary,.pagination-controls{display:flex;align-items:center;gap:8px}.pagination-summary select{width:94px;margin:0;padding:8px 9px}.pagination-controls button{display:grid;place-items:center;min-width:34px;height:34px;margin:0;padding:0 9px;border:1px solid var(--line);border-radius:8px;background:#111621;color:#aeb7c8;cursor:pointer}.pagination-controls button:hover:not(:disabled){border-color:var(--cyan);color:var(--cyan)}.pagination-controls button.page-number.active{border-color:var(--cyan);background:var(--cyan);color:#071015}.pagination-controls button:disabled{opacity:.45;cursor:not-allowed}.pagination-controls button.page-number.active:disabled{opacity:1}
.product-filter-shell{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.product-filter-bar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;gap:9px;flex:1;max-width:820px}.product-filter-bar input,.product-filter-bar select,.product-filter-bar .primary,.product-filter-actions .primary{margin:0}.product-filter-actions{display:flex;gap:8px;white-space:nowrap}.managed-status-tabs{display:flex;align-items:center;gap:4px;overflow-x:auto;margin:0 -2px 12px;padding:0 2px;border-bottom:1px solid var(--line)}.managed-status-tab{position:relative;display:flex;align-items:center;gap:7px;padding:10px 12px;border:0;background:transparent;color:#9aa4b8;white-space:nowrap;cursor:pointer}.managed-status-tab b{padding:2px 7px;border-radius:999px;background:#202637;color:#adb6c8;font-size:11px}.managed-status-tab.active{color:var(--cyan)}.managed-status-tab.active:after{content:"";position:absolute;left:8px;right:8px;bottom:0;height:2px;border-radius:2px;background:var(--cyan)}.managed-status-tab.active b{background:rgba(40,230,215,.13);color:var(--cyan)}
.warehouse-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) auto auto;gap:10px;align-items:center;margin-bottom:18px}.warehouse-toolbar select,.warehouse-toolbar button{margin:0}.warehouse-product-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:10px;align-items:center;margin:16px 0 12px}.warehouse-product-toolbar input,.warehouse-product-toolbar button{margin:0}.warehouse-target-stock{min-width:130px;margin:0}.target-stock-head{display:grid;grid-template-columns:auto auto 120px auto;gap:8px;align-items:center;min-width:455px}.target-stock-head input,.target-stock-head button{margin:0}.target-stock-head button{white-space:nowrap}
.selection-summary{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-height:28px;margin:-4px 0 4px;color:#8f99ac;font-size:12px}.selection-summary b{color:var(--cyan);font-size:13px}.warehouse-status-tabs{margin-top:2px}.warehouse-inventory-table table{min-width:1120px}.warehouse-inventory-table .warehouse-check{width:44px;padding-left:14px;padding-right:4px;text-align:center}.warehouse-inventory-table input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--cyan)}
.dashboard-sync{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding:13px 16px;border:1px solid var(--line);border-radius:14px;background:rgba(15,19,30,.82)}.dashboard-sync b,.dashboard-sync span{display:block}.dashboard-sync span{color:var(--muted);font-size:12px}.dashboard-sync .primary{margin:0}
.sales-trend-card{padding:20px 22px 14px}.sales-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:8px}.sales-section-head h2{margin:2px 0 0;font-size:20px}.sales-section-head small{color:var(--cyan);font:700 11px monospace;letter-spacing:.16em}.sales-section-head>span{color:#7d879b;font-size:13px}.sales-chart-shell{position:relative;overflow-x:auto}.sales-chart-legend{display:flex;justify-content:flex-end;gap:18px;padding:4px 14px 0;color:#aeb7c8;font-size:13px}.sales-chart-legend span{display:flex;align-items:center;gap:7px}.sales-chart-legend i{width:14px;height:9px;border-radius:3px}.sales-chart-legend .revenue i{background:#3fa9f5}.sales-combo-chart{display:block;width:100%;min-width:900px;height:auto;overflow:visible}.sales-grid-line{stroke:#253149;stroke-width:1}.sales-axis-label,.sales-date-label,.sales-axis-title{fill:#8290aa;font-size:12px}.sales-axis-title{fill:#aab7cf;font-weight:700}.sales-date-label{font-size:11px}.sales-day-hit{fill:transparent;cursor:crosshair}.sales-bar{transition:opacity .16s,filter .16s}.sales-bar.revenue{fill:#3fa9f5}.sales-day-group:hover .sales-bar{opacity:1;filter:brightness(1.18)}.sales-hover-guide{stroke:#68758d;stroke-width:1;stroke-dasharray:4 4;opacity:0;pointer-events:none}.sales-day-group:hover .sales-hover-guide{opacity:.75}.sales-svg-tooltip{opacity:0;pointer-events:none;transition:opacity .12s}.sales-day-group:hover .sales-svg-tooltip{opacity:1}.sales-svg-tooltip>rect{fill:#252c3a;stroke:#3a455b;stroke-width:1;filter:drop-shadow(0 8px 18px rgba(0,0,0,.38))}.sales-svg-tooltip text{fill:#eef3fb;font-size:12px}.sales-svg-tooltip .tooltip-date{fill:#fff;font-weight:700;font-size:13px}.sales-svg-tooltip circle.revenue{fill:#3fa9f5}.sales-svg-tooltip circle.orders{fill:#ffae3f}.dashboard-kpis{grid-template-columns:repeat(6,minmax(0,1fr));margin-top:16px}.dashboard-kpis article{border-top:3px solid transparent}.dashboard-kpis article.revenue{border-top-color:#43b3ff}.dashboard-kpis article.orders{border-top-color:#ffae3f}.dashboard-kpis article.returns{border-top-color:#ff6b7a}.dashboard-kpis article.packaging{border-top-color:#a578ff}.dashboard-kpis article.deliver{border-top-color:#75d246}.dashboard-kpis article.total-deliver{border-top-color:#22d7c4}.dashboard-kpis article.revenue small{color:#43b3ff}.dashboard-kpis article.orders small{color:#ffae3f}.dashboard-kpis article.returns small{color:#ff6b7a}.dashboard-kpis article.packaging small{color:#a578ff}.dashboard-kpis article.deliver small{color:#75d246}.dashboard-kpis article.total-deliver small{color:#22d7c4}
.sales-chart-legend .orders i{background:#ffae3f}.sales-bar.orders{fill:#ffae3f}.user-create-action .notice{margin-top:5px;min-height:44px;display:flex;align-items:center;border-radius:10px}.card-title>div{max-width:100%}
.store-actions{display:flex;flex-direction:column;gap:7px}.store-actions .secondary{white-space:nowrap}
.store-management{margin-top:0;padding:0;overflow:hidden;border-radius:18px;background:rgba(15,19,30,.86)}
.store-management-toolbar{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);background:#101521}
.store-add-button{flex:0 0 auto;border:0;border-radius:9px;padding:11px 17px;background:linear-gradient(135deg,#7457f6,#8e68ff);color:#fff;font-weight:800;cursor:pointer;box-shadow:0 9px 24px rgba(116,87,246,.2)}
.store-add-button:disabled{opacity:.45;cursor:not-allowed}
.store-capacity{display:flex;align-items:center;gap:9px;min-width:135px;color:#aeb6c8;font-size:13px}.store-capacity>span{width:100px;height:6px;overflow:hidden;border-radius:8px;background:#232a3b}.store-capacity i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#31dca9,#65e7c1)}
.store-filter-form{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) 140px auto auto;gap:8px;flex:1}.store-filter-form input,.store-filter-form select,.store-filter-form button{margin:0}.store-filter-form .primary{box-shadow:none}
.store-limit-notice{margin:12px 16px 0;padding:10px 12px;border:1px solid rgba(255,207,90,.18);border-radius:9px;background:rgba(255,207,90,.06);color:#c6ad65;font-size:13px}
.store-table{border:0;border-radius:0}.store-table table{min-width:1120px}.store-table th{padding:13px 14px;background:#0c1019;color:#8993a6}.store-table td{height:62px;padding:12px 14px}.store-table input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#7457f6}.store-table small{max-width:180px;overflow:hidden;text-overflow:ellipsis}.store-platform{color:#8ca3ff;font-weight:700}.store-default{display:inline-flex;padding:3px 8px;border:1px solid var(--line-strong);border-radius:6px;color:#9ba5b8}.store-default.yes{border-color:rgba(40,230,215,.24);color:var(--cyan)}.store-auth{display:inline-flex;padding:4px 9px;border:1px solid;border-radius:7px;font-size:12px;font-weight:700}.store-auth.authorized{border-color:rgba(84,218,120,.35);background:rgba(84,218,120,.08);color:#70e390}.store-auth.pending{border-color:rgba(255,207,90,.28);background:rgba(255,207,90,.07);color:var(--warning)}.store-table-actions{display:flex;gap:10px;align-items:center;white-space:nowrap}
.store-modal{position:fixed;inset:0;z-index:130;display:grid;place-items:center;padding:20px;background:rgba(3,5,10,.72);backdrop-filter:blur(6px)}.store-modal-dialog{width:min(540px,100%);max-height:92vh;overflow:auto;padding:24px 28px;border:1px solid rgba(116,87,246,.32);border-radius:20px;background:#111621;box-shadow:0 38px 120px rgba(0,0,0,.75)}.store-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.store-modal-head h2{margin:0;color:#f0f3f9;font-size:20px}.store-modal-close,.edit-store-modal-close{border:0;background:transparent;color:#8e98aa;font-size:28px;line-height:1;cursor:pointer}.store-modal .field{margin-top:15px}.store-modal .field.required>span:before{content:"*";margin-right:5px;color:#ff6b7a}.store-modal input,.store-modal select,.store-modal textarea{margin-top:8px;padding:13px 14px}.store-contract-help{margin-top:8px;color:#747f93;font-size:12px}.store-contract-help a{color:#6f91ff;text-decoration:none}.store-default-choice{margin:20px 0 4px;padding:0;border:0}.store-default-choice legend{margin-bottom:10px;color:#b3bccd;font-size:13px;font-weight:700}.store-default-choice label{display:inline-flex;align-items:center;gap:7px;margin-right:18px;color:#aab3c3}.store-default-choice input{width:auto;margin:0;accent-color:#7457f6}.store-note-count{text-align:right}.store-note-count b{display:inline;color:#aeb7c8}.store-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.store-modal-actions button{margin:0}.store-modal-actions .primary{min-width:80px;background:linear-gradient(135deg,#7457f6,#8e68ff);color:#fff;box-shadow:none}
.store-sync-modal{position:fixed;inset:0;z-index:145;display:grid;place-items:center;padding:20px;background:rgba(3,5,10,.76);backdrop-filter:blur(7px)}.store-sync-dialog{width:min(820px,100%);max-height:90vh;overflow:auto;border:1px solid rgba(116,87,246,.36);border-radius:18px;background:#111621;box-shadow:0 34px 100px rgba(0,0,0,.7)}.store-sync-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line)}.store-sync-head h2{margin:0;font-size:19px}.store-sync-close{border:0;background:transparent;color:#8e98aa;font-size:27px;cursor:pointer}.store-sync-select-all{display:flex;align-items:center;gap:18px;padding:16px 22px;border-bottom:1px solid var(--line);color:#aeb7c8}.store-sync-select-all label{display:flex;align-items:center;gap:8px}.store-sync-select-all input,.sync-store-card input{width:auto;margin:0;accent-color:var(--cyan)}.store-sync-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 22px}.sync-store-card{display:flex;align-items:center;gap:10px;min-height:70px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#0c111b;cursor:pointer}.sync-store-card:hover{border-color:rgba(40,230,215,.5)}.sync-store-card.disabled{opacity:.45;cursor:not-allowed}.sync-store-card span,.sync-store-card small{display:block}.sync-store-card b{color:#edf2fb}.sync-store-card small{margin-top:4px;color:#7f899c}.store-sync-progress{min-height:20px;padding:0 22px;color:#ffb84c;font-size:12px}.store-sync-dialog .store-modal-actions{padding:16px 22px;border-top:1px solid var(--line)}
@media(max-width:1180px){.app-shell{grid-template-columns:minmax(0,1fr) 230px}.kpi-grid{grid-template-columns:repeat(2,1fr)}.workflow{grid-template-columns:minmax(390px,520px) 1fr}.two-columns{grid-template-columns:1fr}.store-grid{grid-template-columns:1fr}.match-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1500px){.dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.app-shell{display:block;padding:12px}.sidebar{position:relative;top:0;height:auto;margin-bottom:12px;padding:10px}.sidebar:before{border-radius:18px 18px 0 0}.brand-card{padding:8px 8px 12px}.sidebar nav{display:flex;gap:6px;overflow:auto;padding:10px 0 2px}.sidebar nav section{display:flex;gap:5px;margin:0}.sidebar nav h2{display:none}.nav-item{width:auto;white-space:nowrap;padding:6px 9px}.nav-item span{font-size:10px}.nav-item.active{box-shadow:inset 0 -2px var(--cyan)}.nav-item i{display:none}.user-card{display:none}.topbar{height:62px}.workflow{grid-template-columns:1fr}.log-panel{display:none}.hero{grid-template-columns:1fr 210px}.hero-copy h1{font-size:34px}.ozon-actions{grid-template-columns:1fr 1fr}.ozon-actions>div{grid-column:1/-1}.order-toolbar,.purchase-order-toolbar{grid-template-columns:1fr 1fr}.order-toolbar>div{grid-column:1/-1}.order-status-toolbar{align-items:stretch;flex-direction:column}.order-status-toolbar>.primary{align-self:flex-end;margin-top:-4px}}
@media(max-width:1000px){.product-manage-toolbar{grid-template-columns:1fr 1fr}.product-manage-toolbar input{grid-column:1/-1}.warehouse-toolbar,.warehouse-product-toolbar{grid-template-columns:1fr 1fr}.warehouse-toolbar select,.warehouse-product-toolbar input{grid-column:1/-1}}
@media(max-width:1000px){.ai-product-editor{grid-template-columns:1fr 1fr}.ai-execution-bar,.ai-analysis-head{align-items:flex-start;flex-direction:column}}
@media(max-width:1000px){.product-filter-shell{align-items:stretch;flex-direction:column}.product-filter-bar{width:100%;max-width:none}.product-filter-actions{justify-content:flex-end}}
@media(max-width:1100px){.store-management-toolbar{align-items:stretch;flex-wrap:wrap}.store-filter-form{flex-basis:100%}}
@media(max-width:620px){.app-shell{padding:8px}.topbar{padding:10px 12px}.top-actions .status-dot,.store-select>span{display:none}.store-select select{min-width:120px}.hero{grid-template-columns:1fr;min-height:146px}.hero-copy{padding:22px 20px}.hero-copy h1{font-size:30px}.hero dl{display:none}.kpi-grid{grid-template-columns:1fr 1fr;gap:8px}.kpi-grid article{padding:14px}.content-card{padding:14px}.grid-2,.grid-3,.grid-action,.submit-gate,.category-results{grid-template-columns:1fr}.two-columns{grid-template-columns:1fr}.match-grid{grid-template-columns:1fr}.filter-bar,.toolbar{align-items:stretch;flex-direction:column}.filter-bar select,.toolbar input{width:100%;max-width:none}.store-card{grid-template-columns:50px 1fr}.store-card button{grid-column:1/-1}.store-logo{width:48px;height:48px}.option-row{flex-direction:column}}
@media(max-width:620px){.product-filter-bar{grid-template-columns:1fr}.product-filter-actions{display:grid;grid-template-columns:1fr 1fr}.product-filter-actions button{width:100%}}
@media(max-width:620px){.product-info-form-grid{grid-template-columns:1fr}.product-info-form-grid .full{grid-column:auto}.dimension-inputs{grid-template-columns:1fr}.dimension-inputs>b{display:none}}
@media(max-width:700px){.store-filter-form{grid-template-columns:1fr 1fr}.store-filter-form input,.store-filter-form select{grid-column:1/-1}.store-modal-dialog{padding:20px}.store-management-toolbar{padding:12px}.store-sync-grid{grid-template-columns:1fr}.store-sync-dialog{max-height:94vh}}

/* Readability scale: keep all ERP pages legible without relying on browser zoom. */
body{font-size:16px;line-height:1.6}
button,input,select,textarea{font-size:14px}
small{font-size:12px!important;line-height:1.45}
.brand-card strong{font-size:16px}.brand-card span{font-size:13px}
nav h2{font-size:14px}.nav-item{font-size:14px}.nav-item span{font-size:14px!important}.nav-item i{font-size:12px}
.user-card small,.trial,.user-card button{font-size:12px}.user-card strong{font-size:15px}
.topbar small{font-size:12px}.topbar strong{font-size:18px}.status-dot,.store-select{font-size:13px}
.hero-copy small{font-size:13px}.hero-copy p{font-size:15px}.hero dt{font-size:12px}.hero dd{font-size:17px}.hero:after{font-size:10px}
.card-title h2{font-size:18px}.card-title h2:before{font-size:14px}
.kpi-grid span{font-size:13px}.kpi-grid small{font-size:12px}
.field,label{font-size:13px}.field small{font-size:12px!important}
.primary,.secondary,.link-btn,.tab-btn{font-size:13px}
.table-wrap th{font-size:12px}.table-wrap td{font-size:14px}.table-wrap td small{font-size:12px!important}.badge{font-size:11px}
.notice,.preview-warnings,.submit-outcome span,.submit-outcome small{font-size:13px}
.detail-summary span,.external-link,.category-result span,.category-result small,.category-message{font-size:13px}
.attribute-loading,.attribute-preview>div:first-child span,.attribute-preview>small,.required-attribute b,.required-attribute small{font-size:12px}
.ai-analysis-head span,.ai-copy p,.ai-analysis summary{font-size:13px}.ai-copy h3{font-size:18px}
.ozon-actions span,.order-toolbar span,.draft-banner span,.preview-head span,.store-card p,.match-grid span{font-size:12px}
.empty-state span,.generated-placeholder small,.auth-note,.login-error{font-size:12px}

/* Account/password login portal. */
.auth-gate{padding:28px;background:radial-gradient(circle at 12% 15%,rgba(37,153,220,.16),transparent 34%),linear-gradient(135deg,#edf4fb 0%,#f8fbff 52%,#eaf2fa 100%);backdrop-filter:none;color:#17324b}
.auth-layout{width:min(940px,100%);min-height:570px;display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden;border:1px solid rgba(29,94,139,.12);border-radius:28px;background:#fff;box-shadow:0 36px 90px rgba(33,76,109,.2)}
.auth-intro{position:relative;padding:52px;color:#fff;background:linear-gradient(145deg,#12659a,#238fc7 62%,#30acd2);overflow:hidden}.auth-intro:before,.auth-intro:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.15);border-radius:50%}.auth-intro:before{width:340px;height:340px;right:-170px;top:-120px}.auth-intro:after{width:240px;height:240px;left:-130px;bottom:-100px}.auth-logo{position:relative;z-index:1;display:grid;place-items:center;width:58px;height:58px;margin-bottom:22px;border:1px solid rgba(255,255,255,.25);border-radius:17px;background:rgba(255,255,255,.14);font-size:21px;font-weight:900}.auth-intro>span{position:relative;z-index:1;font-size:13px;font-weight:800;letter-spacing:.2em}.auth-intro h1{position:relative;z-index:1;margin:25px 0 14px;font-size:38px;line-height:1.22;letter-spacing:-.03em}.auth-intro>p{position:relative;z-index:1;margin:0 0 36px;color:rgba(255,255,255,.78);font-size:15px}.auth-feature{position:relative;z-index:1;display:flex;align-items:center;gap:14px;margin-top:14px;padding:14px 16px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:rgba(255,255,255,.09)}.auth-feature b{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:11px;background:rgba(255,255,255,.16);font-size:14px}.auth-feature span{font-size:13px;line-height:1.45}
.auth-card{width:auto;padding:50px 46px;border-radius:0;background:#fff;color:#29445b;box-shadow:none}.auth-card-head>span{color:#1688c1;font-size:13px;font-weight:800;letter-spacing:.14em}.auth-card-head h2{margin:8px 0 5px;color:#17324b;font-size:30px}.auth-card-head p{margin:0 0 28px;color:#8295a5;font-size:14px}.auth-card label{margin:0}.auth-field{display:block;margin-top:17px!important;color:#536b7d!important;font-size:13px!important;font-weight:700}.auth-field>span{display:block;margin-bottom:7px}.auth-input{display:flex;align-items:center;gap:10px;height:52px;border:1px solid #d7e1e9;border-radius:11px;background:#f5f9fd;transition:.2s}.auth-input:focus-within{border-color:#2f98cc;box-shadow:0 0 0 4px rgba(47,152,204,.1);background:#fff}.auth-input i{display:grid;place-items:center;width:46px;height:100%;border-right:1px solid #dce6ed;color:#5593b5;font-style:normal;font-size:12px}.auth-input input{height:100%;margin:0;border:0;padding:0 12px 0 0;background:transparent;color:#17324b;box-shadow:none}.auth-input input:focus{box-shadow:none}.auth-input input::placeholder{color:#a4b2bd}.auth-input button{height:100%;border:0;padding:0 13px;background:transparent;color:#278aba;font-size:12px;cursor:pointer}.auth-options{display:flex;align-items:center;justify-content:space-between;margin-top:15px}.auth-options label{display:flex;align-items:center;gap:7px;color:#718697!important;font-size:12px!important;font-weight:500}.auth-options input{width:auto;margin:0}.auth-options button{border:0;background:transparent;color:#278aba;font-size:12px;cursor:pointer}.login-error{min-height:25px;padding-top:8px;color:#db5161;font-size:12px}.auth-submit{width:100%;height:50px;display:flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:11px;background:linear-gradient(100deg,#238fc7,#2ca8d6);color:#fff;font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 12px 28px rgba(35,143,199,.24)}.auth-submit:hover{filter:brightness(1.04);transform:translateY(-1px)}.auth-submit:disabled{opacity:.55;cursor:not-allowed}.auth-submit b{font-size:20px}.auth-help{margin-top:14px;padding:11px 12px;border-left:3px solid #e5a331;background:#fff8e9;color:#876522;font-size:12px}.auth-note{display:block;margin-top:20px;padding-top:18px;border-top:1px solid #edf1f4;color:#8da0ae!important;text-align:center;font-size:12px!important}
@media(max-width:780px){.auth-gate{padding:14px}.auth-layout{display:block;min-height:0}.auth-intro{display:none}.auth-card{padding:34px 24px;border-radius:22px}.auth-card-head h2{font-size:27px}}

/* Sales dashboard: orders use blue; revenue uses orange. */
.sales-chart-legend .orders i,.sales-bar.orders{background:#3fa9f5;fill:#3fa9f5}
.sales-chart-legend .revenue i,.sales-bar.revenue{background:#ffae3f;fill:#ffae3f}
.sales-svg-tooltip circle.orders{fill:#3fa9f5}
.sales-svg-tooltip circle.revenue{fill:#ffae3f}
.dashboard-kpis article.orders{border-top-color:#43b3ff}
.dashboard-kpis article.orders small{color:#43b3ff}
.dashboard-kpis article.revenue{border-top-color:#ffae3f}
.dashboard-kpis article.revenue small{color:#ffae3f}
.order-fulfillment-table table{min-width:1280px}.order-fulfillment-table th,.order-fulfillment-table td{padding:15px 18px;vertical-align:middle}.order-posting-number{color:#63a1ff;letter-spacing:.03em}.order-fulfillment-table .compact{margin:0;white-space:nowrap}.domestic-package-cell b,.domestic-package-cell small{display:block}.domestic-package-cell small{margin:5px 0}.domestic-package-cell .link-btn{padding:0}
.topbar{position:relative;z-index:100}

/* 1688 SKU第三步：货号、价格、重量和尺寸保持清晰的一行布局。 */
.alibaba-sku-config-list{overflow-x:auto}
.alibaba-sku-config{grid-template-columns:64px minmax(180px,1.2fr) minmax(185px,1.25fr) repeat(7,minmax(95px,1fr));min-width:1420px}
.alibaba-sku-config input[name=cargoNumber]{color:var(--cyan);background:rgba(40,230,215,.045)}
.ai-next-step{margin-top:14px;padding:12px 14px;border:1px solid rgba(40,230,215,.25);border-radius:11px;background:rgba(40,230,215,.055)}.ai-next-step b,.ai-next-step span{display:block}.ai-next-step span{margin-top:5px;color:var(--muted);font-size:12px}
#urlForm.wide-form{max-width:none}
#urlForm .alibaba-product-preview{width:100%}

/* 1688采集素材：SKU图片与详情页图片分开管理，便于删除和后续做图。 */
.capture-material-manager{margin-top:16px;padding:16px;border:1px solid rgba(40,230,215,.2);border-radius:14px;background:rgba(7,14,25,.55)}
.capture-material-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.capture-material-head>div{display:grid;gap:5px}.capture-material-head b{font-size:16px}.capture-material-head span,.capture-material-card small{color:var(--muted);font-size:12px}
.capture-material-section+.capture-material-section{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.capture-material-section h4{margin:0 0 10px;color:#dbe6f6;font-size:14px}
.capture-material-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:10px}.capture-material-card{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:10px;min-height:78px;padding:9px 42px 9px 9px;border:1px solid var(--line);border-radius:11px;background:rgba(10,16,28,.78)}.capture-material-card img{display:block;width:58px;height:58px;object-fit:cover;border-radius:8px;background:#fff}.capture-material-card>div{display:grid;gap:5px;min-width:0}.capture-material-card b,.capture-material-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.capture-material-card button{position:absolute;top:8px;right:8px;padding:4px 7px;border:1px solid rgba(255,90,113,.35);border-radius:7px;background:rgba(255,90,113,.08);color:#ff7187;cursor:pointer}.capture-material-card button:hover{background:rgba(255,90,113,.18)}.capture-material-empty{grid-column:1/-1;padding:18px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);text-align:center}
@media(max-width:760px){.capture-material-head{display:grid}.capture-material-grid{grid-template-columns:1fr}}

/* 1688 reference workbench: one continuous category/SKU/AI/image workflow. */
.capture-reference-shell{margin-top:16px;overflow:hidden;border-radius:20px;background:rgba(11,15,25,.92)}
.capture-library-drawer{border-bottom:1px solid var(--line);background:#0d121d}.capture-library-drawer>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;cursor:pointer;list-style:none}.capture-library-drawer>summary::-webkit-details-marker{display:none}.capture-library-drawer>summary>div{display:grid;gap:2px}.capture-library-drawer>summary b{font-size:15px}.capture-library-drawer>summary span{color:var(--muted);font-size:12px}.capture-library-drawer>summary em{padding:4px 10px;border:1px solid rgba(40,230,215,.2);border-radius:18px;background:rgba(40,230,215,.07);color:var(--cyan);font-style:normal;font-size:12px}.capture-library-drawer[open]>summary{border-bottom:1px solid var(--line)}
.capture-library-drawer .capture-token-panel{margin:14px 18px 10px}.capture-library-drawer #alibabaCaptureList{padding:0 18px 18px}.capture-library-drawer .capture-records-table{min-width:900px}.capture-library-drawer .capture-records-wrap{max-height:330px}
.capture-reference-form{max-width:none}.capture-reference-workspace{min-width:0}.capture-reference-toolbar{position:sticky;top:0;z-index:12;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:12px 16px;border-bottom:1px solid var(--line);background:rgba(13,18,29,.96);backdrop-filter:blur(16px)}.capture-reference-toolbar .capture-flow-left,.capture-reference-toolbar .capture-flow-right{display:flex;align-items:center;gap:9px}.capture-reference-toolbar .primary,.capture-reference-toolbar .secondary{width:auto;margin:0;white-space:nowrap}.capture-reference-toolbar .category-flow-button{max-width:390px;overflow:hidden;text-overflow:ellipsis}.capture-reference-toolbar .category-flow-button.selected{border-color:rgba(40,230,215,.38);background:rgba(40,230,215,.08);color:var(--cyan)}
.capture-reference-product{padding:12px 16px;border-bottom:1px solid var(--line);background:linear-gradient(90deg,rgba(40,230,215,.035),transparent)}.capture-reference-product .capture-product-summary{display:flex;align-items:center;gap:12px}.capture-reference-product .capture-product-summary img,.capture-reference-product .capture-no-image{width:62px;height:62px;display:grid;place-items:center;border-radius:10px;object-fit:cover;background:#fff}.capture-reference-product .capture-product-summary>div{display:grid;gap:4px}.capture-reference-product .capture-product-summary b{font-size:15px}.capture-reference-product .capture-product-summary span{color:var(--muted);font-size:12px}
.capture-reference-table-area{min-height:290px;padding:0 16px 14px}.capture-reference-table-area .capture-field-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 2px}.capture-reference-table-area .capture-field-summary span{color:var(--muted);font-size:12px}.capture-ozon-field-table{border-radius:8px;background:#0b101a}.capture-ozon-field-table table{min-width:1540px}.capture-ozon-field-table th{height:54px;padding:8px 10px;vertical-align:middle}.capture-ozon-field-table th>span{display:block;color:#ff6b7a}.capture-ozon-field-table th small{display:block;color:#5e93ff!important}.capture-ozon-field-table td{height:68px;padding:7px 9px;vertical-align:middle}.capture-ozon-field-table td:nth-child(1),.capture-ozon-field-table th:nth-child(1){position:sticky;left:0;z-index:4;background:#0b101a}.capture-ozon-field-table td:nth-child(2),.capture-ozon-field-table th:nth-child(2){position:sticky;left:48px;z-index:4;background:#0b101a}.capture-ozon-field-table input{min-width:112px;margin:0;padding:9px 10px}.capture-ozon-field-table td:nth-child(4){min-width:210px}.capture-ozon-field-table .product-image-zoom img,.capture-ozon-field-table .capture-no-image{width:46px;height:46px;display:grid;place-items:center;border-radius:7px;object-fit:cover;background:#fff}.capture-live-progress{margin:12px 0 0}
.draft-submit-actions{display:flex;align-items:center;gap:10px}.draft-submit-actions .primary{margin:0}
.capture-image-process-bar{display:flex;align-items:center;gap:8px;min-height:56px;padding:10px 16px;border-top:1px solid rgba(40,230,215,.16);border-bottom:1px solid rgba(40,230,215,.16);background:rgba(26,112,91,.11)}.capture-image-process-bar>b{color:#ff6b7a}.capture-image-process-bar .primary,.capture-image-process-bar .secondary{width:auto;margin:0}.capture-image-process-bar .capture-mode{border:1px solid var(--line-strong);border-radius:9px;padding:9px 14px;background:#121827;color:#aeb6c8;cursor:pointer}.capture-image-process-bar .capture-mode.active{border-color:rgba(87,123,255,.45);background:#263f9c;color:#fff}.capture-image-process-bar>span{margin-left:auto;color:var(--muted);font-size:12px}
.capture-image-studio{scroll-margin-top:84px;background:#0a0f19}.capture-image-studio-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line)}.capture-image-studio-toolbar>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.capture-image-studio-toolbar button{width:auto;margin:0}.capture-image-studio-toolbar>span{color:var(--muted);font-size:12px}.capture-image-sku-tabs{display:flex;align-items:center;gap:8px;min-height:64px;padding:9px 16px;overflow:auto;border-bottom:1px solid var(--line)}.capture-image-sku-tabs>.secondary{white-space:nowrap}.capture-sku-image-tab{display:grid;place-items:center;flex:0 0 48px;height:50px;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:#111827}.capture-sku-image-tab img{width:100%;height:32px;object-fit:cover}.capture-sku-image-tab b{font-size:9px}
.capture-image-studio-body{display:grid;grid-template-columns:minmax(350px,.95fr) minmax(560px,1.45fr);min-height:520px}.capture-output-panel{position:relative;padding:16px;border-right:1px solid var(--line)}.capture-output-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.capture-output-actions button{width:auto}.capture-output-panel>b{display:block;margin-bottom:14px}.capture-upload-card{width:150px;height:160px;display:grid;place-items:center;align-content:center;gap:7px;border:1px dashed #395173;border-radius:12px;color:#86a4d2;cursor:pointer}.capture-upload-card strong{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#17263c;color:#6a98ff;font-size:26px}.capture-upload-card span{color:#c2d3ec}.capture-upload-card small{color:#6f7e94!important}.capture-output-empty{position:absolute;left:190px;right:16px;top:120px;bottom:20px;display:grid;place-items:center;color:#4e5b70;text-align:center}
.capture-source-panel{min-width:0;padding:0 14px 18px;overflow:auto}.capture-source-tabs{position:sticky;top:0;z-index:3;display:flex;gap:24px;padding:14px 2px 10px;border-bottom:1px solid var(--line);background:#0a0f19}.capture-source-tabs b{padding-bottom:8px;border-bottom:2px solid var(--cyan);color:var(--cyan)}.capture-source-tabs span{color:#8791a5}.capture-source-panel section{margin-top:14px}.capture-source-panel h4{display:flex;align-items:center;gap:8px;margin:0 0 9px}.capture-source-panel h4 em{padding:2px 7px;border-radius:12px;background:#1a2333;color:#8e9ab0;font-style:normal;font-size:11px}.capture-source-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px}.capture-source-image-card{position:relative;min-height:190px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#0f1623}.capture-source-image-card .product-image-zoom,.capture-source-image-card img{display:block;width:100%;height:132px;object-fit:cover;background:#fff}.capture-source-image-card>div{display:grid;gap:3px;padding:8px 9px 34px}.capture-source-image-card b,.capture-source-image-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.capture-source-image-card small{color:var(--muted)}.capture-source-image-card>button{position:absolute;left:8px;right:8px;bottom:7px;border:1px solid rgba(255,107,122,.25);border-radius:7px;padding:5px;background:rgba(255,107,122,.07);color:#ff7187;cursor:pointer}.capture-source-image-card>button:hover{background:rgba(255,107,122,.17)}
.capture-reference-empty{min-height:300px;margin:18px;border:1px dashed #2b3549;border-radius:14px}.capture-task-history{margin-top:16px}.capture-task-history .table-wrap{max-height:340px}.capture-flow-status{white-space:nowrap}.capture-flow-status.collecting,.capture-flow-status.ai{color:var(--warning)}.capture-flow-status.complete{color:var(--cyan)}
.capture-reference-table-area .capture-field-summary em{padding:4px 9px;border:1px solid rgba(255,188,70,.25);border-radius:999px;background:rgba(255,188,70,.08);color:#ffc45f;font-style:normal;font-size:11px}
@media(max-width:1180px){.capture-reference-toolbar{align-items:flex-start;flex-direction:column}.capture-reference-toolbar .capture-flow-right{width:100%;justify-content:flex-end}.capture-image-studio-body{grid-template-columns:1fr}.capture-output-panel{min-height:330px;border-right:0;border-bottom:1px solid var(--line)}}
@media(max-width:760px){.capture-reference-toolbar .capture-flow-left,.capture-reference-toolbar .capture-flow-right,.capture-image-process-bar{align-items:stretch;flex-direction:column;width:100%}.capture-image-process-bar>span{margin-left:0}.capture-image-studio-toolbar{align-items:flex-start;flex-direction:column}.capture-image-studio-body{display:block}.capture-output-empty{position:static;min-height:120px}.capture-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 1688 single-page collection workbench: link, SKU, gallery and source details. */
.alibaba-single-workbench{min-width:0;background:#0a0f18}.single-collect-grid{display:grid;grid-template-columns:minmax(310px,360px) minmax(430px,.98fr) minmax(420px,1.05fr);gap:14px;padding:14px}.single-collect-sidebar,.single-product-gallery,.single-product-info{min-width:0;border:1px solid var(--line);border-radius:15px;background:#0e1521}.single-collect-sidebar{display:flex;flex-direction:column;max-height:820px;padding:14px}.single-link-field>span,.single-category-field>span{display:block;margin-bottom:7px;color:#dbe5f4;font-size:13px;font-weight:800}.single-link-field>div,.single-category-field>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.single-link-field input{margin:0;min-width:0}.single-link-field button,.single-category-field button{width:auto;margin:0;padding:0 17px;border:0;border-radius:9px;background:linear-gradient(120deg,#22d8c8,#57cbe9);color:#06111b;font-weight:900;cursor:pointer}.single-category-field{margin-top:13px}.single-category-field>div{align-items:center}.single-category-field b{min-width:0;overflow:hidden;padding:11px 12px;border:1px solid var(--line);border-radius:9px;color:#cfd9e8;text-overflow:ellipsis;white-space:nowrap}.single-category-recommend{margin-top:13px}.single-category-recommend h4,.single-product-info h4{margin:0 0 8px;color:#d9e3f2;font-size:13px}.single-category-recommend button{width:100%;display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:8px;margin:0 0 7px;padding:10px 11px;border:1px solid var(--line);border-radius:9px;background:#0b111c;color:#b8c3d4;text-align:left;cursor:pointer}.single-category-recommend button.active{border-color:rgba(40,230,215,.45);background:rgba(40,230,215,.07)}.single-category-recommend em{color:var(--cyan);font-style:normal;font-weight:900}.single-category-recommend span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.single-category-recommend p{margin:0;padding:11px;border:1px dashed var(--line);border-radius:9px;color:var(--muted);font-size:12px}.single-sku-head{display:flex;align-items:center;justify-content:space-between;margin:13px 0 8px}.single-sku-head h3{margin:0;font-size:15px}.single-sku-head span{color:var(--cyan);font-size:12px}.single-sku-list{flex:1;min-height:150px;overflow:auto;padding-right:4px}.single-sku-card{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:7px;margin-bottom:8px;padding:8px;border:1px solid var(--line);border-radius:12px;background:#0a101a;transition:.16s}.single-sku-card.active{border-color:rgba(40,230,215,.55);background:rgba(40,230,215,.065)}.single-sku-card>input{width:16px;height:16px;margin:0;accent-color:#27d9cc}.single-sku-card>button{display:grid;grid-template-columns:60px minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.single-sku-card img,.single-sku-card i{width:60px;height:60px;display:grid;place-items:center;border-radius:9px;background:#fff;object-fit:cover;color:#667085;font-style:normal;font-size:11px}.single-sku-card span{display:grid;gap:5px;min-width:0}.single-sku-card b,.single-sku-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.single-sku-card small{color:#8190a5}.single-import-button{width:100%;margin:11px 0 5px}.single-flow-note{color:#738197;text-align:center}
.single-product-gallery{padding:14px}.single-main-image{height:590px;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:#fff}.single-main-image .product-image-zoom,.single-main-image img{display:block;width:100%;height:100%}.single-main-image img{object-fit:contain}.single-main-image .capture-no-image{color:#6f7a89}.single-image-thumbs{display:flex;gap:8px;margin-top:11px;overflow:auto;padding:2px 2px 7px}.single-image-thumbs button{flex:0 0 68px;width:68px;height:68px;overflow:hidden;padding:3px;border:1px solid var(--line);border-radius:9px;background:#0a101a;cursor:pointer}.single-image-thumbs button.active{border-color:var(--cyan);box-shadow:0 0 0 2px rgba(40,230,215,.12)}.single-image-thumbs img{width:100%;height:100%;border-radius:6px;background:#fff;object-fit:cover}
.single-product-info{max-height:820px;overflow:auto;padding:17px}.single-product-info>h2{margin:0;color:#edf3fb;font-size:20px;line-height:1.45}.single-price-range{display:block;margin:9px 0 16px;color:#ff8657;font-size:23px}.single-product-info>section{margin-top:13px}.single-variant-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.single-variant-pills button{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:7px;min-height:48px;padding:5px 8px;border:1px solid var(--line);border-radius:9px;background:#111927;color:#cfd9e7;text-align:left;cursor:pointer}.single-variant-pills button.active{border-color:#ff8753;background:rgba(255,135,83,.09);color:#ffb18f}.single-variant-pills img{width:38px;height:38px;border-radius:7px;background:#fff;object-fit:cover}.single-variant-pills span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.single-current-combination{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:11px 12px;border-radius:9px;background:rgba(255,135,83,.09);color:#f4d3c4}.single-current-combination b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.single-current-combination span{color:#ffb57e;font-weight:900}.single-current-combination small{grid-column:1/-1;color:#8390a3}.single-attribute-list{border:1px solid var(--line);border-radius:9px;overflow:hidden}.single-attribute-list>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:10px;padding:10px 11px}.single-attribute-list>div+div{border-top:1px solid var(--line)}.single-attribute-list span{color:#78869b}.single-package-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.single-package-title button{width:auto;margin:0;padding:7px 10px;color:#ff9d73}.single-package-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.single-package-grid label{display:block;margin:0;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:#0a101a}.single-package-grid label>span{display:block;margin-bottom:5px;color:#8794a8;font-size:11px}.single-package-grid input{margin:0;padding:8px 9px;border-color:transparent;background:#111a28}
.single-product-attributes,.single-detail-section{margin:0 14px 14px;padding:18px;border:1px solid var(--line);border-radius:15px;background:#0e1521}.single-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.single-section-title>div{display:grid;gap:2px}.single-section-title span{color:var(--cyan);font-family:monospace;font-size:10px;letter-spacing:.16em}.single-section-title h3{margin:0;font-size:18px}.single-section-title small{color:#7c899d}.single-source-attribute-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--line);border-radius:10px}.single-source-attribute-grid>div{display:grid;grid-template-columns:145px minmax(0,1fr);gap:10px;padding:11px 13px;border-bottom:1px solid var(--line)}.single-source-attribute-grid>div:nth-child(odd){border-right:1px solid var(--line)}.single-source-attribute-grid span{color:#7b889c}.single-source-attribute-grid b{overflow-wrap:anywhere;color:#ccd6e5;font-weight:600}.single-detail-gallery{display:grid;justify-items:center;gap:12px}.single-detail-gallery article{width:min(860px,100%);overflow:hidden;border:1px solid var(--line);border-radius:11px;background:#fff}.single-detail-gallery article>div{display:flex;align-items:center;justify-content:space-between;padding:8px 11px;background:#101827;color:#aebbd0}.single-detail-gallery article>div button{border:0;background:transparent;color:#ff7187;cursor:pointer}.single-detail-gallery .product-image-zoom,.single-detail-gallery img{display:block;width:100%;height:auto}.single-detail-gallery img{object-fit:contain}.single-detail-empty{display:grid;gap:5px;padding:35px;border:1px dashed var(--line);border-radius:11px;color:#7c899c;text-align:center}.single-ozon-fields{margin:0 14px 14px;border:1px solid var(--line);border-radius:15px;background:#0e1521}.single-ozon-fields>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;cursor:pointer;list-style:none}.single-ozon-fields>summary::-webkit-details-marker{display:none}.single-ozon-fields>summary span{color:#7f8ca0;font-size:12px}.single-ozon-fields[open]>summary{border-bottom:1px solid var(--line)}.single-ozon-fields #captureExecutionArea{padding:0 14px 14px}
@media(max-width:1350px){.single-collect-grid{grid-template-columns:310px minmax(390px,1fr)}.single-product-info{grid-column:1/-1;max-height:none}.single-main-image{height:520px}}
@media(max-width:900px){.single-collect-grid{grid-template-columns:1fr}.single-collect-sidebar{max-height:none}.single-sku-list{max-height:420px}.single-main-image{height:min(72vw,520px)}.single-product-info{grid-column:auto}.single-source-attribute-grid{grid-template-columns:1fr}.single-source-attribute-grid>div:nth-child(odd){border-right:0}}
@media(max-width:560px){.single-variant-pills,.single-package-grid{grid-template-columns:1fr}.single-product-gallery,.single-collect-sidebar,.single-product-info{padding:11px}.single-product-attributes,.single-detail-section,.single-ozon-fields{margin:0 8px 10px}.single-source-attribute-grid>div{grid-template-columns:1fr}.single-ozon-fields>summary{align-items:flex-start;flex-direction:column}}

/* 1688 collection modules */
.alibaba-module-shell{overflow:hidden;border-radius:18px;background:#0a0f18}.alibaba-module-tabs{display:flex;align-items:center;gap:6px;min-height:58px;padding:0 18px;border-bottom:1px solid var(--line);background:#0d131f}.alibaba-module-tabs button{position:relative;width:auto;margin:0;padding:18px 22px;border:0;background:transparent;color:#aab6c8;font-size:16px;font-weight:900;cursor:pointer}.alibaba-module-tabs button:hover,.alibaba-module-tabs button.active{color:var(--cyan)}.alibaba-module-tabs button.active:after{content:"";position:absolute;right:16px;bottom:0;left:16px;height:3px;border-radius:3px 3px 0 0;background:var(--cyan)}.alibaba-module-panel{min-height:360px;padding:18px}.alibaba-module-title,.collection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.alibaba-module-title b,.collection-toolbar b{display:block;font-size:18px}.alibaba-module-title span,.collection-toolbar span{display:block;margin-top:5px;color:var(--muted);font-size:13px}.store-config-token{margin:0;min-height:96px}.qwen-key-panel{display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,460px) auto;gap:12px;align-items:center;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.qwen-key-panel b,.qwen-key-panel span{display:block}.qwen-key-panel>div>span{margin-top:5px;color:var(--muted);font-size:12px;line-height:1.5}.qwen-key-control{display:grid;gap:7px}.qwen-key-control input{width:100%;margin:0}.qwen-key-status{color:var(--muted);font-size:12px}.qwen-key-status.configured{color:var(--cyan)}.qwen-key-panel .row-actions{justify-content:flex-end}.qwen-key-panel button{margin:0;white-space:nowrap}.collection-actions{display:flex;align-items:center;gap:8px}.collection-actions input{width:min(520px,42vw);margin:0}.collection-actions button{margin:0;white-space:nowrap}.collection-table-wrap{border:1px solid var(--line);border-radius:12px}.collection-table th:first-child,.collection-table td:first-child{width:44px;text-align:center}.collection-product{display:flex;align-items:center;gap:12px;min-width:360px}.collection-product>img,.collection-product>.capture-no-image{width:58px;height:58px;display:grid;place-items:center;flex:0 0 58px;border-radius:10px;background:#fff;object-fit:cover}.collection-product>div{min-width:0}.collection-product b,.collection-product small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.collection-product small{margin-top:6px;color:var(--muted)}
.import-detail-page{margin-top:16px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#0a0f18}.import-detail-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.import-detail-top h2{display:inline-block;margin:0 0 0 15px}.import-detail-top>div>span{display:block;margin:7px 0 0;color:var(--muted)}.imported-product-detail{overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#0e1420}.imported-product-detail>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border-bottom:1px solid var(--line)}.imported-product-summary{display:flex;align-items:center;gap:14px;min-width:0}.imported-product-summary>.product-image-zoom,.imported-product-summary>.capture-no-image,.imported-product-summary img{width:76px;height:76px;display:grid;place-items:center;flex:0 0 76px;border-radius:11px;background:#fff;object-fit:cover}.imported-product-summary h3{max-width:920px;margin:0 0 7px;font-size:18px;line-height:1.45}.imported-product-summary span,.imported-product-summary a{display:block;margin-top:5px;font-size:12px}.imported-ai-actions{display:flex;gap:9px}.imported-ai-actions button{width:auto;min-width:130px;margin:0}.imported-image-section{padding:16px;border-bottom:1px solid var(--line)}.imported-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.imported-section-heading span{color:var(--muted);font-size:12px}.imported-main-images-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:10px;max-height:286px;overflow:auto;padding:2px}.imported-main-images-grid article{min-width:0;padding:6px;border:1px solid var(--line);border-radius:10px;background:#0a101a}.imported-main-images-grid .product-image-zoom,.imported-main-images-grid img{display:block;width:100%;aspect-ratio:1;border-radius:7px;background:#fff;object-fit:contain}.imported-main-images-grid small{display:block;margin-top:6px;color:#7f8ca0;text-align:center}.imported-product-detail>details{margin:0;padding:0 16px;border-bottom:1px solid var(--line)}.imported-product-detail>details>summary{padding:16px 0;color:#dfe8f6;font-size:15px;font-weight:900;cursor:pointer}.ozon-category-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-bottom:16px;overflow:hidden;border:1px solid var(--line);border-radius:11px;background:var(--line)}.ozon-category-field-grid>div{min-height:88px;padding:12px;background:#0b111c}.ozon-category-field-grid span,.ozon-category-field-grid small,.ozon-category-field-grid b{display:block}.ozon-category-field-grid span{color:#cbd6e6;font-weight:800}.ozon-category-field-grid small{margin-top:5px;color:var(--muted)}.ozon-category-field-grid b{margin-top:9px;color:#8795aa;font-size:12px;overflow-wrap:anywhere}.ozon-category-field-grid .required span{color:#ff7a86}.imported-detail-images{display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 0 18px}.imported-detail-images article{position:relative;width:min(100%,760px);background:#fff}.imported-detail-images article>span{position:absolute;top:8px;left:8px;z-index:2;padding:5px 8px;border-radius:7px;background:rgba(0,0,0,.7);color:#fff;font-size:11px}.imported-detail-images img{display:block;width:100%;height:auto}.ai-main-image-prompts{margin:14px 0;padding:14px;border:1px solid rgba(40,230,215,.25);border-radius:12px;background:rgba(40,230,215,.035)}.ai-main-image-prompts>div:first-child b,.ai-main-image-prompts>div:first-child span{display:block}.ai-main-image-prompts>div:first-child span{margin-top:5px;color:var(--muted);font-size:12px}.ai-main-image-prompts>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.ai-main-image-prompts article{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px;align-items:start}.ai-main-image-prompts em{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--cyan);color:#071019;font-style:normal;font-weight:900}.ai-main-image-prompts textarea{min-height:95px;margin:0}.ai-main-image-prompts p{color:var(--muted)}
@media(max-width:1000px){.alibaba-module-tabs{overflow:auto}.alibaba-module-tabs button{white-space:nowrap}.collection-toolbar,.alibaba-module-title,.imported-product-detail>header{align-items:flex-start;flex-direction:column}.collection-actions{width:100%}.collection-actions input{width:100%}.imported-main-images-grid{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));max-height:250px}.ozon-category-field-grid{grid-template-columns:1fr 1fr}.ai-main-image-prompts>div:last-child{grid-template-columns:1fr}}

/* Imported 1688 image curation: keep the three source groups compact and editable. */
.imported-selectable-image{position:relative;display:flex;flex-direction:column}
.imported-image-card-actions{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:6px}
.imported-image-card-actions label{display:flex;align-items:center;gap:4px;color:#aebbd0;font-size:11px;white-space:nowrap;cursor:pointer}
.imported-image-card-actions input{width:14px;height:14px;margin:0;accent-color:var(--cyan)}
.imported-image-card-actions button{width:auto;min-width:0;margin:0;padding:2px 4px;font-size:11px}
.imported-sku-image-groups{padding:0 0 16px}
.imported-sku-image-group{padding:14px 0;border-top:1px solid var(--line)}
.imported-sku-image-group:first-child{padding-top:0;border-top:0}
.imported-sku-image-group>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.imported-sku-image-group>div:first-child span{color:var(--muted);font-size:12px}
.imported-detail-images-grid{padding-bottom:16px}
.single-detail-empty span{display:block;margin-top:7px;color:var(--muted)}
@media(max-width:620px){.alibaba-module-tabs{padding:0 6px}.alibaba-module-tabs button{padding:16px 12px;font-size:14px}.alibaba-module-panel,.import-detail-page{padding:11px}.collection-actions{align-items:stretch;flex-direction:column}.imported-product-summary{align-items:flex-start}.imported-ai-actions{width:100%}.imported-ai-actions button{flex:1}.ozon-category-field-grid{grid-template-columns:1fr}}

/* Compact horizontal 1688 galleries and a balanced collection list. */
.collection-table{width:100%;table-layout:fixed}
.collection-table .collection-select-col{width:44px}
.collection-table .collection-product-col{width:44%}
.collection-table .collection-sku-col{width:9%}
.collection-table .collection-ai-col{width:10%}
.collection-table .collection-time-col{width:17%}
.collection-table .collection-link-col{width:11%}
.collection-table .collection-action-col{width:18%}
.collection-table th,.collection-table td{overflow:hidden}
.collection-product{min-width:0;width:100%}
.collection-table .row-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;white-space:nowrap}
.collection-table .row-actions .link-btn{flex:0 0 auto}
.collection-table .analyze-alibaba-item:disabled{color:#6f7a8e;cursor:not-allowed;text-decoration:none}
.collection-table .ai-analysis-action-locked{flex:0 0 auto;color:#6f7a8e;font-size:13px;font-weight:700;cursor:not-allowed;user-select:none}
.collection-upload-status{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:8px;min-width:0}
.collection-upload-status small{display:block;max-width:100%;color:var(--muted);font-size:11px;line-height:1.4;white-space:normal;word-break:break-word}
.collection-upload-status .upload-error{color:#ff8d9b}
.collection-upload-status .link-btn{padding:0;font-size:12px}
.collection-table .collection-product-col{width:23%}
.collection-table .collection-sku-col{width:7%}
.collection-table .collection-ai-col{width:10%}
.collection-table .collection-expand-col{width:7%}
.collection-table .collection-time-col{width:15%}
.collection-table .collection-link-col{width:11%}
.collection-table .collection-action-col{width:27%}
.collection-expand-toggle{min-width:58px;padding:6px 10px;border:1px solid rgba(45,220,216,.38);border-radius:8px;background:rgba(45,220,216,.07);color:var(--cyan);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.collection-expand-toggle:hover{border-color:var(--cyan);background:rgba(45,220,216,.13)}
.collection-expand-toggle[aria-expanded="true"]{border-color:rgba(129,140,248,.55);background:rgba(129,140,248,.11);color:#b7c0ff}
.collection-expand-toggle:disabled{cursor:wait;opacity:.65}
.collection-table .collection-source-link{display:inline-flex;align-items:center;white-space:nowrap;color:var(--cyan)}
.collection-table .collection-operation-actions{justify-content:flex-start;gap:12px}
.collection-table .analyze-and-generate-alibaba-item,.collection-table .ai-analysis-primary-action,.collection-table .ai-analysis-progress{--one-click-progress:0%;position:relative;isolation:isolate;width:152px;min-width:152px;min-height:38px;overflow:hidden;padding:8px 10px;border:1px solid #28c9de;border-radius:9px;background:linear-gradient(100deg,var(--cyan),#5ed8f6);color:#061014;text-align:center;text-decoration:none;box-shadow:0 8px 22px rgba(40,230,215,.14)}
.collection-table .analyze-and-generate-alibaba-item::before,.collection-table .ai-analysis-primary-action::before,.collection-table .ai-analysis-progress::before{content:"";position:absolute;z-index:0;inset:0 auto 0 0;width:var(--one-click-progress);background:linear-gradient(100deg,#16b8ae 0%,#33d9d0 35%,#73e5ff 55%,#16b8ae 100%);background-size:220% 100%;transition:width .35s ease}
.collection-table .analyze-and-generate-alibaba-item[data-progress-active="true"],.collection-table .ai-analysis-progress[data-progress-active="true"]{background:#e8f8fb;color:#062b32;box-shadow:inset 0 0 0 1px rgba(40,201,222,.12)}
.collection-table .analyze-and-generate-alibaba-item[data-progress-active="true"]::before,.collection-table .ai-analysis-progress[data-progress-active="true"]::before{animation:one-click-progress-flow 1.2s linear infinite}
.collection-table .analyze-and-generate-alibaba-item:hover{border-color:#16b8c9;background:linear-gradient(100deg,#20d8d2,#69dcf7);transform:translateY(-1px)}
.collection-table .ai-analysis-primary-action:hover{border-color:#16b8c9;background:linear-gradient(100deg,#20d8d2,#69dcf7);transform:translateY(-1px)}
.collection-table .analyze-and-generate-alibaba-item:disabled,.collection-table .ai-analysis-progress:disabled{color:#07303a;cursor:not-allowed;opacity:1;transform:none}
.collection-table .one-click-progress-label{position:relative;z-index:1;display:block;white-space:nowrap}
@keyframes one-click-progress-flow{from{background-position:100% 0}to{background-position:-120% 0}}
.collection-table .collection-ai-progress-control[data-progress-active="true"]{background:#e8f8fb;color:#062b32;box-shadow:inset 0 0 0 1px rgba(40,201,222,.12)}
.collection-table .collection-ai-progress-control[data-progress-active="true"]::before{animation:one-click-progress-flow 1.2s linear infinite}
.collection-table .one-click-ai-action-locked{flex:0 0 auto;color:#8791a5;font-size:13px;font-weight:700;white-space:nowrap}
.product-library-table .library-select-col{width:44px}
.product-library-table .library-product-col{width:38%}
.product-library-table .library-sku-col{width:8%}
.product-library-table .library-status-col{width:12%}
.product-library-table .library-time-col{width:17%}
.product-library-table .collection-link-col{width:10%}
.product-library-table .collection-action-col{width:15%}
.product-library-table th:nth-child(5),.product-library-table td:nth-child(5){white-space:nowrap}
.product-library-table .library-product-col{width:40%}
.product-library-table .library-price-col{width:10%}
/* Keep the visible frame outside the horizontal scroller so polling cannot flash its right edge. */
.alibaba-module-shell.glass{backdrop-filter:none}
.collection-table-frame{overflow:hidden;border:1px solid var(--line);border-right:0;border-radius:12px 0 0 12px;background:#0a0f18;contain:paint;isolation:isolate}
.collection-table-frame .collection-table-wrap{overflow-x:clip;overflow-y:clip;border:0;border-radius:0;background:#0a0f18;backdrop-filter:none}.collection-table-frame .collection-table-wrap.table-scrollable{overflow-x:auto;overflow-y:hidden}
.library-price-cell{color:#f4f7ff;font-size:14px;font-weight:800;white-space:nowrap}
.product-library-sku-cell{display:grid;gap:10px;min-width:0;padding:2px 0}
.product-library-sku-summary{display:flex;align-items:center;gap:12px;min-width:0}
.product-library-sku-summary>div:last-child{min-width:0}
.product-library-sku-summary b,.product-library-sku-summary small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-library-sku-summary small{margin-top:6px;color:var(--muted);font-size:12px}
.product-library-sku-summary .library-sku-code{display:flex;align-items:center;gap:6px;overflow:visible}
.copy-library-sku{width:auto;min-width:0;margin:0;padding:2px 6px;border:1px solid rgba(45,220,216,.34);border-radius:5px;background:rgba(45,220,216,.06);color:var(--cyan);font-size:10px;font-weight:800;line-height:1.35;cursor:pointer}
.copy-library-sku:hover{border-color:var(--cyan);background:rgba(45,220,216,.12)}
.copy-library-sku.copied{border-color:rgba(159,238,113,.55);color:#9fee71}
.library-primary-wrap{position:relative;flex:0 0 72px;width:72px;height:72px}
.library-primary-image{display:grid;width:72px;height:72px;place-items:center;border-radius:10px;overflow:hidden;background:#fff}
.library-primary-image img{width:100%;height:100%;object-fit:cover}
.library-primary-unavailable{display:none;width:100%;height:100%;padding:7px;place-items:center;background:#111827;color:#aab4c6;font-size:11px;font-weight:700;line-height:1.35;text-align:center}
.library-primary-image.load-failed img{display:none}
.library-primary-image.load-failed .library-primary-unavailable{display:grid}
.toggle-alibaba-library-images{position:absolute;right:3px;bottom:3px;min-width:31px;margin:0;padding:4px 6px;border:1px solid rgba(255,255,255,.34);border-radius:7px;background:rgba(5,10,18,.88);color:#fff;font-size:12px;font-weight:900;line-height:1;cursor:pointer;box-shadow:0 2px 9px rgba(0,0,0,.4)}
.toggle-alibaba-library-images:hover{border-color:var(--cyan);color:var(--cyan)}
.library-expanded-images{display:flex;align-items:flex-end;gap:8px;max-width:100%;overflow-x:auto;padding:8px 2px 4px 84px}
.library-expanded-images .product-image-zoom{display:block;flex:0 0 76px;width:76px;height:76px;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}
.library-expanded-images img{width:100%;height:100%;object-fit:cover}
.library-expanded-images .library-image-slot{position:relative;background:linear-gradient(110deg,#eef2f6 20%,#fff 38%,#eef2f6 56%);background-size:220% 100%;animation:library-image-loading 1.1s linear infinite}
.library-expanded-images .library-image-slot img{opacity:0;transition:opacity .16s ease}
.library-expanded-images .library-image-slot.loaded{animation:none;background:#fff}
.library-expanded-images .library-image-slot.loaded img{opacity:1}
.library-expanded-images .library-image-slot.load-failed{animation:none;background:repeating-linear-gradient(135deg,#f3f5f8 0 8px,#e5e9ef 8px 16px)}
@keyframes library-image-loading{to{background-position:-220% 0}}
.library-expanded-images .collapse-library-images{position:static;flex:0 0 auto;align-self:center;height:30px;padding:7px 10px}
.ozon-library-sku-detail{margin-top:16px;padding:18px;border:1px solid rgba(45,220,216,.3);border-radius:14px;background:#0b121e}
.ozon-library-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.ozon-library-detail-head b,.ozon-library-detail-head span{display:block}
.ozon-library-detail-head span{margin-top:5px;color:var(--muted);font-size:12px}
.ozon-library-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--line)}
.ozon-library-field-grid>div{min-width:0;padding:11px 12px;background:#0d1522}
.ozon-library-field-grid dt{color:#8390a6;font-size:11px;font-weight:700}
.ozon-library-field-grid dd{margin:6px 0 0;color:#edf2fb;font-size:13px;line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap}
@media(max-width:1100px){.ozon-library-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.imported-main-images-grid,
.imported-detail-images-grid{display:flex;grid-template-columns:none;gap:10px;max-height:none;overflow-x:auto;overflow-y:hidden;padding:2px 2px 12px;scrollbar-gutter:stable}
.imported-main-images-grid .imported-selectable-image{flex:0 0 116px;width:116px;min-width:116px}
.imported-sku-image-groups{display:grid;gap:12px;overflow:visible;padding:0 0 16px}
.imported-sku-image-group{display:block;width:100%;min-width:0;padding:14px;border:1px solid var(--line);border-radius:12px;background:#0a101a}
.imported-sku-image-group:first-child{padding-top:14px;border-top:1px solid var(--line)}
.imported-sku-image-group>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:0;margin-bottom:12px}
.imported-sku-image-group>div:first-child b{overflow-wrap:anywhere}
.imported-sku-image-group>div:first-child span{color:var(--muted);font-size:12px;text-align:right}
.imported-sku-image-row{display:flex;align-items:flex-start;gap:18px;min-width:0}
.imported-sku-source-images{flex:0 0 132px;width:132px}
.imported-generated-images{flex:1;min-width:0}
.imported-sku-source-images>b,.imported-generated-images>b{display:block;margin-bottom:8px;color:#aebbd0;font-size:12px}
.imported-sku-image-group .imported-main-images-grid{padding-bottom:4px}
.imported-sku-image-group .imported-main-images-grid article{flex:0 0 116px;width:116px;min-width:116px}
.imported-generated-empty{display:grid;min-height:152px;place-items:center;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:12px}
.imported-ai-image-slot{flex:0 0 116px;width:116px;min-width:116px}
.imported-ai-image-slot>div{display:grid;min-height:116px;place-content:center;gap:6px;padding:10px;border:1px dashed var(--line);border-radius:9px;text-align:center}
.imported-ai-image-slot>div b{font-size:24px;color:#aebbd0}
.imported-ai-image-slot>div span{font-size:12px;color:var(--muted)}
.imported-ai-image-slot.is-failed>div{border-color:rgba(255,91,113,.55);background:rgba(255,91,113,.08)}
.imported-ai-image-slot.is-failed>div b,.imported-ai-image-slot.is-failed>div span{color:#ff8ea0}
.imported-ai-image-slot.is-failed small{display:block;max-height:42px;overflow:hidden;color:#ff8ea0;line-height:1.35}
.imported-ai-image-slot .retry-alibaba-image-job{width:100%;min-width:0;margin:3px 0 0;padding:6px 7px;border-color:rgba(255,142,160,.55);color:#ffd8de;font-size:11px}
.imported-ai-image-slot .retry-alibaba-image-job:hover{border-color:#ff8ea0;background:rgba(255,91,113,.16)}
.imported-ai-image-slot.is-pending>div{background:rgba(94,219,255,.04)}
.imported-ai-video-row{margin-top:12px}
.imported-ai-video-slot{display:flex;align-items:center;gap:12px;min-height:58px;padding:10px 12px;border:1px dashed var(--line);border-radius:10px;background:rgba(94,219,255,.04);color:var(--muted)}
.imported-ai-video-slot video{width:90px;max-height:120px;border-radius:8px;background:#050910;object-fit:cover}
.imported-ai-video-slot small{display:block;line-height:1.4}
.imported-ai-video-slot.is-completed{border-style:solid;background:rgba(42,211,154,.05)}
.imported-ai-video-slot.is-paused{border-style:solid;background:rgba(140,150,170,.06);color:var(--muted)}
.imported-ai-video-slot.is-failed{border-color:rgba(255,91,113,.55);background:rgba(255,91,113,.08);color:#ff8ea0}
.imported-ai-video-slot .retry-alibaba-video-job{margin-left:auto;white-space:nowrap;border-color:rgba(255,142,160,.55);color:#ffd8de}
@media(max-width:700px){.imported-sku-image-row{flex-direction:column}.imported-sku-source-images{width:100%}.imported-sku-image-group>div:first-child{align-items:flex-start;flex-direction:column}.imported-sku-image-group>div:first-child span{text-align:left}}
@media(max-width:900px){.collection-table{min-width:900px}.collection-table .collection-product-col{width:38%}.collection-table .collection-action-col{width:25%}}
/* 1688 collection bulk upload */
.alibaba-bulk-upload-actions{display:flex;align-items:center;gap:14px;margin-left:auto;padding-left:22px;color:#8f9aad;font-size:13px}
.alibaba-bulk-upload-actions b{color:var(--cyan);font-size:15px}
.alibaba-bulk-upload-actions .primary{min-width:118px}
.store-sync-head>div small{display:block;margin-top:5px;color:#7f899c}
.alibaba-upload-store{accent-color:var(--cyan)}
@media(max-width:900px){.alibaba-module-tabs{flex-wrap:wrap}.alibaba-bulk-upload-actions{width:100%;margin-left:0;padding:10px 0 0;justify-content:flex-end}}
.ozon-category-fields{margin:18px 0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:rgba(8,15,27,.5)}
.ozon-category-fields .imported-section-heading{padding:14px 16px;border-bottom:1px solid var(--line)}
.ozon-category-fields .table-wrap{max-height:520px;overflow:auto}

/* Pending 1688 captures: larger source image; the shared hover preview remains active. */
.capture-records-table .capture-main-image,
.capture-records-table .capture-main-image>img{width:108px!important;height:108px!important;flex:0 0 108px!important;border-radius:10px;object-fit:contain;background:#fff}
.capture-records-table .capture-main-image{cursor:zoom-in}
.capture-records-table .capture-no-image{width:108px;height:108px;border-radius:10px}

/* 1688 detail gallery: five compact cards per row in source order. */
.single-detail-gallery{
  display:grid;
  grid-template-columns:repeat(5,200px);
  grid-auto-flow:row;
  align-items:start;
  justify-content:start;
  justify-items:stretch;
  gap:10px;
  max-width:100%;
  overflow-x:auto;
  overflow-y:visible;
  padding:2px 2px 10px;
  scrollbar-gutter:stable;
}
.single-detail-gallery article{
  width:200px;
  height:242px;
  margin:0;
}
.single-detail-gallery article>div{min-height:42px;white-space:nowrap}
.single-detail-gallery .product-image-zoom,
.single-detail-gallery img{width:200px;height:200px}
.single-detail-gallery img{object-fit:contain}
.single-detail-gallery .detail-image-lightbox-trigger{cursor:zoom-in}
/* AI image page: the 1688 source gallery is the page header content. */
.imported-product-detail{position:relative}
.imported-product-detail>header{
  position:static;
  width:100%;
  padding:12px 16px;
  border:0;
  border-bottom:1px solid var(--line);
  background:#0d131f;
}
.imported-product-detail>header .imported-product-summary{display:none}
.imported-product-detail>.imported-image-section:first-of-type{padding-top:16px}
.imported-product-detail>.imported-image-section:first-of-type .imported-section-heading{padding-right:0}

@media(max-width:1000px){
  .imported-product-detail>header{
    position:static;
    width:100%;
    padding:12px 16px;
  }
  .imported-product-detail>.imported-image-section:first-of-type .imported-section-heading{padding-right:0}
}
.image-lightbox-open{overflow:hidden}
.product-image-lightbox{
  position:fixed;
  inset:0;
  z-index:100000;
  display:grid;
  place-items:center;
  padding:24px;
  isolation:isolate;
  overflow:hidden;
  background:rgba(1,5,12,.96);
}
.product-image-lightbox.hidden{display:none}
.product-image-lightbox figure{
  display:flex;
  width:max-content;
  max-width:calc(100vw - 48px);
  max-height:calc(100vh - 48px);
  margin:0;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.product-image-lightbox img{
  display:block;
  max-width:calc(100vw - 64px);
  max-height:calc(100vh - 100px);
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:10px;
  background:#fff;
  box-shadow:0 24px 80px rgba(0,0,0,.55);
}
.product-image-lightbox figcaption{color:#e9f1ff;font-size:15px}
.product-image-lightbox-close{
  position:fixed;
  top:18px;
  right:22px;
  z-index:1;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid rgba(255,255,255,.3);
  border-radius:50%;
  background:rgba(8,15,27,.86);
  color:#fff;
  font-size:30px;
  line-height:1;
  cursor:pointer;
}
.single-variant-empty{
  grid-column:1/-1;
  padding:14px;
  border:1px dashed var(--line);
  border-radius:9px;
  color:#7c899c;
  text-align:center;
}

.collection-sheet-empty,
.collection-online-sheet{
  margin-top:18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(11,18,31,.72);
}
.collection-sheet-empty{display:flex;flex-direction:column;gap:6px;padding:22px;color:var(--muted)}
.collection-sheet-empty b{color:var(--text);font-size:18px}
.collection-sheet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--line)}
.collection-sheet-toolbar>div:first-child{display:flex;flex-direction:column;gap:5px}
.collection-sheet-toolbar b{font-size:19px;color:var(--text)}
.collection-sheet-toolbar span,.collection-sheet-foot{color:var(--muted);font-size:13px}
.collection-sheet-toolbar .collection-autosave-state{min-width:92px;color:#5dd9d1;text-align:right}
.collection-category-change{
  display:flex;
  flex:1;
  max-width:760px;
  flex-direction:column;
  align-items:flex-start;
  gap:5px;
  padding:12px 14px;
  border:1px solid rgba(40,230,215,.35);
  border-radius:12px;
  background:rgba(40,230,215,.04);
  color:var(--text);
  text-align:left;
  cursor:pointer;
}
.collection-category-change:hover{border-color:var(--cyan);background:rgba(40,230,215,.08)}
.collection-category-change span,.collection-category-change small{color:var(--muted);font-size:12px}
.collection-category-change b{font-size:16px;color:#e9f4ff}
.collection-spreadsheet-wrap{position:relative;max-height:590px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#7b8494 #171b20}
.collection-spreadsheet{min-width:max(1900px,100%);border-collapse:separate;border-spacing:0}
.collection-spreadsheet th{position:sticky;top:0;z-index:3;min-width:148px;padding:12px;background:#101827;border-right:1px solid var(--line);vertical-align:top}
.collection-spreadsheet th>span,.collection-spreadsheet th>small{display:block}
.collection-spreadsheet th>small{margin-top:4px;color:var(--muted);font-size:11px}
.collection-spreadsheet th.required>span{color:#ff637d}
.collection-spreadsheet td{min-width:148px;padding:8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);vertical-align:top}
.collection-spreadsheet input,.collection-spreadsheet select{width:100%;min-width:130px;height:40px;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:#080e19;color:var(--text);outline:none}
.collection-spreadsheet input:focus,.collection-spreadsheet select:focus{border-color:#37aee9;box-shadow:0 0 0 2px rgba(55,174,233,.14)}
.collection-spreadsheet .sheet-sticky{position:sticky;left:0;z-index:4;min-width:220px;background:#101827}
.collection-spreadsheet td.sheet-sticky{z-index:2;display:flex;align-items:center;gap:9px;min-height:58px}
.collection-spreadsheet .sheet-sku img{width:44px;height:44px;border-radius:8px;object-fit:cover;background:#fff}
.collection-spreadsheet .collection-sku-ai-status{margin-left:auto;color:#7f8ca0;font-size:11px;font-weight:700;white-space:nowrap}.collection-spreadsheet .collection-sku-ai-status[data-status="analyzing"]{color:var(--cyan)}.collection-spreadsheet .collection-sku-ai-status[data-status="success"]{color:#74e6a1}.collection-spreadsheet .collection-sku-ai-status[data-status="partial_success"],.collection-spreadsheet .collection-sku-ai-status[data-status="manual_review"]{color:#f5c45d}.collection-spreadsheet .collection-sku-ai-status[data-status="failed"]{color:#ff8291}
.collection-spreadsheet .sheet-sku-head{white-space:nowrap}
.collection-spreadsheet .sheet-sku-head>span{display:inline-block;vertical-align:middle}
.toggle-alibaba-sku-rows{display:inline-grid;width:28px;min-width:28px;height:28px;margin:0 0 0 12px;padding:0;place-items:center;vertical-align:middle;border:1px solid rgba(45,220,216,.5);border-radius:7px;background:rgba(45,220,216,.08);color:var(--cyan);font-size:13px;line-height:1;cursor:pointer}
.toggle-alibaba-sku-rows:hover{border-color:var(--cyan);background:rgba(45,220,216,.16)}
.toggle-alibaba-sku-rows[aria-expanded="true"]{border-color:rgba(129,140,248,.6);background:rgba(129,140,248,.12);color:#c1c8ff}
.collection-spreadsheet tbody tr.collection-sku-row-collapsed{display:none}
.collection-attribute-cell{position:relative}
.collection-attribute-cell.is-dictionary-open{z-index:20;background:#111b2a}
.collection-attribute-cell .link-btn{margin-top:5px;font-size:12px}
.collection-dictionary-options{display:none}
.collection-attribute-cell.is-dictionary-open .collection-dictionary-options{position:fixed;top:auto;left:auto;z-index:10000;display:flex;width:310px;max-height:none;padding:8px;flex-direction:column;gap:3px;overflow:auto;border:1px solid #2b8fc5;border-radius:12px;background:#111a28;box-shadow:0 16px 38px rgba(0,0,0,.48);scrollbar-color:#79869a #192230}
.collection-dictionary-options label{display:flex;align-items:center;gap:9px;min-height:38px;padding:7px 9px;border:1px solid transparent;border-radius:8px;background:transparent;color:#dce8f5;cursor:pointer;transition:.15s ease}
.collection-dictionary-options label:hover{border-color:rgba(55,174,233,.4);background:rgba(55,174,233,.12)}
.collection-dictionary-options label:has(input:checked){border-color:rgba(55,174,233,.55);background:rgba(55,174,233,.18);color:#fff}
.collection-dictionary-options label input{width:17px;min-width:17px;height:17px;margin:0;accent-color:#43baf0}
.collection-dictionary-options label span{display:flex;min-width:0;flex-direction:column;line-height:1.35}
.collection-dictionary-options label small{color:var(--muted);font-size:11px}
.collection-dictionary-options>.muted{padding:10px;line-height:1.5}
.collection-sheet-foot{display:flex;justify-content:space-between;gap:12px;padding:11px 18px;border-top:1px solid var(--line)}
.alibaba-ai-usage-panel{margin:14px 0;border:1px solid var(--line);border-radius:14px;background:#0c1320;overflow:hidden}
.alibaba-ai-usage-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;cursor:pointer;list-style:none;user-select:none}
.alibaba-ai-usage-summary::-webkit-details-marker{display:none}
.alibaba-ai-usage-summary>span:first-child{display:flex;align-items:baseline;gap:10px}
.alibaba-ai-usage-summary b{font-size:16px;color:var(--text)}
.alibaba-ai-usage-summary small{color:var(--muted);font-size:12px}
.alibaba-ai-usage-chevron{color:var(--cyan);font-size:20px;transition:transform .18s ease}
.alibaba-ai-usage-panel[open] .alibaba-ai-usage-chevron{transform:rotate(180deg)}
.alibaba-ai-usage-content{padding:0 18px 18px;border-top:1px solid var(--line)}
.alibaba-ai-usage-loading,.alibaba-ai-usage-empty{padding:18px 0;color:var(--muted);text-align:center}
.alibaba-ai-usage-grid{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:8px;padding:14px 0}
.alibaba-ai-usage-grid>div{display:flex;flex-direction:column;gap:5px;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#101827}
.alibaba-ai-usage-grid span{color:var(--muted);font-size:11px}
.alibaba-ai-usage-grid b{overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.alibaba-ai-usage-task-error{margin:0 0 12px;padding:10px 12px;border:1px solid rgba(255,91,113,.35);border-radius:8px;background:rgba(255,91,113,.08);color:#ff8291;font-size:12px}
.alibaba-ai-usage-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px}
.alibaba-ai-usage-table-wrap table{width:100%;min-width:920px;border-collapse:collapse}
.alibaba-ai-usage-table-wrap th,.alibaba-ai-usage-table-wrap td{padding:10px 11px;border-bottom:1px solid var(--line);color:var(--text);font-size:12px;text-align:left;vertical-align:top}
.alibaba-ai-usage-table-wrap th{background:#101827;color:var(--muted);font-size:11px;white-space:nowrap}
.alibaba-ai-usage-table-wrap td small{display:block;max-width:250px;margin-top:3px;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.ai-usage-call-status{color:#74e6a1}.ai-usage-call-status.failed,.ai-usage-call-status.invalid_json{color:#ff8291}
@media(max-width:1100px){.alibaba-ai-usage-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}}
#alibabaCollectionImageWorkspace{margin-top:16px}
.embedded-import-detail{margin-top:0}
.collection-image-workspace-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.collection-image-workspace-heading b{display:block;font-size:19px;color:var(--text)}
.collection-image-workspace-heading span{display:block;margin-top:4px;color:var(--muted);font-size:12px}
.imported-image-tool-actions{display:grid;grid-template-columns:130px minmax(210px,240px) 150px max-content;align-items:center;gap:10px;width:max-content;max-width:100%;margin-left:auto;padding:10px;border:1px solid var(--line);border-radius:12px;background:#0a101a}
.imported-image-tool-actions button{width:100%;min-width:0;min-height:42px;margin:0}
.imported-image-tool-actions .secondary{border-color:rgba(40,230,215,.45);color:#e8ffff;background:rgba(40,230,215,.04)}
.imported-image-tool-actions .secondary:hover{border-color:var(--cyan);background:rgba(40,230,215,.1)}
.imported-image-tool-actions .primary{min-width:0}
.imported-image-tool-actions .alibaba-image-model{width:100%;min-width:0;min-height:42px;margin:0}
.ai-main-image-prompts{display:none!important}
@media(max-width:620px){.imported-image-tool-actions{grid-template-columns:1fr;width:100%;margin-left:0}.imported-image-tool-actions button,.imported-image-tool-actions .alibaba-image-model{width:100%}}
.store-api-key-control{display:flex;align-items:center;gap:10px}
.store-api-key-control input{flex:1;min-width:0}
.store-api-key-control button{flex:0 0 auto;margin-top:8px;white-space:nowrap}
.store-api-key-control input[readonly]{letter-spacing:3px;color:#aeb7c8;cursor:default}
.alibaba-url-capture-panel{min-height:0;margin-bottom:12px;padding:12px 16px;background:linear-gradient(135deg,rgba(35,214,218,.08),rgba(91,112,255,.035) 46%,rgba(12,17,29,.98));border-color:rgba(49,219,220,.26)}
.alibaba-url-capture-panel form{display:grid;grid-template-columns:minmax(200px,.55fr) minmax(420px,1.8fr);column-gap:22px;row-gap:4px;align-items:center}
.alibaba-url-capture-panel b,.alibaba-url-capture-panel span{display:block}.alibaba-url-capture-panel b{font-size:15px;color:#f4f7ff}.alibaba-url-capture-panel span{margin-top:6px;color:var(--muted);font-size:13px;line-height:1.6}
.alibaba-url-capture-control{display:flex;gap:10px;align-items:center;min-width:0}.alibaba-url-capture-control input{display:block;width:100%;min-width:260px;flex:1 1 auto;height:42px;margin:0;border-color:rgba(63,211,222,.4);background:#0a101c}.alibaba-url-capture-control input:focus{border-color:var(--cyan);box-shadow:0 0 0 3px rgba(37,214,218,.12)}.alibaba-url-capture-control button{width:108px!important;min-width:108px;max-width:108px;flex:0 0 108px;height:42px;margin:0;padding:0 14px;white-space:nowrap}
.alibaba-url-capture-panel small{grid-column:2;color:#8d98ad;line-height:1.5}.alibaba-url-capture-panel small.success{color:#69e49b}.alibaba-url-capture-panel small.failed{color:#ff7186}
.alibaba-url-capture-panel small:empty{display:none}.capture-inbox-panel{min-height:0!important;padding-bottom:12px!important}.capture-inbox-panel .alibaba-module-title{margin-bottom:10px}
.capture-category-current{display:grid;gap:9px;margin:12px 18px 0;padding:11px 13px;border:1px solid rgba(11,191,178,.28);border-radius:11px;background:rgba(11,191,178,.07)}.capture-category-current>span{color:#087f75;font-size:12px;font-weight:800}.capture-category-levels{display:flex;align-items:stretch;gap:8px;min-width:0;overflow-x:auto;padding-bottom:2px}.capture-category-levels>div{position:relative;display:grid;flex:1 0 145px;gap:3px;min-width:0;padding:8px 11px;border:1px solid rgba(11,191,178,.2);border-radius:9px;background:rgba(255,255,255,.72)}.capture-category-levels>div:not(:last-child):after{content:'›';position:absolute;right:-7px;top:50%;z-index:2;transform:translateY(-50%);color:#087f75;font-size:17px;font-weight:900}.capture-category-levels small{color:#667085;font-size:10px}.capture-category-levels b{overflow:hidden;color:#172033;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.capture-category-current-result{grid-column:1/-1;display:grid;gap:5px;margin-bottom:8px;padding:13px;border:1px solid rgba(11,191,178,.3);border-radius:11px;background:rgba(11,191,178,.07)}.capture-category-current-result span{color:#087f75;font-size:11px;font-weight:800}.capture-category-current-result b{color:#172033;font-size:14px}.capture-category-current-result small{color:#667085;font-size:11px}.capture-category-columns{height:min(460px,54vh)}
.single-category-field>div{align-items:stretch}.single-category-field #openAlibabaCategoryModal{width:90px;min-width:90px;min-height:42px;padding-inline:17px}.single-package-title .set-all-alibaba-package{border-color:#28c9de;background:linear-gradient(100deg,var(--cyan),#5ed8f6);color:#061014;box-shadow:0 8px 20px rgba(40,201,222,.12)}.single-package-title .set-all-alibaba-package:hover{border-color:#28c9de;background:linear-gradient(100deg,var(--cyan),#5ed8f6);color:#061014;box-shadow:0 10px 24px rgba(40,201,222,.18)}
.capture-category-dialog .capture-category-columns{grid-template-columns:minmax(330px,420px) minmax(0,1fr);padding-left:18px}.capture-category-dismiss-area{min-width:0;background:#101521;cursor:pointer}.capture-category-columns.category-tree-collapsed{visibility:hidden}
@media(max-width:900px){.capture-category-dialog .capture-category-columns{grid-template-columns:1fr;padding-left:0}.capture-category-dismiss-area{display:none}}
@media(max-width:900px){.alibaba-url-capture-panel form{grid-template-columns:1fr}.alibaba-url-capture-panel small{grid-column:1}.alibaba-url-capture-control{align-items:stretch;flex-direction:column}.alibaba-url-capture-control input{min-width:0}.alibaba-url-capture-control button{width:100%!important;max-width:none;flex:0 0 42px}}

.collection-ai-stage-error {
  display: grid;
  gap: 3px;
  margin-top: 7px;
  max-width: 520px;
  color: #ff8293;
  line-height: 1.45;
}
.collection-ai-stage-error b { font-size: 12px; }
.collection-ai-stage-error span { font-size: 12px; overflow-wrap: anywhere; }
.collection-ai-stage-error small { color: #ffb0bb !important; }

/* 图片水印模板管理 */
.watermark-management{padding:0;overflow:hidden}.watermark-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:12px;border-bottom:1px solid var(--line);background:rgba(8,11,18,.36)}.watermark-refresh{min-width:42px;font-size:18px}.watermark-table-wrap{min-height:510px}.watermark-table{min-width:1120px}.watermark-table th:first-child,.watermark-table td:first-child{width:42px;text-align:center}.watermark-table th:nth-child(2),.watermark-table td:nth-child(2){width:58px;text-align:center}.watermark-table th:nth-child(4),.watermark-table td:nth-child(4){width:110px}.watermark-table th:nth-child(6),.watermark-table td:nth-child(6){width:110px}.watermark-table th:nth-child(7),.watermark-table td:nth-child(7){width:170px}.watermark-table th:last-child,.watermark-table td:last-child{width:245px}.watermark-type-badge{display:inline-flex;padding:4px 9px;border:1px solid rgba(102,135,255,.38);border-radius:7px;background:rgba(102,135,255,.1);color:#aebeff;font-size:11px}.watermark-type-badge.image{border-color:rgba(40,230,215,.35);background:rgba(40,230,215,.08);color:var(--cyan)}.watermark-content-summary{display:flex;min-width:210px;flex-direction:column;gap:5px}.watermark-content-summary b{font-size:13px}.watermark-content-summary small{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px}.watermark-content-summary i{display:inline-block;width:12px;height:12px;border:1px solid rgba(255,255,255,.18);border-radius:2px}.watermark-image-summary{flex-direction:row;align-items:center}.watermark-image-summary img{width:54px;height:38px;object-fit:contain;border:1px solid var(--line);border-radius:6px;background:#fff}.watermark-position-pill{display:inline-block;min-width:72px;padding:5px 10px;border-radius:5px;background:rgba(255,255,255,.045);text-align:center}.watermark-row-actions{display:flex;align-items:center;gap:10px;white-space:nowrap}.link-btn.danger{color:#ff7188}
.watermark-modal{position:fixed;inset:0;z-index:260;display:grid;place-items:center;padding:24px;background:rgba(2,4,9,.82);backdrop-filter:blur(7px)}.watermark-dialog{width:min(1120px,96vw);max-height:94vh;overflow:auto;border:1px solid rgba(102,135,255,.34);border-radius:18px;background:#101521;box-shadow:0 34px 110px rgba(0,0,0,.72)}.watermark-dialog-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line);background:rgba(16,21,33,.97)}.watermark-dialog-head h2{margin:0;font-size:18px}.watermark-dialog-head small{display:block;margin-top:5px;color:var(--muted)}.close-watermark-modal{border:0;background:transparent;color:#8f99ac;font-size:26px;cursor:pointer}.watermark-editor-layout{display:grid;grid-template-columns:minmax(360px,470px) minmax(380px,1fr);gap:24px;padding:22px}.watermark-config-panel{display:flex;flex-direction:column;gap:14px}.watermark-config-panel .field{display:grid;grid-template-columns:98px minmax(0,1fr);align-items:center;gap:12px;margin:0}.watermark-config-panel .field>span{font-size:12px}.watermark-config-panel .field.required>span:before{content:'*';margin-right:4px;color:#ff7188}.watermark-config-panel .field>small{grid-column:2;color:var(--muted);font-size:10px}.watermark-type-fields{display:flex;flex-direction:column;gap:14px}.watermark-type-fields.hidden{display:none}.watermark-color-row{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:9px}.watermark-color-row input[type="color"]{height:41px;padding:3px;cursor:pointer}.watermark-upload-control{display:flex;flex-direction:column;gap:6px}.watermark-upload-control input{padding:8px}.watermark-upload-control small{color:var(--muted);font-size:10px}.watermark-range-row{display:grid;grid-template-columns:1fr 52px;align-items:center;gap:12px}.watermark-range-row input[type="range"]{accent-color:var(--blue)}.watermark-range-row output{color:#dce3ef;text-align:right}.watermark-position-grid{display:grid;width:156px;grid-template-columns:repeat(3,46px);gap:6px}.watermark-position-button{width:46px;height:46px;border:1px solid var(--line-strong);border-radius:5px;background:rgba(255,255,255,.035);cursor:pointer}.watermark-position-button:hover{border-color:rgba(102,135,255,.65)}.watermark-position-button.active{border-color:#7768ff;background:rgba(119,104,255,.16);box-shadow:inset 0 0 0 1px rgba(119,104,255,.22)}.watermark-preview-panel{min-width:0}.watermark-preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.watermark-preview-heading b{display:block}.watermark-preview-heading small{display:block;margin-top:4px;color:var(--muted);font-size:10px}.watermark-preview-upload{position:relative;overflow:hidden;cursor:pointer}.watermark-preview-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.watermark-preview-stage{position:relative;width:min(100%,480px);aspect-ratio:3/4;overflow:hidden;border:1px solid var(--line-strong);border-radius:12px;background:radial-gradient(circle at 50% 36%,rgba(102,135,255,.2),transparent 37%),linear-gradient(145deg,#1b2335,#0b0f18);background-position:center;background-size:cover;box-shadow:inset 0 0 60px rgba(0,0,0,.35)}.watermark-preview-stage.large{margin:0 auto}.watermark-preview-stage.custom-image .watermark-sample-product{display:none}.watermark-sample-product{position:absolute;inset:0;display:grid;place-items:center;color:#8e9ab0}.watermark-sample-orbit{position:absolute;width:66%;aspect-ratio:1;border:1px solid rgba(102,135,255,.2);border-radius:50%;box-shadow:0 0 80px rgba(102,135,255,.12)}.watermark-sample-box{position:relative;z-index:1;display:grid;width:48%;height:34%;place-items:center;border:1px solid rgba(255,255,255,.17);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.025));color:#d7deeb;font-size:17px;font-weight:800;box-shadow:0 26px 70px rgba(0,0,0,.36)}.watermark-sample-product small{position:absolute;bottom:16px;font-size:10px}.watermark-preview-watermark{position:absolute;z-index:2;max-width:86%;max-height:70%;white-space:pre-wrap;overflow-wrap:anywhere;text-shadow:0 1px 2px rgba(255,255,255,.22)}.watermark-preview-watermark.image{height:auto;object-fit:contain;text-shadow:none}.watermark-preview-watermark[data-position="top-left"]{top:7%;left:7%}.watermark-preview-watermark[data-position="top-center"]{top:7%;left:50%;transform:translateX(-50%)}.watermark-preview-watermark[data-position="top-right"]{top:7%;right:7%}.watermark-preview-watermark[data-position="middle-left"]{top:50%;left:7%;transform:translateY(-50%)}.watermark-preview-watermark[data-position="center"]{top:50%;left:50%;transform:translate(-50%,-50%)}.watermark-preview-watermark[data-position="middle-right"]{top:50%;right:7%;transform:translateY(-50%)}.watermark-preview-watermark[data-position="bottom-left"]{bottom:7%;left:7%}.watermark-preview-watermark[data-position="bottom-center"]{bottom:7%;left:50%;transform:translateX(-50%)}.watermark-preview-watermark[data-position="bottom-right"]{right:7%;bottom:7%}.watermark-dialog-actions{position:sticky;bottom:0;z-index:3;display:flex;justify-content:flex-end;gap:10px;padding:14px 22px;border-top:1px solid var(--line);background:rgba(16,21,33,.97)}.watermark-dialog-actions button{width:auto;min-width:64px;height:30px;margin:0;padding:5px 12px;border-radius:7px;font-size:11px;line-height:1}.watermark-effect-dialog{width:min(780px,94vw)}.watermark-global-preview{padding:22px}.watermark-effect-dialog .watermark-preview-stage{width:min(100%,560px)}
@media(max-width:980px){.watermark-toolbar{flex-wrap:wrap}.watermark-editor-layout{grid-template-columns:1fr}.watermark-preview-stage{width:min(100%,430px)}.watermark-config-panel .field{grid-template-columns:90px minmax(0,1fr)}}
@media(max-width:620px){.watermark-modal{padding:8px}.watermark-dialog{width:100%;max-height:98vh}.watermark-editor-layout{padding:14px}.watermark-config-panel .field{grid-template-columns:1fr;gap:6px}.watermark-config-panel .field>small{grid-column:1}.watermark-toolbar{justify-content:flex-start}}.store-table table{min-width:1280px}
.store-watermark-actions{display:flex;min-width:128px;flex-direction:column;align-items:flex-start;gap:5px}
.store-watermark-actions>span{max-width:150px;overflow:hidden;color:#dce3ef;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.store-watermark-actions>small{color:#758095}
.store-watermark-dialog{width:min(500px,100%)}
.store-watermark-dialog .store-modal-head small{display:block;margin-top:4px;color:#8f99ab}
.store-watermark-help{margin:10px 0 0;color:#7f899c;font-size:12px}
/* ERP light theme */
:root{--bg:#f4f7fb;--bg-2:#edf2f7;--surface:#ffffff;--surface-2:#f8fafc;--line:rgba(15,23,42,.1);--line-strong:rgba(15,23,42,.17);--text:#172033;--muted:#667085;--cyan:#0bbfb2;--blue:#5573f3;--pink:#e84cad;--lime:#4f9f27;--warning:#b7791f;--danger:#dc5365;--shadow:0 18px 48px rgba(46,64,91,.1)}
html{color-scheme:light}body{background:#f4f7fb;color:var(--text)}.ambient{background:linear-gradient(rgba(71,85,105,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(71,85,105,.045) 1px,transparent 1px);background-size:44px 44px}.ambient span{opacity:.07}.glass{border-color:var(--line);background:rgba(255,255,255,.96);box-shadow:var(--shadow)}
.sidebar,.topbar,.content-card,.workflow,.form-panel,.alibaba-module-shell,.alibaba-single-workbench,.alibaba-module-panel,.capture-image-studio,.collection-table-frame,.collection-table-frame .collection-table-wrap,.table-wrap,.watermark-management{background:#fff}.brand-card strong,.topbar strong,.card-title h2,.form-panel h2,.table-wrap td b,.check-card b,.single-link-field>span,.single-category-field>span,.single-category-recommend h4,.single-product-info h4{color:#172033}.brand-card span,.topbar small,.field,label,.table-wrap td small{color:#667085}
.nav-item{color:#526077}.nav-item:hover{color:#172033;background:#f1f5f9}.nav-item.active{color:#102a43;background:linear-gradient(90deg,rgba(11,191,178,.16),rgba(85,115,243,.06));box-shadow:inset 3px 0 var(--cyan)}.user-card{border-color:var(--line);background:linear-gradient(145deg,#fff,#f5f8fc)}.user-card strong{color:#172033}.store-select{background:#fff;color:#667085}.store-select select{background:#f5f7fb;color:#172033}.status-dot{border-color:rgba(79,159,39,.24);background:rgba(79,159,39,.08);color:#397a1a}
.content-card{background:#fff}.kpi-grid article{background:linear-gradient(145deg,#fff,#f4f7fb)}.kpi-grid span{color:#667085}.bar-chart{background:repeating-linear-gradient(0deg,transparent 0 47px,rgba(71,85,105,.08) 48px)}
.table-wrap,.collection-table-frame,.collection-table-frame .collection-table-wrap{background:#fff}.table-wrap thead{background:#f5f7fb}.table-wrap th{color:#596579}.table-wrap td{color:#344054}.table-wrap td b{color:#172033}.table-wrap td small{color:#7b8798}.table-wrap tbody tr:hover{background:rgba(85,115,243,.055)}.capture-ozon-field-table,.capture-ozon-field-table td:nth-child(1),.capture-ozon-field-table th:nth-child(1),.capture-ozon-field-table td:nth-child(2),.capture-ozon-field-table th:nth-child(2){background:#fff}
input:not([type=checkbox]):not([type=range]):not([type=file]),select,textarea,.field textarea{border-color:var(--line);background:#fff;color:#172033}input::placeholder,textarea::placeholder{color:#98a2b3}.secondary{border-color:var(--line-strong);background:#f7f9fc;color:#475467}.secondary:hover{background:#eefbf9;color:#087f75}.option-row label,.check-card,.match-grid article,.sync-store-card,.single-collect-sidebar,.single-product-gallery,.single-product-info,.single-category-recommend button,.single-sku-card,.capture-source-image-card{background:#f8fafc}.single-category-field b{color:#344054}.single-category-recommend button{color:#475467}.single-sku-card small{color:#667085}
.alibaba-module-tabs,.capture-source-tabs,.watermark-toolbar,.capture-image-studio-toolbar{background:#f7f9fc}.alibaba-module-tabs button{color:#526077}.capture-source-tabs span{color:#667085}.capture-output-panel{background:#fff}.capture-upload-card{border-color:#b8c4d3;color:#5573f3}.capture-upload-card strong{background:#e9efff;color:#5573f3}.capture-upload-card span{color:#344054}.capture-source-panel h4 em{background:#edf2f7;color:#526077}
.notice,.empty-state,.draft-banner,.capture-token-panel,.qwen-key-panel,.imported-product-detail,.ai-analysis,.listing-draft{background:#f8fafc;color:#344054}.tabs .tab-btn{background:#f7f9fc;color:#667085}.tab-btn.active{background:#e9fbf8;color:#087f75}.image-preview{background:radial-gradient(circle,#fff,#edf2f7)}.generated-placeholder{background:#fff}.generated-placeholder b{color:#344054}.image-result{border-color:#b8c4d3;color:#667085}
.store-sync-modal,.watermark-modal,.account-modal,.product-image-lightbox{background:rgba(226,232,240,.78)}.store-sync-dialog,.watermark-dialog,.account-dropdown,.product-quick-edit,.capture-library-drawer{background:#fff;color:#172033;box-shadow:0 28px 80px rgba(46,64,91,.18)}.store-sync-close,.watermark-dialog-head button{color:#667085}.auth-gate{background:rgba(238,242,247,.9)}
.store-sync-completion-modal{position:fixed;inset:0;z-index:175;display:grid;place-items:center;padding:20px;background:rgba(226,232,240,.82);backdrop-filter:blur(7px)}.store-sync-completion-dialog{width:min(440px,100%);padding:30px;border:1px solid rgba(20,184,177,.3);border-radius:20px;background:#fff;color:#172033;text-align:center;box-shadow:0 28px 80px rgba(46,64,91,.22)}.store-sync-completion-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 16px;border-radius:50%;background:#dffaf7;color:#08a9a1;font-size:28px;font-weight:900}.store-sync-completion-dialog h2{margin:0;font-size:22px}.store-sync-completion-dialog p{margin:12px 0 24px;color:#667085;line-height:1.7}.store-sync-completion-dialog button{min-width:112px;margin:0}
.badge.success{color:#087f75}.badge.warning{color:#9a6700}.badge.danger{color:#c43d50}.up{color:#397a1a!important}.link-btn{color:#087f75}.collection-table .analyze-and-generate-alibaba-item{color:#061014;background:linear-gradient(100deg,var(--cyan),#5ed8f6)}
/* ERP light theme refinements */
.dashboard-sync{border-color:#dbe4ee;background:linear-gradient(100deg,#f8fafc,#eefbf9);box-shadow:0 8px 24px rgba(15,23,42,.05)}
.dashboard-sync b{color:#172033}.dashboard-sync span{color:#718096}
.alibaba-empty-preview{border-color:#d5dee9;background:#f8fafc;color:#64748b}
.alibaba-empty-preview b{color:#263247}
.alibaba-url-capture-panel b{font-size:18px;color:#172033}
.alibaba-store-config-panel>.alibaba-module-title b,.store-config-token>div>b,.qwen-key-panel>div>b{font-size:16px;color:#172033;font-weight:700}
.capture-ai-workspace{border-color:#d7e0eb;background:#fff}
.capture-workspace-empty,.capture-reference-empty{border-color:#cbd8e6;background:#f8fafc;color:#334155}
.capture-workspace-empty b,.capture-reference-empty b{color:#263247}
.capture-workspace-empty span,.capture-reference-empty span{color:#718096}
.capture-token-panel code{border-color:#cbd8e6;background:#f8fafc;color:#087f75;box-shadow:inset 0 0 0 1px rgba(13,148,136,.04)}
.store-management{border:1px solid #dbe4ee;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.06)}
.store-management-toolbar{border-bottom-color:#dbe4ee;background:#f8fafc}
.store-capacity{color:#596579}.store-capacity>span{background:#dbe4ee}
.store-table th{border-bottom-color:#dbe4ee;background:#f1f5f9;color:#596579}
.store-table tbody{background:#fff}.store-table td{color:#263247}.store-watermark-actions>span{color:#344054}.store-watermark-actions>small{color:#718096}
/* ERP typography hierarchy */
:root{--ui-heading-color:#172033;--ui-heading-size:16px;--ui-heading-weight:700;--ui-action-size:14px;--ui-body-size:14px}
.topbar strong{color:var(--ui-heading-color);font-size:var(--ui-heading-size);font-weight:var(--ui-heading-weight);line-height:1.35;letter-spacing:0}.topbar small{color:#667085;font-size:12px;line-height:1.45;letter-spacing:.04em}
.alibaba-module-tabs{min-height:64px;padding-inline:22px}.alibaba-module-tabs button{padding:20px 22px;color:var(--ui-heading-color);font-size:var(--ui-heading-size);font-weight:var(--ui-heading-weight);line-height:1.35;letter-spacing:0}.alibaba-module-tabs button:hover,.alibaba-module-tabs button.active{color:#087f75}
main h2,main h3,.card-title h2,.form-panel h2,.alibaba-module-title b,.collection-toolbar b,.capture-token-panel>div>b,.qwen-key-panel>div>b,.order-toolbar b,.ozon-actions b,.draft-banner b,.ai-analysis-head b,.imported-section-heading b,.collection-image-workspace-heading b,.watermark-preview-heading b,.capture-modal-head b{color:var(--ui-heading-color);font-size:var(--ui-heading-size);font-weight:var(--ui-heading-weight);line-height:1.4;letter-spacing:0}
.alibaba-module-title span,.collection-toolbar span,.capture-token-panel>div>span,.qwen-key-panel>div>span,.imported-section-heading span,.collection-image-workspace-heading span,.ai-analysis-head span{color:#667085;font-size:13px;font-weight:400;line-height:1.65}
.alibaba-module-panel:not(.alibaba-url-capture-panel){padding:22px}.alibaba-module-title,.collection-toolbar,.card-title{margin-bottom:18px}
.primary,.secondary,.store-add-button{min-height:42px;color:var(--ui-heading-color);font-size:var(--ui-action-size);font-weight:var(--ui-heading-weight);line-height:1.2}.primary{color:var(--ui-heading-color)}.secondary{padding:10px 15px}.link-btn{font-size:13px;font-weight:700}.tabs{gap:8px}.tabs .tab-btn,.managed-status-tab{min-height:38px;padding:9px 14px;font-size:14px;font-weight:700;line-height:1.3}
.table-wrap th{color:#596579;font-size:12px;font-weight:700;line-height:1.45;letter-spacing:.02em}.table-wrap td{color:#344054;font-size:13px;line-height:1.55}.table-wrap td small{font-size:11px;line-height:1.45}.field,label{color:#596579;font-size:13px;line-height:1.45}input:not([type=checkbox]):not([type=range]):not([type=file]),select,textarea,.field textarea{font-size:14px;line-height:1.45}
@media(max-width:700px){.alibaba-module-tabs{padding-inline:10px}.alibaba-module-tabs button{padding-inline:14px}.alibaba-module-panel:not(.alibaba-url-capture-panel){padding:16px}}
.points-recharge-page{display:flex;flex-direction:column;gap:16px}.points-recharge-page .content-card{margin-top:14px}.points-recharge-layout{display:grid;grid-template-columns:minmax(360px,1.35fr) minmax(260px,1fr) minmax(220px,.72fr);gap:14px;align-items:stretch}.points-redeem-form{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:end;padding:16px;border:1px solid var(--line);border-radius:14px;background:#0a0f18}.points-redeem-form .field{margin:0}.points-redeem-form input{height:42px}.points-redeem-form .primary{height:42px;margin:0;white-space:nowrap}.points-price-rule,.points-current-balance{display:flex;flex-direction:column;justify-content:center;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,#111827,#0a0f18)}.points-price-rule span,.points-current-balance span{color:#7f899e;font-size:10px}.points-price-rule b,.points-current-balance b{margin:7px 0 5px;color:var(--cyan);font-size:24px}.points-price-rule small,.points-current-balance small{color:#69748a;font-size:9px;line-height:1.7}.points-current-balance{border-color:var(--line);background:#0a0f18}
.points-table{border-right:1px solid var(--line);border-radius:14px}.points-table table{min-width:1120px}.points-table th:nth-child(1){width:176px}.points-table th:nth-child(3){min-width:300px}.points-table td{vertical-align:middle}.points-table td code{display:inline-block;max-width:260px;overflow:hidden;color:#7f8ca3;font-size:9px;text-overflow:ellipsis}.point-balance-before{color:#9da8ba!important;font-weight:700}.point-balance-after b{color:var(--cyan)!important;font-size:13px}
@media(max-width:1180px){.points-recharge-layout{grid-template-columns:1fr 1fr}.points-redeem-form{grid-column:1/-1}}
@media(max-width:700px){.points-recharge-layout{grid-template-columns:1fr}.points-redeem-form{grid-column:auto;grid-template-columns:1fr}.points-redeem-form .primary{width:100%}.points-filter-note{align-items:flex-start;flex-direction:column}}
/* Account menu simplification */
.account-dropdown,.account-summary b,.account-summary small,.account-dropdown>button,.account-dropdown>button span,.account-dropdown>.account-logout{color:#000}
.account-summary>span{color:#000}.account-dropdown>button{display:flex;grid-template-columns:none;align-items:center;gap:0;padding:11px 12px;font-size:14px;font-weight:700}.account-dropdown>button i{display:none}.account-dropdown>button:hover{background:#f1f5f9;color:#000}.account-dropdown>.account-logout{color:#000}
/* 1688 light product workbench */
.alibaba-single-workbench,.single-collect-sidebar,.single-product-gallery,.single-product-info,.single-product-attributes,.single-detail-section{background:#fff;color:#000}
.single-product-info,.single-product-info>h2,.single-product-info h4,.single-product-info b,.single-product-info small,.single-product-info label,.single-product-info .single-attribute-list span,.single-product-info .single-attribute-list b{color:#000}
.single-price-range,.single-current-combination>span,.capture-sku-draft-input[data-draft-field="sellingPrice"],.capture-sku-draft-input[data-draft-field="originalPrice"]{color:#dc2626;font-weight:700}
.single-variant-pills button,.single-variant-pills button.active{border-color:#d7e0eb;background:#fff;color:#000}.single-variant-pills button.active{border-color:#dc2626;box-shadow:0 0 0 1px rgba(220,38,38,.08)}
.single-current-combination{border:1px solid #d7e0eb;background:#fff;color:#000}.single-current-combination small{color:#000}.single-attribute-list,.single-attribute-list>div{background:#fff;color:#000}
.single-package-title button{color:#000}.single-package-grid label{border-color:#d7e0eb;background:#fff;color:#000}.single-package-grid label>span{color:#000}.single-package-grid input{border:1px solid #d7e0eb;background:#fff}
.single-detail-section,.single-detail-gallery,.single-detail-gallery article{background:#fff;color:#000}.single-section-title span,.single-section-title h3,.single-section-title small{color:#000}.single-detail-gallery article>div{border-bottom:1px solid #d7e0eb;background:#fff;color:#000}.single-detail-gallery article>div button{color:#dc2626}
/* 1688 category fields and AI image workspace: complete white surfaces */
.capture-reference-shell,.capture-reference-workspace,.capture-reference-toolbar,.capture-reference-product,.capture-reference-table-area,.capture-reference-table-area .capture-field-summary,.capture-ozon-field-table,.capture-ozon-field-table table,.capture-ozon-field-table thead,.capture-ozon-field-table tbody,.capture-ozon-field-table tr,.capture-ozon-field-table th,.capture-ozon-field-table td,.capture-ozon-field-table td:nth-child(1),.capture-ozon-field-table th:nth-child(1),.capture-ozon-field-table td:nth-child(2),.capture-ozon-field-table th:nth-child(2),.capture-image-process-bar{background:#fff;color:#172033}
.capture-image-studio,.capture-image-studio-toolbar,.capture-image-sku-tabs,.capture-image-studio-body,.capture-output-panel,.capture-source-panel,.capture-source-tabs,.capture-source-image-card{background:#fff;color:#172033}
.import-detail-page,.imported-product-detail,.imported-product-detail>header,.imported-product-detail>details,.imported-sku-gallery-section,.imported-sku-image-groups,.imported-sku-image-group,.imported-main-images-grid article,.imported-ai-image-slot>div,.imported-ai-video-slot,.imported-ai-video-slot.is-pending,.imported-ai-video-slot.is-completed,.imported-ai-video-slot.is-paused,.imported-image-tool-actions{background:#fff;color:#172033}
.capture-reference-shell b,.capture-reference-shell h3,.capture-reference-shell h4,.capture-reference-shell label,.capture-ozon-field-table th,.capture-ozon-field-table td,.capture-image-studio b,.capture-image-studio h3,.capture-image-studio h4,.import-detail-page h2,.imported-product-detail h3,.imported-product-detail summary,.imported-sku-image-group>div:first-child b,.imported-sku-source-images>b,.imported-generated-images>b{color:#172033}
.capture-reference-shell span,.capture-reference-shell small,.capture-reference-table-area .capture-field-summary span,.capture-image-studio span,.capture-image-studio small,.imported-product-detail span,.imported-product-detail small,.imported-sku-image-group>div:first-child span,.imported-ai-video-slot span,.imported-ai-video-slot small{color:#667085}
.capture-reference-toolbar,.capture-reference-product,.capture-image-process-bar,.capture-image-studio-toolbar,.capture-image-sku-tabs,.imported-product-detail>header,.imported-product-detail>details{border-color:#d7e0eb}
.imported-ai-image-slot.is-failed>div,.imported-ai-video-slot.is-failed{background:#fff}
/* 1688 online field sheet: complete white surface */
.collection-online-sheet,.collection-sheet-toolbar,.collection-category-change,.collection-spreadsheet-wrap,.collection-spreadsheet,.collection-spreadsheet thead,.collection-spreadsheet tbody,.collection-spreadsheet tr,.collection-spreadsheet th,.collection-spreadsheet td,.collection-spreadsheet .sheet-sticky,.collection-sheet-foot{background:#fff;color:#172033}
.alibaba-ai-usage-panel,.alibaba-ai-usage-grid>div,.alibaba-ai-usage-table-wrap th{background:#fff;color:#172033}
.alibaba-ai-usage-summary b,.alibaba-ai-usage-grid b,.alibaba-ai-usage-table-wrap th,.alibaba-ai-usage-table-wrap td{color:#172033}
.collection-category-change b,.collection-spreadsheet th,.collection-spreadsheet td,.collection-spreadsheet td b{color:#172033}
.collection-category-change span,.collection-category-change small,.collection-spreadsheet th>small,.collection-sheet-foot{color:#667085}
.collection-spreadsheet-wrap{scrollbar-color:#98a2b3 #fff}
.collection-attribute-cell.is-dictionary-open,.collection-attribute-cell.is-dictionary-open .collection-dictionary-options,.collection-dictionary-options label{background:#fff;color:#172033}
.collection-category-change:hover,.collection-dictionary-options label:hover{background:#f5fffd}
.collection-dictionary-options label:has(input:checked){background:#e9fbf8;color:#172033}
/* 1688 AI image actions: identical cyan controls */
.imported-image-tool-actions>.secondary,.imported-image-tool-actions>.alibaba-image-model,.imported-image-tool-actions>.primary{height:42px;min-height:42px;margin:0;border:1px solid #28c9de;border-radius:10px;padding:0 16px;background:linear-gradient(100deg,var(--cyan),#5ed8f6);color:#061014;font-size:14px;font-weight:700;line-height:1.2;box-shadow:0 10px 30px rgba(40,230,215,.12)}
.imported-image-tool-actions>.secondary:hover,.imported-image-tool-actions>.alibaba-image-model:hover,.imported-image-tool-actions>.primary:hover{border-color:#28c9de;background:linear-gradient(100deg,var(--cyan),#5ed8f6);color:#061014;box-shadow:0 14px 36px rgba(40,230,215,.19)}
/* 1688 online boolean fields: remove legacy dark select */
.collection-spreadsheet select,.collection-spreadsheet select:hover,.collection-spreadsheet select:disabled{border-color:#d7e0eb;background:#fff;color:#172033;color-scheme:light;opacity:1}
.collection-spreadsheet select:focus{border-color:#28c9de;background:#fff;color:#172033;box-shadow:0 0 0 3px rgba(40,201,222,.12)}
.collection-spreadsheet select option{background:#fff;color:#172033}
/* Ozon bulk upload store names: readable on the light modal */
.store-sync-dialog .sync-store-card b{color:#172033;font-weight:700}
.store-sync-dialog .sync-store-card small{color:#667085}

/* Collapsible primary navigation groups */
nav .nav-section>h2{padding:0;overflow:hidden}
.nav-section-toggle{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:30px;margin:0;padding:5px 9px 5px 11px;border:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;cursor:pointer}
.nav-section-toggle i{display:grid;place-items:center;width:16px;height:16px;flex:0 0 16px;font-size:0;font-style:normal;line-height:1;transition:transform .2s ease}
.nav-section-toggle i:before{content:"";display:block;width:7px;height:7px;margin-top:-3px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
.nav-section.collapsed .nav-section-toggle i{transform:rotate(-90deg)}
.nav-section-items{max-height:420px;overflow:hidden;opacity:1;visibility:visible;transition:max-height .24s ease,opacity .18s ease,visibility 0s}
.nav-section.collapsed .nav-section-items{max-height:0;opacity:0;visibility:hidden;transition:max-height .24s ease,opacity .14s ease,visibility 0s .24s}
@media(max-width:860px){.sidebar nav .nav-section>h2{display:inline-flex;flex:0 0 auto;margin:0}.sidebar nav .nav-section-items{display:flex;max-height:none;overflow:visible;opacity:1;visibility:visible}.sidebar nav .nav-section.collapsed .nav-section-items{display:none}}

/* 1688 AI image workspace: larger cards, per-image actions and inline video slot. */
.imported-sku-image-group .imported-main-images-grid article,
.imported-ai-image-slot{flex:0 0 154px;width:154px;min-width:154px}
.imported-ai-image-slot>div{min-height:154px}
.imported-ai-image-slot>small{min-height:18px}
.imported-ai-image-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:5px!important;min-height:0!important;margin-top:6px;padding:0!important;border:0!important;background:transparent!important}
.imported-ai-image-actions button{width:100%;min-width:0;margin:0;padding:6px 4px;font-size:10px;line-height:1.25;white-space:normal}
.imported-ai-image-actions button:disabled{opacity:.45;cursor:not-allowed}
.imported-ai-video-row{display:block;flex:0 0 220px!important;width:220px!important;min-width:220px!important;margin:0!important;padding:6px!important}
.imported-ai-video-slot{min-height:154px;align-content:center;align-items:center;justify-content:center;flex-direction:column;text-align:center}
.imported-ai-video-slot video{width:112px;max-height:154px}
.imported-image-tool-actions{flex-wrap:wrap;justify-content:flex-end}
.imported-image-tool-actions .regenerate-all-alibaba-images{width:auto;min-width:0;padding-inline:14px!important;border-color:rgba(94,219,255,.55);color:#061014!important;white-space:nowrap}
.ai-image-prompt-dialog{width:min(920px,100%)}
.ai-image-prompt-dialog textarea{width:100%;min-height:420px;resize:vertical;font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace}
.ai-image-prompt-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}
.ai-image-prompt-actions button{width:auto;margin:0}
.imported-ai-image-actions.single-action{grid-template-columns:1fr}

/* AI image cards prioritize the generated artwork; actions are compact text links. */
.imported-sku-image-group .imported-main-images-grid .imported-ai-image-slot{flex:0 0 184px;width:184px;min-width:184px;padding:5px}
.imported-ai-image-slot .product-image-zoom,.imported-ai-image-slot .product-image-zoom img{display:block;width:100%;height:auto;aspect-ratio:1/1.36;object-fit:contain;background:#fff}
.imported-ai-image-slot>small{margin-top:5px;font-size:11px;line-height:1.25}
.imported-ai-image-actions{display:flex!important;justify-content:center;gap:12px!important;margin-top:4px!important}
.imported-ai-image-actions button,.imported-ai-image-actions button.secondary,.imported-ai-image-actions button.compact{display:inline;width:auto!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:1px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#1597aa!important;font-size:10px!important;font-weight:600!important;line-height:1.25!important;white-space:nowrap!important}
.imported-ai-image-actions button:hover{background:transparent!important;color:#08788a!important;text-decoration:underline}
.imported-ai-video-row{flex:0 0 132px!important;width:132px!important;min-width:132px!important;padding:5px!important}
.imported-ai-video-slot{min-height:116px;padding:7px;gap:6px;font-size:10px}
.imported-ai-video-slot video{width:76px;max-height:106px}
.imported-ai-video-slot small{font-size:9px;line-height:1.25}


/* Compact AI media cards: inline regeneration and a full-height video panel. */
.imported-sku-image-group .imported-main-images-grid .imported-ai-image-slot,
.imported-sku-image-group .imported-main-images-grid .imported-ai-video-row{
  flex:0 0 138px!important;
  width:138px!important;
  min-width:138px!important;
  padding:4px!important;
  box-sizing:border-box;
}
.imported-ai-image-slot>small.imported-ai-image-meta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:16px;
  margin-top:3px;
  font-size:10px;
  line-height:1.2;
  white-space:nowrap;
}
.imported-ai-inline-action{
  display:inline;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#1597aa!important;
  font-size:10px!important;
  font-weight:600!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  cursor:pointer;
}
.imported-ai-inline-action:hover{
  background:transparent!important;
  color:#08788a!important;
  text-decoration:underline;
}
.imported-ai-video-row{
  display:flex!important;
  align-self:stretch;
  margin:0!important;
}
.imported-ai-video-row .imported-ai-video-slot{
  flex:1 1 auto;
  width:100%;
  min-height:0;
  height:100%;
  padding:8px;
  box-sizing:border-box;
  justify-content:center;
  align-content:center;
  flex-direction:column;
  gap:5px;
  text-align:center;
  font-size:10px;
}
.imported-ai-video-row .imported-ai-video-slot b,
.imported-ai-video-row .imported-ai-video-slot span,
.imported-ai-video-row .imported-ai-video-slot small{
  max-width:100%;
  margin:0;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.imported-ai-video-row .imported-ai-video-slot video{
  width:100%;
  max-height:174px;
  object-fit:contain;
}

/* Product management bulk actions. */
.managed-product-bulk-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:54px}
.managed-product-bulk-bar .selection-summary{margin:0}
.managed-product-bulk-actions{display:flex;align-items:center;gap:8px}
.managed-product-bulk-actions button{width:auto;margin:0}
.managed-product-bulk-actions button:disabled{opacity:.42;cursor:not-allowed}
.managed-product-bulk-actions button.secondary:not(:disabled),.managed-product-bulk-actions button.secondary:not(:disabled):hover{color:#0aaea6!important}
.product-status-tabs .managed-status-tab:not(.active) b,.warehouse-status-tabs .managed-status-tab:not(.active) b{background:transparent;color:#172033;font-weight:800}
.product-status-tabs .managed-status-tab.active b,.warehouse-status-tabs .managed-status-tab.active b{background:rgba(40,230,215,.13);color:var(--cyan);font-weight:800}
.product-filter-bar{grid-template-columns:repeat(2,minmax(180px,1fr));max-width:700px}
.managed-product-sync-bar{align-items:flex-end}
.managed-product-cache-info{display:grid;gap:3px}
.managed-product-sync-actions{display:flex;align-items:center;gap:8px}
.managed-product-sync-actions button{width:auto;margin:0}
.product-bulk-dialog{width:min(1280px,96vw);max-height:94vh;padding:0;overflow:hidden;background:#fff;color:#344054}
.product-bulk-dialog .quick-edit-head{align-items:center;margin:0;padding:12px 18px;border-bottom:1px solid #e4e7ec;background:#fff}
.product-bulk-dialog .quick-edit-head b{color:#101828}
.product-bulk-dialog .quick-edit-head span{margin-top:2px;color:#667085}
.product-bulk-dialog .quick-edit-head span strong{display:inline;color:#344054;font-size:12px}
.product-bulk-dialog .quick-edit-close{color:#667085}
.product-bulk-dialog form{padding:0 18px 14px}
.bulk-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}
.bulk-dialog-actions button{width:auto;min-width:78px;margin:0}
.bulk-price-dialog,.bulk-stock-dialog{width:min(1280px,96vw);height:min(760px,92vh)}
.bulk-price-dialog form,.bulk-stock-dialog form{display:flex;height:calc(100% - 58px);flex-direction:column}
.bulk-price-dialog .bulk-price-table,.bulk-stock-dialog .bulk-stock-table{flex:1;max-height:none}
.bulk-price-dialog .bulk-dialog-actions,.bulk-stock-dialog .bulk-dialog-actions{margin-top:auto;padding-top:12px}
.bulk-stock-apply,.bulk-price-apply{display:flex;align-items:flex-end;gap:10px;padding:10px 0}
.bulk-stock-apply label{display:grid;gap:6px;min-width:220px;color:#475467;font-size:12px}
.bulk-price-apply label{display:grid;gap:6px;min-width:180px;color:#475467;font-size:12px}
.bulk-stock-apply input,.bulk-stock-apply select,.bulk-price-apply input{margin:0;border-color:#d0d5dd;background:#fff;color:#344054}
.bulk-stock-apply button,.bulk-price-apply button{width:auto;margin:0}
.bulk-stock-table,.bulk-price-table{max-height:60vh;overflow:auto;border:1px solid #e4e7ec;border-radius:8px;background:#fff;scrollbar-gutter:stable}
.bulk-stock-table table{min-width:920px}
.bulk-price-table table{min-width:1050px}
.bulk-stock-table th,.bulk-stock-table td,.bulk-price-table th,.bulk-price-table td{padding:10px 12px;border-color:#e4e7ec;background:#fff;color:#344054;vertical-align:middle}
.bulk-stock-table thead th,.bulk-price-table thead th{position:sticky;top:0;z-index:2;background:#f2f4f7;color:#344054}
.bulk-stock-table select,.bulk-stock-table input,.bulk-price-table input{min-width:130px;margin:0;border-color:#d0d5dd;background:#fff;color:#344054}
.bulk-price-table input.bulk-sale-price,.bulk-price-table input.bulk-old-price{width:110px;min-width:110px}
.bulk-stock-table input.bulk-stock-value{width:130px;min-width:130px}
.bulk-stock-product{display:flex;align-items:center;gap:10px;min-width:300px;max-width:390px}
.bulk-stock-product img,.bulk-stock-product .no-image{width:52px;height:52px;flex:0 0 52px;border-radius:8px;object-fit:cover}
.bulk-stock-product>div{min-width:0}
.bulk-stock-product b,.bulk-stock-product small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bulk-stock-product b{color:#344054}
.bulk-stock-product small{margin-top:4px;color:#667085}
.bulk-price-table img,.bulk-price-table .no-image{width:52px;height:52px;display:grid;place-items:center;border-radius:8px;object-fit:cover}
.bulk-price-product{min-width:300px;max-width:420px}
.bulk-price-product b,.bulk-price-product small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bulk-price-product b{color:#344054}
.bulk-price-product small{margin-top:4px;color:#667085}

/* Product management single price/stock dialogs use the same readable light surface. */
.product-direct-dialog{background:#fff;color:#344054}
.product-direct-dialog .quick-edit-head b{color:#101828}
.product-direct-dialog .quick-edit-head span{color:#667085}
.product-direct-dialog .quick-edit-close{color:#667085}
.product-direct-dialog .field>span,.product-direct-dialog .quick-field-title{color:#344054}
.product-direct-dialog input{border-color:#d0d5dd;background:#fff;color:#344054}
.product-direct-dialog .stock-input-note{color:#667085}
.product-direct-dialog .warehouse-choice{border-color:#e4e7ec;background:#f9fafb;color:#344054}
.product-direct-dialog .warehouse-choice:has(input:checked){border-color:#14b8a6;background:#ecfdf9}
.product-direct-dialog .warehouse-choice b{color:#344054}
.product-direct-dialog .warehouse-choice small{color:#667085!important}
.product-direct-price-dialog{width:min(1280px,96vw);height:min(760px,92vh)}
.product-direct-price-dialog form{display:flex;height:calc(100% - 58px);flex-direction:column}
.product-direct-price-dialog .direct-price-table{flex:1;max-height:none;margin-top:36px}
.product-direct-price-dialog .direct-price-table table{min-width:1180px}
.product-direct-price-dialog .bulk-price-product{min-width:250px;max-width:310px}
.product-direct-price-dialog .direct-current-price{color:#344054;font-weight:600}
.product-direct-price-dialog .direct-price-product-image{display:block;width:58px;height:58px;cursor:zoom-in}
.product-direct-price-dialog .direct-price-product-image img{width:58px;height:58px;border-radius:8px;object-fit:cover}
.product-direct-price-dialog .bulk-dialog-actions{margin-top:auto;padding-top:12px}
#page:has(.product-direct-price-dialog) .product-image-preview{z-index:140;border-color:#d0d5dd;background:#fff}
#page:has(.product-direct-price-dialog) .product-image-preview>span{display:none}
.product-direct-stock-dialog{width:min(640px,100%);padding:18px}
.product-direct-stock-dialog .quick-edit-head{margin-bottom:8px}
.product-direct-stock-dialog .quick-field-title{margin-bottom:5px}
.product-direct-stock-dialog .warehouse-choice-list{max-height:360px;gap:6px;scrollbar-gutter:stable}
.product-direct-stock-dialog .warehouse-choice{display:grid;min-height:64px;grid-template-columns:auto minmax(0,1fr) 80px 140px;gap:10px;padding:5px 8px}
.product-direct-stock-dialog .warehouse-choice-name{min-width:0}
.product-direct-stock-dialog .warehouse-choice-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-direct-stock-dialog .warehouse-current-stock,.product-direct-stock-dialog .warehouse-target-stock{display:grid;gap:4px}
.product-direct-stock-dialog .warehouse-current-stock small,.product-direct-stock-dialog .warehouse-target-stock small{margin:0}
.product-direct-stock-dialog .warehouse-current-stock b{font-weight:600}
.product-direct-stock-dialog .quick-warehouse-stock-target{box-sizing:border-box;height:34px;margin:0;padding:6px 9px}
@media(max-width:640px){.product-direct-stock-dialog .warehouse-choice{grid-template-columns:auto minmax(0,1fr) 110px}.product-direct-stock-dialog .warehouse-current-stock{grid-column:2}.product-direct-stock-dialog .warehouse-target-stock{grid-column:3;grid-row:1 / span 2}}

/* ERP compact workspace layout */
.app-shell{grid-template-columns:minmax(0,1fr) 244px;gap:14px;width:100%;max-width:none;padding:12px}
.sidebar{top:12px;height:calc(100vh - 24px);padding:14px 10px;border-radius:22px}
.sidebar:before{border-radius:22px 22px 0 0}
.brand-card{gap:10px;padding:10px 8px 16px}
.brand-mark{width:40px;height:40px;border-radius:12px;font-size:16px}
.sidebar nav{padding:14px 1px 8px}
.sidebar nav section{margin-bottom:16px}
.sidebar .nav-item{padding:7px 8px}
.sidebar .user-card{padding:11px}
@media(max-width:1180px){.app-shell{grid-template-columns:minmax(0,1fr) 220px;gap:12px;padding:10px}}
@media(max-width:860px){.app-shell{display:block;padding:10px}.sidebar{position:relative;top:0;height:auto;margin-bottom:10px;padding:10px}}
@media(max-width:620px){.app-shell{padding:8px}}

/* Compact product workspace, points actions, and order thumbnails */
.managed-product-workspace{margin-top:8px;padding:14px 20px 18px}
.managed-product-workspace .card-title{margin-bottom:9px}
.managed-product-workspace .product-filter-shell{margin-bottom:9px}
.managed-product-workspace .product-filter-bar{max-width:620px;gap:8px}
.managed-product-workspace .product-filter-bar input{height:40px;min-height:40px;margin:0;padding:9px 11px}
.points-filter-actions{justify-content:flex-end}
.order-fulfillment-table .order-product-image{width:46px;height:46px;aspect-ratio:1;flex:0 0 46px;border-radius:7px}
.order-fulfillment-table .order-product-image>img{width:46px;height:46px;object-fit:cover}
.order-fulfillment-table .order-product-detail{min-height:46px}
.order-fulfillment-table th:nth-child(3),.order-fulfillment-table td:nth-child(3){width:62px;min-width:62px}
@media(max-width:620px){.managed-product-workspace{padding:12px}.managed-product-workspace .product-filter-bar{max-width:none}}

/* Sales overview cockpit: deep-ocean palette, intentionally distinct from the violet reference */
.sales-overview-shell{--overview-bg:#07343b;--overview-panel:#0b4650;--overview-line:#2c8790;--overview-accent:#45e0cb;--overview-gold:#ffd166;margin-top:8px;min-height:calc(100vh - 118px);padding:10px;border:1px solid #17606a;border-radius:20px;background:radial-gradient(circle at 50% 34%,rgba(36,181,174,.2),transparent 30%),linear-gradient(145deg,#0a4550 0%,#062f36 48%,#082c38 100%);color:#dffbf8;box-shadow:0 22px 55px rgba(7,52,59,.18)}
.sales-overview-header{position:relative;z-index:20;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:62px;padding:8px 14px;border:1px solid rgba(69,224,203,.34);border-radius:13px;background:rgba(5,42,49,.72);box-shadow:inset 0 -1px rgba(119,255,233,.12)}
.sales-overview-header h2{margin:0;color:#f2fffd;font-size:clamp(23px,2vw,36px);font-weight:900;letter-spacing:.08em;text-align:center;text-shadow:0 0 20px rgba(69,224,203,.35)}
.sales-overview-brand,.sales-overview-tools{display:flex;align-items:center;gap:10px}.sales-overview-brand i{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#45e0cb,#8df4db);color:#05343a;font-size:12px;font-style:normal;font-weight:900}.sales-overview-brand span{font-weight:800;letter-spacing:.08em}
.sales-overview-tools{justify-content:flex-end}.sales-overview-date-control{position:relative}.sales-overview-date-picker{display:flex;align-items:center;gap:8px;height:36px;margin:0;padding:0 9px;border:1px solid rgba(69,224,203,.45);border-radius:8px;background:rgba(4,34,42,.7);box-shadow:inset 0 0 16px rgba(69,224,203,.04);cursor:pointer}.sales-overview-date-picker span{color:#a9f5ea;font:700 12px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.02em}.sales-overview-date-picker i{color:#62bcb5;font-size:12px;font-style:normal}.sales-overview-date-picker b{color:#79e9dc;font-size:11px}.sales-overview-tools>#syncDashboard{height:36px;margin:0;padding:0 13px;border:1px solid rgba(69,224,203,.55);border-radius:8px;background:rgba(69,224,203,.1);color:#dffff9;font-size:12px;font-weight:700;cursor:pointer}.sales-overview-date-popover{position:absolute;top:44px;right:0;z-index:80;width:620px;max-width:calc(100vw - 42px);overflow:hidden;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#172033;box-shadow:0 22px 58px rgba(2,20,28,.32)}.sales-overview-date-popover.hidden{display:none}.sales-overview-calendar-navigation{display:grid;grid-template-columns:110px 1fr 110px;align-items:center;min-height:42px;padding:0 12px;border-bottom:1px solid #e5e7eb}.sales-overview-calendar-navigation>span{color:#64748b;font-size:12px;text-align:center}.sales-overview-calendar-navigation>div{display:flex;gap:3px}.sales-overview-calendar-navigation>div:last-child{justify-content:flex-end}.sales-overview-calendar-navigation button{display:grid;place-items:center;width:25px;height:25px;margin:0;padding:0;border:0;background:transparent;color:#64748b;font-size:18px;cursor:pointer}.sales-overview-calendar-navigation button:hover{color:#08a99e}.sales-overview-calendar-months{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:0 14px 12px}.sales-overview-calendar-month h4{height:43px;margin:0;display:grid;place-items:center;color:#172033;font-size:14px;font-weight:800}.sales-overview-calendar-weekdays,.sales-overview-calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.sales-overview-calendar-weekdays span{display:grid;place-items:center;height:25px;color:#334155;font-size:12px}.sales-overview-calendar-day{display:grid;place-items:center;width:100%;height:28px;margin:0;padding:0;border:0;border-radius:6px;background:#f6f7f9;color:#334155;font-size:12px;cursor:pointer}.sales-overview-calendar-day:hover:not(:disabled){background:#dff9f5;color:#087c75}.sales-overview-calendar-day.outside{color:#b8bec8}.sales-overview-calendar-day.in-range{background:#e1f8f5;color:#126f6a}.sales-overview-calendar-day.range-start,.sales-overview-calendar-day.range-end{background:linear-gradient(135deg,#12bdb2,#4bd7eb);color:#fff;font-weight:800;box-shadow:0 4px 10px rgba(16,185,176,.24)}.sales-overview-calendar-day.future,.sales-overview-calendar-day:disabled{background:#f1f2f4;color:#c8cbd1;cursor:not-allowed;box-shadow:none}.sales-overview-date-popover footer{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:0 12px;border-top:1px solid #e5e7eb}.sales-overview-date-popover footer>div{display:flex;gap:6px}.sales-overview-date-popover footer button{height:29px;margin:0;padding:0 10px;border:1px solid transparent;border-radius:7px;background:transparent;color:#08a99e;font-size:12px;font-weight:700;cursor:pointer}.sales-overview-date-popover footer>div:last-child button{border-color:#d6dde6;color:#475569}.sales-overview-date-popover footer>div:last-child .confirm{border-color:#16bdb3;background:linear-gradient(135deg,#13bdb2,#4bcfe4);color:#fff}
.sales-overview-grid{display:grid;grid-template-columns:minmax(220px,.82fr) minmax(430px,1.42fr) minmax(260px,.92fr);gap:8px;margin-top:8px}.sales-overview-grid>aside,.sales-overview-grid>main{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:8px;min-width:0;min-height:0}.sales-overview-grid>main{grid-area:auto;grid-template-rows:420px 300px;align-content:start}
.sales-overview-panel,.sales-overview-core{min-width:0;overflow:hidden;border:1px solid rgba(94,215,204,.34);border-radius:11px;background:linear-gradient(145deg,rgba(13,75,84,.92),rgba(7,52,61,.96));box-shadow:inset 0 0 28px rgba(34,174,167,.05)}
.sales-overview-panel>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border-bottom:1px solid rgba(113,224,213,.16)}.sales-overview-panel h3{margin:0;color:#ecfffc;font-size:15px;font-weight:800}.sales-overview-panel h3:before{content:"";display:inline-block;width:3px;height:13px;margin-right:8px;border-radius:4px;background:var(--overview-accent);box-shadow:0 0 10px rgba(69,224,203,.65);vertical-align:-2px}.sales-overview-panel header span,.sales-overview-panel header strong{color:#8fd8d2;font-size:11px}
.ranking-panel ol{list-style:none;margin:0;padding:5px 12px 10px}.ranking-panel li{display:grid;grid-template-columns:24px minmax(0,1fr) auto 35px;align-items:center;gap:8px;min-height:34px;border-bottom:1px solid rgba(135,221,214,.11)}.ranking-panel li:last-child{border-bottom:0}.ranking-panel li i{display:grid;place-items:center;width:19px;height:19px;border-radius:6px;background:rgba(69,224,203,.12);color:#79efe0;font-size:10px;font-style:normal;font-weight:800}.ranking-panel li:nth-child(-n+3) i{background:rgba(255,209,102,.14);color:var(--overview-gold)}.ranking-panel li span{overflow:hidden;color:#d8efed;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.ranking-panel li b{color:#fff4c8;font-size:11px}.ranking-panel li small{color:#76c9c3;font-size:10px;text-align:right}.sales-overview-empty{display:grid;place-items:center;min-height:120px;color:#6eaaa8;font-size:12px}
.sales-overview-core{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 72%,rgba(69,224,203,.34),transparent 34%),linear-gradient(160deg,rgba(12,92,98,.98),rgba(5,41,52,.98));text-align:center}.sales-overview-core:before,.sales-overview-core:after{content:"";position:absolute;left:50%;bottom:17%;width:68%;height:80px;border:1px solid rgba(90,244,225,.27);border-radius:50%;transform:translateX(-50%);box-shadow:0 0 28px rgba(69,224,203,.14)}.sales-overview-core:after{bottom:21%;width:48%;height:48px}.sales-overview-core time{position:absolute;top:16px;color:#82d9d2;font:600 12px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.09em}.sales-overview-core span,.sales-overview-core em{position:relative;z-index:1;color:#9bded8;font-size:16px;font-style:normal;letter-spacing:.14em}.sales-overview-core strong{position:relative;z-index:1;margin:10px 0 18px;color:#fff;font-size:clamp(42px,5vw,76px);line-height:1;text-shadow:0 0 24px rgba(82,246,225,.32)}.sales-overview-core b{position:relative;z-index:1;margin-top:8px;color:var(--overview-gold);font-size:34px}
.recent-panel{min-height:0}.sales-overview-order-ticker{height:calc(100% - 43px);overflow:hidden}.sales-overview-ticker-head,.sales-overview-ticker-row{display:grid;grid-template-columns:1.05fr 1.02fr 1.1fr .72fr;align-items:center;column-gap:12px}.sales-overview-ticker-head{height:36px;padding:0 12px;border-bottom:1px solid rgba(136,224,216,.15);background:#0a4650;color:#7bdacf;font-size:11px;font-weight:700}.sales-overview-ticker-viewport{height:calc(100% - 36px);overflow:hidden;outline:none;mask-image:linear-gradient(to bottom,transparent 0,#000 8px,#000 calc(100% - 8px),transparent 100%)}.sales-overview-ticker-track{animation:sales-overview-order-scroll var(--ticker-duration,24s) linear infinite;will-change:transform}.sales-overview-ticker-set{margin:0;padding:0}.sales-overview-ticker-row{height:38px;padding:0 12px;border-bottom:1px solid rgba(136,224,216,.1);color:#b9ddda;font-size:11px;white-space:nowrap}.sales-overview-ticker-row span{overflow:hidden;text-overflow:ellipsis}.sales-overview-ticker-row b{color:#fff1b5}.sales-overview-ticker-viewport:hover .sales-overview-ticker-track,.sales-overview-ticker-viewport:focus .sales-overview-ticker-track{animation-play-state:paused}@keyframes sales-overview-order-scroll{from{transform:translateY(0)}to{transform:translateY(-50%)}}
.trend-panel svg{display:block;width:100%;height:auto;padding:2px 8px 6px;overflow:visible}.trend-panel .axis,.trend-panel .grid{stroke:rgba(145,225,218,.18);stroke-width:1}.trend-panel .area{fill:rgba(69,224,203,.12)}.trend-panel .line{fill:none;stroke:var(--overview-accent);stroke-width:2.5;filter:drop-shadow(0 0 4px rgba(69,224,203,.45))}.trend-panel circle{fill:var(--overview-gold);stroke:#0b4650;stroke-width:2}.trend-panel text{fill:#77b8b4;font-size:10px}
@media(max-width:1350px){.sales-overview-grid{grid-template-columns:240px minmax(390px,1.25fr) 270px}.sales-overview-header h2{font-size:24px}.sales-overview-date-picker span{font-size:11px}}
@media(max-width:1050px){.sales-overview-header{grid-template-columns:1fr auto}.sales-overview-header h2{grid-column:1/-1;grid-row:1;text-align:left}.sales-overview-brand{display:none}.sales-overview-tools{grid-column:2;grid-row:1}.sales-overview-grid{grid-template-columns:1fr}.sales-overview-grid>aside{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto}.sales-overview-grid>main{grid-row:1}.sales-overview-grid>aside:last-child{grid-row:2}.sales-overview-grid>aside:first-child{grid-row:3}}
@media(max-width:700px){.sales-overview-shell{padding:7px}.sales-overview-header{display:flex;align-items:flex-start;flex-direction:column}.sales-overview-tools{width:100%;justify-content:space-between}.sales-overview-grid>aside{grid-template-columns:1fr}.sales-overview-grid>main{grid-template-rows:300px 280px}.sales-overview-core strong{font-size:45px}}
