.imgo-maintenance { padding: 20px 20px 0; }
.imgo-task-header { display: flex; align-items: center; gap: 16px; }
.imgo-task-form { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 20px; }
.imgo-unit { margin-left: 10px; color: #606266; }
.imgo-task-help { color: #606266; line-height: 1.7; font-size: 14px; }
.imgo-task-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.imgo-task-actions .el-button { margin-left: 0; }
.imgo-task-times { display: grid; grid-template-columns: 100px 1fr; gap: 12px; font-size: 14px; color: #606266; margin-top: 24px; }
.imgo-task-times dd { margin: 0; }
.imgo-task-log { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 400px; overflow: auto; line-height: 1.8; }
/* Replace only the obsolete PHP service card; keep the original notice manager. */
.imgo-management .task.task-item { display: none; }
/* Overview cards and charts, scoped to this route. */
.imgo-overview { padding: 24px; background: #f5f5f5; min-height: 100%; box-sizing: border-box; }
.imgo-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.imgo-stat { position: relative; background: white; border-radius: 12px; border-top: 4px solid var(--stat-color); padding: 18px; overflow: hidden; }
.imgo-stat p { color: #999; margin: 0 0 14px; font-size: 14px; }
.imgo-stat p:last-of-type { margin: 14px 0 0; font-size: 12px; }
.imgo-stat strong { color: var(--stat-color); font-size: 26px; }
.imgo-stat-icon { position: absolute; right: 14px; top: 48px; color: var(--stat-color); background: #f5f8fc; padding: 12px; border-radius: 50%; font-size: 25px; }
.imgo-overview-middle, .imgo-charts { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; margin-bottom: 24px; align-items: start; }
.imgo-overview-middle > .pd-20 { padding: 0; }
.imgo-overview-middle > .pd-20 > .el-row { margin: 0 !important; }
.imgo-overview-middle > .pd-20 > .el-row > .el-col { width: 100%; padding: 0 !important; }
.imgo-overview-middle > .pd-20 > .el-row > .el-col:last-child { display: none; }
.imgo-overview-middle .imgo-maintenance { padding: 0; }
.imgo-overview-middle .imgo-task-form { gap: 24px; }
.imgo-overview-middle .imgo-task-help { font-size: 12px; margin: 8px 0; }
.imgo-overview-middle .imgo-task-times { font-size: 12px; gap: 8px; }
.imgo-chart { background: white; border: 1px solid #e8edf5; border-radius: 5px; overflow: hidden; }
.imgo-chart header { min-height: 64px; padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #edf0f5; box-sizing: border-box; }
.imgo-chart svg { width: 100%; display: block; }
.imgo-chart svg text { fill: #909399; font-size: 11px; }
.imgo-chart-legend { display: flex; justify-content: flex-end; gap: 16px; padding: 18px 25px 0; color: #606266; font-size: 12px; }
.imgo-chart-legend i { display: inline-block; width: 12px; height: 8px; margin-right: 6px; border-radius: 3px; }
.imgo-chart-note, .imgo-overview-footnote { color: #909399; font-size: 12px; line-height: 1.7; padding: 0 20px 12px; }
@media(max-width:1200px) { .imgo-stats { grid-template-columns: repeat(3,minmax(0,1fr)); } .imgo-overview-middle, .imgo-charts { grid-template-columns: minmax(0,1fr); } }
@media(max-width:600px) { .imgo-overview { padding: 12px; } .imgo-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } .imgo-chart header { flex-wrap: wrap; } }

/* The theme is scoped to the management shell; chat and login keep their own UI. */
.imgo-admin { --admin-primary:#4f63e6; --admin-ink:#24314a; --admin-muted:#77839a; --admin-border:#e8edf5; color:var(--admin-ink); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; }
.imgo-admin > .el-container { border:0 !important; }
.imgo-admin > .el-container > .el-header { background:#fff; padding:0 28px; border-bottom:1px solid var(--admin-border) !important; z-index:3; }
.imgo-admin .el-header .logo { display:flex; align-items:center; white-space:nowrap; }
.imgo-admin .el-header .logo .image { width:34px; height:34px; margin-right:8px; }
.imgo-admin .el-header .logo img { width:34px; height:34px; object-fit:contain; border-radius:10px; }
.imgo-admin .el-header .logo .f-20 { font-size:18px; font-weight:650; letter-spacing:-.5px; color:#26314d; }
.imgo-admin .el-header .avatar img { border-radius:50%; }
.imgo-admin .main-aside { background:#fff; border-right:1px solid var(--admin-border); }
.imgo-admin .aside-menu { padding:20px 10px; box-sizing:border-box; }
.imgo-admin .el-menu { background:transparent; }
.imgo-admin .el-menu-item { margin:5px 0; border-radius:10px; height:48px; line-height:48px; color:#657089; font-size:14px; transition:background .16s,color .16s; }
.imgo-admin .el-menu-item i { color:#8b95aa; font-size:19px; }
.imgo-admin .el-menu-item:hover { background:#f5f7fd; color:#4f63e6; }
.imgo-admin .el-menu-item.is-active { background:#edf0ff; color:#4f63e6; font-weight:600; }
.imgo-admin .el-menu-item.is-active i { color:#4f63e6; }
.imgo-admin .el-submenu__title { margin:5px 0; border-radius:10px; height:48px; line-height:48px; color:#657089; font-size:14px; transition:background .16s,color .16s; }
.imgo-admin .el-submenu__title > span > i { color:#8b95aa; font-size:19px; margin-right:5px; }
.imgo-admin .el-submenu__title .el-submenu__icon-arrow { color:#8b95aa; font-size:12px; }
.imgo-admin .el-submenu__title:hover { background:#f5f7fd; color:#4f63e6; }
.imgo-admin .el-menu--collapse .el-submenu__title { padding:0 10px!important; }
.imgo-admin .el-menu--collapse { width:44px; }
.imgo-admin .el-menu--collapse .el-menu-item { padding:0 10px !important; }
.imgo-admin .aside-bottom { color:#8b95aa; border-top:1px solid var(--admin-border); background:#fff; }
.imgo-admin .el-main { background:#f5f7fb !important; }
.imgo-admin .el-card { border:1px solid var(--admin-border); border-radius:14px; box-shadow:0 4px 20px #223e7005; color:var(--admin-ink); }
.imgo-admin .el-card:hover { box-shadow:0 4px 20px #223e7008; }
.imgo-admin .el-card__header { padding:20px 22px; font-weight:600; border-color:var(--admin-border); }
.imgo-admin .el-card__body { padding:22px; }
.imgo-admin .el-button { border-radius:7px; font-weight:500; border-color:#dfe5ef; transition:background .15s,border-color .15s; }
.imgo-admin .el-button:hover,.imgo-admin .el-button:focus { color:#4f63e6; border-color:#c9d0fa; background:#f2f4ff; }
.imgo-admin .el-button--primary { background:#4f63e6; border-color:#4f63e6; color:#fff; }
.imgo-admin .el-button--primary:hover,.imgo-admin .el-button--primary:focus { background:#4354ce; border-color:#4354ce; color:#fff; }
.imgo-admin .el-button--danger { background:#f05b6b; border-color:#f05b6b; color:#fff; }
.imgo-admin .el-button--text { background:transparent; border-color:transparent; color:#4f63e6; }
.imgo-admin .el-button.is-disabled { opacity:.55; cursor:not-allowed; }
.imgo-admin .el-input__inner,.imgo-admin .el-textarea__inner { border-color:#dfe5ef; border-radius:7px; color:#34415a; background:#fff; }
.imgo-admin .el-input__inner:focus,.imgo-admin .el-textarea__inner:focus { border-color:#6377ed; box-shadow:0 0 0 3px #4f63e610; }
.imgo-admin .lz-flex:has(> div > .imgo-member-referral-filter) { flex-wrap:wrap; gap:12px; }
.imgo-admin .imgo-member-referral-filter { display:inline-flex; align-items:center; flex-wrap:wrap; gap:8px; vertical-align:middle; }
.imgo-admin .imgo-member-referral-label { color:#68758c; font-size:13px; white-space:nowrap; }
.imgo-admin .imgo-member-referral-filter .el-select { width:130px; }
.imgo-admin .imgo-member-referral-filter > .el-input { width:220px; }
.imgo-admin .imgo-member-referral-filter .el-select .el-input { width:100%; }
.imgo-admin .imgo-member-referral-filter .el-button { margin-left:0; }
.imgo-admin .el-form-item__label { color:#5e6a81; font-weight:500; }
.imgo-admin .el-input-number__decrease,.imgo-admin .el-input-number__increase { background:#f7f9fd; color:#6c7890; border-color:#e6ebf4; }
.imgo-admin .el-table { border:1px solid var(--admin-border); border-radius:12px; color:#46526a; }
.imgo-admin .el-table th.el-table__cell,.imgo-admin .el-table th { background:#f7f9fc; color:#7c879c; font-weight:600; }
.imgo-admin .el-table td,.imgo-admin .el-table th { padding:14px 0; border-bottom-color:#eff2f7; }
.imgo-admin .el-table--enable-row-hover .el-table__body tr:hover>td { background:#f7f9ff; }
.imgo-admin .imgo-checkin-summary { display:flex; align-items:center; gap:7px; white-space:nowrap; }
.imgo-admin .imgo-checkin-days { font-weight:600; color:#34415a; }
.imgo-admin .imgo-checkin-status { font-size:11px; padding:2px 6px; border-radius:5px; }
.imgo-admin .imgo-checkin-status.is-signed { color:#19734f; background:#e6f5ed; }
.imgo-admin .imgo-checkin-status.is-unsigned { color:#8d96a7; background:#f2f4f7; }
.imgo-admin .imgo-checkin-last { margin-top:4px; font-size:12px; color:#8d96a7; }
.imgo-admin .imgo-checkin-open { padding:3px 0 0; font-size:12px; }
body:has(.imgo-admin) .imgo-checkin-detail { color:#34415a; font-weight:600; }
body:has(.imgo-admin) .imgo-referral-detail { color:#34415a; font-weight:600; line-height:1.7; }
body:has(.imgo-admin) .imgo-checkin-last { color:#8d96a7; font-size:12px; }
body:has(.imgo-admin) .imgo-checkin-history-head { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:15px 18px; margin-bottom:18px; border:1px solid #e8edf5; border-radius:10px; background:#f7f9ff; }
body:has(.imgo-admin) .imgo-checkin-history-head > div:first-child { display:flex; flex-direction:column; gap:4px; min-width:0; }
body:has(.imgo-admin) .imgo-checkin-history-head strong { color:#24314a; font-size:16px; }
body:has(.imgo-admin) .imgo-checkin-history-head span { color:#8993a5; font-size:12px; overflow-wrap:anywhere; }
body:has(.imgo-admin) .imgo-checkin-history-total { display:flex; flex-direction:column; align-items:center; white-space:nowrap; }
body:has(.imgo-admin) .imgo-checkin-history-total strong { color:#4f63e6; font-size:25px; line-height:1.2; }
body:has(.imgo-admin) .imgo-checkin-history-pagination { text-align:right; padding-top:18px; }
.imgo-admin .el-pagination { padding:18px 0 0; color:#69758d; }
.imgo-admin .el-pagination.is-background .el-pager li { border-radius:6px; }
.imgo-admin .el-pagination.is-background .el-pager li:not(.disabled).active { background:#4f63e6; }
.imgo-admin .el-tabs__item { color:#77839a; }
.imgo-admin .el-tabs__item.is-active { color:#4f63e6; font-weight:600; }
.imgo-admin .el-tabs__active-bar { background:#4f63e6; }
body:has(.imgo-admin) .el-dialog { border-radius:16px; box-shadow:0 24px 90px #23355a26; max-width:calc(100vw - 32px); }
body:has(.imgo-admin) .el-dialog__header { padding:24px; border-bottom:1px solid var(--admin-border); }
body:has(.imgo-admin) .el-dialog__title { font-size:18px; font-weight:600; color:#24314a; }
body:has(.imgo-admin) .el-dialog__body { padding:24px; }
body:has(.imgo-admin) .el-dialog__footer { padding:18px 24px; border-top:1px solid var(--admin-border); }
.imgo-admin .el-tag { border-radius:6px; }
.imgo-admin .el-switch.is-checked .el-switch__core { background:#4f63e6; border-color:#4f63e6; }
.imgo-admin .el-checkbox__input.is-checked .el-checkbox__inner,.imgo-admin .el-radio__input.is-checked .el-radio__inner { background:#4f63e6; border-color:#4f63e6; }
.imgo-admin :focus-visible { outline:2px solid #7586ee; outline-offset:3px; }
/* Overview composition */
.imgo-admin .imgo-overview { padding:28px; background:transparent; }
.imgo-page-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.imgo-page-heading h1 { margin:0 0 7px; font-size:25px; font-weight:650; letter-spacing:-.6px; color:#24314a; }
.imgo-page-heading p { margin:0; font-size:13px; color:#8791a4; }
.imgo-page-heading .el-button { background:#fff; }
.imgo-live-dot { display:inline-block; width:6px; height:6px; background:#5bbd95; border-radius:50%; margin-right:6px; }
.imgo-admin .imgo-stats { gap:16px; }
.imgo-admin .imgo-stat { border:1px solid #e8edf5; border-radius:13px; padding:21px 20px 17px; box-shadow:0 4px 18px #223e7003; }
.imgo-admin .imgo-stat p { font-size:13px; color:#748096; }
.imgo-admin .imgo-stat strong { font-size:30px; color:#26324a; font-weight:650; font-variant-numeric:tabular-nums; letter-spacing:-1px; }
.imgo-admin .imgo-stat div>span { color:#97a0b1; font-size:12px; }
.imgo-admin .imgo-stat p:last-of-type { color:#94a0b0; font-size:12px; border-top:1px solid #f0f3f8; padding-top:12px; margin-top:16px; }
.imgo-admin .imgo-stat-icon { top:21px; right:16px; font-size:20px; padding:9px; border-radius:11px; background:color-mix(in srgb,var(--stat-color) 9%,white); }
.imgo-admin .imgo-overview-middle { gap:20px; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); }
.imgo-admin .imgo-overview-middle .el-card__header { min-height:64px; box-sizing:border-box; }
.imgo-admin .imgo-overview-middle > .pd-20 .el-card__body:has(>.el-pagination:first-child)::before { content:'暂无系统公告'; display:block; padding:45px 0 35px; text-align:center; color:#a4aec0; font-size:14px; }
.imgo-admin .imgo-overview-middle > .pd-20 .el-pagination { text-align:center; }
.imgo-admin .imgo-task-header { justify-content:space-between; }
.imgo-admin .imgo-task-header strong { font-weight:600; }
.imgo-admin .imgo-task-header .el-tag { height:24px; line-height:22px; font-size:11px; }
.imgo-admin .imgo-task-form { margin:16px 0 4px; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.imgo-admin .imgo-task-form .el-form-item { margin-bottom:10px; }
.imgo-admin .imgo-task-form .el-form-item__label { padding-bottom:5px; font-size:12px; }
.imgo-admin .imgo-task-form .el-input-number { width:135px; }
.imgo-admin .imgo-task-actions { margin-top:16px; gap:8px; }
.imgo-admin .imgo-task-actions .el-button { padding:10px 15px; font-size:12px; }
.imgo-admin .imgo-task-help { color:#8893a6; line-height:1.8; }
.imgo-admin .imgo-task-times { background:#f8f9fd; border:1px solid #eef1f7; border-radius:8px; padding:14px; margin:18px 0 10px; color:#7b879d; }
.imgo-admin .imgo-task-times dd { color:#485671; }
.imgo-admin .imgo-charts { gap:20px; }
.imgo-admin .imgo-chart { border-radius:13px; box-shadow:0 4px 18px #223e7003; }
.imgo-admin .imgo-chart header { padding:18px 22px; min-height:72px; color:#33405b; font-size:14px; font-weight:600; }
.imgo-admin .imgo-chart svg text { font-size:14px; fill:#94a0b3; }
.imgo-admin .imgo-chart-legend { font-size:11px; color:#8793a7; }
.imgo-admin .imgo-chart-note { font-size:11px; color:#98a2b3; }
.imgo-admin .imgo-chart .el-button-group { display:flex; background:#f3f5fa; border-radius:7px; padding:3px; }
.imgo-admin .imgo-chart .el-button-group .el-button { border:0; border-radius:5px !important; background:transparent; color:#8993a5; padding:7px 10px; margin:0; font-size:11px; }
.imgo-admin .imgo-chart .el-button-group .el-button--primary { background:white; color:#4f63e6; box-shadow:0 1px 5px #25376812; }
.imgo-admin .imgo-overview-footnote { padding:0; font-size:11px; }
@media(max-width:1450px) { .imgo-admin .imgo-stats { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:1100px) { .imgo-admin .imgo-overview-middle,.imgo-admin .imgo-charts { grid-template-columns:minmax(0,1fr); } }
@media(max-width:700px) { .imgo-admin .imgo-overview { padding:16px; } .imgo-admin .imgo-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .imgo-admin .imgo-stat { padding:16px 12px; } .imgo-admin .imgo-stat-icon { right:9px; padding:6px; } .imgo-admin .el-header .logo .f-20 { font-size:14px; } .imgo-admin .el-header .username { display:none; } .imgo-admin .imgo-task-form { grid-template-columns:1fr; } .imgo-page-heading h1 { font-size:22px; } }
@media(prefers-reduced-motion:reduce) { .imgo-admin * { transition:none !important; } }

body:has(.imgo-admin) > .el-dialog__wrapper .el-input__inner, body:has(.imgo-admin) > .el-dialog__wrapper .el-textarea__inner { border-radius:7px; border-color:#dfe5ef; }
body:has(.imgo-admin) > .el-dialog__wrapper .el-button--primary { background:#4f63e6; border-color:#4f63e6; border-radius:7px; }

/* Member toolbar: keep the existing keyword search at the left edge. */
.imgo-admin .lz-flex:has(> div > .imgo-member-referral-filter) {
  justify-content:flex-start;
}
.imgo-admin .lz-flex:has(> div > .imgo-member-referral-filter) > div:last-child {
  order:-1;
}
/* Let the member controls share one row; adding a user stays on the right. */
.imgo-admin .lz-flex:has(> div > .imgo-member-referral-filter) > div:has(> .imgo-member-referral-filter) {
  display:contents;
}
.imgo-admin .lz-flex:has(> div > .imgo-member-referral-filter) > div > .el-button.mr-15 {
  order:2;
  margin-left:auto;
  margin-right:0;
}

.imgo-admin .imgo-notice-actions { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.imgo-admin .imgo-notice-delete.el-button { color:#e45454; padding:4px 0; }

.imgo-inline-remark { display:flex; gap:8px; align-items:center; border:0; background:transparent; padding:6px 0; color:#738199; cursor:pointer; font:inherit; text-align:left; width:100%; }
.imgo-inline-remark span { white-space:pre-wrap; overflow-wrap:anywhere; }

/* Compact member rows without affecting the other management tables. */
.imgo-admin .el-main:has(.imgo-member-referral-filter) .el-card__body { padding:14px; }
.imgo-admin .el-main:has(.imgo-member-referral-filter) .el-table td,
.imgo-admin .el-main:has(.imgo-member-referral-filter) .el-table th { padding:6px 0; font-size:12px; }
.imgo-admin .el-main:has(.imgo-member-referral-filter) .el-table .cell { padding:0 6px; line-height:1.35; }
.imgo-admin .el-main:has(.imgo-member-referral-filter) .imgo-checkin-summary { gap:4px; flex-wrap:wrap; }
.imgo-admin .el-main:has(.imgo-member-referral-filter) .imgo-checkin-last { margin-top:1px; font-size:11px; line-height:1.2; }
.imgo-admin .el-main:has(.imgo-member-referral-filter) .imgo-checkin-open { padding:0; margin-top:1px; }
.imgo-admin .el-main:has(.imgo-member-referral-filter) .imgo-member-actions-inline { gap:6px; }
.imgo-inline-remark i { color:#a4b0c2; flex-shrink:0; }
.imgo-inline-remark:hover { color:#4276d5; }
.imgo-inline-remark-form { padding:6px 0; }

.imgo-admin .imgo-invite-code-copy { display:flex; align-items:center; gap:5px; white-space:nowrap; }
.imgo-admin .imgo-invite-code-value { color:#34415a; font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; font-weight:600; letter-spacing:.3px; }
.imgo-admin .imgo-invite-code-copy .el-button { margin-left:0; padding:3px 0; font-size:12px; }
.imgo-broadcast-hint { margin-bottom:12px; padding:10px 12px; border-radius:8px; background:#f4f7fc; color:#68758a; font-size:12px; line-height:1.6; }

/* Selectable member broadcast dialog. */
.imgo-broadcast-toolbar { display:flex; align-items:center; gap:14px; margin-bottom:12px; }
.imgo-broadcast-search { width:300px; }
.imgo-broadcast-count { margin-left:auto; color:#65748b; font-size:13px; }
.imgo-broadcast-users { min-height:180px; max-height:350px; overflow:auto; padding:12px; border:1px solid #e7ebf2; border-radius:10px; background:#f8faff; }
.imgo-broadcast-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.imgo-broadcast-user.el-checkbox { display:grid; grid-template-columns:20px 42px minmax(0,1fr); grid-template-rows:21px 21px; align-items:center; width:auto; margin:0; padding:9px; border:1px solid #e8edf5; border-radius:9px; background:#fff; }
.imgo-broadcast-user.el-checkbox.is-checked { border-color:#89afff; background:#f1f6ff; }
.imgo-broadcast-user .el-checkbox__input { grid-row:1 / span 2; }
.imgo-broadcast-user .el-checkbox__label { display:contents; padding:0; }
.imgo-broadcast-user .el-avatar { grid-row:1 / span 2; margin-right:9px; }
.imgo-broadcast-user-name,.imgo-broadcast-user-account { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.imgo-broadcast-user-name { color:#2f3b52; font-weight:600; }
.imgo-broadcast-user-account { color:#8a96aa; font-size:11px; }
.imgo-broadcast-editor { margin-top:14px; }
.imgo-chat-quick-replies { display:inline-flex; align-items:center; margin-right:auto; }
.imgo-chat-quick-trigger { display:inline-flex; align-items:center; gap:5px; padding:2px 8px; border:0; border-radius:5px; background:transparent; color:#73819a; cursor:pointer; font:inherit; font-size:12px; }
.imgo-chat-quick-trigger:hover { background:#edf3ff; color:#4074d8; }
.imgo-chat-quick-popover { padding:0 !important; overflow:hidden; border-radius:10px !important; }
.imgo-chat-quick-head { display:flex; align-items:center; justify-content:space-between; padding:10px 12px 8px; border-bottom:1px solid #edf0f5; color:#34415a; }
.imgo-chat-quick-head .el-button { padding:0; }
.imgo-chat-quick-head > span { color:#9aa5b7; font-size:11px; }
.imgo-chat-quick-list { max-height:260px; overflow:auto; padding:8px; }
.imgo-chat-quick-item { display:block; width:100%; overflow:hidden; padding:8px 9px; border:0; border-radius:6px; background:#fff; color:#46546c; cursor:pointer; font:inherit; font-size:12px; text-align:left; text-overflow:ellipsis; white-space:nowrap; }
.imgo-chat-quick-item:hover { background:#f0f5ff; color:#376bd0; }
.imgo-chat-quick-empty { padding:22px 12px; color:#9aa6b8; font-size:12px; text-align:center; }
.imgo-chat-quick-manager { display:flex; flex-direction:column; gap:12px; }
.imgo-chat-quick-rows { max-height:360px; overflow:auto; padding-right:4px; }
.imgo-chat-quick-row { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.imgo-chat-quick-row .el-input { flex:1; }
.imgo-chat-quick-remove.el-button { flex:0 0 auto; color:#e45454; }
.imgo-chat-quick-manager-empty { padding:30px 0; color:#9aa6b8; text-align:center; }
.imgo-join-group-label { margin-bottom:8px; color:#3b4860; font-size:13px; font-weight:600; }
.imgo-join-group-tip { margin:9px 0 0; color:#8b97aa; font-size:12px; line-height:1.6; }
.imgo-group-number { display:inline-flex; align-items:center; width:max-content; margin-top:5px; padding:2px 7px; border-radius:5px; background:#f0f4fb; color:#5c6e8b; font-size:12px; font-variant-numeric:tabular-nums; }
.imgo-group-number-join { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:7px; color:#65748b; font-size:11px; }
.imgo-group-number-join-copy { display:flex; min-width:0; flex-direction:column; gap:2px; }
.imgo-group-number-join-copy small { color:#9aa5b6; font-size:10px; line-height:1.2; white-space:nowrap; }
.imgo-group-number-join .el-switch { transform:scale(.82); transform-origin:right center; }
@media (max-width:800px) { .imgo-broadcast-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Admin quick-chat only. The standalone chat page is unaffected. */
.imgo-admin .messageBoxStyle { background:rgba(27,38,66,.32); backdrop-filter:blur(4px); }
.imgo-admin .messageBoxStyle > .el-dialog__wrapper { align-items:center; padding:20px; box-sizing:border-box; overflow:hidden; }
body:has(.imgo-admin) .el-dialog.sideMenu-message { width:min(1120px,100%) !important; max-width:100%; height:min(780px,calc(100dvh - 40px)); margin:0 auto !important; display:flex; flex-direction:column; border-radius:18px; overflow:hidden; box-shadow:0 24px 90px #16244238; }
body:has(.imgo-admin) .sideMenu-message > .el-dialog__header { display:flex !important; align-items:center; flex:none; height:62px; box-sizing:border-box; padding:0 24px; background:#fff; border-bottom:1px solid #e9edf5; }
body:has(.imgo-admin) .sideMenu-message > .el-dialog__header .el-dialog__title { font-size:16px; font-weight:650; letter-spacing:.2px; }
body:has(.imgo-admin) .sideMenu-message > .el-dialog__header .el-dialog__headerbtn { top:17px; right:18px; width:30px; height:30px; border-radius:8px; background:#f4f6fb; font-size:18px; }
body:has(.imgo-admin) .sideMenu-message > .el-dialog__body { padding:0 !important; flex:1; min-height:0; overflow:hidden; }
.sideMenu-message > .el-dialog__body > div,.sideMenu-message .chat-box { height:100%; min-height:0; }
.sideMenu-message .chat-box { box-shadow:none; }
.sideMenu-message .lemon-wrapper { width:100% !important; height:100% !important; min-height:0 !important; font-family:inherit; transition:none; }
.sideMenu-message .lemon-menu { background:#eef1fb; width:64px; flex-shrink:0; box-sizing:border-box; padding-top:20px; border-right:1px solid #e5eaf5; }
.sideMenu-message .lemon-menu__avatar { border-radius:10px; overflow:hidden; margin-bottom:18px; }
.sideMenu-message .lemon-menu__item { color:#8a94ae; border-radius:10px; margin:4px 8px; padding:10px 8px; box-sizing:border-box; width:44px; text-align:center; }
.sideMenu-message .lemon-menu__item:hover { background:#e3e8fb; color:#4f63e6; }
.sideMenu-message .lemon-menu__item--active { background:#4f63e6; color:white !important; box-shadow:0 4px 10px #4f63e61a; text-shadow:none; }
.sideMenu-message .lemon-menu__bottom { bottom:10px; }
.sideMenu-message .lemon-sidebar { width:270px; flex-shrink:0; background:#fff; border-right:1px solid #e8edf5; min-height:0; }
.sideMenu-message .lemon-sidebar__fixed-top { background:#fff; padding:8px 4px 0; border-bottom:1px solid #f0f3f8; }
.sideMenu-message .contact-fixedtop-box { padding:12px 10px 8px; }
.sideMenu-message .contact-fixedtop-box .el-input__inner { border:1px solid #edf0f7; background:#f6f8fc; height:34px; border-radius:8px; font-size:12px; }
.sideMenu-message .contact-fixedtop-box .el-button { border:1px solid #e6ebf6; border-radius:8px; background:#f6f8fc; color:#6376df; }
.sideMenu-message .tab-main { padding:4px 12px 12px; gap:4px; }
.sideMenu-message .tab-item { border-radius:7px; font-size:12px; color:#8b96aa; padding:5px 12px; }
.sideMenu-message .tab-item.active { background:#eef1ff; box-shadow:none; color:#4f63e6; font-weight:600; }
.sideMenu-message .lemon-sidebar__scroll { padding:6px; min-height:0; }
.sideMenu-message .lemon-contact { border-radius:10px; margin-bottom:4px; background:transparent; }
.sideMenu-message .lemon-contact:hover { background:#f5f7fc !important; }
.sideMenu-message .lemon-contact--active { background:#eef1ff !important; }
.sideMenu-message .lemon-contact-item { padding:12px 8px; }
.sideMenu-message .lemon-contact__name { color:#35425d; font-weight:550; font-size:13px; }
.sideMenu-message .lemon-contact__time { font-size:10px; color:#9ba5b7; }
.sideMenu-message .lemon-contact__content { margin-top:5px; font-size:12px; color:#9ba5b7; }
.sideMenu-message .lemon-avatar { border-radius:10px; }
.sideMenu-message .online-status { border:2px solid #fff; }
.sideMenu-message .lemon-container { min-width:0; min-height:0; background:#f7f9fd; }
.sideMenu-message .lemon-container__title { padding:18px 22px; min-height:58px; box-sizing:border-box; border-bottom:1px solid #e9edf5; background:#fff; color:#33415a; }
.sideMenu-message .message-title-tools { color:#8c97ad; }
.sideMenu-message .lemon-vessel,.sideMenu-message .lemon-vessel__left { min-height:0; min-width:0; }
.sideMenu-message .lemon-messages { min-height:0; padding:18px 24px; background:#f7f9fd; }
.sideMenu-message .lemon-message { margin-bottom:20px; }
.sideMenu-message .lemon-message__avatar { border-radius:10px; overflow:hidden; }
.sideMenu-message .lemon-message__content { background:white; border:1px solid #e9edf5; color:#40506a; border-radius:4px 13px 13px; padding:10px 14px; line-height:1.7; box-shadow:0 2px 5px #20305003; }
.sideMenu-message .lemon-message--reverse .lemon-message__content { background:#e9edff; border-color:#dfe5ff; color:#354bac; border-radius:13px 4px 13px 13px; }
.sideMenu-message .lemon-message__content::before,.sideMenu-message .lemon-message__content::after { display:none; }
.sideMenu-message .lemon-message-event__content { background:transparent; color:#a1abbd; font-size:11px; }
.sideMenu-message .lemon-messages__loadend { color:#a1abbd; font-size:11px; }
.sideMenu-message .lemon-editor { height:170px; flex-shrink:0; border-top:1px solid #e8edf5; background:#fff; }
.sideMenu-message .lemon-editor__tool { height:38px; flex-shrink:0; padding:4px 12px; }
.sideMenu-message .lemon-editor__tool-item { border-radius:6px; padding:3px 7px; color:#8995ad; }
.sideMenu-message .lemon-editor__tool-item:hover { background:#f0f3ff; color:#4f63e6; }
.sideMenu-message .lemon-editor__inner { min-height:0; padding:4px 18px; }
.sideMenu-message .lemon-editor__input { color:#35425d; font-size:14px; }
.sideMenu-message .lemon-editor__footer { padding:8px 18px 12px; align-items:center; }
.sideMenu-message .lemon-editor__tip { font-size:11px; color:#a1aabe; }
.sideMenu-message .lemon-button { background:#4f63e6; border:1px solid #4f63e6; color:#fff; border-radius:7px; min-width:74px; padding:6px 14px; }
.sideMenu-message .lemon-button[disabled] { background:#eef1f7; color:#a4adbd; border-color:#e5eaf2; cursor:not-allowed; }
.sideMenu-message .cover i { color:#d6ddf3; font-size:68px; }
.sideMenu-message .cover p { color:#8b97b1; font-size:15px; }
.sideMenu-message .cover::after { content:'选择左侧会话，开始沟通'; display:block; color:#a6afbf; margin-top:12px; font-size:12px; white-space:nowrap; }
.imgo-admin .imgo-message-trigger { border:0; background:transparent; cursor:pointer; width:38px; height:38px; padding:6px; border-radius:10px; color:#65728d; vertical-align:middle; }
.imgo-admin .imgo-message-trigger:hover { color:#4f63e6; background:#eef1ff; }
@media(max-width:850px) { .sideMenu-message .lemon-sidebar { width:210px; } .sideMenu-message .lemon-menu { width:54px; } .sideMenu-message .lemon-menu__item { width:38px; margin:4px 6px; } .sideMenu-message .lemon-messages { padding:12px; } }
@media(max-width:600px) { .imgo-admin .messageBoxStyle > .el-dialog__wrapper { padding:8px; overflow:auto; } body:has(.imgo-admin) .el-dialog.sideMenu-message { height:calc(100dvh - 16px); border-radius:12px; } .sideMenu-message > .el-dialog__body { overflow-x:auto !important; } .sideMenu-message .lemon-wrapper { min-width:590px; } }
@media(max-height:650px) { .sideMenu-message .lemon-editor { height:130px; } .sideMenu-message .lemon-menu__item { padding:6px 8px; margin-top:2px; margin-bottom:2px; } }
/* One editable surface and one scroll container, with room reserved for tools/footer. */
.sideMenu-message .lemon-editor { height:190px; box-sizing:border-box; }
.sideMenu-message .lemon-editor__tool { height:40px; box-sizing:border-box; flex:0 0 40px; }
.sideMenu-message .lemon-editor__inner { flex:1 1 0; min-height:0; overflow:hidden; padding:4px 18px; box-sizing:border-box; }
.sideMenu-message .lemon-editor__input { height:100%; min-height:0; padding:0; box-sizing:border-box; }
.sideMenu-message .lemon-editor__input .chat-rich-text { height:100%; min-height:0; width:100%; padding:8px 10px; border:1px solid #e8edf5; border-radius:8px; box-sizing:border-box; overflow:auto; line-height:1.6; cursor:text; transition:border-color .15s,background .15s; }
.sideMenu-message .lemon-editor__input .chat-rich-text:focus,
.sideMenu-message .lemon-editor__input .chat-rich-text:focus-visible { outline:none !important; border-color:#bcc7f5; background:#fafbff; box-shadow:none; }
.sideMenu-message .lemon-editor__input .chat-rich-text p { line-height:1.6; }
.sideMenu-message .chat-placeholder-wrap { pointer-events:none; }
.sideMenu-message .lemon-editor__footer { height:44px; flex:0 0 44px; box-sizing:border-box; padding:6px 18px 10px; }
@media(max-height:650px) { .sideMenu-message .lemon-editor { height:160px; } }

/* Single-line private-chat heading with details in an anchored popover. */
.imgo-chat-profile { display:flex; align-items:center; gap:16px; min-width:0; height:32px; line-height:20px; }
.imgo-chat-profile-name { display:flex; align-items:center; min-width:0; overflow:hidden; white-space:nowrap; }
.imgo-chat-profile-name strong { color:#303a4c; font-size:14px; font-weight:600; overflow:hidden; text-overflow:ellipsis; }
.imgo-profile-nickname { color:#7e8797; font-size:13px; overflow:hidden; text-overflow:ellipsis; }
.imgo-profile-status { width:6px; height:6px; flex-shrink:0; border-radius:50%; background:#aab2bd; margin-right:8px; }
.imgo-profile-status.is-online { background:#59bc79; }
.imgo-profile-actions { display:flex; align-items:center; gap:12px; margin-left:auto; min-width:0; }
.imgo-profile-meta { color:#8a93a2; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.imgo-profile-trigger { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; padding:4px 8px; border:1px solid #e4e8ef; border-radius:6px; background:transparent; color:#66758b; font:inherit; font-size:12px; line-height:18px; cursor:pointer; }
.imgo-profile-trigger:hover,.imgo-profile-trigger:focus-visible { background:#edf3fb; color:#397bcc; border-color:#c6d8ef; }
.lemon-container__title:has(.imgo-chat-profile) { height:auto; min-height:0; flex:0 0 auto; padding:5px 16px; line-height:20px; box-sizing:border-box; }
.message-title-box:has(.imgo-chat-profile) { height:auto; min-height:0; padding:0; align-items:center; gap:12px; }
.message-title-box:has(.imgo-chat-profile)>div:first-child { min-width:0; flex:1; }
.message-title-box:has(.imgo-chat-profile)>.message-title-tools { flex-shrink:0; }
.imgo-profile-popover { max-width:calc(100vw - 40px); border-radius:10px; padding:16px; box-shadow:0 8px 30px #263b5920; }
.imgo-profile-popover-title { color:#303a4c; font-size:14px; font-weight:600; margin-bottom:12px; }
.imgo-profile-section + .imgo-profile-section { border-top:1px solid #edf0f4; margin-top:12px; padding-top:12px; }
.imgo-profile-section h4 { margin:0 0 6px; font-size:12px; color:#8792a5; font-weight:500; }
.imgo-profile-field { display:flex; gap:16px; justify-content:space-between; padding:3px 0; font-size:12px; line-height:20px; }
.imgo-profile-field>span { color:#8a93a2; flex-shrink:0; }
.imgo-profile-field>strong { color:#45546b; font-weight:400; text-align:right; overflow-wrap:anywhere; }

/* The preview frame owns the close button, independent of the image dimensions. */
.imgo-preview-overlay { position:fixed; inset:0; z-index:99999; display:flex; align-items:center; justify-content:center; padding:44px 24px 24px; box-sizing:border-box; background:rgba(18,28,45,.78); }
.imgo-preview-frame { position:relative; max-width:100%; max-height:100%; border-radius:8px; box-shadow:0 16px 60px #0005; }
.imgo-preview-frame.is-image { width:fit-content; line-height:0; }
.imgo-preview-image { display:block; max-width:calc(100vw - 48px); max-height:calc(100dvh - 88px); width:auto; height:auto; object-fit:contain; border-radius:8px; }
.imgo-preview-close { position:absolute; z-index:2; right:0; top:-38px; display:flex; align-items:center; justify-content:center; width:30px; height:30px; padding:0; border:1px solid #ffffff60; border-radius:50%; background:#263449; color:#fff; font-size:19px; cursor:pointer; }
.imgo-preview-close:hover,.imgo-preview-close:focus-visible { background:#4276d5; outline:2px solid #aec9ff; }
.imgo-preview-frame.is-document { width: min(1100px,100%); height:calc(100dvh - 88px); background:#fff; }
.imgo-preview-document { display:block; width:100%; height:100%; border-radius:8px; }
.imgo-preview-error { min-width:240px; padding:40px 24px; line-height:1.5; text-align:center; background:#fff; border-radius:8px; color:#7a879a; }

.imgo-bank { padding: 24px; background: #f5f7fa; min-height: 100%; box-sizing: border-box; }
.imgo-bank-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.imgo-bank-heading h1 { margin: 0 0 8px; font-size: 24px; color: #27344c; }
.imgo-bank-heading p { margin: 0; color: #8993a1; font-size: 14px; }
.imgo-bank-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; background: white; padding: 18px; border: 1px solid #e8edf4; border-bottom: 0; }
.imgo-bank-toolbar .el-input { max-width: 280px; }
.imgo-bank-pagination { text-align: right; padding: 20px 0; }
.imgo-bank-form .el-input, .imgo-bank-form .el-select { width: 100%; }
.imgo-bank-user { line-height: 1.45; overflow-wrap: anywhere; }
.imgo-bank-user-account { font-weight: 600; color: #27344c; }
.imgo-bank-user-name { color: #8993a1; }
@media(max-width:600px) { .imgo-bank { padding: 12px; } .imgo-bank-heading h1 { font-size: 20px; } }

.imgo-finance {padding:28px}
.imgo-finance-heading h1 {margin:0 0 6px;color:#24314a;font-size:25px}
.imgo-finance-heading p {margin:0;color:#8590a4;font-size:13px}
.imgo-finance-card {margin-top:22px;padding:24px;background:#fff;border:1px solid #e7ebf4;border-radius:14px;box-shadow:0 4px 20px #223e7005}
.imgo-finance-toolbar {display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.imgo-finance-toolbar .el-input {width:240px}
.imgo-finance-toolbar .el-select {width:145px}
.imgo-finance-pagination {padding-top:18px;text-align:right}
body:has(.imgo-admin) .imgo-finance-detail {display:grid;grid-template-columns:1fr 1fr;gap:13px 20px}
body:has(.imgo-admin) .imgo-finance-detail>div {display:flex;flex-direction:column;gap:5px;min-width:0;color:#33405b;overflow-wrap:anywhere}
body:has(.imgo-admin) .imgo-finance-detail span {color:#8a95a8;font-size:12px}
body:has(.imgo-admin) .imgo-finance-detail strong {font-size:18px}
body:has(.imgo-admin) .imgo-finance-account {font-variant-numeric:tabular-nums;letter-spacing:.5px}
body:has(.imgo-admin) .imgo-finance-remark {margin-top:24px}
body:has(.imgo-admin) .imgo-finance-remark label {display:block;margin-bottom:9px;color:#5c687e;font-size:13px}
@media(max-width:750px){.imgo-finance{padding:16px}.imgo-finance-toolbar .el-input{width:100%}body:has(.imgo-admin) .imgo-finance-detail{grid-template-columns:1fr}}

.imgo-member-finance-actions {display:flex;align-items:center;gap:10px;justify-content:center;padding-bottom:4px;border-bottom:1px solid #e9edf5;margin-bottom:3px}
.imgo-member-finance-actions .el-button {margin:0;padding:5px 2px;font-weight:600}
.imgo-member-finance-summary {padding:12px 16px;background:#f2f6ff;border-radius:9px;color:#54627b;display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.imgo-member-finance-summary strong {color:#294871;margin-right:8px}
.imgo-member-finance-summary .el-button {margin-left:auto}
.imgo-member-finance-form {padding:18px 12px 4px}
.imgo-member-finance-form .el-form-item {margin-bottom:15px}
.imgo-member-finance-preview {margin:8px 0 5px 105px;color:#385ba5;font-weight:600}
.imgo-member-finance-history {margin-top:20px}
.imgo-member-finance-history h3 {font-size:14px;color:#394863;margin:0 0 9px}
@media(max-width:700px){.imgo-member-finance-preview{margin-left:0}.imgo-member-finance-history{overflow:auto}}

.imgo-admin .imgo-member-actions-inline { display:flex; flex-wrap:nowrap; align-items:center; justify-content:flex-start; gap:14px; white-space:nowrap; }
.imgo-admin .imgo-member-actions-inline>.el-button,.imgo-admin .imgo-member-actions-inline .el-dropdown>.el-button { margin:0; padding:8px 0; font-size:12px; }
.imgo-admin .imgo-member-actions-inline .el-icon-arrow-down { margin-left:3px; font-size:11px; }

.imgo-agent-setting-body { max-height: 62vh; overflow-y: auto; padding-right: 8px; }
.imgo-agent-setting-section + .imgo-agent-setting-section { border-top: 1px solid #ebeef5; margin-top: 16px; padding-top: 16px; }
.imgo-agent-setting-section h3 { font-size: 15px; margin: 0 0 12px; }
.imgo-agent-setting-section .el-select { width: 100%; }
.imgo-agent-global-summary { margin: 0 0 16px 115px; padding: 10px 12px; border-radius: 4px; background: #f5f7fa; color: #606266; line-height: 1.7; }
.imgo-agent-global-summary span + span { margin-left: 10px; }

.imgo-member-batch-dialog {
  overflow: hidden;
  border-radius: 12px;
}

.imgo-member-batch-dialog .el-dialog__header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #edf0f5;
  background: linear-gradient(135deg, #f7faff 0%, #fff 70%);
}

.imgo-member-batch-dialog .el-dialog__title {
  color: #1f2d3d;
  font-size: 18px;
  font-weight: 700;
}

.imgo-member-batch-dialog .el-dialog__body {
  padding: 18px 24px 12px;
}

.imgo-member-batch-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

.imgo-member-batch-form .el-form-item.is-wide,
.imgo-member-batch-intro {
  grid-column: 1 / -1;
}

.imgo-member-batch-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px 18px;
  color: #334155;
  background: linear-gradient(135deg, #edf5ff 0%, #f8fbff 100%);
  border: 1px solid #d8e9ff;
  border-radius: 10px;
}

.imgo-member-batch-intro-icon {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 20px;
  background: linear-gradient(135deg, #4e8cf7, #356ac3);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(53, 106, 195, .2);
}

.imgo-member-batch-intro strong {
  display: block;
  margin-bottom: 4px;
  color: #243b53;
  font-size: 15px;
}

.imgo-member-batch-intro p,
.imgo-member-batch-progress-head p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.imgo-member-batch-form .el-form-item__label {
  padding-bottom: 7px;
  color: #475569;
  font-weight: 600;
}

.imgo-member-batch-form .el-input,
.imgo-member-batch-form .el-select,
.imgo-member-batch-form .el-input-number {
  width: 100%;
}

.imgo-member-batch-count {
  display: flex;
  gap: 10px;
}

.imgo-member-batch-count .el-input-number {
  flex: 1;
}

.imgo-member-batch-presets {
  display: flex;
  gap: 4px;
}

.imgo-member-batch-presets button {
  min-width: 34px;
  padding: 0 7px;
  color: #64748b;
  font-size: 12px;
  background: #f8fafc;
  border: 1px solid #dbe3ed;
  border-radius: 5px;
  cursor: pointer;
  transition: all .18s ease;
}

.imgo-member-batch-presets button:hover,
.imgo-member-batch-presets button.is-active {
  color: #356ac3;
  background: #edf5ff;
  border-color: #8bb6f4;
}

.imgo-member-batch-static {
  min-height: 40px;
  padding: 0 12px;
  color: #606f82;
  line-height: 40px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-sizing: border-box;
}

.imgo-member-batch-static.is-required {
  color: #9a5b00;
  background: #fff8e8;
  border-color: #f2d59b;
}

.imgo-member-batch-progress {
  min-height: 330px;
}

.imgo-member-batch-progress-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.imgo-member-batch-progress-head h3 {
  margin: 0 0 6px;
  color: #1e293b;
  font-size: 20px;
}

.imgo-member-batch-progress .el-progress {
  margin-bottom: 22px;
}

.imgo-member-batch-progress .el-progress-bar__outer {
  background: #e9eff7;
}

.imgo-member-batch-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.imgo-member-batch-metrics > div {
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e6ebf2;
  border-radius: 9px;
}

.imgo-member-batch-metrics span {
  display: block;
  margin-bottom: 5px;
  color: #7b8798;
  font-size: 12px;
}

.imgo-member-batch-metrics strong {
  color: #25364d;
  font-size: 25px;
  line-height: 1;
}

.imgo-member-batch-metrics small {
  margin-left: 4px;
  color: #94a3b8;
}

.imgo-member-batch-recovery {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 11px 13px;
  color: #40608a;
  font-size: 13px;
  background: #f2f7fd;
  border-radius: 7px;
}

.imgo-member-batch-recovery i {
  color: #356ac3;
  font-size: 17px;
}

.imgo-member-batch-recovery span {
  flex: 1;
}

.imgo-member-batch-recovery code {
  color: #6b7890;
  font-size: 11px;
  white-space: nowrap;
}

.imgo-member-batch-created {
  margin-top: 18px;
}

.imgo-member-batch-created-title {
  margin-bottom: 8px;
  color: #334155;
  font-weight: 600;
}

.imgo-member-batch-result-scroll {
  max-height: 300px;
  overflow: auto;
  border: 1px solid #e4e7ed;
  border-radius: 8px;
}

.imgo-member-batch-result-row {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr 58px 110px 1.2fr;
  min-width: 700px;
  border-bottom: 1px solid #edf0f4;
}

.imgo-member-batch-result-row:last-child {
  border-bottom: 0;
}

.imgo-member-batch-result-row.is-header {
  position: sticky;
  z-index: 1;
  top: 0;
  color: #334155;
  font-weight: 600;
  background: #f5f7fa;
}

.imgo-member-batch-result-row span {
  padding: 10px 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.imgo-member-batch-result-row .is-account {
  color: #356ac3;
  font-weight: 600;
}

.imgo-member-batch-dialog .el-dialog__footer {
  padding: 12px 24px 18px;
  border-top: 1px solid #edf0f5;
  background: #fbfcfe;
}

@media (max-width: 760px) {
  .imgo-member-batch-dialog {
    width: calc(100vw - 20px) !important;
    margin-top: 2vh !important;
  }

  .imgo-member-batch-dialog .el-dialog__header {
    padding: 16px 16px 13px;
  }

  .imgo-member-batch-dialog .el-dialog__body {
    max-height: calc(100dvh - 150px);
    padding: 14px 14px 8px;
    overflow-y: auto;
  }

  .imgo-member-batch-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .imgo-member-batch-form .el-form-item.is-wide,
  .imgo-member-batch-intro {
    grid-column: auto;
  }

  .imgo-member-batch-intro {
    align-items: flex-start;
    padding: 13px;
  }

  .imgo-member-batch-intro-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .imgo-member-batch-count {
    flex-direction: column;
  }

  .imgo-member-batch-presets button {
    height: 32px;
    flex: 1;
  }

  .imgo-member-batch-progress-head {
    margin-bottom: 16px;
  }

  .imgo-member-batch-metrics {
    gap: 7px;
  }

  .imgo-member-batch-metrics > div {
    padding: 11px 9px;
  }

  .imgo-member-batch-metrics strong {
    font-size: 21px;
  }

  .imgo-member-batch-recovery {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .imgo-member-batch-recovery code {
    width: 100%;
    padding-left: 25px;
  }

  .imgo-member-batch-dialog .el-dialog__footer {
    padding: 10px 14px 14px;
  }

  .imgo-member-batch-dialog .el-dialog__footer .el-button {
    margin: 4px 0 0 6px;
  }
}

/* Shared chat design, scoped to the chat component only. */
.main-container:has(.imgo-chat-design):not(.imgo-admin) { background:#edf1f7 !important; background-image:none !important; display:flex; align-items:center; justify-content:center; padding:20px; box-sizing:border-box; min-height:100dvh; }
.main-container:has(.imgo-chat-design):not(.imgo-admin)>div:has(>.imgo-chat-design) { width:min(1240px,100%); min-width:0; }
.imgo-chat-design { --el-color-primary:#4276d5; width:100%; border:1px solid #e0e6ef; border-radius:14px; overflow:hidden; box-shadow:0 16px 48px #22365612; color:#344258; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif; }
.main-container:not(.imgo-admin) .imgo-chat-design { height:calc(100dvh - 40px); max-height:900px; }
.imgo-chat-design .lemon-wrapper { width:100% !important; height:100% !important; min-height:0 !important; font-family:inherit; transition:none; }
.imgo-chat-design .lemon-menu { background:#eef1fb; width:64px; flex-shrink:0; box-sizing:border-box; padding-top:20px; border-right:1px solid #e5eaf5; }
.imgo-chat-design .lemon-menu__avatar { border-radius:10px; overflow:hidden; margin-bottom:18px; }
.imgo-chat-design .lemon-menu__item { color:#8a94ae; border-radius:10px; margin:4px 8px; padding:10px 8px; box-sizing:border-box; width:44px; text-align:center; }
.imgo-chat-design .lemon-menu__item:hover { background:#e3e8fb; color:#4276d5; }
.imgo-chat-design .lemon-menu__item--active { background:#4276d5; color:white !important; box-shadow:0 4px 10px #4276d51a; text-shadow:none; }
.imgo-chat-design .lemon-menu__bottom { bottom:10px; }
.imgo-chat-design .lemon-sidebar { width:270px; flex-shrink:0; background:#fff; border-right:1px solid #e8edf5; min-height:0; }
.imgo-chat-design .lemon-sidebar__fixed-top { background:#fff; padding:8px 4px 0; border-bottom:1px solid #f0f3f8; }
.imgo-chat-design .contact-fixedtop-box { padding:12px 10px 8px; }
.imgo-chat-design .contact-fixedtop-box .el-input__inner { border:1px solid #edf0f7; background:#f6f8fc; height:34px; border-radius:8px; font-size:12px; }
.imgo-chat-design .contact-fixedtop-box .el-button { border:1px solid #e6ebf6; border-radius:8px; background:#f6f8fc; color:#6376df; }
.imgo-chat-design .tab-main { padding:4px 12px 12px; gap:4px; }
.imgo-chat-design .tab-item { border-radius:7px; font-size:12px; color:#8b96aa; padding:5px 12px; }
.imgo-chat-design .tab-item.active { background:#eaf1fd; box-shadow:none; color:#4276d5; font-weight:600; }
.imgo-chat-design .lemon-sidebar__scroll { padding:6px; min-height:0; }
.imgo-chat-design .lemon-contact { border-radius:10px; margin-bottom:4px; background:transparent; }
.imgo-chat-design .lemon-contact:hover { background:#f5f7fc !important; }
.imgo-chat-design .lemon-contact--active { background:#eaf1fd !important; }
.imgo-chat-design .lemon-contact-item { padding:12px 8px; }
.imgo-chat-design .lemon-contact__name { color:#35425d; font-weight:550; font-size:13px; }
.imgo-chat-design .lemon-contact__time { font-size:10px; color:#9ba5b7; }
.imgo-chat-design .lemon-contact__content { margin-top:5px; font-size:12px; color:#9ba5b7; }
.imgo-chat-design .lemon-avatar { border-radius:10px; }
.imgo-chat-design .online-status { border:2px solid #fff; }
.imgo-chat-design .lemon-container { min-width:0; min-height:0; background:#f7f9fd; }
.imgo-chat-design .lemon-container__title { padding:18px 22px; min-height:58px; box-sizing:border-box; border-bottom:1px solid #e9edf5; background:#fff; color:#33415a; }
.imgo-chat-design .message-title-tools { color:#8c97ad; }
.imgo-chat-design .lemon-vessel,.imgo-chat-design .lemon-vessel__left { min-height:0; min-width:0; }
.imgo-chat-design .lemon-messages { min-height:0; padding:18px 24px; background:#f7f9fd; }
.imgo-chat-design .lemon-message { margin-bottom:20px; }
.imgo-chat-design .lemon-message__avatar { border-radius:10px; overflow:hidden; }
.imgo-chat-design .lemon-message__content { background:white; border:1px solid #e9edf5; color:#40506a; border-radius:4px 13px 13px; padding:10px 14px; line-height:1.7; box-shadow:0 2px 5px #20305003; }
.imgo-chat-design .lemon-message--reverse .lemon-message__content { background:#e4eefc; border-color:#dfe5ff; color:#2d4f83; border-radius:13px 4px 13px 13px; }
.imgo-chat-design .lemon-message__content::before,.imgo-chat-design .lemon-message__content::after { display:none; }
.imgo-chat-design .lemon-message-event__content { background:transparent; color:#a1abbd; font-size:11px; }
.imgo-chat-design .lemon-messages__loadend { color:#a1abbd; font-size:11px; }
.imgo-chat-design .lemon-editor { height:170px; flex-shrink:0; border-top:1px solid #e8edf5; background:#fff; }
.imgo-chat-design .lemon-editor__tool { height:38px; flex-shrink:0; padding:4px 12px; }
.imgo-chat-design .lemon-editor__tool-item { border-radius:6px; padding:3px 7px; color:#8995ad; }
.imgo-chat-design .lemon-editor__tool-item:hover { background:#f0f3ff; color:#4276d5; }
.imgo-chat-design .lemon-editor__inner { min-height:0; padding:4px 18px; }
.imgo-chat-design .lemon-editor__input { color:#35425d; font-size:14px; }
.imgo-chat-design .lemon-editor__footer { padding:8px 18px 12px; align-items:center; }
.imgo-chat-design .lemon-editor__tip { font-size:11px; color:#a1aabe; }
.imgo-chat-design .lemon-button { background:#4276d5; border:1px solid #4276d5; color:#fff; border-radius:7px; min-width:74px; padding:6px 14px; }
.imgo-chat-design .lemon-button[disabled] { background:#eef1f7; color:#a4adbd; border-color:#e5eaf2; cursor:not-allowed; }
.imgo-chat-design .cover i { color:#d6ddf3; font-size:68px; }
.imgo-chat-design .cover p { color:#8b97b1; font-size:15px; }
.imgo-chat-design .cover::after { content:'选择左侧会话，开始沟通'; display:block; color:#a6afbf; margin-top:12px; font-size:12px; white-space:nowrap; }

/* One editable surface and one scroll container, with room reserved for tools/footer. */
.imgo-chat-design .lemon-editor { height:190px; box-sizing:border-box; }
.imgo-chat-design .lemon-editor__tool { height:40px; box-sizing:border-box; flex:0 0 40px; }
.imgo-chat-design .lemon-editor__inner { flex:1 1 0; min-height:0; overflow:hidden; padding:4px 18px; box-sizing:border-box; }
.imgo-chat-design .lemon-editor__input { height:100%; min-height:0; padding:0; box-sizing:border-box; }
.imgo-chat-design .lemon-editor__input .chat-rich-text { height:100%; min-height:0; width:100%; padding:8px 10px; border:1px solid #e8edf5; border-radius:8px; box-sizing:border-box; overflow:auto; line-height:1.6; cursor:text; transition:border-color .15s,background .15s; }
.imgo-chat-design .lemon-editor__input .chat-rich-text:focus,
.imgo-chat-design .lemon-editor__input .chat-rich-text:focus-visible { outline:none !important; border-color:#bcc7f5; background:#fafbff; box-shadow:none; }
.imgo-chat-design .lemon-editor__input .chat-rich-text p { line-height:1.6; }
.imgo-chat-design .chat-placeholder-wrap { pointer-events:none; }
.imgo-chat-design .lemon-editor__footer { height:44px; flex:0 0 44px; box-sizing:border-box; padding:6px 18px 10px; }
@media(max-height:650px) { .imgo-chat-design .lemon-editor { height:160px; } }


.imgo-chat-design .lemon-menu { background:#24344c; border:0; width:64px; padding-top:18px; }
.imgo-chat-design .lemon-menu__item { color:#a5b3c7; margin:6px 9px; width:44px; padding:10px 8px; }
.imgo-chat-design .lemon-menu__item:hover { background:#ffffff12; color:#fff; }
.imgo-chat-design .lemon-menu__item--active { background:#4276d5; color:#fff; box-shadow:0 4px 12px #11234330; }
.imgo-chat-design .lemon-menu__avatar { margin-bottom:22px; box-shadow:0 0 0 3px #ffffff15; }
.imgo-chat-design .lemon-sidebar { width:280px; background:#fbfcfe; }
.imgo-chat-design .lemon-sidebar__fixed-top { background:#fbfcfe; }
.imgo-chat-design .contact-fixedtop-box { padding:14px 12px 8px; }
.imgo-chat-design .contact-fixedtop-box .el-input__inner { height:36px; font-size:13px; background:#f0f3f8; border-color:transparent; }
.imgo-chat-design .contact-fixedtop-box .el-input__inner:focus { border-color:#93b1e8; background:#fff; }
.imgo-chat-design .tab-main { margin:0 12px 8px; padding:3px; border-radius:8px; background:#f0f3f8; }
.imgo-chat-design .tab-item { font-size:12px; padding:4px 12px; }
.imgo-chat-design .tab-item.active { background:#fff; color:#4276d5; box-shadow:0 1px 4px #22365610; }
.imgo-chat-design .lemon-contact { margin:2px 0; border-radius:8px; }
.imgo-chat-design .lemon-contact-item { padding:12px 10px; }
.imgo-chat-design .lemon-contact--active { background:#eaf1fd !important; box-shadow:inset 3px 0 #4276d5; }
.imgo-chat-design .lemon-contact__name { font-size:14px; font-weight:500; }
.imgo-chat-design .lemon-contact__content { font-size:12px; line-height:18px; }
.imgo-chat-design .lemon-container__title { padding:12px 20px; min-height:48px; }
.imgo-chat-design .lemon-container__title:has(.imgo-chat-profile) { padding:7px 20px; min-height:0; }
.imgo-chat-design .lemon-messages { background:#f5f7fb; padding:20px 24px; }
.imgo-chat-design .lemon-message__content { font-size:14px; line-height:1.65; border-color:#e8edf4; box-shadow:0 2px 4px #21304704; }
.imgo-chat-design .lemon-message__time,.imgo-chat-design .lemon-message__title { color:#9aa5b5; font-size:11px; }
.imgo-chat-design .lemon-message-event__content { border:0; padding:3px 8px; }
.imgo-chat-design .lemon-editor { height:170px; }
.imgo-chat-design .lemon-editor__input .chat-rich-text { border-color:transparent; background:#fff; border-radius:8px; }
.imgo-chat-design .lemon-editor__input .chat-rich-text:focus { background:#fafcff; border-color:#d6e3f8; }
.imgo-chat-design .lemon-editor__submit .lemon-button { background:#4276d5; border-color:#4276d5; color:#fff; font-size:13px; border-radius:8px; padding:6px 18px; box-shadow:none; }
.imgo-chat-design .lemon-editor__submit .lemon-button[disabled] { background:#f0f3f8; color:#a1aabb; border-color:#e4e9f1; }
.imgo-chat-design .cover { color:#aab6c8; }
.imgo-chat-design ::-webkit-scrollbar { width:5px; height:5px; }
.imgo-chat-design ::-webkit-scrollbar-thumb { background:#cbd4e2; border-radius:10px; }
.imgo-chat-design ::-webkit-scrollbar-track { background:transparent; }
.imgo-chat-design .el-dialog { border-radius:12px; overflow:hidden; }
.imgo-chat-design .el-dialog__header { border-bottom:1px solid #edf0f5; padding:18px 22px; }
.imgo-chat-design .el-dialog__body { padding:20px 22px; }
.imgo-chat-design .el-input__inner { border-radius:7px; }
.imgo-chat-design .apply-list-item { border-radius:8px; border-bottom-color:#edf0f5; }
@media(max-height:700px) { .imgo-chat-design .lemon-editor { height:142px; } .imgo-chat-design .lemon-menu__item { margin-top:2px; margin-bottom:2px; padding-top:7px; padding-bottom:7px; } }
@media(max-width:1000px) { .main-container:has(.imgo-chat-design):not(.imgo-admin) { padding:10px; } .main-container:not(.imgo-admin) .imgo-chat-design { height:calc(100dvh - 20px); } .imgo-chat-design .lemon-sidebar { width:230px; } .imgo-chat-design .imgo-profile-meta { max-width:150px; } }
@media(max-width:700px) { .main-container:has(.imgo-chat-design):not(.imgo-admin) { padding:0; } .main-container:not(.imgo-admin) .imgo-chat-design { height:100dvh; border-radius:0; border:0; } .imgo-chat-design .lemon-menu { width:50px; } .imgo-chat-design .lemon-menu__item { width:36px; margin-left:7px; margin-right:7px; padding-left:4px; padding-right:4px; } .imgo-chat-design .lemon-sidebar { width:185px; } .imgo-chat-design .lemon-messages { padding:12px; } .imgo-chat-design .imgo-profile-meta { display:none; } }

/* IMGO_CHAT_ACCOUNT_SWITCHER_CSS_BEGIN */
.imgo-account-switch-dialog {
  border-radius: 14px;
  overflow: hidden;
}

.imgo-account-switch-dialog .el-dialog__header {
  padding: 20px 22px 14px;
  border-bottom: 1px solid #edf0f5;
}

.imgo-account-switch-dialog .el-dialog__body {
  padding: 14px 22px 4px;
}

.imgo-account-switch-dialog .el-dialog__footer {
  padding: 14px 22px 20px;
  border-top: 1px solid #edf0f5;
}

.imgo-account-switcher__tip {
  margin-bottom: 12px;
  color: #8b93a5;
  font-size: 13px;
  line-height: 1.6;
}

.imgo-account-switcher__list {
  max-height: min(52vh, 430px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.imgo-account-switcher__item {
  display: flex;
  align-items: center;
  min-height: 68px;
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 1px solid #e8ecf2;
  border-radius: 10px;
  background: #fff;
}

.imgo-account-switcher__item.is-current {
  border-color: #8eb1ff;
  background: #f5f8ff;
}

.imgo-account-switcher__identity {
  flex: 1;
  min-width: 0;
  padding: 0 12px;
}

.imgo-account-switcher__name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #27344c;
  font-weight: 600;
}

.imgo-account-switcher__name > span:first-child,
.imgo-account-switcher__account {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.imgo-account-switcher__current {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 999px;
  color: #356dd8;
  background: #e5eeff;
  font-size: 11px;
  font-weight: 500;
}

.imgo-account-switcher__account {
  margin-top: 5px;
  color: #9198a8;
  font-size: 12px;
}

.imgo-account-switcher__actions {
  display: flex;
  align-items: center;
}

.imgo-account-switcher__remove {
  margin-left: 8px !important;
  color: #a1a7b3 !important;
}

.imgo-account-switcher__empty {
  padding: 32px 0;
  color: #a1a7b3;
  text-align: center;
}

.imgo-account-switcher__empty i {
  font-size: 36px;
}

.imgo-account-switcher__footer .el-button {
  width: 100%;
}

@media (max-width: 700px) {
  .el-dialog__wrapper:has(.imgo-account-switch-dialog) {
    display: flex;
    align-items: flex-end;
    padding: 0;
  }

  .imgo-account-switch-dialog {
    width: 100% !important;
    max-height: 82dvh;
    margin: 0 !important;
    border-radius: 18px 18px 0 0;
  }

  .imgo-account-switch-dialog .el-dialog__header {
    padding: 18px 18px 13px;
  }

  .imgo-account-switch-dialog .el-dialog__body {
    padding: 12px 14px 2px;
  }

  .imgo-account-switch-dialog .el-dialog__footer {
    padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
  }

  .imgo-account-switcher__list {
    max-height: calc(82dvh - 178px);
  }

  .imgo-account-switcher__item {
    min-height: 72px;
    padding: 10px;
  }

  .imgo-account-switcher__identity {
    padding: 0 9px;
  }

  .imgo-account-switcher__actions {
    flex-direction: column;
  }

  .imgo-account-switcher__actions .el-button {
    min-width: 56px;
    min-height: 34px;
    margin: 0 !important;
  }

  .imgo-account-switcher__remove {
    min-height: 30px !important;
  }

  .imgo-account-switcher__footer .el-button {
    min-height: 44px;
  }
}
/* IMGO_CHAT_ACCOUNT_SWITCHER_CSS_END */

/* IMGO_ADD_ACCOUNT_LOGIN_BEGIN */
.imgo-add-account-login {
  position: relative;
  isolation: isolate;
  background-position: center;
}

.imgo-add-account-login::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 18% 16%, rgba(113, 168, 255, .32), transparent 34%),
    linear-gradient(160deg, rgba(9, 30, 66, .18), rgba(9, 30, 66, .48));
}

.imgo-add-account-login .form-box {
  position: relative;
}

.imgo-add-account-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 12px -4px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  color: #718096;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: color .18s ease, background .18s ease;
}

.imgo-add-account-back:hover {
  color: #3478e5;
  background: #f2f6fd;
}

.imgo-add-account-login .form-title {
  margin-bottom: 18px !important;
}

.imgo-add-account-login .form-title img {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(52, 120, 229, .2);
}

.imgo-add-account-login .form-title p {
  margin-top: 14px !important;
  color: #202b3c;
  font-size: 23px !important;
  font-weight: 650;
  letter-spacing: .5px;
}

.imgo-add-account-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  padding: 11px 13px;
  border: 1px solid #dbe8ff;
  border-radius: 12px;
  color: #58708f;
  background: #f4f8ff;
  font-size: 12px;
  line-height: 1.55;
}

.imgo-add-account-note i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #4c8df3;
  font-size: 16px;
}

.imgo-add-account-note strong,
.imgo-add-account-note span {
  display: block;
}

.imgo-add-account-note strong {
  margin-bottom: 2px;
  color: #2f5f9f;
  font-size: 13px;
}

@media (max-width: 700px) {
  .imgo-add-account-login {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    padding: max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    background-position: center;
  }

  .imgo-add-account-login .form-box {
    box-sizing: border-box;
    width: min(100%, 390px);
    margin: auto;
    padding: 18px 20px 22px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 60px rgba(6, 25, 57, .24);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .imgo-add-account-back {
    min-height: 40px;
    margin-bottom: 4px;
    font-size: 14px;
  }

  .imgo-add-account-login .form-title {
    margin-bottom: 16px !important;
  }

  .imgo-add-account-login .form-title img {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  .imgo-add-account-login .form-title p {
    margin: 12px 0 0 !important;
    font-size: 22px !important;
  }

  .imgo-add-account-note {
    margin-bottom: 18px;
  }

  .imgo-add-account-login .el-form-item {
    margin-bottom: 17px;
  }

  .imgo-add-account-login .el-input__inner {
    height: 48px;
    padding-left: 40px;
    border-color: #dfe5ed;
    border-radius: 12px;
    color: #263449;
    background: #fbfcfe;
    font-size: 16px;
    line-height: 48px;
  }

  .imgo-add-account-login .el-input__inner:focus {
    border-color: #5b98f5;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(64, 137, 238, .1);
  }

  .imgo-add-account-login .el-input__prefix,
  .imgo-add-account-login .el-input__icon {
    line-height: 48px;
  }

  .imgo-add-account-login .remenber {
    min-height: 32px;
  }

  .imgo-add-account-login .el-checkbox__label,
  .imgo-add-account-login .el-button--text {
    font-size: 14px;
  }

  .imgo-add-account-login .login-form > .el-form-item:nth-last-of-type(1) .el-button--primary,
  .imgo-add-account-login .el-button--primary {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #5b9cf6, #3978e8);
    box-shadow: 0 10px 22px rgba(57, 120, 232, .24);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 4px;
  }

  .imgo-add-account-login .login-form > .el-button.is-plain {
    min-height: 44px;
    border-color: #e0e6ef;
    border-radius: 11px;
    color: #5d6b7e;
    background: #f8fafc;
  }

  .imgo-add-account-login .c-999 {
    margin-top: 2px;
    color: #a0a8b5;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .imgo-add-account-login {
    padding-right: 10px;
    padding-left: 10px;
  }

  .imgo-add-account-login .form-box {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-height: 650px) and (max-width: 700px) {
  .imgo-add-account-login {
    align-items: flex-start;
  }

  .imgo-add-account-login .form-title img {
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }

  .imgo-add-account-login .form-title p {
    margin-top: 8px !important;
    font-size: 19px !important;
  }

  .imgo-add-account-note {
    margin-bottom: 14px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
/* IMGO_ADD_ACCOUNT_LOGIN_END */

.imgo-role-page{padding:24px;min-height:calc(100vh - 72px);background:#f5f7fb;color:#25324b}.imgo-role-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.imgo-role-heading h1{margin:0 0 6px;font-size:24px}.imgo-role-heading p{margin:0;color:#8a96ab}.imgo-role-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;min-height:600px}.imgo-role-list,.imgo-role-editor{background:#fff;border:1px solid #e7ebf3;border-radius:14px;box-shadow:0 8px 28px rgba(36,55,87,.06)}.imgo-role-list{padding:12px}.imgo-role-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;width:100%;padding:14px;margin:0 0 8px;border:1px solid transparent;border-radius:10px;background:#f8faff;text-align:left;color:#34425d;cursor:pointer}.imgo-role-card:hover,.imgo-role-card.is-active{border-color:#5d8df7;background:#eef4ff}.imgo-role-card-name{font-size:15px;font-weight:600}.imgo-role-card-count{color:#8b97aa}.imgo-role-card-status{grid-column:1/-1;font-size:12px}.imgo-role-card-status.is-enabled{color:#28a66a}.imgo-role-card-status.is-disabled{color:#a1a9b8}.imgo-role-empty{padding:40px 10px;text-align:center;color:#a1a9b8}.imgo-role-editor{padding:24px 28px}.imgo-role-editor-title{padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid #edf0f5;font-size:18px;font-weight:600}.imgo-role-permissions{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px}.imgo-role-permissions .el-checkbox{display:flex;align-items:center;margin:0!important;padding:13px;border:1px solid #e7ebf3;border-radius:9px}.imgo-role-permissions .el-checkbox__label{display:flex;align-items:center;justify-content:space-between;width:100%}.imgo-role-permissions small{margin-left:12px;color:#9aa5b7}.imgo-role-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:18px;border-top:1px solid #edf0f5}.imgo-member-role-select{width:118px}@media(max-width:900px){.imgo-role-layout{grid-template-columns:1fr}.imgo-role-list{display:flex;overflow:auto}.imgo-role-card{min-width:190px;margin:0 8px 0 0}.imgo-role-permissions{grid-template-columns:1fr}}
.imgo-role-system-note{padding:14px 16px;border:1px solid #d9e5ff;border-radius:9px;background:#f2f6ff;color:#6680ad}
.imgo-role-agent-help{margin:7px 0 0;color:#8a96ab;font-size:12px;line-height:1.5}

.imgo-audit-page { padding:24px; color:#2f3d54; }
.imgo-audit-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.imgo-audit-heading h1 { margin:0 0 5px; font-size:22px; }
.imgo-audit-heading p { margin:0; color:#8b97aa; font-size:13px; }
.imgo-audit-filters { display:grid; grid-template-columns:minmax(240px,1fr) 150px 140px 130px auto; gap:10px; margin-bottom:16px; }
.imgo-audit-sub { display:block; margin-top:3px; color:#9aa5b6; font-size:11px; font-weight:400; }
.imgo-audit-action { display:inline-flex; align-items:center; gap:6px; }
.imgo-audit-action b { color:#3f68c7; }
.imgo-audit-action i { color:#abb4c3; font-style:normal; }
.imgo-audit-table code { color:#596980; font-family:SFMono-Regular,Consolas,"Liberation Mono",monospace; }
.imgo-audit-pagination { display:flex; justify-content:flex-end; margin-top:18px; }
.imgo-audit-request-line { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.imgo-audit-request-line code { color:#42526a; font-family:SFMono-Regular,Consolas,"Liberation Mono",monospace; }
.imgo-audit-request-block { margin-bottom:16px; }
.imgo-audit-request-block h3 { margin:0 0 8px; color:#53627a; font-size:13px; }
.imgo-audit-request-block pre { max-height:260px; margin:0; padding:14px; overflow:auto; border:1px solid #e1e7f0; border-radius:8px; background:#f7f9fc; color:#34445d; font:12px/1.65 SFMono-Regular,Consolas,"Liberation Mono",monospace; white-space:pre-wrap; overflow-wrap:anywhere; }
@media (max-width:1000px) { .imgo-audit-filters { grid-template-columns:1fr 1fr; } }

.imgo-security-settings { max-width:760px; padding:20px 12px; }
.imgo-security-settings .el-alert { margin-bottom:24px; }
.imgo-security-state { margin-left:12px; color:#6f7d92; }
.imgo-security-description { color:#6f7d92; font-size:13px; line-height:1.8; }
.imgo-security-description p { margin:0; }
.imgo-security-settings .el-divider { margin:30px 0 24px; }
.imgo-security-settings .el-textarea { max-width:560px; }
.imgo-security-ip-editor { max-width:560px; }
.imgo-security-ip-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; max-height:122px; padding:6px; overflow:auto; border:1px solid #dfe6f1; border-radius:7px; background:#f8faff; }
.imgo-security-ip-row { position:relative; min-width:0; padding:5px 25px 5px 8px; border:1px solid #e1e8f3; border-radius:5px; background:#eef4ff; color:#354764; font-family:SFMono-Regular,Consolas,"Liberation Mono",monospace; font-size:12px; line-height:18px; overflow-wrap:anywhere; }
.imgo-security-ip-remove { position:absolute; top:4px; right:4px; width:20px; height:20px; padding:0; border:0; border-radius:4px; background:transparent; color:#8b98ab; cursor:pointer; font:16px/18px Arial,sans-serif; }
.imgo-security-ip-remove:hover { background:#fff; color:#f05b68; }
.imgo-security-ip-empty { padding:24px; border:1px dashed #d9e1ed; border-radius:8px; background:#fafbfd; color:#9aa6b8; text-align:center; }
.imgo-security-ip-add { display:flex; gap:8px; margin-top:10px; }
.imgo-security-ip-add .el-input { flex:1; }
@media (max-width:700px) { .imgo-security-ip-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:480px) { .imgo-security-ip-list { grid-template-columns:1fr; } }
.imgo-security-save { margin-top:12px; }
.imgo-google-auth-dialog .el-alert { margin-bottom:18px; }
.imgo-google-auth-setup { display:flex; align-items:flex-start; gap:22px; }
.imgo-google-auth-qr { width:210px; height:210px; border:1px solid #e5eaf2; border-radius:10px; background:#fff; object-fit:contain; }
.imgo-google-auth-fields { min-width:0; flex:1; color:#536176; }
.imgo-google-auth-fields p { margin:5px 0 8px; }
.imgo-google-auth-secret { display:flex; align-items:center; gap:8px; margin-bottom:14px; }
.imgo-google-auth-secret code { overflow:hidden; padding:7px 9px; border-radius:6px; background:#f3f6fa; color:#34415a; font-size:12px; overflow-wrap:anywhere; }
.imgo-google-auth-expire { margin-top:8px; color:#98a3b5; font-size:12px; }
@media (max-width:620px) { .imgo-google-auth-setup { align-items:center; flex-direction:column; } .imgo-google-auth-fields { width:100%; } }
.imgo-login-google-tip { margin-top:5px; color:#98a3b5; font-size:11px; line-height:1.4; }

.imgo-system-alert { max-width:820px; padding:20px 12px; }
.imgo-system-alert .el-alert { margin-bottom:24px; }
.imgo-system-alert .el-input { max-width:560px; }
.imgo-system-alert-state { margin-left:12px; color:#6f7d92; }
.imgo-system-alert-secret { display:flex; max-width:680px; gap:10px; align-items:flex-start; }
.imgo-system-alert-secret .el-input { flex:1; }
.imgo-system-alert-help { max-width:680px; margin-top:6px; color:#6f7d92; font-size:13px; line-height:1.75; }
.imgo-system-alert-help p { margin:0; }
.imgo-system-alert .el-checkbox { min-width:145px; margin:0 22px 10px 0; }
.imgo-system-alert-option-group { max-width:680px; padding:2px 0 8px; }
.imgo-system-alert-option-group + .imgo-system-alert-option-group { margin-top:8px; padding-top:14px; border-top:1px solid #ebeef5; }
.imgo-system-alert-option-title { margin-bottom:10px; color:#303133; font-weight:600; }
.imgo-system-alert-option-items { display:flex; flex-wrap:wrap; }
@media (max-width:640px) {
  .imgo-system-alert { padding:14px 4px; }
  .imgo-system-alert-secret { display:block; }
  .imgo-system-alert-secret .el-button { margin-top:8px; }
}

/* IMGO_MOBILE_COMPAT_BEGIN
   Shared phone layout for the management shell, management quick chat and
   standalone chat. Desktop rules remain in their original stylesheets. */

.imgo-mobile-chat-back {
  display: none;
}

@media (max-width: 760px) {
  html:has(.imgo-admin),
  body:has(.imgo-admin) {
    width: 100%;
    min-width: 0;
    height: 100%;
    overflow: hidden;
  }

  .imgo-admin.main-container,
  .imgo-admin > .el-container {
    width: 100%;
    min-width: 0;
    height: 100dvh !important;
    min-height: 0 !important;
    overflow: hidden;
  }

  .imgo-admin > .el-container > .el-header {
    height: 54px !important;
    flex: 0 0 54px;
    padding: 0 10px;
  }

  .imgo-admin .el-header .logo {
    min-width: 0;
    height: 54px;
    overflow: hidden;
  }

  .imgo-admin .el-header .logo .image,
  .imgo-admin .el-header .logo img {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  .imgo-admin .el-header .logo .f-20 {
    max-width: 100px;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .imgo-admin .el-header .text-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 54px;
    min-width: 0;
    white-space: nowrap;
  }

  .imgo-admin .el-header .text-right > a,
  .imgo-admin .el-header .text-right > .el-link {
    max-width: 74px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .imgo-admin .el-header .username {
    display: none !important;
  }

  .imgo-admin > .el-container > .el-container {
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
  }

  .imgo-admin .main-aside {
    order: 2;
    width: 100% !important;
    height: 60px !important;
    min-height: 60px;
    flex: 0 0 60px;
    overflow: hidden;
    border-top: 1px solid var(--admin-border);
    border-right: 0;
    box-shadow: 0 -3px 16px #28395a10;
    z-index: 20;
  }

  .imgo-admin .aside-menu {
    width: 100%;
    height: 60px;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .imgo-admin .aside-menu::-webkit-scrollbar {
    display: none;
  }

  .imgo-admin .aside-menu .el-scrollbar,
  .imgo-admin .aside-menu .el-scrollbar__wrap,
  .imgo-admin .aside-menu .el-scrollbar__view {
    width: 100%;
    height: 60px;
  }

  .imgo-admin .aside-menu .el-scrollbar__wrap {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    margin: 0 !important;
    -webkit-overflow-scrolling: touch;
  }

  .imgo-admin .aside-menu .el-scrollbar__view > .el-menu,
  .imgo-admin .aside-menu .el-scrollbar__view > .el-menu.el-menu--collapse {
    display: flex;
    width: max-content;
    min-width: 100%;
    height: 60px;
    padding: 0 4px;
    border-right: 0;
    box-sizing: border-box;
  }

  .imgo-admin .aside-menu .el-scrollbar__view > .el-menu > .el-menu-item,
  .imgo-admin .aside-menu .el-scrollbar__view > .el-menu > .el-submenu {
    width: 64px;
    min-width: 64px;
    height: 60px;
    margin: 0;
    flex: 0 0 64px;
  }

  .imgo-admin .aside-menu .el-menu-item,
  .imgo-admin .aside-menu .el-submenu__title,
  .imgo-admin .el-menu--collapse .el-menu-item,
  .imgo-admin .el-menu--collapse .el-submenu__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 64px;
    height: 60px;
    margin: 0;
    padding: 4px 3px !important;
    border-radius: 0;
    box-sizing: border-box;
    line-height: 1.1;
  }

  .imgo-admin .aside-menu .el-menu-item i,
  .imgo-admin .aside-menu .el-submenu__title > span > i {
    margin: 0;
    font-size: 19px;
  }

  .imgo-admin .aside-menu .el-menu-item span,
  .imgo-admin .aside-menu .el-submenu__title > span {
    position: static;
    display: block;
    width: auto;
    height: auto;
    max-width: 58px;
    overflow: hidden;
    font-size: 10px;
    line-height: 13px;
    text-overflow: ellipsis;
    visibility: visible;
    white-space: nowrap;
  }

  .imgo-admin .aside-menu .el-submenu__title > span {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .imgo-admin .aside-menu .el-submenu__icon-arrow,
  .imgo-admin .aside-bottom {
    display: none !important;
  }

  .imgo-admin .aside-menu .el-submenu.imgo-mobile-submenu-open > .el-menu--vertical {
    position: fixed !important;
    z-index: 2001;
    right: 8px;
    bottom: 68px;
    left: 8px;
    display: block !important;
    width: auto;
  }

  .imgo-admin .aside-menu .el-submenu.imgo-mobile-submenu-open > .el-menu--vertical > .el-menu--popup,
  .imgo-admin .aside-menu .el-submenu.imgo-mobile-submenu-open > .el-menu--inline {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 8px;
    border: 1px solid #dfe5ef;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 -8px 28px #22365624;
  }

  .imgo-admin .aside-menu .el-submenu.imgo-mobile-submenu-open > .el-menu--vertical > .el-menu--popup {
    position: static !important;
    width: 100%;
  }

  .imgo-admin .aside-menu .el-submenu.imgo-mobile-submenu-open > .el-menu--inline {
    position: fixed !important;
    z-index: 2001;
    right: 8px;
    bottom: 68px;
    left: 8px;
    width: auto;
  }

  .imgo-admin .aside-menu .el-submenu.imgo-mobile-submenu-open > .el-menu--vertical > .el-menu--popup::before,
  .imgo-admin .aside-menu .el-submenu.imgo-mobile-submenu-open > .el-menu--vertical > .el-menu--popup::after,
  .imgo-admin .aside-menu .el-submenu.imgo-mobile-submenu-open > .el-menu--inline::before,
  .imgo-admin .aside-menu .el-submenu.imgo-mobile-submenu-open > .el-menu--inline::after {
    display: none;
  }

  .imgo-admin .aside-menu .el-submenu.imgo-mobile-submenu-open .el-menu--popup > .el-menu-item,
  .imgo-admin .aside-menu .el-submenu.imgo-mobile-submenu-open > .el-menu--inline > .el-menu-item {
    display: flex;
    width: 100%;
    height: 44px;
    min-width: 0;
    margin: 0;
    padding: 0 12px !important;
    flex-direction: row;
    gap: 7px;
    border-radius: 8px;
    line-height: 44px;
  }

  .imgo-admin .aside-menu .el-submenu.imgo-mobile-submenu-open .el-menu--popup > .el-menu-item span,
  .imgo-admin .aside-menu .el-submenu.imgo-mobile-submenu-open > .el-menu--inline > .el-menu-item span {
    max-width: none;
    font-size: 13px;
    line-height: 1;
  }

  .imgo-admin .el-main {
    order: 1;
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    padding: 10px !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .imgo-admin .el-main > .pd-20,
  .imgo-admin .pd-20.imgo-overview,
  .imgo-admin .imgo-overview {
    padding: 0 !important;
  }

  .imgo-admin .el-card {
    border-radius: 10px;
  }

  .imgo-admin .el-card__header,
  .imgo-admin .el-card__body {
    padding: 12px;
  }

  .imgo-admin .el-card__body > .lz-flex,
  .imgo-admin .el-main .lz-flex.lz-space-between {
    flex-wrap: wrap;
    gap: 8px;
  }

  .imgo-admin .el-card__body > .lz-flex > div,
  .imgo-admin .el-card__body > .lz-flex > form {
    min-width: 0;
  }

  .imgo-admin .el-main:has(.imgo-member-referral-filter) .el-card__body {
    padding: 10px;
  }

  .imgo-admin .el-main:has(.imgo-member-referral-filter) .lz-flex:has(.imgo-member-referral-filter) {
    align-items: stretch;
  }

  .imgo-admin .imgo-member-referral-filter,
  .imgo-admin .imgo-member-referral-filter > .el-input,
  .imgo-admin .imgo-member-referral-filter .el-select {
    width: 100%;
  }

  .imgo-admin .lz-flex:has(> div > .imgo-member-referral-filter) > div {
    width: 100%;
  }

  .imgo-admin .lz-flex:has(> div > .imgo-member-referral-filter) > div > .el-button.mr-15 {
    width: 100%;
    margin-left: 0;
  }

  .imgo-admin .el-table {
    width: 100% !important;
    max-width: 100%;
    border-radius: 8px;
  }

  .imgo-admin .el-table__fixed,
  .imgo-admin .el-table__fixed-right {
    display: none !important;
  }

  .imgo-admin .el-table__body-wrapper {
    overflow-x: auto !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .imgo-admin .el-table td,
  .imgo-admin .el-table th {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .imgo-admin .el-pagination,
  body:has(.imgo-admin) .el-pagination {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 0 2px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .imgo-admin .el-tabs__nav-wrap {
    overflow: hidden;
  }

  .imgo-admin .el-tabs__nav-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .imgo-admin .el-tabs__nav-scroll::-webkit-scrollbar {
    display: none;
  }

  .imgo-admin .el-tabs__nav {
    float: none;
    width: max-content;
  }

  .imgo-admin .el-tabs__item {
    padding: 0 14px;
  }

  .imgo-admin .imgo-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .imgo-admin .imgo-overview-middle,
  .imgo-admin .imgo-charts {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .imgo-admin .imgo-page-heading,
  .imgo-page-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 14px;
  }

  .imgo-page-heading h1 {
    font-size: 20px;
  }

  /* The group page is a desktop split pane. On a phone both panes stay
     reachable in one vertical scroll instead of collapsing the member pane. */
  .imgo-admin .pd-20:has(> .el-container > .el-aside > .group-box) > .el-container {
    display: flex;
    width: 100%;
    height: auto !important;
    min-height: 0;
    flex-direction: column;
    overflow: visible;
  }

  .imgo-admin .pd-20:has(> .el-container > .el-aside > .group-box) > .el-container > .el-aside {
    width: 100% !important;
    height: min(42dvh, 350px);
    min-height: 230px;
    flex: none;
    border-right: 0;
    border-bottom: 1px solid #e8edf5;
  }

  .imgo-admin .pd-20:has(> .el-container > .el-aside > .group-box) > .el-container > .el-aside > .group-box {
    width: 100%;
    height: 100% !important;
  }

  .imgo-admin .pd-20:has(> .el-container > .el-aside > .group-box) > .el-container > .el-main {
    width: 100%;
    min-height: 360px;
    padding: 10px 0 0 !important;
    overflow: visible;
  }

  .imgo-admin .group-user-box {
    width: 100% !important;
    min-width: 0;
    min-height: 360px;
    box-sizing: border-box;
  }

  .imgo-admin .group-user-box > div,
  .imgo-admin .group-user-box .el-table {
    min-width: 0;
    max-width: 100%;
  }

  body:has(.imgo-admin) > .el-dialog__wrapper {
    padding: 8px;
    box-sizing: border-box;
    overflow: auto;
  }

  body:has(.imgo-admin) .el-dialog:not(.sideMenu-message) {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px);
    margin: 8px auto !important;
    display: flex;
    flex-direction: column;
  }

  body:has(.imgo-admin) .el-dialog:not(.sideMenu-message) .el-dialog__header,
  body:has(.imgo-admin) .el-dialog:not(.sideMenu-message) .el-dialog__footer {
    flex: none;
    padding: 14px 16px;
  }

  body:has(.imgo-admin) .el-dialog:not(.sideMenu-message) .el-dialog__body {
    min-height: 0;
    padding: 14px 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .imgo-admin .el-form:not(.el-form--inline) .el-form-item__label,
  body:has(.imgo-admin) .el-dialog .el-form:not(.el-form--inline) .el-form-item__label {
    float: none;
    width: auto !important;
    padding: 0 0 7px;
    line-height: 1.4;
    text-align: left;
  }

  .imgo-admin .el-form:not(.el-form--inline) .el-form-item__content,
  body:has(.imgo-admin) .el-dialog .el-form:not(.el-form--inline) .el-form-item__content {
    margin-left: 0 !important;
  }

  .imgo-admin .el-form:not(.el-form--inline) .el-select,
  .imgo-admin .el-form:not(.el-form--inline) .el-input,
  body:has(.imgo-admin) .el-dialog .el-form:not(.el-form--inline) .el-select,
  body:has(.imgo-admin) .el-dialog .el-form:not(.el-form--inline) .el-input {
    max-width: 100%;
  }

  body:has(.imgo-admin) .el-transfer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  body:has(.imgo-admin) .el-transfer-panel {
    width: 100%;
  }

  body:has(.imgo-admin) .el-transfer__buttons {
    display: flex;
    justify-content: center;
    padding: 0;
    transform: rotate(90deg);
  }

  .imgo-broadcast-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .imgo-broadcast-search,
  .imgo-broadcast-count {
    width: 100%;
    margin-left: 0;
  }

  .imgo-broadcast-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  html:has(.imgo-chat-design),
  body:has(.imgo-chat-design) {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .main-container:has(.imgo-chat-design):not(.imgo-admin),
  .main-container:has(.imgo-chat-design):not(.imgo-admin) > div:has(> .imgo-chat-design) {
    width: 100%;
    min-width: 0;
    height: 100dvh;
    padding: 0;
    overflow: hidden;
  }

  .main-container:not(.imgo-admin) .imgo-chat-design,
  .sideMenu-message .imgo-chat-design,
  .sideMenu-message .chat-box {
    width: 100%;
    min-width: 0;
    height: 100% !important;
    max-height: none !important;
    border: 0;
    border-radius: 0;
  }

  .imgo-chat-design .lemon-wrapper,
  .sideMenu-message .lemon-wrapper {
    position: relative;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding-bottom: 58px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .imgo-chat-design .lemon-menu,
  .sideMenu-message .lemon-menu {
    position: absolute;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-around;
    width: 100% !important;
    height: 58px;
    min-height: 58px;
    padding: 3px max(4px, env(safe-area-inset-right)) 3px max(4px, env(safe-area-inset-left));
    border-top: 1px solid #dfe5ee;
    border-right: 0;
    box-sizing: border-box;
    box-shadow: 0 -4px 16px #25395812;
  }

  .imgo-chat-design .lemon-menu__avatar,
  .sideMenu-message .lemon-menu__avatar {
    width: 36px !important;
    height: 36px !important;
    margin: 0 4px !important;
    flex: 0 0 36px;
  }

  .imgo-chat-design .lemon-menu__list,
  .sideMenu-message .lemon-menu__list {
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-width: 0;
    flex: 1;
  }

  .imgo-chat-design .lemon-menu__item,
  .sideMenu-message .lemon-menu__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 2px;
    padding: 7px 5px;
    flex: 0 0 42px;
    box-sizing: border-box;
  }

  /* Fullscreen and desktop-client download are desktop-only actions. */
  .imgo-chat-design .lemon-menu__item[title="全屏/窗口"],
  .imgo-chat-design .lemon-menu__item[title="客户端下载"],
  .sideMenu-message .lemon-menu__item[title="全屏/窗口"],
  .sideMenu-message .lemon-menu__item[title="客户端下载"] {
    display: none !important;
  }

  .imgo-chat-design .lemon-menu__bottom,
  .sideMenu-message .lemon-menu__bottom {
    position: static;
    display: flex;
    width: auto;
    height: 42px;
    flex-direction: row !important;
    align-items: center;
    flex: 0 0 auto;
  }

  .imgo-chat-design .lemon-sidebar,
  .sideMenu-message .lemon-sidebar {
    display: flex;
    width: 100% !important;
    min-width: 0;
    height: 100%;
    flex: 1 1 100%;
    border-right: 0;
  }

  .imgo-chat-design .lemon-container,
  .sideMenu-message .lemon-container {
    display: none;
    width: 100% !important;
    min-width: 0;
    height: 100%;
    flex: 1 1 100%;
  }

  /* The file manager is another Lemon content pane. The generic mobile
     shell hides content panes until a conversation is opened, so expose the
     active file pane and turn its desktop two-column layout into a compact
     vertical layout. Vue's inline display:none still wins for inactive panes. */
  .imgo-chat-design .lemon-container:has(.file-header),
  .sideMenu-message .lemon-container:has(.file-header) {
    display: flex;
    overflow: hidden;
    background: #fff;
  }

  .imgo-chat-design .lemon-wrapper:has(> .lemon-container:has(.file-header):not([style*="display: none"])) > .lemon-sidebar,
  .sideMenu-message .lemon-wrapper:has(> .lemon-container:has(.file-header):not([style*="display: none"])) > .lemon-sidebar {
    display: none;
  }

  .imgo-chat-design .lemon-container:has(.file-header) > .el-container,
  .sideMenu-message .lemon-container:has(.file-header) > .el-container {
    width: 100%;
    min-width: 0;
    height: 100%;
  }

  .imgo-chat-design .lemon-container:has(.file-header) .slider-aside,
  .sideMenu-message .lemon-container:has(.file-header) .slider-aside {
    flex: 0 0 50px;
  }

  .imgo-chat-design .lemon-container:has(.file-header) .file-header,
  .sideMenu-message .lemon-container:has(.file-header) .file-header {
    height: auto !important;
    min-height: 82px;
    padding: 10px 12px;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
    box-sizing: border-box;
  }

  .imgo-chat-design .lemon-container:has(.file-header) .file-header-title,
  .sideMenu-message .lemon-container:has(.file-header) .file-header-title,
  .imgo-chat-design .lemon-container:has(.file-header) .file-header-search,
  .sideMenu-message .lemon-container:has(.file-header) .file-header-search {
    width: 100%;
  }

  .imgo-chat-design .lemon-container:has(.file-header) .file-header-search .el-input,
  .sideMenu-message .lemon-container:has(.file-header) .file-header-search .el-input {
    width: 100% !important;
  }

  .imgo-chat-design .lemon-container:has(.file-header) .file-header + .el-container,
  .sideMenu-message .lemon-container:has(.file-header) .file-header + .el-container {
    min-width: 0;
    min-height: 0;
    flex-direction: column;
  }

  .imgo-chat-design .lemon-container:has(.file-header) aside.group-box,
  .sideMenu-message .lemon-container:has(.file-header) aside.group-box {
    width: 100% !important;
    height: auto;
    min-height: 44px;
    flex: 0 0 auto;
    overflow-x: auto;
    border-right: 1px solid #e6e6e6;
    box-sizing: border-box;
  }

  .imgo-chat-design .lemon-container:has(.file-header) aside.group-box .group-box-list,
  .sideMenu-message .lemon-container:has(.file-header) aside.group-box .group-box-list {
    display: flex;
    min-width: max-content;
    overflow: visible;
  }

  .imgo-chat-design .lemon-container:has(.file-header) aside.group-box .chat-item,
  .sideMenu-message .lemon-container:has(.file-header) aside.group-box .chat-item {
    flex: 0 0 auto;
    padding: 11px 14px;
    white-space: nowrap;
  }

  .imgo-chat-design .lemon-container:has(.file-header) .group-user-box,
  .sideMenu-message .lemon-container:has(.file-header) .group-user-box {
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    border-left: 1px solid #e6e6e6;
    overflow-y: auto;
  }

  .imgo-chat-design .lemon-container:has(.file-header) .file-list,
  .sideMenu-message .lemon-container:has(.file-header) .file-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
  }

  .imgo-chat-design .lemon-container:has(.file-header) .file-item,
  .sideMenu-message .lemon-container:has(.file-header) .file-item {
    width: auto;
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
  }

  /* Settings is rendered in a Lemon container alongside the conversation.
     Vue uses an inline display:none on inactive panes, so this rule exposes
     only the active settings pane while keeping inactive panes hidden. */
  .imgo-chat-design .lemon-container:has(.setting-switch),
  .sideMenu-message .lemon-container:has(.setting-switch) {
    display: flex;
    overflow: hidden;
    background: #fff;
  }

  .imgo-chat-design .lemon-wrapper:has(> .lemon-container:has(.setting-switch):not([style*="display: none"])) > .lemon-sidebar,
  .sideMenu-message .lemon-wrapper:has(> .lemon-container:has(.setting-switch):not([style*="display: none"])) > .lemon-sidebar {
    display: none;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) > .el-tabs--left,
  .sideMenu-message .lemon-container:has(.setting-switch) > .el-tabs--left {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 100% !important;
    flex-direction: column;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .el-tabs__header.is-left,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-tabs__header.is-left {
    float: none;
    width: 100%;
    margin: 0;
    flex: 0 0 48px;
    border-bottom: 1px solid #e7ebf2;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .el-tabs__nav-wrap.is-left,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-tabs__nav-wrap.is-left {
    padding: 0;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .el-tabs__nav-wrap.is-left::after,
  .imgo-chat-design .lemon-container:has(.setting-switch) .el-tabs__active-bar.is-left,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-tabs__nav-wrap.is-left::after,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-tabs__active-bar.is-left {
    display: none;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .el-tabs__nav.is-left,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-tabs__nav.is-left {
    display: flex;
    width: 100%;
    transform: none !important;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .el-tabs__item.is-left,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-tabs__item.is-left {
    height: 48px;
    padding: 0 18px;
    flex: 1 1 50%;
    border-bottom: 2px solid transparent;
    line-height: 48px;
    text-align: center;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .el-tabs__item.is-left.is-active,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-tabs__item.is-left.is-active {
    border-bottom-color: #409eff;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .el-tabs__content,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-tabs__content {
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .el-tab-pane.pd-20,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-tab-pane.pd-20 {
    padding: 16px !important;
    box-sizing: border-box;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .user-center,
  .sideMenu-message .lemon-container:has(.setting-switch) .user-center {
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .user-avatar,
  .sideMenu-message .lemon-container:has(.setting-switch) .user-avatar {
    width: 100%;
    margin-bottom: 20px;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .user-info,
  .sideMenu-message .lemon-container:has(.setting-switch) .user-info {
    width: 100%;
    min-width: 0;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .el-form-item__label,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-form-item__label {
    float: none;
    width: auto !important;
    padding: 0 0 7px;
    line-height: 1.4;
    text-align: left;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .el-form-item__content,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-form-item__content {
    margin-left: 0 !important;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .el-input,
  .imgo-chat-design .lemon-container:has(.setting-switch) .el-textarea,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-input,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-textarea {
    width: 100% !important;
    max-width: 100%;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .el-radio-group,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .el-radio.is-bordered,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-radio.is-bordered {
    margin: 0;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .setting-switch,
  .sideMenu-message .lemon-container:has(.setting-switch) .setting-switch {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 16px;
    line-height: 1.5;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .el-dialog__wrapper,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-dialog__wrapper {
    padding: 12px;
    box-sizing: border-box;
    overflow: auto;
  }

  .imgo-chat-design .lemon-container:has(.setting-switch) .el-dialog,
  .sideMenu-message .lemon-container:has(.setting-switch) .el-dialog {
    width: 100% !important;
    max-width: calc(100vw - 24px);
    margin: max(12px, 8dvh) auto !important;
  }

  .imgo-chat-design.imgo-mobile-conversation .lemon-sidebar,
  .sideMenu-message .imgo-mobile-conversation .lemon-sidebar {
    display: none;
  }

  .imgo-chat-design.imgo-mobile-conversation .lemon-container,
  .sideMenu-message .imgo-mobile-conversation .lemon-container {
    display: flex;
  }

  .imgo-mobile-chat-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 8px 0 0;
    padding: 0;
    flex: 0 0 34px;
    border: 0;
    border-radius: 8px;
    background: #f0f3f8;
    color: #52627c;
    font-size: 18px;
  }

  .message-title-box {
    min-width: 0;
  }

  .message-title-box > div:not(.message-title-tools) {
    min-width: 0;
    flex: 1;
  }

  .imgo-chat-design .lemon-container__title,
  .sideMenu-message .lemon-container__title {
    min-height: 52px;
    padding: 8px 10px;
  }

  .imgo-chat-design .message-title-tools,
  .sideMenu-message .message-title-tools {
    flex: 0 0 auto;
  }

  .imgo-chat-design .slot-group-list,
  .sideMenu-message .slot-group-list {
    display: none !important;
  }

  .imgo-chat-design .lemon-messages,
  .sideMenu-message .lemon-messages {
    padding: 10px;
  }

  .imgo-chat-design .lemon-message,
  .sideMenu-message .lemon-message {
    margin-bottom: 14px;
  }

  .imgo-chat-design .lemon-message__content,
  .sideMenu-message .lemon-message__content {
    max-width: min(76vw, 520px);
    padding: 8px 10px;
    font-size: 13px;
  }

  .imgo-chat-design .lemon-editor,
  .sideMenu-message .lemon-editor {
    height: 156px;
  }

  .imgo-chat-design .lemon-editor__tool,
  .sideMenu-message .lemon-editor__tool {
    height: 38px;
    padding: 3px 7px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
  }

  .imgo-chat-design .lemon-editor__inner,
  .sideMenu-message .lemon-editor__inner {
    padding: 2px 8px;
  }

  .imgo-chat-design .lemon-editor__footer,
  .sideMenu-message .lemon-editor__footer {
    height: 42px;
    padding: 5px 8px 8px;
  }

  .imgo-chat-design .lemon-editor__tip,
  .sideMenu-message .lemon-editor__tip {
    display: none;
  }

  .imgo-chat-design .imgo-chat-quick-trigger,
  .sideMenu-message .imgo-chat-quick-trigger {
    padding: 2px 5px;
  }

  .imgo-chat-design .imgo-profile-actions,
  .sideMenu-message .imgo-profile-actions {
    gap: 5px;
  }

  .imgo-chat-design .imgo-profile-trigger,
  .sideMenu-message .imgo-profile-trigger {
    padding: 4px 6px;
  }

  body:has(.imgo-admin) .el-dialog.sideMenu-message {
    width: calc(100vw - 12px) !important;
    max-width: calc(100vw - 12px) !important;
    height: calc(100dvh - 12px);
    margin: 6px auto !important;
    border-radius: 10px;
  }

  body:has(.imgo-admin) .sideMenu-message > .el-dialog__header {
    height: 48px;
    padding: 0 14px;
  }

  body:has(.imgo-admin) .sideMenu-message > .el-dialog__body {
    overflow: hidden !important;
  }

  body:has(.imgo-chat-design) > .el-dialog__wrapper .el-dialog:not(.sideMenu-message) {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px);
    margin: 8px auto !important;
    display: flex;
    flex-direction: column;
  }

  body:has(.imgo-chat-design) > .el-dialog__wrapper .el-dialog__body {
    min-height: 0;
    padding: 14px;
    overflow-y: auto;
  }

  body:has(.imgo-chat-design) .el-transfer {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  body:has(.imgo-chat-design) .el-transfer-panel {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .imgo-admin .el-header .logo .f-20 {
    max-width: 72px;
    font-size: 12px;
  }

  .imgo-admin .el-header .text-right > a,
  .imgo-admin .el-header .text-right > .el-link {
    max-width: 58px;
    font-size: 12px;
  }

  .imgo-admin .el-button + .el-button {
    margin-left: 4px;
  }

  .imgo-chat-design .lemon-menu__item,
  .sideMenu-message .lemon-menu__item {
    width: 38px;
    flex-basis: 38px;
  }
}
/* IMGO_MOBILE_COMPAT_END */
