: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)}}
.password-change-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:8px}.password-change-actions button{width:100%;padding:13px;margin:0}.password-change-actions .primary{margin:0}
.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}
.other-platform-selection-button{border-color:#9fb8df;background:#fff;color:#2456a6}.other-platform-selection-form textarea{min-height:220px}.other-platform-image-field{grid-column:1/-1}.other-platform-image-preview{width:120px;height:120px;margin-top:8px;border:1px solid var(--line);border-radius:12px;object-fit:cover}.other-platform-selection-row{background:#fbfdff}.other-platform-detail-box p{min-height:140px;margin:0;white-space:pre-wrap;line-height:1.8;color:#29415f}

/* 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;flex:1;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}

/* 全站统一紧凑分页：总数、每页数量、数字页码和翻页箭头。 */
.compact-pagination{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;width:100%;box-sizing:border-box;padding:12px 4px!important;color:#52627a;font-size:13px}
.compact-pagination-meta,.compact-pagination-meta label,.compact-pagination-pages{display:flex;align-items:center;gap:8px}
.compact-pagination-meta{white-space:nowrap}
.compact-pagination-meta select{width:58px;height:34px;padding:0 7px;border:1px solid #cfd9e8;border-radius:6px;background:#fff;color:#243653;font:inherit;outline:none}
.compact-pagination-meta select:focus{border-color:#4b86f7;box-shadow:0 0 0 2px #dce9ff}
.compact-pagination-pages{justify-content:flex-end;gap:7px}
.compact-pagination-pages button{display:grid;place-items:center;min-width:34px;width:34px;height:34px;padding:0!important;border:1px solid #d7dfeb!important;border-radius:6px!important;background:#fff!important;color:#53647d!important;font:inherit;cursor:pointer}
.compact-pagination-pages button:hover:not(:disabled){border-color:#8bb0f8!important;color:#2563eb!important;background:#f4f8ff!important}
.compact-pagination-pages button.active{border-color:#3578ef!important;background:#3578ef!important;color:#fff!important;font-weight:700}
.compact-pagination-pages button:disabled{opacity:.42;cursor:default}
.compact-pagination-pages i{min-width:24px;color:#94a3b8;font-style:normal;text-align:center}
@media(max-width:760px){.compact-pagination{align-items:flex-start!important;flex-direction:column!important}.compact-pagination-pages{flex-wrap:wrap;justify-content:flex-start}}
.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:0}
#app main>header{min-height:76px;margin:0 -38px 20px;padding:12px 38px;background:rgba(255,255,255,.94);border-bottom:1px solid #e5ebf4;box-shadow:0 3px 14px rgba(27,55,98,.04)}
#app main>header h1{font-size:22px}.topbar-actions{position:relative;gap:17px}.topbar-notification{position:relative}.topbar-actions button{border:0;background:transparent}
.notification-button{position:relative;top:auto;left:auto;display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:9px;background:transparent;color:#172b4d;box-shadow:none}.notification-button:hover{border:0;background:#f2f6fb;color:#2563d8}.notification-button svg{width:23px;height:23px;stroke-width:1.85}.notification-button i{top:-7px;right:-8px;border:2px solid #fff;background:#ef3d4d;font-size:9px}
.notification-panel{position:absolute;top:45px;right:-132px;left:auto;width:380px}
.topbar-help{display:inline-flex;align-items:center;gap:7px;padding:7px 2px!important;color:#233754;font-weight:600}.topbar-help:hover{color:#2563d8!important}.topbar-help>span{display:grid;place-items:center;width:21px;height:21px;border:1.5px solid currentColor;border-radius:50%;font-size:14px;font-weight:800}
.topbar-account{position:relative;margin-left:2px}.account-menu-button{display:flex;align-items:center;gap:9px;padding:3px 0!important;color:#15243d}.account-menu-button:hover{background:transparent!important}.user-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:2px solid #edf1f5;border-radius:50%;background:linear-gradient(135deg,#d9b394,#6f4c3f);color:#fff;font-size:15px;font-weight:800;box-shadow:0 2px 7px rgba(38,53,75,.18)}.topbar-account .user-badge{display:flex;min-width:72px;margin:0;text-align:left}.topbar-account .user-badge b{font-size:14px;line-height:1.25}.topbar-account .user-badge span{margin-top:3px;color:#7d8da3;font-size:11px;white-space:nowrap}.account-menu-caret{margin-left:1px;color:#71839d;font-size:18px;line-height:1;transform:translateY(-2px)}
.account-menu-panel{position:absolute;z-index:100;top:51px;right:0;width:198px;overflow:hidden;border:1px solid #e0e7f0;border-radius:12px;background:#fff;box-shadow:0 16px 35px rgba(20,43,78,.18)}.account-menu-summary{padding:13px 15px 11px;border-bottom:1px solid #edf1f5}.account-menu-summary b,.account-menu-summary span{display:block}.account-menu-summary b{color:#152b4f;font-size:14px}.account-menu-summary span{margin-top:4px;color:#8492a6;font-size:11px}.account-menu-panel button{display:block;width:100%;padding:11px 15px!important;text-align:left;color:#30425d;font-size:13px}.account-menu-panel button:hover{background:#f3f7fc!important;color:#1f5eff!important}.account-menu-panel .account-menu-logout{border-top:1px solid #edf1f5;color:#bd3443}.account-menu-panel .account-menu-logout:hover{background:#fff5f6!important;color:#d62839!important}
aside nav{min-height:0;overflow-y:auto}
.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}
.clearance-filters{grid-template-columns:minmax(220px,1.55fr) repeat(3,minmax(150px,1fr)) auto auto}
.clearance-filters input,.clearance-filters select{min-width:0}
.clearance-create-button{white-space:nowrap}
@media(max-width:1000px){.clearance-filters{grid-template-columns:1fr 1fr}.clearance-create-button{white-space:normal}}
.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(285px,1.4fr)) 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,.product-catalog-range-filter{display:flex;align-items:center;height:44px;padding:0 8px 0 10px;border:1px solid #d8e2ef;border-radius:9px;background:#fff}.product-catalog-date-filter>span,.product-catalog-range-filter>span:first-child{flex:0 0 auto;margin-right:8px;color:#718097;font-size:11px}.product-catalog-range-display{min-width:0;flex:1;height:40px!important;padding:0 4px!important;border:0!important;background:transparent!important;color:#334155!important;font-size:12px!important;cursor:pointer}.product-catalog-range-display:focus{outline:0!important;box-shadow:none!important}.product-range-shortcut{flex:0 0 28px!important;width:28px!important;height:28px!important;padding:0!important;border:0!important;border-radius:7px!important;background:#edf4ff!important;color:#3478df!important;font-size:14px!important}.product-range-shortcut:hover{background:#deebff!important}.product-date-preset-popover{position:fixed;z-index:2500;display:grid;grid-template-columns:126px 1fr;width:700px;padding:0;border:1px solid #dce6f2;border-radius:12px;background:#fff;box-shadow:0 14px 38px rgba(31,57,92,.18);overflow:hidden}.product-date-preset-popover aside{display:grid;align-content:start;padding:10px 8px;border-right:1px solid #e6edf5;background:#fbfdff}.product-date-preset-popover strong{padding:7px 10px;color:#64748b;font-size:11px}.product-date-preset-popover aside button{height:32px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:#475569;text-align:left}.product-date-preset-popover aside button:hover{background:#eef5ff;color:#2563eb}.product-date-preset-popover aside button.clear{margin-top:4px;border-top:1px solid #edf1f6;border-radius:0 0 7px 7px;color:#64748b}.product-date-preset-popover main{padding:10px 14px 14px}.product-date-calendar-nav{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;gap:8px;margin-bottom:5px}.product-date-calendar-nav button{height:30px;border:0;border-radius:7px;background:#f2f6fb;color:#4b6381;font-size:20px}.product-date-pick-hint{color:#718097;font-size:11px;text-align:center}.product-date-calendars{display:grid;grid-template-columns:1fr 1fr;gap:20px}.product-calendar-month header{text-align:center;padding:6px}.product-calendar-month header b{font-size:13px}.product-calendar-week,.product-calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.product-calendar-week span{padding:5px 0;color:#8795a8;font-size:11px;text-align:center}.product-calendar-days button{height:30px;padding:0;border:0;border-radius:7px;background:#fff;color:#334155;font-size:12px}.product-calendar-days button:hover{background:#eaf2ff;color:#2563eb}.product-calendar-days button.muted{color:#bdc5d0}.product-calendar-days button.in-range{border-radius:0;background:#eaf2ff;color:#2563eb}.product-calendar-days button.selected{background:#3478df;color:#fff;font-weight:700}
.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(7,minmax(100px,1fr));gap:8px;padding:4px 24px 16px;background:#f8fbff}
.y1-purchase-summary article{position:relative;overflow:hidden;padding:10px 12px;border:1px solid #dce6f3;border-radius:10px;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;overflow:hidden;color:#75859d;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.y1-purchase-summary b{display:block;margin-top:4px;color:#10254a;font-size:18px;line-height:1.2}.y1-purchase-summary small{margin-left:3px;font-size:11px;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-result-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.y1-purchase-result-actions .primary{height:36px;padding:0 15px;white-space:nowrap}.y1-purchase-result-actions small{margin:0}
.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}
.y1-purchase-multi-picker>button{position:relative;padding-right:48px}.y1-purchase-multi-picker>button.selected{border-color:#2f73dc;background:#eef5ff;box-shadow:0 0 0 2px rgba(47,115,220,.12)}.y1-purchase-multi-picker>button>em{position:absolute;right:9px;top:9px;padding:3px 6px;border-radius:999px;background:#edf2f8;color:#65758c;font-size:10px;font-style:normal}.y1-purchase-multi-picker>button.selected>em{background:#2f73dc;color:#fff}
.y1-selected-skus{display:grid;gap:9px;margin-bottom:14px}.y1-selected-head{display:flex;align-items:center;justify-content:space-between;color:#17345f}.y1-selected-head span{color:#72839a;font-size:12px}.y1-selected-sku{display:grid;grid-template-columns:50px minmax(180px,1fr) minmax(180px,.8fr) 110px 64px;align-items:center;gap:10px;padding:10px;border:1px solid #cbdcf1;border-radius:11px;background:#fff}.y1-selected-sku>img,.y1-selected-sku>i{width:48px;height:48px;border-radius:8px;object-fit:cover;background:#edf2f7}.y1-selected-sku>i{display:grid;place-items:center;color:#91a0b5;font-size:11px;font-style:normal}.y1-selected-sku>span{min-width:0}.y1-selected-sku>span b,.y1-selected-sku>span small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.y1-selected-sku>span small{margin-top:4px;color:#76869b;font-size:11px}.y1-selected-sku label{margin:0;color:#61738c;font-size:11px}.y1-selected-sku input{box-sizing:border-box;width:100%;height:36px;margin-top:4px}.y1-selected-sku button{height:36px;padding:0 9px}.y1-multi-quantity-tip{align-self:end;min-height:42px;padding:11px 12px;border:1px solid #d9e4f2;border-radius:9px;background:#f7faff;color:#71839b;font-size:12px}
.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}.y1-selected-sku{grid-template-columns:48px 1fr 1fr}.y1-selected-sku label,.y1-selected-sku button{grid-column:auto}.y1-selected-sku button{grid-column:3}}

/* 采购中心统一入口 */
.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(190px,1.25fr) repeat(4,minmax(105px,.62fr)) repeat(2,minmax(118px,.7fr)) auto;align-items:end;gap:8px;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 12px;white-space:nowrap}.returns1688-filter-actions .primary{padding:0 15px}.returns1688-count{padding:10px 24px;color:#8190a5;font-size:12px;background:#fff}
#returns1688Page>.returns1688-kpis{margin-top:0}
.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}
.product-stage.tag-clearance{margin-left:0;background:#fff0e6;color:#c64f16;font-size:10px}

/* 产品排行榜：同一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 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:7%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(2){width:13%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(3){width:7%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(4){width:6%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(5){width:5%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(6){width:6%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(7){width:6%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(8){width:5%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(9){width: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),
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(14){width:5%!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:4%!important}
.y1-purchase-scroll.no-horizontal-scroll th:nth-child(17){width: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-mode-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:5px;border:1px solid rgba(255,255,255,.16);border-radius:15px;background:rgba(3,17,42,.24);backdrop-filter:blur(8px)}.task-mode-switch button{display:flex;align-items:center;gap:10px;min-width:170px;padding:10px 13px;border:1px solid transparent;border-radius:11px;background:transparent;color:#d4e2f6;text-align:left;box-shadow:none}.task-mode-switch button:hover{background:rgba(255,255,255,.08)}.task-mode-switch button.active{border-color:rgba(255,255,255,.72);background:#fff;color:#17335d;box-shadow:0 8px 20px rgba(2,17,43,.2)}.task-mode-switch i{display:grid;width:34px;height:34px;place-items:center;border-radius:9px;background:rgba(255,255,255,.13);color:#fff;font-style:normal;font-weight:900}.task-mode-switch button.active i{background:#e7efff;color:#2867c9}.task-mode-switch span{display:grid;gap:2px;color:inherit}.task-mode-switch b{font-size:14px}.task-mode-switch small{color:inherit;font-size:10px;opacity:.7}.task-workspace{animation:taskWorkspaceIn .18s ease-out}.task-workspace.hidden{display:none!important}@keyframes taskWorkspaceIn{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}
.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;align-items:center;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{gap:4px;background:#fff0f0;color:#dc2626}.task-overdue>i{display:inline-grid;width:14px;height:14px;border-radius:50%;background:#dc2626;color:#fff;font-size:10px;font-style:normal;line-height:1;place-items:center}
.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)}}

.assessment-board{margin-top:14px;padding:0 20px 20px}.daily-workspace-head{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:22px 3px 4px}.daily-workspace-head h2{margin:4px 0;color:#102342;font-size:23px}.daily-workspace-head p{margin:0;color:#8492a8;font-size:12px}.task-section-heading{padding:24px 2px 0}.task-section-heading h2{margin:4px 0;color:#102342;font-size:22px}.task-section-heading p{margin:0;color:#8492a8;font-size:12px}.task-section-eyebrow{display:inline-block;color:#2d6fd2;font-size:12px;font-weight:900;letter-spacing:1px}.assessment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:14px}.assessment-list>.empty{grid-column:1/-1}.assessment-card{padding:16px;border:1px solid #dfe8f5;border-radius:14px;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 6px 18px rgba(31,69,125,.05)}.assessment-card header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}.assessment-avatar{display:grid;width:40px;height:40px;place-items:center;border-radius:12px;background:#e6efff;color:#2563c5;font-weight:900}.assessment-card h3{margin:0 0 3px;color:#102342;font-size:16px}.assessment-card header span,.assessment-card header small{color:#8492a8;font-size:11px}.assessment-card header>strong{color:#1e5fbd;font-size:24px}.assessment-flow{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:15px 0 12px;padding:11px 12px;border-radius:10px;background:#f1f6fd}.assessment-flow span{display:grid;gap:2px;color:#718198;font-size:11px;text-align:center}.assessment-flow b{color:#203b63;font-size:17px}.assessment-flow i{color:#a8b8cf;font-style:normal}.assessment-flow .done b{color:#0d9568}.assessment-progress{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}.assessment-progress>div{height:8px;overflow:hidden;border-radius:20px;background:#e6edf7}.assessment-progress i{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,#377cf0,#29b98a)}.assessment-progress>b{color:#3567ae;font-size:12px}.assessment-card footer{display:flex;justify-content:space-between;gap:10px;margin-top:11px;color:#7788a0;font-size:11px}
.assessment-target{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:15px 0 12px}.assessment-target span{display:grid;gap:3px;padding:9px;border-radius:9px;background:#f1f6fd;color:#7788a0;font-size:11px;text-align:center}.assessment-target b{color:#203b63;font-size:16px}.assessment-task-card footer{align-items:center}.assessment-task-card footer button{height:32px;padding:0 11px}.assessment-empty{padding:28px!important;border:1px dashed #cbd9eb;border-radius:12px;background:#f8fbff}
@media(max-width:1050px){.assessment-list{grid-template-columns:1fr}.task-hero{align-items:flex-start;flex-direction:column}.task-mode-switch{width:100%}.task-mode-switch button{min-width:0}}@media(max-width:650px){.task-mode-switch{grid-template-columns:1fr}.assessment-flow{align-items:stretch;display:grid;grid-template-columns:1fr 1fr}.assessment-flow i{display:none}.assessment-card footer{align-items:flex-start;flex-direction:column}.daily-workspace-head{align-items:flex-start;flex-direction:column}}

/* 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}
}

/* Task collaboration: compact, independent assessment/daily workspaces. */
#taskCenterPage{width:100%;max-width:none;margin:0}
#taskCenterPage .task-hero{width:100%;min-height:100px;margin-bottom:14px;padding:20px 24px;border-radius:14px;box-shadow:0 10px 24px rgba(15,44,92,.12)}
#taskCenterPage .task-hero h2{margin-bottom:3px;font-size:23px}
#taskCenterPage .task-hero>div:first-child>p{margin-bottom:4px;font-size:10px}
#taskCenterPage .task-mode-switch{gap:5px;padding:4px;border-radius:12px}
#taskCenterPage .task-mode-switch button{min-width:172px;padding:7px 10px;border-radius:9px}
#taskCenterPage .task-mode-switch i{width:30px;height:30px;border-radius:8px}
#taskCenterPage .assessment-board{width:100%;margin-top:0;padding:0 18px 18px;border-radius:14px}
#taskCenterPage .assessment-board>.task-board-head{align-items:center;padding:14px 1px 10px}
#taskCenterPage .assessment-board .task-board-head h2{margin:1px 0 2px;font-size:20px}
#taskCenterPage .assessment-board .task-board-head p{font-size:11px}
#taskCenterPage .assessment-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding-top:10px}
#taskCenterPage .assessment-card{padding:12px;border-radius:11px;box-shadow:0 4px 12px rgba(31,69,125,.045)}
#taskCenterPage .assessment-card header{gap:8px}
#taskCenterPage .assessment-avatar{width:34px;height:34px;border-radius:9px}
#taskCenterPage .assessment-card h3{margin-bottom:1px;font-size:15px}
#taskCenterPage .assessment-card header>strong{font-size:28px;line-height:1}
#taskCenterPage .assessment-target{gap:5px;margin:10px 0 9px}
#taskCenterPage .assessment-target span{padding:6px 4px;border-radius:7px;font-size:10px}
#taskCenterPage .assessment-target b{font-size:14px}
#taskCenterPage .assessment-progress>div{height:7px}
#taskCenterPage .assessment-card footer{margin-top:8px;gap:6px;font-size:10px}
#taskCenterPage .assessment-card-actions{display:flex;gap:5px;margin-left:auto}#taskCenterPage .assessment-card-actions button{height:30px;padding:0 9px;font-size:11px}.task-delete-button{border-color:#f2caca!important;background:#fff5f5!important;color:#cf3f3f!important}.task-delete-button:hover{border-color:#e87575!important;background:#ffecec!important}
#taskCenterPage .assessment-empty{padding:22px!important}
#taskCenterPage .daily-workspace-head{padding:14px 2px 2px}
#taskCenterPage .daily-workspace-head h2{margin:1px 0 2px;font-size:20px}
#taskCenterPage .task-kpis{gap:8px;margin:9px 0}
#taskCenterPage .task-kpis article{padding:10px 12px;border-radius:10px;box-shadow:0 4px 12px rgba(30,64,120,.045)}
#taskCenterPage .task-kpis b{font-size:20px}
#taskCenterPage .task-board{padding:12px 14px 14px;border-radius:13px}
#taskCenterPage .task-toolbar{grid-template-columns:minmax(230px,1.5fr) repeat(3,minmax(120px,.7fr)) auto auto;gap:7px;padding:8px;border-radius:10px}
#taskCenterPage .task-toolbar input,#taskCenterPage .task-toolbar select,#taskCenterPage .task-toolbar button{height:36px}
#taskCenterPage .task-board>.task-board-head{padding:13px 1px 8px}
#taskCenterPage .task-board>.task-board-head h2{font-size:18px}
#taskCenterPage .task-list{gap:7px;padding-top:8px}
#taskCenterPage .task-card{grid-template-columns:minmax(230px,1.2fr) minmax(320px,1.35fr) minmax(130px,.5fr) minmax(220px,auto);min-height:88px;padding:10px 12px;column-gap:13px;border-radius:10px}
#taskCenterPage .task-card h3{font-size:15px}
#taskCenterPage .task-card .task-meta{padding:7px 9px;gap:5px 12px}
#taskCenterPage .task-card footer button{height:32px;padding:0 10px}

/* 事项代办：独立工作区、品牌区快捷入口和持续草稿。 */
.matter-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.matter-board{padding:16px}.matter-toolbar{grid-template-columns:minmax(260px,1fr) 210px 150px auto auto}.matter-list{display:grid;gap:10px}.matter-card{display:grid;grid-template-columns:145px minmax(300px,1fr) minmax(190px,260px) auto;align-items:stretch;gap:14px;padding:13px 14px;border:1px solid #dfe7f2;border-left:4px solid #f59e0b;border-radius:12px;background:#fff;box-shadow:0 6px 16px rgba(28,55,96,.05)}.matter-card.completed{border-left-color:#21a16b;background:#fbfdfc}.matter-time{display:flex;flex-direction:column;justify-content:center;gap:7px;padding-right:13px;border-right:1px solid #edf1f6}.matter-time b{color:#17365f;font-size:13px}.matter-time span{width:max-content;padding:3px 8px;border-radius:999px;background:#fff1d9;color:#a85d08;font-size:10px;font-weight:800}.matter-card.completed .matter-time span{background:#e4f6ed;color:#157348}.matter-content{min-width:0}.matter-content header{display:flex;align-items:center;justify-content:space-between;gap:14px}.matter-content h3{margin:0;color:#10294e;font-size:15px}.matter-content header>span{flex:0 0 auto;color:#7a899e;font-size:11px}.matter-content p{margin:8px 0 0;color:#53657e;font-size:13px;line-height:1.6;white-space:pre-wrap}.matter-conclusion{display:flex;gap:8px;margin-top:8px;padding:7px 9px;border-radius:8px;background:#edf8f3;color:#376957;font-size:11px}.matter-product{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:10px 12px;border-radius:10px;background:#f4f7fb}.matter-product b,.matter-product small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.matter-product b{color:#24456f;font-size:12px}.matter-product small{margin-top:5px;color:#8290a4;font-size:10px}.matter-product.empty-product{color:#98a4b5;font-size:11px}.matter-card footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;padding-left:12px;border-left:1px solid #edf1f6}.matter-card footer button{height:32px;padding:0 10px;white-space:nowrap}.matter-empty{padding:34px!important;border:1px dashed #ccd9e9;border-radius:11px;background:#f8fbff}.matter-form-head .task-distribution-mark{background:linear-gradient(135deg,#f59e0b,#d97706)}.matter-quick-entry{position:relative;flex:0 0 34px;width:34px;height:34px;padding:0;border:1px solid #f6b52f66;border-radius:9px;background:linear-gradient(135deg,#ffb21a,#f28a00);color:#fff;box-shadow:0 7px 16px #020d214d;font-size:16px;font-weight:900}.matter-quick-entry:hover{transform:translateY(-1px);border-color:#ffd36f;background:linear-gradient(135deg,#ffc13b,#f49a0a)}.matter-quick-entry.has-draft:after{content:'';position:absolute;right:-2px;top:-2px;width:8px;height:8px;border:2px solid #081d3b;border-radius:50%;background:#40d69a}.matter-modal textarea{resize:vertical}
@media(max-width:1180px){.matter-card{grid-template-columns:130px minmax(260px,1fr) minmax(170px,220px)}.matter-card footer{grid-column:2/4;border-left:0;padding:0}.matter-toolbar{grid-template-columns:1fr 1fr 1fr auto auto}}
@media(max-width:760px){.matter-card{grid-template-columns:1fr}.matter-time,.matter-card footer{border:0;padding:0}.matter-product{min-height:54px}.matter-card footer{grid-column:auto;justify-content:flex-start}.matter-toolbar{grid-template-columns:1fr}}
@media(max-width:1300px){#taskCenterPage .assessment-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){#taskCenterPage .assessment-list{grid-template-columns:1fr}#taskCenterPage .task-toolbar{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:700px){#taskCenterPage .task-toolbar{grid-template-columns:1fr}#taskCenterPage .assessment-board .task-board-head{align-items:flex-start;flex-direction:column;gap:10px}}

/* 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:flex!important;align-items:center;justify-content:center;height:51px;min-width:0!important;box-sizing:border-box;font-size:9px!important;overflow:hidden;text-overflow:ellipsis}
.product-center-table-scroll .product-pricing-empty.product-pricing-with-detail{overflow:visible!important}
.product-center-table-scroll .product-tag-badges{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px;width:100%;min-width:0;overflow:visible;white-space:nowrap}
.product-center-table-scroll .product-tag-badges .product-stage{box-sizing:border-box;flex:0 0 auto;max-width:100%;margin:0!important;padding:4px 5px;font-size:9px;overflow:visible;text-overflow:clip}
.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:10px;padding:12px 18px 0}.store-chart-legend label{display:flex;align-items:center;gap:7px;padding:5px 9px;border:1px solid #e0e8f2;border-radius:8px;background:#fff;color:#8290a3;font-size:11px;cursor:pointer;opacity:.62}.store-chart-legend label.active{color:#526780;opacity:1;box-shadow:0 3px 9px rgba(37,74,125,.07)}.store-chart-legend input{width:14px;height:14px;margin:0;accent-color:#377ddd}.store-chart-legend i{width:18px;height:3px;border-radius:3px}.store-line-chart{position:relative;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{pointer-events:none;stroke:#fff;stroke-width:2}.store-chart-hover-zone{fill:transparent;pointer-events:all;cursor:crosshair}.store-chart-hover-zone:hover{fill:rgba(37,99,235,.045)}.store-chart-tooltip{position:absolute;z-index:5;display:none;min-width:190px;padding:10px 12px;border:1px solid #cfdaea;border-radius:10px;background:rgba(15,36,67,.94);box-shadow:0 10px 25px rgba(10,31,61,.24);color:#fff;pointer-events:none}.store-chart-tooltip.visible{display:grid;gap:7px}.store-chart-tooltip>small{padding-bottom:6px;border-bottom:1px solid rgba(255,255,255,.14);color:#b9cceb;font-size:10px}.store-chart-tooltip span{display:grid;grid-template-columns:8px minmax(90px,1fr) auto;align-items:center;gap:7px;font-size:11px}.store-chart-tooltip span i{width:7px;height:7px;border-radius:50%}.store-chart-tooltip span b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-chart-tooltip span strong{font-size:12px}
@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 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}}

/* 全站筛选控件：统一为日期筛选框的浅边框、圆角和聚焦反馈。 */
:where(.selection-filters,.sku-filters,.y2-filters,.warehouse-filters,.clearance-filters,.action-filters,.summary-filters,.database-filters,.product-center-filters,.purchase-filters,.y1-purchase-filters,.returns1688-filters,.collection-log-filters,.activity-margin-filters,.task-toolbar,.matter-toolbar,.competitor-toolbar,.product-daily-toolbar,.store-traffic-filters)>:is(input,select),
:where(.database-filters,.returns1688-filters,.collection-log-filters,.product-daily-toolbar,.store-traffic-filters) label>:is(input,select){min-width:0;height:44px;padding:0 13px;border:1px solid #d8e2ef!important;border-radius:10px!important;outline:0;background:#fff;color:#203553;box-shadow:0 1px 2px rgba(23,50,93,.03);transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}
:where(.selection-filters,.sku-filters,.y2-filters,.warehouse-filters,.clearance-filters,.action-filters,.summary-filters,.database-filters,.product-center-filters,.purchase-filters,.y1-purchase-filters,.returns1688-filters,.collection-log-filters,.activity-margin-filters,.task-toolbar,.matter-toolbar,.competitor-toolbar,.product-daily-toolbar,.store-traffic-filters)>:is(input,select):hover,
:where(.database-filters,.returns1688-filters,.collection-log-filters,.product-daily-toolbar,.store-traffic-filters) label>:is(input,select):hover{border-color:#b9cbe3!important}
:where(.selection-filters,.sku-filters,.y2-filters,.warehouse-filters,.clearance-filters,.action-filters,.summary-filters,.database-filters,.product-center-filters,.purchase-filters,.y1-purchase-filters,.returns1688-filters,.collection-log-filters,.activity-margin-filters,.task-toolbar,.matter-toolbar,.competitor-toolbar,.product-daily-toolbar,.store-traffic-filters)>:is(input,select):focus,
:where(.database-filters,.returns1688-filters,.collection-log-filters,.product-daily-toolbar,.store-traffic-filters) label>:is(input,select):focus{border-color:#4b86e8!important;box-shadow:0 0 0 3px rgba(75,134,232,.10)}
.product-catalog-date-filter,.product-catalog-range-filter{border-color:#d8e2ef;border-radius:10px;transition:border-color .16s ease,box-shadow .16s ease}.product-catalog-date-filter:hover,.product-catalog-range-filter:hover{border-color:#b9cbe3}.product-catalog-date-filter:focus-within,.product-catalog-range-filter:focus-within{border-color:#4b86e8;box-shadow:0 0 0 3px rgba(75,134,232,.10)}
main>div[id$="Page"]>.panel>.panel-head>.actions>:is(input,select),
main>div[id$="Page"]>.panel>.panel-head>.inline>:is(input,select){height:44px;padding:0 13px;border:1px solid #d8e2ef!important;border-radius:10px!important;outline:0;background:#fff;color:#203553;transition:border-color .16s ease,box-shadow .16s ease}
main>div[id$="Page"]>.panel>.panel-head>:is(.actions,.inline)>:is(input,select):hover{border-color:#b9cbe3!important}
main>div[id$="Page"]>.panel>.panel-head>:is(.actions,.inline)>:is(input,select):focus{border-color:#4b86e8!important;box-shadow:0 0 0 3px rgba(75,134,232,.10)}

.notification-button{position:absolute;z-index:40;top:4px;left:2px;display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid rgba(132,171,230,.24);border-radius:9px;background:rgba(17,48,94,.86);color:#a9c5ed;box-shadow:0 7px 18px rgba(0,8,24,.2)}
aside{z-index:60}
.notification-button:hover{border-color:#5f98e8;background:#173d75;color:#fff}.notification-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.notification-button i{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border:2px solid #071936;border-radius:10px;background:#ef3d4d;color:#fff;font-size:9px;font-style:normal;font-weight:900;line-height:1}
.notification-panel{position:absolute;z-index:90;top:39px;left:6px;width:380px;max-height:min(560px,calc(100vh - 60px));overflow:hidden;border:1px solid #dce6f3;border-radius:15px;background:#fff;color:#1b3150;box-shadow:0 22px 60px rgba(1,18,45,.3)}
.notification-panel>header{display:flex;align-items:flex-end;justify-content:space-between;margin:0;padding:18px 19px 15px;border-bottom:1px solid #e8eef6;background:linear-gradient(135deg,#f7faff,#edf5ff)}.notification-panel header small{display:block;margin-bottom:4px;color:#3976d5;font-size:8px;font-weight:900;letter-spacing:1.8px}.notification-panel header h3{margin:0;font-size:17px}.notification-panel header>span{color:#7c8da5;font-size:10px}
.notification-list{max-height:470px;overflow:auto}.notification-list article{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:start;gap:11px;padding:15px 16px;border-bottom:1px solid #edf1f6}.notification-list article:hover{background:#f8fbff}.notification-list article>i{width:8px;height:8px;margin-top:5px;border-radius:50%;background:#ef3d4d;box-shadow:0 0 0 4px #ffe7e9}.notification-list b,.notification-list p,.notification-list small{display:block}.notification-list b{font-size:12px}.notification-list p{margin:5px 0;color:#405875;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-list small{color:#8998ab;font-size:9px;line-height:1.5}.notification-list button{align-self:center;padding:7px 10px;border-color:#cfe0f7;background:#edf5ff;color:#2564c8;font-size:10px;font-weight:800}.notification-empty{margin:0;padding:38px 20px;text-align:center;color:#8b99ab;font-size:11px}
@media(max-width:600px){.notification-panel{position:fixed;top:52px;left:10px;width:calc(100vw - 20px)}}
.modal-card.login-overdue-modal{width:min(620px,94vw);padding:0;overflow:hidden}.login-overdue-alert>header{display:flex;align-items:flex-start;justify-content:flex-start;gap:15px;margin:0;padding:25px 28px 21px;background:linear-gradient(125deg,#fff5f5,#fffafb);border-bottom:1px solid #f8dada}.login-overdue-alert>header>i{display:grid;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:#e33f4f;color:#fff;font-size:25px;font-style:normal;font-weight:900;place-items:center;box-shadow:0 8px 20px rgba(227,63,79,.22)}.login-overdue-alert header small{display:block;margin:1px 0 5px;color:#dc3545;font-size:9px;font-weight:900;letter-spacing:1.7px}.login-overdue-alert h2{margin:0;color:#7e1f2a;font-size:21px}.login-overdue-alert header p{margin:7px 0 0;color:#8c6268;font-size:12px;line-height:1.55}.login-overdue-list{display:grid;max-height:390px;overflow:auto;padding:12px 18px}.login-overdue-list>button{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;padding:13px 12px;border:0;border-bottom:1px solid #edf1f6;border-radius:0;text-align:left}.login-overdue-list>button:hover{border-color:#edf1f6;background:#f7faff}.login-overdue-list span,.login-overdue-list b,.login-overdue-list small{display:block;min-width:0}.login-overdue-list b{overflow:hidden;color:#213956;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.login-overdue-list small{margin-top:5px;color:#e0525f;font-size:10px}.login-overdue-list em{flex:0 0 auto;background:#edf4ff;color:#2864c4;font-size:10px;font-weight:800}.login-overdue-more{margin:0;padding:0 29px 12px;color:#7b8ba1;font-size:11px}.login-overdue-alert>footer{display:flex;justify-content:flex-end;gap:9px;padding:16px 28px;border-top:1px solid #e8edf4;background:#f8fafd}.login-overdue-alert>footer button{min-width:110px}.login-overdue-alert>footer .primary{width:auto;margin:0}@media(max-width:600px){.login-overdue-alert>header{padding:21px 20px}.login-overdue-alert>footer{padding:14px 20px}.login-overdue-list{padding:10px 12px}}
.simple-action-form .action-type-field{grid-column:1/-1}.simple-action-form .action-type-inline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-height:none;overflow:visible}.simple-action-form .action-type-inline label{width:auto;margin:0}@media(max-width:760px){.simple-action-form .action-type-inline{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Task board: information-dense owner-first execution row. */
#taskCenterPage .task-card{grid-template-columns:minmax(170px,.62fr) minmax(360px,1.55fr) minmax(285px,.92fr) minmax(125px,.45fr) 82px;grid-template-areas:"owner main schedule progress actions";align-items:center;min-height:78px;padding:9px 12px;column-gap:14px;row-gap:0;overflow:visible}
#taskCenterPage .task-owner{grid-area:owner;display:flex;align-items:center;min-width:0;gap:10px;padding-right:13px;border-right:1px solid #e8eef6}
#taskCenterPage .task-owner>i{display:grid;flex:0 0 38px;width:38px;height:38px;place-items:center;border-radius:11px;background:linear-gradient(145deg,#dceaff,#edf5ff);color:#2766c5;font-size:16px;font-style:normal;font-weight:900;box-shadow:inset 0 0 0 1px #c8dcfb}
#taskCenterPage .task-owner>div{display:grid;min-width:0;gap:1px}#taskCenterPage .task-owner span{color:#8796aa;font-size:10px}#taskCenterPage .task-owner b{overflow:hidden;color:#102f5a;font-size:15px;text-overflow:ellipsis;white-space:nowrap}#taskCenterPage .task-owner small{overflow:hidden;color:#5f7593;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
#taskCenterPage .task-main{grid-area:main;min-width:0;padding-right:4px}#taskCenterPage .task-main>header{display:flex;align-items:center;justify-content:space-between;gap:8px}#taskCenterPage .task-main>header>div{display:flex;align-items:center;gap:5px}#taskCenterPage .task-main>header>b{color:#345177;font-size:11px}#taskCenterPage .task-main h3{margin:5px 0 2px;color:#102544;font-size:15px;line-height:1.3}#taskCenterPage .task-main>p{display:block;overflow:hidden;margin:0;color:#66778e;font-size:12px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}
#taskCenterPage .task-main .task-conclusion{display:flex;margin:5px 0 0;padding:5px 8px;font-size:11px}#taskCenterPage .task-main .task-conclusion span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#taskCenterPage .task-schedule{grid-area:schedule;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:7px;border-radius:9px;background:#f5f8fc}#taskCenterPage .task-schedule>span{display:grid;min-width:0;gap:3px;padding:0 7px;border-right:1px solid #e4ebf4}#taskCenterPage .task-schedule>span:last-child{border-right:0}#taskCenterPage .task-schedule small{color:#8795a8;font-size:10px;white-space:nowrap}#taskCenterPage .task-schedule b{overflow:hidden;color:#24466f;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
#taskCenterPage .task-card .task-progress{grid-area:progress;min-width:115px;margin:0}#taskCenterPage .task-card footer{grid-area:actions;align-self:center;display:block;max-width:none;margin:0;padding:0;border:0}
#taskCenterPage .task-action-menu{position:relative}#taskCenterPage .task-action-menu summary{display:flex;align-items:center;justify-content:center;gap:6px;height:34px;padding:0 12px;border:1px solid #cfddf0;border-radius:9px;background:#f7faff;color:#285d9f;font-size:12px;font-weight:800;cursor:pointer;list-style:none}#taskCenterPage .task-action-menu summary::-webkit-details-marker{display:none}#taskCenterPage .task-action-menu summary i{font-style:normal;font-size:11px;transition:transform .15s}#taskCenterPage .task-action-menu[open] summary i{transform:rotate(180deg)}
#taskCenterPage .task-action-menu>div{position:absolute;z-index:30;right:0;top:39px;display:grid;width:126px;padding:6px;border:1px solid #d9e3f1;border-radius:10px;background:#fff;box-shadow:0 12px 30px rgba(19,45,83,.18)}#taskCenterPage .task-action-menu button{width:100%;height:32px!important;padding:0 10px!important;border:0!important;background:transparent!important;color:#334c6d!important;text-align:left}#taskCenterPage .task-action-menu button:hover{background:#edf4ff!important;color:#225fb9!important}#taskCenterPage .task-action-menu .task-delete-button{color:#cf3f3f!important}#taskCenterPage .task-action-menu .task-delete-button:hover{background:#fff0f0!important}
@media(max-width:1320px){#taskCenterPage .task-card{grid-template-columns:165px minmax(300px,1fr) 270px 78px;grid-template-areas:"owner main schedule actions" "owner main progress actions";row-gap:6px}#taskCenterPage .task-card .task-progress{align-self:end}}
@media(max-width:900px){#taskCenterPage .task-card{grid-template-columns:160px minmax(0,1fr) 78px;grid-template-areas:"owner main actions" "schedule schedule schedule" "progress progress progress";padding:11px}#taskCenterPage .task-schedule{margin-top:3px}}
@media(max-width:620px){#taskCenterPage .task-card{grid-template-columns:1fr 74px;grid-template-areas:"owner actions" "main main" "schedule schedule" "progress progress";gap:9px}#taskCenterPage .task-owner{border-right:0}#taskCenterPage .task-schedule{grid-template-columns:1fr}#taskCenterPage .task-schedule>span{grid-template-columns:90px 1fr;border-right:0}}
.provider-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.provider-metrics article{padding:17px 19px;border:1px solid #dce6f2;border-radius:12px;background:#fff}.provider-metrics span,.provider-metrics b{display:block}.provider-metrics span{color:#788ba4;font-size:11px}.provider-metrics b{margin-top:7px;color:#183b68;font-size:25px}.provider-layout{display:grid;grid-template-columns:minmax(310px,.8fr) minmax(520px,1.35fr);gap:16px}.provider-layout>.panel{margin:0}.provider-cards{display:grid;gap:9px}.provider-card{position:relative;display:grid;grid-template-columns:1fr auto;gap:6px;width:100%;padding:13px 14px;border:1px solid #dce5f1;border-radius:11px;background:#fff;text-align:left}.provider-card:hover,.provider-card.selected{border-color:#5b8fe1;background:#f3f7ff;box-shadow:0 0 0 2px rgba(61,123,218,.08)}.provider-card>span{display:flex;align-items:center;gap:9px}.provider-card>span i{display:grid;width:24px;height:24px;place-items:center;border-radius:7px;background:#e8f1ff;color:#2b67bc;font-style:normal}.provider-card small{grid-column:1;color:#71839c}.provider-card>em{grid-column:2;grid-row:1/3;align-self:center}.provider-card>strong{grid-column:1;color:#2a72ce;font-size:10px}.provider-badge.healthy{background:#dff8eb;color:#1b8157!important}.provider-badge.down{background:#fff0df;color:#bd671c!important}.provider-badge.unknown{background:#edf1f6;color:#687a91!important}.provider-key{display:flex}.provider-key input{flex:1;border-radius:9px 0 0 9px}.provider-key button{border-left:0;border-radius:0 9px 9px 0}.provider-actions{margin-top:18px}.provider-delete{margin-left:auto;border-color:#f0c4c4!important;color:#c43d49!important}@media(max-width:1050px){.provider-layout{grid-template-columns:1fr}.provider-metrics{grid-template-columns:repeat(2,1fr)}}
.api-provider-hero{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(125deg,#102b55,#1e5da7);color:#fff}.api-provider-hero p{margin:0;color:#84baff;font-size:10px;font-weight:900;letter-spacing:2px}.api-provider-hero h2{margin:5px 0;color:#fff}.api-provider-hero span{color:#c8dbf2}.provider-badge{padding:8px 13px;border-radius:20px;background:#dff8eb;color:#1b8157!important;font-size:11px;font-weight:800}.provider-badge.disabled{background:#ffe7e7;color:#c43b46!important}.api-provider-form{max-width:850px}.provider-switch{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;padding:15px 17px;border:1px solid #dce7f4;border-radius:12px;background:#f6f9fd}.provider-switch b,.provider-switch small{display:block}.provider-switch small,.api-provider-form label small{margin-top:4px;color:#7c8da4;font-size:11px}.provider-switch input{width:20px;height:20px}.api-provider-form .span-2{grid-column:1/-1}.provider-meta{margin:14px 0;color:#6f8199;font-size:11px}.api-provider-form .error.success{color:#16815a}
.action-batch-picker{display:grid;gap:12px;padding:14px;border:1px solid #dce7f5;border-radius:12px;background:#f8fbff}.action-batch-picker>label{margin:0}.action-batch-picker #actionBatchProducts{display:grid;gap:7px;max-height:245px;overflow:auto}.action-batch-picker #actionBatchProducts article{display:flex;align-items:center;gap:7px;padding:9px;border:1px solid #e1e9f3;border-radius:9px;background:#fff}.action-batch-picker #actionBatchProducts article>div{min-width:0;margin-right:auto}.action-batch-picker #actionBatchProducts b,.action-batch-picker #actionBatchProducts small{display:block}.action-batch-picker #actionBatchProducts b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.action-batch-picker #actionBatchProducts small{margin-top:3px;color:#7c8da5}.action-batch-picker #actionBatchProducts button{padding:6px 9px;white-space:nowrap}.action-manual-targets{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:10px}.action-manual-targets textarea{min-height:62px}.action-batch-selected{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.action-batch-selected>span{display:flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid #cfe0f7;border-radius:9px;background:#edf5ff;color:#234b7e}.action-batch-selected small{color:#6780a1}.action-batch-selected button{padding:0;border:0;background:transparent;color:#e64a55;font-size:18px}.action-batch-selected>p{margin:0;color:#7f8fa4}.action-type-inline{display:flex;flex-wrap:wrap;max-height:155px;overflow:auto}.action-type-inline label{width:auto;margin:0}.action-type-inline input{width:auto}@media(max-width:760px){.action-manual-targets{grid-template-columns:1fr}.action-batch-picker #actionBatchProducts article{flex-wrap:wrap}}

/* 顶部账号区：通知、帮助与账号安全入口统一放在右上角。 */
#app main>header{position:relative;z-index:70}
#app main>header .topbar-actions{display:flex!important;align-items:center;gap:17px}
#app main>header .notification-button{position:relative!important;top:auto!important;left:auto!important;width:34px!important;height:34px!important;padding:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#172b4d!important;box-shadow:none!important}
#app main>header .notification-button:hover{background:#f2f6fb!important;color:#2563d8!important}
#app main>header .notification-button svg{width:23px!important;height:23px!important;stroke-width:1.85!important}
#app main>header .notification-button i{top:-7px!important;right:-8px!important;border:2px solid #fff!important;background:#ef3d4d!important}
#app main>header .notification-panel{position:absolute!important;top:45px!important;right:-132px!important;left:auto!important;width:380px!important}
@media(max-width:760px){#app main>header{margin:0 -25px 16px;padding:10px 25px}#app main>header>div:first-child{display:none}.topbar-help{font-size:0}.topbar-help>span{font-size:14px}.topbar-account .user-badge{display:none}.account-menu-caret{display:none}.notification-panel{position:fixed!important;top:52px!important;right:10px!important;width:calc(100vw - 20px)!important}}

/* 更紧凑的顶部与可折叠的经营导航。 */
#app main>header{min-height:58px!important;margin-bottom:12px!important;padding-top:7px!important;padding-bottom:7px!important}
#app main>header>div:first-child>p{display:none}#app main>header h1{margin:0!important;font-size:18px!important}
#app main>header .topbar-actions{gap:12px!important}.user-avatar{flex-basis:32px!important;width:32px!important;height:32px!important;font-size:13px!important}.topbar-account .user-badge b{font-size:13px!important}.topbar-account .user-badge span{font-size:10px!important}.topbar-help{font-size:12px!important}.topbar-help>span{width:18px!important;height:18px!important;font-size:12px!important}.account-menu-caret{font-size:15px!important}
aside nav .nav-section-label{color:#fff!important;opacity:.82}
aside nav button.nav-item{color:#fff!important}
aside nav button.nav-item:before{color:#fff!important;background:rgba(255,255,255,.13)!important}
aside nav .business-nav-group{display:grid;gap:3px;margin:1px 0 5px}
aside nav .business-nav-parent{position:relative;font-weight:800!important}
aside nav .business-nav-parent:after{content:'⌄';position:absolute;right:12px;top:50%;color:#fff;font-size:15px;transform:translateY(-55%) rotate(0deg);transition:transform .18s ease}
aside nav .business-nav-group[data-expanded='0'] .business-nav-parent:after{transform:translateY(-55%) rotate(-90deg)}
aside nav .business-nav-children{display:grid;gap:2px;margin-left:20px;padding:2px 0 3px 10px;border-left:1px solid rgba(255,255,255,.25)}
aside nav .business-nav-children.collapsed{display:none}
aside nav .business-nav-children .business-nav-child{min-height:36px;padding:7px 9px 7px 35px!important;color:#fff!important;font-size:12px!important;opacity:.92}
aside nav .business-nav-children .business-nav-child:before{left:8px!important;width:21px!important;height:21px!important;color:#fff!important;background:rgba(255,255,255,.14)!important}

/* “记”事项快捷入口紧邻通知，不再占用左侧品牌区。 */
#app main>header .matter-quick-entry{width:28px!important;height:28px!important;padding:0!important;border:1px solid #e6c66d!important;border-radius:8px!important;background:#fff8df!important;color:#9a6100!important;box-shadow:none!important;font-size:13px!important;line-height:1!important}
#app main>header .matter-quick-entry:hover{background:#fff0bc!important;border-color:#d69a1f!important;color:#794900!important;transform:none!important}
#app main>header .matter-quick-entry.has-draft:after{right:-4px!important;top:-4px!important;width:7px!important;height:7px!important;border:2px solid #fff!important;background:#23a56d!important}

/* 左侧功能图标使用语义化 SVG，不再显示文字缩写。 */
aside nav button.nav-item:before{display:none!important;content:none!important}
aside nav button.nav-item{gap:11px!important}
aside nav button.nav-item .nav-icon{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:7px;background:rgba(255,255,255,.13);color:#fff}
aside nav button.nav-item .nav-icon svg{width:16px;height:16px}
aside nav button.nav-item:hover .nav-icon{background:rgba(255,255,255,.2)}
aside nav button.nav-item.active .nav-icon{background:#4f8df0;box-shadow:0 5px 12px #0a2d6360}
aside nav .business-nav-children .business-nav-child{padding-left:10px!important}
aside nav .business-nav-children .business-nav-child .nav-icon{width:21px;height:21px;border-radius:6px}
aside nav .business-nav-children .business-nav-child .nav-icon svg{width:14px;height:14px}

/* 参考工作台式布局：窄侧栏、紧凑分组和清晰的通知角标。 */
aside{width:190px!important;padding:13px 10px 12px!important;background:linear-gradient(180deg,#183a64 0%,#102d50 48%,#0e2848 100%)!important;border-right:1px solid rgba(255,255,255,.08)!important;box-shadow:5px 0 18px rgba(2,17,38,.11)!important}
main{margin-left:190px!important;max-width:calc(100vw - 190px)!important;padding:0 26px 26px!important}
aside .brand{min-height:42px;margin:0 5px 8px!important;padding:4px 4px 9px!important;border-bottom:1px solid rgba(255,255,255,.12)!important;gap:8px!important}
aside .brand>span{width:31px!important;height:31px!important;border-radius:9px!important;font-size:11px!important;box-shadow:none!important}
aside .brand>div{font-size:14px!important}aside .brand small{margin-top:1px!important;font-size:8px!important;color:#b1c4df!important}
aside nav{gap:0!important;padding:0 2px 8px!important}
aside nav .nav-section-label{margin:15px 10px 6px!important;color:#aebfd4!important;font-size:12px!important;font-weight:700!important;letter-spacing:.5px!important;text-transform:none!important}
aside nav button.nav-item{min-height:39px!important;padding:8px 10px!important;gap:10px!important;border-radius:7px!important;color:#c9d5e4!important;font-size:13px!important;font-weight:550!important}
aside nav button.nav-item:hover{transform:none!important;border-color:transparent!important;background:rgba(255,255,255,.075)!important;color:#e1eaf5!important}
aside nav button.nav-item.active{border-color:transparent!important;background:rgba(78,141,223,.25)!important;color:#f1f6fc!important;font-weight:700!important;box-shadow:none!important}
aside nav button.nav-item.active:after{right:4px!important;width:3px!important;height:14px!important;background:#8ab7ff!important}
aside nav button.nav-item .nav-icon{flex-basis:20px!important;width:20px!important;height:20px!important;border-radius:0!important;background:transparent!important;color:#b8c9dd!important}
aside nav button.nav-item .nav-icon svg{width:17px!important;height:17px!important;stroke-width:1.85!important}
aside nav button.nav-item:hover .nav-icon{background:transparent!important;box-shadow:none!important;color:#d5e2f0!important}aside nav button.nav-item.active .nav-icon{background:transparent!important;box-shadow:none!important;color:#eef5fc!important}
aside nav .business-nav-group{margin:0!important;gap:0!important}
aside nav .business-nav-parent{min-height:36px!important;font-size:12px!important;font-weight:700!important}
aside nav .business-nav-parent:after{right:8px!important;font-size:13px!important}
aside nav .business-nav-children{gap:0!important;margin:0 0 2px 16px!important;padding:1px 0 1px 9px!important;border-left-color:rgba(255,255,255,.18)!important}
aside nav .business-nav-children .business-nav-child{min-height:31px!important;padding:5px 7px!important;font-size:11px!important;opacity:.96!important}
aside nav .business-nav-children .business-nav-child .nav-icon{width:18px!important;height:18px!important}.business-nav-children .business-nav-child .nav-icon svg{width:14px!important;height:14px!important}
aside .server{margin:5px 3px 0!important;padding:8px 9px!important;border-color:rgba(255,255,255,.1)!important;border-radius:7px!important;background:rgba(255,255,255,.05)!important;color:#d2e2f5!important;font-size:10px!important}
#productCatalogPage.product-center-page{margin:0 -26px -26px!important;padding:0!important;background:#fff!important}
#app main>div[id$="Page"]{min-height:calc(100vh - 54px)!important;margin:0 -26px -26px!important;padding:0!important;background:#fff!important}
#app main>div[id$="Page"]>.panel:first-child{border-top-left-radius:0!important;border-top-right-radius:0!important;border-left:0!important;border-right:0!important}
#app main>div[id$="Page"]>.panel:last-child{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important;border-left:0!important;border-right:0!important}
#productCatalogPage .product-center-panel{min-height:calc(100vh - 54px)!important;padding:22px 26px!important;border:0!important;border-radius:0!important;background:linear-gradient(180deg,#f7faff 0,#fff 190px)!important;box-shadow:none!important}
#productCatalogPage .product-center-heading{margin:-22px -26px 18px!important;padding:22px 26px!important;border-radius:0!important}
#app main>header{min-height:54px!important;margin:0 -26px!important;padding:7px 26px!important}
#app main>header .notification-button{width:30px!important;height:30px!important;color:#162944!important}
#app main>header .notification-button svg{width:22px!important;height:22px!important;stroke-width:1.75!important}
#app main>header .notification-button i{top:-11px!important;right:-13px!important;min-width:24px!important;height:24px!important;padding:0 5px!important;border:2px solid #fff!important;border-radius:50%!important;background:#f0443e!important;color:#fff!important;font-size:11px!important;font-weight:800!important;line-height:20px!important;box-shadow:0 2px 5px rgba(196,39,34,.25)!important}
#app main>header .topbar-actions{gap:14px!important}
#app main>header .matter-quick-entry{order:1}#app main>header .topbar-notification{order:2}#app main>header .topbar-help{order:3}#app main>header .topbar-account{order:4}
@media(max-width:1000px){aside{width:174px!important}main{margin-left:174px!important;padding-left:18px!important;padding-right:18px!important}#app main>header{margin-left:-18px!important;margin-right:-18px!important;padding-left:18px!important;padding-right:18px!important}#app main>div[id$="Page"]{margin-right:-18px!important;margin-left:-18px!important;padding:0!important}}

/* 选品中心：将创建入口收进筛选行，避免顶部操作区重复占高。 */
#selectionPage .selection-filters{grid-template-columns:minmax(190px,1.15fr) repeat(5,minmax(96px,.62fr)) minmax(112px,.7fr) auto auto!important}
.selection-create-menu{position:relative;min-width:max-content}.selection-create-menu>summary{display:flex;align-items:center;justify-content:center;gap:7px;height:44px;padding:0 14px;list-style:none;cursor:pointer;white-space:nowrap}.selection-create-menu>summary::-webkit-details-marker{display:none}.selection-create-menu>summary span{font-size:13px;transition:transform .16s ease}.selection-create-menu[open]>summary span{transform:rotate(180deg)}.selection-create-dropdown{position:absolute;right:0;top:calc(100% + 7px);z-index:20;display:grid;min-width:176px;padding:6px;border:1px solid #d6e1f0;border-radius:10px;background:#fff;box-shadow:0 12px 28px rgba(26,53,94,.18)}.selection-create-dropdown button{min-height:36px;padding:0 11px;border:0;border-radius:7px;background:transparent;color:#203b62;text-align:left;white-space:nowrap}.selection-create-dropdown button:hover{background:#edf4ff;color:#1d63dd}
.page-inline-toolbar{display:flex;justify-content:flex-end;padding:0 18px 12px}.store-traffic-filters .page-compact-actions{margin-left:auto}.api-provider-form .provider-actions .page-compact-actions{display:contents}@media(max-width:900px){.store-traffic-filters .page-compact-actions{width:100%;margin-left:0}.page-compact-actions{flex-wrap:wrap}}

/* Y1 新品采购：收窄关键词搜索，并让新建入口紧跟查询按钮保持同一行。 */
#y1PurchasePage .y1-purchase-filters{grid-template-columns:minmax(280px,1fr) repeat(2,minmax(170px,.72fr)) 92px;align-items:center}
#y1PurchasePage .y1-purchase-filters.review-enabled{grid-template-columns:minmax(260px,1fr) repeat(3,minmax(155px,.65fr)) 92px}
#y1PurchasePage .y1-purchase-filters>.page-compact-actions{display:flex;min-width:max-content}
#y1PurchasePage .y1-purchase-filters>.page-compact-actions button{min-height:44px;margin:0;white-space:nowrap}
@media(max-width:1000px){#y1PurchasePage .y1-purchase-filters{grid-template-columns:1fr 1fr}#y1PurchasePage .y1-purchase-filters>.page-compact-actions{min-width:0}}

/* Y1 新品采购试验版：查询与汇总组成一个清爽的浅蓝工作区，和白色明细区明确分层。 */
#y1PurchasePage .y1-purchase-filters{margin:14px 24px 0;padding:14px;border:1px solid #e3e8f1;border-bottom:0;border-radius:14px 14px 0 0;background:#fff;box-shadow:none}
#y1PurchasePage .y1-purchase-filters input,#y1PurchasePage .y1-purchase-filters select{border-color:#b7cce6!important;background:#fff;color:#18314f;box-shadow:0 2px 6px rgba(35,73,122,.07)}
#y1PurchasePage .y1-purchase-filters>button.primary,#y1PurchasePage .y1-purchase-filters>.page-compact-actions .primary{border-color:#2468cf;background:linear-gradient(135deg,#347bea,#1f63c9);box-shadow:0 4px 10px rgba(32,97,195,.2)}
#y1PurchasePage .y1-purchase-summary{margin:0 24px;padding:4px 14px 17px;border:1px solid #e3e8f1;border-top:0;border-radius:0 0 14px 14px;background:#fff;box-shadow:none}
#y1PurchasePage .y1-purchase-summary article{min-height:46px;padding:9px 11px;border-width:1px;border-color:#c3d5eb;background:#fff!important;box-shadow:0 2px 7px rgba(38,75,124,.06);transition:transform .16s ease,box-shadow .16s ease}
#y1PurchasePage .y1-purchase-summary article:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(38,75,124,.11)}
#y1PurchasePage .y1-purchase-summary article.y1-summary-filter{cursor:pointer;user-select:none}
#y1PurchasePage .y1-purchase-summary article.y1-summary-filter:focus-visible{outline:3px solid rgba(52,126,232,.28);outline-offset:2px}
#y1PurchasePage .y1-purchase-summary article.y1-summary-filter.active{border-color:#347ee8;background:#f4f8ff!important;box-shadow:0 0 0 2px rgba(52,126,232,.15),0 6px 14px rgba(38,75,124,.11)}
#y1PurchasePage .y1-purchase-summary article:nth-child(1){border-top:3px solid #347ee8}#y1PurchasePage .y1-purchase-summary article:nth-child(2){border-top:3px solid #e0a11b}#y1PurchasePage .y1-purchase-summary article:nth-child(3){border-top:3px solid #7a67d8}#y1PurchasePage .y1-purchase-summary article:nth-child(4){border-top:3px solid #20a071}#y1PurchasePage .y1-purchase-summary article:nth-child(5){border-top:3px solid #ef8b32}#y1PurchasePage .y1-purchase-summary article:nth-child(6){border-top:3px solid #12a6b4}#y1PurchasePage .y1-purchase-summary article:nth-child(7){border-top:3px solid #526fd4}
#y1PurchasePage .y1-purchase-summary span{color:#687d98}#y1PurchasePage .y1-purchase-summary b{color:#102d55}
#y1PurchasePage .y1-purchase-result{margin-top:16px;padding-top:17px;border-top:1px solid #e3eaf3;background:#fff}
@media(max-width:1000px){#y1PurchasePage .y1-purchase-filters,#y1PurchasePage .y1-purchase-summary{margin-right:18px;margin-left:18px}}
.approval-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-style:normal;font-size:12px;font-weight:800;white-space:nowrap}.approval-status.pending_review{background:#fff3d5;color:#9a6500}.approval-status.approved{background:#dff7ea;color:#087e50}.approval-status.rejected{background:#fde7e9;color:#b33240}.y1-reference-field{margin-bottom:12px}.y1-reference-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;color:#425570;font-size:13px;font-weight:700}.y1-reference-add{width:30px;height:30px;padding:0;border:1px solid #8bb1ee;border-radius:8px;background:#eff5ff;color:#2467d0;font-size:20px;line-height:1}.y1-reference-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:7px;margin-bottom:7px}.y1-reference-row input{width:100%;box-sizing:border-box}.y1-reference-row button{padding:0;border:1px solid #d6dfeb;border-radius:8px;background:#fff;color:#7a8799;font-size:20px}.y1-reference-field>small{color:#8a97aa}.y1-review-panel{display:grid;grid-template-columns:minmax(210px,.7fr) minmax(320px,1.4fr) auto;align-items:end;gap:14px;margin:16px 0;padding:15px 17px;border:1px solid #c9dcf5;border-radius:13px;background:#f4f8ff}.y1-review-panel>div:first-child b,.y1-review-panel>div:first-child span{display:block}.y1-review-panel>div:first-child span{margin-top:8px;color:#667992;font-size:12px}.y1-review-panel label{margin:0}.y1-review-panel textarea{min-height:58px}.y1-review-panel>div:last-child{display:flex;gap:8px}.danger-outline{height:40px;padding:0 16px;border:1px solid #e49aa2;border-radius:9px;background:#fff;color:#b6313f;font-weight:700}.purchase-approval-tip{margin:0 0 13px;padding:10px 12px;border-radius:9px;background:#fff5dc;color:#936300;font-size:12px}@media(max-width:900px){.y1-review-panel{grid-template-columns:1fr}.y1-review-panel>div:last-child{justify-content:flex-end}}

/* 顶部多页面工作区标签，行为类似浏览器标签页。 */
#app main>header>.legacy-page-title{display:none!important}
#app main>header{gap:14px}
.workspace-tabs{display:flex;align-self:stretch;align-items:flex-end;flex:1;min-width:0;gap:5px;overflow-x:auto;overflow-y:hidden;padding-top:4px;scrollbar-width:thin}
.workspace-tab{display:flex;align-items:center;flex:0 0 auto;max-width:190px;height:39px;padding:0 11px 0 13px!important;border:1px solid #d8e2ef!important;border-bottom-color:#cbd8e8!important;border-radius:10px 10px 3px 3px!important;background:#f1f5fa!important;color:#5c6f88!important;box-shadow:none!important;font-size:12px;font-weight:700;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.workspace-tab:hover{border-color:#b8cce6!important;background:#eaf2fc!important;color:#254c7e!important}
.workspace-tab.active{border-color:#9abbea!important;border-bottom-color:#fff!important;background:#fff!important;color:#155fc3!important;box-shadow:0 -3px 10px rgba(33,83,151,.08)!important}
.workspace-tab>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-tab>i{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;margin-left:8px;border-radius:50%;color:#8797aa;font-size:15px;font-style:normal;font-weight:500;line-height:1}
.workspace-tab>i:hover{background:#dce6f3;color:#d1434d}
.workspace-tab.fixed>span:before{display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:#5d82b3;vertical-align:1px;content:''}
.workspace-tab-menu{position:fixed;z-index:2600;display:grid;min-width:138px;padding:6px;border:1px solid #d8e1ed;border-radius:8px;background:#fff;box-shadow:0 12px 30px rgba(20,44,78,.22)}
.workspace-tab-menu.hidden{display:none!important}.workspace-tab-menu button{height:34px;padding:0 12px;border:0;border-radius:6px;background:transparent;color:#273a55;font-size:12px;text-align:left;white-space:nowrap;cursor:pointer}.workspace-tab-menu button:hover,.workspace-tab-menu button:focus-visible{background:#edf4ff;color:#1f60bd;outline:0}.workspace-tab-menu button:disabled{background:transparent;color:#a5afbd;cursor:not-allowed}.workspace-tab-menu button+button{margin-top:1px}
#app main>header>.topbar-actions{flex:0 0 auto;margin-left:0}
@media(max-width:760px){#app main>header>.workspace-tabs{display:flex}.workspace-tab{max-width:145px}.topbar-help{display:none}}

/* 页面内容滚动时，顶部工作区与账号操作栏始终固定在视口顶部。 */
#app main>header{position:sticky!important;top:0;z-index:80;background:#fff;box-shadow:0 2px 9px rgba(20,47,85,.10)}

/* 利润中心：筛选工具栏保持紧凑，创建操作紧随查询按钮。 */
#skuPricingPage .sku-filters{grid-template-columns:minmax(260px,1fr) 150px 135px 76px auto auto!important}#skuPricingPage .sku-filters>#skuProfit{min-width:0!important}#skuPricingPage .sku-filters>#skuCreator{min-width:0!important}#skuPricingPage .sku-filters>button.primary{min-width:76px!important;padding:0 12px!important}#skuPricingPage .sku-compact-actions{display:flex;gap:8px;min-width:max-content}#skuPricingPage .sku-compact-actions button{height:44px!important;margin:0!important;padding:0 13px!important;white-space:nowrap}@media(max-width:1000px){#skuPricingPage .sku-filters{grid-template-columns:1fr 1fr!important}#skuPricingPage .sku-compact-actions{flex-wrap:wrap}}

/* 活动利润测算：搜索与利润率设置固定在同一行，避免产生空白第二行。 */
#activityMarginPage .activity-margin-filters{grid-template-columns:minmax(300px,480px) 240px 76px 76px auto!important;align-items:center}#activityMarginPage .activity-margin-filters>input{width:100%;min-width:0}#activityMarginPage .activity-margin-filters>.page-compact-actions{display:flex;min-width:max-content}#activityMarginPage .activity-margin-filters>.page-compact-actions button{min-height:44px;margin:0;padding:0 13px;white-space:nowrap}@media(max-width:1000px){#activityMarginPage .activity-margin-filters{grid-template-columns:1fr 1fr!important}#activityMarginPage .activity-margin-filters>.page-compact-actions{min-width:0}}

/* 运营动作：记录入口和查询、重置保持同一工具栏行。 */
#actionsPage .action-filters{align-items:center;flex-wrap:nowrap}#actionsPage .action-filters .action-compact-actions{display:contents}@media(max-width:1000px){#actionsPage .action-filters{flex-wrap:wrap}}

/* 首页经营数据：以浅蓝灰画布和业务色分区替代大面积纯白。 */
#dashboardPage{padding:16px 18px 28px!important;background:linear-gradient(180deg,#edf4ff 0%,#f7f9fd 37%,#edf5ff 100%)!important}
#dashboardPage .overview-cards{gap:14px;margin:0 0 16px!important}
#dashboardPage .overview-card{position:relative;min-height:126px;overflow:hidden;padding:18px 20px!important;border:1px solid transparent!important;border-top:0!important;box-shadow:0 9px 22px rgba(40,72,120,.08)}
#dashboardPage .overview-card:before{position:absolute;top:0;right:0;left:0;height:4px;content:''}
#dashboardPage .overview-card.blue{background:linear-gradient(135deg,#fafdff 0%,#edf4ff 100%);border-color:#cbdcfb!important}#dashboardPage .overview-card.blue:before{background:linear-gradient(90deg,#2563eb,#70a5ff)}
#dashboardPage .overview-card.purple{background:linear-gradient(135deg,#fffaff 0%,#f2edff 100%);border-color:#ddd0ff!important}#dashboardPage .overview-card.purple:before{background:linear-gradient(90deg,#7c4dff,#b18cff)}
#dashboardPage .overview-card.orange{background:linear-gradient(135deg,#fffdf8 0%,#fff3dc 100%);border-color:#f3d9a2!important}#dashboardPage .overview-card.orange:before{background:linear-gradient(90deg,#f59e0b,#f8c55b)}
#dashboardPage .overview-card.green{background:linear-gradient(135deg,#fbfffd 0%,#e7f8f0 100%);border-color:#bce7d3!important}#dashboardPage .overview-card.green:before{background:linear-gradient(90deg,#10b981,#6ed7af)}
#dashboardPage .overview-accounts{overflow:hidden;margin-bottom:16px!important;border:1px solid #cedcf1!important;background:#fff!important;box-shadow:0 9px 22px rgba(40,72,120,.07)}
#dashboardPage .overview-accounts .panel-head{margin:0!important;padding:17px 20px 13px!important;background:linear-gradient(90deg,#dfedff 0%,#f7fbff 78%);border-bottom:1px solid #dbe7f7}
#dashboardPage .overview-account-table-wrap{border:0!important;border-radius:0!important}#dashboardPage .overview-account-table th{background:#e7f0fc!important;color:#48617e!important}#dashboardPage .overview-account-table tbody tr:nth-child(even){background:#f8fbff}
#dashboardPage .overview-grid{gap:16px;margin-bottom:16px}
#dashboardPage .overview-tasks-panel{border-color:#cfddf0!important;background:linear-gradient(180deg,#fff 0%,#f5f8ff 100%)!important;box-shadow:0 9px 22px rgba(40,72,120,.07)}#dashboardPage .overview-tasks-panel .panel-head{padding-bottom:13px;border-bottom:1px solid #e1eaf6}
#dashboardPage .overview-focus{border-color:#eadbbb!important;background:linear-gradient(180deg,#fffefa 0%,#fffaf0 100%)!important;box-shadow:0 9px 22px rgba(126,91,29,.07)}#dashboardPage .overview-focus .panel-head{padding-bottom:13px;border-bottom:1px solid #f1e5cb}#dashboardPage .overview-focus>div:last-child>div{border:1px solid #f1e5cf;background:rgba(255,255,255,.76)!important}
#dashboardPage .overview-traffic{border-color:#c9e5d8!important;background:linear-gradient(180deg,#fbfffd 0%,#edf9f3 100%)!important;box-shadow:0 9px 22px rgba(22,123,82,.07)}#dashboardPage .overview-traffic .panel-head{padding-bottom:13px;border-bottom:1px solid #d9eee4}#dashboardPage .overview-traffic>div:last-child>div{border:1px solid #dcefe6;background:rgba(255,255,255,.78)!important}
@media(max-width:1000px){#dashboardPage{padding:12px!important}}

/* 通知固定使用铃铛轮廓，避免旧页面缓存中的喇叭 SVG 继续显示。 */
#app main>header .notification-button>svg{display:none!important}
#app main>header .notification-button:before{display:block;width:22px;height:22px;content:'';background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18 9a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21h4'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18 9a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21h4'/%3E%3C/svg%3E") center/contain no-repeat}

/* 细线铃铛与紧凑红色角标，匹配顶部通知参考样式。 */
#app main>header .notification-button:before{width:21px;height:21px;background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23162944' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 10a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E");background-position:center;background-size:contain;background-repeat:no-repeat;mask:none!important;-webkit-mask:none!important}
#app main>header .notification-button i{top:-5px!important;right:-6px!important;min-width:18px!important;width:18px!important;height:18px!important;padding:0!important;border:2px solid #fff!important;font-size:9px!important;line-height:14px!important}
#app main>header #notificationBadge:not(.hidden){display:grid!important;visibility:visible!important;opacity:1!important;z-index:5!important}
#app #notificationPanel:not(.hidden){display:block!important;position:fixed!important;top:58px!important;right:18px!important;left:auto!important;z-index:2000!important;width:min(380px,calc(100vw - 36px))!important;visibility:visible!important;opacity:1!important}

/* 利润中心右侧收紧，与工作区右边界更齐。 */
#skuPricingPage:not(.hidden)>.panel{padding-right:10px!important}

/* 宽屏下利润中心直接铺到右侧工作区边界，避免页面容器留下整条空白。 */
@media(min-width:1001px){
  #skuPricingPage:not(.hidden){width:calc(100vw - 190px)!important;max-width:none!important}
  #skuPricingPage:not(.hidden)>.panel{width:100%!important;max-width:none!important}
}

/* 在售产品备货：为筛选栏中的新建提报按钮预留单行空间。 */
#purchasePage .purchase-filters{grid-template-columns:minmax(220px,1.15fr) repeat(2,minmax(150px,.7fr)) auto auto auto}
#purchasePage .purchase-filters button{white-space:nowrap}
#purchasePage #purchaseSummary:empty{display:none}

/* API 中转站 · 调度控制台 */
#apiProviderPage{--provider-ink:#132744;--provider-muted:#71829a;--provider-line:#dce5f1;--provider-blue:#2563eb;--provider-soft:#f4f7fb;padding:0 18px 28px!important;background:#f4f7fb}
#apiProviderPage>.api-provider-hero{display:none!important}
#apiProviderPage .provider-command{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 -18px 18px;padding:24px 22px 22px;border-bottom:1px solid #d9e3ef;background:linear-gradient(135deg,#fff 0%,#f2f7ff 65%,#e8f1ff 100%)}
.provider-command>div:first-child>span{color:#3478dc;font-size:10px;font-weight:900;letter-spacing:2.1px}.provider-command h1{margin:6px 0 4px;color:#102442;font-size:26px;letter-spacing:-.6px}.provider-command p{margin:0;color:#718198;font-size:13px}.provider-command-legend{display:flex;align-items:center;gap:9px;color:#64758d;font-size:12px}.provider-command-legend>i{width:8px;height:8px;border-radius:50%;background:#22a06b;box-shadow:0 0 0 5px rgba(34,160,107,.11)}.provider-command-legend .primary{height:40px;margin-left:14px;padding:0 17px;border-radius:10px}
#apiProviderPage .provider-metrics{gap:12px;margin:0 0 16px}
#apiProviderPage .provider-metrics article{position:relative;min-height:105px;padding:18px 18px 16px 61px;border:1px solid #dbe5f0;border-radius:15px;box-shadow:0 5px 18px rgba(31,56,91,.045)}
#apiProviderPage .provider-metrics article:before{position:absolute;left:17px;top:19px;display:grid;width:31px;height:31px;place-items:center;border-radius:10px;background:#edf4ff;color:#2768d7;font-size:15px;font-weight:900}
#apiProviderPage .provider-metrics article[data-metric="nodes"]:before{content:"◇"}#apiProviderPage .provider-metrics article[data-metric="routing"]:before{content:"↗"}#apiProviderPage .provider-metrics article[data-metric="health"]:before{content:"✓"}#apiProviderPage .provider-metrics article[data-metric="calls"]:before{content:"↻"}
#apiProviderPage .provider-metrics span{color:#52647d;font-size:12px;font-weight:700}#apiProviderPage .provider-metrics small{display:block;margin-top:3px;color:#94a0b1;font-size:10px}#apiProviderPage .provider-metrics b{margin-top:8px;color:#102c53;font-size:28px;line-height:1}
#apiProviderPage .provider-layout{grid-template-columns:minmax(300px,.72fr) minmax(580px,1.45fr);align-items:start;gap:16px}
#apiProviderPage .provider-layout>.panel,#apiProviderPage .provider-usage-panel{overflow:hidden;border:1px solid #dbe4ef;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(25,49,81,.055)}
#apiProviderPage .panel-head{margin:0;padding:18px 20px 14px;border-bottom:1px solid #e5ebf3}#apiProviderPage .panel-head h2{margin:0;color:#132744;font-size:17px}#apiProviderPage .panel-head p{margin-top:4px;color:#8491a3;font-size:11px}
#apiProviderPage .provider-queue-panel{position:sticky;top:72px;padding:0}#apiProviderPage .provider-cards{gap:8px;padding:12px}
#apiProviderPage .provider-card{grid-template-columns:minmax(0,1fr) auto;gap:9px;min-height:82px;padding:13px 12px;border-color:#e0e7f0;border-radius:12px;transition:border-color .16s,background .16s,box-shadow .16s,transform .16s}
#apiProviderPage .provider-card:hover{transform:translateY(-1px);border-color:#a7c5f2;background:#f8fbff}#apiProviderPage .provider-card.selected{border-color:#73a6f3;background:linear-gradient(135deg,#f5f9ff,#edf4ff);box-shadow:0 0 0 3px rgba(55,118,216,.1)}
#apiProviderPage .provider-card>span{min-width:0}#apiProviderPage .provider-card>span>i{flex:0 0 auto;width:29px;height:29px;border-radius:9px;background:#e7f0ff;font-size:12px}#apiProviderPage .provider-card>span>span{min-width:0}#apiProviderPage .provider-card>span b,#apiProviderPage .provider-card>span small{display:block}#apiProviderPage .provider-card>span b{overflow:hidden;color:#172c4b;font-size:13px;text-overflow:ellipsis;white-space:nowrap}#apiProviderPage .provider-card>span small{margin-top:2px;color:#8b98aa;font-size:9px;letter-spacing:.6px}
#apiProviderPage .provider-card>small{display:flex;align-items:center;gap:7px;min-width:0}.provider-priority{flex:0 0 auto;padding:3px 6px;border-radius:6px;background:#eaf2ff;color:#2867c6;font-size:9px;font-weight:800}.provider-host{overflow:hidden;color:#72839b;text-overflow:ellipsis;white-space:nowrap}
#apiProviderPage .provider-card>.provider-badge{align-self:start;margin-top:1px;padding:6px 9px;font-size:9px}#apiProviderPage .provider-card>.provider-badge i,#apiProviderPage #apiProviderBadge:before{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:currentColor;vertical-align:1px}#apiProviderPage .provider-card>strong{margin-left:36px;font-size:9px}
#apiProviderPage .provider-detail-panel{padding:0}#apiProviderPage .api-provider-form{max-width:none;padding:0 20px 20px}#apiProviderPage .api-provider-form>.panel-head{margin:0 -20px 18px;padding:18px 20px}#apiProviderPage .provider-detail-heading h2{font-size:20px}#apiProviderPage .provider-detail-heading p{display:flex;align-items:center;gap:8px;margin-top:5px}#apiProviderPage .provider-detail-heading p span{width:3px;height:3px;border-radius:50%;background:#a6b2c1}
#apiProviderPage #apiProviderBadge{padding:7px 11px}#apiProviderPage #apiProviderBadge:before{content:""}
#apiProviderPage .provider-switch{margin:0 0 16px;padding:14px 16px;border-color:#d9e5f3;background:#f6f9fd}#apiProviderPage .provider-switch input{accent-color:#2563eb}
#apiProviderPage .api-provider-form .form-grid{gap:14px 12px}#apiProviderPage .api-provider-form label{color:#263b59;font-size:11px;font-weight:750}#apiProviderPage .api-provider-form input,#apiProviderPage .api-provider-form select{height:42px;margin-top:7px;border-color:#d8e2ee;background:#fff;color:#152a47;transition:border-color .15s,box-shadow .15s}#apiProviderPage .api-provider-form input:focus,#apiProviderPage .api-provider-form select:focus{border-color:#6b9ee9;box-shadow:0 0 0 3px rgba(47,111,213,.11);outline:0}#apiProviderPage .api-provider-form label small{font-weight:500;line-height:1.5}
#apiProviderPage .provider-key{margin-top:7px}#apiProviderPage .provider-key input{margin-top:0}#apiProviderPage .provider-key button{min-width:56px;color:#315b91;font-size:11px}
#apiProviderPage .provider-actions{display:flex;align-items:center;gap:8px;margin:21px -20px -20px;padding:14px 20px;border-top:1px solid #e5ebf3;background:#fafbfd}#apiProviderPage .provider-actions button{height:39px;padding:0 14px;border-radius:9px}#apiProviderPage .provider-actions .primary{min-width:122px}#apiProviderPage .provider-delete{margin-left:auto;background:#fff}
#apiProviderPage #apiProviderStatus{min-height:0;margin-top:13px;padding:0;font-size:11px}#apiProviderPage #apiProviderStatus:not(:empty){padding:10px 12px;border:1px solid #f0d6d8;border-radius:9px;background:#fff7f7}#apiProviderPage #apiProviderStatus.success:not(:empty){border-color:#cce8db;background:#f2fbf7;color:#157752}
#apiProviderPage .provider-usage-panel{margin-top:16px;padding:0}#apiProviderPage .provider-usage-panel>.panel-head{display:flex;align-items:center}#apiProviderPage .provider-usage-panel>.panel-head button{height:36px;padding:0 13px;border-radius:9px}#apiProviderPage #apiProviderUsage{overflow:auto;border:0;border-radius:0}#apiProviderPage #apiProviderUsage table{min-width:850px}#apiProviderPage #apiProviderUsage th{padding:11px 14px;background:#f5f7fa;color:#718096;font-size:10px;font-weight:750;letter-spacing:.25px}#apiProviderPage #apiProviderUsage td{padding:12px 14px;color:#344861;font-size:11px}#apiProviderPage #apiProviderUsage tbody tr:hover{background:#f8fbff}#apiProviderPage #apiProviderUsage tbody tr.is-failed{background:#fffafa}
@media(max-width:1100px){#apiProviderPage .provider-layout{grid-template-columns:1fr}#apiProviderPage .provider-queue-panel{position:static}#apiProviderPage .provider-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#apiProviderPage{padding-inline:10px!important}#apiProviderPage .provider-command{align-items:flex-start;flex-direction:column;margin-inline:-10px;padding:18px 14px}.provider-command-legend{flex-wrap:wrap}#apiProviderPage .provider-metrics{grid-template-columns:1fr 1fr}#apiProviderPage .provider-cards{grid-template-columns:1fr}#apiProviderPage .api-provider-form .form-grid{grid-template-columns:1fr}#apiProviderPage .api-provider-form .span-2{grid-column:auto}#apiProviderPage .provider-actions{flex-wrap:wrap}#apiProviderPage .provider-delete{margin-left:0}}

/* API 中转站操作区收口：抵消旧版按钮迁移与通用 inline 拉伸规则。 */
#apiProviderPage .api-provider-form{display:block!important}
#apiProviderPage .api-provider-form .form-grid{align-items:start!important}
#apiProviderPage .provider-actions{justify-content:flex-start!important;flex-wrap:nowrap!important}
#apiProviderPage .provider-actions>.page-compact-actions,#apiProviderPage .provider-actions>button[onclick="createApiProvider()"]{display:none!important}
#apiProviderPage .provider-actions button{flex:0 0 auto!important;width:auto!important;min-width:106px!important;white-space:nowrap!important;writing-mode:horizontal-tb!important}
#apiProviderPage .provider-actions button.primary{min-width:132px!important}
#apiProviderPage .provider-actions .provider-delete{min-width:106px!important;margin-left:auto!important}
#apiProviderPage .provider-switch{min-height:62px}
#apiProviderPage .api-provider-form .form-grid{row-gap:12px!important}
@media(max-width:760px){#apiProviderPage .provider-actions{flex-wrap:wrap!important}#apiProviderPage .provider-actions .provider-delete{margin-left:0!important}}

/* 产品流量日期弹层使用专用容器，避免被页面级 aside/main/header 规则拉伸和固定定位。 */
.product-date-preset-aside{display:grid;align-content:start;min-width:0;padding:10px 8px;border-right:1px solid #e6edf5;background:#fbfdff}
.product-date-preset-aside button{height:32px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:#475569;text-align:left}
.product-date-preset-aside button:hover{background:#eef5ff;color:#2563eb}
.product-date-preset-aside button.clear{margin-top:4px;border-top:1px solid #edf1f6;border-radius:0 0 7px 7px;color:#64748b}
.product-date-calendar-main{min-width:0;margin:0;padding:10px 14px 14px;overflow:visible}
.product-calendar-month-title{margin:0;padding:6px;text-align:center}
.product-calendar-month-title b{font-size:13px}

.account-visible-password{display:flex!important;align-items:center;gap:7px}.account-visible-password b{min-width:76px;color:#173a67;font-family:Consolas,"SFMono-Regular",monospace;word-break:break-all}.account-visible-password button{flex:0 0 auto;padding:4px 7px;border-radius:6px;color:#3067aa;font-size:10px}
/* 顶部工作区与账号栏兜底：置于样式表起始处，避免历史样式解析异常影响固定定位。 */
#login .login-captcha-row{display:grid;grid-template-columns:minmax(0,1fr) 138px 34px;gap:9px;align-items:center;margin:0 0 14px}#login .login-captcha-row input{width:100%;height:46px;padding:0 12px;border:1px solid var(--line);border-radius:9px;letter-spacing:4px;text-transform:uppercase}#login .login-captcha-image{width:138px;height:46px;border:1px solid #dce5f1;border-radius:8px;background:#f4f7fd;object-fit:cover;cursor:pointer}#login .login-captcha-refresh{width:34px;height:34px;padding:0;border:0;background:transparent;color:#356fc7;font-size:20px;line-height:1}#login .login-captcha-refresh:hover{background:#edf4ff;border-radius:8px}#login .login-validity-note{color:#6e7f96;font-size:12px}
#app main>header{position:sticky!important;top:0!important;z-index:200!important;background:#fff!important;box-shadow:0 2px 9px rgba(20,47,85,.10)!important}
#app main>header>.topbar-actions{display:flex!important;align-items:center!important;visibility:visible!important;opacity:1!important;margin-left:auto!important}
#app main>header>.workspace-tabs{display:flex!important;align-self:stretch!important;align-items:flex-end!important;flex:1 1 auto!important;min-width:0!important}
#app main>header>.workspace-tabs .workspace-tab{display:flex!important}

/* 顶部工作区和系统管理员栏采用固定定位，页面滚动时始终可见。 */
#app main{padding-top:58px!important}
#app main>header{position:fixed!important;top:0!important;left:190px!important;right:0!important;width:auto!important;height:58px!important;min-height:58px!important;margin:0!important;padding:7px 26px!important;z-index:500!important}
@media(max-width:1000px){#app main>header{left:174px!important;padding-right:18px!important;padding-left:18px!important}}
/* 流量采集插件下载：位于通知铃铛左侧，存在未下载新版本时显示红点。 */
#app main>header .topbar-plugin-download{position:relative;order:2;display:flex;align-items:center}#app main>header .topbar-notification{order:3}#app main>header .topbar-help{order:4}#app main>header .topbar-account{order:5}#pluginDownloadButton{position:relative;display:grid;place-items:center;width:30px;height:30px;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#17355b!important}#pluginDownloadButton:hover{background:#f1f6fd!important;color:#2563eb!important}#pluginDownloadButton svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}#pluginUpdateDot{position:absolute;right:0;top:1px;width:7px;height:7px;border:1.5px solid #fff;border-radius:50%;background:#ef4444;box-shadow:0 1px 3px rgba(162,31,31,.35)}.plugin-download-panel{position:absolute;z-index:130;right:-43px;top:42px;width:260px;padding:14px;border:1px solid #dbe5f2;border-radius:12px;background:#fff;box-shadow:0 15px 34px rgba(26,52,91,.18)}.plugin-download-panel b{display:block;color:#18385f;font-size:14px}.plugin-download-panel em{margin-left:4px;color:#2563eb;font-style:normal}.plugin-download-panel p{margin:8px 0 5px;color:#667892;font-size:12px;line-height:1.55}.plugin-download-panel small{display:block;color:#96a4b7;font-size:11px}.plugin-download-panel button{width:100%;margin-top:12px;padding:8px 10px!important;border-radius:8px!important;font-size:12px!important}@media(max-width:760px){#app main>header .topbar-plugin-download{display:none}}
#app main>header .plugin-download-panel button.primary{display:block!important;width:100%!important;margin-top:12px!important;padding:9px 10px!important;border:1px solid #2563eb!important;border-radius:8px!important;background:#2563eb!important;color:#fff!important;box-shadow:0 5px 12px rgba(37,99,235,.2)!important;text-align:center!important}#app main>header .plugin-download-panel button.primary:hover{background:#174fc8!important;border-color:#174fc8!important;color:#fff!important}
.notification-persist-tip{margin:0;padding:8px 14px;border-bottom:1px solid #e4eaf3;background:#f7f9fd;color:#71809a;font-size:12px}

/* AI 图片生成：常规生成与定向生成并列工作区 */
.ai-image-mode-switch{display:flex;align-items:center;gap:7px;margin-top:18px;padding:8px 10px;border:1px solid #dce7f5;border-radius:12px;background:#fff}.ai-image-mode-switch>span{margin:0 4px;color:#7487a0;font-size:12px;font-weight:700}.ai-image-mode-switch button{padding:7px 11px;border:1px solid #dce6f5;border-radius:8px;background:#f8fbff;color:#5a7090;font-size:12px;font-weight:700}.ai-image-mode-switch button.active{border-color:#9cbdf0;background:#eaf2ff;color:#2461c5}.ai-image-mode-switch .ai-image-swap-button{margin-left:auto;background:#fff;color:#41658f}.ai-image-studio.ai-image-studio-dual{grid-template-columns:minmax(260px,.72fr) minmax(370px,1fr) minmax(410px,1.15fr)}.ai-image-studio.ai-image-studio-dual.ai-image-directed-first>#aiImageDirectedCard{order:2}.ai-image-studio.ai-image-studio-dual.ai-image-directed-first>#aiImageStandardCard{order:3}.ai-image-mode-badge{align-self:flex-start;padding:6px 9px;border-radius:999px;background:#edf5ff;color:#3470c9;font-size:11px!important;font-weight:800}.ai-image-directed-card{min-width:0}.ai-image-card-focus{border-color:#78a5f0!important;box-shadow:0 0 0 4px rgba(59,130,246,.14),0 10px 28px rgba(15,35,70,.08)!important}@media(max-width:1420px){.ai-image-studio.ai-image-studio-dual{grid-template-columns:minmax(290px,.72fr) minmax(0,1fr)}.ai-image-studio.ai-image-studio-dual>.ai-image-form-card{min-width:0}.ai-image-studio.ai-image-studio-dual>#aiImageDirectedCard{grid-column:1/-1}.ai-image-studio.ai-image-studio-dual.ai-image-directed-first>#aiImageDirectedCard{order:2}.ai-image-studio.ai-image-studio-dual.ai-image-directed-first>#aiImageStandardCard{order:3}}@media(max-width:650px){.ai-image-mode-switch{flex-wrap:wrap}.ai-image-mode-switch .ai-image-swap-button{margin-left:0}}
.ai-image-unified-head{align-items:flex-start}.ai-image-mode-tabs{display:flex;gap:0;padding:3px;border:1px solid #d9e4f2;border-radius:9px;background:#f6f9fd}.ai-image-mode-tabs button{min-width:92px;padding:7px 12px;border:0;border-radius:6px;background:transparent;color:#7890ad;font-size:12px;font-weight:700}.ai-image-mode-tabs button.active{background:#2563eb;color:#fff;box-shadow:0 2px 6px rgba(37,99,235,.25)}.ai-image-generation-panel{animation:aiPanelIn .18s ease}@keyframes aiPanelIn{from{opacity:.25;transform:translateY(3px)}to{opacity:1;transform:none}}.ai-image-directed-summary{display:flex;align-items:center;gap:9px;margin-top:12px;padding:8px 10px;border:1px solid #e1e9f4;border-radius:8px;background:#f8fbff;color:#7589a4;font-size:12px}.ai-image-directed-summary b{color:#2b66c5}.ai-image-directed-summary small{margin-left:auto;color:#8b9bb0}.ai-image-plan-list-compact{gap:6px}.ai-image-plan-item.compact{grid-template-columns:27px minmax(0,1fr) max-content 25px;align-items:center;min-height:46px;padding:7px 8px;border-color:#e4ebf4;border-radius:9px}.ai-image-plan-item.compact .ai-image-plan-order{width:24px;height:24px;border-radius:7px;font-size:11px}.ai-image-plan-item.compact .ai-image-plan-main b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.ai-image-plan-actions{display:flex;align-items:center;gap:5px}.ai-image-plan-actions>small{margin-left:4px;color:#8494a9;font-size:10px}.ai-image-plan-actions>button{width:25px;height:25px;padding:0;border:1px solid #dfe8f4;border-radius:6px;background:#fff;color:#316ac3;font-size:15px;line-height:1}.ai-image-plan-actions>b{min-width:18px;text-align:center;color:#344f75;font-size:12px}.ai-image-plan-actions .ai-image-edit-button{width:auto;padding:0 8px;background:#f3f7ff;color:#3269c2;font-size:11px;font-weight:700}.ai-image-plan-item.compact .ai-image-plan-remove{width:24px;height:24px;font-size:18px}.ai-image-plan-item.compact .ai-image-custom-fields input{height:28px!important;padding:4px 7px!important;border-radius:6px!important;font-size:11px!important}.ai-image-description-modal .modal-card{width:min(620px,calc(100vw - 28px))}.ai-image-description-modal label{display:grid;gap:7px;margin:14px 0;color:#375371;font-size:12px;font-weight:700}.ai-image-description-modal input,.ai-image-description-modal textarea{width:100%;padding:10px;border:1px solid #d9e4f0;border-radius:8px;font:inherit}.ai-image-description-modal textarea{min-height:200px;resize:vertical;line-height:1.65}.ai-image-description-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.ai-image-description-actions .primary{padding-inline:16px}@media(max-width:620px){.ai-image-unified-head{flex-direction:column}.ai-image-mode-tabs{width:100%}.ai-image-mode-tabs button{flex:1}.ai-image-directed-summary{align-items:flex-start;flex-wrap:wrap}.ai-image-directed-summary small{width:100%;margin-left:0}.ai-image-plan-item.compact{grid-template-columns:25px minmax(0,1fr) 25px}.ai-image-plan-actions{grid-column:2;justify-content:flex-start}.ai-image-plan-item.compact .ai-image-plan-remove{grid-column:3;grid-row:1}}
.ai-image-generation-output{margin-top:18px;padding-top:16px;border-top:1px solid #e4ebf4}.ai-image-generation-output header{display:flex;align-items:center;justify-content:space-between;gap:12px}.ai-image-generation-output header b,.ai-image-generation-output header small{display:block}.ai-image-generation-output header b{color:#25466e;font-size:13px}.ai-image-generation-output header small{margin-top:4px;color:#8292a8;font-size:11px}.ai-image-generation-output header button{padding:7px 10px;border-color:#bed4f5;background:#edf5ff;color:#2c67c4;font-size:12px;font-weight:700}.ai-image-output-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px;margin-top:12px}.ai-image-output-grid article{overflow:hidden;border:1px solid #e0e9f5;border-radius:9px;background:#f8fbff}.ai-image-output-grid img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.ai-image-output-grid footer{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:7px 8px}.ai-image-output-grid span{overflow:hidden;color:#667d9a;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.ai-image-output-grid button{padding:4px 7px;border:0;border-radius:5px;background:#e5f0ff;color:#2465cc;font-size:11px;font-weight:700}@media(max-width:620px){.ai-image-generation-output header{align-items:flex-start;flex-direction:column}.ai-image-output-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ai-feature-provider-bindings{display:grid;grid-template-columns:minmax(220px,1.25fr) minmax(150px,.7fr) minmax(150px,.7fr) auto;align-items:end;gap:12px;margin:0 0 16px;padding:14px 16px;border:1px solid #d9e6f5;border-radius:13px;background:linear-gradient(100deg,#f8fbff,#f3f7ff)}.ai-feature-provider-bindings>div span,.ai-feature-provider-bindings>div b,.ai-feature-provider-bindings>div small{display:block}.ai-feature-provider-bindings>div span{color:#3975cf;font-size:10px;font-weight:800;letter-spacing:1px}.ai-feature-provider-bindings>div b{margin-top:4px;color:#28496f;font-size:14px}.ai-feature-provider-bindings>div small{margin-top:4px;color:#7c8fa7;font-size:11px}.ai-feature-provider-bindings label{display:grid;gap:6px;color:#627995;font-size:11px;font-weight:700}.ai-feature-provider-bindings select{height:38px;padding:0 9px;border:1px solid #cedded;border-radius:8px;background:#fff;color:#294b72;font:inherit}.ai-feature-provider-bindings button{height:38px;padding:0 13px;white-space:nowrap}.ai-feature-provider-bindings>span{grid-column:2/-1;min-height:14px;color:#2d6dba;font-size:11px}@media(max-width:1050px){.ai-feature-provider-bindings{grid-template-columns:1fr 1fr}.ai-feature-provider-bindings>div{grid-column:1/-1}.ai-feature-provider-bindings>span{grid-column:1/-1}}@media(max-width:620px){.ai-feature-provider-bindings{grid-template-columns:1fr}.ai-feature-provider-bindings>span{grid-column:auto}}
.api-available-models-field{grid-column:1/-1}.api-available-models-field>div{display:flex;max-height:92px;flex-wrap:wrap;gap:6px;overflow:auto;margin-top:7px;padding:8px;border:1px solid #dce6f2;border-radius:8px;background:#f8fbff}.api-available-models-field>div span{padding:4px 7px;border:1px solid #cfdff4;border-radius:6px;background:#fff;color:#396391;font-size:11px;font-weight:600}.api-available-models-field>div small{color:#8b9ab0;font-size:11px;font-weight:400}.api-available-models-field>small,.api-image-model-field>small{display:block;margin-top:5px;color:#8394a9;font-size:10px;font-weight:400}

/* AI visual studio */
.ai-image-hero{display:flex;justify-content:space-between;gap:24px;padding:28px 32px;border-radius:18px;background:radial-gradient(circle at 82% 18%,#7c3aed 0,rgba(124,58,237,.15) 22%,transparent 46%),linear-gradient(115deg,#102a56,#1d4ed8);color:#fff;box-shadow:0 18px 38px rgba(30,64,175,.18)}.ai-image-hero p,.ai-image-history-head p{margin:0 0 7px;font-size:11px;font-weight:800;letter-spacing:1.5px;color:#a5d8ff}.ai-image-hero h2{margin:0;font-size:28px}.ai-image-hero span{display:block;margin-top:8px;color:#dbeafe}.ai-image-hero-note{align-self:center;min-width:230px;padding:14px 16px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(255,255,255,.1)}.ai-image-hero-note b,.ai-image-hero-note small{display:block}.ai-image-hero-note small{margin-top:5px;color:#dbeafe;line-height:1.5}.ai-image-studio{display:grid;grid-template-columns:minmax(330px,.85fr) minmax(480px,1.35fr);gap:18px;margin-top:18px}.ai-image-form-card,.ai-image-history-panel{padding:22px;border:1px solid #e4ebf6;border-radius:16px;background:#fff;box-shadow:0 7px 24px rgba(15,35,70,.045)}.ai-image-card-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:17px}.ai-image-card-head b,.ai-image-card-head span{display:block}.ai-image-card-head b{font-size:15px;color:#132c52}.ai-image-card-head span{margin-top:5px;font-size:12px;color:#71829b}.ai-image-text-button{padding:0;border:0;background:transparent;color:#3975db;font-size:13px;cursor:pointer}.ai-image-dropzone{display:flex;min-height:190px;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1.5px dashed #aac4ec;border-radius:14px;background:linear-gradient(145deg,#f6f9ff,#eef5ff);color:#44617f;cursor:pointer;transition:.2s}.ai-image-dropzone:hover,.ai-image-dropzone.dragging{border-color:#2563eb;background:#eaf2ff;transform:translateY(-1px)}.ai-image-dropzone input{display:none}.ai-image-dropzone i{display:grid;width:38px;height:38px;place-items:center;border-radius:12px;background:#2563eb;color:#fff;font-size:26px;font-style:normal}.ai-image-dropzone strong{margin-top:3px;color:#163968}.ai-image-dropzone small{font-size:12px;color:#7890ae}.ai-image-reference-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:13px}.ai-image-reference-list figure{position:relative;width:78px;margin:0}.ai-image-reference-list img{display:block;width:78px;height:78px;object-fit:cover;border-radius:10px;border:1px solid #d8e4f4}.ai-image-reference-list button{position:absolute;right:-6px;top:-6px;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:#172e54;color:#fff;cursor:pointer}.ai-image-reference-list figcaption{margin-top:4px;overflow:hidden;color:#74859e;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.ai-image-tip{margin-top:16px;padding:12px 13px;border-left:3px solid #4f8cff;border-radius:0 9px 9px 0;background:#f4f8ff;color:#60738e;font-size:12px;line-height:1.65}.ai-image-tip b{display:block;color:#31568b}.ai-image-form-grid{display:grid;grid-template-columns:1fr 180px;gap:14px}.ai-image-brief label{display:block;margin-bottom:14px;color:#375371;font-size:13px;font-weight:700}.ai-image-brief input,.ai-image-brief select,.ai-image-brief textarea{width:100%;box-sizing:border-box;margin-top:7px;padding:10px 11px;border:1px solid #dce5f0;border-radius:9px;background:#fbfdff;color:#1c3555;font:inherit;font-weight:400;outline:none}.ai-image-brief textarea{min-height:135px;resize:vertical;line-height:1.65}.ai-image-brief input:focus,.ai-image-brief select:focus,.ai-image-brief textarea:focus{border-color:#5b8df0;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.ai-image-style-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.ai-image-style-pills button{padding:7px 11px;border:1px solid #dbe6f7;border-radius:999px;background:#f8fbff;color:#4c6686;cursor:pointer}.ai-image-style-pills button.selected,.ai-image-style-pills button:hover{border-color:#8cb5ff;background:#eaf2ff;color:#1858c9}.ai-image-form-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px}.ai-image-form-footer span{color:#69809e;font-size:12px}.ai-image-generate-button{min-width:145px;font-size:15px}.ai-image-generate-button i{margin-left:6px;font-style:normal}.ai-image-generate-button:disabled{cursor:wait;opacity:.72}.ai-image-history-panel{margin-top:18px}.ai-image-history-head{display:flex;justify-content:space-between;gap:18px;align-items:end;padding-bottom:16px;border-bottom:1px solid #eaf0f8}.ai-image-history-head h3{margin:0;color:#172e54;font-size:18px}.ai-image-history-head span{display:block;margin-top:5px;color:#71829b;font-size:12px}.ai-image-history-head button{padding:8px 12px;border:1px solid #d5e2f4;border-radius:8px;background:#fff;color:#356394;cursor:pointer}.ai-image-history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:14px;margin-top:17px}.ai-image-history-card{overflow:hidden;border:1px solid #e4ebf5;border-radius:12px;background:#fff}.ai-image-history-preview{height:185px;background:linear-gradient(135deg,#eff5ff,#f7f3ff)}.ai-image-history-preview img{width:100%;height:100%;object-fit:cover}.ai-image-history-preview span{display:grid;height:100%;place-items:center;color:#8494a9}.ai-image-history-card>div:last-child{padding:12px}.ai-image-history-card b,.ai-image-history-card small{display:block}.ai-image-history-card b{overflow:hidden;color:#244365;text-overflow:ellipsis;white-space:nowrap}.ai-image-history-card small{margin-top:4px;color:#7890ad;font-size:11px}.ai-image-history-card p{display:-webkit-box;height:34px;margin:9px 0;overflow:hidden;color:#647791;font-size:12px;line-height:17px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ai-image-history-card footer{display:flex;justify-content:space-between;align-items:center;gap:8px}.ai-image-history-card time{color:#91a0b4;font-size:11px}.ai-image-history-card footer button{padding:5px 9px;border:0;border-radius:6px;background:#eaf2ff;color:#1f62d4;cursor:pointer}.ai-image-empty{display:flex;min-height:180px;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#8292a8}.ai-image-empty i{color:#4f7dff;font-size:25px;font-style:normal}.ai-image-empty b{color:#4e637e}.ai-image-empty span{font-size:12px}@media(max-width:950px){.ai-image-studio{grid-template-columns:1fr}.ai-image-hero{padding:23px}.ai-image-hero-note{display:none}}@media(max-width:580px){.ai-image-form-grid{grid-template-columns:1fr}.ai-image-hero h2{font-size:24px}.ai-image-form-footer,.ai-image-history-head{align-items:flex-start;flex-direction:column}.ai-image-generate-button{width:100%}}.ai-image-plan-total{display:grid;min-width:54px;place-items:center;align-self:flex-start;padding:6px 9px;border-radius:999px;background:#edf4ff;color:#2867cf;font-size:12px;font-weight:800}.ai-image-template-save{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;margin:15px 0}.ai-image-template-save input,.ai-image-plan-toolbar select{min-width:0;height:40px;margin:0!important}.ai-image-template-save button{border-color:#bcd2f7;background:#f4f8ff;color:#2d68c6;font-weight:700;white-space:nowrap}.ai-image-plan-toolbar{display:grid;grid-template-columns:minmax(170px,1fr) auto auto minmax(180px,1fr) auto;gap:8px;align-items:center;padding:11px;border:1px solid #dde8f5;border-radius:12px;background:#f8fbff}.ai-image-plan-toolbar button{height:40px;padding:0 11px;font-size:12px;white-space:nowrap}.ai-image-plan-toolbar #aiImageDeleteTemplate:disabled{opacity:.45;cursor:not-allowed}.ai-image-plan-list{display:grid;gap:10px;margin-top:13px}.ai-image-plan-item{display:grid;grid-template-columns:30px minmax(0,1fr) 92px 28px;gap:10px;align-items:start;padding:12px;border:1px solid #e0e8f3;border-radius:12px;background:#fff;transition:border-color .16s,box-shadow .16s}.ai-image-plan-item:hover{border-color:#aac6ef;box-shadow:0 6px 18px rgba(37,99,235,.06)}.ai-image-plan-order{display:grid;width:27px;height:27px;place-items:center;border-radius:8px;background:#eaf2ff;color:#2b69ca;font-size:12px;font-weight:800}.ai-image-plan-main b{display:block;color:#203f67;font-size:13px}.ai-image-plan-main b span{color:#6b809b;font-weight:500}.ai-image-plan-main textarea{min-height:84px!important;margin-top:8px!important;padding:8px 9px!important;font-size:12px!important;line-height:1.6!important}.ai-image-plan-count{display:grid;grid-template-columns:27px 31px 27px;gap:3px;align-items:center;justify-content:end}.ai-image-plan-count button{width:27px;height:27px;padding:0;border-color:#dbe6f5;background:#f8fbff;color:#2966c8;font-size:16px;line-height:1}.ai-image-plan-count b{text-align:center;color:#29496f;font-size:13px}.ai-image-plan-count small{grid-column:1/-1;text-align:center;color:#8393a8;font-size:10px}.ai-image-plan-remove{width:27px;height:27px;padding:0;border:0;background:transparent;color:#a5b1c0;font-size:20px;line-height:1}.ai-image-plan-remove:hover{background:#fff0f1;color:#df4b58}.ai-image-custom-fields{display:grid;grid-template-columns:1fr 1.25fr;gap:7px}.ai-image-plan-item.custom{border-color:#cfbfef;background:#fcfaff}.ai-image-plan-item.custom .ai-image-plan-order{background:#f0e9ff;color:#7648bb}.ai-image-custom-fields input{height:34px!important;margin:0!important;padding:7px 9px!important;font-size:12px!important}@media(max-width:900px){.ai-image-plan-toolbar{grid-template-columns:1fr 1fr}.ai-image-plan-toolbar select{width:100%}}@media(max-width:580px){.ai-image-template-save{grid-template-columns:1fr}.ai-image-plan-toolbar{grid-template-columns:1fr}.ai-image-plan-item{grid-template-columns:28px minmax(0,1fr) 28px}.ai-image-plan-count{grid-column:2;justify-content:start}.ai-image-custom-fields{grid-template-columns:1fr}}
.full-product-list-page{height:calc(100vh - 126px);min-height:640px;margin:-4px -6px 0}.full-product-list-page iframe{display:block;width:100%;height:100%;border:0;background:#f5f7fb;border-radius:14px}
.modal-card.product-mode-switch-modal{width:min(680px,92vw)}.product-mode-switch-shell>header p{margin:0;color:#2f6edb;font-size:10px;font-weight:800;letter-spacing:1.8px}.product-mode-switch-shell>header h2{margin:5px 0}.product-mode-switch-shell>header span{color:#78879d;font-size:12px}.product-mode-current{display:grid;grid-template-columns:auto 1fr auto auto 1fr;align-items:center;gap:9px;margin:18px 0;padding:14px;border:1px solid #dfe7f2;border-radius:12px;background:#f7f9fd}.product-mode-current span{color:#77869b;font-size:11px}.product-mode-current b{padding:8px 10px;border-radius:8px;text-align:center}.product-mode-current b.y1{background:#dcf4e3;color:#19733a}.product-mode-current b.y2{background:#eaf1fb;color:#3f5574}.product-mode-current i{color:#8190a4;font-style:normal}.product-mode-history{margin-top:18px}.product-mode-history h3{margin:0 0 8px;font-size:14px}.product-mode-history ul{margin:0;padding:0;list-style:none;border:1px solid #e2e9f3;border-radius:10px;overflow:hidden}.product-mode-history li{display:grid;grid-template-columns:140px 1fr auto;gap:10px;padding:9px 11px;border-top:1px solid #edf1f6;font-size:12px}.product-mode-history li:first-child{border-top:0}.product-mode-history li time,.product-mode-history li span{color:#7a889d}.product-mode-history li.empty{display:block}.product-mode-tip{margin:12px 0 0;padding:10px;border-radius:8px;background:#edf8f0;color:#39714a;font-size:11px;line-height:1.6}
.competitor-analysis-shell{padding:0;overflow:hidden}.competitor-analysis-head{display:flex;align-items:flex-end;justify-content:space-between;padding:28px 30px 20px;background:linear-gradient(135deg,#f7faff,#eef5ff);border-bottom:1px solid #dce6f5}.competitor-analysis-head p,.competitor-form-hero p{margin:0 0 5px;color:#3972c5;font-size:11px;font-weight:800;letter-spacing:.14em}.competitor-analysis-head h2{margin:0;color:#13243c}.competitor-analysis-head span{display:block;margin-top:6px;color:#6d7c91}.competitor-analysis-tabs{display:flex;padding:4px;background:#e6edf8;border-radius:10px}.competitor-analysis-tabs button{border:0;background:transparent;padding:8px 18px}.competitor-analysis-tabs button.active{background:#fff;color:#2467c8;box-shadow:0 2px 8px #193c7014}.competitor-analysis-filters{display:flex;gap:10px;padding:18px 30px}.competitor-analysis-filters input{min-width:340px}.competitor-analysis-summary{display:flex;gap:12px;align-items:center;padding:0 30px 14px;color:#718096}.competitor-analysis-summary b{color:#26364d}.competitor-analysis-list{padding:0 30px 30px}.competitor-task-card{display:grid;grid-template-columns:minmax(300px,1.25fr) minmax(350px,1.25fr) minmax(250px,1fr) auto;gap:22px;align-items:center;padding:18px;margin-bottom:12px;border:1px solid #dfe7f2;border-radius:14px;background:#fff;cursor:pointer;transition:.18s}.competitor-task-card:hover{border-color:#8bb4ee;box-shadow:0 8px 24px #284e7a12}.competitor-task-product{display:flex;gap:13px;min-width:0}.competitor-task-product img,.competitor-task-product>i{width:66px;height:66px;border-radius:10px;object-fit:cover;background:#edf2f8;display:grid;place-items:center;color:#8b99aa;font-style:normal;flex:none}.competitor-task-product h3{margin:2px 0 6px;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.competitor-task-product p,.competitor-task-product small,.competitor-task-result p,.competitor-task-result small{display:block;margin:3px 0;color:#738197}.competitor-task-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.competitor-task-metrics span{padding:9px;border-left:2px solid #dbe8fa}.competitor-task-metrics small,.competitor-task-metrics b{display:block}.competitor-task-metrics small{font-size:11px;color:#8491a3}.competitor-task-metrics b{margin-top:4px;color:#22344c}.competitor-task-result{min-width:0}.competitor-task-result>b,.competitor-task-result p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.competitor-status{display:inline-block;margin-bottom:6px;padding:3px 8px;border-radius:99px;background:#fff3d5;color:#9a6600;font-size:11px}.competitor-status.completed{background:#dff7eb;color:#087b4c}.competitor-analysis-empty{display:grid;place-items:center;gap:7px;min-height:180px;color:#7b899c}.competitor-analysis-empty.error{color:#bd3343}.competitor-analysis-modal{width:min(1120px,calc(100vw - 48px));max-width:1120px;max-height:92vh}.competitor-analysis-form{padding:4px}.competitor-form-hero{display:flex;align-items:center;gap:16px;padding:16px 18px 20px;border-bottom:1px solid #e3eaf4}.competitor-form-hero img,.competitor-form-hero>i{width:76px;height:76px;border-radius:12px;object-fit:cover;background:#edf2f8;display:grid;place-items:center;font-style:normal;color:#8a98aa}.competitor-form-hero div{min-width:0;flex:1}.competitor-form-hero h2{margin:0 0 6px;font-size:20px}.competitor-form-hero span,.competitor-form-hero small{display:block;color:#6f7f94}.competitor-form-hero em{padding:6px 11px;border-radius:99px;background:#edf5ff;color:#2d6ab7;font-style:normal}.competitor-product-snapshot{margin:18px;padding:18px;border-radius:14px;background:#f3f7fc}.competitor-product-snapshot h3{margin:0 0 12px}.competitor-product-snapshot>div{display:grid;grid-template-columns:1.5fr repeat(5,1fr);gap:10px}.competitor-product-snapshot span{padding-left:10px;border-left:2px solid #d4e3f6}.competitor-product-snapshot small,.competitor-product-snapshot b{display:block}.competitor-product-snapshot small{color:#7d8ba0;font-size:11px}.competitor-product-snapshot b{margin-top:5px;font-size:13px}.competitor-analysis-form form{padding:0 18px 18px}.competitor-form-section{padding:20px 0;border-top:1px solid #e6ecf4}.competitor-form-section h3{display:flex;align-items:center;gap:9px;margin:0 0 15px}.competitor-form-section h3 i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#2f72cc;color:#fff;font-size:12px;font-style:normal}.competitor-form-section .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.competitor-form-section label{display:grid;gap:6px;color:#24364d;font-weight:600;font-size:13px}.competitor-form-section label.span-2{grid-column:span 2}.competitor-form-section textarea{min-height:78px}.competitor-form-section .checkbox-field{display:flex;align-items:center;gap:8px}.competitor-match-column{padding:14px;margin-bottom:12px;border:1px solid #dde7f3;border-radius:12px}.competitor-match-column>header,.competitor-match-card header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.competitor-match-card{margin-top:10px;padding:13px;background:#f8fafd;border-radius:10px}.competitor-match-card header b{color:#2d69bb}.competitor-form-note{margin:-8px 0 14px;color:#78879b}.competitor-profit-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.competitor-profit-preview span{padding:13px;border:1px solid #dce6f3;border-radius:10px;background:#fafcff}.competitor-profit-preview small,.competitor-profit-preview b{display:block}.competitor-profit-preview small{color:#79889c}.competitor-profit-preview b{margin-top:5px;font-size:18px;color:#1e5fae}.competitor-form-actions{position:sticky;bottom:-4px;display:flex;align-items:center;gap:10px;padding:14px;background:#fff;border-top:1px solid #dfe6f0}.competitor-form-actions .form-error{margin-left:auto}@media(max-width:1100px){.competitor-task-card{grid-template-columns:1fr}.competitor-product-snapshot>div{grid-template-columns:repeat(3,1fr)}}
.competitor-task-create-modal{width:min(620px,calc(100vw - 40px));max-width:620px}.competitor-task-create{padding:8px 10px}.competitor-task-create>header{padding:10px 8px 20px}.competitor-task-create>header p{margin:0 0 6px;color:#3972c5;font-size:11px;font-weight:800;letter-spacing:.14em}.competitor-task-create>header h2{margin:0 0 7px;color:#162a45}.competitor-task-create>header span{color:#708096}.competitor-task-create>section{display:flex;gap:15px;align-items:center;padding:16px;border:1px solid #dce6f3;border-radius:13px;background:#f8faff}.competitor-task-create>section img,.competitor-task-create>section>i{display:grid;place-items:center;width:78px;height:78px;flex:none;border-radius:11px;background:#eaf0f8;object-fit:cover;color:#8493a6;font-style:normal}.competitor-task-create>section div{min-width:0}.competitor-task-create>section h3{margin:0 0 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.competitor-task-create>section p,.competitor-task-create>section small{display:block;margin:4px 0;color:#6f7e92}.competitor-task-create-tip,.competitor-task-exists{margin-top:14px;padding:12px 14px;border-radius:10px;background:#eef6ff;color:#426385;line-height:1.6}.competitor-task-exists{background:#fff6df;color:#8a651d}.competitor-task-create>footer{display:flex;justify-content:flex-end;gap:10px;padding:18px 4px 2px}

/* 竞品分析：紧凑的左侧状态栏、无重叠商品卡及分区填写面板。 */
.competitor-analysis-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;border-bottom:1px solid #e3eaf4;background:#fff}.competitor-analysis-toolbar .competitor-analysis-tabs{order:-1;flex:0 0 auto}.competitor-analysis-toolbar .competitor-analysis-filters{flex:1;justify-content:flex-end;padding:0}.competitor-analysis-toolbar .competitor-analysis-filters input{width:min(380px,45%);min-width:240px}.competitor-analysis-summary{padding:18px 24px 12px}.competitor-analysis-list{padding:0 24px 26px}.competitor-task-card{grid-template-columns:minmax(0,1.45fr) minmax(270px,.7fr);grid-template-rows:auto auto;gap:16px 26px;padding:20px 22px;border-color:#dce5f1;border-radius:16px;box-shadow:0 5px 18px rgba(28,55,91,.045)}.competitor-task-product{grid-column:1;grid-row:1;align-items:center}.competitor-task-product img,.competitor-task-product>i{width:72px;height:72px;border:1px solid #e2e9f2;border-radius:12px}.competitor-task-product>div{min-width:0}.competitor-task-product h3{display:-webkit-box;margin:0 0 7px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;line-height:1.55}.competitor-task-product p,.competitor-task-product small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.competitor-task-metrics{grid-column:1;grid-row:2;grid-template-columns:repeat(4,minmax(90px,1fr));gap:0;padding:11px 0;border-top:1px solid #edf1f6}.competitor-task-metrics span{min-width:0;padding:0 16px;border-left:1px solid #dce7f5}.competitor-task-metrics span:first-child{padding-left:0;border-left:0}.competitor-task-metrics b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.competitor-task-result{grid-column:2;grid-row:1;align-self:center;padding-left:22px;border-left:1px solid #e4eaf2}.competitor-task-result>b{display:block;color:#1d304c}.competitor-task-result p{margin:7px 0}.competitor-task-card>button{grid-column:2;grid-row:2;align-self:end;justify-self:stretch;height:42px;border-color:#cfdcf0;color:#235dac;font-weight:700}.competitor-task-card>button:hover{background:#edf5ff}.modal:has(.competitor-analysis-form),.modal:has(.competitor-task-create){z-index:1000;padding:24px}.modal-card.competitor-analysis-modal{width:min(1180px,calc(100vw - 48px));max-width:1180px;max-height:94vh;padding:0!important;overflow-x:hidden;overflow-y:auto;border:1px solid rgba(255,255,255,.6);border-radius:20px;background:#f4f7fb;box-shadow:0 30px 90px rgba(6,22,48,.38);scrollbar-gutter:stable}.competitor-analysis-modal>.close{position:sticky;float:right;top:14px;right:16px;z-index:20;width:36px;height:36px;padding:0;border:1px solid #d9e3f0;border-radius:50%;background:#fff;color:#30445f;line-height:32px;box-shadow:0 5px 16px rgba(26,50,83,.12)}.competitor-analysis-modal #modalBody{width:100%;min-width:0}.competitor-analysis-form{padding:0 0 4px}.competitor-form-hero{min-height:118px;margin:0;padding:25px 72px 23px 28px;border-bottom:1px solid #d9e4f1;background:linear-gradient(128deg,#fff 0%,#f1f6fd 100%)}.competitor-form-hero img,.competitor-form-hero>i{width:74px;height:74px;border:1px solid #dfe8f3;background:#eaf0f8}.competitor-form-hero h2{display:-webkit-box;max-width:760px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.45}.competitor-form-hero em{flex:none;border:1px solid #d7e6fb;background:#fff;box-shadow:0 3px 10px rgba(44,95,166,.07)}.competitor-product-snapshot{margin:18px 24px 14px;padding:18px 20px;border:1px solid #dfe8f3;background:#fff;box-shadow:0 5px 18px rgba(31,57,91,.04)}.competitor-product-snapshot>div{grid-template-columns:1.4fr repeat(5,minmax(90px,1fr));gap:0}.competitor-product-snapshot span{min-width:0;padding:3px 15px;border-left:1px solid #dce7f5}.competitor-product-snapshot span:first-child{padding-left:0;border-left:0}.competitor-product-snapshot b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.competitor-analysis-form form{display:block;padding:0 24px 20px}.competitor-form-section{margin:14px 0;padding:20px 22px;border:1px solid #dfe7f2;border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(31,57,91,.04)}.competitor-form-section h3{margin-bottom:18px;color:#172b47;font-size:17px}.competitor-form-section h3 i{flex:0 0 25px;width:25px;height:25px;box-shadow:0 4px 10px rgba(47,114,204,.2)}.competitor-form-section .form-grid{gap:15px 18px}.competitor-form-section label{min-width:0;margin:0;color:#3a4b63;font-size:12px}.competitor-form-section input,.competitor-form-section select,.competitor-form-section textarea{width:100%;min-width:0;padding:10px 12px;border:1px solid #d6e0ed;border-radius:9px;background:#fbfdff;color:#172941;outline:none;transition:.16s}.competitor-form-section input,.competitor-form-section select{height:42px}.competitor-form-section input:focus,.competitor-form-section select:focus,.competitor-form-section textarea:focus{border-color:#70a2e9;background:#fff;box-shadow:0 0 0 3px rgba(66,126,211,.1)}.competitor-form-section .checkbox-field{min-height:42px;padding:0 12px;border:1px solid #d6e0ed;border-radius:9px;background:#fbfdff}.competitor-form-section .checkbox-field input{width:16px;height:16px}.competitor-match-column{padding:16px;border-color:#dce6f2;background:#fbfdff}.competitor-match-column>header{margin:0 0 14px}.competitor-match-card{border:1px solid #e1e8f2;background:#fff}.competitor-profit-preview{gap:12px}.competitor-profit-preview span{padding:15px 16px;border-radius:11px;background:linear-gradient(145deg,#f8fbff,#f0f6ff)}.competitor-profit-preview b{font-size:20px}.competitor-form-actions{bottom:-20px;z-index:10;margin:18px -24px -20px;padding:14px 24px;border-top:1px solid #dce5f1;background:rgba(255,255,255,.96);box-shadow:0 -8px 22px rgba(31,54,85,.07);backdrop-filter:blur(10px)}.competitor-form-actions button{min-width:118px}.competitor-form-actions .primary{box-shadow:0 7px 16px rgba(31,94,214,.22)}
@media(max-width:1100px){.competitor-analysis-toolbar{align-items:stretch;flex-direction:column}.competitor-analysis-toolbar .competitor-analysis-filters{justify-content:flex-start}.competitor-analysis-toolbar .competitor-analysis-filters input{width:100%;min-width:0}.competitor-task-card{grid-template-columns:1fr;grid-template-rows:auto}.competitor-task-product,.competitor-task-metrics,.competitor-task-result,.competitor-task-card>button{grid-column:1;grid-row:auto}.competitor-task-result{padding:14px 0 0;border-top:1px solid #edf1f6;border-left:0}.competitor-product-snapshot>div{grid-template-columns:repeat(3,1fr);row-gap:16px}.competitor-product-snapshot span:nth-child(4){padding-left:0;border-left:0}}
@media(max-width:720px){.competitor-analysis-toolbar .competitor-analysis-filters{display:grid;grid-template-columns:1fr 1fr}.competitor-analysis-toolbar .competitor-analysis-filters input{grid-column:1/-1}.competitor-task-metrics{grid-template-columns:repeat(2,1fr);row-gap:16px}.competitor-task-metrics span:nth-child(3){padding-left:0;border-left:0}.competitor-form-hero{align-items:flex-start;padding:22px 58px 20px 20px}.competitor-form-hero em{display:none}.competitor-product-snapshot{margin:12px}.competitor-product-snapshot>div{grid-template-columns:repeat(2,1fr)}.competitor-product-snapshot span:nth-child(odd){padding-left:0;border-left:0}.competitor-analysis-form form{padding:0 12px 16px}.competitor-form-section{padding:17px 15px}.competitor-form-section .form-grid{grid-template-columns:1fr}.competitor-form-section label.span-2{grid-column:auto}.competitor-profit-preview{grid-template-columns:repeat(2,1fr)}.competitor-form-actions{margin-left:-12px;margin-right:-12px;padding:12px}}
.competitor-task-actions{grid-column:2;grid-row:2;display:flex;gap:8px;align-self:end}.competitor-task-actions button{flex:1;height:42px;border-color:#cfdcf0;color:#235dac;font-weight:700}.competitor-task-actions button:hover{background:#edf5ff}.competitor-task-actions button.danger,.competitor-form-actions button.danger{flex:0 0 auto;border-color:#f1caca;background:#fff;color:#c63b46}.competitor-task-actions button.danger:hover,.competitor-form-actions button.danger:hover{background:#fff1f2}.competitor-form-actions .danger{margin-left:4px}@media(max-width:1100px){.competitor-task-actions{grid-column:1;grid-row:auto}}
.product-stage.tag-y1-stock-request{background:#eaf2ff;color:#315fa9}

/* 在售产品备货：日期单共享、明细隔离及批量状态操作。 */
#purchasePage .purchase-status.pending{background:#fff4d9;color:#a56a00}#purchasePage .purchase-status.purchasing{background:#e6f0ff;color:#2764c4}#purchasePage .purchase-status.purchased{background:#e4f8ed;color:#168155}#purchasePage .purchase-status.shipped{background:#eee7ff;color:#7041bd}#purchasePage .purchase-status.arrived{background:#dff7f4;color:#087d73}#purchasePage .purchase-status.cancelled{background:#fde9ea;color:#b53b46}
.modal-card.purchase-batch-modal{width:min(1280px,96vw)!important}.purchase-batch-head small{display:block;margin-top:5px;color:#73839a;font-size:11px}.purchase-entry-table{min-width:1100px}.purchase-entry-table input,.purchase-entry-table select,.purchase-entry-table textarea{box-sizing:border-box;width:100%;min-width:105px}.purchase-entry-table textarea{min-height:42px!important;resize:vertical}.purchase-entry-table td:first-child input{min-width:220px}.purchase-entry-table td:nth-child(2) input{min-width:170px}
#purchasePage .purchase-batch-table{min-width:1480px}#purchasePage .purchase-batch-row details{min-width:660px}#purchasePage .purchase-batch-items>.purchase-batch-item{display:grid;grid-template-columns:minmax(250px,1fr) minmax(130px,.62fr) 118px auto;grid-template-rows:auto auto;column-gap:12px;row-gap:9px;align-items:center;padding:11px 14px;border-bottom:1px solid #e8edf5;font-size:12px}.purchase-item-product b,.purchase-item-product small{display:block}.purchase-item-product b{overflow:hidden;color:#16345d;text-overflow:ellipsis;white-space:nowrap}.purchase-item-product small{display:none}.purchase-item-spec{display:block;min-width:0;overflow:hidden;color:#7687a0;text-overflow:ellipsis;white-space:nowrap}.purchase-item-spec>span{display:block;overflow:hidden;text-overflow:ellipsis}.purchase-item-spec .purchase-owner{display:block;overflow:hidden;margin-top:4px;padding:0;background:transparent;color:#a45712;font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.purchase-item-quantity{padding:6px 10px;border-radius:8px;background:#eaf1ff;color:#315e9d;font-style:normal;white-space:nowrap}.purchase-detail-actions{display:flex;justify-content:flex-end;gap:6px}.purchase-item-delete-slot{display:block;grid-column:1;grid-row:2}.purchase-item-delete-slot .purchase-delete-button{box-sizing:border-box;width:100%;margin:0;border-color:#d9e3f1;color:#245ff5}.purchase-item-delete-slot .purchase-delete-button:hover{background:#eef5ff}.purchase-private-empty{display:block!important;padding:18px!important;color:#72829a;text-align:center}
.purchase-batch-menu{position:relative;min-width:92px}.purchase-batch-menu>summary{display:inline-flex!important;align-items:center;justify-content:center;min-width:72px;padding:7px 10px;border:1px solid #cbd8e9;border-radius:8px;background:#fff;color:#245ff5!important;cursor:pointer;list-style:none}.purchase-batch-menu>summary:before{display:none!important}.purchase-batch-menu>div{position:absolute;z-index:20;right:0;top:38px;display:grid;min-width:150px;padding:6px;border:1px solid #d9e3ef;border-radius:10px;background:#fff;box-shadow:0 10px 28px rgba(26,48,80,.18)}.purchase-batch-menu button{border:0;background:#fff;padding:9px 10px;text-align:left;color:#294563;cursor:pointer;white-space:nowrap}.purchase-batch-menu button:hover{border-radius:7px;background:#eef5ff;color:#205dc1}.purchase-batch-menu .purchase-batch-delete{margin-top:4px;border-top:1px solid #f1d9dc;color:#c43d49}.purchase-batch-menu .purchase-batch-delete:hover{background:#fff1f2;color:#b52f3c}
@media(max-width:1100px){#purchasePage .purchase-batch-items>.purchase-batch-item{grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto}.purchase-item-quantity{grid-column:1}.purchase-detail-actions{grid-column:2;justify-content:flex-start}.purchase-item-delete-slot{grid-column:1/-1;grid-row:3}}
/* 在售产品备货主表固定为截图中的列宽比例，避免全局无横向滚动规则把各列平均压缩。 */
#purchaseTable.no-horizontal-scroll .purchase-batch-table>thead>tr>th:nth-child(1){width:8%!important}
#purchaseTable.no-horizontal-scroll .purchase-batch-table>thead>tr>th:nth-child(2){width:43%!important}
#purchaseTable.no-horizontal-scroll .purchase-batch-table>thead>tr>th:nth-child(3){width:8%!important}
#purchaseTable.no-horizontal-scroll .purchase-batch-table>thead>tr>th:nth-child(4){width:7%!important}
#purchaseTable.no-horizontal-scroll .purchase-batch-table>thead>tr>th:nth-child(5){width:6%!important}
#purchaseTable.no-horizontal-scroll .purchase-batch-table>thead>tr>th:nth-child(6){width:7%!important}
#purchaseTable.no-horizontal-scroll .purchase-batch-table>thead>tr>th:nth-child(7){width:13%!important}
#purchaseTable.no-horizontal-scroll .purchase-batch-table>thead>tr>th:nth-child(8){width:8%!important}
#purchaseTable.no-horizontal-scroll .purchase-batch-row>td:nth-child(2){overflow:visible!important}
.sellfox-push-hero{display:flex;align-items:center;justify-content:space-between;padding:24px 28px;background:linear-gradient(135deg,#f7fbff,#eef5ff)}
.sellfox-push-hero p{margin:0 0 5px;color:#2f67dc;font-size:11px;font-weight:800;letter-spacing:.16em}.sellfox-push-hero h2{margin:0 0 6px;font-size:23px;color:#13233f}.sellfox-push-hero span{color:#64748b}
.sellfox-status-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.sellfox-status-cards article{display:grid;gap:4px;padding:16px 18px;border:1px solid #dce6f3;border-radius:12px;background:#fff}.sellfox-status-cards span,.sellfox-status-cards small{color:#718096}.sellfox-status-cards b{color:#162b4d}.sellfox-status-cards article.ready{border-left:4px solid #20a36a}.sellfox-status-cards article.pending{border-left:4px solid #eea019}.sellfox-status-cards article.failed{border-left:4px solid #e44d5e}
.sellfox-push-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:14px}.sellfox-push-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sellfox-push-form .span-2{grid-column:1/-1}.sellfox-push-actions{margin-top:16px}.sellfox-result-panel{min-height:330px}.sellfox-empty-result{display:grid;place-items:center;min-height:220px;border:1px dashed #cdd9ea;border-radius:12px;color:#8a99ad;background:#fbfdff}
.sellfox-result-card{padding:22px;border:1px solid #d9e5f5;border-radius:14px;background:linear-gradient(160deg,#fff,#f4f8ff)}.sellfox-result-card>small{color:#6b7b91}.sellfox-result-card h3{margin:8px 0 2px;color:#17335f;font-size:21px}.sellfox-result-card>strong{display:block;margin:12px 0 18px;color:#1765d6;font-size:38px;line-height:1}.sellfox-result-card>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.sellfox-result-card span{display:grid;gap:4px;padding:10px;border-radius:9px;background:#fff;color:#8290a4;font-size:12px}.sellfox-result-card span b{color:#27364d;font-size:13px}.sellfox-delivery-ok{margin:16px 0 0;padding:10px;border-radius:9px;background:#eaf8f1;color:#148252;font-weight:700}
.sellfox-settings-form{display:grid;gap:14px;margin-bottom:14px}.sellfox-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.sellfox-config-card{display:grid;align-content:start;gap:14px;margin:0}.sellfox-config-card>label{display:grid;gap:7px;color:#34445d;font-weight:700}.sellfox-config-card label small{color:#8290a4;font-weight:400}.sellfox-config-card .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sellfox-config-card .form-grid label{display:grid;gap:7px}.sellfox-switch-row{display:flex!important;align-items:center;justify-content:space-between;gap:16px;padding:13px 14px;border:1px solid #dbe5f2;border-radius:10px;background:#f8fbff}.sellfox-switch-row span{display:grid;gap:3px}.sellfox-switch-row input{width:20px;height:20px}.sellfox-field-picker{margin:0;padding:12px;border:1px solid #dbe5f2;border-radius:10px}.sellfox-field-picker legend{padding:0 6px;color:#34445d;font-weight:700}.sellfox-field-picker>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sellfox-field-picker label{display:flex;align-items:center;gap:7px;padding:8px;border-radius:8px;background:#f7faff;color:#33445e}.sellfox-field-picker label.unavailable{color:#97a3b4;background:#f7f7f8}.sellfox-field-picker label small{margin-left:auto;color:#a16f22}.sellfox-field-picker>small{display:block;margin-top:10px;color:#8795a8}.sellfox-schedule-note{padding:11px 12px;border-radius:9px;background:#f0f6ff;color:#55708f}.sellfox-save-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0}.sellfox-save-bar>div:first-child{display:grid;gap:4px}.sellfox-save-bar small{color:#7b899c}.sellfox-save-bar .error{margin-left:auto}.danger-text{color:#d04444}.sellfox-push-form{display:grid;gap:12px}.sellfox-push-form>label{display:grid;gap:7px}.sellfox-push-layout .panel{margin-top:0}
@media(max-width:1200px){.sellfox-settings-grid{grid-template-columns:1fr 1fr}.sellfox-config-card:last-child{grid-column:1/-1}.sellfox-status-cards{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.sellfox-push-layout,.sellfox-settings-grid{grid-template-columns:1fr}.sellfox-config-card:last-child,.sellfox-status-cards article:last-child{grid-column:auto}.sellfox-status-cards{grid-template-columns:1fr}.sellfox-push-form .form-grid,.sellfox-config-card .form-grid{grid-template-columns:1fr}.sellfox-push-form .span-2{grid-column:auto}.sellfox-save-bar{align-items:stretch;flex-direction:column}.sellfox-save-bar .error{margin-left:0}}
.sellfox-settings-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}.sellfox-shop-field-panel{margin:0}.sellfox-shop-field-layout{display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr);gap:18px}.sellfox-shop-list{display:grid;gap:10px;max-height:720px;overflow:auto}.sellfox-shop-card{display:grid;gap:9px;padding:13px;border:1px solid #dce6f2;border-radius:12px;background:#fbfdff;cursor:pointer;transition:.15s}.sellfox-shop-card.active{border-color:#4f86e8;background:#f2f7ff;box-shadow:0 0 0 2px rgba(69,126,225,.1)}.sellfox-shop-card header,.sellfox-shop-card>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.sellfox-shop-card header span{padding:3px 7px;border-radius:999px;background:#e5eefc;color:#3765a8;font-size:11px}.sellfox-shop-card label{display:grid;gap:4px;color:#52647b;font-size:11px}.sellfox-shop-card input,.sellfox-shop-card select{width:100%;min-width:0}.sellfox-shop-card>div>label:first-child{flex:1}.sellfox-shop-card .sellfox-shop-enabled{display:flex;align-items:center;gap:5px;white-space:nowrap}.sellfox-shop-card .sellfox-shop-enabled input{width:16px;height:16px}.sellfox-shop-card>button{justify-self:start;padding:4px 0;border:0;background:transparent}.sellfox-field-catalog{min-width:0}.sellfox-active-shop-hint{margin-bottom:10px;color:#173d75;font-weight:800}.sellfox-field-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) 180px auto auto;gap:8px}.sellfox-field-summary{margin:10px 0;padding:9px 11px;border-radius:9px;background:#edf5ff;color:#4e6686}.sellfox-field-options{display:grid;gap:12px;max-height:590px;padding-right:4px;overflow:auto}.sellfox-field-group{border:1px solid #dce6f3;border-radius:11px;overflow:hidden}.sellfox-field-group>header{display:flex;justify-content:space-between;padding:10px 12px;background:#eef4fc;color:#2f496e}.sellfox-field-group>header span{color:#73839a;font-size:11px}.sellfox-field-group>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#e7edf6}.sellfox-field-group label{display:flex;align-items:center;gap:8px;min-width:0;padding:9px 10px;background:#fff}.sellfox-field-group label>span{display:grid;min-width:0;flex:1}.sellfox-field-group label>span b,.sellfox-field-group label>span small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sellfox-field-group label>span small{color:#8996a8;font-size:10px}.sellfox-field-group label em{flex:none;padding:3px 6px;border-radius:999px;font-size:10px;font-style:normal}.sellfox-field-group label em.verified{background:#e1f7eb;color:#158056}.sellfox-field-group label em.documented{background:#fff2d8;color:#96620d}.sellfox-field-note{display:block;margin-top:10px;color:#77869b;line-height:1.6}.sellfox-result-list{display:grid;gap:12px}.sellfox-preview-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.sellfox-preview-fields span{min-width:0}.sellfox-preview-fields em{color:#7c8ca3;font-size:11px;font-style:normal}.sellfox-preview-fields b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sellfox-scope-note{margin:12px 0 0;color:#a06b13;font-size:11px;line-height:1.5}
@media(max-width:1100px){.sellfox-shop-field-layout{grid-template-columns:1fr}.sellfox-shop-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.sellfox-field-toolbar{grid-template-columns:1fr 1fr}.sellfox-field-group>div{grid-template-columns:1fr}}
@media(max-width:720px){.sellfox-settings-grid-two,.sellfox-shop-list{grid-template-columns:1fr}.sellfox-field-toolbar{grid-template-columns:1fr}.sellfox-preview-fields{grid-template-columns:1fr!important}}
.sellfox-inventory-config{margin:0}.sellfox-inventory-config>.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sellfox-inventory-config>.form-grid label{display:grid;gap:6px;color:#43536b;font-weight:700}.sellfox-inventory-developers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:12px}.sellfox-inventory-developers span{display:grid;gap:3px;padding:11px 12px;border:1px solid #dbe6f3;border-radius:10px;background:#f7fbff}.sellfox-inventory-developers small{color:#7c8ca2}.sellfox-snapshot-time{margin:5px 0 14px;color:#76869d;font-size:12px}.sellfox-developer-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.sellfox-developer-grid section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px;border:1px solid #dfe8f4;border-radius:11px;background:#fff}.sellfox-developer-grid h4{grid-column:1/-1;margin:0 0 2px;color:#173d75}.sellfox-developer-grid span{padding:8px}.sellfox-developer-grid span:last-child{grid-column:1/-1}.sellfox-inventory-result{background:linear-gradient(160deg,#fffdf7,#f7fbff)}
@media(max-width:900px){.sellfox-inventory-developers,.sellfox-developer-grid{grid-template-columns:1fr 1fr!important}.sellfox-inventory-config>.form-grid{grid-template-columns:1fr}}
@media(max-width:620px){.sellfox-inventory-developers,.sellfox-developer-grid{grid-template-columns:1fr!important}}
