/* v0.5.1: one explicit, persistent avatar / voice configuration surface. */
.voice-studio{padding:clamp(20px,3vw,38px);border-color:#335564;background:radial-gradient(ellipse at 90% 0,rgba(40,113,134,.14),transparent 45%),#0a1621}
.studio-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:24px}.studio-heading h2{font-size:clamp(26px,3vw,40px);line-height:1.15;letter-spacing:-.04em;margin:10px 0 14px}.studio-heading h2 em{font-style:normal;color:#84e7cc}.studio-heading p{max-width:690px;color:#afc1cf;font-size:15px;line-height:1.65;margin:0}
.studio-dependencies{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.studio-dependencies span{display:flex;align-items:center;gap:8px;background:#102532;border:1px solid #294753;padding:9px 12px;border-radius:10px;font-size:12px}.studio-dependencies b{font-weight:500;color:#98d8c1}.studio-dependencies i{width:7px;height:7px;background:#70d6b0;border-radius:50%}.studio-dependencies .missing b{color:#efbe78}.studio-dependencies .missing i{background:#efbe78}
.voice-studio fieldset{border:0;margin:0;padding:0;min-width:0}.studio-route{max-width:850px;margin-bottom:24px}.studio-route select{font-size:15px;min-height:49px}.studio-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.studio-pane{background:#0e1d2b;border:1px solid #283c4b;border-radius:18px;padding:24px;min-width:0}.studio-step{display:flex;gap:14px;margin-bottom:23px}.studio-step>b{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#153d40;color:#83e2c8;font-size:15px;font-family:monospace}.studio-step h3{margin:0;font-size:20px;letter-spacing:-.02em}.studio-step p{margin:5px 0 0;font-size:12px;color:#9cafbd}
.studio-gallery{grid-template-columns:repeat(3,minmax(0,1fr));max-height:370px;overflow:auto;margin-top:16px;padding:2px}.studio-gallery .avatar-choice img{height:135px;object-fit:cover}.studio-gallery .avatar-choice.chosen{outline:2px solid #7bdcc1}.studio-gallery .avatar-choice small{word-break:break-all}.studio-gallery .avatar-choice button{font-size:12px;padding:9px}.studio-gallery .avatar-choice>div{padding:10px}.studio-feedback{font-size:13px;padding:12px;background:#091721;border:1px solid #294451;border-radius:10px;line-height:1.55;min-height:50px}.studio-feedback[data-level=error],#studioSaveStatus[data-level=error]{color:#ffbd9f}.voice-studio audio{width:100%;margin:12px 0}.voice-studio [hidden]{display:none!important}.voice-studio input[type=range]{width:100%;padding:8px 0;accent-color:#71dabd}.voice-studio output{float:right;color:#79e5c5}
.studio-savebar{position:sticky;bottom:12px;z-index:5;margin-top:26px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;background:#122b34;border:1px solid #39626c;border-radius:15px;box-shadow:0 12px 32px #0007}.studio-savebar strong{display:block;word-break:break-word;line-height:1.45;font-size:13px}.studio-savebar p{margin:7px 0 0;color:#aedbcf;font-size:12px;line-height:1.5}.studio-savebar .row{flex-shrink:0}.studio-savebar button{min-height:46px}.studio-stage-guide{display:flex;align-items:center;gap:16px;flex-wrap:wrap;color:#a9bac8;font-size:13px;margin-top:25px;padding-top:22px;border-top:1px solid #263f4d}.studio-stage-guide b{color:#e0ecf2}.studio-stage-guide a{margin-left:auto}.voice-studio select{background-color:#081623;color:#ebf4f6}.voice-studio select option{background:#10212e;color:#ebf4f6}
@media(max-width:1080px){.studio-columns{grid-template-columns:1fr}.studio-savebar{flex-wrap:wrap}.studio-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.studio-heading{flex-direction:column}.studio-pane{padding:17px}.studio-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-savebar{position:static;padding:16px}.studio-savebar .row{width:100%;display:grid;grid-template-columns:1fr}.studio-heading p{font-size:14px}.studio-stage-guide{display:grid}.studio-stage-guide a{margin:0}}

/* v0.5.2: private operator diagnostics; not part of stage projection. */
.studio-help-note{padding:14px 18px;border-left:3px solid #c2a465;background:rgba(194,164,101,.07);line-height:1.65;color:#c8d4dd}
.studio-diagnostics{margin:22px 0 0;padding:20px;border:1px solid rgba(135,175,205,.23);border-radius:16px;background:rgba(4,14,23,.65)}
.studio-diagnostics textarea{width:100%;max-height:330px;font:12px/1.6 ui-monospace,monospace;white-space:pre;overflow:auto;resize:vertical}

/* 0.6: provider routing; existing congress styles remain intact. */
.provider[hidden]{display:none!important}.provider-plan{padding:10px 12px;border-left:2px solid var(--accent,#61d4ff);background:rgba(100,175,220,.07);font-size:.85rem;line-height:1.5}.provider-guide select{max-width:480px}.provider-meta{overflow-wrap:anywhere}.studio-pane input,.provider input{min-width:0}.studio-gallery:empty{display:none}.studio-route p{max-width:70ch}
