* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: #f3f4f6; color: #111827; }
.card { width: min(560px, 94vw); background: #fff; border-radius: 14px; padding: 28px;
  box-shadow: 0 6px 24px rgba(0,0,0,.08); }
h1 { margin: 0 0 6px; font-size: 1.4rem; }
.hint { margin: 0 0 18px; color: #6b7280; font-size: .9rem; }
label { display: block; font-size: .85rem; margin-bottom: 4px; color: #374151; }
input, select { width: 100%; margin-bottom: 12px; background: #fff; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 1rem; }
.actions { display: flex; gap: 10px; margin: 18px 0; }
button { flex: 1; padding: 12px; border: 0; border-radius: 8px; font-size: 1rem; cursor: pointer; color: #fff; }
button:disabled { opacity: .45; cursor: not-allowed; }
.primary { background: #2563eb; } .danger { background: #dc2626; }
.status { padding: 8px 12px; border-radius: 8px; font-size: .9rem; margin-bottom: 12px; }
.status.idle { background: #e5e7eb; } .status.live { background: #dcfce7; color: #166534; }
.status.busy { background: #fef9c3; color: #854d0e; } .status.err { background: #fee2e2; color: #991b1b; }
.transcript { height: 260px; overflow-y: auto; border: 1px solid #e5e7eb; border-radius: 8px; padding: 10px; background: #fafafa; }
.line { margin: 0 0 8px; line-height: 1.4; }
.line b { display: inline-block; min-width: 52px; }
.line.user b { color: #2563eb; } .line.bot b { color: #059669; }
