.history-editable-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;margin-block:4px}
.history-editable-row>.history-row,.history-editable-row>.item{min-width:0;width:100%;margin:0}
.history-title-editor{align-self:center}.history-title-editor .history-rename{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;margin:0}
.history-title-editor:has(form){grid-column:1/-1;width:100%}.history-editable-row:has(form)>.history-row,.history-editable-row:has(form)>.item{display:none}
.history-rename-form,.history-title-label,.history-hit{display:grid;gap:6px;min-width:0}.history-title-label{font-size:.9rem;font-weight:600}
.history-rename-form{padding:8px}.history-title-actions{display:flex;flex-wrap:wrap;gap:8px}.history-title-message:empty{display:none}
.history-hit{margin-block-start:5px;font-size:.9rem;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.history-hit-label{font-size:.77rem;font-weight:650}
.detail-title .history-title-editor{margin-block-start:10px}
.transcript-line.history-matched-passage{box-shadow:inset 3px 0 var(--accent,#578bff);outline:2px solid var(--accent,#578bff);outline-offset:2px}
