:root {
  --primary: #2b5cff;
  --primary-dark: #1e47cc;
  --primary-light: #eaf0ff;
  --green: #07c160;
  --green-dark: #06ad56;
  --orange: #ff9f0a;
  --red: #f5455c;
  --blue: #2b6de8;
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #232a38;
  --muted: #8a94a6;
  --border: #e6e9f2;
  --sidebar-bg: #1e2638;
  --sidebar-text: #9aa4bb;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(20, 30, 60, .06), 0 1px 2px rgba(20, 30, 60, .04);
  --shadow-lg: 0 12px 32px rgba(20, 30, 60, .18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px; border: 1px solid var(--border);
  background: #fff; color: var(--text); font-size: 14px; cursor: pointer;
  transition: all .15s; white-space: nowrap; user-select: none;
}
.btn:hover { border-color: #c9d1e6; background: #fafbfd; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-green { background: var(--green); border-color: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-danger { background: #fff; border-color: #ffd3da; color: var(--red); }
.btn-danger:hover { background: #fff4f6; border-color: #ffb3bf; }
.btn-outline { background: #fff; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost { border-color: transparent; color: var(--muted); }
.btn-ghost:hover { background: #f2f4f9; color: var(--text); }
.btn-sm { padding: 4px 10px; font-size: 13px; border-radius: 6px; }
.btn-lg { padding: 11px 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- 输入 ---------- */
.input, .select, .textarea {
  width: 100%; padding: 8px 12px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; color: var(--text);
  background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(43, 92, 255, .12);
}
.input[readonly] { background: #f7f8fc; color: var(--muted); }
.input::placeholder { color: #b3bac9; }
.textarea { resize: vertical; min-height: 72px; }
.form-row { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.form-group { flex: 1; min-width: 180px; }
.form-group label { display: block; font-size: 13px; color: #667085; margin-bottom: 6px; }
.form-group label .req { color: var(--red); margin-left: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card-pad { padding: 20px 24px; }
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
}
.card-head h3 { font-size: 15px; font-weight: 600; }

/* ---------- 页面 ---------- */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.page-head h1 { font-size: 20px; font-weight: 700; }
.page-head .desc { color: var(--muted); font-size: 13px; margin-top: 4px; }
.page-head-actions { display: flex; gap: 10px; }
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .spacer { flex: 1; }
.toolbar-hint { font-size: 12px; color: var(--muted); }

/* ---------- 表格 ---------- */
.tbl-wrap { overflow: auto; border-radius: 0 0 10px 10px; }
table.tbl { width: 100%; border-collapse: collapse; }
.tbl th {
  background: #f8fafd; text-align: left; padding: 10px 12px;
  font-size: 13px; font-weight: 600; color: #667085;
  border-bottom: 1px solid var(--border); white-space: nowrap; position: sticky; top: 0;
}
.tbl td { padding: 10px 12px; border-bottom: 1px solid #f0f2f8; font-size: 13.5px; vertical-align: middle; }
.tbl tbody tr:hover { background: #fafbff; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .th-num { text-align: right; }
.tbl .actions { white-space: nowrap; }
.tbl tfoot td { background: #f8fafd; font-weight: 600; }

/* ---------- 徽章 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px;
  border-radius: 20px; font-size: 12px; white-space: nowrap;
}
.badge-ok { background: #e6f9ef; color: #0a9e57; }
.badge-warn { background: #fff4e0; color: #d97b00; }
.badge-danger { background: #ffecef; color: #e3324c; }
.badge-info { background: #e8f0ff; color: var(--primary); }
.badge-gray { background: #eef0f5; color: #667085; }

/* ---------- Tab ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; overflow-x: auto; }
.tab {
  padding: 9px 16px; cursor: pointer; font-size: 14px; color: var(--muted);
  border-bottom: 2px solid transparent; white-space: nowrap; user-select: none;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

/* ---------- 登录页 ---------- */
.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef3ff 0%, #f6f8ff 45%, #eefbf4 100%);
  padding: 24px;
}
.login-card {
  width: 100%; max-width: 450px; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 36px 34px 26px;
}
.login-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.login-logo, .brand-logo {
  width: 44px; height: 44px; border-radius: 12px; background: var(--green);
  color: #fff; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(7, 193, 96, .35);
}
.login-title { font-size: 20px; font-weight: 700; }
.login-sub { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.login-tip {
  background: var(--primary-light); color: #3152b8; font-size: 12.5px;
  border-radius: 8px; padding: 10px 12px; margin-bottom: 18px; line-height: 1.6;
}
.login-accounts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.login-account {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 10px; cursor: pointer; transition: all .15s;
}
.login-account:hover { border-color: var(--primary); background: #fafbff; }
.login-account.disabled { opacity: .55; cursor: not-allowed; }
.login-account.disabled:hover { border-color: var(--border); background: #fff; }
.login-account.selected { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 3px rgba(43,92,255,.08); }
.login-account .avatar { width: 40px; height: 40px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; flex-shrink: 0; }
.login-account .acc-info { flex: 1; }
.login-account .acc-name { font-weight: 600; font-size: 14px; }
.login-account .acc-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.login-account .acc-role { font-size: 11px; padding: 1px 8px; border-radius: 10px; }
.login-foot { text-align: center; color: #a5adbd; font-size: 11.5px; margin-top: 18px; line-height: 1.7; }

/* ---------- 布局 ---------- */
.app { display: flex; height: 100vh; overflow: hidden; }
.sidebar {
  width: 236px; background: var(--sidebar-bg); color: #fff;
  display: flex; flex-direction: column; flex-shrink: 0;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; }
.brand-logo { width: 34px; height: 34px; font-size: 17px; border-radius: 9px; }
.brand-name { font-size: 15.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu { flex: 1; overflow-y: auto; padding: 6px 10px 16px; }
.menu::-webkit-scrollbar { width: 4px; }
.menu::-webkit-scrollbar-thumb { background: #343f57; border-radius: 4px; }
.menu-group { font-size: 11.5px; color: #5d6880; padding: 14px 12px 6px; letter-spacing: 1px; }
.menu-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin: 2px 0;
  border-radius: 8px; color: var(--sidebar-text); cursor: pointer; font-size: 13.5px; user-select: none;
}
.menu-item:hover { background: #28324a; color: #fff; }
.menu-item.active { background: var(--primary); color: #fff; }
.menu-item .mi-icon { font-size: 16px; width: 20px; text-align: center; }
.menu-item .mi-arrow { margin-left: auto; font-size: 11px; opacity: .7; transition: transform .15s; }
.menu-item.open .mi-arrow { transform: rotate(90deg); }
.submenu { overflow: hidden; }
.submenu .menu-item { padding-left: 36px; font-size: 13px; }
.submenu.collapsed { display: none; }
.sidebar-foot { border-top: 1px solid #2a344c; padding: 12px 14px; }
.side-user { display: flex; align-items: center; gap: 10px; color: var(--sidebar-text); font-size: 13px; cursor: pointer; padding: 6px; border-radius: 8px; }
.side-user:hover { background: #28324a; }
.side-user .avatar { width: 30px; height: 30px; border-radius: 50%; font-size: 12px; }
.side-user .su-name { font-weight: 600; color: #e8ecf5; }
.side-user .su-role { font-size: 11px; color: #6b7690; }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar {
  height: 56px; background: #fff; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; padding: 0 22px; flex-shrink: 0;
}
.page-crumb { font-size: 13px; color: var(--muted); }
.page-crumb b { color: var(--text); font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-tip { font-size: 12px; color: var(--muted); }
.avatar-wrap { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.avatar-wrap:hover { background: #f4f6fb; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; flex-shrink: 0;
}
.avatar-wrap .at-name { font-size: 13px; font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.content { flex: 1; overflow-y: auto; padding: 22px 24px 40px; }

/* 用户下拉 */
.dropdown {
  position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 10px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border); min-width: 190px; padding: 6px; z-index: 200;
}
.dropdown .dd-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: 13.5px; }
.dropdown .dd-item:hover { background: #f4f6fb; }
.dropdown .dd-item .avatar { width: 26px; height: 26px; font-size: 11px; }
.dropdown .dd-sep { height: 1px; background: var(--border); margin: 5px 8px; }
.dd-wrap { position: relative; }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(20, 28, 48, .45); z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeIn .15s;
}
.modal {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  width: 100%; max-height: calc(100vh - 60px); display: flex; flex-direction: column;
  animation: popIn .18s ease-out;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 16px; font-weight: 700; }
.modal-close { cursor: pointer; color: var(--muted); font-size: 20px; line-height: 1; padding: 4px; }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 20px 22px; overflow: auto; }
.modal-foot { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { transform: scale(.96) translateY(6px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }

/* 多选 chip */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 5px 12px; border-radius: 20px; border: 1px solid var(--border);
  cursor: pointer; font-size: 13px; user-select: none; background: #fff;
}
.chip:hover { border-color: var(--primary); }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip.off { color: var(--muted); }

/* 提示 */
#toast-root { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 900; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: #2a3349; color: #fff; padding: 10px 20px; border-radius: 10px;
  font-size: 13.5px; box-shadow: var(--shadow-lg); animation: popIn .2s ease-out; max-width: 480px;
}
.toast.warn { background: #b26a00; }
.toast.error { background: #d63b4e; }
.toast.ok { background: var(--green); }

/* 确认框 */
.confirm-box { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); width: 420px; max-width: 92vw; padding: 24px; }
.confirm-box .cb-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.confirm-box .cb-body { font-size: 14px; color: #4a5468; line-height: 1.7; margin-bottom: 20px; white-space: pre-line; }
.confirm-box .cb-foot { display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- 统计卡片 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat-card { padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.stat-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.stat-val { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.stat-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- 预算编制表格 ---------- */
.budget-grid { min-width: 620px; }
.budget-grid td input.cell-input { width: 110px; padding: 6px 8px; text-align: right; font-size: 13.5px; }
.budget-grid td input.cell-input:focus { border-color: var(--primary); }
.budget-grid .cell-sel { background: var(--primary-light); }
.budget-grid .cell-num { font-variant-numeric: tabular-nums; }
.budget-grid .cell-empty { color: #b7bfce; }
.period-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.period-tab { padding: 6px 12px; border-radius: 7px; font-size: 12.5px; cursor: pointer; border: 1px solid var(--border); color: var(--muted); background: #fff; }
.period-tab:hover { border-color: var(--primary); color: var(--primary); }
.period-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }

/* ---------- 报销明细 ---------- */
.line-row td { padding: 8px 3px; }
.line-row .input, .line-row .select { padding: 6px 9px; font-size: 13px; }
.line-dollar { font-variant-numeric: tabular-nums; font-weight: 600; }
table.reimb-table { min-width: 1120px; }
.inv-thumb {
  width: 40px; height: 40px; border-radius: 6px; background: #eef1f7; color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; border: 1px dashed var(--border);
}
.inv-thumb.has { background: #fff7e6; color: #d97b00; border: 1px solid #ffe0a3; }
.inv-thumb:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- 树 ---------- */
.tree ul { list-style: none; padding-left: 22px; }
.tree > ul { padding-left: 0; }
.tree .tree-node { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; }
.tree .tree-node:hover { background: #f4f6fb; }
.tree .tree-caret { cursor: pointer; width: 16px; text-align: center; color: var(--muted); transition: transform .15s; }
.tree .tree-caret.open { transform: rotate(90deg); }
.tree .tree-icon { font-size: 15px; }
.tree .tree-name { font-weight: 500; }
.tree .tree-meta { font-size: 12px; color: var(--muted); }

/* ---------- 权限矩阵 ---------- */
.perm-table th, .perm-table td { text-align: center; white-space: nowrap; }
.perm-table td:first-child, .perm-table th:first-child { text-align: left; }
.perm-cell { cursor: pointer; padding: 4px 10px; border-radius: 6px; font-size: 12px; display: inline-block; min-width: 44px; }
.perm-cell.all { background: #e6f9ef; color: #0a9e57; }
.perm-cell.view { background: #e8f0ff; color: var(--primary); }
.perm-cell.none { background: #eef0f5; color: #98a1b3; }

/* ---------- 其他 ---------- */
.empty {
  text-align: center; color: var(--muted); padding: 48px 20px; font-size: 13.5px; line-height: 2;
}
.empty .empty-icon { font-size: 40px; margin-bottom: 8px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt20 { margin-top: 20px; }
.mb12 { margin-bottom: 12px; } .mb16 { margin-bottom: 16px; }
.flex { display: flex; align-items: center; gap: 10px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.w70 { width: 70px; } .w80 { width: 80px; } .w90 { width: 90px; } .w100 { width: 100px; } .w110 { width: 110px; } .w120 { width: 120px; } .w130 { width: 130px; }
.w140 { width: 140px; } .w150 { width: 150px; } .w200 { width: 200px; } .w220 { width: 220px; } .w260 { width: 260px; }
.wauto { width: auto; min-width: 160px; max-width: 380px; }
.hint-box {
  background: var(--primary-light); border: 1px solid #d5e0ff; color: #46629e;
  padding: 10px 14px; border-radius: 8px; font-size: 12.5px; line-height: 1.8; margin-bottom: 16px;
}
.hint-box.yellow { background: #fff8e8; border-color: #ffe2ad; color: #9a6a12; }
.hint-box.green { background: #e9f9f0; border-color: #b9ecd2; color: #0a8f4e; }
.approval-flow { display: flex; align-items: center; flex-wrap: wrap; }
.approval-step { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.approval-step .as-dot { width: 22px; height: 22px; border-radius: 50%; background: #eef0f5; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.approval-step.done .as-dot { background: var(--green); color: #fff; }
.approval-step.done { color: var(--text); }
.approval-step.now .as-dot { background: var(--primary); color: #fff; }
.approval-step.now { color: var(--primary); font-weight: 600; }
.approval-line { width: 34px; height: 1px; background: #d8dde8; }
.approval-line.done { background: var(--green); }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 18px; }
.info-item .ii-label { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.info-item .ii-val { font-size: 14px; font-weight: 500; }
.reimb-summary { display: flex; justify-content: flex-end; gap: 40px; padding: 14px 18px; background: #f8fafd; border-top: 1px solid var(--border); }
.reimb-summary .rs-item { text-align: right; }
.rs-item .rs-label { font-size: 12px; color: var(--muted); }
.rs-item .rs-val { font-size: 18px; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }

/* 单据预览 */
.doc-preview { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.doc-preview .dp-head { background: #f8fafd; padding: 14px 20px; border-bottom: 1px solid var(--border); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.status-flow { display: flex; align-items: center; gap: 10px; font-size: 13px; flex-wrap: wrap; }
.status-flow .sf-item { color: var(--muted); padding: 4px 12px; border-radius: 20px; border: 1px solid var(--border); }
.status-flow .sf-item.done { background: var(--green); color: #fff; border-color: var(--green); }
.status-flow .sf-item.now { background: var(--primary); color: #fff; border-color: var(--primary); }
.status-flow .sf-arr { color: #c3cad9; }

/* 通知条 */
.notice-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 8px;
  background: #fff8e8; border: 1px solid #ffe2ad; color: #9a6a12; font-size: 13px; margin-bottom: 16px;
}
.notice-bar.red { background: #ffecef; border-color: #ffcdd5; color: #c93248; }

/* ---------- 宽表格适配（1080p / 系统缩放） ---------- */
/* 紧凑模式：列多时压缩留白，尽量一屏放下 */
table.tbl.compact th { padding: 6px 7px; font-size: 12px; }
table.tbl.compact td { padding: 6px 7px; font-size: 12.5px; }
/* 首列冻结：横向滚动时行标题始终可见 */
table.sticky-first th:first-child, table.sticky-first td:first-child {
  position: sticky; left: 0; z-index: 2; background: #fff;
  box-shadow: 1px 0 0 var(--border);
}
table.sticky-first thead th:first-child { z-index: 4; background: #f8fafd; }
table.sticky-first tfoot td:first-child { background: #f8fafd; }
table.sticky-first tbody tr:hover td:first-child { background: #fafbff; }
/* 横向滚动提示：可滚动时右侧留出渐隐阴影 */
.tbl-wrap { position: relative; }

@media (max-width: 1500px) {
  .sidebar { width: 208px; }
  .brand { padding: 16px 14px 12px; }
  .menu-item { padding: 8px 10px; }
  .submenu .menu-item { padding-left: 30px; }
}

@media (max-width: 900px) {
  .sidebar { width: 64px; }
  .brand-name, .menu-group, .menu-item .mi-label, .menu-item .mi-arrow, .side-user .su-info, .submenu { display: none; }
  .menu-item { justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
}

/* 矮屏（如 1080p + 150% 系统缩放）登录页压缩，账号列表内部滚动 */
@media (max-height: 820px) {
  .login-page { padding: 16px; }
  .login-card { padding: 24px 28px 18px; }
  .login-brand { margin-bottom: 14px; }
  .login-tip { margin-bottom: 12px; padding: 8px 12px; }
  .login-accounts { gap: 8px; margin-bottom: 14px; max-height: 42vh; overflow-y: auto; }
  .login-account { padding: 8px 12px; }
  .login-account .avatar { width: 34px; height: 34px; font-size: 13px; }
  .login-foot { margin-top: 12px; }
}
