/* Shared event-feed styles for the live room and the record page.
   Depends on the token set (:root variables) defined by each page. */
.ev { max-width: 60rem; font-size: 0.9rem; line-height: 1.5; }
.ev.text { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0.6rem 0.9rem; white-space: pre-wrap; }
.ev.user { background: var(--accent-dim); border: 1px solid var(--accent); border-radius: 8px; padding: 0.6rem 0.9rem; white-space: pre-wrap; }
.ev.user b { color: var(--accent); font-weight: 600; }
.ev.sys { color: var(--ink-2); font-family: var(--mono); font-size: 0.74rem; }
.ev.tool { font-family: var(--mono); font-size: 0.78rem; }
.ev.tool summary { cursor: pointer; color: var(--amber); }
.ev.tool pre { background: var(--surface-2); border-radius: 6px; padding: 0.5rem; overflow-x: auto; margin: 0.3rem 0 0; max-height: 14rem; overflow-y: auto; }
.ev.result { font-family: var(--mono); font-size: 0.72rem; color: var(--accent); }
.ts { color: var(--ink-2); font-family: var(--mono); font-size: 0.68rem; margin-right: 0.5rem; }
