.ss-staff-surface>.utility,.ss-staff-surface>.masthead,.ss-staff-surface>.nav,.ss-staff-surface>.footer,.ss-staff-surface>#mobile-header,.ss-staff-surface>#mobile-navigation,.ss-staff-surface>#ce-custom-header{display:none!important}.ss-staff-surface{background:#f4f6f9}.ss-staff-header{height:86px;background:#fff;border-bottom:1px solid #e6e8ed;display:flex;justify-content:space-between;align-items:center;padding:0 max(30px,calc((100vw - 1240px)/2));gap:25px}.ss-staff-brand{display:flex;align-items:center;gap:22px;text-decoration:none;color:#273244;font-weight:600}.ss-staff-brand img{width:155px;height:56px;object-fit:contain}.ss-staff-brand span{border-left:1px solid #dfe3e9;padding-left:22px}.ss-staff-header>div{display:flex;gap:25px;font-size:13px;align-items:center}.ss-staff-header a{color:inherit;text-decoration:none}.ss-staff-header[hidden]{display:none}.ss-login{display:grid;grid-template-columns:1fr 440px;max-width:1080px;min-height:550px;margin:50px auto 70px;border:1px solid #e1e5eb;box-shadow:0 18px 55px #20334d0a;border-radius:15px;overflow:hidden;background:white}.ss-login-intro{padding:65px 55px;background:linear-gradient(140deg,#fff2e6,#fafbfe)}.ss-login-intro>span{font-size:11px;letter-spacing:2px;font-weight:700;color:#ba601d}.ss-login-intro h1{font-size:39px;line-height:1.4;color:#253043;margin:25px 0}.ss-login-intro p{line-height:1.9;color:#697587}.ss-login-features{display:grid;gap:15px;margin-top:45px;color:#4d5a6d;font-size:13px}.ss-login-features span:before{content:'✓';color:#e57e2a;margin-right:12px}.ss-login-card{padding:58px 40px}.ss-login-label{font-size:12px;color:#959daa}.ss-login-card h2{font-size:23px;margin:12px 0 30px;color:#233044}.ss-login-card .mg-field{margin-bottom:18px}.ss-login-card .auth-password{display:flex;border:1px solid #dce0e6;border-radius:5px;align-items:center}.ss-login-card .auth-password input{border:0;min-width:0}.ss-login-card .auth-password button{padding:10px;font-size:12px;color:#7b8593;white-space:nowrap}.ss-login-submit{width:100%;padding:13px}.ss-owner-login{border-top:1px solid #eceef2;margin-top:22px;padding-top:16px;display:grid;gap:10px;font-size:12px;color:#87919e}.ss-owner-login button{padding:11px}.ss-login-help{font-size:12px;line-height:1.8;color:#8c95a1;margin-top:20px}.ss-member-link{font-size:12px;color:#d36d22;text-decoration:none}.ss-scope-note,.ss-assignment-note{background:#fff5ec;padding:15px;border-radius:6px;line-height:1.8;font-size:13px;color:#7b572e}.ss-scope-banner{display:flex;justify-content:space-between;gap:15px;align-items:center;border:1px solid #f1dbca;background:#fffbf5;padding:14px 20px;margin-bottom:18px;border-radius:7px;color:#8e6239}.ss-scope-banner span{font-size:12px}.hm-mobile.ss-staff-surface{padding-top:0!important;padding-bottom:20px!important}.ss-staff-surface .management-shell{margin-top:25px}.ss-staff-surface .m-page-heading{display:none}
@media(max-width:760px){.ss-staff-header{height:70px;padding:0 16px}.ss-staff-brand{gap:12px}.ss-staff-brand img{width:100px;height:42px}.ss-staff-brand span{padding-left:12px;font-size:12px}.ss-staff-header>div{font-size:11px;gap:10px}.ss-staff-header>div>span{display:none}.ss-login{display:block;margin:22px auto;max-width:500px;min-height:0;border-radius:10px}.ss-login-intro{padding:26px}.ss-login-intro h1{font-size:27px;margin:15px 0}.ss-login-intro p{font-size:13px}.ss-login-features{display:none}.ss-login-card{padding:28px}.ss-scope-banner{display:block}.ss-scope-banner span{display:block;line-height:1.8;margin-top:7px}.ss-staff-surface .management-shell{margin-top:12px}}

.ss-order-workspace{min-width:0}.ss-order-workspace .od-admin-breadcrumb{margin:0 0 20px}.ss-order-workspace .od-heading{margin-top:18px}.ss-order-workspace .od-heading h1,.ss-order-workspace .od-heading>div>span{display:none}.ss-staff-surface .management-main{min-width:0}.ss-staff-surface .management-top{flex-wrap:wrap}.ss-staff-surface .lg-breadcrumb{margin-top:0}.ss-order-workspace .lg-page-title h1{font-size:24px}

@media(min-width:1450px){body.ss-staff-surface #app{max-width:1440px}}
body.ss-staff-surface #detail:has(.ow-form){width:calc(100% - 56px);max-width:1440px;font-size:14px}body.ss-staff-surface #detail:has(.ow-form) .mg-field{font-size:13px}body.ss-staff-surface #detail:has(.ow-form) input,body.ss-staff-surface #detail:has(.ow-form) select,body.ss-staff-surface #detail:has(.ow-form) textarea{font-size:13px}@media(max-width:700px){body.ss-staff-surface #detail:has(.ow-form){width:100%;max-width:100%;font-size:14px}body.ss-staff-surface #detail:has(.ow-form) input,body.ss-staff-surface #detail:has(.ow-form) select,body.ss-staff-surface #detail:has(.ow-form) textarea{font-size:16px}}

/* 企业 / 会员 / 商品 批量选择与批量操作 */
.management-table th.ss-bulk-cell,.management-table td.ss-bulk-cell{width:48px;padding:0 0 0 18px;text-align:left;vertical-align:middle}
.ss-bulk-check{display:inline-flex;align-items:center;justify-content:center;line-height:0}
.management-table .ss-bulk-box{-webkit-appearance:none;appearance:none;box-sizing:border-box;display:block;width:18px;height:18px;margin:0;border:1.5px solid #c9d1db;border-radius:5px;background:#fff;cursor:pointer;flex:0 0 auto;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}
.management-table .ss-bulk-box:hover{border-color:#f47721;box-shadow:0 0 0 3px #f477211f}
.management-table .ss-bulk-box:checked,.management-table .ss-bulk-box:indeterminate{border-color:#f47721;background-color:#f47721}
.management-table .ss-bulk-box:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 6.4 4.8 8.8 9.7 3.6' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:13px 13px}
.management-table .ss-bulk-box:indeterminate{background-image:linear-gradient(#fff,#fff);background-repeat:no-repeat;background-position:center;background-size:9px 2px}
.management-table .ss-bulk-box:focus-visible{outline:2px solid #f47721;outline-offset:2px}
.management-table .ss-bulk-box:disabled{cursor:not-allowed;opacity:.5}
.ss-bulk-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px;padding:10px 14px;border:1px solid #ffdcc0;background:#fff7f0;border-radius:8px;font-size:13px;color:#8a5a2b}
.ss-bulk-bar[hidden]{display:none!important}
.ss-bulk-count b{font-size:15px;color:#d2611a;margin:0 2px}
.ss-bulk-bar button{min-height:32px;padding:6px 14px;font-size:13px;margin:0}
.ss-bulk-bar .ss-bulk-note{margin-left:auto;font-size:12px;color:#9a7a5e;line-height:1.5}
@media(max-width:760px){.hm-mobile .management-table .ss-bulk-box{width:20px;height:20px;border-radius:6px}.hm-mobile .management-table .ss-bulk-box:checked{background-size:14px 14px}.hm-mobile .management-table .ss-bulk-box:indeterminate{background-size:10px 2px}.ss-bulk-bar{gap:10px;padding:10px 12px}.ss-bulk-bar .ss-bulk-note{margin-left:0}.management-table th.ss-bulk-cell,.management-table td.ss-bulk-cell{padding-left:12px;width:42px}}

/* 企业授信 / 开票信息表单 */
.ss-company-block{border:1px solid #eceef2;border-radius:6px;padding:14px 16px 6px;margin:0 0 16px}
.ss-company-block legend{padding:0 8px;font-size:13px;font-weight:600;color:#334}
.ss-company-block .mg-form-grid{margin-top:12px}
.ss-company-block .consent{margin:4px 0 10px}
.ss-muted{color:#aab0b8;font-size:12px}
/* 支付设置 */
.pay-fieldset{border:1px solid #eceef2;border-radius:6px;padding:16px 18px;margin:0 0 18px}
.pay-fieldset legend{padding:0 8px;font-weight:600;color:#334;font-size:13px}
.pay-fieldset .consent{margin:0 0 12px}
.pay-fieldset textarea{width:100%;font-family:ui-monospace,Menlo,monospace;font-size:12px}
.pay-note{margin:0 0 16px;font-size:12px;color:#8a929b;line-height:1.8;background:#fafbfc;border:1px solid #eef1f4;padding:10px 14px}
.pay-status{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:10px;background:#f1f3f5;color:#8a929b;font-size:11px}
.pay-status.is-on{background:#eaf7ee;color:#2f8f4e}
.pay-summary{font-size:12px;color:#6b7683}

/* 发票台账表格：金额、状态、时间、操作不换行 */
.iv-ledger-table td b,.iv-ledger-table td:nth-child(3),.iv-ledger-table td:nth-child(5),.iv-ledger-table td:nth-child(6),.iv-ledger-table th:nth-child(3),.iv-ledger-table th:nth-child(5),.iv-ledger-table th:nth-child(6){white-space:nowrap}
.iv-ledger-table td small{display:block;margin-top:3px;font-size:10px;color:#9aa4ab;line-height:1.5}
.iv-ledger-table td:last-child{white-space:nowrap}
.iv-ledger-table td:last-child button{margin:0 6px 4px 0}
.iv-ledger-table td:last-child button:last-child{margin-right:0}

/* 开票对接设置：长表单底部操作条固定在弹窗底部 */
#detail:has(#iv-settings-form) .mg-form-actions{position:sticky;bottom:0;background:#fff;padding:14px 0 4px;margin:6px 0 0;box-shadow:0 -10px 14px -10px #00000024;z-index:3}

/* ===== 负责人多选（1.22.0） ===== */
.ss-assign{border:1px solid #eceef2;border-radius:6px;padding:12px 16px 4px;margin:0 0 16px}
.ss-assign legend{padding:0 8px;font-size:13px;font-weight:600;color:#334}
.ss-assign-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:10px}
.ss-assign-label{display:block;font-size:12px;color:#4c5960;font-weight:600}
.ss-assign-label i{font-style:normal;font-weight:400;color:#a4adb3;font-size:11px;margin-left:4px}
.ss-assign .note{margin:10px 0 12px}
@media (max-width:760px){.ss-assign-cols{grid-template-columns:1fr}}

/* 开票失败原因 */
.iv-ledger-table .iv-fail{color:#c0392b!important;line-height:1.5}
.iv-fail-note{margin:0 0 12px;padding:8px 10px;background:#fdf1ef;border:1px solid #f3cfc9;border-radius:6px;font-size:12px;color:#a33;line-height:1.6}
.strong{font-weight:600;color:#2f3a44}
/* 管理员表单：功能权限按业务分组，标题占满两列 */
.ss-perm-title{grid-column:1/-1;margin:4px 0 -4px;padding-bottom:5px;border-bottom:1px solid #eef1f3;font-size:12px;font-weight:700;color:#3d4a53}
.ss-perm-title:first-of-type{margin-top:0}

/* 批量操作：删除按钮用危险色，和上架开关区分 */
.ss-bulk-bar .ss-danger{border-color:#e9c2bb;color:#b42318;background:#fff}
.ss-bulk-bar .ss-danger:hover{background:#fdeceb;border-color:#dda79e}

/* 客户团队：五类角色检索选定 */
.ss-team-rows{display:flex;flex-direction:column;gap:10px;margin-top:4px}
.ss-team-row{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;align-items:start}
.ss-team-label{font-size:12.5px;color:#3f4c55;font-weight:500;padding-top:9px}
.ss-team-label em{display:block;margin-top:2px;font-style:normal;font-size:11px;font-weight:400;color:#9aa6b1}
.ss-team-field{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:42px;padding:6px 9px;border:1px solid #e6eaed;border-radius:8px;background:#fff}
.ss-team-field:focus-within{border-color:#f2c9a4;box-shadow:0 0 0 3px #ef752314}
.ss-team-chips{display:contents}
.ss-team-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 6px 3px 9px;border-radius:14px;background:#fff2e6;color:#c2570f;font-size:12px;line-height:1.4}
.ss-team-chip button{border:0;background:none;color:#c2570f;font-size:13px;line-height:1;padding:0 2px;cursor:pointer}
.ss-team-search{flex:1;min-width:130px;border:0;outline:0;background:transparent;font-size:12.5px;padding:4px 2px}
.ss-team-menu{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:40;max-height:220px;overflow:auto;padding:4px;background:#fff;border:1px solid #e6eaed;border-radius:8px;box-shadow:0 10px 26px #2024261f}
.ss-team-menu button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:8px 10px;border:0;border-radius:6px;background:none;text-align:left;cursor:pointer}
.ss-team-menu button:hover{background:#fff7f0}
.ss-team-menu b{font-size:12.5px;font-weight:500;color:#202426}
.ss-team-menu small{font-size:11px;color:#8a97a3}
.ss-team-empty{margin:0;padding:10px;font-size:12px;color:#8a97a3}
@media(max-width:640px){.ss-team-row{grid-template-columns:1fr;gap:6px}.ss-team-label{padding-top:0}}

/* 后台顶栏右侧：返回商城 / 管理员 / 退出 */
.ss-staff-header>.ss-staff-actions{display:flex;align-items:center;gap:9px}
.ss-staff-store{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 13px;border:1px solid #e6e8ed;border-radius:18px;background:#fff;font-size:12.5px;color:#4a5862;cursor:pointer;transition:border-color .18s,color .18s,background .18s}
.ss-staff-store:hover{border-color:#f0b384;color:#d8671b;background:#fff8f2}
.ss-staff-store i{font-style:normal;font-size:12px;opacity:.7}
.ss-staff-account{display:inline-flex;align-items:center;gap:9px;height:34px;padding:0 13px 0 4px;border:1px solid #e6e8ed;border-radius:18px;background:#fff;cursor:pointer;transition:border-color .18s,background .18s}
.ss-staff-account:hover{border-color:#ffd9bf;background:#fffdfa}
.ss-staff-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}
.ss-staff-meta{display:flex;flex-direction:column;line-height:1.2;align-items:flex-start;min-width:0}
.ss-staff-meta b{font-size:12.5px;font-weight:600;color:#202426;white-space:nowrap}
.ss-staff-meta small{font-size:10.5px;color:#9aa6b1;white-space:nowrap}
.ss-staff-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}
.ss-staff-logout:hover{background:#fdeceb;border-color:#e5b8b0}

/* 当前管理员信息卡 */
.ss-account-card{display:flex;flex-direction:column;gap:14px}
.ss-account-head{display:flex;align-items:center;gap:12px}
.ss-account-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff2e6;color:#c2570f;font-size:16px;font-weight:600}
.ss-account-head b{display:block;font-size:15px;color:#202426}
.ss-account-head small{display:block;margin-top:2px;font-size:12px;color:#8a97a3}
.ss-account-list{display:grid;grid-template-columns:134px minmax(0,1fr);gap:8px 12px;margin:0;font-size:12.5px}
.ss-account-list dt{color:#8a97a3;white-space:nowrap}
.ss-account-list dd{margin:0;color:#2f3a44}
@media(max-width:900px){
  .ss-staff-meta{display:none}
  .ss-staff-store span{display:none}
  .ss-staff-store{padding:0 10px}
  .ss-staff-account{padding:0 4px}
}
