.review-container {
  width: 100%;
}

.review-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0 0 0.3rem;
}

.review-subtitle {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 660px;
  margin-bottom: 1.2rem;
}

.review-error {
  color: var(--red);
  font-size: 0.9rem;
  background: rgba(183, 91, 77, 0.08);
  border: 1px solid rgba(183, 91, 77, 0.2);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

.review-select-panel {
  background: rgba(255, 250, 239, .68);
  border: 1px solid rgba(104, 69, 22, .13);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 18px 48px rgba(86, 57, 17, .09);
  backdrop-filter: blur(16px);
  text-align: left;
}

.review-state {
  color: var(--muted);
  font-size: 0.95rem;
}

.review-subjects {
  display: grid;
  gap: 1rem;
}

.review-subject-section {
  border: 1px solid rgba(82, 54, 17, .10);
  background: rgba(255,255,255,.45);
  border-radius: var(--radius-md);
  padding: 0.9rem;
}

.review-subject-section h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  font-family: Georgia, serif;
  color: var(--ink);
}

.review-library-list {
  display: grid;
  gap: 0.6rem;
}

.review-library-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  border: 1px solid rgba(82, 54, 17, .10);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.7rem;
  cursor: pointer;
  background: rgba(255,255,255,.48);
}

.review-library-item input[type="checkbox"] {
  margin-top: 0.15rem;
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.review-library-texts {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.review-library-texts strong {
  font-size: 0.95rem;
  color: var(--ink);
}

.review-library-texts span {
  color: var(--muted);
  font-size: 0.84rem;
}

.review-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .review-actions {
    justify-content: stretch;
  }
}
