@font-face{font-family:Heebo;src:url('/fonts/heebo-regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Heebo;src:url('/fonts/heebo-semibold.ttf') format('truetype');font-weight:600 800;font-display:swap}
:root{--blue:#1a73e8;--ink:#202124;--muted:#5f6368;--line:#dadce0;--surface:#f8f9fa;--selected:#e8f0fe}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#fff;color:var(--ink);font-family:Heebo,Arial,sans-serif}button,textarea,input,select{font:inherit}button,a,label{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid var(--blue);outline-offset:3px}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[data-icon]{display:inline-flex;align-items:center;justify-content:center}
header{height:76px;border-bottom:1px solid #eee;display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:12px}.brand{display:flex;gap:12px;align-items:center;color:var(--muted)}.brand strong{direction:ltr;font-size:27px;font-weight:600;letter-spacing:-.8px;color:#3c4043}.brand span{font-size:22px}.header-actions{display:flex;align-items:center;gap:20px}#engine-status{font-size:12px;color:var(--muted)}#engine-status.unavailable{color:#a15c00}main{max-width:1260px;margin:auto;padding:0 32px}.modes{display:flex;gap:10px;padding:28px 0 22px}.mode{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 22px;border:1px solid var(--line);border-radius:24px;background:#fff;color:var(--blue);font-size:15px;font-weight:600}.mode.active{background:var(--selected);border-color:var(--selected)}.mode:hover{background:#f1f5fd}.workspace{border:1px solid var(--line);border-radius:8px;overflow:hidden}.language-bar{display:grid;grid-template-columns:1fr 48px 1fr;align-items:center;min-height:68px;padding:0 22px;border-bottom:1px solid var(--line)}.language-bar label:last-child{padding-inline-start:28px}.language-bar select{max-width:100%;color:var(--blue);background:#fff;border:0;padding:12px 4px;font-size:16px;font-weight:600;cursor:pointer}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;background:transparent;border:0;border-radius:50%;padding:10px;color:var(--muted)}.icon-button:hover:enabled{background:#e9eef6;color:var(--blue)}.editors{display:grid;grid-template-columns:1fr 1fr}.editor{position:relative;padding:24px 24px 12px;min-width:0}.editor.source{border-inline-end:1px solid var(--line)}.editor.result{background:var(--surface)}.editor textarea{display:block;width:100%;height:268px;min-height:160px;border:0;resize:vertical;background:transparent;color:var(--ink);font-size:25px;line-height:1.65;padding:0}.source textarea{padding-left:32px}.editor textarea::placeholder{color:#80868b;opacity:1}.editor textarea:focus{outline:none}.editor:focus-within{box-shadow:inset 0 0 0 2px var(--selected)}.clear-button{position:absolute;left:9px;top:15px}.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;color:var(--muted);font-size:11px}.speech-actions,.result-actions{display:flex;align-items:center;gap:4px}.editor-footer .icon-button{width:40px;height:40px;padding:8px}#recording-status{font-size:12px;color:#b3261e}#mic.recording{background:#fce8e6;color:#b3261e}.workspace-bottom{border-top:1px solid var(--line);padding:8px 22px;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:52px}#status{margin:0;color:var(--muted);font-size:12px;line-height:1.7}#status.error{color:#b3261e}.text-button{color:var(--blue);background:transparent;border:0;padding:10px 8px;min-height:44px;font-size:13px;white-space:nowrap}.text-button:hover{text-decoration:underline}.primary{background:var(--blue);color:#fff;border:0;border-radius:4px;font-weight:600;padding:11px 24px;min-height:44px;cursor:pointer}.primary:hover{background:#1765cc}.options{display:flex;justify-content:space-between;align-items:start;padding:16px 8px;color:var(--muted);font-size:12px;gap:12px}.options>span{font-size:11px;white-space:nowrap;padding-top:3px}summary{cursor:pointer;font-size:14px}details{max-width:100%}.settings{display:flex;flex-direction:column;gap:14px;padding:20px 0;font-size:13px}.settings label{display:flex;align-items:center;gap:8px}.settings input{accent-color:var(--blue)}.settings select{padding:4px;border:1px solid var(--line);border-radius:4px;background:#fff}.settings small{line-height:1.7}.shortcuts{display:flex;justify-content:center;gap:54px;padding:40px 0 32px}.shortcuts button{display:flex;flex-direction:column;align-items:center;gap:12px;background:transparent;border:0;color:var(--muted);font-size:15px}.shortcut-icon{width:76px;height:76px;border:1px solid #e5e7eb;border-radius:50%;display:flex;align-items:center;justify-content:center}.shortcut-icon svg{width:32px;height:32px}.shortcuts button:hover .shortcut-icon{background:var(--surface);color:var(--blue)}footer{max-width:1196px;margin:50px auto 0;padding:20px 0;border-top:1px solid #eee;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:11px}footer a{color:var(--muted)}.import-panel{padding:32px;border-bottom:1px solid var(--line);text-align:center;background:#fff}.import-panel h2{font-size:21px;font-weight:400;margin:10px 0}.import-panel p{font-size:14px;color:var(--muted);margin:8px 0 22px}.import-panel small{display:block;font-size:11px;color:var(--muted);line-height:1.9;margin-top:18px}.drop-zone{padding:24px;border:1px dashed var(--line);border-radius:8px}.drop-zone.dragover{border-color:var(--blue);background:var(--selected)}.drop-zone>span svg{width:44px;height:44px;color:var(--blue)}.upload-actions{display:flex;justify-content:center;align-items:center;gap:12px}.file-label{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.file-label:focus-within{outline:2px solid var(--blue);outline-offset:3px}#image-preview{display:flex;align-items:center;flex-direction:column;gap:10px}#preview{max-width:100%;max-height:260px;object-fit:contain}#image-name{font-size:12px;color:var(--muted);overflow-wrap:anywhere}#website-form{display:flex;max-width:720px;gap:12px;margin:auto}#website-url{border:1px solid var(--line);border-radius:4px;padding:12px 16px;min-width:0;flex:1;font-size:16px}#website-link{display:block;font-size:13px;margin-top:16px}#speech-player{display:block;width:calc(100% - 48px);margin:12px 24px 20px;height:42px}.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}dialog{max-width:580px;width:calc(100% - 32px);max-height:85dvh;border:1px solid var(--line);border-radius:12px;padding:28px;color:var(--ink);font-size:13px;line-height:1.9}dialog::backdrop{background:#20212466}.dialog-close{float:left;background:transparent;border:0;color:var(--muted);font-size:26px;padding:0 8px}dialog h2{font-size:24px;font-weight:400}dialog p{color:var(--muted)}.collection-item{border-bottom:1px solid var(--line);padding:14px 0}.collection-item button{border:0;background:transparent;color:var(--blue);padding:8px;font-size:12px}.collection-item p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}.collection-item small{color:var(--muted)}
@media(max-width:700px){header{height:64px;padding:0 16px}.brand{gap:8px}.brand strong{font-size:25px}.brand span{display:none}.brand img{width:28px;height:28px}.header-actions{gap:2px}#engine-status{font-size:10px}.header-actions button{width:36px;height:36px;padding:8px}main{padding:0}.modes{justify-content:center;gap:8px;padding:20px 16px 18px}.mode{padding:8px 18px;font-size:15px;gap:8px}.mode svg{width:22px;height:22px}.workspace{border:0;border-radius:0}.language-bar{padding:0 18px;min-height:60px;grid-template-columns:1fr 42px 1fr;border-bottom:1px solid #eee}.language-bar label{text-align:center}.language-bar label:last-child{padding-inline-start:0}.language-bar select{font-size:16px;padding:12px 0}.editors{grid-template-columns:1fr}.editor{padding:18px 20px 6px}.editor.source{border-inline-end:0;border-bottom:1px solid #eee}.editor textarea{height:158px;min-height:130px;resize:none;font-size:25px}.editor.result:has(textarea:placeholder-shown){display:none}.editor.result{background:#f8f9fa}.editor-footer{min-height:44px}.clear-button{top:10px;left:7px}.workspace-bottom{padding:4px 20px;border-top:0;min-height:40px}#status{font-size:11px}.options{padding:14px 24px}.options>span{font-size:10px}.shortcuts{padding-top:42px;gap:46px}.shortcut-icon{width:78px;height:78px}.import-panel{padding:18px}.drop-zone{padding:24px 12px}.import-panel h2{font-size:20px}.import-panel p{font-size:12px}.import-panel small{font-size:10px}#website-form{flex-direction:column;gap:10px}.upload-actions{gap:8px}.primary{padding:10px 20px}.settings{font-size:12px;gap:14px}footer{margin:64px 20px 0;padding:16px 0}.options:has(details[open]){flex-direction:column}#speech-player{width:calc(100% - 40px);margin:10px 20px}dialog{padding:22px}}@media(max-width:360px){.mode{padding:8px 14px;font-size:14px}.brand strong{font-size:23px}.editor textarea{font-size:23px}}

.workspace.website-mode .editors,.workspace.website-mode #translate,.workspace.website-mode #speech-player{display:none!important}.website-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 20px;flex-wrap:wrap;background:#f8f9fa;border-bottom:1px solid var(--line)}.website-navigation,.website-controls{display:flex;align-items:center;gap:6px;min-width:0}.website-navigation{flex:1}#website-current{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#website-status{width:100%;font-size:12px;color:var(--muted);margin:0}.website-navigation .icon-button{font-size:22px}#website-frame{width:100%;height:72dvh;min-height:480px;display:block;border:0;background:#fff}#website-view:fullscreen{background:white;display:flex;flex-direction:column}#website-view:fullscreen #website-frame{flex:1;height:auto}#website-view:fullscreen .website-toolbar{flex-shrink:0}@media(max-width:700px){.website-toolbar{padding:8px 14px}.website-navigation{width:100%;flex-basis:100%}#website-frame{height:75dvh;min-height:500px}.website-controls .text-button{font-size:12px}.workspace.website-mode .import-panel{padding:16px}.workspace.website-mode .import-panel h2{margin-top:0}}

body.viewing-website{overflow:hidden}body.viewing-website header{height:52px;padding:0 20px}body.viewing-website .brand strong{font-size:23px}body.viewing-website .brand span{font-size:16px}body.viewing-website .modes,body.viewing-website #website-panel,body.viewing-website .workspace-bottom,body.viewing-website .options,body.viewing-website .shortcuts,body.viewing-website footer{display:none!important}body.viewing-website main{max-width:none;padding:0}body.viewing-website .workspace{border:0;border-radius:0}body.viewing-website .language-bar{min-height:54px}body.viewing-website #website-frame{min-height:200px}body.viewing-website .website-toolbar{padding:5px 16px}body.viewing-website .website-controls .text-button{font-size:12px;padding:6px;min-height:36px}body.viewing-website .website-navigation .icon-button{width:36px;height:36px}body.viewing-website #website-status{font-size:11px}@media(max-width:700px){body.viewing-website header{padding:0 12px}body.viewing-website .website-toolbar{gap:2px;padding:4px 10px}body.viewing-website .website-controls{flex:1;justify-content:space-between}body.viewing-website .website-controls .text-button{font-size:11px}}
