@charset "UTF-8";
:root{font-family:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;color:#22324b;background:#f3f6fb;font-synthesis:none;--blue:#2465df;--blue-dark:#174fb8;--muted:#7b879a;--line:#e7ecf3;--soft:#f6f9fe;--red:#d52c3c}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,input,select,textarea{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #94baff;outline-offset:3px}input:not([type=checkbox]),select,textarea{border:1px solid #dce3ef;background:#fff;border-radius:8px;padding:10px 12px;color:#22324b;min-width:0;max-width:100%}input:not([type=checkbox]):focus,select:focus,textarea:focus{border-color:#6c9aee}input[type=checkbox]{accent-color:var(--blue);width:16px;height:16px;vertical-align:middle;cursor:pointer;flex-shrink:0}textarea{resize:vertical;min-height:140px}label{display:block;font-weight:600;margin:16px 0 7px}h1,h2,h3,p{margin:0}h1{font-size:22px;letter-spacing:.02em;line-height:1.35}h2{font-size:20px;font-weight:650}h3{font-size:16px}.muted,.field-help{color:var(--muted);font-size:12px}.wrap{overflow-wrap:anywhere}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.15em;color:#7a8aa5;margin-bottom:4px}.button{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 16px;font-weight:600;font-size:13px;border-radius:8px;white-space:nowrap;transition:background .14s,border-color .14s,box-shadow .14s}.primary{color:white;background:var(--blue);box-shadow:0 2px 3px #2465df12}.primary:hover:enabled{background:var(--blue-dark)}.secondary{background:#fff;color:#405675;border-color:#dce4ef}.secondary:hover:enabled{background:#f2f7ff;border-color:#b9ccef}.ghost{color:#77859b;background:transparent}.ghost:hover:enabled{background:#eff4fc}.compact{min-height:30px;padding:4px 11px;font-size:12px}.full{width:100%}.text-button,.icon-button{background:transparent;border:0;color:var(--blue);padding:5px 8px;font-size:12px;border-radius:5px}.text-button:hover:enabled{background:#edf4ff}.icon-button{font-size:24px;line-height:1;color:#8290a4;width:32px;height:32px;display:inline-flex;justify-content:center;align-items:center;flex-shrink:0}.icon-button:hover{background:#eef3fa}.app-header{min-height:88px;background:#fff;border-bottom:1px solid var(--line);padding:19px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:13px;flex-shrink:0}.brand p{font-size:11px;color:#8290a4;margin-top:2px}.brand-mark{width:58px;height:58px;background:linear-gradient(140deg,#3b7ef3,#1d54cd);box-shadow:0 6px 16px #2465df24;border-radius:16px;display:grid;place-items:center;color:#fff;font-size:30px;font-weight:650}.brand-mark.small{width:42px;height:42px;font-size:23px;border-radius:12px}.cloud-badge{font-size:10px;background:#eff5ff;color:#5b82c2;border:1px solid #dfebff;border-radius:5px;padding:2px 7px;margin-left:6px}.header-actions{display:flex;gap:9px;align-items:center}.main{padding:26px 32px 18px;max-width:1760px;margin:auto}.source-panel{display:flex;align-items:center;gap:18px;padding:21px 24px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:24px;box-shadow:0 3px 14px #22324b03}.source-icon{font-size:16px;font-weight:750;border:1px solid #dfeaff;color:#4277ce;background:#f1f6ff;width:47px;height:52px;border-radius:9px;display:grid;place-items:center;flex-shrink:0}.source-copy{flex:1;min-width:0}.source-copy h2{font-size:14px}.source-copy>p{font-size:12px;margin-top:3px;overflow-wrap:anywhere}.source-copy>p:not(.muted){color:#52657f}.source-divider{width:1px;height:42px;background:var(--line);margin:0 4px 0 14px}.connection-copy{display:flex;gap:9px;align-items:center}.connection-copy strong{font-size:12px;font-weight:600}.connection-copy p{margin-top:4px}.connection-dot{height:7px;width:7px;background:#b0bdcf;border-radius:50%;flex-shrink:0}.connection-dot.connected{background:#38a98b;box-shadow:0 0 0 4px #eaf7f1}.badge{display:inline-block;padding:3px 9px;border-radius:5px;font-size:11px;font-weight:500;white-space:nowrap}.badge.neutral{background:#f0f3f8;color:#7c8b9e}.badge.blue{background:#edf4ff;color:#3972c7}.badge.green{background:#eaf6f0;color:#318264}.badge.amber{background:#fff4e3;color:#a1762d}.inventory-panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 3px 14px #22324b03}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 24px 20px}.read-actions{display:flex;align-items:center;gap:10px}.warehouse-bar{padding:13px 24px;display:flex;align-items:center;gap:13px;background:#f9fbfe;border-top:1px solid #f0f3f8;border-bottom:1px solid #f0f3f8;flex-wrap:wrap}.warehouse-bar label{font-size:12px;color:#708099;margin:0;font-weight:500}.warehouse-bar select{min-width:235px;max-width:420px;padding:7px 12px;font-size:12px}.warehouse-bar .muted{margin-left:auto}.warehouse-tabs{display:flex;gap:7px;padding:13px 24px 0;overflow-x:auto;scrollbar-width:thin}.warehouse-tabs:empty{display:none}.warehouse-tab{border:1px solid #e4eaf3;color:#74839a;background:white;font-size:12px;padding:6px 12px;border-radius:6px;white-space:nowrap}.warehouse-tab.active{background:#eef5ff;color:var(--blue);border-color:#bdd3f8}.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px 0;border-bottom:1px solid var(--line)}.filter-tabs{display:flex;gap:25px;align-self:stretch}.filter-tab{display:flex;align-items:center;gap:7px;border:0;border-bottom:2px solid transparent;background:transparent;color:#8190a5;font-size:13px;padding:9px 0 17px;white-space:nowrap}.filter-tab.active{border-bottom-color:var(--blue);color:var(--blue);font-weight:650}.filter-tab span{font-size:11px;border-radius:4px;min-width:20px;background:#f0f3f8;color:#8b99ad;padding:0 5px;text-align:center;font-variant-numeric:tabular-nums}.filter-tab.active span{color:var(--blue);background:#edf3ff}.search-wrap{display:flex;align-items:center;position:relative;max-width:340px;width:30%;min-width:220px;margin-bottom:11px}.search-wrap>span{position:absolute;font-size:24px;line-height:1;left:12px;top:5px;color:#9caac0;pointer-events:none}.search-wrap input{width:100%;font-size:12px;padding:8px 10px 8px 35px;background:#f9fbfe}.table-scroll{overflow:auto;max-height:calc(100vh - 440px);min-height:130px;scrollbar-width:thin;scrollbar-color:#d8e0ee transparent}.inventory-table,.detail-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;text-align:left}.inventory-table{min-width:1110px}.inventory-table th,.detail-table th{color:#8995a9;font-weight:500;background:#fafbfd;border-bottom:1px solid var(--line);padding:13px 12px;white-space:nowrap;position:sticky;top:0;z-index:1}.inventory-table td,.detail-table td{padding:14px 12px;border-bottom:1px solid #eff2f7;vertical-align:middle}.inventory-table tr:last-child td{border-bottom:0}.inventory-table tbody tr:hover{background:#f9fbff}.inventory-table tbody tr.selected{background:#f1f6ff}.inventory-table .check-cell{width:46px;padding-left:22px;padding-right:8px}.image-cell{width:70px}.identity-cell{min-width:165px;width:17%}.name-cell{width:25%;min-width:180px}.number-cell{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.action-cell{min-width:115px;white-space:nowrap}.product-thumb{width:43px;height:49px;border:1px solid #e8edf5;border-radius:6px;object-fit:contain;background:#fff;display:block}.thumb-placeholder{width:43px;height:49px;border:1px solid #e8edf5;border-radius:6px;display:grid;place-items:center;font-size:10px;color:#b3bece;background:#f9fbfd}.offer-id{font-weight:650;font-size:13px;color:#3a4e70;overflow-wrap:anywhere}.sku-small{font-size:10px;color:#9aa7bb;margin-top:4px}.product-name{color:#536580;font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6;overflow-wrap:anywhere}.brand-label{font-size:10px;letter-spacing:.03em;color:#9ca9bc;margin-top:4px}.stock-value{font-weight:650;font-size:14px;color:#334b6c}.target-value{font-weight:700;font-size:14px;color:#3c6ebc}.zero-target{color:var(--red)!important}.unknown{font-weight:400;color:#b4bfce}.difference{display:block;font-size:10px;color:#9aaac0}.row-detail,.row-exclusion{border:0;background:transparent;color:#6d89b1;font-size:11px;padding:4px 5px;border-radius:4px}.row-detail:hover,.row-exclusion:hover{background:#eaf2ff;color:#2465df}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;border-top:1px solid var(--line);gap:14px}.pagination{display:flex;align-items:center;gap:12px;color:#8090a8;font-size:12px}.empty-state{text-align:center;padding:44px 24px 48px}.empty-icon{background:#f0f5ff;color:#8aa9d9;width:58px;height:58px;border-radius:16px;display:grid;place-items:center;margin:0 auto 15px;font-size:30px}.empty-state h3{font-size:15px;color:#546b8b}.empty-state p{font-size:12px;color:#95a2b6;margin:7px 0 18px}.selection-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #dfe8f6;border-radius:10px;background:#f9fbff;padding:16px 24px;margin-top:16px}.selection-bar strong{font-size:13px;color:#4876ba}.selection-bar .text-button{margin-left:8px}.selection-bar p{font-size:11px;margin-top:3px}.selection-actions{display:flex;gap:9px}.footer-note{text-align:center;color:#9aa8bd;font-size:10px;margin-top:18px;letter-spacing:.02em}.notice{border:1px solid #cddffb;background:#edf5ff;color:#3a669f;border-radius:9px;margin-bottom:18px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;overflow-wrap:anywhere}.notice.error{border-color:#e6cda5;background:#fff8eb;color:#8e6b33}.notice.success{border-color:#c9e6d7;background:#eff9f3;color:#36775a}.context-note{margin:15px 24px 0;background:#f3f7fe;border:1px solid #e5edf9;padding:10px 13px;color:#6c83a4;border-radius:7px;font-size:12px;overflow-wrap:anywhere}.progress-panel{margin:16px 24px 0;padding:12px 15px;border:1px solid #dce9ff;background:#f6f9ff;border-radius:8px;color:#4b75b3;font-size:12px}.progress-panel>div{display:flex;justify-content:space-between;gap:12px}.progress-panel progress{width:100%;height:5px;display:block;margin-top:10px;accent-color:var(--blue);border:0;border-radius:5px;overflow:hidden}.progress-panel progress::-webkit-progress-bar{background:#e2ebfc}.progress-panel progress::-webkit-progress-value{background:var(--blue);border-radius:5px}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(ellipse at 50% 10%,#eaf2ff 0%,#f5f8fd 60%)}.auth-card{width:400px;max-width:100%;background:white;padding:40px 36px 26px;border:1px solid #e2eaf6;box-shadow:0 16px 70px #33578a0b;border-radius:18px}.auth-card>.brand-mark{margin-bottom:24px}.auth-card h1{font-size:27px;margin:5px 0 12px}.auth-card form{margin-top:24px}.auth-card input{width:100%}.auth-card .button{margin-top:17px}.auth-footnote{font-size:10px;color:#a8b4c5;border-top:1px solid var(--line);margin-top:23px;padding-top:18px}.form-message{font-size:12px;color:#926b30;overflow-wrap:anywhere;min-height:19px;margin-top:10px}.form-message:empty{min-height:0;margin:0}dialog{border:1px solid #dbe4f2;border-radius:14px;box-shadow:0 25px 100px #172c5040;padding:26px;width:470px;max-width:calc(100vw - 30px);max-height:calc(100dvh - 40px);overflow:auto;color:#283b58}dialog::backdrop{background:#1b2e4f65;backdrop-filter:blur(3px)}.wide-dialog{width:770px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.dialog-heading h2{font-size:21px}.dialog-heading .icon-button{align-self:flex-start;margin:-8px -8px 0 0}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}dialog input:not([type=checkbox]),dialog select,dialog textarea{width:100%}dialog .context-note{margin:12px 0}dialog .field-help{margin-top:10px;line-height:1.8}.mini-table-scroll{overflow:auto;max-height:260px;margin-top:16px;border:1px solid var(--line);border-radius:8px}.detail-table td{overflow-wrap:anywhere;max-width:250px}.detail-table th{font-size:11px}.detail-table{font-size:12px}.detail-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.detail-meta>div{background:#f7f9fd;border:1px solid #e9eef7;border-radius:8px;padding:12px}.detail-meta span{font-size:11px;color:#8a9ab0}.detail-meta strong{display:block;overflow-wrap:anywhere;font-size:18px;margin-top:5px}.detail-meta strong.zero-target{font-size:18px}.detail-error{padding:10px 13px;background:#fff8ec;border:1px solid #eee1c8;color:#96713c;font-size:12px;border-radius:6px;margin-top:14px}.component-title{font-weight:650;font-size:13px;margin:20px 0 10px}.update-preview-scroll{max-height:40vh;overflow:auto;margin:16px 0;border:1px solid var(--line);border-radius:8px;scrollbar-width:thin;overflow-anchor:none}.update-preview-scroll .detail-table{min-width:520px}.confirm-label{display:flex;align-items:flex-start;gap:9px;font-size:12px;font-weight:500;cursor:pointer;padding:12px 0 0}.confirm-label input{margin:3px 0 0}.remove-plan-row{color:#8191a8;font-size:11px;border:1px solid #e2e8f2;background:white;border-radius:5px;padding:4px 8px}.remove-plan-row:hover{background:#edf4ff;color:var(--blue)}[hidden]{display:none!important}
@media(min-width:1600px){.table-scroll{max-height:calc(100vh - 460px)}}
@media(max-width:1150px){.cloud-badge{display:none}.app-header{padding:18px 22px}.main{padding:22px}.source-panel{gap:13px}.source-divider{margin-left:2px}.connection-copy p{max-width:160px}.filter-tabs{gap:20px}.warehouse-bar .muted{width:100%;margin-left:0}.table-scroll{max-height:58vh}.header-actions .button{padding:8px 11px}}
@media(max-width:800px){.app-header{flex-wrap:wrap;gap:16px;padding:20px}.header-actions{width:100%;flex-wrap:wrap;gap:8px}.header-actions .button{flex:1}.header-actions .ghost{flex:0}.main{padding:16px}.source-panel{flex-wrap:wrap;padding:18px;gap:13px;margin-bottom:16px}.source-copy{flex-basis:calc(100% - 110px)}.source-divider{display:none}.connection-copy{flex:1}.connection-copy p{max-width:none}.source-panel>.badge{order:0}.source-panel>.button{margin-left:auto}.section-heading{padding:20px 18px;flex-wrap:wrap}.read-actions{gap:8px}.warehouse-bar{padding:13px 18px}.warehouse-bar select{flex:1;max-width:100%;min-width:180px}.warehouse-tabs{padding-left:18px;padding-right:18px}.filter-bar{padding:16px 18px 0;flex-wrap:wrap;gap:6px}.filter-tabs{width:100%;justify-content:space-between;gap:13px;order:2}.filter-tab{padding-bottom:13px}.search-wrap{width:100%;max-width:none;min-width:0;margin:0 0 6px}.table-footer{padding:13px 18px}.selection-bar{align-items:flex-start;flex-wrap:wrap;padding:15px 18px}.selection-actions{width:100%;justify-content:flex-end}.selection-actions .button{flex:1}.context-note,.progress-panel{margin-left:18px;margin-right:18px}.detail-meta{gap:8px}.table-scroll{max-height:58vh}.auth-card{padding:30px 26px}.source-copy>p{font-size:11px}.table-footer>.muted{font-size:11px}dialog{padding:22px}.dialog-actions .button{white-space:normal}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
 .product-thumb img{width:100%;height:100%;object-fit:contain}.identity-cell strong,.identity-cell small,.name-cell small{display:block}.identity-cell strong{margin-bottom:4px}.name-cell small{margin-top:5px}
