/* FLD Live Coaching panel. Tokens from clients/fastlane-drive/brand-board.yaml (locked).
   Dark mode canonical. Narrow Zoom sidebar: design for ~320-400px width. */

:root {
  --bg: #202020;
  --surface: #292929;
  --muted: #383838;
  --border: #3D3D3D;
  --ink: #F7F7F7;
  --ink-soft: #B0B0B0;
  --primary: #F8614E;
  --primary-dark: #D94535;
  --accent: #3D1A16;
  --success: #52B47A;
  --warning: #EBBB52;
  --destructive: #F06B58;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

body { display: flex; flex-direction: column; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  background: rgba(32, 32, 32, 0.9);
  position: sticky;
  top: 0;
}

.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-soft); }
.status .dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--ink-soft); }
.status-live .dot { background: var(--success); }
.status-live { color: var(--success); }
.status-warn .dot { background: var(--warning); }
.status-warn { color: var(--warning); }
.status-off .dot { background: var(--destructive); }

main { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 16px; overflow-y: auto; }

.cue {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cue-active { border-color: rgba(248, 97, 78, 0.3); box-shadow: 0 8px 32px -12px rgba(248, 97, 78, 0.2); }

.idle-line { color: var(--ink-soft); font-size: 13px; text-align: center; }

.cue-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 8px; }

.technique {
  font-family: 'Staatliches', 'Bebas Neue', Impact, sans-serif;
  font-size: 18px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--primary);
}

.source { font-size: 11px; color: var(--ink-soft); white-space: nowrap; }

#cue-headline { font-size: 15px; font-weight: 600; margin-bottom: 10px; }

#cue-script {
  border-left: 2px solid var(--border);
  padding: 4px 0 4px 12px;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 10px;
}

.nudge { font-size: 12px; font-style: italic; color: var(--ink-soft); }

.history h3 { margin-bottom: 8px; }
#history-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
#history-list li {
  background: var(--muted);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--ink-soft);
}
#history-list li strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
}

@keyframes cue-in {
  from { transform: translateY(6px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cue-enter { animation: cue-in 180ms ease-out; }
