/* Small, explicit history controls; no new navigation layer. */
.fh-wb-card-wrap:has(.fh-tool-history) .fh-wb-card{padding-bottom:58px}
.fh-tool-history{position:absolute;left:18px;bottom:12px;min-height:32px;padding:5px 10px;border:1px solid #d5e2fa;border-radius:6px;background:#f0f5ff;color:#1d4ed8;font:inherit;font-size:12px;touch-action:manipulation}
.fh-tool-history:hover,.fh-tool-recent-item:hover{background:#e7efff}
.fh-tool-recent{margin-top:24px;padding-top:20px;border-top:1px solid #e2e8f0}
.fh-tool-recent h3{font-size:14px;font-weight:600;margin:0 0 12px;color:#334155}
.fh-tool-recent>p{font-size:13px;line-height:1.7;color:#64748b}
.fh-tool-recent-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;margin:6px 0;padding:12px;border:1px solid #dce6f5;border-radius:7px;background:#f8faff;color:#334155;min-height:44px}
.fh-tool-recent-item span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.fh-tool-recent-item small{flex-shrink:0;color:#1d4ed8;font-size:12px}
.fh-tool-all{min-height:40px;color:#1d4ed8;font-size:12px;padding:8px 0;text-align:left}
.fh-history-filter{margin:8px 16px 4px;color:#475569;font-size:12px}
.fh-history-filter>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}
.fh-history-filter span{min-width:0;overflow-wrap:anywhere}
.fh-history-filter button{color:#1d4ed8;min-height:32px;flex-shrink:0;touch-action:manipulation}
.fh-history-filter small{display:block;color:#64748b;margin-top:3px}
.fh-history-no-match p{line-height:1.7;margin:8px 0 0}
.fh-history-filter button:focus-visible{outline:2px solid #2563eb;outline-offset:2px;border-radius:3px}
@media(max-width:767px){.fh-tool-history{min-height:40px;bottom:8px}.fh-history-filter button{min-height:40px}.fh-wb-dialog{overscroll-behavior:contain}}
