/* 首页简化层（2026-08-03）
   只减少入口噪音，不删除任何知识、课程或工具内容。 */

.sidebar-footer { display: none !important; }
.toolkit-nav em { display: none !important; }

#homeView .home-ai-first {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 20px;
}

#homeView .home-ai-first-copy h2 {
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -.02em;
}

#homeView .home-ai-first-copy p { max-width: 58ch; }

#homeView .today-learning-card {
  margin-top: 14px;
  padding-block: 16px;
  border-radius: 20px;
}

#homeView .home-purpose {
  margin-top: 20px;
  padding: 22px 24px 24px;
  border-radius: 22px;
}

#homeView .home-purpose-head { margin-bottom: 14px; }
#homeView .home-purpose-head h2 { font-size: clamp(24px, 2.2vw, 32px); }
#homeView .home-purpose-head > p { font-size: 12px; }
#homeView .home-purpose-grid { gap: 12px; }

#homeView .purpose-card,
#homeView .purpose-field {
  min-height: 236px;
  padding: 18px;
  border-radius: 20px;
}

#homeView .purpose-tags { display: none !important; }
#homeView .purpose-actions { margin-top: auto; }
#homeView .purpose-actions .purpose-quick { display: none !important; }
#homeView .purpose-actions .purpose-primary { width: 100%; min-height: 46px; }

/* 第二层减法（2026-08-04）：去掉重复的展示层，保留原内容和入口。 */
#homeView .hero-grid { display: none !important; }

/* 学习中心只保留一条主路径：路线卡 → 可视化讲义 → 课程内容。
   继续学习、模式快捷条和现场对照在其他入口仍可访问，避免首屏重复。 */
#freshmanView .learning-hub-continue,
#freshmanView > .learning-mode-strip,
#freshmanView > .learning-hub-switch,
#freshmanView .freshman-field-compare {
  display: none !important;
}

#freshmanView .learning-hub-dashboard {
  margin-top: 16px;
  padding: 20px;
}

#freshmanView .learning-hub-dashboard-head { margin-bottom: 8px; }
#freshmanView .learning-hub-dashboard-head p { max-width: 62ch; }
#freshmanView .learning-hub-lanes { gap: 10px; margin-top: 10px; }
#freshmanView .learning-hub-lane { min-height: 0; padding: 14px; }
#freshmanView .hub-lane-head p { max-width: 34ch; }
#freshmanView .hub-lane-links { gap: 6px; margin-top: 9px; }
#freshmanView .hub-lane-links button { min-height: 34px; padding-inline: 9px; }

/* 复习舱：三项主任务放在第一屏，其余模式收进“更多模式”。 */
#reviewView .review-modes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 16px;
}

#reviewView .review-modes > button { min-height: 68px; }

#reviewView .review-more-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  margin: 10px auto 0;
  padding: 0 14px;
  border: 1px solid #d7e3df;
  border-radius: 999px;
  background: #fff;
  color: #557078;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

#reviewView .review-more-toggle:hover,
#reviewView .review-more-toggle:focus-visible {
  border-color: #8bd4b1;
  color: #24734e;
}

#reviewView .review-more-toggle span {
  color: #5a9a79;
  font-size: 14px;
  line-height: 1;
}

#reviewView .review-mode-secondary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 10px clamp(34px, 5vw, 78px) 0;
}

#reviewView .review-mode-secondary[hidden] { display: none !important; }

#reviewView .review-mode-secondary > button {
  min-height: 58px;
  border: 1px solid #d7e3df;
  background: #fff;
  color: #354b52;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  text-align: left;
  cursor: pointer;
}

#reviewView .review-mode-secondary > button > span {
  color: #9aa59f;
  font: 14px Georgia;
}

#reviewView .review-mode-secondary > button b,
#reviewView .review-mode-secondary > button small { display: block; }
#reviewView .review-mode-secondary > button b { font-size: 10px; }
#reviewView .review-mode-secondary > button small { margin-top: 4px; color: #718187; font-size: 8px; }
#reviewView .review-mode-secondary > button small i { color: #b55b32; font-style: normal; font-weight: 700; }
#reviewView .review-mode-secondary > button.active { border-color: #b6e88d; background: #f4ffe9; color: #397a0b; }

#reviewView .question-source-ref {
  display: block;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #d7e3df;
  color: #61757b;
  font-size: 8px;
  line-height: 1.7;
}

/* 题目卡片按内容收缩，避免选项结束后出现一整块无意义留白。
   答案解析出现时仍会自然向下展开。 */
#reviewView .review-layout { align-items: start; }
#reviewView .quiz-card {
  min-height: 0;
  align-self: start;
}
#reviewView .quiz-body { flex: 0 1 auto; }
#reviewView .quiz-footer { min-height: 58px; }


@media (max-width: 700px) {
  .topbar { display: none !important; }
  #homeView { padding-top: 8px !important; padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important; }

  #homeView .home-ai-first {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    margin-top: 8px !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  #homeView .home-ai-first-copy h2 { font-size: 21px !important; line-height: 1.2 !important; }
  #homeView .home-ai-first-copy p { font-size: 12px !important; line-height: 1.55 !important; }
  #homeView .home-ai-first-action { grid-column: 1 / -1; min-height: 46px !important; }

  #homeView .today-learning-card {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 10px !important;
    margin-top: 10px !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  #homeView .today-learning-actions {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  #homeView .today-learning-actions button { width: 100%; min-height: 46px; }
  #homeView .home-purpose { margin-top: 14px !important; padding: 16px !important; border-radius: 18px !important; }
  #homeView .home-purpose-head { margin-bottom: 10px !important; }
  #homeView .home-purpose-head h2 { font-size: 23px !important; }
  #homeView .home-purpose-head > p { display: none !important; }
  #homeView .home-purpose-grid { gap: 10px !important; }

  #homeView .purpose-card,
  #homeView .purpose-field { min-height: 0 !important; padding: 15px !important; border-radius: 18px !important; }
  #homeView .purpose-card-head { margin-bottom: 8px !important; }
  #homeView .purpose-card-copy h3 { margin: 2px 0 6px !important; font-size: 23px !important; }
  #homeView .purpose-card-copy p { margin-bottom: 12px !important; font-size: 13px !important; line-height: 1.55 !important; }
  #homeView .purpose-actions .purpose-primary { min-height: 46px !important; }
  .mobile-dock { padding-bottom: env(safe-area-inset-bottom) !important; }

  #freshmanView .learning-hub-dashboard {
    margin: 10px 12px 0 !important;
    padding: 14px !important;
    border-radius: 20px !important;
  }
  #freshmanView .learning-hub-dashboard-head {
    gap: 6px !important;
    margin-bottom: 4px !important;
  }
  #freshmanView .learning-hub-dashboard-head p { display: none !important; }
  #freshmanView .learning-hub-level { display: none !important; }
  #freshmanView .learning-hub-lanes { gap: 8px !important; margin-top: 8px !important; }
  #freshmanView .learning-hub-lane { padding: 12px !important; border-radius: 16px !important; }
  #freshmanView .hub-lane-head p { display: none !important; }
  #freshmanView .hub-lane-links { margin-left: 0 !important; margin-top: 8px !important; }
  #freshmanView .hub-lane-links button { min-height: 40px !important; flex: 1 1 auto; }

  #reviewView .review-modes {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 12px 16px 0 !important;
  }
  #reviewView .review-modes > button { min-height: 56px !important; }
  #reviewView .review-more-toggle {
    width: calc(100% - 32px);
    margin: 9px 16px 0;
  }
  #reviewView .review-mode-secondary {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin: 8px 16px 0 !important;
  }
  #reviewView .review-mode-secondary > button { min-height: 52px !important; }
  #reviewView .quiz-card { min-height: 0 !important; }
  #reviewView .quiz-body { flex: 0 1 auto !important; padding-bottom: 20px !important; }
  #reviewView .quiz-footer { min-height: 58px !important; }
}

@media (prefers-reduced-motion: reduce) {
  #homeView *, .mobile-dock * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* 彩色按钮保持轻快，但文字必须满足手机和桌面阅读对比度。 */
#homeView .home-ai-first-action,
#homeView .today-learning-actions button,
#homeView .purpose-actions .purpose-primary {
  color: #14343f !important;
  text-shadow: none !important;
}

#homeView .purpose-learn .purpose-actions .purpose-primary { color: #24160a !important; }
#homeView .purpose-field .purpose-actions .purpose-primary { color: #073c51 !important; }
#homeView .purpose-review .purpose-actions .purpose-primary { color: #241637 !important; }

/* 双语切换：保持在顶部，不抢主要入口的注意力。 */
.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #d7e3df;
  border-radius: 999px;
  background: #fff;
  color: #173843;
  font: 700 12px/1 inherit;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(20, 52, 63, .08);
}
.language-toggle b { color: #9aaca8; font-weight: 600; }
.language-toggle span:last-child { color: #1689c1; }
.language-toggle.is-english span:first-child { color: #1689c1; }
.language-toggle.is-english span:last-child { color: #173843; }
.language-toggle:focus-visible,
.mobile-language-toggle:focus-visible { outline: 3px solid rgba(28, 176, 246, .35); outline-offset: 2px; }

.mobile-more-header-actions { display: inline-flex; align-items: center; gap: 8px; }
.mobile-language-toggle {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid #d7e3df;
  border-radius: 999px;
  background: #fff;
  color: #173843;
  font: 700 12px/1 inherit;
  cursor: pointer;
}
.mobile-language-toggle.is-english { color: #1689c1; }

@media (max-width: 700px) {
  .language-toggle { display: none !important; }
  .mobile-more-header-actions { margin-left: auto; }
}

/* PDF 原版题库：与日常复习分开。以“先找到题，再开始练”为唯一主线，
   保持轻量、圆润且可在手机上逐题阅读。 */
#sourcebankView {
  min-width: 0;
  overflow-x: clip;
  padding: 30px clamp(34px, 5vw, 78px) 80px;
  color: #173843;
}

#sourcebankView button,
#sourcebankView input,
#sourcebankView select {
  font: inherit;
}

#sourcebankView button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.source-bank-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #b7e2f7;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 20%, rgba(28, 176, 246, .13), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f2fbff 56%, #f1fff5 100%);
  box-shadow: 0 9px 0 rgba(37, 117, 151, .10);
}

.source-bank-hero > div:first-child { min-width: 0; }
.source-bank-hero > div:first-child > span,
.source-bank-directory > header > div > span {
  display: block;
  color: #1689c1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.source-bank-hero h1 {
  margin: 8px 0 9px;
  color: #183640;
  font-size: clamp(30px, 3.25vw, 46px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.source-bank-hero p {
  max-width: 60ch;
  margin: 0;
  color: #59737c;
  font-size: 14px;
  line-height: 1.72;
}

.source-bank-total {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 228px;
  padding: 14px 0 14px 18px;
  border-left: 2px solid #65cf99;
}

.source-bank-total b {
  color: #25734e;
  font: 52px/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.06em;
}

.source-bank-total span {
  color: #58747b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.62;
}

.source-bank-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.source-bank-trust span {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #d6e8dc;
  border-radius: 14px;
  background: #fff;
  color: #3b7258;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 3px 0 rgba(27, 101, 70, .06);
}

.source-bank-books {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 30px;
}

.source-book-card {
  display: flex;
  min-width: 0;
  min-height: 238px;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid #d8e4df;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 7px 0 rgba(28, 60, 69, .08);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.source-book-card:hover {
  transform: translateY(-2px);
  border-color: #83d1aa;
  box-shadow: 0 10px 0 rgba(35, 120, 78, .10);
}

.source-book-card.active {
  border-color: #63c48f;
  background: linear-gradient(150deg, #f4fff3, #fff 74%);
  box-shadow: 0 7px 0 #44a96e;
}

.source-book-card > span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #e6f7ec;
  color: #26754e;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
}

.source-book-card:nth-child(2) > span { background: #e7f7ff; color: #167ba5; }
.source-book-card:nth-child(3) > span { background: #fff0e8; color: #b75a32; }

.source-book-card h2 {
  margin: 16px 0 8px;
  color: #173843;
  font-size: clamp(20px, 1.7vw, 25px);
  letter-spacing: -.035em;
}

.source-book-card p {
  margin: 0;
  color: #667d83;
  font-size: 12px;
  line-height: 1.65;
}

.source-book-card > b {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  color: #26754e;
  font-size: 13px;
}

.source-book-card button {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 0 15px;
  border: 0;
  border-radius: 14px;
  background: #58cc02;
  box-shadow: 0 5px 0 #3fa100;
  color: #143c28;
  font-size: 12px;
  font-weight: 900;
}

.source-book-card:nth-child(2) button { background: #23a9e8; box-shadow: 0 5px 0 #1484b9; color: #083a50; }
.source-book-card:nth-child(3) button { background: #ffb889; box-shadow: 0 5px 0 #e78a52; color: #57270f; }
.source-book-card button i { font-size: 20px; font-style: normal; line-height: 1; }
.source-book-card button:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, .18); }

.source-bank-directory {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #d7e3df;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 0 rgba(28, 60, 69, .08);
}

.source-bank-directory > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e0e9e5;
}

.source-bank-directory h2 {
  margin: 6px 0 5px;
  color: #173843;
  font-size: clamp(24px, 2.2vw, 31px);
  letter-spacing: -.04em;
}

.source-bank-directory p {
  margin: 0;
  color: #6b8084;
  font-size: 12px;
  line-height: 1.6;
}

.source-bank-reset {
  flex: none;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid #bdd2c8;
  border-radius: 13px;
  background: #fff;
  color: #2b7050;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.source-bank-reset:hover { border-color: #62c38e; background: #f3fff5; }

.source-bank-controls {
  display: grid;
  grid-template-columns: minmax(155px, .7fr) minmax(190px, .9fr) minmax(230px, 1.4fr);
  gap: 12px;
  margin-top: 18px;
}

.source-bank-controls label {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: #58747b;
  font-size: 10px;
  font-weight: 900;
}

.source-bank-controls input,
.source-bank-controls select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #cdded7;
  border-radius: 12px;
  outline: 0;
  background: #fbfdfb;
  color: #173843;
  font-size: 12px;
}

.source-bank-controls input::placeholder { color: #9aaea9; }
.source-bank-controls input:focus,
.source-bank-controls select:focus { border-color: #23a9e8; box-shadow: 0 0 0 3px rgba(35, 169, 232, .14); }

.source-bank-result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 12px;
}

.source-bank-result-meta b { color: #205f44; font-size: 13px; }
.source-bank-result-meta span { color: #7b9090; font-size: 11px; }

.source-bank-list {
  display: grid;
  gap: 12px;
}

.source-bank-list > article,
.source-bank-question {
  min-width: 0;
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid #d8e5df;
  border-radius: 18px;
  background: #fbfdfb;
}

.source-bank-question > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.source-bank-question > header > b {
  flex: none;
  padding-top: 3px;
  color: #6e8684;
  font-size: 10px;
  line-height: 1.45;
  white-space: nowrap;
}

.source-bank-list h3,
.source-bank-question h3 {
  margin: 11px 0 14px;
  color: #203d46;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.55;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.source-question-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.source-question-meta span {
  min-height: 23px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf7f1;
  color: #3e7658;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.source-question-meta span:nth-child(2) { background: #eaf7ff; color: #177d9e; }
.source-question-meta span:nth-child(3) { background: #fff4ed; color: #a75a38; }

.source-question-options,
.source-bank-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-question-options li,
.source-bank-options li {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid #d7e4de;
  border-radius: 12px;
  background: #fff;
  color: #466069;
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.source-question-options b,
.source-bank-options b {
  flex: none;
  color: #25734e;
  font-family: Georgia, "Times New Roman", serif;
}

.source-bank-list details {
  margin-top: 13px;
  border-top: 1px solid #dde9e3;
  padding-top: 11px;
}

.source-bank-list summary {
  display: flex;
  min-height: 38px;
  align-items: center;
  color: #23754e;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.source-bank-list summary::-webkit-details-marker { display: none; }
.source-bank-list summary::after { content: "+"; margin-left: auto; color: #1689c1; font-size: 20px; font-weight: 400; }
.source-bank-list details[open] summary::after { content: "−"; }

.source-bank-list details > div {
  margin-top: 5px;
  padding: 13px;
  border-radius: 12px;
  background: #f0fbf3;
  color: #47666a;
  font-size: 11px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.source-bank-list details b { color: #216d49; }
.source-bank-list details p { margin: 8px 0 0; }
.source-bank-list details small { display: block; margin-top: 9px; color: #728a86; font-size: 9px; line-height: 1.55; }

.source-bank-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.source-bank-pagination button {
  min-height: 42px;
  min-width: 42px;
  padding: 0 13px;
  border: 1px solid #c8dcd2;
  border-radius: 12px;
  background: #fff;
  color: #2c7050;
  font-size: 11px;
  font-weight: 900;
}

.source-bank-pagination button:hover:not(:disabled) { border-color: #65ca94; background: #f2fff3; }
.source-bank-pagination button:disabled { cursor: not-allowed; opacity: .48; }
.source-bank-pagination .active { border-color: #58cc02; background: #58cc02; color: #143c28; }

.source-bank-empty {
  padding: 32px 18px;
  border: 1px dashed #bad0c5;
  border-radius: 16px;
  background: #f8fcf8;
  color: #66807a;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.source-bank-boundary {
  margin: 18px 4px 0;
  padding: 12px 14px;
  border-left: 3px solid #ffb26c;
  border-radius: 0 12px 12px 0;
  background: #fff8ee;
  color: #7d664f;
  font-size: 10px;
  line-height: 1.7;
}

#sourcebankView button:focus-visible,
#sourcebankView summary:focus-visible {
  outline: 3px solid rgba(35, 169, 232, .36);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  #sourcebankView {
    padding: 12px 12px calc(88px + env(safe-area-inset-bottom));
  }

  .source-bank-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 18px;
    border-radius: 20px;
  }

  .source-bank-hero h1 { font-size: 31px; }
  .source-bank-hero p { font-size: 13px; }
  .source-bank-total { min-width: 0; padding: 11px 0 0 13px; }
  .source-bank-total b { font-size: 42px; }

  .source-bank-trust,
  .source-bank-books,
  .source-bank-controls,
  .source-question-options,
  .source-bank-options { grid-template-columns: 1fr; }

  .source-bank-trust { gap: 8px; margin: 10px 0 16px; }
  .source-bank-trust span { min-height: 44px; }
  .source-bank-books { gap: 11px; margin: 0 0 20px; }
  .source-book-card { min-height: 0; padding: 17px; border-radius: 18px; }
  .source-book-card h2 { margin-top: 12px; font-size: 21px; }
  .source-book-card > b { margin-top: 15px; padding-top: 0; }
  .source-book-card button { min-height: 48px; }

  .source-bank-directory { padding: 18px 14px; border-radius: 20px; }
  .source-bank-directory > header { display: grid; align-items: stretch; gap: 12px; padding-bottom: 14px; }
  .source-bank-directory h2 { font-size: 25px; }
  .source-bank-directory p { font-size: 11px; }
  .source-bank-reset { width: 100%; min-height: 46px; }
  .source-bank-controls { gap: 10px; margin-top: 14px; }
  .source-bank-controls input,
  .source-bank-controls select { min-height: 46px; font-size: 13px; }
  .source-bank-result-meta { align-items: flex-start; margin-top: 16px; }
  .source-bank-result-meta span { padding-top: 2px; text-align: right; }
  .source-bank-list { gap: 10px; }
  .source-bank-list > article,
  .source-bank-question { padding: 15px; border-radius: 16px; }
  .source-bank-list h3,
  .source-bank-question h3 { margin: 10px 0 12px; font-size: 16px; line-height: 1.62; }
  .source-question-options,
  .source-bank-options { gap: 7px; }
  .source-question-options li,
  .source-bank-options li { min-height: 44px; font-size: 11px; }
  .source-bank-question > header { gap: 8px; }
  .source-bank-question > header > b { font-size: 9px; }
  .source-bank-pagination { justify-content: stretch; gap: 7px; }
  .source-bank-pagination button { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 8px; }
  .source-bank-boundary { margin: 14px 2px 0; font-size: 10px; }
}
