:root{--navy:#071936;--blue:#1f5eff;--bg:#f3f6fb;--line:#e3e8f1;--text:#14213d;--muted:#7a879d;--green:#0c9b63;--orange:#f59e0b}*{box-sizing:border-box}body{margin:0;font-family:"Microsoft YaHei",Arial,sans-serif;background:var(--bg);color:var(--text)}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;background:#fff;padding:10px 15px;color:var(--text)}button:hover{border-color:#8ea7df}.primary{border:0;background:var(--blue);color:#fff;font-weight:700}.hidden{display:none!important}.app{min-height:100vh}aside{position:fixed;inset:0 auto 0 0;width:235px;background:var(--navy);color:#fff;padding:30px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:700;margin:0 8px 40px}.brand>span,.logo{display:grid;place-items:center;width:45px;height:45px;border-radius:12px;background:linear-gradient(135deg,#3174ff,#71a4ff);font-weight:900}.brand small{display:block;color:#8fa2c5;font-size:11px;margin-top:3px}nav{display:grid;gap:7px}nav button{text-align:left;background:transparent;border:0;color:#98aaca;padding:13px 18px}nav button.active,nav button:hover{color:#fff;background:#173264}.server{margin-top:auto;color:#91a5ca;font-size:12px}.server i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#22c982;margin-right:8px}main{margin-left:235px;padding:32px 38px}header,.panel-head,.actions,.inline{display:flex;align-items:center}header{justify-content:space-between;margin-bottom:28px}header p,#detail>p,.login-card>p{color:var(--blue);font-size:11px;font-weight:800;letter-spacing:2px;margin:0}h1{margin:5px 0 0;font-size:28px}h2{margin:0 0 5px}.actions{gap:10px}.user-badge{display:flex;flex-direction:column;text-align:right;margin-right:5px}.user-badge span{font-size:11px;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}.card,.panel,.role-grid>div{background:#fff;border:1px solid var(--line);border-radius:14px}.card{padding:22px}.card small,.panel-head p,.user-row small{color:var(--muted)}.card strong{display:block;font-size:28px;margin-top:9px}.panel{padding:22px}.panel-head{justify-content:space-between;margin-bottom:20px}.panel-head p{margin:0;font-size:13px}.panel-head input{width:220px;border:1px solid var(--line);border-radius:9px;padding:10px}.row{display:grid;grid-template-columns:3.2fr .55fr repeat(5,.75fr);align-items:center;min-height:68px;border-top:1px solid var(--line);font-size:13px}.row.head{min-height:40px;color:var(--muted);font-size:12px}.product{cursor:pointer;font-weight:700;padding-right:20px}.product:hover{color:var(--blue)}.product small,.user-row small{display:block;font-weight:400;margin-top:5px}.grade,em{display:inline-block;padding:4px 9px;border-radius:7px;background:#edf2ff;color:var(--blue);font-style:normal}.good{color:var(--green)}.warn,.error{color:#e04444}.empty{text-align:center;color:var(--muted);padding:35px}.drawer{position:fixed;inset:0 0 0 auto;width:520px;background:#fff;box-shadow:-10px 0 35px #14213d25;padding:35px;z-index:5;overflow:auto}.close{position:absolute;right:18px;top:16px;border:0;font-size:24px;padding:5px}.drawer h2{margin:8px 0}.drawer h3{margin-top:28px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mini{background:#f4f7fc;border-radius:10px;padding:15px;color:var(--muted);font-size:12px}.mini strong{display:block;color:var(--text);font-size:20px;margin-top:5px}.chart{height:150px;display:flex;align-items:flex-end;gap:3px;border-bottom:1px solid var(--line)}.bar{flex:1;background:linear-gradient(#3377ff,#71a4ff);min-width:2px}.diagnosis{padding:13px;border-left:3px solid var(--orange);background:#fff8e9;margin:9px 0;font-size:13px}.login-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 70% 20%,#254b94 0,#071936 45%,#041027 100%)}.login-card{width:400px;background:#fff;border-radius:22px;padding:38px;box-shadow:0 24px 70px #0005}.login-card .logo{color:#fff;margin-bottom:25px}.login-card h1{margin-bottom:28px}.login-card label,.form label{display:grid;gap:7px;font-size:13px;font-weight:700;margin:14px 0}.login-card input,.form input,.form select{padding:12px;border:1px solid var(--line);border-radius:9px}.login-card .primary,.form .primary{width:100%;padding:13px;margin-top:8px}.login-card small{display:block;text-align:center;color:var(--muted);margin-top:20px}.login-card .error{min-height:20px;margin-top:9px}.user-row{display:grid;grid-template-columns:1.4fr 1fr .8fr 1.5fr .7fr 1.6fr;align-items:center;gap:10px;min-height:66px;border-top:1px solid var(--line);font-size:13px}.user-head,.log-head{color:var(--muted);font-size:12px}.inline{gap:7px}.inline button{padding:7px 9px}.role-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:15px}.role-grid>div{padding:18px}.role-grid span{display:block;color:var(--muted);font-size:12px;margin-top:6px}.log-row{display:grid;grid-template-columns:1.2fr .8fr 1fr 2.5fr;gap:14px;align-items:center;min-height:48px;border-top:1px solid var(--line);font-size:13px}.modal{position:fixed;inset:0;background:#071936aa;display:grid;place-items:center;z-index:10}.modal-card{position:relative;width:460px;max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:30px}.modal-card>p{color:var(--muted);font-size:13px}.form{display:grid}.form-error{min-height:18px;margin-top:8px}@media(max-width:1000px){aside{width:190px}main{margin-left:190px;padding:25px}.cards{grid-template-columns:repeat(2,1fr)}.row{grid-template-columns:2fr repeat(6,.7fr)}.user-row{grid-template-columns:repeat(3,1fr)}.role-grid{grid-template-columns:repeat(2,1fr)}}
.summary-hero{background:linear-gradient(120deg,#071936,#2452a0);color:#fff;margin-bottom:16px}.summary-hero p{margin:0 0 8px;color:#77a6ff;font-size:11px;font-weight:800;letter-spacing:2px}.summary-hero span{color:#b9c9e8;font-size:13px}.summary-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto auto;gap:12px;align-items:end}.summary-filters label{display:grid;gap:7px;font-size:12px;font-weight:700}.summary-filters input,.summary-filters select{height:42px;border:1px solid var(--line);border-radius:9px;padding:0 12px;background:#fff}.summary-section{margin-top:16px}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.summary-card{padding:17px;border:1px solid var(--line);border-radius:12px;background:#f8faff}.summary-card small,.summary-card span{display:block;color:var(--muted);font-size:12px}.summary-card strong{display:block;font-size:24px;margin:8px 0 4px}.summary-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.summary-chart{height:210px;display:flex;align-items:flex-end;gap:5px;padding:20px 4px 28px;border-bottom:1px solid var(--line);overflow-x:auto}.summary-bar{position:relative;flex:1;min-width:9px;background:linear-gradient(#2f71ff,#74a5ff);border-radius:5px 5px 0 0}.summary-bar span{position:absolute;bottom:-23px;left:50%;transform:translateX(-50%);font-size:9px;color:var(--muted);white-space:nowrap}.summary-row{display:grid;grid-template-columns:3fr repeat(6,1fr);gap:10px;align-items:center;min-height:58px;border-top:1px solid var(--line);font-size:12px;cursor:pointer}.summary-row:not(.summary-head):hover{background:#f5f8ff}.summary-row small{display:block;color:var(--muted);margin-top:4px}.summary-head{color:var(--muted);min-height:38px;cursor:default}@media(max-width:1100px){.summary-filters{grid-template-columns:1fr 1fr}.summary-two{grid-template-columns:1fr}.summary-row{grid-template-columns:2fr repeat(3,1fr)}.summary-row span:nth-child(n+5){display:none}}
.app{overflow-x:hidden}main{min-width:0;max-width:calc(100vw - 235px);overflow-x:hidden}#spuSummaryPage,#summaryContent,.summary-section,.summary-two,.summary-two>.panel{min-width:0;max-width:100%}.summary-filters{grid-template-columns:minmax(260px,2fr) minmax(145px,1fr) minmax(145px,1fr) auto auto}.summary-filters label,.summary-filters input,.summary-filters select{min-width:0;width:100%;max-width:100%}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.summary-table{width:100%;overflow-x:auto}.summary-row{min-width:780px}.summary-chart{width:100%;max-width:100%}@media(max-width:1000px){main{max-width:calc(100vw - 190px)}.summary-filters{grid-template-columns:1fr 1fr}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.summary-filters,.summary-grid{grid-template-columns:1fr}}
.summary-head span:not(:first-child){cursor:pointer;user-select:none;color:#52627d}.summary-head span:not(:first-child):hover{color:var(--blue)}.summary-head span:not(:first-child):after{content:' ⇅';color:#a8b2c4}.summary-head .sort-asc:after{content:' ↑';color:var(--blue)}.summary-head .sort-desc:after{content:' ↓';color:var(--blue)}
.db-pagination{display:flex;align-items:center;justify-content:center;gap:7px;padding-top:16px}.db-pagination button{padding:7px 11px}.db-pagination button:disabled{opacity:.45;cursor:not-allowed}.db-pagination label{display:flex;align-items:center;gap:6px;margin-left:10px;color:var(--muted);font-size:12px}.db-pagination input{width:64px;padding:7px;border:1px solid var(--line);border-radius:7px}
.selection-hero{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#071936,#2555a7);color:#fff;margin-bottom:14px}.selection-hero p{margin:0 0 7px;color:#75a4ff;font-size:11px;font-weight:800;letter-spacing:2px}.selection-hero span{color:#bbcae7;font-size:13px}.selection-tabs{display:flex;gap:8px;margin-bottom:14px}.selection-tabs button.active{background:#1f5eff;color:#fff;border-color:#1f5eff}.selection-filters{display:grid;grid-template-columns:2fr repeat(5,minmax(120px,1fr)) auto;gap:8px;margin-bottom:14px}.selection-filters input,.selection-filters select{min-width:0;width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff}.selection-table-wrap{max-width:100%;overflow:auto}.selection-table{width:100%;min-width:1900px;border-collapse:collapse;font-size:12px}.selection-table th{position:sticky;top:0;background:#edf3fc;color:#61708a;text-align:left;padding:11px 9px;white-space:nowrap;z-index:1}.selection-table td{border-top:1px solid var(--line);padding:10px 9px;vertical-align:middle}.selection-table tbody tr:hover{background:#f8faff}.selection-thumb{width:58px;height:58px;border-radius:9px;object-fit:cover;border:1px solid var(--line);cursor:pointer}.selection-thumb.empty{display:grid;place-items:center;background:#f3f5f9;color:var(--muted);font-size:11px}.selection-title{max-width:260px}.selection-title a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--text);font-weight:700;text-decoration:none;line-height:1.5}.selection-title small,.selection-points span{display:block;color:var(--muted);margin-top:5px}.selection-points{max-width:220px}.selection-points b,.selection-points span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sel-status{padding:5px 8px;border-radius:12px;background:#edf2ff;color:#285fd0;white-space:nowrap}.sel-status.stocked{background:#e9f8f1;color:#09895d}.sel-status.rejected{background:#fff0f0;color:#d54545}.sel-status.hold{background:#fff7e8;color:#ad7200}.selection-modal{width:min(1100px,92vw)}.selection-form-head{display:flex;justify-content:space-between;align-items:flex-start}.selection-form-head p{margin:0;color:#1f5eff;font-size:11px;font-weight:800;letter-spacing:2px}.selection-form-head span{color:#0c9b63;font-size:12px}.selection-stepper{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin:20px 0}.selection-stepper button{display:grid;place-items:center;gap:5px;padding:10px 5px;font-size:11px}.selection-stepper b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#edf2ff;color:#1f5eff}.selection-stepper button.active{border-color:#1f5eff;color:#1f5eff;background:#f3f7ff}.selection-form section{min-height:310px}.selection-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.selection-form label{display:grid;gap:6px;margin:10px 0;font-size:12px;font-weight:700}.selection-form input,.selection-form select,.selection-form textarea,.decision-box input,.decision-box select,.decision-box textarea{width:100%;padding:11px;border:1px solid var(--line);border-radius:9px;font:inherit;background:#fff}.selection-form textarea,.decision-box textarea{min-height:90px;resize:vertical}.selection-form-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding-top:15px}.auto-tip{padding:12px;background:#edf3ff;border-radius:9px;color:#45618e}.profit-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}.profit-preview>div{padding:18px;border-radius:12px;background:#f5f8fd}.profit-preview small{display:block;color:var(--muted)}.profit-preview strong{display:block;font-size:22px;margin-top:7px}.submit-review-card{text-align:center;padding:60px 30px;background:#f7f9fd;border-radius:15px}.selection-preview{display:block;max-width:100%;max-height:75vh;margin:auto}.selection-detail-grid{display:grid;grid-template-columns:100px repeat(3,1fr);gap:12px;margin:18px 0}.selection-detail-grid>div{display:flex;flex-direction:column;gap:7px;padding:14px;background:#f6f8fc;border-radius:11px}.selection-detail-grid .selection-thumb{width:100%;height:90px}.selection-notes{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.selection-notes>div,.decision-box{padding:16px;border:1px solid var(--line);border-radius:12px;margin:14px 0}.selection-notes p{white-space:pre-wrap}.decision-box{display:grid;gap:10px}.decision-box>div{display:flex;gap:8px}.selection-history>div{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:11px;border-top:1px solid var(--line)}.selection-history span,.selection-history small{color:var(--muted);font-size:12px}.selection-history small{grid-column:1/-1}@media(max-width:1000px){.selection-filters{grid-template-columns:1fr 1fr}.selection-stepper{grid-template-columns:repeat(3,1fr)}.selection-grid,.selection-notes,.selection-detail-grid{grid-template-columns:1fr}.profit-preview{grid-template-columns:1fr 1fr}}
.ai-diagnosis-hero{display:flex;align-items:center;justify-content:space-between;padding:17px 22px;background:linear-gradient(120deg,#071936,#2455a6);color:#fff;margin-bottom:14px}.ai-diagnosis-hero p{margin:0 0 4px;color:#76a5ff;font-size:10px;font-weight:800;letter-spacing:2px}.ai-diagnosis-hero h2{font-size:20px}.ai-diagnosis-hero span{font-size:12px;color:#bdcbe5}.ai-diagnosis-hero button{padding:8px 12px;background:#ffffff14;color:#fff;border-color:#ffffff30}.ai-context-panel{padding:16px 20px}.ai-spu-line{display:grid;grid-template-columns:minmax(280px,1fr) auto auto;gap:10px;align-items:end}.ai-spu-line label{display:grid;gap:6px;font-size:12px;font-weight:700}.ai-spu-line input{padding:10px;border:1px solid var(--line);border-radius:9px}.ai-product-card{display:grid;grid-template-columns:64px minmax(220px,1fr) 2fr;gap:14px;align-items:center;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.ai-product-image{display:grid;place-items:center;width:58px;height:58px;border-radius:11px;background:linear-gradient(135deg,#dbe7ff,#f1f5fd);color:#7590bd;font-size:10px;text-align:center}.ai-product-main h3{margin:0 0 4px;font-size:16px}.ai-product-main>span{font-size:12px;color:var(--muted)}.ai-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.ai-tags em,.ai-result-tag{padding:4px 8px;border-radius:12px;background:#eaf1ff;color:#2862d8;font-size:11px;font-style:normal}.ai-tags .warning,.ai-result-tag{background:#fff1e8;color:#c46815}.ai-context-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.ai-context-facts span{padding:8px 10px;border-radius:8px;background:#f6f8fc;font-size:12px}.ai-context-facts b{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.ai-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:12px}.ai-kpis>div{padding:11px;border:1px solid var(--line);border-radius:10px;background:#fafbfe}.ai-kpis small{display:block;color:var(--muted)}.ai-kpis strong{display:block;margin-top:5px;font-size:18px}.ai-context-note{margin-top:9px;color:var(--muted);font-size:11px}.ai-task-panel{margin-top:14px}.ai-task-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.ai-task-grid button{text-align:left;padding:13px}.ai-task-grid button b,.ai-task-grid button span{display:block}.ai-task-grid button span{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.4}.ai-task-grid button.active{background:#edf3ff;border-color:#1f5eff;color:#1f5eff}.ai-task-panel textarea{width:100%;min-height:75px;margin-top:10px;padding:11px;border:1px solid var(--line);border-radius:9px}.ai-main-run{width:100%;margin-top:12px;padding:13px}.ai-main-run:disabled{opacity:.5}.ai-diagnosis-result{margin-top:14px;border:1px solid #bfd0f2;box-shadow:0 10px 32px #163d7920}.ai-result-top{display:flex;justify-content:space-between;gap:20px;padding-bottom:16px;border-bottom:1px solid var(--line)}.ai-result-top h2{margin:9px 0 5px;font-size:22px;line-height:1.45}.ai-result-top p{color:var(--muted);font-size:12px}.ai-sufficiency{min-width:140px;padding:14px;border-radius:11px;background:#eef4ff}.ai-sufficiency small,.ai-sufficiency strong{display:block}.ai-sufficiency strong{margin-top:6px;font-size:18px}.ai-result-grid{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin-top:14px}.ai-result-grid section{padding:15px;background:#f7f9fd;border-radius:11px}.ai-result-grid h3,.ai-actions h3{margin:0 0 8px}.channel-mini{display:grid;gap:5px;color:#61708b;font-size:12px}.ai-actions{margin-top:14px}.ai-actions>div{display:flex;align-items:center;gap:10px;padding:11px;border-top:1px solid var(--line)}.ai-actions>div b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#1f5eff;color:#fff}.ai-actions footer{display:flex;align-items:center;gap:18px;padding-top:13px}.ai-actions footer button{margin-left:auto}.ai-history-card{display:grid;grid-template-columns:auto 1.2fr 1.7fr 1.4fr 1fr auto;gap:12px;align-items:center;min-height:68px;border-top:1px solid var(--line);font-size:12px}.ai-history-card div{min-width:0}.ai-history-card b,.ai-history-card span,.ai-history-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-history-card span,.ai-history-card small{color:var(--muted);margin-top:4px}@media(max-width:1100px){.ai-task-grid{grid-template-columns:repeat(2,1fr)}.ai-product-card{grid-template-columns:64px 1fr}.ai-context-facts{grid-column:1/-1}.ai-kpis{grid-template-columns:repeat(3,1fr)}.ai-history-card{grid-template-columns:auto 1fr 1.5fr auto}.ai-history-card>div:nth-child(4),.ai-history-card>div:nth-child(5){display:none}}@media(max-width:700px){.ai-spu-line,.ai-result-grid{grid-template-columns:1fr}.ai-task-grid,.ai-kpis{grid-template-columns:1fr 1fr}.ai-result-top{display:block}.ai-sufficiency{margin-top:10px}.ai-actions footer{align-items:flex-start;flex-direction:column}.ai-actions footer button{margin-left:0}}
.y1-match-head,.y1-match-card header{display:flex;align-items:center;justify-content:space-between}.y1-match-head p{margin:3px 0 0;color:var(--muted);font-size:12px}.y1-keyword-only{grid-template-columns:minmax(260px,420px);margin:14px 0}.y1-match-rows{display:grid;gap:12px;max-height:430px;overflow:auto;padding-right:4px}.y1-match-card{border:1px solid var(--line);border-radius:13px;background:#f8faff;padding:14px}.y1-match-card header{margin-bottom:11px}.y1-match-card header div{display:flex;gap:7px}.y1-match-card header button{padding:6px 9px}.y1-match-grid{display:grid;grid-template-columns:1fr 1fr 1fr 2fr 1fr;gap:10px}.y1-match-grid label{margin:0}.selection-form select{width:100%;padding:11px;border:1px solid var(--line);border-radius:9px;background:#fff}@media(max-width:1000px){.y1-match-grid{grid-template-columns:1fr 1fr}}
.profit-rate-setting{display:flex;align-items:center;gap:10px;width:max-content;max-width:100%;margin:0 0 8px auto;padding:8px 11px;border:1px solid #dbe5f7;border-radius:10px;background:#f5f8ff}.profit-rate-setting span{font-size:12px;font-weight:700}.profit-rate-setting input{width:90px!important;padding:7px!important}.profit-rate-setting small{color:var(--muted)}.profit-formula{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.profit-formula>span{padding:12px;border:1px solid #dfe7f5;border-radius:10px;background:#f9fbff;color:var(--muted);font-size:11px}.profit-formula b,.profit-formula small{display:block}.profit-formula b{margin:5px 0;color:var(--text);font-size:17px}.profit-formula small{color:#6e82a4}@media(max-width:1000px){.profit-formula{grid-template-columns:1fr 1fr}}
.profit-rate-settings{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.profit-rate-settings .profit-rate-setting{margin:0}.product-size-fields{margin:10px 0}.product-size-fields>label{margin:0 0 6px}.product-size-fields>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.product-size-fields>div label{margin:0}.weight-formula{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.weight-formula>span{padding:12px;border:1px solid #cdddf8;border-radius:10px;background:#eef4ff;color:#5f7190;font-size:11px}.weight-formula b,.weight-formula small{display:block}.weight-formula b{margin:5px 0;color:#183d80;font-size:17px}.weight-formula small{color:#7588a8}@media(max-width:1000px){.weight-formula{grid-template-columns:1fr 1fr}}
.sku-hero{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#071936,#2455a6);color:#fff;margin-bottom:14px}.sku-hero p,.sku-form-head p,.sku-detail header p{margin:0 0 6px;color:#75a4ff;font-size:10px;font-weight:800;letter-spacing:2px}.sku-hero span{color:#bdcbe7;font-size:12px}.sku-hero>div:last-child{display:flex;gap:8px}.sku-hero>div:last-child button:not(.primary){background:#ffffff12;color:#fff;border-color:#ffffff30}.sku-filters{display:grid;grid-template-columns:2fr repeat(3,minmax(145px,1fr)) auto auto;gap:9px;margin-bottom:14px}.sku-filters input,.sku-filters select{min-width:0;width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff}.sku-table-wrap{max-width:100%;overflow:auto}.sku-table{width:100%;min-width:1550px;border-collapse:collapse;font-size:12px}.sku-table th{position:sticky;top:0;background:#edf3fc;color:#61708a;text-align:left;padding:11px 9px;white-space:nowrap;z-index:1}.sku-table td{padding:10px 9px;border-top:1px solid var(--line)}.sku-product{display:flex;align-items:center;gap:9px;min-width:245px}.sku-product img,.sku-product>span{width:48px;height:48px;border-radius:8px;border:1px solid var(--line);object-fit:cover}.sku-product>span{display:grid;place-items:center;background:#f3f6fb;color:var(--muted);font-size:9px}.sku-product b,.sku-product small,.sku-table td>small{display:block}.sku-product small{color:var(--muted);margin-top:4px}.sku-status,.profit-state,.sku-review{display:inline-block;padding:5px 8px;border-radius:12px;white-space:nowrap}.sku-status{background:#edf2ff;color:#285fd0}.sku-status.approved{background:#e9f8f1;color:#09895d}.sku-status.rejected,.profit-state.red{background:#fff0f0;color:#d54545}.sku-status.submitting,.profit-state.low{background:#fff7e8;color:#ad7200}.profit-state.basic{background:#edf3ff;color:#2862d8}.profit-state.excellent{background:#e9f8f1;color:#09895d}.sku-review{margin-top:5px;background:#fff1e8;color:#c46815;font-size:10px}.sku-ops{white-space:nowrap}.sku-ops button{padding:6px 8px;margin:2px}.sku-modal{width:min(1160px,94vw)}.sku-form-head,.sku-detail>header{display:flex;align-items:flex-start;justify-content:space-between}.sku-form-head>span{color:var(--muted);font-size:12px}.sku-form-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;margin-top:18px}.sku-form h3{margin:18px 0 6px;padding-bottom:7px;border-bottom:1px solid var(--line)}.sku-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 12px}.sku-grid label,.sku-reason{display:grid;gap:6px;margin:8px 0;font-size:12px;font-weight:700}.sku-grid input,.sku-grid select,.sku-reason textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff}.sku-reason textarea{min-height:75px}.sku-preview{position:sticky;top:0;align-self:start!important;display:block!important;width:auto!important;height:auto!important;padding:18px!important;border-radius:14px!important;background:#071936!important;color:#fff!important}.sku-preview p{margin:0;color:#75a4ff;font-size:9px;font-weight:800;letter-spacing:2px}.sku-preview h3{border:0;margin:7px 0 14px}.sku-preview>div{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-top:1px solid #ffffff18}.sku-preview small{color:#aebfdd}.sku-preview strong{font-size:17px}.sku-preview>.profit-state{margin:13px 0;display:block;text-align:center}.sku-form-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:15px;border-top:1px solid var(--line)}.sku-detail-summary{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin:20px 0}.sku-detail-summary>div{padding:14px;background:#f5f8fd;border-radius:10px}.sku-detail-summary small,.sku-detail-summary strong{display:block}.sku-detail-summary small{color:var(--muted);margin-bottom:6px}.sku-detail details{border:1px solid var(--line);border-radius:12px;padding:14px}.sku-detail summary{cursor:pointer;font-weight:700}.sku-formula{margin-top:12px;padding:10px 14px;background:#f7f9fd;border-radius:9px}.sku-formula p{font-size:12px}.sku-history>div{display:grid;grid-template-columns:130px 1fr auto;gap:10px;padding:10px;border-top:1px solid var(--line);font-size:12px}.sku-history small{color:var(--muted)}@media(max-width:1000px){.sku-filters{grid-template-columns:1fr 1fr}.sku-form-layout{grid-template-columns:1fr}.sku-preview{position:static}.sku-detail-summary{grid-template-columns:repeat(3,1fr)}}
.sku-upload-preview{display:block;width:90px;height:90px;object-fit:cover;border:1px solid var(--line);border-radius:10px;margin-top:7px}
.sku-serial{display:inline-block;margin-top:7px;padding:4px 9px;border-radius:10px;background:#edf3ff;color:#2862d8;font-size:11px;font-weight:700}
.trend-panel{margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}.trend-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.trend-head h3{margin:0 0 4px}.trend-head p{margin:0;color:var(--muted);font-size:12px}.trend-toggles{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.trend-toggles label{display:flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid var(--line);border-radius:9px;background:#f8faff;font-size:11px;cursor:pointer;user-select:none}.trend-toggles input{accent-color:#2563eb}.trend-toggles i{width:8px;height:8px;border-radius:50%}.trend-chart{height:300px;margin-top:14px;overflow:hidden}.trend-chart svg{display:block;width:100%;height:100%;overflow:visible}.trend-grid line{stroke:#e6ebf3;stroke-width:1}.trend-lines polyline{fill:none;stroke-width:2.5;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.trend-lines circle{vector-effect:non-scaling-stroke;stroke:#fff;stroke-width:1.5}.trend-labels text{font-size:11px;fill:#7a879d}@media(max-width:900px){.trend-head{display:block}.trend-toggles{justify-content:flex-start;margin-top:10px}.trend-chart{height:240px}}
.warehouse-table{table-layout:fixed;min-width:1780px}.warehouse-table th:nth-child(1),.warehouse-table td:nth-child(1){width:330px}.warehouse-table th:nth-child(2),.warehouse-table td:nth-child(2){width:135px}.warehouse-table th:nth-child(3),.warehouse-table td:nth-child(3){width:105px}.warehouse-table th:nth-child(4),.warehouse-table td:nth-child(4){width:110px}.warehouse-table th:nth-child(5),.warehouse-table td:nth-child(5){width:150px}.warehouse-table th:nth-child(6),.warehouse-table td:nth-child(6){width:135px}.warehouse-table th:nth-child(7),.warehouse-table td:nth-child(7){width:120px}.warehouse-table th:nth-child(8),.warehouse-table td:nth-child(8){width:190px}.warehouse-table th:nth-child(9),.warehouse-table td:nth-child(9){width:90px}.warehouse-table th:nth-child(10),.warehouse-table td:nth-child(10){width:110px}.warehouse-table th:nth-child(11),.warehouse-table td:nth-child(11){width:330px}.warehouse-table td{height:auto;min-height:78px;overflow:hidden;line-height:1.5}.warehouse-product{max-width:100%;align-items:flex-start}.warehouse-product>span{flex:1;min-width:0;max-width:250px}.warehouse-product b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden;line-height:1.45;overflow-wrap:anywhere}.warehouse-product small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.warehouse-table td:nth-child(2) b,.warehouse-table td:nth-child(2) small,.warehouse-table td:nth-child(5),.warehouse-table td:nth-child(6),.warehouse-table td:nth-child(8){overflow-wrap:anywhere}.warehouse-table td:last-child{white-space:normal}.warehouse-table td:last-child button{display:inline-block;margin:3px 3px 3px 0;padding:7px 9px}.warehouse-table tbody tr{height:auto;min-height:78px}
.selection-delete{color:#d64040;border-color:#f0caca;background:#fff7f7}.selection-delete:hover{color:#fff;border-color:#d64040;background:#d64040}

/* Business overview V2 */
.overview-hero{display:flex;justify-content:space-between;align-items:center;padding:24px 26px;margin-bottom:16px;border-radius:17px;background:linear-gradient(120deg,#071936,#1e55a8);color:#fff;box-shadow:0 12px 30px #183d7520}.overview-hero p{margin:0 0 5px;color:#7eafff;font-size:10px;font-weight:900;letter-spacing:2px}.overview-hero h2{font-size:25px}.overview-hero span{color:#c4d5ef;font-size:12px}.overview-hero button{background:#ffffff18;color:#fff;border-color:#ffffff2e}.overview-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:14px}.overview-card{padding:18px;border:1px solid var(--line);border-radius:15px;background:#fff}.overview-card div{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.overview-card span{color:var(--muted);font-size:12px}.overview-card strong{font-size:25px}.overview-card p{margin:15px 0 0;padding-top:12px;border-top:1px solid var(--line);color:#66748b;font-size:11px}.overview-card.blue{border-top:3px solid #2563eb}.overview-card.purple{border-top:3px solid #8b5cf6}.overview-card.orange{border-top:3px solid #f59e0b}.overview-card.green{border-top:3px solid #10b981}.overview-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.8fr);gap:14px;margin-bottom:14px}.overview-tasks-panel,.overview-focus{min-height:285px}.overview-task{display:grid;grid-template-columns:minmax(210px,1.4fr) minmax(160px,1fr) auto;gap:18px;align-items:center;padding:13px 0;border-top:1px solid var(--line)}.overview-task-main span{display:inline-block;padding:3px 7px;margin-right:8px;border-radius:10px;background:#edf3ff;color:#2862d8;font-size:10px}.overview-task-main b,.overview-task-main small{display:block;margin-top:5px}.overview-task-main small{color:var(--muted);font-size:11px}.overview-progress>div{height:8px;border-radius:8px;background:#edf1f7;overflow:hidden}.overview-progress i{display:block;height:100%;background:linear-gradient(90deg,#2563eb,#5da0ff)}.overview-progress span{display:block;margin-top:6px;color:var(--muted);font-size:11px}.overview-task-update{display:flex;gap:5px}.overview-task-update input{width:64px;padding:7px;border:1px solid var(--line);border-radius:8px}.overview-task-update button{padding:7px 9px}.overview-focus>div:last-child{display:grid;gap:9px}.overview-focus>div:last-child>div{display:flex;gap:10px;align-items:center;padding:11px;border-radius:10px;background:#f7f9fd;font-size:12px}.overview-focus i{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#fff1e5;color:#c66c16;font-style:normal;font-weight:800}.overview-traffic>div:last-child{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.overview-traffic>div:last-child>div{padding:15px;border-radius:12px;background:#f5f8fd}.overview-traffic small,.overview-traffic strong{display:block}.overview-traffic small{color:var(--muted)}.overview-traffic strong{margin-top:7px;font-size:22px}@media(max-width:1100px){.overview-cards{grid-template-columns:1fr 1fr}.overview-grid{grid-template-columns:1fr}.overview-task{grid-template-columns:1fr 1fr}.overview-task-update{grid-column:2}}@media(max-width:700px){.overview-cards,.overview-traffic>div:last-child{grid-template-columns:1fr 1fr}.overview-task{grid-template-columns:1fr}.overview-task-update{grid-column:auto}}
.action-analysis-fields{grid-template-columns:repeat(3,1fr)}.action-ledger-meta{display:flex;gap:16px;flex-wrap:wrap;margin-top:9px;color:#65738c;font-size:12px}.action-data-change{margin-top:10px;padding:10px 12px;border-radius:9px;background:#edf4ff;color:#244d94;font-size:12px}.action-conclusion{display:inline-block;margin-top:9px;padding:6px 10px;border-radius:14px;background:#f2f5fa;color:#4f607b;font-size:12px}@media(max-width:800px){.action-analysis-fields{grid-template-columns:1fr}}
.warehouse-hero{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#071936,#2555a7);color:#fff;margin-bottom:14px}.warehouse-hero p{margin:0 0 6px;color:#79a8ff;font-size:11px;font-weight:800;letter-spacing:2px}.warehouse-hero span{color:#bed0ed;font-size:13px}.warehouse-tabs{display:flex;gap:8px;margin-bottom:14px}.warehouse-tabs button.active{background:var(--blue);color:#fff}.warehouse-filters{display:grid;grid-template-columns:2fr repeat(6,1fr) auto;gap:8px}.warehouse-filters input,.warehouse-filters select{min-width:0;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff}.warehouse-table-wrap{max-width:100%;overflow:auto;margin-top:12px}.warehouse-table{width:100%;min-width:1750px;border-collapse:collapse;font-size:12px}.warehouse-table th{padding:11px 9px;background:#edf3fc;color:#64738d;text-align:left;white-space:nowrap}.warehouse-table td{padding:10px 9px;border-top:1px solid var(--line);vertical-align:middle}.warehouse-table td>small,.warehouse-table td>span{display:block;margin-top:5px}.warehouse-product{display:flex;align-items:center;gap:9px;max-width:280px}.warehouse-product img,.warehouse-product i{width:50px;height:50px;border-radius:9px;object-fit:cover;background:#eef2f8;display:grid;place-items:center;font-style:normal;color:var(--muted)}.warehouse-product span,.warehouse-product b,.warehouse-product small{display:block}.warehouse-product b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wh-status{display:inline-block;padding:5px 9px;border-radius:13px;background:#edf3ff;color:#275ecb}.wh-status.testing{background:#e9f8f1;color:#07855a}.wh-status.stockout,.wh-status.stopped{background:#fff0f0;color:#d44343}.wh-status.arrived{background:#fff7e8;color:#a86d00}.wh-grade{font-size:15px;font-weight:800}.done{color:#079065}.pending{color:#b37a0b}.warehouse-form h3{margin:18px 0 0}.wh-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;justify-content:flex-start}.wh-check input{width:auto!important}.warehouse-detail section{margin-top:20px}.warehouse-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.warehouse-overview>div{padding:13px;border:1px solid var(--line);border-radius:10px;background:#f8faff}.warehouse-overview small,.warehouse-overview strong{display:block}.warehouse-overview small{color:var(--muted);margin-bottom:5px}.warehouse-overview strong{font-size:17px}.warehouse-trend{height:180px;display:flex;align-items:flex-end;gap:5px;padding:20px 4px 28px;border-bottom:1px solid var(--line);overflow:auto}.warehouse-day{position:relative;flex:1;min-width:13px;height:100%;display:flex;align-items:flex-end}.warehouse-day i{display:block;width:100%;background:linear-gradient(#2f71ff,#78a8ff);border-radius:4px 4px 0 0}.warehouse-day small{position:absolute;bottom:-20px;left:50%;transform:translateX(-50%);font-size:9px;color:var(--muted);white-space:nowrap}.warehouse-day.excluded i{background:#b8bec9}.warehouse-reviews{display:grid;grid-template-columns:1fr 1fr;gap:12px}.warehouse-reviews article{padding:15px;border:1px solid var(--line);border-radius:12px;background:#fafbfe}.warehouse-reviews header{display:flex;justify-content:space-between}.warehouse-reviews p{white-space:pre-wrap;max-height:260px;overflow:auto;font-size:12px;line-height:1.7}.warehouse-actions>div{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:11px;border-top:1px solid var(--line)}.warehouse-actions small{grid-column:1/-1;color:var(--muted)}.warehouse-detail-buttons{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}@media(max-width:1000px){.warehouse-filters{grid-template-columns:1fr 1fr}.warehouse-overview{grid-template-columns:1fr 1fr}.warehouse-reviews{grid-template-columns:1fr}}
.permission-summary{display:flex;gap:12px;align-items:center;padding:14px 16px;margin-bottom:12px;border-radius:10px;background:#f2f6ff;color:#52627d;font-size:13px}.permission-summary b{color:#1f5eff;white-space:nowrap}.permission-user-row{min-height:86px}.permission-user-row>span:last-child{display:grid;gap:8px}.account-state{font-style:normal;font-size:12px}.account-state.active{color:#0c9b63}.account-state.disabled{color:#e04444}.permission-modal{width:min(980px,94vw)!important}.permission-matrix{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.permission-matrix fieldset{border:1px solid #dfe6f2;border-radius:12px;padding:13px}.permission-matrix legend{font-weight:800;color:#173264;padding:0 7px}.permission-matrix label{display:flex!important;grid-template-columns:none!important;align-items:center;gap:9px!important;margin:9px 0!important;font-weight:400!important}.permission-matrix input{width:16px;height:16px}.permission-disabled{opacity:.5;background:#f7f8fb;border-radius:12px}.permission-actions{display:flex;justify-content:flex-end;gap:10px}.permission-actions .primary{width:auto!important;margin:0!important}@media(max-width:1100px){.permission-matrix{grid-template-columns:repeat(2,1fr)}}
.clearance-hero{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#10254c,#2865c7);color:#fff;margin-bottom:14px}.clearance-hero p{margin:0 0 6px;color:#82b2ff;font-size:11px;font-weight:800;letter-spacing:2px}.clearance-hero span{color:#c8d9f4;font-size:13px}.clearance-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.clearance-kpis>div,.clearance-overview>div{padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}.clearance-kpis small,.clearance-kpis strong,.clearance-overview small,.clearance-overview strong{display:block}.clearance-kpis small,.clearance-overview small{color:var(--muted);margin-bottom:6px}.clearance-kpis strong{font-size:24px}.clearance-kpis .danger{background:#fff3f3;border-color:#f3caca}.clearance-kpis .danger strong{color:#d94444}.clearance-kpis .warn{background:#fff9ed;border-color:#f2dfb9}.clearance-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:9px}.clearance-filters input,.clearance-filters select{padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff}.clearance-table-wrap{overflow:auto;margin-top:12px}.clearance-table{width:100%;min-width:1400px;border-collapse:collapse;font-size:12px}.clearance-table th{padding:11px;background:#edf3fc;text-align:left;color:#64738d}.clearance-table td{padding:11px;border-top:1px solid var(--line);vertical-align:middle}.clearance-table td small{display:block;margin-top:5px;color:var(--muted)}.clearance-table td:last-child{display:flex;gap:6px}.clearance-overdue{background:#fff9f9}.clearance-progress{width:120px;height:8px;border-radius:5px;background:#e8edf5;overflow:hidden}.clearance-progress i{display:block;height:100%;background:linear-gradient(90deg,#2c69ed,#20b881)}.clearance-check{display:inline-block;padding:5px 9px;border-radius:13px;background:#edf3ff;color:#275ecb}.clearance-check.overdue{background:#ffeaea;color:#cf3434}.clearance-check.due{background:#fff2d8;color:#9a6500}.clearance-check.completed{background:#e7f8ef;color:#078259}.clearance-overview{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin:16px 0}.clearance-timeline{position:relative;margin-left:12px;padding-left:25px;border-left:2px solid #dce5f3}.clearance-timeline article{position:relative;display:grid;grid-template-columns:100px 1fr;gap:16px;padding:0 0 22px}.clearance-timeline article:before{content:'';position:absolute;left:-32px;top:3px;width:12px;height:12px;border-radius:50%;background:#2c68e8;border:3px solid #dce8ff}.clearance-timeline article.inventory:before{background:#0da56a;border-color:#d8f5e9}.clearance-timeline time{font-weight:800}.clearance-timeline b,.clearance-timeline span,.clearance-timeline small{display:block}.clearance-timeline span{margin-top:5px}.clearance-timeline small{margin-top:5px;color:var(--muted)}@media(max-width:1000px){.clearance-kpis,.clearance-overview{grid-template-columns:repeat(2,1fr)}.clearance-filters{grid-template-columns:1fr 1fr}}
.login-screen{position:relative;min-height:100vh;display:grid;place-items:center;padding:42px;background:#07172f;overflow:hidden}.login-screen:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 14% 16%,#2367cf38 0,transparent 29%),radial-gradient(circle at 88% 82%,#163f8638 0,transparent 30%),linear-gradient(135deg,#06142b 0%,#0a2246 55%,#071a37 100%)}.login-screen:after{content:'';position:absolute;inset:0;opacity:.22;background-image:linear-gradient(#ffffff0d 1px,transparent 1px),linear-gradient(90deg,#ffffff0d 1px,transparent 1px);background-size:52px 52px;mask-image:linear-gradient(to right,#000,transparent 63%)}.login-shell{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(410px,.82fr);width:min(1180px,calc(100vw - 84px));min-height:690px;border:1px solid #ffffff1c;border-radius:28px;overflow:hidden;background:#ffffff08;box-shadow:0 35px 100px #0008}.login-brand-panel{position:relative;display:flex;flex-direction:column;padding:52px 58px;color:#fff;background:linear-gradient(145deg,#071b3bdb,#0d3267c7);overflow:hidden}.login-brand-panel:after{content:'';position:absolute;width:430px;height:430px;right:-220px;top:110px;border:1px solid #77a9ff24;border-radius:50%;box-shadow:0 0 0 75px #77a9ff08,0 0 0 150px #77a9ff06}.login-brand{position:relative;z-index:1;display:flex;align-items:center;gap:15px}.login-brand-mark{display:grid;place-items:center;width:52px;height:52px;border:1px solid #a9c8ff70;border-radius:14px;background:linear-gradient(145deg,#2c70e8,#4a8df5);box-shadow:0 12px 30px #00183f80;font-size:18px;font-weight:900}.login-brand b,.login-brand span{display:block}.login-brand b{font-size:18px}.login-brand span{margin-top:5px;color:#91add5;font-size:9px;letter-spacing:2px}.login-brand-copy{position:relative;z-index:1;margin:auto 0 42px;max-width:560px}.login-kicker{display:inline-flex;align-items:center;gap:10px;color:#71a7ff;font-size:11px;font-weight:800;letter-spacing:3px}.login-kicker:before{content:'';width:28px;height:2px;background:#4b8eff}.login-brand-copy h1{margin:24px 0 20px;font-size:45px;line-height:1.3;color:#fff}.login-brand-copy p{max-width:500px;margin:0;color:#aebfda;font-size:15px;line-height:1.9}.login-capabilities{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.login-capabilities>div{display:flex;gap:10px;padding:15px 13px;border:1px solid #ffffff14;border-radius:12px;background:#ffffff08;backdrop-filter:blur(8px)}.login-capabilities i{color:#6099f4;font-size:10px;font-style:normal;font-weight:800}.login-capabilities b,.login-capabilities small{display:block}.login-capabilities b{font-size:12px}.login-capabilities small{margin-top:5px;color:#839bbb;font-size:10px;line-height:1.5}.login-brand-panel footer{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;margin-top:45px;padding-top:22px;border-top:1px solid #ffffff14;color:#7189aa;font-size:10px}.login-brand-panel footer>span{display:flex;align-items:center;gap:8px;color:#91a9c9}.login-brand-panel footer i{width:7px;height:7px;border-radius:50%;background:#27ca8b;box-shadow:0 0 0 5px #27ca8b18}.login-entry-panel{display:grid;place-items:center;padding:45px;background:#f8fafd}.login-card{width:min(390px,100%);padding:0;background:transparent;border-radius:0;box-shadow:none}.login-mobile-brand{display:none}.login-welcome{margin-bottom:38px}.login-welcome p{margin:0 0 11px;color:#2665d9;font-size:10px;font-weight:900;letter-spacing:3px}.login-welcome h2{margin:0 0 10px;color:#10203d;font-size:28px}.login-welcome>span{color:#8995a8;font-size:13px}.login-card>label{display:grid;gap:9px;margin:19px 0;color:#34435d;font-size:12px;font-weight:700}.login-input{position:relative}.login-input input{width:100%;height:50px;padding:0 16px 0 46px;border:1px solid #dce3ed;border-radius:10px;background:#fff;color:#14213d;outline:none;transition:.2s}.login-input input::placeholder{color:#adb6c4}.login-input input:focus{border-color:#3978e6;box-shadow:0 0 0 4px #3978e612}.login-input i{position:absolute;left:17px;top:50%;width:15px;height:15px;transform:translateY(-50%);z-index:1}.login-user-icon{border:1.7px solid #8493aa;border-radius:50%;height:8px!important;top:42%!important}.login-user-icon:after{content:'';position:absolute;left:-4px;top:10px;width:20px;height:9px;border:1.7px solid #8493aa;border-bottom:0;border-radius:12px 12px 0 0}.login-lock-icon{border:1.7px solid #8493aa;border-radius:3px;top:58%!important}.login-lock-icon:before{content:'';position:absolute;left:2px;top:-9px;width:7px;height:8px;border:1.7px solid #8493aa;border-bottom:0;border-radius:7px 7px 0 0}.login-options{display:flex;align-items:center;justify-content:space-between;margin:17px 0 22px;color:#96a0af;font-size:11px}.login-card .remember-login{display:flex;align-items:center;gap:8px;margin:0;color:#53617a;font-size:11px;font-weight:500;cursor:pointer}.remember-login input{appearance:none;width:16px;height:16px;margin:0;padding:0;border:1px solid #cbd4e1;border-radius:4px;background:#fff}.remember-login input:checked{border-color:#2868dc;background:#2868dc;box-shadow:inset 0 0 0 3px #fff}.login-submit{display:flex;align-items:center;justify-content:center;gap:15px;width:100%;height:50px;margin:0;border-radius:10px;background:linear-gradient(100deg,#1f5ad0,#347cef);box-shadow:0 12px 25px #1c5ac838;font-size:14px;transition:.2s}.login-submit:hover{transform:translateY(-1px);box-shadow:0 15px 30px #1c5ac84a}.login-submit i{font-size:18px;font-style:normal}.login-card .error{min-height:22px;margin:10px 0 0;text-align:center;font-size:11px}.login-security{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:23px;padding-top:20px;border-top:1px solid #e7ebf1;color:#9ba5b3;font-size:9px}.login-security span:before{content:'✓';margin-right:4px;color:#2a9f76}@media(max-width:900px){.login-screen{padding:24px}.login-shell{grid-template-columns:1fr;width:min(500px,100%);min-height:0}.login-brand-panel{display:none}.login-entry-panel{padding:42px 34px}.login-mobile-brand{display:flex;align-items:center;gap:12px;margin-bottom:36px}.login-mobile-brand .logo{margin:0;color:#fff}.login-mobile-brand b{font-size:15px}.login-welcome h2{font-size:25px}}@media(max-width:520px){.login-screen{padding:0;background:#f8fafd}.login-screen:before,.login-screen:after{display:none}.login-shell{width:100%;min-height:100vh;border:0;border-radius:0;box-shadow:none}.login-entry-panel{padding:32px 24px}.login-security{gap:9px;flex-wrap:wrap}}
.login-shell{min-height:min(690px,calc(100vh - 48px))}@media(max-height:760px) and (min-width:901px){.login-screen{padding:24px}.login-brand-panel{padding:38px 52px}.login-brand-copy{margin:auto 0 28px}.login-brand-copy h1{font-size:39px;margin:18px 0 14px}.login-capabilities>div{padding:11px}.login-brand-panel footer{margin-top:25px;padding-top:16px}.login-entry-panel{padding:32px 44px}.login-welcome{margin-bottom:26px}.login-card>label{margin:14px 0}.login-security{margin-top:17px;padding-top:15px}}
.login-screen{background:#edf4fc}.login-screen:before{background:radial-gradient(circle at 10% 10%,#bcd8ff99 0,transparent 30%),radial-gradient(circle at 92% 88%,#d9e8ffcc 0,transparent 32%),linear-gradient(135deg,#f5f9ff 0%,#eaf2fc 55%,#f7faff 100%)}.login-screen:after{opacity:.45;background-image:linear-gradient(#5c8fc80c 1px,transparent 1px),linear-gradient(90deg,#5c8fc80c 1px,transparent 1px)}.login-shell{border-color:#d8e5f4;background:#fff;box-shadow:0 28px 80px #315b8f20}.login-brand-panel{color:#16345e;background:linear-gradient(145deg,#eef6ff 0%,#dcecff 52%,#edf5ff 100%)}.login-brand-panel:after{border-color:#4d8ee626;box-shadow:0 0 0 75px #4d8ee60a,0 0 0 150px #4d8ee607}.login-brand-mark{border-color:#ffffffcc;color:#fff;background:linear-gradient(145deg,#3478de,#62a2f2);box-shadow:0 12px 28px #367ac83d}.login-brand b{color:#173a68}.login-brand span{color:#6685ad}.login-kicker{color:#3478d5}.login-kicker:before{background:#5d9cec}.login-brand-copy h1{color:#13345f}.login-brand-copy p{color:#587394}.login-capabilities>div{border-color:#8fb4df26;background:#ffffff72;box-shadow:0 8px 24px #4c79a60d}.login-capabilities i{color:#377bd7}.login-capabilities b{color:#294c76}.login-capabilities small{color:#7890ac}.login-brand-panel footer{border-top-color:#769bc52b;color:#7c94ae}.login-brand-panel footer>span{color:#557596}.login-entry-panel{background:#fff}.login-input input{background:#fbfdff;border-color:#dbe5f0}.login-security{border-top-color:#edf1f6}@media(max-width:520px){.login-screen{background:#fff}}

/* Sidebar navigation */
aside{padding:22px 14px 18px;background:linear-gradient(180deg,#081d3b 0%,#071936 60%,#06162f 100%);border-right:1px solid #17345e;box-shadow:8px 0 28px #102c5510}
aside .brand{margin:0 7px 22px;padding:10px 7px 18px;border-bottom:1px solid #ffffff12;gap:11px}
aside .brand>span{width:43px;height:43px;border-radius:13px;box-shadow:0 9px 22px #020d2180}
aside .brand>div{min-width:0;white-space:nowrap}
aside .brand small{color:#7fa0ce;font-size:10px;font-weight:500;letter-spacing:.2px}
aside nav{display:flex;flex-direction:column;gap:4px;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 3px 14px;scrollbar-width:thin;scrollbar-color:#36557d transparent}
aside nav::-webkit-scrollbar{width:4px}aside nav::-webkit-scrollbar-thumb{border-radius:4px;background:#36557d}
.nav-section-label{margin:13px 12px 5px;color:#57769f;font-size:9px;font-weight:800;letter-spacing:2px;line-height:1;white-space:nowrap}
aside nav button.nav-item{position:relative;display:flex;align-items:center;gap:11px;width:100%;min-height:43px;padding:10px 13px;border:1px solid transparent;border-radius:10px;color:#9db1d1;font-size:13px;font-weight:500;line-height:1.35;transition:background .18s,border-color .18s,color .18s,transform .18s,box-shadow .18s}
aside nav button.nav-item:before{content:attr(data-nav-icon);display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:7px;background:#ffffff0a;color:#86a7d8;font-size:14px;font-weight:700}
aside nav button.nav-item:hover{transform:translateX(2px);border-color:#ffffff0e;background:#ffffff0a;color:#fff}
aside nav button.nav-item:hover:before{background:#ffffff12;color:#a9c7f4}
aside nav button.nav-item.active{border-color:#568af042;background:linear-gradient(100deg,#1d4e91 0%,#1a3f75 100%);color:#fff;font-weight:700;box-shadow:0 8px 20px #020d2138}
aside nav button.nav-item.active:before{background:#4f8df0;color:#fff;box-shadow:0 5px 12px #0a2d6360}
aside nav button.nav-item.active:after{content:'';position:absolute;right:8px;width:4px;height:18px;border-radius:4px;background:#72a8ff}
aside .server{display:flex;align-items:center;margin:10px 4px 0;padding:11px 12px;border:1px solid #ffffff0c;border-radius:10px;background:#ffffff06;color:#7894bb;font-size:11px}
aside .server i{flex:0 0 7px;width:7px;height:7px;box-shadow:0 0 0 4px #22c98216}
@media(max-width:1000px){aside .brand{padding-left:2px;padding-right:2px}.nav-section-label{margin-left:8px}aside nav button.nav-item{padding-left:9px;gap:8px}}

/* Product catalog */
.product-catalog-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.product-catalog-card{display:grid;grid-template-columns:116px minmax(0,1fr);gap:17px;min-height:138px;padding:12px;border:1px solid var(--line);border-radius:13px;background:#fff}.product-catalog-image{display:grid;place-items:center;width:116px;height:116px;border-radius:10px;overflow:hidden;background:#f3f6fb}.product-catalog-image img{width:100%;height:100%;object-fit:cover}.product-image-placeholder{color:var(--muted);font-size:12px}.product-catalog-info{min-width:0;padding:6px 5px}.product-catalog-info h3{margin:0 0 18px;font-size:15px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-catalog-info dl{display:grid;gap:9px;margin:0}.product-catalog-info dl div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:8px}.product-catalog-info dt{color:var(--muted);font-size:12px}.product-catalog-info dd{margin:0;font-weight:700;overflow-wrap:anywhere}.product-catalog-panel .db-pagination{margin-top:18px}@media(max-width:1100px){.product-catalog-list{grid-template-columns:1fr}}@media(max-width:650px){.product-catalog-card{grid-template-columns:80px minmax(0,1fr)}.product-catalog-image{width:80px;height:80px}}

/* Y2 new product traffic analysis */
.y2-hero{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;padding:20px 24px;background:linear-gradient(115deg,#0a2349,#225eae);color:#fff}.y2-hero p{margin:0 0 5px;color:#83b2ff;font-size:10px;font-weight:800;letter-spacing:2px}.y2-hero h2{font-size:22px}.y2-hero span{color:#c4d5ef;font-size:12px}.y2-filters{display:grid;grid-template-columns:2fr repeat(3,1fr) auto;gap:9px;margin-bottom:15px}.y2-filters input,.y2-filters select{min-width:0;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff}.y2-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:12px 0 16px}.y2-summary>div,.y2-detail-kpis>div{padding:15px;border:1px solid #e1e8f3;border-radius:11px;background:linear-gradient(145deg,#f8faff,#f2f6fc)}.y2-summary small,.y2-summary strong,.y2-detail-kpis small,.y2-detail-kpis strong{display:block}.y2-summary small,.y2-detail-kpis small{color:var(--muted);font-size:11px}.y2-summary strong,.y2-detail-kpis strong{margin-top:7px;font-size:21px}.y2-table-wrap{max-width:100%;overflow:auto}.y2-table{width:100%;min-width:1550px;border-collapse:collapse;font-size:12px}.y2-table th{position:sticky;top:0;z-index:1;padding:11px 9px;background:#edf3fc;color:#61708a;text-align:left;white-space:nowrap}.y2-table td{padding:11px 9px;border-top:1px solid var(--line);vertical-align:middle}.y2-table td>small{display:block;margin-top:4px;color:var(--muted)}.y2-table tbody tr:hover{background:#f8faff}.y2-rank{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#edf1f7;color:#60708a}.y2-rank.top{background:linear-gradient(135deg,#ffdf7b,#f3a72a);color:#6b4300}.y2-product{display:flex;align-items:center;gap:9px;max-width:300px}.y2-product img,.y2-product i{flex:0 0 48px;width:48px;height:48px;border-radius:9px;object-fit:cover;background:#eaf1ff;display:grid;place-items:center;color:#3473d7;font-style:normal;font-weight:800}.y2-product span{min-width:0}.y2-product b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.y2-product small{display:block;margin-top:5px;color:var(--muted)}.y2-score{font-size:19px;color:#1f5eff}.y2-tag{display:inline-block;padding:5px 9px;border-radius:13px;background:#eaf1ff;color:#2862d8;white-space:nowrap}.y2-ops{white-space:nowrap}.y2-ops button{margin:2px;padding:7px 9px}.y2-form>label{margin:12px 0}.y2-form textarea{min-height:80px}.y2-upload-preview{display:block;width:96px;height:96px;margin-top:8px;border:1px solid var(--line);border-radius:11px;object-fit:cover}.y2-detail>header{display:flex;justify-content:space-between;align-items:flex-start}.y2-detail header p{margin:0 0 5px;color:#1f5eff;font-size:10px;font-weight:800;letter-spacing:2px}.y2-detail header span{color:var(--muted);font-size:12px}.y2-detail-kpis{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin:20px 0}.y2-ai-result{padding:18px;border:1px solid #bfd2f5;border-radius:13px;background:#f3f7ff}.y2-ai-result p,.y2-history p{white-space:pre-wrap;line-height:1.75}.y2-history article{padding:14px 2px;border-top:1px solid var(--line)}.y2-history small{color:var(--muted)}.y2-detail-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}@media(max-width:1100px){.y2-filters{grid-template-columns:1fr 1fr}.y2-summary{grid-template-columns:repeat(3,1fr)}.y2-detail-kpis{grid-template-columns:repeat(3,1fr)}}

.simple-action-head{margin-bottom:18px}.simple-action-head p{margin:0;color:var(--blue);font-size:10px;font-weight:800;letter-spacing:2px}.simple-action-head h2{margin:6px 0}.simple-action-head span{color:var(--muted);font-size:12px}.simple-action-form textarea{min-height:90px}.simple-action-item .action-facts{margin-top:10px}.simple-action-item .result{padding:10px;border-radius:9px;background:#eef7f3}
.y1-table{min-width:1720px}.y1-table .y2-ops{min-width:285px}.y2-ai-result article{padding:12px 0;border-top:1px solid var(--line)}.y2-ai-result article:first-of-type{border-top:0}.y2-ai-result article button{margin-top:8px}
.sku-product img{cursor:zoom-in}
.sku-image-hover-preview{position:fixed;z-index:10000;width:320px;height:320px;padding:10px;background:#fff;border:1px solid #d8e2f1;border-radius:14px;box-shadow:0 18px 50px rgba(5,28,66,.24);pointer-events:none}
.sku-image-hover-preview img{width:100%;height:100%;object-fit:contain;border-radius:9px;background:#f5f8fc}
.sku-image-hover-preview.hidden{display:none}
.numeric-sortable{cursor:pointer;user-select:none;white-space:nowrap}
.numeric-sortable::after{content:' ⇅';color:#94a3b8;font-size:12px}
.numeric-sortable[data-sort="asc"]::after{content:' ↑';color:#2563eb}
.numeric-sortable[data-sort="desc"]::after{content:' ↓';color:#2563eb}
.universal-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 4px;color:#64748b}
.universal-pagination button,.universal-pagination select{border:1px solid #dce4f0;background:#fff;border-radius:8px;padding:7px 11px;color:#16305f}
.universal-pagination button:disabled{opacity:.45}
.soft-delete-button{color:#dc2626!important;border-color:#fecaca!important;background:#fff7f7!important}

/* 运营动作台账紧凑版 */
#actionsPage .action-hero{padding:18px 26px;min-height:0}
#actionsPage .action-hero p{margin-bottom:5px}
#actionsPage .action-hero h2{margin:3px 0 5px;font-size:21px}
#actionsPage>.panel:not(.action-hero){padding:18px 20px}
#actionsPage .action-filters{margin-bottom:10px}
#actionsPage .action-list{gap:10px}
#actionsPage .simple-action-item{position:relative;grid-template-columns:120px minmax(0,1fr);gap:16px;padding:14px 118px 14px 16px;border-radius:13px;min-height:0}
#actionsPage .simple-action-item .action-date{padding:0 16px 0 2px;justify-content:center}
#actionsPage .simple-action-item .action-date b{font-size:14px}
#actionsPage .simple-action-item .action-date span{margin-top:5px;padding:2px 7px;font-size:11px}
#actionsPage .simple-action-item .action-title{margin-bottom:5px;gap:8px}
#actionsPage .simple-action-item .action-title h3{font-size:15px}
#actionsPage .simple-action-item .action-type,#actionsPage .simple-action-item .action-title em{padding:3px 8px;font-size:10px}
#actionsPage .simple-action-item .action-body small{margin-top:2px}
#actionsPage .simple-action-item .action-facts{margin-top:7px;gap:6px}
#actionsPage .simple-action-item .action-facts span{padding:4px 8px;font-size:11px}
#actionsPage .simple-action-item .action-body p{margin:7px 0 0;padding:7px 9px;line-height:1.45;font-size:12px}
#actionsPage .simple-action-item>button{position:absolute;right:16px;width:82px;height:34px;padding:0;z-index:2}
#actionsPage .simple-action-item>button:not(.soft-delete-button){top:16px}
#actionsPage .simple-action-item>.soft-delete-button{bottom:16px}
@media(max-width:900px){#actionsPage .simple-action-item{grid-template-columns:100px minmax(0,1fr);padding-right:16px;padding-bottom:58px}#actionsPage .simple-action-item>button{bottom:12px;top:auto!important}#actionsPage .simple-action-item>.soft-delete-button{right:108px}}
.y2-picker-tools{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:14px;align-items:center;margin-bottom:12px}.y2-picker-tools>label{display:flex;align-items:center;gap:7px;white-space:nowrap}.y2-picker-tools>span{color:#2563eb;font-weight:700}.y2-product-picker{max-height:440px;overflow:auto;border:1px solid #dfe7f3;border-radius:13px;background:#f8faff;padding:8px;display:grid;gap:6px}.y2-picker-row{display:grid;grid-template-columns:22px 54px minmax(0,1fr) auto;align-items:center;gap:11px;padding:9px 11px;background:#fff;border:1px solid #e4eaf3;border-radius:10px;cursor:pointer}.y2-picker-row:hover{border-color:#9ebcff;background:#f7faff}.y2-picker-row.disabled{opacity:.58;cursor:not-allowed}.y2-picker-row img,.y2-picker-row>i{width:48px;height:48px;border-radius:8px;object-fit:cover;background:#edf2f8;display:grid;place-items:center;font-size:11px}.y2-picker-row span{min-width:0}.y2-picker-row b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.y2-picker-row small{display:block;color:#7c8aa2;margin-top:4px}.y2-picker-row em{font-style:normal;color:#56709e;font-size:12px}.y2-linked-product{display:flex;align-items:center;gap:14px;padding:14px;margin-bottom:16px;border-radius:12px;background:#f4f7fc}.y2-linked-product img,.y2-linked-product>i{width:68px;height:68px;object-fit:cover;border-radius:10px;background:#eaf0f8;display:grid;place-items:center}.y2-linked-product span,.y2-linked-product small{display:block;color:#71809a;margin-top:5px}@media(max-width:800px){.y2-picker-tools{grid-template-columns:1fr}.y2-picker-row{grid-template-columns:22px 46px minmax(0,1fr)}.y2-picker-row em{grid-column:3}}
.account-user-head,.account-user-row{grid-template-columns:1.05fr .85fr 1.2fr 1.1fr 1.1fr .9fr 1.55fr;min-width:1280px}
.account-user-row{min-height:82px}
.login-account{font-family:Consolas,"Microsoft YaHei",sans-serif;color:#173264;letter-spacing:.3px}
.temporary-password{display:block;font-family:Consolas,monospace;color:#b45309}
.password-protected{display:block;color:#52627d}
#usersTable{overflow-x:auto}
.y1-stock-fields{margin-top:16px;padding:16px;border:1px solid #dfe7f3;border-radius:12px;background:#f8faff}
.clearance-product-card{display:grid;grid-template-columns:58px minmax(180px,1fr);align-items:center;gap:12px;min-width:280px}.clearance-product-card img,.clearance-product-card>i{width:58px;height:58px;border-radius:10px;object-fit:cover;background:#edf2f8;display:grid;place-items:center;color:#8a98ad;font-style:normal;font-size:11px}.clearance-product-card span{min-width:0}.clearance-product-card b{display:block;max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#10244a;font-size:13px}.clearance-product-card small{display:block;margin-top:4px!important;color:#74839c!important}
.y1-compare-button{color:#fff!important;background:linear-gradient(135deg,#6b55df,#2768ee)!important;border-color:transparent!important}.y1-compare-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.ai-loading{padding:42px;text-align:center;color:#3567d8;background:#f4f7fc;border-radius:14px}@media(max-width:800px){.y1-compare-kpis{grid-template-columns:repeat(2,1fr)}}

/* Central role management */
.role-summary-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 18px}.role-summary-strip button{padding:14px 16px;border:1px solid #dfe7f3;border-radius:12px;background:#fff;text-align:left}.role-summary-strip button:hover{border-color:#7ba4ee;background:#f6f9ff}.role-summary-strip b,.role-summary-strip small{display:block}.role-summary-strip b{color:#17325f}.role-summary-strip small{margin-top:6px;color:var(--muted)}.role-manager-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.role-manager-head p{margin:0 0 5px;color:#3977df;font-size:10px;font-weight:900;letter-spacing:2px}.role-manager-head h2{margin:0 0 6px}.role-manager-head span{color:var(--muted);font-size:12px}.role-manager-list{display:grid;gap:10px}.role-manager-list article{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid #e0e7f1;border-radius:13px;background:#fff}.role-manager-list article b{font-size:15px;color:#142b52}.role-manager-list article em{display:inline-block;margin-left:9px;padding:3px 7px;border-radius:10px;background:#edf4ff;color:#316ed2;font-size:10px;font-style:normal}.role-manager-list article p{margin:7px 0 5px;color:#53627a}.role-manager-list article small{color:var(--muted)}@media(max-width:900px){.role-summary-strip{grid-template-columns:1fr 1fr}.role-manager-head{align-items:flex-start;flex-direction:column}}@media(max-width:580px){.role-summary-strip{grid-template-columns:1fr}.role-manager-list article{align-items:flex-start;flex-direction:column}}

/* Operation action product picker and product-first list */
.action-product-select{margin:4px 0 18px;padding:15px;border:1px solid #dbe5f3;border-radius:13px;background:#f7f9fd}.action-picker-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.action-picker-head b,.action-picker-head span{display:block}.action-picker-head span{margin-top:4px;color:var(--muted);font-size:11px}.action-picker-head input{width:min(360px,48%);padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fff}.action-product-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:330px;overflow:auto}.action-product-picker>button{padding:0;border:1px solid #e1e8f2;text-align:left;overflow:hidden}.action-product-picker>button:hover{border-color:#8fb2f5;background:#f3f7ff}.action-product-card,.action-list-product{display:flex;align-items:center;gap:11px;min-width:0;padding:10px}.action-product-card img,.action-product-card i,.action-list-product img,.action-list-product i{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border-radius:9px;background:#eaf0f8;object-fit:cover;color:#8190a6;font-size:10px;font-style:normal}.action-product-card span,.action-list-product span{min-width:0}.action-product-card b,.action-product-card small,.action-list-product b,.action-list-product small{display:block}.action-product-card b,.action-list-product b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text)}.action-product-card small,.action-list-product small{margin-top:4px;color:var(--muted);font-size:11px}.action-selected-product{display:flex;align-items:center;justify-content:space-between;gap:12px}.action-selected-product .action-product-card{flex:1;padding:0}.action-selected-product>button{white-space:nowrap}
#actionsPage .simple-action-item.action-product-row{display:grid;grid-template-columns:minmax(260px,330px) 110px minmax(360px,1fr) 82px;gap:18px;padding:15px 16px;align-items:center}.action-product-row .action-list-product{padding:0 17px 0 0;border-right:1px solid var(--line)}.action-product-row .action-date{padding:0 17px 0 0}.action-product-row .action-body{padding-right:4px}.action-product-row .action-title h3{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.action-product-row>button{position:static!important;right:auto!important;top:auto!important;bottom:auto!important;align-self:center;width:72px!important}.action-product-row .action-list-product img,.action-product-row .action-list-product i{width:58px;height:58px;flex-basis:58px}@media(max-width:1200px){#actionsPage .simple-action-item.action-product-row{grid-template-columns:minmax(230px,290px) 100px minmax(300px,1fr)}.action-product-row>button{grid-column:3;justify-self:end}}@media(max-width:800px){.action-product-picker{grid-template-columns:1fr}.action-picker-head{align-items:stretch;flex-direction:column}.action-picker-head input{width:100%}#actionsPage .simple-action-item.action-product-row{grid-template-columns:1fr;padding:14px}.action-product-row .action-list-product,.action-product-row .action-date{border-right:0;border-bottom:1px solid var(--line);padding:0 0 12px}.action-product-row>button{grid-column:1}}

/* Compact page chrome: account controls live in the sidebar and module hero
   banners become action-only toolbars. */
main{padding-top:18px}
.workspace-header-anchor{display:none!important}
.sidebar-account{flex:0 0 auto;margin:12px 0 10px;padding:12px;border:1px solid #ffffff13;border-radius:12px;background:#0b2248}
.sidebar-account-title{margin-bottom:9px;color:#7188b2;font-size:10px;font-weight:800;letter-spacing:1.4px}
.sidebar-account .actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.sidebar-account .user-badge{grid-column:1/-1;display:block;margin:0 0 3px;text-align:left}
.sidebar-account .user-badge b,.sidebar-account .user-badge span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-account .user-badge b{color:#fff;font-size:13px}.sidebar-account .user-badge span{margin-top:3px;color:#8fa4ca;font-size:10px}
.sidebar-account button{padding:8px 6px;border-color:#ffffff17;background:#ffffff0a;color:#c7d4eb;font-size:11px}
.sidebar-account button:hover{border-color:#4e7fd4;background:#17386f;color:#fff}
aside nav{min-height:0;overflow-y:auto}
aside .server{margin-top:0}
.selection-hero,.sku-hero,.clearance-hero,.y2-hero,.action-hero{min-height:0!important;margin:0 0 10px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;justify-content:flex-end!important}
.selection-hero>div:first-child,.sku-hero>div:first-child,.clearance-hero>div:first-child,.y2-hero>div:first-child,.action-hero>div:first-child{display:none!important}
.summary-hero,.ai-hero{display:none!important}
.selection-hero>button,.clearance-hero>button,.y2-hero>button,.action-hero>button,.sku-hero>div:last-child button{min-height:40px}
.sku-hero>div:last-child{display:flex!important;gap:8px}.sku-hero>div:last-child button:not(.primary){border-color:var(--line)!important;background:#fff!important;color:var(--text)!important}
@media(max-width:1000px){main{padding-top:14px}.sidebar-account{padding:10px}.sidebar-account .actions{grid-template-columns:1fr}.sidebar-account .user-badge{grid-column:1}.selection-hero,.sku-hero,.clearance-hero,.y2-hero,.action-hero{justify-content:flex-start!important}}

/* Page actions now live inside the content panel instead of consuming a
   separate hero row. */
.integrated-page-head{margin:-4px 0 18px;padding:0 0 14px;border-bottom:1px solid var(--line)}
.integrated-page-head>div:first-child{min-width:0}.integrated-page-head h2{margin:4px 0 0;font-size:20px}
.page-action-label{display:block;color:var(--blue);font-size:9px;font-weight:900;letter-spacing:1.6px}
.page-action-buttons{flex-wrap:wrap;justify-content:flex-end}
.page-action-buttons button{min-height:40px;box-shadow:0 4px 12px #173b7a12}
.page-action-buttons .primary{box-shadow:0 6px 16px #1f5eff2b}
.selection-tabs button:nth-child(2){display:inline-flex}
@media(max-width:760px){.integrated-page-head{align-items:flex-start;gap:12px;flex-direction:column}.page-action-buttons{width:100%;justify-content:flex-start}.page-action-buttons button{flex:1}}

/* 2026 professional workspace hierarchy */
:root{--surface-blue:#f1f6ff;--surface-soft:#f7f9fd;--panel-shadow:0 10px 30px rgba(18,48,96,.07)}
body{background:radial-gradient(circle at 92% 0,#eaf2ff 0,transparent 28%),#f2f5fa}
main>div[id$="Page"]{animation:workspace-in .18s ease-out}
main>div[id$="Page"].hidden{display:none!important}
.action-type-field{position:relative;min-width:0}
.action-type-multi{position:relative;margin-top:7px;font-weight:400}
.action-type-multi summary{height:44px;box-sizing:border-box;display:flex;align-items:center;padding:0 38px 0 13px;border:1px solid #d9e4f3;border-radius:9px;background:#fff;color:#17233d;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;list-style:none}
.action-type-multi summary::-webkit-details-marker{display:none}
.action-type-multi summary:after{content:'⌄';position:absolute;right:14px;top:10px;font-size:18px;color:#52647f}
.action-type-multi[open] summary{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1)}
.action-type-options{position:static;max-height:190px;overflow-x:hidden;overflow-y:auto;margin-top:6px;padding:6px;border:1px solid #d9e4f3;border-radius:10px;background:#fff;box-shadow:0 8px 20px rgba(25,48,88,.12)}
.action-type-options label{display:flex;align-items:center;gap:9px;min-height:34px;padding:3px 8px;border-radius:7px;cursor:pointer;color:#17233d}
.action-type-options label:hover{background:#f1f6ff}
.action-type-options label:has(input:checked){background:#edf4ff;color:#1551bd;font-weight:600}
.action-type-options input{width:15px!important;height:15px;margin:0!important;flex:0 0 auto;accent-color:#2563eb}
.modal:has(.simple-action-form) .action-type-options{overflow-x:hidden!important;overflow-y:auto!important}
.modal:has(.simple-action-form) .action-type-options label{display:flex!important;grid-template-columns:none!important;align-items:center!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:36px!important;margin:0!important;padding:7px 9px!important;gap:9px!important;white-space:normal!important}
.modal:has(.simple-action-form) .action-type-options input[type="checkbox"]{display:block!important;width:16px!important;min-width:16px!important;max-width:16px!important;height:16px!important;min-height:16px!important;margin:0!important;padding:0!important;flex:0 0 16px!important;border-radius:3px!important}
.modal:has(.simple-action-form) .action-type-options label span{display:block!important;min-width:0!important;width:auto!important;line-height:22px!important;white-space:normal!important;word-break:keep-all!important}
.row-actions{display:flex;gap:6px;align-items:center;white-space:nowrap}
.purchase-delete-button{margin-left:6px}
@keyframes workspace-in{from{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:none}}
main>div[id$="Page"]>.panel,
#selectionPage>.panel,#skuPricingPage>.panel,#y2NewPage>.panel,
#warehousePage>.panel,#clearancePage>.panel,#productCatalogPage>.panel{
  border-color:#dce5f2;box-shadow:var(--panel-shadow);background:#fff
}
.integrated-page-head{
  min-height:76px;margin:-22px -22px 18px!important;padding:17px 20px!important;
  border-bottom:1px solid #d9e5f5!important;border-radius:14px 14px 0 0;
  background:linear-gradient(112deg,#eef5ff 0,#f8fbff 58%,#edf4ff 100%)
}
main>div[id$="Page"]>.panel>.panel-head:not(.integrated-page-head){
  min-height:72px;margin:-22px -22px 18px;padding:16px 20px;
  border-bottom:1px solid #d9e5f5;border-radius:14px 14px 0 0;
  background:linear-gradient(112deg,#eef5ff 0,#f9fbff 62%,#edf4ff 100%)
}
main>div[id$="Page"]>.panel>.panel-head h2{color:#102b57}
main>div[id$="Page"]>.panel>.panel-head>.actions,
main>div[id$="Page"]>.panel>.panel-head>.inline{padding:5px;border:1px solid #d9e3f1;border-radius:11px;background:#ffffffb8}
.integrated-page-head h2{color:#102b57;font-size:21px!important;letter-spacing:.1px}
.page-action-label{color:#3574de!important}
.page-action-buttons button{border-color:#cbd9ee;background:#fff;color:#17335e}
.page-action-buttons button:hover{border-color:#6f9ce9;background:#f7faff;transform:translateY(-1px)}
.page-action-buttons .primary{border:0;background:linear-gradient(135deg,#3477ff,#1757e8);color:#fff}
.selection-tabs,.warehouse-tabs{padding:8px;border:1px solid #dce5f2;border-radius:12px;background:#eaf1fb;box-shadow:0 5px 18px rgba(24,55,105,.05)}
.selection-tabs button,.warehouse-tabs button{background:transparent;border-color:transparent}
.selection-tabs button.active,.warehouse-tabs button.active{box-shadow:0 5px 13px rgba(31,94,255,.22)}
.selection-filters,.sku-filters,.y2-filters,.warehouse-filters,.clearance-filters,.action-filters,.summary-filters{
  padding:14px;margin-bottom:16px!important;border:1px solid #e0e7f1;border-radius:12px;background:var(--surface-soft)
}
.selection-filters input,.selection-filters select,.sku-filters input,.sku-filters select,
.y2-filters input,.y2-filters select,.warehouse-filters input,.warehouse-filters select,
.clearance-filters input,.clearance-filters select,.action-filters input,.action-filters select,
.summary-filters input,.summary-filters select{border-color:#d8e2f0!important;box-shadow:0 1px 2px rgba(23,50,93,.03)}
.y2-summary>*,.clearance-kpis>*,.cards>.card,.summary-card{
  border:1px solid #dfe7f3!important;background:linear-gradient(145deg,#fff,#f5f8fd)!important;
  box-shadow:0 5px 16px rgba(28,58,104,.05)
}
.selection-table-wrap,.sku-table-wrap,.y2-table-wrap,.warehouse-table-wrap,
.clearance-table-wrap,.db-table-wrap,.product-catalog-list{
  border:1px solid #e1e8f2;border-radius:12px;background:#fff;overflow:auto
}
table thead th{background:linear-gradient(180deg,#edf4fd,#e7effa)!important;color:#536785!important}
table tbody tr:hover{background:#f5f8fe!important}
.db-count{padding:2px 2px 10px;color:#71819a}
@media(max-width:760px){.integrated-page-head{margin:-18px -18px 16px!important}.selection-tabs,.warehouse-tabs{overflow-x:auto}}

/* Y1 analysis and catalog-driven add dialog */
#warehousePage .integrated-page-head{background:linear-gradient(115deg,#e9f2ff,#f8fbff 58%,#eef3ff)}
#warehousePage .y2-summary{margin:4px 0 18px}
#warehousePage .y2-summary>*{position:relative;overflow:hidden;padding-top:18px}
#warehousePage .y2-summary>*::before{content:'';position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#3478ff,#7457e8)}
#warehousePage .y2-table-wrap{box-shadow:inset 0 1px 0 #fff,0 7px 20px rgba(22,54,102,.05)}
#warehousePage .y2-product img,#warehousePage .y2-product>i{box-shadow:0 5px 14px rgba(20,54,105,.12)}
.y1-catalog-form{gap:0}
.y1-form-section-title{display:flex;align-items:center;gap:11px;margin:18px 0 12px;padding-bottom:10px;border-bottom:1px solid #e2e9f3}
.y1-form-section-title>span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,#3478ff,#205bd7);color:#fff;font-size:12px;font-weight:800;box-shadow:0 5px 12px rgba(36,99,220,.25)}
.y1-form-section-title b,.y1-form-section-title small{display:block}.y1-form-section-title b{color:#16315d;font-size:15px}.y1-form-section-title small{margin-top:3px;color:#7a879d;font-size:11px}
.y1-selected-profiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 4px;padding:10px;border:1px solid #cfddf2;border-radius:13px;background:#f3f7fd}
.y1-selected-profiles.empty{display:block;padding:17px;text-align:center;color:#7b8ba4;border-style:dashed}
.y1-selected-profile{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px;border:1px solid #dfe7f2;border-radius:11px;background:#fff;box-shadow:0 4px 12px rgba(23,52,96,.05)}
.y1-selected-profile img,.y1-selected-profile>i{display:grid;place-items:center;width:58px;height:58px;border-radius:9px;background:#eaf0f8;object-fit:cover;color:#8492a8;font-size:10px;font-style:normal}
.y1-selected-profile div{min-width:0}.y1-selected-profile b,.y1-selected-profile span,.y1-selected-profile small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.y1-selected-profile b{color:#142b52}.y1-selected-profile span{margin-top:4px;color:#3269c8;font-size:11px}.y1-selected-profile small{margin-top:3px;color:#7a879d;font-size:10px}.y1-selected-profile em{padding:5px 8px;border-radius:12px;background:#e9f8f1;color:#07855a;font-size:10px;white-space:nowrap}
.y1-catalog-form .y1-stock-fields{border-color:#ccdcf4;background:linear-gradient(145deg,#f4f8ff,#fafcff)}
.y1-catalog-form>button.primary{margin-top:16px;min-height:48px;background:linear-gradient(135deg,#3478ff,#2257dc);box-shadow:0 8px 20px rgba(31,94,255,.22)}
@media(max-width:850px){.y1-selected-profiles{grid-template-columns:1fr}.y1-selected-profile{grid-template-columns:52px minmax(0,1fr)}.y1-selected-profile em{grid-column:2;justify-self:start}}

/* Compact product database and single-row product catalog */
#databasePage .database-title{align-items:center;margin-bottom:10px}#databasePage .database-title p{display:none}#databasePage .database-title h2{font-size:19px;margin:0}#databasePage .database-title span{font-size:11px}#databasePage .database-title>button{padding:7px 11px;font-size:11px}#databasePage .database-filters{padding:10px 12px;margin-bottom:10px;gap:8px}#databasePage .database-filters input,#databasePage .database-filters select,#databasePage .database-query{height:36px}#databasePage .database-insight-cards{gap:8px;margin-bottom:9px}#databasePage .database-insight-cards>div{padding:9px 11px}#databasePage .database-insight-cards b{font-size:17px;margin:3px 0}#databasePage .db-table-wrap{max-height:calc(100vh - 292px)}
#databasePage .database-analysis-table{min-width:3600px}#databasePage .database-analysis-table th,#databasePage .database-analysis-table td{position:static;min-width:108px;max-width:none;height:56px;text-align:right}#databasePage .database-analysis-table .db-col-product{position:sticky;left:0;z-index:3;min-width:270px;max-width:270px;text-align:left;background:#fff}#databasePage .database-analysis-table .db-col-date{position:sticky;left:270px;z-index:3;min-width:122px;max-width:122px;text-align:right;background:#fff;border-right:2px solid #cfdaeb}#databasePage .database-analysis-table thead .db-col-product,#databasePage .database-analysis-table thead .db-col-date{z-index:7;background:#edf2fa}#databasePage .database-analysis-table tfoot .db-col-product,#databasePage .database-analysis-table tfoot .db-col-date{z-index:8;background:#0b234c!important}#databasePage .database-analysis-table tfoot td{position:sticky;bottom:0;background:#0e2957!important}#databasePage .db-product-cell{grid-template-columns:42px minmax(0,1fr);gap:8px}#databasePage .db-product-cell img,#databasePage .db-product-cell>i{width:42px;height:42px}#databasePage .db-product-cell b{max-width:205px}#databasePage .db-date-cell{justify-content:flex-end}
.product-catalog-list{grid-template-columns:1fr!important;gap:8px!important}.product-catalog-card{grid-template-columns:70px minmax(0,1fr)!important;min-height:86px!important;padding:8px 10px!important;gap:12px!important}.product-catalog-image{width:70px!important;height:70px!important;border-radius:9px!important}.product-catalog-info{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(0,2fr);align-items:center;gap:18px;padding:0!important}.product-catalog-info h3{margin:0!important;font-size:13px!important;-webkit-line-clamp:2}.product-catalog-info dl{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px!important}.product-catalog-info dl div{display:block!important}.product-catalog-info dt{font-size:10px!important}.product-catalog-info dd{margin-top:4px!important;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:900px){.product-catalog-info{grid-template-columns:1fr}.product-catalog-info dl{grid-template-columns:repeat(2,1fr)}}

/* Database scrolling, action overlay and full-width action form fixes */
.db-action-portal{right:auto!important;bottom:auto!important}
.product-action-count{display:inline-flex!important;align-items:center;justify-content:center;width:20px;height:20px;margin-left:6px;border-radius:50%;background:#2664f5;color:#fff!important;font-size:11px!important;font-weight:800;line-height:1;vertical-align:middle;cursor:help;box-shadow:0 3px 9px rgba(38,100,245,.28)}
.purchase-hero{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;background:linear-gradient(110deg,#0a244d,#204d94);color:#fff}.purchase-hero p{margin:0;color:#73a6ff;font-size:10px;font-weight:800;letter-spacing:2px}.purchase-hero h2{margin:4px 0;font-size:22px}.purchase-hero span{font-size:12px;color:#c8d8f3}.purchase-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:12px 0}.purchase-summary>div{padding:13px 15px;border:1px solid #dce5f3;border-radius:12px;background:#fff}.purchase-board{padding:16px}.purchase-filters{display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(2,minmax(150px,.7fr)) auto auto;gap:9px;margin-bottom:12px}.purchase-table-wrap{overflow:auto;border:1px solid #dce5f3;border-radius:12px}.purchase-table{width:100%;min-width:1320px;border-collapse:collapse}.purchase-table th,.purchase-table td{padding:10px 12px;border-bottom:1px solid #e3eaf4;text-align:left;font-size:12px}.purchase-table th{background:#edf3fc;color:#405676;white-space:nowrap}.purchase-table tfoot td{background:#0d2c5d;color:#fff;font-weight:700}.purchase-product{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:9px;min-width:340px}.purchase-product img,.purchase-product i{width:46px;height:46px;border-radius:8px;object-fit:cover;background:#eef3fb}.purchase-product i{display:grid;place-items:center;color:#8190aa;font-style:normal}.purchase-product b,.purchase-product small{display:block;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.purchase-product small{margin-top:3px;color:#77859c;font-size:10px}.purchase-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-weight:700;white-space:nowrap}.purchase-status.pending{background:#fff1d7;color:#a86200}.purchase-status.purchasing{background:#e7efff;color:#2664dc}.purchase-status.purchased,.purchase-status.arrived{background:#dff7e9;color:#078553}.purchase-status.cancelled{background:#edf0f5;color:#788395}.purchase-note{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.purchase-table-wrap+.pagination{justify-content:center;margin-top:12px}.purchase-form textarea{min-height:90px}@media(max-width:900px){.purchase-summary{grid-template-columns:repeat(2,1fr)}.purchase-filters{grid-template-columns:1fr 1fr}.purchase-filters input{grid-column:1/-1}}
.product-action-source{display:none!important}.product-action-timeline-portal{display:block!important;position:fixed!important;z-index:1400!important;max-height:min(430px,72vh);overflow:auto;padding:14px;border:1px solid #cad8f1;border-radius:14px;background:#fff;color:#172640;box-shadow:0 20px 54px rgba(9,30,66,.32)}
.product-action-timeline-portal>strong{display:block;padding-bottom:10px;color:#112a55;font-size:14px}.product-action-timeline-portal article{position:relative;margin-left:7px;padding:10px 8px 11px 18px;border-left:2px solid #d8e5fc}.product-action-timeline-portal article:before{content:"";position:absolute;left:-6px;top:15px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#2664f5;box-shadow:0 0 0 1px #9dbaf5}.product-action-timeline-portal time,.product-action-timeline-portal b,.product-action-timeline-portal span,.product-action-timeline-portal small{display:block;margin-bottom:3px}.product-action-timeline-portal time{color:#64748b;font-size:11px}.product-action-timeline-portal b{font-size:13px}.product-action-timeline-portal span,.product-action-timeline-portal small{color:#718096;font-size:11px}.product-action-timeline-portal p{margin:6px 0 0;padding:7px 8px;border-radius:7px;background:#f4f7fc;font-size:11px;white-space:normal}.product-action-timeline-portal p.result{background:#edf9f4;color:#087c55}
.modal:has(.simple-action-form) .modal-card{width:min(1120px,94vw)!important;box-sizing:border-box!important;padding:26px!important;overflow-x:hidden!important}.modal:has(.simple-action-form) #modalBody,.modal:has(.simple-action-form) .simple-action-form,.modal:has(.simple-action-form) .action-product-select,.modal:has(.simple-action-form) .form-grid,.modal:has(.simple-action-form) label{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important}.modal:has(.simple-action-form) input,.modal:has(.simple-action-form) select,.modal:has(.simple-action-form) textarea{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important}.modal:has(.simple-action-form) .form-grid{gap:14px 16px!important}
#databasePage .database-analysis-table thead th{position:sticky!important;top:0!important;z-index:6!important;background:#edf2fa!important}#databasePage .database-analysis-table thead .db-col-product,#databasePage .database-analysis-table thead .db-col-date{z-index:10!important}#databasePage .database-analysis-table tbody .db-col-product,#databasePage .database-analysis-table tbody .db-col-date{z-index:4!important}#databasePage .database-analysis-table tfoot td{z-index:7!important}#databasePage .database-analysis-table tfoot .db-col-product,#databasePage .database-analysis-table tfoot .db-col-date{z-index:11!important}.db-action-dot:hover .db-action-popover{display:none!important}.db-action-portal{display:block!important;position:fixed!important;z-index:1000!important;max-height:min(360px,70vh);overflow:auto;padding:13px;border:1px solid #cad8f1;border-radius:12px;background:#fff;color:#172640;text-align:left;box-shadow:0 18px 46px rgba(12,31,66,.28)}.db-action-portal>strong{display:block;margin-bottom:8px;font-size:13px}.db-action-portal article{padding:9px 0;border-top:1px solid #edf1f7}.db-action-portal article:first-of-type{border-top:0}.db-action-portal article b,.db-action-portal article span{display:block;margin-bottom:4px;font-size:11px}.db-action-portal article span{color:#68768e}.db-action-portal article p{margin:5px 0 0;padding:6px 8px;border-radius:6px;background:#f5f7fb;font-size:11px;white-space:normal}.db-action-portal article .result{background:#edf9f4;color:#087c55}.modal:has(.simple-action-form) .modal-card{width:min(1120px,94vw)!important;max-height:92vh!important;overflow-y:auto!important;overflow-x:hidden!important}.modal:has(.simple-action-form) .simple-action-form{width:100%;min-width:0}.modal:has(.simple-action-form) .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modal:has(.simple-action-form) textarea{width:100%;resize:vertical}@media(max-width:700px){.modal:has(.simple-action-form) .form-grid{grid-template-columns:1fr}}
.modal-card.purchase-batch-modal{width:min(1080px,96vw)!important;max-height:92vh!important}.purchase-batch-head{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px;padding:14px;border-radius:12px;background:#f3f7fd}.purchase-entry-wrap{overflow:auto;border:1px solid #dce5f3;border-radius:12px}.purchase-entry-table{width:100%;min-width:760px;border-collapse:collapse}.purchase-entry-table th,.purchase-entry-table td{padding:8px;border-bottom:1px solid #e2e9f3;text-align:left}.purchase-entry-table th{background:#eaf1fb;color:#405676;font-size:12px;white-space:nowrap}.purchase-entry-table input,.purchase-entry-table select{box-sizing:border-box;width:100%;min-width:110px}.purchase-entry-table td:first-child input{min-width:300px}.purchase-remove-line{color:#d64141;border-color:#f1b9b9}.purchase-add-line{width:100%;margin:10px 0;border-style:dashed;color:#2664f5}.purchase-batch-form>.primary{width:100%}.purchase-manual-product{display:block;min-width:280px}.purchase-manual-product span{display:block}@media(max-width:700px){.purchase-batch-head{grid-template-columns:1fr}}
.product-center-page{padding-bottom:24px}.product-center-panel{overflow:hidden;border:1px solid #dbe5f3;background:linear-gradient(180deg,#f7faff 0,#fff 190px);box-shadow:0 18px 45px rgba(26,55,102,.08)}
.product-center-heading{display:flex;align-items:center;justify-content:space-between;margin:-24px -24px 18px;padding:22px 26px;background:linear-gradient(112deg,#09234c,#153e79 58%,#2864c6);color:#fff}.product-center-heading span{font-size:11px;font-weight:800;letter-spacing:2px;color:#7db2ff}.product-center-heading h2{margin:5px 0 3px;font-size:25px}.product-center-heading p{margin:0;color:#bdd2f1;font-size:13px}.product-center-heading button{border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.12);color:#fff}
.product-center-filters{display:grid;grid-template-columns:minmax(240px,1.7fr) repeat(3,minmax(140px,1fr)) repeat(2,minmax(145px,.9fr)) 80px;gap:10px;padding:14px;border:1px solid #e2eaf5;border-radius:14px;background:#fff}.product-center-filters>input,.product-center-filters>select,.product-center-filters>button{height:44px}.product-catalog-date-filter{display:flex;align-items:center;height:44px;padding:0 10px;border:1px solid #d8e2ef;border-radius:9px;background:#fff}.product-catalog-date-filter span{flex:0 0 auto;margin-right:6px;color:#718097;font-size:10px}.product-catalog-date-filter input{min-width:0;width:100%;height:40px;padding:0;border:0;background:transparent}.product-catalog-date-filter input:focus{outline:0}
.product-center-summary{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;margin:12px 0}.product-center-summary article{position:relative;overflow:hidden;padding:11px 13px;border:1px solid #e1e9f4;border-radius:11px;background:#fff}.product-center-summary span{display:block;color:#73839d;font-size:11px}.product-center-summary b{display:block;margin-top:4px;color:#11213f;font-size:20px}.product-center-summary small{margin-left:3px;font-size:11px}.product-center-summary i{position:absolute;bottom:0;left:0;width:var(--w);height:3px;background:linear-gradient(90deg,#2d67ed,#74a6ff)}
.product-center-result-head{display:flex;align-items:end;justify-content:space-between;margin:16px 2px 8px}.product-center-result-head b{display:block;color:#162743;font-size:17px}.product-center-result-head span,.product-center-result-head small{color:#7d8ba1;font-size:11px}.product-center-table-scroll{overflow:auto;border:1px solid #dfe7f2;border-radius:11px;background:#fff}.product-center-table table,.product-daily-table table{width:100%;border-collapse:collapse;white-space:nowrap}.product-center-table th,.product-daily-table th{padding:9px 7px;background:#edf3fb;color:#5d6d87;font-size:11px;text-align:left}.product-center-table td,.product-daily-table td{padding:8px 7px;border-top:1px solid #edf1f6;color:#243653;font-size:11px;vertical-align:middle}.product-center-table tbody tr:hover,.product-daily-table tbody tr:hover{background:#f7faff}.product-score{display:inline-grid;place-items:center;min-width:36px;height:28px;border-radius:8px;background:#eaf1ff;color:#1e5ed5;font-size:13px}.product-stage.y2-new{background:#fff3d9;color:#a66000}.product-stage.y1-new{background:#e7f8ec;color:#218347}.product-stage.clearance{background:#fff0eb;color:#c44d27}.product-stage-days{display:flex;align-items:center;gap:4px}.product-stage-days b:first-child{color:#273a59}.product-stage-days b:last-child{color:#218347}.product-stage-days i{color:#9aa7ba}.product-y1-daily-row{background:#edf9f0}.product-y1-daily-row td{color:#176c38!important}.product-y1-daily-row:hover{background:#e3f5e8!important}.daily-phase{display:inline-flex;margin:3px 0 0 5px;padding:1px 5px;border-radius:5px;font-size:9px;font-weight:800}.daily-phase.y1{background:#d8f1df;color:#18753b}.daily-phase.y2{background:#edf1f6;color:#53647d}.product-daily-summary-row{position:sticky;bottom:0;z-index:2;background:#eaf2ff!important;box-shadow:0 -2px 8px rgba(35,76,135,.09)}.product-daily-summary-row td{border-top:2px solid #9db9e8!important;color:#163b76!important;font-weight:700}
.product-catalog-batchbar{display:flex;align-items:center;gap:9px;margin:0 0 9px;padding:8px 10px;border:1px solid #dce7f5;border-radius:11px;background:#f7faff}.product-catalog-batchbar label{display:flex;align-items:center;gap:6px;color:#27405f;font-weight:700}.product-catalog-batchbar input{width:13px;height:13px;accent-color:#2563eb}.product-catalog-batchbar>span{margin-right:auto;color:#718097;font-size:12px}.product-catalog-batchbar select{width:160px;height:34px}.product-catalog-batchbar button{height:34px;padding:0 13px}.product-select-col{width:24px!important;min-width:24px!important;max-width:24px!important;padding-left:3px!important;padding-right:3px!important;text-align:center!important}.product-select-col input,.product-center-table td:first-child input{width:13px;height:13px;margin:0;accent-color:#2563eb}.product-center-table tr.is-selected{background:#edf5ff}.product-center-table tr.is-selected:hover{background:#e5f0ff}
.product-cell{display:flex;align-items:center;gap:11px;min-width:300px}.product-cell img,.product-mini-placeholder{width:48px;height:48px;flex:0 0 48px;border-radius:10px;object-fit:cover;border:1px solid #dfe7f2;background:#f2f5fa}.product-mini-placeholder{display:grid;place-items:center;color:#9aa8bb;font-size:11px}.product-cell b{display:block;max-width:290px;overflow:hidden;text-overflow:ellipsis}.product-cell span,.product-cell small{display:block;margin-top:3px;color:#7e8da4;font-size:11px}.product-rank{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#edf2f9;font-weight:800}.product-rank.top{background:linear-gradient(135deg,#ffd66b,#ffad34);color:#704400}.product-stage{display:inline-flex;padding:5px 8px;border-radius:999px;font-weight:700}.product-stage.y1{background:#eaf0ff;color:#2a63df}.product-stage.y2{background:#f0eaff;color:#7550d9}.product-stage.switch{background:#e5f8f2;color:#087c61}.product-stage.normal{background:#eef2f6;color:#66758c}.metric-blue{color:#2864d8}.table-sub{display:block;color:#8090a6}.channel-pair{color:#6e7d92;line-height:1.65}.compact{padding:7px 10px}.product-center-loading,.product-daily-loading{padding:70px;text-align:center;color:#71819a}
.modal-card.product-daily-modal{width:min(1380px,94vw);max-width:none;padding:0;overflow:hidden}.product-daily-shell{background:#f4f7fc}.product-daily-title{padding:22px 26px;background:linear-gradient(112deg,#09234c,#17427e);color:#fff}.product-daily-title .product-cell{min-width:0}.product-daily-title .product-cell img,.product-daily-title .product-mini-placeholder{width:64px;height:64px;flex-basis:64px}.product-daily-title .product-cell span{color:#79adff;font-weight:800;letter-spacing:1.5px}.product-daily-title h2{margin:3px 0;font-size:22px}.product-daily-title p{margin:0;color:#c1d4ef}.product-daily-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;padding:16px 22px}.product-daily-kpis article{padding:14px;border:1px solid #e0e8f3;border-radius:12px;background:#fff}.product-daily-kpis span{color:#73839a;font-size:12px}.product-daily-kpis b{display:block;margin-top:5px;color:#132441;font-size:22px}.product-daily-toolbar{display:flex;align-items:end;gap:10px;padding:14px 22px;background:#fff;border-top:1px solid #e1e8f2}.product-daily-toolbar>div{margin-right:auto}.product-daily-toolbar>div b,.product-daily-toolbar>div span{display:block}.product-daily-toolbar>div span{color:#8492a7;font-size:12px}.product-daily-toolbar label{font-size:11px;color:#6e7e95}.product-daily-toolbar input{display:block;height:34px;margin-top:3px}.product-daily-table{max-height:52vh;overflow:auto;padding:0 22px 22px;background:#fff}.product-daily-table table{border:1px solid #e1e8f2}.product-daily-error{padding:50px}.product-daily-modal>.close{z-index:3;color:#fff}
@media(max-width:1200px){.product-center-summary{grid-template-columns:repeat(3,1fr)}.product-center-filters{grid-template-columns:repeat(2,1fr)}.product-daily-kpis{grid-template-columns:repeat(3,1fr)}}
.product-copy{min-width:0;max-width:320px}.product-name-line{display:flex;align-items:center;gap:7px;min-width:0}.product-name-line>b{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-data-icon{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;padding:0;border:1px solid #bcd0ee;border-radius:7px;background:#edf4ff;color:#1f61d6;font-size:14px;line-height:1}.product-data-icon:hover{border-color:#6b99ef;background:#dceaff}.product-ops{position:relative}.product-ops-button{display:inline-flex;align-items:center;gap:4px;height:34px;padding:0 12px;border:0;background:linear-gradient(135deg,#3477ff,#1757e8);color:#fff;font-weight:700;box-shadow:0 4px 10px rgba(31,94,255,.2)}.product-ops-button:hover{background:linear-gradient(135deg,#4382ff,#1d61ee);color:#fff}.product-ops-button span{font-size:11px}.product-ops-menu{position:absolute;z-index:50;top:39px;right:0;width:142px;padding:6px;border:1px solid #d8e2f0;border-radius:11px;background:#fff;box-shadow:0 14px 34px rgba(22,42,75,.17)}.product-ops-menu button{display:block;width:100%;padding:9px 11px;border:0;background:transparent;text-align:left;color:#263b5e}.product-ops-menu button:hover{background:#edf4ff;color:#1f5ed5}.action-selected-product{padding:13px 15px;border:1px solid #dce6f4;border-radius:12px;background:#f5f8fd}.action-selected-product b,.action-selected-product span{display:block}.action-selected-product span{margin-top:4px;color:#78879c;font-size:12px}
.product-daily-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.product-profile-facts{display:flex;align-items:center;gap:10px}.product-profile-facts>span{min-width:120px;padding:10px 12px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(255,255,255,.08);color:#bdd1ee;font-size:11px}.product-profile-facts b{display:block;margin-top:3px;color:#fff;font-size:14px}.product-profile-data{height:48px;border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.12);color:#fff;font-weight:700}.product-visual-grid{display:grid;grid-template-columns:minmax(360px,.85fr) minmax(620px,1.55fr);gap:14px;padding:0 22px 18px}.product-visual-grid>section{margin:0;border:1px solid #dfe7f3;border-radius:14px;background:#fff;box-shadow:0 7px 24px rgba(28,53,90,.05)}.product-visual-grid .trend-panel{padding:16px}.product-visual-grid .trend-chart{min-height:260px}.product-funnel{padding:16px}.product-visual-title{display:flex;align-items:center;justify-content:space-between}.product-visual-title h3{margin:0;color:#172943}.product-visual-title span{color:#8997aa;font-size:12px}.product-funnel-tabs{display:inline-flex;padding:3px;border:1px solid #dce5f2;border-radius:9px;background:#f6f9fd}.product-funnel-tabs button{height:30px;padding:0 12px;border:0;border-radius:6px;background:transparent;color:#52627a;font-size:12px}.product-funnel-tabs button:hover{background:#eaf1fc}.product-funnel-tabs button.active{background:#2563eb;color:#fff;box-shadow:0 3px 8px rgba(37,99,235,.22)}.funnel-channel-note{margin-top:7px;color:#8997aa;font-size:11px}.funnel-body{display:grid;grid-template-columns:1fr 190px;align-items:center;gap:14px;min-height:248px}.funnel-stages{display:flex;flex-direction:column;align-items:center;filter:drop-shadow(0 9px 12px rgba(27,108,221,.14))}.funnel-stage{display:grid;place-items:center;height:76px;color:#fff;clip-path:polygon(5% 0,95% 0,85% 100%,15% 100%)}.funnel-stage b,.funnel-stage span{display:block}.funnel-stage b{font-size:22px}.funnel-stage span{font-size:12px}.funnel-stage.exposure{width:94%;background:#138ced}.funnel-stage.clicks{width:76%;background:#258fdc}.funnel-stage.orders{width:56%;background:#54a7eb}.funnel-rates{display:flex;flex-direction:column;gap:14px}.funnel-rates span{padding:11px 12px;border:1px solid #dce5f0;border-radius:9px;color:#687993;font-size:11px}.funnel-rates b{display:block;margin-top:3px;color:#142540;font-size:17px}.product-original-table table{min-width:3900px}.product-original-table .db-product-cell{min-width:310px}.product-original-table .db-action-popover{white-space:normal}.product-daily-modal .modal-body{max-height:92vh;overflow:auto}
@media(max-width:1100px){.product-daily-title{align-items:flex-start;flex-direction:column}.product-profile-facts{width:100%;flex-wrap:wrap}.product-visual-grid{grid-template-columns:1fr}.product-visual-grid .trend-panel{min-width:0}}
.modal-card.product-daily-modal{height:92vh;max-height:92vh;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.product-daily-modal #modalBody{min-height:100%;overflow:visible}.product-daily-modal .product-daily-shell{min-height:100%;overflow:visible}.product-daily-modal .product-daily-table{max-height:none;overflow-x:auto;overflow-y:visible;padding-bottom:28px}.product-daily-modal .product-original-table .database-table th,.product-daily-modal .product-original-table .database-table td{position:static!important;left:auto!important;right:auto!important;bottom:auto!important}.product-daily-modal .product-original-table .database-table thead th{background:#edf2fa!important}.product-daily-modal .product-original-table .database-table th:first-child,.product-daily-modal .product-original-table .database-table td:first-child{min-width:340px;max-width:340px}.product-daily-modal>.close{position:absolute;z-index:30;width:38px;height:38px;padding:0;border:1px solid rgba(255,255,255,.26);border-radius:11px;background:rgba(7,25,54,.32);color:#fff;line-height:36px;backdrop-filter:blur(8px)}.product-daily-modal>.close:hover{background:rgba(7,25,54,.62)}
.product-action-icon{position:relative;display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;padding:0;border:1px solid #d5dfed;border-radius:7px;background:#f4f7fb;color:#74839a;font-size:11px;font-weight:800}.product-action-icon.has-actions{border-color:#bad1ff;background:#eaf1ff;color:#2563d8}.product-action-icon i{position:absolute;right:-6px;top:-7px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#2563eb;color:#fff;font-size:9px;font-style:normal;line-height:16px}.product-daily-modal .product-original-table .database-table .detail-date-col{position:sticky!important;left:0!important;right:auto!important;z-index:6!important;min-width:138px!important;max-width:138px!important;background:#fff!important;text-align:right;border-right:2px solid #cad7ea}.product-daily-modal .product-original-table .database-table thead .detail-date-col{z-index:9!important;background:#e8f0fc!important}.trend-axis-labels text{fill:#78879d;font-size:11px}.trend-hover-zone{fill:transparent;pointer-events:all}.trend-hover-zone:hover{fill:rgba(37,99,235,.055)}input[type="date"],input[type="datetime-local"],input[type="month"]{cursor:pointer}

/* Product operation timeline is a viewer. Adding actions remains in the row action menu. */
.modal-card.product-action-timeline-modal{width:min(920px,92vw);max-width:none;padding:0;overflow:hidden;background:#f4f7fc}.product-action-timeline-modal>.close{z-index:5;color:#fff}.product-action-timeline-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 30px;background:linear-gradient(115deg,#092650,#1e56a5);color:#fff}.product-action-timeline-head p{margin:0;color:#76adff;font-size:11px;font-weight:800;letter-spacing:1.8px}.product-action-timeline-head h2{margin:5px 0;font-size:22px}.product-action-timeline-head span{color:#c7d9f1;font-size:12px}.product-action-timeline-head .primary{flex:0 0 auto}.product-action-timeline-list{position:relative;max-height:68vh;overflow:auto;padding:24px 30px 28px 50px}.product-action-timeline-list:before{content:"";position:absolute;left:69px;top:28px;bottom:30px;width:2px;background:linear-gradient(#4f8df7,#dce6f4)}.product-action-timeline-item{position:relative;display:grid;grid-template-columns:105px 1fr;gap:16px;margin-bottom:16px;padding-left:42px}.product-action-timeline-point{position:absolute;left:10px;top:17px;z-index:1;display:grid;place-items:center;width:22px;height:22px;border:4px solid #eef4ff;border-radius:50%;background:#2b6be8;color:#fff;font-size:9px;font-weight:800}.product-action-timeline-item time{padding-top:15px;text-align:right}.product-action-timeline-item time b,.product-action-timeline-item time span{display:block}.product-action-timeline-item time b{color:#1a3154;font-size:13px}.product-action-timeline-item time span{margin-top:3px;color:#8391a6;font-size:11px}.product-action-timeline-card{padding:16px 18px;border:1px solid #dfe7f3;border-radius:13px;background:#fff;box-shadow:0 7px 20px rgba(30,62,105,.06)}.product-action-timeline-card header{display:flex;align-items:center;justify-content:space-between}.product-action-timeline-card h3{margin:8px 0 4px;color:#142746;font-size:16px}.product-action-timeline-card small{color:#7c8aa0}.product-action-timeline-card p{margin:10px 0 0;color:#40516b;font-size:13px}.product-action-timeline-card p.result{padding:9px 11px;border-radius:8px;background:#eef8f3;color:#227055}.product-action-timeline-type{padding:5px 9px;border-radius:7px;background:#eaf2ff;color:#2563d8;font-size:11px;font-weight:800}.product-action-timeline-facts{display:flex;gap:8px;margin-top:11px}.product-action-timeline-facts span{padding:7px 9px;border-radius:7px;background:#f3f6fa;color:#596a82;font-size:12px}.product-action-timeline-empty,.product-action-timeline-loading,.product-action-timeline-error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:260px;color:#75849a}.product-action-timeline-empty b{margin-bottom:5px;color:#203553;font-size:18px}

/* Keep the fixed date column compact and visually separate from metric columns. */
.product-daily-modal .product-original-table .database-table .detail-date-col{min-width:120px!important;width:120px!important;max-width:120px!important;padding-left:8px!important;padding-right:8px!important;background:#f1f6ff!important;border-right:2px solid #8eb5ee!important;box-shadow:7px 0 14px rgba(52,103,177,.08);text-align:center!important}.product-daily-modal .product-original-table .database-table thead .detail-date-col{background:linear-gradient(180deg,#dceaff,#cfe1fb)!important;color:#1f559c!important}.product-daily-modal .detail-date-col .db-date-cell{justify-content:center;gap:5px}.product-daily-modal .detail-date-col .db-date-cell>b{color:#174a92;font-size:11px;white-space:nowrap}

.product-pricing-profit{display:grid;gap:4px;min-width:112px;padding:8px 9px;border:1px solid #dce7f6;border-radius:9px;background:linear-gradient(145deg,#f5f9ff,#edf4ff)}.product-pricing-profit span{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#7b899d;font-size:10px;white-space:nowrap}.product-pricing-profit b{color:#174b9c;font-size:11px}.product-pricing-profit b.negative{color:#d14343}.product-pricing-empty{display:inline-block;min-width:104px;color:#a0adbe;font-size:10px;text-align:center}
.product-pricing-with-detail{position:relative}.product-pricing-detail-trigger{position:absolute;top:-5px;right:-5px;z-index:3;display:grid;place-items:center;width:18px;height:18px;padding:0;border:1px solid #b8cdf2;border-radius:6px;background:#fff;color:#2563eb;font-size:9px;font-weight:800;line-height:1;box-shadow:0 3px 8px rgba(37,99,235,.16);cursor:help}.product-pricing-detail-trigger:hover{border-color:#2563eb;background:#2563eb;color:#fff}.product-pricing-detail-portal{position:fixed;z-index:10050;width:330px;padding:14px;border:1px solid #cad9f1;border-radius:14px;background:#fff;color:#172944;box-shadow:0 20px 55px rgba(16,43,83,.26)}.product-pricing-detail-portal header{display:flex;align-items:center;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid #e6edf7}.product-pricing-detail-portal header small,.product-pricing-detail-portal header b{display:block}.product-pricing-detail-portal header small{margin-bottom:2px;color:#3975dd;font-size:9px;letter-spacing:.12em}.product-pricing-detail-portal header b{font-size:15px}.product-pricing-detail-portal header>span{padding:4px 7px;border-radius:6px;background:#eef4ff;color:#3568bd;font-size:10px}.product-pricing-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;padding:11px 0}.product-pricing-detail-grid>div{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:4px 0;color:#718098;font-size:10px}.product-pricing-detail-grid>div b{color:#233b61;font-size:11px;white-space:nowrap}.product-pricing-detail-grid>div.summary{padding-top:7px;border-top:1px solid #e5edf8}.product-pricing-detail-grid>div.summary b{color:#1556bb}.product-pricing-detail-portal>p{margin:0;padding:8px 9px;border-radius:8px;background:#f4f7fc;color:#738198;font-size:9px;line-height:1.55}

/* Daily-data viewport: sticky metric headers and an always reachable horizontal scrollbar. */
.product-daily-modal .product-daily-table{
  max-height:calc(92vh - 72px)!important;
  overflow:auto!important;
  padding:0 22px 18px!important;
  scrollbar-gutter:stable both-edges;
  overscroll-behavior:contain;
  background:#fff;
}
.product-daily-modal .product-original-table .database-table thead th{
  position:sticky!important;
  top:0!important;
  z-index:12!important;
  background:#edf2fa!important;
  box-shadow:0 2px 0 #d8e2f0;
}
.product-daily-modal .product-original-table .database-table thead .detail-date-col{
  position:sticky!important;
  top:0!important;
  left:0!important;
  z-index:16!important;
  background:linear-gradient(180deg,#dceaff,#cfe1fb)!important;
}
.product-daily-modal .product-original-table .database-table tbody .detail-date-col{
  position:sticky!important;
  left:0!important;
  z-index:8!important;
}
.product-daily-modal .product-daily-summary-row td{
  position:sticky!important;
  bottom:0!important;
  z-index:13!important;
  background:#eaf2ff!important;
  border-top:2px solid #8eb5ee!important;
  box-shadow:0 -4px 14px rgba(26,67,125,.12);
  color:#163b76!important;
  font-weight:800;
}
.product-daily-modal .product-daily-summary-row .detail-date-col{
  left:0!important;
  z-index:17!important;
  background:#dbe9fd!important;
}
.modal-card.product-daily-modal{position:relative!important;padding-bottom:20px!important}
.product-daily-horizontal{
  position:fixed;
  left:max(calc(3vw + 22px),calc(50vw - 668px));
  right:max(calc(3vw + 22px),calc(50vw - 668px));
  bottom:4vh;
  z-index:40;
  height:20px;
  overflow-x:scroll;
  overflow-y:hidden;
  border:1px solid #b8c8de;
  border-radius:8px 8px 0 0;
  background:#e8eef7;
  box-shadow:0 -5px 16px rgba(14,41,87,.16);
  scrollbar-color:#5e789e #dbe4f0;
}
.product-daily-horizontal>div{height:1px}

/* Y1新品采购：运营提报与采购执行使用同一张协同台账。 */
.y1-purchase-panel{padding:0;overflow:hidden;border:1px solid #dce6f4;box-shadow:0 14px 34px rgba(24,55,103,.08)}
.y1-purchase-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;background:linear-gradient(120deg,#09264f,#174b91 58%,#2767c4);color:#fff}
.y1-purchase-head p,.purchase-form-head p{margin:0 0 6px;color:#78aaff;font-size:12px;font-weight:900;letter-spacing:2px}
.y1-purchase-head h2{margin:0 0 6px;font-size:25px}.y1-purchase-head span{color:#c9daf3;font-size:13px}
.y1-purchase-head .primary{white-space:nowrap;box-shadow:0 8px 22px rgba(0,71,204,.28)}
.y1-purchase-filters{display:grid;grid-template-columns:minmax(320px,1.8fr) repeat(2,minmax(180px,.7fr)) 92px;gap:10px;padding:20px 24px 12px;background:#f8fbff}
.y1-purchase-filters input,.y1-purchase-filters select{min-width:0;height:44px;border:1px solid #d8e2ef;border-radius:10px;background:#fff;padding:0 13px}
.y1-purchase-summary{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:12px;padding:4px 24px 20px;background:#f8fbff}
.y1-purchase-summary article{position:relative;overflow:hidden;padding:15px 16px;border:1px solid #dce6f3;border-radius:13px;background:#fff}
.y1-purchase-summary article:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#3979e8}
.y1-purchase-summary span{display:block;color:#75859d;font-size:12px}.y1-purchase-summary b{display:block;margin-top:8px;color:#10254a;font-size:24px}.y1-purchase-summary small{margin-left:3px;font-size:12px;color:#7b899e}
.y1-purchase-result{display:flex;align-items:end;justify-content:space-between;padding:18px 24px 10px}.y1-purchase-result b{font-size:18px;color:#12264a}.y1-purchase-result span,.y1-purchase-result small{margin-left:8px;color:#7b899c;font-size:12px}
.y1-purchase-table{padding:0 24px 24px}.y1-purchase-scroll{overflow:auto;border:1px solid #dce5f1;border-radius:12px;max-height:560px}
.y1-purchase-scroll table{width:100%;min-width:1900px;border-collapse:separate;border-spacing:0}.y1-purchase-scroll th{position:sticky;top:0;z-index:3;padding:12px 10px;background:#eaf1fb;color:#425774;font-size:12px;text-align:left;white-space:nowrap}
.y1-purchase-scroll td{padding:12px 10px;border-top:1px solid #e5ebf3;color:#243653;font-size:13px;vertical-align:middle}.y1-purchase-scroll td>small,.y1-purchase-scroll td>b{display:block}.y1-purchase-scroll td>small{margin-top:4px;color:#8794a7}
.y1-purchase-scroll tr:hover td{background:#f8fbff}.y1-purchase-scroll .purchase-side{background:#f2f7ff}.y1-purchase-scroll tr:hover .purchase-side{background:#eaf3ff}
.purchase-product{display:flex;align-items:center;gap:10px;min-width:270px}.purchase-product img,.purchase-product>i{width:48px;height:48px;flex:0 0 48px;border-radius:9px;object-fit:cover;background:#edf2f8}
.purchase-product>i{display:grid;place-items:center;color:#9aa8ba;font-style:normal;font-size:11px}.purchase-product span{min-width:0}.purchase-product span b{display:block;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.purchase-product span small{display:block;margin-top:3px;color:#8190a4}
.purchase-note{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.purchase-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#edf2f8;color:#51647d;font-style:normal;font-size:12px;white-space:nowrap}
.purchase-status.pending{background:#fff4d9;color:#a56a00}.purchase-status.purchasing{background:#e6f0ff;color:#2764c4}.purchase-status.purchased{background:#e4f8ed;color:#168155}.purchase-status.arrived{background:#dff7f4;color:#087d73}.purchase-status.returned,.purchase-status.rejected,.purchase-status.cancelled{background:#fde9ea;color:#b53b46}
.modal-card.y1-purchase-modal{width:min(1180px,94vw);max-width:1180px;max-height:92vh;overflow:auto;padding:28px}
.purchase-form-head{padding-bottom:15px;border-bottom:1px solid #e0e7f1}.purchase-form-head h2{margin:0;color:#10254a;font-size:25px}.purchase-form-head span{display:block;margin-top:6px;color:#74849a}
.purchase-product-section{margin:18px 0;padding:16px;border:1px solid #d9e4f2;border-radius:14px;background:#f7faff}
.purchase-picker-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px}.purchase-picker-head b,.purchase-picker-head span{display:block}.purchase-picker-head span{margin-top:4px;color:#75869d;font-size:12px}.purchase-picker-head input{width:300px}
.purchase-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-height:310px;overflow:auto}.purchase-picker>button{display:flex;gap:10px;min-width:0;padding:10px;border:1px solid #dbe4f0;border-radius:11px;background:#fff;text-align:left}.purchase-picker>button:hover{border-color:#4c83df;background:#f4f8ff;transform:translateY(-1px)}
.purchase-picker img,.purchase-picker i{width:48px;height:48px;flex:0 0 48px;border-radius:8px;object-fit:cover;background:#edf2f7}.purchase-picker i{display:grid;place-items:center;font-style:normal;color:#9aa8ba}.purchase-picker span{min-width:0}.purchase-picker b,.purchase-picker small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.purchase-picker small{margin-top:3px;color:#7a899e;font-size:11px}
.purchase-selected-product{display:flex;align-items:center;gap:14px}.purchase-selected-product img,.purchase-selected-product>i{width:64px;height:64px;flex:0 0 64px;border-radius:11px;object-fit:cover;background:#e9eff7}.purchase-selected-product>i{display:grid;place-items:center;font-style:normal;color:#91a0b5}.purchase-selected-product span{min-width:0;flex:1}.purchase-selected-product b,.purchase-selected-product small{display:block}.purchase-selected-product b{font-size:16px;color:#13294d}.purchase-selected-product small{margin-top:4px;color:#76869b}
.purchase-form-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:16px}.purchase-form-columns>section{padding:18px;border:1px solid #dfe7f1;border-radius:14px;background:#fff}.purchase-form-columns>section.purchase-execution{border-color:#cbdcf4;background:#f4f8ff}.purchase-form-columns h3{margin:0 0 15px;color:#152b50;font-size:17px}.purchase-form-columns label{margin-bottom:12px}.purchase-form-columns textarea{min-height:80px}.y1-purchase-form>.primary{width:100%;height:45px}
.dimension-status{display:inline-flex;align-items:center;gap:6px;min-width:94px;padding:7px 9px;border-radius:9px;font-size:12px;font-weight:800;white-space:nowrap}.dimension-status i{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;font-style:normal}.dimension-status b{margin-left:auto;font-size:13px;transition:transform .18s}.dimension-status.open b{transform:rotate(180deg)}.dimension-status.maintained{border-color:#bfe8d7;background:#effbf6;color:#15845f}.dimension-status.maintained i{background:#d8f5e9}.dimension-status.partial{border-color:#bcd4f8;background:#f0f6ff;color:#286bc7}.dimension-status.partial i{background:#dceaff}.dimension-status.unmaintained{border-color:#f0d5a8;background:#fff9ed;color:#b66a09}.dimension-status.unmaintained i{background:#ffebc8}
.y1-purchase-scroll tr.y1-dimension-row:hover td,.y1-purchase-scroll .y1-dimension-row>td{padding:0;border-top:0;background:#f5f8fd}.y1-dimension-panel{margin:0 10px 14px;padding:18px;border:1px solid #cddbf0;border-top:3px solid #3979e8;border-radius:0 0 13px 13px;background:#fff;box-shadow:0 10px 24px rgba(32,70,125,.08)}.y1-dimension-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.y1-dimension-head b{display:block;color:#142a4f;font-size:16px}.y1-dimension-head span,.y1-dimension-head small{display:block;margin-top:4px;color:#7a899f;font-size:12px}.y1-dimension-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:11px}.y1-dimension-grid label{display:block;color:#4b5f7c;font-size:12px;font-weight:700}.y1-dimension-grid label>span{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.y1-dimension-grid label small{color:#98a5b7;font-weight:500}.y1-dimension-grid input{box-sizing:border-box;width:100%;height:38px;padding:0 10px;border:1px solid #d7e1ee;border-radius:8px;background:#fbfdff;color:#172b4d}.y1-dimension-grid input:focus{outline:0;border-color:#4d86ed;box-shadow:0 0 0 3px rgba(77,134,237,.12)}.y1-dimension-grid input:disabled{background:#f2f5f9;color:#65758d}.y1-dimension-actions{display:flex;align-items:center;gap:14px;margin-top:15px}.y1-dimension-actions .primary{height:38px;padding:0 22px}.y1-dimension-readonly{margin-top:12px;color:#8794a7;font-size:12px}
@media(max-width:1000px){.y1-purchase-filters{grid-template-columns:1fr 1fr}.y1-purchase-summary{grid-template-columns:repeat(2,1fr)}.purchase-picker{grid-template-columns:repeat(2,1fr)}.purchase-form-columns{grid-template-columns:1fr}}

/* 采购中心统一入口 */
.purchase-center-switch{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 16px;padding:18px 22px;border:1px solid #d8e4f3;border-radius:16px;background:linear-gradient(135deg,#f9fbff,#eef5ff);box-shadow:0 10px 28px rgba(19,54,104,.07)}
.purchase-center-switch>div{min-width:245px}.purchase-center-switch p{margin:0 0 3px;color:#3b76da;font-size:10px;font-weight:900;letter-spacing:2px}.purchase-center-switch h2{margin:0 0 3px;color:#10284d;font-size:22px}.purchase-center-switch>div>span{color:#7688a0;font-size:12px}
.purchase-center-switch nav{display:grid;grid-template-columns:repeat(3,minmax(190px,1fr));gap:10px;flex:1;max-width:850px}.purchase-center-switch nav button{display:flex;align-items:center;gap:10px;min-height:58px;padding:9px 13px;border:1px solid #d6e1ef;border-radius:12px;background:#fff;color:#263b5b;text-align:left;box-shadow:none}.purchase-center-switch nav button:hover{border-color:#79a5eb;background:#f7faff;transform:translateY(-1px)}.purchase-center-switch nav button.active{border-color:#2968d3;background:linear-gradient(135deg,#174b94,#2d70d8);color:#fff;box-shadow:0 8px 20px rgba(33,93,187,.22)}
.purchase-center-switch nav i{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:9px;background:#edf3fd;color:#2968cc;font-style:normal;font-weight:900}.purchase-center-switch nav button.active i{background:rgba(255,255,255,.18);color:#fff}.purchase-center-switch nav span,.purchase-center-switch nav b,.purchase-center-switch nav small{display:block}.purchase-center-switch nav b{font-size:13px}.purchase-center-switch nav small{margin-top:3px;color:#8190a4;font-size:10px}.purchase-center-switch nav button.active small{color:#d3e3fb}
@media(max-width:1250px){.purchase-center-switch{align-items:flex-start;flex-direction:column}.purchase-center-switch nav{width:100%;max-width:none}}@media(max-width:760px){.purchase-center-switch nav{grid-template-columns:1fr}}

/* 左侧采购中心父子导航 */
aside nav .purchase-nav-parent{position:relative;margin-bottom:3px!important;font-weight:800!important}
aside nav .purchase-nav-parent:after{content:"⌄";position:absolute;right:13px;top:50%;color:#87a5ce;font-size:13px;transform:translateY(-50%) rotate(0);transition:transform .18s ease}
aside nav .purchase-nav-parent[data-expanded="0"]:after{transform:translateY(-50%) rotate(-90deg)}
aside nav .purchase-nav-children{position:relative;display:grid;gap:3px;margin:0 0 7px 24px;padding:3px 0 4px 12px;border-left:1px solid rgba(118,157,211,.28)}
aside nav .purchase-nav-children.collapsed{display:none}
aside nav .purchase-nav-children .purchase-nav-child{width:100%;min-height:38px!important;margin:0!important;padding:8px 10px 8px 38px!important;border-radius:9px!important;font-size:12px!important;color:#9fb4d1!important}
aside nav .purchase-nav-children .purchase-nav-child:before{left:9px!important;width:22px!important;height:22px!important;border-radius:7px!important;font-size:10px!important;background:rgba(71,116,181,.15)!important}
aside nav .purchase-nav-children .purchase-nav-child:hover{color:#fff!important;background:rgba(37,83,147,.42)!important}
aside nav .purchase-nav-children .purchase-nav-child.active{color:#fff!important;background:linear-gradient(90deg,#1d4d91,#245ba5)!important;box-shadow:inset 3px 0 #67a2ff}

/* 选品中心：总评价数量填写后展开的可选区域评价。 */
.selection-review-regions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:6px;margin:0;padding:8px 9px;border:1px solid #cfe0f6;border-radius:10px;background:#f4f8ff}
.selection-review-regions.hidden{display:none}.selection-review-regions>div{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px}.selection-review-regions>div b{color:#183862;font-size:11px}.selection-review-regions>div span{color:#8494aa;font-size:9px}.selection-review-regions label{min-width:0;margin:0!important;color:#526983;font-size:9px}.selection-review-regions input{height:32px!important;margin-top:3px!important;padding:5px 6px!important;background:#fff;font-size:11px!important}
@media(max-width:620px){.selection-review-regions{grid-template-columns:1fr}.selection-review-regions>div{grid-column:auto}}

/* 1688 return management */
.returns1688-hero{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;background:linear-gradient(120deg,#123463,#2d68b9);color:#fff}.returns1688-hero p,.return1688-form-head p{margin:0 0 5px;color:#8bb8ff;font-size:11px;font-weight:800;letter-spacing:2px}.returns1688-hero h2{margin:0 0 5px;font-size:25px}.returns1688-hero span{color:#d0def2;font-size:12px}.returns1688-hero-actions{display:flex;gap:9px}.returns1688-hero-actions button:not(.primary){border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.12);color:#fff}.returns1688-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:14px 0}.returns1688-kpis article{padding:14px 16px;border:1px solid #dfe7f2;border-radius:12px;background:#fff}.returns1688-kpis span{display:block;color:#7c8ba1;font-size:11px}.returns1688-kpis b{display:block;margin-top:5px;color:#122a4c;font-size:22px}.returns1688-kpis .danger b{color:#dc4d57}.returns1688-kpis .success b{color:#16865c}.returns1688-filters{display:grid;grid-template-columns:minmax(230px,1.6fr) repeat(3,minmax(135px,.8fr)) minmax(125px,.8fr) repeat(2,140px) auto auto;gap:8px;margin-bottom:11px}.returns1688-table-scroll{overflow:auto;border:1px solid #dfe7f2;border-radius:11px}.returns1688-table-scroll table{width:100%;min-width:1850px;border-collapse:collapse;white-space:nowrap}.returns1688-table-scroll th{padding:10px 8px;background:#edf3fb;color:#607089;font-size:11px;text-align:left}.returns1688-table-scroll td{max-width:230px;padding:9px 8px;border-top:1px solid #e8edf4;color:#243653;font-size:11px;vertical-align:middle}.returns1688-table-scroll td>b,.returns1688-table-scroll td>small,.returns1688-table-scroll td>a{display:block}.returns1688-table-scroll td>small{margin-top:3px;color:#8492a7}.returns1688-table-scroll td>a{margin-top:3px;color:#2563eb}.return-workflow,.return-status,.return-type{display:inline-flex;width:max-content;padding:3px 7px;border-radius:999px;font-size:10px;font-style:normal;font-weight:700}.return-workflow{margin-top:5px;background:#edf2f8;color:#52627b}.return-workflow.pending,.return-status.processing{background:#fff3d8;color:#a56500}.return-workflow.processing,.return-status.applied,.return-status.reviewing{background:#e8f0ff;color:#2460c7}.return-workflow.completed,.return-status.refunded,.return-status.approved{background:#e1f6e9;color:#168252}.return-workflow.exception,.return-status.failed,.return-status.rejected{background:#ffebed;color:#c83d49}.return-type.return_refund{background:#fff0df;color:#ae6400}.return-type.refund_only{background:#eaf0fb;color:#48648c}.pickup-code{font-family:Consolas,monospace;color:#142c51;letter-spacing:.5px}.return-remark{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis}.modal-card.return1688-modal{width:min(1080px,94vw);max-width:1080px;max-height:92vh;overflow:auto}.return1688-form-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:16px;padding-bottom:13px;border-bottom:1px solid #e5ebf3}.return1688-form-head h2{margin:0 0 4px;color:#142944}.return1688-form-head span{color:#7c8ba1;font-size:12px}.return1688-form section{margin:0 0 16px;padding:15px;border:1px solid #e2e9f3;border-radius:12px;background:#fbfdff}.return1688-form section h3{margin:0 0 12px;color:#19375f}.return-processing-section{border-color:#cdddf5!important;background:#f6f9ff!important}.return-processing-section.readonly{opacity:.78}.return1688-form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:13px}.return1688-history{margin-top:18px;padding-top:14px;border-top:1px solid #e2e9f2}.return1688-history h3{margin:0 0 9px}.return1688-history article{display:grid;grid-template-columns:150px 1fr auto;gap:12px;padding:9px 10px;border-bottom:1px solid #edf1f6;font-size:11px}.return1688-history article span{overflow:hidden;text-overflow:ellipsis}.return1688-history article small{color:#7d8ca1}.return1688-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.return1688-detail-grid article{padding:13px;border:1px solid #dfe7f2;border-radius:10px;background:#f8faff}.return1688-detail-grid small,.return1688-detail-grid span{display:block;color:#7b8ba2;font-size:11px}.return1688-detail-grid b{display:block;margin:5px 0;color:#142a4a}.return1688-detail>section{margin-top:16px}.return1688-detail>section>p{padding:12px;border-radius:9px;background:#f6f8fb;color:#44546d}@media(max-width:1300px){.returns1688-kpis{grid-template-columns:repeat(3,1fr)}.returns1688-filters{grid-template-columns:repeat(4,1fr)}.return1688-detail-grid{grid-template-columns:repeat(2,1fr)}}
/* 1688退货控制中心高级视觉 */
.returns1688-hero{position:relative;overflow:hidden;min-height:112px;padding:24px 28px;border:0;background:linear-gradient(118deg,#071d3d 0%,#10386f 48%,#245da8 100%);box-shadow:0 18px 38px rgba(12,45,91,.17)}.returns1688-hero:before{content:"";position:absolute;width:320px;height:320px;right:15%;top:-250px;border:1px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 54px rgba(255,255,255,.035),0 0 0 108px rgba(255,255,255,.025)}.returns1688-hero-copy{position:relative;z-index:1;display:flex;align-items:center;gap:17px}.returns1688-hero-copy>i{display:grid;place-items:center;width:52px;height:52px;flex:0 0 52px;border:1px solid rgba(255,255,255,.24);border-radius:15px;background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(255,255,255,.07));color:#fff;font-size:21px;font-style:normal;font-weight:900;box-shadow:inset 0 1px rgba(255,255,255,.25)}.returns1688-hero h2{font-size:27px;letter-spacing:.5px}.returns1688-hero span{font-size:13px}.returns1688-hero-actions{position:relative;z-index:1}.returns1688-hero-actions button{height:42px;padding:0 17px;border-radius:10px;font-weight:700}.returns1688-hero-actions .primary{border-color:#4c8dff;background:linear-gradient(135deg,#347df0,#1e62d3);box-shadow:0 9px 22px rgba(0,32,91,.3)}
.returns1688-kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:16px 0}.returns1688-kpis article{position:relative;display:flex;align-items:center;gap:13px;min-height:78px;padding:15px 16px;border:1px solid #dbe5f2;border-radius:14px;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 9px 24px rgba(27,64,116,.06)}.returns1688-kpis article:after{content:"";position:absolute;right:0;top:14px;bottom:14px;width:3px;border-radius:3px;background:#7aa4e9;opacity:.7}.returns1688-kpis article>i{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#eaf2ff;color:#2b68c8;font-style:normal;font-weight:900}.returns1688-kpis article>div{min-width:0}.returns1688-kpis span{font-size:12px;font-weight:700}.returns1688-kpis b{margin-top:3px;font-size:23px;line-height:1.1}.returns1688-kpis small{display:block;margin-top:4px;overflow:hidden;color:#9aa6b7;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.returns1688-kpis article.pending>i{background:#fff3dc;color:#b7790c}.returns1688-kpis article.pickup>i{background:#eeeaff;color:#654fc0}.returns1688-kpis article.processing>i{background:#e6f3ff;color:#2776ba}.returns1688-kpis article.danger>i{background:#ffe8eb;color:#cb3b49}.returns1688-kpis article.success>i{background:#e4f7ee;color:#13805a}.returns1688-kpis article.danger:after{background:#e04d59}.returns1688-kpis article.success:after{background:#1b986c}
.returns1688-workspace{overflow:hidden;padding:0;border:1px solid #dbe5f1;box-shadow:0 14px 34px rgba(23,58,108,.07)}.returns1688-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px 16px;border-bottom:1px solid #e5ecf5;background:linear-gradient(180deg,#fff,#fbfdff)}.returns1688-workspace-head p{margin:0 0 3px;color:#3474d0;font-size:10px;font-weight:900;letter-spacing:1.8px}.returns1688-workspace-head h3{margin:0;color:#11294d;font-size:20px}.returns1688-workspace-head>div>span{display:block;margin-top:4px;color:#8190a5;font-size:12px}.returns1688-legend{display:flex;align-items:center;gap:15px}.returns1688-legend span{display:inline-flex!important;align-items:center;gap:6px;color:#718197!important;font-size:11px!important}.returns1688-legend i{width:7px;height:7px;border-radius:50%;background:#a5b1c2}.returns1688-legend i.pending{background:#e4a72c}.returns1688-legend i.processing{background:#3479df}.returns1688-legend i.completed{background:#1d9b70}.returns1688-legend i.exception{background:#db4c58}
.returns1688-filters{display:grid;grid-template-columns:minmax(230px,1.55fr) repeat(4,minmax(125px,.72fr)) repeat(2,minmax(135px,.78fr)) auto;align-items:end;gap:10px;margin:0;padding:16px 24px;background:#f5f8fd;border-bottom:1px solid #e1e9f3}.returns1688-filters label{min-width:0;color:#617189;font-size:11px;font-weight:700}.returns1688-filters label>span{display:block;margin:0 0 6px}.returns1688-filters input,.returns1688-filters select{box-sizing:border-box;width:100%;height:40px;padding:0 11px;border:1px solid #d6e1ef;border-radius:9px;background:#fff;color:#203553;outline:0}.returns1688-filters input:focus,.returns1688-filters select:focus{border-color:#4b86e8;box-shadow:0 0 0 3px rgba(75,134,232,.1)}.returns1688-filter-actions{display:flex;gap:8px}.returns1688-filter-actions button{height:40px;padding:0 14px;white-space:nowrap}.returns1688-filter-actions .primary{padding:0 18px}
.returns1688-table-wrap{padding:0 24px 24px;background:#fff}.returns1688-table-scroll{max-height:590px;border-color:#dce5f1;border-radius:0 0 12px 12px;box-shadow:0 6px 18px rgba(28,62,108,.04)}.returns1688-table-scroll table{min-width:1540px;white-space:normal}.returns1688-table-scroll th{position:sticky;top:0;z-index:4;height:42px;padding:0 11px;border-bottom:1px solid #d8e3f0;background:#edf3fb;color:#506580;font-size:11px;font-weight:800;letter-spacing:.2px}.returns1688-table-scroll td{position:relative;height:58px;max-width:200px;padding:11px;border-top:1px solid #e7edf5;background:#fff;font-size:12px}.returns1688-table-scroll tbody tr:nth-child(even) td{background:#fbfcfe}.returns1688-table-scroll tbody tr:hover td{background:#f3f7fd}.returns1688-table-scroll tbody tr td:first-child{padding-left:15px}.returns1688-table-scroll tbody tr td:first-child:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px;background:#aab7c8}.returns1688-table-scroll tbody tr.workflow-pending td:first-child:before{background:#e2a631}.returns1688-table-scroll tbody tr.workflow-processing td:first-child:before{background:#3479df}.returns1688-table-scroll tbody tr.workflow-completed td:first-child:before{background:#1c9a6e}.returns1688-table-scroll tbody tr.workflow-exception td:first-child:before{background:#db4b57}.returns1688-table-scroll td>b,.returns1688-table-scroll td>small{line-height:1.35}.returns1688-table-scroll td>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.return-number,.return-order-number{color:#112b51;font-family:Consolas,"Microsoft YaHei",sans-serif;font-weight:800}.return-spec,.return-reason{display:block;overflow:hidden;max-width:180px;text-overflow:ellipsis;white-space:nowrap}.return-spec{color:#263c5d;font-weight:700}.return-refund-money{margin-top:5px;color:#117652;font-size:12px}.return-row-actions{display:flex;gap:6px}.return-row-actions button{height:32px;padding:0 11px;border-radius:8px}.return-row-actions .primary{box-shadow:none}.returns1688-empty{display:flex;min-height:280px;flex-direction:column;align-items:center;justify-content:center;color:#8898ad;text-align:center}.returns1688-empty i{display:grid;place-items:center;width:48px;height:48px;margin-bottom:12px;border-radius:50%;background:#eaf7f1;color:#1d976c;font-size:22px;font-style:normal}.returns1688-empty b{color:#304563}.returns1688-empty span{margin-top:5px;font-size:12px}
.modal-card.return1688-modal{width:min(1040px,94vw);padding:28px;border:1px solid rgba(255,255,255,.8);border-radius:18px;box-shadow:0 28px 80px rgba(6,25,55,.28)}.return1688-form-head{margin:-28px -28px 20px;padding:25px 28px 20px;border-radius:18px 18px 0 0;background:linear-gradient(135deg,#f8fbff,#edf4ff);border-bottom-color:#d9e5f4}.return1688-form-head h2{font-size:24px}.return1688-form section{padding:18px;border-radius:14px;background:#fff;box-shadow:0 7px 20px rgba(22,57,103,.04)}.return1688-form .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.return1688-form label{color:#52657f;font-size:12px;font-weight:700}.return1688-form input,.return1688-form select,.return1688-form textarea{margin-top:6px;border-color:#d8e3f0;background:#fbfdff}.return1688-form textarea{min-height:72px}.return1688-wide{grid-column:1/-1}.return1688-section-title{display:flex;align-items:center;gap:11px;margin-bottom:15px}.return1688-section-title>i{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eaf2ff;color:#2e6dcc;font-size:11px;font-style:normal;font-weight:900}.return1688-section-title h3{margin:0!important;font-size:16px}.return1688-section-title span{display:block;margin-top:3px;color:#8997aa;font-size:11px}.return-processing-section .return1688-section-title>i{background:#e7f6f0;color:#17845f}.return1688-change-reason{display:block;padding:13px 15px;border:1px dashed #cbd9eb;border-radius:11px;background:#f8fbff}.return1688-form-actions{position:sticky;bottom:-28px;z-index:3;margin:17px -28px -28px;padding:14px 28px;border-top:1px solid #dfe7f2;background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}.return1688-form-actions button{min-width:110px;height:40px}.return1688-form-actions .primary{min-width:150px}.return1688-detail-grid article{border-color:#d8e4f2;border-radius:12px;background:linear-gradient(145deg,#fff,#f6f9fd);box-shadow:0 6px 18px rgba(24,57,101,.05)}
@media(max-width:1500px){.returns1688-kpis{grid-template-columns:repeat(3,1fr)}.returns1688-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.returns1688-filter-actions{grid-column:span 1}.return-filter-search{grid-column:span 2}}@media(max-width:900px){.returns1688-hero,.returns1688-workspace-head{align-items:flex-start;flex-direction:column}.returns1688-kpis{grid-template-columns:repeat(2,1fr)}.returns1688-filters{grid-template-columns:1fr 1fr}.return-filter-search{grid-column:1/-1}.return1688-form .form-grid{grid-template-columns:1fr 1fr}.return1688-wide{grid-column:1/-1}}

.purchase-batch-table .purchase-batch-row>td{vertical-align:top;padding:16px 12px}.purchase-batch-row>td:first-child{color:#173b73}.purchase-batch-row small{display:block;color:#8796ad;font-size:12px;margin-top:5px}.purchase-batch-row details{min-width:260px}.purchase-batch-row summary{cursor:pointer;color:#245ff5;font-weight:600;list-style:none}.purchase-batch-row summary::-webkit-details-marker{display:none}.purchase-batch-row summary:before{content:'▶';display:inline-block;margin-right:8px;font-size:10px;transition:transform .2s}.purchase-batch-row details[open] summary:before{transform:rotate(90deg)}.purchase-batch-items{margin-top:10px;border:1px solid #e5ebf4;border-radius:10px;background:#f8faff;overflow:hidden}.purchase-batch-items>div{display:grid;grid-template-columns:minmax(180px,1fr) 140px 120px auto;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid #e8edf5;font-size:13px}.purchase-batch-items>div:last-child{border-bottom:0}.purchase-batch-items span{color:#7687a0}.purchase-batch-items em{font-style:normal;color:#203b68}.purchase-batch-items button{padding:5px 10px;border:1px solid #d9e3f1;border-radius:7px;background:#fff;color:#245ff5;cursor:pointer}.purchase-batch-table tfoot td{background:#123463;color:#fff;font-weight:700}@media(max-width:1100px){.purchase-batch-items>div{grid-template-columns:1fr 1fr}.purchase-batch-items button{justify-self:start}}

/* 紧凑运营台账：与产品列表保持同级密度和浅色企业后台风格。 */
#actionsPage .action-table-wrap{overflow:auto;border:1px solid #e1e8f2;border-radius:13px;background:#fff}.action-ledger-table{width:100%;min-width:1240px;border-collapse:separate;border-spacing:0;font-size:13px}.action-ledger-table th{padding:13px 11px;background:#edf3fc;color:#526783;font-weight:700;text-align:left;white-space:nowrap}.action-ledger-table td{padding:11px;border-top:1px solid #edf1f6;vertical-align:middle}.action-ledger-table tbody tr{transition:background .18s}.action-ledger-table tbody tr:hover{background:#f8fbff}.action-table-product{display:flex;align-items:center;gap:10px;min-width:230px;max-width:330px}.action-table-product img,.action-table-product i{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:8px;background:#edf2f8;object-fit:cover;color:#8a99ae;font-size:10px;font-style:normal}.action-table-product span{min-width:0}.action-table-product b,.action-table-product small{display:block}.action-table-product b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#142b53}.action-table-product small{margin-top:3px;color:#8290a5;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action-ledger-table td>small{display:block;margin-top:4px;color:#8a99ae;font-size:11px}.action-ledger-table td>b{color:#203b68}.action-ledger-table .action-type{margin:0 0 5px;padding:3px 7px;font-size:11px}.action-name{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.action-adjustment{white-space:nowrap;color:#526783}.action-table-detail{max-width:240px}.action-table-detail summary{cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#526783;list-style:none}.action-table-detail summary:before{content:'⌄';margin-right:5px;color:#2d67f4}.action-table-detail[open] summary{white-space:normal;color:#1f5eff}.action-table-detail p{margin:7px 0 0;color:#63748e;line-height:1.5}.action-table-ops{white-space:nowrap}.action-table-ops button{padding:6px 10px;margin-right:5px;border-radius:7px;background:#fff;color:#245ff5}.action-table-ops .soft-delete-button{color:#e04444;border-color:#ffd4d4}@media(max-width:900px){#actionsPage .action-table-wrap{border-radius:10px}.action-ledger-table{min-width:1100px}}
/* Product selection: compact draft workflow and structured review profile. */
.date-format-tip{display:block;margin-top:6px;color:#72829d;font-size:12px;font-weight:400}
.selection-pro-modal{max-width:1180px!important;background:#f4f7fc!important}
.selection-detail-pro{color:#12284b;padding:2px}
.selection-pro-hero{display:flex;align-items:center;gap:18px;padding:24px;border-radius:16px;background:linear-gradient(120deg,#071d42,#1c5fc2);color:#fff}
.selection-pro-hero>img,.selection-pro-image-empty{width:78px;height:78px;border-radius:14px;object-fit:cover;background:rgba(255,255,255,.14);display:grid;place-items:center;color:#dbeafe;flex:0 0 auto;cursor:zoom-in}
.selection-pro-hero>div:nth-child(2){min-width:0;flex:1}.selection-pro-hero p{margin:0 0 6px;color:#8ab7ff;font-size:11px;font-weight:800;letter-spacing:1.5px}.selection-pro-hero h2{margin:0;font-size:24px;line-height:1.35;color:#fff}.selection-pro-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.selection-pro-meta span{padding:4px 8px;border:1px solid rgba(255,255,255,.18);border-radius:99px;background:rgba(255,255,255,.1);font-size:12px}.selection-pro-link{align-self:flex-start;border:1px solid rgba(255,255,255,.35);border-radius:8px;padding:9px 12px;color:#fff!important;text-decoration:none;white-space:nowrap}
.selection-pro-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:16px 0}.selection-pro-kpis>div{padding:15px;border:1px solid #dce7f7;border-radius:12px;background:#fff}.selection-pro-kpis small,.selection-pro-info small{display:block;color:#7c8da7;font-size:12px}.selection-pro-kpis b{display:block;margin-top:6px;color:#0e3673;font-size:20px}.selection-pro-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.selection-pro-section,.selection-pro-history{margin-top:14px;padding:18px;border:1px solid #dce7f7;border-radius:14px;background:#fff}.selection-pro-grid .selection-pro-section{margin-top:0}.selection-pro-section h3,.selection-pro-history h3{margin:0 0 14px;font-size:16px;color:#0c326c}.selection-pro-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.selection-pro-info>div{padding:10px 12px;border-radius:9px;background:#f6f9fe}.selection-pro-info b{display:block;overflow:hidden;margin-top:4px;color:#173966;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.selection-pro-subtitle{margin:-5px 0 12px;color:#60738e}.selection-pro-table{width:100%;border-collapse:collapse;font-size:13px}.selection-pro-table th{background:#edf4ff;color:#49688d}.selection-pro-table th,.selection-pro-table td{padding:10px;border-bottom:1px solid #e8eef7;text-align:left}.selection-pro-table a{color:#2563eb}.selection-pro-empty{padding:18px;border-radius:9px;background:#f7f9fd;color:#8090a7;text-align:center}.selection-pro-insights{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}.selection-pro-insights>div{padding:16px;border:1px solid #dce7f7;border-radius:12px;background:#fff}.selection-pro-insights small{color:#4e76b9;font-weight:800}.selection-pro-insights p{min-height:40px;margin:9px 0 0;white-space:pre-wrap;line-height:1.6}.selection-pro-decision>div{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}.selection-pro-decision textarea{min-height:42px}.selection-pro-decision footer{display:flex;gap:8px;margin-top:12px}.selection-pro-history>div{display:grid;grid-template-columns:130px 1fr;gap:4px;padding:10px 0;border-bottom:1px dashed #dce7f7}.selection-pro-history>div:last-child{border:0}.selection-pro-history span,.selection-pro-history small{color:#71829a;font-size:12px}.selection-pro-history small{grid-column:1/-1}
@media(max-width:900px){.selection-pro-hero{align-items:flex-start}.selection-pro-link{display:none}.selection-pro-kpis{grid-template-columns:repeat(3,1fr)}.selection-pro-grid,.selection-pro-insights{grid-template-columns:1fr}.selection-pro-decision>div{grid-template-columns:1fr}.selection-pro-hero h2{font-size:19px}}
.selection-date-picker{display:flex;align-items:center;gap:7px;color:#6480a7;font-size:11px;font-weight:600}.selection-date-picker input{width:155px!important;padding:7px 9px!important}
.selection-table-wrap{overflow:visible!important}.selection-compact-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.selection-compact-table th{padding:10px 8px;background:#edf4fd;color:#536785;text-align:left;white-space:nowrap}.selection-compact-table td{padding:11px 8px;border-top:1px solid #e5ebf4;vertical-align:middle;overflow:hidden}.selection-compact-table th:nth-child(1){width:25%}.selection-compact-table th:nth-child(2){width:11%}.selection-compact-table th:nth-child(3){width:8%}.selection-compact-table th:nth-child(4){width:14%}.selection-compact-table th:nth-child(5){width:11%}.selection-compact-table th:nth-child(6){width:16%}.selection-compact-table th:nth-child(7){width:8%}.selection-compact-table th:nth-child(8){width:7%}.selection-compact-table small{display:block;margin-top:4px;color:#7e8ea6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selection-compact-product{display:flex;align-items:center;gap:9px;min-width:0}.selection-compact-product .selection-thumb{width:42px;height:42px;flex:0 0 auto}.selection-compact-product span{min-width:0}.selection-compact-product b,.selection-compact-points b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#17345f}.selection-compact-points small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selection-action-menu{position:relative}.selection-action-menu summary{list-style:none;cursor:pointer;padding:7px 10px;border:1px solid #d8e3f2;border-radius:8px;background:#fff;color:#285dd2;text-align:center;white-space:nowrap}.selection-action-menu summary::-webkit-details-marker{display:none}.selection-action-menu[open]>div{position:absolute;z-index:20;right:0;top:34px;display:grid;gap:5px;min-width:132px;padding:7px;border:1px solid #d9e4f4;border-radius:9px;background:#fff;box-shadow:0 10px 26px rgba(18,48,93,.18)}.selection-action-menu button{width:100%;padding:7px 9px;text-align:left;white-space:nowrap}.selection-action-menu .selection-delete{color:#d64040;background:#fff7f7}@media(max-width:1100px){.selection-compact-table{font-size:11px}.selection-compact-table th,.selection-compact-table td{padding:8px 5px}.selection-compact-product .selection-thumb{width:34px;height:34px}.selection-compact-table th:nth-child(6),.selection-compact-table td:nth-child(6){display:none}.selection-compact-table th:nth-child(7){width:9%}.selection-compact-table th:nth-child(8){width:9%}}@media(max-width:850px){.selection-compact-table th:nth-child(4),.selection-compact-table td:nth-child(4),.selection-compact-table th:nth-child(7),.selection-compact-table td:nth-child(7){display:none}.selection-compact-table th:nth-child(1){width:34%}.selection-compact-table th:nth-child(2){width:16%}.selection-compact-table th:nth-child(3){width:13%}.selection-compact-table th:nth-child(5){width:18%}.selection-compact-table th:nth-child(8){width:19%}}
.selection-table-wrap{overflow:auto!important}.selection-inline-action-menu{display:block;min-width:118px}.selection-inline-action-menu summary{list-style:none;cursor:pointer;padding:7px 10px;border:1px solid #d8e3f2;border-radius:8px;background:#fff;color:#285dd2;text-align:center;white-space:nowrap}.selection-inline-action-menu summary::-webkit-details-marker{display:none}.selection-inline-action-menu[open]>div{display:grid;gap:6px;margin-top:7px;min-width:126px;padding:7px;border:1px solid #d9e4f4;border-radius:9px;background:#f8fbff}.selection-inline-action-menu button{width:100%;padding:7px 9px;text-align:left;white-space:nowrap}.selection-inline-action-menu .selection-delete{color:#d64040;background:#fff7f7}
.selection-table-wrap{overflow:hidden!important}.selection-table{min-width:0!important;width:100%!important;table-layout:fixed;font-size:11px}.selection-table th,.selection-table td{padding:8px 5px!important}.selection-table th{font-size:10px;overflow:hidden;text-overflow:ellipsis}.selection-table th:nth-child(1){width:2.5%}.selection-table th:nth-child(2){width:3.5%}.selection-table th:nth-child(3){width:13%}.selection-table th:nth-child(4){width:5%}.selection-table th:nth-child(5){width:7%}.selection-table th:nth-child(6){width:4%}.selection-table th:nth-child(7){width:3.5%}.selection-table th:nth-child(8){width:4.5%}.selection-table th:nth-child(9){width:3.5%}.selection-table th:nth-child(10){width:4.5%}.selection-table th:nth-child(11){width:4.5%}.selection-table th:nth-child(12){width:5.5%}.selection-table th:nth-child(13){width:4.5%}.selection-table th:nth-child(14){width:10%}.selection-table th:nth-child(15){width:6.5%}.selection-table th:nth-child(16){width:7%}.selection-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selection-table .selection-thumb{width:34px;height:34px;border-radius:7px}.selection-table .selection-thumb.empty{font-size:9px}.selection-table .selection-title{max-width:none}.selection-table .selection-title a{font-size:11px;line-height:1.35}.selection-table .selection-title small,.selection-table .selection-points span{margin-top:2px;font-size:10px}.selection-table .selection-points{max-width:none}.selection-table td:last-child{overflow:visible;white-space:normal}.selection-action-trigger{min-width:56px;padding:6px 8px!important;border:0!important;border-radius:7px!important;background:linear-gradient(135deg,#3477ff,#1757e8)!important;color:#fff!important;font-size:11px;box-shadow:0 4px 10px rgba(31,94,255,.2)}.selection-action-stash{display:none!important}.selection-action-popover{position:fixed;z-index:9999;display:grid;gap:6px;width:146px;padding:8px;border:1px solid #d8e4f3;border-radius:10px;background:#fff;box-shadow:0 12px 30px rgba(22,50,96,.2)}.selection-action-popover button{width:100%;padding:8px 9px;text-align:left;border:1px solid #dce6f3;border-radius:7px;background:#fff;color:#274567;font-size:12px}.selection-action-popover .primary{border:0;background:#2463f6;color:#fff}.selection-action-popover .selection-delete{border-color:#f3caca;background:#fff7f7;color:#d64040}@media(max-width:1200px){.selection-table{font-size:10px}.selection-table th,.selection-table td{padding:7px 3px!important}.selection-table .selection-thumb{width:28px;height:28px}.selection-table .selection-title a{font-size:10px}.selection-table th:nth-child(14),.selection-table td:nth-child(14){display:none}}

/* 利润中心列表：保留原表格风格，合并产品识别信息并复用产品列表操作浮层。 */
#skuTable .sku-table{min-width:1400px;table-layout:fixed}
#skuTable .sku-table th:nth-child(1){width:55px}
#skuTable .sku-table th:nth-child(2){width:330px}
#skuTable .sku-table th:nth-child(3){width:90px}
#skuTable .sku-table th:nth-child(4),#skuTable .sku-table th:nth-child(5){width:94px}
#skuTable .sku-table th:nth-child(6){width:88px}
#skuTable .sku-table th:nth-child(7),#skuTable .sku-table th:nth-child(8),#skuTable .sku-table th:nth-child(9){width:98px}
#skuTable .sku-table th:nth-child(10){width:82px}
#skuTable .sku-table th:nth-child(11),#skuTable .sku-table th:nth-child(12){width:92px}
#skuTable .sku-table th:nth-child(13){width:76px}
#skuTable .sku-table th:nth-child(14){width:76px}
#skuTable .sku-table td{vertical-align:middle}
#skuTable .sku-product{min-width:0;width:auto}
#skuTable .sku-product-copy{min-width:0;overflow:hidden}
#skuTable .sku-product-copy>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#10284e}
#skuTable .sku-product-copy>small{display:flex;gap:10px;overflow:hidden;color:#7a8ba5;white-space:nowrap}
#skuTable .sku-product-copy>small span{overflow:hidden;text-overflow:ellipsis}
#skuTable .sku-product{align-items:flex-start}
#skuTable .sku-product-copy{padding-top:0}
#skuTable .sku-product-copy>b{display:block;line-height:1.2}
#skuTable .sku-product-copy>small.sku-product-model,#skuTable .sku-product-copy>small.sku-product-codes{display:flex;margin-top:3px;line-height:1.2;font-size:9px}
#skuTable .sku-product-copy>small.sku-product-codes{gap:8px}
#skuTable .sku-product-copy .sku-review{margin-top:4px;padding:3px 6px;font-size:9px}
#skuTable .sku-product-copy .sku-running-action{display:inline-block;margin:4px 0 0 5px;padding:3px 7px;border-radius:10px;background:#e8f1ff;color:#2466dc;font-size:9px;font-style:normal;font-weight:700;white-space:nowrap}
/* 利润中心：同SPU汇总主行与SSKU展开明细 */
#skuTable .sku-grouped-table{min-width:1580px;table-layout:fixed}
#skuTable .sku-grouped-table th:nth-child(1){width:76px}#skuTable .sku-grouped-table th:nth-child(2){width:300px}#skuTable .sku-grouped-table th:nth-child(3){width:105px}#skuTable .sku-grouped-table th:nth-child(4){width:155px}#skuTable .sku-grouped-table th:nth-child(5){width:115px}#skuTable .sku-grouped-table th:nth-child(n+6):nth-child(-n+13){width:108px}#skuTable .sku-grouped-table th:nth-child(14){width:88px}
#skuTable .sku-spu-row{background:linear-gradient(90deg,#f2f7ff 0,#fff 68%);box-shadow:inset 4px 0 #3674ed}
#skuTable .sku-spu-row>td{padding-top:15px;padding-bottom:15px;border-top:1px solid #cbdaf0;color:#18345f;font-weight:600}
#skuTable .sku-spu-row:hover{background:linear-gradient(90deg,#eaf3ff 0,#fbfdff 72%)}
#skuTable .sku-child-row{background:#eaf2ff}#skuTable .sku-child-row:nth-child(even){background:#e3edfc}#skuTable .sku-child-row:hover{background:#d7e7ff}#skuTable .sku-child-row>td{padding-top:11px;padding-bottom:11px;color:#304d78;border-top:1px solid #c9d9ef;border-bottom:1px solid #c9d9ef}#skuTable .sku-child-row>td:first-child{padding-left:20px;background:#d4e4fb;box-shadow:inset 5px 0 #3270dd}#skuTable .sku-child-row>td:nth-child(2){background:linear-gradient(90deg,#dbe9fd 0,#eaf2ff 78%)}#skuTable .sku-child-row:nth-child(even)>td:nth-child(2){background:linear-gradient(90deg,#d5e5fb 0,#e3edfc 78%)}
.sku-group-toggle{display:flex;align-items:center;gap:7px;padding:5px 7px;border:0;background:transparent;color:#18345f;font-weight:800}.sku-group-toggle i{width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:7px solid #3974e8;transition:transform .18s ease;transform-origin:35% 50%}.sku-group-toggle.expanded i{transform:rotate(90deg)}
.sku-child-index{color:#4f74ad;font-size:10px;font-weight:800;white-space:nowrap}.spu-status-summary{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.spu-status-summary .sku-status{display:block;min-width:58px;padding:4px 7px;font-size:9px;text-align:center}.spu-mixed-note{display:block;margin-top:5px;max-width:150px;overflow:hidden;color:#8694a8;font-size:9px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.spu-range{display:flex;flex-direction:column;align-items:flex-start;gap:5px;color:#173967;font-weight:800;white-space:nowrap}.spu-range>span{display:grid;grid-template-columns:25px auto;align-items:center;gap:4px;line-height:1.15}.spu-range small{color:#8795aa;font-size:8px;font-weight:600}.spu-range b{color:#173967;font-size:10px;font-weight:800}.spu-range>span+span{padding-top:5px;border-top:1px dashed #d5e0ef}.spu-range.is-single>span{grid-template-columns:25px auto}.spu-empty{color:#9aa6b7}.spu-margin b,.spu-margin small{display:block;white-space:nowrap}.spu-margin b{color:#173967}.spu-margin small{margin-top:4px;color:#70809a;font-size:9px;font-weight:600}.sku-expand-action{min-width:72px;padding:7px 9px;border-color:#c9d9f2;background:#f7faff;color:#2861ca;font-size:10px;font-weight:800}
.spu-average{color:inherit;font-size:inherit;font-weight:inherit;white-space:nowrap}
#skuTable .sku-ops{overflow:visible!important;text-align:center}
#skuTable .selection-action-trigger{min-width:62px}
.last-mile-auto-tip{display:block;margin-top:2px;color:#5274ad;font-size:10px;font-weight:400;line-height:1.45}
.selection-table th:nth-child(1){width:2.5%}.selection-table th:nth-child(2){width:17%}.selection-table th:nth-child(3){width:5%}.selection-table th:nth-child(4){width:7%}.selection-table th:nth-child(5){width:4%}.selection-table th:nth-child(6){width:3.5%}.selection-table th:nth-child(7){width:4.5%}.selection-table th:nth-child(8){width:3.5%}.selection-table th:nth-child(9){width:4.5%}.selection-table th:nth-child(10){width:4.5%}.selection-table th:nth-child(11){width:5.5%}.selection-table th:nth-child(12){width:4.5%}.selection-table th:nth-child(13){width:10%}.selection-table th:nth-child(14){width:6.5%}.selection-table th:nth-child(15){width:7%}.selection-product-merged{display:flex;align-items:center;gap:8px;min-width:0}.selection-product-merged .selection-thumb{width:40px!important;height:40px!important;flex:0 0 auto;border-radius:7px}.selection-product-merged .selection-title{min-width:0;flex:1}.selection-product-merged .selection-title a{display:-webkit-box;max-width:100%;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.selection-product-merged .selection-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1200px){.selection-product-merged .selection-thumb{width:32px!important;height:32px!important}.selection-table th:nth-child(13),.selection-table td:nth-child(13){display:none}}
.selection-table th:nth-child(1){width:2.5%}.selection-table th:nth-child(2){width:5%}.selection-table th:nth-child(3){width:12%}.selection-table th:nth-child(4){width:5%}.selection-table th:nth-child(5){width:7%}.selection-table th:nth-child(6){width:4%}.selection-table th:nth-child(7){width:3.5%}.selection-table th:nth-child(8){width:4.5%}.selection-table th:nth-child(9){width:3.5%}.selection-table th:nth-child(10){width:4.5%}.selection-table th:nth-child(11){width:4.5%}.selection-table th:nth-child(12){width:5.5%}.selection-table th:nth-child(13){width:4.5%}.selection-table th:nth-child(14){width:10%}.selection-table th:nth-child(15){width:6.5%}.selection-table th:nth-child(16){width:7%}.selection-table .selection-thumb{width:46px!important;height:46px!important;object-fit:contain;background:#f7f9fd}.selection-table .selection-thumb.empty{font-size:10px}.selection-table .selection-title a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset}.selection-table .selection-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1200px){.selection-table .selection-thumb{width:38px!important;height:38px!important}.selection-table th:nth-child(14),.selection-table td:nth-child(14){display:none}}
.selection-table th:nth-child(13),.selection-table td:nth-child(13),.selection-table th:nth-child(14),.selection-table td:nth-child(14){display:table-cell!important}
.selection-table{font-size:10px!important}.selection-table th:nth-child(14){width:9%}.selection-table th:nth-child(15){width:6%}.selection-table th:nth-child(16){width:6%}.selection-table th:nth-child(17){width:6%}.selection-score{display:grid;grid-template-columns:auto auto;align-items:baseline;justify-content:start;gap:2px;min-width:52px}.selection-score strong{font-size:18px;line-height:1;color:#49617e}.selection-score>span{font-size:10px;color:#8290a4}.selection-score small{grid-column:1/-1;margin-top:3px!important;font-size:9px;white-space:nowrap}.selection-score.excellent strong{color:#079462}.selection-score.good strong{color:#1766e8}.selection-score.warning strong{color:#c17900}.selection-score.danger strong{color:#d54848}.selection-score.pending strong{color:#7a8799}.selection-pro-kpis .selection-score-card{background:#f2f7ff}
.overview-accounts{margin-bottom:14px}.overview-account-table-wrap{width:100%;overflow:hidden;border:1px solid var(--line);border-radius:12px}.overview-account-table{width:100%;table-layout:fixed;border-collapse:collapse}.overview-account-table th{padding:10px 12px;background:#edf3fc;color:#60708b;font-size:11px;text-align:left}.overview-account-table th:first-child{width:14%}.overview-account-table td{padding:12px;border-top:1px solid var(--line);vertical-align:middle}.overview-account-table tbody tr:hover{background:#f8faff}.overview-account-table td+td{border-left:1px solid #edf1f7}.overview-account-table b,.overview-account-table small,.overview-account-table strong,.overview-account-table span{display:block}.overview-account-table b{font-size:13px;color:#10213d}.overview-account-table small{margin-top:4px;color:var(--muted);font-size:10px}.overview-account-table strong{font-size:16px;color:#10213d}.overview-account-table span{margin-top:5px;color:#71809a;font-size:10px;line-height:1.45}@media(max-width:900px){.overview-account-table th,.overview-account-table td{padding:8px 6px}.overview-account-table th:first-child{width:17%}.overview-account-table strong{font-size:13px}.overview-account-table span{font-size:9px}}
.collection-log-filters{display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(2,minmax(150px,.7fr)) repeat(2,minmax(170px,.75fr)) auto auto;gap:12px;align-items:end;margin:18px 0}.collection-log-filters input,.collection-log-filters select,.collection-log-filters button{min-height:44px}.collection-log-filters label{display:grid;gap:6px;color:#52627a;font-size:12px}.collection-log-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:8px 0 18px}.collection-log-summary>div{padding:16px 18px;border:1px solid #dce5f2;border-top:3px solid #2d68f6;border-radius:12px;background:#f8faff}.collection-log-summary small{display:block;color:#7b8ba5}.collection-log-summary strong{display:block;margin-top:7px;font-size:24px;color:#10213f}.collection-log-table{overflow:auto;border:1px solid #dfe7f3;border-radius:12px}.collection-log-table table{width:100%;min-width:1320px;border-collapse:collapse}.collection-log-table th{position:sticky;top:0;background:#eaf1fb;color:#4a5d79;text-align:left;padding:12px;white-space:nowrap}.collection-log-table td{padding:13px 12px;border-top:1px solid #e5ebf4;vertical-align:top}.collection-log-table td b,.collection-log-table td small{display:block;max-width:260px}.collection-log-table td small{margin-top:4px;color:#8491a6}.collection-insert{color:#059669}.collection-status{display:inline-block;padding:4px 9px;border-radius:99px;background:#e8f8f0;color:#087a51}.collection-status.failed{background:#fff0f0;color:#dc2626}@media(max-width:1200px){.collection-log-filters{grid-template-columns:repeat(3,1fr)}.collection-log-summary{grid-template-columns:repeat(3,1fr)}}
.activity-margin-panel{padding:0;overflow:hidden}.activity-margin-head{display:flex;align-items:center;justify-content:space-between;padding:24px 28px;background:linear-gradient(120deg,#0b2853,#235bb7);color:#fff}.activity-margin-head p{margin:0 0 6px;color:#76a8ff;font-size:11px;font-weight:800;letter-spacing:2px}.activity-margin-head h2{margin:0;font-size:25px}.activity-margin-head span{display:block;margin-top:7px;color:#c9dafa}.activity-margin-head button{border-color:#6c99df;background:#ffffff16;color:#fff}.activity-margin-filters{display:grid;grid-template-columns:minmax(280px,1fr) 250px auto auto;gap:12px;padding:20px 24px;border-bottom:1px solid #e2e9f4}.activity-margin-filters input,.activity-margin-filters button{min-height:44px}.activity-margin-filters label{display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #d8e1ef;border-radius:9px;background:#fff;color:#53637c}.activity-margin-filters label input{min-width:70px;border:0;padding:0}.activity-margin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:0 24px 18px}.activity-margin-stats>div{padding:14px 16px;border:1px solid #dce5f2;border-top:3px solid #3474ee;border-radius:11px;background:#f7f9fd}.activity-margin-stats span{display:block;color:#7b899d;font-size:11px}.activity-margin-stats b{display:block;margin-top:6px;color:#10213e;font-size:19px}.activity-margin-title{display:flex;justify-content:space-between;align-items:end;padding:0 24px 12px}.activity-margin-title h3{margin:0}.activity-margin-title span,.activity-margin-title small{color:#7e8ca2;font-size:11px}.activity-margin-table{overflow:auto;margin:0 24px 24px;border:1px solid #dfe7f2;border-radius:11px}.activity-margin-table table{width:100%;min-width:1350px;border-collapse:collapse}.activity-margin-table th{position:sticky;top:0;padding:12px;background:#eaf1fb;color:#4e607c;text-align:left;white-space:nowrap}.activity-margin-table td{padding:12px;border-top:1px solid #e5ebf4;white-space:nowrap}.activity-product{display:flex;align-items:center;gap:10px;max-width:310px}.activity-product img,.activity-product i{width:42px;height:42px;flex:0 0 auto;border-radius:8px;object-fit:contain;background:#f1f4f9}.activity-product img:hover{position:relative;z-index:50;transform:scale(3);box-shadow:0 8px 30px #0b1d3b55;background:#fff}.activity-product b{overflow:hidden;text-overflow:ellipsis}.activity-positive{color:#07865c}.activity-negative{color:#d43f4d}.activity-setting>p{color:#2768e8;font-weight:800;letter-spacing:2px}.activity-setting>span{display:block;margin-bottom:18px;color:#718199}.activity-setting form{display:grid;gap:16px}.activity-setting label>div{display:flex;align-items:center;margin-top:7px;border:1px solid #d8e1ef;border-radius:9px}.activity-setting input{flex:1;border:0}.activity-setting label b{padding-right:14px}@media(max-width:1000px){.activity-margin-filters{grid-template-columns:1fr 1fr}.activity-margin-stats{grid-template-columns:1fr 1fr}}
/* Task progress is derived from assignee-owned business records. */
.overview-tasks-panel .overview-task{grid-template-columns:minmax(210px,1.35fr) minmax(160px,1fr) minmax(190px,.8fr)}
.overview-task-auto{padding:9px 11px;border:1px solid #d8e6ff;border-radius:10px;background:#f5f9ff}
.overview-task-auto b{display:inline-block;padding:3px 7px;border-radius:9px;background:#e5f7ef;color:#07855a;font-size:10px}
.overview-task-auto span,.overview-task-auto small{display:block;margin-top:4px}
.overview-task-auto span{color:#334766;font-size:11px;font-weight:700}
.overview-task-auto small{color:var(--muted);font-size:10px}
.overview-task-auto button{width:100%;margin-top:8px;padding:6px 9px;border-color:#c9daf5;background:#fff;color:#285dd2;font-size:11px;font-weight:700}
@media(max-width:1100px){.overview-tasks-panel .overview-task{grid-template-columns:1fr 1fr}.overview-task-auto{grid-column:2}}
@media(max-width:700px){.overview-tasks-panel .overview-task{grid-template-columns:1fr}.overview-task-auto{grid-column:auto}}
.selection-match-actions{display:flex;gap:9px;flex-wrap:wrap}.selection-y2-button{border-color:#b7a2ff!important;background:#7657e8!important;color:#fff!important}.selection-match-type{display:inline-flex;align-items:center;justify-content:center;min-width:34px;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:900}.selection-match-type.y1{background:#e7f8ef;color:#087d54}.selection-match-type.y2{background:#eee9ff;color:#6848cf}.selection-match-card[data-match-type="Y2"]{border-color:#d8cdfc;background:#faf8ff}.selection-match-detail+.selection-match-detail{margin-top:14px}.selection-fact-note{display:block;margin-top:5px;color:#7b8ba5;font-size:10px;font-style:normal;font-weight:500;line-height:1.5}.selection-pro-info>div:has(.selection-fact-note){grid-column:span 2}

/* 多角色账号与产品重点关注 */
.account-role-picker{margin:8px 0 16px;padding:15px;border:1px solid #d9e5f5;border-radius:12px;background:#f7faff}.account-role-picker legend{padding:0 7px;color:#163c76;font-weight:800}.account-role-picker>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.account-role-option{display:flex!important;align-items:flex-start;gap:9px;padding:11px!important;border:1px solid #dce7f5;border-radius:10px;background:#fff;cursor:pointer}.account-role-option:has(input:checked){border-color:#3c78f6;background:#edf4ff;box-shadow:0 0 0 1px #3c78f622}.account-role-option input{width:auto!important;margin-top:3px}.account-role-option span,.account-role-option b,.account-role-option small{display:block}.account-role-option b{color:#17345f}.account-role-option small{margin-top:4px;color:#74849c;font-size:10px}.account-role-picker>p{margin:10px 0 0;color:#6d7e97;font-size:11px}.account-role-badges{display:flex;flex-wrap:wrap;gap:4px}.account-role-badges em{padding:4px 8px;border-radius:99px;background:#eaf2ff;color:#2764d9;font-size:10px;font-style:normal;font-weight:800}@media(max-width:900px){.account-role-picker>div{grid-template-columns:1fr 1fr}}
.product-stage.focused{border:1px solid #f2bf68;background:linear-gradient(135deg,#fff7df,#ffe7af);color:#a05b00;box-shadow:0 3px 9px rgba(214,143,26,.16)}.product-stage.focused:before{content:'★';margin-right:4px;color:#f39a12}.product-ops-menu button:first-child{font-weight:700}
.product-stage.tag-y2-new{background:#fff3d9;color:#a66000}.product-stage.tag-y2-active{background:#f0eaff;color:#7550d9}.product-stage.tag-y2-focus{border:1px solid #f2bf68;background:linear-gradient(135deg,#fff7df,#ffe7af);color:#a05b00;box-shadow:0 3px 9px rgba(214,143,26,.16)}.product-stage.tag-y2-focus:before{content:'★';margin-right:4px;color:#f39a12}.product-stage.tag-y1-stock{background:#e6f0ff;color:#2363cf}.product-stage.tag-y1-new{background:#e7f8ec;color:#218347}.product-stage.tag-y1-active{background:#dff7f2;color:#087c61}.product-stage.tag-favorite{background:#ffeaf2;color:#c13a72}.product-stage.tag-favorite:before{content:'♥';margin-right:4px}.product-stage.tag-slow{background:#fff0eb;color:#c44d27}.product-stage.none{display:none}.product-tag-action{position:relative}.product-tag-trigger{display:flex!important;align-items:center;justify-content:space-between}.product-tag-submenu{display:none;position:absolute;right:calc(100% + 8px);top:-8px;z-index:60;width:210px;padding:7px;grid-template-columns:1fr 1fr;gap:4px;border:1px solid #dfe7f2;border-radius:11px;background:#fff;box-shadow:0 14px 34px rgba(22,42,75,.2)}.product-tag-action:hover .product-tag-submenu,.product-tag-action:focus-within .product-tag-submenu{display:grid}.product-tag-submenu button{padding:8px 9px!important;border-radius:7px!important;font-size:12px;white-space:nowrap}.product-tag-submenu button.active{background:#e7efff!important;color:#175bd5!important;font-weight:800}.product-ops-menu button:disabled{opacity:.42;cursor:not-allowed}.product-ops-menu button:disabled:hover{background:transparent;color:#263b5e}

/* 产品排行榜：同一SPU的全部SKU利润核算预览 */
.product-pricing-detail-portal{width:360px;overflow:hidden}.product-pricing-sku-scroll{max-height:min(590px,72vh);overflow-y:auto;overscroll-behavior:contain;padding-right:5px;scrollbar-width:thin;scrollbar-color:#9ab4da #edf3fb}.product-pricing-sku-scroll::-webkit-scrollbar{width:6px}.product-pricing-sku-scroll::-webkit-scrollbar-track{background:#edf3fb;border-radius:8px}.product-pricing-sku-scroll::-webkit-scrollbar-thumb{background:#9ab4da;border-radius:8px}.product-pricing-sku-card{padding:10px 0 2px}.product-pricing-sku-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:7px;margin-bottom:3px;padding:8px 9px;border:1px solid #dbe7f7;border-radius:8px;background:linear-gradient(135deg,#f6f9fe,#edf4ff);font-size:10px}.product-pricing-sku-head b,.product-pricing-sku-head span{display:flex;align-items:center;gap:5px;min-width:0;color:#718098;font-weight:600}.product-pricing-sku-head em,.product-pricing-sku-head strong{min-width:0;overflow:hidden;color:#214b8c;font-style:normal;font-size:10px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.product-pricing-sku-head span{justify-content:flex-end}.product-pricing-status{padding:3px 5px;border-radius:999px;background:#edf2ff;color:#3268c8;font-size:8px;font-style:normal;font-weight:800;white-space:nowrap}.product-pricing-status.approved{background:#e8f7ef;color:#078455}.product-pricing-status.rejected{background:#fff0f0;color:#cf4141}.product-pricing-status.submitting{background:#fff5df;color:#aa6b00}.product-pricing-card-divider{display:block;height:1px;margin:7px 0 0;background:#dbe5f3}.product-pricing-sku-card .product-pricing-detail-grid{padding:7px 1px 2px}.product-pricing-detail-trigger{min-width:18px;width:auto;padding:0 4px}

/* Keep vertical scrolling, but remove horizontal movement everywhere. */
html,body,.app,main{overflow-x:hidden!important}
.no-horizontal-scroll{width:100%!important;max-width:100%!important;overflow-x:hidden!important;overscroll-behavior-x:none;touch-action:pan-y}
.no-horizontal-scroll::-webkit-scrollbar:horizontal{display:none!important;height:0!important}
/* Wide data areas fit every field into the current page instead of clipping it. */
.no-horizontal-scroll>table,.no-horizontal-scroll table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
.no-horizontal-scroll> :not(.selection-action-popover):not(.db-action-popover){min-width:0!important;max-width:100%!important}
.no-horizontal-scroll th,.no-horizontal-scroll td{width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;padding:7px 4px!important;white-space:normal!important;word-break:break-word;overflow-wrap:anywhere;line-height:1.25;font-size:clamp(8px,.62vw,11px)}
.no-horizontal-scroll thead th{position:sticky!important;top:0!important;right:auto!important;left:auto!important;z-index:3!important;vertical-align:middle}
.no-horizontal-scroll tbody td,.no-horizontal-scroll tfoot td{right:auto!important;left:auto!important;vertical-align:middle}
.no-horizontal-scroll td>*{box-sizing:border-box;min-width:0!important;max-width:100%!important}
.no-horizontal-scroll button,.no-horizontal-scroll select{max-width:100%;padding:6px 7px;font-size:10px}
.no-horizontal-scroll img{max-width:100%}
.no-horizontal-scroll .selection-title a,.no-horizontal-scroll .sku-product-copy>b,.no-horizontal-scroll .sku-product-copy>small{white-space:normal!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
.no-horizontal-scroll .selection-thumb,.no-horizontal-scroll .sku-thumb,.no-horizontal-scroll .db-product-cell img,.no-horizontal-scroll .db-product-cell>i{width:34px!important;height:34px!important}
.no-horizontal-scroll .db-product-cell{grid-template-columns:34px minmax(0,1fr)!important;gap:5px!important}
.no-horizontal-scroll .selection-action-trigger{min-width:44px!important;padding:6px 4px!important}
@media(max-width:1200px){.no-horizontal-scroll th,.no-horizontal-scroll td{padding:6px 3px!important;font-size:8px}.no-horizontal-scroll button,.no-horizontal-scroll select{padding:5px 4px;font-size:9px}}
/* Known wide business tables use the same compact, full-width layout immediately. */
.database-table,#skuTable .sku-table,#skuTable .sku-grouped-table,.collection-log-table table,.activity-margin-table table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}

.database-table th,.database-table td,#skuTable .sku-table th,#skuTable .sku-table td,#skuTable .sku-grouped-table th,#skuTable .sku-grouped-table td,.collection-log-table th,.collection-log-table td,.activity-margin-table th,.activity-margin-table td{min-width:0!important;max-width:none!important;padding:7px 4px!important;white-space:normal!important;word-break:break-word;overflow-wrap:anywhere;line-height:1.25;font-size:clamp(8px,.62vw,11px)}
.database-table th:first-child,.database-table td:first-child,.database-table th:nth-child(2),.database-table td:nth-child(2),.database-table th:nth-last-child(2),.database-table td:nth-last-child(2),.database-table th:last-child,.database-table td:last-child{left:auto!important;right:auto!important;max-width:none!important}
#skuTable .sku-grouped-table th:nth-child(1){width:4%!important}#skuTable .sku-grouped-table th:nth-child(2){width:18%!important}#skuTable .sku-grouped-table th:nth-child(3){width:7%!important}#skuTable .sku-grouped-table th:nth-child(4){width:10%!important}#skuTable .sku-grouped-table th:nth-child(5){width:7%!important}#skuTable .sku-grouped-table th:nth-child(n+6):nth-child(-n+13){width:6%!important}#skuTable .sku-grouped-table th:nth-child(14){width:6%!important}
#skuTable .sku-table:not(.sku-grouped-table) th:nth-child(1){width:4%!important}#skuTable .sku-table:not(.sku-grouped-table) th:nth-child(2){width:18%!important}
.database-table th:first-child{width:16%!important}.database-table th:nth-child(2){width:5%!important}

/* Y1 procurement collaboration: keep all 16 fields visible without cell overlap. */
.y1-purchase-scroll.no-horizontal-scroll table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
.y1-purchase-scroll.no-horizontal-scroll th,
.y1-purchase-scroll.no-horizontal-scroll td{
  box-sizing:border-box;
  padding:9px 5px!important;
  overflow:hidden;
  word-break:normal!important;
  overflow-wrap:anywhere;
}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(1){width:6.5%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(2){width:15%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(3){width:6.5%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(4){width:5.5%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(5){width:6%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(6){width:6.5%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(7){width:5.5%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(8){width:5.5%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(9){width:4.5%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(10),
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(11),
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(12),
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(13){width:5.5%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(14){width:6%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(15){width:6%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(16){width:7.5%!important}
.y1-purchase-scroll.no-horizontal-scroll .purchase-product{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  align-items:center;
  gap:6px;
  width:100%;
  min-width:0!important;
}
.y1-purchase-scroll.no-horizontal-scroll .purchase-product img,
.y1-purchase-scroll.no-horizontal-scroll .purchase-product>i{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px;
}
.y1-purchase-scroll.no-horizontal-scroll .purchase-product span{
  min-width:0;
  overflow:hidden;
}
.y1-purchase-scroll.no-horizontal-scroll .purchase-product span b{
  display:-webkit-box;
  width:100%;
  max-width:none;
  overflow:hidden;
  white-space:normal;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  line-height:1.3;
}
.y1-purchase-scroll.no-horizontal-scroll .purchase-product span small{
  display:block;
  width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.y1-purchase-scroll.no-horizontal-scroll .dimension-status{
  width:100%;
  min-width:0;
  justify-content:center;
  gap:3px;
  padding:6px 4px!important;
}
.y1-purchase-scroll.no-horizontal-scroll .dimension-status i{width:16px;height:16px;flex:0 0 16px}
.y1-purchase-scroll.no-horizontal-scroll .dimension-status b{margin-left:2px}
.y1-purchase-scroll.no-horizontal-scroll td:last-child button{
  width:100%;
  min-width:0;
  padding:6px 3px!important;
  white-space:normal;
  line-height:1.2;
}
.y1-purchase-scroll.no-horizontal-scroll .purchase-note{
  max-width:none;
  white-space:normal;
  line-height:1.3;
}

/* All business pages: use the available workspace with a minimal outer gutter. */
main{
  padding:5px 7px 7px!important;
}
#skuPricingPage:not(.hidden){
  width:100%;
  max-width:none;
  min-height:calc(100vh - 18px);
  margin:0;
}
#skuPricingPage:not(.hidden)>.panel{
  width:100%;
  max-width:none;
  min-height:calc(100vh - 18px);
  margin:0;
}
@media(max-width:1000px){
  main{padding:4px 5px 5px!important}
  #skuPricingPage:not(.hidden),#skuPricingPage:not(.hidden)>.panel{min-height:calc(100vh - 15px)}
}

/* Shared task collaboration center. */
.task-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;border-radius:18px;background:linear-gradient(125deg,#071d42 0%,#12366e 56%,#2864cc 100%);box-shadow:0 16px 36px rgba(15,44,92,.15);color:#fff}
.task-hero p,.task-form-head p{margin:0 0 7px;color:#73a7ff;font-size:12px;font-weight:900;letter-spacing:2px}
.task-hero h2{margin:0 0 7px;font-size:27px}.task-hero span{color:#c9d9f2;font-size:13px}.task-hero button{min-width:142px}
.task-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:14px 0}
.task-kpis article{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;padding:16px 18px;border:1px solid #dfe7f3;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(30,64,120,.06)}
.task-kpis article:after{content:"";position:absolute;inset:auto 0 0;height:3px;background:#4b87ff}.task-kpis article.gray:after{background:#94a3b8}.task-kpis article.purple:after{background:#8b5cf6}.task-kpis article.orange:after{background:#f59e0b}.task-kpis article.red:after{background:#ef4444}.task-kpis article.green:after{background:#10b981}
.task-kpis span{color:#7b8aa2;font-size:13px}.task-kpis b{color:#102342;font-size:25px}
.task-board{padding:18px 20px 24px}.task-toolbar{display:grid;grid-template-columns:minmax(260px,1.6fr) repeat(3,minmax(145px,.75fr)) auto auto;gap:10px;padding:12px;border:1px solid #e2eaf5;border-radius:14px;background:#f7faff}
.task-toolbar input,.task-toolbar select{min-width:0}.task-board-head{display:flex;align-items:end;justify-content:space-between;padding:22px 2px 12px;border-bottom:1px solid #e5ebf4}.task-board-head h2{margin:0 0 4px;color:#102342;font-size:21px}.task-board-head p{margin:0;color:#8492a8;font-size:12px}.task-board-actions{display:flex;align-items:center;gap:12px}.task-board-actions>span{color:#72839e;font-size:13px}.task-board-actions button{height:40px;padding:0 17px}
.task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-top:14px}.task-list>.empty,.task-list>.error{grid-column:1/-1}
.task-card{position:relative;overflow:hidden;padding:17px 18px;border:1px solid #e0e7f2;border-left:4px solid #5b8ff9;border-radius:14px;background:#fff;box-shadow:0 7px 18px rgba(29,59,107,.055)}
.task-card.priority-low{border-left-color:#94a3b8}.task-card.priority-high{border-left-color:#f59e0b}.task-card.priority-urgent,.task-card.overdue{border-left-color:#ef4444}.task-card.overdue{background:linear-gradient(135deg,#fff 60%,#fff5f5)}
.task-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.task-card>header>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.task-card>header>b{color:#37527b;font-size:12px}
.task-category,.task-priority,.task-overdue{display:inline-flex;padding:4px 8px;border-radius:999px;background:#edf4ff;color:#326fd3;font-size:11px;font-style:normal;font-weight:800}.task-priority{background:#f3f5f9;color:#6b7a91}.task-overdue{background:#fff0f0;color:#dc2626}
.task-card h3{margin:13px 0 7px;color:#0f2342;font-size:18px}.task-card>p{display:-webkit-box;min-height:36px;margin:0;color:#65758c;font-size:13px;line-height:1.55;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.task-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px;margin:14px 0;padding:12px;border-radius:10px;background:#f7f9fc}.task-meta span{display:flex;justify-content:space-between;gap:8px;color:#8a96a9;font-size:11px}.task-meta b{overflow:hidden;color:#344966;text-overflow:ellipsis;white-space:nowrap}
.task-progress{display:flex;align-items:center;gap:10px}.task-progress>div{overflow:hidden;flex:1;height:8px;border-radius:999px;background:#e9eef6}.task-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#3f7cf4,#69a1ff)}.task-progress strong{min-width:40px;color:#2f65c5;font-size:12px;text-align:right}
.task-conclusion{display:grid;gap:4px;margin-top:12px;padding:10px 12px;border-radius:9px;background:#eef9f5;color:#39695b;font-size:12px}.task-conclusion span{line-height:1.5}.task-card footer{display:flex;justify-content:flex-end;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #edf1f7}
.task-modal{width:min(820px,94vw)!important}.task-form-head{margin:-4px 0 18px}.task-form-head h2{margin:0 0 5px;color:#102342}.task-form-head span{color:#76869e;font-size:13px}.task-form textarea{resize:vertical}
.task-distribution-modal{width:min(900px,94vw)!important;padding:0!important;overflow:hidden}.task-distribution-modal #modalBody{max-height:min(86vh,860px);padding:0;overflow:auto;background:#f4f7fc}.task-distribution-head{display:flex;align-items:center;gap:16px;padding:24px 28px;background:linear-gradient(120deg,#081f49,#245db8);color:#fff}.task-distribution-mark{display:grid;place-items:center;flex:0 0 52px;height:52px;border:1px solid rgba(255,255,255,.2);border-radius:16px;background:rgba(255,255,255,.12);font-size:23px;font-weight:900}.task-distribution-head p{margin:0 0 5px;color:#83b4ff;font-size:11px;font-weight:900;letter-spacing:2px}.task-distribution-head h2{margin:0 0 4px;font-size:25px}.task-distribution-head span{color:#d4e3fa;font-size:13px}.task-distribution-form{gap:14px;padding:20px 24px 24px}.task-form-section{display:grid;gap:14px;padding:18px;border:1px solid #dfe7f3;border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(34,64,112,.05)}.task-section-title{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid #edf1f6}.task-section-title>b{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eaf2ff;color:#2b68ce;font-size:12px}.task-section-title h3{margin:0;color:#142947;font-size:17px}.task-section-title p{margin:3px 0 0;color:#8a97aa;font-size:11px}.task-distribution-form label{color:#273b59;font-weight:700}.task-distribution-form label>small{display:block;margin-top:5px;color:#8b98aa;font-size:11px;font-weight:400}.task-form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:2px}.task-form-actions button{min-width:110px}.task-form-actions .primary{min-width:170px}
.task-detail>header{margin:-20px -20px 18px;padding:23px 25px;background:linear-gradient(120deg,#091f47,#275fb9);color:#fff}.task-detail>header>span{color:#83b3ff;font-size:11px;font-weight:900;letter-spacing:1.5px}.task-detail>header h2{margin:7px 0}.task-detail>header p{margin:0;color:#d4e1f5;line-height:1.6}
.task-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.task-detail-grid>div{display:grid;gap:5px;padding:12px;border:1px solid #e3eaf4;border-radius:10px;background:#f8faff}.task-detail-grid small{color:#8592a5}.task-detail-grid b{color:#243d62}
.task-detail section h3{margin:20px 0 9px;color:#172b4b}.task-detail-conclusion{min-height:52px;padding:13px;border-radius:10px;background:#f3f7fc;color:#52647e;line-height:1.6}
.task-log{border-left:2px solid #dce7f6;margin-left:7px;padding-left:17px}.task-log article{position:relative;padding:0 0 15px}.task-log article>i{position:absolute;left:-23px;top:4px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#4b82ec;box-shadow:0 0 0 2px #cbdcf7}.task-log article>div{display:grid;gap:3px}.task-log span{color:#60718a;font-size:12px}.task-log small{color:#9aa5b5}
.home-task-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0 18px 12px}.home-task-summary span{padding:9px 10px;border-radius:9px;background:#f4f7fc;color:#78869a;font-size:11px}.home-task-summary b{float:right;color:#274a7e;font-size:15px}.home-task-summary .danger{background:#fff1f1;color:#d84a4a}.home-task-summary .danger b{color:#dc2626}
#overviewTasks .task-card{margin:0 18px 10px;padding:12px 14px}#overviewTasks .task-card>p,#overviewTasks .task-card .task-conclusion{display:none}#overviewTasks .task-card h3{margin:8px 0 5px;font-size:15px}#overviewTasks .task-meta{margin:8px 0;padding:8px}#overviewTasks .task-card footer{margin-top:8px;padding-top:8px}
.task-reminder{display:flex!important;align-items:center;gap:10px}.task-reminder i{flex:0 0 auto}.task-reminder span{min-width:0}.task-reminder span b{color:#326fd3}.task-reminder.overdue{background:#fff3f3!important}.task-reminder.overdue span b{color:#dc2626}
@media(max-width:1200px){.task-list{grid-template-columns:1fr}.task-toolbar{grid-template-columns:1fr 1fr 1fr}.task-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.task-hero{align-items:flex-start;flex-direction:column}.task-kpis{grid-template-columns:repeat(2,1fr)}.task-toolbar{grid-template-columns:1fr}.task-meta,.task-detail-grid{grid-template-columns:1fr}.home-task-summary{grid-template-columns:repeat(2,1fr)}}

/* Task board: one compact horizontal task per row. */
#taskCenterPage .task-list{grid-template-columns:1fr;gap:10px;padding-top:12px}
#taskCenterPage .task-card{
  display:grid;
  grid-template-columns:minmax(260px,1.35fr) minmax(350px,1.45fr) minmax(150px,.58fr) minmax(250px,auto);
  grid-template-areas:
    "head meta progress actions"
    "title meta progress actions"
    "desc meta progress actions"
    "conclusion conclusion conclusion actions";
  align-items:center;
  column-gap:18px;
  row-gap:5px;
  min-height:112px;
  padding:13px 15px;
  overflow:visible;
  box-shadow:0 5px 15px rgba(29,59,107,.045);
}
#taskCenterPage .task-card>header{grid-area:head;align-self:end}
#taskCenterPage .task-card h3{grid-area:title;margin:4px 0 1px;font-size:16px;line-height:1.35}
#taskCenterPage .task-card>p{grid-area:desc;align-self:start;min-height:0;line-height:1.4;-webkit-line-clamp:1}
#taskCenterPage .task-card .task-meta{grid-area:meta;align-self:stretch;align-content:center;margin:0;padding:10px 12px;gap:8px 16px}
#taskCenterPage .task-card .task-progress{grid-area:progress;min-width:145px}
#taskCenterPage .task-card .task-conclusion{grid-area:conclusion;display:flex;align-items:center;min-width:0;margin:4px 0 0;padding:7px 10px}
#taskCenterPage .task-card .task-conclusion b{flex:0 0 auto}
#taskCenterPage .task-card .task-conclusion span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#taskCenterPage .task-card footer{grid-area:actions;align-self:stretch;align-content:center;justify-content:flex-end;flex-wrap:wrap;max-width:280px;margin:0;padding:0 0 0 16px;border-top:0;border-left:1px solid #edf1f7}
#taskCenterPage .task-card footer button{height:36px;padding:0 13px;white-space:nowrap}

@media(max-width:1450px){
  #taskCenterPage .task-card{
    grid-template-columns:minmax(240px,1.15fr) minmax(310px,1.25fr) minmax(230px,auto);
    grid-template-areas:
      "head meta actions"
      "title meta actions"
      "desc progress actions"
      "conclusion conclusion actions";
  }
}
@media(max-width:980px){
  #taskCenterPage .task-card{
    grid-template-columns:1fr auto;
    grid-template-areas:
      "head head"
      "title title"
      "desc desc"
      "meta meta"
      "progress actions"
      "conclusion conclusion";
  }
  #taskCenterPage .task-card footer{align-self:center;max-width:none;padding-left:12px}
}

/* Profit center: align every value and action with the center of its column. */
#skuTable .sku-table th,
#skuTable .sku-table td,
#skuTable .sku-grouped-table th,
#skuTable .sku-grouped-table td{
  text-align:center!important;
  vertical-align:middle!important;
}
#skuTable .sku-table th:nth-child(2),
#skuTable .sku-table td:nth-child(2),
#skuTable .sku-grouped-table th:nth-child(2),
#skuTable .sku-grouped-table td:nth-child(2){
  text-align:left!important;
}
#skuTable .sku-table td:last-child>button,
#skuTable .sku-table td:last-child>.selection-action-trigger,
#skuTable .sku-table td:last-child>.sku-expand-action,
#skuTable .sku-grouped-table td:last-child>button,
#skuTable .sku-grouped-table td:last-child>.selection-action-trigger,
#skuTable .sku-grouped-table td:last-child>.sku-expand-action,
#skuTable .sku-group-toggle{
  margin-left:auto!important;
  margin-right:auto!important;
}
#skuTable .sku-table td .badge,
#skuTable .sku-table td .sku-status,
#skuTable .sku-table td .sku-profit-status,
#skuTable .sku-table td .profit-state,
#skuTable .sku-grouped-table td .badge,
#skuTable .sku-grouped-table td .sku-status,
#skuTable .sku-grouped-table td .sku-profit-status,
#skuTable .sku-grouped-table td .profit-state{
  justify-content:center;
}
#skuTable .spu-status-summary,
#skuTable .spu-range{
  align-items:center!important;
  text-align:center!important;
}
#skuTable .sku-ops{
  text-align:center!important;
}
#skuTable .sku-ops>button,
#skuTable .sku-ops>select,
#skuTable .spu-status-summary>.sku-status,
#skuTable .spu-status-summary>.profit-state{
  margin-left:auto!important;
  margin-right:auto!important;
}
#skuTable .sku-product-copy,
#skuTable .sku-product-main{
  text-align:left!important;
}

/* 运营动作时间线：利润中心实时联动标识 */
.product-action-timeline-facts{flex-wrap:wrap}
.product-action-timeline-facts .profit-live{border:1px solid #b8ead5;background:#ecf9f4;color:#087a55}
.product-action-timeline-facts .profit-live b{color:#087a55}
.store-derived-owner{
  min-height:44px;display:flex;align-items:center;padding:0 14px;border:1px solid #dbe5f3;
  border-radius:10px;background:#f4f7fb;color:#55708f;font-weight:600
}

/* 产品列表：无横向滚动时仍保持紧凑、完整且可读的横向信息层级。 */
.product-center-summary{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.product-center-table-scroll,
.product-center-table-scroll.no-horizontal-scroll{overflow-x:hidden!important;overflow-y:visible!important}
.product-center-table-scroll table,
.product-center-table-scroll.no-horizontal-scroll table{width:100%!important;min-width:0!important;table-layout:fixed!important}
.product-center-table-scroll th,
.product-center-table-scroll td,
.product-center-table-scroll.no-horizontal-scroll th,
.product-center-table-scroll.no-horizontal-scroll td{
  box-sizing:border-box!important;height:auto!important;padding:8px 4px!important;
  white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;
  overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.3!important;
  font-size:clamp(9px,.62vw,11px)!important
}
.product-center-table-scroll col.pc-select{width:1.8%}
.product-center-table-scroll col.pc-rank{width:2.8%}
.product-center-table-scroll col.pc-product{width:26%}
.product-center-table-scroll col.pc-tag{width:5.5%}
.product-center-table-scroll col.pc-score{width:3.8%}
.product-center-table-scroll col.pc-profit{width:8%}
.product-center-table-scroll col.pc-owner{width:5%}
.product-center-table-scroll col.pc-days{width:6%}
.product-center-table-scroll col.pc-impressions{width:4.3%}
.product-center-table-scroll col.pc-clicks{width:3.4%}
.product-center-table-scroll col.pc-ctr{width:3.8%}
.product-center-table-scroll col.pc-cart{width:3.2%}
.product-center-table-scroll col.pc-orders{width:4%}
.product-center-table-scroll col.pc-cvr{width:4%}
.product-center-table-scroll col.pc-channel{width:8%}
.product-center-table-scroll col.pc-latest{width:5%}
.product-center-table-scroll col.pc-ops{width:5.4%}
.product-center-table-scroll tbody tr{height:62px!important}
.product-center-table-scroll .product-cell{
  display:flex!important;align-items:center!important;gap:7px!important;width:100%!important;
  min-width:0!important;max-width:100%!important
}
.product-center-table-scroll .product-cell img,
.product-center-table-scroll .product-mini-placeholder{
  width:40px!important;height:40px!important;min-width:40px!important;flex:0 0 40px!important;border-radius:8px!important
}
.product-center-table-scroll .product-copy{
  display:block!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:calc(100% - 47px)!important;overflow:visible!important
}
.product-center-table-scroll .product-name-line{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;padding-top:4px!important;padding-right:3px!important;overflow:visible!important}
.product-center-table-scroll .product-name-line>b{
  display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important
}
.product-center-table-scroll .product-copy>span,
.product-center-table-scroll .product-copy>small{
  display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important
}
.product-center-table-scroll .product-data-icon,
.product-center-table-scroll .product-action-icon{position:relative!important;flex:0 0 auto!important;width:25px!important;height:25px!important;padding:0!important;overflow:visible!important}
.product-center-table-scroll .product-action-icon{margin-right:7px!important}
.product-center-table-scroll .product-action-icon i{top:-7px!important;right:-2px!important;z-index:2!important}
.product-center-table-scroll tbody td:nth-child(3){overflow:visible!important}
.product-center-table-scroll .product-pricing-profit{width:100%!important;min-width:0!important;padding:5px 24px 5px 6px!important;box-sizing:border-box!important}
.product-center-table-scroll .product-pricing-profit span{gap:3px!important;font-size:9px!important}
.product-center-table-scroll .product-pricing-profit b{font-size:9px!important}
.product-center-table-scroll .product-pricing-detail-trigger{
  top:-7px!important;
  right:2px!important;
  width:16px!important;
  height:16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border-radius:5px!important;
  font-size:9px!important;
  line-height:1!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
.product-center-table-scroll .product-pricing-empty{display:block!important;min-width:0!important;font-size:9px!important;overflow:hidden;text-overflow:ellipsis}
.product-center-table-scroll .product-stage{max-width:100%;padding:4px 6px;font-size:9px;overflow:hidden;text-overflow:ellipsis}
.product-center-table-scroll .product-stage-days{gap:2px!important}
.product-center-table-scroll .product-ops-button{height:30px!important;padding:0 8px!important;font-size:10px!important}
.product-center-table-scroll td:last-child{overflow:visible!important}
.product-center-table-scroll .product-ops-menu{z-index:80}
@media(max-width:1280px){
  .product-center-table-scroll th,.product-center-table-scroll td{padding:7px 2px!important;font-size:8px!important}
  .product-center-table-scroll .product-cell img,.product-center-table-scroll .product-mini-placeholder{width:34px!important;height:34px!important;min-width:34px!important;flex-basis:34px!important}
  .product-center-table-scroll .product-copy{max-width:calc(100% - 39px)!important}
}

/* 店铺流量：采用与产品列表一致的紧凑信息层级。 */
.store-traffic-panel{padding:20px}.store-traffic-head{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 17px}.store-traffic-head p{margin:0;color:#3d78d8;font-size:10px;font-weight:900;letter-spacing:1.8px}.store-traffic-head h2{margin:5px 0 3px;color:#18355c;font-size:23px}.store-traffic-head span{color:#8090a6;font-size:12px}
.store-traffic-filters{display:flex;align-items:end;gap:10px;padding:12px;border:1px solid #dfe8f3;border-radius:12px;background:#f7f9fc}.store-traffic-filters label{display:grid;gap:5px;color:#667a95;font-size:11px;font-weight:700}.store-traffic-filters input{width:145px}.store-range-presets{display:flex;gap:5px;margin-right:auto}.store-range-presets button{padding:8px 12px;border-color:transparent;background:transparent;color:#607590}.store-range-presets button.active{border-color:#b9d1f7;background:#eaf2ff;color:#2164c7;box-shadow:none}
.store-traffic-summary{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px;margin:14px 0}.store-traffic-summary article{display:grid;gap:7px;padding:12px 13px;border:1px solid #e2e9f2;border-radius:10px;background:#fff}.store-traffic-summary span{color:#7d8ca2;font-size:11px}.store-traffic-summary b{color:#17345d;font-size:19px}.store-traffic-summary small{margin-left:3px;font-size:10px}
.store-list-card,.store-chart-card{overflow:hidden;border:1px solid #e0e7f0;border-radius:12px;background:#fff}.store-list-card>header,.store-chart-card>header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #e8edf4}.store-list-card h3,.store-chart-card h3{margin:0 0 3px;color:#203b61;font-size:15px}.store-list-card p,.store-chart-card p{margin:0;color:#8491a4;font-size:11px}
.store-list{display:grid}.store-list-row{display:grid;grid-template-columns:minmax(230px,30%) 1fr;align-items:center;min-height:78px;border-bottom:1px solid #edf1f6}.store-list-row:last-child{border-bottom:0}.store-list-row:hover{background:#f8fbff}.store-list-identity{display:flex;align-items:center;gap:11px;padding:12px 16px;border-right:1px solid #edf1f6}.store-list-rank{display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;border-radius:9px;background:#edf3fb;color:#55708e}.store-list-rank.top{background:#e8f1ff;color:#2870db}.store-list-identity span{display:grid;gap:2px;min-width:0}.store-list-identity strong{overflow:hidden;color:#203b61;text-overflow:ellipsis;white-space:nowrap}.store-list-identity small,.store-list-identity em{color:#8997aa;font-size:10px;font-style:normal}.store-list-metrics{display:grid;grid-template-columns:repeat(6,1fr);height:100%}.store-list-metrics>span{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;border-right:1px solid #f0f3f7}.store-list-metrics>span:last-child{border:0}.store-list-metrics small{color:#8795a8;font-size:10px}.store-list-metrics b{color:#294667;font-size:14px}
.store-chart-card{margin-top:14px}.store-chart-metrics{display:flex;gap:5px}.store-chart-metrics button{padding:7px 11px;border-color:#dfe6ef;background:#fff;color:#687b93}.store-chart-metrics button.active{border-color:#9dbff4;background:#edf4ff;color:#286bd0}.store-chart-legend{display:flex;gap:18px;padding:12px 18px 0}.store-chart-legend span{display:flex;align-items:center;gap:6px;color:#526780;font-size:11px}.store-chart-legend i{width:18px;height:3px;border-radius:3px}.store-line-chart{min-height:330px;padding:2px 12px 10px}.store-line-chart svg{display:block;width:100%;height:330px;overflow:visible}.store-line-chart text{fill:#8290a3;font-size:10px}.store-line-chart .chart-grid{stroke:#e8edf4;stroke-width:1}.store-line-chart circle{cursor:help;stroke:#fff;stroke-width:2}
@media(max-width:1350px){.store-traffic-summary{grid-template-columns:repeat(4,1fr)}.store-list-row{grid-template-columns:240px 1fr}}@media(max-width:850px){.store-traffic-filters{align-items:stretch;flex-direction:column}.store-range-presets{flex-wrap:wrap;margin:0}.store-list-row{grid-template-columns:1fr}.store-list-identity{border-right:0;border-bottom:1px solid #edf1f6}.store-list-metrics{min-height:70px}.store-chart-card>header{align-items:flex-start;flex-direction:column;gap:10px}}@media(max-width:620px){.store-traffic-summary{grid-template-columns:repeat(2,1fr)}.store-list-metrics{grid-template-columns:repeat(3,1fr)}.store-chart-metrics{flex-wrap:wrap}}

/* 店铺流量视觉增强：强化层次，并保证趋势线在各种主题下清晰可见。 */
.store-traffic-shell{overflow:hidden;border:1px solid #dce5f1;border-radius:20px;background:linear-gradient(145deg,#eef5ff 0,#f7faff 38%,#eef2fb 100%);box-shadow:0 18px 45px rgba(37,65,111,.11)}
.store-traffic-content{padding:18px}.store-traffic-head{min-height:112px;padding:24px 28px;border:0;background:radial-gradient(circle at 75% 0,rgba(81,143,255,.35),transparent 34%),linear-gradient(118deg,#102b55,#174b8d 58%,#2368bc);color:#fff}.store-traffic-head p{color:#7fc3ff}.store-traffic-head h2{color:#fff;font-size:27px}.store-traffic-head span{color:#c9dcf6}.store-head-badge{display:flex;align-items:center;gap:10px}.store-head-badge>i{width:9px;height:9px;border-radius:50%;background:#45e2a7;box-shadow:0 0 0 5px rgba(69,226,167,.13)}.store-head-badge>span{display:grid;color:#fff;font-size:12px;font-weight:700}.store-head-badge small{margin-top:2px;color:#a9c5e9;font-size:10px;font-weight:400}.store-head-badge button{margin-left:8px;border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff}.store-head-badge button:hover{background:rgba(255,255,255,.18)}
.store-traffic-filters{border-color:#d5e1f0;background:rgba(255,255,255,.82);box-shadow:0 5px 16px rgba(47,76,119,.05);backdrop-filter:blur(8px)}.store-range-presets button{border-radius:8px}.store-range-presets button.active{border-color:#377ddb;background:linear-gradient(135deg,#347bdc,#245fbd);color:#fff;box-shadow:0 5px 12px rgba(44,105,199,.2)}
.store-traffic-summary article{position:relative;overflow:hidden;border:0;background:linear-gradient(145deg,#fff,#f7fbff);box-shadow:0 7px 18px rgba(42,72,114,.08)}.store-traffic-summary article:before{position:absolute;inset:0 auto 0 0;width:4px;background:#3b82f6;content:""}.store-traffic-summary article:nth-child(2):before,.store-traffic-summary article:nth-child(6):before{background:#14b8a6}.store-traffic-summary article:nth-child(3):before,.store-traffic-summary article:nth-child(7):before{background:#8b5cf6}.store-traffic-summary article:nth-child(4):before,.store-traffic-summary article:nth-child(8):before{background:#f59e0b}.store-traffic-summary b{font-size:20px}
.store-list-card,.store-chart-card{border-color:#d9e3ef;box-shadow:0 9px 24px rgba(36,66,106,.07)}.store-list-card>header{background:linear-gradient(90deg,#f8fbff,#eef5ff)}.store-section-tag{padding:5px 9px;border-radius:99px;background:#e4efff;color:#3974c9;font-size:9px;font-weight:900;letter-spacing:1px}.store-list-row:nth-child(even){background:#f8fbff}.store-list-row:hover{background:#edf5ff}.store-list-rank.top{background:linear-gradient(145deg,#367fe5,#225fb9);color:#fff;box-shadow:0 5px 12px rgba(48,112,207,.22)}.store-list-metrics>span:nth-child(3) b,.store-list-metrics>span:nth-child(6) b{color:#2871d3}
.store-chart-card>header{border:0;background:linear-gradient(105deg,#162f59,#1b477d);color:#fff}.store-chart-card h3{color:#fff}.store-chart-card p{color:#a9c4e6}.store-chart-metrics button{border-color:rgba(255,255,255,.15);background:rgba(255,255,255,.08);color:#c5d8f0}.store-chart-metrics button.active{border-color:#6da9ff;background:#367edc;color:#fff;box-shadow:0 5px 14px rgba(0,0,0,.17)}.store-chart-stage{background:linear-gradient(180deg,#f7faff,#fff)}.store-chart-legend{padding-top:15px}.store-chart-legend span{padding:5px 9px;border:1px solid #e0e8f2;border-radius:8px;background:#fff}.store-chart-legend b{color:#3b5270;font-size:11px}.store-line-chart{min-height:355px;padding:5px 14px 12px}.store-line-chart svg{height:345px}.store-line-chart .chart-grid{stroke:#dfe7f1}.store-line-chart .store-chart-line{fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 3px 3px rgba(37,80,140,.16))}.store-line-chart circle{stroke-width:2.5;vector-effect:non-scaling-stroke}.store-chart-loading,.store-chart-empty{display:grid;place-content:center;justify-items:center;gap:8px;min-height:330px;color:#8190a4}.store-chart-loading i{width:24px;height:24px;border:3px solid #d7e3f2;border-top-color:#3b82f6;border-radius:50%;animation:storeChartSpin .8s linear infinite}.store-chart-empty b{color:#405a7b}.store-chart-empty span{font-size:11px}@keyframes storeChartSpin{to{transform:rotate(360deg)}}
@media(max-width:850px){.store-traffic-head{align-items:flex-start;flex-direction:column;gap:16px}.store-head-badge{width:100%;flex-wrap:wrap}.store-head-badge button{margin-left:auto}.store-traffic-content{padding:12px}}

/* 运营动作的 SKU 目标选择 */
.action-sku-target{margin-top:14px;padding:13px 14px;border:1px solid #d7e3f4;border-radius:11px;background:#fff}.action-sku-target>b,.action-sku-target header b,.action-sku-target span{display:block}.action-sku-target span{margin-top:4px;color:var(--muted);font-size:12px}.action-sku-target.single-target{border-color:#bfe7d6;background:#f2fbf7}.action-sku-target.multi-target{border-color:#bfd5fb;background:#f4f8ff}.action-sku-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:11px}.action-sku-options button{padding:11px 12px;border:1px solid #dbe4f2;border-radius:9px;background:#fff;text-align:left}.action-sku-options button:hover,.action-sku-options button.selected{border-color:#3978ef;background:#edf4ff;box-shadow:0 0 0 2px rgba(57,120,239,.1)}.action-sku-options button b,.action-sku-options button span{display:block}.action-sku-options button span{margin-top:3px;color:var(--muted);font-size:11px}@media(max-width:800px){.action-sku-options{grid-template-columns:1fr}}

/* 店铺每日采集数据详情 */
.store-list-identity>span{flex:1}.store-detail-entry{flex:0 0 auto;padding:7px 10px;border-color:#cdddf1;background:#f5f9ff;color:#2d6bc4;font-size:10px;font-weight:700;white-space:nowrap}.store-detail-entry i{margin-left:3px;font-style:normal}.store-detail-entry:hover{border-color:#6c9ee4;background:#eaf3ff}
.modal-card.store-traffic-detail-modal{width:min(1480px,96vw);max-width:none;height:90vh;max-height:90vh;padding:0;overflow:hidden;background:#eef3f9}.store-traffic-detail-modal>.close{z-index:20;width:38px;height:38px;padding:0;border:1px solid rgba(255,255,255,.28);background:rgba(7,25,54,.3);color:#fff;line-height:36px}.store-detail-shell{display:flex;flex-direction:column;height:90vh}.store-detail-head{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;min-height:108px;margin:0;padding:22px 70px 22px 28px;background:radial-gradient(circle at 78% 0,rgba(91,153,255,.35),transparent 36%),linear-gradient(112deg,#102b55,#1d579f);color:#fff}.store-detail-head p{margin:0;color:#81b8ff;font-size:10px;font-weight:900;letter-spacing:2px}.store-detail-head h2{margin:5px 0;color:#fff;font-size:25px}.store-detail-head span{color:#c2d5ee;font-size:11px}.store-detail-head>div:last-child{min-width:120px;padding:11px 14px;border:1px solid rgba(255,255,255,.18);border-radius:11px;background:rgba(255,255,255,.09)}.store-detail-head small,.store-detail-head b{display:block}.store-detail-head small{color:#b9cdeb;font-size:10px}.store-detail-head b{margin-top:4px;font-size:18px}.store-detail-kpis{display:grid;grid-template-columns:repeat(6,1fr);flex:0 0 auto;gap:9px;padding:13px 18px}.store-detail-kpis article{padding:11px 13px;border:1px solid #dce6f2;border-radius:10px;background:#fff;box-shadow:0 5px 14px rgba(37,67,107,.05)}.store-detail-kpis span{color:#7a8ba2;font-size:10px}.store-detail-kpis b{display:block;margin-top:5px;color:#203c62;font-size:18px}.store-detail-kpis small{margin-left:3px;font-size:9px}.store-detail-note{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;padding:11px 19px;border-top:1px solid #dce5f0;border-bottom:1px solid #dce5f0;background:#f8fbff}.store-detail-note b{color:#294665;font-size:13px}.store-detail-note span{color:#8391a5;font-size:10px}.store-detail-table{flex:1;min-height:0;overflow:auto;background:#fff}.store-detail-table table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}.store-detail-table th,.store-detail-table td{height:42px;padding:8px 11px;border-right:1px solid #e8edf4;border-bottom:1px solid #e8edf4;color:#445a76;font-size:11px;text-align:center;white-space:nowrap}.store-detail-table th{position:sticky;top:0;z-index:3;height:39px;background:#eaf1fa;color:#566b86;font-size:10px}.store-detail-table th:first-child,.store-detail-table td:first-child{position:sticky;left:0;z-index:2;background:#f4f8fd;color:#284c78;font-weight:800}.store-detail-table th:first-child{z-index:4;background:#dfeafb}.store-detail-table tbody tr:hover td{background:#f3f8ff}.store-detail-table .group-behavior{background-color:#f7fbff}.store-detail-table th.group-deal{background:#e5f5ef;color:#237257}.store-detail-table td.group-deal{background-color:#f6fcf9}.store-detail-table th.group-search{background:#e6efff;color:#3566af}.store-detail-table td.group-search{background-color:#f5f8ff}.store-detail-table th.group-recommend{background:#eee9ff;color:#6b52a9}.store-detail-table td.group-recommend{background-color:#faf8ff}.store-detail-table .group-rate{color:#236ac9;font-weight:800}.store-detail-loading,.store-detail-error{display:grid;place-content:center;justify-items:center;gap:10px;min-height:500px;color:#76879d}.store-detail-loading i{width:26px;height:26px;border:3px solid #d6e2f1;border-top-color:#3479d5;border-radius:50%;animation:storeChartSpin .8s linear infinite}.store-detail-error h2{color:#263f61}@media(max-width:900px){.store-detail-kpis{grid-template-columns:repeat(3,1fr)}.store-list-identity{flex-wrap:wrap}.store-detail-entry{margin-left:42px}.store-detail-note{align-items:flex-start;flex-direction:column;gap:4px}}
