/* 设计变量沿用 PRD 原型的配色（青绿主色 + 琥珀辅色） */
:root {
  --bg: #f5f8fc;
  --bg2: #ffffff;
  --ink: #1a2e35;
  --muted: #5a7184;
  --rule: #e2e8f0;
  --accent: #ff8534;
  --accent-dark: #e56a1a;
  --accent2: #f59e0b;
  --danger: #dc2626;
  --accent-light: rgba(255, 133, 52, 0.10);
  --shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .08);
  --radius: 10px;
  --radius-sm: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(255, 133, 52, .07), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(245, 158, 11, .05), transparent 50%);
  min-height: 100vh;
}

button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: var(--accent); text-decoration: none; }

/* ---------- 登录页 ---------- */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.login-card {
  width: 100%; max-width: 400px; background: var(--bg2); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 2rem;
}
.login-card h1 { font-size: 1.25rem; margin-bottom: .25rem; }
.login-card .sub { color: var(--muted); font-size: .82rem; margin-bottom: 1.2rem; }
.login-tip { margin: 1.1rem 0 0 1.05rem; padding: 0; font-size: .78rem; color: var(--muted); line-height: 1.8; }

/* 机构端登录页：左侧系统介绍 + 右侧表单 */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1.5rem;
  background: linear-gradient(160deg, var(--accent-light), transparent 45%);
}
.auth-split {
  width: 100%; max-width: 940px; display: grid; grid-template-columns: 1.05fr .95fr;
  background: var(--bg2); border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.auth-intro { padding: 2.4rem 2.2rem; background: var(--bg); border-right: 1px solid var(--rule); }
.auth-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.8rem; }
.auth-intro h2 { font-size: 1.32rem; line-height: 1.5; margin-bottom: .6rem; }
.auth-lead { color: var(--muted); font-size: .85rem; line-height: 1.9; }
.auth-points { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .85rem; }
.auth-points li { display: flex; gap: .6rem; align-items: flex-start; }
.auth-points i {
  font-style: normal; flex-shrink: 0; width: 26px; height: 26px; border-radius: var(--radius-sm);
  background: var(--accent-light); color: var(--accent); font-size: .82rem;
  display: flex; align-items: center; justify-content: center;
}
.auth-points b { display: block; font-size: .85rem; margin-bottom: .1rem; }
.auth-points span { display: block; line-height: 1.7; }
.auth-invite {
  margin-top: 1.8rem; padding: .85rem 1rem; background: var(--bg2);
  border: 1px dashed rgba(255, 133, 52, .45); border-radius: var(--radius-sm); line-height: 1.8;
}
.auth-invite b { display: block; font-size: .85rem; margin-bottom: .15rem; }
.auth-invite .small { color: var(--muted); }
.auth-invite a { text-decoration: underline; word-break: break-all; }
.auth-back { display: inline-block; margin-top: 1.4rem; font-size: .8rem; }
.auth-form { padding: 2.6rem 2.2rem; display: flex; flex-direction: column; justify-content: center; }
.auth-form h1 { font-size: 1.3rem; margin-bottom: .25rem; }
.auth-form .sub { color: var(--muted); font-size: .82rem; margin-bottom: 1.6rem; }
@media (max-width: 860px) {
  .auth-page { padding: 0; align-items: stretch; background: var(--bg2); }
  .auth-split {
    max-width: none; grid-template-columns: 1fr; border: 0; border-radius: 0; box-shadow: none;
  }
  .auth-intro { border-right: 0; border-bottom: 1px solid var(--rule); padding: 1.8rem 1.3rem; }
  .auth-form { padding: 1.8rem 1.3rem; }
}

/* 密码框与右侧「显示/隐藏」切换 */
.pw-wrap { position: relative; }
.pw-wrap > input { padding-right: 3.4rem; }
.pw-eye {
  position: absolute; right: .35rem; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font-size: .76rem; line-height: 1.5; padding: .15rem .4rem; border-radius: var(--radius-sm);
}
.pw-eye:hover { color: var(--accent); background: var(--accent-light); }

/* 富文本编辑器（仅排版，不支持媒体） */
.rt { border: 1px solid var(--rule); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.rt-bar { display: flex; flex-wrap: wrap; gap: .2rem; padding: .3rem .35rem; border-bottom: 1px solid var(--rule); background: var(--bg); }
.rt-bar button {
  border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer;
  font-size: .76rem; padding: .1rem .4rem; border-radius: var(--radius-sm); min-width: 1.6rem;
}
.rt-bar button:hover { color: var(--accent); background: var(--accent-light); border-color: rgba(255, 133, 52, .35); }
.rt-body { padding: .55rem .6rem; outline: none; font-size: .85rem; line-height: 1.75; overflow-y: auto; max-height: 320px; }
.rt-body:empty::before { content: attr(data-placeholder); color: var(--muted); }
.rt-body:focus { box-shadow: inset 0 0 0 2px var(--accent-light); }

/* 富文本展示区（大纲等） */
.rt-view { font-size: .85rem; line-height: 1.8; }
.rt-view h4 { font-size: .88rem; margin: .5rem 0 .2rem; }
.rt-view p { margin: .2rem 0; }
.rt-view ul, .rt-view ol { margin: .2rem 0 .2rem 1.2rem; }
.rt-view blockquote { margin: .3rem 0; padding-left: .6rem; border-left: 3px solid var(--rule); color: var(--muted); }
.rt-view a { text-decoration: underline; }

/* ---------- 框架布局 ---------- */
.boot { display: flex; align-items: center; justify-content: center; min-height: 100vh; color: var(--muted); }
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 220px; flex-shrink: 0; background: var(--bg2); border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.brand { padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--rule); display: flex; align-items: center; gap: .6rem; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
}
/* 品牌 logo：位图自带米色底，做成圆角小块；登录页用放大版 */
.brand-logo {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px;
  object-fit: contain; background: #fdf8ef; border: 1px solid var(--rule);
}
.brand-logo-lg { width: 52px; height: 52px; border-radius: 12px; }
.sidebar nav { flex: 1; overflow-y: auto; padding: .6rem 0; }
.sidebar nav a {
  display: flex; align-items: center; gap: .5rem; padding: .55rem 1.2rem;
  font-size: .85rem; color: var(--muted); border-left: 3px solid transparent;
}
.sidebar nav a i { font-style: normal; width: 1.1rem; text-align: center; }
.sidebar nav a:hover { background: var(--accent-light); color: var(--ink); }
.sidebar nav a.active { background: var(--accent-light); color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
/* 抽屉遮罩只在移动端出现（宽屏下 nav-toggle 不可见，侧边栏常驻） */
.sidebar-mask { display: none; }


.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  min-height: 56px; background: var(--bg2); border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 0 1.2rem;
  position: sticky; top: 0; z-index: 20;
}
.page-title { font-weight: 600; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.1rem; cursor: pointer; }
.bell { position: relative; font-size: 1.05rem; }
.badge {
  background: var(--danger); color: #fff; border-radius: 10px; font-size: .62rem;
  padding: 0 .32rem; min-width: 16px; text-align: center; margin-left: .25rem;
}
.bell .badge { position: absolute; top: -6px; right: -10px; margin: 0; }
.me { display: flex; align-items: center; gap: .45rem; }
.content { padding: 1.2rem; flex: 1; }

/* 机构到期提醒横幅：位于内容区最顶部，只对主账号与教师渲染。
   放在 .topbar 之前且不参与 sticky，避免把导航栏顶下去时遮挡内容。 */
.expiry-banner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .6rem;
  padding: .5rem 1.2rem; font-size: .82rem; line-height: 1.5; text-align: center;
  border-bottom: 1px solid var(--rule);
}
.expiry-banner a { text-decoration: underline; }
.expiry-banner.warn { background: rgba(245, 158, 11, .14); color: #92400e; }
.expiry-banner.warn a { color: #92400e; }
.expiry-banner.danger { background: rgba(239, 68, 68, .14); color: #991b1b; }
.expiry-banner.danger a { color: #991b1b; }

/* ---------- 通用组件 ---------- */
.card { background: var(--bg2); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.card + .card { margin-top: 1rem; }
/* 网格内的卡片由 gap 控制间距，避免相邻卡片再叠一层 margin 把行高撑开 */
/* A. 覆盖全部网格容器（推荐，不用动模板） */
.grid .card + .card,
.grid-2 .card + .card,
.grid-3 .card + .card,
.grid-4  .card + .card { margin-top: 0; }
.grid + .card,
.grid-2 + .card,
.grid-3 + .card,
.grid-4  + .card { margin-top: 10px; }
/* 卡片→网格块、网格块→网格块之间同样需要间距（成长档案等多段式页面） */
.card + [class*="grid"],
[class*="grid"] + [class*="grid"] { margin-top: 10px; }
/* B. 一条通配 */
[class*="grid"] > .card + .card { margin-top: 0; }
.card-title { font-weight: 600; margin-bottom: .8rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.grid { display: grid; gap: .8rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: .8rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.muted { color: var(--muted); }
.small { font-size: .78rem; }
.mt { margin-top: .8rem; }
.mb { margin-bottom: .8rem; }

label.field { display: block; margin-bottom: .7rem; }
label.field > span { display: block; font-size: .78rem; color: var(--muted); margin-bottom: .25rem; }
input, select, textarea {
  width: 100%; padding: .45rem .6rem; border: 1px solid var(--rule);
  border-radius: var(--radius-sm); background: #fff; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-light); }
textarea { min-height: 90px; resize: vertical; }
input[readonly] { background: var(--bg); font-family: ui-monospace, Consolas, monospace; }

.btn {
  padding: .4rem .85rem; border: 1px solid var(--accent); background: var(--accent); color: #fff;
  border-radius: var(--radius-sm); cursor: pointer; font-size: .82rem; white-space: nowrap;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-outline { background: #fff; color: var(--accent); }
.btn-outline:hover { background: var(--accent-light); }
.btn-ghost { background: transparent; border-color: var(--rule); color: var(--muted); }
.btn-ghost:hover { background: var(--bg); border-color: var(--muted); }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }
.btn-sm { padding: .2rem .55rem; font-size: .75rem; }
.btn-block { width: 100%; padding: .55rem; }

table { width: 100%; border-collapse: collapse; font-size: .82rem; }
th, td { padding: .5rem .6rem; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: middle; }
th { color: var(--muted); font-weight: 600; background: var(--bg); white-space: nowrap; }
tbody tr:hover { background: var(--accent-light); }
.table-wrap { overflow-x: auto; }

.tag {
  display: inline-block; padding: .05rem .45rem; border-radius: 20px; font-size: .72rem;
  background: var(--bg); color: var(--muted); border: 1px solid var(--rule);
}
.tag-green { background: var(--accent-light); color: var(--accent-dark); border-color: rgba(255, 133, 52, .35); }
.tag-amber { background: rgba(245, 158, 11, .1); color: #b45309; border-color: rgba(245, 158, 11, .3); }
.tag-red { background: rgba(220, 38, 38, .08); color: var(--danger); border-color: rgba(220, 38, 38, .25); }
.tag-clickable { cursor: pointer; }
.tag-clickable.on { background: var(--accent); color: #fff; border-color: var(--accent); }

.metric { text-align: center; padding: .7rem .5rem; }
.metric .label { font-size: .72rem; color: var(--muted); }
.metric .value { font-size: 1.4rem; font-weight: 700; color: var(--accent); line-height: 1.3; }
.metric .delta { font-size: .72rem; }
.metric .delta.up { color: var(--accent); }
.metric .delta.down { color: var(--danger); }
.metric.abnormal { border: 1px solid rgba(245, 158, 11, .5); background: rgba(245, 158, 11, .05); }

.bar { height: 8px; background: var(--rule); border-radius: 10px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--accent); }

.chart { width: 100%; height: 300px; }

.pill-nav { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .8rem; }
.pill {
  padding: .28rem .8rem; border-radius: 20px; border: 1px solid var(--rule);
  background: #fff; cursor: pointer; font-size: .8rem; color: var(--muted);
}
.pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.timeline { border-left: 2px solid var(--rule); padding-left: 1rem; }
.timeline-item { position: relative; padding-bottom: 1rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -1.32rem; top: .45rem; width: .55rem; height: .55rem;
  border-radius: 50%; background: var(--accent);
}

.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .82rem; flex-shrink: 0;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 46px; height: 46px; font-size: 1rem; }
.avatar-amber { background: var(--accent2); }
.avatar-violet { background: #8b5cf6; }
.avatar-blue { background: #3b82f6; }

.stars { display: flex; gap: .2rem; font-size: 1.25rem; color: var(--rule); cursor: pointer; }
.stars i { font-style: normal; }
.stars i.on { color: var(--accent2); }

.empty { padding: 2rem; text-align: center; color: var(--muted); font-size: .85rem; }
.pager { display: flex; gap: .5rem; align-items: center; justify-content: flex-end; margin-top: .8rem; font-size: .8rem; }

.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .45); display: flex;
  align-items: center; justify-content: center; padding: 1.5rem; z-index: 100;
}
.modal {
  background: var(--bg2); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  width: 100%; max-width: 560px; max-height: 88vh; display: flex; flex-direction: column;
}
.modal-head { padding: .9rem 1.1rem; border-bottom: 1px solid var(--rule); font-weight: 600; display: flex; justify-content: space-between; }
.modal-body { padding: 1.1rem; overflow-y: auto; }
.modal-foot { padding: .8rem 1.1rem; border-top: 1px solid var(--rule); display: flex; justify-content: flex-end; gap: .5rem; }
.modal-x { cursor: pointer; color: var(--muted); }

.toast-wrap, .toast-host { position: fixed; top: 1rem; right: 1rem; z-index: 200; display: flex; flex-direction: column; gap: .5rem; }
.toast {
  background: var(--ink); color: #fff; padding: .55rem .9rem; border-radius: var(--radius-sm);
  font-size: .82rem; box-shadow: var(--shadow-lg); max-width: 380px;
}
.toast.error { background: var(--danger); }
.toast.ok { background: var(--accent); }

.callout {
  background: var(--accent-light); border-left: 3px solid var(--accent);
  padding: .6rem .8rem; border-radius: var(--radius-sm); font-size: .8rem;
}
.callout-warn { background: rgba(245, 158, 11, .08); border-left-color: var(--accent2); }
.callout + .callout { margin-top: .5rem; }

/* ---------- 表单块与文本工具 ---------- */
div.field { margin-bottom: .7rem; }
div.field > label { display: block; font-size: .78rem; color: var(--muted); margin-bottom: .25rem; }
label.check { display: flex; align-items: center; gap: .4rem; font-size: .82rem; margin-bottom: .3rem; cursor: pointer; }
label.check input { width: auto; }

/* 只读信息行：label 与 value 左右排布（个人设置的账号信息用），
   label 固定宽度保证多行对齐，value 占满剩余空间并允许长内容换行。 */
.info-row { display: flex; align-items: baseline; gap: .8rem; padding: .42rem 0; border-bottom: 1px dashed var(--rule); }
.info-row:last-of-type { border-bottom: none; }
.info-row > label { flex: 0 0 5.2rem; font-size: .78rem; color: var(--muted); }
.info-row > div { flex: 1; min-width: 0; word-break: break-all; }

.link { cursor: pointer; color: var(--accent); white-space: nowrap; }
.link.danger, .danger { color: var(--danger); }
/* 消息标题这类长文本链接需要能换行，覆盖 .link 的 nowrap */
.link-title { white-space: normal; font-weight: 600; }
.clamp3 {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; font-size: .8rem; color: var(--muted); margin: .5rem 0;
}
.tag-clickable.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.tag + .tag { margin-left: .25rem; }

/* ---------- 卡片型列表（教师风采 / 荣誉墙 / 作品） ---------- */
.teacher-card, .honor-card { display: flex; flex-direction: column; gap: .3rem; }
.work-card { background: var(--bg2); border: 1px solid var(--rule); border-radius: var(--radius); padding: .6rem; }
.work-media { background: var(--bg); border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.work-media img, .work-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 文档类作品没有缩略图，用占位块承载跳转链接 */
.work-doc {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: .35rem; color: var(--muted);
}
.work-doc:hover { color: var(--accent); background: var(--accent-light); }
.work-doc-icon {
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: .3rem .5rem;
  border: 1px solid var(--rule); border-radius: var(--radius-sm); background: var(--bg2);
}

/* 简版指标块（成长档案、成绩明细等） */
.metric > span { display: block; font-size: .72rem; color: var(--muted); }
.metric > b { font-size: 1.15rem; color: var(--accent); }

.timeline-item.unread { background: var(--accent-light); border-radius: var(--radius-sm); padding: .4rem .6rem 1rem; }

/* ---------- 平台超管端（与机构端视觉区分：深色靛蓝） ---------- */
.platform-bg { background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%); }
.platform-badge {
  display: inline-block; padding: .1rem .5rem; border-radius: 20px; font-size: .7rem;
  background: rgba(99, 102, 241, .12); color: #4f46e5; border: 1px solid rgba(99, 102, 241, .3);
  margin-bottom: .6rem;
}
.platform-mark { background: #4f46e5 !important; }
.platform-side nav a.active { color: #4f46e5; border-left-color: #4f46e5; background: rgba(99, 102, 241, .08); }
.platform-side nav a { cursor: pointer; }

/* 页面筛选条（机构端与平台端通用）：PC 端左说明右操作，
   表单控件固定宽度，避免被全局 input{width:100%} 撑乱 */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: .8rem; flex-wrap: wrap; padding: .7rem .9rem;
}
.filter-bar .filter-hint { flex: 1 1 260px; min-width: 200px; }
.filter-bar .filter-hint .card-title { margin: 0; }
.filter-bar .filter-hint .pill-nav { margin: 0; }
.filter-bar .filter-fields { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.filter-bar .filter-fields input { width: 220px; }
.filter-bar .filter-fields input.w-narrow { width: 150px; }
.filter-bar .filter-fields input[type="month"],
.filter-bar .filter-fields input[type="date"] { width: 150px; }
.filter-bar .filter-fields select { width: 130px; }
.filter-bar .filter-fields select.w-wide { width: 170px; }
.filter-bar .filter-fields .btn { flex: 0 0 auto; }
@media (max-width: 720px) {
  .filter-bar .filter-fields { width: 100%; }
  .filter-bar .filter-fields input,
  .filter-bar .filter-fields input.w-narrow,
  .filter-bar .filter-fields input[type="month"],
  .filter-bar .filter-fields input[type="date"],
  .filter-bar .filter-fields select,
  .filter-bar .filter-fields select.w-wide { flex: 1 1 140px; width: auto; }
}
code { background: var(--bg); padding: 0 .25rem; border-radius: 4px; font-size: .74rem; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .sidebar {
    position: fixed; z-index: 60; left: -220px; transition: left .2s ease; box-shadow: var(--shadow-lg);
  }
  .sidebar.open { left: 0; }
  .sidebar-mask {
    display: block; position: fixed; inset: 0; z-index: 55; background: rgba(15, 23, 42, .45);
  }
}

/* ---------- 欢迎页（账号分配制，首屏给出去登录入口） ---------- */
.landing { max-width: 1040px; margin: 0 auto; padding: 0 1.2rem 3rem; }
.landing-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 0; border-bottom: 1px solid var(--rule); margin-bottom: 2rem;
}
.landing-hero { padding: 1rem 0 2.4rem; }
.landing-hero h1 { font-size: 1.75rem; line-height: 1.4; margin: .8rem 0 .6rem; }
.landing-lead { color: var(--muted); font-size: .92rem; line-height: 1.9; max-width: 660px; }
.landing-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 1.2rem; }
.btn-lg { padding: .6rem 1.4rem; font-size: .9rem; }

/* 四种角色轮播 banner */
.banner {
  position: relative; margin-top: 1.6rem; padding: 1.2rem 2.4rem; background: var(--bg2);
  border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow);
  background-image: linear-gradient(135deg, var(--accent-light), transparent 55%);
}
.banner-slide { display: flex; gap: 1.6rem; align-items: flex-start; min-height: 176px; }
.banner-side {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  width: 116px; flex-shrink: 0; text-align: center; padding-top: .2rem;
}
.banner-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: .2rem;
}
.banner-main { min-width: 0; }
.banner-title { font-size: 1.05rem; font-weight: 600; margin-bottom: .35rem; }
.banner-main .landing-list { font-size: .84rem; }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 26px; height: 26px;
  border: 1px solid var(--rule); border-radius: 50%; background: var(--bg2); color: var(--muted);
  cursor: pointer; line-height: 1; font-size: 1rem; display: flex; align-items: center; justify-content: center;
}
.banner-arrow:hover { color: var(--accent); border-color: var(--accent); }
.banner-arrow.prev { left: .55rem; }
.banner-arrow.next { right: .55rem; }
.banner-dots { display: flex; justify-content: center; gap: .35rem; margin-top: .9rem; }
.banner-dot {
  width: 18px; height: 4px; padding: 0; border: 0; border-radius: 2px;
  background: var(--rule); cursor: pointer;
}
.banner-dot.on { background: var(--accent); width: 26px; }

.landing-note { margin-top: 1.4rem; line-height: 1.9; }
.landing-h2 { font-size: 1.05rem; font-weight: 600; margin: 2.2rem 0 .9rem; }
.landing-icon {
  font-style: normal; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin-right: .45rem; border-radius: var(--radius-sm);
  background: var(--accent-light); color: var(--accent); font-size: .8rem;
}
.landing-list { margin: .2rem 0 0 1.1rem; color: var(--muted); font-size: .82rem; line-height: 1.9; }
.landing-step {
  width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .78rem;
  font-weight: 700; margin-bottom: .5rem;
}
.landing-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.6rem; padding: 1.2rem; background: var(--bg2);
  border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow);
}
@media (max-width: 720px) {
  .landing-hero h1 { font-size: 1.4rem; }
  .landing-cta .btn { flex: 1 1 100%; text-align: center; }
  .banner { padding: 1.1rem 1rem; }
  .banner-slide { flex-direction: column; gap: .8rem; min-height: 0; }
  .banner-side { flex-direction: row; width: auto; align-items: center; gap: .5rem; text-align: left; }
  .banner-icon { width: 34px; height: 34px; font-size: 1rem; margin: 0; }
  .banner-arrow { display: none; }
}
