.business-management-page{min-width:0}
.customer-log-links{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.customer-log-links>.btn{flex:1;min-height:44px;justify-content:center}
.business-management-page .business-load-status{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.customer-scope-summary{display:flex;align-items:flex-start;gap:9px;margin:0 0 16px;color:#5a6880;font-size:12px;line-height:1.7}
.customer-scope-summary>svg{width:17px;height:17px;margin-top:2px;flex:none;color:#7764b8}
.business-page-rules{margin:0 0 16px;border:1px solid #e2e6f2;border-radius:14px;background:#fafbff;color:#506079}
.business-page-rules>summary{list-style:none;cursor:pointer;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:9px 15px;min-height:44px;font-size:12px}
.business-page-rules>summary::-webkit-details-marker{display:none}
.business-page-rules>summary:focus-visible{outline:3px solid #9987f766;outline-offset:2px;border-radius:14px}
.business-rules-title{display:inline-flex;align-items:center;gap:7px;font-weight:600}
.business-rules-title svg,.business-page-rules>summary>svg{width:15px;height:15px;color:#806ab5}
.business-page-rules>summary>svg{margin-left:auto;flex:none;transform:rotate(90deg)}
.business-page-rules[open]>summary>svg{transform:rotate(-90deg)}
.card-rules-impact{color:#8a601d;background:#fff4d9;border-radius:20px;font-size:11px;line-height:1.5;padding:3px 8px}
.business-rules-content{border-top:1px solid #e7eaf2;padding:12px 15px;font-size:12px;line-height:1.7}
.business-rules-content p+p{margin-top:6px}
.business-rules-content .card-rules-warning{color:#75581d}
.console-frame .customer-info-action,.console-frame .card-management-page .card-batch-download{border-color:#dcd5f6;background:#f6f3ff;color:#614bad}
.console-frame .customer-info-action:hover,.console-frame .card-management-page .card-batch-download:hover{background:#eee8ff;border-color:#c8b9ef}
.console-frame .customer-row-actions .customer-group-action{color:#64738a}
.console-frame .customer-management-page .customer-row-actions{flex-wrap:wrap;max-width:390px;gap:6px}
.console-frame .customer-row-actions .customer-password-action{color:#614bad}
.console-frame .card-management-page .card-visibility-action.danger{color:#a54658;border-color:transparent;background:transparent}
.console-frame .card-management-page .card-visibility-action.danger:hover{background:#fff1f3;border-color:#f3d8df}
@media(max-width:760px){
  .business-management-page .page-heading{flex-wrap:wrap}
  .console-frame .business-management-page .heading-actions{width:100%;justify-content:flex-end}
  .console-frame .business-management-page .heading-actions>.btn.primary{flex:1}
  .console-frame .customer-management-table .customer-list-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:14px}
  .console-frame .customer-management-table .customer-list-toolbar .field{max-width:none}
  .console-frame .customer-management-table .customer-list-toolbar .btn{min-height:46px}
  .console-frame .customer-management-page .customer-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px}
  .console-frame .customer-management-page .customer-row-actions .btn,.console-frame .card-management-page .card-row-actions .btn{min-width:44px;min-height:44px;padding:9px 12px;font-size:13px}
  .console-frame .card-management-page .card-row-actions{justify-content:flex-start}
}
.customer-note-cell{max-width:210px;display:grid;gap:5px}
.customer-note-cell>span{white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;color:#67718b}
.customer-note-cell>.btn{justify-self:start}
.customer-number{font-size:13px;font-weight:600;color:#44516e;user-select:all}
.customer-management-table td[data-label="最后登录"]{min-width:128px}
.customer-profile-dialog{width:min(700px,calc(100vw - 32px))}
.customer-upgrade-dialog{width:min(510px,calc(100vw - 32px))}
.customer-profile-dialog[open],.customer-upgrade-dialog[open]{max-height:calc(100dvh - 32px);display:flex;flex-direction:column}
.customer-profile-dialog .dialog-head,.customer-upgrade-dialog .dialog-head{flex:none}
.customer-profile-dialog .dialog-body,.customer-upgrade-dialog .dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.customer-profile-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.customer-profile-toolbar .hint{margin:0;font-size:12px}
.customer-profile-toolbar .btn{flex:none}
.customer-profile-content{display:grid;gap:18px;min-width:0}
.customer-profile-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.8fr);gap:18px;align-items:center;padding:18px;border:1px solid #e5e1f4;background:#f8f7fe;border-radius:18px}
.customer-profile-identity{display:grid;gap:13px;min-width:0}
.customer-profile-identity .user-cell{min-width:0}
.customer-profile-identity .user-cell>div{min-width:0;overflow-wrap:anywhere}
.customer-profile-tags{display:flex;flex-wrap:wrap;gap:6px}
.customer-profile-quota{display:grid;gap:6px;min-width:0;padding-left:18px;border-left:1px solid #e1dcf1}
.customer-profile-quota>span{font-size:12px;color:#737d96}
.customer-profile-quota>strong{font-size:28px;line-height:1.25;color:#504078;overflow-wrap:anywhere}
.customer-profile-quota>small{font-size:11px;line-height:1.6;color:#7c859c}
.customer-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px;margin:0;padding:0 2px}
.customer-profile-fields>div{display:grid;gap:5px;min-width:0}
.customer-profile-fields dt{font-size:12px;color:#7c859c}
.customer-profile-fields dd{margin:0;font-size:13px;color:#34405b;overflow-wrap:anywhere;line-height:1.6}
.customer-profile-content h3,.customer-upgrade-eligibility h3{margin:0;font-size:13px;font-weight:650;color:#3d4660}
.customer-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.customer-profile-note{padding:12px 15px;border:1px solid #e7e9f2;border-radius:14px;background:#fcfcff}
.customer-profile-note p{margin:8px 0 3px;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:140px;overflow-y:auto}
.customer-profile-service{display:grid;gap:11px;padding-top:2px}
.customer-service-actions{display:flex;flex-wrap:wrap;gap:9px}
.customer-profile-service .customer-log-links{margin:0}
.customer-profile-security{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #e5e5f0;border-radius:14px;background:#fafaff}
.customer-profile-security>svg{flex:none;color:#7863af;width:22px;height:22px}
.customer-profile-security>div{flex:1;min-width:0}
.customer-profile-security p{margin:4px 0 0;font-size:12px;line-height:1.6;color:#7c859c}
.customer-profile-security>.btn{flex:none}
.customer-profile-dialog .dialog-actions,.customer-upgrade-dialog .dialog-actions{padding-top:16px;margin-top:18px;border-top:1px solid #edeef5}
.customer-upgrade-target{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;border:1px solid #e6e2f4;background:#f8f7fe;border-radius:15px}
.customer-upgrade-target .user-cell{min-width:0;overflow-wrap:anywhere}
.customer-upgrade-quota{display:grid;gap:7px;padding:20px 2px}
.customer-upgrade-quota>span{font-size:12px;color:#7c859c}
.customer-upgrade-quota>strong{font-size:30px;line-height:1.3;color:#504078}
.customer-upgrade-quota>small{font-size:11px;color:#7c859c}
.customer-upgrade-eligibility{display:grid;gap:10px;margin-bottom:12px}
.customer-upgrade-eligibility .notice{margin:0}
.customer-upgrade-footnote{font-size:12px;color:#7c859c;line-height:1.7}
@media(max-width:600px){
  .customer-profile-dialog,.customer-upgrade-dialog{width:calc(100vw - 20px)}
  .customer-profile-dialog[open],.customer-upgrade-dialog[open]{max-height:calc(100dvh - 20px)}
  .customer-profile-toolbar{align-items:flex-start;gap:8px}
  .customer-profile-toolbar .hint{max-width:160px;line-height:1.7}
  .customer-profile-overview{grid-template-columns:1fr;padding:15px;gap:15px}
  .customer-profile-quota{padding:13px 0 0;border-left:0;border-top:1px solid #e1dcf1}
  .customer-profile-fields{gap:15px}
  .customer-profile-security{flex-wrap:wrap}
  .customer-profile-security>div{flex-basis:calc(100% - 36px)}
  .customer-profile-security>.btn{width:100%}
  .customer-profile-dialog .btn,.customer-upgrade-dialog .btn,.customer-profile-dialog .customer-log-links>a,.customer-management-table .customer-info-action{min-height:44px}
  .customer-service-actions>.btn{flex:1}
  .customer-profile-dialog .dialog-actions>.btn,.customer-upgrade-dialog .dialog-actions>.btn{flex:1}
  .console-frame .customer-management-page .customer-row-actions{flex-wrap:wrap}
}
.customer-service-dialog{width:min(540px,calc(100vw - 28px));max-height:calc(100dvh - 28px);display:flex;flex-direction:column}
.customer-service-dialog .dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.customer-service-target{display:grid;gap:6px;padding:14px;border-radius:14px;background:#f6f4ff;overflow-wrap:anywhere}
.customer-service-target>span{font-size:12px;color:#737e99}
.customer-service-confirm{display:flex;align-items:flex-start;gap:10px;line-height:1.7;font-size:13px}
.customer-service-confirm input{flex:none;margin-top:5px;width:18px;height:18px}
.customer-password-request-panel{display:grid;gap:12px;padding:14px;border:1px solid #e5dff4;background:#faf9fe;border-radius:14px}
.customer-password-request-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.customer-password-request-panel [hidden]{display:none!important}
.customer-password-request-status{line-height:1.7;overflow-wrap:anywhere}
.customer-service-dialog .customer-password-request-panel textarea{min-height:72px;max-height:24dvh}
.customer-password-request-actions .btn{min-height:44px}
.customer-password-result{display:flex;align-items:center;gap:8px;margin:16px 0;flex-wrap:wrap}
.customer-password-result>.input{flex:1;min-width:130px}
.customer-service-dialog textarea{min-height:150px;resize:vertical;max-height:45dvh}
@media(max-width:600px){.customer-service-dialog .dialog-actions{display:flex;flex-wrap:wrap;position:sticky;bottom:0;background:#fff;padding-top:12px}.customer-service-dialog .dialog-actions>.btn{flex:1;min-height:44px}.customer-note-cell{max-width:100%}}
