/* Scoped Voice dictor surface. Existing generation pages keep their styles. */
#voice{max-width:1320px;padding-top:28px}#voice *{box-sizing:border-box}#voice [hidden]{display:none!important}.voice-heading{display:flex;align-items:center;justify-content:space-between;margin:15px 0 30px}.voice-heading h1{font-size:42px;letter-spacing:-1.8px;margin:9px 0}.voice-heading p{color:#a2a897;font-size:14px;margin:0}.voice-heading .eyebrow{color:#d9ff00;font-size:10px;letter-spacing:2px}.voice-heading-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:20px;color:#d9ff00;background:#d9ff0010;border:1px solid #d9ff0030}.voice-heading-icon svg{width:28px;height:28px}.voice-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:25px;align-items:start}.voice-editor,.voice-results{display:grid;gap:18px;min-width:0}.voice-panel{background:#12160f;border:1px solid #303726;border-radius:22px;padding:23px;min-width:0}.voice-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.voice-panel-title h2{font-size:13px;letter-spacing:.3px;margin:0;color:#eff1e9}.voice-panel-title>span{font-size:11px;color:#919a80;white-space:nowrap}.voice-panel-title>span.over{color:#ff887f}.voice-panel-title>button{border:0;background:none;color:#d9ff00;font-size:12px;padding:0}#voice-text{display:block;width:100%;min-height:188px;resize:vertical;border:1px solid #353d2c;border-radius:14px;background:#0c100a;color:#f6f7f0;padding:17px;font:inherit;font-size:15px;line-height:1.7}#voice-text::placeholder{color:#747d69}#voice :is(button,input,select,textarea,a):focus-visible{outline:2px solid #d9ff00;outline-offset:3px}#voice :is(button,input,select,textarea):disabled{opacity:.5;cursor:default}.voice-text-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.voice-text-footer>span{font-size:10px;color:#858f79;max-width:220px}.voice-text-footer label{display:flex;align-items:center;gap:8px;color:#a9b29c;font-size:11px}.voice-text-footer select{width:auto;max-width:128px;background:#1c2316;border:1px solid #39432a;color:#eef2e6;font-size:12px;border-radius:9px;padding:8px}.voice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:318px;overflow:auto;padding:2px 5px 4px 2px;scrollbar-width:thin;scrollbar-color:#53632c transparent;overscroll-behavior:contain}.voice-option{position:relative;min-width:0}.voice-option>[data-voice]{position:relative;width:100%;min-height:78px;border:1px solid #323b27;background:#191e14;border-radius:12px;text-align:left;padding:12px 37px 10px 12px;color:#f1f4e9}.voice-option>[data-voice][aria-pressed=true]{background:#d9ff000c;border-color:#b2cf18}.voice-option strong{display:block;font-size:12px;line-height:1.4}.voice-option strong small{font-size:8px;color:#a6af95;font-weight:400;display:block}.voice-option [data-voice]>span{display:block;font-size:10px;color:#8f9980;line-height:1.35;margin-top:6px}.voice-option i{display:none;position:absolute;bottom:7px;right:9px;font-size:11px;font-style:normal;color:#d9ff00}.voice-option [aria-pressed=true] i{display:block}.voice-option>[data-sample]{position:absolute;top:9px;right:8px;width:25px;height:25px;border:1px solid #414d32;border-radius:8px;background:#252e1c;color:#d9ff00;font-size:10px;padding:0}.voice-styles{margin-top:20px;border-top:1px solid #303726;padding-top:16px}.voice-styles summary{display:flex;gap:10px;align-items:center;list-style:none;cursor:pointer;color:#a9b29c;font-size:12px}.voice-styles summary::-webkit-details-marker{display:none}.voice-styles summary strong{margin-left:auto;color:#e5eccd;font-size:12px}.voice-styles summary>span{font-size:17px}.voice-style-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:14px;max-height:210px;overflow:auto}.voice-style-list button{border:1px solid #35402a;border-radius:9px;background:#1a2114;color:#adb79e;font-size:11px;min-height:34px;padding:7px 4px}.voice-style-list [aria-pressed=true]{border-color:#d9ff00;color:#d9ff00;background:#d9ff0010}.voice-speed-label{display:flex;justify-content:space-between;margin:22px 0 12px;font-size:12px;color:#a9b29c}.voice-speed-label output{color:#d9ff00;font-variant-numeric:tabular-nums}#voice-speed{display:block;width:100%;height:20px;accent-color:#d9ff00}.voice-range-labels{display:flex;justify-content:space-between;color:#717e62;font-size:10px;margin-top:4px}.voice-generate-box{padding:2px 2px 0}.voice-tariff{display:flex;justify-content:space-between;color:#89967c;font-size:12px;margin-bottom:12px}.voice-tariff strong{font-weight:500;color:#b8c1aa}#voice-generate{display:flex;width:100%;justify-content:center;gap:10px;align-items:center;border-radius:14px;min-height:53px;background:#d9ff00;color:#101500;border:0;font-size:14px;font-weight:650}#voice-generate svg{width:19px;height:22px}#voice-price{padding-left:14px;margin-left:auto;border-left:1px solid #71860055;font-size:13px;white-space:nowrap}.voice-note{font-size:11px;color:#849076;line-height:1.6;margin:12px 0 0}.voice-error{color:#ffb5a6;font-size:12px;line-height:1.6;padding:12px 14px;border:1px solid #714039;background:#281511;border-radius:12px;margin:12px 0 0}.voice-player{border:1px solid #414e25;background:radial-gradient(ellipse at 50% 30%,#28381455,transparent 70%),#0f150b;border-radius:24px;min-height:350px;padding:25px;overflow:hidden;position:relative}.voice-player:before{content:"";position:absolute;top:0;left:30px;right:30px;height:1px;background:linear-gradient(90deg,transparent,#d9ff00,transparent)}.voice-player-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:9px;letter-spacing:1px;color:#9aac7d}.voice-player-top>span{display:flex;align-items:center;gap:8px}.voice-player-top i{width:5px;height:5px;border-radius:50%;background:#d9ff00}.voice-player-top small{font-size:9px;white-space:nowrap;color:#788968}.voice-soundmark{display:grid;place-items:center;gap:20px;margin:39px 0 26px;color:#d9ff00}.voice-soundmark>svg{width:46px;height:50px;filter:drop-shadow(0 0 18px #d9ff0040)}.voice-soundmark>div{display:flex;gap:5px;align-items:center;height:58px;max-width:100%;overflow:hidden}.voice-soundmark b{width:3px;flex-shrink:0;height:var(--bar);background:linear-gradient(#d9ff00,#3c4e15);border-radius:3px;opacity:.7}#voice-empty{text-align:center}#voice-empty h2,#voice-track h2{font-size:19px;margin:0 0 9px}#voice-empty p{font-size:12px;line-height:1.7;color:#899b75;margin:0}#voice-track-copy{font-size:12px;color:#99a989;line-height:1.6;max-height:62px;overflow:auto;white-space:pre-wrap}#voice-audio{width:100%;height:38px;margin:10px 0;color-scheme:dark}.voice-downloads{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.voice-downloads a,.voice-downloads button{display:inline-flex;justify-content:center;align-items:center;padding:9px 13px;font-size:11px;color:#d9ff00;border:1px solid #465630;border-radius:10px;background:#1a2510;text-decoration:none}.voice-downloads button{margin-left:auto;color:#c4d3ae}.voice-history-item{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #2a3421;min-width:0}.voice-history-item:first-child{border-top:0;padding-top:0}.voice-history-item>button{width:31px;height:31px;border:1px solid #39462a;border-radius:10px;background:#202a16;color:#cce7a4;flex-shrink:0;font-size:11px;padding:0}.voice-history-item>button:last-child{background:none;border:0;color:#9cac86}.voice-history-item>div{flex:1;min-width:0}.voice-history-item strong{display:block;font-size:12px}.voice-history-item strong small{font-size:9px;color:#8a9a77;font-weight:400;margin-left:6px}.voice-history-item p{margin:5px 0 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#7b8c68;font-size:11px}.voice-history-panel #voice-history{max-height:420px;overflow:auto;scrollbar-width:thin}.voice-confirm{color:#f4f7eb;background:#151c0f;border:1px solid #607a28;border-radius:22px;padding:25px;width:min(410px,calc(100% - 32px));box-shadow:0 20px 90px #000a}.voice-confirm::backdrop{background:#000a;backdrop-filter:blur(7px)}.voice-confirm h2{font-size:22px;margin:0 0 20px}.voice-confirm p{font-size:19px;color:#d9ff00}.voice-confirm small{display:block;line-height:1.7;color:#9fac90}.voice-confirm>div{display:flex;gap:10px;justify-content:flex-end;margin-top:23px}.voice-confirm button{padding:12px 18px;border:1px solid #43532f;border-radius:11px;color:#ccd9bb;background:#25301a;font-size:13px}.voice-confirm .primary{background:#d9ff00;color:#111800;border-color:#d9ff00}.voice-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#voice .voice-text-footer>span{max-width:none}#voice-track-copy{overflow-wrap:anywhere}
#voice .voice-styles{border-top:0;margin-top:18px;padding-top:0}#voice .voice-styles summary{display:flex;gap:12px;min-height:70px;padding:13px 15px;border:1px solid #3d492d;border-radius:14px;background:linear-gradient(115deg,#202a17,#151c10);transition:background .15s,border-color .15s;list-style:none}#voice .voice-styles summary:hover,#voice .voice-styles[open] summary{border-color:#7e992b;background:linear-gradient(115deg,#28351a,#192211)}#voice .voice-style-symbol{display:grid;place-items:center;flex-shrink:0;width:35px;height:35px;border-radius:11px;background:#d9ff0010;color:#d9ff00}#voice .voice-style-symbol svg{width:21px;height:21px}#voice .voice-style-summary{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}#voice .voice-style-summary>span{font-size:11px;color:#9ea98d;line-height:1.3}#voice .voice-style-summary strong{margin:0;font-size:14px;line-height:1.3;font-weight:600;color:#f0f5e4}#voice .voice-style-chevron{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;border-radius:50%;border:1px solid #47572f;color:#bcd18e}#voice .voice-style-chevron svg{width:15px;height:15px;transition:transform .15s}#voice .voice-styles[open] .voice-style-chevron svg{transform:rotate(180deg)}#voice .voice-style-list{gap:7px;margin-top:10px;max-height:252px;padding:3px;scrollbar-width:thin;scrollbar-color:#526431 transparent;overscroll-behavior:contain}#voice .voice-style-list button{display:flex;gap:6px;align-items:center;justify-content:space-between;min-height:39px;padding:10px 11px;border-radius:10px;text-align:left;line-height:1.3;color:#b4bfa4;background:#1c2415;border-color:#344128}#voice .voice-style-list button:hover{border-color:#6b8530;background:#26351a}#voice .voice-style-list button[aria-pressed=true]{background:#d9ff0012;border-color:#b4d425;color:#d9ff00}#voice .voice-style-list button i{visibility:hidden;font-style:normal;font-size:12px}#voice .voice-style-list button[aria-pressed=true] i{visibility:visible}
@media(max-width:850px){.voice-layout{gap:17px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.voice-panel{padding:17px}.voice-player{padding:20px}.voice-list{grid-template-columns:1fr;max-height:302px}}
@media(max-width:650px){#voice{padding-top:10px}.voice-heading{margin:9px 0 22px}.voice-heading h1{font-size:31px;letter-spacing:-1px}.voice-heading p{font-size:12px}.voice-heading-icon{width:46px;height:46px;border-radius:15px}.voice-heading-icon svg{width:23px;height:25px}.voice-layout{grid-template-columns:1fr;gap:20px}.voice-editor,.voice-results{gap:13px}.voice-panel{border-radius:18px;padding:16px}.voice-panel-title{margin-bottom:14px}.voice-panel-title h2{font-size:12px}.voice-panel-title>span{font-size:10px}#voice-text{font-size:14px;padding:13px;min-height:170px}.voice-text-footer{align-items:flex-start;gap:10px}.voice-text-footer>span{font-size:9px;max-width:155px}.voice-text-footer label{gap:5px;font-size:10px}.voice-text-footer select{padding:7px;font-size:11px;max-width:110px}.voice-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:271px}.voice-option>[data-voice]{min-height:86px;padding:11px 30px 9px 10px}.voice-option strong{font-size:11px}.voice-option [data-voice]>span{font-size:9px}.voice-option>[data-sample]{width:22px;height:22px;right:6px;top:8px;font-size:9px}.voice-player{border-radius:20px;min-height:302px;padding:20px}.voice-soundmark{margin:25px 0 20px;gap:15px}.voice-soundmark>svg{height:41px;width:38px}.voice-soundmark>div{height:53px}.voice-downloads a,.voice-downloads button{font-size:10px;padding:9px 11px}.voice-style-list{grid-template-columns:repeat(3,minmax(0,1fr))}.voice-history-panel #voice-history{max-height:280px}}
@media(max-width:650px){#voice .voice-styles summary{min-height:66px;padding:12px;gap:10px}#voice .voice-style-summary>span{font-size:10px}#voice .voice-style-summary strong{font-size:13px}#voice .voice-style-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:240px}#voice .voice-style-list button{font-size:11px;min-height:39px}}
@media(prefers-reduced-motion:reduce){#voice .voice-styles summary,#voice .voice-style-chevron svg{transition:none}}
