/* ==========================================================================
   豫建人才通 · 管理后台样式
   2026-10-29  视觉升级（深蓝侧栏保留）
   2026-10-29  字号整体放大一档（对齐用户偏好：正文 16px、控件更高）

   原则：
   1. 只改视觉，不动页面结构和业务逻辑；所有旧 class 名保持可用。
   2. 颜色、字号、控件高度、圆角、投影统一收成变量，以后调档只改 :root。
   3. 侧栏保留深蓝色，仅做质感提升，不改整体观感。
   4. 手机预览区（.phone）保持真机尺寸，不跟随放大，否则看不出学员端实际效果。
   ========================================================================== */

:root {
  /* 主色 */
  --brand: #0b57a4;
  --brand-dark: #084077;
  --brand-soft: #eaf2fb;
  --brand-ring: rgba(11, 87, 164, 0.14);

  /* 中性色 */
  --ink: #16202c;
  --ink-2: #4c5866;
  --muted: #78848f;
  --faint: #98a3b0;
  --line: #e5e9f0;
  --line-soft: #eff2f6;
  --bg: #f4f6f9;
  --card: #ffffff;
  --card-sub: #fbfcfd;

  /* 状态色 */
  --ok: #0e7a4d;
  --ok-soft: #e7f5ed;
  --warn: #a56a0b;
  --warn-soft: #fcf2e1;
  --danger: #b02a22;
  --danger-soft: #fbebea;

  /* 侧栏（深蓝，保留原观感） */
  --side-bg: #0f2740;
  --side-bg-deep: #0b1e33;
  --side-text: #c3d3e4;
  --side-muted: #8098b1;
  --side-hover: rgba(255, 255, 255, 0.06);
  --side-active: rgba(77, 163, 255, 0.16);
  --side-accent: #4da3ff;
  --side-w: 252px;

  /* 字号档位：想再大/再小只改这几行 */
  --fs-base: 16px;      /* 正文、普通文字 */
  --fs-table: 14.5px;   /* 表格正文 */
  --fs-label: 14px;     /* 表单标签、提示文字 */
  --fs-sm: 13.5px;      /* 次要说明 */
  --fs-th: 13px;        /* 表头 */
  --fs-tag: 13px;       /* 状态标签、小按钮 */
  --fs-h1: 24px;        /* 页面标题 */
  --fs-h2: 17px;        /* 卡片标题 */
  --fs-nav: 15.5px;     /* 侧栏导航 */
  --fs-num: 30px;       /* 统计数字 */

  /* 控件尺寸 */
  --ctl-h: 44px;        /* 输入框、下拉 */
  --ctl-h-sm: 32px;     /* 小按钮 */
  --btn-h: 38px;        /* 普通按钮 */

  /* 形状与投影 */
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-pill: 100px;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-pop: 0 12px 32px rgba(16, 24, 40, 0.12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font-family: inherit; font-size: var(--fs-base); }

/* 滚动条：细一点，别抢视线 */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: #d5dce6; border-radius: 6px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #bcc7d5; background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------------- 登录（参考政务系统常见版式：左品牌、右表单、大字号） ---------------- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 36px 24px;
  background:
    radial-gradient(760px 520px at 12% 4%, #e4eefb 0%, rgba(228, 238, 251, 0) 70%),
    radial-gradient(680px 520px at 88% 96%, #e7edf7 0%, rgba(231, 237, 247, 0) 72%),
    radial-gradient(420px 300px at 78% 8%, #eef4fd 0%, rgba(238, 244, 253, 0) 74%),
    #f4f7fb;
}
.login-shell {
  width: 1060px;
  max-width: 100%;
  min-height: 604px;
  display: flex;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(11, 42, 74, 0.16);
}

/* 左：品牌说明区 */
.login-visual {
  width: 420px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  color: #fff;
  background: linear-gradient(158deg, #1a4770 0%, #123653 45%, #0b1e33 100%);
}
.lv-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.6px;
}
.lv-brand .brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lv-text h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.42;
  font-weight: 700;
  letter-spacing: 1px;
}
.lv-text p { margin: 0; font-size: 13.5px; line-height: 1.85; color: rgba(255, 255, 255, 0.74); }
.lv-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  z-index: 1;
}
.lv-points li { display: flex; gap: 9px; align-items: flex-start; }
.lv-points li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--side-accent);
}
.lv-deco {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  pointer-events: none;
}
.lv-deco svg { width: 100%; height: 100%; display: block; }

/* 右：表单 */
.login-form {
  flex: 1;
  min-width: 0;
  padding: 54px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}
.login-form h1 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 10px;
  text-indent: 10px;
  text-align: center;
  color: var(--brand);
}
.login-form p.sub {
  margin: 0 0 32px;
  text-align: center;
  font-size: 14.5px;
  color: var(--muted);
}
.login-form .field { margin-bottom: 20px; }
.field-icon .input-wrap { position: relative; }
.field-icon .ic {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  color: #9aa6b3;
  pointer-events: none;
}
.field-icon .input-wrap input { height: 52px; padding-left: 46px; font-size: 16.5px; border-radius: 10px; }
.login-form .btn-lg {
  height: 52px;
  margin-top: 8px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 4px;
  text-indent: 4px;
  border-radius: 10px;
}
.login-form .hint { margin-top: 20px; font-size: 13px; line-height: 1.7; }

.login-foot {
  font-size: 13.5px;
  color: #8695a5;
  letter-spacing: 0.2px;
  text-align: center;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  height: var(--ctl-h);
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: #fff;
  color: var(--ink);
  font-size: var(--fs-base);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 104px; line-height: 1.75; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #aab4c0; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfd8e3; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-ring);
}

.hint {
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.75;
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--card-sub);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
}

/* 文件选择框：默认样式太丑，改成“按钮＋文件名” */
input[type="file"],
.field input[type="file"] {
  height: auto;
  padding: 6px 8px;
  font-size: var(--fs-sm);
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  line-height: 1.5;
}
input[type="file"]::file-selector-button {
  margin: 0 12px 0 0;
  height: 30px;
  padding: 0 14px;
  border: 1px solid #dce3eb;
  border-radius: 7px;
  background: #fff;
  color: var(--ink-2);
  font-family: inherit;
  font-size: var(--fs-tag);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
input[type="file"]::file-selector-button:hover { background: #fbfcfe; border-color: #c3ceda; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: var(--btn-h);
  padding: 0 18px;
  border-radius: var(--radius-btn);
  border: 1px solid #dce3eb;
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  font-size: var(--fs-label);
  line-height: 1;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn:hover { border-color: #c3ceda; color: var(--ink); background: #fbfcfe; }
.btn:active { transform: translateY(0.5px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--brand-ring); }

.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 500; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

.btn-danger { background: #fff; border-color: #eec9c6; color: var(--danger); }
.btn-danger:hover { background: #fdf4f3; border-color: #e2b1ac; color: var(--danger); }

.btn-sm { height: var(--ctl-h-sm); padding: 0 9px; font-size: var(--fs-tag); border-radius: 7px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

/* ---------------- 布局 ---------------- */
#app { display: flex; min-height: 100vh; }

.side {
  width: var(--side-w);
  flex-shrink: 0;
  background: var(--side-bg);
  color: var(--side-text);
  padding: 20px 14px 22px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.side::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); background-clip: content-box; }

.side .brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 8px 20px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .3px;
}
.side .brand .brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(160deg, #2470cf, #12508f);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}
.side .brand .brand-name { display: block; line-height: 1.3; }
.side .brand small {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--side-muted);
  margin-top: 4px;
  letter-spacing: 0;
}

.side nav { display: flex; flex-direction: column; gap: 3px; }
.side nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: none;
  color: var(--side-text);
  text-align: left;
  padding: 11px 14px;
  border-radius: 9px;
  cursor: pointer;
  font-size: var(--fs-nav);
  transition: background .15s, color .15s;
}
.side nav button:hover { background: var(--side-hover); color: #fff; }
.side nav button.on {
  background: var(--side-active);
  color: #fff;
  font-weight: 500;
  box-shadow: inset 3px 0 0 var(--side-accent);
}
.side nav button:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--side-accent); }

main {
  flex: 1;
  min-width: 0;
  padding: 0 32px 64px;
}

/* 页头做成浅色吸顶条，滚动时标题和当前账号一直在 */
.page-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 16px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, var(--bg) 74%, rgba(244, 246, 249, 0));
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  letter-spacing: .3px;
}
.page-head .who {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: var(--fs-label);
}
.page-head .who button { margin-left: 0; }

/* ---------------- 卡片 ---------------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}
.card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 16px;
}
.card h2 .tag { margin-left: 0; }

.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.row .field { margin-bottom: 0; flex: 1 1 190px; min-width: 156px; max-width: 340px; }
.row .btn { height: var(--ctl-h); flex: 0 0 auto; }

/* ---------------- 表格 ---------------- */
.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
th {
  font-size: var(--fs-th);
  font-weight: 500;
  color: var(--muted);
  background: #f7f9fb;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th:first-child { border-top-left-radius: 9px; border-bottom-left-radius: 9px; }
th:last-child { border-top-right-radius: 9px; border-bottom-right-radius: 9px; }
td { font-size: var(--fs-table); color: var(--ink-2); line-height: 1.6; font-variant-numeric: tabular-nums; text-wrap: pretty; }
td b, td strong { color: var(--ink); }
tr:hover td { background: #fafbfd; }
tr:last-child td { border-bottom-color: transparent; }

/* ---------------- 标签 ---------------- */
.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-tag);
  line-height: 1;
  background: #f1f3f6;
  color: #5a6675;
  white-space: nowrap;
}
.tag-ok { background: var(--ok-soft); color: var(--ok); }
.tag-warn { background: var(--warn-soft); color: var(--warn); }
.tag-danger { background: var(--danger-soft); color: var(--danger); }
.tag-info { background: var(--brand-soft); color: var(--brand); }

.muted { color: var(--muted); font-size: var(--fs-sm); }
.empty { padding: 40px 0; text-align: center; color: var(--muted); font-size: var(--fs-label); }

.actions { display: flex; gap: 5px; flex-wrap: wrap; }

/* ---------------- 提示条 ---------------- */
.bar {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 16px;
  border-radius: 9px;
  margin-bottom: 16px;
  font-size: var(--fs-label);
  line-height: 1.7;
  border: 1px solid transparent;
}
.bar-warn { background: #fef8ec; border-color: #f2e2c2; color: #7a4f0c; }
.bar-info { background: #eef5fe; border-color: #d3e3f7; color: #0b4c8c; }
.bar-danger { background: #fdf0ef; border-color: #f3d2cf; color: #8c1d18; }

/* 本次导入结果的逐行错误（2026-10-30）：最多 50 行，行号在前，长句自动换行 */
.err-list {
  margin: 8px 0 0;
  padding: 12px 14px 12px 30px;
  max-height: 320px;
  overflow: auto;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--ink-2);
}
.err-list li { margin: 2px 0; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------------- 统计 ---------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--card-sub);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 15px 17px;
}
.stat b {
  display: block;
  font-size: var(--fs-num);
  line-height: 40px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat span { color: var(--muted); font-size: var(--fs-sm); }

/* ---------------- Tab 切换 ---------------- */
.tabs { display: flex; gap: 7px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs button {
  height: 34px;
  padding: 0 15px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: var(--fs-sm);
  transition: background .15s, border-color .15s, color .15s;
}
.tabs button:hover { border-color: #c3ceda; color: var(--ink); }
.tabs button.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 500; }

details summary {
  cursor: pointer;
  color: var(--brand);
  font-size: var(--fs-label);
  padding: 3px 0;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-right: 8px;
  vertical-align: 1px;
  transition: transform .15s;
}
details[open] summary::before { transform: rotate(90deg) translateX(1px); }
details[open] summary { margin-bottom: 12px; }

/* ---------------- CSV 预览 ---------------- */
pre.csv-preview {
  background: var(--side-bg-deep);
  color: #d7e5f4;
  padding: 16px;
  border-radius: 9px;
  overflow: auto;
  max-height: 340px;
  font-size: 13.5px;
  line-height: 1.65;
  border: 1px solid #17364f;
}

/* ---------------- 弹窗 ---------------- */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(11, 26, 42, 0.46);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px;
  overflow-y: auto;
  z-index: 50;
}
.modal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  width: 620px;
  max-width: 100%;
  max-height: 82vh;
  overflow: auto;
  padding: 24px;
  box-shadow: var(--shadow-pop);
}
.modal h3 { margin: 0 0 16px; font-size: var(--fs-h2); font-weight: 600; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* ---------------- 轻提示 ---------------- */
#toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 8px);
  background: #16202c;
  color: #fff;
  padding: 12px 20px;
  border-radius: 9px;
  font-size: var(--fs-label);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: var(--shadow-pop);
  z-index: 100;
  max-width: 80vw;
}
#toast.on { opacity: .96; transform: translate(-50%, 0); }

/* ---------------- 项目介绍：编辑 / 预览 / 对比 ---------------- */
.para { font-size: var(--fs-table); line-height: 1.85; color: #38424e; }
.col-list { margin: 0; padding-left: 22px; font-size: var(--fs-table); line-height: 1.9; color: #38424e; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { background: #f1f5fa; border-radius: var(--radius-pill); padding: 4px 11px; font-size: var(--fs-sm); color: var(--ink-2); }
.step-list { margin: 0; padding-left: 22px; font-size: var(--fs-table); line-height: 1.85; color: #38424e; }
.notice-box {
  background: #fef8ec;
  border: 1px solid #f2e2c2;
  border-radius: 9px;
  padding: 13px 15px;
  font-size: var(--fs-label);
  line-height: 1.85;
  color: #7a4f0c;
}
.faq-one { border-bottom: 1px solid var(--line-soft); padding: 14px 0; }
.faq-one:last-child { border-bottom: 0; }
.faq-q { font-weight: 600; font-size: var(--fs-table); color: var(--ink); }
.faq-a { font-size: var(--fs-label); color: var(--ink-2); line-height: 1.8; margin-top: 6px; }
.faq-row {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  background: var(--card-sub);
}
.faq-editor > .btn { margin-top: 8px; }

/* 手机预览：按真机尺寸固定，不跟随后台字号放大，否则看不出学员端实际效果 */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 375px;
  background: #fff;
  border: 1px solid #d5dee8;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 26px rgba(16, 24, 40, 0.08);
  max-height: 62vh;
  overflow: auto;
  font-size: 14px;
  line-height: 1.6;
}
.ph-head {
  background: linear-gradient(180deg, #eef3fa, #e6eef7);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
}
.ph-name { font-size: 18px; font-weight: 600; color: var(--ink); }
.ph-sub { font-size: 12px; color: var(--ink-2); margin-top: 5px; }
.ph-note { font-size: 11px; color: var(--faint); margin-top: 6px; }
.ph-stats { display: flex; gap: 8px; margin: 12px 0; }
.ph-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--card-sub);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  padding: 9px 4px;
}
.ph-stat b { font-size: 15px; font-weight: 600; color: var(--ink); }
.ph-stat span { font-size: 11px; color: var(--muted); }
.ph-card { border: 1px solid var(--line-soft); border-radius: 10px; padding: 11px 13px; margin-bottom: 8px; }
.ph-card-title { font-weight: 600; font-size: 13px; color: var(--ink); margin-bottom: 7px; }

.cmp-block { border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: 14px; }
.cmp-check { display: block; font-size: var(--fs-label); margin-bottom: 9px; color: var(--ink-2); }
.cmp-box {
  background: var(--card-sub);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  padding: 11px 13px;
  font-size: var(--fs-sm);
  line-height: 1.8;
  min-height: 44px;
  color: var(--ink-2);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .login-visual { display: none; }
  .login-shell { width: 460px; min-height: auto; }
  .login-form { padding: 44px 34px; }
  .login-wrap { gap: 18px; }
}
@media (max-width: 1280px) {
  main { padding: 0 22px 52px; }
  .side { --side-w: 216px; }
}
@media (max-width: 1100px) {
  .grid2 { grid-template-columns: 1fr; }
  .side { --side-w: 200px; }
}
@media (max-width: 820px) {
  #app { flex-direction: column; }
  .side { position: static; height: auto; width: 100%; padding: 12px; }
  .side nav { flex-direction: row; flex-wrap: wrap; }
  .side nav button { width: auto; }
  main { padding: 0 14px 40px; }
  .page-head { position: static; }
}
