:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #0a1726; color: #f4f8fb; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at top right, #164b6e, transparent 45%), #0a1726; }
.shell { width: min(680px, calc(100% - 40px)); padding: 56px 0; }
.eyebrow, .label { color: #75d7c8; font-size: .73rem; font-weight: 800; letter-spacing: .13em; }
h1 { margin: 8px 0; font-size: clamp(3rem, 10vw, 5.5rem); letter-spacing: -.07em; }
.intro { max-width: 510px; color: #c4d3df; font-size: 1.1rem; line-height: 1.6; }
.card, .cost-card, .metrics-card, .transcript { margin-top: 30px; padding: 28px; border: 1px solid #2a4458; border-radius: 20px; background: rgba(9, 28, 44, .72); box-shadow: 0 20px 60px rgba(0, 0, 0, .2); }
.voice-picker { display: grid; gap: 8px; color: #c4d3df; font-size: .88rem; font-weight: 700; }
select { width: min(100%, 300px); border: 1px solid #38576d; border-radius: 10px; padding: 11px 12px; background: #10283b; color: #f4f8fb; font: inherit; }
.status-row { display: flex; align-items: center; gap: 12px; font-weight: 650; }
.voice-picker + .status-row { margin-top: 23px; }
.indicator { width: 11px; height: 11px; border-radius: 99px; background: #6b7c8c; }
.indicator[data-state='connecting'] { background: #f6bd60; animation: pulse 1s infinite; }
.indicator[data-state='connected'] { background: #75d7c8; box-shadow: 0 0 0 7px rgba(117, 215, 200, .12); }
.indicator[data-state='error'] { background: #ff7676; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
button { border: 0; border-radius: 10px; padding: 13px 18px; background: #75d7c8; color: #082032; font: inherit; font-weight: 750; cursor: pointer; }
button[disabled] { opacity: .45; cursor: not-allowed; }
#disconnect { background: #2d4658; color: #fff; }
.hint, .transcript p { color: #aec0cf; font-size: .9rem; line-height: 1.5; }
.cost-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.cost-heading .label { margin: 0; }
.cost-total { margin: 7px 0 0; font-size: 2.1rem; font-weight: 800; letter-spacing: -.05em; }
.cost-session { margin: 0 0 5px; color: #c4d3df; font-size: .9rem; text-align: right; }
.cost-details, .cost-note { color: #aec0cf; font-size: .9rem; line-height: 1.5; }
.cost-details { margin: 20px 0 0; }
.cost-note { margin: 14px 0 0; font-size: .8rem; }
.metrics-card .label { margin-top: 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0 0; }
.metrics-grid div { min-width: 0; }
.metrics-grid dt { color: #aec0cf; font-size: .78rem; }
.metrics-grid dd { margin: 5px 0 0; color: #f4f8fb; font-weight: 750; overflow-wrap: anywhere; }
.metrics-note { margin: 18px 0 0; color: #aec0cf; font-size: .8rem; line-height: 1.5; }
.transcript { min-height: 160px; }
.transcript .label { margin-top: 0; }
.transcript p { margin: 8px 0; }
@keyframes pulse { 50% { opacity: .4; } }
@media (max-width: 480px) { .shell { width: min(100% - 30px, 680px); } .card, .cost-card, .metrics-card, .transcript { padding: 22px; } .cost-heading { align-items: start; flex-direction: column; gap: 4px; } .cost-session { text-align: left; } }
