.study-speech {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, #34343f);
  text-align: left;
}
.study-speech h3 {
  margin: 0 0 .75rem;
  font-size: 1rem;
  font-weight: 600;
}
.study-speech-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.study-speech button {
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
  padding: .6rem .85rem;
  font-size: .9rem;
}
.study-speech button:disabled {
  opacity: .5;
  cursor: default;
}
.study-speech-note, .study-speech-status, .study-speech-result {
  margin: .65rem 0 0;
  line-height: 1.5;
  font-size: .85rem;
  overflow-wrap: anywhere;
}
.study-speech-note { opacity: .75; }
.study-speech details { margin-top: .75rem; }
.study-speech summary {
  width: fit-content;
  min-height: 44px;
  padding: .6rem 0;
  cursor: pointer;
  font-size: .9rem;
}
.study-speech-consent {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin: .25rem 0 .75rem;
  font-size: .85rem;
  line-height: 1.5;
}
.study-speech-consent input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: .1rem;
}
.study-speech :focus-visible {
  outline: 2px solid var(--accent, #ec98c7);
  outline-offset: 3px;
}
.study-speech [hidden] { display: none !important; }
