/* Voice Studio — scoped to voice-* */
.voice-studio{--vc-panel:#1a1e28;--vc-deep:#131720;--vc-line:#303543;--vc-text:#f2f4f8;--vc-muted:#95a0b1;--vc-accent:#f9ba6d;--vc-purple:#b5a2ff;--vc-green:#73d4af;min-width:0;width:100%;display:grid;gap:15px;color:var(--vc-text)}
.voice-studio *{box-sizing:border-box}.voice-studio h1,.voice-studio h2,.voice-studio h3,.voice-studio p{margin:0}.voice-studio p{color:var(--vc-muted);font-size:12px;line-height:1.55}.voice-kicker{display:block;color:#9ba8b9;font-size:10px;font-weight:650;letter-spacing:1.4px;margin-bottom:5px}.voice-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:2px 0 5px}.voice-heading h1{font-size:29px;font-weight:650;letter-spacing:-.7px;line-height:1.18}.voice-heading p{margin-top:7px}.voice-header-actions,.voice-card-actions,.voice-preview-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.voice-card{min-width:0;background:linear-gradient(125deg,#1b202b,var(--vc-panel) 57%);border:1px solid var(--vc-line);border-radius:11px;overflow:hidden}.voice-button{border:1px solid #414754;background:#252b37;color:#f1f3f6;border-radius:7px;padding:9px 13px;font-size:12px;font-weight:650;white-space:nowrap;min-height:36px;transition:background .16s ease,transform .15s ease}.voice-button:hover{background:#353c4a;transform:translateY(-1px)}.voice-button:active{transform:translateY(0)}.voice-button.primary{background:var(--vc-accent);color:#322212;border-color:var(--vc-accent);box-shadow:0 3px 12px #f9ba6d18}.voice-button.primary:hover{background:#ffd096}.voice-button.secondary{background:#272c37;border-color:#424957}.voice-button.ghost{background:transparent;color:#a8b4c6;border-color:transparent}.voice-button.ghost:hover{background:#303644;color:#fff}.voice-button.small{min-height:30px;padding:6px 9px;font-size:11px}.voice-badge{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #47515e;border-radius:20px;padding:5px 8px;line-height:1.1;font-size:10px;font-weight:600;letter-spacing:.1px;background:#262e39;color:#adb9c7}.voice-badge.amber{color:#f9ca91;background:#4b392433;border-color:#9c724266}.voice-badge.green{color:#9be0c6;background:#2e725f2a;border-color:#4b947f66}.voice-badge.purple{color:#c5b7ff;background:#64539b28;border-color:#8072b76b}
.voice-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.voice-overview>div{border:1px solid var(--vc-line);background:#191e28;border-radius:10px;display:grid;gap:5px;align-content:center;padding:15px 16px}.voice-overview>div small{font-size:9px;font-weight:700;letter-spacing:1px;color:#8998ae}.voice-overview>div b{font-size:23px;font-weight:650;line-height:1.1;letter-spacing:-.5px}.voice-overview>div b.voice-offline{font-size:18px;color:#f9ba6d}.voice-overview>div span{font-size:11px;color:#9ba9bc}
.voice-tabs{display:flex;gap:4px;padding:5px;background:#161c26;border:1px solid var(--vc-line);border-radius:10px;flex-wrap:wrap}.voice-tabs button{border:0;background:transparent;color:#a4aebe;font-weight:600;font-size:12px;border-radius:7px;padding:9px 15px;min-width:118px;transition:background .15s ease}.voice-tabs button:hover{background:#27303d;color:white}.voice-tabs button.active{background:#373039;color:var(--vc-accent);box-shadow:inset 0 0 0 1px #f9ba6d35}
.voice-layout{display:grid;grid-template-columns:minmax(210px,255px) minmax(0,1fr);gap:14px;align-items:start}.voice-palette{position:sticky;top:80px}.voice-panel-head{padding:15px 14px;border-bottom:1px solid var(--vc-line);display:flex;align-items:center;justify-content:space-between;gap:5px}.voice-panel-head h2{font-size:14px;font-weight:650}.voice-panel-head p{font-size:11px;margin-top:3px}.voice-profiles{display:grid;gap:5px;padding:9px}.voice-profile-item{display:flex;align-items:center;gap:10px;border:1px solid transparent;text-align:left;width:100%;min-width:0;background:transparent;border-radius:8px;color:var(--vc-text);padding:10px 8px;transition:background .15s ease}.voice-profile-item:hover{background:#2b303b}.voice-profile-item.active{border-color:#a57b4a66;background:#3c3128}.voice-profile-item>span:nth-child(2){min-width:0;display:grid;gap:3px;flex:1}.voice-profile-item b,.voice-profile-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.voice-profile-item b{font-size:12px;font-weight:650}.voice-profile-item small{font-size:10px;color:#a0a9ba}.voice-avatar{width:37px;height:37px;display:grid;place-items:center;flex:none;border:1px solid color-mix(in srgb,var(--vc) 37%,transparent);border-radius:9px;background:color-mix(in srgb,var(--vc) 13%,#222633);color:var(--vc);font-size:12px;font-weight:700;overflow:hidden}.voice-avatar img{width:100%;height:100%;object-fit:cover}.voice-avatar.large{width:66px;height:66px;border-radius:12px;font-size:21px}.voice-avatar.stage{width:64px;height:64px;border-radius:50%;font-size:19px;box-shadow:0 0 0 6px #f9ba6d15}.voice-dot{width:6px;height:6px;border-radius:50%;background:#687588;flex:none}.voice-dot.selected{background:#f9ba6d;box-shadow:0 0 0 3px #f9ba6d20}.voice-take-status{font-size:10px;color:#d9b685}.voice-palette-foot{margin:7px 10px 11px;padding:13px;border:1px solid #353d4c;background:#202632;border-radius:9px;display:grid;gap:7px}.voice-palette-foot b{font-size:12px}.voice-icon-sound{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#f9ba6d1b;border:1px solid #f9ba6d35;color:var(--vc-accent);font-size:17px}
.voice-main{min-width:0}.voice-profile-head{display:flex;align-items:center;gap:14px;padding:20px 19px;border-bottom:1px solid var(--vc-line)}.voice-profile-head>div{flex:1;min-width:0}.voice-profile-head h2{font-size:20px;font-weight:650;margin-bottom:4px;overflow-wrap:anywhere}.voice-profile-head p{font-size:11px}.voice-card-body{padding:18px 19px;display:grid;gap:15px}.voice-form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.voice-field{display:flex;flex-direction:column;gap:7px;min-width:0}.voice-field>span{display:flex;align-items:center;justify-content:space-between;color:#d6dde7;font-weight:600;font-size:12px}.voice-field input:not([type=range]),.voice-field select,.voice-field textarea{width:100%;background:#131822;border:1px solid #343c4a;border-radius:7px;color:#e8ecf1;min-width:0;padding:10px 11px;font-size:12px;outline:none;min-height:39px}.voice-field input:focus,.voice-field select:focus,.voice-field textarea:focus{border-color:#cc9b61;box-shadow:0 0 0 2px #f9ba6d18}.voice-field textarea{min-height:64px;resize:vertical;line-height:1.6}.voice-field small{font-size:10px;line-height:1.5;color:#8e9db1}.voice-subtitle{display:flex;align-items:center;gap:8px;border-top:1px solid #333b48;padding-top:15px;color:#e6e9ed;font-size:13px;font-weight:650}.voice-subtitle span{color:var(--vc-accent);font-size:16px}.voice-range input{width:100%;height:6px;border-radius:6px;accent-color:var(--vc-accent);margin:7px 0 6px;cursor:pointer}.voice-range output{color:var(--vc-accent);font-size:11px}
.voice-preview{display:grid;grid-template-columns:minmax(135px,1fr) minmax(100px,1.3fr) auto;align-items:center;gap:13px;background:linear-gradient(110deg,#242837,#262a3b55);border:1px solid #454250;border-radius:10px;padding:12px}.voice-preview-info{display:flex;gap:9px;align-items:center;min-width:0}.voice-preview-info>div{min-width:0;display:grid;gap:3px}.voice-preview-info b{font-size:12px}.voice-preview-info small{color:#9caabe;font-size:10px;overflow-wrap:anywhere}.voice-wave{display:flex;align-items:center;gap:3px;min-width:0;overflow:hidden;filter:drop-shadow(0 1px 5px #f9ba6d22)}.voice-wave i{display:block;flex:1;min-width:2px;max-width:5px;height:var(--h);border-radius:10px;background:linear-gradient(180deg,#f9c38b,#f9ba6d4d);opacity:.69}.voice-speaking .voice-wave i{animation:voiceBars .56s ease-in-out infinite alternate;animation-delay:var(--delay)}@keyframes voiceBars{from{transform:scaleY(.5);opacity:.7}to{transform:scaleY(1.22);opacity:1}}.voice-card-actions{justify-content:flex-start}.voice-note{border-left:3px solid #9a7e53;background:#f9ba6d0b;border-radius:3px 8px 8px 3px;padding:10px 12px}.voice-note b{font-size:11px;color:#e7c89f}.voice-note p{font-size:11px;margin-top:4px}
.voice-shot-link{display:flex;align-items:center;gap:12px;border:1px solid #343c4c;background:#202632;border-radius:8px;padding:8px}.voice-shot-link img{width:86px;height:49px;object-fit:cover;border-radius:6px}.voice-shot-link>div{flex:1;min-width:0}.voice-shot-link b{font-size:12px}.voice-shot-link p{font-size:10px;margin-top:3px}.voice-lipsync{display:flex;gap:10px;align-items:center;flex-wrap:wrap;border:1px solid #424556;background:linear-gradient(100deg,#262735,#292b37);border-radius:9px;padding:12px}.voice-lipsync>div:first-child{flex:1}.voice-lipsync h3{font-size:13px}.voice-pipeline{display:flex;align-items:center;gap:6px;flex-wrap:wrap;flex:1 0 100%;font-size:10px;color:#c4c9d4}.voice-pipeline span{border:1px solid #505361;padding:5px 6px;background:#202632;border-radius:5px}.voice-pipeline b{color:#b5a2ff}.voice-lipsync .voice-button{margin-left:auto}
.voice-live-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(220px,1fr);gap:14px;align-items:start}.voice-live-head{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:18px 19px;border-bottom:1px solid var(--vc-line)}.voice-live-head h2{font-size:20px;margin-bottom:4px}.voice-live-stage{display:flex;align-items:center;gap:14px;padding:17px;border-radius:10px;background:radial-gradient(ellipse at 30% 30%,#3f3446,#1b1f2c 60%);border:1px solid #6f657e66;min-width:0}.voice-live-stage>div{min-width:0}.voice-live-stage>div b{font-size:18px;font-weight:650}.voice-live-stage>div p{font-size:10px;margin-top:3px}.voice-live-stage .voice-wave{flex:1;margin-left:9px}.voice-live-side{display:grid;gap:12px}.voice-mode-card{padding:16px 15px;display:grid;gap:10px}.voice-mode-card h3{font-size:16px}.voice-divider{height:1px;background:#3a424e;margin:5px 0}.voice-checkline{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:11px;color:#c3ccd9}.voice-empty{padding:30px;display:grid;justify-items:center;gap:13px;text-align:center}.voice-footer{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#7f8a9b;font-size:10px;padding:4px 1px 12px}
@media(min-width:1200px){.voice-card-body{padding:20px 22px}.voice-layout{grid-template-columns:255px minmax(0,1fr)}}
@media(max-width:980px){.voice-layout{grid-template-columns:205px minmax(0,1fr)}.voice-preview{grid-template-columns:minmax(0,1fr) minmax(90px,1fr)}.voice-preview-controls{grid-column:1/-1}.voice-overview>div{padding:12px}.voice-live-grid{grid-template-columns:1fr}}
@media(max-width:720px){.voice-studio{gap:12px}.voice-heading{align-items:flex-start;flex-direction:column;gap:10px}.voice-heading h1{font-size:24px}.voice-header-actions{justify-content:flex-start;width:100%}.voice-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.voice-overview>div{padding:11px 12px}.voice-overview>div b{font-size:20px}.voice-tabs{gap:3px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:4px}.voice-tabs button{min-width:0;font-size:11px;padding:10px 4px;white-space:nowrap}.voice-layout{display:grid;grid-template-columns:1fr;gap:10px}.voice-palette{position:static}.voice-palette-foot{display:none}.voice-panel-head{padding:11px 12px}.voice-profiles{display:flex;overflow-x:auto;padding:8px;gap:7px;scroll-snap-type:x mandatory;scrollbar-width:thin}.voice-profile-item{min-width:150px;max-width:190px;padding:8px 7px;scroll-snap-align:start;border-color:#3a414f}.voice-avatar{width:31px;height:31px}.voice-profile-head{padding:15px 13px;gap:10px;flex-wrap:wrap}.voice-profile-head .voice-avatar.large{width:49px;height:49px}.voice-profile-head>div{min-width:calc(100% - 65px)}.voice-profile-head h2{font-size:18px}.voice-profile-head .voice-badge{margin-left:59px;margin-top:-3px}.voice-card-body{padding:14px 12px;gap:13px}.voice-form-grid{gap:10px}.voice-field>span{font-size:11px}.voice-field textarea,.voice-field input:not([type=range]),.voice-field select{font-size:13px;padding:9px}.voice-preview{grid-template-columns:1fr;gap:10px;padding:11px}.voice-preview-controls{justify-content:flex-start;grid-column:auto}.voice-wave{height:33px;width:100%;justify-content:center}.voice-wave i{max-width:6px}.voice-action-grid .voice-button{white-space:normal;flex:1;min-width:125px}.voice-shot-link{gap:8px;flex-wrap:wrap}.voice-shot-link img{width:72px;height:42px}.voice-shot-link .voice-button{margin-left:auto}.voice-live-head{padding:14px 12px;flex-wrap:wrap}.voice-live-stage{padding:11px;flex-wrap:wrap;gap:11px}.voice-live-stage .voice-wave{order:5;flex:1 0 100%;margin-left:0}.voice-live-stage .voice-avatar.stage{width:45px;height:45px}.voice-live-stage .voice-badge{margin-left:auto}.voice-live-grid{gap:10px}.voice-live-side{gap:10px}}
@media(max-width:390px){.voice-form-grid{grid-template-columns:1fr}.voice-header-actions{gap:6px}.voice-card-actions .voice-button{flex:1;white-space:normal}.voice-shot-link .voice-button{margin-left:0}.voice-profile-item{min-width:145px}}
@media(prefers-reduced-motion:reduce){.voice-speaking .voice-wave i{animation:none}.voice-button,.voice-profile-item{transition:none}}
