body[data-page=orders]{background:#f5f6fa}body[data-page=orders] #app{max-width:1560px;padding-top:19px}.cc-breadcrumb{display:flex;align-items:center;gap:11px;color:#8a8f95;font-size:11px;margin:0 0 18px}.cc-breadcrumb>button{padding:0;color:#717780}.cc-breadcrumb>b{font-weight:400}.cc-breadcrumb>div{margin-left:auto;display:flex;gap:18px;align-items:center}.cc-breadcrumb>div>span{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-breadcrumb>div>button{color:#a16b3e;font-size:11px}.customer-center{display:grid;grid-template-columns:212px minmax(0,1fr);gap:20px;align-items:start}.cc-sidebar{background:#fff;min-height:1080px;padding-bottom:26px}.cc-sidebar>h1{height:58px;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:500;margin:0 0 19px;border-bottom:1px solid #e7e8eb;letter-spacing:1px}.cc-nav-group{margin:0 0 24px}.cc-nav-group h2{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;color:#35383c;margin:0 0 11px;padding:0 26px;white-space:nowrap}.cc-icon{width:18px;height:18px;display:inline-block;vertical-align:middle;flex-shrink:0}.cc-nav-group h2 .cc-icon{width:21px;height:21px}.cc-nav-group>button{display:block;text-align:left;width:100%;padding:8px 16px 8px 57px;font-size:14px;color:#6f7378;line-height:1.6;position:relative}.cc-nav-group>button:hover{background:#fff8f1;color:#d9742c}.cc-nav-group>button.active{color:#e58a25;font-weight:500}.cc-vip{background:#f7c66a;color:#95702d;font-size:10px;border-radius:12px;padding:2px 6px;font-weight:400;line-height:1;white-space:nowrap}.cc-nav-group h2 .cc-vip{margin-left:-4px}.cc-workspace{min-width:0}.cc-order-controls{background:#fff}.cc-title{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e4e6e9;padding:12px 24px}.cc-title>h2{font-size:17px;font-weight:500;line-height:1.2;margin:0;padding-left:13px;border-left:4px solid #f6c56c}.cc-title>button{font-size:12px;white-space:nowrap}.cc-export-all{border:1px solid var(--orange);color:#e57929;padding:8px 13px;border-radius:3px}.cc-status-tabs{display:flex;justify-content:space-between;gap:16px;padding:16px 24px 5px;overflow-x:auto;scrollbar-width:thin;white-space:nowrap}.cc-status-tabs>button{font-size:14px;color:#72767a;white-space:nowrap;padding:5px 0 9px;border-bottom:3px solid transparent}.cc-status-tabs>button.active{border-color:var(--orange);color:var(--orange);font-weight:600}.cc-filters{display:flex;flex-wrap:wrap;gap:20px 25px;padding:19px 20px 23px}.cc-filter-fields{flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 22px;min-width:0}.cc-filter-fields>label{display:flex;align-items:center;gap:8px;font-size:12px;min-width:0}.cc-filter-fields>label>span{white-space:nowrap;width:76px;text-align:right;flex-shrink:0;color:#42474c}.cc-filter-fields input{width:100%;min-width:0;border:1px solid #dedfe2;border-radius:0;height:35px;padding:8px 10px;font-size:12px;background:#fff;color:#555}.cc-filter-fields input::placeholder{color:#9a9da2}.cc-filter-actions{width:150px;display:flex;flex-direction:column;gap:16px;align-items:center}.cc-filter-actions>div{display:flex;gap:10px;width:100%}.cc-filter-actions .primary{padding:8px 20px;border-radius:3px;font-size:12px;font-weight:500;flex:1}.cc-button{display:inline-flex;gap:6px;align-items:center;justify-content:center;border:1px solid #d5d8dc;border-radius:2px;color:#777c81;padding:6px 11px;font-size:12px;line-height:1.5;white-space:nowrap;background:#fff}.cc-button:hover{border-color:#e2a06c;color:#ce6e23;background:#fffaf6}.cc-button .cc-icon{width:14px;height:14px}.cc-more{font-size:12px;color:#777c81;display:flex;gap:7px;align-items:center;padding:5px}.cc-more[aria-expanded=true] .cc-icon{transform:rotate(180deg)}.cc-more .cc-icon{width:15px;height:15px}.cc-extra-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;flex-basis:100%;padding:17px 0 0;border-top:1px solid #eee}.cc-extra-filters .mg-field{margin:0;font-size:11px}.cc-extra-filters .mg-field input{font-size:12px;padding:7px 9px}.cc-hidden-check{font-size:11px;color:#7f858c;display:flex;align-items:center;gap:6px;grid-column:1/-1}.cc-filters>.form-error{flex-basis:100%;margin:0}.cc-columns{display:grid;grid-template-columns:minmax(290px,3.8fr) minmax(75px,1fr) minmax(85px,1.1fr) minmax(85px,1.05fr) minmax(85px,1fr) minmax(95px,1.2fr)}.cc-order-head{background:#fff;border-top:1px solid #e4e6e9;min-height:58px;align-items:center;font-size:12px;color:#8d9196;margin-bottom:12px;text-align:center}.cc-order-head>span:first-child{text-align:left;padding-left:24px}.cc-order-card{background:#fff;margin-bottom:15px;border:1px solid #f0f1f3}.cc-order-card>header{display:flex;align-items:center;gap:10px;padding:14px 16px;background:#fff;border-bottom:1px solid #e1e3e6;min-height:78px;flex-wrap:wrap}.cc-order-select{display:flex;align-items:center}.customer-center input[type=checkbox]{width:15px;height:15px;accent-color:var(--orange);margin:0;vertical-align:middle;flex-shrink:0}.cc-order-meta{font-size:12px;line-height:1.9;color:#85898f;flex:1;min-width:0}.cc-order-meta>div{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.cc-order-meta b{font-weight:500;color:#51575e}.cc-order-meta i{width:1px;height:12px;background:#d4d6d9;margin:0 7px}.cc-order-meta p{margin:3px 0 0;color:#7b8086;line-height:1.8}.cc-order-tools{display:flex;align-items:center;gap:9px;margin-left:auto}.cc-order-tools .cc-button{padding:4px 8px;font-size:11px}.cc-hide-order{padding:5px 0 5px 6px}.cc-hide-order .cc-icon{width:16px;height:16px}.cc-order-body{min-height:175px;align-items:stretch}.cc-order-products{padding:22px 21px}.cc-order-product{display:flex;align-items:flex-start;gap:13px;position:relative;padding-right:25px;min-width:0}.cc-order-product+.cc-order-product{border-top:1px dashed #e9ebed;padding-top:18px;margin-top:18px}.cc-product-image{padding:0;border:1px solid #e4e7eb;width:67px;height:67px;flex-shrink:0;background:#fff}.cc-product-image img{height:100%;width:100%;object-fit:contain;padding:3px}.cc-order-product>div{min-width:0}.cc-product-name{padding:0;display:block;font-size:13px;line-height:1.7;color:#3d444b;text-align:left;overflow-wrap:anywhere}.cc-order-product p{font-size:11px;color:#93979d;line-height:1.8;margin:8px 0 10px}.cc-order-product strong{font-size:16px;color:var(--orange);font-weight:600}.cc-product-quantity{position:absolute;right:0;bottom:0;color:#858a90;font-size:12px;font-weight:600}.cc-order-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;border-left:1px solid #e3e5e8;font-size:12px;color:#7b8086;gap:8px;padding:15px 6px;text-align:center;overflow-wrap:anywhere}.cc-order-cell>small{font-size:10px;color:#a6abb0}.cc-details-link{color:#3e78a4;font-size:12px;padding:2px;line-height:1.6}.cc-order-actions>.cc-button{font-size:11px;padding:5px 11px}.cc-subtle{font-size:10px;color:#a3a8ad;padding:4px}.cc-friendly-note{display:flex;align-items:center;gap:10px;margin:18px 5px;color:#8b9096;font-size:11px;line-height:1.8}.cc-friendly-note .cc-icon{width:20px;height:20px}.cc-bulk-bar{background:#fff;box-shadow:0 2px 10px #2634400d;border:1px solid #eceef1;padding:17px 19px;display:flex;align-items:center;gap:14px;position:sticky;bottom:0;z-index:4;flex-wrap:wrap}.cc-bulk-bar>label{display:flex;align-items:center;gap:6px;font-size:12px;color:#777f85;white-space:nowrap}.cc-bulk-bar>span{font-size:11px;color:#8a9097}.cc-bulk-bar>span>b{color:var(--orange);font-size:13px}.cc-bulk-bar>span>strong{color:var(--orange);font-size:14px;margin-left:8px}.cc-bulk-bar>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-left:auto}.cc-bulk-bar .primary{border-radius:3px;font-weight:500;font-size:11px;padding:8px 10px;white-space:nowrap}.cc-bulk-bar .primary:disabled{opacity:.4}.cc-pagination{display:flex;justify-content:flex-end;align-items:center;gap:9px;font-size:11px;color:#969da3;margin:18px 0}.cc-pagination>span{margin-right:10px}.cc-pagination>.cc-button{font-size:10px;padding:5px 9px}.cc-current-page{border:1px solid #ef9e63;background:#fff6ef;color:#d96d21;padding:5px 10px;font-size:11px}.cc-empty{background:#fff;text-align:center;padding:55px 20px;color:#9ca4ac}.cc-empty>.cc-icon{width:35px;height:35px;opacity:.4;margin-bottom:14px}.cc-empty h3{font-size:15px;color:#7d8790;font-weight:500;margin:0 0 12px}.cc-empty p{font-size:12px;line-height:1.8;margin-bottom:19px}.cc-empty .primary{font-size:12px;padding:10px 18px}.cc-section-panel{background:#fff;min-height:570px}.cc-section-body{padding:27px}.cc-section-hint{font-size:12px;line-height:1.8;background:#fffaf4;border:1px solid #f5e6d6;padding:12px 15px;color:#b08a68;margin-bottom:25px}.cc-form{max-width:420px}.cc-wide-form{max-width:610px}.cc-form>.primary{font-size:12px;padding:11px 22px}.cc-form .mg-field{font-size:12px}.cc-form .mg-field input{font-size:13px;border-radius:2px}.cc-profile-summary{display:flex;align-items:center;gap:15px;border-bottom:1px solid #edf0f3;padding-bottom:25px;margin-bottom:25px}.cc-profile-summary b{font-size:15px}.cc-profile-summary p{font-size:12px;color:#949da4;margin:7px 0 0}.cc-profile-summary>.tag{margin-left:auto;font-size:11px}.cc-security-row{border-top:1px solid #edf0f3;margin-top:35px;padding-top:25px;display:flex;align-items:center;justify-content:space-between;gap:20px}.cc-security-row b{font-size:13px}.cc-security-row p{font-size:11px;color:#929da6;margin:8px 0 0}.cc-address-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.cc-address-card{border:1px solid #e1e6ea;padding:21px}.cc-address-card h3{font-size:14px;font-weight:500;margin-bottom:17px}.cc-address-card .tag{font-size:10px;margin-left:5px}.cc-address-card>b{font-size:12px;font-weight:500;color:#6f7a83}.cc-address-card>p{font-size:12px;color:#9aa3aa;margin:12px 0 20px;line-height:1.8}.cc-address-card>div{display:flex;gap:15px}.cc-address-card button{font-size:11px;color:#be7b48;padding:2px}.cc-table-wrap{overflow-x:auto}.cc-table-wrap table{font-size:12px;min-width:500px}.cc-table-wrap td{font-size:12px;overflow-wrap:anywhere}.cc-table-wrap th{font-size:11px}.cc-table-wrap td small{font-size:10px}.cc-text-actions{white-space:nowrap}.cc-text-actions button{font-size:11px;color:#cd8147;padding:4px 6px}.cc-section-actions{display:flex;justify-content:flex-end;margin-top:20px}.cc-section-actions .primary{font-size:12px}.cc-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.cc-product-grid>article{border:1px solid #e5e9ed;padding:20px;min-width:0}.cc-product-grid>article>button:first-child{display:block;width:100%;text-align:left;padding:0}.cc-product-grid img{display:block;width:100%;height:140px;object-fit:contain;margin-bottom:18px}.cc-product-grid h3{font-size:14px;font-weight:500}.cc-product-grid p{font-size:11px;color:#929da6}.cc-product-grid strong{color:var(--orange);font-size:19px;display:block;margin-bottom:17px}.cc-analytics-stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #e3e8ed;margin:25px 0}.cc-analytics-stats>div{padding:24px 20px;border-right:1px solid #e9edf0}.cc-analytics-stats>div:last-child{border:0}.cc-analytics-stats span{color:#929da6;font-size:12px}.cc-analytics-stats b{font-weight:500;font-size:26px;display:block;margin-top:20px;color:#d87b34}.cc-analytics-stats small{font-size:12px}.cc-coupon-grid>article{border:1px solid #f1cdaa;background:#fffaf4;padding:25px;display:flex;align-items:center;gap:24px;margin-bottom:18px}.cc-coupon-grid>article>span{font-size:32px;color:#e48635;min-width:95px}.cc-coupon-grid h3{font-size:15px}.cc-coupon-grid p{font-size:12px;color:#a69382;margin-bottom:10px}.cc-coupon-grid small{font-size:10px;color:#ad9f93}.cc-coupon-grid .cc-button{margin-left:auto}.cc-membership{padding:15px}.cc-membership>.cc-vip{display:inline-block;padding:5px 12px;font-size:12px;margin-bottom:15px}.cc-membership h2{font-size:24px;font-weight:500}.cc-membership>p{font-size:13px;color:#9aa2a7}.cc-benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:30px 0}.cc-benefit-grid>div{padding:25px;background:#faf8f4;border:1px solid #f1e9de}.cc-benefit-grid b{font-size:14px;font-weight:500}.cc-benefit-grid p{font-size:11px;margin:12px 0 0;color:#a49a8c}.cc-membership>.note{margin-top:15px;font-size:11px}.cc-credit{text-align:center;padding:40px 0}.cc-credit>span{font-size:13px;color:#8a98a0}.cc-credit>strong{font-size:45px;display:block;color:#d9833a;font-weight:500;margin:20px 0}.cc-credit>p{font-size:12px;color:#98a1a8;margin:25px 0}.cc-credit>.primary{font-size:12px}.cc-referral{padding:15px 0 20px;border-bottom:1px solid #eee}.cc-referral h3{font-size:14px}.cc-referral code{font-size:22px;color:#d98844}.cc-referral p{font-size:12px;color:#98a2a9;margin:18px 0 0}.cc-close-account{padding:15px;max-width:700px}.cc-close-account h3{font-size:18px;font-weight:500}.cc-close-account p{font-size:13px;color:#919ba3;line-height:1.9;margin:20px 0}.cc-close-account .primary{font-size:12px;margin-left:15px}.cc-favorite-control{font-size:12px;color:#a57e5b;border:1px solid #e5d7ca;border-radius:3px;padding:8px 13px;margin-top:15px;display:inline-flex;align-items:center;gap:7px}.cc-favorite-control .cc-icon{width:16px;height:16px}
@media(min-width:1750px){body[data-page=orders] #app{max-width:1780px}.customer-center{grid-template-columns:240px minmax(0,1fr);gap:22px}.cc-nav-group h2{font-size:17px;padding-left:34px}.cc-nav-group>button{font-size:16px;padding-left:66px}.cc-sidebar>h1{font-size:23px;height:66px}.cc-title{min-height:66px}.cc-title>h2{font-size:20px}.cc-status-tabs>button{font-size:16px}.cc-filter-fields>label{font-size:14px}.cc-filter-fields>label>span{width:90px}.cc-filter-fields input{height:39px;font-size:14px}.cc-filter-actions{width:180px;gap:18px}.cc-filter-actions .primary,.cc-filter-actions .cc-button{font-size:14px}.cc-filter-actions .primary{padding:9px 23px}.cc-filter-fields{gap:22px 35px}.cc-filters{padding:23px 26px 27px;gap:22px 30px}.cc-status-tabs{padding-top:20px}.cc-order-meta{font-size:14px}.cc-order-tools .cc-button{font-size:13px}.cc-product-image{width:80px;height:80px}.cc-product-name{font-size:15px}.cc-order-product p,.cc-order-cell{font-size:13px}.cc-order-product strong{font-size:18px}.cc-order-body{min-height:210px}.cc-order-head{font-size:14px;min-height:62px}.cc-order-products{padding:27px 25px}.cc-bulk-bar .primary{font-size:13px;padding:9px 12px}.cc-bulk-bar>span{font-size:13px}.cc-friendly-note{font-size:12px}}
@media(max-width:1250px){.customer-center{grid-template-columns:183px minmax(0,1fr);gap:16px}.cc-nav-group h2{padding-left:20px;font-size:14px;gap:8px}.cc-nav-group>button{padding-left:49px;font-size:13px}.cc-nav-group h2 .cc-vip{font-size:9px}.cc-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.cc-filter-actions{width:137px;justify-content:center}.cc-filter-fields>label>span{width:74px;font-size:11px}.cc-filters{gap:17px;padding:18px}.cc-status-tabs{justify-content:flex-start;gap:23px;padding-left:19px;padding-right:19px}.cc-status-tabs>button{font-size:13px}.cc-order-meta{font-size:11px}.cc-order-tools{width:100%;justify-content:flex-end}.cc-order-card>header{gap:8px}.cc-columns{grid-template-columns:minmax(240px,3.3fr) 65px 75px 77px 75px 86px}.cc-order-products{padding:18px 14px}.cc-order-product{gap:9px;padding-right:18px}.cc-product-image{width:54px;height:54px}.cc-product-name{font-size:12px}.cc-order-product p{font-size:10px}.cc-order-cell{font-size:11px;padding:12px 4px}.cc-order-cell .cc-button{font-size:10px;padding:4px 7px}.cc-bulk-bar{padding:14px;gap:12px}.cc-bulk-bar>div{width:100%;justify-content:flex-end}.cc-extra-filters{grid-template-columns:1fr 1fr}.cc-section-body{padding:22px}.cc-address-grid{grid-template-columns:1fr}.cc-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-benefit-grid{gap:10px}.cc-benefit-grid>div{padding:17px 13px}.cc-sidebar{min-height:1080px}}
@media(max-width:950px) and (min-width:761px){.cc-columns{grid-template-columns:minmax(200px,3fr) 58px 68px 0px 72px 78px}.cc-order-head>span:nth-child(4),.cc-order-cell[data-label=下单日期]{overflow:hidden;padding:0;border:0;font-size:0}.cc-filter-actions{width:100%;flex-direction:row;justify-content:space-between}.cc-filter-actions>div{width:auto}.cc-bulk-bar .primary{font-size:10px}.cc-analytics-stats b{font-size:21px}}
@media(max-width:760px){body[data-page=orders] #app{padding-left:12px;padding-right:12px;padding-top:14px}.cc-breadcrumb{font-size:10px;gap:7px;margin-bottom:12px;flex-wrap:wrap}.cc-breadcrumb>div>span{max-width:110px;font-size:9px}.cc-breadcrumb>div{gap:10px}.cc-breadcrumb>div>button{font-size:10px}.customer-center{display:block}.cc-sidebar{min-height:0;margin-bottom:13px;border:1px solid #e9edf0;padding:0}.cc-sidebar>h1{display:none}.cc-sidebar nav{display:flex;overflow-x:auto;gap:0;padding:10px 6px;scrollbar-width:thin;align-items:flex-start}.cc-nav-group{margin:0;padding:0 10px;border-right:1px solid #eef1f3;flex-shrink:0;min-width:125px}.cc-nav-group:last-child{border:0}.cc-nav-group h2{font-size:11px;padding:3px 0 7px;margin:0;gap:5px}.cc-nav-group h2 .cc-icon{width:15px;height:15px}.cc-nav-group h2 .cc-vip{font-size:8px;padding:2px 4px}.cc-nav-group>button{font-size:11px;padding:4px 0 4px 20px;white-space:nowrap}.cc-title{padding:14px 16px;min-height:53px}.cc-title>h2{font-size:16px;border-left-width:3px;padding-left:10px}.cc-title>button{font-size:10px;padding:7px 10px}.cc-status-tabs{padding:13px 16px 3px;gap:22px}.cc-status-tabs>button{font-size:12px;padding-bottom:8px;border-width:2px}.cc-filters{display:block;padding:17px 13px}.cc-filter-fields{grid-template-columns:1fr 1fr;gap:13px 10px}.cc-filter-fields>label{display:block}.cc-filter-fields>label>span{font-size:10px;display:block;width:auto;text-align:left;margin-bottom:5px}.cc-filter-fields input{height:35px;font-size:12px;padding:7px 8px}.cc-filter-actions{flex-direction:row;justify-content:space-between;width:100%;margin-top:17px;gap:13px}.cc-filter-actions>div{width:auto;gap:8px}.cc-filter-actions .primary{font-size:11px;padding:8px 24px}.cc-filter-actions .cc-button{font-size:11px;padding:7px 18px}.cc-more{font-size:11px;padding:5px 0}.cc-extra-filters{margin-top:18px;gap:14px}.cc-extra-filters input{max-width:100%;min-width:0}.cc-order-head{display:none}.cc-orders{margin-top:13px}.cc-order-card{border:1px solid #e5e9ed;margin-bottom:13px}.cc-order-card>header{padding:13px 12px;gap:9px}.cc-order-meta{font-size:10px;flex-basis:calc(100% - 30px)}.cc-order-meta>div{gap:4px}.cc-order-meta i{height:10px;margin:0 4px}.cc-order-meta b{font-size:10px}.cc-order-meta p{font-size:10px;margin-top:4px}.cc-order-tools{margin-top:3px;gap:8px}.cc-order-tools .cc-button{font-size:10px;padding:4px 8px}.cc-order-tools .cc-icon{width:12px;height:12px}.cc-columns{display:grid;grid-template-columns:1fr 1fr;min-height:0}.cc-order-products{grid-column:1/-1;padding:17px 13px;border-bottom:1px solid #edf0f2}.cc-product-image{width:61px;height:61px}.cc-order-product{gap:12px;padding-right:26px}.cc-product-name{font-size:12px}.cc-order-product p{font-size:10px;margin:6px 0 8px}.cc-order-product strong{font-size:16px}.cc-order-cell{border:0;flex-direction:row;justify-content:flex-start;font-size:10px;padding:10px 13px;gap:8px;text-align:left}.cc-order-cell[data-label]:before{content:attr(data-label) "：";color:#a4abb1;font-size:10px}.cc-order-cell[data-label=金额]{justify-content:flex-end}.cc-order-cell[data-label=下单日期]{padding-top:0}.cc-order-cell:nth-last-child(2){justify-content:flex-end;padding-top:0}.cc-order-cell:nth-last-child(2) .cc-details-link{font-size:10px}.cc-order-cell>small{font-size:9px}.cc-order-actions{grid-column:1/-1;justify-content:flex-end;border-top:1px solid #edf0f2;padding:12px 13px;gap:10px}.cc-order-actions>.cc-button{font-size:11px;padding:5px 12px}.cc-friendly-note{font-size:10px;gap:8px;margin:15px 3px;align-items:flex-start}.cc-friendly-note .cc-icon{width:17px;height:17px;flex-shrink:0}.cc-bulk-bar{padding:13px 12px;gap:10px;bottom:0;box-shadow:0 -2px 12px #26344008}.cc-bulk-bar>label{font-size:11px}.cc-bulk-bar>span{font-size:10px}.cc-bulk-bar>span>strong{font-size:13px;margin-left:4px}.cc-bulk-bar>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.cc-bulk-bar .primary{font-size:10px;padding:7px 8px}.cc-pagination{font-size:10px;gap:7px}.cc-pagination>.cc-button{font-size:9px}.cc-current-page{font-size:10px;padding:4px 9px}.cc-section-body{padding:20px 16px}.cc-section-panel{min-height:420px}.cc-profile-summary{gap:10px}.cc-profile-summary b{font-size:13px}.cc-profile-summary p{font-size:10px;overflow-wrap:anywhere}.cc-profile-summary .tag{font-size:9px}.cc-form .mg-field input{font-size:16px}.cc-address-card{padding:18px}.cc-address-card h3{font-size:13px}.cc-address-card>b,.cc-address-card>p{font-size:11px}.cc-product-grid{gap:12px}.cc-product-grid>article{padding:13px}.cc-product-grid img{height:100px}.cc-product-grid h3{font-size:12px;margin-bottom:8px}.cc-product-grid p{font-size:10px}.cc-product-grid .cc-button{font-size:10px;padding:6px 9px}.cc-analytics-stats{grid-template-columns:1fr;margin:20px 0}.cc-analytics-stats>div{border-right:0;border-bottom:1px solid #e9edf0;padding:16px;display:flex;align-items:center;justify-content:space-between}.cc-analytics-stats span{font-size:11px}.cc-analytics-stats b{font-size:22px;margin:0}.cc-coupon-grid>article{flex-wrap:wrap;padding:19px;gap:15px}.cc-coupon-grid>article>span{font-size:27px;min-width:70px}.cc-coupon-grid h3{font-size:13px}.cc-coupon-grid p{font-size:11px}.cc-coupon-grid small{font-size:9px}.cc-membership{padding:6px}.cc-membership h2{font-size:21px}.cc-membership>p{font-size:12px}.cc-benefit-grid{grid-template-columns:1fr;gap:10px;margin:22px 0}.cc-benefit-grid>div{padding:18px}.cc-benefit-grid p{font-size:11px}.cc-credit{padding:25px 0}.cc-credit>strong{font-size:35px}.cc-credit>p{font-size:11px}.cc-close-account{padding:5px}.cc-close-account h3{font-size:16px}.cc-close-account p{font-size:12px}.cc-close-account .primary{margin:12px 0 0;padding:10px 16px}.cc-empty{padding:40px 18px}.cc-empty p{font-size:11px}.cc-empty h3{font-size:14px}.cc-security-row p{font-size:10px}.cc-section-hint{font-size:11px}.cc-favorite-control{font-size:11px}}
@media print{body:has(#cc-print-content)>.utility,body:has(#cc-print-content)>header,body:has(#cc-print-content)>nav,body:has(#cc-print-content)>main,body:has(#cc-print-content)>footer,body:has(#cc-print-content)>#toast{display:none!important}body:has(#cc-print-content){background:#fff}#detail:has(#cc-print-content){position:static;max-width:none;width:100%;height:auto;max-height:none;border:0;padding:0;overflow:visible}#detail:has(#cc-print-content)::backdrop{display:none}#detail:has(#cc-print-content) .dialog-head,#detail:has(#cc-print-content) .mg-form-actions{display:none}#cc-print-content h1{font-size:22px}#cc-print-content p{font-size:11px}}

/* V101 订单三格状态条：收款 / 发票 / 物流 独立展示，不占主状态位 */
.cc-order-flags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.cc-flag{display:inline-flex;align-items:center;gap:3px;font-size:11px;line-height:1;padding:4px 7px;border-radius:4px;background:#f3f4f6;color:#6b7280;white-space:nowrap}
.cc-flag.orange{background:#fdf1e6;color:#c2620f}
.cc-flag.blue{background:#edf2f7;color:#53789a}
.cc-flag.cyan{background:#e6f6f9;color:#0e7490}
.cc-flag.green{background:#edf5f0;color:#3f6b52}
.cc-flag.red{background:#fdeceb;color:#b42318}
.cc-flag.mute{background:#f3f4f6;color:#6b7280}
@media (max-width:640px){.cc-order-flags{gap:4px}.cc-flag{font-size:10px;padding:3px 6px}}

/* V101 修复商品行文字区被压窄导致单字换行 */
.cc-order-product>div{flex:1 1 auto;min-width:0}
.cc-product-name{overflow-wrap:break-word}
.cc-order-product>.cc-product-image{min-width:67px}
.cc-order-product>.cc-product-image img{width:100%;height:100%;object-fit:contain}

/* ===== 我的额度（只读，1.8.5） ===== */
.cc-credit-panel{display:flex;flex-direction:column;gap:16px}
.cc-credit-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 18px;border:1px solid #eceff1;border-radius:10px;background:#fff}
.cc-credit-head>div{display:flex;flex-direction:column;gap:5px}
.cc-credit-head span{font-size:12px;color:#8a98a0}
.cc-credit-head b{font-size:15px;color:#2f3437}
.cc-credit-cards{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:12px}
.cc-credit-cards>div{padding:16px 18px;border:1px solid #eceff1;border-radius:10px;background:#fff;display:flex;flex-direction:column;gap:6px}
.cc-credit-cards .is-main{background:#fff8f2;border-color:#f6d2b4}
.cc-credit-cards span{font-size:12px;color:#8a98a0}
.cc-credit-cards strong{font-size:24px;color:#2f3437;font-weight:600;line-height:1.2}
.cc-credit-cards .is-main strong{color:#d96516}
.cc-credit-cards small{font-size:11.5px;color:#9aa4ab}
.cc-credit-bar{position:relative;height:8px;border-radius:4px;background:#f0f2f4;overflow:hidden}
.cc-credit-bar i{display:block;height:100%;background:linear-gradient(90deg,#f4a15f,#f47721)}
.cc-credit-bar span{position:absolute;right:0;top:-20px;font-size:11.5px;color:#8a98a0}
.cc-credit-note{font-size:12px;color:#8a98a0;line-height:1.7;padding:12px 14px;background:#f7f9fa;border-radius:8px}
.cc-credit-title{font-size:14px;margin:4px 0 0;color:#2f3437}
.cc-credit-empty{font-size:12.5px;color:#9aa4ab}
.cc-credit-muted{color:#9aa4ab;font-size:12px}
@media(max-width:700px){.cc-credit-cards{grid-template-columns:1fr 1fr}.cc-credit-cards .is-main{grid-column:1/-1}.cc-credit-head{flex-direction:column;align-items:flex-start}}

/* ===== 企业审批设置（1.8.5） ===== */
.cc-approval-settings .cc-form{max-width:560px}
.cc-approval-settings .consent{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:13px}
.cc-approval-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}

/* 额度进度条：百分比标签外置，避免被卡片遮住 */
.cc-credit-bar-row{display:flex;align-items:center;gap:12px}
.cc-credit-bar-row .cc-credit-bar{flex:1}
.cc-credit-bar-row>span{font-size:11.5px;color:#8a98a0;white-space:nowrap}

/* ===== 开票申请 / 发票台账（1.8.6） ===== */
button.cc-flag{font-family:inherit;border:0;cursor:pointer}
.cc-flag-action{font-weight:500;transition:box-shadow .16s ease,transform .16s ease}
.cc-flag-action i{font-style:normal;font-size:13px;line-height:1;margin-left:1px;opacity:.75}
.cc-flag-action:hover{box-shadow:0 0 0 1px currentColor inset}
.cc-flag-action:focus-visible{outline:2px solid #f47721;outline-offset:2px}
.cc-flag-action.orange i{animation:iv-nudge 1.8s ease-in-out infinite}
@keyframes iv-nudge{0%,100%{transform:translateX(0)}50%{transform:translateX(2px)}}
@media (prefers-reduced-motion:reduce){.cc-flag-action.orange i{animation:none}}
.iv-head-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.iv-ops{white-space:nowrap}
.iv-ops button{margin-right:6px}
.iv-ops button:last-child{margin-right:0}
.iv-detail>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #eceff2}
.iv-detail>header b{font-size:15px;color:#253043}
.iv-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:2px 22px;margin:0 0 14px}
.iv-detail dl>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px dashed #eef1f4;font-size:12.5px}
.iv-detail dt{color:#8a939e;flex:0 0 auto}
.iv-detail dd{margin:0;color:#2f3437;text-align:right;word-break:break-all}
.iv-detail h3{font-size:13px;margin:16px 0 8px;color:#334}
.iv-deliveries{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.iv-deliveries li{padding:9px 12px;border:1px solid #eef1f4;border-radius:6px;background:#fbfcfd;font-size:12px;display:flex;flex-direction:column;gap:3px}
.iv-deliveries li span{color:#8a939e}
.iv-deliveries li.iv-empty{color:#a4adb6;background:#fff;border-style:dashed}
.iv-mail-preview{margin-top:16px;border:1px solid #eef1f4;border-radius:6px;background:#fbfcfd;padding:10px 12px}
.iv-mail-preview b{display:block;font-size:12px;color:#6b7683;margin-bottom:6px}
.iv-mail-preview pre{margin:0;white-space:pre-wrap;font-size:12px;line-height:1.7;color:#4d5a62;font-family:inherit}
.note.is-warn{color:#b42318}
@media (max-width:640px){
 .iv-detail dl{grid-template-columns:1fr}
 .iv-head-actions{width:100%}
 .iv-head-actions button{flex:1 1 auto}
 .iv-ops{white-space:normal}
}

/* 开票记录表格：金额/号码/状态/时间/操作不换行，抬头与订单号可换行；窄屏横向滚动 */
.cc-table-wrap table.cc-invoice-table{min-width:760px}
.cc-invoice-table th,.cc-invoice-table td{white-space:normal}
.cc-invoice-table th:nth-child(3),.cc-invoice-table td:nth-child(3),
.cc-invoice-table th:nth-child(4),.cc-invoice-table td:nth-child(4),
.cc-invoice-table th:nth-child(5),.cc-invoice-table td:nth-child(5),
.cc-invoice-table th:nth-child(6),.cc-invoice-table td:nth-child(6),
.cc-invoice-table th:last-child,.cc-invoice-table td:last-child{white-space:nowrap}
.cc-invoice-table td small{display:block;white-space:normal;word-break:break-all;color:#9aa4ab;margin-top:3px;font-size:10px;line-height:1.5}
.cc-invoice-table td:last-child button{margin:0 8px 0 0}
.cc-invoice-table td:last-child button:last-child{margin-right:0}
@media (max-width:760px){.hm-mobile .cc-flag-action{min-height:26px;padding:5px 9px}.hm-mobile .cc-flag-action i{font-size:14px}}

/* 订单付款 */
.cc-pay-summary{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}
.cc-pay-summary>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.cc-pay-summary span{font-size:11px;color:#8a959e}
.cc-pay-summary b{font-size:13px;color:#2f3a44;font-weight:600;overflow-wrap:anywhere}
.cc-pay-summary .cc-pay-amount{color:#e86612;font-size:16px}
.cc-pay-overdue{font-style:normal;color:#b42318;font-size:11px;font-weight:400}
.cc-pay-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px}
.cc-pay-methods label{display:flex;align-items:flex-start;gap:8px;border:1px solid #e2e7ec;border-radius:8px;padding:10px 12px;cursor:pointer;background:#fff;transition:border-color .14s,background .14s}
.cc-pay-methods label:hover{border-color:#f6b98c}
.cc-pay-methods label:has(input:checked){border-color:#f47721;background:#fff7f0}
.cc-pay-methods input{accent-color:#f47721;margin-top:2px;flex:none}
.cc-pay-methods span{display:flex;flex-direction:column;gap:2px;min-width:0}
.cc-pay-methods b{font-size:13px;color:#2f3a44}
.cc-pay-methods small{font-size:11px;color:#8a959e;line-height:1.5}
.cc-pay-button{color:#d2600f;border-color:#f6c09a}
@media (max-width:760px){.cc-pay-summary,.cc-pay-methods{grid-template-columns:1fr}}

/* 付款水单 */
.cc-pay-reject-note{margin:0 0 12px;padding:8px 12px;border-radius:8px;background:#fef3f2;border:1px solid #fbd5d0;color:#b42318;font-size:12px;line-height:1.7}
.cc-pay-receipt{border:1px dashed #e2c9b6;border-radius:10px;padding:12px;margin:0 0 12px;background:#fffdfb}
.cc-receipt-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}
.cc-receipt-head b{font-size:12.5px;color:#2f3a44}
.cc-receipt-head em{font-style:normal;color:#d92d20;margin-left:2px}
.cc-receipt-head small{font-size:11px;color:#96a0a8}
.cc-receipt-pick{display:flex;align-items:center;gap:10px;width:100%;border:1px dashed #e6d3c4;background:#fff;border-radius:8px;padding:12px;text-align:left;cursor:pointer;transition:border-color .14s,background .14s}
.cc-receipt-pick:hover{border-color:#f4a26a;background:#fffaf5}
.cc-receipt-plus{flex:none;width:34px;height:34px;border-radius:8px;background:#fff3e8;color:#d2600f;font-size:17px;line-height:1;display:grid;place-items:center}
.cc-receipt-pick b{display:block;font-size:12.5px;color:#2f3a44;margin-bottom:2px}
.cc-receipt-pick small{display:block;font-size:11px;color:#8a959e;line-height:1.5}
.cc-receipt-loading{font-size:12px;color:#8a959e;padding:14px;text-align:center;border:1px dashed #e6d3c4;border-radius:8px;background:#fff}
.cc-receipt-file{display:flex;align-items:center;gap:10px;border:1px solid #e6ebef;border-radius:8px;padding:8px 10px;background:#fff}
.cc-receipt-file img{flex:none;width:52px;height:52px;object-fit:cover;border-radius:6px;border:1px solid #edf1f4;background:#f6f8f9}
.cc-receipt-pdf{flex:none;width:52px;height:52px;border-radius:6px;background:#fef3f2;color:#b42318;font-size:11px;font-weight:600;display:grid;place-items:center;border:1px solid #fbd5d0}
.cc-receipt-meta{flex:1;min-width:0}
.cc-receipt-meta b{display:block;font-size:12px;color:#2f3a44;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-receipt-meta small{display:block;font-size:11px;color:#8a959e;margin-top:3px}
.cc-receipt-actions{flex:none;display:flex;align-items:center;gap:10px;font-size:11.5px}
.cc-receipt-actions a{color:#d2600f;text-decoration:none}
.cc-receipt-actions a:hover{text-decoration:underline}
.cc-receipt-actions button{border:0;background:none;color:#98a2ab;font-size:11.5px;cursor:pointer;padding:2px}
.cc-receipt-actions button:hover{color:#b42318}
.cc-receipt-note{margin:8px 0 0}
.cc-pay-receipt-line{margin:6px 0 0;font-size:12px;color:#4a5559}
.cc-pay-receipt-line a{color:#d2600f}
@media (max-width:760px){
  .cc-receipt-head{flex-direction:column;align-items:flex-start;gap:2px}
  .cc-receipt-file{align-items:flex-start;flex-wrap:wrap}
  .cc-receipt-actions{width:100%;justify-content:flex-end}
}
/* ===== 月度对账单（1.30.0）===== */
.cc-statement{display:flex;flex-direction:column;gap:14px}
.cc-st-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.cc-st-head h3{margin:0 0 6px;font-size:16px}
.cc-st-head p{margin:0;font-size:12px;color:#7c858b}
.cc-st-picker{display:flex;align-items:center;gap:8px}
.cc-st-picker label{display:flex;align-items:center;gap:8px;font-size:12px;color:#7c858b}
.cc-st-picker input{height:32px;border:1px solid #e6e9ec;border-radius:8px;padding:0 10px;font-size:12px}
.cc-st-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.cc-st-kpis>div{border:1px solid #e8ebee;border-radius:10px;padding:12px 14px;background:#fff}
.cc-st-kpis span{display:block;font-size:11.5px;color:#7c858b;margin-bottom:6px}
.cc-st-kpis b{font-size:17px;font-weight:700;font-variant-numeric:tabular-nums}
.cc-st-kpis .is-main{background:#fff7ef;border-color:#eba05e}
.cc-st-kpis .is-main b{color:#b15e1e}
.cc-st-table{overflow-x:auto;border:1px solid #e8ebee;border-radius:10px;background:#fff}
.cc-st-table table{width:100%;border-collapse:collapse;font-size:12.5px}
.cc-st-table th{text-align:left;padding:10px 14px;background:#fafbfc;border-bottom:1px solid #e8ebee;font-weight:600;color:#4a555b;white-space:nowrap}
.cc-st-table td{padding:10px 14px;border-bottom:1px solid #f0f2f4;vertical-align:top}
.cc-st-table td.is-credit{color:#36735e;font-weight:600}
.cc-st-empty,.cc-st-loading{padding:26px;text-align:center;color:#a0a7ad;font-size:12.5px}
.cc-st-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.cc-st-foot .note{margin:0;font-size:12px;color:#7c858b}
.cc-st-actions{display:flex;gap:8px}
@media(max-width:900px){.cc-st-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

.cc-orders{margin-top:14px;padding-bottom:64px}
.cc-order-card .cc-order-body{display:block;min-height:0}
.cc-order-card .cc-order-products{padding:6px 20px 2px}
.cc-order-card .cc-order-products[data-cc-lines]:not(.is-open) .cc-order-product:nth-child(n+6){display:none}
.cc-order-card .cc-order-products.is-open{max-height:520px;overflow-y:auto;scrollbar-width:thin}
.cc-order-card .cc-order-product{display:flex;align-items:center;gap:10px;padding:5px 0;margin:0;min-width:0;border-top:1px dashed #f0f2f4}
.cc-order-card .cc-order-product:first-child{border-top:0}
.cc-order-card .cc-product-image{width:32px;height:32px;flex:0 0 32px;min-width:0;border-radius:2px}
.cc-order-card .cc-product-image img{width:100%;height:100%;padding:2px}
.cc-order-card .cc-product-main{flex:1;min-width:0}
.cc-order-card .cc-product-name{display:block;width:100%;padding:0;font-size:12.5px;line-height:1.55;color:#3d444b;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-order-card .cc-product-main small{display:block;margin-top:1px;font-size:10.5px;line-height:1.5;color:#a4a9af;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.cc-order-card .cc-product-price{flex:none;width:86px;text-align:right;font-size:12.5px;color:#4a5058}
.cc-order-card .cc-product-quantity{position:static;flex:none;width:52px;text-align:right;font-size:11px;color:#8a8f95;font-weight:400}
.cc-order-more{display:flex;align-items:center;gap:12px;margin:6px 20px 12px;padding:9px 12px;background:#fffaf4;border:1px solid #f4e3ce;border-radius:2px;font-size:11px;color:#a58462}
.cc-order-more>span{flex:1;min-width:0}
.cc-order-more b{color:#c8701f;font-weight:500}
.cc-order-more em{font-style:normal;color:#bda184;margin-left:10px}
.cc-order-more button{flex:none;padding:0;font-size:11px;color:#c8701f;font-weight:500;white-space:nowrap}
.cc-order-more button i{display:inline-block;margin-left:4px;font-style:normal;font-size:9px;transition:transform .15s}
.cc-order-more button[aria-expanded=true] i{transform:rotate(180deg)}
.cc-order-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;padding:11px 20px;border-top:1px solid #eceef1;background:#fcfcfd;font-size:11px;color:#8a8f95}
.cc-order-summary b{color:#4a5058;font-weight:500}
.cc-order-summary .cc-sum-amount{color:#9aa0a6}
.cc-order-summary .cc-order-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-left:auto;padding:0;border:0}
.cc-order-summary .cc-order-actions .cc-button{font-size:11px;padding:5px 10px}
.cc-order-summary .cc-sum-total{flex:none;font-size:11px;color:#8a8f95;margin-left:10px}
.cc-order-summary .cc-sum-total b{margin-left:5px;font-size:16px;color:#d9742c;font-weight:500}
.cc-order-state{flex:none}
.hm-mobile .cc-order-card .cc-order-products{padding:4px 14px 0}
.hm-mobile .cc-order-card .cc-order-product{padding:6px 0;margin:0;gap:9px;grid-template-columns:none;display:flex}
.hm-mobile .cc-order-card .cc-product-image{width:34px;height:34px;flex:0 0 34px;min-width:0}
.hm-mobile .cc-order-card .cc-product-name{font-size:12.5px;line-height:1.5}
.hm-mobile .cc-order-card .cc-product-main small{font-size:10px;line-height:1.5}
.hm-mobile .cc-order-card .cc-product-quantity{width:44px;font-size:11px}
.hm-mobile .cc-order-summary{padding:10px 14px;gap:6px 14px;border-radius:0}
.hm-mobile .cc-order-summary .cc-order-actions{margin-left:0;width:100%;justify-content:flex-end}
.hm-mobile .cc-order-summary .cc-sum-total{margin-left:0;width:100%;text-align:left;padding-top:7px;border-top:1px dashed #e8ebee}
.hm-mobile .cc-order-more{display:block;margin:4px 14px 10px;padding:9px 11px}
.hm-mobile .cc-order-more>span{display:block;line-height:1.6}
.hm-mobile .cc-order-more em{display:block;margin:1px 0 0}
.hm-mobile .cc-order-more button{display:block;margin-top:5px;text-align:left}
.hm-mobile .cc-orders{padding-bottom:20px}
.hm-mobile .cc-bulk-bar{position:static;box-shadow:none}
@media(max-width:900px){.cc-order-card .cc-order-products{padding:4px 14px 0}.cc-order-more{margin:4px 14px 10px;flex-wrap:wrap}.cc-order-more em{display:block;margin:2px 0 0}.cc-order-summary{padding:10px 14px;gap:6px 14px}.cc-order-summary .cc-order-actions{margin-left:0;width:100%;justify-content:flex-end}.cc-order-summary .cc-sum-total{margin-left:auto}.cc-order-card .cc-product-price{display:none}}

/* ===== 收货地址表单（省市区级联 / 智能识别 / 邮编邮箱） ===== */
.cc-addr-record{display:block}
.cc-addr-form{display:flex;flex-direction:column;gap:16px;margin:2px 0 4px}
.cc-addr-row{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;align-items:start}
.cc-addr-row.is-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.cc-addr-field{display:grid;grid-template-columns:96px minmax(0,1fr);gap:6px;align-items:center;font-size:13px;color:#333;min-width:0}
.cc-addr-field>span{white-space:nowrap}
.cc-addr-label{font-size:13px;color:#333;line-height:20px;padding-top:10px;white-space:nowrap}
.cc-addr-label i,.cc-addr-field i{font-style:normal;color:#e5484d;margin-right:2px}
.cc-addr-form input:not([type=checkbox]),.cc-addr-form select,.cc-addr-form textarea{width:100%;min-width:0;border:1px solid #dcdcdc;border-radius:3px;background:#fff;padding:9px 10px;font-size:13px;line-height:1.5;color:#333}
.cc-addr-form textarea{resize:vertical;min-height:60px}
.cc-addr-form select{height:38px;padding:0 8px}
.cc-addr-form input:focus,.cc-addr-form select:focus,.cc-addr-form textarea:focus{border-color:#f47721;outline:0;box-shadow:0 0 0 2px #f4772114}
.cc-addr-region{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cc-addr-smart{position:relative}
.cc-addr-smart textarea{min-height:92px;padding-bottom:46px}
.cc-addr-smart-actions{position:absolute;right:8px;bottom:8px;display:flex;gap:8px}
.cc-addr-smart-actions button{padding:6px 16px;font-size:12px;border-radius:3px;line-height:1.4}
.cc-addr-default{display:flex;align-items:center;gap:12px;font-size:13px;color:#333}
.cc-addr-default>span{min-width:96px}
.cc-addr-default label{display:flex;align-items:center;gap:6px;cursor:pointer}
.cc-addr-default input{width:16px;height:16px;accent-color:#f47721}
.cc-addr-record .mg-form-actions{margin-top:4px;padding-top:14px;border-top:1px solid #eee}
@media(max-width:600px){
 .cc-addr-row,.cc-addr-row.is-two{grid-template-columns:1fr;gap:6px}
 .cc-addr-label{padding-top:0}
 .cc-addr-field{grid-template-columns:72px minmax(0,1fr)}
 .cc-addr-default>span{min-width:0}
}

/* ===== 我的售后：商品明细选择 ===== */
.cc-as-lines{border:1px solid #ececec;background:#fbfbfb;padding:12px 14px;margin:4px 0 14px}
.cc-as-lines-head{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#999;margin-bottom:8px}
.cc-as-lines-head b{font-size:13px;color:#333;font-weight:600}
.cc-as-line{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #f0f0f0;font-size:13px}
.cc-as-line:first-of-type{border-top:0}
.cc-as-line input[type=checkbox]{width:16px;height:16px;accent-color:#ef7523;flex:none}
.cc-as-line-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.cc-as-line-main b{font-weight:500;color:#333;overflow-wrap:anywhere}
.cc-as-line-main small{font-size:11px;color:#999}
.cc-as-line-side{flex:none;display:flex;align-items:center;gap:6px;font-size:11px;color:#999;white-space:nowrap}
.cc-as-line-side input{width:64px;border:1px solid #ddd;border-radius:3px;padding:4px 6px;font-size:12px}
.cc-as-empty{font-size:12px;color:#999;margin:8px 0}
@media(max-width:600px){.cc-as-line{align-items:flex-start;flex-wrap:wrap}.cc-as-line-side{width:100%;justify-content:space-between;padding-left:26px}}

/* 销售合同版式（打印 / 另存 PDF） */
.contract-sheet{color:#202426}
.contract-top{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:14px;margin-bottom:18px;border-bottom:2px solid #202426}
.contract-brand{display:flex;align-items:center;gap:14px;min-width:0}
.contract-brand img{height:36px;width:auto;display:block}
.contract-brand h1{margin:0;font-size:25px;font-weight:600;letter-spacing:6px;white-space:nowrap}
.contract-meta{min-width:250px;font-size:12px}
.contract-meta>div{display:flex;gap:10px;margin-bottom:7px}
.contract-meta>div:last-child{margin-bottom:0}
.contract-meta span{flex:none;min-width:56px;color:#8a97a3}
.contract-meta b{font-weight:500;color:#202426}
.contract-blank{letter-spacing:1px;font-weight:400;color:#5f6b76}
.contract-parties{display:grid;grid-template-columns:1fr 1fr;gap:14px 48px;margin-bottom:22px}
.contract-parties>div{display:flex;flex-direction:column;gap:7px}
.contract-parties>div>div{display:flex;gap:10px;font-size:13px;align-items:baseline}
.contract-parties span{flex:none;min-width:76px;color:#8a97a3;font-size:12px}
.contract-parties b{font-weight:500;color:#202426}
@media(max-width:760px){
  .contract-top{flex-direction:column;gap:12px}
  .contract-meta{min-width:0;width:100%}
  .contract-parties{grid-template-columns:1fr;gap:14px}
}
@media print{
  .contract-sheet{page-break-after:always}
  .contract-top{border-bottom-color:#202426}
  .contract-brand h1{font-size:24px}
  .contract-parties b,.contract-meta b{color:#000}
}

/* 合同商品说明区 */
.contract-notes{margin-top:14px;font-size:12px;color:#5f6b76;line-height:1.9}
.contract-notes p{margin:0}
.contract-sheet .mg-order-total{text-align:right;font-size:13px;color:#3f4c55;margin:14px 0 0;padding-top:12px;border-top:1px solid #eef1f3}
.contract-sheet .mg-order-total strong{color:#ef7523;font-size:15px}

/* 合同打印：A4 版心内收敛列宽，避免表格溢出 */
@media print{
  @page{margin:12mm}
  #detail:has(#cc-print-content){padding:0}
  .contract-sheet .commerce-goods-head,.contract-sheet .commerce-goods-row{grid-template-columns:minmax(0,2.5fr) 88px 74px 86px minmax(0,1.1fr);gap:8px;padding:8px 2px}
  .contract-sheet .commerce-goods-head{font-size:10px}
  .contract-sheet .commerce-goods-head>span{white-space:nowrap}
  .contract-sheet .commerce-goods-row{font-size:10.5px}
  .contract-sheet .commerce-goods-note b{display:none}
  .contract-brand img{height:30px}
  .contract-brand h1{font-size:21px;letter-spacing:4px}
}

@media print{
  /* 合同只保留 4 列：商品 / 单价 / 数量 / 含税小计，需求描述不打印 */
  .contract-sheet .commerce-goods-head,.contract-sheet .commerce-goods-row{grid-template-columns:minmax(0,2.3fr) 84px 66px 82px;gap:8px;padding:8px 0;width:100%;box-sizing:border-box}
  .contract-sheet .commerce-goods-head>span:last-child{display:none}
  .contract-sheet .commerce-goods-note{display:none}
  .contract-sheet .commerce-goods-head>span:nth-child(4){text-align:right}
  .contract-sheet .commerce-goods-unit b{font-size:10px}
  .contract-sheet .commerce-goods-unit small{font-size:8.5px}
  .contract-sheet .commerce-goods-row>strong{font-size:10.5px;text-align:right}
}

@media print{
  /* 用百分比列宽，随纸张宽度自适应，避免固定像素在 A4 上溢出 */
  .contract-sheet .commerce-goods-head,.contract-sheet .commerce-goods-row{grid-template-columns:minmax(0,1fr) 21% 15% 19%;gap:6px}
  .contract-sheet .commerce-goods-head>span{font-size:9.5px}
  .contract-sheet .commerce-goods-row{font-size:10px}
  .contract-sheet .commerce-goods-row>strong,.contract-sheet .commerce-goods-unit b{white-space:nowrap}
}

@media print{
  /* 打印合同/单据时，只保留弹窗内容，隐藏后台与前台外壳 */
  body:has(#cc-print-content)>*:not(#detail){display:none!important}
  body:has(#cc-print-content)>#detail{display:block!important;margin:0;border:0;box-shadow:none}
}

/* 合同商品表（屏幕 + 打印统一用真实表格） */
.contract-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:6px}
.contract-table th{padding:8px 6px;text-align:left;font-size:11px;font-weight:500;color:#8a97a3;background:#fafbfc;border-top:1px solid #e6eaed;border-bottom:1px solid #e6eaed}
.contract-table td{padding:12px 6px;vertical-align:top;border-bottom:1px solid #f0f3f5;color:#3f4c55}
.contract-table .num{text-align:right;white-space:nowrap}
.contract-table .strong{font-weight:600;color:#202426}
.contract-table td b{display:block;font-weight:500;color:#202426;line-height:1.5}
.contract-table td small{display:block;margin-top:3px;font-size:10.5px;color:#8a97a3}
.contract-sheet .mg-order-total{margin-top:10px;border-top:0}
@media print{
  .contract-parties{grid-template-columns:1fr 1fr!important}
  .contract-table{font-size:10px}
  .contract-table th,.contract-table td{padding:6px 4px}
  .contract-table td small{font-size:8.5px}
}

/* 工程订单：项目费用明细 */
.cc-cost-lines{margin:10px 0 0;padding:10px 12px;border:1px dashed #f0dccb;border-radius:8px;background:#fffaf5}
.cc-cost-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#b3652a;font-weight:600;margin-bottom:6px}
.cc-cost-head em{font-style:normal;font-weight:400;font-size:11px;color:#c99a72}
.cc-cost-line{display:flex;justify-content:space-between;gap:12px;font-size:12.5px;color:#5c6670;padding:3px 0}
.cc-cost-line b{font-weight:600;color:#20262b}

/* 公对公转账收款账号 */
.cc-pay-bank{margin:10px 0 2px;padding:12px 14px;border:1px solid #f1e3d8;border-radius:10px;background:#fffaf5}
.cc-pay-bank-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.cc-pay-bank-head b{font-size:13px;color:#8a4a1f}
.cc-pay-bank-head .text-button{font-size:12px;color:#c2570f;border:0;background:none;cursor:pointer;padding:0}
.cc-pay-bank dl{margin:0;display:grid;gap:4px}
.cc-pay-bank dl>div{display:flex;gap:10px;font-size:12.5px;line-height:1.7}
.cc-pay-bank dt{flex:none;width:64px;color:#9aa6b1}
.cc-pay-bank dd{margin:0;color:#20262b}
.cc-pay-bank-acct{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:600;letter-spacing:.5px}
.cc-pay-bank-tip{margin:6px 0 0;font-size:11.5px;color:#a3abb2}

/* 微信扫码支付 */
.cc-wx-pay{margin:10px 0 2px;padding:14px;border:1px solid #e6efe9;border-radius:12px;background:#f7fcf9;text-align:center}
.cc-wx-pay-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px}
.cc-wx-pay-head b{font-size:13px;color:#1f6b45}
.cc-wx-pay-head small{font-size:12px;color:#6f7c86}
.cc-wx-pay-head em{font-style:normal;font-weight:700;color:#c2570f;font-size:15px}
.cc-wx-qr-box{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:180px;padding:10px;background:#fff;border:1px dashed #d8e6dc;border-radius:10px}
.cc-wx-qr-box img{width:180px;height:180px;image-rendering:pixelated}
.cc-wx-qr-tip{font-size:12px;color:#8b98a3}
.cc-wx-start{margin-top:10px;width:100%}
.cc-wx-note{margin:8px 0 0;font-size:11.5px;color:#9aa6b1}

/* 订单取消 */
.cc-button-danger{color:#b42318;border-color:#f3c7c2}
.cc-button-danger:hover{background:#fff5f4}
.cc-cancel-order p{margin:0 0 8px;font-size:14px;color:#20262b}
