/* SQLTrace history 页专属样式 */
.history-list{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.history-item{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:1px solid var(--line);background:#fff;border-radius:7px;padding:10px 11px;transition:background .15s,border-color .15s,box-shadow .15s}
.history-item:hover:not(:disabled){background:#f4faf8;border-color:#b7dbd1}
.history-item.active{background:#eff8f5;border-color:#9ecdbf;box-shadow:inset 3px 0 0 var(--teal)}
.history-item:disabled{cursor:progress;opacity:.65}
.history-item-icon{flex:0 0 auto;width:24px;height:24px;display:grid;place-items:center;border-radius:6px;background:#eef5f3;color:#3f8a79;font-size:11px}
.history-item-copy{min-width:0;flex:1}
.history-item-copy strong,.history-item-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.history-item-copy strong{font-size:11.5px;font-weight:600;color:#33474e;font-family:var(--mono);letter-spacing:-.2px}
.history-item-copy small{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px;margin-top:3px}
.history-item-kind{flex:0 0 auto;font-style:normal;padding:0 5px;border-radius:8px;background:#eef2f3;color:#5f7278;font-size:9px}
/* 空状态：标题 + 引导文案，比单行灰字更明确下一步该做什么。 */
.history-empty{display:flex;flex-direction:column;gap:5px;padding:26px 14px;text-align:center;color:var(--muted);font-size:11px;line-height:1.7}
.history-empty strong{font-size:12px;color:#4a6369;font-weight:600}
.history-empty span{font-size:10.5px;color:#93a3a7}
