:root{font-family:Segoe UI,Noto Sans Tamil,Noto Sans Devanagari,Arial,sans-serif;color:#19352f;background:#f3f5ef;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #19352f;--muted: #78847c;--green: #246f5a;--green-dark: #123c36;--line: #e4e9e2;--paper: #fffefa}*{box-sizing:border-box}body{margin:0;min-width:320px}button{font:inherit}.app-shell{max-width:1120px;min-height:100vh;margin:0 auto;padding:0 46px}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(25,53,47,.12)}.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font:800 20px Segoe UI,sans-serif;letter-spacing:-.7px}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:11px;color:#fff;background:var(--green);font:600 15px Noto Sans Tamil,sans-serif}.topbar-tag,.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.35px;color:#819087}.topbar-tag{color:#63766d}.hero{position:relative;display:flex;justify-content:space-between;align-items:center;min-height:295px;padding:45px 7.4%;overflow:hidden;color:#fff;background:var(--green-dark)}.hero:after{position:absolute;width:330px;height:330px;right:9%;top:-175px;border:1px solid rgba(255,255,255,.11);border-radius:50%;content:"";box-shadow:0 0 0 34px #ffffff06,0 0 0 68px #ffffff05}.hero-copy,.hero-stamp{position:relative;z-index:1}.hero-eyebrow{color:#9ad3b9}h1,h2,p{margin-top:0}h1{margin:17px 0 12px;font:700 clamp(34px,4vw,48px)/1.12 "Segoe UI",sans-serif;letter-spacing:-2px}.hero-copy p{margin-bottom:0;color:#ccded5;font-size:14px}.hero-stamp{display:flex;flex-direction:column;align-items:center;gap:7px;margin-right:3%;color:#d9eee4;font-size:20px;font-weight:600}.hero-stamp span{font-family:Noto Sans Tamil,Noto Sans Devanagari,sans-serif}.hero-stamp b{color:#9ad3b9;font-size:23px;font-weight:400}.workspace{padding:48px 7.4% 33px;background:var(--paper)}.auth-card{margin:0 0 26px;padding:16px;background:#f7f8f4;border:1px solid var(--line);border-radius:10px}.auth-card label{display:block;margin-bottom:8px;font-size:12px;font-weight:700}.auth-controls{display:flex;gap:8px}.auth-controls input{flex:1;min-width:0;height:40px;padding:0 11px;border:1px solid #d5ddd5;border-radius:7px;font:inherit;font-size:12px}.auth-controls button{padding:0 12px;color:#fff;background:var(--green);border:0;border-radius:7px;font-size:11px;font-weight:600;cursor:pointer}.auth-controls button:disabled{opacity:.5;cursor:not-allowed}.auth-card p{margin:8px 0 3px;color:#52675a;font-size:11px}.auth-card small{color:#77847b;font-size:10px}.section-heading,.result-header{display:flex;align-items:end;justify-content:space-between;gap:16px}h2{margin:7px 0 0;font:700 22px Segoe UI,sans-serif;letter-spacing:-.55px}.privacy-pill{display:inline-flex;align-items:center;gap:8px;margin-bottom:3px;padding:8px 11px;color:#557366;background:#edf5ef;border-radius:20px;font-size:11px}.privacy-pill i,.status-dot{width:7px;height:7px;background:#43a578;border-radius:50%}.direction-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:21px}.direction-card{display:grid;grid-template-columns:auto 25px auto;align-items:center;justify-content:start;gap:6px;min-height:74px;padding:13px 17px;text-align:left;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:10px;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}.direction-card:hover:not(:disabled){transform:translateY(-1px);border-color:#a8cbb8}.direction-card.selected{background:#f4faf5;border:1.5px solid #4b9673;box-shadow:0 0 0 3px #4b967314}.direction-card:disabled{cursor:default;opacity:.75}.direction-from,.direction-to{font:700 15px Segoe UI,Noto Sans Tamil,Noto Sans Devanagari,sans-serif}.direction-arrow{text-align:center;color:#559375;font-size:18px}.direction-caption{grid-column:1 / 4;margin-top:2px;color:#8a958d;font-size:10px}.recorder-card{margin-top:24px;padding:20px 21px 14px;background:#f7f8f4;border:1px solid #e9ede6;border-radius:12px}.recorder-main{display:flex;align-items:center;gap:14px}.mic-orb{display:grid;place-items:center;width:43px;height:43px;color:#418469;background:#e5f1e9;border-radius:50%;font-size:12px}.mic-orb.recording{color:#c74e44;background:#fae9e6;animation:breathe 1.2s ease-in-out infinite}.recorder-copy{flex:1}.recorder-copy p{margin:5px 0 0;color:#627168;font-size:12px}.primary-button,.stop-button{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:0 16px;color:#fff;background:var(--green);border:none;border-radius:7px;font-weight:600;font-size:12px;cursor:pointer}.primary-button:hover:not(:disabled){background:#1b5d4a}.primary-button:disabled{cursor:not-allowed;opacity:.48}.stop-button{background:#af453c}.stop-button:hover{background:#933b34}.mic-icon{font-size:9px}.stop-icon{width:10px;height:10px;background:currentColor;border-radius:2px}.spinner{width:13px;height:13px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.status-line{display:flex;align-items:center;gap:8px;min-height:25px;margin-top:10px;color:#697970;font-size:11px}.upload-progress{display:block;width:100%;height:7px;margin:2px 0 8px;accent-color:var(--green)}.retry-button{min-height:40px;padding:0 14px;color:var(--green-dark);background:#edf5ef;border:1px solid #cbded0;border-radius:7px;font-weight:600;font-size:12px;cursor:pointer}.retry-button:disabled{cursor:not-allowed;opacity:.55}.status-error{color:#9b463f}.status-error .status-dot{background:#ce655b}.status-dot.pulse{animation:pulse 1s ease-in-out infinite}.result-header{margin:39px 0 15px;align-items:center}.text-button{padding:6px 0;color:#4a8067;background:transparent;border:0;font-size:11px;font-weight:600;cursor:pointer}.result-empty,.result-panel{min-height:118px;padding:21px;border:1px solid var(--line);border-radius:10px}.result-empty{display:flex;align-items:center;justify-content:center;color:#8a958d;text-align:center;font-size:12px}.result-panel{background:#fff}.result-heading{display:grid;grid-template-columns:1fr 28px 1fr;align-items:center;gap:17px}.result-divider{display:grid;place-items:center;width:25px;height:25px;color:#54886f;background:#edf5ef;border-radius:50%}.result-text{margin:7px 0 0;color:#5b6a62;font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.result-text.translated{color:var(--ink);font-size:16px;font-weight:600}.audio-player{display:block;width:100%;height:38px;margin:17px 0 13px}.metrics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.metric{display:flex;flex-direction:column;gap:4px;padding:10px;background:#f7f8f4;border-radius:7px}.metric span{color:#849087;font-size:9px}.metric strong{color:#334d42;font-size:12px}.measurement-note{margin:11px 0 0;color:#7f8b83;font-size:10px;line-height:1.45}.workspace-footer,.page-footer{display:flex;justify-content:space-between;gap:15px;color:#86928a;font-size:10px}.workspace-footer{margin-top:20px;padding-top:15px;border-top:1px solid #edf0eb}.page-footer{padding:19px 0 24px;color:#718078}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.35}}@keyframes breathe{50%{box-shadow:0 0 0 7px #c74e4417}}@media(max-width:700px){.app-shell{padding:0 17px}.topbar{height:64px}.topbar-tag{max-width:130px;text-align:right;font-size:8px}.hero{min-height:247px;padding:34px 7%}.hero-stamp{margin-right:0;font-size:17px}.workspace{padding:34px 6% 25px}.section-heading{align-items:start;flex-direction:column}.auth-controls{flex-wrap:wrap}.auth-controls input{flex-basis:100%}.privacy-pill{font-size:10px}.direction-grid{grid-template-columns:1fr}.recorder-main{flex-wrap:wrap}.recorder-copy{min-width:145px}.primary-button,.stop-button{width:100%}.result-heading{grid-template-columns:1fr;gap:13px}.result-divider{transform:rotate(90deg)}.metrics-grid{grid-template-columns:1fr 1fr}.workspace-footer,.page-footer{flex-direction:column}}
