:root{color-scheme:light;--ink:#18243d;--muted:#647086;--blue:#2855ed;--line:#e3e8f0;--paper:#fff;--bg:#f3f6fb;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:16px;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,label,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible,.dropzone:focus-within{outline:3px solid #7893ff;outline-offset:3px}button[hidden],[hidden]{display:none!important}.topbar{height:88px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;text-decoration:none;color:var(--ink);font-size:1.45rem;font-weight:750;letter-spacing:-1px;gap:5px}.brand-pt{color:var(--blue)}.logo{display:grid;place-items:center;background:var(--blue);color:white;width:35px;height:35px;border-radius:9px;font-size:1.9rem;margin-right:8px}.edition{font-size:.75rem;letter-spacing:2px;font-weight:650;color:var(--muted)}main{max-width:1510px;margin:auto;padding:44px 5% 20px}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:34px}.eyebrow{font-size:.75rem;font-weight:750;letter-spacing:2px;color:var(--blue);margin:0 0 15px}h1{font-size:clamp(1.7rem,2.7vw,2.8rem);line-height:1.2;letter-spacing:-1.4px;margin:0;font-weight:700}h1 span{font-weight:400;color:#75819a}.language-pill{border:1px solid #d6def5;border-radius:30px;padding:11px 16px;font-size:.875rem;font-weight:700;background:#ebefff;color:#2b4cbc;white-space:nowrap}.language-pill span{margin-left:12px}.workspace{display:grid;grid-template-columns:340px minmax(0,1fr);gap:22px;align-items:start}.panel{background:var(--paper);border:1px solid var(--line);border-radius:16px;box-shadow:0 5px 20px #20356004}.upload-panel{padding:24px}.section-title{display:flex;align-items:center;gap:10px}h2{font-size:1rem;margin:0;font-weight:650}.step{font-family:Consolas,monospace;font-size:.75rem;color:#738098;background:#f1f4f9;padding:5px;border-radius:5px}.dropzone{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;margin:25px 0 16px;padding:28px 12px;background:#f8faff;border:1.5px dashed #b9c8e9;border-radius:12px;cursor:pointer;transition:background .15s}.dropzone.dragging,.dropzone:hover{background:#eaf0ff;border-color:var(--blue)}.dropzone strong{font-size:.9rem;line-height:1.5}.dropzone>span:not(.upload-icon){font-size:.875rem;color:var(--blue)}.dropzone small{color:var(--muted);font-size:.75rem;line-height:1.6;max-width:200px}.upload-icon{display:grid;place-items:center;width:42px;height:42px;background:white;box-shadow:0 2px 6px #20356012;border:1px solid var(--line);border-radius:10px;font-size:1.7rem;color:var(--blue);margin-bottom:8px}.dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.files{display:grid;gap:8px;max-height:240px;overflow:auto}.file-item{display:flex;align-items:center;gap:8px;padding:10px;background:#f5f7fb;border-radius:8px}.file-details{min-width:0;flex:1}.file-name{display:block;font-size:.875rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.file-state{font-size:.75rem;color:var(--muted)}.remove{border:0;background:transparent;font-size:1.25rem;color:var(--muted);padding:5px}.destination{display:flex;flex-direction:column;gap:10px;margin:25px 0}.destination>span,.destination small{font-size:.8rem;color:var(--muted)}.destination strong{font-size:1rem;display:flex;justify-content:space-between}.destination strong span{font-weight:400;color:var(--muted)}.primary,.secondary{border-radius:8px;padding:12px 16px;font-weight:600;border:1px solid var(--line);font-size:.875rem}.primary{width:100%;border-color:var(--blue);background:var(--blue);color:white;display:flex;justify-content:space-between;align-items:center;min-height:47px}.primary:hover:not(:disabled){background:#1742d5}.secondary{background:white;color:var(--ink)}.secondary:hover:not(:disabled){background:#f2f5fb}.compact{padding:9px 12px;font-size:.8rem}#pause{width:100%;margin-top:9px}.progress-caption{display:flex;justify-content:space-between;gap:6px;margin:17px 0 8px;font-size:.75rem;color:var(--muted)}progress{width:100%;height:6px;accent-color:var(--blue);border:0;border-radius:4px;overflow:hidden}progress::-webkit-progress-bar{background:#edf1f7}progress::-webkit-progress-value{background:var(--blue)}.connection{font-size:.8rem;line-height:1.6;color:var(--muted);margin:15px 0}.privacy{font-size:.75rem;color:var(--muted);border-top:1px solid var(--line);padding-top:18px;line-height:1.7;margin-bottom:0}.editor-header{padding:23px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.empty{min-height:460px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px;text-align:center}.subtitle-symbol{color:var(--blue);font-size:2.8rem;font-weight:350;letter-spacing:7px;padding:10px 0 22px}.empty h3{font-size:1.25rem;letter-spacing:-.5px;margin:0 0 12px}.empty p{color:var(--muted);font-size:.9rem;line-height:1.7;margin:0}.empty-tags{display:flex;gap:10px;margin-top:32px;flex-wrap:wrap;justify-content:center}.empty-tags span{font-size:.75rem;border:1px solid var(--line);border-radius:5px;padding:7px 9px;color:var(--muted)}.editor-toolbar{display:flex;gap:14px;padding:18px 24px;justify-content:space-between}.editor-toolbar select{max-width:65%;min-width:0;border:1px solid var(--line);border-radius:7px;padding:8px;font-size:.875rem;background:white;color:var(--ink)}.columns-labels{display:grid;grid-template-columns:1fr 1fr;padding:14px 24px;gap:20px;background:#f8faff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);font-size:.7rem;letter-spacing:1px;font-weight:700}.columns-labels span:last-child{color:var(--blue)}.cues{max-height:640px;overflow:auto}.cue-row{padding:18px 24px;border-bottom:1px solid var(--line)}.cue-meta{font-family:Consolas,monospace;font-size:.75rem;color:var(--muted);margin-bottom:10px;overflow-wrap:anywhere}.cue-texts{display:grid;grid-template-columns:1fr 1fr;gap:20px}.original{font-size:.9rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#55617a}.translation{width:100%;resize:vertical;min-height:74px;padding:9px;border:1px solid #dce3f0;border-radius:6px;color:var(--ink);font-size:.9rem;line-height:1.6;background:#fcfdff}.translation::placeholder{color:#949db0}.cue-warning{color:#a05a15;font-size:.75rem;line-height:1.5;margin-top:7px}.pagination{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;gap:8px}.pagination span{font-size:.8rem;color:var(--muted)}.notice{margin-top:20px;border:1px solid #b6c9f7;background:#edf3ff;color:#25418b;border-radius:10px;padding:15px 20px;font-size:.875rem;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}.notice.error{background:#fff4ef;border-color:#f1c9b8;color:#963b1e}footer{display:flex;justify-content:space-between;gap:16px;padding:28px 0 8px;color:var(--muted);font-size:.75rem}footer span:first-child{font-weight:700}.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}@media(min-width:1600px){main{padding-left:50px;padding-right:50px}}@media(max-width:1000px){.workspace{grid-template-columns:290px minmax(0,1fr)}.upload-panel{padding:18px}.editor-header{align-items:start;flex-direction:column}.cue-row,.editor-toolbar{padding-left:16px;padding-right:16px}}@media(max-width:760px){.topbar{height:70px}.edition{display:none}main{padding-top:30px}.heading{gap:12px}.language-pill{padding:9px;font-size:.75rem}.language-pill span{margin-left:5px}.workspace{grid-template-columns:1fr}.heading h1{letter-spacing:-.8px}.editor-header{flex-direction:row;align-items:center;padding:18px 16px}.empty{min-height:310px}.cue-texts{gap:12px}.columns-labels{padding-left:16px;padding-right:16px;gap:12px;font-size:.65rem}.editor-toolbar{flex-wrap:wrap}.editor-toolbar select{max-width:100%;width:100%}footer{flex-wrap:wrap}.cues{max-height:580px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.google-frame{display:block;width:100%;height:145px;border:1px solid var(--line);border-radius:8px;background:white}#google-area{margin-top:12px}
.google-frame{height:280px}
.google-frame.finished{height:110px}
