/* src/components/admin/SpellingWordMedia.css */
.spelling-word-media {
  border: 1px solid #e8dfe9;
  border-radius: 18px;
  padding: 18px;
  background: #faf7fb;
}
.spelling-word-media h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 14px;
}
.spelling-word-media__grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 22px;
}
.spelling-word-media__image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.spelling-word-media__image img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border: 1px solid #e8dfe9;
  border-radius: 12px;
  background: white;
}
.spelling-word-media__recordings {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
  min-width: 0;
}
.spelling-word-media audio {
  width: 100%;
  max-width: 100%;
}
.spelling-word-media p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.spelling-word-media__benchmark {
  width: 100%;
  border-top: 1px solid #e8dfe9;
  padding-top: 12px;
  display: grid;
  gap: 8px;
}
.spelling-word-media__empty {
  color: #716678;
}
.spelling-word-media__ready {
  color: #2e7d32;
  margin-top: 14px !important;
}
.spelling-word-media-dialog {
  width: 640px;
  max-width: 96vw !important;
  max-height: 94vh !important;
  border: 1px solid white;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.spelling-word-media-dialog > .ninja-dialog-header,
.spelling-word-media-dialog > .q-card__actions {
  flex-shrink: 0;
}
.spelling-word-media-dialog__body {
  overflow-y: auto;
  min-height: 0;
  display: grid;
  gap: 16px;
}
.spelling-word-media__voice {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.spelling-word-media__voice > .q-field {
  flex: 1;
  min-width: 200px;
}
.spelling-word-media__voice > audio {
  width: 100%;
}
@media (max-width: 600px) {
  .spelling-word-media__grid {
    grid-template-columns: 1fr;
  }
  .spelling-word-media__image img {
    max-width: 240px;
  }
  .spelling-word-media {
    padding: 14px;
  }
}
