[hidden]{display:none!important}*{box-sizing:border-box}body{margin:0;background:#f4f5f1;color:#203c35;font:16px/1.5 system-ui,sans-serif}main{max-width:1180px;margin:auto;padding:28px}header,.panelHead,.actions{display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{font-weight:750;font-size:23px;color:inherit;text-decoration:none}.badge{background:#e7ece5;border:1px solid #d6dfd3;border-radius:30px;padding:7px 13px;font-size:12px}.intro{padding:45px 0 30px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#668175}h1{font-size:clamp(32px,4vw,49px);line-height:1.14;letter-spacing:-2px;margin:12px 0 18px}h2{font-size:18px;margin:0 0 18px}.intro>p:last-child{color:#687b73}.layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.panel{background:#fff;border:1px solid #e0e6de;border-radius:20px;padding:26px;box-shadow:0 10px 30px #243f3405}label{display:block;font-size:13px;font-weight:650;margin:15px 0 7px}select,textarea{width:100%;padding:12px;border:1px solid #cdd8cf;border-radius:9px;background:#fafbf8;color:inherit;font:inherit}textarea{resize:vertical}.help,.notice{font-size:12px;color:#61756a}.notice{padding:12px;background:#f3f5ef;border-radius:8px;margin:22px 0}.pair{display:flex;gap:16px}.pair>div{flex:1}.actions{justify-content:flex-start;flex-wrap:wrap}button{border:0;border-radius:9px;background:#285b47;color:#fff;padding:13px 17px;font:600 13px system-ui;cursor:pointer}.secondary{background:#edf1eb;color:#31523f}button:disabled{opacity:.45;cursor:default}button:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #94b19c;outline-offset:3px}.panelHead{align-items:baseline}.panelHead h2{margin:0}#status{font-size:12px;background:#f0f3eb;padding:6px 10px;border-radius:25px}.orb{margin:30px auto 12px;display:grid;place-items:center;width:105px;height:105px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#e6eedb,#a9c3a7);color:#426b50;font-size:42px;box-shadow:0 0 0 12px #f5f8f1}.live .orb{animation:breathe 2s infinite alternate}@keyframes breathe{to{box-shadow:0 0 0 18px #eff5e8}}#hint{text-align:center;color:#61756a;font-size:13px;margin:24px 0}#error{color:#963d30;font-size:13px}audio{width:100%;height:32px;margin:0 0 16px}#transcript{height:245px;overflow:auto;border-top:1px solid #edf0e9;padding-top:14px}.empty{font-size:13px;color:#89978e}.turn{padding:10px 13px;background:#f3f6ef;border-radius:10px;margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.turn strong{display:block;font-size:11px;color:#6b8171;margin-bottom:4px}.turn p{margin:0;font-size:14px}.turn p.caption{margin-top:6px;padding:6px 0 0 10px;border-left:3px solid #9fbfaa;font-size:13px;color:#3f5c4d;font-style:italic}.captionLabel{font-style:normal;font-weight:650;font-size:11px;color:#6b8171}label.check{display:flex;align-items:center;gap:8px;font-weight:500}label.check input{width:auto;margin:0}footer{padding:24px 0;color:#77877c;font-size:12px}@media(max-width:760px){main{padding:18px}.layout{grid-template-columns:1fr}header{align-items:flex-start}.badge{max-width:160px}.intro{padding-top:26px}.panel{padding:20px}}@media(prefers-reduced-motion:reduce){.live .orb{animation:none}}
.nav{display:flex;gap:6px;flex-wrap:wrap}.nav a{color:#31523f;text-decoration:none;font-size:13px;font-weight:600;padding:7px 12px;border-radius:30px}.nav a[aria-current=page],.nav a:hover{background:#e7ece5}.optional{font-size:11px;font-weight:600;color:#6b8171;background:#edf1eb;border-radius:20px;padding:3px 8px;margin-left:6px;vertical-align:middle}.spaced{margin-top:30px;padding-top:22px;border-top:1px solid #edf0e9}.toneStatus{font-size:13px;padding:9px 12px;border-radius:8px;background:#fbf3e4;color:#6d5320}.toneStatus.ok{background:#e6f1e8;color:#285b47}.readLine{margin:12px 0;padding:12px 14px;border-left:3px solid #9fbfaa;background:#f6f8f3;border-radius:0 8px 8px 0;font-size:14px;font-style:italic}.download{display:inline-block;margin:0 0 6px;font-size:13px;font-weight:600;color:#285b47}.sources{border:0;padding:0;margin:0 0 10px}.sources label{margin:6px 0}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}#studioError{color:#a33a2b;font-weight:600;min-height:1em}input[type=range]{width:100%;accent-color:#285b47}code{font-size:12px;background:#edf1eb;padding:1px 5px;border-radius:4px}.downloads{display:flex;gap:18px;flex-wrap:wrap}.mediaBox{border:1px dashed #b9cbbd;border-radius:14px;padding:14px 16px;margin:0 0 18px;background:#fafcf8}.mediaBox h3{font-size:14px;margin:0 0 4px}.thumbs{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.thumbs figure{margin:0;position:relative}.thumbs img,.thumbs video{height:84px;max-width:150px;border-radius:8px;object-fit:cover;display:block;background:#e7ece5}.thumbs figcaption{position:absolute;top:4px;left:4px;background:#285b47;color:#fff;font-size:11px;font-weight:700;border-radius:10px;padding:1px 7px}.analysis{font-size:13px;background:#fff;border:1px solid #e0e6de;border-radius:10px;padding:10px 14px;margin:10px 0}.analysis p{margin:6px 0}.analysis ul{margin:2px 0 8px;padding-left:18px}.analysis strong{font-size:12px}.pron{margin:0 0 14px;padding:10px 14px;border:1px solid #e0e6de;border-radius:10px;background:#fafcf8}.pron summary{cursor:pointer;font-size:13px;font-weight:650}.pronRow{display:flex;gap:8px;align-items:center;margin:6px 0}.pronRow input{flex:1;min-width:0;padding:8px;border:1px solid #cdd8cf;border-radius:8px;font:inherit;font-size:13px}.pronRow button{padding:8px 11px}
[hidden]{display:none!important}
/* A fluid desktop workspace, with readable columns instead of a narrow page. */
@media(min-width:761px){
 main{max-width:none;width:100%;padding:24px clamp(24px,3vw,64px);min-height:100vh}
 header{flex-wrap:wrap}
 .intro{padding:24px 0 20px}
 .intro h1{font-size:clamp(32px,3vw,46px);margin:10px 0 12px}
 .intro>p:last-child{margin-bottom:0;max-width:85ch}
 .layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,2vw,36px);align-items:start}
 .panel{min-width:0;padding:clamp(22px,2vw,36px)}
 .pair>div{min-width:0}
 .conversation{display:flex;flex-direction:column;min-height:calc(100vh - 240px)}
 .conversation #transcript{height:clamp(260px,36vh,600px);flex:1;min-height:260px}
 #script{min-height:260px}
}
@media(max-width:1000px){
 header{flex-wrap:wrap}
 .pair{flex-wrap:wrap}
 .pair>div{flex:1 1 180px}
 input[type=file]{max-width:100%}
}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]){width:100%;padding:10px 12px;border:1px solid #cdd8cf;border-radius:9px;background:#fafbf8;color:inherit;font:inherit}#savedFiles{margin-top:12px}
.intro.compact{padding:26px 0 14px}.intro.compact h1{font-size:clamp(28px,4vw,40px)}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]){width:100%;padding:12px;border:1px solid #cdd8cf;border-radius:9px;background:#fafbf8;color:inherit;font:inherit;box-sizing:border-box}.chat{height:420px;overflow:auto;border-top:1px solid #edf0e9;padding-top:12px;display:flex;flex-direction:column;gap:10px}.bubble{max-width:86%;padding:10px 13px;border-radius:14px;white-space:pre-wrap;overflow-wrap:anywhere}.bubble strong{display:block;font-size:11px;color:#6b8171;margin-bottom:3px}.bubble p{margin:0;font-size:15px}.bubble .translation{margin-top:6px;padding-top:6px;border-top:1px solid #0000000f;font-size:14px;color:#3f5c4d}.bubble.visitor{align-self:flex-start;background:#f3f6ef;border-bottom-left-radius:4px}.bubble.team{align-self:flex-end;background:#e2efe6;border-bottom-right-radius:4px}.liveLine{margin:10px 0;padding:9px 12px;border-radius:10px;background:#fbf3e4;color:#6d5320;font-size:14px}.liveLine span:first-child{font-weight:650}.typeForm{display:flex;gap:8px;margin:12px 0}.typeForm input{flex:1}.history{display:flex;flex-direction:column;gap:6px}.historyRow{display:flex;gap:12px;align-items:center;font-size:13px;padding:8px 10px;background:#f6f8f3;border-radius:8px}.historyRow span{flex:1}.historyRow a{color:#285b47;font-weight:650}a.button{display:inline-block;text-decoration:none;border-radius:9px;background:#285b47;color:#fff;padding:13px 17px;font:600 13px system-ui}a.button.secondary{background:#edf1eb;color:#31523f}@media(max-width:760px){.chat{height:55vh}.bubble{max-width:94%}.translatorPage .pair{flex-direction:column;gap:0}}.who{font-size:12px;color:#61756a}.narrowPanel{max-width:420px;margin:30px auto}main.narrow{max-width:640px}main.narrow form input,main.narrow form select{margin-bottom:4px}
.ok{background:#e6f1e8;color:#285b47;padding:12px 14px;border-radius:9px}.error,#error{color:#a33a2b;font-weight:600}
button.link{background:none;color:#285b47;padding:4px 6px;font-weight:650;text-decoration:underline}button.link.danger{color:#a33a2b}
.historyRow button.link{font-size:13px}.conversation .actions{margin-top:6px}
@media(max-width:760px){header{flex-wrap:wrap}.pair{flex-direction:column;gap:0}}
