:root {
  color-scheme: dark;
  --bg: #0d1117;
  --card: #161b22;
  --border: #30363d;
  --text: #e6edf3;
  --muted: #9da7b3;
  --accent: #58a6ff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.app-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.subhead, #status, #session-id, #elapsed {
  color: var(--muted);
}

.controls, .composer-actions, .transcript-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

button {
  background: var(--accent);
  color: #04111f;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}
button[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
}
textarea {
  width: 100%;
  background: #0b0f14;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  resize: vertical;
}

.turns {
  display: grid;
  gap: 12px;
}
.turn {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: #0b0f14;
}
.turn .speaker {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.turn.assistant {
  border-color: #1f6feb66;
}
.turn.human {
  border-color: #2ea04355;
}
.meta {
  color: var(--muted);
  font-size: 13px;
}
