:root{--blue:#356fd3;--bg:#f4f6fa;--text:#1d2636;--muted:#788397;--line:#e3e7ef;--red:#d94c4c;--green:#2e9d67;--orange:#d8842d}*{box-sizing:border-box}body{margin:0;font-family:Arial,"Microsoft YaHei",sans-serif;background:var(--bg);color:var(--text)}header{height:64px;background:#172033;color:white;display:flex;align-items:center;justify-content:space-between;padding:0 32px;position:sticky;top:0;z-index:5}.brand{font-size:20px;font-weight:700}nav a{color:#dbe4f6;text-decoration:none;margin-left:26px}nav a:hover{color:white}main{max-width:1500px;margin:0 auto;padding:28px}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.page-title h1{margin:0 0 5px;font-size:28px}.page-title p{margin:0;color:var(--muted)}.btn{border:1px solid #cdd4e0;background:white;color:#2b3648;padding:9px 15px;border-radius:7px;text-decoration:none;cursor:pointer;display:inline-block;font-size:14px}.btn.primary{background:var(--blue);color:white;border-color:var(--blue)}.panel{background:white;border:1px solid var(--line);border-radius:10px;padding:20px;box-shadow:0 1px 2px #00000008;margin-bottom:20px}.cards{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:20px}.card{background:white;border:1px solid var(--line);border-left:4px solid var(--blue);border-radius:9px;padding:20px;text-decoration:none;color:var(--text)}.card b{font-size:29px;display:block}.card span{color:var(--muted);font-size:14px}.card.red{border-left-color:var(--red)}.card.orange{border-left-color:var(--orange)}.card.green{border-left-color:var(--green)}.card.gray{border-left-color:#929bab}.grid2{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.panel h2,.panel h3{margin-top:0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;background:#f6f8fb;color:#586477;padding:11px 10px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:11px 10px;border-bottom:1px solid #edf0f5;vertical-align:middle}td a{text-decoration:none;color:#1d4f9f}td small{display:block;color:#99a3b2;margin-top:3px}.summary{max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.badge{display:inline-block;padding:4px 8px;border-radius:15px;background:#edf3ff;color:#315fbb;font-size:12px}.badge.stage{background:#eef8f2;color:#277c53}.badge.big{font-size:14px}.due{background:#fff1dc;color:#a86112;padding:4px 7px;border-radius:5px;white-space:nowrap}.due.late{background:#ffeaea;color:#b83232}.filters{display:flex;gap:8px;flex-wrap:wrap;background:white;border:1px solid var(--line);padding:14px;border-radius:9px;margin-bottom:15px}.filters input,.filters select{height:38px;border:1px solid #ccd3df;border-radius:6px;padding:0 10px;min-width:130px}.filters input{min-width:250px}.form h3{border-bottom:1px solid var(--line);padding-bottom:10px;margin-top:28px}.form h3:first-child{margin-top:0}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}label{font-size:13px;color:#5a6678;display:flex;flex-direction:column;gap:6px}input,select,textarea{font:inherit}label input,label select,label textarea,.follow-form input,.follow-form textarea{border:1px solid #ccd3df;border-radius:6px;padding:10px;background:white}textarea{min-height:82px;resize:vertical}.span2{grid-column:span 2}.actions{text-align:right;margin-top:22px}.flash{padding:12px 14px;border-radius:7px;margin-bottom:15px}.flash.success{background:#eaf8f0;color:#25784e}.flash.error{background:#fdecec;color:#a93939}.profile-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:20px}.profile-top{display:flex;align-items:flex-start;gap:15px}.product-img{width:120px;height:120px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}.profile-tags{display:flex;gap:7px;flex-wrap:wrap}.info{display:grid;grid-template-columns:100px 1fr;margin-top:20px;font-size:14px}.info dt{color:var(--muted);padding:8px 0}.info dd{margin:0;padding:8px 0;border-bottom:1px solid #f0f2f5}.timeline{padding:5px 0}.timeline-item{display:grid;grid-template-columns:18px 1fr;gap:8px;position:relative;padding:8px 0 18px}.timeline-item:before{content:'';position:absolute;left:6px;top:20px;bottom:-5px;width:1px;background:#d9dfe8}.timeline-item:last-child:before{display:none}.dot{width:13px;height:13px;border-radius:50%;background:var(--blue);margin-top:4px}.timeline p{margin:7px 0;line-height:1.55}.timeline-meta,.muted{color:var(--muted);font-size:13px}.next{font-size:13px;color:#9a6215;background:#fff5e3;display:inline-block;padding:4px 7px;border-radius:5px}.text-btn{border:0;background:none;color:#a94b4b;padding:5px 0;cursor:pointer}.compact .timeline-item{padding-bottom:12px}.empty{text-align:center;color:#9aa3b1;padding:35px!important}.import-box{max-width:800px}.import-box form{display:flex;gap:12px;align-items:center;padding:20px;background:#f8faff;border:1px dashed #bdc9dc;border-radius:8px;margin-bottom:20px}@media(max-width:900px){main{padding:15px}.cards{grid-template-columns:1fr 1fr}.grid2,.profile-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}header{padding:0 15px}nav a{margin-left:10px}.customer-table{min-width:1100px}}
.login-card{max-width:430px;margin:90px auto;padding:30px}.login-card form{display:grid;gap:16px}.wide{width:100%}.hint{margin-top:18px;padding:12px;background:#fff6df;border-radius:7px;font-size:13px;color:#805b16}.brand small{font-size:11px;opacity:.65}.chat-link{white-space:nowrap;font-weight:600}.supervisor-note{max-width:220px}.badge.public{background:#fff1dc;color:#a86112}.setting-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line)}.inline{display:flex;gap:7px;align-items:center}.inline select{padding:8px;border:1px solid #ccd3df;border-radius:6px}
.bulk-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#eef3fb;border:1px solid #d8e2f1;padding:12px 14px;border-radius:9px;margin-bottom:12px}.bulk-bar select{height:38px;border:1px solid #ccd3df;border-radius:6px;padding:0 10px}.paste-preview{width:120px;height:90px;object-fit:cover;border:1px solid var(--line);border-radius:7px;margin-top:6px}

.image-field{font-size:13px;color:#5a6678;display:flex;flex-direction:column;gap:6px}.field-label{font-size:13px;color:#5a6678}.image-upload-box{border:1px dashed #b9c5d8;background:#f8faff;border-radius:8px;padding:12px;min-height:150px;outline:none}.image-upload-box:focus{border-color:#7f9ed5;box-shadow:0 0 0 3px #356fd315}.image-upload-actions{display:flex;gap:8px;margin-bottom:8px}.image-help{line-height:1.5;margin-bottom:8px}.image-empty{height:70px;display:flex;align-items:center;justify-content:center;color:#a0a9b7;background:white;border-radius:6px}.danger-soft{color:#a93939;border-color:#e5bcbc;background:#fff7f7}.paste-preview{display:block;max-width:180px;width:auto;height:110px;object-fit:contain;background:white}

/* V1.1.4 */
.inline-form{display:inline-block;margin:0}
.continue-next{display:inline-flex!important;align-items:center;gap:7px;margin-left:auto;font-weight:500!important;cursor:pointer}
.continue-next input{width:auto!important;margin:0}
.card.won small{display:block;margin-top:6px;font-size:12px;opacity:.75;font-weight:500}
/* Task Center V1 */
.task-cards{grid-template-columns:repeat(4,1fr)}.task-table{min-width:1250px}.task-requirement-cell{max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.priority{display:inline-block;padding:4px 8px;border-radius:14px;font-size:12px;background:#eef2f6;color:#536174}.p-紧急{background:#fff1dc;color:#a86112}.p-非常紧急{background:#ffeaea;color:#b83232;font-weight:700}.requirement-box{min-height:190px;line-height:1.65}.requirement-display{white-space:pre-wrap;line-height:1.75;background:#f8faff;border:1px solid #e0e6ef;border-radius:8px;padding:16px}.upload-section{border:1px dashed #bdc9dc;background:#f8faff;border-radius:8px;padding:14px}.upload-row{display:grid;grid-template-columns:80px 1fr auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #e9edf3}.upload-row:last-child{border-bottom:0}.existing-files-hint{margin-top:10px;color:var(--muted);font-size:13px}.task-status-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:20px}.task-status-strip>div{background:white;border:1px solid var(--line);border-radius:8px;padding:14px}.task-status-strip small{display:block;color:var(--muted);margin-bottom:6px}.late-text{color:var(--red)}.return-alert{background:#fff1dc;border:1px solid #f0cf9c;color:#8a5814;padding:13px 15px;border-radius:8px;margin:14px 0}.file-row{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.file-row>a{flex:1;color:#1d4f9f;text-decoration:none}.file-row form{margin:0}.task-images{display:flex;gap:12px;flex-wrap:wrap}.task-image-card{width:160px;border:1px solid var(--line);border-radius:8px;padding:8px;background:#fafbfc}.task-image-card img{width:142px;height:105px;object-fit:contain;background:white;border-radius:5px}.task-image-card a{text-decoration:none;color:#1d4f9f;font-size:12px}.task-image-card span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}.stack-form{display:grid;gap:10px}.top-line{border-top:1px solid var(--line);padding-top:15px;margin-top:15px}.disabled{opacity:.55;cursor:not-allowed}.task-detail-grid{grid-template-columns:1.35fr .85fr}@media(max-width:900px){.task-cards,.task-status-strip{grid-template-columns:1fr 1fr}.task-detail-grid{grid-template-columns:1fr}}

/* Task Center V1.0.1 upload validation / clipboard image */
.upload-format-notice{padding:10px 12px;margin-bottom:10px;border:1px solid #d9e1e8;border-radius:8px;background:#f8fafc;line-height:1.7}
.image-paste-zone{outline:none}
.image-paste-zone:focus{box-shadow:0 0 0 2px rgba(31,78,120,.15)}
.image-upload-row{align-items:center;flex-wrap:wrap}
.task-image-preview{width:72px;height:72px;object-fit:cover;border:1px solid #ddd;border-radius:6px;margin-left:8px}
.paste-tip{margin-top:8px}

/* Task Center V1.1 - left navigation + task multi-select */
body{background:var(--bg)}
.app-shell{min-height:100vh;display:flex}.sidebar{position:fixed;left:0;top:0;bottom:0;width:238px;background:#172033;color:white;display:flex;flex-direction:column;z-index:20;border-right:1px solid #26324a}.side-brand{height:66px;display:flex;align-items:center;padding:0 20px;font-size:18px;font-weight:700;border-bottom:1px solid #2a354a}.side-brand small{margin-left:7px;font-size:11px;opacity:.62}.side-section-title{padding:16px 18px 8px;color:#77859e;font-size:12px;letter-spacing:.08em}.side-nav{overflow:auto;padding:0 10px 16px;flex:1}.side-nav a,.side-disabled,.side-link{display:flex!important;align-items:center;justify-content:space-between;margin:2px 0!important;padding:9px 10px;border-radius:6px;color:#dbe4f6;text-decoration:none;font-size:14px}.side-nav a:hover{background:#23304a;color:white}.side-group{margin:5px 0}.side-group summary{cursor:pointer;list-style:none;padding:10px;color:#eef3fc;font-weight:600;border-radius:6px}.side-group summary::-webkit-details-marker{display:none}.side-group summary:before{content:'›';display:inline-block;margin-right:8px;color:#8494af;transition:.15s}.side-group[open] summary:before{transform:rotate(90deg)}.side-group a,.side-group .side-disabled{padding-left:28px;font-size:13px}.side-disabled{color:#75839b;cursor:default}.side-disabled em{font-style:normal;font-size:10px;color:#69758a;border:1px solid #3b475c;border-radius:10px;padding:2px 6px}.side-user{border-top:1px solid #2a354a;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:8px}.side-user b,.side-user small{display:block}.side-user small{color:#8492aa;margin-top:3px;font-size:11px}.side-user a{color:#aebbd0;text-decoration:none;font-size:12px}.app-main{margin-left:238px;width:calc(100% - 238px);min-width:0}.app-main main{max-width:1600px}.task-select-bar{display:flex;gap:18px;align-items:center;background:#eef3fb;border:1px solid #d8e2f1;border-radius:8px;padding:10px 13px;margin-bottom:12px}.check-col{width:42px;text-align:center!important}.check-col input{width:16px;height:16px;cursor:pointer}
@media(max-width:900px){.sidebar{width:205px}.app-main{margin-left:205px;width:calc(100% - 205px)}.task-select-bar{align-items:flex-start;flex-direction:column;gap:4px}}

.badge.status-cancelled{background:#fde8e8!important;color:#b42318!important;border:1px solid #f6bcbc}
/* Purchase Order V1 */
.po-items{min-width:1250px}.po-items select{min-width:210px}.po-items input,.po-items select{border:1px solid #ccd3df;border-radius:6px;padding:8px;max-width:180px}.po-total{text-align:right;font-size:18px;padding:18px 4px}.po-total b{font-size:22px;color:#1d4f9f}

/* Finance V1.1: paste-first payment proof + notifications */
.paste-buffer{min-height:120px;border:1px dashed #aab3c2;border-radius:10px;padding:18px;display:flex;flex-direction:column;gap:6px;justify-content:center;align-items:center;text-align:center;background:#fafbfc;cursor:text;outline:none}.paste-buffer:focus{border-color:#607d9c;box-shadow:0 0 0 3px rgba(96,125,156,.10)}.paste-buffer span{font-size:12px;color:#6b7280}.checkline{display:flex!important;align-items:center;gap:8px}.checkline input{width:auto!important}.notice-count{display:inline-flex;min-width:20px;height:20px;padding:0 6px;border-radius:10px;align-items:center;justify-content:center;background:#c0392b;color:#fff;font-size:11px}.notice-unread td{font-weight:500;background:#fffaf0}
/* Management Analytics Dashboard V1 */
.section-title{margin:28px 0 12px;font-size:20px}.analytics-filter{align-items:end}.analytics-filter label{min-width:170px}.analytics-filter input{min-width:170px}.analytics-cards{grid-template-columns:repeat(5,minmax(0,1fr))}.analytics-cards.four{grid-template-columns:repeat(4,minmax(0,1fr))}.analytics-cards .card{min-width:0}.analytics-cards .card b{font-size:24px;overflow:hidden;text-overflow:ellipsis}.analytics-cards .card small{display:block;color:var(--muted);margin-top:7px}.analytics-grid{grid-template-columns:1.45fr 1fr}.bar-list{display:grid;gap:11px}.bar-row{display:grid;grid-template-columns:72px minmax(120px,1fr) 105px 44px;gap:10px;align-items:center;font-size:12px}.bar-row>span{color:var(--muted)}.bar-row>b{text-align:right;font-size:12px}.bar-row>em{font-style:normal;color:var(--muted);text-align:right}.bar-track{height:12px;background:#edf1f6;border-radius:7px;overflow:hidden}.bar-track i{display:block;height:100%;background:var(--blue);border-radius:7px;min-width:0}.mini-list{display:grid;gap:8px}.mini-list>div{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#f7f9fc;border-radius:7px}.mini-list b{font-size:18px}.analytics-note{font-size:13px;color:#5d6878;line-height:1.7;background:#fbfcfe}@media(max-width:1200px){.analytics-cards,.analytics-cards.four{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.analytics-grid{grid-template-columns:1fr}.analytics-cards,.analytics-cards.four{grid-template-columns:1fr}.bar-row{grid-template-columns:58px minmax(80px,1fr) 85px 36px}}
/* System UX & Data Governance V1 */
.topbar{height:58px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:0 22px;position:sticky;top:0;z-index:15}.topbar-spacer{flex:1}.top-icon-link{color:#344054!important;text-decoration:none!important;margin:0!important;padding:8px 10px;border-radius:7px}.top-icon-link:hover{background:#f2f4f7}.account-menu{position:relative}.account-toggle{border:1px solid #d8dee8;background:#fff;border-radius:8px;padding:8px 12px;cursor:pointer}.account-dropdown{display:none;position:absolute;right:0;top:42px;min-width:210px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 26px #0002;border-radius:9px;padding:8px;z-index:40}.account-dropdown.show{display:block}.account-dropdown a{display:block;padding:9px 10px;color:#344054;text-decoration:none;border-radius:6px}.account-dropdown a:hover{background:#f4f6f9}.account-role{padding:8px 10px;color:var(--muted);font-size:12px;border-bottom:1px solid var(--line);margin-bottom:4px}.page-tabs{height:42px;display:flex;align-items:end;gap:4px;padding:5px 12px 0;background:#f7f8fa;border-bottom:1px solid var(--line);overflow-x:auto;position:sticky;top:58px;z-index:14}.page-tab{height:33px;display:flex;align-items:center;border:1px solid #dbe1ea;border-bottom:0;background:#eef1f5;border-radius:7px 7px 0 0;white-space:nowrap}.page-tab.active{background:#fff}.page-tab a{padding:8px 9px;color:#4b5565;text-decoration:none;font-size:12px}.page-tab button{border:0;background:transparent;cursor:pointer;color:#8a94a3;font-size:15px;padding:5px 7px}.side-nav .active{background:#2c4772!important;color:#fff!important;font-weight:700}.menu-icon{display:inline-flex;width:23px;justify-content:center;margin-right:5px}.side-group summary{display:flex;align-items:center}.side-group summary:before{order:-1}.side-link{justify-content:flex-start!important}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:18px 0;color:var(--muted);font-size:13px}.data-governance-note{margin:0 0 12px;padding:10px 13px;background:#f6f8fb;border:1px solid var(--line);border-radius:8px;color:#667085;font-size:12px}.task-filters input[type=date]{min-width:145px}.inline-reset{display:flex;align-items:center;gap:6px}.inline-reset input{width:150px;border:1px solid #ccd3df;border-radius:6px;padding:8px}.narrow-panel{max-width:620px}.customer-search-label{position:relative}.customer-suggestions{display:none;position:absolute;z-index:60;left:0;right:0;top:70px;background:#fff;border:1px solid #d7dee8;border-radius:8px;box-shadow:0 8px 24px #0002;max-height:320px;overflow:auto}.customer-suggestions.show{display:block}.customer-suggestions button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #edf0f4;background:#fff;padding:10px 12px;cursor:pointer}.customer-suggestions button:hover{background:#f4f7fb}.customer-suggestions b,.customer-suggestions small{display:block}.customer-suggestions small{color:var(--muted);margin-top:3px}.empty-mini{padding:14px;color:var(--muted)}.notification-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}.notification-tabs a{padding:7px 12px;border:1px solid #d9e0e9;border-radius:16px;text-decoration:none;color:#586477;background:#fff;font-size:13px}.notification-tabs a.active{background:#356fd3;color:#fff;border-color:#356fd3}.external-order-link{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:6px;background:#fff4e8;color:#b45309;text-decoration:none;font-weight:600}.payment-blocked{padding:10px 12px;background:#fff5e8;border:1px solid #f2d2aa;border-radius:7px;color:#8a5a19;font-size:13px}.platform-1688{color:#e66b19;font-weight:700}.side-user{display:none!important}
.pagination{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin:16px 0}.page-size-form,.page-jump-form{display:flex;gap:6px;align-items:center;margin:0}.page-jump-form input{width:72px}.notice-menu{position:relative}.top-icon-link{border:0;background:transparent;cursor:pointer}.notice-dropdown{display:none;position:absolute;right:0;top:42px;width:390px;max-height:520px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 16px 40px rgba(0,0,0,.15);z-index:1000;overflow:hidden}.notice-dropdown.show{display:block}.notice-head{display:flex;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #eee}.notice-list{max-height:390px;overflow:auto}.notice-item{display:flex;flex-direction:column;gap:4px;padding:12px 16px;border-bottom:1px solid #f1f1f1;text-decoration:none;color:inherit}.notice-item.unread{background:#f7f9ff}.notice-item small{color:#777}.notice-item span{font-size:13px;color:#555;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notice-all{display:block;text-align:center;padding:13px;text-decoration:none;font-weight:600}.status-workbench{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 16px}.status-card{min-width:130px;padding:12px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;text-decoration:none;color:inherit;display:flex;justify-content:space-between;gap:12px}.status-card.active{border-color:#333;box-shadow:0 2px 8px rgba(0,0,0,.08)}.tower-collapsed-head{display:flex;align-items:center;justify-content:space-between}.tower-collapsed-head>div{display:flex;gap:12px;align-items:center}
.mini-pagination{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-top:10px;font-size:12px}.mini-pagination form{display:flex;gap:4px;margin:0}.mini-pagination input{width:58px;padding:5px}.mini-pagination select{padding:5px}
.customer-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px}.filter-sidebar{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px;align-self:start;position:sticky;top:90px}.filter-sidebar form,.filter-sidebar label{display:grid;gap:6px}.filter-sidebar form{gap:10px}.filter-sidebar details{border-top:1px solid #eee;padding-top:10px}.filter-sidebar summary{cursor:pointer;font-weight:600}.customer-main{min-width:0}.customer-quick-link{border:0;background:none;text-align:left;padding:0;cursor:pointer;color:inherit}.customer-quick-link b,.customer-quick-link small{display:block}.customer-drawer{display:none;position:fixed;inset:0;z-index:1200}.customer-drawer.show{display:block}.drawer-mask{position:absolute;inset:0;background:rgba(0,0,0,.25)}.drawer-panel{position:absolute;right:0;top:0;height:100%;width:min(520px,92vw);background:#fff;padding:22px;overflow:auto;box-shadow:-10px 0 30px rgba(0,0,0,.12)}.drawer-close{position:absolute;right:15px;top:10px;border:0;background:none;font-size:28px;cursor:pointer}.quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:16px 0}.quick-grid span{background:#f7f8fa;padding:10px;border-radius:8px}.quick-grid b{display:block;margin-top:4px}.drawer-panel textarea{width:100%;min-height:90px;margin:8px 0}.quick-timeline>div{border-left:2px solid #e5e7eb;padding:4px 0 4px 12px;margin:10px 0}.status-workbench{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.status-chip{padding:8px 12px;background:#fff;border:1px solid #ddd;border-radius:999px;text-decoration:none}.status-chip.active{border-color:#111;font-weight:700}.status-chip b{margin-left:5px}.compact-filter{margin-bottom:10px}@media(max-width:900px){.customer-workspace{grid-template-columns:1fr}.filter-sidebar{position:static}}

/* V1.2.1 客户工作台交互优化
   1) 客户/公海筛选器贴在业务区最左侧，不参与客户列表布局
   2) 客户快速工作台从右侧平滑滑入/滑出，不挤压列表 */
@media (min-width: 901px){
  .customer-workspace{display:block;position:relative;min-width:0}
  .customer-workspace>.filter-sidebar{
    position:fixed;
    left:254px;
    top:142px;
    width:220px;
    max-height:calc(100vh - 162px);
    overflow:auto;
    z-index:13;
    margin:0;
    box-shadow:0 3px 14px rgba(16,24,40,.06);
  }
  .customer-workspace>.customer-main{width:100%;min-width:0}
}

/* Drawer: keep mounted so CSS transitions can animate it. */
.customer-drawer{
  display:block;
  position:fixed;
  inset:0;
  z-index:1200;
  visibility:hidden;
  pointer-events:none;
}
.customer-drawer .drawer-mask{
  opacity:0;
  transition:opacity 240ms ease;
}
.customer-drawer .drawer-panel{
  transform:translate3d(102%,0,0);
  opacity:.985;
  transition:transform 270ms cubic-bezier(.22,.8,.25,1),opacity 220ms ease;
  will-change:transform;
}
.customer-drawer.show{
  visibility:visible;
  pointer-events:auto;
}
.customer-drawer.show .drawer-mask{opacity:1}
.customer-drawer.show .drawer-panel{
  transform:translate3d(0,0,0);
  opacity:1;
}
@media (prefers-reduced-motion: reduce){
  .customer-drawer .drawer-mask,.customer-drawer .drawer-panel{transition:none}
}
@media(max-width:900px){
  .customer-workspace{display:block}
  .customer-workspace>.filter-sidebar{position:static;width:auto;max-height:none;overflow:visible;margin-bottom:14px}
}

/* V1.3.1 客户筛选工作台：类目式 Facet + 精简顶部筛选 */
.facet-sidebar{padding:0!important;overflow:hidden!important}.facet-title{display:flex;align-items:center;justify-content:space-between;padding:15px 15px 11px;border-bottom:1px solid #edf0f4}.facet-title h3{margin:0;font-size:15px}.facet-title a{font-size:12px;color:#667085;text-decoration:none}.facet-group{border-bottom:1px solid #edf0f4}.facet-group summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:12px 14px;cursor:pointer;font-weight:700;color:#344054;background:#fff}.facet-group summary::-webkit-details-marker{display:none}.facet-group summary:before{content:'›';font-size:18px;margin-right:7px;color:#98a2b3;transition:transform .18s}.facet-group[open] summary:before{transform:rotate(90deg)}.facet-group summary span{flex:1}.facet-group summary b{font-size:11px;font-weight:600;color:#98a2b3;background:#f2f4f7;border-radius:999px;padding:2px 7px}.facet-items{padding:2px 8px 10px}.facet-item{display:flex;align-items:center;justify-content:space-between;min-height:32px;padding:6px 9px 6px 26px;border-radius:7px;color:#475467;text-decoration:none;font-size:13px;margin:1px 0}.facet-item:hover{background:#f5f7fa}.facet-item.active{background:#eef4ff;color:#175cd3;font-weight:700}.facet-item b{min-width:28px;text-align:right;font-size:11px;font-weight:600;color:#98a2b3}.facet-item.active b{color:#175cd3}.customer-filter-toolbar{background:linear-gradient(180deg,#fff,#fbfcfe);border:1px solid #e5e9f0;border-radius:12px;padding:12px 14px;margin-bottom:10px;box-shadow:0 2px 8px rgba(16,24,40,.035)}.customer-search-box{height:40px;display:flex;align-items:center;gap:8px;border:1px solid #d9e0e9;background:#fff;border-radius:9px;padding:0 11px;margin-bottom:9px;max-width:620px}.customer-search-box span{font-size:22px;color:#98a2b3;transform:rotate(-20deg)}.customer-search-box input{border:0!important;outline:0;box-shadow:none!important;padding:0!important;flex:1;min-width:0}.filter-toolbar-row{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.filter-toolbar-row label{display:grid;gap:4px;font-size:11px;color:#667085}.filter-toolbar-row select{min-width:130px}.btn.soft{background:#f8fafc;border-color:#e4e7ec;color:#475467}.active-filter-chip{display:inline-flex;align-items:center;gap:5px;background:#eef4ff;color:#1849a9;border:1px solid #d1e0ff;border-radius:999px;padding:5px 8px 5px 10px;font-size:12px;margin:0 5px 10px 0}.active-filter-chip button{border:0;background:transparent;color:#667085;cursor:pointer;font-size:15px;line-height:1;padding:0}.facet-sidebar .facet-group:nth-of-type(1),.facet-sidebar .facet-group:nth-of-type(2){ }
@media(max-width:900px){.facet-sidebar{overflow:visible!important}.filter-toolbar-row label,.filter-toolbar-row select{width:100%}.customer-search-box{max-width:none}}

/* V1.3.3 customer drawer quick follow-up */
.quick-followup-head{display:flex;align-items:center;justify-content:space-between;margin:22px 0 10px;padding-top:18px;border-top:1px solid #edf0f5}.quick-followup-head h3{margin:0 0 3px;font-size:16px}.quick-followup-head small{color:#8a93a3}.quick-followup-dot{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#f1f5ff;color:#4e6ecb;font-size:15px}.quick-followup-form{padding:14px;border:1px solid #e7ebf2;border-radius:14px;background:linear-gradient(180deg,#fbfcff 0%,#fff 100%);box-shadow:0 8px 24px rgba(32,52,89,.05)}.quick-followup-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-followup-form label{display:flex;flex-direction:column;gap:6px;color:#687386;font-size:12px;font-weight:600}.quick-followup-form input,.quick-followup-form select,.quick-followup-form textarea{width:100%;box-sizing:border-box;border:1px solid #dfe5ee;border-radius:10px;background:#fff;color:#263248;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.quick-followup-form input,.quick-followup-form select{height:40px;padding:0 11px}.quick-followup-form textarea{min-height:100px;padding:11px 12px;resize:vertical;line-height:1.55}.quick-followup-form input:focus,.quick-followup-form select:focus,.quick-followup-form textarea:focus{border-color:#7294df;box-shadow:0 0 0 3px rgba(75,112,198,.12);background:#fff}.pretty-select{position:relative}.pretty-select:after{content:'⌄';position:absolute;right:11px;top:8px;color:#8490a3;pointer-events:none}.pretty-select select{appearance:none;padding-right:32px}.quick-followup-content{margin-top:11px}.quick-followup-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.quick-followup-actions .muted{font-size:11px}.quick-save-btn{min-width:112px;box-shadow:0 5px 14px rgba(49,95,187,.16)}@media(max-width:680px){.quick-followup-fields{grid-template-columns:1fr}.quick-followup-actions{align-items:flex-end;flex-direction:column}.quick-save-btn{width:100%}}

/* V1.3.3 personalized sales order workbench */
.so-layout-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0;padding:11px 14px;border:1px solid #e6eaf1;border-radius:12px;background:#fafbfe}.so-layout-toolbar>div{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.so-layout-toolbar .muted{font-size:12px}.so-module{position:relative;transition:opacity .18s ease,transform .18s ease}.so-module.module-hidden{display:none}.so-module.dragging-module{opacity:.52;transform:scale(.995)}.module-drag-handle{position:absolute;right:13px;top:12px;z-index:3;width:29px;height:29px;display:grid;place-items:center;border:1px solid #e1e6ef;border-radius:8px;background:#fff;color:#8994a7;cursor:grab;user-select:none;box-shadow:0 2px 8px rgba(40,55,88,.06)}.module-drag-handle:hover{color:#3e66bd;border-color:#bfcce8;background:#f7f9ff}.module-drag-handle:active{cursor:grabbing}.so-module>.panel,.so-module>.grid2{margin-top:0}.so-module>.panel h2:first-child,.so-module>.grid2>.panel h2:first-child{padding-right:36px}.layout-settings-overlay{position:fixed;inset:0;z-index:1200;pointer-events:none}.layout-settings-overlay.show{pointer-events:auto}.layout-settings-mask{position:absolute;inset:0;background:rgba(21,29,45,.24);opacity:0;transition:opacity .2s ease}.layout-settings-panel{position:absolute;top:0;right:0;width:min(430px,92vw);height:100%;box-sizing:border-box;background:#fff;box-shadow:-18px 0 45px rgba(21,29,45,.16);padding:22px;transform:translateX(102%);transition:transform .25s ease;overflow:auto}.layout-settings-overlay.show .layout-settings-mask{opacity:1}.layout-settings-overlay.show .layout-settings-panel{transform:translateX(0)}.layout-settings-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.layout-settings-head h2{margin:0 0 5px}.layout-settings-head p{margin:0;color:#7f8999;font-size:12px}.layout-module-list{display:flex;flex-direction:column;gap:8px}.layout-module-row{display:grid;grid-template-columns:28px 1fr auto auto;align-items:center;gap:9px;min-height:48px;padding:8px 9px;border:1px solid #e7ebf2;border-radius:11px;background:#fff;transition:box-shadow .16s ease,border-color .16s ease}.layout-module-row:hover{border-color:#cdd7ea;box-shadow:0 5px 15px rgba(40,55,88,.06)}.layout-module-row.dragging{opacity:.48}.layout-grip{cursor:grab;color:#97a0af;font-size:18px;text-align:center}.layout-switch{position:relative;width:38px;height:22px}.layout-switch input{display:none}.layout-switch span{position:absolute;inset:0;border-radius:20px;background:#d9dee8;cursor:pointer;transition:.18s}.layout-switch span:after{content:'';position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:.18s}.layout-switch input:checked+span{background:#5277cc}.layout-switch input:checked+span:after{transform:translateX(16px)}.layout-order-buttons{display:flex;gap:4px}.layout-order-buttons button{width:28px;height:28px;border:1px solid #e3e7ee;border-radius:7px;background:#f8f9fb;color:#677386;cursor:pointer}.layout-order-buttons button:hover{background:#eef3ff;color:#365fae}.layout-settings-actions{display:flex;justify-content:space-between;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid #edf0f5}@media(max-width:760px){.so-layout-toolbar{align-items:flex-start;flex-direction:column}.module-drag-handle{right:10px;top:10px}}

/* V1.3.4 settlement/profit/date-tree/quick-record */
.settlement-kpis{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.settlement-kpis span{background:#f6f8fb;padding:10px 12px;border-radius:10px}.settlement-kpis b{display:block;margin-top:4px}.profit-main{padding:14px;border-radius:12px;background:#f6f8fb}.profit-main b{font-size:28px;display:block;margin:5px 0}.profit-lines{display:grid;grid-template-columns:1fr auto;gap:7px 15px}.profit-lines dt,.profit-lines dd{margin:0}.quick-record{margin:10px 0}.quick-record>span{font-size:12px;color:#6b7280}.quick-record-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.quick-record-chip{border:1px solid #d9e1ec;background:#fff;border-radius:999px;padding:6px 10px;cursor:pointer}.quick-record-chip:hover,.quick-record-chip.active{background:#edf4ff;border-color:#7ca7ee;color:#2459b8}.inline-finance-confirm{display:grid;grid-template-columns:110px 90px 150px 130px auto auto;gap:5px;min-width:720px}.compact-form{display:flex;gap:8px;flex-wrap:wrap;align-items:end}.compact-form label{min-width:150px}@media(max-width:1100px){.inline-finance-confirm{grid-template-columns:1fr 1fr;min-width:420px}}
/* V1.3.5 system settings / quick UX */
.floating-toast{position:fixed;right:28px;top:82px;z-index:3000;background:#172033;color:#fff;padding:12px 18px;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.18);font-weight:700;animation:toastIn .2s ease}
@keyframes toastIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.settings-layout{display:grid;gap:16px}.settings-section{padding:20px}.settings-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:15px}.settings-head h2{margin:0 0 5px}.settings-head p{margin:0;color:#748096}.status-pill{background:#eef4ff;color:#285db8;border-radius:999px;padding:6px 10px;font-weight:700;white-space:nowrap}.setting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.setting-card{display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid #e5e9f0;border-radius:14px;background:#fbfcfe}.setting-card>span{font-weight:800}.setting-card small{color:#7b8798;line-height:1.45}.settings-savebar{position:sticky;bottom:16px;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-radius:14px;background:rgba(24,32,49,.94);color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.18);backdrop-filter:blur(8px)}
.payment-proof-field{grid-column:1/-1}.payment-proof-preview{max-height:280px;object-fit:contain}.link-button{border:0;background:none;color:#2763c4;padding:0;cursor:pointer;text-decoration:underline}.proof-modal{position:fixed;inset:0;z-index:3500;display:none}.proof-modal.show{display:block}.proof-modal-mask{position:absolute;inset:0;background:rgba(12,18,28,.62)}.proof-modal-card{position:absolute;inset:5% 8%;background:#fff;border-radius:18px;padding:20px;box-shadow:0 20px 80px rgba(0,0,0,.35);overflow:auto}.proof-full-image{display:block;max-width:100%;max-height:82vh;margin:auto;object-fit:contain}.proof-frame{width:100%;height:80vh;border:0}
@media(max-width:900px){.setting-grid{grid-template-columns:1fr}.settings-savebar{position:static;gap:12px;align-items:flex-start;flex-direction:column}}

.notice-item b,.notice-unread b,.notice-unread td b{color:#111827!important}.review-card{border-left:4px solid #d1d5db}.review-card.pending{border-left-color:#d97706}.review-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.review-meta>div{padding:10px;background:#f8fafc;border-radius:8px}.review-actions{display:flex;gap:10px;flex-wrap:wrap}

/* Purchase Center V2 */
.purchase-workbench-cards{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:12px;margin:0 0 16px}.purchase-kpi{display:flex;flex-direction:column;gap:4px;padding:15px 16px;border:1px solid #e3e7ef;background:#fff;border-radius:12px;color:#202938;text-decoration:none;box-shadow:0 2px 7px rgba(31,45,61,.04);transition:.18s}.purchase-kpi:hover,.purchase-kpi.active{transform:translateY(-1px);border-color:#4472c4;box-shadow:0 6px 18px rgba(68,114,196,.12)}.purchase-kpi span{font-size:13px;font-weight:700}.purchase-kpi b{font-size:25px;line-height:1.15}.purchase-kpi small{color:#7b8493}.purchase-kpi.danger b{color:#c0392b}.purchase-kpi.warn b{color:#c47a00}.po-progress{width:130px;height:7px;border-radius:999px;background:#edf0f5;overflow:hidden;margin-bottom:5px}.po-progress span{display:block;height:100%;background:#4472c4;border-radius:999px}.delivery-pill{display:inline-block;padding:4px 8px;border-radius:999px;background:#eef2f7;color:#596273;font-size:12px;white-space:nowrap}.delivery-pill.overdue{background:#ffe8e6;color:#b42318}.delivery-pill.today{background:#fff0d7;color:#9a5b00}.delivery-pill.soon{background:#fff6df;color:#8c6400}.delivery-pill.normal{background:#e8f4ec;color:#247044}.delivery-pill.done{background:#edf0f5;color:#677180}.exception-pill{display:inline-block;padding:3px 7px;border-radius:999px;background:#fff0d7;color:#a35e00;font-size:12px}.purchase-exception-banner{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 16px;margin-bottom:14px;border:1px solid #f0c783;background:#fff8e8;border-radius:12px}.purchase-exception-banner p{margin:4px 0 0}.purchase-exception-banner form{display:flex;gap:8px}.purchase-exception-banner input{min-width:220px}.po-product-thumb{width:64px;height:64px;object-fit:cover;border-radius:9px;border:1px solid #dde2ea;cursor:zoom-in;background:#f6f7f9}.po-image-modal{position:fixed;inset:0;background:rgba(20,25,35,.72);display:none;z-index:1200;align-items:center;justify-content:center;padding:35px}.po-image-modal.show{display:flex}.po-image-modal>div{position:relative;background:#fff;border-radius:14px;padding:18px;max-width:min(1000px,92vw);max-height:90vh;box-shadow:0 18px 60px rgba(0,0,0,.28)}.po-image-modal img{display:block;max-width:86vw;max-height:75vh;object-fit:contain}.po-image-modal button{position:absolute;right:10px;top:8px;border:0;background:#eef1f5;width:34px;height:34px;border-radius:50%;font-size:21px;cursor:pointer}.po-image-modal h3{margin:0 45px 12px 0}.po-followup-form{display:grid;grid-template-columns:150px 150px 180px auto;gap:10px;align-items:center}.po-followup-form textarea{grid-column:1/-1;min-height:86px}.po-followup-form .btn{justify-self:start}.check-line{display:flex!important;align-items:center;gap:6px}.po-followup-list{margin-top:16px;display:grid;gap:9px}.po-followup-list article{padding:11px 13px;border:1px solid #e6e9ef;border-radius:10px;background:#fafbfc}.po-followup-list article.is-exception{border-color:#f0c783;background:#fffaf0}.po-followup-list article>div{display:flex;align-items:center;gap:8px}.po-followup-list article small{color:#7c8593}.po-followup-list article p{margin:6px 0}.dropdown-wrap{position:relative;display:inline-block}.export-menu{display:none;position:absolute;right:0;top:calc(100% + 6px);min-width:190px;background:#fff;border:1px solid #dfe3ea;border-radius:10px;padding:7px;box-shadow:0 12px 32px rgba(35,44,63,.15);z-index:80}.export-menu.show{display:grid}.export-menu b{padding:7px 9px;font-size:12px;color:#6d7685}.export-menu a{padding:8px 10px;border-radius:7px;text-decoration:none;color:#263142}.export-menu a:hover{background:#f0f4fa}.po-export-actions{white-space:nowrap}
@media(max-width:1100px){.purchase-workbench-cards{grid-template-columns:repeat(3,1fr)}}@media(max-width:720px){.purchase-workbench-cards{grid-template-columns:repeat(2,1fr)}.po-followup-form{grid-template-columns:1fr}.po-followup-form textarea{grid-column:auto}.purchase-exception-banner{align-items:stretch;flex-direction:column}.purchase-exception-banner form{flex-direction:column}}
.notify-stack{position:fixed;right:18px;bottom:18px;width:min(360px,calc(100vw - 36px));z-index:5000}.notify-tools{display:flex;justify-content:space-between;align-items:center;padding:6px 8px;font-size:12px;color:#475569}.notify-tools button{border:0;background:none;color:#2563eb;cursor:pointer}.notify-popup{position:relative;background:#fff;border:1px solid #dbeafe;border-radius:12px;padding:12px 36px 11px 13px;margin-top:8px;box-shadow:0 10px 28px rgba(15,23,42,.16);cursor:pointer;animation:notifyIn .18s ease}.notify-popup:hover{border-color:#60a5fa}.notify-popup b,.notify-popup span,.notify-popup small{display:block}.notify-popup span{font-size:13px;color:#475569;margin-top:4px;line-height:1.4}.notify-popup small{font-size:11px;color:#94a3b8;margin-top:6px}.notify-x{position:absolute;right:8px;top:7px;border:0;background:#f1f5f9;border-radius:50%;width:24px;height:24px;cursor:pointer}@keyframes notifyIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}


/* V1.3.11.9.1.18 客户/公海 悬浮筛选栏可折叠：向左收起，只留一条展开把手 */
.facet-title-right{display:flex;align-items:center;gap:10px}
.facet-title .facet-collapse-btn{font-size:11px;font-weight:600;color:#98a2b3;background:#f2f4f7;border:1px solid #e5e9f0;border-radius:6px;padding:3px 7px;cursor:pointer}
.facet-title .facet-collapse-btn:hover{color:#175cd3;border-color:#c9d7f2}
.customer-facet-toggle{display:none;position:fixed;left:254px;top:142px;width:30px;min-height:110px;box-sizing:border-box;padding:14px 7px;background:#fff;border:1px solid #d7e0ee;border-radius:9px;box-shadow:0 3px 12px rgba(16,24,40,.10);cursor:pointer;z-index:14;color:#175cd3;font-size:12px;font-weight:700;line-height:1.35;letter-spacing:1px;writing-mode:vertical-rl;text-align:center}
.customer-facet-toggle:hover{background:#eef4ff;border-color:#a8c3ee}
.customer-workspace.facet-collapsed>.filter-sidebar{display:none}
.customer-workspace.facet-collapsed>.customer-facet-toggle{display:flex;align-items:center;justify-content:center}
@media(max-width:900px){
  .customer-workspace.facet-collapsed>.customer-facet-toggle{position:static;writing-mode:horizontal-tb;width:auto;min-height:0;height:auto;padding:9px 14px;margin:0 0 10px;display:inline-flex}
}
/* 销售订单筛选：日期快捷筛选位于第二行“筛选 / 清空”按钮右侧 */
.sales-order-filters{display:block;padding:16px}
.sales-order-filter-text{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.sales-order-filter-text input{width:100%;min-width:0!important}
.sales-order-filter-dates{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}
.sales-order-filter-dates>input[type=date]{width:294px;min-width:220px}
.sales-order-date-inline{display:flex;align-items:center;gap:6px;width:228px;margin-left:32px}
.sales-order-date-inline select{width:72px!important;min-width:0!important;height:38px;padding:0 6px}
@media(max-width:1100px){.sales-order-filter-text{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-order-date-inline{margin-left:0}}
@media(max-width:700px){.sales-order-filter-text{grid-template-columns:1fr}.sales-order-filter-dates>input[type=date]{width:100%}.sales-order-date-inline{width:100%;margin-left:0}.sales-order-date-inline select{flex:1}}
/* 销售订单列表列设置 */
.so-column-hidden{display:none!important}
.sales-order-action-head,.sales-order-action{width:108px;text-align:right}
.so-column-gear{height:34px;padding:0 10px;border:1px solid #8eb0e8;border-radius:8px;background:#edf4ff;color:#175cd3;font-size:13px;font-weight:700;line-height:1;white-space:nowrap;cursor:pointer}
.so-column-gear:hover{border-color:#356fd3;background:#dfeaff}
.so-column-settings-panel{width:min(410px,94vw)!important;display:flex;flex-direction:column;gap:12px}
.so-column-settings-panel h2{margin:0;padding-right:32px;font-size:20px}
.so-column-settings-panel>p{margin:0;line-height:1.55}
.so-column-settings-count{padding:9px 11px;border-radius:8px;background:#eef4ff;color:#1849a9;font-size:13px;font-weight:700}
.so-column-settings-list{display:grid;gap:7px;overflow:auto;padding-right:2px}
.so-column-setting-row{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #e5e9f0;border-radius:9px;background:#fff;color:#344054!important;font-size:14px!important;cursor:pointer}
.so-column-setting-row:hover{border-color:#bfd0ec;background:#fbfdff}
.so-column-setting-row span{display:flex;align-items:center;gap:6px}.so-column-setting-row small{padding:2px 6px;border-radius:999px;background:#f2f4f7;color:#667085;font-size:11px}.so-column-setting-controls{display:flex;align-items:center;gap:8px}.so-column-drag-handle{width:32px;height:30px;border:1px solid #d7dfeb;border-radius:6px;background:#fff;color:#667085;cursor:grab;font-size:18px;line-height:1}.so-column-drag-handle:hover{border-color:#9bb8e9;background:#edf4ff;color:#175cd3}.so-column-drag-handle:active{cursor:grabbing}.so-column-setting-row.dragging{opacity:.42;border-style:dashed}.so-column-setting-row input{width:18px;height:18px;accent-color:#356fd3;cursor:pointer}.so-column-setting-row input:disabled{cursor:not-allowed}
.so-column-settings-actions{display:flex;justify-content:space-between;gap:10px;padding-top:14px;border-top:1px solid #e8edf4}
/* 客户列表列设置 */
.customer-column-hidden{display:none!important}.customer-column-action-head,.customer-column-action{width:108px;text-align:right}.customer-column-gear{height:34px;padding:0 10px;border:1px solid #8eb0e8;border-radius:8px;background:#edf4ff;color:#175cd3;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}.customer-column-settings-panel{width:min(410px,94vw)!important;display:flex;flex-direction:column;gap:12px}.customer-column-settings-panel h2{margin:0;padding-right:32px}.customer-column-settings-panel>p{margin:0;line-height:1.55}.customer-column-settings-count{padding:9px 11px;border-radius:8px;background:#eef4ff;color:#1849a9;font-size:13px;font-weight:700}.customer-column-settings-list{display:grid;gap:7px;overflow:auto}.customer-column-setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #e5e9f0;border-radius:9px;background:#fff;color:#344054;font-size:14px}.customer-column-setting-row span{display:flex;gap:6px;align-items:center}.customer-column-setting-row small{padding:2px 6px;border-radius:999px;background:#f2f4f7;color:#667085;font-size:11px}.customer-column-setting-controls{display:flex;align-items:center;gap:8px}.customer-column-drag-handle{width:32px;height:30px;border:1px solid #d7dfeb;border-radius:6px;background:#fff;color:#667085;cursor:grab;font-size:18px}.customer-column-drag-handle:active{cursor:grabbing}.customer-column-setting-row.dragging{opacity:.42;border-style:dashed}.customer-column-setting-row input{width:18px;height:18px;accent-color:#356fd3}.customer-column-settings-actions{display:flex;justify-content:space-between;gap:10px;padding-top:14px;border-top:1px solid #e8edf4}

/* V1.3.11.9.1 - generic page modal/drawer overlay (inventory picker / image preview) */
.drawer-overlay{display:none;position:fixed;inset:0;z-index:1800;align-items:stretch;justify-content:flex-end}
.drawer-overlay.show{display:flex}
.drawer-overlay>.drawer-mask{position:absolute;inset:0;background:rgba(15,23,42,.42);z-index:0}
.drawer-overlay>.drawer-panel{position:relative;z-index:1;right:auto;top:auto;height:100%;max-width:95vw;background:#fff;padding:0;overflow:hidden;box-shadow:-12px 0 34px rgba(0,0,0,.18);display:flex;flex-direction:column}
.drawer-overlay .drawer-head{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e5e7eb;background:#fff}
.drawer-overlay .drawer-head h2{margin:0 0 4px}
.drawer-overlay .drawer-head .drawer-close{position:static;flex:0 0 auto}
.drawer-overlay .drawer-body{padding:18px 24px 24px;overflow:auto;flex:1;min-height:0;background:#fff}
#imgPreview{align-items:center;justify-content:center}
#imgPreview.show{display:flex}
body.modal-open{overflow:hidden}

.customer-column-action-head{position:sticky;right:0;z-index:12;background:#f6f8fb;box-shadow:-5px 0 10px rgba(40,55,88,.08)}
.customer-column-action{position:sticky;right:0;z-index:2;background:#fff;box-shadow:-5px 0 10px rgba(40,55,88,.05)}
/* Hide the sidebar scrollbar while keeping wheel and touch scrolling available. */
.side-nav{scrollbar-width:none;-ms-overflow-style:none}.side-nav::-webkit-scrollbar{display:none}

/* V1.3.11.9.1.17 品牌栏、系统参数折叠、导航管理 */
.side-brand{gap:10px;min-width:0;padding:0 14px}.side-brand span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:1.25}.side-brand-logo{width:34px;height:34px;flex:0 0 34px;border-radius:7px;background:#fff;object-fit:contain;padding:3px;box-sizing:border-box}
/* 全局界面密度：紧凑适合 1080p，舒适适合 4K。仅调整呈现层，不改变业务数据或表格列。 */
.density-menu{position:relative}.density-dropdown{display:none;position:absolute;right:0;top:42px;width:238px;padding:9px;background:#fff;border:1px solid #dfe5ee;border-radius:11px;box-shadow:0 14px 34px rgba(24,35,54,.16);z-index:1000}.density-dropdown.show{display:grid;gap:3px}.density-dropdown>b{padding:5px 8px 0;color:#344054;font-size:13px}.density-dropdown>small{padding:0 8px 6px;color:#7b8797;font-size:12px}.density-dropdown button{border:0;border-radius:7px;background:#fff;padding:9px 10px;text-align:left;color:#344054;cursor:pointer;font-size:13px}.density-dropdown button:hover,.density-dropdown button.active{background:#edf4ff;color:#175cd3}.density-dropdown em{float:right;font-size:11px;font-style:normal;color:#77859a}.density-dropdown button.active:before{content:'✓ ';font-weight:800}
@media(min-width:901px){
html.ui-density-compact .sidebar{width:218px}html.ui-density-compact .app-main{margin-left:218px;width:calc(100% - 218px)}html.ui-density-compact .side-brand{height:58px}html.ui-density-compact .side-brand span{font-size:14px}html.ui-density-compact .side-nav a,html.ui-density-compact .side-disabled,html.ui-density-compact .side-link{padding:7px 8px;font-size:13px}html.ui-density-compact .side-group{margin:3px 0}html.ui-density-compact .side-group summary{padding:8px;font-size:13px}html.ui-density-compact .side-group a,html.ui-density-compact .side-group .side-disabled{padding-left:24px;font-size:12px}
html.ui-density-compact .topbar{height:52px;padding:0 18px;gap:9px}html.ui-density-compact .page-tabs{height:37px;top:52px;padding-top:4px}html.ui-density-compact .page-tab{height:29px}html.ui-density-compact .page-tab a{padding:6px 8px;font-size:12px}html.ui-density-compact main{max-width:1580px;padding:21px 22px;font-size:13px}html.ui-density-compact .page-title{margin-bottom:16px}html.ui-density-compact .page-title h1{font-size:25px}html.ui-density-compact .page-title p{font-size:13px}html.ui-density-compact .btn{padding:7px 11px;font-size:13px}html.ui-density-compact .panel{padding:15px;margin-bottom:14px;border-radius:9px}html.ui-density-compact .cards{gap:10px;margin-bottom:14px}html.ui-density-compact .card{padding:14px}html.ui-density-compact .card b{font-size:25px}html.ui-density-compact .grid2{gap:14px}html.ui-density-compact table{font-size:13px}html.ui-density-compact th,html.ui-density-compact td{padding:8px 8px}html.ui-density-compact label{font-size:12px;gap:4px}html.ui-density-compact label input,html.ui-density-compact label select,html.ui-density-compact label textarea,html.ui-density-compact .follow-form input,html.ui-density-compact .follow-form textarea{padding:8px}html.ui-density-compact textarea{min-height:70px}html.ui-density-compact .form-grid{gap:11px}html.ui-density-compact .filters{padding:10px;gap:6px;margin-bottom:11px}html.ui-density-compact .filters input,html.ui-density-compact .filters select{height:34px}html.ui-density-compact .home-kpi{min-height:96px;padding:12px 13px}html.ui-density-compact .home-kpi b{font-size:23px}
html.ui-density-comfortable .sidebar{width:254px}html.ui-density-comfortable .app-main{margin-left:254px;width:calc(100% - 254px)}html.ui-density-comfortable .side-brand{height:72px}html.ui-density-comfortable .side-brand span{font-size:17px}html.ui-density-comfortable .side-nav a,html.ui-density-comfortable .side-disabled,html.ui-density-comfortable .side-link{padding:11px 12px;font-size:15px}html.ui-density-comfortable .side-group summary{padding:12px;font-size:15px}html.ui-density-comfortable .side-group a,html.ui-density-comfortable .side-group .side-disabled{padding-left:31px;font-size:14px}
html.ui-density-comfortable .topbar{height:64px;padding:0 28px}html.ui-density-comfortable .page-tabs{height:46px;top:64px}html.ui-density-comfortable .page-tab{height:36px}html.ui-density-comfortable .page-tab a{padding:9px 11px;font-size:13px}html.ui-density-comfortable main{max-width:1440px;padding:34px;font-size:15px}html.ui-density-comfortable .page-title{margin-bottom:25px}html.ui-density-comfortable .page-title h1{font-size:31px}html.ui-density-comfortable .page-title p{font-size:15px}html.ui-density-comfortable .btn{padding:10px 16px;font-size:15px}html.ui-density-comfortable .panel{padding:23px;margin-bottom:22px}html.ui-density-comfortable .cards{gap:16px;margin-bottom:22px}html.ui-density-comfortable .card{padding:22px}html.ui-density-comfortable .card b{font-size:32px}html.ui-density-comfortable .grid2{gap:22px}html.ui-density-comfortable table{font-size:15px}html.ui-density-comfortable th,html.ui-density-comfortable td{padding:13px 12px}html.ui-density-comfortable label{font-size:14px;gap:7px}html.ui-density-comfortable label input,html.ui-density-comfortable label select,html.ui-density-comfortable label textarea,html.ui-density-comfortable .follow-form input,html.ui-density-comfortable .follow-form textarea{padding:11px}html.ui-density-comfortable .form-grid{gap:17px}html.ui-density-comfortable .filters{padding:16px;gap:10px;margin-bottom:17px}html.ui-density-comfortable .filters input,html.ui-density-comfortable .filters select{height:42px}html.ui-density-comfortable .home-kpi{min-height:124px;padding:18px}
}
/* Role workbench homepages */
.home-section{margin:0 0 18px}.home-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 10px}.home-section-head h2{margin:0;font-size:19px}.home-section-head p{margin:5px 0 0;color:var(--muted);font-size:12px}.home-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.home-kpis.supervisor{grid-template-columns:repeat(5,minmax(0,1fr))}.home-kpis.exceptions{grid-template-columns:repeat(6,minmax(0,1fr))}.home-kpis.personal{grid-template-columns:repeat(4,minmax(0,1fr))}.home-kpi{display:flex;min-height:112px;flex-direction:column;justify-content:space-between;padding:15px 16px;border:1px solid #e3e8f0;border-radius:12px;background:#fff;color:#273244;text-decoration:none;box-shadow:0 2px 8px rgba(29,43,69,.045);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.home-kpi:hover{transform:translateY(-2px);border-color:#9cb8e8;box-shadow:0 9px 22px rgba(46,82,145,.12)}.home-kpi span{font-size:13px;font-weight:700;color:#5f6c7e}.home-kpi b{font-size:25px;line-height:1.1;letter-spacing:-.02em;color:#1e2b42}.home-kpi small{font-size:11px;color:#8a96a7}.home-kpi.danger{border-top:3px solid #d65757}.home-kpi.danger b{color:#bf3838}.home-kpi.warn{border-top:3px solid #d99534}.home-kpi.warn b{color:#b97008}.home-kpi.good{border-top:3px solid #39a06b}.home-kpi.good b{color:#227c51}.home-kpi.money{border-top:3px solid #4278cf}.home-kpi.money b{color:#245aa9}.home-grid{align-items:stretch}.stage-list{display:grid;gap:7px}.stage-list a{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center;padding:11px 12px;background:#f7f9fc;border:1px solid #edf0f4;border-radius:9px;color:#344054;text-decoration:none}.stage-list a:hover{border-color:#c8d7ef;background:#f2f6ff}.stage-list b{font-size:19px;color:#295fae}.stage-list em{font-style:normal;font-size:12px;color:#8190a4}.home-callout{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;margin-top:15px;padding:12px 13px;border-radius:10px;background:#f4f7fc;color:#687487;font-size:12px}.home-callout b{color:#34445f}.home-callout a{color:#2e67bc;text-decoration:none;font-weight:700;white-space:nowrap}.fulfillment-flow{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:29px 2px 26px}.fulfillment-flow a{display:flex;min-width:74px;flex-direction:column;gap:5px;text-align:center;color:#475569;text-decoration:none}.fulfillment-flow a:hover b{color:#2464bc}.fulfillment-flow b{font-size:29px;color:#263b5c}.fulfillment-flow span{font-size:12px;white-space:nowrap}.fulfillment-flow i{font-style:normal;color:#aab5c4;font-size:20px}@media(max-width:1250px){.home-kpis,.home-kpis.supervisor{grid-template-columns:repeat(3,minmax(0,1fr))}.home-kpis.exceptions{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.home-kpis,.home-kpis.supervisor,.home-kpis.exceptions,.home-kpis.personal{grid-template-columns:repeat(2,minmax(0,1fr))}.home-section-head{align-items:flex-start;flex-direction:column}.home-kpi{min-height:100px}.fulfillment-flow{flex-wrap:wrap;justify-content:center}.fulfillment-flow i{display:none}.home-callout{grid-template-columns:1fr}.home-callout a{margin-top:2px}}
.settings-collapse-btn{border:1px solid #d8dee8;background:#fff;color:#667085;border-radius:7px;padding:6px 10px;cursor:pointer;white-space:nowrap}.settings-collapse-btn:hover{background:#f6f8fb}.settings-section.settings-collapsed>:not(.settings-head){display:none!important}.settings-section.settings-collapsed .settings-head{margin-bottom:0}.settings-section.settings-collapsed{padding-bottom:15px}
.nav-settings-table table{min-width:680px}.nav-child-row td{background:#fbfcfe}.nav-tree-prefix{display:inline-block;width:24px;color:#98a2b3}.nav-order-input{width:90px}.nav-switch{position:relative;display:inline-block;width:40px;height:22px}.nav-switch input{display:none}.nav-switch span{position:absolute;inset:0;background:#d6dbe5;border-radius:20px;cursor:pointer;transition:.15s}.nav-switch span:after{content:'';position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;transition:.15s}.nav-switch input:checked+span{background:#5277cc}.nav-switch input:checked+span:after{transform:translateX(18px)}

/* Warehouse receiving mobile pages. Desktop tables and navigation remain unchanged. */
.mobile-nav-toggle,.mobile-sidebar-close,.mobile-sidebar-mask{display:none}
.warehouse-head-actions,.receipt-section-head,.receipt-bulk-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.receipt-bulk-actions{margin-top:10px}.receipt-qty-control{display:flex;gap:6px;align-items:center}.receipt-qty-control .receive-qty{min-width:92px}.warehouse-date-filter{display:flex;gap:5px}.warehouse-date-filter span{display:none}.mobile-pick-label,.mobile-camera-hint,.mobile-carton-camera-label{display:none}
@media(max-width:720px){
  body.warehouse-mobile-page.mobile-nav-open{overflow:hidden}
  body.warehouse-mobile-page .sidebar{display:flex;width:min(280px,82vw);transform:translateX(-102%);transition:transform .24s cubic-bezier(.22,.8,.25,1);box-shadow:12px 0 32px rgba(10,20,38,.22);z-index:1202}
  body.warehouse-mobile-page.mobile-nav-open .sidebar{transform:translateX(0)}
  body.warehouse-mobile-page .mobile-sidebar-mask{display:block;position:fixed;inset:0;border:0;padding:0;background:rgba(15,23,42,.5);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility .2s;z-index:1201}
  body.warehouse-mobile-page.mobile-nav-open .mobile-sidebar-mask{opacity:1;visibility:visible;pointer-events:auto}
  body.warehouse-mobile-page .side-brand{height:52px;min-height:52px;padding:0 10px 0 12px;gap:8px}
  body.warehouse-mobile-page .side-brand-logo{width:28px;height:28px;flex-basis:28px}
  body.warehouse-mobile-page .side-brand span{font-size:14px}
  body.warehouse-mobile-page .mobile-sidebar-close{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;margin-left:auto;border:1px solid #ffffff26;border-radius:8px;background:#ffffff12;color:#fff;font-size:25px;line-height:1;cursor:pointer}
  body.warehouse-mobile-page .side-nav{padding:6px 8px 12px}
  body.warehouse-mobile-page .side-nav a,body.warehouse-mobile-page .side-disabled,body.warehouse-mobile-page .side-link{padding:8px 9px;font-size:13px;margin:1px 0!important}
  body.warehouse-mobile-page .side-group{margin:2px 0}
  body.warehouse-mobile-page .side-group summary{padding:8px 9px;font-size:13px}
  body.warehouse-mobile-page .side-group a,body.warehouse-mobile-page .side-group .side-disabled{padding-left:25px;font-size:12px}
  body.warehouse-mobile-page .menu-icon{width:20px;margin-right:3px}
  body.warehouse-mobile-page .app-main{margin-left:0!important;width:100%!important}
  body.warehouse-mobile-page .topbar{height:52px;padding:0 10px;gap:4px;justify-content:space-between}
  body.warehouse-mobile-page .mobile-nav-toggle{display:inline-flex;align-items:center;gap:5px;min-height:40px;padding:7px 9px;border:1px solid #d8dee8;border-radius:8px;background:#fff;color:#344054;font-size:13px;font-weight:600;cursor:pointer}
  body.warehouse-mobile-page .mobile-nav-toggle>span:first-child{font-size:19px;line-height:1}
  body.warehouse-mobile-page .topbar-spacer{display:block;flex:1}
  body.warehouse-mobile-page .density-menu{display:none}
  body.warehouse-mobile-page .top-icon-link,body.warehouse-mobile-page .account-toggle{min-height:40px;padding:8px;font-size:13px}
  body.warehouse-mobile-page .notice-dropdown{position:fixed;top:52px;left:8px;right:8px;width:auto;max-height:70vh}
  body.warehouse-mobile-page .account-dropdown{right:0}
  body.warehouse-mobile-page .page-tabs{top:52px;height:38px;padding:4px 8px 0}
  body.warehouse-mobile-page .page-tab{height:30px}
  body.warehouse-mobile-page main{padding:12px 10px 28px;max-width:none}
  body.warehouse-mobile-page .panel{padding:13px;border-radius:11px;margin-bottom:12px}
  body.warehouse-mobile-page .warehouse-mobile-title{position:static;display:block;margin:0 0 12px;padding:0;background:transparent;border:0;box-shadow:none}
  body.warehouse-mobile-page .warehouse-mobile-title h1{font-size:22px;line-height:1.3}
  body.warehouse-mobile-page .warehouse-mobile-title p{margin-top:5px;line-height:1.55;overflow-wrap:anywhere}
  body.warehouse-mobile-page .warehouse-head-actions{display:grid;grid-template-columns:1fr;margin-top:12px}
  body.warehouse-mobile-page .warehouse-head-actions .btn,body.warehouse-mobile-page .warehouse-head-actions form,body.warehouse-mobile-page .warehouse-head-actions form .btn{width:100%;text-align:center}
  body.warehouse-mobile-page .warehouse-pending-filter{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  body.warehouse-mobile-page .warehouse-pending-filter input,body.warehouse-mobile-page .warehouse-pending-filter select,body.warehouse-mobile-page .warehouse-pending-filter .btn{width:100%;min-width:0;min-height:44px}
  body.warehouse-mobile-page .warehouse-pending-filter input[name=q],body.warehouse-mobile-page .warehouse-pending-filter .btn{grid-column:1/-1}
  body.warehouse-mobile-page .warehouse-pending-list,body.warehouse-mobile-page .warehouse-receipts-list,body.warehouse-mobile-page .receipt-items-panel{padding:0;background:transparent;border:0;box-shadow:none}
  body.warehouse-mobile-page .warehouse-receipts-filter{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  body.warehouse-mobile-page .warehouse-receipts-filter>input,body.warehouse-mobile-page .warehouse-receipts-filter>select,body.warehouse-mobile-page .warehouse-receipts-filter>.btn,body.warehouse-mobile-page .warehouse-receipts-filter .warehouse-date-filter{width:100%;min-width:0}
  body.warehouse-mobile-page .warehouse-receipts-filter>input,body.warehouse-mobile-page .warehouse-receipts-filter>select,body.warehouse-mobile-page .warehouse-receipts-filter>.btn,body.warehouse-mobile-page .warehouse-receipts-filter .warehouse-date-filter input{min-height:44px}
  body.warehouse-mobile-page .warehouse-receipts-filter>input[name=q],body.warehouse-mobile-page .warehouse-receipts-filter>.btn{grid-column:1/-1}
  body.warehouse-mobile-page .warehouse-receipts-filter .warehouse-date-filter{display:grid;gap:5px;color:#6b778a;font-size:12px}
  body.warehouse-mobile-page .warehouse-receipts-filter .warehouse-date-filter span{display:block}
  body.warehouse-mobile-page .warehouse-receipts-filter .warehouse-date-filter input{width:100%;min-width:0}
  body.warehouse-mobile-page .mobile-card-table,body.warehouse-mobile-page .mobile-card-table tbody,body.warehouse-mobile-page .mobile-card-table tr,body.warehouse-mobile-page .mobile-card-table td{display:block;width:100%}
  body.warehouse-mobile-page .mobile-card-table thead{display:none}
  body.warehouse-mobile-page .mobile-card-table tr{position:relative;margin:0 0 12px;padding:12px 13px;border:1px solid #dfe5ee;border-radius:13px;background:#fff;box-shadow:0 3px 12px rgba(31,45,61,.055);overflow:hidden}
  body.warehouse-mobile-page .mobile-card-table td{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:8px 0;border:0;border-bottom:1px dashed #e7ebf1;text-align:right;white-space:normal;overflow-wrap:anywhere}
  body.warehouse-mobile-page .mobile-card-table td:before{content:attr(data-label);flex:0 0 88px;color:#7b8797;font-size:12px;font-weight:600;text-align:left}
  body.warehouse-mobile-page .mobile-card-table td:last-child{border-bottom:0}
  body.warehouse-mobile-page .mobile-card-table .mobile-card-title{font-size:16px;text-align:left;align-items:center}
  body.warehouse-mobile-page .mobile-card-table .mobile-card-title>a,body.warehouse-mobile-page .mobile-card-table .mobile-card-title>b{margin-left:auto}
  body.warehouse-mobile-page .mobile-card-table .mobile-card-image{position:absolute;right:13px;top:10px;width:68px;padding:0;border:0;z-index:2}
  body.warehouse-mobile-page .mobile-card-table .mobile-card-image:before{display:none}
  body.warehouse-mobile-page .mobile-card-table .mobile-card-image .po-product-thumb{width:64px;height:64px}
  body.warehouse-mobile-page .mobile-card-table .mobile-card-image+.mobile-card-title{min-height:66px;padding-right:78px}
  body.warehouse-mobile-page .mobile-card-table .mobile-card-image+.mobile-card-title:before{flex-basis:50px}
  body.warehouse-mobile-page .mobile-card-table .mobile-card-emphasis{margin:3px 0;padding:10px;border-radius:8px;background:#fff7ed;border:0;color:#9a4f08;font-size:16px}
  body.warehouse-mobile-page .mobile-card-table .mobile-card-action{display:block;padding-top:12px;text-align:stretch}
  body.warehouse-mobile-page .mobile-card-table .mobile-card-action:before{display:none}
  body.warehouse-mobile-page .mobile-card-table .mobile-card-action .btn{display:block;width:100%;min-height:44px;text-align:center;margin:4px 0}
  body.warehouse-mobile-page .mobile-card-table .mobile-card-action form{display:block!important;width:100%}
  body.warehouse-mobile-page .mobile-card-table .mobile-empty-row td{display:block;text-align:center;padding:22px 8px;border:0}
  body.warehouse-mobile-page .mobile-card-table .mobile-empty-row td:before{display:none}
  body.warehouse-mobile-page .receiving-overview{grid-template-columns:1fr 1fr;gap:8px}
  body.warehouse-mobile-page .receiving-overview>div{padding:11px;display:grid;gap:6px}
  body.warehouse-mobile-page .receiving-overview b{font-size:20px}
  body.warehouse-mobile-page h2{font-size:18px;line-height:1.35}
  body.warehouse-mobile-page .uniform-pack-head{display:block}
  body.warehouse-mobile-page .add-carton-form{display:grid;grid-template-columns:auto 70px auto;gap:6px;margin-top:12px}
  body.warehouse-mobile-page .add-carton-form .btn{grid-column:1/-1;width:100%}
  body.warehouse-mobile-page .pack-layout{display:block}
  body.warehouse-mobile-page .carton-row-table{min-width:1000px}
  body.warehouse-workbench-page .desktop-carton-camera-label{display:none}
  body.warehouse-workbench-page .mobile-carton-camera-label{display:inline}
  body.warehouse-workbench-page .carton-camera-button{min-width:92px;min-height:40px;text-align:center;white-space:nowrap}
  body.warehouse-mobile-page .table-wrap{margin-left:-5px;margin-right:-5px;padding-bottom:5px;-webkit-overflow-scrolling:touch}
  body.warehouse-mobile-page .new-preset-panel{grid-template-columns:1fr;margin-top:12px}
  body.warehouse-mobile-page .receipt-section-head{display:block}
  body.warehouse-mobile-page .receipt-kpis{display:grid;grid-template-columns:1fr 1fr;margin-top:12px}
  body.warehouse-mobile-page .receipt-kpis span,body.warehouse-mobile-page .receipt-kpis b{text-align:center;border-radius:8px}
  body.warehouse-mobile-page .receipt-items-table .receipt-qty-cell{display:block;padding-top:12px;text-align:left}
  body.warehouse-mobile-page .receipt-items-table .receipt-qty-cell:before{display:block;margin-bottom:7px}
  body.warehouse-mobile-page .receipt-qty-control{display:grid;grid-template-columns:minmax(0,1fr) auto}
  body.warehouse-mobile-page .receipt-qty-control .receive-qty{width:100%;min-width:0;height:44px;font-size:18px}
  body.warehouse-mobile-page .receipt-qty-control .btn{min-height:44px}
  body.warehouse-mobile-page .receipt-bulk-actions{display:block;margin-top:12px;padding:12px;border-radius:10px;background:#f8fafc}
  body.warehouse-mobile-page .receipt-bulk-actions .check-line{display:flex;align-items:flex-start;gap:8px;line-height:1.5}
  body.warehouse-mobile-page .receipt-bulk-actions .check-line input{flex:0 0 auto;width:20px;height:20px;margin:1px 0 0}
  body.warehouse-mobile-page .receipt-bulk-actions>div{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}
  body.warehouse-mobile-page .receipt-bulk-actions .btn{width:100%;min-height:42px;padding:8px}
  body.warehouse-mobile-page .grid2{grid-template-columns:1fr;gap:10px}
  body.warehouse-mobile-page #pasteZone{min-height:150px!important;line-height:1.6}
  body.warehouse-mobile-page .actions{display:grid;grid-template-columns:1fr;position:sticky;bottom:0;z-index:12;padding:10px;margin:8px -10px -28px;background:rgba(244,246,250,.96);border-top:1px solid #dfe5ee}
  body.warehouse-mobile-page .actions .btn{width:100%;min-height:46px;text-align:center}
  body.warehouse-mobile-page .po-image-modal>div{width:calc(100vw - 20px);max-height:90vh;padding:12px}
  body.warehouse-mobile-page .po-image-modal img{max-width:calc(100vw - 44px);max-height:72vh}
  body.warehouse-receipt-detail-page .warehouse-receipt-detail-head>.btn{display:block;width:100%;min-height:44px;margin-top:12px;text-align:center}
  body.warehouse-receipt-detail-page .receipt-detail-overview{grid-template-columns:1fr 1fr;gap:8px}
  body.warehouse-receipt-detail-page .receipt-detail-overview>div{padding:11px;border:1px solid #e7ebf1;border-radius:9px;background:#f8fafc}
  body.warehouse-receipt-detail-page .receipt-detail-overview p{margin:6px 0 0;overflow-wrap:anywhere}
  body.warehouse-receipt-detail-page .receipt-mobile-field{display:block!important;text-align:left!important;padding-top:10px!important}
  body.warehouse-receipt-detail-page .receipt-mobile-field:before{display:block;margin-bottom:6px}
  body.warehouse-receipt-detail-page .receipt-mobile-field input,body.warehouse-receipt-detail-page .receipt-mobile-field select{width:100%;min-width:0;height:44px;font-size:16px}
  body.warehouse-receipt-detail-page .receipt-upload-cell{display:block!important;text-align:left!important}
  body.warehouse-receipt-detail-page .receipt-upload-cell:before{display:block;margin-bottom:7px}
  body.warehouse-receipt-detail-page .paste-zone{width:100%;min-width:0;min-height:96px;padding:12px}
  body.warehouse-receipt-detail-page .desktop-pick-label,body.warehouse-receipt-detail-page .desktop-upload-hint{display:none}
  body.warehouse-receipt-detail-page .mobile-pick-label,body.warehouse-receipt-detail-page .mobile-camera-hint{display:inline}
  body.warehouse-receipt-detail-page .receipt-upload-hint{display:block;color:#64748b;font-size:12px;line-height:1.5}
  body.warehouse-receipt-detail-page .paste-zone .pick{display:block;width:100%;min-height:42px;margin-top:8px}
  body.warehouse-receipt-detail-page .receipt-existing-images{margin-top:8px}
  body.warehouse-receipt-detail-page .receipt-inline-actions .btn,body.warehouse-receipt-detail-page .receipt-cancel-form .btn{width:100%;min-height:44px}
  body.warehouse-receipt-detail-page .receipt-inline-actions,body.warehouse-receipt-detail-page .receipt-cancel-form{display:block}
  body.warehouse-receipt-detail-page .receipt-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  body.warehouse-receipt-detail-page .receipt-preview-thumb{width:100%;height:120px}
  body.warehouse-receipt-detail-page .receipt-overall-note textarea{width:100%;min-height:90px}
  body.warehouse-receipt-detail-page .receipt-save-bar{display:flex;flex-direction:column-reverse;align-items:stretch;position:sticky;bottom:0;z-index:14;margin:12px -13px -13px;padding:10px 13px;background:rgba(255,255,255,.97);border-top:1px solid #dfe5ee;box-shadow:0 -5px 14px rgba(31,45,61,.06)}
  body.warehouse-receipt-detail-page .receipt-save-bar .btn{width:100%;min-height:48px;font-size:16px}
  body.warehouse-receipt-detail-page .receipt-save-bar .muted{text-align:center;font-size:11px}
  body.warehouse-receipt-detail-page .receipt-exception-form .grid4{grid-template-columns:1fr;gap:9px}
  body.warehouse-receipt-detail-page .receipt-exception-form input,body.warehouse-receipt-detail-page .receipt-exception-form select{width:100%;min-width:0;min-height:44px}
  body.warehouse-receipt-detail-page .receipt-exception-form>.btn{width:100%;min-height:44px}
  body.warehouse-receipt-detail-page .receipt-exception-table .mobile-card-action{display:flex;padding:8px 0;border-bottom:1px dashed #e7ebf1;text-align:right}
  body.warehouse-receipt-detail-page .receipt-exception-table .mobile-card-action:before{display:block}
  body.warehouse-receipt-detail-page .receipt-exception-table .mobile-card-action form{width:auto;margin-left:auto}
  body.warehouse-receipt-detail-page .receipt-exception-table .mobile-card-action .btn{width:auto;min-height:38px;margin:6px 0 0}
  body.warehouse-receipt-detail-page .receipt-pack-link .btn{display:block;width:100%;min-height:44px;text-align:center}
  body.warehouse-receipt-detail-page .receipt-preview-box{width:calc(100vw - 20px);padding:10px}
  body.warehouse-receipt-detail-page .receipt-preview-box img{max-width:calc(100vw - 40px);max-height:76vh}
}
