:root{
  --bg:#f2efea;--surface:#f8f6f2;--surface-strong:#fffdfa;--text:#302d2a;
  --muted:#6f6962;--subtle:#817a73;--line:rgba(48,45,42,.11);
  --accent:#687b6b;--accent-hover:#596d5d;--accent-soft:#e5eae4;
  --danger:#a84444;--success:#4f7258;--sidebar:146px;
  --radius-frame:24px;--radius-card:16px;--radius-control:10px;--radius-small:8px;--radius-pill:999px;
  --height-compact:36px;--height-control:40px;--height-form:44px;--height-primary:48px;
  --selected-bg:#dfe7df;--selected-border:rgba(104,123,107,.28);--selected-text:#2f362f;
  --shadow-sidebar:0 8px 22px rgba(48,45,42,.045);--shadow-modal:0 24px 64px rgba(48,45,42,.20);
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;overflow:hidden;color:var(--text);font-family:"PingFang SC","苹方-简","苹方",-apple-system,BlinkMacSystemFont,"SF Pro Text","Microsoft YaHei",Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;background:radial-gradient(circle at 50% -20%,rgba(255,255,255,.78),transparent 45%),var(--bg)}
button,input,textarea{font:inherit}button{cursor:pointer}.hidden{display:none}
body.app-booting{overflow:hidden}body.app-booting>section,body.app-booting>.modal-backdrop,body.app-booting>.erp-toast,body.app-booting>.erp-image-hover-preview{display:none}
button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid rgba(104,123,107,.22);outline-offset:2px}

/* 登录 */
#loginView{min-height:100%;display:grid;place-items:center;padding:20px}
.login-card{width:min(390px,100%);min-height:420px;display:flex;flex-direction:column;justify-content:center;padding:36px 38px 30px;text-align:center;border:1px solid var(--line);border-radius:var(--radius-frame);background:rgba(248,246,242,.96);box-shadow:var(--shadow-sidebar)}
.login-logo-frame{display:grid;place-items:center;margin:0 0 24px}.login-logo{width:202px;max-width:80%;height:auto;display:block;filter:drop-shadow(0 9px 14px rgba(91,66,39,.09))}
.login-card form{width:100%}.login-card input{width:100%;height:var(--height-primary);padding:0 18px;border:1px solid var(--line);border-radius:var(--radius-control);outline:0;text-align:center;color:var(--text);background:var(--surface-strong);transition:border-color .18s,box-shadow .18s}.login-card input::placeholder{color:#8b847d}.login-card input:focus{border-color:rgba(104,123,107,.45);box-shadow:0 0 0 4px rgba(104,123,107,.10)}
.password-control{position:relative;width:100%}.login-card #password{margin-top:10px}.password-control input{padding-right:58px}.password-toggle{position:absolute;right:7px;top:50%;height:var(--height-compact);min-width:45px;padding:0 8px;transform:translateY(-50%);border:0;border-radius:var(--radius-small);color:#66605a;background:transparent;font-size:12px}.password-toggle:hover{color:var(--accent-hover);background:var(--accent-soft)}
.login-card #loginSubmitBtn{width:100%;height:var(--height-primary);margin-top:12px;border:0;border-radius:var(--radius-control);color:#fff;font-weight:600;letter-spacing:.16em;text-indent:.16em;background:var(--accent);box-shadow:none;transition:background .18s}.login-card #loginSubmitBtn:hover{background:var(--accent-hover)}.login-card #loginSubmitBtn:disabled{cursor:not-allowed;opacity:.62}
.login-error{min-height:18px;margin-top:10px;color:var(--danger);font-size:12px;line-height:18px}

/* 框架 */
#appView{height:100%;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);gap:12px;padding:12px}.sidebar,.workspace{background:rgba(248,246,242,.96)}.sidebar{border:1px solid var(--line);box-shadow:var(--shadow-sidebar)}.workspace{border:0;box-shadow:none}
.sidebar{min-height:0;display:flex;flex-direction:column;align-items:center;padding:16px 10px 12px;border-radius:var(--radius-frame);overflow:hidden}.brand{width:100%;height:82px;flex:0 0 82px;display:grid;place-items:center;margin-bottom:6px}.brand img{width:90px;height:auto;filter:drop-shadow(0 8px 12px rgba(91,66,39,.08))}
.nav{width:100%;min-height:0;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;gap:7px;padding:6px 0;overflow-y:auto;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}.nav button{width:100%;min-height:var(--height-primary);flex:0 0 var(--height-primary);display:flex;align-items:center;justify-content:center;padding:0 10px;border:1px solid transparent;border-radius:var(--radius-control);color:var(--subtle);background:transparent;font-size:13px;font-weight:600;letter-spacing:.02em;transition:color .16s,background .16s,border-color .16s,box-shadow .16s}.nav button span{display:block;white-space:nowrap}.nav button:hover{color:#48433f;background:rgba(229,234,228,.56)}.nav button.active{color:var(--selected-text);font-weight:600;background:var(--selected-bg);border-color:var(--selected-border);box-shadow:none}
.sidebar-user{width:100%;flex:0 0 auto;padding-top:11px;border-top:1px solid var(--line)}.user-menu{position:relative;width:100%}.user-name{width:100%;height:var(--height-control);padding:0 9px;border:1px solid var(--line);border-radius:var(--radius-control);color:#5d5751;background:var(--surface-strong);font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-menu:hover .user-name,.user-menu.open .user-name{color:#383430;background:#fff;border-color:rgba(104,123,107,.25)}.user-account-name{overflow:hidden;text-overflow:ellipsis}
.user-popover{position:absolute;right:0;bottom:calc(100% - 1px);z-index:60;width:100%;padding:6px;border:1px solid var(--line);border-radius:var(--radius-card);background:#fffdfa;box-shadow:0 14px 34px rgba(48,45,42,.13);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(5px);transition:opacity .16s ease,transform .16s ease,visibility 0s linear .16s}.user-menu:hover .user-popover,.user-menu.open .user-popover,.user-menu:focus-within .user-popover{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition-delay:0s}.user-menu-action{width:100%;height:var(--height-compact);border:0;border-radius:var(--radius-small);background:transparent;color:#5f5953;font-size:12px;text-align:center}.user-menu-action:hover,.user-menu-action:focus-visible{background:var(--accent-soft);color:#313631;outline:none}.logout-action{margin-top:4px;color:#974545;border-top:1px solid var(--line);border-radius:0 0 var(--radius-small) var(--radius-small)}.logout-action:hover{background:#f5e7e7;color:#823838}
.workspace{position:relative;min-width:0;min-height:0;overflow:hidden;border-radius:var(--radius-frame);background:rgba(248,246,242,.78)}.content{height:100%;min-height:100%;overflow:hidden}.view{display:none;width:100%;height:100%;min-height:100%}.view.active{display:block;animation:viewIn .2s ease}.view-copywriting,.view-infringement,.view-api,.view-templates,.view-collector{overflow:hidden}.view-collector{position:relative}.copywriting-frame,.infringement-frame,.api-frame,.templates-frame,.collector-frame{width:100%;height:100%;display:block;border:0;background:transparent}.collector-status{position:absolute;inset:0;z-index:5;display:grid;place-items:center;padding:28px;background:rgba(248,246,242,.96)}.collector-status.hidden{display:none}.collector-status-card{width:min(520px,100%);min-height:270px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px 32px;text-align:center;border:1px solid var(--line);border-radius:var(--radius-card);background:#fffdfa;box-shadow:0 18px 42px rgba(48,45,42,.08)}.collector-status-mark{width:50px;height:50px;display:grid;place-items:center;margin-bottom:16px;border-radius:var(--radius-card);color:#5d675e;background:var(--accent-soft);font-size:18px;font-weight:700}.collector-status-card h2{margin:0 0 9px;font-size:20px}.collector-status-card p{max-width:430px;margin:0;color:var(--muted);font-size:13px;line-height:1.75;white-space:pre-line}.collector-status-card button{height:var(--height-control);margin-top:18px;padding:0 16px;border:1px solid var(--selected-border);border-radius:var(--radius-control);color:var(--selected-text);background:var(--selected-bg);font-size:13px;font-weight:600}.collector-status[data-mode="loading"] .collector-status-card button{display:none}.collector-status[data-mode="error"] .collector-status-mark,.collector-status[data-mode="missing"] .collector-status-mark{color:#8a4b4b;background:#f4e6e6}@keyframes viewIn{from{opacity:0}to{opacity:1}}

/* 批量祛除 */
.view-removal{overflow:hidden;padding:8px}.removal-shell{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px}.removal-command-bar{min-height:50px;display:flex;align-items:center;justify-content:center;padding:7px 10px;border-bottom:1px solid var(--line);background:transparent}.removal-actions{display:flex;gap:7px}.removal-workflow-button{min-width:108px;height:var(--height-control);padding:0 14px;border:1px solid var(--line);border-radius:var(--radius-control);color:#55504b;background:var(--surface-strong);font-size:13px;font-weight:600}.removal-workflow-button:hover{border-color:rgba(104,123,107,.28);background:var(--accent-soft)}.removal-workflow-button.active{color:var(--selected-text);font-weight:600;border-color:var(--selected-border);background:var(--selected-bg);box-shadow:none}.removal-content{min-height:0;overflow:auto;background:transparent}

/* 占位 */
.placeholder-view.active{display:grid;place-items:center;padding:28px}.placeholder-card{width:min(530px,100%);min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px 32px;text-align:center;border:1px solid var(--line);border-radius:var(--radius-card);background:rgba(255,253,250,.62)}.placeholder-mark{width:50px;height:50px;display:grid;place-items:center;margin-bottom:17px;border-radius:var(--radius-card);color:#5d675e;background:var(--accent-soft);font-size:18px;font-weight:700}.placeholder-card h2{margin:0 0 9px;font-size:20px}.placeholder-card p{max-width:420px;margin:0;color:var(--muted);font-size:13px;line-height:1.75}.placeholder-status{margin-top:18px;padding:6px 10px;border:1px solid var(--line);border-radius:var(--radius-pill);color:#716a64;background:#fffdfa;font-size:11.5px}

/* 统一弹窗 */
.modal-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:rgba(48,45,42,.24);animation:modalFade .16s ease both}.system-modal,.account-modal{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-card);background:#fffdfa;box-shadow:var(--shadow-modal);animation:modalIn .18s ease both}.system-modal{width:min(360px,100%)}.system-modal-copy{padding:25px 25px 21px;text-align:center}.system-modal-copy h2{margin:0 0 8px;font-size:18px}.system-modal-copy p{margin:0;color:var(--muted);font-size:13px;line-height:1.65;white-space:pre-line}.system-modal-actions{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}.modal-btn{height:var(--height-form);border:0;background:#fffdfa;color:#5d5650;font-size:13px}.modal-btn+.modal-btn{border-left:1px solid var(--line)}.modal-btn:hover{background:var(--accent-soft);color:#2f362f}.modal-btn.confirm{font-weight:600}.modal-btn.confirm.danger{color:var(--danger)}
.account-modal{width:min(470px,100%)}.account-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:23px 24px 18px;border-bottom:1px solid var(--line)}.account-modal-header h2{margin:0 0 7px;font-size:18px}.account-modal-header p{margin:0;color:var(--muted);font-size:12.5px;line-height:1.6}.account-modal-close{width:var(--height-compact);height:var(--height-compact);flex:0 0 var(--height-compact);border:0;border-radius:var(--radius-small);color:#817a73;background:#f2efea;font-size:19px}.account-modal-close:hover{color:#403b37;background:#e9e5df}.account-modal-body{padding:18px 24px 10px}.account-field{display:block;margin-bottom:14px}.account-field>span,.account-field>label{display:block;margin-bottom:7px;color:#57514b;font-size:12.5px;font-weight:600}.account-field input{width:100%;height:var(--height-form);padding:0 12px;border:1px solid var(--line);border-radius:var(--radius-control);outline:0;color:var(--text);background:#fff}.account-field input::placeholder{color:#8b847d}.account-field input:focus{border-color:rgba(104,123,107,.42);box-shadow:0 0 0 4px rgba(104,123,107,.10)}.account-form-feedback{min-height:20px;color:var(--muted);font-size:12px;line-height:1.55}.account-form-feedback.error{color:var(--danger)}.account-form-feedback.success{color:var(--success)}.account-modal-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 24px 16px;border-top:1px solid var(--line)}.account-modal-button{min-width:86px;height:var(--height-control);padding:0 14px;border:1px solid var(--line);border-radius:var(--radius-control);font-size:13px;font-weight:600}.account-modal-button.secondary{color:#625c56;background:#fff}.account-modal-button.primary{color:#fff;border-color:var(--accent);background:var(--accent)}.account-modal-button:hover:not(:disabled){filter:brightness(.97)}.account-modal-button:disabled{cursor:not-allowed;color:#807a74;border-color:rgba(48,45,42,.14);background:#e8e5e0;opacity:1}
body.modal-open{overflow:hidden}@keyframes modalFade{from{opacity:0}to{opacity:1}}@keyframes modalIn{from{opacity:0;transform:translateY(6px) scale(.985)}to{opacity:1;transform:none}}

@media(max-height:680px){.brand{height:64px;flex-basis:64px}.brand img{width:72px}.nav{justify-content:flex-start;gap:5px}.nav button{min-height:var(--height-form);flex-basis:var(--height-form)}.login-card{min-height:380px;padding-top:26px;padding-bottom:24px}.login-logo-frame{margin-bottom:18px}.login-logo{width:180px}}
@media(max-width:1100px){:root{--sidebar:126px}.sidebar{padding-left:8px;padding-right:8px}.brand{height:72px;flex-basis:72px}.brand img{width:78px}.nav button{font-size:12px}}
@media(max-width:800px){:root{--sidebar:112px}#appView{gap:8px;padding:8px}.sidebar{padding-left:6px;padding-right:6px}.brand{height:66px;flex-basis:66px}.brand img{width:68px}.nav button{min-height:var(--height-form);flex-basis:var(--height-form);padding:0 7px;font-size:12px;letter-spacing:0}.user-name{font-size:12px}.placeholder-view.active{padding:18px}}
@media(max-width:480px){#loginView{padding:14px}.login-card{min-height:390px;padding:30px 22px 24px;border-radius:var(--radius-card)}.login-logo{width:180px}#appView{grid-template-columns:102px minmax(0,1fr);padding:6px}.sidebar,.workspace{border-radius:var(--radius-card)}.nav button{font-size:12px}.account-modal-header,.account-modal-body,.account-modal-actions{padding-left:18px;padding-right:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto;animation-duration:.01ms;animation-iteration-count:1;transition-duration:.01ms}}

/* Parsed-copy transfer table. Only the eight requested fields are displayed; all other source fields remain in the stored product objects. */
.removal-content{overflow:hidden}.removal-table-card{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid var(--line);border-radius:var(--radius-control);background:rgba(255,253,250,.74);overflow:hidden}.removal-table-meta{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 12px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}.removal-table-meta strong{color:var(--text);font-size:13px}.removal-table-wrap{min-height:0;overflow:auto;scrollbar-color:#c7c1ba transparent}.removal-table-wrap table{table-layout:fixed;width:1780px;min-width:1780px;border-collapse:separate;border-spacing:0;color:var(--text);font-size:12.5px}.removal-table-wrap col.removal-col-sku{width:118px}.removal-table-wrap col.removal-col-name{width:270px}.removal-table-wrap col.removal-col-short{width:222px}.removal-table-wrap col.removal-col-long{width:282px}.removal-table-wrap th,.removal-table-wrap td{border-right:1px solid rgba(48,45,42,.07);border-bottom:1px solid rgba(48,45,42,.07);text-align:center;vertical-align:middle}.removal-table-wrap th{position:sticky;top:0;z-index:2;height:36px;padding:5px 8px;color:#5a544e;background:#f1eee9;font-size:12px;font-weight:700;white-space:nowrap}.removal-table-wrap td{height:76px;max-height:76px;padding:7px 9px;overflow:hidden}.removal-table-wrap th:last-child,.removal-table-wrap td:last-child{border-right:0}.removal-table-wrap tbody tr:last-child td{border-bottom:0}.removal-table-wrap tbody tr:hover td{background:#faf8f4}.removal-cell-clamp{display:-webkit-box;max-height:56px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;line-height:18px;word-break:break-word;text-overflow:ellipsis}.removal-col-sku .removal-cell-clamp{-webkit-line-clamp:2;line-clamp:2;max-height:36px;word-break:break-all}.removal-empty-cell{height:300px;width:100%;padding:20px;color:var(--muted);text-align:center;border:0;font-size:13px}.removal-table-wrap tbody tr{height:76px}
@media(max-width:800px){.removal-table-meta{align-items:flex-start;flex-direction:column;gap:3px}.removal-table-wrap table{width:1650px;min-width:1650px}.removal-table-wrap col.removal-col-name{width:245px}.removal-table-wrap col.removal-col-short{width:205px}.removal-table-wrap col.removal-col-long{width:260px}}


.view-removal,.view-image-optimization{overflow:hidden;padding:8px}
.removal-command-bar{position:relative;display:grid;grid-template-columns:minmax(160px,1fr) auto minmax(260px,1fr);align-items:center;justify-content:stretch;gap:12px;padding:7px 10px}
.removal-selection-meta{justify-self:start;color:var(--muted);font-size:12px;white-space:nowrap}.removal-selection-meta strong{color:var(--text);font-size:13px}
.removal-actions{justify-self:center}.removal-secondary-actions{justify-self:end;display:flex;align-items:center;gap:7px}
.removal-workflow-button{min-width:154px}.removal-workflow-button:disabled,.removal-secondary-button:disabled{cursor:not-allowed;opacity:.48}
.removal-secondary-button{height:var(--height-control);padding:0 13px;border:1px solid var(--line);border-radius:var(--radius-control);color:#55504b;background:var(--surface-strong);font-size:12.5px;font-weight:600;white-space:nowrap}
.removal-secondary-button:hover:not(:disabled){border-color:rgba(104,123,107,.28);background:var(--accent-soft)}.removal-secondary-button.danger{color:#944343;border-color:rgba(168,68,68,.20);background:rgba(168,68,68,.05)}.removal-secondary-button.danger:hover:not(:disabled){background:rgba(168,68,68,.10)}
.removal-table-wrap table{width:1822px;min-width:1822px}.removal-table-wrap col.removal-col-select{width:42px}.removal-select-cell{width:42px;min-width:42px;max-width:42px;padding-left:4px;padding-right:4px;text-align:center}.removal-select-cell input{width:16px;height:16px;accent-color:var(--accent)}
.removal-table-wrap td{height:58px;max-height:58px;padding:5px 8px}.removal-table-wrap tbody tr{height:58px}.removal-cell-clamp{max-height:42px;-webkit-line-clamp:3;line-clamp:3;line-height:14px}.removal-col-sku .removal-cell-clamp{max-height:28px;line-height:14px}.removal-table-wrap tbody tr.selected td{background:#eef2ed}

.image-opt-shell{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px}.image-opt-command-bar{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 10px;border-bottom:1px solid var(--line)}
.image-opt-selection-tools{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.image-opt-selection-tools strong{color:var(--text);font-size:13px}.image-tool-button,.image-open-doubao{height:var(--height-control);padding:0 13px;border:1px solid var(--line);border-radius:var(--radius-control);font-size:12.5px;font-weight:600;white-space:nowrap}.image-tool-button{color:#55504b;background:var(--surface-strong)}.image-tool-button:hover:not(:disabled){border-color:rgba(104,123,107,.28);background:var(--accent-soft)}.image-open-doubao{min-width:104px;color:#fff;border-color:var(--accent);background:var(--accent)}.image-open-doubao:hover:not(:disabled){background:var(--accent-hover)}.image-tool-button:disabled,.image-open-doubao:disabled{cursor:not-allowed;opacity:.46}
.image-opt-content{min-height:0;overflow:hidden}.image-opt-table-card{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid var(--line);border-radius:var(--radius-control);background:rgba(255,253,250,.74);overflow:hidden}.image-opt-table-meta{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 12px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}.image-opt-table-meta strong{color:var(--text);font-size:13px}
.image-opt-table-wrap{min-height:0;overflow:auto;scrollbar-color:#c7c1ba transparent}.image-opt-table-wrap table{table-layout:auto;width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;color:var(--text);font-size:12.5px}.image-opt-table-wrap col.image-col-select{width:42px}.image-opt-table-wrap col.image-col-image{width:104px}.image-opt-table-wrap col.image-col-sku{width:118px}.image-opt-table-wrap col.image-col-asin{width:110px}.image-opt-table-wrap col.image-col-brand{width:130px}.image-opt-table-wrap col.image-col-name{width:270px}.image-opt-table-wrap col.image-col-short{width:222px}.image-opt-table-wrap col.image-col-long{width:282px}.image-opt-table-wrap col.image-col-status{width:92px}
.image-opt-table-wrap th,.image-opt-table-wrap td{border-right:1px solid rgba(48,45,42,.07);border-bottom:1px solid rgba(48,45,42,.07);text-align:center;vertical-align:middle}.image-opt-table-wrap th{position:sticky;top:0;z-index:2;height:36px;padding:5px 8px;color:#5a544e;background:#f1eee9;font-size:12px;font-weight:700;white-space:nowrap}.image-opt-table-wrap td{height:66px;max-height:66px;padding:5px 8px;overflow:hidden}.image-opt-table-wrap th:last-child,.image-opt-table-wrap td:last-child{border-right:0}.image-opt-table-wrap tbody tr:last-child td{border-bottom:0}.image-opt-table-wrap tbody tr:hover td{background:#faf8f4}.image-opt-table-wrap tbody tr.selected td{background:#eef2ed}.image-select-cell{width:42px;min-width:42px;max-width:42px;padding-left:4px;padding-right:4px}.image-select-cell input{width:16px;height:16px;accent-color:var(--accent)}
.image-opt-thumbnail{display:block;width:52px;height:52px;margin:auto;object-fit:contain;border:1px solid rgba(48,45,42,.08);border-radius:8px;background:#fff}.image-opt-placeholder{display:inline-grid;place-items:center;width:52px;height:52px;border:1px dashed var(--line);border-radius:8px;color:var(--muted);font-size:11px}.image-cell-clamp{display:-webkit-box;max-height:42px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;line-height:14px;word-break:break-word;text-overflow:ellipsis}.image-col-sku .image-cell-clamp,.image-col-asin .image-cell-clamp{-webkit-line-clamp:2;line-clamp:2;max-height:28px;word-break:break-all}.image-status-badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border:1px solid rgba(104,123,107,.20);border-radius:999px;color:#526557;background:#e9efe8;font-size:11px;font-weight:600}.image-empty-cell{height:300px;padding:20px;color:var(--muted);text-align:center;border:0;font-size:13px}
.image-pagination{min-height:42px;display:flex;align-items:center;justify-content:center;gap:12px;padding:6px 10px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.image-pagination button{height:30px;padding:0 12px;border:1px solid var(--line);border-radius:8px;color:#5c5650;background:#fffdfa;font-size:12px}.image-pagination button:hover:not(:disabled){background:var(--accent-soft)}.image-pagination button:disabled{cursor:not-allowed;opacity:.42}
.erp-toast{position:fixed;left:50%;bottom:22px;z-index:300;max-width:min(520px,calc(100vw - 44px));padding:10px 14px;border:1px solid rgba(255,255,255,.68);border-radius:10px;color:#fff;background:#526d58;box-shadow:0 12px 30px rgba(48,45,42,.17);font-size:12px;line-height:1.5;text-align:center;opacity:0;visibility:hidden;transform:translate(-50%,12px);transition:opacity .18s,transform .18s,visibility .18s;pointer-events:none}.erp-toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}.erp-toast.compact{max-width:min(300px,calc(100vw - 44px));padding:7px 12px;border-radius:9px;font-size:11.5px;line-height:1.4}.erp-toast.warning{background:#806a46}.erp-toast.error{background:#934646}
#systemModal.single-action #modalCancelBtn{display:none}.single-action .system-modal-actions{justify-content:flex-end}
@media(max-width:900px){.removal-command-bar{grid-template-columns:auto 1fr;gap:8px}.removal-actions{justify-self:start}.removal-secondary-actions{grid-column:1/-1;justify-self:end}.image-opt-command-bar{align-items:flex-start;flex-direction:column}.image-opt-selection-tools{width:100%;flex-wrap:wrap}.image-open-doubao{align-self:flex-end}.image-opt-table-meta{align-items:flex-start;flex-direction:column;gap:3px}}


.image-opt-table-wrap table{width:max-content;min-width:100%;table-layout:fixed}
.image-opt-table-wrap col.image-col-default{width:132px}.image-opt-table-wrap col.image-col-url{width:150px}.image-opt-table-wrap col.image-col-time{width:150px}
.image-url-link{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:5px 8px;border:1px solid rgba(104,123,107,.18);border-radius:8px;color:#536457;background:#edf2ec;text-decoration:none;font-size:11px;white-space:nowrap}
.image-url-link:hover{border-color:rgba(104,123,107,.36);background:#e2eae1}
#systemModal.single-action .system-modal-actions{grid-template-columns:1fr}
#systemModal.single-action #modalConfirmBtn{width:100%;border-left:0}


.image-opt-table-wrap th,.image-opt-table-wrap td{min-width:110px}
.image-opt-table-wrap th.image-col-image,.image-opt-table-wrap td.image-col-image{min-width:104px}
.image-opt-table-wrap th.image-col-name,.image-opt-table-wrap td.image-col-name{min-width:270px}
.image-opt-table-wrap th.image-col-short,.image-opt-table-wrap td.image-col-short{min-width:222px}
.image-opt-table-wrap th.image-col-long,.image-opt-table-wrap td.image-col-long{min-width:282px}
.image-thumb-wrap{display:grid;grid-template-rows:56px 16px;align-items:center;justify-items:center;gap:2px;min-height:74px}
.image-original-link{color:#6b746b;font-size:11px;text-decoration:none}
.image-original-link:hover{text-decoration:underline}
.image-load-failed .image-opt-thumbnail{display:none}
.image-load-failed::before{content:"加载失败";display:grid;place-items:center;width:52px;height:52px;border:1px dashed var(--line);border-radius:8px;color:var(--danger);font-size:11px}

.image-opt-table-wrap th.image-col-default,.image-opt-table-wrap td.image-col-default{width:132px;max-width:132px}
.image-opt-table-wrap th.image-col-url,.image-opt-table-wrap td.image-col-url{width:150px;max-width:150px}
.image-opt-table-wrap th.image-col-time,.image-opt-table-wrap td.image-col-time{width:150px;max-width:150px}
.image-opt-table-wrap th.image-col-image,.image-opt-table-wrap td.image-col-image{width:104px;max-width:104px}
.image-opt-table-wrap th.image-col-sku,.image-opt-table-wrap td.image-col-sku{width:118px;max-width:118px}
.image-opt-table-wrap th.image-col-asin,.image-opt-table-wrap td.image-col-asin{width:110px;max-width:110px}
.image-opt-table-wrap th.image-col-brand,.image-opt-table-wrap td.image-col-brand{width:130px;max-width:130px}
.image-opt-table-wrap th.image-col-name,.image-opt-table-wrap td.image-col-name{width:270px;max-width:270px}
.image-opt-table-wrap th.image-col-short,.image-opt-table-wrap td.image-col-short{width:222px;max-width:222px}
.image-opt-table-wrap th.image-col-long,.image-opt-table-wrap td.image-col-long{width:282px;max-width:282px}


.removal-command-bar{grid-template-columns:minmax(120px,1fr) auto minmax(240px,1fr)}
.removal-actions{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}
.removal-workflow-button{min-width:126px}
.image-tool-button.danger{color:#944343;border-color:rgba(168,68,68,.22);background:rgba(168,68,68,.06)}
.image-tool-button.danger:hover:not(:disabled){border-color:rgba(168,68,68,.36);background:rgba(168,68,68,.11)}

.removal-table-wrap table{width:max-content;min-width:100%;table-layout:fixed}
.removal-table-wrap col.removal-col-select{width:42px}
.removal-table-wrap col.removal-col-image{width:104px}
.removal-table-wrap col.removal-col-sku{width:118px}
.removal-table-wrap col.removal-col-asin{width:110px}
.removal-table-wrap col.removal-col-brand{width:130px}
.removal-table-wrap col.removal-col-name{width:270px}
.removal-table-wrap col.removal-col-short{width:222px}
.removal-table-wrap col.removal-col-long{width:282px}
.removal-table-wrap col.removal-col-default{width:132px}
.removal-table-wrap col.removal-col-url{width:150px}
.removal-table-wrap col.removal-col-time{width:150px}
.removal-table-wrap th,.removal-table-wrap td{min-width:110px}
.removal-table-wrap th.removal-col-image,.removal-table-wrap td.removal-col-image{width:104px;min-width:104px;max-width:104px}
.removal-table-wrap th.removal-col-sku,.removal-table-wrap td.removal-col-sku{width:118px;min-width:118px;max-width:118px}
.removal-table-wrap th.removal-col-asin,.removal-table-wrap td.removal-col-asin{width:110px;min-width:110px;max-width:110px}
.removal-table-wrap th.removal-col-brand,.removal-table-wrap td.removal-col-brand{width:130px;min-width:130px;max-width:130px}
.removal-table-wrap th.removal-col-name,.removal-table-wrap td.removal-col-name{width:270px;min-width:270px;max-width:270px}
.removal-table-wrap th.removal-col-short,.removal-table-wrap td.removal-col-short{width:222px;min-width:222px;max-width:222px}
.removal-table-wrap th.removal-col-long,.removal-table-wrap td.removal-col-long{width:282px;min-width:282px;max-width:282px}
.removal-table-wrap th.removal-col-default,.removal-table-wrap td.removal-col-default{width:132px;min-width:132px;max-width:132px}
.removal-table-wrap th.removal-col-url,.removal-table-wrap td.removal-col-url{width:150px;min-width:150px;max-width:150px}
.removal-table-wrap th.removal-col-time,.removal-table-wrap td.removal-col-time{width:150px;min-width:150px;max-width:150px}
.removal-table-wrap td{height:76px;max-height:76px}
.removal-table-wrap tbody tr{height:76px}

.removal-table-wrap th.removal-select-cell,.removal-table-wrap td.removal-select-cell,
.image-opt-table-wrap th.image-select-cell,.image-opt-table-wrap td.image-select-cell{
  position:sticky;left:0;width:42px;min-width:42px;max-width:42px;
  background:#fffdfa;box-shadow:1px 0 0 rgba(48,45,42,.12);z-index:7
}
.removal-table-wrap th.removal-select-cell,.image-opt-table-wrap th.image-select-cell{top:0;z-index:12;background:#ece8e2}
.removal-table-wrap tbody tr:hover td.removal-select-cell,.image-opt-table-wrap tbody tr:hover td.image-select-cell{background:#faf8f4}
.removal-table-wrap tbody tr.selected td.removal-select-cell,.image-opt-table-wrap tbody tr.selected td.image-select-cell{background:#e6eee5}

.erp-copyable-cell{position:relative;width:100%;max-width:100%;display:grid;grid-template-columns:22px minmax(0,1fr) 22px;align-items:center;justify-items:center;gap:3px}
.erp-copyable-cell::before{content:"";display:block;width:22px;height:22px;grid-column:1}
.erp-copyable-cell>.removal-cell-clamp,.erp-copyable-cell>.image-cell-clamp,.erp-copyable-cell>a{grid-column:2;max-width:100%;min-width:0;justify-self:center}
.erp-link-cell>a{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border:1px solid rgba(104,123,107,.18);border-radius:8px;color:#536457;background:#edf2ec;text-decoration:none;font-size:11px;white-space:nowrap}
.erp-link-cell>a:hover{border-color:rgba(104,123,107,.36);background:#e2eae1}
.erp-cell-copy-button{grid-column:3;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:6px;background:transparent;color:#77716b;opacity:0;transform:scale(.94);transition:opacity .14s ease,background .14s ease,color .14s ease,transform .14s ease}
.erp-cell-copy-button svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round}
.removal-table-wrap td:hover .erp-cell-copy-button,.image-opt-table-wrap td:hover .erp-cell-copy-button,.image-thumb-wrap:hover .erp-cell-copy-button{opacity:1;transform:scale(1)}
.erp-cell-copy-button:hover{background:rgba(118,118,128,.1);color:var(--text)}

.image-thumb-wrap{grid-template-rows:54px 20px;cursor:zoom-in}
.image-thumb-actions{display:flex;align-items:center;justify-content:center;gap:2px;min-height:20px}
.image-thumb-actions .erp-cell-copy-button{position:static;grid-column:auto}
.image-original-link{padding:2px 4px;border-radius:5px}
.image-original-link:hover{background:var(--accent-soft);text-decoration:none}
.erp-image-hover-preview{position:fixed;z-index:950;width:360px;height:360px;padding:10px;border:1px solid rgba(48,45,42,.14);border-radius:14px;background:rgba(255,253,250,.98);box-shadow:0 20px 54px rgba(48,45,42,.24);pointer-events:none}
.erp-image-hover-preview img{display:block;width:100%;height:100%;object-fit:contain;border-radius:9px;background:#fff}

@media(max-width:900px){.removal-command-bar{grid-template-columns:auto 1fr}.removal-actions{justify-self:start}.erp-image-hover-preview{width:280px;height:280px}}
.removal-table-wrap td,.image-opt-table-wrap td{height:82px;max-height:82px}
.removal-table-wrap tbody tr,.image-opt-table-wrap tbody tr{height:82px}



.removal-table-wrap col.removal-col-country,.image-opt-table-wrap col.image-col-country{width:68px}
.removal-table-wrap col.removal-col-postal,.image-opt-table-wrap col.image-col-postal{width:82px}
.removal-table-wrap col.removal-col-money,.image-opt-table-wrap col.image-col-money{width:82px}
.removal-table-wrap col.removal-col-currency,.image-opt-table-wrap col.image-col-currency{width:72px}
.removal-table-wrap col.removal-col-sku,.image-opt-table-wrap col.image-col-sku{width:154px}
.removal-table-wrap col.removal-col-asin,.image-opt-table-wrap col.image-col-asin{width:142px}

.removal-table-wrap th.removal-col-country,.removal-table-wrap td.removal-col-country,
.image-opt-table-wrap th.image-col-country,.image-opt-table-wrap td.image-col-country{width:68px;min-width:68px;max-width:68px;padding-left:4px;padding-right:4px}
.removal-table-wrap th.removal-col-postal,.removal-table-wrap td.removal-col-postal,
.image-opt-table-wrap th.image-col-postal,.image-opt-table-wrap td.image-col-postal{width:82px;min-width:82px;max-width:82px;padding-left:4px;padding-right:4px}
.removal-table-wrap th.removal-col-money,.removal-table-wrap td.removal-col-money,
.image-opt-table-wrap th.image-col-money,.image-opt-table-wrap td.image-col-money{width:82px;min-width:82px;max-width:82px;padding-left:4px;padding-right:4px}
.removal-table-wrap th.removal-col-currency,.removal-table-wrap td.removal-col-currency,
.image-opt-table-wrap th.image-col-currency,.image-opt-table-wrap td.image-col-currency{width:72px;min-width:72px;max-width:72px;padding-left:4px;padding-right:4px}
.removal-table-wrap th.removal-col-sku,.removal-table-wrap td.removal-col-sku,
.image-opt-table-wrap th.image-col-sku,.image-opt-table-wrap td.image-col-sku{width:154px;min-width:154px;max-width:154px}
.removal-table-wrap th.removal-col-asin,.removal-table-wrap td.removal-col-asin,
.image-opt-table-wrap th.image-col-asin,.image-opt-table-wrap td.image-col-asin{width:142px;min-width:142px;max-width:142px}
.removal-col-sku .removal-cell-clamp,.removal-col-asin .removal-cell-clamp,
.image-col-sku .image-cell-clamp,.image-col-asin .image-cell-clamp{display:block;max-height:18px;white-space:nowrap;word-break:normal;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:unset;line-clamp:unset;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;font-size:11px}

.image-status-badge.uploaded{color:#365c42;border-color:rgba(70,120,83,.25);background:#dfece1}
.optimized-placeholder{color:#7c746d;background:#faf8f4}
.optimized-loading{font-size:11px}
.optimized-file-name{display:block;max-width:88px;overflow:hidden;color:#6a635d;font-size:11px;line-height:16px;white-space:nowrap;text-overflow:ellipsis}

.optimized-upload-modal{width:min(980px,calc(100vw - 40px));max-height:min(760px,calc(100vh - 40px));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fffdfa;box-shadow:var(--shadow-modal)}
.optimized-upload-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px 16px;border-bottom:1px solid var(--line)}
.optimized-upload-header h2{margin:0 0 7px;font-size:18px}.optimized-upload-header p{max-width:720px;margin:0;color:var(--muted);font-size:12.5px;line-height:1.65}
.optimized-upload-close{width:34px;height:34px;flex:0 0 34px;border:0;border-radius:9px;color:#716a64;background:transparent;font-size:24px;line-height:1}.optimized-upload-close:hover{background:var(--accent-soft)}
.optimized-upload-toolbar{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 22px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}
.optimized-upload-toolbar button{height:32px;padding:0 11px;border:1px solid var(--line);border-radius:8px;color:#56514c;background:#fffdfa;font-size:12px}.optimized-upload-toolbar button:hover{background:var(--accent-soft)}
.optimized-upload-rows{min-height:0;overflow:auto;padding:10px 14px;scrollbar-color:#c7c1ba transparent}
.optimized-upload-row{min-height:86px;display:grid;grid-template-columns:72px minmax(160px,260px) minmax(260px,1fr);align-items:center;gap:14px;padding:8px;border-bottom:1px solid rgba(48,45,42,.08)}
.optimized-upload-row:last-child{border-bottom:0}.optimized-upload-row>img{width:66px;height:66px;object-fit:contain;border:1px solid var(--line);border-radius:9px;background:#fff}
.optimized-upload-file{min-width:0;display:flex;flex-direction:column;gap:5px}.optimized-upload-file strong{overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.optimized-upload-file span{color:var(--muted);font-size:11px}
.optimized-upload-empty{min-height:240px;display:grid;place-items:center;color:var(--muted);font-size:13px}
.optimized-upload-actions{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}.optimized-upload-actions .modal-btn{width:100%}
.optimized-upload-actions .modal-btn+.modal-btn{border-left:1px solid var(--line)}
@media(max-width:780px){.optimized-upload-row{grid-template-columns:62px minmax(0,1fr)}.optimized-upload-toolbar{align-items:flex-start;flex-direction:column}}
.optimized-upload-target{min-width:0;display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:10px}
.optimized-upload-original{min-height:72px;display:grid;grid-template-rows:52px 16px;align-items:center;justify-items:center;gap:1px;cursor:zoom-in}.optimized-upload-original>span{color:var(--muted);font-size:11px}.optimized-upload-original.empty{border:1px dashed var(--line);border-radius:8px;cursor:default}.optimized-upload-original.empty>span{grid-row:1/-1;align-self:center;text-align:center;line-height:1.4}
@media(max-width:780px){.optimized-upload-target{grid-column:1/-1}}


.image-opt-selection-tools{flex-wrap:wrap}
.image-inline-doubao{min-width:96px}
.image-transfer-export{min-width:126px;height:var(--height-control);padding:0 14px;border:1px solid var(--accent);border-radius:var(--radius-control);color:#fff;background:var(--accent);font-size:12.5px;font-weight:700;white-space:nowrap}
.image-transfer-export:hover:not(:disabled){background:var(--accent-hover)}
.image-transfer-export:disabled{cursor:not-allowed;opacity:.46}

.optimized-direct-upload-modal{width:min(760px,calc(100vw - 40px));grid-template-rows:auto minmax(0,1fr) auto}
.optimized-direct-upload-body{min-height:0;overflow:auto;padding:18px 22px 22px}
.direct-upload-product-info{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:8px 14px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#faf8f4}
.direct-upload-product-info strong{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px}
.direct-upload-product-info span{color:var(--muted);font-size:11.5px}.direct-upload-product-info p{margin:0;overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}
.direct-upload-compare{display:grid;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);align-items:center;gap:12px;margin-top:16px}
.direct-upload-image-card{min-height:250px;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;align-items:center;justify-items:center;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:zoom-in}
.direct-upload-image-card>span{color:var(--muted);font-size:12px;font-weight:600}.direct-upload-image-card .image-opt-thumbnail{width:220px;height:220px;border:0}
.direct-upload-image-card.direct-upload-missing{cursor:default}.direct-upload-image-card.direct-upload-missing strong{color:var(--muted);font-size:13px}
.direct-upload-arrow{color:var(--accent);font-size:28px;font-weight:700;text-align:center}
.direct-upload-name{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:7px 10px;margin-top:16px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#faf8f4}
.direct-upload-name span{color:var(--muted);font-size:11px}.direct-upload-name code{min-width:0;overflow:hidden;padding:5px 7px;border-radius:6px;background:#fff;font-size:11px;white-space:nowrap;text-overflow:ellipsis}
.direct-upload-tip{margin:12px 0 0;color:#5c6a5e;font-size:12px;line-height:1.6;text-align:center}

.view-export-listing{overflow:hidden;padding:8px}
.export-listing-shell{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid var(--line);border-radius:var(--radius-control);background:rgba(255,253,250,.74);overflow:hidden}
.export-listing-header{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 14px;border-bottom:1px solid var(--line)}
.export-listing-header h2{margin:0 0 4px;font-size:16px}.export-listing-header p{margin:0;color:var(--muted);font-size:11.5px}.export-listing-header>div:last-child{color:var(--muted);font-size:12px;white-space:nowrap}.export-listing-header strong{color:var(--text);font-size:14px}
.export-listing-table-wrap{min-height:0;overflow:auto}
.export-listing-table-wrap table{width:max-content;min-width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}
.export-listing-table-wrap th,.export-listing-table-wrap td{border-right:1px solid rgba(48,45,42,.07);border-bottom:1px solid rgba(48,45,42,.07);text-align:center;vertical-align:middle}
.export-listing-table-wrap th{position:sticky;top:0;z-index:3;height:36px;padding:5px 8px;color:#5a544e;background:#f1eee9;font-size:12px;white-space:nowrap}
.export-listing-table-wrap td{height:82px;max-height:82px;padding:5px 8px;overflow:hidden;font-size:12px}.export-listing-empty{height:320px;color:var(--muted);border:0}
.export-listing-table-wrap td:hover .erp-cell-copy-button{opacity:1;transform:scale(1)}

@media(max-width:900px){.image-transfer-export{align-self:flex-end}.direct-upload-compare{grid-template-columns:1fr}.direct-upload-arrow{transform:rotate(90deg)}.direct-upload-product-info{grid-template-columns:1fr}.direct-upload-name{grid-template-columns:1fr}.optimized-direct-upload-modal{width:min(620px,calc(100vw - 24px))}}



.image-pagination{display:none}
.optimized-batch-upload-modal{width:min(1120px,calc(100vw - 32px));max-height:min(860px,calc(100vh - 28px));grid-template-rows:auto auto minmax(0,1fr) auto}
.optimized-upload-toolbar>div:last-child{text-align:right}
.optimized-upload-empty>div{display:flex;flex-direction:column;align-items:center;gap:8px}.optimized-upload-empty strong{font-size:14px}.optimized-upload-empty span{color:var(--muted);font-size:12px}
.optimized-upload-row{grid-template-columns:78px minmax(170px,240px) minmax(420px,1fr);min-height:106px;gap:12px}
.optimized-upload-row.duplicate{background:#fff3f1}
.optimized-upload-file-preview{display:grid;place-items:center;cursor:zoom-in}.optimized-upload-file-preview>img{width:72px;height:72px;object-fit:contain;border:1px solid var(--line);border-radius:9px;background:#fff}
.optimized-upload-file code{max-width:100%;overflow:hidden;padding:4px 6px;border-radius:6px;background:#f3f0eb;color:#625c56;font-size:11px;white-space:nowrap;text-overflow:ellipsis}
.optimized-upload-target{grid-template-columns:78px minmax(0,1fr)}
.optimized-upload-target-copy{min-width:0;display:flex;flex-direction:column;gap:7px}
.optimized-match-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:26px}
.optimized-confidence{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}
.optimized-confidence.high{color:#3f6548;background:#e5f2e7}.optimized-confidence.medium{color:#806014;background:#fff1c9}.optimized-confidence.low{color:#924b42;background:#fde2de}.optimized-confidence.manual{color:#365f78;background:#dfedf5}
.optimized-review-check{display:inline-flex;align-items:center;gap:6px;color:#635c56;font-size:11px;white-space:nowrap}.optimized-review-check input{width:15px;height:15px;accent-color:var(--accent)}
.optimized-duplicate-warning{color:#a34338;font-size:11px;font-weight:700}
@media(max-width:850px){.optimized-upload-row{grid-template-columns:72px minmax(0,1fr)}.optimized-upload-target{grid-column:1/-1}.optimized-upload-toolbar>div:last-child{text-align:left}}


*,html,body,button,input,textarea,select,option,table,th,td{
  font-family:"PingFang SC","PingFang TC","PingFang HK","苹方-简","苹方",sans-serif;
}


.removal-secondary-button[hidden],.image-inline-delete[hidden],.export-quiet-delete[hidden]{display:none}

.image-product-title-row{display:flex;align-items:center;gap:9px;min-width:0}
.image-product-title-row>span{white-space:nowrap}
.image-inline-delete,.export-quiet-delete{
  height:28px;padding:0 9px;border:0;border-radius:9px;
  color:#9b4747;background:rgba(168,68,68,.055);font-size:11.5px;font-weight:600;white-space:nowrap;
  animation:softActionIn .16s ease-out
}
.image-inline-delete:hover,.export-quiet-delete:hover{background:rgba(168,68,68,.10);color:#873a3a}
@keyframes softActionIn{from{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:none}}

/* Keep short business values on one line and give identifiers enough room. */
.image-opt-table-wrap col.image-col-country{width:92px}
.image-opt-table-wrap col.image-col-postal{width:112px}
.image-opt-table-wrap col.image-col-currency{width:92px}
.image-opt-table-wrap col.image-col-seller-id{width:176px}
.image-opt-table-wrap col.image-col-variant-count{width:82px}
.image-opt-table-wrap col.image-col-review-count{width:84px}
.image-opt-table-wrap col.image-col-rating{width:72px}
.image-opt-table-wrap col.image-col-fulfillment{width:92px}
.image-opt-table-wrap col.image-col-seller-country{width:92px}
.image-opt-table-wrap col.image-col-seller-province{width:96px}
.image-opt-table-wrap col.image-col-seller-count{width:84px}
.image-opt-table-wrap col.image-col-delivery{width:106px}

.image-opt-table-wrap th.image-col-country,.image-opt-table-wrap td.image-col-country{width:92px;min-width:92px;max-width:92px}
.image-opt-table-wrap th.image-col-postal,.image-opt-table-wrap td.image-col-postal{width:112px;min-width:112px;max-width:112px}
.image-opt-table-wrap th.image-col-currency,.image-opt-table-wrap td.image-col-currency{width:92px;min-width:92px;max-width:92px}
.image-opt-table-wrap th.image-col-seller-id,.image-opt-table-wrap td.image-col-seller-id{width:176px;min-width:176px;max-width:176px}
.image-opt-table-wrap th.image-col-variant-count,.image-opt-table-wrap td.image-col-variant-count{width:82px;min-width:82px;max-width:82px}
.image-opt-table-wrap th.image-col-review-count,.image-opt-table-wrap td.image-col-review-count{width:84px;min-width:84px;max-width:84px}
.image-opt-table-wrap th.image-col-rating,.image-opt-table-wrap td.image-col-rating{width:72px;min-width:72px;max-width:72px}
.image-opt-table-wrap th.image-col-fulfillment,.image-opt-table-wrap td.image-col-fulfillment{width:92px;min-width:92px;max-width:92px}
.image-opt-table-wrap th.image-col-seller-country,.image-opt-table-wrap td.image-col-seller-country{width:92px;min-width:92px;max-width:92px}
.image-opt-table-wrap th.image-col-seller-province,.image-opt-table-wrap td.image-col-seller-province{width:96px;min-width:96px;max-width:96px}
.image-opt-table-wrap th.image-col-seller-count,.image-opt-table-wrap td.image-col-seller-count{width:84px;min-width:84px;max-width:84px}
.image-opt-table-wrap th.image-col-delivery,.image-opt-table-wrap td.image-col-delivery{width:106px;min-width:106px;max-width:106px}
.image-opt-table-wrap .image-col-country .image-cell-clamp,
.image-opt-table-wrap .image-col-postal .image-cell-clamp,
.image-opt-table-wrap .image-col-currency .image-cell-clamp,
.image-opt-table-wrap .image-col-seller-id .image-cell-clamp,
.image-opt-table-wrap .image-col-variant-count .image-cell-clamp,
.image-opt-table-wrap .image-col-review-count .image-cell-clamp,
.image-opt-table-wrap .image-col-rating .image-cell-clamp,
.image-opt-table-wrap .image-col-fulfillment .image-cell-clamp,
.image-opt-table-wrap .image-col-seller-country .image-cell-clamp,
.image-opt-table-wrap .image-col-seller-province .image-cell-clamp,
.image-opt-table-wrap .image-col-seller-count .image-cell-clamp,
.image-opt-table-wrap .image-col-delivery .image-cell-clamp{
  display:block;max-height:18px;white-space:nowrap;word-break:normal;
  overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:unset;line-clamp:unset
}

/* Export listing selection and export action */
.export-listing-header{min-height:72px;padding:10px 14px}
.export-listing-title{min-width:0}
.export-listing-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;color:inherit;font-size:inherit}
.export-selection-meta{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;white-space:nowrap}
.export-selection-meta strong{color:var(--text);font-size:14px}
.export-complete-button{
  height:38px;padding:0 14px;border:1px solid rgba(104,123,107,.22);border-radius:11px;
  color:#fff;background:var(--accent);font-size:12.5px;font-weight:650;white-space:nowrap;transition:.16s
}
.export-complete-button:hover:not(:disabled){background:var(--accent-hover)}
.export-complete-button:disabled{cursor:not-allowed;color:#9a958f;border-color:rgba(48,45,42,.08);background:rgba(118,118,128,.08);opacity:1}
.export-listing-table-wrap col.export-col-select{width:42px}
.export-listing-table-wrap th.export-select-cell,.export-listing-table-wrap td.export-select-cell{
  position:sticky;left:0;z-index:8;width:42px;min-width:42px;max-width:42px;
  padding:4px;background:#fffdfa;box-shadow:1px 0 0 rgba(48,45,42,.12);text-align:center
}
.export-listing-table-wrap th.export-select-cell{top:0;z-index:14;background:#ece8e2}
.export-listing-table-wrap .export-select-cell input{width:16px;height:16px;accent-color:var(--accent)}
.export-listing-table-wrap tbody tr.selected td{background:#eef2ed}
.export-listing-table-wrap tbody tr.selected td.export-select-cell{background:#e6eee5}
.export-listing-table-wrap tbody tr:hover td.export-select-cell{background:#faf8f4}

/* Filename + destructive cleanup confirmation */
.export-file-modal{width:min(500px,100%);overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fffdfa;box-shadow:var(--shadow-modal);animation:modalIn .18s ease both}
.export-file-modal-copy{padding:24px 24px 20px}
.export-file-modal-copy h2{margin:0 0 8px;font-size:18px}
.export-file-modal-copy p{margin:0 0 18px;color:var(--muted);font-size:12.5px;line-height:1.7}
.export-file-message{margin:0 0 14px!important;color:#7e5d48!important;font-size:11.5px!important;line-height:1.5!important}
.export-file-modal-copy label{display:block;margin-bottom:7px;color:#57514b;font-size:12px;font-weight:600}
.export-file-modal-copy input,.export-file-modal-copy select{width:100%;height:44px;margin-bottom:14px;padding:0 12px;border:1px solid var(--line);border-radius:10px;outline:0;color:var(--text);background:#fff;font-size:13px}.export-file-modal-copy select{appearance:auto}
.export-file-modal-copy input:focus,.export-file-modal-copy select:focus{border-color:rgba(104,123,107,.42);box-shadow:0 0 0 4px rgba(104,123,107,.09)}
.export-file-modal-actions{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}
.export-file-modal-actions .modal-btn{width:100%}
.export-file-modal-actions .modal-btn+.modal-btn{border-left:1px solid var(--line)}

@media(max-width:900px){
  .export-listing-header{align-items:flex-start;flex-direction:column}
  .export-listing-actions{width:100%;justify-content:space-between}
}



.image-opt-table-wrap col.image-col-cache-status{width:118px}
.image-opt-table-wrap th.image-col-cache-status,.image-opt-table-wrap td.image-col-cache-status{
  width:118px;min-width:118px;max-width:118px;padding-left:6px;padding-right:6px
}
.image-opt-table-wrap .image-col-cache-status .image-cell-clamp{
  display:block;max-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  word-break:normal;-webkit-line-clamp:unset;line-clamp:unset
}
.removal-secondary-button,.image-tool-button,.image-transfer-export,.export-complete-button,.workflowButton,.transferRemovalButton{
  letter-spacing:-.008em;box-shadow:none
}



html,body,button,input,select,textarea,table{font-family:"PingFang SC","苹方-简","苹方",-apple-system,BlinkMacSystemFont,"SF Pro Text","Microsoft YaHei",Arial,sans-serif}
.nav button,.removal-workflow-button,.removal-secondary-button,.image-tool-button,.image-open-doubao,.image-transfer-export,.export-complete-button{letter-spacing:0}



.sidebar,.workspace{background:rgba(248,248,247,.82);border-color:rgba(60,60,67,.08)}
@supports(backdrop-filter:blur(18px)){.sidebar,.workspace{backdrop-filter:blur(22px) saturate(112%)}}
.nav button,.removal-command-bar,.image-opt-command-bar,.removal-table-card,.image-opt-table-card{transition:background .16s ease,border-color .16s ease,color .16s ease}
.removal-command-bar,.image-opt-command-bar{min-height:56px;border:1px solid rgba(60,60,67,.075);border-radius:14px;background:rgba(255,255,255,.46);padding:7px 10px}
@supports(backdrop-filter:blur(14px)){.removal-command-bar,.image-opt-command-bar{backdrop-filter:blur(16px) saturate(110%)}}
.removal-selection-meta{display:flex;align-items:center;gap:9px;color:#7b7b80}
.removal-selection-meta span+span{padding-left:9px;border-left:1px solid rgba(60,60,67,.10)}
#removalTransferStatus,#imageOptimizationStatus{color:#8e8e93;font-size:11.5px;white-space:nowrap}
.image-opt-selection-tools{gap:8px}.image-product-meta{white-space:nowrap}.image-opt-command-actions{display:flex;align-items:center;gap:7px;margin-left:auto}
.removal-table-card,.image-opt-table-card{grid-template-rows:minmax(0,1fr);border-color:rgba(60,60,67,.08);border-radius:14px;background:rgba(255,255,255,.56)}
.removal-table-meta,.image-opt-table-meta{display:none}
.removal-table-wrap,.image-opt-table-wrap{overflow-y:auto;overflow-x:hidden}
.removal-table-wrap table,.image-opt-table-wrap table{width:100%;min-width:0;max-width:100%;table-layout:fixed}
.removal-table-wrap col.removal-col-select,.image-opt-table-wrap col.image-col-select{width:3.5%}
.removal-table-wrap col.removal-col-sku,.image-opt-table-wrap col.image-col-sku{width:9%}
.removal-table-wrap col.removal-col-name,.image-opt-table-wrap col.image-col-name{width:14%}
.removal-table-wrap col.removal-col-short,.image-opt-table-wrap col.image-col-short{width:10.7%}
.removal-table-wrap col.removal-col-long,.image-opt-table-wrap col.image-col-long{width:20%}
.removal-table-wrap th,.removal-table-wrap td,.image-opt-table-wrap th,.image-opt-table-wrap td{width:auto;min-width:0;max-width:none}
.removal-table-wrap th,.image-opt-table-wrap th{height:32px;padding:4px 5px;font-size:11.5px;background:rgba(242,242,247,.92)}
.removal-table-wrap td,.image-opt-table-wrap td{height:60px;max-height:60px;padding:5px;font-size:11.5px}
.removal-table-wrap tbody tr,.image-opt-table-wrap tbody tr{height:60px}
.removal-table-wrap .removal-cell-clamp,.image-opt-table-wrap .image-cell-clamp{max-height:43px;line-height:14px;-webkit-line-clamp:3;line-clamp:3}
.removal-table-wrap th.removal-select-cell,.removal-table-wrap td.removal-select-cell,.image-opt-table-wrap th.image-select-cell,.image-opt-table-wrap td.image-select-cell{width:auto;min-width:0;max-width:none}
.erp-copyable-cell{display:block;padding:0 18px}.erp-copyable-cell::before{display:none}.erp-copyable-cell>.removal-cell-clamp,.erp-copyable-cell>.image-cell-clamp{display:-webkit-box;max-width:100%}
.erp-cell-copy-button{position:absolute;right:0;top:50%;transform:translateY(-50%) scale(.94)}.removal-table-wrap td:hover .erp-cell-copy-button,.image-opt-table-wrap td:hover .erp-cell-copy-button{transform:translateY(-50%) scale(1)}
@media(max-width:900px){.removal-command-bar{grid-template-columns:auto minmax(0,1fr) auto}.image-opt-command-bar{align-items:center;flex-direction:row}.image-opt-selection-tools{flex-wrap:wrap}}



.image-opt-table-wrap{
  overflow:auto;
  overscroll-behavior:contain;
  touch-action:pan-x pan-y;
  scrollbar-gutter:stable;
  contain:layout paint style;
  background:#fffdfa;
}
.image-opt-table-wrap table{
  width:max-content;
  min-width:100%;
  max-width:none;
  table-layout:fixed;
}
.image-opt-table-wrap col.image-col-select{width:42px}
.image-opt-table-wrap col.image-col-image{width:104px}
.image-opt-table-wrap col.image-col-sku{width:154px}
.image-opt-table-wrap col.image-col-asin{width:142px}
.image-opt-table-wrap col.image-col-brand{width:130px}
.image-opt-table-wrap col.image-col-name{width:270px}
.image-opt-table-wrap col.image-col-short{width:222px}
.image-opt-table-wrap col.image-col-long{width:282px}
.image-opt-table-wrap col.image-col-default{width:132px}
.image-opt-table-wrap col.image-col-url{width:150px}
.image-opt-table-wrap col.image-col-time{width:150px}
.image-opt-table-wrap col.image-col-country{width:92px}
.image-opt-table-wrap col.image-col-postal{width:112px}
.image-opt-table-wrap col.image-col-money{width:82px}
.image-opt-table-wrap col.image-col-currency{width:92px}
.image-opt-table-wrap col.image-col-seller-id{width:176px}
.image-opt-table-wrap col.image-col-variant-count{width:82px}
.image-opt-table-wrap col.image-col-review-count{width:84px}
.image-opt-table-wrap col.image-col-rating{width:72px}
.image-opt-table-wrap col.image-col-fulfillment{width:92px}
.image-opt-table-wrap col.image-col-seller-country{width:92px}
.image-opt-table-wrap col.image-col-seller-province{width:96px}
.image-opt-table-wrap col.image-col-seller-count{width:84px}
.image-opt-table-wrap col.image-col-delivery{width:106px}
.image-opt-table-wrap th,.image-opt-table-wrap td{width:auto;max-width:none}
.image-opt-table-wrap th.image-select-cell,.image-opt-table-wrap td.image-select-cell{width:42px;min-width:42px;max-width:42px}
.image-opt-table-wrap th.image-col-image,.image-opt-table-wrap td.image-col-image{width:104px;min-width:104px;max-width:104px}
.image-opt-table-wrap th.image-col-sku,.image-opt-table-wrap td.image-col-sku{width:154px;min-width:154px;max-width:154px}
.image-opt-table-wrap th.image-col-asin,.image-opt-table-wrap td.image-col-asin{width:142px;min-width:142px;max-width:142px}
.image-opt-table-wrap th.image-col-brand,.image-opt-table-wrap td.image-col-brand{width:130px;min-width:130px;max-width:130px}
.image-opt-table-wrap th.image-col-name,.image-opt-table-wrap td.image-col-name{width:270px;min-width:270px;max-width:270px}
.image-opt-table-wrap th.image-col-short,.image-opt-table-wrap td.image-col-short{width:222px;min-width:222px;max-width:222px}
.image-opt-table-wrap th.image-col-long,.image-opt-table-wrap td.image-col-long{width:282px;min-width:282px;max-width:282px}
.image-opt-table-wrap th.image-col-default,.image-opt-table-wrap td.image-col-default{width:132px;min-width:132px;max-width:132px}
.image-opt-table-wrap th.image-col-url,.image-opt-table-wrap td.image-col-url{width:150px;min-width:150px;max-width:150px}
.image-opt-table-wrap th.image-col-time,.image-opt-table-wrap td.image-col-time{width:150px;min-width:150px;max-width:150px}
.image-opt-table-wrap td{height:82px;max-height:82px;padding:5px 8px}
.image-opt-table-wrap tbody tr{height:82px}
.image-opt-table-wrap .image-cell-clamp{max-height:42px;line-height:14px;-webkit-line-clamp:3;line-clamp:3}
.image-opt-table-wrap.is-scrolling *{transition:none;animation:none}
.workspace.is-table-scrolling,.workspace.is-table-scrolling .image-opt-command-bar,.workspace.is-table-scrolling .removal-command-bar{backdrop-filter:none}
.image-opt-table-wrap.is-scrolling tbody tr:hover td{background:inherit}



.optimized-upload-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
#optimizedUploadConfirmAll{font-weight:650;color:#fff;background:var(--accent);border-color:var(--accent)}
#optimizedUploadConfirmAll:hover:not(:disabled){background:var(--accent-hover)}
#optimizedUploadConfirmAll:disabled{cursor:not-allowed;opacity:.45}
@media(max-width:780px){.optimized-upload-toolbar-actions{width:100%;justify-content:space-between}.optimized-upload-toolbar-actions>div{min-width:0;text-align:left}}



:root{
  --button-accent:#5f7164;
  --button-accent-hover:#526257;
  --button-accent-active:#48564d;
  --button-glass:rgba(255,253,250,.66);
  --button-glass-hover:rgba(255,255,255,.88);
  --button-border:rgba(69,82,72,.16);
  --button-text:#4b514d;
  --button-danger:#95504b;
  --button-danger-soft:rgba(149,80,75,.075);
}
.nav button{
  min-height:42px;
  flex-basis:42px;
  border-radius:11px;
  color:#666b67;
  background:transparent;
  transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .12s ease;
}
.nav button:hover{color:#424944;background:rgba(255,255,255,.48);border-color:rgba(69,82,72,.08)}
.nav button.active{color:#344039;border-color:rgba(95,113,100,.19);background:rgba(222,231,223,.76);box-shadow:inset 0 1px 0 rgba(255,255,255,.58)}
.user-name,.removal-workflow-button,.removal-secondary-button,.image-tool-button,.account-modal-button,.workflowButton,.transferRemovalButton{
  height:38px;
  border-radius:11px;
  border-color:var(--button-border);
  color:var(--button-text);
  background:var(--button-glass);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.76),0 1px 2px rgba(48,45,42,.04);
  backdrop-filter:blur(12px) saturate(120%);
  -webkit-backdrop-filter:blur(12px) saturate(120%);
  transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .12s ease,opacity .16s ease;
}
.user-name:hover,.user-menu:hover .user-name,.user-menu.open .user-name,.removal-workflow-button:hover:not(:disabled),.removal-secondary-button:hover:not(:disabled),.image-tool-button:hover:not(:disabled),.account-modal-button.secondary:hover:not(:disabled){
  color:#3d4640;
  border-color:rgba(69,82,72,.24);
  background:var(--button-glass-hover);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88),0 4px 12px rgba(48,45,42,.065);
}
.removal-workflow-button.active{color:#344039;border-color:rgba(95,113,100,.25);background:rgba(222,231,223,.84);box-shadow:inset 0 1px 0 rgba(255,255,255,.62)}
.image-open-doubao,.image-transfer-export,.export-complete-button,.account-modal-button.primary,#optimizedUploadConfirmAll{
  height:38px;
  border-radius:11px;
  color:#fff;
  border-color:rgba(73,91,79,.88);
  background:rgba(95,113,100,.97);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 4px 12px rgba(65,82,70,.15);
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .12s ease,opacity .16s ease;
}
.image-open-doubao:hover:not(:disabled),.image-transfer-export:hover:not(:disabled),.export-complete-button:hover:not(:disabled),.account-modal-button.primary:hover:not(:disabled),#optimizedUploadConfirmAll:hover:not(:disabled){background:var(--button-accent-hover);border-color:var(--button-accent-hover);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 6px 16px rgba(65,82,70,.18);filter:none}
.image-open-doubao:active:not(:disabled),.image-transfer-export:active:not(:disabled),.export-complete-button:active:not(:disabled),.account-modal-button.primary:active:not(:disabled),#optimizedUploadConfirmAll:active:not(:disabled){background:var(--button-accent-active);transform:scale(.985)}
.user-menu-action{height:34px;border-radius:9px;color:#626963;transition:background .16s ease,color .16s ease}
.user-menu-action:hover,.user-menu-action:focus-visible{color:#3e4741;background:rgba(95,113,100,.10)}
.removal-secondary-button.danger,.image-tool-button.danger,.image-inline-delete,.export-quiet-delete{color:var(--button-danger);border-color:rgba(149,80,75,.13);background:var(--button-danger-soft);box-shadow:none}
.removal-secondary-button.danger:hover:not(:disabled),.image-tool-button.danger:hover:not(:disabled),.image-inline-delete:hover,.export-quiet-delete:hover{color:#84433e;border-color:rgba(149,80,75,.20);background:rgba(149,80,75,.13)}
.account-modal-close,.optimized-upload-close,.password-toggle,.erp-cell-copy-button{color:#737a75;background:transparent;transition:background .16s ease,color .16s ease,transform .12s ease}
.account-modal-close:hover,.optimized-upload-close:hover,.password-toggle:hover,.erp-cell-copy-button:hover{color:#424a44;background:rgba(95,113,100,.095)}
.modal-btn{height:42px;color:#5d645f;background:rgba(255,253,250,.66);transition:background .16s ease,color .16s ease}
.modal-btn:hover{color:#354039;background:rgba(95,113,100,.095)}
.modal-btn.confirm{color:#425248}.modal-btn.confirm.danger{color:var(--button-danger)}
button:active:not(:disabled){transform:scale(.985)}
button:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(95,113,100,.15)}
button:disabled{box-shadow:none;filter:none}



#imageOptimizationTable{
  width:100%;
  min-width:860px;
  max-width:none;
  table-layout:fixed;
}
#imageOptimizationTable col.image-col-select{width:44px}
#imageOptimizationTable col.image-col-image{width:128px}
#imageOptimizationTable col.image-col-name{width:auto}
#imageOptimizationTable col.image-col-asin{width:160px}
#imageOptimizationTable col.image-col-sku{width:180px}
#imageOptimizationTable th.image-col-image,#imageOptimizationTable td.image-col-image{
  width:128px;min-width:128px;max-width:128px;
}
#imageOptimizationTable th.image-col-name,#imageOptimizationTable td.image-col-name{
  width:auto;min-width:280px;max-width:none;
}
#imageOptimizationTable th.image-col-asin,#imageOptimizationTable td.image-col-asin{
  width:160px;min-width:160px;max-width:160px;
}
#imageOptimizationTable th.image-col-sku,#imageOptimizationTable td.image-col-sku{
  width:180px;min-width:180px;max-width:180px;
}
#imageOptimizationTable .image-col-name .image-cell-clamp{
  max-height:46px;line-height:15px;-webkit-line-clamp:3;line-clamp:3;
}
@media(max-width:980px){#imageOptimizationTable{min-width:800px}}



.optimized-product-combobox{position:relative;min-width:0;z-index:1}
.optimized-product-combobox.open{z-index:70}
.optimized-product-combobox-button{width:100%;min-height:48px;display:grid;grid-template-columns:38px minmax(0,1fr) 22px;align-items:center;gap:9px;padding:5px 8px;border:1px solid var(--line);border-radius:10px;color:var(--text);background:#fff;text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.optimized-product-combobox-button:hover,.optimized-product-combobox.open .optimized-product-combobox-button{border-color:rgba(86,113,92,.46);background:#fffefa;box-shadow:0 0 0 3px rgba(86,113,92,.08)}
.optimized-product-selected-thumb,.optimized-product-option-thumb{position:relative;display:grid;place-items:center;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#fff;cursor:zoom-in}
.optimized-product-selected-thumb{width:36px;height:36px}.optimized-product-option-thumb{width:58px;height:58px}
.optimized-product-selected-thumb img,.optimized-product-option-thumb img{width:100%;height:100%;object-fit:contain;background:#fff}
.optimized-product-selected-thumb.empty,.optimized-product-option-thumb.empty{color:#928a82;background:#f4f1ed;cursor:default;font-size:11px}
.optimized-product-selected-copy,.optimized-product-option-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.optimized-product-selected-copy strong,.optimized-product-option-copy strong{overflow:hidden;color:#4d4945;font-size:11.5px;line-height:1.25;white-space:nowrap;text-overflow:ellipsis}
.optimized-product-selected-copy span,.optimized-product-option-copy span{overflow:hidden;color:var(--muted);font-size:11px;line-height:1.35;white-space:nowrap;text-overflow:ellipsis}
.optimized-product-combobox-arrow{justify-self:end;color:#77716b;font-size:18px;transition:transform .16s ease}.optimized-product-combobox.open .optimized-product-combobox-arrow{transform:rotate(180deg)}
.optimized-product-listbox{position:absolute;right:0;top:calc(100% + 7px);z-index:80;width:min(640px,calc(100vw - 88px));max-height:min(390px,55vh);overflow:auto;padding:6px;border:1px solid rgba(48,45,42,.16);border-radius:12px;background:#fffdfa;box-shadow:0 18px 48px rgba(48,45,42,.24);scrollbar-color:#c7c1ba transparent}
.optimized-product-combobox.open-up .optimized-product-listbox{top:auto;bottom:calc(100% + 7px)}
.optimized-product-option{width:100%;min-height:72px;display:grid;grid-template-columns:60px minmax(0,1fr) 24px;align-items:center;gap:10px;padding:6px 8px;border:0;border-radius:9px;color:var(--text);background:transparent;text-align:left;cursor:pointer}
.optimized-product-option:hover,.optimized-product-option:focus-visible{outline:0;background:var(--accent-soft)}
.optimized-product-option.selected{background:#e7eee7}
.optimized-product-option-check{visibility:hidden;justify-self:center;color:var(--accent);font-size:16px;font-weight:800}.optimized-product-option.selected .optimized-product-option-check{visibility:visible}
.optimized-product-zoom-mark{position:absolute;right:2px;bottom:2px;padding:1px 3px;border-radius:4px;color:#fff;background:rgba(38,42,39,.74);font-size:11px;line-height:1.35;pointer-events:none}
.optimized-product-selected-thumb .optimized-product-zoom-mark{font-size:11px}
.erp-image-zoom-backdrop{position:fixed;inset:0;z-index:1300;display:grid;place-items:center;padding:24px;background:rgba(29,31,29,.72);backdrop-filter:blur(3px)}
.erp-image-zoom-dialog{position:relative;max-width:min(920px,94vw);max-height:92vh;display:grid;place-items:center;padding:18px;border-radius:16px;background:#fff;box-shadow:0 28px 80px rgba(0,0,0,.4)}
.erp-image-zoom-dialog img{display:block;max-width:min(880px,90vw);max-height:86vh;object-fit:contain;background:#fff}
.erp-image-zoom-close{position:absolute;right:-13px;top:-13px;z-index:2;width:36px;height:36px;border:1px solid rgba(255,255,255,.65);border-radius:50%;color:#fff;background:#3f4541;font-size:24px;line-height:1;box-shadow:0 7px 18px rgba(0,0,0,.25)}
.erp-image-zoom-close:hover{background:#252a27}.image-zoom-open{overflow:hidden}
@media(max-width:850px){.optimized-product-listbox{right:auto;left:0;width:min(620px,calc(100vw - 54px))}}


.image-watermark-import{white-space:nowrap}
.watermark-tool-modal{width:min(1280px,calc(100vw - 24px));height:min(880px,calc(100vh - 20px));display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#f8f7f4;box-shadow:var(--shadow-modal)}
.watermark-tool-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:12px 16px;border-bottom:1px solid var(--line);background:#fffdfa}
.watermark-tool-modal-header h2{margin:0 0 5px;font-size:16px}
.watermark-tool-modal-header p{max-width:980px;margin:0;color:var(--muted);font-size:11px;line-height:1.55}
.watermark-tool-frame{width:100%;height:100%;border:0;background:#f8f7f4}
@media(max-width:760px){.watermark-tool-modal{width:calc(100vw - 10px);height:calc(100vh - 10px);border-radius:12px}.watermark-tool-modal-header{padding:12px}.watermark-tool-modal-header p{display:none}}


.optimized-image-draggable{cursor:grab;user-select:none;touch-action:none}
.optimized-image-draggable:active{cursor:grabbing}
.image-opt-table-wrap tr.optimized-drag-source td{opacity:.52}
.image-opt-table-wrap tr.optimized-drop-target td{background:#eef5ef;box-shadow:inset 0 1px 0 rgba(74,113,82,.28),inset 0 -1px 0 rgba(74,113,82,.28)}
.image-opt-table-wrap tr.optimized-drop-target td:first-child{box-shadow:inset 3px 0 0 #607c66,inset 0 1px 0 rgba(74,113,82,.28),inset 0 -1px 0 rgba(74,113,82,.28)}
.image-opt-table-wrap tr.optimized-drop-target .optimized-placeholder{color:#365c42;border-color:#7ea287;background:#e5f0e7}
.optimized-drop-placeholder{border:1px dashed rgba(95,113,100,.35)}


.optimized-cell-stack{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:150px}



.export-listing-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}
.export-listing-title{justify-self:start;text-align:left}
.export-mapping-center{justify-self:center}
.export-listing-actions{justify-self:end}
.export-mapping-center{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:150px}
.export-mapping-button{height:38px;min-width:132px;padding:0 20px;border:1px solid rgba(73,91,79,.88);border-radius:11px;color:#fff;background:rgba(95,113,100,.97);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 4px 12px rgba(65,82,70,.15);font-size:13px;font-weight:700;letter-spacing:.01em;transition:background .18s,border-color .18s,box-shadow .18s,transform .12s}
.export-mapping-button:hover:not(:disabled){background:#526257;border-color:#526257;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 6px 16px rgba(65,82,70,.18)}
.export-mapping-button:disabled{cursor:not-allowed;color:#9a958f;border-color:rgba(48,45,42,.08);background:rgba(118,118,128,.08);box-shadow:none}
#exportMappingStatus{color:#7b746d;font-size:11px;white-space:nowrap}#exportMappingStatus.success{color:#4d7057}#exportMappingStatus.warning{color:#8a6d3e}
@media(max-width:1100px){.export-listing-header{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.export-mapping-button{min-width:116px;padding-inline:14px}.export-listing-title p{display:none}}
@media(max-width:760px){.export-listing-header{display:flex;align-items:stretch;flex-direction:column}.export-mapping-center{width:100%;flex-direction:row;justify-content:center}.export-listing-actions{width:100%;justify-content:space-between}}



.export-listing-table-wrap col.export-optimized-image-column{width:128px}
.export-listing-table-wrap th.export-optimized-image-column,.export-listing-table-wrap td.export-optimized-image-column{width:128px;min-width:128px;max-width:128px;text-align:center;vertical-align:middle}
.export-listing-table-wrap td.export-optimized-image-column{padding:5px}
.export-optimized-cell-stack{width:100%;height:70px;min-width:0;display:flex;align-items:center;justify-content:center;margin:0 auto}
.export-optimized-thumb{width:60px;height:60px;min-height:60px;display:flex;align-items:center;justify-content:center;margin:0 auto;border:0;background:transparent;cursor:zoom-in}
.export-optimized-thumbnail{display:block;width:58px;height:58px;max-width:58px;max-height:58px;margin:0 auto;object-fit:contain;object-position:center center;border:1px solid rgba(48,45,42,.08);border-radius:8px;background:#fff}


.image-opt-table-wrap col.optimized-image-column{width:136px}
.image-opt-table-wrap th.optimized-image-column,.image-opt-table-wrap td.optimized-image-column{width:136px;min-width:136px;max-width:136px;text-align:center;vertical-align:middle}
.image-opt-table-wrap td.optimized-image-column{padding:5px}
.image-opt-table-wrap td.optimized-image-column>.optimized-cell-stack{width:100%;height:72px;min-width:0;display:flex;align-items:center;justify-content:center;margin:0 auto}
.image-opt-table-wrap td.optimized-image-column .optimized-thumb-wrap{margin:0 auto}
.optimized-url-button{height:18px;min-width:31px;padding:0 4px;border:0;border-radius:5px;color:#7a6f64;background:rgba(118,118,128,.08);font-size:11px;line-height:18px;cursor:pointer;white-space:nowrap}
.optimized-url-button:hover{color:#43594a;background:#e6eee5}
.optimized-url-button.has-url{color:#315d3e;background:#dfece1}
.optimized-image-draggable .optimized-url-button{user-select:none;-webkit-user-drag:none}


@supports (content-visibility:auto){
  .image-opt-table-wrap tbody tr,.removal-table-wrap tbody tr,.export-listing-table-wrap tbody tr,
  .desktop-results tbody tr,.mobile-result-card,.term-card{content-visibility:auto;contain-intrinsic-size:auto 60px}
}



.export-listing-header{min-height:68px;padding:9px 14px;gap:18px}
.export-listing-title{max-width:410px}
.export-listing-title .export-guide-main{margin:0 0 4px;color:#373d38;font-size:13.5px;font-weight:680;line-height:1.25}
.export-listing-actions{gap:12px}
.export-complete-button{min-width:96px;padding-inline:16px}
.export-file-modal-copy p{margin-bottom:14px}


#modalCancelBtn[hidden]{display:none!important}


#removalTransferStatus:empty,#imageOptimizationStatus:empty,#exportMappingStatus:empty{display:none}



.image-copy-open-doubao{min-width:148px!important;padding-inline:15px!important}



.view-image-optimization,.view-export-listing{padding:8px}
.image-opt-shell,.export-listing-shell{
  height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:0;
  border:1px solid var(--line);border-radius:var(--radius-control);
  background:rgba(255,253,250,.74);overflow:hidden
}
.image-opt-command-bar,.export-listing-header{
  min-height:68px;display:grid!important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  align-items:center!important;gap:18px!important;padding:9px 14px!important;
  border:0!important;border-bottom:1px solid var(--line)!important;
  border-radius:0!important;background:transparent!important;box-shadow:none!important
}
.image-opt-command-spacer{grid-column:1;justify-self:start;min-width:0}
.image-opt-selection-tools{
  grid-column:2;justify-self:center;display:flex;align-items:center;justify-content:center;
  gap:8px;flex-wrap:nowrap;min-width:0
}
.image-opt-command-actions{grid-column:3;justify-self:end;margin-left:0;display:flex;align-items:center;justify-content:flex-end;gap:7px}
.image-opt-content{min-height:0;overflow:hidden}
.image-opt-table-card{height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr);border:0;border-radius:0;background:transparent;overflow:hidden}
.image-opt-table-wrap,.export-listing-table-wrap{height:100%;min-height:0}
.image-opt-table-wrap table:has(.centered-empty-state),.export-listing-table-wrap table:has(.centered-empty-state){width:100%;height:100%;min-width:100%}
.image-opt-table-wrap .centered-empty-state,.export-listing-table-wrap .centered-empty-state{height:100%}
.image-opt-table-wrap .centered-empty-state tr,.export-listing-table-wrap .centered-empty-state tr{height:100%}
.image-empty-cell,.export-listing-empty{width:100%;height:100%!important;min-height:300px;padding:20px;text-align:center;vertical-align:middle;border:0}
@media(max-width:980px){
  .image-opt-command-bar,.export-listing-header{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:10px!important;padding-inline:10px!important}
  .image-opt-selection-tools{gap:6px}.image-tool-button,.image-open-doubao{padding-inline:10px}.image-copy-open-doubao{min-width:156px!important;padding-inline:12px!important}
}
@media(max-width:760px){
  .image-opt-command-bar,.export-listing-header{display:flex!important;align-items:stretch!important;flex-direction:column!important}
  .image-opt-command-spacer{display:none}.image-opt-selection-tools{width:100%;justify-content:center;overflow-x:auto}.image-opt-command-actions{width:100%;justify-content:flex-end}
}
/* Empty tables do not need scrollbars; removing the reserved gutter keeps the message at the visual center. */
.image-opt-table-wrap:has(.centered-empty-state),.export-listing-table-wrap:has(.centered-empty-state){overflow:hidden}
.image-opt-table-wrap:has(.centered-empty-state),.export-listing-table-wrap:has(.centered-empty-state){scrollbar-gutter:auto}

/* API center */
.api-action{margin-top:2px}.api-action+ .logout-action{margin-top:4px}


.image-cloudflare-divider{width:1px;height:24px;background:rgba(60,60,67,.10);margin:0 1px}
.image-tool-button.image-cloudflare-upload{color:#fff;border-color:#687b6b;background:#687b6b;box-shadow:0 1px 2px rgba(40,58,45,.08)}
.image-tool-button.image-cloudflare-upload:hover:not(:disabled){color:#fff;border-color:#566b59;background:#5d725f}
.image-tool-button.image-cloudflare-resync{color:#4f6253;border-color:rgba(104,123,107,.22);background:rgba(104,123,107,.08)}
.image-tool-button.image-cloudflare-resync:hover:not(:disabled){border-color:rgba(104,123,107,.34);background:rgba(104,123,107,.13)}
.image-cloudflare-status{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6f6a64;font-size:11px}
.image-cloudflare-status.busy{color:#4e6653}
.optimized-url-button.has-url{min-width:48px}
.optimized-thumb-wrap .erp-cell-copy-button{width:18px;height:18px;margin-left:1px}
@media(max-width:1200px){.image-cloudflare-status{display:none}.image-cloudflare-divider{display:none}.image-opt-selection-tools{overflow-x:auto;scrollbar-width:thin}}

.optimized-cloud-open{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:5px;color:#4f6253;background:rgba(104,123,107,.08);font-size:11px;text-decoration:none}.optimized-cloud-open:hover{background:rgba(104,123,107,.16);color:#315d3e}


/* Compact image optimization actions */
.image-opt-selection-tools{gap:6px}
.image-opt-selection-tools .image-tool-button,.image-opt-selection-tools .image-open-doubao{height:36px;padding-inline:11px;font-size:12px}
.image-copy-open-doubao{min-width:132px!important;padding-inline:12px!important}
.image-cloudflare-divider{height:20px;margin-inline:2px}
.image-cloudflare-status:empty{display:none}.image-cloudflare-status{max-width:120px;font-size:10.5px}
.image-tool-button.image-cloudflare-upload{min-width:78px}.image-tool-button.image-cloudflare-resync{min-width:74px}
@media(max-width:1180px){.image-opt-selection-tools .image-tool-button,.image-opt-selection-tools .image-open-doubao{padding-inline:9px}.image-copy-open-doubao{min-width:124px!important}}

.erp-app table th,.erp-app table td{vertical-align:middle;text-align:center}
.erp-app table input,.erp-app table textarea,.erp-app table select{text-align:center}
.erp-app table td>*{margin-left:auto;margin-right:auto}



.erp-cell-copy-button{opacity:.68!important;transform:none!important;transition:background-color .12s ease,border-color .12s ease,color .12s ease,opacity .12s ease!important;will-change:auto!important}
.erp-copyable-cell>.erp-cell-copy-button{transform:translateY(-50%)!important}
.image-thumb-actions .erp-cell-copy-button{position:static!important;transform:none!important}
.erp-cell-copy-button:hover,.erp-copyable-cell:hover>.erp-cell-copy-button,td:hover .erp-cell-copy-button{opacity:1!important}
.erp-image-hover-preview{width:min(440px,42vw)!important;height:min(440px,62vh)!important;padding:12px!important}
#imageOptimizationTable{width:min(100%,980px)!important;min-width:820px!important;margin-inline:auto!important;table-layout:fixed!important}
#imageOptimizationTable col.image-col-select{width:46px!important}
#imageOptimizationTable col.optimized-image-column{width:172px!important;min-width:172px!important;max-width:172px!important}
#imageOptimizationTable col.image-col-image:not(.optimized-image-column){width:126px!important;min-width:126px!important;max-width:126px!important}
#imageOptimizationTable col.image-col-name{width:230px!important;min-width:230px!important;max-width:230px!important}
#imageOptimizationTable col.image-col-asin{width:138px!important}
#imageOptimizationTable col.image-col-sku{width:168px!important}
#imageOptimizationTable th,#imageOptimizationTable td{text-align:center!important;vertical-align:middle!important}
#imageOptimizationTable .optimized-cell-stack,#imageOptimizationTable .image-thumb-wrap{margin-inline:auto!important}
#imageOptimizationTable .optimized-thumb-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;flex-wrap:wrap!important}
#imageOptimizationTable .optimized-file-name{display:none!important}
.export-listing-table-wrap col.image-col-price,.export-listing-table-wrap col.image-col-final-price{width:132px!important;min-width:132px!important;max-width:132px!important}
.export-listing-table-wrap col.image-col-money{width:92px!important;min-width:92px!important;max-width:92px!important}
.export-listing-table-wrap col.image-col-name{width:226px!important;min-width:226px!important;max-width:226px!important}
.export-listing-table-wrap col.image-col-short{width:210px!important;min-width:210px!important;max-width:210px!important}
.export-listing-table-wrap col.image-col-long{width:248px!important;min-width:248px!important;max-width:248px!important}
.export-listing-table-wrap col.image-col-default{width:106px!important;min-width:106px!important;max-width:106px!important}
.export-listing-table-wrap col.image-col-country{width:72px!important;min-width:72px!important;max-width:72px!important}
.export-listing-table-wrap col.image-col-postal{width:88px!important;min-width:88px!important;max-width:88px!important}
.export-listing-table-wrap col.image-col-currency{width:72px!important;min-width:72px!important;max-width:72px!important}
.export-listing-table-wrap td.image-col-price,.export-listing-table-wrap td.image-col-final-price,.export-listing-table-wrap td.image-col-money{white-space:nowrap!important;word-break:keep-all!important}


#imageOptimizationTable th.optimized-image-column,#imageOptimizationTable td.optimized-image-column{width:172px!important;min-width:172px!important;max-width:172px!important}
#imageOptimizationTable th.image-col-image:not(.optimized-image-column),#imageOptimizationTable td.image-col-image:not(.optimized-image-column){width:126px!important;min-width:126px!important;max-width:126px!important}
#imageOptimizationTable th.image-col-name,#imageOptimizationTable td.image-col-name{width:230px!important;min-width:230px!important;max-width:230px!important}
#imageOptimizationTable th.image-col-asin,#imageOptimizationTable td.image-col-asin{width:138px!important;min-width:138px!important;max-width:138px!important}
#imageOptimizationTable th.image-col-sku,#imageOptimizationTable td.image-col-sku{width:168px!important;min-width:168px!important;max-width:168px!important}
.export-listing-table-wrap th.image-col-price,.export-listing-table-wrap td.image-col-price,.export-listing-table-wrap th.image-col-final-price,.export-listing-table-wrap td.image-col-final-price{width:132px!important;min-width:132px!important;max-width:132px!important}
.export-listing-table-wrap th.image-col-money,.export-listing-table-wrap td.image-col-money{width:92px!important;min-width:92px!important;max-width:92px!important}
.export-listing-table-wrap th.image-col-name,.export-listing-table-wrap td.image-col-name{width:226px!important;min-width:226px!important;max-width:226px!important}
.export-listing-table-wrap th.image-col-short,.export-listing-table-wrap td.image-col-short{width:210px!important;min-width:210px!important;max-width:210px!important}
.export-listing-table-wrap th.image-col-long,.export-listing-table-wrap td.image-col-long{width:248px!important;min-width:248px!important;max-width:248px!important}



.erp-app .erp-cell-copy-button{
  opacity:0!important;transform:none!important;pointer-events:none!important;
  transition:opacity .12s ease,background-color .12s ease,border-color .12s ease,color .12s ease!important;
  will-change:auto!important;
}
.erp-app td:hover .erp-cell-copy-button,
.erp-app .erp-copyable-cell:hover>.erp-cell-copy-button,
.erp-app .erp-copyable-cell:focus-within>.erp-cell-copy-button,
.erp-app .image-thumb-actions:hover .erp-cell-copy-button,
.erp-app .optimized-thumb-actions:hover .erp-cell-copy-button,
.erp-app .erp-cell-copy-button:focus-visible{
  opacity:1!important;transform:none!important;pointer-events:auto!important;
}
.erp-app .erp-copyable-cell>.erp-cell-copy-button{transform:translateY(-50%)!important}
.erp-app .image-thumb-actions .erp-cell-copy-button,
.erp-app .optimized-thumb-actions .erp-cell-copy-button{transform:none!important}

/* 图片优化五列：SKU 与名称已在渲染顺序中互换；名称保持单行并按内容完整展开。 */
#imageOptimizationTable{
  width:max-content!important;min-width:100%!important;max-width:none!important;
  margin-inline:0!important;table-layout:auto!important;
}
#imageOptimizationTable col.image-col-name{width:auto!important;min-width:460px!important;max-width:none!important}
#imageOptimizationTable th.image-col-name,#imageOptimizationTable td.image-col-name{
  width:auto!important;min-width:460px!important;max-width:none!important;
  white-space:nowrap!important;overflow:visible!important;
}
#imageOptimizationTable .image-col-name .erp-copyable-cell{
  width:max-content!important;max-width:none!important;min-width:100%!important;
  padding-inline:24px!important;
}
#imageOptimizationTable .image-col-name .image-cell-clamp{
  display:inline-block!important;width:max-content!important;max-width:none!important;
  max-height:none!important;overflow:visible!important;
  white-space:nowrap!important;word-break:normal!important;text-overflow:clip!important;
  -webkit-line-clamp:unset!important;line-clamp:unset!important;
}

/* 上架准备：价格、运费、最终价格不换行、不省略，并允许列按内容扩展。 */
#exportListingTable{width:max-content!important;min-width:100%!important;table-layout:auto!important}
.export-listing-table-wrap col.image-col-price,
.export-listing-table-wrap col.image-col-final-price{width:170px!important;min-width:170px!important;max-width:none!important}
.export-listing-table-wrap col.image-col-money{width:150px!important;min-width:150px!important;max-width:none!important}
.export-listing-table-wrap th.image-col-price,.export-listing-table-wrap td.image-col-price,
.export-listing-table-wrap th.image-col-final-price,.export-listing-table-wrap td.image-col-final-price{
  width:auto!important;min-width:170px!important;max-width:none!important;
  white-space:nowrap!important;word-break:keep-all!important;overflow:visible!important;
}
.export-listing-table-wrap th.image-col-money,.export-listing-table-wrap td.image-col-money{
  width:auto!important;min-width:150px!important;max-width:none!important;
  white-space:nowrap!important;word-break:keep-all!important;overflow:visible!important;
}
.export-listing-table-wrap td.image-col-price .erp-copyable-cell,
.export-listing-table-wrap td.image-col-final-price .erp-copyable-cell,
.export-listing-table-wrap td.image-col-money .erp-copyable-cell{
  width:max-content!important;min-width:100%!important;max-width:none!important;padding-inline:24px!important;
}
.export-listing-table-wrap td.image-col-price .image-cell-clamp,
.export-listing-table-wrap td.image-col-final-price .image-cell-clamp,
.export-listing-table-wrap td.image-col-money .image-cell-clamp{
  display:inline-block!important;width:max-content!important;max-width:none!important;max-height:none!important;
  overflow:visible!important;white-space:nowrap!important;word-break:keep-all!important;text-overflow:clip!important;
  -webkit-line-clamp:unset!important;line-clamp:unset!important;
}


/* 账号管理 · Apple 风界面（仅视觉与交互呈现，账号数据逻辑不变） */
[hidden]{display:none!important}
.permission-empty-view.active{display:grid;place-items:center;padding:28px}
.permission-empty-card{width:min(520px,100%);min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px 30px;text-align:center;border:1px solid var(--line);border-radius:var(--radius-card);background:rgba(255,253,250,.78)}
.permission-empty-card h2{margin:0 0 9px;font-size:20px}.permission-empty-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}

.view-accounts{overflow:auto;background:radial-gradient(circle at 82% -8%,rgba(255,255,255,.98) 0,rgba(255,255,255,0) 35%),linear-gradient(180deg,#f7f7f8 0%,#f1f2f3 100%);scrollbar-color:rgba(80,80,86,.2) transparent}
.accounts-page{min-height:100%;padding:54px clamp(24px,5vw,72px) 76px}
.accounts-shell{width:min(1080px,100%);margin:0 auto}
.accounts-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:36px;padding:6px 4px 31px}
.accounts-hero-copy{max-width:660px}
.accounts-eyebrow,.account-editor-eyebrow{display:block;margin-bottom:11px;color:#8b8b90;font-size:10px;font-weight:720;letter-spacing:.18em;line-height:1;text-transform:uppercase}
.accounts-hero h1{margin:0;color:#1d1d1f;font-size:clamp(30px,3vw,40px);font-weight:710;letter-spacing:-.045em;line-height:1.08}
.accounts-hero p{max-width:620px;margin:13px 0 0;color:#77777c;font-size:13px;line-height:1.75;letter-spacing:.005em}
.account-add-button{height:44px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 18px;border:0;border-radius:12px;color:#fff;background:#1d1d1f;font-size:12px;font-weight:650;letter-spacing:.01em;box-shadow:0 8px 22px rgba(0,0,0,.12);transition:transform .16s ease,background .16s ease,box-shadow .16s ease}
.account-add-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.account-add-button:hover{background:#000;box-shadow:0 11px 26px rgba(0,0,0,.16);transform:translateY(-1px)}
.account-add-button:active{transform:translateY(0) scale(.985)}

.accounts-statusbar{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:15px 18px 15px 20px;border:1px solid rgba(0,0,0,.055);border-radius:20px;background:rgba(255,255,255,.74);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 12px 40px rgba(0,0,0,.035);backdrop-filter:blur(22px) saturate(140%)}
.accounts-summary{display:flex;align-items:center;gap:9px;color:#39393d;font-size:12px;font-weight:650;white-space:nowrap}
.accounts-summary-dot{width:7px;height:7px;border-radius:50%;background:#57a46b;box-shadow:0 0 0 4px rgba(87,164,107,.10)}
.accounts-vault-state{display:flex;align-items:center;gap:12px;min-width:0}
.accounts-vault-state>svg{width:28px;height:28px;flex:0 0 auto;padding:5px;border-radius:9px;color:#4d6253;background:#edf2ee;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.accounts-vault-state>div{min-width:0;display:flex;flex-direction:column;gap:3px}
.accounts-vault-state strong{color:#3b3b3f;font-size:11.5px;font-weight:650}
.accounts-vault-state span{overflow:hidden;color:#909096;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}
.accounts-feedback{min-height:20px;margin:0 2px 10px;text-align:center;color:#7d7d82;font-size:11px;line-height:20px}.accounts-feedback.error{color:var(--danger)}.accounts-feedback.success{color:var(--success)}

.accounts-list-panel{overflow:visible}
.account-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;overflow:visible}
.account-card{position:relative;min-width:0;min-height:246px;display:flex;flex-direction:column;padding:22px;border:1px solid rgba(0,0,0,.055);border-radius:22px;background:rgba(255,255,255,.88);box-shadow:0 1px 1px rgba(0,0,0,.025),0 12px 36px rgba(0,0,0,.035);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.account-card:hover{transform:translateY(-2px);border-color:rgba(0,0,0,.085);box-shadow:0 1px 1px rgba(0,0,0,.025),0 18px 46px rgba(0,0,0,.055)}
.account-card-owner{grid-column:1/-1;min-height:232px;padding:26px;background:linear-gradient(135deg,rgba(255,255,255,.98) 0%,rgba(246,247,247,.94) 100%)}
.account-card-owner::after{content:"";position:absolute;right:3%;top:-40px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(153,171,160,.13),rgba(153,171,160,0) 70%);pointer-events:none}
.account-card-head{position:relative;z-index:1;display:flex;align-items:center;gap:14px;min-width:0}
.account-avatar{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border:1px solid rgba(0,0,0,.04);border-radius:16px;color:#424348;background:#eef0f2;font-size:16px;font-weight:720;letter-spacing:-.02em;box-shadow:0 1px 0 rgba(255,255,255,.8) inset}
.account-avatar-owner{color:#fff;background:#242426;border-color:#242426;box-shadow:0 8px 18px rgba(0,0,0,.12)}
.account-avatar-1{background:#edf1ee;color:#486052}.account-avatar-2{background:#f0eef4;color:#5e536e}.account-avatar-3{background:#f3efeb;color:#6b594b}.account-avatar-4{background:#ecf0f4;color:#4b5d70}
.account-identity{min-width:0;flex:1}
.account-name-line{display:flex;align-items:center;gap:9px;min-width:0}
.account-card-name{min-width:0;overflow:hidden;color:#242426;font-size:15px;font-weight:680;letter-spacing:-.015em;text-overflow:ellipsis;white-space:nowrap}
.account-role-badge{flex:0 0 auto;display:inline-flex;align-items:center;height:22px;padding:0 8px;border:1px solid rgba(40,45,41,.07);border-radius:999px;color:#526159;background:#edf2ee;font-size:9.5px;font-weight:650;white-space:nowrap}
.account-role-member{color:#68686e;background:#f1f1f3;border-color:rgba(0,0,0,.045)}
.account-login-name{display:block;max-width:100%;margin-top:5px;overflow:hidden;color:#8d8d93;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}
.account-card-details{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}
.account-detail-item{min-width:0;padding:12px 13px;border:1px solid rgba(0,0,0,.04);border-radius:13px;background:rgba(247,247,248,.78)}
.account-detail-item span,.account-detail-item strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-detail-item span{margin-bottom:5px;color:#9a9aa0;font-size:9.5px}
.account-detail-item strong{color:#45454a;font-size:11px;font-weight:620}
.account-status-active{color:#4f785b!important}
.account-card-footer{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:auto;padding-top:20px}
.account-retention{display:inline-flex;align-items:center;gap:7px;color:#8c8c92;font-size:10px;white-space:nowrap}
.account-retention i{width:6px;height:6px;border-radius:50%;background:#7ca889}
.account-menu-host{position:relative}
.account-manage-button{height:36px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 11px 0 13px;border:1px solid rgba(0,0,0,.07);border-radius:10px;color:#4e4e53;background:rgba(255,255,255,.9);font-size:10.5px;font-weight:650;box-shadow:0 1px 1px rgba(0,0,0,.02);transition:background .16s ease,border-color .16s ease,transform .16s ease}
.account-manage-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s ease}
.account-manage-button:hover,.account-manage-button[aria-expanded="true"]{border-color:rgba(0,0,0,.11);background:#f5f5f7}
.account-manage-button:hover svg,.account-manage-button[aria-expanded="true"] svg{transform:translateX(1px)}

.account-action-menu{position:fixed;z-index:5000;width:214px;padding:7px;border:1px solid rgba(0,0,0,.08);border-radius:17px;background:rgba(255,255,255,.97);box-shadow:0 24px 70px rgba(0,0,0,.18),0 2px 8px rgba(0,0,0,.06);backdrop-filter:blur(28px) saturate(160%);transform-origin:top right;animation:accountMenuIn .14s ease-out}
.account-action-menu-head{padding:9px 10px 11px;border-bottom:1px solid rgba(0,0,0,.055);margin-bottom:5px}
.account-action-menu-head strong,.account-action-menu-head span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-action-menu-head strong{color:#29292d;font-size:11.5px;font-weight:670}
.account-action-menu-head span{margin-top:3px;color:#99999f;font-size:9.5px}
.account-action-menu button{width:100%;height:39px;display:flex;align-items:center;gap:10px;padding:0 10px;border:0;border-radius:10px;color:#505055;background:transparent;text-align:left;font-size:10.5px;font-weight:580;transition:background .14s ease,color .14s ease}
.account-action-menu button svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.account-action-menu button:hover{color:#1f1f22;background:#f2f2f4}
.account-action-menu button.danger{margin-top:4px;border-top:1px solid rgba(0,0,0,.05);border-radius:4px 4px 10px 10px;color:#a44747}
.account-action-menu button.danger:hover{color:#963838;background:#fbefef}
@keyframes accountMenuIn{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
.account-list-empty{grid-column:1/-1;padding:52px 20px;text-align:center;color:#929298;font-size:11px}

.account-editor-backdrop{position:fixed;inset:0;z-index:2600;display:grid;place-items:center;padding:24px;background:rgba(20,20,22,.28);backdrop-filter:blur(14px) saturate(120%)}
.account-editor-backdrop.hidden{display:none}
.account-editor-modal{width:min(500px,calc(100vw - 32px));overflow:hidden;border:1px solid rgba(255,255,255,.72);border-radius:26px;background:rgba(255,255,255,.98);box-shadow:0 34px 100px rgba(0,0,0,.25),0 2px 10px rgba(0,0,0,.08);animation:accountEditorIn .2s cubic-bezier(.2,.75,.25,1)}
.account-editor-header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:28px 30px 16px}
.account-editor-header h2{margin:0;color:#202024;font-size:23px;font-weight:700;letter-spacing:-.035em;line-height:1.15}
.account-editor-header p{max-width:350px;margin:8px 0 0;color:#8c8c92;font-size:10.5px;line-height:1.65}
.account-editor-close{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border:0;border-radius:50%;color:#77777d;background:#f1f1f3;transition:background .15s ease,color .15s ease,transform .15s ease}
.account-editor-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.account-editor-close:hover{color:#202024;background:#e8e8eb;transform:rotate(3deg)}
.account-editor-body{padding:9px 30px 8px}
.account-editor-fields{display:grid;grid-template-columns:1fr;gap:13px;margin-bottom:13px}.account-editor-fields.single{grid-template-columns:1fr}
.account-editor-field{display:block}.account-editor-field>span{display:block;margin:0 0 7px 3px;color:#6d6d72;font-size:10px;font-weight:650}
.account-editor-field input{width:100%;height:48px;padding:0 14px;border:1px solid transparent;border-radius:13px;outline:0;color:#29292d;background:#f4f4f6;font-size:12px;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}
.account-editor-field input::placeholder{color:#aaaab0}
.account-editor-field input:hover{background:#f0f0f2}
.account-editor-field input:focus{border-color:rgba(75,91,80,.26);background:#fff;box-shadow:0 0 0 4px rgba(78,102,85,.08)}
.account-editor-field .password-control{position:relative}.account-editor-field .password-control input{padding-right:61px}
.account-editor-field [data-password-toggle]{position:absolute;right:7px;top:50%;height:34px;padding:0 10px;transform:translateY(-50%);border:0;border-radius:9px;color:#77777d;background:transparent;font-size:9.5px;font-weight:620}.account-editor-field [data-password-toggle]:hover{color:#2f2f33;background:#e8e8eb}
.account-editor-feedback{min-height:20px;margin-top:2px;text-align:center;color:#929298;font-size:10px;line-height:20px}.account-editor-feedback.error{color:var(--danger)}
.account-editor-actions{display:flex;justify-content:flex-end;gap:9px;padding:13px 30px 28px}
.account-editor-secondary,.account-editor-primary{height:42px;min-width:88px;padding:0 16px;border-radius:11px;font-size:11px;font-weight:650;transition:background .15s ease,transform .15s ease,box-shadow .15s ease}
.account-editor-secondary{border:0;color:#66666c;background:#f1f1f3}.account-editor-secondary:hover{color:#2d2d31;background:#e8e8eb}
.account-editor-primary{border:0;color:#fff;background:#1d1d1f;box-shadow:0 7px 18px rgba(0,0,0,.12)}.account-editor-primary:hover{background:#000;box-shadow:0 9px 22px rgba(0,0,0,.16)}.account-editor-primary:active,.account-editor-secondary:active{transform:scale(.985)}.account-editor-primary:disabled{cursor:not-allowed;opacity:.5;box-shadow:none}
@keyframes accountEditorIn{from{opacity:0;transform:translateY(12px) scale(.975)}to{opacity:1;transform:none}}

@media(max-width:780px){
  .accounts-page{padding:34px 16px 54px}.accounts-hero{align-items:flex-start;flex-direction:column;gap:20px;padding-bottom:24px}.account-add-button{width:100%}.accounts-statusbar{align-items:flex-start;flex-direction:column;gap:13px}.accounts-vault-state span{white-space:normal}.account-list{grid-template-columns:1fr}.account-card-owner{grid-column:auto}.account-card{min-height:232px}
}
@media(max-width:520px){
  .accounts-page{padding-inline:11px}.accounts-hero{padding-inline:5px}.accounts-hero h1{font-size:30px}.account-card,.account-card-owner{padding:19px;border-radius:19px}.account-card-details{grid-template-columns:1fr}.account-name-line{align-items:flex-start;flex-direction:column;gap:5px}.account-editor-backdrop{padding:10px}.account-editor-modal{border-radius:22px}.account-editor-header{padding:24px 22px 14px}.account-editor-body{padding:8px 22px}.account-editor-actions{padding:12px 22px 22px}.account-action-menu{right:auto}
}
