/* ============================================================
   复述训练场 · 设计系统 v2 —— "练习本"气质
   纸感底色 / 墨色排版 / 赭石强调 / 宋体标题 / 去 AI 味
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f6f3ed;            /* 暖纸底 */
  --card: #fffdf9;          /* 微暖纸白 */
  --ink: #26221c;           /* 暖墨 */
  --ink-soft: #57504a;      /* 次级文字 */
  --ink-dim: #8d857a;       /* 弱文字 */
  --line: #e6e0d4;          /* 分割线 */
  --brand: #a24c16;         /* 赭石（唯一强调色）*/
  --brand-deep: #7c3810;
  --brand-soft: #f3e7db;    /* 赭石浅底 */
  --green: #3f6212;         /* 深橄榄（收尾报告）*/
  --green-soft: #f0f4e6;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(38, 34, 28, .04);
  --font-title: "Songti SC", "Noto Serif SC", "SimSun", "STSong", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

html { -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  min-height: 100vh;
  font-size: 15px;
}

/* ---------- 顶栏：天头纸感，去毛玻璃 ---------- */
.topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--ink);
  white-space: nowrap;
}
.brand .dot { color: var(--brand); }

#nav { display: flex; gap: 2px; flex: 1; }
#nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 14px;
  transition: all .15s;
}
#nav a svg { width: 15px; height: 15px; stroke: currentColor; flex-shrink: 0; }
#nav a:hover { background: var(--brand-soft); color: var(--brand); }
#nav a.active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }

.streak-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.streak-badge svg { width: 15px; height: 15px; stroke: var(--brand); }
.streak-badge b { font-family: var(--font-title); font-size: 16px; color: var(--brand); }

/* ---------- 主区域 ---------- */
main {
  max-width: 700px;
  margin: 32px auto;
  padding: 0 22px;
  animation: fadeUp .25s ease;
}
/* 读书页：宽屏容器（书架轮播 + 阅读器） */
main:has(.page-wide) {
  max-width: 1560px;
  margin-top: 22px;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

h2 { font-family: var(--font-title); font-size: 21px; font-weight: 700; margin-bottom: 16px; letter-spacing: 1px; }
.count { font-family: var(--font-body); font-size: 13px; color: var(--ink-dim); font-weight: 400; }

/* ---------- 卡片：纸页，不是浮空玻璃 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.card-content {
  font-family: var(--font-title); /* 宋体正文：长文阅读更舒适 */
  font-size: 16px;
  color: #3b3630;
  max-height: 40vh;
  overflow-y: auto;
  border-top: 1px solid var(--line);
  padding: 18px 6px 8px;
  line-height: 2;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
.card-content p {
  max-width: 46em;
  margin: 0 auto 1.15em;
  text-indent: 2em;
  text-align: justify;
}
.card-content p:last-child { margin-bottom: 0; }
.material-date { margin: -8px 0 10px; }

.today-card { position: relative; }
.today-card::before {
  content: "";
  position: absolute;
  left: 0; top: 26px; bottom: 26px;
  width: 3px;
  background: var(--brand);
  border-radius: 0 3px 3px 0;
}

.today-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  border: 1px solid #dcc9b4;
  border-radius: 4px;
  padding: 2px 10px;
  margin-bottom: 12px;
  letter-spacing: 2px;
  background: var(--brand-soft);
}
.today-flag svg { width: 13px; height: 13px; stroke: currentColor; }

.today-done { position: relative; }
.today-done::before {
  content: "";
  position: absolute;
  left: 0; top: 26px; bottom: 26px;
  width: 3px;
  background: var(--green);
  border-radius: 0 3px 3px 0;
}
.today-done h2 { color: var(--green); }

/* ---------- 按钮：务实、单色、无渐变 ---------- */
.actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.actions a { text-decoration: none; }

button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 6px;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all .15s;
}
button svg { width: 15px; height: 15px; stroke: currentColor; }
button:hover { border-color: var(--brand); color: var(--brand); }

button.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
button.primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }

button.ghost {
  background: transparent;
  border: 1px solid #d8cfc0;
  color: var(--ink-soft);
}
button.ghost:hover { border-color: var(--brand); color: var(--brand); }

button:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- 练习页 ---------- */
.chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  max-height: 380px;
  overflow-y: auto;
  padding: 6px 2px;
}

.bubble {
  max-width: 86%;
  padding: 12px 18px;
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  animation: fadeUp .2s ease;
}
.bubble.user {
  align-self: flex-end;
  background: var(--ink);
  color: #f5f2ec;
  border-radius: 8px 8px 2px 8px;
}
.bubble.assistant {
  align-self: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 2px 8px 8px 8px;
}
.bubble .tag { display: block; font-size: 11px; color: var(--brand); letter-spacing: 2px; margin-bottom: 4px; font-weight: 600; }

.input-area {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

textarea, input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  background: #fcfaf5;
  color: var(--ink);
  transition: border-color .15s;
}
textarea:focus, input:focus { outline: none; border-color: var(--brand); background: #fffdf9; }

.input-actions { display: flex; gap: 10px; margin-top: 12px; }
.input-actions button { flex: 1; justify-content: center; }
.interim { color: var(--ink-dim); font-size: 13px; min-height: 20px; margin-top: 10px; font-style: italic; }

/* ---------- 收尾报告 ---------- */
.report {
  background: var(--green-soft);
  border: 1px solid #dce5c4;
  border-left: 3px solid var(--green);
  border-radius: 2px 8px 8px 8px;
  padding: 18px 22px;
  margin-bottom: 18px;
  animation: fadeUp .25s ease;
}
.report h3 { font-family: var(--font-title); color: var(--green); font-size: 16px; letter-spacing: 2px; margin-bottom: 10px; }
.report p { font-size: 14px; color: #3c4527; }
.report ul { margin: 12px 0 0 20px; }
.report li { margin-bottom: 8px; font-size: 14px; }
.report .orig { text-decoration: line-through; color: #8b9a6b; }
.report .better { color: var(--green); font-weight: 700; }
.report .dim { font-size: 12px; color: #93a278; }

/* ---------- 卡片库：行式列表，去"卡片叠卡片" ---------- */
.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form button { align-self: flex-start; }

.gen-row { display: flex; gap: 10px; margin-bottom: 22px; }
.gen-row input { flex: 1; }

/* 短评粘贴导入 */
.gen-col { display: flex; flex-direction: column; gap: 8px; }
.short-paste {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin-bottom: 22px;
  background: #fcfaf5;
  font-size: 13px;
}
.short-paste input, .short-paste textarea { font-size: 13px; }
.short-paste textarea { min-height: 64px; resize: vertical; }

.card-list { list-style: none; }
.card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.card-row:first-child { border-top: 1px solid var(--line); }
.card-row:hover { background: #faf7f1; }
.card-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card-info b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-info .dim { font-size: 12px; color: var(--ink-dim); }
.practice-btn {
  font-size: 13px;
  padding: 6px 16px;
  border-color: #d8cfc0;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.practice-btn:hover { border-color: var(--brand); color: var(--brand); }

.dim { color: var(--ink-dim); font-size: 12px; }

/* ---------- 一分钟演讲挑战 ---------- */
.speech-topic-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.topic-kind {
  display: inline-block;
  background: #f5f2ea;
  color: var(--brand-deep);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
}
.topic-name {
  font-family: var(--font-title);
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}
/* 抽题轮播：每次跳动的小弹跳 */
.spin-pop { animation: speechSpin .12s ease; }
@keyframes speechSpin {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); color: var(--brand-deep); }
  100% { transform: scale(1); }
}
/* 定格瞬间：轻微震一下 */
.spin-land { animation: speechLand .3s ease; }
@keyframes speechLand {
  0% { transform: scale(1.16); }
  60% { transform: scale(0.96); }
  100% { transform: scale(1); }
}
.speech-clock {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 56px;
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: 2px;
  line-height: 1;
}
.speech-ready, .speech-verdict { font-size: 15px; color: var(--ink-soft); }
.speech-actions { display: flex; gap: 10px; margin-top: 6px; }
.speech-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.speech-step {
  background: #fcfaf5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 13px;
}
.speech-step b { display: block; margin-bottom: 4px; }
.speech-step span { color: var(--ink-dim); }
.speech-fb { margin-top: 10px; text-align: left; font-size: 14px; }
.speech-fb b { color: var(--brand-deep); }
.speech-fb ul { margin: 4px 0 0 1.2em; }
.speech-fb li { margin: 3px 0; }
.speech-topic-card .input-area { width: 100%; text-align: left; }
.speech-topic-card .demo-block { width: 100%; text-align: left; }
/* 演讲页大时钟：01:00 大字倒计时 */
.speech-bigclock {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 88px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--ink);
  line-height: 1;
  margin: 4px 0 2px;
}
.speech-bigclock.urgent {
  color: #c0392b;
  animation: urgentPulse 1s infinite;
}
@keyframes urgentPulse { 50% { opacity: .5; } }
/* 语音不支持提示卡 */
.speech-nospeech {
  background: #fdf3e7;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: left;
  max-width: 460px;
}
.speech-nospeech-sub { margin-top: 8px; color: var(--ink-dim); font-size: 13px; }

/* 报告内"你的复述"块（练习页 / 历史回放） */
.your-retell {
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 8px 0;
  text-align: left;
  font-size: 14px;
}
.your-retell b { color: var(--brand-deep); }
.your-retell p { margin: 4px 0 0; white-space: pre-wrap; line-height: 1.8; color: var(--ink-soft); }

/* 点评页：你的演讲 vs AI 示范 并排对比 */
.speech-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  text-align: left;
  margin-top: 6px;
}
.speech-cmp-col {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  max-height: 300px;
  overflow: auto;
}
.speech-cmp-col b { display: block; margin-bottom: 6px; color: var(--brand-deep); }
.speech-cmp-col p { margin: 0; color: var(--ink-soft); white-space: pre-wrap; line-height: 1.8; }
.speech-cmp-mine { background: #fbfaf7; }
.speech-cmp-demo { background: #f6f3ea; }
@media (max-width: 640px) {
  .speech-compare { grid-template-columns: 1fr; }
}
/* 原文划线：建议替换的用词 */
.w-hit {
  background: #fff2b8;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: #e8b93a;
  text-underline-offset: 3px;
  border-radius: 3px;
  padding: 0 2px;
  cursor: help;
}
.w-hit .w-better {
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 700;
  margin-left: 2px;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- 读书（书架 + 阅读器） ---------- */
.shelf { position: relative; padding: 0 54px; }
.shelf-static { padding: 0; }
.shelf-static .shelf-viewport {
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}
.shelf-static .shelf-track {
  width: auto;
  flex-wrap: wrap;
}
.shelf-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.shelf-head h2 { margin: 0; }
.shelf-import-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.shelf-import-actions button { margin: 0; }
.shelf-upload-note {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: -4px 0 18px;
  padding: 12px 14px;
  border: 1px dashed rgba(162, 76, 22, .3);
  border-radius: 10px;
  background: rgba(255, 248, 240, .72);
}
.shelf-upload-note > b { color: var(--brand-deep); }
.shelf-upload-status { margin-left: auto; }
.shelf-empty { margin-top: 18px; }
.shelf-dir {
  font-size: 12px;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shelf-viewport {
  overflow: hidden;
  margin-bottom: 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.shelf-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform; /* 提升为合成层，rAF 驱动不掉帧 */
}
.shelf-lr-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(162, 76, 22, .22);
  background: #fff;
  color: var(--brand-deep);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(80, 40, 10, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  z-index: 3;
  user-select: none;
}
.shelf-lr-btn svg { display: block; }
.shelf-lr-btn:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 20px rgba(80, 40, 10, .22);
  background: #fff8f0;
}
.shelf-lr-btn:active { transform: translateY(-50%) scale(.94); background: #fdeedd; }
#shelf-prev { left: 0; }
#shelf-next { right: 0; }
.shelf-tip { margin-top: 4px; text-align: center; }

/* 只作用于读书书架的封面卡（书库 views 也用 .book-card，不能全局限宽） */
.shelf-track .book-card {
  width: 132px;
  cursor: pointer;
  flex: none;
  text-align: center;
  transition: transform .15s ease;
}
.shelf-track .book-card:hover { transform: translateY(-4px) scale(1.03); }
.book-cover {
  width: 132px;
  height: 182px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, .18), inset -3px 0 6px rgba(0, 0, 0, .12);
  display: block;
}
/* 封面双层：底层文字封面常驻，img 加载成功才覆盖；失败即露出文字封面 */
.book-cover-stack { position: relative; width: 132px; height: 182px; }
.book-cover-stack .img-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.book-cover-stack .text-cover { position: absolute; inset: 0; width: 100%; height: 100%; }
.text-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  color: #fff;
  background: #8a5a2b;
}
.tc-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  overflow-wrap: anywhere;
}
.tc-fmt {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: .8;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 3px;
  padding: 1px 6px;
}
.book-meta { margin-top: 8px; font-size: 13px; line-height: 1.4; }
.book-meta b { display: block; }
.book-meta .dim { font-size: 11px; }

/* 阅读器 */
.reader-wrap { text-align: left; height: 100vh; display: flex; flex-direction: column; }
.reader-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  z-index: 5;
}
.reader-title { flex: 1; min-width: 0; }
.reader-title b { font-size: 18px; }
.reader-title .dim { margin-left: 8px; font-size: 12px; }
/* 左右两栏等高、各自内部滚动：往下滚只动正文，目录整列常驻 */
.reader-body {
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 20px;
  padding-top: 14px;
}
.reader-toc {
  width: 220px;
  flex: none;
  overflow-y: auto;
  min-height: 0;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #faf8f3;
}
.reader-toc b { display: block; margin-bottom: 6px; color: var(--brand-deep); }
.reader-toc ol { list-style: none; margin: 0; padding: 0; }
.toc-item {
  padding: 5px 6px;
  border-radius: 5px;
  cursor: pointer;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.toc-item.toc-level-1 { padding-left: 6px; }
.toc-item.toc-level-2 { padding-left: 14px; }
.toc-item.toc-level-3 { padding-left: 28px; }
.toc-parent {
  padding: 6px 6px 3px;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 12px;
  cursor: default;
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.toc-parent:first-child { margin-top: 0; }
.toc-item:hover { background: rgba(162, 76, 22, .08); }
.toc-item.cur { background: rgba(162, 76, 22, .12); color: var(--brand-deep); font-weight: 700; }
.reader-main { flex: 1; min-width: 0; overflow-y: auto; min-height: 0; }
.reader-main h3 { font-family: var(--font-title); margin: 0 0 14px; }
.reader-crumb { color: var(--brand-deep); font-size: 13px; margin-bottom: 4px; }
.reader-text {
  font-size: 17px;
  line-height: 1.95;
  color: #3c342b;
  background: #fdfbf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 30px;
  min-height: 300px;
  max-width: 1120px;
}
.reader-text p { margin: 0 0 .9em; text-indent: 2em; }
.reader-text p.li { text-indent: 0; margin-left: 1.6em; }
/* PDF 原页渲染图 / epub 插图：默认收起，点击展开 */
.reader-text .pageimg,
.reader-text .bookimg {
  margin: 16px 0;
  text-align: center;
}
.reader-text .pdf-page,
.reader-text .book-img {
  width: calc(100% - 2px);
  max-width: 860px;
  max-height: 540px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .1);
  cursor: zoom-in;
  display: inline-block;
  background: #fff;
}
.reader-text .pdf-page.full,
.reader-text .book-img.full {
  max-height: none;
  object-fit: contain;
  cursor: zoom-out;
}
.reader-text figure figcaption {
  font-size: 12px;
  color: #a0947f;
  margin-top: 6px;
  text-align: center;
}
/* ---------- 统一阅读器：EPUB 型单章内联渲染 ---------- */
.font-ctl { display: inline-flex; gap: 4px; align-items: center; }
.font-ctl .ghost { padding: 4px 10px; font-size: 13px; }
/* 单章正文（服务端消毒后的 XHTML 内联进 .reader-text） */
.epub-body {
  font-family: Georgia, 'Noto Serif SC', 'Microsoft YaHei', serif;
  line-height: 1.95;
  color: var(--ink);
}
.epub-body h1 { font-size: 1.45rem; margin: 1.2em 0 .6em; line-height: 1.4; color: var(--brand-deep); }
.epub-body h2 { font-size: 1.22rem; margin: 1.4em 0 .5em; line-height: 1.45; color: var(--brand-deep); }
.epub-body h3, .epub-body h4, .epub-body h5, .epub-body h6 { font-size: 1.08rem; margin: 1.2em 0 .4em; line-height: 1.5; color: #2f2820; }
.epub-body p { margin: 0 0 .9em; text-indent: 2em; }
.epub-body p.bullet, .epub-body p.num { text-indent: 0; margin-left: 1.4em; }
.epub-body ul, .epub-body ol { margin: .6em 0; padding-left: 1.6em; }
.epub-body li { margin: .3em 0; }
.epub-body blockquote {
  border-left: 3px solid #c9a86a;
  background: #f8f3e8;
  padding: 10px 16px;
  margin: 1em 0;
  color: #6b5b41;
  border-radius: 0 8px 8px 0;
}
.epub-body img, .epub-body svg { max-width: 100%; height: auto; border-radius: 6px; }
.epub-body table { border-collapse: collapse; margin: 1em 0; max-width: 100%; }
.epub-body td, .epub-body th { border: 1px solid #e4d9c2; padding: 6px 10px; }
.epub-body hr { border: 0; border-top: 1px dashed #e4d9c2; margin: 1.6em 0; }
.epub-body sup, .epub-body sub { line-height: 1; }

/* epub/pdf 结构保留：标题层级 / 引用 / 图注 */
.reader-text .read-h1 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-deep);
  margin: 1.1em 0 .5em;
  border-bottom: 2px solid rgba(162, 76, 22, .18);
  padding-bottom: 6px;
}
.reader-text .read-h2 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin: 1em 0 .45em;
}
.reader-text .read-h3, .reader-text .read-h4 {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-soft);
  margin: .9em 0 .4em;
}
.reader-text .read-quote {
  border-left: 3px solid #c9a86a;
  background: #f8f3e8;
  padding: 8px 14px;
  margin: 0 0 1em;
  color: #6b5b41;
  font-size: 15.5px;
}
.reader-text .read-img {
  text-align: center;
  color: #a09077;
  font-size: 13px;
  letter-spacing: 1px;
  margin: .6em 0 1em;
}
.reader-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.reader-actions .primary { margin-left: auto; }

/* 划线标记 */
.bm {
  background: #fdec9e;
  border-bottom: 2px solid #e0b32a;
  border-radius: 2px;
  padding: 0 1px;
  cursor: pointer;
}
.bm:hover { background: #fde27f; }
.bm-note { background: #d9ecf7; border-bottom-color: #4a90c4; }
.bm.flash { outline: 3px solid #e0b32a; }
.sel-pop {
  position: absolute;
  z-index: 100;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .16);
  padding: 10px 12px;
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 420px;
}
.sel-pop-text { margin: 4px 0; line-height: 1.6; }
.sel-pop .ghost { flex: none; }
.sel-pop-actions { display: flex; gap: 6px; }
@media (max-width: 760px) {
  .reader-body { flex-direction: column; }
  .reader-toc { width: 100%; max-height: 180px; }
}

/* ---------- 书库 ---------- */.books-wrap { display: flex; flex-direction: column; gap: 14px; }
.book-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 14px;
}
.book-card > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 18px;
}
.book-card > summary::-webkit-details-marker { display: none; }
.book-card > summary::before { content: '▸'; color: var(--brand); transition: transform .15s; }
.book-card[open] > summary::before { transform: rotate(90deg); }
.book-name { font-family: var(--font-title); font-size: 17px; font-weight: 700; }
.book-meta { font-size: 12px; }
.book-body { padding: 0 18px 16px; border-top: 1px dashed var(--line); }
.book-essence { padding: 12px 0 4px; color: var(--ink-soft); }
.book-scenes { margin: 8px 0 4px; }
.book-scenes ul { margin: 4px 0 0 1.2em; }
.skill-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.skill-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fcfaf5;
}
.skill-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 10px 12px;
}
.skill-item > summary::-webkit-details-marker { display: none; }
.skill-item > summary::before { content: '+'; color: var(--ink-dim); font-weight: 700; transition: transform .15s; flex-shrink: 0; }
.skill-item[open] > summary::before { transform: rotate(45deg); }
.skill-when { font-size: 12px; }
.skill-body { padding: 2px 12px 12px 24px; }
.skill-model { color: var(--ink-soft); }
.skill-part { margin-top: 8px; }
.skill-part > b { font-size: 13px; color: var(--brand-deep); display: block; margin-bottom: 2px; }
.skill-part ul, .skill-part ol { margin: 2px 0 0 1.2em; }
.skill-example { background: #f6f3ec; border-radius: 6px; padding: 8px 10px; color: var(--ink-soft); }
.skill-boundary { color: var(--ink-dim); }
.skill-check li { color: var(--ink-soft); }

/* ---------- 历史：日记条目 ---------- */
.history-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: border-color .15s;
}
.history-item:hover { border-left-color: var(--brand); }
.history-item .meta { color: var(--ink-dim); font-size: 12px; margin-top: 4px; }
.history-detail {
  background: #faf8f3;
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 14px;
  margin-top: 12px;
  font-size: 13.5px;
}
.history-detail .bubble { margin-bottom: 10px; max-width: 100%; }

/* ---------- 词库：条目行 ---------- */
.words-wrap { display: flex; flex-direction: column; }
.word-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.word-row:first-child { border-top: 1px solid var(--line); }
.word-row .orig { color: var(--ink-dim); text-decoration: line-through; flex-shrink: 0; }
.word-row .arrow { color: var(--ink-dim); }
.word-row .better { color: var(--brand); font-weight: 700; flex-shrink: 0; }
.word-row .ctx { margin-left: auto; color: var(--ink-dim); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40%; }

/* ---------- 空状态 / 加载 ---------- */
.empty {
  background: var(--card);
  border: 1px dashed #cfc7b8;
  border-radius: var(--radius);
  padding: 56px 24px;
  text-align: center;
  color: var(--ink-dim);
}
.empty a { color: var(--brand); font-weight: 600; }
.loading { color: var(--ink-dim); text-align: center; padding: 56px 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #f5f2ec;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 100;
  max-width: 80vw;
  box-shadow: 0 8px 24px rgba(38, 34, 28, .25);
  animation: fadeUp .2s ease;
}
.toast.hidden { display: none; }

/* ---------- 素材页内切换（卡片库 / 词库） ---------- */
.view-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.view-tabs a {
  padding: 6px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.view-tabs a.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: 600;
}

/* ---------- 收尾报告：口语词板块 ---------- */
.audit {
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 12px 0;
  font-size: 14px;
}
.audit b { color: var(--brand-deep); }
.audit ul { list-style: none; margin-top: 6px; }
.audit li { padding: 3px 0; }
.audit .better { color: var(--brand-deep); font-weight: 600; }

/* ---------- 收尾报告：参考书目建议 ---------- */
.book-advice {
  background: var(--green-soft);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 12px 0;
  font-size: 14px;
}
.book-advice b { color: var(--green); }
.book-advice ul { list-style: none; margin-top: 6px; }
.book-advice li { padding: 3px 0; }

/* ---------- 品牌 logo ---------- */
.brand .logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(124, 56, 16, .25);
}

/* ---------- 首页：复述方法提示 ---------- */
.how-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 14px 0 6px;
  font-size: 14px;
  line-height: 1.8;
  box-shadow: var(--shadow);
}
.how-card > b { font-size: 15px; color: var(--brand-deep); }
.how-card > p { color: var(--ink-soft); margin: 4px 0 10px; }
.how-len { margin-top: 6px !important; }

/* 素材长短徽标 */
.badge {
  display: inline-block;
  font-size: 11px;
  line-height: 1.6;
  padding: 0 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: 1px;
}
.badge-good { background: var(--green-soft); color: var(--green); }
.badge-warn { background: #fdf3e0; color: #a06a00; }
.badge-long { background: var(--brand-soft); color: var(--brand-deep); }
.how-steps { display: flex; flex-direction: column; gap: 8px; }
.how-step { display: flex; gap: 10px; align-items: flex-start; }
.how-step > span {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 4px;
}
.how-step em { display: inline; color: var(--ink-dim); font-style: normal; }
.how-compare {
  margin-top: 12px;
  padding: 10px 12px;
  background: #faf8f3;
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}
.how-compare .no { color: #b3261e; font-weight: 600; margin-right: 6px; }
.how-compare .yes { color: var(--green); font-weight: 600; margin-right: 6px; }

/* ---------- 首页：板块选择 ---------- */
.pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 18px 0;
}.pick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s;
}
.pick-card:hover { border-color: var(--brand); transform: translateY(-1px); }
.pick-card.active { border-color: var(--brand); background: var(--brand-soft); }
.pick-card b { display: block; font-size: 16px; margin-bottom: 2px; }
.pick-card .pick-icon { width: 34px; height: 34px; flex-shrink: 0; color: var(--brand); }
.pick-card .pick-icon svg { width: 100%; height: 100%; }

.duration-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 12px;
  flex-wrap: wrap;
}
.duration-row.hidden { display: none; }
.duration-btns { display: flex; gap: 8px; }
.duration-btns button {
  font: inherit;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.duration-btns button:hover { border-color: var(--brand); color: var(--brand); }
.duration-btns button:disabled { opacity: .5; }

/* ---------- 复述计时器 ---------- */
.timer {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--radius);
  padding: 8px;
  margin: 10px 0 0;
}
.timer.hidden { display: none; }
.timer.urgent { color: #b3261e; background: #f8e3e0; animation: timer-pulse 1s infinite; }
@keyframes timer-pulse { 50% { opacity: .55; } }

/* ---------- 素材弹窗 ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(38, 34, 28, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal {
  background: var(--card);
  border-radius: 12px;
  width: min(720px, 100%);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(38, 34, 28, .25);
}
.modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.modal-head b { font-family: var(--font-title); font-size: 17px; }
.modal-head span { margin-left: auto; font-size: 13px; }
.modal-close {
  border: none;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-dim);
  cursor: pointer;
  padding: 2px 6px;
}
.modal-close:hover { color: var(--ink); }
.modal-body {
  overflow-y: auto;
  padding: 18px 20px;
  flex: 1;
}
/* 弹窗里素材区全高自适应（覆盖 card-content 的 40vh 限制） */
.modal-body.card-content { max-height: none; border-top: none; }
.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
}

/* ---------- 报告：AI 示范表达 + 对比 ---------- */
.demo-block {
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 12px 0;
  font-size: 14px;
}
.demo-block > b { color: var(--brand-deep); }
.demo-structure {
  color: var(--brand-deep);
  font-weight: 600;
  margin: 4px 0;
  font-size: 13px;
}
.demo-text {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  margin: 8px 0;
  white-space: pre-wrap;
}
.demo-reason { font-size: 13px; margin-top: 4px; }
.compare-block {
  margin: 12px 0;
  font-size: 14px;
}
.compare-block > b { color: var(--ink); }
.compare-block ul { list-style: none; margin-top: 6px; }
.compare-block li { padding: 4px 0; border-bottom: 1px dashed var(--line); }
.compare-block li:last-child { border-bottom: none; }

/* 报告：听众追问（第三板块） */
.ask-block {
  background: #f5f2ea;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 12px 0;
  font-size: 14px;
}
.ask-block p { margin: 4px 0; color: var(--ink-soft); }
.ask-block .dim { font-size: 12px; }

/* ---------- 面试刷题 ---------- */
main.interview-wrap { max-width: 980px; }
.interview-wrap { padding-bottom: 36px; }
.interview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.interview-head h2 { margin-bottom: 4px; }
.interview-head p { margin-bottom: 16px; }
.interview-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin: 10px 0 18px; }
.interview-tab { border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--ink-dim); cursor: pointer; padding: 8px 14px; font-size: 14px; }
.interview-tab span { font-size: 12px; margin-left: 4px; }
.interview-tab:hover, .interview-tab.active { color: var(--brand); }
.interview-tab.active { border-bottom-color: var(--brand); font-weight: 600; }
.interview-group-picker { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 24px 26px; }
.interview-group-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.interview-group-title h3, .interview-scope-head h3 { font-family: var(--font-title); font-size: 21px; margin-bottom: 2px; }
.interview-group-title p, .interview-scope-head p { margin: 0; }
.interview-group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; max-height: 460px; overflow-y: auto; padding-right: 3px; }
.interview-group { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; border: 1px solid var(--line); border-radius: 7px; background: #fffefa; padding: 12px 13px; color: var(--ink-soft); cursor: pointer; font: inherit; }
.interview-group:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
.interview-group span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.interview-group em { flex-shrink: 0; color: var(--ink-dim); font-size: 12px; font-style: normal; }
.interview-scope-head { margin: 2px 0 14px; }
.interview-scope-head .ghost { padding-left: 0; margin-bottom: 7px; }
.interview-question-list-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; margin-top: 18px; }
.interview-list-head { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 9px; }
.interview-question-list { list-style: none; counter-reset: interview-question; max-height: 390px; overflow-y: auto; margin-top: 3px; }
.interview-question-list li { display: flex; gap: 12px; padding: 8px 2px; border-bottom: 1px dashed #eee8dd; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.interview-question-list li:last-child { border-bottom: 0; }
.interview-question-no { flex: 0 0 28px; color: var(--brand); font-family: var(--font-title); text-align: right; }
.interview-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 26px 30px; }
.interview-picker { min-height: 270px; display: flex; flex-direction: column; justify-content: center; }
.interview-card-kicker { color: var(--brand); font-size: 13px; font-weight: 600; letter-spacing: .5px; }
.interview-question { font-family: var(--font-title); font-size: 23px; line-height: 1.6; margin: 18px 0 10px; }
.interview-empty-question { color: var(--ink-dim); font-size: 16px; margin: 34px 0; text-align: center; }
.interview-meta { color: var(--ink-dim); font-size: 13px; }
.interview-meta span + span { margin-left: 12px; }
.interview-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 22px; }
.interview-note { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--ink-dim); font-size: 13px; margin: 16px 2px; }
.interview-note b { color: var(--ink-soft); margin-right: 4px; }
.interview-note span { background: var(--brand-soft); color: var(--brand-deep); border-radius: 20px; padding: 3px 10px; }
.interview-note i { font-style: normal; color: var(--line); }
.interview-live-top, .interview-review-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.interview-live-top strong { color: var(--brand); font-family: var(--font-title); font-size: 31px; letter-spacing: 1px; }
.interview-live-top strong.warning { color: #b3261e; }
.interview-live h3, .interview-review h3 { font-family: var(--font-title); font-size: 22px; line-height: 1.6; margin: 22px 0 4px; }
.badge { display: inline-block; color: var(--brand-deep); background: var(--brand-soft); border-radius: 4px; padding: 2px 8px; font-size: 12px; margin-right: 8px; }
.interview-textarea { width: 100%; min-height: 210px; resize: vertical; border: 1px solid var(--line); border-radius: 6px; background: #fffefa; padding: 13px 15px; margin-top: 14px; color: var(--ink); font: inherit; line-height: 1.8; outline: none; }
.interview-textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(162, 76, 22, .1); }
.interview-score { color: var(--brand); font-family: var(--font-title); font-size: 38px; line-height: 1; white-space: nowrap; }
.interview-score small { color: var(--ink-dim); font-family: var(--font-body); font-size: 13px; }
.interview-source { color: var(--green); font-size: 12px; margin: 4px 0 18px; }
.interview-summary { border-left: 3px solid var(--brand); background: var(--brand-soft); padding: 11px 14px; margin: 16px 0; }
.interview-summary p { margin-top: 4px; }
.interview-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 16px 0; }
.interview-columns > div { border-top: 1px solid var(--line); padding-top: 10px; }
.interview-columns ul { list-style: none; margin-top: 5px; color: var(--ink-soft); font-size: 14px; }
.interview-columns li { padding: 3px 0 3px 15px; position: relative; }
.interview-columns li::before { content: '·'; position: absolute; left: 3px; color: var(--brand); font-weight: bold; }
.interview-suggestions { background: var(--green-soft); border-radius: 6px; padding: 11px 14px; margin: 14px 0; color: var(--ink-soft); }
.interview-suggestions ul { list-style: none; margin-top: 4px; }
.interview-suggestions li { padding: 2px 0 2px 15px; position: relative; font-size: 14px; }
.interview-suggestions li::before { content: '→'; position: absolute; left: 0; color: var(--green); }
.interview-reference { border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); padding: 10px 0; margin: 18px 0; }
.interview-reference summary { cursor: pointer; color: var(--brand-deep); font-size: 14px; }
.interview-reference p { white-space: pre-wrap; color: var(--ink-soft); margin: 10px 0 0; font-size: 14px; }
.interview-answer-box { background: #f8f5ef; border-radius: 6px; padding: 12px 14px; margin: 12px 0; }
.interview-answer-box p { white-space: pre-wrap; color: var(--ink-soft); margin-top: 5px; }
.interview-restate { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.interview-restate .primary { margin-top: 10px; }
.interview-records { display: flex; flex-direction: column; gap: 10px; }
.interview-records-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.interview-records-head h3 { font-family: var(--font-title); font-size: 20px; }
.interview-record { background: var(--card); border: 1px solid var(--line); border-radius: 7px; padding: 11px 14px; }
.interview-record summary { cursor: pointer; display: flex; justify-content: space-between; gap: 16px; color: var(--ink-soft); }
.interview-record summary span { min-width: 0; }
.interview-record summary em { color: var(--ink-dim); font-size: 12px; white-space: nowrap; font-style: normal; }
.interview-record-body { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 9px; color: var(--ink-soft); font-size: 14px; }
.interview-record-body p { margin: 5px 0; white-space: pre-wrap; }
@media (max-width: 700px) {
  .interview-head { display: block; }
  .interview-head > button { margin-bottom: 8px; }
  .interview-card { padding: 20px 17px; }
  .interview-question { font-size: 20px; }
  .interview-group-picker { padding: 18px 15px; }
  .interview-group-grid { grid-template-columns: 1fr; max-height: none; }
  .interview-question-list-wrap { padding: 14px 12px; }
  .interview-columns { grid-template-columns: 1fr; gap: 8px; }
  .interview-record summary { display: block; }
  .interview-record summary em { display: block; margin-top: 4px; }
}
