.caption-tool,.caption-tool label { display:grid; gap:.6rem; }
.caption-tool textarea,.caption-tool input { max-width:100%; min-width:0; box-sizing:border-box; padding:.7rem; color:var(--ink); background:var(--surface); border:1px solid var(--border-soft); }
.caption-tool textarea { font:inherit; resize:vertical; }
.caption-tool a { justify-self:start; padding:.7rem; }

/* Space the page holds for this view until it mounts (see .tool-view-placeholder in _workspace.css).
   Each height is a little under the space the view takes at that width, measured as how far the
   content below moves when the view replaces the placeholder, so nothing below it moves. Re-measure
   after changing the view's layout: node scripts/measure-tool-views.js --apply <id>. */
.tool-view-placeholder[data-tool="srt-to-vtt"] { min-height: 636px; }
