:root { color-scheme: light; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #243a3b; background: #eef4f1; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.card { width: 100%; max-width: 520px; padding: 40px 32px; background: #fff; border: 1px solid #dae6df; border-radius: 24px; box-shadow: 0 12px 40px #18382c0a; }
.eyebrow { color: #427d68; font-size: 13px; letter-spacing: .12em; }
h1 { font-size: 38px; margin: 12px 0; letter-spacing: -.04em; }
.intro, #detail { font-size: 14px; line-height: 1.8; color: #5b6f70; }
.status { margin-top: 32px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
#indicator { width: 10px; height: 10px; border-radius: 50%; background: #a0ada7; }
#indicator[data-state="connected"] { background: #278561; }
#indicator[data-state="waiting"] { background: #d6a344; }
#indicator[data-state="error"] { background: #bf544c; }
#detail { min-height: 50px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
button { font: inherit; font-size: 14px; border: 1px solid #d4dfda; border-radius: 10px; padding: 13px 16px; color: #243a3b; background: #f6f9f7; cursor: pointer; }
button.primary { background: #286c56; border-color: #286c56; color: #fff; }
button:hover:enabled { filter: brightness(.94); }
button:disabled { opacity: .45; cursor: default; }
button:focus-visible { outline: 3px solid #d6a344; outline-offset: 3px; }
#playAudio { margin-top: 16px; }
.note { margin-top: 32px; font-size: 12px; line-height: 1.8; color: #778680; }
input { display: block; width: 100%; margin: 10px 0; padding: 12px; font: inherit; border: 1px solid #d4dfda; border-radius: 10px; }
#loginError { color: #bf544c; }
@media (max-width: 420px) { .card { padding: 28px 22px; } .actions button { width: 100%; } }
