:root{--ink:#203d35;--muted:#65746e;--green:#22634f;--green-dark:#164c3b;--line:#dfe6df;--paper:#f5f7f3;--light:#eef3ed;--white:#fff;--amber:#866022;--red:#a03b35;--radius:18px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}button,input,a,summary{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a,summary,input{touch-action:manipulation}button{cursor:pointer}button:disabled,button[aria-disabled=true]{cursor:not-allowed;opacity:.42}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #70a88a;outline-offset:4px}a{color:inherit}button{color:inherit}svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.shell{max-width:1248px;margin:0 auto;padding:0 40px}.skip-link{position:fixed;left:16px;top:-80px;padding:10px 20px;background:var(--white);z-index:10}.skip-link:focus{top:12px}.site-header{height:91px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px;font-size:20px;letter-spacing:-.65px;font-weight:650;text-decoration:none}.brand-divider{color:#98aba0;font-weight:400;margin:0 3px}.brand-mark{width:35px;height:35px;display:flex;align-items:center;justify-content:center;gap:3px;background:var(--green);border-radius:10px;transform:rotate(-5deg)}.brand-mark span{width:3px;background:#e1f0d8;border-radius:4px;height:13px;transform:rotate(20deg)}.brand-mark span:nth-child(2){height:22px}.brand-mark span:nth-child(3){height:17px}.header-meta{display:flex;align-items:center;gap:24px;font-size:12px}.research-label{color:var(--muted)}.connection{display:inline-flex;align-items:center;gap:7px;font-weight:550}.connection i{width:6px;height:6px;border-radius:50%;background:#acb6af}.connection.connected i{background:#518f67}.connection.disconnected{color:var(--red)}.connection.disconnected i{background:var(--red)}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:40px 0 28px}.eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:1.65px;color:var(--muted);margin:0 0 8px}h1,h2,h3,p{margin-top:0}h1{font-size:39px;line-height:1.16;letter-spacing:-1.45px;font-weight:550;margin-bottom:11px}.intro-copy{font-size:15px;color:var(--muted);margin:0}.help-link{display:flex;align-items:center;gap:8px;font-size:13px;text-decoration:none;border-bottom:1px solid #b6c6ba;padding:8px 0;white-space:nowrap}.notice{display:flex;gap:11px;border:1px solid #e7dbb8;background:#faf6e9;border-radius:10px;padding:12px 16px;margin-bottom:21px;color:#745c2b;font-size:12px}.notice p{margin:0}.notice strong{font-weight:650;margin-right:10px}.notice .icon{width:17px;height:17px;margin-top:1px}.steps{display:grid;grid-template-columns:1fr 1fr 1fr;padding:0 0 22px;margin:0;list-style:none;gap:20px}.steps li{display:flex;gap:10px;align-items:center;color:#7a877f;font-size:12px}.step-number{display:grid;place-items:center;width:25px;height:25px;background:#e7ece4;color:#75856f;border-radius:50%;font-size:10px;font-variant-numeric:tabular-nums}.steps li[aria-current]{color:var(--green);font-weight:650}.steps li[aria-current] .step-number{color:#fff;background:var(--green)}.workspace{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);gap:22px;align-items:stretch}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius)}.capture-card,.translation-card{padding:24px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.card-heading .eyebrow{margin-bottom:3px}h2{font-size:18px;letter-spacing:-.4px;font-weight:600;line-height:1.4;margin-bottom:0}.text-button{border:0;background:transparent;padding:8px 0;font-size:12px;font-weight:550;white-space:nowrap;min-height:36px}.text-button:hover:enabled{color:var(--green);text-decoration:underline}.camera-stage{position:relative;aspect-ratio:4/3;background:#203a32;border-radius:12px;overflow:hidden;color:#f2f6ec}.camera-stage video{width:100%;height:100%;object-fit:contain;transform:scaleX(-1);display:block}.camera-stage.has-stream{background:#17231f}.stage-top{position:absolute;inset:15px 15px auto;display:flex;justify-content:space-between;align-items:center;gap:8px;pointer-events:none}.camera-badge{display:inline-flex;align-items:center;gap:7px;background:#152b23c9;color:#e9eee9;border:1px solid #62746b66;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:500;backdrop-filter:blur(8px)}.dot{width:5px;height:5px;border-radius:50%;background:#9eafa3}.camera-stage.is-recording .dot{background:#fa8c76}.camera-stage.is-recording .camera-badge{background:#462c27e0}.timer{font-size:11px;font-variant-numeric:tabular-nums;font-weight:600;background:#142a2180;padding:5px 8px;border-radius:6px}.timer span{opacity:.5;font-weight:400;margin-left:3px}.camera-placeholder{position:absolute;inset:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding-top:22px}.camera-emblem{width:56px;height:56px;border:1px solid #6c827260;background:#c7dcb20b;border-radius:17px;display:grid;place-items:center;margin-bottom:18px;transform:rotate(-7deg)}.camera-emblem .icon{width:27px;height:27px;stroke-width:1.2;transform:rotate(7deg);color:#bed1be}.camera-placeholder h3{font-size:21px;font-weight:450;letter-spacing:-.35px;margin-bottom:8px}.camera-placeholder p{font-size:12px;color:#b8c8ba;line-height:1.65;margin-bottom:21px}.button{min-height:43px;border:1px solid transparent;border-radius:8px;display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:10px 16px;font-size:12px;font-weight:600;transition:background .15s,border-color .15s}.button:hover:enabled:not([aria-disabled=true]){filter:brightness(.95)}.button-primary{background:var(--green);color:white}.button-primary:hover:enabled:not([aria-disabled=true]){background:var(--green-dark)}.button-light{background:#eaf0d8;color:#213d32;border-color:#eaf0d8}.button-quiet{background:var(--light);color:var(--green)}.button-outline{background:white;border-color:var(--line)}.button .icon{width:16px;height:16px}.record-icon{width:9px;height:9px;border-radius:50%;background:currentColor}.record-icon.finish{border-radius:2px}.capture-message{display:flex;align-items:flex-start;gap:7px;margin-top:16px;min-height:35px}.capture-message p{font-size:12px;color:var(--muted);margin:0;line-height:1.55}.indicator{width:6px;height:6px;flex-shrink:0;background:#a0b0a0;border-radius:50%;margin-top:6px}.indicator.recording{background:#b95446}.indicator.processing{background:#b08c46}.capture-controls{display:flex;gap:10px;margin-top:7px}.capture-controls .button-primary{flex:1}.capture-controls .button-quiet{min-width:87px}.capture-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:17px;font-size:10px;color:var(--muted)}.check-label{display:flex;align-items:center;gap:7px;cursor:pointer;white-space:nowrap}.check-label input{accent-color:var(--green);width:13px;height:13px;margin:0}.framing-guide{position:absolute;inset:12% 9% 9%;pointer-events:none}.framing-guide>span{position:absolute;width:35px;height:35px;border-color:#dde9d5a6;border-style:solid}.framing-guide>span:nth-child(1){top:0;left:0;border-width:1px 0 0 1px;border-radius:12px 0 0}.framing-guide>span:nth-child(2){top:0;right:0;border-width:1px 1px 0 0;border-radius:0 12px 0 0}.framing-guide>span:nth-child(3){bottom:0;left:0;border-width:0 0 1px 1px;border-radius:0 0 0 12px}.framing-guide>span:nth-child(4){bottom:0;right:0;border-width:0 1px 1px 0;border-radius:0 0 12px}.head-guide{position:absolute;width:24%;height:31%;top:0;left:38%;border:1px dashed #ecf3e86b;border-radius:50%}.framing-hint{position:absolute;bottom:16px;left:10px;right:10px;text-align:center;font-size:10px;color:#fff;text-shadow:0 1px 5px #000;background:#10261ba6;margin:0 auto;width:fit-content;border-radius:4px;padding:5px 8px}.capture-progress{height:3px;position:absolute;bottom:0;width:100%;background:#ffffff12}.capture-progress div{height:100%;width:0;background:#c8dba2;transition:width .1s linear}.translation-card{display:flex;flex-direction:column}.result-badge{border:1px solid var(--line);border-radius:5px;font-size:10px;padding:4px 8px;color:var(--muted);white-space:nowrap}.result-badge.ready{background:#ecf3e9;color:var(--green);border-color:#dce8d5}.result-badge.warning{background:#fbf4e6;border-color:#ecdfbf;color:var(--amber)}.result-area{min-height:275px;flex:1;display:flex;align-items:center;padding:22px 4px}.result-area>div{width:100%}.result-empty{text-align:center}.quote-mark{display:block;font-family:Georgia,serif;font-size:77px;line-height:.75;color:#d7e3d2;margin:12px 0 16px}.result-empty h3{font-size:20px;font-weight:450;letter-spacing:-.35px;margin-bottom:9px}.result-empty p{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:0}.result-area.processing .quote-mark{font-size:0;width:28px;height:28px;border-radius:50%;border:2px solid #dce6d7;border-top-color:var(--green);margin:0 auto 24px;animation:spin 1s linear infinite}.result-text{font-size:31px;font-weight:450;line-height:1.4;letter-spacing:-.7px;overflow-wrap:anywhere;margin-bottom:18px}.result-note{font-size:11px;color:var(--muted);margin:0}.result-actions{display:flex;gap:10px;padding-top:10px}.result-actions .button:first-child{flex:1}.audio-message{font-size:10px;min-height:15px;color:var(--muted);margin:8px 0 0}.playback-setting{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:16px;margin-top:12px}.playback-setting label{font-size:12px;font-weight:550;cursor:pointer}.playback-setting p{font-size:10px;color:var(--muted);margin:3px 0 0}.switch{display:inline-flex;position:relative;flex-shrink:0;width:35px;height:21px}.switch input{position:absolute;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}.switch span{width:100%;height:100%;background:#dce5dc;border-radius:12px;pointer-events:none}.switch span:before{content:"";display:block;background:white;border-radius:50%;width:15px;height:15px;margin:3px;box-shadow:0 1px 3px #0001;transition:transform .15s}.switch input:checked+span{background:var(--green)}.switch input:checked+span:before{transform:translateX(14px)}.switch input:focus-visible+span{outline:3px solid #70a88a;outline-offset:4px}.prototype-note{display:flex;align-items:flex-start;gap:7px;background:#f5f7f2;border-radius:7px;padding:10px;margin-top:18px;color:var(--muted)}.prototype-note .icon{width:14px;height:14px;margin-top:2px}.prototype-note p{font-size:10px;line-height:1.5;margin:0}.session-card{margin-top:22px;padding:23px 24px}.session-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.session-heading .eyebrow{margin-bottom:3px}.session-heading h2{display:flex;align-items:center;gap:8px;font-size:16px}.count{display:inline-grid;place-items:center;width:20px;height:20px;background:var(--light);border-radius:5px;font-size:10px;font-weight:500;color:var(--muted)}.session-actions{display:flex;gap:20px}.history-empty{margin:16px 0 0;color:var(--muted);font-size:12px}.history-list{margin:0;padding:0;list-style:none}.history-list li{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:14px 0 0;margin-top:14px}.history-list p{margin:0;overflow-wrap:anywhere}.history-list span{display:block;color:var(--muted);font-size:10px;margin-bottom:3px}.history-list button{background:none;border:1px solid var(--line);border-radius:6px;padding:8px;display:flex}.lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:20px}.disclosure{border-top:1px solid #d9e2d8}.disclosure summary{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:550;padding:15px 0;cursor:pointer;list-style:none}.disclosure summary::-webkit-details-marker{display:none}.disclosure summary .icon{width:13px;height:13px;transform:rotate(90deg)}.disclosure[open] summary .icon{transform:rotate(-90deg)}.disclosure>p{color:var(--muted);font-size:11px;margin:0 0 15px}.help-steps{padding-left:18px;font-size:12px;margin:0 0 15px}.help-steps li{margin-bottom:8px;color:var(--muted)}.help-steps strong{color:var(--ink);font-weight:550}.diagnostics{display:grid;grid-template-columns:1fr 1fr;margin:0 0 14px;gap:12px;font-size:11px}.diagnostics dt{color:var(--muted);font-size:10px}.diagnostics dd{margin:2px 0 0;font-variant-numeric:tabular-nums}footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:22px;padding:22px 0 30px;color:var(--muted);font-size:10px}footer a{text-decoration:none}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);background:var(--ink);color:white;padding:11px 18px;border-radius:8px;box-shadow:0 8px 24px #1d3a2922;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:min(90vw,480px);z-index:20;font-size:12px}.toast.show{opacity:1;transform:translate(-50%,0)}.inline-warning{font-size:11px;color:var(--amber);margin:0 0 8px;background:#fbf5e8;padding:8px 10px;border-radius:6px}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1500px){.intro{padding-top:46px}.shell{max-width:1310px}.camera-placeholder h3{font-size:24px}}
@media(max-width:900px){.shell{padding:0 24px}.workspace{gap:16px;grid-template-columns:1fr 1fr}.capture-card,.translation-card{padding:18px}.camera-placeholder{inset:10px;padding-top:25px}.camera-emblem{width:40px;height:40px;margin-bottom:10px}.camera-placeholder h3{font-size:18px}.camera-placeholder p{font-size:11px;margin-bottom:13px}.camera-placeholder .button{min-height:36px}.capture-bottom{align-items:flex-start;flex-direction:column;gap:6px}.card-heading h2{font-size:16px}.card-heading .text-button{font-size:10px}.result-area{min-height:225px}.research-label{display:none}}
@media(max-width:700px){.shell{padding:0 18px}.site-header{height:74px}.brand{font-size:18px;gap:10px}.brand-mark{width:30px;height:30px}.header-meta{font-size:10px}.intro{padding:29px 0 22px;align-items:flex-start}.intro h1{font-size:30px;letter-spacing:-1px}.intro-copy{font-size:13px;max-width:290px}.help-link{font-size:0;gap:0;border:0;padding-top:27px}.help-link .icon{width:21px;height:21px}.steps{gap:8px}.steps li{gap:6px;font-size:10px;align-items:flex-start}.step-number{width:20px;height:20px;flex-shrink:0;font-size:9px}.workspace,.lower-grid{grid-template-columns:1fr}.capture-card,.translation-card{padding:20px}.camera-placeholder h3{font-size:22px}.camera-emblem{width:52px;height:52px;margin-bottom:16px}.camera-placeholder p{font-size:12px;margin-bottom:18px}.camera-placeholder .button{min-height:43px}.capture-bottom{flex-direction:row;align-items:center}.result-area{min-height:220px}.result-text{font-size:28px}.result-actions .button{min-height:44px}.session-card{padding:20px}.session-heading{gap:10px}.session-actions{gap:12px}.session-actions button{font-size:10px}.notice p span{display:block;margin-top:3px}.lower-grid{gap:0}footer{font-size:9px;gap:16px}.toast{width:max-content;text-align:center}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.result-area.processing .quote-mark{border-color:var(--green)}}

/* Keep supporting text readable at normal zoom. */
.capture-message p,.capture-bottom,.result-empty p,.history-empty,.help-steps,.disclosure summary{font-size:13px}.result-note,.audio-message,.playback-setting p,.prototype-note p,.disclosure>p,.diagnostics,.diagnostics dt,footer{font-size:12px}.text-button,.result-badge,.check-label{font-size:12px}.playback-setting label{font-size:13px}.text-button{min-height:36px}.history-list button{min-height:40px}.research-label{color:inherit}.icon-library{position:absolute;width:0;height:0;overflow:hidden}

/* Model choice: native radios, so arrow keys and the global focus ring work unchanged. */
.model-choice{border:1px solid var(--line);border-radius:10px;padding:8px 14px 12px;margin:10px 0 4px;min-width:0}.model-choice legend{font-size:12px;font-weight:600;padding:0 6px}.model-options{display:flex;flex-wrap:wrap;gap:6px 20px}.model-options label,.model-options span{display:flex;align-items:center;gap:7px;font-size:13px;min-height:32px}.model-options label{cursor:pointer}.model-options input{accent-color:var(--green);margin:0;width:15px;height:15px}.model-options input:focus-visible{outline-offset:2px}.model-options label:has(input:disabled){opacity:.55;cursor:not-allowed}.model-detail{font-size:12px;color:var(--muted);margin:4px 0 0;line-height:1.5}

/* In-browser engine: download size, progress and the opt-in ensemble download. */
.engine-status{margin-top:10px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.engine-status p{font-size:12px;color:var(--muted);margin:0;line-height:1.5}.engine-status progress{width:100%;height:6px;accent-color:var(--green)}.engine-status .button{min-height:36px}

/* Consent before any model download; the unavailable notice's retry; removing stored models from Session details. */
.consent-card{border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin:10px 0 4px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.consent-card h3{font-size:14px;font-weight:600;margin:0}.consent-card p{font-size:12px;color:var(--muted);margin:0;line-height:1.5}.consent-card .inline-warning{color:var(--amber)}.notice p{flex:1}.notice .text-button{align-self:center;color:inherit;text-decoration:underline;padding:0 4px}.disclosure>.text-button{display:block;margin:0 0 10px;text-decoration:underline}
@media(max-width:700px){.consent-card .button{align-self:stretch;min-height:44px}}
.person-box{margin-top:12px;padding:10px 12px;border-radius:8px;background:var(--light);color:var(--ink)}.person-text{margin:0;font-size:12px;line-height:1.5}.person-switch{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.person-switch:empty{display:none}.person-button{min-height:36px;padding:6px 12px;font-size:12px}