@font-face{font-family:system-myanmar;src:local("Noto Sans Myanmar"),local("Myanmar Text")} :root{font-family:"DM Sans",system-myanmar,"Noto Sans Myanmar",sans-serif;color:#2c2025;background:#faf7f7;font-synthesis:none;--wine:#89163a;--red:#bd2c53;--pink:#f8e9ed;--muted:#897b81;--line:#eee5e7;--surface:rgba(255,255,255,.88);--shadow:0 18px 50px rgba(84,26,45,.055)}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 6% 8%,rgba(250,224,231,.72),transparent 32%),radial-gradient(ellipse at 92% 39%,rgba(251,239,239,.9),transparent 28%),#faf8f8;overflow-x:hidden}.ambient{position:fixed;z-index:-1;border-radius:50%;filter:blur(1px);pointer-events:none}.ambient-one{width:390px;height:390px;background:rgba(255,235,239,.5);top:260px;left:-300px}.ambient-two{width:310px;height:310px;border:1px solid rgba(157,41,72,.07);right:-170px;top:100px}.topbar{position:sticky;top:0;z-index:5;min-height:76px;padding:12px max(24px,calc((100vw - 1240px)/2));display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom:1px solid rgba(137,22,58,.09)}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand-mark{width:43px;height:43px;display:grid;place-items:center;color:white;background:linear-gradient(135deg,#9a1239,#d83e65);border-radius:14px;box-shadow:0 8px 18px rgba(167,29,69,.21)}.brand-mark svg{width:30px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.brand-copy{display:flex;flex-direction:column;gap:2px}.brand-line{display:flex;align-items:center;gap:10px}.brand-line strong{font-size:15px;letter-spacing:.04em;color:#26191e}.brand-tag{font-size:9px;font-weight:700;letter-spacing:.1em;color:#9b2347;background:#fae9ee;border:1px solid #f2d7df;padding:4px 7px;border-radius:20px}.brand-sub{font-size:10px;color:#96878c;letter-spacing:.01em}.top-actions{display:flex;align-items:center;gap:16px}.engine-status{display:flex;align-items:center;gap:8px;color:#72656a;background:#f8f5f5;border:1px solid #eee7e8;border-radius:9px;padding:8px 11px;font-size:10px;font-weight:600}.engine-status i,.ready-dot{display:inline-block;width:7px;height:7px;background:#2fa476;border-radius:50%;box-shadow:0 0 0 4px rgba(47,164,118,.1)}button,select,textarea{font:inherit}.button{border:0;cursor:pointer;font-weight:600;transition:transform .18s,box-shadow .18s,background .18s}.button:active{transform:scale(.985)}.button-outline{display:flex;align-items:center;gap:6px;color:#63535a;background:white;border:1px solid #e9dfe2}.button-outline svg{width:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.button-small{min-height:34px;padding:7px 11px;border-radius:9px;font-size:10px}.workspace{max-width:1240px;margin:0 auto;padding:34px 24px 20px}.intro-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:25px}.eyebrow{display:flex;align-items:center;gap:9px;color:#9c2248;font-size:9px;font-weight:700;letter-spacing:.18em;margin:0 0 12px}.eyebrow-line{width:20px;height:2px;border-radius:4px;background:#bd2c53}.eyebrow .myanmar{letter-spacing:0;color:#a18f95;font-size:10px;font-weight:500;margin-left:4px}.intro-row h1{font-size:clamp(30px,4vw,46px);letter-spacing:-.045em;line-height:1.08;margin:0;color:#281b20;font-weight:700}.intro-row h1 span{color:#a4274b}.intro-copy{color:#887a80;font-size:12px;margin:9px 0 0}.session-chip{display:flex;align-items:center;gap:10px;margin-bottom:2px;padding:10px 13px;background:rgba(255,255,255,.65);border:1px solid rgba(235,225,228,.9);border-radius:13px}.session-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#f9e9ed;color:#a5294d}.session-icon svg{width:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.session-chip span:last-child{display:flex;flex-direction:column;gap:2px}.session-chip strong{font-size:10px}.session-chip small{font-size:9px;color:#96888d}.studio-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(365px,.92fr);gap:17px;align-items:start}.panel{background:var(--surface);backdrop-filter:blur(14px);border:1px solid rgba(233,221,225,.9);border-radius:17px;box-shadow:var(--shadow)}.editor-panel,.voice-panel{padding:20px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.editor-heading{padding-bottom:15px;border-bottom:1px solid #f0e9eb;margin-bottom:15px}.heading-title{display:flex;align-items:center;gap:10px;min-width:0}.section-icon{width:35px;height:35px;display:grid;place-items:center;flex:0 0 auto;background:#fbebef;border:1px solid #f5dfe5;color:#9f2147;border-radius:11px}.section-icon svg{width:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.heading-title h2,.status-copy h2,.player-title h2{font-size:14px;margin:0;font-weight:700;letter-spacing:-.02em}.heading-title p{font-size:10px;color:#9b8c91;margin:3px 0 0}.editor-tools{display:flex;align-items:center;gap:4px}.text-button{border:0;background:transparent;color:#786970;cursor:pointer;font-size:10px;font-weight:600;padding:8px 7px;border-radius:7px;white-space:nowrap}.text-button:hover{background:#fbf4f6;color:#982146}.text-button span{font-size:14px;margin-right:3px}.button-soft{color:#942345;background:#fff4f6;border:1px solid #f5e1e6}.button-soft:hover{background:#fae7ed}.textarea-wrap{position:relative}.textarea-wrap textarea{display:block;width:100%;height:382px;min-height:280px;resize:vertical;border:1px solid #ebe2e4;border-radius:12px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(255,251,252,.76));outline:none;padding:16px 16px 38px;color:#302329;font-family:system-myanmar,"Noto Sans Myanmar","DM Sans",sans-serif;font-size:13px;line-height:1.95;transition:border .18s,box-shadow .18s}.textarea-wrap textarea::placeholder{color:#b4a8ad;opacity:1}.textarea-wrap textarea:focus{border-color:#d78ba0;box-shadow:0 0 0 3px rgba(187,45,83,.08)}.textarea-corner{position:absolute;bottom:12px;right:13px;font-size:8px;color:#c0b3b8;letter-spacing:.14em;pointer-events:none}.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:15px}.switch-row{display:flex;align-items:center;gap:9px;cursor:pointer}.switch-row>span:last-child{display:flex;flex-direction:column;gap:3px}.switch-row strong{font-size:10px;color:#51434a}.switch-row small{font-size:9px;color:#a09096}.switch{position:relative;width:34px;height:19px;flex:0 0 auto}.switch input{position:absolute;opacity:0;width:1px;height:1px}.switch-track{position:absolute;inset:0;border-radius:20px;background:#d7ccd0;transition:.2s}.switch-track:after{content:"";position:absolute;left:3px;top:3px;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #7774;transition:.2s}.switch input:checked+.switch-track{background:#a6294c}.switch input:checked+.switch-track:after{transform:translateX(15px)}.switch input:focus-visible+.switch-track{outline:3px solid #eab5c3}.metrics{display:flex;align-items:center;gap:12px;padding:7px 10px;border:1px solid #eee8ea;background:#faf8f8;border-radius:9px;white-space:nowrap}.metrics span{display:flex;flex-direction:column;align-items:center;gap:2px}.metrics strong{font-size:11px;color:#514149}.metrics small{font-size:7px;color:#a99ba0;letter-spacing:.11em;font-weight:700}.metrics i{width:1px;height:20px;background:#e9dfe3}.voice-panel{padding:20px 20px 16px}.reset-button{color:#aa3a59}.field-label{display:block;font-size:10px;font-weight:700;color:#6e5e65;margin-bottom:7px}.select-shell{position:relative}.select-shell select,.control-field select,.clarity-row select,.runtime-voice-row select{width:100%;appearance:none;color:#392a31;background:#fff;border:1px solid #ebe1e4;outline:none;border-radius:9px;font-size:10px;font-weight:600;padding:10px 30px 10px 11px}.select-shell select:focus,.control-field select:focus,.clarity-row select:focus,.runtime-voice-row select:focus{border-color:#d792a5;box-shadow:0 0 0 3px #bd2c5313}.select-shell>span{position:absolute;right:11px;top:7px;color:#a38d95;font-size:16px;pointer-events:none}.profile-summary{min-height:45px;margin-top:9px;padding:10px 11px;border:1px solid #f1dfe4;border-radius:9px;color:#6d2d42;background:linear-gradient(115deg,#fff3f5,#fffaf9);font-size:10px;line-height:1.7}.profile-flags{display:flex;justify-content:space-between;margin:7px 1px 13px;color:#b2969f;font-size:7px;letter-spacing:.15em;font-weight:700}.profile-flags span:first-child{color:#9f294b}.control-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 13px}.control-head{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:5px}.control-head label{font-size:9px;color:#77686e;font-weight:600}.control-head label span{color:#a39399;font-weight:400}.control-head strong{font-size:9px;color:#a22b4d}.control-field select{padding:8px 9px;font-size:9px;border-radius:8px;color:#5c4d53}.clarity-row{display:flex;align-items:center;gap:9px;margin-top:14px;padding:9px 10px;border:1px solid #eee7e8;background:#faf8f8;border-radius:10px}.clarity-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;color:#a32c4d;background:#f6e5e9;font-size:10px;font-weight:700}.clarity-row>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:2px}.clarity-row strong{font-size:9px;color:#5b4b51}.clarity-row small{font-size:8px;color:#9d8d93}.clarity-row select{width:auto;min-width:88px;padding:7px 20px 7px 8px;font-size:8px;border-radius:7px}.runtime-voice-row{display:flex;align-items:center;gap:10px;margin-top:12px}.runtime-voice-row label{font-size:8px;color:#9a8b91;white-space:nowrap}.runtime-voice-row select{padding:7px 25px 7px 8px;font-size:8px;border-radius:7px;background-color:#fff;flex:1;min-width:0}.generate-button{width:100%;min-height:52px;display:flex;align-items:center;gap:10px;margin-top:14px;padding:9px 14px;text-align:left;color:white;background:linear-gradient(105deg,#95183c,#bb3156 55%,#8b1739);border-radius:11px;box-shadow:0 9px 18px rgba(158,30,68,.18)}.generate-button:hover{box-shadow:0 11px 24px rgba(158,30,68,.27);transform:translateY(-1px)}.generate-button:disabled{opacity:.75;cursor:wait;transform:none}.sparkle{font-size:19px;color:#ffe0e7}.generate-button>span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}.generate-button strong{font-size:11px}.generate-button small{font-family:system-myanmar,"Noto Sans Myanmar",sans-serif;font-size:9px;color:#f7dbe3}.button-arrow{font-size:17px;color:#f8d7e0}.engine-note{text-align:center;font-size:8px;color:#a9989f;margin:8px 0 0}.status-panel{grid-column:1/-1;display:flex;align-items:center;gap:13px;padding:15px 18px}.status-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 auto;border-radius:12px;background:#f9e8ed;color:#a22a4b;font-size:20px}.status-panel.error .status-icon{background:#fff0ef;color:#b63234}.status-panel.success .status-icon{background:#e9f7f0;color:#26855e}.status-copy{flex:1;min-width:0}.status-title-row{display:flex;align-items:center;gap:9px}.status-copy h2{font-size:11px}.status-copy p{font-family:system-myanmar,"Noto Sans Myanmar",sans-serif;color:#8f8086;font-size:9px;margin:3px 0 8px;line-height:1.6}.step-badge{font-size:7px;font-weight:700;letter-spacing:.1em;background:#f9eaee;color:#9e2a4b;padding:4px 6px;border-radius:12px}.progress-track,.range-track{height:4px;overflow:hidden;border-radius:8px;background:#eee5e8}.progress-track span,.range-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#ca5272,#8e183b);border-radius:inherit;transition:width .3s}.status-percent{font-size:10px;color:#a32c4d;min-width:28px;text-align:right}.player-panel{grid-column:1/-1;overflow:hidden}.player-top{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #f0e7e9}.player-title{display:flex;align-items:center;gap:10px}.player-title p{font-size:9px;color:#9c3a57;margin:4px 0 0}.preview-label{font-size:7px;letter-spacing:.14em;font-weight:700;color:#a02b4c;background:#faedf0;padding:6px 8px;border-radius:20px}.player-body{padding:12px 18px 10px;background:#302329}.waveform{height:42px;display:flex;align-items:center;justify-content:center;gap:3px;overflow:hidden}.wave-bar{height:var(--bar-height);width:3px;min-width:2px;border-radius:4px;background:linear-gradient(180deg,#f2aabd,#ba365b);opacity:.85;transform-origin:center;animation:wave 1s ease-in-out infinite;animation-play-state:paused}.player-panel.is-playing .wave-bar{animation-play-state:running}@keyframes wave{0%,100%{transform:scaleY(.45);opacity:.55}50%{transform:scaleY(1);opacity:1}}.player-controls{display:flex;align-items:center;gap:9px}.player-action{width:28px;height:28px;display:grid;place-items:center;border:1px solid #604752;border-radius:50%;color:white;background:#563b46;font-size:10px;cursor:pointer}.player-action:hover{background:#784256}.stop-action{font-size:8px;border-radius:8px}.play-progress{flex:1;min-width:0}.play-progress-head{display:flex;justify-content:space-between;color:#e4d6da;font-size:8px;margin-bottom:6px}.range-track{height:3px;background:#59464e}.range-track span{background:#e57794}.play-speed{color:#d6c5ca;font-size:9px;min-width:27px;text-align:right}.player-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px}.player-bottom p{font-size:9px;line-height:1.6;color:#97888e;margin:0}.player-bottom p strong{color:#77666d}.button-download{display:flex;align-items:center;gap:5px;flex:0 0 auto;padding:8px 10px;color:#56464d;background:#f8f5f5;border:1px solid #ebe3e5;border-radius:8px;font-size:9px}.button-download:hover{background:#fae9ee;color:#972246}.footer{display:flex;justify-content:space-between;padding:20px 4px 8px;color:#aa9ba1;font-size:8px;letter-spacing:.08em}.footer-heart{color:#b43759;font-size:8px;margin-left:3px}.toast{position:fixed;z-index:10;left:50%;bottom:20px;max-width:calc(100vw - 32px);transform:translate(-50%,15px);opacity:0;pointer-events:none;padding:11px 15px;border:1px solid #eddde2;border-radius:10px;background:#fff;color:#583743;box-shadow:0 10px 30px #3315221a;font-family:system-myanmar,"Noto Sans Myanmar",sans-serif;font-size:10px;line-height:1.6;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}.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}.mobile-break{display:none}.noscript{margin:20px;text-align:center;color:#8a1b3d}
@media(max-width:920px){.workspace{max-width:780px;padding-top:28px}.studio-layout{grid-template-columns:1fr}.textarea-wrap textarea{height:300px}.editor-panel,.voice-panel{padding:18px}.voice-panel{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}.voice-panel>.panel-heading,.voice-panel>.field-label,.voice-panel>.select-shell,.voice-panel>.profile-summary,.voice-panel>.profile-flags,.voice-panel>.control-grid,.voice-panel>.clarity-row,.voice-panel>.runtime-voice-row,.voice-panel>.generate-button,.voice-panel>.engine-note{grid-column:1/-1}.control-grid{gap:11px 15px}.voice-panel>.panel-heading{margin-bottom:13px}.voice-panel>.profile-flags{margin-bottom:10px}}
@media(max-width:600px){.topbar{min-height:66px;padding:10px 15px}.brand{gap:9px}.brand-mark{width:37px;height:37px;border-radius:12px}.brand-mark svg{width:25px}.brand-line{gap:6px}.brand-line strong{font-size:12px}.brand-tag{font-size:7px;padding:3px 5px}.brand-sub{font-size:8px}.top-actions{gap:7px}.engine-status{font-size:0;padding:8px;border:0;background:transparent}.engine-status i{width:8px;height:8px}.button-small{min-height:32px;padding:6px 8px;font-size:9px}.workspace{padding:23px 13px 14px}.intro-row{margin-bottom:18px;align-items:flex-end}.eyebrow{font-size:7px;gap:6px;margin-bottom:8px;letter-spacing:.12em}.eyebrow .myanmar{font-size:8px}.intro-row h1{font-size:31px}.intro-copy{font-size:10px}.session-chip{padding:8px;margin-bottom:2px;gap:7px}.session-icon{width:26px;height:26px}.session-chip strong{font-size:8px}.session-chip small{font-size:7px}.studio-layout{gap:12px}.panel{border-radius:14px}.editor-panel,.voice-panel{padding:14px}.editor-heading{align-items:flex-start;flex-wrap:wrap;gap:8px;padding-bottom:12px;margin-bottom:12px}.heading-title{gap:8px}.section-icon{width:31px;height:31px}.heading-title h2{font-size:12px}.heading-title p{font-size:9px}.editor-tools{width:100%;justify-content:flex-end}.text-button{font-size:9px;padding:7px 6px}.button-small{font-size:9px}.textarea-wrap textarea{height:280px;min-height:210px;font-size:12px;padding:12px 12px 34px}.editor-footer{align-items:flex-start;flex-direction:column;gap:12px;margin-top:12px}.metrics{align-self:flex-end;gap:12px}.switch-row strong{font-size:9px}.switch-row small{font-size:8px}.voice-panel{display:flex;flex-direction:column;gap:0}.voice-panel>.panel-heading{margin-bottom:14px}.reset-button{font-size:9px}.profile-summary{font-size:9px;min-height:40px}.control-grid{gap:10px}.control-head label{font-size:8px}.control-field select{font-size:8px}.clarity-row{margin-top:12px}.status-panel{padding:12px;gap:9px}.status-icon{width:31px;height:31px}.status-copy h2{font-size:10px}.status-copy p{font-size:8px}.player-top{padding:12px}.player-body{padding:9px 12px}.waveform{height:33px}.player-bottom{padding:10px 12px;align-items:flex-start}.player-bottom p{font-size:8px;max-width:60%}.button-download{font-size:8px;padding:7px}.footer{font-size:7px;padding-top:16px}.mobile-break{display:block}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* Provider-backed generation and audio result states */
.privacy-note{display:flex;align-items:flex-start;gap:8px;margin:12px 0 0;padding:10px 11px;border:1px solid #f1e1e5;border-radius:9px;background:#fff9fa;color:#806d74;font-family:system-myanmar,"Noto Sans Myanmar",sans-serif;font-size:9px;line-height:1.65}.privacy-note strong{flex:0 0 auto;color:#8e2443;font-family:"DM Sans",system-myanmar,"Noto Sans Myanmar",sans-serif;font-size:9px}.privacy-note span{min-width:0}.voice-match-note{margin:7px 0 0;color:#928188;font-family:system-myanmar,"Noto Sans Myanmar",sans-serif;font-size:8px;line-height:1.6}.voice-match-note.warning{padding:7px 8px;border:1px solid #f0d9b5;border-radius:7px;background:#fffaf0;color:#875d2d}.engine-status.offline i{background:#c94b52;box-shadow:0 0 0 4px rgba(201,75,82,.1)}.metrics strong.over-limit{color:#c12843}.status-panel.loading .progress-track span{width:34%!important;animation:studio-loading 1.3s ease-in-out infinite}@keyframes studio-loading{0%{transform:translateX(-110%)}100%{transform:translateX(310%)}}.player-body audio{display:block;width:100%;height:42px;margin:10px 0 8px;border-radius:8px}.player-body audio::-webkit-media-controls-panel{background:#f8edf0}.audio-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#e4d6da;font-size:8px}.audio-meta .play-speed{color:#f0dfe4}.button-download:disabled{opacity:.48;cursor:not-allowed;transform:none}.voice-panel>.voice-match-note{grid-column:1/-1}@media(max-width:920px){.voice-panel>.voice-match-note{grid-column:1/-1}}@media(max-width:600px){.privacy-note{flex-direction:column;gap:3px;padding:9px;font-size:8px}.privacy-note strong{font-size:8px}.voice-match-note.warning{font-size:8px}.player-body audio{height:40px}.audio-meta{font-size:8px}.voice-panel>.voice-match-note{grid-column:1/-1}}
