:root{color-scheme:light;--ink:#17353b;--muted:#51686c;--accent:#12786b;--mist:#edf4f3;--line:#d4e0df;--warning:#95511a;--error:#a62a36}
*{box-sizing:border-box}body{margin:0;background:#f8fbfa;color:var(--ink);font-family:"Segoe UI",Tahoma,sans-serif;font-size:16px;line-height:1.55}button,input,textarea{font:inherit}button{cursor:pointer;border:0;transition:background .15s}button:disabled{cursor:not-allowed;opacity:.46}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,.file-button:focus-within{outline:3px solid #37a99b;outline-offset:4px}button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}
.masthead{max-width:1200px;margin:auto;padding:26px 34px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;align-items:center;color:var(--ink);text-decoration:none;font-size:19px}.brand strong{font-weight:600}.brand-mark{background:var(--accent);color:white;font-family:Georgia,serif;font-weight:bold;font-size:34px;line-height:1;width:42px;height:42px;text-align:center;border-radius:12px 12px 12px 2px}.privacy-badge{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--accent);font-weight:600}.privacy-badge span{width:7px;height:7px;border-radius:50%;background:var(--accent)}main{max-width:1200px;margin:auto;padding:36px 34px 24px}.intro{display:flex;align-items:center;justify-content:space-between;gap:45px;margin-bottom:30px}.intro h1{font-size:42px;font-weight:650;letter-spacing:-1.5px;line-height:1.16;margin:0}.intro p{max-width:430px;margin:0;color:var(--muted);font-size:17px}
.recorder{background:var(--mist);border:1px solid var(--line);border-radius:16px;padding:22px 24px;margin-bottom:32px}.engine-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.engine-row p{margin:4px 0 0;font-size:13px;color:var(--muted)}.engine-row strong{font-weight:650}.capture-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.primary,.secondary,.stop{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 18px;border-radius:8px;font-weight:600;line-height:1.35}.primary{background:var(--accent);color:white}.primary:not(:disabled):hover{background:#0d6258}.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.secondary:not(:disabled):hover{background:#f4f8f7}.stop{background:white;color:var(--error);border:1px solid #e3c4c8}.stop span{width:10px;height:10px;background:currentColor;border-radius:2px}.level-wrap{display:flex;align-items:center;gap:9px;margin-left:auto}.level-wrap label{font-size:13px;color:var(--muted)}meter{width:88px;height:10px}meter::-webkit-meter-bar{background:#d6e2e0;border:0;border-radius:5px}meter::-webkit-meter-optimum-value{background:var(--accent)}.elapsed{font-variant-numeric:tabular-nums;font-size:15px;min-width:46px}.recorder-foot{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;font-size:13px;color:var(--muted)}.file-button{font-weight:600;color:var(--accent);cursor:pointer;text-decoration:underline;white-space:nowrap}.file-button:has(input:disabled){opacity:.5;cursor:not-allowed}.file-button input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.error{color:var(--error);margin:14px 0 0;font-size:14px}.recorder #retry{margin-top:12px}.workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:28px;align-items:start}.section-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:15px}.section-heading h2{font-size:21px;font-weight:650;margin:0}.section-heading p{font-size:13px;color:var(--muted);margin:5px 0 0}#word-count{font-size:12px;color:var(--muted);white-space:nowrap;padding-top:8px}textarea{display:block;width:100%;min-height:335px;resize:vertical;border:1px solid var(--line);border-radius:10px;padding:20px;background:white;color:var(--ink);font-family:Georgia,"Times New Roman",serif;font-size:19px;line-height:1.75;overflow-wrap:anywhere}textarea::placeholder{color:#829491;font-size:17px}.editor-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:13px}.small{padding:9px 14px;font-size:14px}.text-button{background:none;padding:8px 0;color:var(--muted);font-size:13px;text-decoration:underline}.editor-actions .text-button{margin-left:auto}.original{padding-left:26px;border-left:1px solid var(--line)}.segments{height:335px;overflow:auto;padding-right:8px;overflow-wrap:anywhere}.empty{margin:0;padding:18px 0;color:#718784;font-size:15px;max-width:31ch}.segment{padding:0 0 17px;margin-bottom:17px;border-bottom:1px solid var(--line)}.segment header{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px}.segment p{margin:6px 0 0;font-size:15px;white-space:pre-wrap}.segment.failed{color:var(--error)}.safety{margin-top:28px;padding:16px 19px;border-left:3px solid #b87a38;background:#fbf5ec;border-radius:0 8px 8px 0;color:var(--warning);font-size:13px}.safety p{margin:4px 0 0;max-width:100ch}footer{margin-top:19px;color:var(--muted);font-size:11px;max-width:105ch}footer p{margin:5px 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
@media(max-width:760px){.masthead{padding:20px;flex-wrap:wrap;gap:12px}.privacy-badge{font-size:11px}main{padding:26px 20px}.intro{display:block}.intro h1{font-size:36px}.intro p{font-size:15px;max-width:46ch;margin-top:17px}.recorder{padding:18px}.engine-row{align-items:start;flex-direction:column;gap:12px}.engine-row button{font-size:14px}.primary,.stop{font-size:14px;padding:11px 14px}.level-wrap{margin-left:0}.recorder-foot{align-items:start;flex-direction:column;gap:10px}.workspace{grid-template-columns:minmax(0,1fr);gap:30px}.original{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}.segments{height:240px}textarea{min-height:300px}.intro{margin-bottom:24px}.recorder{margin-bottom:24px}.brand{font-size:17px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
.demo-strip{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:32px;margin:-4px 0 32px;padding:22px 0;border-bottom:1px solid var(--line)}.demo-copy h2,.offline-strip h2{font-size:20px;font-weight:650;margin:0}.demo-copy p,.offline-strip p{font-size:13px;color:var(--muted);margin:5px 0 0;max-width:65ch}.demo-copy blockquote{margin:12px 0 0;font-family:Georgia,serif;font-size:17px;color:var(--ink);line-height:1.6}.demo-controls{display:flex;flex-direction:column;gap:10px;align-items:stretch}.demo-controls audio{width:100%;height:38px}.demo-controls button{font-size:14px}.direct-link{font-size:12px;text-align:center;color:var(--accent)}.offline-strip{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:28px 0 20px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}a.download{font-size:14px;text-decoration:none;white-space:nowrap}footer nav{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:12px}footer a{color:var(--accent)}.file-button{position:relative}
@media(max-width:760px){.demo-strip{grid-template-columns:minmax(0,1fr);gap:18px;margin-bottom:24px}.demo-controls{max-width:360px}.offline-strip{align-items:start;flex-direction:column;gap:16px}.demo-copy blockquote{font-size:16px}a.download{white-space:normal;text-align:center}}
.text-lab{padding:22px 24px;margin-bottom:32px;border:1px solid var(--line);border-radius:16px;background:white}.text-lab label{display:block;font-size:13px;font-weight:600;margin:14px 0 6px}.text-lab select{font:inherit;color:var(--ink);background:var(--mist);border:1px solid var(--line);border-radius:8px;padding:12px;width:100%;max-width:100%;min-width:0}.text-lab select:focus-visible{outline:3px solid #37a99b;outline-offset:4px}.text-lab .section-heading{margin-bottom:12px}.model-source{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.model-source a{color:var(--accent)}.lab-warning{font-size:13px;padding:12px 14px;border-left:3px solid var(--warning);background:#fff8ec;color:var(--warning)}.text-lab textarea{width:100%;min-height:105px;resize:vertical}.text-answer{padding:14px 16px;border:1px dashed var(--line);border-radius:8px;font-size:14px}.text-answer p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;min-height:24px}.text-lab [hidden]{display:none}@media(max-width:760px){.text-lab{padding:18px}.text-lab select{font-size:13px}.text-lab .editor-actions{flex-wrap:wrap}}
