:root{color-scheme:light;--bg:#fafaf8;--surface:#f0f1ed;--ink:#242923;--muted:#596157;--line:#d8ddd4;--blue:#3b82f6;--focus:#245ec8;--error:#a33125;--alert:#fff0e9;--control:#fff;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
html[data-theme=dark]{color-scheme:dark;--bg:#212121;--surface:#292929;--ink:#f2f2ef;--muted:#b4b4ae;--line:#41413e;--focus:#7db4ff;--error:#ffcab9;--alert:#443028;--control:#292929}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:14px;-webkit-font-smoothing:antialiased}[hidden]{display:none!important}main{max-width:1240px;margin:auto;padding:0 40px}button,input,select{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:0 18px;border:1px solid var(--line);border-radius:12px;background:transparent;color:var(--ink);cursor:pointer;transition:background .16s}button:hover:not(:disabled){background:var(--surface)}button:disabled{opacity:.45;cursor:default}button.primary{background:var(--blue);color:#fff;border:0;font-weight:600}button.primary:hover:not(:disabled){background:#2563d8}button.primary:active:not(:disabled){background:#1e54bd}:focus-visible{outline:2px solid var(--focus);outline-offset:4px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}label{display:grid;gap:9px;font-size:12px;color:var(--muted)}select,input:not([type=range]){min-height:48px;background:var(--control);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:10px 12px;width:100%;min-width:0}select{cursor:pointer}input[type=range]{accent-color:var(--blue);width:100%;min-height:32px;margin:0}.top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:96px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font-size:17px;font-weight:650;white-space:nowrap}.brand svg{width:29px;height:29px;stroke-width:2.4;color:var(--focus)}.brand-light{font-weight:400}.header-actions{display:flex;align-items:center;gap:8px}.header-actions select{min-height:40px;width:112px;padding:7px;font-size:12px}.icon{min-width:44px;padding:8px;border:0;color:var(--muted)}h1,h2,p{margin:0}h1{font-weight:550;letter-spacing:-.025em}h2{font-weight:550;font-size:18px;line-height:1.5}p{line-height:1.65}.setup{width:min(100%,480px);margin:68px auto 64px}.eyebrow{font-size:12px;color:var(--muted);margin-bottom:16px}.setup h1{font-size:36px;line-height:1.2;margin-bottom:20px}.intro{color:var(--muted);font-size:15px;max-width:40ch}.prefs{margin:30px 0 22px}.language-pair{display:grid;grid-template-columns:1fr 20px 1fr;gap:16px;align-items:end}.language-pair>svg{margin-bottom:14px;color:var(--muted)}.advanced{margin-top:20px}summary{cursor:pointer;color:var(--muted);min-height:40px;padding:10px 0;font-size:12px}.advanced-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:12px 0}.wide{width:100%;min-height:54px}.setup-note{margin-top:16px;font-size:12px;color:var(--muted)}#recent{margin-top:36px;border-top:1px solid var(--line);padding-top:22px}#recent h2{font-size:14px;color:var(--muted);margin-bottom:12px}#recent-list{display:grid;gap:10px}#recent-list button{justify-content:space-between;text-align:start;font-size:12px}.notice{margin:22px auto 0;padding:14px 18px;border-radius:12px;background:var(--alert);color:var(--error);line-height:1.6;max-width:940px}.connection-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:32px auto 0;max-width:940px}.peer{display:flex;align-items:center;gap:14px}.peer>svg{width:32px;height:32px;color:var(--muted)}.peer h1{font-size:16px;letter-spacing:0}.peer p{font-size:12px;color:var(--muted);margin-top:3px}.status{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.status:before{content:"";width:7px;height:7px;border-radius:50%;background:#92978d;flex:none}.status[data-online=true]:before{background:#408756}.stage{max-width:680px;margin:auto;min-height:510px;display:flex;align-items:center;flex-direction:column;padding:42px 0 18px;justify-content:center}.direction{color:var(--muted);font-size:13px;text-align:center}.stage canvas{width:min(100%,560px);height:138px;margin:8px 0}.stage-copy{text-align:center;min-height:77px;margin-bottom:22px}.stage-copy h2{font-size:25px;letter-spacing:-.02em}.stage-copy p{font-size:12px;color:var(--muted);margin-top:10px}.talk{width:min(100%,360px);min-height:76px;font-size:16px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.talk svg{width:26px;height:26px}.talk[aria-pressed=true]{background:#1e54bd;outline:5px solid var(--line);outline-offset:5px}.turn-time{min-height:32px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;padding-top:10px}.text-button{border:0;color:var(--muted);padding:0 8px;font-size:12px}.stage>.text-button{margin-top:8px}.disclosures{display:flex;justify-content:center;align-items:center;gap:26px;border-top:1px solid var(--line);padding:12px 0;max-width:940px;margin:auto}.disclosures button{border:0;font-size:12px;color:var(--muted);padding:0 8px}.disclosures button[aria-expanded=true]{color:var(--ink)}#turn-count{font-size:11px}.panel{max-width:940px;margin:14px auto 0;padding:28px 32px;background:var(--surface);border-radius:14px}.panel>p{font-size:12px;color:var(--muted);margin-top:10px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-heading h2{font-size:16px}.invitation{display:grid;grid-template-columns:184px 1fr;align-items:center;gap:28px;margin-top:20px}.invitation img{border-radius:12px;background:white}.invitation input{margin:9px 0 12px;font-size:12px}.invitation p{font-size:12px;color:var(--muted);min-height:20px;margin-top:8px}.history-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:20px}.danger{color:var(--error)}#transcript{padding-top:24px}#transcript article{border-bottom:1px solid var(--line);padding:20px 0}#transcript article:first-child{padding-top:0}#transcript article:last-child{border-bottom:0}#transcript .meta{font-size:11px;color:var(--muted);display:flex;gap:12px;align-items:center;margin-bottom:9px;flex-wrap:wrap}#transcript p{font-size:17px;white-space:pre-wrap;overflow-wrap:anywhere}#transcript details{margin-top:5px}#transcript details p{font-size:13px;color:var(--muted)}.muted{color:var(--muted);font-size:12px}.empty{padding:10px 0 24px;color:var(--muted)}footer{max-width:940px;margin:26px auto 0;display:flex;justify-content:space-between;gap:12px;padding:20px 0 28px;color:var(--muted);font-size:11px}dialog{color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:16px;padding:26px;width:min(560px,calc(100% - 32px));max-height:85svh;overflow-y:auto}dialog::backdrop{background:#0007}dialog .prefs{margin-top:20px}.volume{grid-template-columns:1fr auto;margin-top:25px}.volume input{grid-column:1/-1}.privacy{margin:18px 0}.privacy p{font-size:12px;color:var(--muted);margin-top:10px}.confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}#confirm p{margin-top:12px;font-size:14px;color:var(--muted)}[dir=rtl] .language-pair>svg{transform:rotate(180deg)}
#conversation[data-active=false] .stage{min-height:220px;padding:30px 0}#conversation[data-active=false] .stage-copy{margin-top:20px;margin-bottom:0}
@media(max-width:640px){main{padding:0 20px}.top{min-height:76px}.brand{font-size:14px;gap:8px}.brand svg{width:24px;height:24px}.header-actions{gap:0}.header-actions select{width:90px;border:0;background:transparent}.setup{margin:46px auto 40px}.setup h1{font-size:30px}.connection-row{margin-top:24px;align-items:flex-start}.peer{gap:10px}.peer h1{font-size:14px}.peer>svg{width:26px;height:26px}.status{font-size:11px;max-width:140px}.stage{min-height:calc(100svh - 242px);padding:28px 0 18px}.stage canvas{height:120px}.stage-copy h2{font-size:23px}.stage-copy{margin-bottom:18px;min-height:74px}.talk{min-height:78px;font-size:15px}.disclosures{gap:4px;justify-content:space-between}.disclosures button{font-size:11px;padding:0 5px;gap:6px}.disclosures svg{width:17px;height:17px}.panel{padding:22px 18px}.invitation{grid-template-columns:1fr;gap:18px}.invitation img{margin:auto}.language-pair{gap:10px}.advanced-fields{gap:12px}dialog{padding:22px}footer{font-size:10px}}
@media(max-width:360px){main{padding:0 14px}.brand-light{display:none}.stage-copy h2{font-size:21px}.talk{font-size:14px}.language-pair{grid-template-columns:1fr}.language-pair>svg{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Push-to-talk: an icon-only circle, caption below, explicit recording colour. */
.talk.primary{width:112px;height:112px;min-height:112px;padding:0;border-radius:50%;flex:none}.talk.primary svg{width:36px;height:36px}.talk.primary[aria-pressed=true],.talk.primary[aria-pressed=true]:hover,.talk.primary[aria-pressed=true]:active{background:#b42332;outline:4px solid var(--line);outline-offset:5px}.talk-caption{font-size:12px;color:var(--muted);text-align:center;margin-top:18px;max-width:35ch;min-height:20px}#domain-note{margin:12px 0;font-size:12px}.stage-copy{margin-bottom:20px}.stage{min-height:550px}button,select,input{font-size:16px}.text-button{font-size:12px}
@media(max-width:640px){.stage{min-height:calc(100svh - 235px)}.talk.primary{width:104px;height:104px;min-height:104px}.talk-caption{font-size:12px}.stage-copy{margin-bottom:20px}.prefs select{font-size:16px}}
