.grammar-test-redesign .mixed-card {
  min-width: 0;
  gap: 22px;
}

.grammar-test-redesign .mixed-card .word-card__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.grammar-test-redesign .mixed-feedback-trigger {
  margin: 0;
  color: #3978e6;
  background: #edf5ff;
}

.grammar-test-redesign .mixed-feedback-trigger:hover {
  background: #dcecff;
}

.grammar-test-redesign .mixed-correct-tag {
  color: #139573;
  background: #e5f8f1;
}

.grammar-test-redesign .mixed-question {
  gap: 10px;
  padding: 14px 0 4px;
}

.grammar-test-redesign .mixed-question__number {
  color: #3f7bf7;
  font-size: .8rem;
}

.grammar-test-redesign .mixed-question h1 {
  color: #102a56;
  font-size: clamp(1.65rem, 2.8vw, 2.7rem);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.grammar-test-redesign .mixed-options {
  gap: 10px;
}

.grammar-test-redesign .mixed-option {
  align-items: center;
  gap: 13px;
  min-height: 64px;
  padding: 12px 16px;
  border-color: #dce9f7;
  border-radius: 15px;
  color: #153261;
  background: #fbfdff;
  box-shadow: none;
}

.grammar-test-redesign .mixed-option span {
  flex-basis: 34px;
  color: #3f7bf7;
  background: #eaf3ff;
}

.grammar-test-redesign .mixed-option strong {
  color: #153261;
  font-size: .95rem;
}

.grammar-test-redesign .mixed-option:hover,
.grammar-test-redesign .mixed-option.selected {
  border-color: #9bc2ff;
  background: #f0f7ff;
}

.grammar-test-redesign .mixed-option.correct {
  border-color: #85d7bd;
  background: #edfbf5;
}

.grammar-test-redesign .mixed-option.wrong {
  border-color: #f4bbbe;
  background: #fff1f2;
}

.grammar-test-redesign .mixed-answer {
  border-color: #dce9f7;
  background: #f6faff;
}

.grammar-test-redesign .mixed-analysis-item {
  border-color: #e1ebf7;
  background: #fff;
}

.grammar-test-redesign .mixed-analysis-item.correct {
  border-color: #a9dfc9;
  background: #f1fbf6;
}

.grammar-test-redesign .mixed-analysis-item strong {
  color: #2865c8;
}

.grammar-test-redesign .mixed-analysis-item p {
  color: #627b9f;
}

.grammar-test-redesign .word-card__actions {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.grammar-test-redesign .mixed-navigation-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.grammar-test-redesign .mixed-support-actions {
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

.grammar-test-redesign .mixed-navigation-actions .word-action,
.grammar-test-redesign .mixed-support-actions > .word-action {
  min-height: 48px;
  border-radius: 14px;
}

.grammar-test-redesign #revealAnswerButton {
  border: 0;
  color: #286fdc;
  background: #e7f1ff;
  box-shadow: none;
}

.grammar-test-redesign #revealAnswerButton:hover {
  background: #d9eaff;
}

.grammar-test-redesign .mixed-note-trigger,
.grammar-test-redesign .mixed-variant-trigger {
  border-color: #d9e7f6;
  color: #5277ad;
  background: #f7faff;
}

.grammar-test-redesign .mixed-ai-toggle {
  border-color: #cfe1f5;
  color: #3e7be9;
  background: #eaf4ff;
}

.grammar-test-redesign .mixed-variant-panel,
.grammar-test-redesign .mixed-ai-panel {
  min-width: 0;
  margin: 0;
  border-color: #dce9f7;
  border-radius: 18px;
  background: #f6faff;
}

.grammar-test-redesign .mixed-feedback-dialog,
.grammar-test-redesign .mixed-note-dialog {
  border-color: #dce9f7;
  background: #fff;
  box-shadow: 0 24px 70px rgba(42, 83, 141, .2);
}

@media (max-width: 650px) {
  .grammar-test-redesign .mixed-card {
    gap: 16px;
  }

  .grammar-test-redesign .mixed-question {
    padding-top: 4px;
  }

  .grammar-test-redesign .mixed-question h1 {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
  }

  .grammar-test-redesign .mixed-option {
    min-height: 56px;
    padding: 10px 12px;
  }

  .grammar-test-redesign .mixed-option strong {
    font-size: .88rem;
  }

  .grammar-test-redesign .mixed-navigation-actions {
    gap: 7px;
  }

  .grammar-test-redesign .mixed-navigation-actions .word-action,
  .grammar-test-redesign .mixed-support-actions > .word-action {
    min-height: 46px;
  }
}
