:root{--ink:#232538;--muted:#85869c;--accent:#7454de;--line:#e8e8f1;--background:#f8f9fd}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--background);font-size:15px;line-height:1.55}[hidden]{display:none!important}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #b1a0ef;outline-offset:4px}.brand{font-size:31px;font-weight:750;letter-spacing:-1.5px;display:flex;align-items:center;gap:9px;text-decoration:none}.brand-mark{display:grid;place-items:center;background:#7454de;color:white;width:34px;height:36px;border-radius:11px;font-size:29px;font-style:italic;font-weight:750;padding-right:4px;line-height:1}.brand-period{color:#9679ed;margin-left:-9px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:750;color:#9684c2}.muted{color:var(--muted)}.small{font-size:12px}.button{display:inline-flex;justify-content:center;align-items:center;gap:16px;border:1px solid transparent;padding:13px 19px;border-radius:9px;font-size:13px;font-weight:650;text-decoration:none;min-height:45px;transition:background .15s,transform .15s}.button.primary{background:var(--accent);color:white;box-shadow:0 5px 15px #7454de20}.button.primary:hover:not(:disabled){background:#6244ca;transform:translateY(-1px)}.button.secondary{background:#fff;border-color:#e5e1f0;color:#7964b2}.full{width:100%}.text-button{background:none;border:0;padding:0;color:#8b72c7;font-size:12px;font-weight:600;text-align:left}.tag{font-size:8px;letter-spacing:.8px;background:#f0ecfa;color:#987bce;padding:4px 7px;border-radius:4px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:230px;padding:35px 24px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20}.beta{align-self:flex-start;margin:15px 0 46px 42px;padding:3px 8px;border:1px solid #ece6f6;border-radius:4px;font-size:8px;letter-spacing:1.5px;color:#a18abf}.nav-label{font-size:9px;letter-spacing:1.6px;color:#aaa8bd;margin:0 12px 14px}.sidebar nav{display:grid;gap:7px}.sidebar nav button{display:flex;align-items:center;gap:13px;width:100%;background:none;border:0;color:#9391a8;text-align:left;font-size:12px;padding:12px 13px;border-radius:8px;white-space:nowrap}.sidebar nav button span{font-size:18px;color:#ada6c7;width:20px;text-align:center}.sidebar nav button.active{background:#eee9fa;color:#7655cf;font-weight:650}.sidebar nav button.active span{color:#8d6edc}.sidebar-bottom{margin-top:auto}.engine-status{display:flex;align-items:center;gap:10px;font-size:10px;color:#8a8b99;border:1px solid #eeedf3;border-radius:8px;padding:12px 9px}.engine-status i,.local-badge{color:#78a597}.engine-status i{width:6px;height:6px;background:#8bbd9c;border-radius:50%}.engine-status small{display:block;font-size:8px;color:#b3b2c1;margin-top:3px}.signout{display:flex;align-items:center;gap:12px;border:0;background:none;color:#aaa4b9;font-size:12px;margin:23px 8px}.sidebar-bottom>p{font-size:8px;color:#c0bacb;margin:24px 0 0}.main-shell{margin-left:230px}.topbar{height:85px;background:#fff;border-bottom:1px solid var(--line);padding:0 45px;display:flex;align-items:center;justify-content:space-between;gap:20px}.crumb{display:flex;gap:18px;align-items:center;font-size:12px;color:#aaa7b9}.crumb strong{color:#7f7497;font-weight:500}.crumb>span{color:#c5bdd4;font-size:20px}.topbar-right{display:flex;align-items:center;gap:25px}.credit-pill{border:1px solid #e8e2f4;background:#f9f6ff;color:#a093be;border-radius:30px;padding:8px 13px;font-size:10px;white-space:nowrap}.credit-pill i{color:#9d7ee2;font-style:normal;margin-right:5px}.credit-pill strong{font-weight:650;color:#8a70b5}.avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#efe9f7;color:#a28cc0;font-size:13px}main{max-width:1500px;margin:auto;padding:40px 45px 24px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:34px}.page-heading h1{font-size:30px;line-height:1.3;letter-spacing:-1.2px;font-weight:650;margin:12px 0 10px}.page-heading p{font-size:12px;margin:0}.local-badge{font-size:9px;white-space:nowrap;border:1px solid #e1ece4;background:#f3faf5;border-radius:20px;padding:7px 10px}.studio-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:23px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:24px}.panel h2{font-size:17px;font-weight:650;letter-spacing:-.3px;margin:0 0 14px}.panel p{font-size:12px;line-height:1.8}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.panel-top h2{margin:0}.panel-top>.small{font-size:9px}.script-panel{padding:25px 25px 18px}.script-panel textarea{display:block;width:100%;min-height:250px;resize:vertical;background:#fff;border:0;outline:none;color:#555667;font-size:15px;line-height:1.9;padding:4px 0}.script-panel textarea::placeholder{color:#c2bece}.script-bottom{border-top:1px solid #f0edf5;display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:15px;margin-top:12px}.script-bottom>.small{font-size:10px}.generation-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 1px 26px}.generation-bar strong{display:block;font-size:12px;font-weight:600;color:#7e7297}.generation-bar .small{display:block;font-size:9px;margin-top:4px}.results-panel{padding-bottom:15px}.settings-panel h2{font-size:20px;margin:10px 0 25px}.settings-panel label{display:block;color:#7f7690;font-size:11px;margin-bottom:13px}.settings-panel select{width:100%;display:block;margin-top:10px;font-size:12px;color:#81798e;background:#fff;border:1px solid #e7e1ed;border-radius:7px;padding:11px 10px}.selected-voice{display:flex;align-items:center;gap:12px;margin:20px 0 17px}.voice-avatar{width:43px;height:43px;background:#f0eafa;border-radius:13px;display:grid;place-items:center;color:#9d7ad5;font-size:17px;flex-shrink:0}.voice-avatar.male{background:#e8eef7;color:#89a6cb}.selected-voice strong{font-size:13px;font-weight:600;display:block}.selected-voice small{font-size:10px;color:#aca4b7}.setting-divider{border-top:1px solid #eeeaf3;margin:25px 0}.range-label{display:flex!important;justify-content:space-between;align-items:center}.range-label strong{font-size:10px;color:#a18abc;font-weight:500}input[type=range]{width:100%;accent-color:#9678d9;height:4px}.range-ends{display:flex;justify-content:space-between;font-size:8px;color:#b6aec2;margin-top:10px}.settings-panel .tag{float:right;margin-top:-2px}.settings-panel .small{font-size:10px}.settings-note{display:flex;gap:11px;padding:15px 12px;background:#f7f4fc;border:1px solid #eee7f6;border-radius:8px;margin-top:28px;color:#b29acb}.settings-note p{font-size:9px!important;line-height:1.9;margin:0}.settings-note>span{font-size:20px}.empty-state{text-align:center;padding:28px 10px;color:#c3bacf}.empty-state>span{font-size:28px;color:#b5a4cf}.empty-state h3{font-size:13px;font-weight:550;color:#a396b2;margin:10px 0 5px}.empty-state p{font-size:10px;color:#bcb4c7;max-width:300px;margin:auto}.job{padding:17px 0;border-top:1px solid #f1edf6}.job:first-child{border-top:0}.job-head{display:flex;justify-content:space-between;gap:15px;align-items:start}.job h3{font-size:12px;font-weight:550;margin:0 0 6px;color:#776d87}.job-meta{font-size:9px;color:#aaa0b6}.status{font-size:8px;border-radius:20px;padding:4px 8px;white-space:nowrap;background:#f3f0f8;color:#b09ac5}.status.completed{background:#eaf5ef;color:#7ba68f}.status.failed{background:#fff0ee;color:#bc897e}.status.running{background:#eee8fb;color:#9877d1}.job audio{width:100%;height:32px;margin-top:12px}.download{font-size:10px;color:#9880be;display:inline-block;margin-top:8px;text-decoration:none}.job-error{color:#bd8d7c;font-size:11px}.section-label h2{font-size:21px;margin:0 0 5px;letter-spacing:-.5px}.section-label p{font-size:12px;margin:0 0 25px}.voice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.voice-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px}.voice-card h3{font-size:16px;margin:15px 0 3px}.voice-card p{font-size:10px;color:#aba2b7;line-height:1.8;min-height:35px}.voice-card small{font-size:9px;color:#b4a9bf}.voice-card .button{padding:8px 11px;font-size:10px;min-height:35px;width:100%;margin-top:12px}.profile-panel{display:grid;grid-template-columns:1fr 1fr;gap:35px}.profile-panel h2{font-size:24px;margin:10px 0}.profile-panel form{display:grid;gap:15px}.profile-panel label{display:grid;gap:7px;font-size:12px;color:#8a7b9a}.profile-panel input:not([type=checkbox]){padding:11px;width:100%;border:1px solid var(--line);border-radius:7px;font-size:13px}.checkbox-label{display:flex!important;align-items:center;gap:9px!important;font-size:10px!important}.checkbox-label input{accent-color:var(--accent)}#profiles-list{grid-column:1/-1;font-size:12px;color:#9685a7}.usage-banner{border:1px solid #e5ddf6;border-radius:13px;padding:32px;background:#f0ebfa;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.usage-banner h2{font-size:30px;color:#8168b5;margin:14px 0 10px;letter-spacing:-1px}.usage-banner p{font-size:12px;color:#a392bc}.usage-star{font-size:90px;color:#d7c8ee;line-height:1}.ledger-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:15px 0;font-size:12px;color:#8b7c9b}.ledger-row small{display:block;font-size:9px;color:#b7abc3;margin-top:4px}.ledger-row strong{font-weight:550;color:#9e87ba}.api-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:24px}.api-grid .panel>h2{font-size:24px;margin-top:14px}.api-grid .button{margin:18px 0}.code-panel pre{background:#f7f5fb;border:1px solid #eee9f5;border-radius:8px;overflow:auto;padding:20px;font:11px/1.9 ui-monospace,monospace;color:#9a86b6}#new-key-result{background:#f7f4fc;border-radius:8px;padding:15px;overflow-wrap:anywhere}#new-key-value{font-size:11px;color:#8f73b8}.key-row{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-top:1px solid var(--line);font-size:11px;color:#ac9abd}footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);margin-top:40px;padding-top:20px;font-size:8px;color:#b9b2c5}.login-view{display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh}.login-story{background:#efeaf9;padding:55px 13%;display:flex;flex-direction:column;justify-content:space-between;gap:50px}.login-story h1{font-size:65px;font-weight:650;letter-spacing:-3px;line-height:1.13;margin:25px 0}.login-story em{font-style:normal;color:#8f72c8}.login-story>div>p{font-size:16px;line-height:1.9;color:#a695b9;max-width:340px}.login-story>.muted{font-size:10px;color:#b5a6c6}.login-form-wrap{background:#fff;padding:60px 15%;display:flex;align-items:center;justify-content:center}.login-form-wrap form{width:100%;max-width:390px}.login-form-wrap h2{font-size:32px;letter-spacing:-1.3px;line-height:1.3;font-weight:650;margin:20px 0}.login-form-wrap form>.muted{font-size:13px;margin-bottom:32px}.login-form-wrap label{display:grid;gap:9px;font-size:12px;font-weight:600;margin:20px 0;color:#8f809d}.login-form-wrap input{font-size:15px;padding:14px;border:1px solid #e9e3ef;border-radius:8px;width:100%}.login-form-wrap .button{width:100%;margin:12px 0 18px}#login-error{color:#bf736a;font-size:12px}.wave-art{display:flex;align-items:center;gap:7px;height:110px;margin-top:30px}.wave-art i{width:7px;height:40%;border-radius:9px;background:#c7b4e7}.wave-art i:nth-child(3n){height:80%;background:#ad92d6}.wave-art i:nth-child(4n){height:55%}.wave-art i:nth-child(5n){height:100%;background:#b79cdd}#notifications{position:fixed;right:25px;top:25px;z-index:100;width:min(400px,calc(100vw - 40px));display:grid;gap:12px;pointer-events:none}.notification{padding:18px 20px;background:#fff;border:1px solid #e8e1f3;border-left:4px solid #9f81d1;box-shadow:0 15px 45px #35264e1a;border-radius:11px;color:#8d799d;font-size:13px;pointer-events:auto;display:flex;justify-content:space-between;gap:15px}.notification.error{border-left-color:#c28079}.notification button{border:0;background:none;font-size:17px;color:#b6a5c4;padding:0;align-self:start}.tab>h2{margin-top:0}@media(min-width:1700px){body{font-size:17px}.sidebar{width:260px}.main-shell{margin-left:260px}.studio-grid{grid-template-columns:minmax(0,1fr) 330px}.page-heading h1{font-size:36px}.script-panel textarea{min-height:330px}}@media(max-width:1100px){.sidebar{width:200px;padding-inline:18px}.main-shell{margin-left:200px}main{padding:30px 28px}.topbar{padding-inline:28px}.studio-grid{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.panel{padding:20px}.local-badge{display:none}.voice-grid{grid-template-columns:repeat(2,1fr)}.page-heading h1{font-size:26px}}@media(max-width:850px){.studio-grid{grid-template-columns:1fr}.settings-panel{grid-row:1}.settings-panel .settings-note{display:none}.settings-panel .setting-divider{margin:17px 0}.settings-panel{display:grid;grid-template-columns:1fr 1fr;gap:5px 20px}.settings-panel>.eyebrow,.settings-panel>h2{grid-column:1/-1}.settings-panel>h2{margin-bottom:12px}.settings-panel>.setting-divider{grid-column:1/-1}.settings-panel>.range-label,.settings-panel>#speed,.settings-panel>.range-ends{grid-column:1/-1}.api-grid{grid-template-columns:1fr}.profile-panel{grid-template-columns:1fr;gap:15px}.script-panel textarea{min-height:210px}}@media(max-width:650px){.sidebar{position:relative;width:auto;padding:22px 20px 10px;gap:15px}.sidebar .brand{font-size:28px}.beta,.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow:auto;gap:3px}.sidebar nav button{font-size:10px;padding:9px;gap:7px;flex-shrink:0;width:auto}.sidebar nav button span{font-size:14px;width:auto}.main-shell{margin-left:0}.topbar{height:65px;padding-inline:20px}.crumb{font-size:10px;gap:10px}.topbar-right{gap:12px}.credit-pill{font-size:9px;padding:7px 10px}.avatar{width:29px;height:29px;font-size:10px}main{padding:26px 20px}.page-heading{margin-bottom:25px}.page-heading h1{font-size:27px;max-width:300px;line-height:1.3}.page-heading p{font-size:12px;max-width:320px}.generation-bar{flex-direction:column;align-items:stretch;gap:15px}.generation-bar .button{width:100%}.voice-grid{gap:12px}.voice-card{padding:17px}.usage-banner{padding:23px}.usage-banner h2{font-size:25px}.usage-star{font-size:60px}footer{flex-direction:column;gap:6px;margin-top:30px}.login-view{grid-template-columns:1fr}.login-story{padding:28px}.login-story>div,.login-story>.muted{display:none}.login-form-wrap{padding:45px 28px;align-items:start}.login-form-wrap h2{font-size:29px}.settings-panel .selected-voice{margin-block:6px 13px}.settings-panel .button{font-size:11px}input,select,textarea{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Reading and action text remains comfortable at ordinary laptop sizes. */
.sidebar nav button{font-size:14px}.crumb{font-size:13px}.credit-pill{font-size:12px}.page-heading p{font-size:15px}.button{font-size:14px}.panel h2{font-size:19px}.settings-panel label{font-size:14px}.settings-panel select{font-size:14px}.settings-panel .small{font-size:12px}.text-button{font-size:13px}.generation-bar strong{font-size:14px}.generation-bar .small{font-size:12px}.script-bottom>.small{font-size:12px}.job h3{font-size:14px}.job-meta{font-size:12px}.status{font-size:11px}.download{font-size:12px}.empty-state h3{font-size:16px}.empty-state p{font-size:13px}.voice-card p{font-size:13px}.voice-card small{font-size:12px}.profile-panel label{font-size:14px}.checkbox-label{font-size:13px!important}.ledger-row{font-size:14px}.ledger-row small{font-size:12px}.panel p{font-size:14px}.range-ends{font-size:11px}.settings-note p{font-size:12px!important}.code-panel pre{font-size:12px}.tag{font-size:9px}.selected-voice strong{font-size:16px}.selected-voice small{font-size:12px}@media(max-width:650px){.sidebar nav button{font-size:12px}.page-heading p{font-size:14px}.panel{padding:19px}}

.brand{font-size:27px;letter-spacing:-1.25px}.brand-mark{font-size:25px}.sidebar{padding-left:20px;padding-right:20px}
