:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f3ed;
  color: #1f2933;
}
* { box-sizing: border-box; }
body { margin: 0; }
.shell { max-width: 1080px; margin: 0 auto; padding: 32px 18px 56px; }
.hero { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
h1 { font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1; margin: 8px 0 14px; letter-spacing: -0.05em; }
h2 { margin: 0 0 10px; }
.subcopy { max-width: 720px; font-size: 1.08rem; color: #52606d; }
.eyebrow { text-transform: uppercase; font-size: .75rem; letter-spacing: .12em; font-weight: 700; color: #8a5a20; margin: 0 0 8px; }
.badge { padding: 10px 14px; border: 1px solid #d7c5a8; border-radius: 999px; background: #fffaf1; color: #6b4a15; white-space: nowrap; font-weight: 700; }
.card { background: #fff; border: 1px solid #e6dfd2; border-radius: 22px; box-shadow: 0 18px 45px rgba(29, 37, 45, .08); padding: 22px; margin-bottom: 18px; }
.controls { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
label { display: grid; gap: 7px; font-weight: 700; color: #354250; }
select, textarea { width: 100%; border: 1px solid #cbd2d9; border-radius: 14px; padding: 13px 14px; font: inherit; background: #fff; color: #1f2933; }
textarea { resize: vertical; line-height: 1.5; }
button { border: none; border-radius: 14px; padding: 14px 18px; font-weight: 800; cursor: pointer; background: #1f2933; color: white; font: inherit; }
button:disabled { opacity: .55; cursor: not-allowed; }
button.secondary { background: #efe7da; color: #354250; }
.status { border-radius: 16px; padding: 14px 16px; margin-bottom: 18px; font-weight: 700; }
.status.error { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.status.info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.hidden { display: none; }
.scenario-block { border-left: 5px solid #a76c20; padding-left: 16px; margin-bottom: 18px; }
.muted { color: #697586; }
.conversation { display: grid; gap: 12px; margin: 20px 0; }
.turn { padding: 15px 16px; border-radius: 16px; line-height: 1.5; white-space: pre-wrap; }
.turn.trainer { background: #f8f1e7; border: 1px solid #ecd7b8; }
.turn.learner { background: #edf4ff; border: 1px solid #cfe1ff; }
.turn strong { display: block; margin-bottom: 6px; }
.composerActions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.notes ul { margin-bottom: 0; }
@media (max-width: 760px) {
  .hero { display: block; }
  .badge { display: inline-block; margin-top: 8px; }
  .controls { grid-template-columns: 1fr; }
}
