:root{color-scheme:light;--paper:#f6f5f2;--surface:#fff;--ink:#242d2c;--muted:#666d68;--brand:#225d50;--brand-dark:#154436;--line:#e6e7df;--soft:#f3f5ee;--accent:#eddcc5;--danger:#a03227;--focus:#4d886b;font-family:"Segoe UI",Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,input,summary,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:var(--brand);text-underline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible,.upload-button:focus-within{outline:3px solid var(--focus);outline-offset:4px}svg{width:20px;height:20px;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}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}.skip-link{position:fixed;left:16px;top:-80px;z-index:10;padding:12px;background:#fff}.skip-link:focus{top:12px}
.site-header{max-width:1184px;margin:auto;padding:20px 32px;display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-size:30px;font-weight:750;letter-spacing:-1.6px;text-decoration:none;color:var(--ink)}.brand-mark{background:var(--brand);color:#fff;width:34px;height:36px;border-radius:12px;display:grid;place-items:center}.brand-caption{font-size:12px;font-weight:400;letter-spacing:0;margin-left:6px;color:var(--muted)}.trial-badge{padding:3px 8px;font-size:10px;line-height:1.8;border:1px solid #dcdccf;border-radius:5px;color:#696950}.header-link{margin-left:auto;font-size:12px;text-decoration:none;color:var(--muted);display:flex;gap:8px;align-items:center;min-height:44px}
main{max-width:1184px;margin:auto;padding:0 32px 26px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:36px 0 24px}.eyebrow{font-size:10px;letter-spacing:1px;color:var(--brand);margin:0 0 8px;font-weight:600}h1{font-size:clamp(25px,3vw,36px);font-weight:650;letter-spacing:-1.1px;line-height:1.5;margin:0 0 8px}h2{font-size:16px;line-height:1.6;font-weight:650;letter-spacing:-.3px;margin:0}h3{font-size:19px;margin:4px 0 8px;letter-spacing:-.4px}p{margin:0}.subtitle{font-size:13px;color:var(--muted)}.quiet-label{display:flex;align-items:center;gap:8px;font-size:11px;white-space:nowrap;color:var(--muted);padding-top:28px}.status-dot{width:6px;height:6px;background:#668569;border-radius:50%}.mode-tabs{display:flex;gap:5px;border-radius:12px;background:#eaece5;padding:5px;width:fit-content;margin:0 0 22px}.mode{border:0;background:transparent;display:flex;gap:9px;align-items:center;padding:10px 20px;border-radius:9px;font-size:13px;color:#636b60;min-height:46px;transition:background .15s,color .15s,box-shadow .15s}.mode.active{background:#fff;color:var(--brand-dark);box-shadow:0 1px 5px #223c2310;font-weight:600}.mode svg{width:17px;height:17px}.mode:hover:not(:disabled):not(.active){background:#f2f3ec}
.studio-shell{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:0 6px 30px #30352604;overflow:hidden}.text-panel,.voice-panel{padding:26px 28px;min-width:0}.text-panel{border-right:1px solid var(--line)}.voice-panel{background:#fdfdfb}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.panel-heading h2{display:flex;align-items:center;gap:9px}.step{width:25px;height:25px;border:1px solid var(--line);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px;color:var(--muted);font-weight:500}.small-badge{font-size:10px;color:#62735d;background:#edf3e6;border-radius:5px;padding:3px 8px;white-space:nowrap}label{font-size:12px}.language-select select{min-height:36px!important;font-size:12px!important;background:#fff;padding:5px 25px 5px 9px;border-color:#e8e9e2;border-radius:7px}
textarea,select{width:100%;border:1px solid #dfe2d9;color:var(--ink);border-radius:10px;background:#fff;padding:12px;font-size:16px;line-height:1.75;outline:none;transition:border-color .15s,box-shadow .15s}textarea{resize:vertical;min-height:100px}textarea:focus,select:focus{border-color:#73a185;box-shadow:0 0 0 3px #2e70590d}textarea::placeholder{color:#727a72;opacity:1}textarea[aria-invalid=true]{border-color:#c5867c}.script-editor{font-size:18px;line-height:1.9;min-height:210px;border-color:transparent;background:#fff;padding:4px 0 14px;border-radius:0;resize:vertical}.script-editor:focus{box-shadow:none;border-color:transparent;border-bottom-color:#a4bdab}.editor-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #f1f1ea;padding:8px 0;color:#666d68;font-size:10px}.editor-footer output{white-space:nowrap}.hint{font-size:11px;color:var(--muted);line-height:1.9}.text-button{display:inline-flex;gap:6px;align-items:center;justify-content:center;background:transparent;border:0;padding:8px 0;color:var(--brand);font-size:11px;text-decoration:none;min-height:38px}.text-button svg{width:15px;height:15px}.text-button:hover:not(:disabled){text-decoration:underline}.preferences{border-top:1px solid var(--line);margin-top:20px;padding-top:14px}.preferences summary{list-style:none;display:flex;align-items:center;gap:9px;font-size:12px;color:#555f55;cursor:pointer;min-height:32px}.preferences summary::-webkit-details-marker{display:none}.preferences summary>span{margin-left:auto;font-size:16px}.preferences summary>svg{width:17px;height:17px}.preference-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0 10px}.preference-grid label{display:block;color:var(--muted)}.preference-grid select{margin-top:7px;min-height:44px}.full{grid-column:1/-1}
.standard-voice{min-height:298px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16px 0}.standard-voice p{font-size:12px;line-height:1.9;color:var(--muted)}.standard-voice .secondary{margin-top:24px}.voice-art{display:flex;align-items:center;justify-content:center;gap:6px;width:132px;height:104px;border-radius:50%;background:radial-gradient(ellipse,#ebedda 0,transparent 68%);margin-bottom:14px;transform:rotate(-7deg)}.voice-art span{width:8px;height:24px;border-radius:8px;background:#729082}.voice-art span:nth-child(2n){height:44px;background:#9da979}.voice-art span:nth-child(3n){height:65px;background:#325d4d}.voice-art span:nth-child(5){height:84px;background:#d3ac7c}
.secondary,.record-button,.upload-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 16px;border:1px solid #dce1d5;border-radius:10px;background:#fff;color:var(--ink);font-size:12px;text-decoration:none;cursor:pointer;position:relative}.secondary:hover,.upload-button:hover{background:#f3f5ee}.secondary svg,.record-button svg,.upload-button svg{width:17px;height:17px}.capture-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.record-button{background:#ecf2e7;border-color:#dfe9d7;color:#285c47}.record-button:hover:not(:disabled){background:#e1ecda}.file-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-button:has(input:disabled){opacity:.5;pointer-events:none}.field-label{display:block;margin:16px 0 8px;font-weight:600}.field-error{font-size:12px;color:var(--danger);margin-top:8px}.reference-review{background:#f0f4eb;border-radius:10px;padding:10px 12px;margin:12px 0}.reference-title{display:flex;align-items:center;gap:8px}.reference-title>svg{width:15px;height:15px;color:var(--brand)}.reference-title p{font-size:11px;overflow-wrap:anywhere;flex:1;min-width:0}.icon-button{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;background:transparent;border:0;border-radius:8px;color:var(--muted)}.icon-button:hover{background:#dfe6d8}.icon-button svg{width:16px;height:16px}audio{width:100%;display:block;margin:12px 0;height:45px}.reference-review audio{height:38px}
.recorder{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px;border-radius:10px;background:#fff0eb;border:1px solid #efd7cd;margin:12px 0;font-size:11px}.record-dot{width:7px;height:7px;background:#b75540;border-radius:50%;animation:record-pulse 1s ease infinite}.recorder output{margin-left:auto;white-space:nowrap}.recorder meter{width:100%;height:7px;accent-color:#b75540}.stop-button{border:1px solid #e5c4b9;background:#fff;color:#96432c;border-radius:7px;min-height:42px;padding:8px 16px;width:100%;font-size:12px}
.create-bar{grid-column:1/-1;border-top:1px solid var(--line);padding:20px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px}.consent{display:flex;align-items:center;gap:10px;font-size:13px;min-height:44px;cursor:pointer}.consent input{width:18px;height:18px;accent-color:var(--brand);cursor:pointer;flex-shrink:0;margin:0}.consent-wrap .hint{font-size:10px;margin-left:28px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--brand);border:1px solid var(--brand);border-radius:11px;color:#fff;min-height:52px;font-size:14px;padding:14px 22px;font-weight:600;transition:background .15s}.primary:hover:not(:disabled){background:var(--brand-dark)}.create-button{min-width:235px}.create-arrow{margin-left:auto;width:17px;height:17px}.primary:disabled{opacity:1;background:#c2cbc0;border-color:#c2cbc0;color:#fff}.create-button.is-busy>svg:first-child{animation:record-pulse 1.1s infinite}
.status-bar{grid-column:1/-1;background:#f1f5eb;border-top:1px solid #e4ebda;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px 28px}.status-bar>div{flex:1;min-width:0}.status-bar strong{font-size:12px;font-weight:600}.status-bar p{font-size:11px;color:var(--muted);margin-top:2px;overflow-wrap:anywhere}.status-icon{width:7px;height:7px;background:#739565;border-radius:50%;flex-shrink:0}.status-bar[data-busy=true] .status-icon{animation:record-pulse 1.1s infinite}.status-bar progress{width:100%;height:4px;border:0;border-radius:4px;accent-color:var(--brand)}.status-bar progress::-webkit-progress-bar{background:#dfe9d9;border-radius:4px}.status-bar progress::-webkit-progress-value{background:var(--brand);border-radius:4px}.status-bar.error{background:#fff3ee;border-color:#efdad1}.status-bar.error strong{color:var(--danger)}.status-bar.error .status-icon{background:var(--danger)}.cancel-button{color:#874c38;padding:5px}
.result-card{padding:22px 28px;border:1px solid var(--line);background:#fff;border-radius:17px;margin-top:20px}.result-heading{display:flex;align-items:center;gap:14px}.output-icon{width:46px;height:46px;border-radius:14px;background:#f1efe5;color:#8d8262;display:grid;place-items:center;flex-shrink:0}.result-heading h2{font-size:14px}.result-heading p{font-size:11px;color:var(--muted);margin-top:3px}.result-heading>.small-badge{margin-left:auto}.result-card.has-result .output-icon{background:#e5efde;color:var(--brand)}#waveform{width:100%;height:72px;margin:18px 0 8px}#result{height:48px;margin:6px 0 18px}.result-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.result-actions details{font-size:11px;color:var(--muted);padding-top:12px}.result-actions summary{cursor:pointer;min-height:32px}.metrics{display:flex;gap:24px;flex-wrap:wrap;padding:10px 0}.metrics strong{display:block;font-size:15px;font-weight:600;color:var(--ink)}.metrics span{font-size:10px}.notice{display:flex;align-items:center;gap:16px;padding:14px 18px;background:#f4eddd;border:1px solid #e9ddc0;border-radius:12px;margin-bottom:16px;color:#6e5b35;font-size:12px}.notice>div{flex:1}.notice p{font-size:11px;line-height:1.8}.notice strong{font-size:12px}.recovery{background:#faf0e4}
footer{padding-top:24px;text-align:center;color:var(--muted)}footer>p{font-size:11px}footer>div{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:8px;font-size:10px}footer button,footer a{font-size:10px!important}footer button{min-height:30px!important}
.docs{max-width:920px;padding-top:28px}.docs h1{font-size:30px}.docs h2{margin-top:28px}.docs p,.docs li{font-size:14px;margin:10px 0;overflow-wrap:anywhere}.docs pre{overflow:auto;background:#25352d;color:#f0f3eb;padding:20px;border-radius:12px;font-size:12px}.docs .note{background:#e9efdf;padding:16px;border-radius:12px;margin:18px 0;font-size:13px}body:has(.docs)>header{display:flex;align-items:center;justify-content:space-between;max-width:920px;margin:auto;padding:24px 32px;border-bottom:1px solid var(--line)}
@keyframes record-pulse{0%,100%{opacity:.45}50%{opacity:1}}@media(min-width:1000px){.voice-panel{padding:26px 30px}.script-editor{min-height:234px}}
@media(max-width:760px){.site-header{padding:15px 20px;gap:12px}.brand{font-size:27px}.brand-caption{font-size:10px;margin-left:2px}.trial-badge{display:none}main{padding:0 18px calc(24px + env(safe-area-inset-bottom,0px))}.page-heading{padding:26px 0 20px}.quiet-label{display:none}h1{font-size:26px;letter-spacing:-.8px}.mode-tabs{width:100%;margin-bottom:18px}.mode{flex:1;justify-content:center;font-size:12px;padding:10px 8px;gap:7px}.studio-shell{grid-template-columns:minmax(0,1fr);border-radius:16px}.text-panel{border-right:0;border-bottom:1px solid var(--line)}.text-panel,.voice-panel{padding:21px}.script-editor{height:180px;min-height:140px;font-size:17px;resize:vertical}.standard-voice{min-height:0;display:grid;grid-template-columns:64px 1fr;column-gap:16px;text-align:left;padding:0}.voice-art{grid-row:1/4;width:62px;height:80px;gap:3px;margin:0}.voice-art span{width:4px;max-height:54px}.standard-voice h3{font-size:16px;margin:0}.standard-voice p{font-size:11px}.standard-voice p br{display:none}.standard-voice .secondary{margin-top:12px;justify-self:start;min-height:40px;padding:8px 12px;font-size:11px}.preferences{margin-top:14px}.panel-heading{margin-bottom:14px}.create-bar{padding:18px 21px;gap:16px;align-items:stretch;flex-direction:column}.create-button{width:100%;min-width:0}.create-arrow{margin-left:8px}.consent-wrap .hint{margin-top:4px}.status-bar{padding:15px 21px}.result-card{padding:20px;border-radius:15px}.result-actions{flex-direction:column;align-items:stretch;gap:5px}.result-actions>.secondary{width:100%}.result-actions details{text-align:center}.metrics{justify-content:center}.header-link{font-size:11px}.language-select select{font-size:16px!important;padding:4px 8px;max-width:120px}.panel-heading h2{font-size:14px}.voice-panel .small-badge{font-size:9px}footer>div{gap:8px 13px}select{min-height:46px}.capture-actions{gap:8px}.capture-actions>*{padding:10px 8px;font-size:12px}.field-label{font-size:12px}}
@media(max-width:360px){.brand-caption{display:none}.mode{font-size:11px}.text-panel,.voice-panel,.create-bar{padding-left:16px;padding-right:16px}.language-select select{max-width:106px}.small-badge{white-space:normal}.preference-grid{grid-template-columns:1fr}.full{grid-column:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
