.users-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.users-stat { display: flex; flex-direction: row; align-items: center; justify-content: space-between; min-height: 114px; padding: 23px; }
.users-stat-label { color: #8c819a; font-size: 12px; }
.users-stat strong { display: block; margin-top: 10px; color: #3d304f; font-size: 29px; font-weight: 600; line-height: 1; }
.users-stat-symbol { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 13px; background: #efe8fa; color: #9469cb; }
.users-stat-symbol.is-active { background: #e9f5ef; color: #62a68b; }
.users-stat-symbol.is-disabled { background: #f8edf2; color: #ba8199; }
.users-toolbar { gap: 12px; }
.users-toolbar .search-field { max-width: 380px; }
.users-toolbar .ui-select-trigger { max-width: 152px; }
.users-table { min-width: 980px; }
.user-identity { display: flex; min-width: 190px; align-items: center; gap: 12px; }
.user-avatar { position: relative; display: inline-flex; flex: 0 0 42px; width: 42px; height: 42px; align-items: center; justify-content: center; overflow: hidden; border: 1px solid rgba(147, 109, 190, .08); border-radius: 13px; background: #eee6f7; color: #976fc1; font-size: 16px; font-weight: 500; }
.user-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.user-identity strong { display: block; max-width: 170px; overflow: hidden; color: #4b3a5d; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.user-identity small { display: block; max-width: 180px; margin-top: 5px; overflow: hidden; color: #9b8ba8; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.user-contact-number { color: #6d5c80; }
.user-time { color: #96869f; font-size: 11px; }
.user-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 6px; background: #eaf5ef; color: #4c9479; font-size: 11px; white-space: nowrap; }
.user-status::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ""; }
.user-status.is-disabled { background: #f8edf2; color: #b17490; }
.user-row-actions { display: flex; gap: 7px; }
.user-row-actions .btn { min-height: 30px; padding: 5px 9px; font-size: 11px; }
.user-row-actions .user-disable { border-color: #ead5df; color: #ae748e; }
.users-loading { padding: 64px 20px; color: #9a87ab; text-align: center; }
.users-state-error { display: flex; min-height: 180px; padding: 30px; align-items: center; justify-content: center; gap: 18px; flex-direction: column; color: #a27589; text-align: center; }
.user-dialog.admin-dialog { width: min(680px, calc(100vw - 40px)); }
.user-dialog .modal-body { max-height: calc(100dvh - 230px); }
.user-summary { display: flex; min-height: 66px; margin-bottom: 23px; padding-bottom: 23px; align-items: center; gap: 15px; border-bottom: 1px solid #ece4f4; }
.user-summary .user-avatar { flex-basis: 54px; width: 54px; height: 54px; border-radius: 16px; font-size: 20px; }
.user-summary-copy { min-width: 0; flex: 1; }
.user-summary-copy strong { display: block; color: #4a355c; font-size: 16px; font-weight: 600; }
.user-summary-copy span { display: block; margin-top: 5px; color: #9a87a7; font-size: 11px; overflow-wrap: anywhere; }
.user-reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin-top: 24px; padding: 18px; border: 1px solid #eee7f4; border-radius: 12px; background: #faf7fe; }
.user-reference-grid dt { margin-bottom: 7px; color: #a28fae; font-size: 11px; font-weight: 400; }
.user-reference-grid dd { margin: 0; color: #796487; font-size: 11px; overflow-wrap: anywhere; }
.user-profile-hint { color: #9986a7; font-size: 11px; }
.user-edit-fields textarea { min-height: 92px; resize: vertical; }
.user-edit-footer-note { margin-right: auto; color: #a48bb0; font-size: 10px; }
.wechat-config-card { margin-top: 22px; }
.wechat-card-body { display: flex; align-items: center; gap: 16px; }
.wechat-config-symbol { display: flex; flex: 0 0 44px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 13px; background: #eaf5ef; color: #5b9d80; }
.wechat-config-copy { min-width: 0; flex: 1; }
.wechat-config-copy h3 { margin: 0 0 7px; color: #574166; font-size: 15px; font-weight: 600; }
.wechat-config-copy p { margin: 0; color: #9a86aa; font-size: 12px; line-height: 1.7; }
.wechat-dialog.admin-dialog { width: min(590px, calc(100vw - 40px)); }
.wechat-config-intro { display: flex; align-items: center; gap: 14px; margin-bottom: 25px; padding: 17px; border: 1px solid #e7eeea; border-radius: 13px; background: #f1f8f4; }
.wechat-config-intro strong { display: block; color: #53846c; font-size: 13px; font-weight: 500; }
.wechat-config-intro p { margin: 6px 0 0; color: #80a08e; font-size: 11px; line-height: 1.7; }
.wechat-config-status { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 20px; padding: 12px 0; border-top: 1px solid #eee6f5; border-bottom: 1px solid #eee6f5; color: #9a83aa; font-size: 11px; }
.wechat-config-status strong { color: #8763a1; font-weight: 500; }
.wechat-managed-note { margin: 18px 0 0; padding: 13px 15px; border-radius: 10px; background: #f4effa; color: #9379a5; font-size: 12px; line-height: 1.7; }
.wechat-help { display: inline-flex; margin-top: 17px; color: #8d64b2; font-size: 11px; }
.wechat-help:hover { color: #704296; }
@media (max-width: 700px) {
  .users-stat-grid { gap: 10px; margin-bottom: 17px; }
  .users-stat { min-height: 99px; padding: 17px 13px; }
  .users-stat strong { font-size: 25px; }
  .users-stat-symbol { width: 30px; height: 30px; border-radius: 10px; }
  .users-stat-symbol .icon { width: 17px; height: 17px; }
  .users-stat-label { font-size: 10px; }
  .users-toolbar .search-field { min-width: 100%; }
  .users-toolbar .ui-select-trigger { width: 145px; max-width: none; }
  .user-dialog.admin-dialog, .wechat-dialog.admin-dialog { width: calc(100vw - 20px); }
  .user-summary { gap: 12px; }
  .user-reference-grid { gap: 14px; padding: 15px; }
  .user-edit-footer-note { display: none; }
  .wechat-card-body { flex-wrap: wrap; gap: 13px; }
  .wechat-card-body > .btn { margin-left: 57px; }
}
@media (max-width: 360px) {
  .users-stat { padding: 15px 11px; }
  .users-stat-symbol { display: none; }
  .user-reference-grid { grid-template-columns: 1fr; }
}
