.demo-open { margin-top:20px; padding:8px 12px; border:0; background:var(--black); color:var(--accent); font-size:14px; text-decoration:underline; text-underline-offset:5px; }
.demo-note { font-size:14px; line-height:1.5; margin:20px 0 0; }
.speaker-option { display:flex; gap:14px; align-items:center; cursor:pointer; padding:24px 0 0; font-size:16px; }
.speaker-option input { appearance:none; flex:0 0 24px; width:24px; height:24px; margin:0; border:2px solid var(--accent); background:var(--black); border-radius:0; cursor:pointer; }
.speaker-option input:checked { background:var(--accent); box-shadow:inset 0 0 0 4px var(--black); }
.speaker-option input:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.speaker-option small { display:block; font-size:14px; line-height:1.5; margin-top:5px; }
.secondary { padding:13px 16px; border:1px solid var(--accent); background:var(--black); color:var(--accent); font-size:16px; cursor:pointer; min-height:48px; }
.secondary:hover { background:var(--accent); color:var(--black); }
.quiet { padding:10px 0; border:0; background:var(--black); color:var(--accent); font-size:14px; text-decoration:underline; text-underline-offset:5px; cursor:pointer; }
.panel { width:100%; padding:28px; border:2px solid var(--accent); background:var(--black); }
.panel h2 { margin:0 0 12px; font-size:28px; line-height:1.2; font-weight:550; }
.panel p { line-height:1.6; }
.panel .muted { font-size:14px; overflow-wrap:anywhere; }
.steps { list-style:none; margin:26px 0; padding:0; }
.steps li { display:flex; align-items:center; gap:12px; padding:9px 0; font-size:16px; opacity:.45; }
.steps li::before { content:''; width:8px; height:8px; border:1px solid var(--accent); flex-shrink:0; }
.steps li.active,.steps li.done { opacity:1; }
.steps li.active::before,.steps li.done::before { background:var(--accent); }
.steps li.active::before { animation:step-pulse 1.2s steps(2,end) infinite; }
@keyframes step-pulse { 50% { opacity:.25; } }
@media(prefers-reduced-motion:reduce) { .steps li.active::before { animation:none; } }
.panel-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.panel-actions .pay { flex:1 1 180px; width:auto; }
.panel-actions .secondary { flex:1 1 150px; }
.result-heading { display:flex; align-items:start; justify-content:space-between; gap:20px; }
.result-heading h2 { font-size:32px; }
.flow-mode:not(.result-mode) main { padding-top:32px; padding-bottom:48px; }
.flow-mode .mascot { width:56px; height:49px; margin-bottom:16px; }
.flow-mode h1 { font-size:32px; }
.flow-mode .byline { font-size:16px; margin-top:8px; }
.flow-mode .rate { margin:20px 0 28px; }
.flow-mode .rate strong { font-size:24px; }
.result-mode main { max-width:840px; justify-content:flex-start; padding-top:48px; }
.result-mode .mascot { width:64px; height:56px; margin-bottom:24px; }
.result-mode h1 { font-size:28px; }
.result-mode .byline { font-size:16px; margin-top:8px; }
.result-mode .rate { display:none; }
.result-mode #result { margin-top:32px; }
.result-meta { display:flex; flex-wrap:wrap; gap:8px 18px; margin:0 0 22px; font-size:14px; }
.result-meta span:first-child { flex-basis:100%; overflow-wrap:anywhere; }
.sample-label { border-left:2px solid var(--accent); padding-left:12px; font-size:14px; margin:20px 0; }
.transcript { border-top:1px solid var(--accent); border-bottom:1px solid var(--accent); padding:8px 0; margin-top:22px; }
.transcript p { font-size:17px; line-height:1.75; margin:16px 0; overflow-wrap:anywhere; }
.speaker-label { font-family:Consolas,monospace; font-size:14px; font-weight:bold; }
.action-status { min-height:24px; font-size:14px; margin:14px 0 0; }
.service-footer { flex-wrap:wrap; align-items:center; gap:12px 24px; }
.service-link { color:inherit; font-size:14px; line-height:1.5; padding:10px 0; text-underline-offset:4px; }
.service-link:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.account-open { display:block; align-self:center; margin-top:2px; padding:10px 12px; min-height:44px; background:transparent; }
.account-identity { max-width:100%; margin:2px 0 12px; font-size:13px; line-height:1.5; text-align:center; overflow-wrap:anywhere; }
.mascot-home { display:block; color:inherit; line-height:0; }
.mascot-home .mascot { display:block; }
.mascot-home:focus-visible { outline:2px solid var(--accent); outline-offset:8px; }
.account-email { overflow-wrap:anywhere; font-size:14px; }
.quota-note { margin:16px 0 24px; }
.account-dialog { max-height:calc(100dvh - 32px); overflow-y:auto; }
.account-dialog [hidden] { display:none; }
.account-dialog label { display:block; font-size:16px; margin:18px 0 8px; }
.account-dialog input:not([type=checkbox]) { box-sizing:border-box; width:100%; min-width:0; min-height:48px; border:1px solid var(--accent); background:var(--black); color:var(--accent); padding:12px; font:inherit; font-size:16px; border-radius:0; }
.account-dialog input:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.account-dialog .account-terms { display:flex; align-items:flex-start; gap:10px; font-size:14px; line-height:1.5; }
.account-terms[hidden] { display:none; }
.account-terms input { flex:0 0 20px; width:20px; height:20px; accent-color:var(--accent); }
.account-terms a { color:inherit; text-underline-offset:3px; }
.account-error { font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.account-error:empty { display:none; }
.account-dialog .quiet { display:block; width:100%; }
.account-dialog a.quiet { text-align:center; }
.account-dialog .pay { margin-top:18px; }
dialog { max-width:440px; }
.dialog-actions { display:grid; gap:12px; }
@media(max-width:600px) { .panel { padding:20px 16px; } .result-mode main { padding-top:32px; } .result-heading h2 { font-size:28px; } .result-heading { display:block; } .panel-actions { gap:10px; } .transcript p { font-size:16px; } dialog { padding:24px 20px; } }

.rate { flex-wrap:wrap; justify-content:center; text-align:center; margin-bottom:12px; }
.hero-note { text-align:center; margin-bottom:12px; }
.account-quota { width:100%; text-align:center; font-size:14px; line-height:1.6; margin:0 0 24px; }
.account-open { margin-bottom:8px; }
.upload { margin-top:16px; }
button:disabled { opacity:.5; cursor:wait; }
