:root { color: #1f2937; background: #f5f7fb; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button { min-height: 36px; border: 1px solid #2864d7; border-radius: 6px; background: #2864d7; color: #fff; cursor: pointer; font-weight: 650; }
button:disabled { cursor: not-allowed; opacity: .55; }
.hidden { display: none !important; }
.login-shell { display: grid; min-height: 100dvh; place-items: center; padding: 20px; background: #f3f6fb; }
.login-card { width: min(368px, 100%); padding: 32px; border: 1px solid #e1e7ef; border-radius: 14px; background: #fff; box-shadow: 0 18px 46px rgba(30, 52, 82, .09); }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; min-width: 55px; height: 28px; border-radius: 5px; background: #2864d7; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.login-card .brand-mark { display: flex; width: fit-content; min-width: 64px; height: 32px; margin: 0 auto 26px; border: 1px solid #dbe4f0; border-radius: 6px; background: #fff; color: #2864d7; box-shadow: 0 2px 8px rgba(40, 100, 215, .06); }
.brand-mark.compact { min-width: 42px; height: 24px; margin-right: 9px; font-size: 11px; }
h1 { margin: 18px 0 22px; font-size: 25px; }
.login-card > p { margin: 0 0 22px; color: #6b7280; font-size: 14px; line-height: 1.6; }
form { display: grid; gap: 15px; }
.login-card > form { gap: 18px; margin-top: 0; }
label { display: grid; gap: 7px; color: #4b5563; font-size: 13px; font-weight: 650; }
input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #d5dce7; border-radius: 8px; color: #1f2937; outline: 0; }
input::placeholder { color: #a4adba; }
input:focus { border-color: #6f9bea; box-shadow: 0 0 0 3px rgba(40, 100, 215, .12); }
textarea { width: 100%; padding: 10px 12px; resize: vertical; border: 1px solid #d5dce7; border-radius: 8px; color: #1f2937; outline: 0; }
textarea:focus { border-color: #6f9bea; box-shadow: 0 0 0 3px rgba(40, 100, 215, .12); }
.login-card form button { height: 44px; margin-top: 2px; border-radius: 8px; }
.login-card form .auth-mode-link { height: auto; min-height: 30px; margin-top: -4px; padding: 3px 0; border: 0; background: transparent; color: #2864d7; font-size: 13px; font-weight: 600; }
.login-card form .auth-mode-link:hover { color: #1e4fae; text-decoration: underline; }
select { width: 100%; height: 40px; padding: 0 34px 0 11px; border: 1px solid #d5dce7; border-radius: 6px; background: #fff; color: #1f2937; outline: 0; }
select:focus { border-color: #6f9bea; box-shadow: 0 0 0 3px rgba(40, 100, 215, .12); }
.portal-select-source { display: none !important; }
.portal-select-combobox { position: relative; width: 100%; }
.portal-select-combobox::after { position: absolute; top: 17px; right: 12px; width: 0; height: 0; border-right: 5px solid transparent; border-left: 5px solid transparent; border-top: 6px solid #667085; content: ""; pointer-events: none; }
.portal-select-combobox input { height: 40px; padding-right: 34px; cursor: pointer; }
.portal-select-combobox.is-disabled { opacity: .58; }
.portal-select-options { position: absolute; z-index: 40; top: calc(100% + 6px); right: 0; left: 0; max-height: 260px; overflow-y: auto; padding: 5px; border: 1px solid #d5dce7; border-radius: 7px; background: #fff; box-shadow: 0 14px 30px rgba(30, 52, 82, .16); }
.portal-select-option { display: block; width: 100%; min-height: 38px; padding: 7px 9px; border: 0; border-radius: 5px; background: transparent; color: #344054; text-align: left; font-size: 13px; font-weight: 650; }
.portal-select-option:hover, .portal-select-option:focus, .portal-select-option.selected { background: #eef4ff; color: #1e5cc7; }
.portal-select-option:disabled { cursor: not-allowed; }
.error { min-height: 18px !important; margin: 14px 0 0 !important; color: #d92d20 !important; }
.error.success { color: #16803c !important; }
.portal-app { min-height: 100dvh; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 0 24px; border-bottom: 1px solid #e1e6ee; background: #fff; }
.topbar strong { font-size: 16px; vertical-align: middle; }
.topbar-user { display: flex; align-items: center; gap: 12px; color: #667085; font-size: 13px; }
.secondary { border-color: #d3dbe7; background: #fff; color: #475467; }
.workspace { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 22px 0 36px; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 18px; border-bottom: 1px solid #dfe5ed; }
.tab { min-height: 39px; padding: 0 16px; border: 0; border-radius: 6px 6px 0 0; background: transparent; color: #667085; }
.tab.active { background: #eef4ff; color: #1e5cc7; }
.tab[data-view="accounts"] { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.tab-alert-badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #d92d20; color: #fff; font-size: 11px; font-weight: 800; line-height: 1; box-shadow: 0 0 0 2px rgba(217, 45, 32, .1); }
.tab[data-view="promotion"] { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.tab-income-badge { display: inline-grid; place-items: center; min-height: 19px; padding: 1px 6px; border-radius: 4px; background: #d92d20; color: #fff; font-size: 10px; font-weight: 800; line-height: 1.2; }
.announcement-bar { display: flex; align-items: center; gap: 8px; min-height: 46px; margin: -7px 0 12px; padding: 5px 8px; border: 1px solid #f0c8c8; border-left: 4px solid #d92d20; border-radius: 8px; background: #fff; color: #344054; box-shadow: 0 3px 10px rgba(217, 45, 32, .08); }
.announcement-content { display: flex; align-items: baseline; gap: 9px; min-width: 0; flex: 1; overflow: hidden; cursor: pointer; }
.announcement-label { flex: 0 0 auto; padding: 4px 8px; border-radius: 4px; background: #d92d20; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .2px; }
.announcement-content strong, .announcement-content span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announcement-content strong { color: #202939; font-size: 14px; }
.announcement-content span:last-child { color: #667085; font-size: 12px; }
.announcement-arrow { display: grid; flex: 0 0 28px; width: 28px; min-height: 28px; place-items: center; padding: 0; border: 0; background: transparent; color: #b42318; font-size: 23px; line-height: 1; }
.announcement-arrow:hover { background: #fff1f1; }
.announcement-view-button { flex: 0 0 auto; min-height: 30px; padding: 0 10px; border: 1px solid #efb5b0; border-radius: 5px; background: #fff; color: #b42318; font-size: 12px; font-weight: 750; }
.announcement-view-button:hover { background: #fff1f1; }
.announcement-popup-card { width: min(520px, calc(100vw - 36px)); }
.announcement-popup-kicker { color: #d92d20; font-size: 12px; font-weight: 800; }
.announcement-popup-card h2 { margin: 4px 0 0; }
.announcement-popup-content { max-height: min(52vh, 420px); margin-top: 16px; overflow: auto; color: #475467; font-size: 14px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.announcement-popup-card { width: min(560px, calc(100vw - 32px)); padding: 0; overflow: hidden; border: 1px solid #e4e7ec; border-radius: 14px; box-shadow: 0 24px 70px rgba(15, 23, 42, .24); }
.announcement-popup-card::before { display: block; height: 5px; background: #d92d20; content: ""; }
.announcement-popup-card .modal-header { align-items: flex-start; padding: 22px 24px 18px; border-bottom: 1px solid #edf0f4; }
.announcement-popup-card .modal-header > div { min-width: 0; }
.announcement-popup-kicker { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 5px; background: #fff1f1; color: #b42318; font-size: 11px; font-weight: 800; letter-spacing: .2px; }
.announcement-popup-card h2 { margin: 9px 0 0; overflow-wrap: anywhere; color: #202939; font-size: 20px; line-height: 1.35; }
.announcement-popup-card .icon-button { flex: 0 0 auto; width: 32px; min-height: 32px; border: 0; border-radius: 8px; background: #f4f6f8; color: #667085; font-size: 20px; }
.announcement-popup-card .icon-button:hover { background: #eaecf0; color: #344054; }
.announcement-popup-card .announcement-popup-content { max-height: min(52vh, 420px); margin: 20px 24px 0; padding: 16px 17px; overflow: auto; border: 1px solid #e4e7ec; border-radius: 10px; background: #f8fafc; color: #344054; font-size: 14px; line-height: 1.8; }
.announcement-popup-card .modal-actions { margin: 18px 24px 22px; padding-top: 16px; border-top: 1px solid #edf0f4; }
.announcement-popup-card .modal-actions button { min-width: 116px; min-height: 38px; border-radius: 8px; background: #d92d20; box-shadow: 0 2px 5px rgba(217, 45, 32, .18); }
.announcement-popup-card .modal-actions button:hover { background: #b42318; }
/* Keep the announcement surface compact even after the shared modal rules. */
.modal-card.announcement-popup-card { width: min(560px, calc(100vw - 32px)); padding: 0; overflow: hidden; border-radius: 14px; }
@media (max-width: 600px) {
  .modal-card.announcement-popup-card { width: calc(100vw - 20px); }
  .announcement-popup-card .modal-header { padding: 18px 16px 15px; }
  .announcement-popup-card .announcement-popup-content { margin: 16px 16px 0; padding: 14px; }
  .announcement-popup-card .modal-actions { margin: 15px 16px 17px; }
  .announcement-popup-card .modal-actions button { width: 100%; }
}
.announcement-list-modal-card { width: min(560px, calc(100vw - 36px)); }
.announcement-effective-list { display: grid; gap: 8px; max-height: min(60vh, 520px); margin-top: 14px; overflow: auto; }
.announcement-effective-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid #e4e7ec; border-radius: 7px; background: #fff; }
.announcement-effective-main { min-width: 0; }
.announcement-effective-title-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.announcement-effective-title-row strong { min-width: 0; flex: 1 1 auto; }
.announcement-effective-kind { flex: 0 0 auto; padding: 3px 7px; border-radius: 4px; font-size: 10px; font-weight: 800; line-height: 1.2; }
.announcement-effective-kind.popup { background: #fff1f1; color: #b42318; }
.announcement-effective-kind.carousel { background: #eff6ff; color: #175cd3; }
.announcement-effective-item strong { display: block; overflow: hidden; color: #202939; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.announcement-effective-item small { display: block; margin-top: 4px; color: #98a2b3; font-size: 11px; }
.portal-balance-bar { display: flex; position: relative; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; margin: -7px 0 16px; padding: 9px 12px; border: 1px solid #dfe5ed; border-radius: 8px; background: #fff; }
.portal-balance-value { display: flex; align-items: baseline; min-width: 0; gap: 8px; }
.portal-balance-value span { flex: 0 0 auto; color: #667085; font-size: 12px; }
.portal-balance-value strong { overflow: hidden; color: #202939; font-size: 19px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.portal-balance-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.portal-balance-actions button { width: auto; min-width: 72px; min-height: 34px; padding: 0 12px; }
.portal-balance-actions .earning-guide-entry { min-width: 82px; }
.portal-balance-bar .group-finance-error { position: absolute; top: 100%; right: 0; left: 0; z-index: 2; margin: 2px 0 0 !important; padding: 4px 10px; border-radius: 5px; background: #fff1f1; box-shadow: 0 4px 12px rgba(180, 35, 24, .08); }
.portal-balance-bar .group-finance-error:empty { display: none; }
.group-import-modal-card { width: min(620px, calc(100vw - 36px)); }
.group-import-meta { margin: 14px 0 0; color: #667085; font-size: 13px; }
#groupImportCodeInput { width: 100%; min-height: 92px; margin-top: 12px; padding: 10px 11px; resize: vertical; border: 1px solid #d5dce7; border-radius: 6px; background: #f8fafc; color: #344054; font: 12px/1.5 Consolas, "Courier New", monospace; overflow-wrap: anywhere; outline: 0; }
.group-import-error { min-height: 0 !important; margin: 8px 0 0 !important; font-size: 12px; }
.group-import-modal-card .modal-actions { gap: 8px; }
.view { display: none; }
.view.active { display: block; }
.summary-sections { display: grid; gap: 14px; margin-bottom: 16px; }
.summary-panel { padding: 16px; border: 1px solid #e0e6ee; border-radius: 9px; background: #fff; }
.summary-panel h2 { margin-bottom: 13px; }
.summary-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.group-finance-panel { margin-bottom: 16px; }
.group-balance-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 13px; }
.group-balance-summary article { min-width: 180px; }
.group-balance-summary span { color: #667085; font-size: 13px; }
.group-balance-summary strong { display: block; margin-top: 7px; color: #202939; font-size: 23px; font-variant-numeric: tabular-nums; }
.group-balance-summary button { flex: 0 0 auto; min-width: 150px; padding: 0 14px; }
.group-balance-actions { display: flex; align-items: center; gap: 10px; }
.statistics-view.is-compact-mode .group-finance-panel { margin-bottom: 10px; padding: 10px 12px; }
.statistics-view.is-compact-mode .group-finance-panel > h2 { display: none; }
.statistics-view.is-compact-mode .group-balance-summary { align-items: center; flex-direction: row; gap: 10px; margin-top: 0; }
.statistics-view.is-compact-mode .group-balance-summary article { display: flex; align-items: baseline; flex: 1 1 auto; gap: 8px; min-width: 0; }
.statistics-view.is-compact-mode .group-balance-summary span { flex: 0 0 auto; font-size: 12px; }
.statistics-view.is-compact-mode .group-balance-summary strong { display: inline; margin-top: 0; font-size: 18px; }
.statistics-view.is-compact-mode .group-balance-actions { align-items: center; flex: 0 0 auto; flex-direction: row; }
.statistics-view.is-compact-mode .group-balance-summary button { width: auto; min-width: 72px; min-height: 34px; padding: 0 14px; }
.statistics-view.is-compact-mode .group-finance-error:empty { display: none; }
.balance-recharge-card { width: min(480px, calc(100vw - 36px)); }
.balance-recharge-card form { display: grid; gap: 14px; margin-top: 16px; }
.team-card-purchase-entry { width: 100%; border-style: dashed; border-color: #a7b9dc; background: #f8fbff; color: #2454c7; }
.team-card-purchase-entry:hover { border-color: #6f92d8; background: #eef4ff; }
.team-card-purchase-guide-card { width: min(430px, calc(100vw - 36px)); text-align: center; }
.team-card-purchase-guide-tip { margin: 12px 0 16px; color: #475467; line-height: 1.7; white-space: pre-wrap; }
.team-card-purchase-guide-actions { justify-content: center; }
.group-finance-error { min-height: 0 !important; margin: 8px 0 0 !important; font-size: 12px; }
.group-finance-modal-card { width: min(840px, calc(100vw - 36px)); }
.group-finance-template-name { margin: 12px 0 0; color: #475467; font-size: 13px; font-weight: 700; }
.group-finance-table-wrap { margin-top: 16px; border: 1px solid #e8edf3; border-radius: 7px; }
.group-finance-table { min-width: 480px; }
.group-finance-table th, .group-finance-table td { text-align: center; }
.group-finance-table tbody th { color: #344054; background: #fafbfc; }
.group-finance-table strong { color: #202939; font-variant-numeric: tabular-nums; }
.scope-toolbar { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.statistics-top-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.statistics-top-toolbar .scope-toolbar { margin-bottom: 0; }
.statistics-toolbar-left { display: flex; align-items: center; gap: 8px; }
.earning-guide-entry { min-height: 34px; padding: 0 12px; border-color: #e5d6bd; background: #fffaf0; color: #8a550d; font-size: 12px; font-weight: 700; }
.statistics-compact-only { display: none; }
.statistics-view.is-compact-mode .statistics-detailed-only { display: none !important; }
.statistics-view.is-compact-mode .statistics-compact-only { display: grid; }
.scope-toolbar label, .inline-filter { display: flex; align-items: center; grid: none; gap: 8px; white-space: nowrap; }
.scope-toolbar select, .inline-filter select, .scope-toolbar .portal-select-combobox, .inline-filter .portal-select-combobox { width: min(220px, 45vw); }
.summary-grid article { min-width: 0; border: 1px solid #e8edf3; border-radius: 7px; background: #fafbfc; }
.panel { border: 1px solid #e0e6ee; border-radius: 9px; background: #fff; }
.summary-grid article { padding: 16px; }
.summary-grid span, .muted { color: #667085; font-size: 13px; }
.summary-grid strong { display: block; margin-top: 7px; color: #202939; font-size: 23px; font-variant-numeric: tabular-nums; }
.panel { overflow: hidden; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px; border-bottom: 1px solid #e8edf3; }
.panel-title > div:first-child { display: flex; align-items: baseline; gap: 10px; }
.panel-actions { display: flex; align-items: center; gap: 12px; }
.panel-action-buttons { display: flex; gap: 8px; }
.panel-actions button { min-height: 32px; padding: 0 12px; }
.account-earning-heading { display: grid !important; gap: 4px !important; }
.account-earning-heading p { margin: 0; color: #667085; font-size: 12px; font-weight: 400; line-height: 1.5; }
.statistics-display-switch { display: inline-grid; grid-template-columns: repeat(2, 58px); padding: 3px; border: 1px solid #dbe2eb; border-radius: 6px; background: #f4f6f8; }
.statistics-display-switch button { min-height: 28px; padding: 0 10px; border: 0; border-radius: 4px; background: transparent; color: #667085; font-size: 12px; font-weight: 700; }
.statistics-display-switch button[aria-pressed="true"] { background: #fff; color: #245fc6; box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.compact-finance-summary { grid-template-columns: 1.12fr .88fr 1.12fr .88fr; margin-bottom: 16px; border: 1px solid #e0e6ee; border-radius: 8px; background: #fff; }
.compact-finance-summary article { min-width: 0; padding: 15px 16px; border-right: 1px solid #e8edf3; }
.compact-finance-summary article:last-child { border-right: 0; }
.compact-finance-summary span { display: block; color: #667085; font-size: 12px; }
.compact-finance-summary strong { display: block; margin-top: 7px; overflow: hidden; color: #202939; font-size: 20px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.compact-finance-summary small { display: block; margin-top: 4px; color: #8a7357; font-size: 11px; font-weight: 600; }
.compact-profit-metric { transition: background-color .2s ease, box-shadow .2s ease; }
.compact-profit-metric strong { font-size: 22px; }
.compact-profit-metric.has-profit { background: linear-gradient(180deg, #fffaf0, #fff); box-shadow: inset 0 3px 0 #efb341; }
.compact-profit-metric.has-profit strong { color: #a85d05; }
.compact-forecast-summary { margin-bottom: 16px; overflow: hidden; border: 1px solid #e0e6ee; border-radius: 8px; background: #fff; }
.compact-forecast-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 16px 9px; border-bottom: 1px solid #edf0f4; }
.compact-forecast-heading strong { color: #344054; font-size: 13px; }
.compact-forecast-heading span { color: #98a2b3; font-size: 11px; }
.compact-forecast-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.compact-forecast-grid article { min-width: 0; padding: 12px 14px 14px; border-right: 1px solid #e8edf3; }
.compact-forecast-grid article:last-child { border-right: 0; }
.compact-forecast-grid span { display: block; color: #667085; font-size: 12px; line-height: 1.35; }
.compact-forecast-grid strong { display: block; margin-top: 6px; overflow: hidden; color: #202939; font-size: 17px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.compact-forecast-summary.has-income .compact-forecast-grid article:nth-child(n+2) strong { color: #a85d05; }
h2 { margin: 0; font-size: 16px; }
.table-wrap { overflow: auto; }
table { width: 100%; min-width: 1040px; border-collapse: collapse; }
.statistics-card-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; background: #f7f8fa; }
.statistics-record-card { min-width: 0; overflow: hidden; border: 1px solid #e1e6ed; border-radius: 7px; background: #fff; }
.statistics-record-card.profitable { border-color: #eadfce; border-left: 3px solid #e6a23c; box-shadow: 0 3px 10px rgba(151, 94, 20, .06); }
.statistics-record-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px 9px; }
.statistics-result-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 4px; background: #eef1f5; color: #5d6675; font-size: 12px; font-weight: 750; }
.statistics-result-badge.success { background: #fff6e5; color: #9a5b08; }
.statistics-result-badge.info { background: #edf4ff; color: #245fc6; }
.statistics-result-badge.danger { background: #fff0f0; color: #c5221f; }
.statistics-record-time { flex: 0 0 auto; color: #7b8493; font-size: 11px; font-variant-numeric: tabular-nums; }
.statistics-record-identity { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 12px 11px; }
.statistics-record-identity strong { min-width: 0; overflow: hidden; color: #293241; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.statistics-record-identity span { flex: 0 0 auto; color: #667085; font-size: 12px; }
.statistics-record-finance { display: grid; grid-template-columns: 1.18fr .82fr; border-top: 1px solid #edf0f4; background: #fbfcfd; }
.statistics-record-finance > div { min-width: 0; padding: 10px 12px; border-right: 1px solid #edf0f4; }
.statistics-record-finance > div:last-child { border-right: 0; }
.statistics-record-finance span { display: block; color: #7b8493; font-size: 11px; white-space: nowrap; }
.statistics-record-finance strong { display: block; margin-top: 4px; overflow: hidden; color: #344054; font-size: 14px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.statistics-record-finance > div:first-child strong { font-size: 18px; }
.statistics-record-finance > div:last-child strong { font-size: 13px; }
.statistics-record-finance .net-income { color: #a85d05; }
.statistics-record-finance .net-income.negative { color: #c5221f; }
.statistics-record-finance .empty-value { color: #a2a9b3; }
.statistics-card-empty { grid-column: 1 / -1; margin: 0; padding: 30px; color: #98a2b3; text-align: center; }
th, td { padding: 11px 13px; border-bottom: 1px solid #edf0f5; text-align: left; font-size: 13px; white-space: nowrap; }
th { color: #667085; background: #fafbfc; font-size: 12px; font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
.empty { padding: 30px; color: #98a2b3; text-align: center; }
.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 13px 16px; border-top: 1px solid #e8edf3; color: #667085; font-size: 13px; }
.pagination button { min-height: 32px; padding: 0 10px; }
.status { display: inline-flex; padding: 3px 7px; border-radius: 4px; background: #edf7ee; color: #16803c; font-size: 12px; }
.status.disabled { background: #fff1f1; color: #c5221f; }
.account-status-content { display: flex; min-width: 110px; flex-direction: column; align-items: flex-start; gap: 5px; }
.account-disabled-reason { display: block; max-width: 220px; overflow: hidden; color: #b42318; font-size: 12px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.group-management-table { min-width: 640px; }
.account-management-table { min-width: 1420px; table-layout: fixed; }
.account-management-table th:nth-child(1) { width: 230px; }
.account-management-table th:nth-child(2) { width: 210px; }
.account-management-table th:nth-child(3) { width: 170px; }
.account-management-table th:nth-child(4) { width: 190px; }
.account-management-table th:nth-child(5) { width: 160px; }
.account-management-table th:nth-child(6) { width: 180px; }
.account-management-table th:nth-child(7), .account-management-table td:last-child { width: 260px; min-width: 260px; }
.account-management-table th,
.account-management-table td { overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.account-management-table td:last-child { overflow: visible; }
.account-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-bottom: 1px solid #e8edf3; background: #fafbfc; }
.account-overview > div { min-width: 0; padding: 13px 16px; border-right: 1px solid #e8edf3; }
.account-overview > div:last-child { border-right: 0; }
.account-overview > div:nth-child(4n) { border-right: 0; }
.account-overview span { display: block; color: #667085; font-size: 12px; }
.account-overview strong { display: block; margin-top: 5px; color: #202939; font-size: 20px; font-variant-numeric: tabular-nums; }
.account-overview > div:nth-child(2) strong { color: #16803c; }
.account-overview .account-expiring-overview strong { color: #c76a12; }
.account-expiring-overview > span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.account-expiring-overview button { width: 22px; min-height: 22px; padding: 0; border: 1px solid #e5c58f; border-radius: 50%; background: #fffaf0; color: #a85d05; font-size: 12px; line-height: 1; }
.account-expiring-overview button i::before { content: "查看"; font-style: normal; font-size: 10px; }
.account-expiring-overview button:hover { background: #fff2d8; }
.account-overview > div:last-child strong { color: #c5221f; }
.account-overview .account-abnormal-overview strong { color: #c5221f; }
.account-abnormal-overview > span { display: flex; align-items: center; justify-content: space-between; gap: 5px; white-space: nowrap; }
.account-abnormal-overview button { width: 22px; min-height: 22px; padding: 0; border: 1px solid #efb5b0; border-radius: 50%; background: #fff5f5; color: #b42318; font-size: 12px; line-height: 1; }
.account-abnormal-overview button i::before { content: "查看"; font-style: normal; font-size: 10px; }
.account-abnormal-overview button.active { background: #b42318; color: #fff; }
.account-task-overview-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.account-task-overview-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; padding: 13px 15px; border: 1px solid #e8edf3; border-radius: 9px; background: #fff; }
.account-task-overview-card h3 { grid-column: 1 / -1; margin: 0; color: #202939; font-size: 14px; font-weight: 650; }
.account-task-overview-card > div { min-width: 0; padding-left: 10px; border-left: 2px solid #dbe7fb; }
.account-task-overview-card > div:last-child { border-left-color: #f1c7c2; }
.account-task-overview-card span { font-size: 11px; }
.account-task-overview-card strong { margin-top: 3px; font-size: 19px; }
.account-task-overview-card > div:last-child strong { color: #1769aa; }
.group-identity { display: grid; gap: 4px; min-width: 150px; }
.group-identity small { color: #667085; font-size: 11px; font-weight: 400; }
.table-actions { display: flex; min-width: max-content; gap: 6px; }
.account-management-table .table-actions { min-width: 0; max-width: 100%; flex-wrap: wrap; }
.table-actions button { min-height: 30px; padding: 0 9px; font-size: 12px; }
.danger { border-color: #d92d20; background: #fff; color: #c5221f; }
.group-list-error { min-height: 0 !important; margin: 0 !important; padding: 0 16px 12px; }
.account-list-error { min-height: 0 !important; margin: 0 !important; padding: 0 16px; }
.account-identity { display: flex; align-items: center; gap: 9px; min-width: 150px; }
.account-identity strong { max-width: 180px; overflow: hidden; color: #344054; text-overflow: ellipsis; white-space: nowrap; }
.account-avatar, .account-avatar img, .account-avatar span { width: 32px; height: 32px; border-radius: 50%; }
.account-avatar { display: grid; flex: 0 0 32px; place-items: center; overflow: hidden; background: #e7effc; }
.account-avatar img { display: block; object-fit: cover; background: #f2f4f7; }
.account-avatar span { display: grid; place-items: center; color: #2864d7; font-size: 13px; font-weight: 750; }
.account-abnormal-modal-card { width: min(720px, calc(100vw - 36px)); }
.account-abnormal-modal-card .modal-header > div { min-width: 0; }
.account-abnormal-modal-card .modal-header p { margin: 5px 0 0; color: #667085; font-size: 13px; line-height: 1.55; }
.account-abnormal-card-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-height: min(440px, calc(100dvh - 250px)); margin-top: 16px; overflow: auto; }
.account-abnormal-card-list.loading, .account-abnormal-card-list.empty { display: block; padding: 32px 16px; border: 1px dashed #d9dee7; border-radius: 7px; color: #98a2b3; text-align: center; }
.account-abnormal-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 11px; min-width: 0; padding: 12px; border: 1px solid #f0c8c5; border-radius: 8px; background: #fffafa; }
.account-abnormal-card .account-avatar, .account-abnormal-card .account-avatar img, .account-abnormal-card .account-avatar span { width: 42px; height: 42px; }
.account-abnormal-card-content { min-width: 0; }
.account-abnormal-card-content strong, .account-abnormal-card-content span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-abnormal-card-content strong { color: #293241; font-size: 14px; }
.account-abnormal-card-content span { margin-top: 5px; color: #b42318; font-size: 12px; }
.account-expiring-card { border-color: #ead7b7; background: #fffdf8; }
.account-expiring-card-content { min-width: 0; }
.account-expiring-card-content strong,
.account-expiring-card-content span,
.account-expiring-card-content small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-expiring-card-content strong { color: #293241; font-size: 14px; }
.account-expiring-card-content span { margin-top: 5px; color: #667085; font-size: 12px; }
.account-expiring-card-content small { margin-top: 4px; color: #98a2b3; font-size: 11px; }
.account-expiring-countdown { display: block; margin-top: 8px; color: #b35f05; font-size: 13px; }
.account-abnormal-solution-btn { grid-column: 1 / -1; width: 100%; min-height: 32px; border-color: #b8c9e6; background: #f7faff; color: #245fc6; font-size: 12px; }
.account-abnormal-solution-btn:hover { border-color: #8eabd9; background: #eef4ff; }
.account-abnormal-solution { grid-column: 1 / -1; padding: 11px 12px; border: 1px solid #dbe7f8; border-radius: 6px; background: #f7faff; }
.account-abnormal-solution strong { display: block; color: #245fc6; font-size: 12px; }
.account-abnormal-solution p { margin: 6px 0 0; color: #475467; font-size: 12px; line-height: 1.75; }
.account-abnormal-modal-meta { min-height: 17px; margin: 10px 0 0; color: #7b8493; font-size: 12px; text-align: center; }
.account-abnormal-modal-actions { justify-content: center; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: auto; padding: 18px; background: rgba(15, 23, 42, .44); }
.modal-card { width: min(720px, calc(100vw - 36px)); max-height: calc(100dvh - 36px); overflow: auto; padding: 18px; border: 1px solid #dfe5ed; border-radius: 10px; background: #fff; box-shadow: 0 24px 60px rgba(15, 23, 42, .22); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding-bottom: 14px; border-bottom: 1px solid #e8edf3; }
.modal-actions { display: flex; justify-content: flex-end; margin-top: 14px; }
.modal-actions button { min-width: 112px; }
.change-password-card { width: min(440px, calc(100vw - 36px)); }
.change-password-card .modal-header { align-items: flex-start; }
.change-password-card .modal-subtitle { margin: 5px 0 0; color: #667085; font-size: 12px; line-height: 1.5; }
.change-password-form { gap: 13px; margin-top: 16px; }
.change-password-form .error { margin: 0 !important; }
.change-password-form .modal-actions { gap: 8px; margin-top: 2px; }
.summary-label-with-help { display: inline-flex !important; align-items: center; gap: 4px; }
.info-help { display: inline-grid; width: 17px; height: 17px; min-width: 17px; min-height: 17px; place-items: center; padding: 0; border: 1px solid #98a2b3; border-radius: 50%; background: #fff; color: #667085; font-size: 11px; font-weight: 800; line-height: 1; }
.info-help:hover { border-color: #2864d7; color: #2864d7; }
.promotion-reward-help-card { width: min(430px, calc(100vw - 36px)); }
.promotion-reward-help-card > p { margin: 14px 0 0; color: #475467; font-size: 13px; line-height: 1.7; }
.team-rewards-notice-card { width: min(540px, calc(100vw - 36px)); }
.team-rewards-notice-card .modal-header { align-items: flex-start; }
.team-rewards-notice-card .modal-header > div { min-width: 0; }
.team-rewards-notice-card .modal-header p { margin: 5px 0 0; color: #667085; font-size: 13px; line-height: 1.55; }
.team-rewards-notice-total { display: grid; gap: 5px; margin-top: 16px; padding: 18px; border-left: 4px solid #d92d20; background: #fff7f5; }
.team-rewards-notice-total span, .team-rewards-notice-breakdown span { color: #667085; font-size: 12px; }
.team-rewards-notice-total strong { color: #b42318; font-size: 28px; line-height: 1.2; }
.team-rewards-notice-total small, .team-rewards-notice-breakdown small { color: #667085; font-size: 11px; }
.team-rewards-notice-breakdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; overflow: hidden; border: 1px solid #dfe5ed; border-radius: 7px; }
.team-rewards-notice-breakdown article { display: grid; gap: 6px; min-width: 0; padding: 14px; }
.team-rewards-notice-breakdown article + article { border-left: 1px solid #dfe5ed; }
.team-rewards-notice-breakdown strong { overflow-wrap: anywhere; color: #344054; font-size: 17px; }
.team-rewards-notice-actions { gap: 8px; }
.group-editor-card { width: min(760px, calc(100vw - 36px)); }
.group-editor-form { margin-top: 16px; }
.account-remark-card { width: min(520px, calc(100vw - 36px)); }
.account-remark-form { margin-top: 16px; }
.account-remark-name { margin: 0; color: #667085; font-size: 13px; }
.group-editor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.group-editor-actions { gap: 8px; }
.team-management-view.active { display: grid; gap: 16px; }
.team-promotion-view.active { display: grid; gap: 16px; }
.team-promotion-compact-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: hidden; border: 1px solid #dfe5ed; border-radius: 8px; background: #fff; }
.team-promotion-compact-summary article { min-width: 0; padding: 15px 18px; border-right: 1px solid #e8edf3; }
.team-promotion-compact-summary article:last-child { border-right: 0; }
.team-promotion-compact-summary span { display: block; color: #667085; font-size: 12px; }
.team-promotion-compact-summary strong { display: block; margin-top: 6px; overflow: hidden; color: #a45d05; font-size: 21px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.team-promotion-compact-summary article:last-child strong { color: #2864d7; }
.team-promotion-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); overflow: hidden; border: 1px solid #ead9bb; border-radius: 11px; background: linear-gradient(135deg, #fff9ed 0%, #fffdf8 58%, #f7faff 100%); box-shadow: 0 6px 20px rgba(137, 83, 14, .06); }
.team-promotion-hero-copy { padding: 25px 27px; }
.team-promotion-kicker { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 12px; background: #fff0d0; color: #985805; font-size: 12px; font-weight: 800; }
.team-promotion-hero-copy h2 { margin-top: 11px; color: #292f3a; font-size: 23px; line-height: 1.35; }
.team-promotion-hero-copy > p { max-width: 660px; margin: 9px 0 0; color: #5d6675; font-size: 14px; line-height: 1.75; }
.team-promotion-assurances { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 16px; }
.team-promotion-assurances span { display: inline-flex; align-items: center; gap: 6px; color: #725326; font-size: 12px; font-weight: 700; }
.team-promotion-assurances span::before { content: "✓"; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #e9a93f; color: #fff; font-size: 10px; }
.team-promotion-assurances button { min-height: 27px; padding: 0 10px; border-color: #ddbd86; border-radius: 14px; background: #fff; color: #8b550b; font-size: 11px; font-weight: 800; }
.team-earn-more-action { display: grid; align-content: center; gap: 9px; margin: 14px; padding: 20px; border: 1px solid rgba(224, 190, 133, .65); border-radius: 9px; background: rgba(255, 255, 255, .9); box-shadow: 0 5px 18px rgba(83, 61, 28, .06); }
.team-earn-more-action span { color: #985805; font-size: 12px; font-weight: 800; }
.team-earn-more-action strong { color: #344054; font-size: 14px; line-height: 1.6; }
.team-earn-more-action button { width: 100%; margin-top: 3px; }
.team-promotion-hero-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; margin: 14px; padding: 18px; border: 1px solid rgba(224, 190, 133, .65); border-radius: 9px; background: rgba(255, 255, 255, .86); box-shadow: 0 5px 18px rgba(83, 61, 28, .06); }
.team-promotion-hero-summary article { min-width: 0; padding: 7px 13px 12px; }
.team-promotion-hero-summary article + article { border-left: 1px solid #eee3d2; }
.team-promotion-hero-summary span { display: block; color: #7a6b57; font-size: 12px; }
.team-promotion-hero-summary article strong { display: block; margin-top: 7px; overflow: hidden; color: #a45d05; font-size: 21px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.team-promotion-hero-summary > p { grid-column: 1 / -1; margin: 5px 0 0; padding: 12px 13px 0; border-top: 1px solid #eee3d2; color: #667085; font-size: 12px; text-align: center; }
.team-promotion-hero-summary > p strong { color: #2864d7; font-size: 15px; font-variant-numeric: tabular-nums; }
.team-promotion-level-guide { padding: 20px 22px; border: 1px solid #dfe6ef; border-left: 4px solid #d99a2b; border-radius: 7px; background: #fff; }
.team-promotion-level-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; }
.team-promotion-level-heading > div { min-width: 0; }
.team-promotion-level-heading span { color: #a45d05; font-size: 12px; font-weight: 850; }
.team-promotion-level-heading h2 { margin-top: 5px; color: #293241; font-size: 18px; line-height: 1.45; }
.team-promotion-level-heading > p { flex: 0 1 500px; margin: 0; color: #667085; font-size: 12px; line-height: 1.65; }
.team-promotion-level-chain { display: grid; grid-template-columns: minmax(105px, .65fr) 24px repeat(2, minmax(155px, 1fr) 24px) minmax(155px, 1fr); align-items: stretch; margin-top: 17px; overflow: hidden; border: 1px solid #dfe5ed; border-radius: 7px; background: #f8fafc; }
.team-promotion-level-chain > i { display: grid; place-items: center; color: #aab3c0; font-size: 17px; font-style: normal; }
.team-promotion-level-owner, .team-promotion-level-node { display: grid; align-content: center; justify-items: center; min-width: 0; min-height: 88px; padding: 11px 9px; text-align: center; }
.team-promotion-level-owner { background: #edf4ff; }
.team-promotion-level-owner span, .team-promotion-level-node > span { color: #667085; font-size: 11px; }
.team-promotion-level-owner strong { margin-top: 5px; color: #245fc6; font-size: 18px; }
.team-promotion-level-node { background: #fff; }
.team-promotion-level-node strong { margin-top: 5px; color: #344054; font-size: 14px; }
.team-promotion-level-node strong b { color: #a45d05; font-size: 17px; font-variant-numeric: tabular-nums; }
.team-promotion-level-node small { margin-top: 5px; color: #7b8493; font-size: 10px; line-height: 1.4; }
.team-promotion-level-note { margin: 12px 0 0; color: #667085; font-size: 11px; line-height: 1.6; }
.team-promotion-level-note strong { color: #b54708; }
.team-promotion-panel { width: 100%; max-width: none; margin: 0; padding: 20px; }
.team-promotion-share { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.team-promotion-share-copy { min-width: 0; }
.team-promotion-step-label { color: #2864d7; font-size: 12px; font-weight: 800; }
.team-promotion-share-copy h2 { margin-top: 5px; color: #293241; font-size: 18px; }
.team-promotion-share-copy p { margin: 7px 0 0; color: #667085; font-size: 13px; line-height: 1.6; }
.team-promotion-copy-button { flex: 0 0 auto; min-width: 190px; min-height: 46px; padding: 0 22px; border-radius: 8px; font-size: 15px; box-shadow: 0 5px 12px rgba(40, 100, 215, .18); }
.team-promotion-link-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; margin-top: 17px; padding-top: 16px; border-top: 1px solid #edf0f4; }
.team-promotion-link-box label { color: #667085; font-size: 12px; }
.team-promotion-link-box input { height: 40px; background: #f8fafc; color: #475467; font: 12px/1.5 Consolas, "Courier New", monospace; }
.team-promotion-reset-button { min-height: 40px; padding: 0 13px; color: #667085; font-size: 12px; }
.team-promotion-status { min-height: 0; margin: 9px 0 0; color: #2864d7 !important; font-size: 12px; font-weight: 700; }
.team-promotion-status:empty, .team-promotion-error:empty { display: none; }
.team-promotion-error { min-height: 0 !important; margin: 9px 0 0 !important; font-size: 12px; }
.team-promotion-guide { padding: 22px; border: 1px solid #e0e6ee; border-radius: 9px; background: #fff; }
.team-promotion-guide-title { text-align: center; }
.team-promotion-guide-title > span { color: #9a5b08; font-size: 12px; font-weight: 800; }
.team-promotion-guide-title h2 { margin-top: 6px; color: #293241; font-size: 19px; }
.team-promotion-guide-title p { margin: 7px 0 0; color: #667085; font-size: 13px; }
.team-promotion-income-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 18px; }
.team-promotion-income-ways article { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; min-width: 0; padding: 17px; border: 1px solid #dce6f7; border-radius: 9px; background: #f9fbff; }
.team-promotion-income-ways article:nth-child(2) { border-color: #eadfcf; background: #fffaf1; }
.team-promotion-way-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 9px; background: #e5efff; color: #245fc6; font-size: 15px; font-weight: 850; }
.team-promotion-way-icon.recharge { background: #ffedca; color: #a45d05; }
.team-promotion-income-ways h3 { margin: 0; color: #293241; font-size: 15px; }
.team-promotion-income-ways p { margin: 6px 0 0; color: #667085; font-size: 12px; line-height: 1.65; }
.team-promotion-income-ways article > strong { grid-column: 1 / -1; padding-top: 11px; border-top: 1px solid rgba(213, 222, 236, .72); color: #46556b; font-size: 12px; font-weight: 750; }
.team-promotion-income-ways article:nth-child(2) > strong { border-top-color: #eadfcf; color: #76501e; }
.team-promotion-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 18px 0 0; padding: 0; overflow: hidden; border: 1px solid #e4e8ee; border-radius: 8px; background: #fafbfc; list-style: none; }
.team-promotion-steps li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 13px 15px; border-right: 1px solid #e4e8ee; }
.team-promotion-steps li:last-child { border-right: 0; }
.team-promotion-steps li > strong { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border-radius: 50%; background: #e6a23c; color: #fff; font-size: 12px; }
.team-promotion-steps li > div { display: grid; gap: 3px; min-width: 0; }
.team-promotion-steps b { color: #344054; font-size: 12px; }
.team-promotion-steps span { color: #7b8493; font-size: 11px; line-height: 1.4; }
.team-promotion-rule-note { margin: 12px 0 0; color: #8a7357; font-size: 11px; text-align: center; }
.promotion-guide-modal-card { width: min(820px, calc(100vw - 36px)); }
.promotion-guide-modal-card .modal-header > div { min-width: 0; }
.promotion-guide-modal-card .modal-header p { margin: 5px 0 0; color: #667085; font-size: 13px; line-height: 1.55; }
.promotion-guide-modal-card .team-promotion-income-ways { margin-top: 18px; }
.promotion-guide-modal-actions { justify-content: center; }
.promotion-guide-modal-actions button { min-width: 150px; }
.team-reward-records-heading { display: grid !important; gap: 4px !important; }
.team-reward-card-list { display: none; }
.team-reward-table { min-width: 620px; }
.team-reward-table td:nth-child(3) { color: #a85d05; font-weight: 700; }
.team-rewards-error { min-height: 0 !important; margin: 0 !important; padding: 0 16px; }
.icon-button { width: 34px; min-height: 34px; padding: 0; border-color: #d5dce7; background: #fff; color: #667085; font-size: 22px; line-height: 1; }
.earning-guide-card { width: min(820px, calc(100vw - 36px)); }
.earning-guide-card .modal-header > div { min-width: 0; }
.earning-guide-card .modal-header p { margin: 5px 0 0; color: #667085; font-size: 13px; }
.earning-guide-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.earning-guide-option { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 12px; padding: 18px; border: 1px solid #e2e7ee; border-radius: 9px; background: #fff; }
.earning-guide-option.team-route { border-color: #eadfcf; background: #fffdf8; }
.earning-guide-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #e8f0ff; color: #2864d7; font-size: 16px; font-weight: 800; }
.earning-guide-option.team-route .earning-guide-icon { background: #fff1d8; color: #a85d05; }
.earning-guide-option h3 { margin: 0; color: #293241; font-size: 17px; }
.earning-guide-option p { margin: 7px 0 0; color: #667085; font-size: 13px; line-height: 1.6; }
.earning-guide-option ol { display: grid; gap: 7px; margin: 13px 0 0; padding-left: 20px; color: #475467; font-size: 12px; }
.earning-guide-option > button { grid-column: 1 / -1; width: 100%; margin-top: 4px; }
.earning-guide-option.team-route > button { border-color: #d9982c; background: #e6a23c; }
.earning-guide-note { margin: 14px 0 0; color: #7b8493; font-size: 12px; text-align: center; }
.login-mode-panel { margin-top: 16px; padding: 14px; border: 1px solid #dfe5ed; border-radius: 7px; background: #fafbfc; }
.login-mode-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid #d5dce7; border-radius: 6px; background: #fff; }
.login-mode { min-height: 38px; border: 0; border-right: 1px solid #d5dce7; border-radius: 0; background: #fff; color: #667085; }
.login-mode:last-child { border-right: 0; }
.login-mode.active { background: #2864d7; color: #fff; }
.login-mode-fields { margin-top: 14px; }
.login-mode-fields p { margin: 0 0 12px; color: #667085; font-size: 13px; }
.smart-location-info { min-height: 42px; padding: 11px 12px; border: 1px solid #dbe4f0; border-radius: 6px; background: #f3f7fd; color: #405b85; font-size: 13px; line-height: 1.45; }
.login-location-grid, .login-custom-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, .65fr); gap: 14px; }
.login-qr-panel { display: grid; justify-items: center; margin-top: 16px; }
.current-proxy-info { display: grid; gap: 5px; width: 100%; min-height: 46px; margin-bottom: 12px; padding: 10px 12px; border: 1px solid #dce4ed; border-radius: 6px; background: #f7f9fb; color: #53606f; font-size: 12px; line-height: 1.45; }
.qr-frame { position: relative; display: grid; place-items: center; width: 260px; height: 260px; padding: 8px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; }
.qr-frame img { width: 100%; height: 100%; object-fit: contain; }
.qr-frame img:not([src]) { display: none; }
.qr-placeholder-content { display: none; justify-items: center; gap: 14px; color: #667085; font-size: 13px; }
.qr-placeholder .qr-placeholder-content { display: grid; }
.qr-placeholder-content button { padding: 0 14px; }
.login-status { min-height: 24px; margin-top: 12px; color: #344054; font-size: 13px; text-align: center; }
@media (max-width: 900px) { .summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .statistics-card-list { grid-template-columns: 1fr; } .compact-finance-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .compact-finance-summary article:nth-child(2) { border-right: 0; } .compact-finance-summary article:nth-child(-n+2) { border-bottom: 1px solid #e8edf3; } .compact-forecast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .compact-forecast-grid article:nth-child(3) { border-right: 0; } .compact-forecast-grid article:nth-child(-n+3) { border-bottom: 1px solid #e8edf3; } }
@media (max-width: 700px) { .topbar { padding: 0 14px; } .topbar-user span { display: none; } .workspace { width: min(100% - 20px, 1200px); padding-top: 14px; } .summary-panel { padding: 12px; } .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .summary-grid article { padding: 12px; } .summary-grid strong { font-size: 18px; } .team-reward-summary { grid-template-columns: 1fr; gap: 8px; } .team-reward-summary .summary-panel strong { font-size: 20px; } .group-balance-summary { align-items: stretch; flex-direction: column; } .group-balance-actions { align-items: stretch; flex-direction: column; } .group-balance-summary button { width: 100%; } .account-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); } .account-overview > div { padding: 11px 13px; border-bottom: 1px solid #e8edf3; } .account-overview > div:nth-child(2n) { border-right: 0; } .account-overview > div:last-child { border-bottom: 0; } .account-task-overview-cards { grid-template-columns: 1fr; } .account-abnormal-card-list { grid-template-columns: 1fr; } .table-wrap { margin: 0; } .panel-title { align-items: flex-start; } .statistics-top-toolbar { align-items: stretch; flex-direction: column; } .statistics-toolbar-left { align-items: stretch; justify-content: space-between; } .statistics-display-switch { align-self: flex-start; } .earning-guide-options { grid-template-columns: 1fr; } .team-promotion-steps { grid-template-columns: 1fr; } .team-promotion-steps li { border-right: 0; border-bottom: 1px solid #eadfcf; } .team-promotion-steps li:last-child { border-bottom: 0; } .panel-actions { align-items: flex-end; flex-direction: column-reverse; gap: 7px; } .panel-action-buttons { flex-wrap: wrap; justify-content: flex-end; } .scope-toolbar { justify-content: stretch; } .scope-toolbar label, .inline-filter { align-items: stretch; flex-direction: column; width: 100%; } .scope-toolbar select, .inline-filter select { width: 100%; } .group-editor-grid { grid-template-columns: 1fr; } .compact-forecast-heading { align-items: flex-start; flex-direction: column; gap: 3px; } .compact-forecast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .compact-forecast-grid article { padding: 11px 12px 12px; } .compact-forecast-grid article:nth-child(3) { border-right: 1px solid #e8edf3; } .compact-forecast-grid article:nth-child(2n) { border-right: 0; } .compact-forecast-grid article:nth-child(-n+4) { border-bottom: 1px solid #e8edf3; } .compact-forecast-grid article:last-child { grid-column: 1 / -1; } .modal { padding: 10px; } .modal-card { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); padding: 13px; } .login-mode-tabs { grid-template-columns: 1fr; } .login-mode { border-right: 0; border-bottom: 1px solid #d5dce7; } .login-mode:last-child { border-bottom: 0; } .login-location-grid, .login-custom-grid { grid-template-columns: 1fr; } .qr-frame { width: 220px; height: 220px; } }
@media (max-width: 900px) {
  .team-promotion-hero { grid-template-columns: 1fr; }
  .team-promotion-hero-summary { margin-top: 0; }
}
@media (max-width: 700px) {
  .portal-balance-bar { gap: 8px; margin-top: -3px; padding: 8px 9px; }
  .portal-balance-value { gap: 5px; }
  .portal-balance-value span { font-size: 11px; }
  .portal-balance-value strong { font-size: 16px; }
  .portal-balance-actions { gap: 6px; }
  .portal-balance-actions button { min-width: 58px; padding: 0 9px; }
  .portal-balance-actions .earning-guide-entry { min-width: 72px; }
  .team-promotion-view.active { gap: 10px; }
  .team-promotion-compact-summary article { padding: 12px 9px; text-align: center; }
  .team-promotion-compact-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-promotion-compact-summary span { min-height: 32px; font-size: 11px; line-height: 1.45; }
  .team-promotion-compact-summary strong { margin-top: 3px; font-size: 16px; }
  .team-promotion-hero-copy { padding: 20px 17px 17px; }
  .team-promotion-hero-copy h2 { font-size: 20px; }
  .team-promotion-hero-copy > p { font-size: 13px; line-height: 1.7; }
  .team-promotion-assurances { justify-content: space-between; gap: 8px; }
  .team-promotion-assurances button { flex: 1 0 100%; margin-top: 4px; min-height: 34px; }
  .team-earn-more-action { margin: 0 10px 10px; padding: 14px; }
  .team-promotion-hero-summary { margin: 0 10px 10px; padding: 13px 8px; }
  .team-promotion-hero-summary article { padding: 6px 9px 10px; }
  .team-promotion-hero-summary article strong { font-size: 18px; }
  .team-promotion-level-guide { padding: 16px; }
  .team-promotion-level-heading { align-items: stretch; flex-direction: column; gap: 7px; }
  .team-promotion-level-heading h2 { font-size: 16px; }
  .team-promotion-level-heading > p { flex: none; }
  .team-promotion-level-chain { grid-template-columns: 1fr; }
  .team-promotion-level-chain > i { min-height: 22px; transform: rotate(90deg); }
  .team-promotion-level-owner, .team-promotion-level-node { min-height: 76px; }
  .team-promotion-panel, .team-promotion-guide { padding: 16px; }
  .team-promotion-share { align-items: stretch; flex-direction: column; gap: 14px; }
  .team-promotion-copy-button { width: 100%; min-width: 0; }
  .team-promotion-link-box { grid-template-columns: 1fr; }
  .team-promotion-reset-button { width: 100%; }
  .team-promotion-income-ways { grid-template-columns: 1fr; }
  .team-promotion-steps li { border-bottom-color: #e4e8ee; }
  .team-reward-table-wrap { display: none; }
  .team-reward-card-list { display: grid; gap: 9px; padding: 10px; background: #f7f8fa; }
  .team-reward-card { overflow: hidden; border: 1px solid #dce6f7; border-left: 3px solid #4f7fd9; border-radius: 8px; background: #fff; }
  .team-reward-card.recharge { border-color: #eadfcf; border-left-color: #e6a23c; }
  .team-reward-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 13px 7px; }
  .team-reward-type-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 5px; background: #edf4ff; color: #245fc6; font-size: 11px; font-weight: 800; }
  .team-reward-card.recharge .team-reward-type-badge { background: #fff3dd; color: #985805; }
  .team-reward-card-head strong { color: #a45d05; font-size: 18px; font-variant-numeric: tabular-nums; }
  .team-reward-card > p { margin: 0; padding: 0 13px 11px; color: #475467; font-size: 12px; }
  .team-reward-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 13px; border-top: 1px solid #edf0f4; background: #fafbfc; color: #7b8493; font-size: 11px; }
  .team-reward-card-meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .team-reward-card-meta time { flex: 0 0 auto; }
  .team-reward-card-empty { display: grid; justify-items: center; gap: 7px; padding: 30px 14px; color: #98a2b3; text-align: center; }
  .team-reward-card-empty strong { color: #667085; font-size: 14px; }
  .team-reward-card-empty span { font-size: 12px; }
}
@media (max-width: 480px) { .login-shell { padding: 14px; } .login-card { padding: 26px 22px; } }

@media (max-width: 700px) {
  .scope-toolbar .portal-select-combobox,
  .inline-filter .portal-select-combobox { width: 100%; }
}
.wechat-browser-guide {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 24px;
  background: #f3f6fb;
}

.wechat-browser-guide-card {
  width: min(100%, 440px);
  padding: 30px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .1);
}

.wechat-browser-guide-heading { margin-bottom: 22px; }
.wechat-browser-guide-kicker { color: #2563eb; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.wechat-browser-guide-card h1 { margin: 8px 0 8px; color: #172033; font-size: 26px; line-height: 1.25; }
.wechat-browser-guide-heading p { margin: 0; color: #526071; font-size: 14px; line-height: 1.7; }
.wechat-browser-guide-menu-hint { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 13px 14px; border: 1px solid #d9e6fb; border-radius: 8px; background: #f4f8ff; }
.wechat-browser-guide-dots { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 8px; background: #2563eb; color: #fff; font-size: 20px; font-weight: 900; letter-spacing: 2px; line-height: 1; }
.wechat-browser-guide-menu-hint div { display: grid; gap: 2px; }
.wechat-browser-guide-menu-hint strong { color: #1e3a6f; font-size: 14px; }
.wechat-browser-guide-menu-hint span { color: #5d6f8c; font-size: 12px; }
.wechat-browser-guide-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wechat-browser-guide-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid #edf0f4; }
.wechat-browser-guide-steps li:first-child { border-top: 0; }
.wechat-browser-guide-steps b { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: #eaf2ff; color: #2563eb; font-size: 13px; }
.wechat-browser-guide-steps div { display: grid; gap: 2px; }
.wechat-browser-guide-steps strong { color: #344054; font-size: 14px; }
.wechat-browser-guide-steps span { color: #7b8493; font-size: 12px; }
.wechat-browser-guide-footnote { margin: 18px 0 0; padding-top: 15px; border-top: 1px solid #edf0f4; color: #667085; font-size: 12px; line-height: 1.6; }

@media (max-width: 480px) {
  .wechat-browser-guide { padding: 16px; }
  .wechat-browser-guide-card { padding: 24px 20px; }
  .wechat-browser-guide-card h1 { font-size: 23px; }
  .wechat-browser-guide-heading p { font-size: 13px; }
}
