/* Text to Voice Studio 0.1.8 — shared desktop and mobile presentation. */
:root{--teal:#087f73;--muted:#596e72;--line:#dce6e7;--ink:#18343b;--surface:#fff;font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);background:#f3f6f8;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body.studio-page{margin:0;background:radial-gradient(ellipse at 95% 0,#e3efed 0,transparent 40%),#f3f6f8;color:var(--ink);font:15px/1.6 "Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}a{color:#087568}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,a.download{touch-action:manipulation}button:disabled{opacity:.5;cursor:not-allowed}button:not(:disabled),a{transition:background .18s,box-shadow .18s,color .18s}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #149b8a;outline-offset:4px}.hidden{display:none!important}
.skip-link{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{position:fixed;top:10px;left:16px;z-index:100;width:auto;height:auto;clip-path:none;padding:12px 18px;background:#fff;border:2px solid var(--teal);border-radius:10px}
.studio-page .top{padding:0;background:#ffffffed;border-bottom:1px solid var(--line)}.studio-page .top-inner{max-width:1380px;margin:auto;padding:18px 40px;display:flex;align-items:center;justify-content:space-between;gap:28px}.studio-page .brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-size:19px;font-weight:750;white-space:nowrap;line-height:1.3}.brand small{display:block;font-size:9px;letter-spacing:1.65px;font-weight:650;color:#6d7e82;margin-top:5px}.studio-page .logo{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:14px;background:#0b786e;color:white;box-shadow:0 4px 12px #0b786e20}.logo svg{width:28px;height:28px}.studio-nav{display:flex;gap:6px;padding:4px;background:#f0f5f5;border:1px solid #e5edec;border-radius:12px}.studio-nav a{padding:9px 15px;border-radius:8px;text-decoration:none;font-size:13px;font-weight:650;white-space:nowrap;color:#566b6d}.studio-nav a:hover{background:#e2ecea}.studio-nav a[aria-current=page]{color:#07695f;background:#fff;box-shadow:0 2px 5px #193e2b0c}.studio-page .health{max-width:200px;display:flex;align-items:center;gap:8px;font-size:12px;color:#586d6e;line-height:1.5}.dot{display:inline-block;flex:0 0 8px;width:8px;height:8px;background:#9ba9a4;border-radius:50%}.dot.ok{background:#149878;box-shadow:0 0 0 4px #e5f5ef}.studio-label{font-size:12px;color:var(--muted)}
.studio-page main.wrap{width:100%;max-width:1380px;margin:0 auto;padding:32px 40px 24px;outline:none}.studio-page .intro{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:30px;overflow:hidden;min-height:266px;margin:0 0 28px;padding:36px 40px;border:1px solid #245851;border-radius:24px;background:radial-gradient(ellipse at 95% 0,#236b63 0,transparent 60%),#123e3c;color:#fff;box-shadow:0 12px 32px #173e3310}.intro .eyebrow{color:#a4dfcf;font-size:10px;letter-spacing:2px;font-weight:700}.studio-page h1{font-size:clamp(28px,3.2vw,43px);font-weight:750;letter-spacing:-1.4px;line-height:1.22;margin:12px 0 16px;overflow-wrap:normal}.intro h1 span{color:#b5e8d8}.studio-page .intro p{font-size:14px;line-height:1.8;color:#d2e3e0;margin:0}.hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.hero-tags span{font-size:11px;line-height:1.5;border:1px solid #ffffff28;border-radius:6px;padding:5px 9px;color:#dbece7;background:#ffffff08}.hero-art{display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:stretch;min-width:240px;padding:20px 24px;border:1px solid #ffffff1c;border-radius:18px;background:linear-gradient(140deg,#ffffff0d,#ffffff02);transform:rotate(-3deg)}.art-label{font-size:9px;letter-spacing:2.2px;color:#a4d5cb}.intro .wave{display:flex;align-items:center;justify-content:center;height:110px;gap:8px;padding:0 15px}.wave i{display:block;width:6px;height:var(--h);background:#a0e0ce;border-radius:8px;box-shadow:0 0 18px #9ee5d02b}.art-caption{font-size:11px;color:#d0e2de}
.studio-page .tabs{display:flex;width:fit-content;max-width:100%;padding:5px;gap:5px;margin:0 0 24px;border:1px solid #dce6e7;border-radius:13px;background:#e8efef}.studio-page .tabs button{border:0;min-height:44px;padding:11px 22px;border-radius:9px;color:#526b6d;background:transparent;font-size:14px;font-weight:650}.studio-page .tabs button.active{background:#fff;color:#076b60;box-shadow:0 2px 6px #173c3010}
.studio-page .grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);align-items:start;gap:24px;margin-top:0}.grid>*{min-width:0}.studio-page .card{min-width:0;padding:26px;background:var(--surface);border:1px solid #dde6e7;border-radius:18px;box-shadow:0 3px 4px #18343b02,0 12px 32px #18343b03;margin-bottom:0}.studio-page .card+.card{margin-top:22px}.studio-page .heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:20px}.studio-page h2{font-size:16px;font-weight:700;letter-spacing:-.2px;line-height:1.5;margin:0}.studio-page .step{display:inline-grid;place-items:center;vertical-align:middle;width:30px;height:30px;border:1px solid #d8eae5;border-radius:9px;margin-right:10px;color:#087568;background:#eff8f4;font-size:11px;font-weight:700}.studio-page .hint,.studio-page .muted,.studio-page .note{color:var(--muted);font-size:13px;line-height:1.75}.studio-page .editor{display:block;min-height:310px;width:100%;padding:20px;background:#fbfcfd;color:var(--ink);border:1px solid #d9e3e5;border-radius:12px;font-size:16px;line-height:1.85;resize:vertical}.editor::placeholder{color:#819194}.studio-page .editor:focus{outline:3px solid #0b8b7720;border-color:#0b8b77}.studio-page .editor-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:8px}.studio-page .text-button{min-height:40px;padding:7px 0;border:0;background:transparent;color:#087568;font-size:13px;font-weight:650}.studio-page details{background:#f9fbfb;border-color:#e0e9e8!important}.studio-page summary{cursor:pointer;font-size:13px;min-height:28px}.studio-page details small{display:block;color:var(--muted);font-size:12px;line-height:1.7}
.studio-page .upload{padding:22px;border:1px dashed #a9c8c1;border-radius:12px;background:#f6faf9}.upload label{font-size:14px}.studio-page select,.studio-tools input[type=url]{width:100%;min-height:46px;padding:11px 12px;color:var(--ink);background:#fbfcfd;border:1px solid #d9e3e5;border-radius:10px}.studio-page input[type=file]{display:block;max-width:100%;width:100%;font-size:13px;color:var(--muted)}.studio-page input::file-selector-button{min-height:40px;padding:8px 12px;margin-right:12px;border:1px solid #cbded9;border-radius:8px;background:white;color:#14695e;cursor:pointer}.studio-page label.field{display:block;margin:20px 0 9px;font-size:13px;font-weight:650}.studio-page input[type=range]{width:100%;min-height:28px;accent-color:var(--teal);cursor:pointer}.studio-page output{float:right;padding:1px 8px;color:#076b60;background:#eaf5f0;border-radius:5px;font-size:12px;font-variant-numeric:tabular-nums}.studio-page #speechStyles{border-top:1px solid var(--line);margin-top:22px;padding-top:2px}.studio-page .consent{display:flex;align-items:flex-start;gap:10px;padding:14px;margin:22px 0 16px;border-radius:10px;background:#f6f8fa;color:#54696c;font-size:12px;line-height:1.75}.studio-page input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;accent-color:var(--teal);margin-top:3px}.studio-page .submit,.studio-page button.primary,.studio-tools #submit{min-height:48px;padding:13px 18px;border:1px solid #087568;border-radius:10px;background:#087568;color:#fff;font-weight:650;box-shadow:0 4px 10px #08756818;cursor:pointer}.studio-page .submit{width:100%}.studio-page .submit:hover:not(:disabled),.studio-page button.primary:hover:not(:disabled),.studio-tools #submit:hover:not(:disabled){background:#055c53;box-shadow:0 5px 15px #08756828}.studio-page .subhint{font-size:11px;color:var(--muted);text-align:center;margin-top:12px}.studio-page .download{display:block;min-height:44px;padding:11px 14px;border:1px solid #d2e6df;border-radius:9px;background:#edf7f2;color:#07695d;text-align:center;text-decoration:none;font-size:13px;font-weight:650;white-space:normal}.studio-page #previewStyle{font-size:12px;line-height:1.6}.studio-page .empty{padding:28px 8px;color:var(--muted);text-align:center}.studio-page .empty strong{font-size:14px;color:#38595c}.studio-page .empty p{font-size:12px;line-height:1.8}.studio-page .empty-icon{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 16px;border-radius:16px;background:#edf6f2;color:#087568;font-size:24px}.studio-page audio,.studio-page video{max-width:100%;width:100%;display:block;margin-top:14px}.studio-page .status,.studio-page #status{font-size:13px;overflow-wrap:anywhere}.studio-page .error{color:#a03232}.studio-page .progress{width:100%;height:8px;accent-color:var(--teal)}.studio-page .notice{margin-top:26px;padding:12px 16px;border-left:3px solid #d8b36e;border-radius:0 8px 8px 0;background:#f7f4eb;color:#746445;font-size:12px;line-height:1.8}.studio-page footer{color:#65797b!important;font-size:12px!important;line-height:1.8!important;padding-top:24px!important;margin-top:30px!important;border-color:#dce6e7!important}.footer-version{margin-top:12px;color:#7b8b8d;font-size:11px}.studio-page footer a{color:#087568!important;text-underline-offset:3px}
.page-intro{margin-bottom:28px;padding:16px 0 22px;border-bottom:1px solid var(--line)}.page-intro .eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:700;color:#087568}.page-intro h1{font-size:36px;margin-top:10px}.page-intro p{margin:0;max-width:760px;font-size:14px!important}.studio-tools .grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.studio-tools .card{min-height:285px}.studio-tools #submit{width:100%;margin-top:4px}.studio-tools #result{text-align:center}.studio-page .qr{display:block;margin:0 auto;width:min(100%,300px);height:auto}.studio-page .row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.studio-page .row>button,.studio-page .row>a{min-height:44px}.studio-voice button{padding:10px 14px;background:#fff;border:1px solid #cbded9;border-radius:9px;color:#087568;cursor:pointer;font-size:13px}.studio-voice button:hover:not(:disabled){background:#eef6f2}.studio-voice .reading{font-size:22px;line-height:1.9;border-left:3px solid #a9d3c5;padding:4px 0 4px 20px;margin:22px 0;overflow-wrap:anywhere}.studio-voice .timer{margin-left:auto;padding:3px 12px;border-radius:9px;background:#f1f5f6;color:#395d60;font-size:25px;letter-spacing:2px;font-variant-numeric:tabular-nums}.studio-voice .card>h2{margin-bottom:14px}.studio-voice #save{width:100%}.studio-voice label{font-size:13px}.studio-page #source,.studio-page #link,.studio-page .item{overflow-wrap:anywhere}.studio-voice .row>.download{flex:1}.studio-voice #recording-level-note{font-size:12px;color:var(--muted)}
@media(min-width:1600px){.studio-page main.wrap,.studio-page .top-inner{max-width:1480px}.studio-page .grid{grid-template-columns:minmax(0,1.85fr) minmax(360px,1fr)}}
@media(max-width:1100px){.studio-page .top-inner{padding:18px 24px;gap:18px}.studio-label{display:none}.studio-page main.wrap{padding:26px 24px}.studio-page .intro{padding:30px}.hero-art{min-width:190px;padding:14px}.studio-page .grid{gap:18px;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr)}.studio-page .card{padding:22px}.studio-nav a{padding:9px 11px}.studio-page .health{max-width:150px;font-size:11px}.brand small{letter-spacing:1px}}
@media(max-width:850px){.studio-page .top-inner{flex-wrap:wrap;gap:15px}.studio-nav{order:3;flex:1 0 100%;justify-content:center}.studio-nav a{flex:1;text-align:center}.studio-page .grid{grid-template-columns:minmax(0,1fr)}.studio-page .intro{min-height:230px}.hero-art{display:none}.studio-page .editor{min-height:270px}.studio-page .health{max-width:200px}.studio-page .card+.card{margin-top:18px}.studio-page .grid{gap:18px}.studio-page .card{margin-bottom:0}.studio-page .row>.timer{flex:0 0 auto;font-size:25px}.studio-tools .card{min-height:0}}
@media(max-width:600px){.studio-page .top-inner{padding:16px max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));gap:14px}.studio-page .brand{font-size:17px;gap:9px}.brand small{font-size:8px;letter-spacing:1px}.studio-page .logo{width:38px;height:38px;flex-basis:38px;border-radius:11px}.studio-page .health{max-width:125px;font-size:10px;gap:7px}.studio-nav{padding:4px;gap:3px}.studio-nav a{padding:10px 7px;font-size:12px;min-height:40px}.studio-page main.wrap{padding:20px max(14px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}.studio-page .intro{padding:26px 22px;margin-bottom:20px;min-height:0;border-radius:18px}.studio-page h1{font-size:30px;letter-spacing:-1px;line-height:1.25;margin:12px 0 16px}.studio-page .intro p{font-size:13px;line-height:1.8}.desktop-break{display:none}.intro .eyebrow{font-size:9px;letter-spacing:1.5px}.hero-tags{gap:6px;margin-top:18px}.hero-tags span{font-size:10px;padding:5px 7px}.studio-page .tabs{width:100%;margin-bottom:18px;padding:4px;gap:4px}.studio-page .tabs button{flex:1;min-height:48px;padding:9px 8px;font-size:12px;line-height:1.5}.studio-page .card{padding:20px 17px;border-radius:15px}.studio-page h2{font-size:15px}.studio-page .step{width:27px;height:27px;margin-right:7px}.studio-page .heading{margin-bottom:16px}.studio-page .heading>.hint{font-size:11px}.studio-page .editor{min-height:245px;padding:15px;font-size:16px;max-height:65dvh}.studio-page select,.studio-page input[type=url]{font-size:16px;min-height:48px}.studio-page .upload{padding:17px}.studio-page button,.studio-page .download{min-height:44px}.studio-page .submit{min-height:52px;font-size:15px}.studio-page .consent{font-size:13px;padding:12px}.studio-page input[type=checkbox]{width:20px;height:20px;flex-basis:20px}.studio-page .editor-bottom .hint{font-size:12px}.studio-page .page-intro{padding:8px 3px 20px;margin-bottom:20px}.studio-page .page-intro h1{font-size:29px}.studio-page .page-intro p{font-size:13px!important}.studio-voice .reading{font-size:20px;padding-left:14px}.studio-voice .row>button{flex:1 1 120px}.studio-voice .timer{flex:0 0 auto!important;margin-left:0}.studio-page footer{font-size:11px!important;overflow-wrap:anywhere}.studio-page .notice{font-size:11px}.studio-page details{padding:12px!important}.studio-page summary{font-size:12px;line-height:1.7}.studio-page .row>.download{flex:1}}
@media(max-width:360px){.studio-page .brand{font-size:15px}.brand small{font-size:7px}.studio-page .health{max-width:105px}.studio-page h1{font-size:27px}.studio-page .intro{padding:23px 18px}.studio-page .card{padding:18px 14px}.studio-nav a{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
