.studio-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0}.studio-heading h2{font:32px Georgia,serif;margin:10px 0}.studio-heading p,.storage-note{color:var(--muted);font-size:12px}.studio-history{display:flex;gap:7px;flex-wrap:wrap}.studio-history button{font-size:11px}.studio-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:22px 0 12px;border-bottom:1px solid var(--line);padding-bottom:14px}.studio-tabs button{font-size:12px}.studio-tabs button.active{background:#343c2c;color:var(--gold);border-color:#8f8155}.studio-layout{display:grid;grid-template-columns:minmax(340px,1fr) minmax(380px,1.1fr);align-items:start;gap:24px;margin-top:18px}.studio-live{position:sticky;top:12px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--panel)}.live-preview-title{padding:13px 17px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.5px;color:var(--muted);border-bottom:1px solid var(--line)}.studio-live .viewer{min-height:280px;aspect-ratio:1.35}.studio-live .viewer-top{left:17px;right:17px;font-size:8px}.studio-live .scene-chip span{display:none}.studio-live .transport{gap:7px;padding:0 12px;height:58px}.studio-live .shot-strip{gap:3px;padding:0 10px 12px}.studio-live .shot small{display:none}.studio-live .shot span{font-size:7px;padding:0;text-align:center}.studio-live .subtitle{left:4%;right:4%;bottom:44px}.studio-live .subtitle p{font-size:15px;padding:9px}.live-presets{display:flex;gap:5px;padding:12px;flex-wrap:wrap;border-top:1px solid var(--line)}.live-presets button{font-size:10px;flex:1;padding:7px 5px}.studio-live .studio-note{border:0;border-top:1px solid var(--line);border-radius:0;margin:0;background:transparent}.studio-section-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:15px}.studio-section-title h3{font:22px Georgia,serif}.studio-section-title button{font-size:11px}.studio-form{display:flex;flex-direction:column;gap:15px}.studio-form label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#b9c0b0;min-width:0}.studio-form input,.studio-form textarea,.studio-form select{background:#101611;color:var(--text);border:1px solid #41493b;border-radius:4px;padding:10px 11px;font:13px/1.5 "Segoe UI",sans-serif;min-width:0;width:100%}.studio-form textarea{resize:vertical}.studio-form input[type=color]{padding:3px;height:42px}.studio-form input[type=checkbox]{width:15px;height:15px;accent-color:var(--gold)}.studio-form label.check-label{flex-direction:row;align-items:center;padding:5px 0}.studio-form fieldset{border:1px solid var(--line);border-radius:4px;font-size:11px;padding:12px}.studio-form legend{color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-section{display:flex;flex-direction:column;gap:13px;background:var(--panel);border:1px solid var(--line);padding:20px;border-radius:7px}.form-section h4,.studio-note h4{font-size:14px;font-weight:500;margin:0 0 6px;color:var(--text)}.field-hint{font-size:11px;line-height:1.7;color:var(--muted);margin:2px 0}.character-pills,.source-pills{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:17px}.character-pills button,.source-pills button{display:flex;align-items:center;gap:8px;font-size:12px}.character-pills button>span{width:24px;height:24px;border-radius:50%;display:grid;place-content:center;font-family:Georgia,serif}.character-pills button.selected,.source-pills button.selected{border-color:var(--gold);color:var(--gold)}.media-slot{border:1px dashed #61664a;border-radius:5px;padding:15px;display:flex;flex-direction:column;gap:10px}.media-slot b{font-size:12px;font-weight:500}.media-slot p{font-size:11px;color:var(--muted);margin:0;line-height:1.7}.file-label{background:#273020!important;border:1px dashed #6b7554;border-radius:4px;padding:12px!important;display:flex;gap:10px;flex-direction:column;color:var(--green);font-size:12px;margin:12px 0}.file-label input[type=file]{padding:4px;font-size:11px;width:100%;border:0;background:transparent;color:var(--muted)}.button-row,.sticky-actions{display:flex;gap:8px;flex-wrap:wrap}.button-row button,.sticky-actions button{font-size:11px}.sticky-actions{position:sticky;bottom:0;padding:15px 0;background:#101412f0;border-top:1px solid var(--line);z-index:2}#studio-notice{position:sticky;top:0;padding:12px 16px;background:#2d3c25;border:1px solid #526549;color:#cdddba;border-radius:5px;z-index:6;font-size:12px}#studio-notice.error{background:#452a24;color:#f0c9b8;border-color:#8c5141}.line-list{max-height:275px;overflow:auto;border:1px solid var(--line);border-radius:5px;margin-bottom:17px}.line-list button{display:grid;grid-template-columns:85px 1fr;text-align:left;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:11px}.line-list button.selected{background:#303a29;border-left:3px solid var(--gold)}.line-list span{font-size:10px;color:var(--gold)}.line-list b{font-size:11px;font-weight:500}.line-list small{grid-column:2;font-size:10px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.service-state{padding:16px;border:1px solid #7e6845;border-radius:6px;background:#2b281d;margin-bottom:16px}.service-state.ready{background:#223421;border-color:#54694b}.service-state b{font-weight:500;font-size:13px;color:var(--gold)}.service-state p{font-size:11px;color:var(--muted);margin:7px 0 0;line-height:1.7}.studio-note{padding:20px;border:1px solid var(--line);border-radius:6px;background:var(--panel);margin-top:20px}.studio-note p,.studio-note li{font-size:11px;line-height:1.8;color:var(--muted)}.studio-note b{font-weight:500;font-size:12px}.studio-note ol{padding-left:18px}.studio-note a{color:var(--gold);font-size:11px}.studio-note code{font-size:10px;color:var(--green)}.voice-text{margin:0;border-left:2px solid var(--gold);padding:12px 16px;font-size:16px;font-family:Georgia,serif;line-height:1.6}.clip-state{font-size:11px;color:var(--gold)}.excerpt{padding:15px;border:1px solid var(--line);border-radius:5px;background:var(--panel);margin-top:12px}.excerpt small{font-size:10px;color:var(--gold)}.excerpt blockquote{font-size:12px;line-height:1.8;margin:12px 0}.excerpt button{font-size:10px}.saved-version{display:flex;justify-content:space-between;align-items:center;padding:13px;border-bottom:1px solid var(--line);gap:15px;font-size:12px}.saved-version button{font-size:11px}.chat-history p{border-left:2px solid #5d7252;padding:12px;background:var(--panel);font-size:12px;line-height:1.8}.chat-history b{display:block;font-size:10px;color:var(--gold)}@media(max-width:1100px){.studio-layout{grid-template-columns:minmax(300px,1fr) minmax(300px,1fr);gap:15px}.form-section{padding:15px}.studio-live .viewer{min-height:240px}.studio-live .transport{gap:5px}.studio-live .scene-title h2{font-size:28px}}@media(max-width:850px){.studio-layout{grid-template-columns:1fr}.studio-live{position:static;grid-row:1}.studio-live .viewer{aspect-ratio:1.7;min-height:260px}.studio-heading{align-items:flex-start;flex-direction:column}.studio-history{gap:6px}.form-section{padding:18px}.studio-live .shot span{font-size:8px}.studio-tabs{gap:5px}.studio-tabs button{font-size:11px;padding:8px 10px}}@media(max-width:430px){.form-grid{grid-template-columns:1fr}.line-list button{grid-template-columns:75px 1fr}.studio-live .subtitle p{font-size:13px}.studio-live .transport{font-size:9px}.studio-live .shot span{font-size:6px}.studio-live .viewer{aspect-ratio:1.3}.studio-heading h2{font-size:28px}}
.studio-open .heading{display:none}.studio-open main{padding-top:15px}.studio-open .studio-heading{margin-top:8px}.studio-open .studio-tabs{margin-top:16px}.studio-open .studio-heading h2{font-size:28px}.studio-live .scene-title{padding:8%}.studio-live .scene-title h2{font-size:32px}
