/* src/components/admin/SpellingHomophoneDetails.css */
.spelling-homophone-details {
  display: grid;
  gap: 18px;
  border: 1px solid #e5d9e7;
  border-radius: 22px;
  padding: 20px;
  background: #fff;
}
.spelling-homophone-details__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.spelling-homophone-details h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  color: #37474f;
}
.spelling-homophone-details__style {
  max-width: 300px;
}
.spelling-homophone-sentence {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 18px;
  border: 1px solid #e7e1e8;
  border-radius: 18px;
  padding: 18px;
  background: #faf8fb;
}
.spelling-homophone-sentence__copy {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}
.spelling-homophone-sentence__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.spelling-homophone-sentence__actions .q-btn {
  font-size: 12px;
}
.spelling-homophone-sentence__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 145px;
  border: 1px dashed #c6b5c9;
  border-radius: 14px;
  background: #fff;
  color: #716678;
  font-size: 13px;
  overflow: hidden;
}
.spelling-homophone-sentence__image img {
  width: 100%;
  height: 170px;
  object-fit: contain;
}
.spelling-homophone-file {
  display: none;
}
.spelling-homophone-details__note {
  color: #716678;
  font-size: 13px;
  margin: 0;
}
@media (max-width: 700px) {
  .spelling-homophone-sentence {
    grid-template-columns: 1fr;
  }
  .spelling-homophone-sentence__image {
    max-width: 280px;
    width: 100%;
  }
  .spelling-homophone-details {
    padding: 14px;
  }
}
