/* Shared history uses the containing chat/domain semantic palette. */
.cv2-history-panel { position:absolute; inset:0; z-index:60; background:var(--cv2-history-surface); color:var(--cv2-history-text); display:flex; flex-direction:column; padding:20px; min-height:0; border:1px solid var(--cv2-history-border); border-radius:8px}
.cv2-history-panel[hidden] { display:none}
.cv2-history-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:16px; border-bottom:1px solid var(--cv2-history-border)}
.cv2-history-heading strong {font-size:17px}
.cv2-history-panel button {font:inherit;cursor:pointer;color:inherit;background:transparent;border:0}
.cv2-history-panel button:focus-visible {outline:2px solid var(--cv2-history-text);outline-offset:2px}
.cv2-history-heading button {width:34px;height:34px;flex:none;font-size:24px;border-radius:6px}
.cv2-history-list {flex:1;min-height:0;overflow-y:auto;padding-top:12px}
.cv2-history-row.is-active {background:var(--cv2-history-hover);border-color:var(--cv2-history-border)}
.cv2-history-row:hover{background:var(--cv2-history-hover)}
.cv2-history-panel .cv2-history-clear {margin-top:12px;padding:12px;border-top:1px solid var(--cv2-history-border);font-size:12px;color:var(--cv2-history-muted)}
.cv2-history-empty {text-align:center;padding:40px 12px;font-size:13px;color:var(--cv2-history-muted)}
.cv2-history-status {font-size:12px;line-height:1.5;color:var(--cv2-history-muted)}
.cv2-history-panel button:disabled {opacity:.5;cursor:wait}