:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,Segoe UI,sans-serif;color:#141b2c;background:#f3f5fa;line-height:1.5;font-synthesis:none;--ink: #141b2c;--muted: #526078;--accent: #2b50c5;--soft-blue: #eef2ff;--line: #e4e8f2;--surface: #ffffff}*{box-sizing:border-box}body,h1,h2,h3,p,ol{margin:0}[hidden]{display:none!important}button,input{font:inherit}body{min-height:100svh;background:radial-gradient(ellipse at 72% 0%,#e8eeff,transparent 65%)}main{max-width:1160px;margin-inline:auto;padding:max(46px,env(safe-area-inset-top)) max(32px,env(safe-area-inset-right)) max(32px,env(safe-area-inset-bottom)) max(32px,env(safe-area-inset-left))}.page-header,.brand,.caption-heading,.voice label{display:flex;align-items:center}.page-header{justify-content:space-between;gap:14px;margin-block-end:26px}.brand{gap:16px;min-width:0}.brand img{border-radius:18px;flex:none;box-shadow:0 6px 14px #2a4abe29}h1{font-size:clamp(1.8rem,4.2vw,2.65rem);letter-spacing:-.05em;line-height:1.15}.brand p{margin-block-start:5px;color:var(--muted);font-size:1rem}.network,#session-state{display:inline-flex;gap:6px;align-items:center;padding:6px 10px;border-radius:999px;color:#4b5871;background:#f0f3f9;font-weight:650;font-size:.875rem;white-space:nowrap}.network{background:#fff;box-shadow:0 1px 8px #2737640a}.network:before,#session-state:before{content:"";width:7px;height:7px;border-radius:50%;background:#7e8ba3}.network[data-online=true]:before{background:#258360}.network[data-online=false]:before{background:#a35d22}#session-state[data-mode=active]{background:#e6f5ee;color:#246e51}#session-state[data-mode=active]:before{background:#258360}.workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,310px);grid-template-areas:"captions controls";align-items:start;gap:20px}.control,.captions{border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 12px 34px #2d42740a,0 2px 6px #25355e05}.control{grid-area:controls;display:grid;gap:16px;padding:20px}.captions{grid-area:captions;overflow:hidden;min-height:540px}h2{font-size:1.25rem;line-height:1.25;letter-spacing:-.025em}h3{font-size:.96rem;line-height:1.35}button{min-height:48px;border:1px solid transparent;border-radius:13px;font-weight:700;cursor:pointer}button:disabled{cursor:default}button:focus-visible,input:focus-visible{outline:3px solid #557bff;outline-offset:3px}.record{display:flex;align-items:center;justify-content:center;gap:10px;min-height:53px;background:var(--accent);color:#fff}.record:not(:disabled):hover{background:#2143b0}.record:disabled{background:#e9eefc;color:#4b5e89}.record:is([data-mode=starting],[data-mode=active]){background:#a63038}.record-glyph{width:11px;height:11px;border:2px solid currentColor;border-radius:50%}.record[data-mode=active] .record-glyph{border:0;border-radius:2px;background:currentColor}.secondary{width:100%;margin-block-start:12px;color:#2549af;background:var(--soft-blue)}.secondary:not(:disabled):hover{background:#e0e8ff}.secondary:disabled{background:#eff1f6;color:#536182}.voice{border-block-start:1px solid var(--line);padding-block-start:8px}.voice label{justify-content:space-between;gap:12px;min-height:44px;font-size:.96rem;font-weight:650}.voice input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;width:47px;height:28px;border:0;border-radius:999px;margin:0;flex:none;background:#cfd7e8;cursor:pointer}.voice input:after{content:"";display:block;margin:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #17274440;transition:transform .16s ease}.voice input:checked{background:var(--accent)}.voice input:checked:after{transform:translate(19px)}.voice input:disabled{opacity:.58;cursor:default}.setup{padding:14px;border:1px solid var(--line);border-radius:15px;background:#f9faff}.setup-heading{display:flex;align-items:center;gap:7px}.status-dot{width:8px;height:8px;border-radius:50%;background:#ae7228}[data-status=ready] .status-dot{background:#258360}[data-status=error] .status-dot{background:#a63038}.setup p,.voice p,#notice{color:var(--muted);font-size:.9rem}.setup p{margin-block-start:5px}#notice:empty{display:none}.caption-heading{justify-content:space-between;gap:12px;padding:20px 24px}.languages,.captions li{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.languages{padding:11px 24px;border-block:1px solid var(--line);color:#4b5871;background:#f9faff;font-weight:650;font-size:.875rem}.empty{display:grid;place-content:center;justify-items:center;gap:14px;min-height:300px;padding:24px;color:var(--muted);text-align:center}.wave{display:flex;justify-content:center;align-items:center;gap:4px;width:58px;height:58px;border-radius:17px;background:var(--soft-blue);color:#4c68d1}.wave i{width:3px;height:11px;border-radius:9px;background:currentColor}.wave i:nth-child(2n){height:19px}.wave i:nth-child(3){height:28px}.captions ol{list-style:none;overflow-y:auto;max-height:min(64svh,780px);padding:0 24px}.captions li{border-block-end:1px solid var(--line);padding:16px 0;overflow-wrap:anywhere}.captions li p:nth-child(2){color:#2a3d6d}@media(max-width:675px){main{padding:max(24px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.page-header{margin-block-end:17px}.brand{gap:10px}.brand img{width:45px;height:45px;border-radius:13px}.brand p{font-size:.875rem}.network{font-size:.78rem;padding:5px 8px}.workspace{grid-template-columns:1fr;grid-template-areas:"controls" "captions";gap:13px}.control,.captions{border-radius:19px}.control{padding:15px;gap:12px}.captions{min-height:240px}.caption-heading,.languages,.captions ol{padding-inline:15px}.caption-heading{padding-block:15px}.empty{min-height:156px;padding:16px}.captions li{grid-template-columns:1fr;gap:6px}.captions li p:nth-child(2){padding-inline-start:8px;border-inline-start:2px solid #9cb0ee}}@media(prefers-reduced-motion:reduce){.voice input:after{transition:none}}
