.terminal-history-overlay { position:fixed; inset:0; z-index:1000; background:rgba(0,0,0,.65); display:flex; align-items:center; justify-content:center; padding:16px; }
.terminal-history-panel { width:min(960px,100%); height:min(85vh,800px); display:flex; flex-direction:column; gap:10px; padding:16px; background:#161622; color:#ddd; border-radius:10px; }
.terminal-history-panel h3 { margin:0; font-size:16px; }
.terminal-history-panel button { padding:8px 12px; cursor:pointer; }
.terminal-history-panel > div { font-size:13px; }
.terminal-history-panel pre { flex:1; min-height:0; margin:0; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; background:#0a0a14; color:#c0c0c0; padding:10px; font:12px/1.4 monospace; }
