.form-history-tools {
    position: fixed;
    z-index: 30;
    display: grid;
    gap: 6px;
    width: 36px;
    transform: translateY(-50%);
}
.form-history-tools[hidden] { display: none !important; }
.form-history-enhanced .form-edge-navigation { display: none; }
.form-history-button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #c5d6df;
    border-radius: 8px;
    background: #fff;
    color: #153e53;
    box-shadow: 0 2px 7px #153e5314;
    font: 700 20px/1 system-ui, sans-serif;
    cursor: pointer;
}
.form-history-button:hover:not(:disabled) { background: #eaf3f8; }
.form-history-button:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.form-history-button:disabled { color: #94a3b8; background: #f8fafc; cursor: default; box-shadow: none; }
.form-history-visible .capture-form-questions,
.form-history-visible .template-questions { box-sizing: border-box; padding-inline: 44px; }
