/**
 * L14 Page 08 · 语篇工坊 · 被动语块配对
 */
#l14-book .lesson-page {
  display: none;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  gap: 0.35rem;
}
#l14-book .lesson-page.active {
  display: flex;
}

#l14-book .goal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
}
@media (min-width: 640px) {
  #l14-book .goal-grid { grid-template-columns: 1fr 1fr; }
}
#l14-book .goal-card {
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  border: 2px solid #99f6e4;
  background: #f0fdfa;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
}

#l14-book .scene-frame--passage:not(:has(img)) {
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #0f766e;
}

#l14-book .theme-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}
@media (min-width: 520px) {
  #l14-book .theme-grid { grid-template-columns: 1fr 1fr 1fr; }
}
#l14-book .theme-card {
  padding: 0.55rem;
  border-radius: 14px;
  border: 2px solid #cbd5e1;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
#l14-book .theme-card.is-lit {
  border-color: #0d9488;
  background: #ccfbf1;
}
#l14-book .theme-card .theme-tag {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}
#l14-book .theme-card .theme-tag.t1 { background: #fef08a; color: #a16207; }
#l14-book .theme-card .theme-tag.t2 { background: #ede9fe; color: #5b21b6; }
#l14-book .theme-card .theme-tag.t3 { background: #bbf7d0; color: #166534; }

#l14-book .socratic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}
@media (min-width: 640px) {
  #l14-book .socratic-grid { grid-template-columns: 1fr 1fr 1fr; }
}
#l14-book .soc-card {
  padding: 0.55rem;
  border-radius: 14px;
  border: 2px solid #fde68a;
  background: #fffbeb;
}
#l14-book .soc-card .soc-q {
  font-weight: 900;
  font-size: 0.88rem;
  margin: 0 0 0.4rem;
}
#l14-book .soc-card .soc-opts {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
#l14-book .soc-card .soc-opts button {
  padding: 0.35rem 0.5rem;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  background: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
#l14-book .soc-card .soc-opts button.ok {
  border-color: #0d9488;
  background: #ccfbf1;
}
#l14-book .soc-card .soc-opts button.bad {
  border-color: #dc2626;
  background: #fee2e2;
}
#l14-book .soc-card .soc-fb {
  margin-top: 0.35rem;
  font-weight: 800;
  font-size: 0.78rem;
  color: #0f766e;
  min-height: 1.2em;
}

#l14-book .passage-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
#l14-book .passage-panel .passage-text {
  padding: 0.5rem;
  border-radius: 12px;
  border-left: 4px solid #0d9488;
  background: #f0fdfa;
  margin-bottom: 0.4rem;
  flex: 0 0 auto;
  max-height: 38%;
  overflow: auto;
}
#l14-book .passage-panel .match-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0.25rem 0;
}
#l14-book .match-progress {
  font-weight: 800;
  font-size: 0.8rem;
  color: #0f766e;
  margin: 0.25rem 0;
}

#l14-book .panel-quiz-screen {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#l14-book .en-blur {
  filter: blur(6px);
  opacity: 0.35;
  transition: filter 0.35s ease, opacity 0.35s ease;
}
#l14-book .en-blur.is-shown {
  filter: none;
  opacity: 1;
}

#l14-book .trap-card .right-line { display: none; }
#l14-book .trap-card.revealed .right-line { display: block; }
#l14-book .trap-card .wrong-line { color: #b91c1c; font-weight: 900; }
#l14-book .trap-card .right-line { color: #0f766e; font-weight: 900; }

#l14-book .checklist {
  margin: 0.45rem 0;
  padding-left: 1.1rem;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.5;
}
#l14-book .summary-pick label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.32rem 0.5rem;
  margin: 0.15rem;
  border-radius: 999px;
  border: 2px solid #cbd5e1;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
}
#l14-book .summary-pick label:has(input:checked) {
  border-color: #0d9488;
  background: #ccfbf1;
}

#l14-book .mark-passive-chunk {
  color: #0f766e;
  font-weight: 900;
  background: #ccfbf1;
  padding: 0 0.15rem;
  border-radius: 4px;
}
