/* Caption and undo controls only; preserve the existing workbench styling. */
.edit-history-actions{display:flex;align-items:center;gap:6px;flex:none}
#undoEdit:not(:disabled),#redoEdit:not(:disabled){border-color:#5296ae;color:#a9eff7}
.settings #captionText{display:block;width:100%;min-height:76px;resize:vertical;border:1px solid #355773;background:#081a2b;color:#eef8ff;border-radius:7px;padding:9px;margin-top:5px;font:inherit;line-height:1.5}
.settings #captionText:focus{outline:2px solid #66dce8;outline-offset:1px}
#panel-caption .tool-cluster{min-width:0}
@media(min-width:801px){.workbench .tool-tabs{grid-template-columns:repeat(8,minmax(0,1fr))}.workbench .tool-tab strong{font-size:clamp(9px,1vw,12px);white-space:normal;text-align:center;line-height:1.2}.workbench .tool-tab small{letter-spacing:.2px}}
@media(max-width:800px){#panel-caption .tool-grid{grid-template-columns:1fr}#panel-caption .tool-cluster{grid-column:1/-1}}

@media(max-width:800px){.edit-history-actions{gap:4px}.edit-history-actions .small{white-space:nowrap;padding-inline:7px}}
