/* ═══════════════════════════════════════════════════════════
   VERBATIM — Practice Session  ·  Minimalist Modern
═══════════════════════════════════════════════════════════ */

/* ── Pre-session screen ── */
.pre-session {
  max-width: 680px; margin: 0 auto;
}

.ps-scenario-brief {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: var(--space-6);
  box-shadow: var(--shadow-sm); margin-bottom: var(--space-5);
  position: relative; overflow: hidden;
}
.ps-scenario-brief::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-accent);
}
.ps-brief-eyebrow {
  font-size: 10px; font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold);
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: var(--radius-full); padding: 4px 12px;
  display: inline-block; margin-bottom: var(--space-3);
}
.ps-brief-title {
  font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--text-primary); margin-bottom: var(--space-3); line-height: 1.25;
}
.ps-brief-context {
  font-size: 15px; color: var(--text-secondary); line-height: 1.65;
  margin-bottom: var(--space-5);
}
.ps-brief-meta {
  display: flex; flex-wrap: wrap; gap: var(--space-3);
}
.ps-brief-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-family: var(--font-mono); color: var(--text-muted);
  background: var(--surface-raised); border-radius: var(--radius-md);
  padding: 5px 10px;
}
.ps-brief-meta-item span:first-child { font-size: 14px; }

/* ── Stakeholder card ── */
.ps-stakeholder-card {
  background: var(--white); border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6); margin-bottom: var(--space-5);
  display: flex; align-items: center; gap: var(--space-4);
  position: relative; overflow: hidden;
}
.ps-stakeholder-card::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,82,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px; pointer-events: none;
}
.ps-stakeholder-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold-dim); border: 2px solid var(--gold-border);
  display: flex; align-items: center;
  justify-content: center; font-size: 22px; flex-shrink: 0;
  box-shadow: 0 0 24px rgba(0,82,255,0.1); position: relative; z-index: 1;
}
.ps-stakeholder-info { position: relative; z-index: 1; }
.ps-stakeholder-label {
  font-size: 10px; font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 4px;
}
.ps-stakeholder-name {
  font-family: var(--font-display); font-size: 18px; color: var(--text-primary); margin-bottom: 2px;
}
.ps-stakeholder-role { font-size: 13px; color: var(--text-secondary); }

/* ── Grounding ritual ── */
.ps-grounding {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-5); box-shadow: var(--shadow-sm);
}
.ps-grounding-title {
  font-size: 13px; font-weight: 700; color: var(--text-primary);
  margin-bottom: var(--space-4); display: flex; align-items: center; gap: var(--space-2);
}
.ps-grounding-steps {
  display: flex; flex-direction: column; gap: var(--space-3);
}
.ps-grounding-step {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg);
  background: var(--surface-raised); border: 1px solid transparent;
  transition: all 0.2s; cursor: default;
}
.ps-grounding-step.done {
  background: var(--gold-dim); border-color: var(--gold-border);
}
.ps-grounding-step-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--text-muted); flex-shrink: 0;
  transition: all 0.2s;
}
.ps-grounding-step.done .ps-grounding-step-num {
  background: var(--gold); color: #FFFFFF;
}
.ps-grounding-step-text { font-size: 14px; color: var(--text-secondary); }
.ps-grounding-step.done .ps-grounding-step-text { color: var(--text-primary); }

/* ── Intention input ── */
.ps-intention {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-6); box-shadow: var(--shadow-sm);
}
.ps-intention label {
  display: block; font-size: 13px; font-weight: 600; color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.ps-intention-sub {
  font-size: 13px; color: var(--text-secondary); margin-bottom: var(--space-3);
}
.ps-intention textarea {
  width: 100%; box-sizing: border-box;
  background: var(--surface-raised); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4);
  font-size: 14px; font-family: var(--font-body); color: var(--text-primary);
  resize: none; transition: border-color 0.15s; line-height: 1.6;
}
.ps-intention textarea:focus { outline: none; border-color: var(--gold-border); }
.ps-intention textarea::placeholder { color: var(--text-muted); }

.ps-start-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: var(--space-3);
}
.ps-difficulty-note {
  font-size: 12px; font-family: var(--font-mono); color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   Live session
═══════════════════════════════════════════════════════════ */
.live-session {
  display: flex; flex-direction: column; gap: var(--space-4); height: 100%;
}

/* Top bar */
.live-topbar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: var(--space-3) var(--space-5);
  box-shadow: var(--shadow-sm);
}
.live-scenario-label {
  font-size: 13px; font-weight: 600; color: var(--text-primary);
}
.live-scenario-cat {
  font-size: 11px; font-family: var(--font-mono); color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.live-timer {
  font-family: var(--font-mono); font-size: 24px; font-weight: 600;
  color: var(--text-primary); letter-spacing: 0.05em;
}
.live-timer.warning { color: #DC2626; animation: timer-pulse 1s ease-in-out infinite; }
@keyframes timer-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.live-status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  animation: live-blink 1.5s ease-in-out infinite; flex-shrink: 0;
}
@keyframes live-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.live-status-label {
  font-size: 12px; font-family: var(--font-mono); color: var(--success); font-weight: 600;
}

/* Main live area */
.live-body {
  display: grid; grid-template-columns: 1fr 300px; gap: var(--space-4);
  flex: 1; min-height: 0;
}
@media (max-width: 900px) { .live-body { grid-template-columns: 1fr; } }

/* Stakeholder panel */
.live-stakeholder-panel {
  background: var(--white); border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4);
  position: relative; overflow: hidden;
}
.live-stakeholder-panel::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,82,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px; pointer-events: none;
}
.live-sp-header {
  display: flex; align-items: center; gap: var(--space-3); position: relative; z-index: 1;
}
.live-sp-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-dim); border: 1.5px solid var(--gold-border);
  display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0,82,255,0.1);
}
.live-sp-name { font-family: var(--font-display); font-size: 16px; color: var(--text-primary); }
.live-sp-role { font-size: 12px; color: var(--text-secondary); }

/* Speech bubble */
.live-sp-bubble {
  background: var(--surface-raised); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-4);
  font-size: 14px; color: var(--text-primary); line-height: 1.65;
  position: relative; z-index: 1; flex: 1; min-height: 80px;
}
.live-sp-bubble.typing::after {
  content: '▋'; animation: blink-cursor 0.8s step-end infinite;
  color: var(--gold);
}
@keyframes blink-cursor { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.live-sp-hint {
  font-size: 11px; font-family: var(--font-mono); color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em; text-align: center;
  position: relative; z-index: 1;
}

/* Waveform + controls */
.live-main-panel {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: var(--space-5);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: var(--space-4);
}

.live-waveform-wrap {
  flex: 1; display: flex; align-items: center; justify-content: center;
  background: var(--surface-raised); border-radius: var(--radius-lg);
  padding: var(--space-4); min-height: 100px;
}
.live-waveform {
  display: flex; align-items: center; gap: 4px; height: 64px;
}
.live-wave-bar {
  width: 4px; background: var(--gradient-accent); border-radius: 2px;
  animation: wave-bounce var(--d, 0.8s) ease-in-out infinite alternate;
  transform-origin: bottom;
}
@keyframes wave-bounce { from { transform: scaleY(0.15); } to { transform: scaleY(1); } }
.live-waveform.paused .live-wave-bar { animation: none; transform: scaleY(0.15); }

/* Metrics strip */
.live-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3);
}
@media (max-width: 640px) { .live-metrics { grid-template-columns: repeat(2, 1fr); } }

.live-metric {
  background: var(--surface-raised); border-radius: var(--radius-lg);
  padding: var(--space-3); text-align: center;
}
.live-metric-value {
  font-family: var(--font-mono); font-size: 20px; font-weight: 600;
  color: var(--text-primary); line-height: 1;
}
.live-metric-value.good  { color: var(--success); }
.live-metric-value.warn  { color: var(--warning); }
.live-metric-value.alert { color: var(--error); }
.live-metric-label {
  font-size: 10px; font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted); margin-top: 4px;
}

/* Coaching cue toast */
.live-cue {
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4);
  font-size: 13px; color: var(--gold); display: flex; align-items: center; gap: var(--space-2);
  animation: cue-slide-in 0.3s ease-out;
}
.live-cue-icon { font-size: 15px; flex-shrink: 0; }
@keyframes cue-slide-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Controls */
.live-controls {
  display: flex; align-items: center; justify-content: center; gap: var(--space-3);
}
.live-btn {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: none; cursor: pointer; transition: all 0.15s;
  font-size: 18px;
}
.live-btn-primary {
  background: var(--gold); color: #FFFFFF; box-shadow: var(--shadow-accent);
  width: 56px; height: 56px; font-size: 22px;
}
.live-btn-primary:hover { transform: scale(1.06); box-shadow: 0 12px 40px rgba(0,82,255,0.3); }
.live-btn-ghost {
  background: var(--surface-raised); color: var(--text-muted);
  border: 1px solid var(--border);
}
.live-btn-ghost:hover { border-color: var(--gold-border); color: var(--gold); }
.live-btn-end {
  background: rgba(220,38,38,0.08); color: var(--error);
  border: 1px solid rgba(220,38,38,0.2);
}
.live-btn-end:hover { background: rgba(220,38,38,0.14); }

/* Progress bar */
.live-progress-wrap {
  background: var(--surface-raised); border-radius: var(--radius-full); height: 4px; overflow: hidden;
}
.live-progress-fill {
  height: 100%; background: var(--gradient-accent); border-radius: var(--radius-full);
  transition: width 1s linear;
}

/* ═══════════════════════════════════════════════════════════
   Post-session report
═══════════════════════════════════════════════════════════ */
.post-session {
  max-width: 780px; margin: 0 auto;
}

.post-header {
  text-align: center; margin-bottom: var(--space-8);
}
.post-score-circle {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--gold-dim); border: 3px solid var(--gold);
  display: flex; align-items: center;
  justify-content: center; margin: 0 auto var(--space-4);
  box-shadow: var(--shadow-accent);
}
.post-score-num {
  font-family: var(--font-display); font-size: 36px; color: var(--gold); line-height: 1;
  font-weight: 400;
}
.post-score-label {
  font-size: 12px; font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted); margin-top: 2px;
}
.post-title {
  font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--text-primary); margin-bottom: var(--space-2);
}
.post-subtitle { font-size: 15px; color: var(--text-secondary); }

/* Metric cards */
.post-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3);
  margin-bottom: var(--space-6);
}
@media (max-width: 640px) { .post-metrics { grid-template-columns: repeat(2, 1fr); } }
.post-metric-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: var(--space-4); text-align: center;
  box-shadow: var(--shadow-sm);
}
.post-metric-val {
  font-family: var(--font-display); font-size: 28px; color: var(--text-primary); line-height: 1;
  font-weight: 400;
}
.post-metric-val.up   { color: var(--success); }
.post-metric-val.warn { color: var(--warning); }
.post-metric-label {
  font-size: 11px; font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted); margin-top: 5px;
}
.post-metric-delta {
  font-size: 12px; margin-top: 4px; color: var(--text-muted);
}

/* Coaching cues */
.post-coaching {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-5); box-shadow: var(--shadow-sm);
}
.post-coaching-title {
  font-size: 13px; font-weight: 700; color: var(--text-primary);
  margin-bottom: var(--space-4); display: flex; align-items: center; gap: var(--space-2);
}
.post-cue {
  display: flex; gap: var(--space-4); padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
}
.post-cue:last-child { border-bottom: none; }
.post-cue-icon {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.post-cue-icon.strength { background: var(--success-bg); }
.post-cue-icon.improve  { background: var(--gold-dim); }
.post-cue-icon.watch    { background: rgba(217,119,6,0.08); }
.post-cue-body {}
.post-cue-label {
  font-size: 11px; font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 4px;
}
.post-cue-label.strength { color: var(--success); }
.post-cue-label.improve  { color: var(--gold); }
.post-cue-label.watch    { color: var(--warning); }
.post-cue-text { font-size: 14px; color: var(--text-primary); line-height: 1.55; }
.post-cue-timestamp {
  font-size: 11px; font-family: var(--font-mono); color: var(--text-muted); margin-top: 3px;
}

/* Radar */
.post-radar-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-5); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap;
}
.post-radar-svg { width: 200px; height: 200px; flex-shrink: 0; }

.post-dim-list { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: var(--space-3); }
.post-dim-row {}
.post-dim-name {
  font-size: 12px; font-family: var(--font-mono); color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 5px;
  display: flex; justify-content: space-between;
}
.post-dim-bar-track {
  background: var(--surface-raised); border-radius: var(--radius-full); height: 6px; overflow: hidden;
}
.post-dim-bar-fill {
  height: 100%; background: var(--gradient-accent); border-radius: var(--radius-full);
  transition: width 0.8s ease-out;
}

/* Actions */
.post-actions {
  display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center;
  padding-top: var(--space-2);
}
