/* Live view: a presentation surface, not a control panel. One column on a
   phone, summary-first; two columns on a desktop or room screen, with the
   transcript as a quiet sidebar. Colours come from the tokens styles.css
   defines -- this file only lays the room screen out and turns the shared
   theme up to presentation size. */
.live-main{max-width:1200px;margin:auto;padding:18px 16px 40px}
.live-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:6px 2px 16px}
.live-header h1{font-size:1.45rem;margin:.2rem 0 0}
.live-status{display:flex;align-items:center;gap:10px}
.live-clock{font-variant-numeric:tabular-nums;font-weight:750;font-size:1.3rem;color:var(--accent-strong)}

.live-grid{display:grid;gap:14px;grid-template-columns:1fr}
@media (min-width:900px){
  .live-grid{grid-template-columns:1fr 360px;align-items:start}
  .live-header h1{font-size:1.8rem}
  .live-summary{font-size:1.15rem}
}

.live-summary-card{border-left:4px solid var(--accent)}
.live-summary{white-space:pre-wrap;line-height:1.65;font-size:1.02rem;color:var(--text)}
.live-summary.flash{animation:summaryFlash 1.6s ease-out}
@keyframes summaryFlash{0%{background:var(--accent-dim)}100%{background:transparent}}

.live-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:14px 0}
@media (max-width:520px){.live-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.live-stats div{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-s);padding:10px 12px;text-align:center}
.live-stats span{display:block;color:var(--text-3);font-size:.72rem;margin-bottom:2px;letter-spacing:.03em}
.live-stats strong{font-size:1.25rem;font-variant-numeric:tabular-nums}

.insight-board{display:grid;gap:12px;grid-template-columns:1fr}
@media (min-width:700px){.insight-board{grid-template-columns:repeat(3,minmax(0,1fr))}}
.insight-column h3{margin:4px 0 8px;font-size:.9rem;color:var(--text-2)}
.insight-item{background:var(--surface);border:1px solid var(--border);border-radius:11px;padding:10px 12px;margin-bottom:8px;font-size:.92rem;line-height:1.45}
.insight-item small{display:block;color:var(--text-3);margin-top:4px;font-size:.75rem}
/* Same hues the transcript's utterance classes use, so a decision is the
   same colour whether it appears here or in the meeting page. */
.insight-item.decision{border-left:3px solid #60a5fa}
.insight-item.action_item{border-left:3px solid #c084fc}
.insight-item.open_question{border-left:3px solid var(--warn)}
.insight-item.risk{border-left:3px solid var(--danger)}

.live-transcript-card{position:sticky;top:12px}
.live-transcript-details summary{cursor:pointer;list-style:none;display:flex;align-items:center}
.live-transcript-details summary h2{margin:0}
.live-ticker{margin-top:10px;max-height:70vh;overflow:auto;display:flex;flex-direction:column;gap:8px}
@media (max-width:899px){.live-ticker{max-height:40vh}}
.ticker-line{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:8px 11px;font-size:.9rem;line-height:1.45}
.ticker-line.assistant{background:var(--ai-dim);border-color:rgba(139,150,255,.3)}
.ticker-line strong{color:var(--text-2);font-size:.78rem;display:block;margin-bottom:1px}

.live-waiting{text-align:center;padding:48px 20px}
.pulse-dot{width:14px;height:14px;border-radius:50%;background:var(--accent);margin:0 auto 14px;
  box-shadow:0 0 18px rgba(255,98,0,.5);animation:waitPulse 2s infinite}
@keyframes waitPulse{0%,100%{opacity:.35;transform:scale(1)}50%{opacity:1;transform:scale(1.25)}}
.live-footnote{text-align:center;margin-top:18px}

/* The live screen is read-only apart from this: asking for the transcript so
   far. It sits next to the summary because that is what a viewer is waiting
   for, and it needs its own note line -- this page has no toast. */
.live-summary-actions{display:flex;align-items:center;gap:10px}
.live-action{font:inherit;font-weight:650;cursor:pointer;padding:7px 12px;border-radius:10px;
  border:1px solid var(--border);background:var(--surface);color:var(--text)}
.live-action:hover:not(:disabled){background:var(--surface-2);border-color:var(--border-strong)}
.live-action:disabled{opacity:.5;cursor:not-allowed}
.live-note{margin-top:8px}
.live-note.error{color:var(--danger)}
