.speech-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px}
.tools-page form label.speech-file{flex-direction:row;align-items:center;width:auto;gap:0;position:relative;overflow:hidden;display:inline-flex;min-height:40px;padding:0 16px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}
.speech-file input{position:absolute;inset:0;opacity:0;cursor:pointer}
.speech-file-name,.speech-note,.speech-status{font-size:13px;line-height:1.7;color:var(--muted)}
.speech-status{min-height:1.4em}
.speech-status.is-error{color:#8d3b32}
#speechPreview{display:block;width:min(100%,420px);margin:8px 0 14px}
.speech-names{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin:12px 0}
.speech-turn{padding:14px 0;border-top:1px solid var(--line)}
.speech-turn header{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap}
.speech-turn strong{font-size:15px}
.speech-time{font-variant-numeric:tabular-nums;color:var(--muted);font-size:13px}
.speech-turn p{margin:6px 0 0;line-height:1.8;text-indent:2em}
#speechDownload{margin-top:8px}
@media(max-width:700px){
  .speech-actions,.speech-actions .secondary-button,.tools-page form label.speech-file{width:100%}
  #speechForm .primary-button,#speechDownload{width:100%}
}
