.btn.voice-entry {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto;
  gap: 12px; align-items: center; text-align: start;
  padding: 14px 17px; margin: 12px 0 0; white-space: normal;
}
.voice-entry strong,.voice-entry small,.teacher-voice-row label strong,.voice-accent { display: block; }
.voice-entry small { font-size: .84em; font-weight: 500; margin-top: 3px; }
.voice-settings { padding: clamp(14px,3.5vw,26px); }
#screen-voices [hidden] { display: none !important; }
.voice-settings .voice-current { font-weight: 800; font-size: 1.15rem; margin: 0 0 12px; }
.voice-sample { margin: 0; line-height: 1.5; }
.voice-sample span,.voice-tip,.voice-accent { color: var(--muted); }
.voice-tip,.voice-accent,.voice-used { font-size: .86em; }
.voice-tip { margin: 5px 0 14px; }
#teacherVoiceList { display: grid; gap: 8px; }
.teacher-voice-row {
  display: flex; align-items: center; gap: 6px; padding: 4px 8px 4px 0;
  border: 2px solid var(--line); border-radius: 15px; background: var(--card);
}
.teacher-voice-row.picked { border-color: var(--accent); }
.teacher-voice-row label {
  flex: 1; display: flex; align-items: center; gap: 9px;
  padding: 8px 0 8px 10px; min-height: 48px; min-width: 0; cursor: pointer;
}
.teacher-voice-row input { width: 19px; height: 19px; flex: 0 0 auto; margin: 0; accent-color: var(--accent); }
.teacher-voice-row label strong { font-weight: 800; font-size: 1.1rem; }
.voice-used { font-weight: 700; }
.teacher-voice-row button {
  min-height: 44px; padding: 6px 12px; border-radius: 25px; white-space: nowrap;
  font: inherit; font-weight: 700; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); cursor: pointer;
}
#teacherVoiceAll { display: block; margin: 12px auto 0; }
.voice-choice {
  position: sticky; bottom: calc(78px + env(safe-area-inset-bottom,0px)); z-index: 2;
  padding: 8px 0 3px; background: var(--card); border-radius: 12px;
}
.voice-choice p { margin: 0 0 6px; }
.voice-choice p:empty { display: none; }
.voice-choice .btn { width: 100%; min-height: 46px; }
.voice-choice .btn + .btn { margin-top: 5px; }
.voice-settings button:disabled { opacity: .58; cursor: default; }
.voice-settings :focus-visible,.voice-entry:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 370px) {
  .voice-settings { padding: 11px; }
  .teacher-voice-row button { padding-inline: 9px; }
}
