:root{--bg:#f3f6fa;--surface:#fff;--ink:#152335;--muted:#68788d;--line:#e4eaf1;--blue:#245ee8;--nav:#142334;--accent:#deecff;--new:#eff8df}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}a{color:var(--blue);text-decoration:none}button,input,select{font:inherit}button{cursor:pointer;color:#fff;background:var(--blue);border:1px solid var(--blue);border-radius:7px;padding:9px 18px;white-space:nowrap;font-weight:600}button:hover{background:#174dc6}button:focus-visible,a:focus-visible,input:focus,select:focus{outline:3px solid #91b8ff;outline-offset:2px}button.secondary{background:#fff;color:#334762;border-color:#d5dfea;padding:6px 13px}.sidebar{width:224px;background:var(--nav);color:#c4d3e3;position:fixed;inset:0 auto 0 0;padding:29px 17px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;color:white;font-size:19px;font-weight:700;padding:0 7px}.brand-mark{width:37px;height:40px;background:#377cf3;border-radius:9px 9px 3px 9px;display:inline-grid;place-items:center;color:#fff;font-size:22px;font-weight:700}.brand small{display:block;font-size:12px;font-weight:400;color:#91a5bc;margin-top:3px}.nav-label{font-size:12px;letter-spacing:2px;color:#7b91a8;margin:48px 15px 12px}.sidebar nav a{display:flex;align-items:center;gap:13px;color:#aebfd0;padding:13px;border-radius:7px;margin:5px 0;font-weight:500}.sidebar nav a.active{background:#25426a;color:#fff}.nav-icon{font-size:21px;line-height:1;width:21px}.count{font-size:12px;margin-left:auto;background:#e9b766;color:#203147;border-radius:20px;padding:0 7px}.sidebar-bottom{margin-top:auto;padding:20px 12px 0;border-top:1px solid #2a3a4a;font-size:13px}.sidebar-bottom small{display:block;color:#7f94aa;margin-top:6px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#72caaa;margin-right:7px}.workspace{margin-left:224px;min-height:100vh}.topbar{height:62px;background:#fff;border-bottom:1px solid var(--line);padding:0 30px;display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#718299}.slash{padding:0 12px;color:#b4c0cf}.env-badge{font-size:12px;background:#f1f5fb;border:1px solid #e0e7f0;color:#60748d;border-radius:4px;padding:2px 9px;letter-spacing:1px}.content{padding:30px;max-width:1900px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:20px}.eyebrow{font-size:11px;letter-spacing:2px;color:#7b8da3;font-weight:600}h1{font-size:28px;line-height:1.4;margin:6px 0;font-weight:700;letter-spacing:.5px}h2{font-size:17px;margin:0}.page-heading p{color:var(--muted);margin:6px 0 0}.demo-note{background:#eaf2ff;color:#456286;border-left:3px solid #85a8e8;border-radius:4px;padding:9px 14px;margin-bottom:20px;font-size:13px}.demo-note b{color:#31548a;margin-right:12px}.alert{padding:12px 16px;border-radius:6px;margin-bottom:16px}.alert.error{background:#fff0ee;color:#ab332b}.alert.success{background:#e6f5ed;color:#247447}.filters{background:white;border:1px solid var(--line);border-radius:10px;padding:18px;display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:20px}label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:500;color:#617087}input,select{background:white;border:1px solid #dce3ec;border-radius:5px;padding:8px 10px;color:var(--ink);min-height:39px;width:100%}.filters label{min-width:128px}.filters label.search{flex:1;min-width:190px}.filters select{max-width:220px}.reset{padding:8px 4px;font-size:13px;color:#71829a}.checkbox{display:flex!important;flex-direction:row;align-items:center;gap:8px!important;min-width:auto!important;font-weight:400;margin:7px 0}.checkbox input{width:16px;min-height:16px;accent-color:var(--blue)}.filters .checkbox{width:100%;margin:0}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 14px}.metric{background:#fff;border:1px solid var(--line);padding:18px 20px;border-radius:10px;box-shadow:0 2px 3px #233c5810}.metric.accent{background:#2055b7;color:#fff;border-color:#2055b7}.metric>span{font-size:13px;color:#62758c}.metric.accent>span{color:#ccdef8}.metric strong{display:block;font-size:29px;font-weight:650;letter-spacing:.2px;margin:9px 0 4px;font-variant-numeric:tabular-nums}.metric strong small{font-size:17px;font-weight:400;margin-right:5px;display:inline;color:inherit}.metric p{font-size:12px;color:#8996a7;margin:0}.metric.accent p{color:#adc7ec}.data-note{font-size:12px;color:#73849a;margin:12px 1px 18px;line-height:1.8}.panel{background:white;border:1px solid var(--line);border-radius:10px;margin-bottom:20px;overflow:hidden;box-shadow:0 2px 4px #23425e05}.panel-heading{min-height:66px;padding:16px 20px;display:flex;gap:15px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.panel-heading h2 span{font-size:12px;color:#7b8aa0;font-weight:400;margin-left:9px}.panel-heading>span,.panel-heading>div{font-size:12px;color:#6d7f96}.new-dot{background:#b1ce7f;width:7px;height:7px;display:inline-block;border-radius:50%;margin-right:5px}.table-scroll{overflow:auto}table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px;text-align:left}th{white-space:nowrap;background:#f7f9fc;color:#66778d;font-weight:500;padding:12px 14px;border-bottom:1px solid var(--line)}td{padding:15px 14px;border-bottom:1px solid #edf1f5;vertical-align:middle;white-space:nowrap}td small{display:block;font-size:11px;color:#8b98a9;margin-top:3px}.num{text-align:right;font-variant-numeric:tabular-nums}.emphasis{font-weight:650;color:#273e59}.muted{color:#718198}.inventory-table{min-width:1300px}.inventory-table th,.inventory-table td{padding-right:13px;padding-left:13px}.sticky-col{position:sticky;left:0;z-index:1;background:#fff;min-width:224px;max-width:280px;border-right:1px solid #edf1f5}.sticky-col b{font-size:13px;color:#263e58}.inventory-table th.sticky-col{background:#f7f9fc;z-index:2}.new-row td{background:var(--new)}.new-row .sticky-col{background:var(--new)}.tag{display:inline-block;padding:1px 8px;font-size:11px;line-height:1.9;border-radius:4px;background:#eff3f9;color:#536e95}.tag.new{display:block;width:max-content;background:#dbeccb;color:#5c7b37;margin-top:4px}.tag.gift{background:#f6edfd;color:#8552a1}.tag.enabled,.tag.success{background:#e8f5ed;color:#328359}.tag.failed{background:#ffe9e5;color:#b8493c}.tag.pending{background:#fff3dc;color:#9b752e}.tag.running{background:#e5efff;color:#396bc0}.panel-footer{padding:15px 20px;font-size:12px;display:flex;justify-content:space-between;gap:16px;color:#8795a7;align-items:center}.panel-footer>div{display:flex;gap:14px;align-items:center;white-space:nowrap}.empty{text-align:center;color:#8191a3;padding:52px 20px;white-space:normal}.total-row td{background:#f1f6ff;font-weight:650}.stock-detail{font-size:12px;color:#5d7287;white-space:normal}.stock-detail p{margin:8px 0}summary{cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}summary b:before{content:'▸';font-size:10px;margin-right:6px;color:#859cb2}details[open] summary b:before{content:'▾'}.warehouse-form{padding:20px;display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;background:#fafbfe}.warehouse-form>small{width:100%;color:#7b8ba0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.padded{padding:22px}.padded p{color:#7a8ba0;font-size:13px}.schedule-time{font-size:37px;font-weight:600;letter-spacing:1px;margin:15px 0}.schedule-time small{font-size:12px;color:#8595a8;letter-spacing:0;font-weight:400}.connection{display:grid;grid-template-columns:1fr 1fr;row-gap:12px;margin:25px 0;font-size:13px}.connection dt{color:#798ba0}.connection dd{margin:0;color:#365471}.error-cell{white-space:normal;max-width:400px;min-width:220px;font-size:12px;color:#8a6171}.error-cell form{margin-top:10px}.site-footer{display:flex;justify-content:space-between;color:#94a1b1;font-size:11px;padding:15px 0}.text-button{border:0;background:transparent;padding:12px 0 0;color:#9ab0c7;font-size:12px}.login-body{display:grid;place-items:center;min-height:100vh;background:#142334}.login{width:min(420px,92vw);padding:40px;background:white;border-radius:14px}.login p{color:var(--muted)}.login label{margin:20px 0}.login button{width:100%}@media(min-width:1600px){.content{padding:36px 40px}.metric strong{font-size:34px}}@media(max-width:1050px){.sidebar{width:188px;padding:24px 10px}.brand{font-size:17px;gap:9px}.brand small{font-size:10px}.workspace{margin-left:188px}.content{padding:22px}.metric-grid{gap:10px}.metric{padding:15px}.metric strong{font-size:24px}.settings-grid{grid-template-columns:1fr}}@media(max-width:720px){.sidebar{position:static;width:100%;padding:15px;display:block}.brand{font-size:18px}.brand small,.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;margin-top:14px;gap:4px;overflow:auto}.sidebar nav a{white-space:nowrap;padding:9px;font-size:12px;gap:6px;margin:0}.nav-icon{font-size:16px;width:auto}.workspace{margin:0}.topbar{height:46px;padding:0 16px;font-size:11px}.content{padding:20px 12px}.eyebrow{font-size:10px}h1{font-size:23px}.page-heading{gap:8px}.page-heading p{font-size:12px}.page-heading button{font-size:12px;padding:9px 12px}.demo-note{font-size:12px;padding:10px}.metric-grid{grid-template-columns:1fr 1fr}.metric strong{font-size:26px}.filters{gap:10px;padding:12px}.filters label{min-width:calc(50% - 5px);flex:1}.filters label.search{min-width:100%}.filters select{max-width:none}.filters .checkbox{font-size:12px}.panel-heading{padding:13px;align-items:flex-start}.panel-heading h2{font-size:16px}.panel-heading>div{max-width:110px;text-align:right}.panel-footer{padding:13px;flex-direction:column;align-items:flex-start}.inventory-table .sticky-col{min-width:185px;max-width:205px;white-space:normal}.sticky-col small{font-size:10px}.warehouse-form{padding:15px}.warehouse-form label{width:100%}.site-footer{flex-direction:column;gap:5px}.data-note{font-size:11px}.error-cell{min-width:160px}}@media print{.sidebar,.topbar,.filters,.page-heading form,.demo-note,.site-footer{display:none}.workspace{margin:0}.content{padding:0}.table-scroll{overflow:visible}.panel{box-shadow:none}.sticky-col{position:static}body{background:#fff}.inventory-table{font-size:10px;min-width:0}.inventory-table td,.inventory-table th{padding:5px}.metric-grid{grid-template-columns:repeat(4,1fr)}}
button:disabled{opacity:.45;cursor:not-allowed}input:disabled{background:#eef1f5;color:#7c8794}
/* Compact list workspace: only the table scrolls; its controls stay in place. */
.topbar{height:36px;padding:0 16px;font-size:12px}.env-badge{font-size:10px;padding:0 7px}
.report-page{overflow:hidden}.report-page .workspace{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.report-page .topbar{flex:none}
.report-page .content{padding:10px 12px;max-width:none;margin:0;min-height:0;flex:1;display:flex;flex-direction:column;gap:10px;overflow:hidden}
.report-page .metric-grid{grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:8px;margin:0;flex:none;align-items:stretch}
.report-page .metric{padding:7px 12px;border-radius:7px;box-shadow:none}.report-page .metric>span{font-size:12px}.report-page .metric strong{font-size:23px;line-height:1.3;margin:2px 0 0}.report-page .metric strong small{font-size:13px}.report-page .metric p{display:none}.sync-action{display:flex;align-items:center;padding-left:4px}.sync-action button{padding:8px 13px;font-size:13px}
.report-page .demo-note,.report-page .alert{margin:0;padding:5px 10px;font-size:12px;flex:none}
.report-panel{display:flex;flex-direction:column;flex:1;min-height:0;margin:0;border-radius:8px;overflow:hidden}
.report-heading{padding:6px 12px;min-height:38px;flex:none;gap:10px}.report-heading h2{font-size:14px}.report-tools{display:flex;align-items:center;gap:12px}.report-tools .sync-note{font-size:11px;color:#8593a4}.report-tools button{font-size:12px;padding:4px 10px}
.report-tabs{display:flex;gap:16px;align-items:center}.report-tabs a{font-weight:600;color:#77869b;font-size:13px;padding:4px 0;border-bottom:2px solid transparent}.report-tabs a.active{color:var(--blue);border-color:var(--blue)}.report-tabs span{font-size:11px;font-weight:400;margin-left:4px}
.report-panel .filters{margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:8px 12px;gap:8px;flex:none;background:#fbfcfe}.report-panel .filters label{font-size:11px;min-width:108px;gap:3px}.report-panel .filters label.search{min-width:150px}.report-panel .filters select{max-width:185px}.report-panel .filters input,.report-panel .filters select{min-height:30px;height:30px;padding:4px 7px;font-size:12px}.report-panel .filters button{padding:5px 14px;font-size:12px}.report-panel .filters .checkbox{width:auto;min-width:0;align-self:center;margin:0;white-space:nowrap}.report-panel .filters .checkbox input{height:14px;min-height:14px;width:14px}.report-panel .reset{padding:4px;font-size:12px}
.report-panel>.table-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.report-panel table{font-size:12px}.report-panel th{position:sticky;top:0;z-index:3;padding:6px 12px}.report-panel td{padding:4px 12px;line-height:20px}.report-panel th.sticky-col{z-index:4}.report-panel .empty{padding:32px 20px}.report-panel .sticky-col b{font-size:12px}.report-panel .tag.new{display:inline-block;margin:0 0 0 6px;padding:0 5px;line-height:18px;vertical-align:middle}.report-panel .total-row td{padding-top:3px;padding-bottom:3px}.report-panel .inventory-table .sticky-col{white-space:nowrap}
.fixed-pager{flex:none;min-height:48px;padding:7px 12px;border-top:1px solid var(--line);background:white;z-index:5;box-shadow:0 -3px 10px #203a5607;gap:8px}.page-size-form{display:flex;align-items:center;gap:12px;margin:0}.page-size-form label{display:flex;flex-direction:row;align-items:center;gap:8px;white-space:nowrap;font-size:12px}.page-size-form select{width:82px;min-height:30px;padding:3px 7px;font-size:12px}.page-size-warning{font-size:11px;color:#a27640}.fixed-pager .pager-links{gap:14px}.pager-links b{color:#4c6078;font-weight:500}.disabled-page{color:#bac3cf;cursor:default}
.report-panel .sellers-table{table-layout:fixed;min-width:840px}.sellers-table th:first-child,.sellers-table td:first-child{width:16%}.sellers-table th:not(:first-child),.sellers-table td:not(:first-child){width:14%}.sellers-table td{overflow:hidden;text-overflow:ellipsis}.totals-dock{flex:none;overflow:hidden;scrollbar-gutter:stable;background:#f1f6ff;border-top:1px solid var(--line)}
.list-fullscreen .report-panel{position:fixed;inset:0;z-index:100;height:100dvh;border:0;border-radius:0}.list-fullscreen .report-heading{min-height:40px}
@media(max-width:1050px){.report-tools .sync-note{display:none}.report-page .metric strong{font-size:21px}.report-panel .filters label{min-width:95px}.report-tabs{gap:10px}}
@media(max-width:720px){.report-page{display:flex;flex-direction:column;height:100dvh}.report-page .sidebar{flex:none;padding:8px 12px}.report-page .sidebar .brand{display:none}.report-page .sidebar nav{margin:0}.report-page .workspace{height:auto;flex:1;min-height:0}.report-page .topbar{height:30px;padding:0 12px}.report-page .content{padding:6px;gap:6px}.report-page .metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.report-page .metric{padding:5px 6px}.report-page .metric>span{font-size:10px;line-height:1.3;display:block}.report-page .metric strong{font-size:17px}.report-page .metric strong small{font-size:10px;margin-right:2px}.sync-action{grid-column:1/-1;justify-content:flex-end;padding:0}.sync-action button{padding:3px 10px;font-size:11px}.report-heading{padding:5px 8px;min-height:34px}.report-heading>div{max-width:none;text-align:left}.report-panel .filters{padding:6px;gap:5px;max-height:210px;overflow:auto}.report-panel .filters label{min-width:calc(33% - 4px);flex:1}.report-panel .filters label.search{min-width:calc(60% - 4px)}.report-panel .filters select{max-width:100%}.report-panel .filters .checkbox{font-size:10px;flex:none}.fixed-pager{padding:5px 8px;min-height:65px;flex-direction:column;align-items:stretch;gap:3px}.page-size-form{gap:6px;justify-content:space-between}.fixed-pager .pager-links{justify-content:flex-end;gap:12px;font-size:11px}.page-size-warning{font-size:10px}.report-tabs{gap:8px}.report-tabs a{font-size:12px}.report-tools button{padding:3px 7px;font-size:11px}.report-panel .inventory-table .sticky-col{min-width:175px;max-width:210px}}
@media print{.report-page,.report-page .workspace{height:auto;overflow:visible;display:block}.report-page .content{display:block;overflow:visible}.report-panel,.list-fullscreen .report-panel{position:static;height:auto;display:block;overflow:visible}.report-panel>.table-scroll{overflow:visible}.fixed-pager,.report-tools,.sync-action{display:none}.report-panel th{position:static}}
.fixed-pager .inventory-summary{flex:1;justify-content:center;flex-wrap:wrap;gap:4px 16px;font-size:12px;white-space:normal;color:#65758a}.inventory-summary>span{white-space:nowrap}.inventory-summary b{color:#203c60;font-variant-numeric:tabular-nums;margin-left:4px}.inventory-summary .summary-caption{color:#8795a7;font-size:11px}@media(max-width:1200px){.fixed-pager{flex-wrap:wrap}.fixed-pager .inventory-summary{order:3;flex-basis:100%;padding-top:3px;border-top:1px solid var(--line)}}@media(max-width:720px){.fixed-pager .inventory-summary{order:0;flex:auto;justify-content:flex-start;gap:2px 10px;font-size:11px}.inventory-summary .summary-caption{display:none}}
.export-button{display:inline-block;white-space:nowrap;border:1px solid #d5dfea;border-radius:5px;padding:4px 9px;font-size:12px;color:#245ee8;background:#fff}.export-button:hover{background:#eff5ff}.report-heading{flex-wrap:wrap}.report-tools{flex-wrap:wrap;gap:6px}.report-heading .report-tools{max-width:none}@media(max-width:720px){.export-button{font-size:11px;padding:3px 6px}.report-tools{margin-left:auto}}
