* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 640px; padding: 0 12px 20px; font-family: sans-serif; font-size: 16px; line-height: 1.5; background: white; color: #111; }
header { position: sticky; top: 0; background: white; border-bottom: 1px solid #aaa; padding: 8px 0; z-index: 1; }
h1 { margin: 0; font-size: 24px; }
header p { margin: 4px 0; }
#status { min-height: 24px; }
button, input, textarea { font: inherit; padding: 8px; }
button { margin: 4px 0; min-height: 44px; }
input, textarea { display: block; width: 100%; }
textarea { resize: vertical; }
#transcript p { white-space: pre-wrap; overflow-wrap: anywhere; border-bottom: 1px solid #ddd; padding: 10px 0; }
#error { color: #a00; white-space: pre-wrap; }
small { display: block; }
[hidden] { display: none !important; }
