/* ============================================================
   招标采购刷题系统 · zk.chuxun.cc
   视觉延续站点青绿体系，练习页单独做低干扰阅读版式
   ============================================================ */

:root {
  --qz-ink: #0d3b36;
  --qz-ink-2: #235852;
  --qz-muted: #647f79;
  --qz-line: #d9ebe6;
  --qz-primary: #0c645c;
  --qz-primary-2: #1f9d90;
  --qz-accent: #4fc3ad;
  --qz-soft: #e9f9f5;
  --qz-soft-2: #f4fbf9;
  --qz-bg: #f5faf8;
  --qz-warm: #f5b95f;
  --qz-warm-deep: #8a5617;
  --qz-danger: #c2574f;
  --qz-danger-soft: #fff0ee;
  --qz-success: #17806f;
  --qz-success-soft: #eaf9f4;
  --qz-shadow: 0 18px 46px rgba(12, 100, 92, .10);
  --qz-shadow-sm: 0 8px 24px rgba(12, 100, 92, .07);
  --qz-radius: 22px;
}

.qz-body {
  margin: 0;
  background: var(--qz-bg);
  color: var(--qz-ink);
  -webkit-font-smoothing: antialiased;
}

.qz-body *,
.qz-body *::before,
.qz-body *::after { box-sizing: border-box; }

.qz-body button,
.qz-body input { font: inherit; }

.qz-body button { -webkit-tap-highlight-color: transparent; }

.qz-page { overflow: hidden; }

.qz-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ---------------- Hero ---------------- */
.qz-hero {
  position: relative;
  padding: 160px 0 46px;
  background:
    radial-gradient(760px 380px at 7% 0%, rgba(79, 195, 173, .25), rgba(79, 195, 173, 0) 70%),
    radial-gradient(720px 420px at 96% 6%, rgba(79, 195, 173, .16), rgba(79, 195, 173, 0) 66%),
    linear-gradient(138deg, #e6f8f2 0%, #f5fbf9 50%, #F8FCFA 100%);
  border-bottom: 1px solid rgba(79, 195, 173, .14);
}

.qz-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background-image:
    linear-gradient(rgba(12, 100, 92, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 100, 92, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.qz-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 52px;
  align-items: center;
}

.qz-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2a6a62;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.qz-kicker span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--qz-primary-2);
}

.qz-hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(38px, 4.2vw, 54px);
  line-height: 1.14;
  letter-spacing: -1.8px;
  font-weight: 800;
  color: var(--qz-ink);
  text-wrap: balance;
}

.qz-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #0c645c, #1f9d90 48%, #4fc3ad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.qz-hero-sub {
  max-width: 650px;
  margin: 0 0 26px;
  color: var(--qz-muted);
  font-size: 16px;
  line-height: 1.85;
}

.qz-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(650px, 100%);
  height: 58px;
  padding: 6px 7px 6px 18px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(31, 157, 144, .2);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(12, 100, 92, .08);
  backdrop-filter: blur(8px);
}

.qz-search svg { width: 20px; height: 20px; color: var(--qz-primary-2); flex: 0 0 auto; }

.qz-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--qz-ink);
  font-size: 15px;
}

.qz-search input::placeholder { color: #8aa29c; }

.qz-search button {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 11px;
  background: var(--qz-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.qz-search button:hover { background: var(--qz-primary-2); transform: translateY(-1px); }

.qz-hot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 16px;
  color: #78938d;
  font-size: 12.5px;
}

.qz-hot b { color: var(--qz-ink-2); font-weight: 700; }

.qz-hot a {
  color: #4f736c;
  text-decoration: none;
  border-bottom: 1px dashed rgba(12, 100, 92, .24);
  padding-bottom: 1px;
}

.qz-hot a:hover { color: var(--qz-primary); border-bottom-color: var(--qz-primary); }

/* hero panel */
.qz-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px 26px 24px;
  border-radius: 24px;
  background:
    radial-gradient(240px 180px at 95% 0%, rgba(79, 195, 173, .22), rgba(79, 195, 173, 0) 70%),
    linear-gradient(155deg, #0d5b54 0%, #0a413b 60%, #072e2a 100%);
  color: #fff;
  box-shadow: 0 24px 54px rgba(7, 46, 42, .22);
}

.qz-hero-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.qz-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, .66);
  font-size: 12.5px;
  letter-spacing: .06em;
  position: relative;
  z-index: 1;
}

.qz-today {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 12px;
  position: relative;
  z-index: 1;
}

.qz-today strong {
  font-size: 54px;
  line-height: 1;
  letter-spacing: -2px;
  font-weight: 800;
  color: #fff;
}

.qz-today span { color: rgba(255, 255, 255, .66); font-size: 13px; }

.qz-goal {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .16);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.qz-goal i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #157E70 0%, #5BC4AE 52%, #F2DC9D 100%);
  transition: width .5s ease;
}

.qz-panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0 22px;
  position: relative;
  z-index: 1;
}

.qz-panel-stats div {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, .13);
}

.qz-panel-stats div:first-child { padding-left: 0; border-left: 0; }

.qz-panel-stats strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  color: #fff;
  font-weight: 800;
}

.qz-panel-stats span { display: block; margin-top: 4px; color: rgba(255, 255, 255, .55); font-size: 11px; }

.qz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.qz-btn-primary { background: var(--qz-primary); color: #fff; }
.qz-btn-primary:hover { background: var(--qz-primary-2); color: #fff; transform: translateY(-1px); }

.qz-btn-ghost { background: transparent; color: var(--qz-primary); border-color: rgba(12, 100, 92, .22); }
.qz-btn-ghost:hover { background: var(--qz-soft); border-color: rgba(12, 100, 92, .35); color: var(--qz-primary); }

.qz-btn-dark { background: #0d3b36; color: #fff; }
.qz-btn-dark:hover { background: #165951; color: #fff; }

.qz-btn-warm {
  width: 100%;
  background: linear-gradient(180deg, #f7c575, #f2ae49);
  color: #492d0a;
  box-shadow: 0 8px 20px rgba(242, 174, 73, .22);
  position: relative;
  z-index: 1;
}

.qz-btn-warm:hover { background: linear-gradient(180deg, #ffd28c, #f6b757); color: #3d2506; transform: translateY(-1px); }

.qz-hero-panel > p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .5);
  font-size: 11.5px;
  line-height: 1.6;
  text-align: center;
  position: relative;
  z-index: 1;
}

.qz-flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 40px;
  padding: 16px 22px;
  border: 1px solid rgba(31, 157, 144, .15);
  border-radius: 15px;
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.qz-flow span {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #315f58;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.qz-flow i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e3f6f1;
  color: var(--qz-primary);
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
}

.qz-flow b {
  flex: 1 1 auto;
  height: 1px;
  min-width: 18px;
  margin: 0 12px;
  background: linear-gradient(90deg, rgba(31, 157, 144, .2), rgba(31, 157, 144, .05));
  position: relative;
}

.qz-flow b::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -2px;
  width: 5px;
  height: 5px;
  border-top: 1px solid rgba(31, 157, 144, .35);
  border-right: 1px solid rgba(31, 157, 144, .35);
  transform: rotate(45deg);
}

/* ---------------- Main ---------------- */
.qz-main { padding: 42px 0 82px; }

.qz-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 20px;
}

.qz-section-head-first { padding-top: 2px; }

.qz-section-head > div,
.qz-recent-head > div { min-width: 0; }

.qz-label {
  display: block;
  margin-bottom: 6px;
  color: var(--qz-primary-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
}

.qz-section-head h2,
.qz-recent-head h2 {
  margin: 0;
  color: var(--qz-ink);
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -.6px;
  font-weight: 800;
}

.qz-section-head > p {
  margin: 0 0 3px;
  color: #7c948e;
  font-size: 12.5px;
  white-space: nowrap;
}

.qz-bank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.qz-bank-card {
  position: relative;
  overflow: hidden;
  padding: 26px 28px 24px;
  background: #fff;
  border: 1px solid var(--qz-line);
  border-top: 4px solid var(--bank, var(--qz-primary));
  border-radius: var(--qz-radius);
  box-shadow: var(--qz-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.qz-bank-card:hover { transform: translateY(-3px); box-shadow: var(--qz-shadow); }

.qz-bank-card::after {
  content: attr(data-index);
  position: absolute;
  right: 14px;
  top: 9px;
  color: var(--bank, var(--qz-primary));
  font-size: 86px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -6px;
  opacity: .055;
  pointer-events: none;
}

.qz-bank-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.qz-bank-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bank, var(--qz-primary));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.qz-bank-code i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bank, var(--qz-primary));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bank, var(--qz-primary)) 12%, transparent);
}

.qz-bank-level {
  padding: 4px 9px;
  border: 1px solid var(--qz-line);
  border-radius: 7px;
  color: #78928c;
  font-size: 10.5px;
  font-weight: 700;
}

.qz-bank-card h3 {
  margin: 16px 0 8px;
  color: var(--qz-ink);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -.5px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.qz-bank-card > p {
  margin: 0;
  min-height: 46px;
  color: #6f8983;
  font-size: 13px;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.qz-bank-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 18px 0 16px;
  color: #53736c;
  font-size: 12px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.qz-bank-meta span + span { position: relative; padding-left: 14px; }
.qz-bank-meta span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;

  height: 3px;
  border-radius: 50%;
  background: #a9c4bd;
  transform: translateY(-50%);
}

.qz-progress-line { margin-bottom: 18px; position: relative; z-index: 1; }
.qz-progress-line > div { display: flex; justify-content: space-between; margin-bottom: 7px; color: #7b948e; font-size: 11px; }
.qz-progress-line > div b { color: var(--bank, var(--qz-primary)); font-weight: 700; }
.qz-progress-track { height: 5px; border-radius: 99px; background: #edf6f3; overflow: hidden; }
.qz-progress-track i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #157E70 0%, #5BC4AE 52%, #F2DC9D 100%); transition: width .5s ease; }

.qz-bank-actions {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.qz-bank-actions .qz-btn { min-height: 42px; padding: 0 15px; font-size: 13px; }
.qz-bank-actions .qz-btn-primary { flex: 1; background: var(--bank, var(--qz-primary)); }
.qz-bank-actions .qz-btn-primary:hover { filter: brightness(1.07); background: var(--bank, var(--qz-primary)); }
.qz-bank-actions .qz-btn-ghost { flex: 1 1 0; }

/* quick */
.qz-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.qz-quick {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--qz-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  color: var(--qz-ink);
  text-align: left;
  cursor: pointer;
  transition: .22s ease;
}

.qz-quick:hover { border-color: rgba(31, 157, 144, .4); background: #fff; transform: translateY(-2px); box-shadow: var(--qz-shadow-sm); }

.qz-quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--qz-soft);
  color: var(--qz-primary);
}

.qz-quick-icon svg { width: 21px; height: 21px; }

.qz-quick:nth-child(3) .qz-quick-icon { background: #fff1ee; color: #b4574f; }
.qz-quick:nth-child(4) .qz-quick-icon { background: #fff5e5; color: #a56817; }

.qz-quick-text { flex: 1; min-width: 0; }
.qz-quick-text b { display: block; font-size: 14.5px; line-height: 1.4; font-weight: 800; }
.qz-quick-text small { display: block; margin-top: 2px; color: #78928c; font-size: 11px; line-height: 1.4; }

.qz-quick > i { color: #9ab3ad; font-style: normal; font-size: 15px; transition: transform .2s; }
.qz-quick:hover > i { color: var(--qz-primary); transform: translateX(2px); }

/* chapters */
.qz-chapter-section { margin-top: 62px; scroll-margin-top: 106px; }

.qz-bank-switch { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.qz-bank-switch button {
  position: relative;
  padding: 8px 12px 10px;
  border: 0;
  background: transparent;
  color: #748d87;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.qz-bank-switch button::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: transparent;
  border-radius: 99px;
  transition: background .2s;
}

.qz-bank-switch button.is-active { color: var(--qz-primary); }
.qz-bank-switch button.is-active::after { background: var(--qz-primary); }

.qz-chapter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.qz-chapter-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 14px;
  padding: 17px 16px;
  border: 1px solid var(--qz-line);
  border-radius: 15px;
  background: #fff;
  color: var(--qz-ink);
  text-align: left;
  cursor: pointer;
  transition: .2s ease;
}

.qz-chapter-card:hover { border-color: rgba(31, 157, 144, .4); background: #fcfffe; box-shadow: var(--qz-shadow-sm); transform: translateY(-1px); }

.qz-chapter-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--qz-soft);
  color: var(--qz-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
}

.qz-chapter-body { min-width: 0; }
.qz-chapter-body h4 { margin: 0 0 4px; font-size: 14.5px; line-height: 1.4; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-chapter-body p { margin: 0 0 8px; color: #7b948e; font-size: 11px; }
.qz-chapter-body p b { color: #52746c; font-weight: 700; }

.qz-chapter-bar { display: flex; align-items: center; gap: 8px; }
.qz-chapter-track { flex: 1; height: 3px; border-radius: 99px; background: #edf6f3; overflow: hidden; }
.qz-chapter-track i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--qz-primary), var(--qz-accent)); }
.qz-chapter-bar span { flex: 0 0 auto; color: #8aa29c; font-size: 10px; }

.qz-chapter-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f3faf8;
  color: #7c9b94;
  font-size: 14px;
  transition: .2s;
}

.qz-chapter-card:hover .qz-chapter-arrow { background: var(--qz-primary); color: #fff; }

/* lower */
.qz-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr);
  gap: 24px;
  margin-top: 56px;
  align-items: start;
}

.qz-recent { padding: 25px 26px 12px; border: 1px solid var(--qz-line); border-radius: var(--qz-radius); background: #fff; box-shadow: var(--qz-shadow-sm); }

.qz-recent-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.qz-recent-head a { color: var(--qz-primary); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.qz-recent-head a:hover { text-decoration: underline; }

.qz-recent-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #edf5f3;
}

.qz-recent-row:first-child { border-top: 0; }

.qz-recent-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--qz-soft);
  color: var(--qz-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  line-height: 1.2;
}

.qz-recent-row.mock .qz-recent-mark { background: #fff4e3; color: #9b621b; }
.qz-recent-row.wrong .qz-recent-mark { background: #fff0ee; color: #ad514a; }

.qz-recent-main { min-width: 0; }
.qz-recent-main b { display: block; font-size: 13.5px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-recent-main span { display: block; margin-top: 3px; color: #819a94; font-size: 10.5px; }

.qz-recent-score { text-align: right; }
.qz-recent-score strong { display: block; color: var(--qz-primary); font-size: 18px; line-height: 1.2; font-weight: 800; }
.qz-recent-score small { color: #91a7a2; font-size: 10px; }

.qz-empty-line {
  padding: 32px 0 30px;
  color: #8ca39d;
  font-size: 12.5px;
  text-align: center;
}

.qz-note {
  padding: 26px 24px;
  border: 1px solid #f0dfc3;
  border-radius: var(--qz-radius);
  background:
    radial-gradient(300px 180px at 100% 0%, rgba(245, 185, 95, .2), rgba(245, 185, 95, 0) 72%),
    #fffaf1;
}

.qz-note h3 { margin: 4px 0 12px; font-size: 20px; line-height: 1.4; letter-spacing: -.3px; }
.qz-note ol { margin: 0; padding: 0 0 0 19px; color: #6f644f; font-size: 12.5px; line-height: 1.8; }
.qz-note li { margin-bottom: 8px; }
.qz-note li b { color: #57462e; }
.qz-note > p { margin: 14px 0 0; padding-top: 13px; border-top: 1px dashed #ead7b8; color: #a08d72; font-size: 10.5px; line-height: 1.65; }

/* skeleton */
.qz-skeleton {
  border-radius: var(--qz-radius);
  background: linear-gradient(100deg, #edf6f3 20%, #f8fcfb 42%, #edf6f3 63%);
  background-size: 240% 100%;
  animation: qzShine 1.4s linear infinite;
  border: 1px solid #e4f1ed;
}
.qz-skeleton-bank { height: 275px; }
.qz-skeleton-chapter { height: 92px; border-radius: 15px; }
@keyframes qzShine { to { background-position: -140% 0; } }

/* modal */
.qz-modal { position: fixed; inset: 0; z-index: 1250; display: none; align-items: center; justify-content: center; padding: 22px; }
.qz-modal.is-open { display: flex; }
.qz-modal-mask { position: absolute; inset: 0; background: rgba(8, 35, 32, .48); backdrop-filter: blur(4px); }
.qz-modal-card {
  position: relative;
  width: min(520px, 100%);
  padding: 30px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(7, 46, 42, .3);
  animation: qzPop .22s ease both;
}
@keyframes qzPop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

.qz-modal-x, .qz-result-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f7f5;
  color: #5f7b74;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
.qz-modal-x:hover, .qz-result-x:hover { background: #e6f2ee; color: var(--qz-primary); }

.qz-modal-card h3 { margin: 5px 0 7px; font-size: 23px; letter-spacing: -.4px; }
.qz-modal-card > p { margin: 0 0 20px; color: #728b85; font-size: 12.5px; line-height: 1.7; }

.qz-modal-banks { display: grid; gap: 10px; }
.qz-modal-bank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid var(--qz-line);
  border-radius: 13px;
  background: #fbfefd;
  color: var(--qz-ink);
  text-align: left;
  cursor: pointer;
  transition: .2s;
}
.qz-modal-bank:hover { border-color: rgba(31, 157, 144, .45); background: #fff; box-shadow: var(--qz-shadow-sm); }
.qz-modal-bank b { display: block; font-size: 14px; line-height: 1.4; }
.qz-modal-bank span { display: block; margin-top: 2px; color: #819892; font-size: 10.5px; }
.qz-modal-bank i { color: var(--qz-primary); font-style: normal; }

/* ============================================================
   练习页
   ============================================================ */
.qz-practice-body {
  background: #F6F9F7;
}

.qz-practice-page { position: relative; padding: 118px 0 80px; min-height: 100vh; }

.qz-practice-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(rgba(12, 100, 92, .038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 100, 92, .038) 1px, transparent 1px),
    radial-gradient(900px 520px at 4% -12%, rgba(95, 205, 183, .34), transparent 66%),
    radial-gradient(760px 480px at 96% 6%, rgba(79, 195, 173, .16), transparent 66%),
    radial-gradient(680px 420px at 58% 108%, rgba(79, 195, 173, .13), transparent 66%),
    linear-gradient(116deg, #E9F6F0 0%, #E1F3EB 32%, #D8EFE6 62%, #EAF7F1 100%);
  background-size: 32px 32px, 32px 32px, auto, auto, auto, auto;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
}

.qz-practice-container { position: relative; z-index: 1; max-width: 1040px; }

.qz-practice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.qz-practice-title { display: flex; align-items: center; gap: 12px; min-width: 0; }

.qz-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(12, 100, 92, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  color: var(--qz-primary);
  text-decoration: none;
  box-shadow: var(--qz-shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.qz-back svg { width: 20px; height: 20px; }
.qz-back:hover { background: var(--qz-soft); }

.qz-practice-title > div { min-width: 0; }
.qz-practice-title span { display: block; color: #809892; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; }
.qz-practice-title h1 { margin: 3px 0 0; color: var(--qz-ink); font-size: 20px; line-height: 1.35; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.qz-practice-tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.qz-timer {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(12, 100, 92, .12);
  border-radius: 11px;
  background: rgba(255, 255, 255, .72);
  color: #6d8780;
  font-size: 11px;
  box-shadow: var(--qz-shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.qz-timer svg { width: 16px; height: 16px; color: var(--qz-primary-2); }
.qz-timer b { font-size: 14px; letter-spacing: .03em; color: var(--qz-ink); font-variant-numeric: tabular-nums; }
.qz-timer.is-warn { border-color: #f1c6a2; background: #fff8f1; }
.qz-timer.is-warn b { color: #9e581b; }

.qz-card-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(12, 100, 92, .12);
  border-radius: 11px;
  background: rgba(255, 255, 255, .72);
  color: var(--qz-ink);
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: var(--qz-shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.qz-card-toggle b { color: var(--qz-primary); font-size: 12px; }

.qz-practice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.qz-question-card {
  min-height: 570px;
  padding: 32px 34px 28px;
  border: 1px solid rgba(12, 100, 92, .13);
  border-radius: var(--qz-radius);
  background:
    radial-gradient(320px 180px at 12% 0%, rgba(79, 195, 173, .13), rgba(79, 195, 173, 0) 62%),
    radial-gradient(260px 160px at 96% 100%, rgba(24, 140, 128, .08), rgba(24, 140, 128, 0) 64%),
    linear-gradient(135deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .40) 52%, rgba(232, 247, 242, .34) 100%);
  box-shadow: 0 26px 56px -34px rgba(12, 59, 54, .34), inset 0 1px 0 rgba(255, 255, 255, .45);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.qz-q-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.qz-q-head > span { color: var(--qz-primary); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.qz-q-head > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.qz-type { padding: 4px 9px; border-radius: 7px; background: var(--qz-soft); color: var(--qz-primary); font-size: 10.5px; font-weight: 800; white-space: nowrap; }
.qz-type.is-multiple { background: #fff4e3; color: #98611c; }
.qz-diff { padding: 4px 9px; border-radius: 7px; font-size: 10.5px; font-weight: 800; white-space: nowrap; }
.qz-diff.is-easy { background: #eef3f1; color: #6f8781; }
.qz-diff.is-mid { background: var(--qz-soft); color: var(--qz-primary); }
.qz-diff.is-hard { background: #fff4e3; color: #98611c; }
.qz-chapter { color: #8ca39d; font-size: 10.5px; max-width: 230px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.qz-question-card h2 {
  margin: 0;
  color: var(--qz-ink);
  font-size: 23px;
  line-height: 1.65;
  letter-spacing: -.3px;
  font-weight: 700;
  text-wrap: pretty;
}

.qz-q-tip { margin: 10px 0 0; color: #91a7a2; font-size: 11px; line-height: 1.6; }

.qz-options { display: grid; gap: 11px; margin-top: 22px; }

.qz-option {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(12, 100, 92, .10);
  border-radius: 13px;
  background: rgba(255, 255, 255, .46);
  color: #31534c;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.65;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color .18s, background .18s, box-shadow .18s;
}

.qz-option:hover:not(:disabled) { border-color: rgba(31, 157, 144, .5); background: rgba(255, 255, 255, .60); }
.qz-option:disabled { cursor: default; }

.qz-option-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f0f8f5;
  color: #5a7d75;
  font-size: 12px;
  font-weight: 800;
  transition: .18s;
}

.qz-option-text { flex: 1; padding-top: 2px; }

.qz-option.is-selected { border-color: var(--qz-primary); background: #f6fdfb; box-shadow: 0 0 0 2px rgba(31, 157, 144, .08); }
.qz-option.is-selected .qz-option-letter { background: var(--qz-primary); color: #fff; }
.qz-option.is-selected .qz-option-mark { color: #17806f; }
.qz-option.is-selected .qz-option-tag { background: #e7f8f2; color: #147864; }

.qz-option.is-correct { border-color: #60b9a6; background: var(--qz-success-soft); }
.qz-option.is-correct .qz-option-letter { background: #17806f; color: #fff; }

.qz-option.is-wrong { border-color: #dd9d97; background: var(--qz-danger-soft); }
.qz-option.is-wrong .qz-option-letter { background: #c2574f; color: #fff; }

.qz-option.is-muted { opacity: .62; }

.qz-option-mark { flex: 0 0 auto; padding-top: 3px; color: #8ba39d; font-size: 15px; }
.qz-option-tag {
  flex: 0 0 auto;
  margin: 3px 2px 0 8px;
  padding: 2px 6px;
  border-radius: 5px;
  background: #e6f5f0;
  color: #1b7d6d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
}
.qz-option.is-correct .qz-option-mark { color: #17806f; }
.qz-option.is-wrong .qz-option-mark { color: #c2574f; }

.qz-feedback {
  margin-top: 22px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(12, 100, 92, .12);
  border-radius: 15px;
  background: rgba(233, 249, 245, .50);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: qzFade .2s ease both;
}

.qz-feedback.is-wrong { border-color: #efd4d0; background: rgba(255, 248, 247, .58); }

@keyframes qzFade { from { opacity: 0; transform: translateY(4px); } }

.qz-feedback-head { display: flex; align-items: flex-start; gap: 11px; }

.qz-feedback-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #dff5ee;
  color: #17806f;
  font-size: 15px;
  font-weight: 800;
}
.qz-feedback.is-wrong .qz-feedback-icon { background: #fbe1de; color: #b54f48; }

.qz-feedback-head > div { flex: 1; min-width: 0; }
.qz-feedback-head b { display: block; font-size: 14px; line-height: 1.4; }
.qz-feedback-head small { display: block; margin-top: 2px; color: #6f8a83; font-size: 11px; }

.qz-fav {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(12, 100, 92, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .46);
  color: #7b948e;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}
.qz-fav.is-on { border-color: #f0d09a; background: #fff8eb; color: #9b641d; }

.qz-feedback > p { margin: 13px 0 0; color: #506f67; font-size: 12.5px; line-height: 1.8; }
.qz-source { margin-top: 8px; color: #93a9a4; font-size: 10.5px; }

/* 小智陪练（题卡内，反馈条右侧） */
.qz-feedback-row { display: flex; gap: 16px; align-items: flex-end; margin-top: 22px; }
.qz-feedback-row .qz-feedback { flex: 1; min-width: 0; margin-top: 0; }
.qz-companion { flex: 0 0 118px; margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.qz-comp-bubble {
  position: relative; max-width: 150px; background: #fff; border: 1px solid var(--qz-line);
  border-radius: 13px; padding: 9px 12px; box-shadow: 0 10px 24px rgba(12, 100, 92, .10);
}
.qz-comp-bubble.is-win { background: var(--qz-soft); border-color: #bfe7dc; }
.qz-comp-title { display: block; font-weight: 700; font-size: 12.5px; color: var(--qz-primary); margin-bottom: 2px; }
.qz-comp-bubble.is-win .qz-comp-title { color: var(--qz-success); }
.qz-comp-text { display: block; font-size: 11.5px; line-height: 1.5; color: var(--qz-ink-2); }
.qz-comp-bubble::after {
  content: ""; position: absolute; right: 16px; bottom: -6px; width: 12px; height: 12px;
  background: inherit; border-right: 1px solid var(--qz-line); border-bottom: 1px solid var(--qz-line);
  transform: rotate(45deg);
}
.qz-comp-bubble.is-win::after { border-color: #bfe7dc; }
.qz-comp-mascot { position: relative; width: 84px; height: 118px; filter: drop-shadow(0 10px 14px rgba(12, 100, 92, .18)); }
.qz-comp-mascot img { width: 100%; height: 100%; object-fit: contain; }
.qz-comp-part { position: absolute; top: 4%; left: 60%; width: 34%; height: auto; animation: qzCompPop 1.2s ease-in-out infinite; }
@keyframes qzCompPop { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.1); } }

/* 小智陪练：三态动效 + 帧轮换淡入 */
.qz-comp-mascot.is-idle { animation: qzBreathe 2.8s ease-in-out infinite; }
.qz-comp-mascot.is-win,
.qz-comp-mascot.is-hot { animation: qzHop 1.1s ease-in-out infinite; }
.qz-comp-mascot.is-lose { animation: qzDroop 2.6s ease-in-out infinite; }
#qzCompImg { transition: opacity .16s ease; }
#qzCompImg.qz-swapping { opacity: 0; }
@keyframes qzBreathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.02); }
}
@keyframes qzHop {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  30% { transform: translateY(-10px) scale(.98, 1.03); }
  55% { transform: translateY(0) scale(1.03, .96); }
  75% { transform: translateY(-3px) scale(1, 1); }
}
@keyframes qzDroop {
  0%, 100% { transform: rotate(0) translateY(0); }
  50% { transform: rotate(-4deg) translateY(2px); }
}

.qz-q-actions { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.qz-q-actions .qz-btn { min-height: 42px; font-size: 13px; }
.qz-q-actions #qzPrev { margin-right: auto; }
.qz-q-actions #qzSubmit, .qz-q-actions #qzNext { min-width: 128px; }
.qz-q-actions .qz-btn-primary,
.qz-question-empty .qz-btn-primary {
  background:
    radial-gradient(120px 70px at 22% 12%, rgba(255, 255, 255, .22), transparent 58%),
    linear-gradient(135deg, #127369 0%, #1F9D90 58%, #4FC3AD 100%);
  box-shadow: 0 10px 22px rgba(15, 118, 110, .24), inset 0 1px 0 rgba(255, 255, 255, .30);
}
.qz-q-actions .qz-btn-primary:hover,
.qz-question-empty .qz-btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 26px rgba(15, 118, 110, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.qz-q-actions [hidden] { display: none !important; }

.qz-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 400px;
  color: #7f9791;
  font-size: 13px;
}
.qz-loading i { width: 20px; height: 20px; border: 2px solid #d7ebe5; border-top-color: var(--qz-primary); border-radius: 50%; animation: qzSpin .8s linear infinite; }
@keyframes qzSpin { to { transform: rotate(360deg); } }
.qz-loading[hidden] { display: none; }

.qz-question-empty { min-height: 430px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.qz-question-empty > span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: #fff5e5; color: #a86a1f; font-size: 24px; font-weight: 800;
}
.qz-question-empty h3 { margin: 16px 0 6px; font-size: 21px; }
.qz-question-empty p { margin: 0 0 18px; color: #839a94; font-size: 12.5px; }

/* ---- 额度用尽 · 深青提示块（嵌在答题框内，方案 B） ---- */
.qz-question-card.is-quota {
  min-height: 570px;
  padding: 32px 34px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qz-question-card.is-quota .qz-q-head { display: none; }
.qz-question-empty.is-quota { display: flex; flex-direction: row; align-items: center; justify-content: center; width: 100%; min-height: 0; text-align: center; }
.qz-question-empty.is-quota .qe-plain { display: none; }

.qe-quota { display: flex; align-items: center; gap: 34px; width: -moz-fit-content; width: fit-content; margin: 0 auto; padding: 0 4px; color: #24413C; text-align: left; }
.qe-ring { position: relative; flex: 0 0 auto; width: 112px; height: 112px; display: grid; place-items: center; }
.qe-ring .trk { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(rgba(12, 100, 92, .10) 0 100%); }
.qe-ring .fil {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, #12736A 0 var(--p, 100%), rgba(12, 100, 92, 0) var(--p, 100%));
}
.qe-ring .hole { position: absolute; inset: 10px; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(12, 100, 92, .06); }
.qe-ring b { position: relative; text-align: center; line-height: 1; }
.qe-ring b em { display: block; font-style: normal; font-family: var(--qz-serif, Georgia, "Songti SC", serif); font-size: 25px; font-weight: 600; color: #0C645C; letter-spacing: -.01em; }
.qe-ring b small { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .1em; color: #4F6D66; }
.qe-ring b small span { letter-spacing: 0; }

.qe-main { flex: 1; min-width: 0; }
.qe-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .18em; color: #9C8146; }
.qe-kicker::before { content: ""; width: 16px; height: 1px; background: rgba(156, 129, 70, .55); }
.qe-main h3 { margin: 10px 0 9px; color: #12312C; font-size: 26px; line-height: 1.26; font-weight: 600; letter-spacing: .01em; font-family: var(--qz-serif, Georgia, "Songti SC", serif); }
.qe-main p { margin: 0; max-width: 600px; color: #5C7A73; font-size: 12.5px; line-height: 1.85; }
.qe-perks { display: flex; flex-wrap: wrap; gap: 9px 16px; margin: 14px 0 18px; }
.qe-perks span { display: inline-flex; align-items: center; gap: 7px; color: #4A6A63; font-size: 11.5px; }
.qe-perks span::before { content: ""; width: 6px; height: 6px; background: linear-gradient(135deg, #F3E2B8, #CFA95C); transform: rotate(45deg); box-shadow: 0 0 0 2px rgba(201, 162, 74, .12); }

.qe-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.qe-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; border-radius: 12px; font-size: 13px; font-weight: 700; letter-spacing: .02em; text-decoration: none; white-space: nowrap; transition: filter .2s ease, box-shadow .2s ease; }
.qe-btn.gold {
  color: #fff;
  background:
    radial-gradient(120px 70px at 22% 12%, rgba(255, 255, 255, .22), transparent 58%),
    linear-gradient(135deg, #127369 0%, #1F9D90 58%, #4FC3AD 100%);
  box-shadow: 0 10px 22px rgba(15, 118, 110, .24), inset 0 1px 0 rgba(255, 255, 255, .30);
}
.qe-btn.gold:hover { filter: brightness(1.05); box-shadow: 0 12px 26px rgba(15, 118, 110, .28), inset 0 1px 0 rgba(255, 255, 255, .35); }
.qe-btn.ghost { color: #3F5F58; background: #fff; border: 1px solid rgba(12, 100, 92, .18); }
.qe-btn.ghost:hover { background: #F4FAF8; }
.qe-fine { font-size: 10.5px; letter-spacing: .03em; color: #93A9A4; }

/* answer card */
.qz-answer-card {
  position: sticky;
  top: 112px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(12, 100, 92, .13);
  border-radius: 20px;
  background:
    radial-gradient(320px 180px at 12% 0%, rgba(79, 195, 173, .13), rgba(79, 195, 173, 0) 62%),
    radial-gradient(260px 160px at 96% 100%, rgba(24, 140, 128, .08), rgba(24, 140, 128, 0) 64%),
    linear-gradient(135deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .40) 52%, rgba(232, 247, 242, .34) 100%);
  box-shadow: 0 22px 46px -30px rgba(12, 59, 54, .30), inset 0 1px 0 rgba(255, 255, 255, .45);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.qz-answer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qz-answer-head > div { display: flex; align-items: baseline; gap: 7px; }
.qz-answer-head span { color: var(--qz-ink); font-size: 14px; font-weight: 800; }
.qz-answer-head b { color: var(--qz-primary); font-size: 12px; font-weight: 800; }
.qz-answer-head button { display: none; border: 0; background: transparent; color: #7c958f; font-size: 20px; cursor: pointer; }

.qz-answer-summary { display: flex; flex-wrap: wrap; gap: 7px 11px; margin: 12px 0 14px; color: #7c958f; font-size: 10px; }
.qz-answer-summary span { display: inline-flex; align-items: center; gap: 4px; }
.qz-answer-summary i { width: 6px; height: 6px; border-radius: 50%; }
.qz-answer-summary .ok i { background: #2c9b88; }
.qz-answer-summary .bad i { background: #cc6b62; }
.qz-answer-summary .skip i { background: #cadbd6; }
.qz-answer-summary b { color: var(--qz-ink); font-size: 11px; }

.qz-answer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }

.qz-answer-grid button {
  height: 38px;
  border: 1px solid rgba(12, 100, 92, .10);
  border-radius: 9px;
  background: rgba(255, 255, 255, .46);
  color: #6f8a83;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: .16s;
  font-variant-numeric: tabular-nums;
}
.qz-answer-grid button:hover { border-color: rgba(31, 157, 144, .4); color: var(--qz-primary); }
.qz-answer-grid button.is-current {
  border-color: #1F9D90;
  background:
    radial-gradient(60px 36px at 24% 12%, rgba(255, 255, 255, .22), transparent 58%),
    linear-gradient(135deg, #127369 0%, #1F9D90 58%, #4FC3AD 100%);
  color: #fff;
  box-shadow: 0 4px 10px rgba(15, 118, 110, .24), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.qz-answer-grid button.is-correct { border-color: #bee5dc; background: #eaf9f4; color: #177364; }
.qz-answer-grid button.is-wrong { border-color: #f0ccc7; background: #fff0ee; color: #ad514a; }
.qz-answer-grid button.is-selected { border-color: #4d9e91; background: #f2fbf8; color: #1b7165; }

.qz-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 14px 0 16px; color: #8da49e; font-size: 10px; }
.qz-legend span { display: flex; align-items: center; gap: 6px; }
.qz-legend i { width: 8px; height: 8px; border-radius: 3px; border: 1px solid #d8e8e4; background: #fbfefd; }
.qz-legend .cur { border-color: var(--qz-primary); background: var(--qz-primary); }
.qz-legend .done { border-color: #bee5dc; background: #eaf9f4; }
.qz-legend .wrong { border-color: #f0ccc7; background: #fff0ee; }
.qz-legend .none { border-color: #d8e8e4; background: #fbfefd; }

.qz-finish {
  width: 100%;
  background:
    radial-gradient(140px 76px at 22% 12%, rgba(255, 255, 255, .22), transparent 58%),
    linear-gradient(135deg, #106A61 0%, #1B9184 58%, #3EB6A4 100%);
  box-shadow: 0 12px 26px rgba(15, 118, 110, .26), inset 0 1px 0 rgba(255, 255, 255, .30);
}
.qz-finish:hover {
  filter: brightness(1.05);
  box-shadow: 0 14px 30px rgba(15, 118, 110, .30), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.qz-finish-hint { margin: 9px 0 0; color: #93a8a3; font-size: 10px; line-height: 1.5; text-align: center; }

.qz-drawer-mask { display: none; }

/* result */
.qz-result {
  position: fixed;
  inset: 0;
  z-index: 1380;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: auto;
}
.qz-result.is-open { display: flex; }
.qz-result-mask { position: fixed; inset: 0; background: rgba(6, 34, 30, .58); backdrop-filter: blur(5px); }
.qz-result-card {
  position: relative;
  width: min(780px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 36px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(4, 28, 25, .34);
  animation: qzPop .26s ease both;
}

.qz-result-eyebrow { color: var(--qz-primary-2); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.qz-result-hero { display: flex; align-items: center; gap: 30px; margin: 12px 0 24px; }
.qz-result-hero > div { flex: 1; min-width: 0; }
.qz-result-hero h2 { margin: 0 0 7px; font-size: 29px; line-height: 1.3; letter-spacing: -.8px; }
.qz-result-hero p { margin: 0; color: #708983; font-size: 12.5px; line-height: 1.7; }
.qz-result-hero > .qz-score-ring { flex: 0 0 138px; }
.qz-result-hero > .qz-result-comp { flex: 0 0 96px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.qz-result-comp img { width: 84px; height: 104px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(12, 100, 92, .16)); }
/* 结果弹窗小智：分档进场微动效 */
.qz-result-comp-img { opacity: 0; }
.qz-result-comp-img.is-high { animation: qzResultEnterHigh .62s cubic-bezier(.2,.9,.3,1.2) both, qzBreathe 3s ease-in-out .62s infinite; }
.qz-result-comp-img.is-mid { animation: qzResultEnterMid .5s ease-out both, qzBreathe 3.2s ease-in-out .5s infinite; }
.qz-result-comp-img.is-low { animation: qzResultEnterLow .5s ease-out both; }
@keyframes qzResultEnterHigh {
  0% { opacity: 0; transform: translateY(18px) scale(.85) rotate(-6deg); }
  60% { opacity: 1; transform: translateY(-6px) scale(1.06) rotate(2deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}
@keyframes qzResultEnterMid {
  0% { opacity: 0; transform: translateY(12px) scale(.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes qzResultEnterLow {
  0% { opacity: 0; transform: translateY(10px) rotate(3deg); }
  100% { opacity: 1; transform: translateY(0) rotate(0); }
}
.qz-result-comp-tag { font-weight: 800; font-size: 13px; color: var(--qz-primary); }
.qz-result-comp-line { font-size: 10.5px; line-height: 1.5; color: #708983; }
.qz-score-ring {
  --pct: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: conic-gradient(var(--qz-primary) calc(var(--pct) * 1%), #eaf4f1 0);
}
.qz-score-ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #fff; }
.qz-score-ring strong { position: relative; z-index: 1; font-size: 32px; line-height: 1; letter-spacing: -1px; color: var(--qz-primary); }
.qz-score-ring span { position: relative; z-index: 1; margin-top: 4px; color: #7b948e; font-size: 10px; font-weight: 700; }
.qz-score-ring.is-low { background: conic-gradient(#c2574f calc(var(--pct) * 1%), #f7ecea 0); }
.qz-score-ring.is-low strong { color: #b04e46; }

.qz-result-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.qz-result-stat { padding: 13px 14px; border: 1px solid #e2efeb; border-radius: 13px; background: #fbfefd; }
.qz-result-stat strong { display: block; font-size: 22px; line-height: 1.2; letter-spacing: -.3px; }
.qz-result-stat span { display: block; margin-top: 3px; color: #809892; font-size: 10px; }
.qz-result-stat.good strong { color: #17806f; }
.qz-result-stat.bad strong { color: #b5544c; }

.qz-result-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 24px;
  padding: 17px 20px;
  border: 1px solid #d5ebe5;
  border-radius: 16px;
  background: linear-gradient(100deg, #f1faf7, #fbfefd);
}
.qz-result-next-info { min-width: 0; }
.qz-result-next-info span { display: block; color: #7b948e; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.qz-result-next-info strong { display: block; margin-top: 4px; color: #143f38; font-size: 17px; line-height: 1.4; letter-spacing: -.2px; }
.qz-result-next .qz-btn { flex: 0 0 auto; min-height: 42px; padding: 0 20px; }
.qz-result-next.is-end { background: #f8fbfa; border-color: #e4efec; }

.qz-result-wrong { margin-top: 8px; }
.qz-result-wrong h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -.2px; }
.qz-result-wrong-list { display: grid; gap: 10px; }
.qz-result-wrong-item { padding: 14px 15px; border: 1px solid #f0ddd9; border-radius: 12px; background: #fff9f8; }
.qz-result-wrong-item b { display: block; font-size: 13px; line-height: 1.6; color: #3f5b55; }
.qz-result-wrong-item p { margin: 7px 0 0; color: #7f6d69; font-size: 11.5px; line-height: 1.7; }
.qz-result-wrong-item em { color: #b2524a; font-style: normal; font-weight: 700; }
.qz-result-wrong-item small { display: block; margin-top: 5px; color: #a5908c; font-size: 10px; }

.qz-result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.qz-result-actions .qz-btn { flex: 1 1 180px; }
.qz-result-note { margin: 14px 0 0; color: #95aaa4; font-size: 10.5px; line-height: 1.6; text-align: center; }

.qz-result-stat { font: inherit; color: inherit; text-align: left; }
.qz-result-stat.is-clickable { position: relative; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }
.qz-result-stat.is-clickable:hover { transform: translateY(-1px); border-color: #b9ddd5; background: #f5fcf9; }
.qz-result-stat.is-clickable:focus-visible { outline: 2px solid rgba(23,128,111,.28); outline-offset: 2px; }
.qz-result-stat.is-clickable.is-active.good { border-color: #94d3c4; background: #edfaf5; box-shadow: 0 5px 16px rgba(23,128,111,.10); }
.qz-result-stat.is-clickable.is-active.bad { border-color: #e8bdb7; background: #fff5f3; box-shadow: 0 5px 16px rgba(181,84,76,.10); }
.qz-result-stat-hint { margin: -10px 0 22px; color: #8aa39d; font-size: 10.5px; line-height: 1.6; }

.qz-result-review { margin-top: 2px; }
.qz-review-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.qz-review-eyebrow { display: block; color: var(--qz-primary-2); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.qz-review-head h3 { margin: 2px 0 0; font-size: 18px; line-height: 1.35; letter-spacing: -.2px; }
.qz-review-tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.qz-review-tab { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 10px; border: 1px solid #e1eee9; border-radius: 999px; background: #fbfefd; color: #6e8882; font: inherit; font-size: 10.5px; cursor: pointer; transition: .18s ease; }
.qz-review-tab b { color: #3a5b54; font-size: 11px; }
.qz-review-tab:hover { border-color: #b9ddd5; background: #f2fbf8; }
.qz-review-tab.is-active { border-color: #8fd0c1; background: #eaf8f4; color: #166f61; }
.qz-review-tab.is-active b { color: #166f61; }

.qz-review-list { display: grid; gap: 8px; }
.qz-review-item { border: 1px solid #e1efea; border-radius: 13px; background: #fbfefd; overflow: hidden; }
.qz-review-item.is-wrong { border-color: #f0ddd9; background: #fffafa; }
.qz-review-item.is-skip { border-color: #e5ecea; background: #f9fbfb; }
.qz-review-item.is-open { border-color: #a9d8cd; box-shadow: 0 8px 24px rgba(15,86,74,.07); background: #fff; }
.qz-review-sum { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.qz-review-sum:focus-visible { outline: 2px solid rgba(23,128,111,.24); outline-offset: -2px; }
.qz-review-badge { flex: 0 0 auto; min-width: 34px; padding: 3px 7px; border-radius: 6px; background: #edf7f3; color: #4f7d73; font-size: 9px; font-weight: 800; text-align: center; letter-spacing: .02em; }
.qz-review-item.is-correct .qz-review-badge { background: #e7f8f2; color: #147864; }
.qz-review-item.is-wrong .qz-review-badge { background: #fdeeeb; color: #b2524a; }
.qz-review-item.is-skip .qz-review-badge { background: #eef2f1; color: #7d908b; }
.qz-review-sum b { flex: 1; min-width: 0; color: #355149; font-size: 12px; line-height: 1.6; font-weight: 600; }
.qz-review-open { flex: 0 0 auto; color: #7f9892; font-size: 10px; white-space: nowrap; }
.qz-review-open i { color: var(--qz-primary); font-style: normal; font-size: 14px; }
.qz-review-detail { padding: 0 13px 14px; border-top: 1px solid #edf4f1; }
.qz-review-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 11px 0 10px; }
.qz-review-opt { display: flex; align-items: center; gap: 7px; min-height: 32px; padding: 6px 9px; border: 1px solid #e4efec; border-radius: 8px; color: #627a74; font-size: 10.5px; line-height: 1.5; }
.qz-review-opt i { flex: 0 0 auto; width: 19px; height: 19px; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; background: #f2f8f6; color: #66827b; font-style: normal; font-size: 9px; font-weight: 800; }
.qz-review-opt span { flex: 1; min-width: 0; }
.qz-review-opt em { flex: 0 0 auto; color: #8fa39e; font-style: normal; font-size: 9px; }
.qz-review-opt.is-answer { border-color: #a8dacd; background: #effbf7; color: #2b6257; }
.qz-review-opt.is-answer i { background: #d9f3eb; color: #157463; }
.qz-review-opt.is-answer em { color: #16816e; font-weight: 700; }
.qz-review-opt.is-picked { box-shadow: inset 3px 0 0 #91cdbf; }
.qz-review-opt.is-miss { border-color: #e8bcb6; background: #fff5f3; color: #8d4c46; box-shadow: inset 3px 0 0 #d58b83; }
.qz-review-opt.is-miss i { background: #fbe7e4; color: #b2524a; }
.qz-review-answer { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 9px; color: #78908a; font-size: 10.5px; line-height: 1.7; }
.qz-review-answer em { color: #a75a52; font-style: normal; font-weight: 700; }
.qz-review-answer b { color: #167765; font-weight: 700; }
.qz-review-explanation { padding: 9px 11px; border-radius: 9px; background: #f6faf9; }
.qz-review-explanation span { display: block; margin-bottom: 3px; color: #1c796a; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.qz-review-explanation p { margin: 0; color: #58726c; font-size: 11px; line-height: 1.75; }
.qz-review-source { display: block; margin-top: 6px; color: #9baca7; font-size: 9.5px; line-height: 1.55; }
.qz-review-nav { display: flex; gap: 8px; margin-top: 12px; }
.qz-review-nav .qz-btn { flex: 1; min-height: 36px; padding: 0 12px; font-size: 11px; }
.qz-review-nav .qz-btn[disabled] { opacity: .42; cursor: default; }
.qz-review-empty { padding: 26px 16px; border: 1px dashed #dbeae6; border-radius: 12px; background: #fbfefd; color: #849b95; font-size: 11.5px; line-height: 1.7; text-align: center; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1120px) {
  .qz-hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; }
  .qz-hero h1 { font-size: 44px; }
  .qz-practice-grid { grid-template-columns: minmax(0, 1fr) 286px; }
}

@media (max-width: 991px) {
  .qz-hero { padding: 126px 0 40px; }
  .qz-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .qz-hero-copy, .qz-hero-panel, .qz-hero-combo { min-width: 0; }
  .qz-hero h1 { font-size: 42px; max-width: 680px; }
  .qz-hero-panel { max-width: 520px; }
  .qz-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qz-lower { grid-template-columns: 1fr; }
  .qz-note { max-width: 640px; }

  .qz-practice-page { padding: 104px 0 70px; }
  .qz-practice-grid { grid-template-columns: minmax(0, 1fr); }
  .qz-practice-container { z-index: auto; }
  .qz-card-toggle { display: inline-flex; }

  .qz-answer-card {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 10px;
    top: auto;
    z-index: 1230;
    max-height: 78vh;
    overflow: auto;
    padding: 19px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(7, 46, 42, .34);
    transform: translateY(112%);
    opacity: 0;
    pointer-events: none;
    transition: transform .26s ease, opacity .26s ease;
  }
  .qz-answer-card.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; z-index: 1310; }
  .qz-answer-head button { display: block; }
  .qz-answer-grid { grid-template-columns: repeat(6, 1fr); }
  .qz-drawer-mask {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(6, 34, 30, .48);
  }
  .qz-drawer-mask.is-show { display: block; }
}

@media (max-width: 767px) {
  .qz-container { width: calc(100% - 32px); }
  .qz-hero { padding: 104px 0 28px; }
  .qz-hero h1 { font-size: 31px; letter-spacing: -.9px; margin: 15px 0 10px; }
  .qz-hero-sub { font-size: 13.5px; line-height: 1.75; margin-bottom: 19px; }
  .qz-kicker { font-size: 10.5px; letter-spacing: .1em; }
  .qz-search { height: 52px; padding-left: 13px; border-radius: 13px; }
  .qz-search input { font-size: 13.5px; }
  .qz-search button { height: 40px; padding: 0 16px; font-size: 12.5px; border-radius: 9px; }
  .qz-hot { font-size: 11px; gap: 5px 11px; }
  .qz-hero-panel { padding: 22px 20px 18px; border-radius: 20px; }
  .qz-today { margin: 8px 0 10px; }
  .qz-today strong { font-size: 38px; }
  .qz-panel-stats { gap: 8px; margin: 16px 0 14px; }
  .qz-panel-stats strong { font-size: 17px; }
  .qz-panel-stats span { font-size: 10px; }
  .qz-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 12px;
    margin-top: 28px;
    padding: 12px 14px;
    overflow: visible;
  }
  .qz-flow b { display: none; }
  .qz-flow span { white-space: nowrap; font-size: 11.5px; }

  .qz-main { padding: 32px 0 60px; }
  .qz-section-head { align-items: flex-start; gap: 12px; margin-bottom: 16px; }
  .qz-section-head h2, .qz-recent-head h2 { font-size: 20px; }
  .qz-section-head > p { display: none; }
  .qz-bank-grid { grid-template-columns: 1fr; gap: 14px; }
  .qz-bank-card { padding: 22px 20px 20px; border-radius: 18px; }
  .qz-bank-card h3 { font-size: 19px; }
  .qz-bank-card > p { min-height: 0; font-size: 12px; }
  .qz-bank-actions { gap: 7px; }
  .qz-bank-actions .qz-btn { min-height: 40px; padding: 0 8px; font-size: 11.5px; }

  .qz-quick-grid { gap: 10px; }
  .qz-quick { min-height: 66px; padding: 10px 10px 10px 12px; border-radius: 13px; gap: 9px; }
  .qz-quick-icon { width: 36px; height: 36px; border-radius: 10px; }
  .qz-quick-icon svg { width: 18px; height: 18px; }
  .qz-quick-text b { font-size: 12.5px; }
  .qz-quick-text small { font-size: 10px; }

  .qz-chapter-section { margin-top: 42px; }
  .qz-chapter-section .qz-section-head { flex-direction: column; align-items: stretch; gap: 4px; }
  .qz-chapter-section .qz-section-head .qz-bank-switch { margin-top: 2px; align-self: flex-start; }
  .qz-bank-switch button { padding: 6px 8px 8px; font-size: 11.5px; }
  .qz-chapter-grid { grid-template-columns: 1fr; gap: 9px; }
  .qz-chapter-card { grid-template-columns: 38px minmax(0, 1fr) 30px; padding: 13px 13px; gap: 11px; }
  .qz-chapter-no { width: 38px; height: 38px; font-size: 11px; }
  .qz-chapter-body h4 { font-size: 13px; }

  .qz-lower { margin-top: 40px; gap: 14px; }
  .qz-recent { padding: 20px 18px 8px; border-radius: 18px; }
  .qz-recent-head { align-items: center; }
  .qz-recent-row { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; }
  .qz-recent-mark { width: 34px; height: 34px; border-radius: 9px; }
  .qz-note { padding: 22px 20px; border-radius: 18px; }
  .qz-note h3 { font-size: 18px; }

  .qz-modal-card { padding: 24px 18px; }
  .qz-modal-card h3 { font-size: 20px; }

  .qz-practice-page { padding: 92px 0 56px; }
  .qz-practice-top { align-items: flex-start; gap: 8px; margin-bottom: 14px; }
  .qz-practice-title { gap: 8px; }
  .qz-back { width: 36px; height: 36px; }
  .qz-practice-title h1 {
    font-size: 14px;
    max-width: 46vw;
    line-height: 1.32;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .qz-practice-title span { font-size: 9px; }
  .qz-practice-tools { gap: 7px; }
  .qz-timer { height: 36px; padding: 0 9px; }
  .qz-timer svg { width: 14px; height: 14px; }
  .qz-timer b { font-size: 12px; }
  .qz-card-toggle { height: 36px; padding: 0 10px; font-size: 10.5px; }
  .qz-card-toggle b { font-size: 11px; }

  .qz-question-card { min-height: 0; padding: 20px 16px 18px; border-radius: 18px; }
  .qz-q-head { margin-bottom: 16px; }
  .qz-q-head > div { max-width: 68%; }
  .qz-chapter { max-width: 155px; }
  .qz-question-card h2 { font-size: 18px; line-height: 1.6; }
  .qz-q-tip { font-size: 10px; }
  .qz-options { gap: 9px; margin-top: 16px; }
  .qz-option { padding: 12px 12px; gap: 10px; font-size: 13px; line-height: 1.55; border-radius: 11px; }
  .qz-option-letter { width: 25px; height: 25px; font-size: 11px; border-radius: 7px; }
  .qz-feedback { padding: 15px 13px; margin-top: 16px; }
  .qz-feedback-row { gap: 10px; margin-top: 16px; }
  .qz-companion { flex: 0 0 78px; gap: 6px; }
  .qz-comp-mascot { width: 56px; height: 78px; }
  .qz-comp-bubble { max-width: 112px; padding: 7px 9px; }
  .qz-comp-text { font-size: 10.5px; }
  .qz-result-comp { flex: 0 0 72px; }
  .qz-result-comp img { width: 64px; height: 80px; }
  .qz-feedback-head b { font-size: 12.5px; }
  .qz-feedback > p { font-size: 11.5px; }
  .qz-q-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
  .qz-q-actions #qzPrev { margin-right: 0; }
  .qz-q-actions .qz-btn { min-height: 40px; min-width: 0 !important; width: 100%; font-size: 12px; }
  .qz-q-actions #qzFav { display: none; }
  .qz-q-actions #qzSubmit, .qz-q-actions #qzNext { grid-column: span 1; }

  .qz-answer-card { left: 8px; right: 8px; bottom: 7px; padding: 16px 14px calc(14px + env(safe-area-inset-bottom)); border-radius: 18px; }
  .qz-answer-grid { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .qz-answer-grid button { height: 36px; font-size: 10.5px; border-radius: 8px; }

  .qz-result { padding: 10px; align-items: flex-start; }
  .qz-result-card { max-height: calc(100vh - 20px); padding: 24px 16px 20px; border-radius: 20px; }
  .qz-result-hero { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
  .qz-result-hero h2 { font-size: 22px; }
  .qz-score-ring { width: 110px; height: 110px; align-self: center; flex: 0 0 110px; }
  .qz-score-ring::before { inset: 9px; }
  .qz-score-ring strong { font-size: 27px; }
  .qz-result-stats { grid-template-columns: repeat(2, 1fr); }
  .qz-result-next { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .qz-result-next-info strong { font-size: 15px; }
  .qz-result-next .qz-btn { width: 100%; }
  .qz-result-actions .qz-btn { flex: 1 1 100%; }
  .qz-result-x { top: 10px; right: 10px; }
  .qz-result-stat-hint { margin-top: -14px; }
  .qz-review-head { flex-direction: column; align-items: stretch; gap: 9px; }
  .qz-review-tabs { justify-content: flex-start; }
  .qz-review-sum { gap: 8px; padding: 10px 11px; }
  .qz-review-sum b { font-size: 11.5px; }
  .qz-review-open { font-size: 9.5px; }
  .qz-review-detail { padding: 0 11px 12px; }
  .qz-review-options { grid-template-columns: 1fr; gap: 5px; }
  .qz-review-opt { font-size: 10.5px; }
  .qz-review-nav .qz-btn { font-size: 10.5px; }
}

@media (max-width: 420px) {
  .qz-hero h1 { font-size: 27px; }
  .qz-bank-card h3 { font-size: 17.5px; }
  .qz-quick-grid { grid-template-columns: 1fr; }
  .qz-quick { min-height: 58px; }
  .qz-quick-text small { display: none; }
  .qz-practice-title h1 { max-width: 40vw; }
  .qz-answer-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .qz-body *, .qz-body *::before, .qz-body *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* state helpers */
.qz-modal-open,
.qz-result-open,
.qz-drawer-open { overflow: hidden; }

.qz-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 1600;
  max-width: calc(100% - 32px);
  padding: 11px 18px;
  border-radius: 10px;
  background: rgba(13, 59, 54, .92);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 12px 32px rgba(7, 46, 42, .24);
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.qz-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* 刷题页隐藏全站客服悬浮球，避免遮挡题目与答题卡 */

/* 章节入口锚点提示 */
.qz-chapter-section .qz-label { transition: color .25s ease; }
.qz-chapter-section.is-focus .qz-label { color: #b6712a; }

/* 结果页整章挑战文字链接 */
.qz-result-stat-hint .qz-whole-link { color: #17806f; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-style: dashed; white-space: nowrap; }
.qz-result-stat-hint .qz-whole-link:hover { color: #0f6055; text-decoration-style: solid; }

/* ---------------- 多考试分类 ---------------- */
.qz-kicker i { font-style: normal; font-weight: 800; }
.qz-programs {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  padding: 11px 13px;
  border: 1px solid #dce9e4;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fcfb 0%, #f2f8f5 100%);
  min-width: 0;
}
.qz-programs-kicker {
  flex: none;
  color: var(--qz-primary-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  white-space: nowrap;
}
.qz-program-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1px;
}
.qz-program-tabs::-webkit-scrollbar { display: none; }
.qz-program-tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #d7e6df;
  border-radius: 10px;
  background: #fff;
  color: #335f57;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.qz-program-tab b { font-size: 12.5px; font-weight: 800; line-height: 1; white-space: nowrap; }
.qz-program-tab span { font-size: 10.5px; color: #7b948e; white-space: nowrap; }
.qz-program-tab:hover { border-color: var(--program, #0c645c); transform: translateY(-1px); }
.qz-program-tab.is-active {
  background: var(--program, #0c645c);
  border-color: var(--program, #0c645c);
  color: #fff;
  box-shadow: 0 6px 16px rgba(12, 100, 92, .18);
}
.qz-program-tab.is-active span { color: rgba(255, 255, 255, .72); }
.qz-programs-hint {
  flex: none;
  color: #8aa19b;
  font-size: 11px;
  white-space: nowrap;
}
.qz-program-skeleton {
  flex: none;
  width: 148px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(90deg, #edf4f1 25%, #f7fbf9 50%, #edf4f1 75%);
  background-size: 220% 100%;
  animation: qz-program-shimmer 1.3s infinite;
}
@keyframes qz-program-shimmer { to { background-position: -220% 0; } }

@media (max-width: 1100px) {
  .qz-programs-hint { display: none; }
}

@media (max-width: 640px) {
  .qz-programs {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px;
  }
  .qz-programs-kicker { width: 100%; font-size: 10px; }
  .qz-program-tabs { flex: 0 0 100%; gap: 6px; }
  .qz-program-tab { min-height: 33px; padding: 0 10px; gap: 6px; }
  .qz-program-tab b { font-size: 11.5px; }
  .qz-program-tab span { font-size: 9.5px; }
  .qz-program-skeleton { width: 132px; height: 33px; }
  .qz-programs + .qz-section-head-first { padding-top: 0; }
}

/* 单一科目时，题库卡不要缩在双列左半边 */
.qz-bank-grid.is-single { grid-template-columns: minmax(0, 760px); justify-content: center; }
@media (max-width: 640px) {
  .qz-bank-grid.is-single { grid-template-columns: minmax(0, 1fr); }
  .qz-program-tab { padding: 0 10px; }

  .qz-program-tab span { font-size: 9.5px; }
}

/* 基础巩固入口（难度 1 的送分题单独练） */
.qz-quick--basic {
  grid-column: 1 / -1;
  min-height: 66px;
  background: linear-gradient(180deg, #f8fbfa 0%, #fff 100%);
}
.qz-quick--basic .qz-quick-icon { background: #eef6f4; color: #1f7d70; }
.qz-quick--basic .qz-quick-text b { font-size: 14px; }

/* 备考目标卡片与引导弹窗 */
.qz-goal-card {
  position: relative;
  z-index: 1;
  margin: 16px 0 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
}
.qz-goal-card-head { display: flex; align-items: center; justify-content: space-between; color: rgba(255, 255, 255, .72); font-size: 11px; letter-spacing: .06em; }
#qzGoalEdit { background: transparent; border: 0; color: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
#qzGoalEdit:hover { color: #ffe2b5; }
.qz-goal-badge { padding: 2px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; line-height: 1.6; background: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .86); }
.qz-goal-badge.is-done { background: rgba(79, 195, 173, .28); color: #e6fff8; }
.qz-goal-badge.is-miss { background: rgba(245, 185, 95, .28); color: #ffe9c4; }
.qz-goal-badge.is-late { background: rgba(194, 87, 79, .32); color: #ffdcd9; }
.qz-goal-badge.is-todo { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .66); }
.qz-goal-badge.is-exam { background: rgba(245, 185, 95, .34); color: #fff3d9; }
.qz-goal-badge.is-sprint { background: rgba(240, 145, 76, .30); color: #ffe6d2; }
.qz-goal-badge.is-review { background: rgba(79, 195, 173, .22); color: #dffff8; }
.qz-goal-card h3 { margin: 8px 0 4px; color: #fff; font-size: 16px; line-height: 1.4; }
.qz-goal-card p { margin: 0; color: rgba(255, 255, 255, .62); font-size: 12px; line-height: 1.6; }
.qz-goal-card-bar { height: 6px; margin: 12px 0 8px; border-radius: 99px; background: rgba(255, 255, 255, .16); overflow: hidden; }
#qzGoalCardBar { display: block; width: 0; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #157E70 0%, #5BC4AE 52%, #F2DC9D 100%); transition: width .45s ease; }
.qz-goal-card-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: rgba(255, 255, 255, .66); font-size: 11px; }
.qz-goal-plan { margin: -5px 0 12px !important; color: rgba(255, 255, 255, .58) !important; font-size: 11px !important; line-height: 1.6 !important; }
#qzGoalStart[hidden] { display: none !important; }
.qz-goal-card .qz-btn-primary { width: 100%; background: #fff; color: var(--qz-primary); }
.qz-goal-card .qz-btn-primary:hover { background: var(--qz-soft); }

.qz-goal-modal .qz-modal-card { width: min(680px, 100%); max-height: min(82vh, 760px); overflow-y: auto; }
.qz-goal-sub { margin-bottom: 18px; color: var(--qz-muted); font-size: 13px; line-height: 1.7; }
.qz-goal-step-head { display: flex; align-items: center; gap: 10px; margin: 4px 0 16px; font-weight: 800; color: var(--qz-ink); }
.qz-goal-step-head b { width: 30px; height: 30px; border-radius: 10px; background: var(--qz-soft); color: var(--qz-primary); display: inline-flex; align-items: center; justify-content: center; }
.qz-goal-programs, .qz-goal-banks { display: grid; gap: 10px; }
.qz-goal-bank-label { margin: 14px 0 8px; color: var(--qz-muted); font-size: 12px; }
.qz-goal-banks { margin-top: 0; }
.qz-goal-option { display: flex; flex-direction: column; gap: 3px; padding: 14px; border: 1px solid var(--qz-line); border-radius: 16px; background: #fff; text-align: left; cursor: pointer; transition: .18s ease; }
.qz-goal-option:hover { border-color: rgba(31, 157, 144, .45); box-shadow: var(--qz-shadow-sm); }
.qz-goal-option.is-active { border-color: var(--program, var(--qz-primary)); background: var(--qz-soft-2); box-shadow: 0 6px 18px rgba(12, 100, 92, .10); }
.qz-goal-option b { font-size: 14px; line-height: 1.4; color: var(--qz-ink); }
.qz-goal-option span { color: var(--qz-muted); font-size: 11.5px; line-height: 1.5; }
.qz-goal-field { display: block; margin: 14px 0; }
.qz-goal-field > span { display: block; margin-bottom: 7px; font-weight: 700; font-size: 13px; color: var(--qz-ink); }
.qz-goal-check { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--qz-muted); font-size: 12.5px; }
.qz-goal-field input[type="date"], .qz-goal-field select { width: 100%; min-height: 44px; border: 1px solid var(--qz-line); border-radius: 12px; padding: 0 12px; background: #fff; color: var(--qz-ink); }
.qz-goal-field-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.qz-goal-more { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--qz-line); }
.qz-goal-more-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qz-goal-more-head span { display: flex; align-items: center; gap: 4px; color: var(--qz-ink); font-size: 13px; font-weight: 700; }
.qz-goal-more-head em { font-style: normal; padding: 1px 8px; border: 1px solid rgba(31, 157, 144, .24); border-radius: 99px; background: rgba(31, 157, 144, .1); color: #0c645c; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
.qz-goal-more-toggle { flex: none; padding: 4px 2px; border: 0; background: transparent; color: var(--qz-primary); font-size: 12px; font-weight: 700; cursor: pointer; }
.qz-goal-more-toggle:hover { text-decoration: underline; }
.qz-goal-more-sum { margin-top: 6px; color: var(--qz-muted); font-size: 12px; line-height: 1.6; }
.qz-goal-more .qz-goal-field-row { margin-top: 12px; }
.qz-goal-field-row .qz-goal-field, .qz-goal-more .qz-goal-field { display: block; margin: 0; }
.qz-goal-more .qz-goal-field select { height: 44px; min-height: 44px; padding: 0 36px 0 12px; background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236b7c78' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; background-size: 12px 8px; font-size: 13px; font-weight: 600; cursor: pointer; -webkit-appearance: none; appearance: none; }
.qz-goal-more .qz-goal-field select:focus { outline: 0; border-color: rgba(31, 157, 144, .7); box-shadow: 0 0 0 3px rgba(20, 184, 166, .12); }
/* nice-select 会把原生 select 隐藏并替换成自定义控件，这里补齐宽度与外观 */
.qz-goal-field-row .nice-select, .qz-goal-more .nice-select { width: 100%; height: 44px; min-height: 44px; padding: 0 32px 0 12px; border: 1px solid var(--qz-line); border-radius: 12px; background: #fff; color: var(--qz-ink); font-size: 13px; line-height: 42px; }
.qz-goal-field-row .nice-select .current, .qz-goal-more .nice-select .current { display: block; overflow: hidden; color: var(--qz-ink); font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.qz-goal-field-row .nice-select .list, .qz-goal-more .nice-select .list { width: 100%; border-radius: 12px; box-shadow: 0 10px 26px rgba(12, 100, 92, .12); }
.qz-goal-field-row .nice-select .option, .qz-goal-more .nice-select .option { padding: 0 12px; font-size: 13px; line-height: 38px; min-height: 38px; }
.qz-goal-more .qz-goal-field > span { display: block; margin-bottom: 6px; color: var(--qz-muted); font-size: 12px; font-weight: 600; }
.qz-goal-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qz-goal-chips button { min-height: 38px; padding: 0 14px; border: 1px solid var(--qz-line); border-radius: 99px; background: #fff; color: var(--qz-ink-2); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.qz-goal-chips button.is-active { border-color: var(--qz-primary); background: var(--qz-primary); color: #fff; }

/* 每天刷题量：可手动填写 */
.qz-goal-limit { display: flex; align-items: center; gap: 8px; max-width: 210px; }
.qz-goal-limit input { flex: none; width: 108px; min-width: 0; height: 44px; border: 1px solid var(--qz-line); border-radius: 12px; padding: 0 10px; background: #fff; color: var(--qz-ink); font-size: 16px; font-weight: 800; line-height: 42px; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.qz-goal-limit input::-webkit-outer-spin-button, .qz-goal-limit input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qz-goal-limit input:focus { outline: 0; border-color: rgba(31, 157, 144, .7); box-shadow: 0 0 0 3px rgba(20, 184, 166, .12); }
.qz-goal-limit em { flex: none; font-style: normal; color: var(--qz-muted); font-size: 12.5px; }
.qz-goal-limit + .qz-goal-chips { margin-top: 10px; }
.qz-goal-hint { display: block; margin-top: 8px; color: var(--qz-muted); font-size: 11.5px; line-height: 1.6; }
@media (max-width: 640px) {
  .qz-goal-limit input { height: 40px; line-height: 38px; font-size: 15px; }
}
.qz-goal-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.qz-goal-summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--qz-line); font-size: 13px; }
.qz-goal-summary-row span { color: var(--qz-muted); flex: none; }
.qz-goal-summary-row b { text-align: right; line-height: 1.5; }
.qz-goal-summary-note { margin-top: 12px; color: var(--qz-muted); font-size: 12px; line-height: 1.7; }

@media (min-width: 640px) {
  .qz-goal-programs, .qz-goal-banks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .qz-goal-field-row, .qz-goal-more .qz-goal-field-row { grid-template-columns: 1fr; gap: 10px; }
  .qz-goal-more .qz-goal-field { margin: 0; }
  .qz-goal-actions { position: sticky; bottom: 0; z-index: 2; flex-direction: column-reverse; gap: 8px; margin-top: 16px; padding: 12px 0 2px; background: #fff; }
  .qz-goal-actions .qz-btn { width: 100%; min-height: 42px; }
  .qz-goal-modal .qz-modal-card { padding: 20px 16px 16px; }
}
@media (max-width: 640px) {
  .qz-goal-field { margin: 10px 0; }
  .qz-goal-field > span { margin-bottom: 6px; }
  .qz-goal-field input[type="date"], .qz-goal-field select { min-height: 40px; }
  .qz-goal-field-row .nice-select, .qz-goal-more .nice-select { height: 40px; min-height: 40px; line-height: 38px; }
  .qz-goal-option { padding: 12px; border-radius: 14px; }
  .qz-goal-actions { position: sticky; bottom: 0; z-index: 2; flex-direction: column-reverse; gap: 8px; margin-top: 16px; padding: 12px 0 2px; background: #fff; }
  .qz-goal-actions .qz-btn { width: 100%; min-height: 42px; }
  .qz-goal-modal .qz-modal-card { padding: 20px 16px 16px; }
  .qz-goal-modal .qz-modal-card h3 { font-size: 20px; }
  .qz-goal-sub { margin-bottom: 12px; font-size: 12px; }
  .qz-goal-step-head { margin: 2px 0 12px; }
}

/* ---------------- 社区：求助 / 打卡分享弹窗 ---------------- */
.qz-comm { position: fixed; inset: 0; z-index: 1400; display: none; align-items: center; justify-content: center; padding: 22px; overflow: auto; }
.qz-comm.is-open { display: flex; }
.qz-comm-mask { position: fixed; inset: 0; background: rgba(6, 34, 30, .58); backdrop-filter: blur(5px); }
.qz-comm-card {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 32px 30px 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(4, 28, 25, .34);
  animation: qzPop .26s ease both;
}
.qz-comm-x {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: #f1f7f5; color: #5f7b74; font-size: 19px; line-height: 1; cursor: pointer;
}
.qz-comm-x:hover { background: #e6f2ee; color: var(--qz-primary); }
.qz-comm-eyebrow { color: var(--qz-primary-2); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.qz-comm-card h3 { margin: 5px 0 16px; font-size: 22px; letter-spacing: -.4px; color: var(--qz-ink); }

.qz-comm-snap { border: 1px solid var(--qz-line); border-radius: 16px; background: var(--qz-soft-2); padding: 16px; margin-bottom: 16px; }
.qz-comm-stem { margin: 0 0 12px; font-size: 15px; line-height: 1.7; font-weight: 700; color: var(--qz-ink); }
.qz-comm-opts { display: grid; gap: 8px; margin-bottom: 12px; }
.qz-comm-opt { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid #e2efeb; border-radius: 12px; background: #fff; font-size: 13px; line-height: 1.6; color: #3f5b55; }
.qz-comm-opt i { flex: 0 0 22px; height: 22px; border-radius: 7px; background: var(--qz-soft); color: var(--qz-primary); font-style: normal; font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.qz-comm-opt span { flex: 1; }
.qz-comm-opt em { flex: 0 0 auto; font-style: normal; font-size: 11px; font-weight: 700; color: var(--qz-primary); }
.qz-comm-opt.is-answer { border-color: #94d3c4; background: #edfaf5; }
.qz-comm-opt.is-answer i { background: var(--qz-success); color: #fff; }
.qz-comm-opt.is-miss { border-color: #e8bdb7; background: #fff5f3; }
.qz-comm-opt.is-miss i { background: var(--qz-danger); color: #fff; }
.qz-comm-ans { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 8px; font-size: 12.5px; color: #5f7b74; }
.qz-comm-ans em { color: var(--qz-danger); font-style: normal; font-weight: 700; }
.qz-comm-ans b { color: var(--qz-success); }
.qz-comm-exp { margin: 0; font-size: 12.5px; line-height: 1.7; color: #5f7b74; }
.qz-comm-exp span { display: inline-block; margin-right: 6px; font-weight: 700; color: var(--qz-primary-2); }

.qz-comm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.qz-comm-stat { padding: 13px 14px; border: 1px solid #e2efeb; border-radius: 13px; background: #fbfefd; }
.qz-comm-stat strong { display: block; font-size: 21px; line-height: 1.2; letter-spacing: -.3px; color: var(--qz-ink); }
.qz-comm-stat span { display: block; margin-top: 3px; color: #809892; font-size: 10px; }

.qz-comm-field { display: block; margin: 14px 0; }
.qz-comm-field > span { display: block; margin-bottom: 7px; font-weight: 700; font-size: 13px; color: var(--qz-ink); }
.qz-comm-field textarea {
  width: 100%; min-height: 88px; border: 1px solid var(--qz-line); border-radius: 12px; padding: 11px 12px;
  background: #fff; color: var(--qz-ink); font: inherit; font-size: 13.5px; line-height: 1.7; resize: vertical;
}
.qz-comm-field textarea:focus { outline: 0; border-color: rgba(31, 157, 144, .7); box-shadow: 0 0 0 3px rgba(20, 184, 166, .12); }
.qz-comm-field select {
  width: 100%; height: 42px; border: 1px solid var(--qz-line); border-radius: 12px; padding: 0 12px;
  background: #fff; color: var(--qz-ink); font: inherit; font-size: 13.5px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23647f79' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.qz-comm-field select:focus { outline: 0; border-color: rgba(31, 157, 144, .7); box-shadow: 0 0 0 3px rgba(20, 184, 166, .12); }
.qz-comm-field select:disabled { color: var(--qz-muted); background-color: var(--qz-soft-2); cursor: default; }
.qz-comm-check { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0; font-size: 13px; line-height: 1.6; color: var(--qz-ink-2); cursor: pointer; }
.qz-comm-check input { margin-top: 3px; accent-color: var(--qz-primary); }
.qz-comm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.qz-comm-actions .qz-btn { min-height: 42px; padding: 0 22px; }

@media (max-width: 640px) {
  .qz-comm { padding: 12px; align-items: flex-start; }
  .qz-comm-card { max-height: calc(100vh - 24px); padding: 22px 16px 18px; border-radius: 20px; }
  .qz-comm-card h3 { font-size: 19px; }
  .qz-comm-stats { grid-template-columns: repeat(2, 1fr); }
  .qz-comm-actions { position: sticky; bottom: 0; flex-direction: column-reverse; gap: 8px; padding: 12px 0 2px; background: #fff; }
  .qz-comm-actions .qz-btn { width: 100%; }
}

/* 切换题库：目标卡按钮 + 弹窗 */
.qz-goal-card-head { gap: 8px; }
.qz-goal-card-ops { display: flex; align-items: center; gap: 8px; margin-left: auto; }
#qzGoalSwitch {
  height: 24px; padding: 0 11px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .14);
  color: #fff; font-size: 11.5px; font-weight: 700; font-family: inherit;
  letter-spacing: .02em; cursor: pointer; transition: background .16s, border-color .16s;
}
#qzGoalSwitch:hover { background: rgba(255, 255, 255, .26); border-color: rgba(255, 255, 255, .5); }
#qzGoalSwitch:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(255, 255, 255, .22); }

.qz-switch-card { width: min(560px, 100%); max-height: min(88vh, 820px); overflow-y: auto; }
.qz-switch-sub { margin: 6px 0 4px; color: var(--qz-muted); font-size: 12.5px; line-height: 1.7; }
.qz-switch-row { margin-top: 16px; }
.qz-switch-label { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; color: var(--qz-ink); font-size: 12.5px; font-weight: 700; }
.qz-switch-label em { font-style: normal; font-weight: 400; font-size: 11px; color: var(--qz-muted); }
.qz-switch-programs { display: flex; flex-wrap: wrap; gap: 8px; }
.qz-switch-chip {
  height: 33px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--qz-line); background: #fff; color: var(--qz-ink-2);
  font-size: 12.5px; font-family: inherit; cursor: pointer; transition: all .16s;
}
.qz-switch-chip:hover { border-color: rgba(31, 157, 144, .45); }
.qz-switch-chip.is-active { border-color: var(--qz-primary); background: var(--qz-primary); color: #fff; font-weight: 700; }
.qz-switch-banks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qz-switch-bank {
  min-width: 0; text-align: left; padding: 12px 14px;
  border: 1px solid var(--qz-line); border-radius: 14px; background: #fff;
  font-family: inherit; cursor: pointer; transition: all .16s;
}
.qz-switch-bank:hover { border-color: rgba(31, 157, 144, .45); box-shadow: var(--qz-shadow-sm); }
.qz-switch-bank.is-active { border-color: var(--qz-primary); background: var(--qz-soft-2); box-shadow: 0 6px 18px rgba(12, 100, 92, .1); }
.qz-switch-bank b { display: block; font-size: 13.5px; font-weight: 700; color: var(--qz-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-switch-bank small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--qz-muted); }
.qz-switch-chapters { max-height: 178px; overflow-y: auto; border: 1px solid var(--qz-line); border-radius: 14px; background: #fff; }
.qz-switch-ch {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 11px 14px; border: 0; border-bottom: 1px dashed var(--qz-line);
  background: none; text-align: left; font-family: inherit; cursor: pointer; transition: background .14s;
}
.qz-switch-ch:last-child { border-bottom: 0; }
.qz-switch-ch:hover { background: var(--qz-soft-2); }
.qz-switch-ch span { flex: none; font-family: Georgia, "Times New Roman", serif; font-size: 12px; color: var(--qz-primary); letter-spacing: .04em; }
.qz-switch-ch b { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; color: var(--qz-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-switch-ch em { flex: none; font-style: normal; font-size: 11px; color: var(--qz-muted); }
.qz-switch-chapters::-webkit-scrollbar { width: 6px; }
.qz-switch-chapters::-webkit-scrollbar-track { background: transparent; }
.qz-switch-chapters::-webkit-scrollbar-thumb { background: rgba(12, 100, 92, .18); border-radius: 999px; }
.qz-switch-loading { padding: 14px; font-size: 12px; color: var(--qz-muted); }
.qz-switch-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
@media (max-width: 640px) {
  .qz-goal-card-head { flex-wrap: wrap; gap: 6px 8px; row-gap: 8px; align-items: center; }
  .qz-goal-card-head > span:first-child { flex: 0 1 auto; white-space: nowrap; }
  .qz-goal-badge { flex: 0 0 auto; white-space: nowrap; line-height: 1.6; }
  .qz-goal-card-ops { flex: 0 0 auto; width: 100%; justify-content: flex-end; gap: 6px; }
  #qzGoalSwitch, #qzGoalEdit { flex: 0 0 auto; white-space: nowrap; }
  #qzGoalSwitch { height: 22px; padding: 0 9px; font-size: 11px; }
  .qz-switch-card { width: min(560px, 100%); max-height: min(88vh, 820px); overflow-y: auto; }
  .qz-switch-banks { grid-template-columns: 1fr; }
  .qz-switch-chapters { max-height: 160px; }
  .qz-switch-actions { position: sticky; bottom: 0; background: #fff; padding-top: 10px; }
}

.qz-chapter-tab { padding: 0 8px; }
.qz-chapter-tab b { max-width: 118px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }

.qz-chapter-card.is-jump { box-shadow: 0 0 0 2px var(--qz-primary), 0 14px 30px rgba(12, 100, 92, .14); transition: box-shadow .24s; }

/* 章节条改成两行：标题行 + 满宽章节 chips */
.qz-programs { flex-wrap: wrap; row-gap: 10px; }
.qz-programs-kicker { order: 0; }
.qz-programs-hint { order: 1; margin-left: auto; }
.qz-program-tabs { order: 0; flex: 1 1 auto; flex-wrap: nowrap; overflow-x: auto; gap: 8px; }
.qz-chapter-tab b { max-width: 190px; font-size: 12.5px; }

/* 顶部科目切换按钮（章节条第一行左侧） */
.qz-subject-btn {
  order: 0; flex: none; display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 11px; border-radius: 999px;
  border: 1px solid #cfe3dc; background: #fff; color: #0c645c;
  font-family: inherit; font-size: 11.5px; cursor: pointer;
  transition: border-color .16s, background .16s, box-shadow .16s;
  max-width: 320px;
}
.qz-subject-btn span { flex: none; color: #7b948e; letter-spacing: .06em; }
.qz-subject-btn b { font-size: 12px; font-weight: 800; color: #0c645c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-subject-btn i { flex: none; font-style: normal; font-size: 10px; color: #8fa8a2; }
.qz-subject-btn:hover { border-color: #1f9d90; background: #f2fbf8; box-shadow: 0 4px 12px rgba(12, 100, 92, .1); }
.qz-subject-btn:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(31, 157, 144, .22); }

/* 路径小字条（替代原整宽流程卡） */
.qz-path {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 20px; color: #7f9a93; font-size: 11.5px;
}
.qz-path b {
  flex: none; padding: 2px 7px; border-radius: 6px;
  background: rgba(31, 157, 144, .1); color: #0c645c;
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em;
}
.qz-path span { flex: none; white-space: nowrap; }
.qz-path i { flex: none; font-style: normal; color: #c2d5d0; font-size: 11px; }

/* 顶部方向选择器（一级） */
.qz-dir-btn { max-width: none; }
.qz-dir-btn b { font-size: 12px; letter-spacing: .02em; }
.qz-dir-btn::before { content: "考试科目"; margin-right: 2px; color: #8aa39d; font-weight: 600; font-size: 10.5px; letter-spacing: .08em; }

/* 排版：桌面端顶部条恒单行 + 题库大卡满宽 + 快捷卡 5 列 */
@media (min-width: 641px) {
  .qz-programs { flex-wrap: nowrap; }
  .qz-program-tabs { flex: 1 1 auto; flex-wrap: nowrap; overflow-x: auto; }
}
@media (min-width: 1101px) {
  .qz-quick-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .qz-quick--basic { grid-column: auto; min-height: 76px; }
}
.qz-bank-grid.is-single { grid-template-columns: minmax(0, 1fr); justify-content: stretch; }
.qz-bank-grid.is-single .qz-bank-card p { max-width: 860px; }

@media (min-width: 1101px) {
  .qz-quick { min-height: 88px; padding: 13px 12px 13px 14px; gap: 10px; }
  .qz-quick-text small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
}
.qz-bank-grid.is-single .qz-bank-card { padding: 22px 26px 20px; }

.qz-hero-switch {
  display: flex; width: max-content; align-items: center; gap: 8px;
  height: 34px; padding: 0 13px 0 14px; margin: 0 0 16px;
  border: 1px solid rgba(12, 100, 92, .16); border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px -10px rgba(11, 51, 46, .35);
  color: #0C645C; font-size: 12px; cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}
.qz-hero-switch:hover { border-color: rgba(12, 100, 92, .40); background: #fff; box-shadow: 0 10px 22px -14px rgba(11, 51, 46, .45); transform: translateY(-1px); }
.qz-hero-switch .qz-hs-label { color: #7d9992; font-size: 10.5px; letter-spacing: .06em; }
.qz-hero-switch b { color: #0B332E; font-weight: 700; font-size: 12.5px; }
.qz-hero-switch .qz-hs-knot { width: 1px; height: 11px; background: rgba(12, 100, 92, .18); }
.qz-hero-switch em { color: #5c7d76; font-style: normal; font-size: 11.5px; }
.qz-hero-switch svg { width: 13px; height: 13px; opacity: .55; }
@media (max-width: 640px) {
  .qz-hero-switch { height: 30px; padding: 0 11px; margin-bottom: 14px; gap: 6px; }
  .qz-hero-switch .qz-hs-label { display: none; }
  .qz-hero-switch em { display: none; }
  .qz-hero-switch .qz-hs-knot { display: none; }
}

/* 方案 C：当前单科 + 右侧快捷清单 */
.qz-stage { display: grid; grid-template-columns: minmax(0, 1fr) 392px; gap: 18px; align-items: stretch; }
.qz-stage .qz-bank-grid { grid-template-columns: minmax(0, 1fr); }
.qz-quick-list {
  display: flex; flex-direction: column; min-height: 100%;
  background: #fff; border: 1px solid var(--qz-line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--qz-shadow-sm, 0 10px 24px -22px rgba(11,51,46,.45));
}
.qz-qi {
  flex: 1; display: flex; align-items: center; gap: 12px; min-height: 58px;
  padding: 10px 18px; border: 0; border-bottom: 1px solid #f0f6f4;
  background: none; font: inherit; color: inherit; text-align: left; cursor: pointer;
  transition: background .18s ease;
}
.qz-qi:last-child { border-bottom: 0; }
.qz-qi:hover { background: #f7fcfb; }
.qz-qi-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.qz-qi-icon svg { width: 17px; height: 17px; }
.qz-qi-text { flex: 1; min-width: 0; }
.qz-qi-text b { display: block; font-size: 13.5px; font-weight: 700; color: #0B332E; letter-spacing: -.01em; }
.qz-qi-text small { display: block; font-size: 11px; color: #8aa19b; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-qi-ar { flex: none; color: #bfd2cc; font-size: 15px; font-style: normal; line-height: 1; }
@media (max-width: 1180px) {
  .qz-stage { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 900px) {
  .qz-stage { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .qz-quick-list { border-radius: 16px; }
  .qz-qi { min-height: 54px; padding: 10px 14px; }
}

/* 悬浮快捷笔记 */
.qz-note-dock { position: fixed; right: 24px; bottom: 178px; z-index: 9990; }
.qz-note-fab {
  position: relative; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.5); color: #fff;
  background: linear-gradient(135deg,#0C645C 0%,#1F9D90 58%,#4FC3AD 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 28px rgba(15,118,110,.32), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.qz-note-fab svg { width: 21px; height: 21px; }
.qz-note-fab:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 18px 30px rgba(15,118,110,.36), inset 0 1px 0 rgba(255,255,255,.35); }
.qz-note-plus {
  position: absolute; right: -2px; top: -3px; width: 17px; height: 17px; border-radius: 50%;
  background: #F5B95F; color: #4A2E00; font-size: 11px; font-weight: 700; font-style: normal;
  line-height: 17px; text-align: center; box-shadow: 0 3px 9px rgba(200,140,40,.35);
}
.qz-note-tip {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%) translateX(4px);
  padding: 7px 10px; border: 1px solid #E3EFEC; border-radius: 10px; background: #fff;
  color: #0B332E; font-size: 11.5px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 12px 26px -18px rgba(11,51,46,.5);
  opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
}
.qz-note-fab:hover + .qz-note-tip, .qz-note-fab:focus-visible + .qz-note-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
.qz-note-pop.is-open ~ .qz-note-tip { opacity: 0; }
.qz-note-pop.is-open ~ .qz-note-fab .qz-note-plus { opacity: 0; }
.qz-note-pop {
  position: absolute; right: 0; bottom: 64px; width: 348px;
  background: #fff; border: 1px solid #e3efec; border-radius: 18px;
  box-shadow: 0 26px 60px -28px rgba(11,51,46,.55);
  padding: 16px 16px 14px;
  opacity: 0; transform: translateY(8px) scale(.985); transform-origin: 100% 100%;
  pointer-events: none; transition: opacity .18s ease, transform .18s ease;
}
.qz-note-pop.is-open { opacity: 1; transform: none; pointer-events: auto; }
.qz-np-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.qz-np-title b { display: block; font-size: 13.5px; font-weight: 700; color: #0B332E; letter-spacing: -.01em; }
.qz-np-title span { display: block; font-size: 11px; color: #8aa19b; margin-top: 3px; }
.qz-np-close {
  margin-left: auto; width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer;
  background: #f2f8f6; color: #6d8a83; font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.qz-np-close:hover { background: #e9f4f1; color: #0B332E; }
.qz-note-pop textarea {
  width: 100%; min-height: 104px; max-height: 240px; resize: vertical;
  border: 1px solid #e3efec; border-radius: 12px; padding: 11px 12px;
  font: inherit; font-size: 12.5px; line-height: 1.7; color: #0B332E;
  background: #fbfefd; outline: none; transition: border-color .18s, box-shadow .18s;
}
.qz-note-pop textarea::placeholder { color: #b6c8c3; }
.qz-note-pop textarea:focus { border-color: #9fd8cd; background: #fff; box-shadow: 0 0 0 3px rgba(79,195,173,.15); }
.qz-np-foot { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.qz-np-link { font-size: 11.5px; color: #1F9D90; text-decoration: none; }
.qz-np-link:hover { color: #0C645C; }
.qz-np-count { margin-left: auto; font-size: 11px; color: #a7bcb6; }
.qz-np-save {
  height: 34px; padding: 0 16px; border: 0; border-radius: 9px;
  background: #0C645C; color: #fff; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
  box-shadow: 0 10px 18px -12px rgba(12,100,92,.7);
}
.qz-np-save:disabled { opacity: .6; cursor: default; box-shadow: none; }
@media (max-width: 640px) {
  .qz-note-dock { left: 14px; right: auto; bottom: 78px; }
  .qz-note-fab { width: 42px; height: 42px; }
  .qz-note-fab svg { width: 18px; height: 18px; }
  .qz-note-pop { width: min(88vw, 340px); left: 0; right: auto; }
  .qz-note-tip { display: none; }
}

/* 目标卡空态 */
.qz-goal-empty { padding: 6px 0 2px; }
.qz-goal-empty b { display: block; font-size: 14.5px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.qz-goal-empty span { display: block; font-size: 11.5px; color: #a8cbc3; line-height: 1.6; margin: 7px 0 13px; }
.qz-goal-empty-btn {
  width: 100%; height: 40px; border: 0; border-radius: 11px; cursor: pointer;
  background: #fff; color: #0B332E; font: inherit; font-size: 13px; font-weight: 600;
  box-shadow: 0 10px 20px -14px rgba(0,0,0,.5); transition: transform .16s ease, box-shadow .16s ease;
}
.qz-goal-empty-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 24px -14px rgba(0,0,0,.55); }

/* ===== 备考目标弹窗：与首页 hmw 口径统一 ===== */
.qz-goal-modal .qz-modal-card.qz-gw-card {
  width: min(548px, 100%); max-height: min(86vh, 760px); overflow-y: auto;
  padding: 0; border-radius: 22px;
}
.qz-gw-head { padding: 24px 26px 18px; border-bottom: 1px solid #EAF3EF; position: relative; }
.qz-gw-kicker { display: inline-block; font-size: 10px; letter-spacing: .16em; color: #1F9D90; font-weight: 700; margin-bottom: 8px; }
.qz-gw-head h3 { margin: 0; font-size: 20px; line-height: 1.35; color: #0B332E; letter-spacing: -.01em; }
.qz-gw-sub { margin: 8px 0 0; font-size: 12.5px; line-height: 1.75; color: #5C7671; }
.qz-gw-x {
  position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; border: 0; border-radius: 10px;
  background: #F2F8F5; color: #5C7671; font-size: 19px; line-height: 1; cursor: pointer;
}
.qz-gw-x:hover { background: #E7F4EE; color: #0B332E; }
.qz-gw-body { padding: 20px 26px 22px; }
.qz-gw-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.qz-gw-step-head b { font-family: Georgia, "Times New Roman", serif; font-size: 13px; color: #1F9D90; letter-spacing: .04em; font-weight: 400; }
.qz-gw-step-head span { font-size: 14px; font-weight: 700; color: #0B332E; }
.qz-gw-step-head:after { content: ""; flex: 1; height: 1px; background: #EDF5F1; }
.qz-gw-field { display: block; margin: 0 0 16px; }
.qz-gw-field > span { display: block; font-size: 12px; font-weight: 700; color: #0B332E; margin-bottom: 8px; }
.qz-gw-field small { display: block; margin-top: 8px; font-size: 11.5px; color: #8FA8A2; }
.qz-gw-date-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.qz-gw-date-row input[type="date"] {
  width: 186px; height: 42px; border: 1px solid #D6EAE4; border-radius: 11px; padding: 0 11px;
  font-size: 13px; color: #0B332E; background: #fff; font-family: inherit; outline: 0;
}
.qz-gw-date-row input[type="date"]:focus { border-color: #1F9D90; box-shadow: 0 0 0 4px rgba(31,157,144,.12); }
.qz-gw-date-row input[type="date"]:disabled { background: #F5FAF8; color: #9AB0AB; }
.qz-gw-check { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #5C7671; margin: 0; cursor: pointer; }
.qz-gw-check input { width: 15px; height: 15px; accent-color: #1F9D90; }
.qz-gw-limit-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qz-gw-limit { position: relative; display: inline-block; width: 106px; }
.qz-gw-limit input {
  width: 100%; height: 42px; border: 1px solid #D6EAE4; border-radius: 12px; padding: 0 48px 0 12px;
  font-size: 14px; font-weight: 700; color: #0B332E; background: #fff; font-family: inherit; outline: 0;
  -moz-appearance: textfield; appearance: textfield;
}
.qz-gw-limit input::-webkit-outer-spin-button, .qz-gw-limit input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qz-gw-limit input:focus { border-color: #1F9D90; box-shadow: 0 0 0 4px rgba(31,157,144,.12); }
.qz-gw-limit em { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 11.5px; color: #8FA8A2; }
.qz-goal-modal .qz-goal-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.qz-goal-modal .qz-goal-chips button {
  height: 32px; min-height: 32px; padding: 0 13px; border-radius: 9px; border: 1px solid #E1EEE9;
  background: #fff; color: #5C7671; font-size: 12px; font-weight: 400; cursor: pointer; transition: all .16s;
}
.qz-goal-modal .qz-goal-chips button:hover { border-color: #B9DCD2; color: #0C645C; }
.qz-goal-modal .qz-goal-chips button.is-active { background: #EAF7F2; border-color: #B9DCD2; color: #0C645C; font-weight: 700; }
.qz-gw-more { border-top: 1px dashed #E4F0EB; padding-top: 14px; margin-top: 4px; }
.qz-gw-more-head { display: flex; align-items: center; justify-content: space-between; }
.qz-gw-more-head span { font-size: 12px; font-weight: 700; color: #0B332E; }
.qz-gw-more-head em { font-style: normal; margin-left: 6px; font-size: 10.5px; font-weight: 400; color: #8FA8A2; border: 1px solid #E1EEE9; border-radius: 5px; padding: 1px 5px; }
.qz-gw-more-toggle {
  display: inline-flex; align-items: center; gap: 5px; height: 27px; padding: 0 11px 0 9px;
  border: 1px solid #DCEBE6; border-radius: 8px; background: #fff; color: #0C645C; font-size: 11.5px;
  font-family: inherit; cursor: pointer; transition: background .16s, border-color .16s;
}
.qz-gw-more-toggle:before { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transform-origin: 50% 45%; transition: transform .2s; }
.qz-gw-more-toggle[aria-expanded="true"]:before { transform: rotate(180deg); }
.qz-gw-more-toggle:hover { background: #EFFAF5; border-color: #B9DCD2; }
.qz-gw-more-sum { margin: 8px 0 0; font-size: 11.5px; color: #8FA8A2; }
.qz-gw-body .qz-goal-field-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.qz-gw-body .qz-goal-field-row .qz-gw-field { margin: 0; }
.qz-gw-body .qz-goal-field-row select { width: 100%; height: 40px; min-height: 40px; border: 1px solid #D6EAE4; border-radius: 11px; padding: 0 8px; font-size: 12.5px; color: #0B332E; background: #fff; font-family: inherit; }
.qz-gw-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.qz-gw-btn {
  height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid #E1EEE9; background: #fff;
  color: #5C7671; font-size: 13px; font-family: inherit; cursor: pointer; transition: all .18s;
}
.qz-gw-btn:hover { background: #F5FAF8; color: #0B332E; }
.qz-gw-btn.qz-gw-main {
  min-width: 132px; border: 0; background: linear-gradient(180deg, #F7C674, #F2AF48);
  color: #3D2A08; font-weight: 700; box-shadow: 0 10px 22px -14px rgba(242,175,72,.9);
}
.qz-gw-btn.qz-gw-main:hover { background: linear-gradient(180deg, #F9CE84, #F5B95F); color: #3D2A08; }
@media (max-width: 560px) {
  .qz-gw-head { padding: 20px 18px 14px; }
  .qz-gw-body { padding: 16px 18px 18px; }
  .qz-goal-modal .qz-goal-programs { grid-template-columns: 1fr; }
  .qz-gw-body .qz-goal-field-row { grid-template-columns: 1fr; }
  .qz-gw-actions { position: sticky; bottom: -18px; background: #fff; padding: 12px 0 0; }
}

/* 方向卡 / 科目胶囊：贴近首页 hmw-prog / hmw-bank */
.qz-goal-modal .qz-goal-programs .qz-goal-option {
  padding: 13px 30px 13px 14px; border-radius: 14px; border-color: #E1EEE9; gap: 5px;
}
.qz-goal-modal .qz-goal-programs .qz-goal-option b { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-goal-modal .qz-goal-programs .qz-goal-option span { font-size: 11.5px; color: #6E8781; }
.qz-goal-modal .qz-goal-programs .qz-goal-option.is-active { background: #F1FBF7; border-color: #1F9D90; box-shadow: 0 8px 20px -14px rgba(12,100,92,.5); }
.qz-goal-modal .qz-goal-banks { display: flex; flex-wrap: wrap; gap: 8px; }
.qz-goal-modal .qz-goal-banks .qz-goal-option {
  display: inline-flex; flex-direction: row; align-items: center; width: auto; max-width: 100%;
  height: 36px; padding: 0 14px; border-radius: 10px; border-color: #E1EEE9; gap: 7px;
}
.qz-goal-modal .qz-goal-banks .qz-goal-option b { font-size: 12.5px; font-weight: 400; }
.qz-goal-modal .qz-goal-banks .qz-goal-option span { font-size: 11px; color: #8FA8A2; white-space: nowrap; }
.qz-goal-modal .qz-goal-banks .qz-goal-option[data-goal-bank="0"] span { display: none; }
.qz-goal-modal .qz-goal-banks .qz-goal-option.is-active { background: #0C645C; border-color: #0C645C; box-shadow: none; }
.qz-goal-modal .qz-goal-banks .qz-goal-option.is-active b { color: #F4FBF9; }
.qz-goal-modal .qz-goal-banks .qz-goal-option.is-active span { color: rgba(244,251,249,.72); }

.qz-goal-modal .qz-goal-programs .qz-goal-option { position: relative; overflow: hidden; }
.qz-goal-tick {
  position: absolute; right: 10px; top: 10px; width: 18px; height: 18px; border-radius: 50%;
  background: #1F9D90; color: #fff; font-size: 11px; font-style: normal; line-height: 18px; text-align: center;
}
.qz-goal-modal .qz-goal-summary {
  background: #F6FBF8; border: 1px solid #E4F0EB; border-radius: 14px; padding: 6px 16px;
}
.qz-goal-modal .qz-goal-summary-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed #E4F0EB; font-size: 12.5px; }
.qz-goal-modal .qz-goal-summary-row:last-of-type { border-bottom: 0; }
.qz-goal-modal .qz-goal-summary-row span { color: #6E8781; }
.qz-goal-modal .qz-goal-summary-row b { color: #0B332E; text-align: right; }
.qz-goal-modal .qz-goal-summary-row b.is-warn { color: #B3541E; }
.qz-goal-modal .qz-goal-summary-note { margin: 8px 0 10px; font-size: 11.5px; line-height: 1.7; color: #8FA8A2; }

/* ===== 学习地图（全科）区块 · 接在单科章节区下方 ===== */
.qz-map-section { margin-top: 38px; padding-top: 32px; border-top: 1px solid #E4EFEA; }
.qz-map-section .qz-section-head { margin-bottom: 16px; }
.qz-map-note { font-size: 11.5px; color: #8CA39D; letter-spacing: .2px; }
.qz-map-section .lm-programs { margin: 0 0 18px; }
.qz-map-section .lm-layout { gap: 22px; }
/* 章节详情右栏与上方板块同宽，不再额外预留右侧空白 */
.qz-map-section .lm-side { padding-right: 0; }
@media (max-width: 991px) {
  .qz-map-section { margin-top: 28px; padding-top: 24px; }
  .qz-map-note { display: none; }
}

/* 地图：章节行“看”，以及“这一科就在上面练”折叠条 */
.lm-node-look { margin: 0 6px 0 10px; padding: 3px 9px; border-radius: 99px; background: #F2FAF7; color: #0C645C; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; }
.qz-map-section .lm-node-go, .qz-map-section .lm-node-whole { display: none; }
.lm-selfbar { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 1px dashed #CBE3DA; background: #F7FCFA; border-radius: 14px; padding: 13px 16px; margin-bottom: 12px; cursor: pointer; font: inherit; color: #0B332E; }
.lm-selfbar:hover { border-color: #1F9D90; background: #F2FAF7; }
.lm-selfbar-tag { font-size: 10px; letter-spacing: .1em; color: #0C645C; background: #E5F6F0; border-radius: 6px; padding: 3px 7px; font-weight: 800; white-space: nowrap; }
.lm-selfbar b { font-size: 13.5px; font-weight: 600; }
.lm-selfbar-meta { font-size: 11.5px; color: #7B9991; }
.lm-selfbar-go { margin-left: auto; font-size: 11.5px; color: #0C645C; font-weight: 600; white-space: nowrap; }
@media (max-width: 767px) { .lm-selfbar { flex-wrap: wrap; } .lm-selfbar-go { margin-left: 0; } .lm-node-look { display: none; } }

/* 章节笔记清单（统一到 notes 表后右栏只读展示） */
.qz-map-section .lm-chap-notes{display:grid;gap:6px;margin:2px 0 10px}
.qz-map-section .lm-chap-note{border:1px solid #EDF5F1;background:#FAFDFC;border-radius:10px;padding:8px 10px}
.qz-map-section .lm-chap-note.is-pinned{background:#FFFCF3;border-color:#F3E7CB}
.qz-map-section .lm-chap-note b{display:block;font-size:12px;color:#0B332E;line-height:1.35;margin-bottom:2px}
.qz-map-section .lm-chap-note span{display:block;font-size:11px;color:#7B9991;line-height:1.5}
.qz-map-section .lm-chap-note i{display:block;font-style:normal;font-size:10px;color:#A8BDB7;margin-top:3px}
.qz-map-section .lm-chap-empty{border:1px dashed #DCEBE5;background:#FBFDFC;border-radius:10px;padding:9px 10px;font-size:11.5px;color:#8AA5A0;line-height:1.5}
.qz-map-section .lm-note-tip{display:none}

/* 另一科折叠条（地图以上方所选科目为准） */
.qz-map-section .lm-selfbar.is-other{background:#FBFDFC;border-style:solid;border-color:#E3EEE9}
.qz-map-section .lm-selfbar.is-other b{color:#2C4A44;font-weight:600}
.qz-map-section .lm-selfbar.is-other .lm-selfbar-tag{background:#EFF5F2;color:#5E7C76}

/* 地图头：一行说清“哪科 / 多少章”，不再放方向胶囊 */
.qz-map-section .qz-map-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid #E8F2EE}
.qz-map-section .qz-map-kicker{font-size:12px;letter-spacing:.06em;color:#6F918A;font-weight:700}
.qz-map-section .qz-map-kicker b{color:#0B332E;font-weight:800;letter-spacing:0;margin-left:2px}
.qz-map-section .qz-map-meta{font-size:11.5px;color:#8AA5A0}
.qz-map-section .qz-map-meta b{color:#2C4A44;font-weight:700}
.qz-map-section .qz-map-meta i{font-style:normal;margin:0 6px;color:#C7D8D2}
.qz-map-section .qz-map-head + .lm-layout{margin-top:2px}
@media (max-width:767px){ .qz-map-section .qz-map-head{flex-wrap:wrap;gap:4px} .qz-map-section .qz-map-meta{font-size:11px} }

/* ---------------- 页头吸顶修复 ----------------
   旧逻辑：scroll<100 时 header 是 absolute 跟着页面滚走；>=100 才切 fixed
   并播放 fadeInDown 动画 → 下拉时导航先消失、再突然从上方砸下来盖住内容。
   改为常驻吸顶：位置始终固定，只做背景/阴影的淡入，不再位移。 */
.header2.qz-header{
  position: fixed !important;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 999;
  animation: none !important;
  background: #fff !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 6px 18px rgba(12, 100, 92, .05);
  transition: box-shadow .24s ease, border-color .24s ease;
}
.header2.qz-header.sticky{
  animation: none !important;
}
/* 下拉时导航整体收起，避免盖住正文；上滑或回到顶部再滑出 */
.header2.qz-header{
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .24s ease;
  will-change: transform;
}
.header2.qz-header.is-retract{
  transform: translate3d(0, -102%, 0);
  box-shadow: none;
}
/* 吸顶后内容被抬高 86px，锚点跳转时预留位置 */
.qz-body{ scroll-padding-top: 96px; }

/* ===== 2026-11-29 我的学习 · 首屏快捷入口 ===== */
.qz-hq-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; max-width:640px; }
.qz-hq{ display:inline-flex; align-items:center; gap:8px; padding:9px 14px; border-radius:999px; border:1px solid #d8eae4; background:rgba(255,255,255,.86); color:#1c4c44; font-size:13px; font-weight:600; line-height:1; cursor:pointer; text-decoration:none; transition:border-color .18s, box-shadow .18s, transform .18s, background .18s; }
.qz-hq:hover{ border-color:#1f7d70; background:#fff; box-shadow:0 6px 16px rgba(31,125,112,.14); transform:translateY(-1px); color:#145a50; }
.qz-hq:focus-visible{ outline:2px solid #1f7d70; outline-offset:2px; }
.qz-hq-ico{ display:inline-flex; width:20px; height:20px; color:#1f7d70; }
.qz-hq-ico svg{ width:20px; height:20px; }
.qz-hq-num{ min-width:20px; padding:2px 6px; border-radius:999px; background:#e9f6f2; color:#1f7d70; font-size:11px; font-weight:700; font-variant-numeric:tabular-nums; text-align:center; }
.qz-hq-num.is-zero{ background:#f0f1f4; color:#8a8f9f; }
.qz-hq-num:empty{ display:none; }
.qz-hq-sub{ font-size:11px; font-weight:500; color:#7b8a86; }
@media (max-width: 575px){
  .qz-hq-row{ gap:6px; margin-top:12px; }
  .qz-hq{ padding:8px 11px; font-size:12px; }
}

/* 章节折叠 / 分页 */
.qz-ch-more{grid-column:1/-1;display:flex;justify-content:center;padding:14px 0 2px}
.qz-ch-more button{display:inline-flex;align-items:center;gap:7px;border:1px solid #d8eae4;background:rgba(255,255,255,.92);color:#1c4c44;font-size:13px;font-weight:600;border-radius:999px;padding:10px 22px;cursor:pointer;transition:.2s}
.qz-ch-more button:hover{border-color:#1f7d70;color:#1f7d70;box-shadow:0 6px 18px rgba(31,125,112,.12)}
.qz-ch-more button i{font-style:normal;font-size:11px;color:#8aa19b}
.qz-ch-pager{grid-column:1/-1;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:16px 0 2px}
.qz-ch-pager button{border:1px solid #d8eae4;background:#fff;color:#436b63;font-size:12.5px;border-radius:10px;padding:8px 12px;cursor:pointer;transition:.18s}
.qz-ch-pager button:hover:not(:disabled){border-color:#1f7d70;color:#1f7d70}
.qz-ch-pager button:disabled{opacity:.42;cursor:not-allowed}
.qz-ch-pager .qz-ch-page{min-width:34px;padding:8px 0;font-weight:600}
.qz-ch-pager .qz-ch-page.is-active{background:#1f7d70;border-color:#1f7d70;color:#fff}
.qz-ch-pager .qz-ch-fold{border:0;background:transparent;color:#8aa19b;font-size:12px}
.qz-ch-pager .qz-ch-fold:hover{color:#1f7d70}
.qz-ch-count{font-size:11.5px;color:#9db0ab;margin-left:4px}
@media (max-width:575px){.qz-ch-pager{gap:6px}.qz-ch-count{width:100%;text-align:center;margin:2px 0 0}}

/* ---- 额度卡响应式 ---- */
@media (max-width: 991px) {
  .qz-question-card.is-quota { padding: 26px 22px; min-height: 0; }
  .qe-quota { gap: 24px; }
  .qe-main h3 { font-size: 23px; }
  .qe-main p { max-width: none; }
}
@media (max-width: 640px) {
  .qz-question-card.is-quota { padding: 22px 18px; }
  .qe-quota { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 14px; padding: 0; text-align: center; }
  .qz-question-card.is-quota .qe-main { flex: 0 1 auto; max-width: 100%; }
  .qz-question-card.is-quota { justify-content: center; }
  .qe-main { text-align: center; }
  .qe-kicker { justify-content: center; }
  .qe-main h3 { font-size: 21px; margin: 9px 0 8px; }
  .qe-perks { justify-content: center; gap: 8px 14px; margin: 13px 0 16px; }
  .qe-acts { flex-direction: column; align-items: stretch; gap: 10px; }
  .qe-btn { width: 100%; min-height: 44px; }
  .qe-fine { text-align: center; }
  .qe-ring { width: 96px; height: 96px; }
  .qe-ring b em { font-size: 22px; }
}

/* 额度态：满行、居中、隐藏练习侧工具 */
.qz-question-card.is-quota .qe-main { width: auto; max-width: 470px; }
.qe-ring b small em { display: inline; font-size: 10px; font-weight: 600; letter-spacing: .06em; color: rgba(234, 247, 244, .78); font-family: -apple-system, "PingFang SC", sans-serif; }
.qe-ring b small span { color: rgba(234, 247, 244, .45); }

@media (max-width: 640px) {
  body.qz-quota-view .qz-question-card { min-height: 0 !important; height: auto !important; }
  .qz-question-card.is-quota { justify-content: flex-start; align-items: stretch; }
  .qz-question-empty.is-quota { height: auto; }
  .qz-question-card.is-quota .qe-main { flex: 0 1 auto !important; }
}

@media (min-width: 641px) {
  .qz-question-card.is-quota .qe-main { flex: 0 1 auto !important; width: auto !important; max-width: 470px; }
  .qz-question-card.is-quota .qe-fine { flex: 0 0 100%; }
}

/* ===== 切换题库：科目过多时的折叠 + 搜索（2026-12-05） ===== */
.qz-switch-programs.is-folded { display: block; }
.qz-sw-prog-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.qz-sw-prog-none { font-size: 12.5px; color: var(--qz-muted); }
.qz-sw-prog-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  height: 33px; padding: 0 13px; border-radius: 999px;
  border: 1px dashed rgba(12, 100, 92, .3); background: rgba(31, 157, 144, .06);
  color: var(--qz-primary); font-family: inherit; font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: background .16s, border-color .16s;
}
.qz-sw-prog-toggle:hover { background: rgba(31, 157, 144, .12); border-color: rgba(12, 100, 92, .5); }
.qz-sw-prog-toggle:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(31, 157, 144, .2); }
.qz-sw-prog-toggle i { font-style: normal; font-size: 11px; line-height: 1; color: rgba(12, 100, 92, .55); }

.qz-sw-prog-panel {
  margin-top: 10px; padding: 12px 12px 10px;
  border: 0; border-radius: 16px;
  background: rgba(241, 249, 246, .82);
}
.qz-sw-prog-search {
  display: flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 11px; border-radius: 10px;
  border: 1px solid var(--qz-line); background: #fff;
  transition: border-color .16s, box-shadow .16s;
}
.qz-sw-prog-search:focus-within { border-color: rgba(31, 157, 144, .55); box-shadow: 0 0 0 3px rgba(31, 157, 144, .12); }
.qz-sw-prog-search svg { flex: none; width: 15px; height: 15px; color: #8fa8a2; }
.qz-sw-prog-search input {
  flex: 1; min-width: 0; height: 100%; border: 0 !important; background: transparent !important;
  box-shadow: none !important; padding: 0 !important; border-radius: 0 !important;
  font-family: inherit; font-size: 12.5px; color: var(--qz-ink); outline: 0;
}
.qz-sw-prog-search input::placeholder { color: #9db2ac; }
.qz-sw-prog-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  margin-top: 9px; max-height: 170px; overflow-y: auto; padding-right: 2px;
}
.qz-sw-prog-grid .qz-switch-chip { width: 100%; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-sw-prog-grid .qz-switch-chip[hidden] { display: none !important; }
.qz-sw-prog-empty { padding: 12px 2px 4px; font-size: 12px; color: var(--qz-muted); }
.qz-sw-prog-grid::-webkit-scrollbar { width: 6px; }
.qz-sw-prog-grid::-webkit-scrollbar-thumb { background: rgba(12, 100, 92, .18); border-radius: 999px; }

@media (max-width: 640px) {
  .qz-sw-prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 156px; }
  .qz-sw-prog-toggle { height: 32px; font-size: 12px; }
}

/* 弹窗可滚动时，底部按钮常驻 */
.qz-switch-card .qz-switch-actions {
  position: sticky; bottom: 0; z-index: 2;
  margin-top: 16px; padding: 14px 0 4px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 26%, #fff 100%);
  box-shadow: 0 -10px 16px -14px rgba(12, 100, 92, .28);
}
#swProgSearch {
  border: 0 !important; border-radius: 0 !important; background: transparent !important;
  box-shadow: none !important; padding: 0 !important; height: 100% !important;
  outline: 0 !important; font-size: 12.5px !important; color: var(--qz-ink) !important;
}
#swProgSearch:focus { border: 0 !important; box-shadow: none !important; outline: 0 !important; }
.qz-sw-prog-search:focus-within { box-shadow: none !important; border-color: rgba(31, 157, 144, .6) !important; }
