/* Voice is an independent workspace within the Studio's forest and gold frame. */
.voice-workspace{--voice-accent:#d6b77b}.voice-workspace *{min-width:0}.voice-workspace .button{min-height:44px;white-space:normal}.voice-workspace .text-button{min-height:44px}.voice-heading .pill{align-self:flex-start;margin-top:15px}.voice-heading .pill[data-connected=true]{background:#25382b;border-color:#61704d;color:var(--gold-light)}.voice-allowance{display:flex;gap:30px;align-items:center;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:17px 0;margin:-3px 0 27px}.voice-allowance>div{flex:0 1 210px}.voice-allowance span{display:block;color:var(--muted);font-size:10px;line-height:1.7}.voice-allowance strong{display:block;font-size:18px;font-weight:500;margin-top:3px;font-variant-numeric:tabular-nums}.voice-allowance>p{margin:0 0 0 auto;max-width:310px;font-size:10px;line-height:1.75;color:var(--muted)}.voice-caption{font-size:8px;font-weight:550;letter-spacing:1.25px;color:var(--gold);line-height:1.6}.voice-notice{display:flex;align-items:center;gap:22px;justify-content:space-between;background:#282b20;border:1px solid #655c40;border-radius:10px;padding:19px 22px;margin-bottom:24px}.voice-notice strong{font-size:13px;font-weight:550}.voice-notice p{font-size:11px;line-height:1.7;color:#cec9b4;margin:6px 0 0}.voice-notice .button{flex-shrink:0}.voice-create-layout{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(300px,.85fr);gap:24px;align-items:start}.voice-composer{padding:26px}.voice-composer .panel-heading,.voice-library .panel-heading{margin-bottom:23px;flex-wrap:wrap;gap:12px}.voice-composer .panel-heading h2,.voice-library .panel-heading h2{font-size:23px}.voice-selected{display:flex;align-items:center;gap:13px;border:1px solid #455442;background:#223027;border-radius:9px;padding:15px;margin:23px 0}.voice-monogram{display:grid;place-items:center;font:400 25px/1 Fraunces,Georgia,serif;flex:0 0 44px;height:48px;border:1px solid #737651;border-radius:22px 22px 7px 7px;background:#39442c;color:var(--gold-light)}.voice-selected>div:nth-child(2){flex:1}.voice-selected strong{display:block;font-family:Fraunces,Georgia,serif;font-size:20px;font-weight:450;line-height:1.35;margin:4px 0;overflow-wrap:anywhere}.voice-selected>div>span:last-child{display:block;color:var(--muted);font-size:10px;line-height:1.6}.voice-selected>.button{align-self:center;flex:none;font-size:11px;padding:9px 12px}.voice-composer textarea{font-size:13px;line-height:1.85;min-height:213px}.voice-composer .label-row{margin-top:23px}.voice-composer #voice-script-count[data-over=true]{color:var(--error)}.voice-delivery{border-top:1px solid var(--border);margin-top:23px;padding-top:5px}.voice-delivery summary{cursor:pointer;font-size:11px;line-height:1.6;color:var(--gold-light);border:1px solid #4b5b4e;border-radius:7px;background:#16231b;padding:12px;margin:12px 0;min-height:44px}.voice-delivery summary:hover{background:#2b3b2f;border-color:#798c78}.voice-delivery .check-label{margin:16px 0 10px;line-height:1.7;min-height:35px}.voice-slider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 25px;margin:5px 0 16px}.voice-workspace output{float:right;color:var(--gold-light);font-size:10px;font-variant-numeric:tabular-nums;font-weight:450}.voice-workspace input[type=range]{appearance:auto;width:100%;padding:0;min-height:28px;height:28px;accent-color:var(--gold);background:transparent;border:0;box-shadow:none;margin:7px 0 0}.voice-range-labels{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:9px;font-weight:400;line-height:1.6;gap:8px}.voice-quote{background:#233526;border:1px solid #4c6643;border-radius:8px;padding:17px;margin-top:23px}.voice-quote>div{display:flex;gap:15px;justify-content:space-between;align-items:baseline}.voice-quote span{font-size:11px;line-height:1.7}.voice-quote strong{font-size:15px;color:var(--gold-light);font-weight:550;text-align:right;font-variant-numeric:tabular-nums}.voice-quote p{font-size:10px;color:#c4d0ba;line-height:1.7;margin:8px 0 0}.voice-form-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:10px;margin-top:16px}.voice-form-actions .button{flex:1 1 140px;padding:10px 12px;font-size:11px;line-height:1.4}.voice-paid-note{font-size:9px;line-height:1.7;text-align:center;color:#a5b09a;margin:11px 0 0}.voice-side{display:grid;gap:22px}.voice-library{padding:25px}.voice-library-tabs{display:flex;background:#101b14;border:1px solid #425341;border-radius:7px;padding:3px;gap:3px}.voice-library-tabs button{flex:1;min-height:44px;padding:8px;font-size:11px;line-height:1.4;border:1px solid transparent;border-radius:5px;background:none;color:var(--muted)}.voice-library-tabs button:hover:not([aria-pressed=true]){background:#233426;color:var(--paper)}.voice-library-tabs button[aria-pressed=true]{color:var(--gold-light);background:#32452f;border-color:#63704d}.voice-library input[type=search]{margin-top:15px;min-height:43px}.voice-library-list{display:flex;flex-direction:column;gap:7px;max-height:375px;min-height:170px;overflow-y:auto;margin:16px -5px 0;padding:0 5px 4px;scrollbar-color:#667253 #142118;scrollbar-width:thin}.voice-option{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;border:1px solid #3b4a3d;border-radius:8px;background:#16231b;padding:9px 11px}.voice-option[data-selected=true]{border-color:#bca674;background:#2c3b2b;box-shadow:inset 3px 0 #d6b77b}.voice-option-select{background:#1c2c21;border:1px solid #4a5b46;border-radius:6px;padding:9px 10px;color:var(--paper);text-align:left;min-height:54px}.voice-option-select:hover:not(:disabled){background:#34462e;border-color:#899668}.voice-option-select[aria-pressed=true]{background:#34452e;border-color:#a99c6c}.voice-option-select strong{display:block;font-size:12px;line-height:1.5;font-weight:550;overflow-wrap:anywhere}.voice-option-select span{display:block;font-size:10px;line-height:1.6;color:#aab7a2;margin-top:3px;overflow-wrap:anywhere}.voice-option-preview{align-self:center;width:44px;height:44px;min-height:44px;border:1px solid #566449;border-radius:50%;background:#223322;color:var(--gold);display:grid;place-items:center}.voice-option-preview:hover:not(:disabled){background:#3b4b31;border-color:var(--gold)}.voice-option-preview[aria-pressed=true]{background:var(--gold);color:#172119}.voice-option-preview .icon{height:15px;width:15px}.voice-option-remove{grid-column:1/-1;min-height:44px;margin-top:5px;padding:9px 12px;font-size:10px;line-height:1.4}.voice-empty-copy{color:var(--muted);font-size:12px;line-height:1.8;padding:20px 6px;margin:0}.voice-save-form{border-top:1px solid var(--border);padding-top:18px;margin-top:18px}.voice-save-form>div{display:flex;align-items:stretch;flex-wrap:wrap;gap:9px;margin-top:8px}.voice-save-form input{margin:0;min-height:44px;flex:1 1 160px;font-size:11px}.voice-save-form .button{padding:10px 12px;font-size:11px;line-height:1.4;flex:1 1 110px}.voice-editorial{padding:13px 15px 4px 24px;border-left:1px solid #8c7e58;margin:4px 6px 0}.voice-editorial h3{font-family:Fraunces,Georgia,serif;font-size:30px;font-weight:430;line-height:1.18;letter-spacing:-.5px;margin:12px 0;color:#e4d8b8}.voice-editorial p{font-size:11px;color:var(--muted);line-height:1.8;max-width:320px;margin:11px 0}.voice-editorial p:last-child{font-size:10px;color:#869582}.voice-takes-section,.voice-mixes-section{margin-top:41px}.voice-takes-section .section-heading,.voice-mixes-section .section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:20px}.voice-takes-section .section-heading>.button{flex:none;font-size:11px}.voice-takes-section h2,.voice-mixes-section h2{font-family:Fraunces,Georgia,serif;font-size:29px;font-weight:440;letter-spacing:-.6px;margin:0}.voice-takes-section .eyebrow,.voice-mixes-section .eyebrow{font-size:8px;margin-bottom:8px}.voice-takes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.voice-takes-empty{grid-column:1/-1;border:1px dashed #52614b;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:220px;padding:30px;background:linear-gradient(100deg,#1c2b20,#132017)}.voice-takes-empty h3{font:440 23px/1.4 Fraunces,Georgia,serif;margin:17px 0 9px}.voice-takes-empty p{font-size:11px;line-height:1.7;color:var(--muted);max-width:380px;margin:0}.voice-wave{display:flex;align-items:center;justify-content:center;gap:5px;height:33px;color:var(--gold)}.voice-wave i{display:block;width:3px;height:15px;border-radius:4px;background:currentColor}.voice-wave i:nth-child(2),.voice-wave i:nth-child(6){height:26px}.voice-wave i:nth-child(3),.voice-wave i:nth-child(5){height:19px}.voice-wave i:nth-child(4){height:35px}.voice-take{background:#1b2920;border:1px solid #3b4b3d;border-radius:11px;padding:21px;display:flex;flex-direction:column}.voice-take-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.voice-take h3{font:440 23px/1.25 Fraunces,Georgia,serif;margin:0;overflow-wrap:anywhere}.voice-take .pill{padding:5px 8px;font-size:9px;flex:none}.voice-take .pill[data-state=failed],.voice-take .pill[data-state=needs_review]{color:#edc1af;border-color:#875d48}.voice-take .pill[data-state=succeeded]{border-color:#738454;color:#d9d6ad}.voice-take-meta{color:#a1b098;font-size:10px;line-height:1.7;margin:10px 0}.voice-take-script{font-size:11px;color:#bcc8b6;line-height:1.75;margin:0 0 15px;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.voice-take audio{width:100%;height:39px;margin:2px 0 13px;color-scheme:dark}.voice-take video{width:100%;max-height:260px;border-radius:6px;background:#0d1610;display:block;margin:8px 0 14px}.voice-take-error{font-size:11px;line-height:1.7;color:var(--error);white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 15px}.voice-take-note{font-size:11px;line-height:1.75;color:var(--muted);margin:2px 0 15px}.voice-take-actions{display:flex;align-items:stretch;gap:9px;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:15px;margin-top:auto}.voice-take-actions>.button{flex:1 1 110px;min-height:44px;margin:0;padding:6px 8px;font-size:11px;line-height:1.35;text-align:center;border-color:#65714f;color:var(--gold-light)}.voice-take-actions>.button:hover:not(:disabled){border-color:var(--gold);background:#34432c}.voice-take-actions>.field-help{flex:1 1 100%;margin:0;font-size:10px}.voice-connection{margin-top:37px;padding:0 24px}.voice-connection>summary{cursor:pointer;display:flex;gap:20px;align-items:center;justify-content:space-between;min-height:87px;padding:17px 0;list-style:none}.voice-connection>summary::-webkit-details-marker{display:none}.voice-connection>summary strong{display:block;font:440 21px/1.3 Fraunces,Georgia,serif}.voice-connection>summary>span>span{display:block;font-size:10px;color:var(--muted);margin-top:6px;line-height:1.7}.voice-connection form{padding:8px 0 24px;border-top:1px solid var(--border)}.voice-connection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:17px 0 21px}.voice-connection .check-label{min-height:44px}.voice-settings-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:10px;margin-top:18px}.voice-settings-actions>.button{flex:1 1 160px;font-size:11px}.voice-dialog{width:min(570px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;border:1px solid #6b7658;border-radius:13px;background:#1b2920;color:var(--paper);padding:26px;box-shadow:0 20px 80px #0008}.voice-dialog::backdrop{background:#050b08bf;backdrop-filter:blur(4px)}.voice-dialog .dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.voice-dialog .dialog-heading h2{font:440 29px/1.15 Fraunces,Georgia,serif;letter-spacing:-.5px;margin:0;max-width:350px}.voice-dialog .dialog-heading button{flex:none;width:44px;height:44px;min-width:44px;min-height:44px}.voice-dialog>.muted{font-size:11px;line-height:1.8;margin:16px 0 22px}.voice-mix-take{font-size:12px;line-height:1.7;border:1px solid #65734e;border-radius:7px;padding:12px 15px;background:#2b3b29;color:var(--gold-light);margin-bottom:21px;overflow-wrap:anywhere}.voice-mix-mode{border:0;padding:0;margin:22px 0}.voice-mix-mode legend{font-size:11px;font-weight:550;margin-bottom:10px}.voice-mix-mode>div{display:flex;background:#111e15;border:1px solid #495b44;border-radius:7px;padding:4px;gap:4px}.voice-mix-mode label{flex:1;position:relative;cursor:pointer}.voice-mix-mode input{position:absolute;opacity:0;width:1px}.voice-mix-mode span{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid transparent;border-radius:4px;color:var(--muted);font-weight:450;font-size:11px;padding:6px;text-align:center}.voice-mix-mode input:checked+span{background:#3b4c31;color:var(--gold-light);border-color:#839366}.voice-mix-mode input:focus-visible+span{outline:2px solid var(--gold);outline-offset:2px}.voice-mix-actions{display:flex;align-items:center;gap:16px;margin-top:23px}.voice-mix-actions>span{font-size:10px;line-height:1.7;color:var(--muted)}
@media(min-width:1450px){.voice-composer{padding:30px}.voice-library{padding:28px}.voice-create-layout{gap:28px}.voice-library-list{max-height:400px}}
@media(max-width:1100px){.voice-create-layout{grid-template-columns:minmax(0,1fr) minmax(270px,.8fr);gap:18px}.voice-composer,.voice-library{padding:20px}.voice-editorial{padding-left:18px}.voice-allowance{gap:20px}.voice-allowance>p{max-width:220px}}
@media(max-width:900px){.voice-create-layout{grid-template-columns:minmax(0,1fr)}.voice-side{grid-row:1}.voice-editorial{display:none}.voice-library-list{max-height:220px;min-height:100px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.voice-allowance{flex-wrap:wrap;gap:14px 28px}.voice-allowance>div{flex:1 1 160px}.voice-allowance>p{flex-basis:100%;max-width:none;margin:0}.voice-selected{margin-top:20px}.voice-takes{grid-template-columns:minmax(0,1fr)}}
@media(max-width:540px){.voice-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.voice-heading h1{font-size:33px;max-width:310px}.voice-heading .pill{margin-top:0}.voice-allowance{margin-top:0;margin-bottom:21px;gap:14px}.voice-allowance>div{flex:1 1 115px}.voice-allowance span{font-size:9px}.voice-allowance strong{font-size:16px}.voice-allowance>p{font-size:10px}.voice-composer,.voice-library{padding:18px}.voice-composer .panel-heading h2,.voice-library .panel-heading h2{font-size:23px}.voice-library-list{grid-template-columns:minmax(0,1fr);max-height:225px}.voice-option{padding:7px 11px}.voice-library .panel-heading{margin-bottom:17px}.voice-composer textarea{min-height:210px}.voice-selected{padding:12px;gap:10px}.voice-monogram{flex-basis:35px;height:42px;font-size:22px}.voice-selected strong{font-size:19px}.voice-slider-grid{grid-template-columns:minmax(0,1fr);gap:21px}.voice-quote>div{align-items:flex-start;gap:11px}.voice-quote strong{font-size:14px}.voice-quote span{font-size:10px}.voice-paid-note{font-size:9px}.voice-notice{align-items:flex-start;flex-direction:column;gap:12px;padding:17px}.voice-takes-section,.voice-mixes-section{margin-top:31px}.voice-takes-section h2,.voice-mixes-section h2{font-size:27px}.voice-take{padding:18px}.voice-take h3{font-size:22px}.voice-takes-empty{padding:25px 17px;min-height:220px}.voice-takes-empty h3{font-size:22px}.voice-connection{padding:0 18px}.voice-connection>summary{align-items:flex-start;flex-direction:column;gap:10px;padding:19px 0}.voice-connection>summary strong{font-size:21px}.voice-connection-grid{grid-template-columns:minmax(0,1fr);gap:17px}.voice-dialog{width:calc(100% - 24px);padding:21px;max-height:calc(100dvh - 24px)}.voice-dialog .dialog-heading h2{font-size:26px}.voice-mix-actions{flex-direction:column;align-items:stretch;gap:10px}.voice-mix-actions>span{text-align:center}.voice-dialog .voice-connection-grid{gap:22px}}
@media(prefers-reduced-motion:reduce){.voice-workspace *{scroll-behavior:auto!important;transition:none!important}}
/* Six Studio destinations fit on the smallest supported phone width. */
@media(max-width:360px){.sidebar>.wordmark{margin-right:8px}.main-nav{gap:2px}.nav-item{width:40px;padding:10px}.nav-item>.icon{width:18px;height:18px}}
.voice-reconcile{border:1px solid #725f47;background:#302a1e;border-radius:7px;padding:0 13px;margin:0 0 17px}.voice-reconcile summary{padding:13px 0;min-height:44px;font-size:11px;color:var(--gold-light);cursor:pointer}.voice-reconcile form{padding-bottom:15px}.voice-reconcile form>label{margin-top:14px}.voice-reconcile .check-label{line-height:1.7;align-items:flex-start;min-height:44px}.voice-reconcile .check-label input{margin-top:3px}.voice-reconcile .button{margin-top:11px;width:100%;font-size:10px}
.voice-video-context{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid #727854;background:#263729;padding:17px 21px;border-radius:9px;margin-bottom:24px}.voice-video-context strong{display:block;font:440 22px/1.3 Fraunces,Georgia,serif;margin-top:4px;overflow-wrap:anywhere}.voice-video-context p{font-size:11px;color:#b6c3aa;line-height:1.7;margin:7px 0 0}.voice-video-context>.button{flex-shrink:0;font-size:11px}@media(max-width:540px){.voice-video-context{padding:16px;align-items:flex-start;flex-direction:column;gap:3px}}
@media(max-width:580px){.nav-item[data-view=voice]>span:not(.nav-count){font-size:0}.nav-item[data-view=voice]>span:not(.nav-count)::after{content:"Voice";font-size:9px}}

/* Use available width before adding height; bound only genuinely long catalogues. */
.voice-library-list{min-height:0;max-height:clamp(375px,calc(100dvh - 330px),700px)}
#voice-mix-dialog{width:min(900px,calc(100vw - 32px));max-height:calc(100dvh - 24px);padding:26px;overflow-x:hidden}
#voice-mix-dialog .dialog-heading h2{max-width:none;font-size:29px}
.voice-mix-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:22px 32px}
.voice-mix-layout>section{min-width:0}
.voice-mix-layout h3{font-size:12px;font-weight:550;margin:0 0 17px;color:var(--gold-light)}
.voice-mix-layout .voice-mix-take{margin-bottom:19px}
.voice-mix-layout .voice-mix-mode{margin:20px 0 0}
.voice-mix-levels{border-left:1px solid var(--border);padding-left:30px}
.voice-mix-levels .voice-connection-grid{grid-template-columns:minmax(0,1fr);gap:18px;margin:0}
.voice-mix-footer{grid-column:1/-1;padding-top:17px;border-top:1px solid var(--border)}
.voice-mix-footer>.field-help{margin:0;max-width:730px}
.voice-mix-actions{justify-content:space-between;gap:18px;margin-top:16px}
.voice-mix-actions .button{min-height:44px;white-space:normal}
@media(max-width:900px){.voice-library-list{max-height:clamp(300px,50dvh,500px)}}
@media(max-width:640px){#voice-mix-dialog{width:calc(100vw - 24px);padding:21px}.voice-mix-layout{grid-template-columns:minmax(0,1fr);gap:23px}.voice-mix-levels{border-left:0;border-top:1px solid var(--border);padding:21px 0 0}.voice-mix-layout h3{margin-bottom:14px}.voice-mix-levels .voice-connection-grid{gap:19px}.voice-mix-actions{flex-direction:row;align-items:center;gap:12px}.voice-mix-actions .button{flex:0 1 165px}.voice-mix-actions>span{text-align:left;flex:1}.voice-library-list{max-height:clamp(250px,50dvh,460px)}}
@media(max-width:360px){#voice-mix-dialog{padding:18px}.voice-mix-actions{align-items:stretch;flex-direction:column;gap:10px}.voice-mix-actions .button{flex:auto}.voice-mix-actions>span{text-align:center}}
@media(min-width:901px){.voice-library-list:not(:has(.voice-option:nth-child(7))){max-height:none}}

/* Keep the selected voice and its action readable on compact screens. */
@media(max-width:380px){.voice-selected{flex-wrap:wrap}.voice-selected>div:nth-child(2){flex-basis:calc(100% - 45px)}.voice-selected>.button{width:100%}.voice-take-heading{flex-wrap:wrap;gap:10px}.voice-take h3{flex:1 1 150px}}
