/* Membership and management console, retaining the Hoomall orange identity. */
.utility-inner{gap:20px;flex-wrap:wrap}.utility-inner>:first-child{margin-right:0}.utility-welcome{color:#858585}.member-actions{display:flex;align-items:center;gap:12px;margin-right:auto;min-width:0}.utility .utility-login{color:#cc5b0b;font-weight:700}.utility-separator{color:#727b7b}.member-greeting{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#b15e1e}.utility .demo-pill{font-size:11px}.account-buttons{display:flex;gap:8px}.account-buttons button{flex:1;padding:9px;font-size:12px}.account-name>div:last-child{min-width:0}.account-name h3{overflow-wrap:anywhere}.auth-breadcrumb{font-size:12px;color:#8b9297;margin:0 0 22px}.auth-breadcrumb button{padding:0;color:#586268}.auth-layout{max-width:1000px;margin:0 auto 25px;display:grid;grid-template-columns:1.05fr 1fr;border:1px solid #e8e8e8;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 8px 35px #222205}.auth-intro{padding:48px 42px;background:linear-gradient(145deg,#fff4e8,#f8f4ef);position:relative;display:flex;flex-direction:column;overflow:hidden}.auth-intro:after{content:"H";position:absolute;right:-15px;bottom:0;font-size:260px;line-height:1;font-weight:900;color:#e5872220;pointer-events:none}.auth-kicker{font-size:11px;letter-spacing:2.6px;font-weight:700;color:#ba773f;margin-bottom:24px}.auth-intro h1{font-size:38px;line-height:1.6;letter-spacing:-1px;margin-bottom:18px}.auth-intro>p{max-width:300px;font-size:14px;color:#85776c;line-height:1.9}.auth-benefits{margin:28px 0 40px;position:relative;z-index:1}.auth-benefits>div{display:flex;align-items:center;gap:13px;font-size:13px;margin-bottom:24px;color:#62584f}.auth-benefits span{font-size:10px;color:#d78443;border:1px solid #eccdb2;display:grid;place-items:center;width:25px;height:25px;border-radius:50%}.auth-mode-note{margin-top:auto;font-size:11px;color:#938170;line-height:1.9;position:relative;z-index:1}.auth-admin .auth-intro{background:#2c3536}.auth-admin .auth-intro h1{color:#f7f8f8}.auth-admin .auth-intro>p,.auth-admin .auth-mode-note{color:#a7b3b1}.auth-admin .auth-benefits>div{color:#d0d6d4}.auth-admin .auth-kicker{color:#ffb17a}.auth-admin .auth-intro:after{color:#ffffff06}.auth-admin .auth-benefits span{border-color:#5a534c}.auth-card{padding:38px 42px}.auth-card-heading>span{font-size:11px;color:#b0b4b5}.auth-card h2{font-size:24px;margin:8px 0 10px}.auth-card-heading>p{font-size:12px;color:#92999d;margin-bottom:26px}.mg-field{display:block;font-size:13px;font-weight:500;color:#4b565c;margin:0 0 18px;line-height:1.6}.mg-field>b{color:#e06c24;font-size:12px}.mg-field>small{font-size:11px;font-weight:400;color:#9ba1a5;margin-left:5px}.mg-field input,.mg-field select,.mg-field textarea{display:block;width:100%;min-width:0;border:1px solid #dde2e5;background:#fff;color:#3b4449;padding:11px 12px;border-radius:5px;margin-top:8px;font-size:13px;line-height:1.5}.mg-field textarea{resize:vertical;min-height:85px}.mg-field input::placeholder{color:#b0b5b9}.mg-field>input+small{display:block;font-size:11px;line-height:1.6;margin:7px 0 0}.password-field{position:relative}.password-field input{padding-right:58px}.password-field button{position:absolute;right:5px;top:4px;font-size:11px;color:#8d969b;padding:10px}.auth-submit{display:block;width:100%;margin-top:25px;height:46px;font-size:14px}.auth-contact-hint{display:flex;justify-content:space-between;font-size:11px;margin:22px 0 16px;border-bottom:1px solid #eee;padding-bottom:10px;color:#8a9296}.auth-contact-hint>b{font-weight:400;color:#d36b2a}.form-error{color:#bb392e;background:#fff3f1;border:1px solid #f0d4cf;font-size:12px;padding:9px 12px;border-radius:4px;line-height:1.7;margin:10px 0}.form-error[hidden]{display:none}.auth-switch{font-size:12px;color:#90989c;text-align:center;margin:20px 0}.auth-switch button{color:#d96513;padding:3px 6px}.auth-demo-account{background:#f7f8f8;border:1px dashed #dce1e1;border-radius:6px;padding:15px 16px;font-size:11px;display:flex;flex-direction:column;gap:7px}.auth-demo-account b{font-weight:500;color:#737e83}.auth-demo-account code{font-size:12px;color:#5d686d}.auth-demo-account span{color:#969fa3}.auth-demo-account button{align-self:flex-start;padding:4px 0 0;color:#cb681e;font-size:12px}.auth-footnote{font-size:10px;text-align:center;color:#929da2;margin:23px 0 0}.auth-admin-link{display:block;margin:21px auto 0;color:#8b9499;font-size:11px}.member-gate{text-align:center;padding:72px 20px;background:#fff;border:1px solid #e4e8ea;border-radius:8px}.member-gate .avatar{margin:0 auto 23px;width:56px;height:56px;font-size:25px}.member-gate h1{font-size:25px}.member-gate p{font-size:13px;color:#959da0;margin-bottom:25px}.member-gate .text-button{display:block;margin:15px auto 0}.member-profile{display:flex;align-items:center;gap:18px;background:white;border:1px solid #e3e7e8;padding:24px;border-radius:8px;margin-bottom:22px}.member-profile h2{font-size:18px;margin:0 0 6px}.member-profile p{font-size:12px;color:#8a959c;margin:0;overflow-wrap:anywhere}.member-profile>span:last-child{margin-left:auto;font-size:12px;color:#8b969b}.member-order{margin-bottom:17px}.member-order-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0f0;padding-bottom:18px;margin-bottom:7px;gap:12px}.member-order-head b{font-size:13px}.member-order-head small{font-size:11px;color:#929da3;margin-left:15px}.member-order-line{display:flex;gap:18px;align-items:center;padding:16px 0}.member-order-line img{width:58px;height:58px;background:#fafafa;border:1px solid #eee}.member-order-line b{font-size:14px}.member-order-line p{font-size:12px;color:#9aa1a6;margin:5px 0 0}.member-order-line>strong{margin-left:auto;font-size:14px}.member-order-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee;margin-top:5px;padding-top:18px;font-size:12px;gap:12px}.member-order-foot>span>b{color:#e66b1c;font-size:20px;margin-left:10px}.member-order-foot small{margin-left:15px;color:#969fa4}.member-order-foot .outline{font-size:12px;padding:9px 16px}.promotion-strip{display:flex;gap:17px;align-items:center;padding:13px 18px;background:#fff1e6;border:1px solid #ffd9b9;border-radius:6px;margin:0 0 21px;font-size:12px;color:#b56124}.promotion-strip>strong{white-space:nowrap;font-size:12px}.promotion-strip>small{margin-left:auto;white-space:nowrap;color:#be936f;font-size:10px}.commerce-discount b{color:#e26c22!important}.management-shell{display:grid;grid-template-columns:218px minmax(0,1fr);background:#f5f7f9;border:1px solid #e1e6e9;border-radius:10px;min-height:690px;overflow:hidden;margin-top:0}.management-sidebar{background:#fff;border-right:1px solid #e4e9ec;display:flex;flex-direction:column}.management-brand{display:flex;gap:12px;align-items:center;padding:25px 20px 28px}.mg-brand-mark{background:#ff6a00;color:#fff;border-radius:8px;width:37px;height:37px;font-weight:800;font-size:22px;display:grid;place-items:center}.management-brand b{font-size:15px;letter-spacing:.3px}.management-brand small{display:block;font-size:8px;letter-spacing:1.4px;color:#a2aaad;margin-top:5px}.mg-sidebar-label{color:#acb2b5;font-size:10px;letter-spacing:1px;padding:0 24px 12px}.management-sidebar nav{padding:0 10px 16px;display:flex;flex-direction:column;gap:1px;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.mg-nav-group{display:block;min-width:0}
.management-sidebar nav .mg-nav-parent,.management-sidebar nav .mg-nav-item{display:flex;align-items:center;text-align:left;width:100%;gap:11px;padding:12px;border:0;border-radius:6px;font-size:13px;color:#657178;margin:0;background:transparent}
.management-sidebar nav .mg-nav-item{padding:9px 12px 9px 38px;font-size:12.5px;color:#7a8790;gap:9px}
.management-sidebar nav .mg-nav-parent:hover,.management-sidebar nav .mg-nav-item:hover{background:#f7f9fa}
.management-sidebar nav .mg-nav-parent.has-current{color:#48545c;font-weight:600}
.management-sidebar nav .mg-nav-parent.selected,.management-sidebar nav .mg-nav-item.selected{background:#fff0e5;color:#d75d09;font-weight:600}
.mg-nav-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mg-nav-caret{width:6px;height:6px;border-right:1.5px solid #aab4ba;border-bottom:1.5px solid #aab4ba;transform:rotate(-45deg) translate(-2px,-2px);transition:transform .22s ease,border-color .22s ease;flex-shrink:0}
.mg-nav-group.is-open .mg-nav-caret{transform:rotate(45deg) translate(-1px,-1px);border-color:#dd782e}
.mg-nav-sub{display:grid;grid-template-rows:0fr;transition:grid-template-rows .22s ease}
.mg-nav-group.is-open .mg-nav-sub{grid-template-rows:1fr}
.mg-nav-sub-inner{overflow:hidden;min-height:0;position:relative}
.mg-nav-group.is-open .mg-nav-sub-inner:before{content:"";position:absolute;left:21px;top:0;bottom:6px;width:1px;background:#e8ecef}
.mg-nav-symbol{font-size:16px;line-height:1;width:18px;text-align:center;color:#94a0a5;flex-shrink:0}
.selected .mg-nav-symbol,.has-current .mg-nav-symbol{color:#dd782e}
.mg-nav-group.is-open>.mg-nav-parent .mg-nav-symbol{color:#dd782e}
.management-sidebar nav small{margin-left:8px;background:#ffdcc3;border-radius:4px;padding:1px 6px;font-size:10px;font-weight:500;color:#c96218;flex-shrink:0}.mg-sidebar-footer{margin-top:auto;border-top:1px solid #eef0f1;padding:20px 14px;display:flex;align-items:center;gap:10px}.mg-sidebar-footer .avatar{width:30px;height:30px;font-size:12px;flex-shrink:0}.mg-sidebar-footer>div:nth-child(2){min-width:0}.mg-sidebar-footer b{font-size:11px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mg-sidebar-footer small{display:block;font-size:10px;margin-top:5px;color:#a3adb1}.mg-sidebar-footer>button{font-size:10px;color:#8c979e;margin-left:auto;padding:8px 0;white-space:nowrap}.management-main{padding:26px;min-width:0}.management-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:20px}.management-top>div>span{font-size:10px;color:#9aa5ab}.management-top h1{font-size:24px;margin:9px 0 0;letter-spacing:0}.management-top>.outline{font-size:11px;padding:9px 12px;background:#fff;border-color:#dfe5e8;color:#75818a}.mg-demo-note{background:#fff9f3;color:#ad8a6f;font-size:11px;border:1px solid #f4e3d4;border-radius:5px;padding:11px 13px;margin-bottom:22px;line-height:1.8}.mg-demo-note>span{color:#d28043;margin-right:10px;white-space:nowrap}.mg-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:13px;margin-bottom:20px}.mg-stats>button{text-align:left;border:1px solid #e6eaed;border-radius:7px;background:#fff;padding:18px 15px;min-width:0}.mg-stats>button>span{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#7f8b94}.mg-stats i{font-style:normal;color:#a5afb5}.mg-stats strong{font-size:31px;font-weight:600;display:block;margin:17px 0 11px;letter-spacing:-1px;color:#35414a}.mg-stats small{font-size:11px;letter-spacing:0;margin-left:6px;color:#9ca5ab;font-weight:400}.mg-stats p{font-size:10px;color:#a1aab0;margin:0}.mg-panel{background:#fff;border:1px solid #e4e9ed;border-radius:7px;margin-bottom:20px;min-width:0;padding:20px}.mg-panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.mg-panel-title h2{font-size:14px;margin:0}.mg-panel-title>span{font-size:10px;color:#a4adb3}.mg-overview-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}.mg-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mg-shortcuts>button{background:#fafbfc;border:1px solid #eef1f3;border-radius:5px;padding:15px 12px;text-align:left;position:relative}.mg-shortcuts span{display:block;font-size:12px;color:#606e77}.mg-shortcuts small{display:block;font-size:9px;color:#a3adb4;margin-top:8px}.mg-shortcuts b{position:absolute;right:9px;top:13px;font-weight:400;color:#bbc1c5;font-size:12px}.mg-todo{display:flex;text-align:left;align-items:center;gap:12px;width:100%;padding:17px 0;border-bottom:1px solid #f0f2f4}.mg-todo:last-child{border:0}.mg-todo i{width:7px;height:7px;border-radius:50%;background:#f7bc90;flex-shrink:0}.mg-todo b{font-size:12px;font-weight:500;color:#65727b}.mg-todo p{font-size:10px;color:#a4adb4;margin:7px 0 0}.mg-todo>span{margin-left:auto;color:#bdc4c8}.mg-panel table{font-size:12px}.mg-panel th{font-size:11px;padding:12px;background:#f8fafb}.mg-panel td{padding:15px 12px;font-size:11px;border-color:#eef1f3}.mg-panel td small{font-size:10px;color:#a3adb3;line-height:1.7;margin-top:4px}.mg-empty-log{padding:35px 10px;text-align:center;font-size:12px;color:#a5aeb4;line-height:1.9}.mg-list-panel{padding:0;overflow:hidden}.mg-list-intro{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 20px 17px}.mg-list-intro p{font-size:11px;color:#929ea6;margin:0;line-height:1.8}.mg-list-intro .primary{font-size:11px;padding:11px 15px;white-space:nowrap}.mg-toolbar{padding:0 20px 18px;display:flex;align-items:center;gap:9px}.mg-search{display:flex;align-items:center;border:1px solid #e1e6e9;border-radius:5px;height:35px;min-width:0;max-width:330px;flex:1;background:#fff}.mg-search>span{padding:0 10px;font-size:18px;color:#9eaaaf}.mg-search input{border:0;width:100%;font-size:11px;min-width:0;padding:8px 8px 8px 0;color:#626f77;background:transparent}.mg-toolbar select{border:1px solid #e1e6e9;border-radius:5px;font-size:11px;color:#7a8891;height:35px;padding:0 9px;background:white;max-width:125px}.mg-toolbar .outline{font-size:11px;padding:8px 13px;border-color:#e1e6e9;color:#78868f}.mg-toolbar>button:not(.outline){font-size:11px;color:#89969f;padding:5px}.mg-count{font-size:10px;color:#9ba7ae;margin-left:auto;white-space:nowrap}.management-table{min-width:650px}.management-table th:first-child,.management-table td:first-child{padding-left:20px}.management-table td{vertical-align:middle}.mg-product{display:flex;align-items:center;gap:10px;min-width:160px}.mg-product img{width:40px;height:40px;border:1px solid #edf0f2;background:#fff;border-radius:4px;flex-shrink:0}.mg-product b{font-size:11px;display:block;max-width:180px;overflow-wrap:anywhere}.mg-row-actions{white-space:nowrap}.mg-row-actions>button{font-size:10px;color:#d9742d;padding:5px;margin-right:3px}.mg-row-actions>.danger-link{color:#ad8a83}.mg-protected{font-size:10px;color:#abb3b8}.mg-permission-tags{display:flex;flex-wrap:wrap;gap:4px;min-width:130px;max-width:200px}.mg-permission-tags .tag{font-size:9px;padding:3px 5px}.management-table .tag{font-size:10px;padding:4px 7px}.mg-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.mg-form-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #eee;padding-top:20px;margin-top:10px}.mg-form-actions button{font-size:13px;padding:10px 20px}.mg-permission-field{margin:10px 0 15px;border:1px solid #e4e8eb;border-radius:6px;padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.mg-permission-field legend{font-size:12px;color:#7d8b93;padding:0 7px}.mg-permission-field label{font-size:12px;display:flex;gap:7px;align-items:center}.mg-permission-field input{accent-color:#ff6a00}.mg-detail-summary{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:25px}.mg-detail-summary span{display:block;font-size:11px;color:#9ca6ac;margin-bottom:8px}.mg-detail-summary b{font-size:13px;font-weight:500;overflow-wrap:anywhere}.mg-detail-summary small{display:block;color:#919da5;margin-top:6px}.mg-detail-summary .tag{display:inline-block;font-size:12px}.mg-order-total{font-size:12px;text-align:right;padding:19px 0;border-bottom:1px solid #eee;margin-bottom:20px}.mg-order-total strong{font-size:20px;color:#d9691b;margin-left:8px}.mg-edit-order-summary{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin:0 0 24px;background:#fafafa;padding:15px}.mg-edit-order-summary span{color:#dc701f}#detail{max-height:90dvh;overflow:auto}#detail .commerce-goods-row{grid-template-columns:minmax(170px,1fr) 65px 65px 75px;gap:8px;font-size:12px}#detail .commerce-item img{width:45px;height:45px}#detail .commerce-item-title{font-size:12px}#detail .commerce-goods-head{grid-template-columns:minmax(170px,1fr) 65px 65px 75px;gap:8px;font-size:11px}
@media(min-width:1450px){body[data-page=admin] #app{max-width:1440px}.management-main{padding:30px}.mg-stats>button{padding:20px}.mg-panel table td{font-size:12px}}
@media(max-width:1100px){.utility-welcome{display:none}.utility-inner{gap:18px}.management-shell{grid-template-columns:180px minmax(0,1fr)}.management-brand{padding:24px 14px;gap:9px}.management-brand b{font-size:13px}.mg-brand-mark{width:30px;height:30px}.management-brand small{font-size:7px}.management-sidebar nav .mg-nav-parent{font-size:12px;padding:11px 9px;gap:9px}.management-sidebar nav .mg-nav-item{font-size:11.5px;padding:9px 9px 9px 32px;gap:7px}.mg-nav-group.is-open .mg-nav-sub-inner:before{left:18px}.management-main{padding:20px}.mg-stats{grid-template-columns:repeat(2,1fr)}.mg-overview-grid{grid-template-columns:1fr;gap:0}.auth-intro{padding:38px 30px}.auth-card{padding:35px 30px}.auth-intro h1{font-size:34px}.mg-toolbar{flex-wrap:wrap}.mg-search{flex:1;max-width:none}.mg-count{width:100%;text-align:right}}
@media(max-width:760px){.utility-inner{gap:14px;min-height:42px;padding-top:3px;padding-bottom:3px}.utility-inner>.demo-pill{display:none}.utility-inner>button[data-view=orders],.utility-inner>button[data-view=mobile]{display:none}.utility .utility-inner button{display:inline-block;font-size:11px;padding:8px 0}.utility-inner>.member-actions{margin-right:auto;gap:9px}.member-greeting{font-size:11px;max-width:150px}.auth-layout{display:block;margin:0 0 10px}.auth-intro{padding:26px}.auth-intro h1{font-size:25px;line-height:1.4;margin:0 0 9px}.auth-intro h1 br{display:none}.auth-kicker{font-size:9px;margin-bottom:14px}.auth-intro>p{font-size:12px;max-width:none;margin-bottom:0}.auth-benefits{display:none}.auth-mode-note{margin-top:18px;font-size:10px}.auth-intro:after{font-size:180px}.auth-card{padding:27px 24px}.auth-card h2{font-size:23px}.mg-field input,.mg-field select,.mg-field textarea{font-size:16px}.auth-card-heading>p{font-size:11px;margin-bottom:23px}.auth-breadcrumb{font-size:11px;margin-bottom:15px}.member-profile{flex-wrap:wrap;padding:18px;gap:12px}.member-profile h2{font-size:16px}.member-profile>span:last-child{margin-left:0;width:100%}.member-profile p{font-size:11px}.member-order{padding:17px}.member-order-head small{display:block;margin:6px 0 0}.member-order-head b{font-size:11px}.member-order-foot{flex-wrap:wrap}.member-order-foot>div{margin-left:auto}.member-order-foot small{font-size:10px}.member-order-line{gap:12px}.member-order-line img{width:48px;height:48px}.member-order-line b{font-size:12px}.member-order-line p{font-size:11px}.promotion-strip{flex-wrap:wrap;gap:8px 12px;padding:11px 13px;font-size:11px}.promotion-strip>span{flex:1}.promotion-strip>small{width:100%;margin:0;text-align:right}.management-shell{display:block}.management-sidebar{border-right:0;border-bottom:1px solid #e3e7e9}.management-brand{display:none}.mg-sidebar-label{display:none}.management-sidebar nav{display:block;overflow:visible;padding:6px 10px 10px;gap:0;max-height:none}.management-sidebar nav .mg-nav-parent{width:100%;padding:11px;font-size:12.5px;gap:9px}.management-sidebar nav .mg-nav-item{width:100%;padding:10px 11px 10px 34px;font-size:12px;gap:8px}.mg-nav-symbol{font-size:14px;width:16px}.management-sidebar nav small{font-size:9px}.mg-sidebar-footer{padding:9px 15px;border-top:1px solid #f1f2f3}.mg-sidebar-footer .avatar{width:24px;height:24px;font-size:10px}.mg-sidebar-footer b{font-size:10px;display:inline}.mg-sidebar-footer small{display:inline;margin:0 0 0 8px;font-size:9px}.mg-sidebar-footer button{font-size:10px;padding:4px}.management-main{padding:17px 13px}.management-top{margin-bottom:15px}.management-top h1{font-size:21px}.management-top>div>span{font-size:9px}.management-top>.outline{font-size:10px;padding:8px 10px}.mg-demo-note{font-size:10px;padding:9px 11px;margin-bottom:16px}.mg-stats{gap:10px;margin-bottom:15px}.mg-stats>button{padding:15px 13px}.mg-stats>button>span{font-size:11px}.mg-stats strong{font-size:27px;margin:13px 0 9px}.mg-stats p{font-size:9px}.mg-panel{padding:16px;margin-bottom:15px}.mg-list-panel{padding:0}.mg-list-intro{padding:15px;align-items:flex-start;gap:12px}.mg-list-intro p{font-size:10px}.mg-list-intro .primary{padding:9px 10px;font-size:10px}.mg-toolbar{padding:0 15px 14px;gap:7px}.mg-search{flex-basis:100%;height:37px}.mg-search input{font-size:13px}.mg-toolbar select{max-width:none;flex:1;height:34px;font-size:12px}.mg-toolbar .outline{font-size:11px}.mg-count{width:auto;margin-left:auto;font-size:10px}.management-table{min-width:640px}.mg-form-grid{grid-template-columns:1fr}.mg-form-actions{position:sticky;bottom:-28px;background:#fff;padding-bottom:12px;z-index:1}.mg-detail-summary{gap:15px}.mg-detail-summary b{font-size:11px}.mg-detail-summary small{font-size:10px;overflow-wrap:anywhere}.mg-detail-summary .tag{font-size:10px}.mg-order-total{font-size:11px}.mg-order-total strong{font-size:17px}#detail{padding:22px;max-height:92dvh}#detail .dialog-head h2{font-size:19px}#detail .commerce-goods-head{display:none}#detail .commerce-goods-row{grid-template-columns:1fr 1fr 1fr;font-size:11px}#detail .commerce-goods-row>.commerce-item{grid-column:1/-1}.mg-shortcuts small{font-size:9px}.mg-permission-field{padding:15px;gap:14px 8px}}
@media(prefers-reduced-motion:reduce){button{transition:none}.product-image img{transition:none}}

/* 后台列表统一分页条 */
.mg-pager{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:13px 20px 15px;border-top:1px solid #eef1f3;background:#fff;font-size:12px;color:#78848c}
.mg-pager-info{margin-right:auto;white-space:nowrap}
.mg-page-nav{display:flex;align-items:center;gap:6px}
.mg-page-step{font-size:12px;line-height:1;color:#5f6d76;border:1px solid #e1e6e9;background:#fff;border-radius:5px;padding:7px 10px;white-space:nowrap}
.mg-page-step:hover:not(:disabled){border-color:#f2b184;color:#d9742d}
.mg-page-step:disabled{color:#b0bac0;background:#fafbfc;cursor:default}
.mg-page-now{font-size:12px;color:#78848c;white-space:nowrap;padding:0 3px}
.mg-page-now b{color:#4d5a62;font-weight:600}
.mg-page-size{display:flex;align-items:center;gap:5px;white-space:nowrap;color:#8b979f}
.mg-page-size select{height:30px;border:1px solid #e1e6e9;border-radius:5px;font-size:12px;color:#69767f;background:#fff;padding:0 6px}
@media(max-width:760px){
  .mg-pager{padding:11px 14px 13px;gap:8px}
  .mg-pager-info{flex:0 0 auto;margin-right:0}
  .mg-page-size{order:2;margin-left:auto}
  .mg-page-nav{order:3;width:100%;justify-content:space-between;gap:5px}
  .mg-page-step{padding:8px 9px}
  .mg-page-size select{height:32px;font-size:12px}
}
/* ---------- 顶栏待办提醒 ---------- */
.management-top>.mg-top-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}
.management-top>.mg-top-actions>.outline{font-size:11px;padding:9px 12px;background:#fff;border-color:#dfe5e8;color:#75818a}
.mg-todo-wrap{position:relative}
.mg-todo-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:34px;border:1px solid #dfe5e8;border-radius:7px;background:#fff;color:#77848c;cursor:pointer;transition:border-color .15s,color .15s}
.mg-todo-btn svg{width:17px;height:17px}
.mg-todo-btn:hover{border-color:#f47721;color:#c25f16}
.mg-todo-btn.has-todo{color:#c25f16;border-color:#f6d3b5;background:#fff8f2}
.mg-todo-btn b{position:absolute;top:-6px;right:-6px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#f47721;color:#fff;font-size:10px;font-weight:600;line-height:17px;text-align:center;box-shadow:0 1px 3px rgba(196,95,22,.35)}
.mg-todo-btn[aria-expanded=true]{border-color:#f47721;color:#c25f16}
.mg-todo-pop{position:absolute;top:calc(100% + 8px);right:0;z-index:60;width:288px;background:#fff;border:1px solid #e6ebee;border-radius:10px;box-shadow:0 16px 36px rgba(18,32,44,.16);padding:12px 12px 10px;text-align:left}
.mg-todo-pop[hidden]{display:none}
.mg-todo-pop header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-bottom:9px;border-bottom:1px solid #f1f4f6}
.mg-todo-pop header b{font-size:13px;color:#33434d}
.mg-todo-pop header small{font-size:10.5px;color:#96a1a8}
.mg-todo-pop ul{list-style:none;margin:0;padding:6px 0 0;display:flex;flex-direction:column;gap:3px}
.mg-todo-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 8px;width:100%;border:1px solid transparent;border-radius:7px;background:#f8fafb;padding:8px 10px;font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
.mg-todo-item:hover{border-color:#f6d3b5;background:#fff8f2}
.mg-todo-item span{font-size:12px;color:#3c4b54}
.mg-todo-item em{font-style:normal;font-size:12px;font-weight:600;color:#c25f16}
.mg-todo-item small{grid-column:1 / -1;font-size:10.5px;color:#98a3aa}
.mg-todo-empty{margin:12px 2px 6px;font-size:12px;color:#8d99a0}
.mg-todo-foot{margin:10px 2px 0;font-size:10.5px;color:#a3adb3;line-height:1.5}
@media(max-width:760px){
  .management-top>.mg-top-actions{gap:7px}
  .management-top>.mg-top-actions>.outline{padding:8px 10px}
  .mg-todo-pop{width:min(288px,calc(100vw - 44px))}
}

/* V101 订单列表：状态 / 收款 / 发票三列不换行，避免中文被压成竖排 */
.management-table[data-section="orders"] td:nth-child(4),
.management-table[data-section="orders"] td:nth-child(5),
.management-table[data-section="orders"] td:nth-child(6){white-space:nowrap}
.management-table[data-section="orders"] td:nth-child(4) .tag,
.management-table[data-section="orders"] td:nth-child(5) .tag,
.management-table[data-section="orders"] td:nth-child(6) .tag{white-space:nowrap}
.management-table[data-section="orders"] td:nth-child(5) .tag{display:inline-block;margin-bottom:3px}
.management-table[data-section="orders"] td:nth-child(5) small{display:block;font-size:10.5px;color:#9aa4ab;line-height:1.3}
.management-table[data-section="orders"] td:nth-child(1) b{font-size:11.5px;letter-spacing:-.2px;word-break:break-all}
@media (max-width:1180px){
 .management-table[data-section="orders"] th:nth-child(7),
 .management-table[data-section="orders"] td:nth-child(7){display:none}
}

/* V102 产品「前台」列：状态标签不换行（批量列会改变 td 序号，故按 .tag 命中） */
.management-table[data-section="products"] .tag{white-space:nowrap}

/* ===== 额度管理 / 尊享客户台账（1.8.5） ===== */
.cr-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px}
.cr-stats>div{padding:14px 16px;border:1px solid #eceff1;border-radius:10px;background:#fff;display:flex;flex-direction:column;gap:6px}
.cr-stats span{font-size:12px;color:#8a98a0}
.cr-stats b{font-size:22px;color:#2f3437;font-weight:600;line-height:1.2}
.cr-stats b small{font-size:12px;color:#9aa4ab;font-weight:400;margin-left:4px}
.cr-stats b.is-used{color:#d96516}
.cr-stats b.is-free{color:#2f7d4f}
.cr-usage{display:flex;align-items:center;gap:12px;margin:0 0 18px;font-size:12px;color:#8a98a0}
.cr-usage-bar{flex:1;height:8px;border-radius:4px;background:#f0f2f4;overflow:hidden}
.cr-usage-bar i{display:block;height:100%;background:linear-gradient(90deg,#f4a15f,#f47721)}
.cr-search{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.cr-search input,.cr-search select{height:36px;border:1px solid #e1e6e9;border-radius:6px;padding:0 10px;font-size:12.5px;background:#fff;color:#4d5a62}
.cr-search input{flex:0 1 280px;min-width:160px}
.cr-search button{height:36px;padding:0 16px;border:1px solid #e1e6e9;border-radius:6px;background:#fff;font-size:12.5px;color:#5c686f}
.cr-search button:hover{border-color:#f0b78c;color:#d96516}
@media(max-width:760px){.cr-stats{grid-template-columns:1fr 1fr}.cr-search input{flex:1 1 100%}}

/* 额度统计数字：不换行，窄屏缩小字号 */
.cr-stats b{white-space:nowrap}
@media(max-width:760px){.cr-stats b{font-size:18px}}

/* 后台订单：付款待确认 */
.mg-pay-pending{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #f6c09a;background:#fff7f0;border-radius:8px;padding:10px 12px;margin:0 0 12px}
.mg-pay-pending b{display:block;font-size:13px;color:#b45309;font-weight:600}
.mg-pay-pending small{display:block;font-size:11px;color:#9a7b5f;margin-top:2px}
.mg-pay-pending .outline{flex:none;padding:7px 12px;font-size:12px}

/* 付款水单审核 */
.mg-pay-pending{align-items:center}
.mg-pay-thumb{flex:none;width:56px;height:56px;border-radius:8px;border:1px solid #f0d9c7;background:#fff;overflow:hidden;display:grid;place-items:center;text-decoration:none}
.mg-pay-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.mg-pay-thumb-pdf{font-size:11px;font-weight:600;color:#b42318;background:#fef3f2;border-color:#fbd5d0;letter-spacing:.4px}
.mg-pay-thumb-empty{font-size:11px;color:#a5aeb6;background:#f6f8f9;border-color:#e8edf1}
.mg-pay-pending-main{flex:1;min-width:0}
.mg-pay-pending .mg-pay-file{color:#8a7a6b}
.mg-pay-pending-actions{flex:none;display:flex;gap:8px}
.mg-pay-pending-actions .primary{padding:7px 12px;font-size:12px}
.mg-pay-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;background:#fafbfc;border:1px solid #e9edf0;border-radius:8px;padding:12px 14px;margin-bottom:14px}
.mg-pay-review-grid>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.mg-pay-review-grid span{font-size:11px;color:#8a959e}
.mg-pay-review-grid b{font-size:13px;color:#2f3a44;font-weight:600;overflow-wrap:anywhere}
.mg-pay-review-grid .mg-pay-amount{color:#e86612;font-size:15px}
.mg-pay-preview{display:block;border:1px solid #e6ebef;border-radius:8px;background:#fafbfc;padding:8px;margin-bottom:14px;text-align:center;text-decoration:none}
.mg-pay-preview img{max-width:100%;max-height:320px;object-fit:contain;border-radius:6px;display:block;margin:0 auto}
.mg-pay-preview-pdf{padding:22px;color:#2f3a44}
.mg-pay-preview-pdf span{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:8px;background:#fef3f2;color:#b42318;font-size:11px;font-weight:600;margin-bottom:8px}
.mg-pay-preview-pdf b{display:block;font-size:13px}
.mg-pay-preview-pdf small{display:block;font-size:11px;color:#8a959e;margin-top:4px}
.mg-danger{color:#b42318!important;border-color:#f3c3bd!important}
.mg-danger:hover{background:#fef3f2!important}
@media (max-width:760px){.mg-pay-review-grid{grid-template-columns:1fr}.mg-pay-pending{flex-wrap:wrap}.mg-pay-pending-actions{width:100%;justify-content:flex-end}}

/* 工作台：待办汇总行 */
.mg-todo-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:20px}
.mg-todo-card{display:flex;flex-direction:column;min-width:0;border:1px solid #e6eaed;border-radius:7px;background:#fff;padding:16px 15px 12px}
.mg-todo-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.mg-todo-card h3{margin:0 0 3px;font-size:13px;font-weight:600;color:#2f3a44}
.mg-todo-card header small{display:block;font-size:10.5px;line-height:1.5;color:#a1aab0}
.mg-todo-total{flex:none;font-size:20px;font-weight:600;line-height:1.15;letter-spacing:-.5px;color:#c2c9cf;font-variant-numeric:tabular-nums}
.mg-todo-total.has{color:#f47721}
.mg-todo-lines{display:flex;flex-direction:column;gap:1px;margin-top:4px;min-height:72px;border-top:1px dashed #edf0f2;padding-top:7px}
.mg-todo-lines button{display:flex;align-items:center;gap:8px;width:100%;min-width:0;border:0;background:none;border-radius:4px;padding:7px 4px;font-size:12px;color:#5d686f;text-align:left;cursor:pointer;transition:background .12s,color .12s}
.mg-todo-lines button:hover{background:#fff7f0;color:#c96218}
.mg-todo-lines button:focus-visible{outline:2px solid #f6c09a;outline-offset:1px}
.mg-todo-lines span{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.mg-todo-lines b{flex:none;font-weight:600;color:#2f3a44;font-variant-numeric:tabular-nums}
.mg-todo-lines button:hover b{color:#d2600f}
.mg-todo-lines i{flex:none;font-style:normal;font-size:12px;color:#c3cbd1}
@media (max-width:1100px){.mg-todo-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.mg-todo-row{grid-template-columns:1fr;gap:10px}.mg-todo-card{padding:14px 13px 10px}.mg-todo-lines{min-height:0}}

/* 订单列表：付款标签可直接点开处理 */
.mg-pay-jump{display:block;width:100%;padding:0;border:0;background:none;text-align:left;cursor:pointer}
.mg-pay-jump:hover .tag{box-shadow:0 0 0 2px #ffe0c8}
.mg-pay-jump:focus-visible{outline:2px solid #f6c09a;outline-offset:2px}

/* ===== 管理员与销售经理：角色与功能权限 ===== */
.ar-console{margin-bottom:20px}
.ar-tabs{display:flex;gap:22px;margin-bottom:16px;border-bottom:1px solid #e6eaed}
.ar-tab{border:0;background:none;padding:10px 2px;font-size:13px;color:#7f8b94;border-bottom:2px solid transparent;cursor:pointer;transition:color .14s,border-color .14s}
.ar-tab b{margin-left:6px;font-weight:500;color:#a5afb5;font-size:11px}
.ar-tab:hover{color:#2f3a44}
.ar-tab.active{color:#2f3a44;border-bottom-color:#f47721;font-weight:600}
.ar-tab.active b{color:#d2600f}
.ar-roles{display:grid;grid-template-columns:252px minmax(0,1fr);gap:16px;align-items:start}
.ar-role-list{background:#fff;border:1px solid #e4e9ed;border-radius:7px;padding:12px}
.ar-role-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.ar-role-head b{font-size:12.5px;color:#2f3a44}
.ar-role-head .outline{padding:5px 9px;font-size:11.5px}
.ar-role-items{display:flex;flex-direction:column;gap:3px}
.ar-role-item{display:block;width:100%;text-align:left;border:1px solid transparent;background:none;border-radius:6px;padding:8px 10px;cursor:pointer}
.ar-role-item b{display:block;font-size:12.5px;color:#37424a;font-weight:500}
.ar-role-item small{display:block;font-size:10.5px;color:#a1aab0;margin-top:2px}
.ar-role-item:hover{background:#fafbfc}
.ar-role-item.active{background:#fff6ee;border-color:#ffd9bd}
.ar-role-item.active b{color:#c96218;font-weight:600}
.ar-role-form{min-width:0;margin-bottom:0}
.ar-role-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.ar-role-title h2{margin:0 0 4px;font-size:15px}
.ar-role-title p{margin:0;font-size:12px;color:#8a959e}
.ar-role-meta{flex:none;font-size:11.5px;color:#c96218;background:#fff3e8;border-radius:12px;padding:3px 10px;white-space:nowrap}
.ar-perm-head{display:flex;align-items:center;gap:14px;margin:18px 0 10px;padding-top:14px;border-top:1px solid #eef1f3;flex-wrap:wrap}
.ar-perm-head h3{margin:0;font-size:13px}
.ar-perm-all{display:flex;align-items:center;gap:5px;font-size:12px;color:#4a5559;cursor:pointer}
.ar-perm-tip{font-size:11px;color:#a1aab0}
.ar-perm-groups{display:flex;flex-direction:column;gap:10px}
.ar-perm-group{border:1px solid #e9edf0;border-radius:7px;padding:10px 12px;background:#fcfdfd}
.ar-perm-group header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.ar-perm-group header label{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:#2f3a44;cursor:pointer}
.ar-perm-group header small{font-size:10.5px;color:#a1aab0;font-variant-numeric:tabular-nums}
.ar-perm-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 12px}
.ar-perm-items label{display:flex;align-items:center;gap:6px;font-size:12px;color:#54606a;min-width:0;cursor:pointer}
.ar-perm-items label:hover{color:#c96218}
.ar-perm-items input,.ar-perm-all input,.ar-perm-group input,.ar-role-option input{accent-color:#f47721;flex:none}
.ar-role-actions{display:flex;align-items:center;gap:14px;margin-top:16px;flex-wrap:wrap}
.ar-role-actions .note{font-size:11px;color:#a1aab0}
.ar-role-empty{display:block;font-size:11.5px;color:#b42318;background:#fef3f2;border:1px solid #fbd5d0;border-radius:6px;padding:8px 10px}
.ar-role-field{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:4px 0 0;padding:10px 12px}
.ar-role-field legend{padding:0 4px}
.ar-role-option{display:flex;align-items:flex-start;gap:8px;border:1px solid #e6ebef;border-radius:7px;padding:8px 10px;cursor:pointer;background:#fff}
.ar-role-option:hover{border-color:#f6c09a}
.ar-role-option:has(input:checked){border-color:#f6c09a;background:#fff8f2}
.ar-role-option b{display:block;font-size:12.5px;color:#2f3a44}
.ar-role-option small{display:block;font-size:10.5px;color:#8a959e;margin-top:2px;line-height:1.5}
.ar-role-preview{margin-top:10px;padding:10px 12px;border:1px dashed #e2e8ec;border-radius:7px;background:#fafbfc}
.ar-role-preview b{display:block;font-size:11.5px;color:#4a5559;margin-bottom:6px}
.ar-perm-tags{display:flex;flex-wrap:wrap;gap:5px}
.ar-perm-tags span{font-size:10.5px;color:#5d686f;background:#fff;border:1px solid #e6ebef;border-radius:11px;padding:2px 8px}
.ar-perm-count{font-size:12.5px;color:#2f3a44}
@media (max-width:1100px){.ar-roles{grid-template-columns:1fr}.ar-perm-items{grid-template-columns:repeat(2,minmax(0,1fr))}.ar-role-field{grid-template-columns:1fr}}
@media (max-width:640px){.ar-perm-items{grid-template-columns:1fr}}

/* 编码规则 */
.coding-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:6px}
.coding-card{border:1px solid #e6eaed;border-radius:8px;background:#fff;padding:14px 16px}
.coding-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
.coding-card h3{margin:0 0 3px;font-size:13px;color:#2f3a44}
.coding-card header small{display:block;font-size:10.5px;color:#a1aab0;line-height:1.6}
.coding-switch{display:flex;align-items:center;gap:5px;font-size:11.5px;color:#4a5559;white-space:nowrap;cursor:pointer}
.coding-switch input{accent-color:#f47721}
.coding-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px}
.coding-fields label{display:flex;flex-direction:column;gap:4px;font-size:10.5px;color:#8a959e;min-width:0}
.coding-fields input,.coding-fields select{border:1px solid #dde2e5;border-radius:4px;padding:6px 8px;font-size:12px;color:#2f3a44;background:#fff;min-width:0;width:100%}
.coding-sample{margin:10px 0 0;font-size:11.5px;color:#8a959e}
.coding-sample code{font-family:ui-monospace,Menlo,monospace;font-size:12px;color:#c96218;background:#fff6ee;border:1px solid #ffe0c8;border-radius:4px;padding:2px 7px}
@media (max-width:1100px){.coding-grid{grid-template-columns:1fr}}
@media (max-width:760px){.coding-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:1100px) and (min-width:761px){.coding-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ===== 付款方案管理 ===== */
.pp-summary{display:flex;flex-wrap:wrap;gap:18px;font-size:12px;color:#8a959e;margin:0 0 14px;padding:10px 14px;background:#fff;border:1px solid #e6eaed;border-radius:7px}
.pp-summary b{color:#2f3a44;font-weight:600;margin:0 2px}
.pp-table td{vertical-align:middle}
.pp-name{display:flex;flex-direction:column;gap:4px;min-width:0}
.pp-name b{font-size:13px;color:#2f3a44;font-weight:600}
.pp-name .tag{align-self:flex-start;font-size:10px}
.pp-name small{font-size:10.5px;color:#a1aab0;line-height:1.5;max-width:320px}
.pp-split{font-variant-numeric:tabular-nums;font-size:12.5px;color:#4a5559;white-space:nowrap}
.pp-preview{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:baseline;margin:12px 0;padding:10px 12px;border:1px dashed #f0d9c7;border-radius:7px;background:#fffaf5;font-size:12px;color:#6b757d}
.pp-preview b{font-size:11.5px;color:#b45309;font-weight:600}
.pp-preview strong{color:#c96218;font-weight:600;font-variant-numeric:tabular-nums}
.pp-danger{color:#b42318!important;border-color:#f3c3bd!important}
.pp-danger:hover{background:#fef3f2!important}
.pp-danger-solid{background:#b42318!important;border-color:#b42318!important;color:#fff!important}
.pp-link{border:0;background:none;padding:0;font-size:12px;color:#c96218;cursor:pointer;text-align:left;text-decoration:underline;text-underline-offset:2px}
.pp-link:hover{color:#a04d10}

/* ===== 到款管理 ===== */
.rc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.rc-stats>div{border:1px solid #e6eaed;border-radius:8px;background:#fff;padding:14px 15px;display:flex;flex-direction:column;gap:4px}
.rc-stats span{font-size:11.5px;color:#8a959e}
.rc-stats strong{font-size:21px;color:#2f3a44;font-weight:600;letter-spacing:-.4px;font-variant-numeric:tabular-nums}
.rc-stats strong.is-warn{color:#c96218}
.rc-stats strong.is-danger{color:#b42318}
.rc-stats small{font-size:10.5px;color:#a1aab0}
.rc-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.rc-ranges{display:flex;border:1px solid #e4e9ed;border-radius:7px;overflow:hidden;background:#fff}
.rc-ranges button{border:0;background:none;padding:8px 13px;font-size:12px;color:#6b757d;cursor:pointer}
.rc-ranges button+button{border-left:1px solid #eef1f3}
.rc-ranges button.active{background:#fff3e8;color:#c96218;font-weight:600}
.rc-method{width:160px;margin:0}
.rc-method select{height:36px}
.rc-toolbar .mg-search{flex:1;min-width:200px;max-width:340px}
.rc-table{min-width:640px}
.rc-table td{font-size:12px;white-space:nowrap;vertical-align:top}
.rc-table .tag{white-space:nowrap}
.rc-time{font-variant-numeric:tabular-nums;color:#4a5559}
.rc-company{display:block;font-size:10.5px;color:#a1aab0;margin-top:3px;max-width:190px;overflow:hidden;text-overflow:ellipsis}
.rc-source{display:block;font-size:10px;color:#a1aab0;margin-top:3px}
.rc-open{padding:4px 9px!important;font-size:11.5px!important}
.rc-note a{color:#c96218}
.rc-amount{font-variant-numeric:tabular-nums;font-weight:600;color:#2f3a44;white-space:nowrap}
.rc-amount.is-pending{color:#a1aab0;font-weight:500}
.rc-note{max-width:220px;color:#6b757d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:1100px){.rc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.rc-stats{grid-template-columns:1fr}.rc-toolbar{gap:8px}.rc-method{width:100%}.rc-toolbar .mg-search{max-width:none;width:100%}}

/* ===== 网站运营 / 财务工作台（1.22.0） ===== */
.wb-quick{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px}
.wb-quick button{display:flex;align-items:center;gap:7px;border:1px solid #e6eaed;background:#fff;border-radius:9px;padding:9px 11px;font-size:11.5px;color:#4c5960;cursor:pointer;text-align:left;line-height:1.35}
.wb-quick button:hover{border-color:#f6b98c;background:#fffaf5;color:#c25f16}
.wb-quick i{font-style:normal;color:#c9a184;font-size:12px;flex:none}
.wb-mini{margin:2px 0 0;font-size:11px;color:#a4adb3;line-height:1.6}
@media (max-width:760px){.wb-quick{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 只读字段：累计已收等派生金额，避免误以为可编辑 */
.mg-field input[readonly]{background:#f7f9fa;color:#5b666e;cursor:not-allowed}
.mg-field input[readonly]:focus{border-color:#e1e6e9;box-shadow:none}

/* 到款筛选：付款方式与时间范围同一行 */
.rc-toolbar .rc-method{display:flex;align-items:center;gap:8px;width:auto;margin:0;font-size:12px;color:#6b757d}
.rc-toolbar .rc-method select{height:36px;width:150px}
@media (max-width:760px){.rc-toolbar .rc-method{width:100%}.rc-toolbar .rc-method select{flex:1;width:auto}}

/* 管理员编辑器：长表单（约 2300px）保存条常驻底部，避免「保存」被滚到看不见 */
dialog[open]:has(#ss-admin-form){display:flex;flex-direction:column;max-height:calc(100dvh - 30px);overflow:hidden}
dialog[open]:has(#ss-admin-form) #detail-content{flex:1 1 auto;min-height:0;overflow:auto;padding-bottom:2px}
dialog[open]:has(#ss-admin-form) .dialog-head{position:sticky;top:0;z-index:6;background:#fff;padding:2px 0 10px;margin:0 0 8px;border-bottom:1px solid #eef1f4}
dialog[open]:has(#ss-admin-form) .mg-form-actions{position:sticky;bottom:0;z-index:5;background:#fff;padding:12px 0 4px;border-top:1px solid #edf0f4;margin-top:10px}

/* ===== 管理员角色：项目 7 栏目可视/编辑权限 ===== */
.ar-project-perms{margin:18px 0 0;border:1px solid #eceff2;border-radius:8px;padding:14px 16px;background:#fbfcfd}
.ar-project-perms-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:10px}
.ar-project-perms-head h3{margin:0;font-size:14px;color:#2f3a42}
.ar-project-perms-head span{font-size:11px;color:#8a9096;line-height:1.7;max-width:460px}
.ar-project-perms table{width:100%;border-collapse:collapse}
.ar-project-perms th,.ar-project-perms td{padding:7px 8px;border-top:1px solid #eef1f3;font-size:12px;text-align:center}
.ar-project-perms th{color:#8a9096;font-weight:400;background:#f6f8fa}
.ar-project-perms th:first-child,.ar-project-perms td:first-child{text-align:left;width:52%}
.ar-project-perms input[type=checkbox]{width:16px;height:16px;accent-color:#ef7523;cursor:pointer}

/* 验证与登录：测试邮件行 */
.av-test-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin:6px 0 2px;padding:12px 14px;border:1px dashed #e5d8c9;border-radius:8px;background:#fffaf5}
.av-test-row .mg-field{margin:0}
.av-test-row .outline{align-self:end;height:38px}
@media(max-width:640px){.av-test-row{grid-template-columns:1fr}}

/* 管理员岗位：系统预设标识 */
.ar-role-item b{display:flex;align-items:center;gap:6px}
.ar-role-tag{font-style:normal;font-size:10px;line-height:1.5;padding:0 5px;border-radius:3px;background:#fff2e6;color:#c2570f;font-weight:500}

/* 常用操作：手动选择入口 */
.mg-quick-edit{margin-left:auto;padding:4px 10px;border:1px solid #e6eaed;border-radius:14px;background:#fff;font-size:12px;color:#5f6b76}
.mg-quick-edit:hover{border-color:#ef7523;color:#ef7523}
.mg-panel-title .mg-quick-edit+.note,.mg-panel-title .mg-quick-edit~a{margin-left:12px}
.mg-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;max-height:52vh;overflow:auto;margin:12px 0 4px}
.mg-quick-grid label{display:flex;align-items:flex-start;gap:9px;padding:9px 10px;border:1px solid #eef1f3;border-radius:8px;cursor:pointer}
.mg-quick-grid label:hover{border-color:#f2c9a4;background:#fffaf4}
.mg-quick-grid input{margin-top:2px}
.mg-quick-grid b{display:block;font-size:13px;font-weight:600;color:#202426}
.mg-quick-grid small{display:block;margin-top:2px;font-size:11px;color:#8a97a3;line-height:1.45}
.mg-quick-actions{display:flex;align-items:center;gap:10px;margin-top:14px}
.mg-quick-actions .note{margin-right:auto;font-size:12px;color:#8a97a3}
.mg-quick-empty{margin:0;padding:18px 4px;font-size:13px;color:#8a97a3}
.mg-quick-grid input[type="checkbox"]{accent-color:#ef7523}

/* 后台外壳改版：logo 图标 / 顶栏账号与退出 / 收紧上下空白 */
.mg-brand-mark{overflow:hidden;background:#fff;border:1px solid #ffe0cc;padding:0;box-shadow:0 1px 2px #ef75231a}
.mg-brand-mark img{width:100%;height:100%;object-fit:cover;object-position:left center;display:block}
.management-shell{margin-top:0}
.wrap:has(.management-shell){padding-top:16px}
.mg-top-actions{gap:10px}
.mg-top-store{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 13px;border:1px solid #e1e6e9;border-radius:18px;background:#fff;font-size:12.5px;color:#4a5862;cursor:pointer;transition:border-color .18s,color .18s,background .18s}
.mg-top-store:hover{border-color:#f0b384;color:#d8671b;background:#fff8f2}
.mg-top-store i{font-style:normal;font-size:12px;opacity:.7}
.mg-top-user{display:flex;align-items:center;gap:8px;height:34px;padding:0 13px 0 4px;border:1px solid #eef1f3;border-radius:18px;background:#fff}
.mg-top-avatar{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#fff2e6;color:#c2570f;font-size:12px;font-weight:600;flex:none}
.mg-top-id{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.mg-top-id b{font-size:12.5px;font-weight:600;color:#202426;white-space:nowrap}
.mg-top-id small{font-size:10.5px;color:#9aa6b1;white-space:nowrap}
.mg-top-logout{height:34px;padding:0 14px;border:1px solid #f0d9d3;border-radius:18px;background:#fff;color:#b42318;font-size:12.5px;cursor:pointer;transition:background .18s,border-color .18s}
.mg-top-logout:hover{background:#fdeceb;border-color:#e5b8b0}
@media(max-width:900px){
  .mg-top-id{display:none}
  .mg-top-user{padding:0 4px}
  .mg-top-store span{display:none}
  .mg-top-store{padding:0 10px}
}

/* 顶栏与内容之间收紧（覆盖 ss-staff-surface 的默认留白） */
body.ss-staff-surface .management-shell{margin-top:0}
body.ss-staff-surface #app.wrap{padding-top:14px}

/* 侧栏品牌图标：使用方形 h 图标，不再套白底 */
.mg-brand-mark{background:transparent;border:0;box-shadow:none;border-radius:9px}
.mg-brand-mark img{object-position:center;border-radius:9px}

/* 侧栏品牌：完整 Hoomall logo */
.management-brand{padding:16px 14px 14px;min-height:66px;border-bottom:1px solid #f1f4f7;margin-bottom:10px}
.mg-brand-logo{height:42px;width:auto;display:block}
/* 右上角：返回商城 + 当前管理员（点击弹出退出） */
.mg-top-actions{display:flex;align-items:center;gap:9px;flex:none}
.mg-acct{position:relative;display:inline-flex}
.mg-acct-btn{display:inline-flex;align-items:center;gap:8px;height:37px;padding:0 12px 0 5px;border:1px solid #e1e6e9;border-radius:19px;background:#fff;font-size:12.5px;color:#20262b;cursor:pointer;white-space:nowrap}
.mg-acct-btn:hover{border-color:#ffd9bf;background:#fffdfa}
.mg-acct-av{width:27px;height:27px;border-radius:50%;background:#fff2e6;color:#c2570f;font-weight:600;display:grid;place-items:center;font-size:12px;flex:none}
.mg-acct-av.lg{width:36px;height:36px;font-size:14px}
.mg-acct-name{max-width:150px;overflow:hidden;text-overflow:ellipsis}
.mg-acct-caret{width:13px;height:13px;stroke:#9aa6b1;fill:none;stroke-width:2;flex:none}
.mg-acct-pop{position:fixed;z-index:9000;width:262px;background:#fff;border:1px solid #e6eaee;border-radius:12px;box-shadow:0 16px 38px #20262b2e;padding:8px}
.mg-acct-pop[hidden]{display:none}
.mg-acct-head{display:flex;align-items:center;gap:10px;padding:8px}
.mg-acct-head b{display:block;font-size:13px;color:#20262b}
.mg-acct-head small{display:block;margin-top:2px;font-size:11px;color:#9aa6b1}
.mg-acct-row{display:flex;justify-content:space-between;gap:10px;padding:7px 8px;font-size:11.5px;color:#8a97a3}
.mg-acct-row b{font-weight:500;color:#4a5862;text-align:right;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mg-acct-quit{margin:6px 4px 4px;width:calc(100% - 8px);height:34px;border-radius:8px;border:1px solid #f0d9d3;background:#fff;color:#b42318;font-size:12.5px;cursor:pointer}
.mg-acct-quit:hover{background:#fdeceb}
@media(max-width:900px){.mg-acct-name{display:none}.mg-acct-btn{padding:0 8px 0 4px}}

/* ===== 待上架产品（商品池） ===== */
.pool-panel{padding:0}
.pool-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px 16px;border-bottom:1px solid #f1f4f7}
.pool-intro h2{margin:0;font-size:19px}
.pool-intro p{margin:6px 0 0;font-size:12.5px;color:#8a97a3;line-height:1.7;max-width:720px}
.pool-intro-actions{display:flex;gap:8px;flex:none}
.pool-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:16px 24px 0}
.pool-stat{background:#fff;border:1px solid #e9edf1;border-radius:9px;padding:10px 14px}
.pool-stat span{font-size:11.5px;color:#9aa6b1}
.pool-stat b{display:block;margin-top:4px;font-size:20px;font-weight:600;color:#20262b}
.pool-panel .mg-toolbar{margin:14px 24px 0}
.pool-panel .table-wrap{margin:10px 24px 24px}
.pool-table th{white-space:nowrap}
.pool-check-cell{width:44px;text-align:center;padding-right:0}
.pool-check-cell input{width:15px;height:15px;accent-color:#ef7523;cursor:pointer}
.pool-bulk-bar{display:flex;align-items:center;gap:12px;margin:12px 24px 0;padding:9px 14px;background:#fff7ef;border:1px solid #f5d2b4;border-radius:8px;font-size:12px;color:#8a5a2e}
.pool-bulk-bar b{color:#d86a1e}
.pool-bulk-bar .primary{padding:7px 14px;font-size:12px}
.pool-bulk-bar .outline{padding:7px 12px;font-size:12px;background:#fff}
.pool-bulk-note{color:#a98a6f;margin-left:auto;font-size:11px}
@media(max-width:750px){.pool-bulk-bar{flex-wrap:wrap;margin:10px 14px 0}.pool-bulk-note{flex-basis:100%;margin-left:0}}
.pool-table td{vertical-align:middle}
.pool-name{font-weight:500;color:#20262b}
.pool-linked{display:inline-block;margin-left:6px;font-size:10px;color:#2d7a4b;background:#eef8f1;border-radius:8px;padding:1px 6px}
.pool-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;color:#5c6670;white-space:nowrap}
.pool-num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.pool-strong{font-weight:600;color:#20262b}
.pool-tag{display:inline-block;font-size:10.5px;padding:2px 8px;border-radius:10px;white-space:nowrap}
.pool-tag.wait{background:#fff4ea;color:#c2570f}
.pool-tag.ready{background:#eef8f1;color:#2d7a4b}
.pool-tag.done{background:#f1f4f7;color:#6f7c86}
.pool-actions{white-space:nowrap}
.pool-link{border:0;background:none;color:#c2570f;font-size:12px;cursor:pointer;padding:0 4px}
.pool-link.danger{color:#b42318}
.pool-hint{margin:2px 0 0;font-size:11.5px;color:#9aa6b1}

/* ===== 组织架构（1.80.0）：集团 / 公司 / 部门 ===== */
.ar-org{display:grid;grid-template-columns:300px minmax(0,1fr);gap:14px;align-items:start}
.ar-org-side{background:#fff;border:1px solid #e6eaee;border-radius:10px;padding:12px;position:sticky;top:12px}
.ar-org-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:9px}
.ar-org-head b{font-size:13px}
.ar-org-head span{font-size:10.5px;color:#9aa5ad}
.ar-org-search{display:flex;align-items:center;gap:6px;height:31px;border:1px solid #e2e7ec;border-radius:7px;padding:0 9px;background:#fff;margin-bottom:8px}
.ar-org-search span{color:#a9b3ba;font-size:12px}
.ar-org-search input{border:0;outline:none;flex:1;min-width:0;font-size:12px;background:transparent}
.ar-org-tree{max-height:430px;overflow:auto;margin:0 -4px;padding:0 4px}
.ar-org-node{display:flex;align-items:center;gap:6px;width:100%;height:32px;padding:0 7px;border:0;background:none;border-radius:6px;font-size:12.5px;color:#3f4a52;cursor:pointer;text-align:left}
.ar-org-node:hover{background:#f6f8f9}
.ar-org-node.on{background:#fff3e8;color:#b4530d;font-weight:600}
.ar-org-node.lv2{padding-left:19px}
.ar-org-node.lv3{padding-left:31px}
.ar-org-node.lv4{padding-left:43px}
.ar-org-node.all{font-weight:600}
.ar-org-chev{width:12px;flex:none;font-size:9px;color:#b4bdc3;text-align:center}
.ar-org-ico{width:9px;height:9px;border-radius:2px;background:#dfe5e9;flex:none}
.ar-org-ico.company{background:#f4c39b}
.ar-org-ico.department{background:#dfe5e9}
.ar-org-nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ar-org-node b{margin-left:auto;font-size:10px;font-weight:500;color:#9aa5ad;background:#f3f5f7;border-radius:8px;padding:0 6px;line-height:15px;flex:none}
.ar-org-node.on b{background:#fbe0c8;color:#b4530d}
.ar-org-actions{display:flex;gap:6px;margin-top:9px;padding-top:9px;border-top:1px dashed #e9edf0}
.ar-org-actions .outline{flex:1;padding:7px 8px;font-size:11.5px}
.ar-org-node-info{margin-top:9px;padding:9px;background:#fafbfc;border:1px solid #eef1f4;border-radius:8px}
.ar-org-node-info b{display:block;font-size:12.5px}
.ar-org-node-info span{display:block;font-size:10.5px;color:#9aa5ad;margin-top:2px}
.ar-org-node-info div{display:flex;gap:10px;margin-top:7px}
.ar-org-node-info button{border:0;background:none;padding:0;font-size:11px;color:#c25f1f;cursor:pointer}
.ar-org-main{min-width:0;background:#fff;border:1px solid #e6eaee;border-radius:10px;overflow:hidden}
.ar-org-toolbar{display:flex;align-items:center;gap:9px;padding:11px 14px;border-bottom:1px solid #eef1f4;flex-wrap:wrap}
.ar-org-toolbar .mg-search{flex:1;min-width:180px;max-width:280px}
.ar-org-toolbar select{height:31px;font-size:11.5px;border:1px solid #e2e7ec;border-radius:7px;padding:0 8px;background:#fff;color:#4a5862}
.ar-org-toolbar .mg-count{margin-left:auto;font-size:11px;color:#9aa5ad}
.ar-org-table .ar-check-cell{width:34px;padding-left:14px;padding-right:0}
.ar-org-table td b{font-weight:600;font-size:12.5px}
.ar-org-table td small{display:block;font-size:10.5px;color:#8a97a3;margin-top:1px}
.ar-org-table tr.is-selected td{background:#fffaf4}
.ar-scope-pill{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:9px;font-size:10.5px;background:#f3f5f7;color:#77838c;white-space:nowrap}
.ar-scope-pill.group{background:#fdeee0;color:#a9550f}
.ar-scope-pill.company{background:#eaf2fd;color:#2f5f9e}
.ar-scope-pill.dept{background:#eef6ec;color:#3d7a45}
.ar-scope-pill.self{background:#f4f1ec;color:#776d63}
.ar-scope-pill.custom{background:#f3eefb;color:#6a4a9e}
.ar-org-bulk{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 14px;background:#fff7ef;border-top:1px solid #f6dcc4;font-size:12px}
.ar-org-bulk b{color:#b4530d}
.ar-org-bulk div{display:flex;gap:8px}
.ar-org-bulk button{padding:6px 10px;font-size:11.5px}
.ar-org-main>.note{margin:0;padding:10px 14px;border-top:1px solid #eef1f4;font-size:11px;line-height:1.7;color:#8a97a3;background:#fcfdfe}
.ar-scope-custom{border:1px solid #e8edf1;border-radius:8px;padding:10px 12px;margin-bottom:12px;background:#fbfcfd}
.ar-scope-custom-head{display:flex;align-items:baseline;gap:8px;margin-bottom:7px}
.ar-scope-custom-head b{font-size:12px}
.ar-scope-custom-head span{font-size:10.5px;color:#9aa5ad}
.ar-scope-companies{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;max-height:150px;overflow:auto}
.ar-scope-companies label{display:flex;align-items:center;gap:6px;font-size:11.5px;color:#4a5862;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1100px){.ar-org{grid-template-columns:1fr}.ar-org-side{position:static}.ar-scope-companies{grid-template-columns:1fr}}
.ar-org{grid-template-columns:250px minmax(0,1fr)}
.ar-org-table{min-width:750px;table-layout:fixed}
.ar-org-table th:nth-child(1),.ar-org-table td:nth-child(1){width:34px}
.ar-org-table th:nth-child(2),.ar-org-table td:nth-child(2){width:132px}
.ar-org-table th:nth-child(3),.ar-org-table td:nth-child(3){width:190px}
.ar-org-table th:nth-child(4),.ar-org-table td:nth-child(4){width:104px}
.ar-org-table th:nth-child(5),.ar-org-table td:nth-child(5){width:110px}
.ar-org-table th:nth-child(6),.ar-org-table td:nth-child(6){width:58px}
.ar-org-table th:nth-child(7),.ar-org-table td:nth-child(7){width:92px}
.ar-org-table td,.ar-org-table th{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ar-org-table td.dept-cell b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ar-org-main .table-wrap{overflow-x:auto}
.ar-org-table .mg-row-actions button{margin-left:8px}
.ar-org-table .mg-row-actions .danger-link{margin-left:8px}
@media(max-width:1300px){.ar-org{grid-template-columns:220px minmax(0,1fr)}}
.ar-org-table{min-width:636px}
.ar-org-table td,.ar-org-table th{padding:9px 8px}
.ar-org-table th:nth-child(1),.ar-org-table td:nth-child(1){width:32px;padding-left:10px}
.ar-org-table th:nth-child(2),.ar-org-table td:nth-child(2){width:112px}
.ar-org-table th:nth-child(3),.ar-org-table td:nth-child(3){width:164px}
.ar-org-table th:nth-child(4),.ar-org-table td:nth-child(4){width:88px}
.ar-org-table th:nth-child(5),.ar-org-table td:nth-child(5){width:92px}
.ar-org-table th:nth-child(6),.ar-org-table td:nth-child(6){width:50px}
.ar-org-table th:nth-child(7),.ar-org-table td:nth-child(7){width:72px}
.ar-org-table .mg-row-actions button{margin-left:6px;font-size:11px}
.ar-org-table td.dept-cell b{font-size:11.5px}
.ar-org{grid-template-columns:220px minmax(0,1fr)}
.ar-org-table{min-width:668px}
.ar-org-table th:nth-child(4),.ar-org-table td:nth-child(4){width:96px}
.ar-org-table th:nth-child(7),.ar-org-table td:nth-child(7){width:96px}
.ar-org-side .ar-org-head{flex-wrap:wrap;gap:2px}
.ar-org-table .mg-row-actions{padding-left:4px;padding-right:4px;white-space:nowrap}
.ar-org-table .mg-row-actions button{margin:0 0 0 6px;padding:0;border:0;background:none;font-size:11px;color:#c25f1f}
.ar-org-table .mg-row-actions button:first-child{margin-left:0}
.ar-org-toolbar .mg-count{margin-left:0}
.ar-org-toolbar .primary{margin-left:auto}
.ar-org-actions{flex-wrap:wrap}
.ar-org-actions .outline{flex:1 1 28%;padding:6px 4px;font-size:11px;white-space:nowrap}

/* 编辑弹窗内的删除入口 */
.mg-form-actions .text-button.ss-danger{color:#b42318;margin-right:auto;padding:0 4px;background:none;border:0;font-size:12.5px;cursor:pointer}
.mg-form-actions .text-button.ss-danger:hover{text-decoration:underline}

/* ===== 库存管理（备库） ===== */
.mg-inv-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 14px}
.mg-inv-kpi{background:#fff;border:1px solid #e6e9ec;border-radius:8px;padding:13px 15px}
.mg-inv-kpi .l{font-size:12px;color:#8a939a;margin-bottom:7px}
.mg-inv-kpi .v{font-family:ui-monospace,Menlo,monospace;font-size:24px;font-weight:700;line-height:1.1;color:#1f2528}
.mg-inv-kpi .v small{font-size:12px;font-weight:400;color:#8a939a;margin-left:2px}
.mg-inv-kpi .f{font-size:11px;color:#aab2b8;margin-top:6px}
.mg-inv-warn{background:#fffaf2;border:1px solid #f3d9a8;border-radius:7px;padding:10px 14px;font-size:12.5px;color:#8a6410;margin:0 0 13px}
.mg-inv-warn b{font-weight:600}
.mg-inv-src{margin-left:auto;font-size:11.5px;color:#8a939a;white-space:nowrap}
.mg-inv-table th{font-size:11px;color:#8a939a;font-weight:500;white-space:nowrap}
.mg-inv-table td b{display:block;font-weight:600;font-size:12.5px}
.mg-inv-table td small{display:block;font-size:11px;color:#8a939a;margin-top:2px}
.mg-inv-code{font-family:ui-monospace,Menlo,monospace;font-size:11.5px;color:#6b7680}
.mg-inv-tag{display:inline-block;font-size:11px;font-weight:600;padding:2px 7px;border-radius:4px;white-space:nowrap}
.mg-inv-note{font-size:11.5px;color:#8a939a;line-height:1.7;padding:0 20px 16px;margin:0}
@media(max-width:1100px){.mg-inv-kpis{grid-template-columns:repeat(2,1fr)}}

/* ===== 后台首页 · 运营驾驶舱 ===== */
.mg-dash{display:flex;flex-direction:column;gap:14px}
.mg-rfq-alert{display:flex;align-items:center;gap:10px;width:100%;padding:11px 14px;border:1px solid #f4c79f;background:#fff7ef;border-radius:8px;color:#8a4f1c;font-size:12px;text-align:left;cursor:pointer}
.mg-rfq-alert i{width:7px;height:7px;border-radius:50%;background:#ef7523;flex:none}
.mg-rfq-alert b{font-weight:600}
.mg-rfq-alert span{margin-left:auto;color:#d06a1e;white-space:nowrap}
.mg-rfq-alert em{font-style:normal;color:#d06a1e;white-space:nowrap;margin-left:6px}
.mg-bell{position:relative;display:inline-flex;align-items:center;gap:4px;height:32px;padding:0 10px;border:1px solid #e4e9ed;background:#fff;border-radius:6px;color:#5f6b76;font-size:12px}
.mg-bell b{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ef7523;color:#fff;font-size:10px;display:inline-flex;align-items:center;justify-content:center}
.mg-bell:hover{border-color:#f0b183;color:#d9742d}
.mg-rfq-alert:hover{background:#fff1e3}
.dash-hello{display:flex;align-items:flex-start;gap:12px}
.dash-hello h1{margin:0;font-size:24px;font-weight:700;letter-spacing:.3px;color:#1f2528}
.dash-hello p{margin:6px 0 0;font-size:12.5px;color:#8a939a}
.dash-month{margin-left:auto;height:32px;padding:0 12px;border:1px solid #e9edf0;border-radius:7px;background:#fff;
  font-size:12px;color:#4b555b;display:flex;align-items:center;white-space:nowrap}
.mg-dash-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}
.mg-dash-kpi{background:#fff;border:1px solid #e9edf0;border-radius:11px;padding:14px 16px 0;overflow:hidden}
.mg-dash-kpi .kpi-hd{display:flex;align-items:center;gap:9px;margin-bottom:10px}
.mg-dash-kpi .kpi-ico{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.mg-dash-kpi .kpi-ico svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.mg-dash-kpi .t{font-size:12.5px;color:#4b555b}
.mg-dash-kpi .kpi-v{font-family:ui-monospace,Menlo,monospace;font-size:25px;font-weight:700;letter-spacing:-.7px;line-height:1.1;color:#1f2528}
.mg-dash-kpi .kpi-f{display:flex;align-items:center;gap:6px;font-size:11px;color:#8a939a;padding:7px 0 11px}
.mg-dash-kpi .kpi-f .sep{color:#e2e7ea}
.mg-dash-kpi .kpi-spark{height:36px;margin:0 -16px}
.mg-dash-kpi .kpi-spark svg{display:block;width:100%;height:36px}
.mg-dash-row2{display:grid;grid-template-columns:1fr 1.06fr;gap:13px}
.mg-dash-card{background:#fff;border:1px solid #e9edf0;border-radius:11px}
.mg-dash-card .chd{display:flex;align-items:center;gap:8px;padding:13px 16px 10px}
.mg-dash-card .chd .bar{width:3px;height:14px;border-radius:2px;background:#ff6a00}
.mg-dash-card .chd h2{margin:0;font-size:14px;font-weight:600;display:flex;align-items:center;gap:7px}
.mg-dash-card .chd .cnt{font-size:11.5px;color:#8a939a;font-weight:400}
.mg-dash-card .chd .more{margin-left:auto;font-size:11.5px;color:#8a939a;cursor:pointer}
.mg-dash-card .chd .more:hover{color:#e85d00}
.mg-dash-todos{padding:0 10px 4px}
.mg-dash-todo{display:flex;align-items:center;gap:11px;padding:10px 8px;border-radius:9px;cursor:pointer}
.mg-dash-todo:hover{background:#fafbfc}
.mg-dash-todo .ti{width:32px;height:32px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.mg-dash-todo .ti svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mg-dash-todo .tt{flex:1;min-width:0}
.mg-dash-todo .tt b{display:block;font-size:12.5px;font-weight:600;color:#1f2528}
.mg-dash-todo .tt small{display:block;font-size:11px;color:#8a939a;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mg-dash-todo .tn{font-family:ui-monospace,Menlo,monospace;font-size:15px;font-weight:700;min-width:42px;text-align:right}
.mg-dash-todo .tn small{font-size:10px;font-weight:400;color:#8a939a;margin-left:2px}
.mg-dash-todo .ta{color:#c3cad0;font-size:12px;flex-shrink:0}
.dash-tip{margin:2px 16px 13px;background:#fffaf2;border:1px solid #f3d9a8;border-radius:8px;padding:9px 11px;
  font-size:11.5px;color:#8a6410;display:flex;align-items:flex-start;gap:7px;line-height:1.55}
.dash-tip svg{width:14px;height:14px;flex-shrink:0;margin-top:1px;fill:none;stroke:#c98a12;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dash-tip b{font-weight:600;color:#8a5c00}
.mg-dash-card .ov-body{display:flex;align-items:center;gap:20px;padding:2px 16px 4px}
.ring-wrap{position:relative;width:126px;height:126px;flex-shrink:0}
.ring-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.ring-center .l{font-size:10.5px;color:#8a939a}
.ring-center .v{font-family:ui-monospace,Menlo,monospace;font-size:21px;font-weight:700;color:#e85d00;line-height:1.2}
.ov-list{flex:1;min-width:0}
.ov-line{display:flex;align-items:center;gap:8px;padding:6px 0}
.ov-line .dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}
.ov-line .k{font-size:12px;color:#4b555b;flex:1}
.ov-line .v{font-family:ui-monospace,Menlo,monospace;font-size:12.5px;font-weight:600;color:#1f2528}
.ov-cmp{margin-top:6px;background:#fafbfc;border-radius:7px;padding:8px 10px;font-size:11px;color:#4b555b;display:flex;align-items:center;gap:6px}
.dash-prog{margin:10px 16px 13px;border-top:1px dashed #eef1f4;padding-top:10px}
.dash-prog .prog-hd{font-size:11.5px;font-weight:600;color:#1f2528;margin-bottom:8px}
.dash-prog .prog-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.dash-prog .prog-item{background:#fafbfc;border-radius:8px;padding:8px 6px;text-align:center}
.dash-prog .prog-item .n{font-family:ui-monospace,Menlo,monospace;font-size:15px;font-weight:700;line-height:1.1;color:#1f2528}
.dash-prog .prog-item .n small{font-size:9.5px;font-weight:400;color:#8a939a;margin-left:1px}
.dash-prog .prog-item .l{font-size:10px;color:#8a939a;margin-top:3px}
.dash-ex .exdot{width:16px;height:16px;border-radius:50%;background:#ff6a00;color:#fff;font-size:10px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center}
.dash-ex .ex-tabs{display:flex;align-items:center;gap:7px;padding:0 16px 10px;flex-wrap:wrap}
.dash-ex .ex-tab{height:27px;padding:0 11px;border-radius:14px;border:1px solid #e9edf0;background:#fff;font-size:11.5px;color:#4b555b;
  display:inline-flex;align-items:center;gap:5px;cursor:pointer;white-space:nowrap}
.dash-ex .ex-tab b{font-family:ui-monospace,Menlo,monospace;font-size:11px}
.dash-ex .ex-tab.on{background:#ff6a00;border-color:#ff6a00;color:#fff;font-weight:600}
.dash-ex .ex-tab.on b{color:#fff}
.dash-table{width:100%;border-collapse:collapse;font-size:12px}
.dash-table th{text-align:left;font-size:10.5px;color:#8a939a;font-weight:500;padding:8px 10px;background:#fafbfc;
  border-top:1px solid #e9edf0;border-bottom:1px solid #e9edf0;white-space:nowrap}
.dash-table th:first-child,.dash-table td:first-child{padding-left:16px}
.dash-table th:last-child,.dash-table td:last-child{padding-right:16px;text-align:right}
.dash-table td{padding:10px;border-bottom:1px solid #f1f4f6;vertical-align:middle;color:#4b555b}
.dash-table tr:last-child td{border-bottom:none}
.dash-table tr:hover td{background:#fcfdfe}
.dash-table .seq{font-family:ui-monospace,Menlo,monospace;font-size:11.5px;color:#8a939a}
.dash-table .atype{display:inline-block;font-size:10.5px;font-weight:600;padding:3px 8px;border-radius:5px;
  background:#fdf0ef;color:#e05a4f;white-space:nowrap}
.dash-table .adoc{font-family:ui-monospace,Menlo,monospace;font-size:11px;color:#4b555b;line-height:1.5}
.dash-table .adoc small{display:block;font-family:inherit;font-size:10.5px;color:#8a939a;margin-top:2px}
.dash-table .adesc{line-height:1.55;max-width:230px}
.dash-table .adur{font-size:11px;color:#8a939a}
.dash-table .aamt{font-family:ui-monospace,Menlo,monospace;font-size:12px;font-weight:600;color:#e85d00;white-space:nowrap}
.dash-table .aact{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:6px;border:1px solid #ffd3b0;
  background:#fff9f4;color:#e85d00;font-size:11px;font-weight:600;white-space:nowrap;cursor:pointer}
.dash-table .alink{color:#3f7fd6;font-size:11.5px;cursor:pointer;white-space:nowrap;margin-left:8px}
@media(max-width:1280px){.mg-dash-kpis{grid-template-columns:repeat(2,1fr)}.mg-dash-row2{grid-template-columns:1fr}}
.mg-dash-kpi{cursor:pointer;transition:border-color .15s,box-shadow .15s}
.mg-dash-kpi:hover{border-color:#ffd3b0;box-shadow:0 3px 14px rgba(255,106,0,.08)}

/* ===== 客户洞察（登录 / 浏览） ===== */
.mg-ins-toolbar{display:flex;align-items:center;gap:10px;margin:0 0 12px;flex-wrap:wrap}
.mg-ins-tabs{display:flex;gap:6px;flex-wrap:wrap}
.mg-ins-tab{height:30px;padding:0 14px;border-radius:7px;border:1px solid #e6e9ec;background:#fff;
  font-size:12.5px;color:#4b555b;cursor:pointer}
.mg-ins-tab:hover{border-color:#d6dbe0}
.mg-ins-tab.on{background:#fff4ec;border-color:#ffd3b0;color:#e85d00;font-weight:600}
.mg-ins-range{margin-left:auto;display:flex;gap:4px}
.mg-ins-rbtn{height:28px;padding:0 11px;border-radius:6px;border:1px solid #e6e9ec;background:#fff;
  font-size:12px;color:#6b7680;cursor:pointer}
.mg-ins-rbtn.on{background:#f4f6f8;border-color:#cfd6dc;color:#1f2528;font-weight:600}
.mg-ins-time{font-family:ui-monospace,Menlo,monospace;font-size:11.5px;color:#6b7680;white-space:nowrap}
.mg-ins-ip{font-family:ui-monospace,Menlo,monospace;font-size:11.5px;color:#8a939a}
.mg-ins-rank{font-family:ui-monospace,Menlo,monospace;font-size:12px;font-weight:700;color:#aab2b8}
.mg-ins-panel .mg-inv-note{padding-top:10px;padding-bottom:0}
/* ===== 工作台统计时间范围（1.83.29） ===== */
.dash-month{margin-left:auto;height:32px;padding:0 11px;border:1px solid #e9edf0;border-radius:8px;background:#fff;display:inline-flex;align-items:center;gap:7px;cursor:pointer;font-family:inherit;font-size:12.5px;line-height:1;color:#3c4650;white-space:nowrap;transition:border-color .15s,background .15s}
.dash-month b{font-size:12.5px;font-weight:600;color:#3c4650;letter-spacing:.2px}
.dash-month .dm-range{font-size:11.5px;color:#9aa4ad;font-variant-numeric:tabular-nums;letter-spacing:.1px}
.dash-month .dm-caret{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4.5px solid #b6bec5;transition:border-top-color .15s}
.dash-month:hover{border-color:#ffd3b0;background:#fffdfa}
.dash-month:hover .dm-caret{border-top-color:#e85d00}
.dr-pop{position:fixed;z-index:1200;width:min(620px,calc(100vw - 20px));background:#fff;border:1px solid #e4e9ec;border-radius:10px;box-shadow:0 12px 38px rgba(31,37,40,.18);padding:12px 14px 10px}
.dr-wrap{display:flex;gap:9px;align-items:flex-start}
.dr-presets{flex:0 0 70px;display:flex;flex-direction:column;gap:0;padding:0 9px 0 0;border-right:1px solid #eef1f4}
.dr-presets button{border:0;background:none;text-align:left;padding:4px 6px;border-radius:5px;font-size:11px;color:#4a5560;cursor:pointer;line-height:1.3}
.dr-presets button:hover{background:#fff4ea;color:#e85d00}
.dr-presets button.is-on{background:#fff4ea;color:#e85d00;font-weight:600}
.dr-cal{flex:1;min-width:0}
.dr-grids{display:grid;grid-template-columns:1fr 1fr;gap:0}
.dr-month{padding:0 9px;min-width:0}
.dr-month:first-child{padding-left:0}
.dr-month:last-child{padding-right:0;border-left:1px solid #eef1f4}
.dr-month-head{display:flex;align-items:center;justify-content:center;gap:0;margin-bottom:1px}
.dr-month-title{min-width:72px;text-align:center;font-size:11px;font-weight:600;color:#3c4650}
.dr-nav-btn{border:0;background:none;color:#a6afb6;font-size:10.5px;cursor:pointer;padding:0 2px;border-radius:3px;line-height:1}
.dr-nav-btn:hover{background:#f2f4f6;color:#e85d00}
.dr-week,.dr-days{display:grid;grid-template-columns:repeat(7,1fr)}
.dr-week span{text-align:center;font-size:9.5px;color:#a6afb6;padding:1px 0}
.dr-day{height:24px;border:0;background:none;font-size:10.5px;color:#3c4650;cursor:pointer;border-radius:0}
.dr-day.is-out{color:#c9d0d6}
.dr-day.is-in{background:#fff5e8}
.dr-day.is-start,.dr-day.is-end{background:#ff7a1a;color:#fff;border-radius:50%}
.dr-day:hover{background:#ffe9d2}
.dr-summary{margin-top:6px;font-size:11px;color:#7b858d}
.dr-summary b{color:#e85d00;font-weight:600}
.dr-foot{display:flex;align-items:center;justify-content:space-between;margin-top:7px;padding-top:7px;border-top:1px solid #eef1f4}
.dr-foot label{font-size:11px;color:#7b858d;display:flex;align-items:center;gap:5px}
.dr-foot-actions{display:flex;gap:6px}
.dr-foot .primary{height:28px;padding:0 14px;font-size:11.5px;border-radius:6px}
@media(max-width:760px){.dr-pop{width:calc(100vw - 16px)}.dr-wrap{flex-direction:column}.dr-presets{flex-direction:row;flex-wrap:wrap;gap:2px;border-right:0;border-bottom:1px solid #eef1f4;padding:0 0 5px}.dr-grids{grid-template-columns:1fr}.dr-month:last-child{border-left:0;border-top:1px solid #eef1f4;margin-top:5px;padding-top:5px}}
