:root{--bg:#101113;--panel:#16171b;--raised:#1e2025;--line:#2b2d34;--text:#ededef;--muted:#9699a4;--accent:#b1e77d;--accent-dark:#182414;--font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.5}button,input,textarea,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button{transition:background .15s,opacity .15s}button:hover:not(:disabled){filter:brightness(1.12)}a{color:inherit;text-decoration:none}.workspace{display:flex;min-height:100dvh}.sidebar{width:228px;flex-shrink:0;background:#141518;border-right:1px solid var(--line);padding:28px 18px 16px;display:flex;flex-direction:column;height:100dvh;position:sticky;top:0}.brand{font-weight:700;font-size:29px;letter-spacing:-1.3px;display:flex;align-items:center;gap:11px;padding:0 12px 33px}.brand-icon{display:grid;place-items:center;background:var(--accent);color:#161f13;border-radius:9px;width:31px;height:32px;font-family:Georgia,serif;font-size:32px;font-style:italic;line-height:1;letter-spacing:-5px;padding-right:7px}.brand-dot{color:var(--accent)}.new-chat{background:#24262c;border:1px solid #373940;border-radius:9px;padding:10px 12px;text-align:left;font-size:14px;font-weight:550}.new-chat span{margin-right:7px;font-size:20px;line-height:1;vertical-align:-1px}.sidebar-label{color:#6e727d;font-size:12px;letter-spacing:1.2px;margin:31px 12px 11px}.sidebar nav{overflow:auto;flex:1}.chat-link{border:0;background:none;width:100%;display:flex;align-items:center;gap:9px;padding:11px 12px;text-align:left;border-radius:7px;font-size:14px;color:var(--muted);margin-bottom:3px}.chat-link span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-link.active{background:#25282c;color:var(--text)}.chat-link.active .chat-symbol{color:var(--accent)}.chat-symbol{font-size:17px;color:#787d87}.sidebar-bottom{display:flex;align-items:center;gap:9px;padding:16px 4px 0;border-top:1px solid var(--line);font-size:13px;color:#d6d8dd}.sidebar-bottom small{display:block;color:#777c87;font-size:12px}.workspace-avatar{display:grid;place-items:center;background:#333b31;color:var(--accent);border:1px solid #48533e;border-radius:50%;width:31px;height:31px;font-size:13px}.live-dot{height:6px;width:6px;border-radius:50%;background:var(--accent);margin-left:auto}.main{flex:1;min-width:0}.topbar{height:77px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px}.breadcrumb{color:var(--muted);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.breadcrumb span{margin:0 14px;color:#50545e}.breadcrumb strong{font-weight:500;color:#d5d7dd}.mvp-badge{font-size:11px;letter-spacing:.9px;white-space:nowrap;color:#989da7;border:1px solid var(--line);padding:5px 9px;border-radius:5px}.mvp-badge span{margin:0 5px;color:#52575f}.studio-grid{display:grid;grid-template-columns:minmax(350px,1fr) minmax(420px,1fr);min-height:calc(100dvh - 77px)}.chat-panel{display:flex;flex-direction:column;border-right:1px solid var(--line);height:calc(100dvh - 77px);position:sticky;top:0;min-width:0}.panel-heading{display:flex;gap:12px;padding:31px 28px 24px}.section-icon{display:grid;place-items:center;border:1px solid #3d4a31;background:#202b1c;color:var(--accent);width:38px;height:38px;border-radius:11px;flex-shrink:0;font-size:23px;margin-top:2px}h1,h2,h3,p{margin:0}h1{font-size:19px;letter-spacing:-.4px;font-weight:600}.panel-heading p{font-size:13px;margin-top:4px;color:var(--muted)}.messages{flex:1;min-height:180px;overflow-y:auto;padding:10px 28px 24px;scroll-behavior:smooth}.welcome{margin-top:45px}.welcome .greeting{font-size:25px;font-weight:550;line-height:1.35;letter-spacing:-.65px;margin-bottom:15px;max-width:330px}.welcome>p{color:var(--muted);font-size:14px;line-height:1.8;max-width:360px}.suggestions{display:grid;gap:9px;margin-top:26px}.suggestion{border:1px solid var(--line);background:#181a1e;padding:13px 15px;text-align:left;border-radius:9px;display:flex;gap:12px;align-items:center;font-size:14px;color:#ccced5}.suggestion .suggestion-icon{font-size:17px;color:#889182}.message{margin-bottom:22px;font-size:15px;overflow-wrap:anywhere}.message-label{font-size:12px;color:#9399a1;margin-bottom:8px;display:flex;align-items:center;gap:7px}.message-label .assistant-mark{color:var(--accent);font-size:16px}.message.user .message-content{background:#24272d;border:1px solid #30343d;border-radius:12px 12px 3px 12px;padding:13px 16px;white-space:pre-wrap}.message.assistant .message-content{color:#d0d3db;line-height:1.75;white-space:pre-wrap}.message.error .message-content{color:#efa995;border:1px solid #65433a;background:#291e1b;padding:12px;border-radius:8px}.message.pending .message-content{color:var(--muted);display:flex;align-items:center;gap:9px}.spinner{width:14px;height:14px;border:2px solid #3c4439;border-top-color:var(--accent);border-radius:50%;display:inline-block;animation:spin 1s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.composer-area{padding:16px 24px 18px;background:linear-gradient(transparent,var(--bg) 12%)}.composer{border:1px solid #41444d;border-radius:12px;background:#1b1d22;padding:13px}.composer:focus-within{border-color:#73855d}.composer textarea{display:block;resize:none;width:100%;background:none;border:0;color:var(--text);outline:none;font-size:15px;line-height:1.6;max-height:190px;min-height:76px;padding:0}.composer textarea::placeholder{color:#777d89}.composer-actions{display:flex;align-items:center;gap:8px;margin-top:12px}.attach{border:0;background:none;display:flex;gap:5px;align-items:center;color:#a7abb5;font-size:13px;padding:3px 0}.attach span{font-size:20px}.input-counter{font-size:11px;color:#717784;margin-left:auto}.send{background:var(--accent);color:#1b2b15;width:33px;height:33px;border:0;border-radius:8px;font-size:23px;margin-left:8px;display:grid;place-items:center}.composer-hint{color:#707681;font-size:11px;text-align:center;margin-top:10px}.attachment{border:1px solid #3a4036;background:#1b2119;border-radius:8px;padding:8px 10px;margin-bottom:9px;display:flex;align-items:center;gap:9px;font-size:12px}.attachment[hidden]{display:none}.attachment img{width:34px;height:40px;object-fit:cover;border-radius:4px}.attachment-info{min-width:0;flex:1;overflow-wrap:anywhere}.attachment-info small{display:block;color:#929a8c;font-size:11px}.attachment button{border:0;background:none;font-size:19px;color:#c7cfc0}.production-panel{padding:30px 32px 32px;background:#141519;min-width:0}.production-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:1.6px;color:#8a909d;display:block;margin-bottom:7px}h2{font-size:22px;letter-spacing:-.6px;font-weight:550}.format-badge{border:1px solid #383b42;color:#b0b5be;font-size:12px;padding:5px 8px;border-radius:5px;white-space:nowrap}.format-badge span{margin:0 4px;color:#626976}.settings{display:grid;grid-template-columns:1.3fr 1fr;gap:12px;margin-bottom:24px}.settings label{font-size:13px;color:#9299a5}.settings select{display:block;width:100%;margin-top:7px;height:42px;border:1px solid #383c44;background-color:#1d1f25;color:#e0e3e8;border-radius:7px;padding:0 30px 0 12px;font-size:14px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23969ba5' stroke-width='1.5'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center}.script-card{background:#191b20;border:1px solid #33363e;border-radius:11px;overflow:hidden}.card-heading{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;border-bottom:1px solid #2b2e35;gap:8px}.card-title{font-size:14px;font-weight:500}.card-title>span{color:#959dad;margin-right:8px;font-size:18px;vertical-align:-1px}.script-tools{display:flex;gap:10px;align-items:center}.script-tools select{font-size:12px;max-width:130px;background-color:#22252b;border:1px solid #353a43;border-radius:5px;color:#b9bfca;padding:4px 27px 4px 8px}.icon-button{background:none;border:0;color:#afb5c0;font-size:19px;padding:0 2px}.script-empty{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:280px;padding:24px}.empty-document{width:43px;height:53px;border:1px solid #424950;border-radius:6px;background:#22262b;display:flex;flex-direction:column;gap:5px;padding:15px 10px;margin-bottom:19px;transform:rotate(-5deg)}.empty-document span{height:2px;width:20px;background:#677062;border-radius:2px}.empty-document span:last-child{width:12px}.script-empty h3{font-size:15px;font-weight:500;color:#c0c6cf;margin-bottom:8px}.script-empty p{font-size:13px;color:#7e8693;line-height:1.8}#script{width:100%;resize:vertical;display:block;min-height:330px;height:380px;max-height:850px;background:none;border:0;padding:18px;color:#d1d5de;font-size:14px;line-height:1.85;font-family:var(--font)}#script[hidden],.script-empty[hidden]{display:none}.script-footer{padding:9px 15px;border-top:1px solid #2b2e35;font-size:11px;display:flex;justify-content:space-between;gap:10px;color:#7e8795}.generate-section{margin-top:23px}.cost-row{display:flex;justify-content:space-between;align-items:center}.cost-row>div{display:flex;align-items:baseline;gap:12px}.cost-label{font-size:13px;color:#b0b6c0}.cost-row strong{font-size:21px;font-weight:550;letter-spacing:-.6px}.cost-row>span{font-size:11px;color:#8d95a2}.cost-note{font-size:11px;color:#7b8491;line-height:1.6;margin:7px 0 15px;min-height:18px}.primary-button{width:100%;border:1px solid #bce897;background:var(--accent);color:#1c2c13;min-height:46px;border-radius:8px;font-size:14px;font-weight:650;display:flex;align-items:center;justify-content:center;gap:9px}.primary-button span{font-size:20px}.primary-button:disabled{background:#38492c;border-color:#47573c;color:#98a88a;opacity:.65}.approval-note{text-align:center;font-size:11px;color:#767f8c;margin-top:8px}.results-section{border-top:1px solid var(--line);margin-top:25px;padding-top:21px}.results-heading{display:flex;align-items:center;gap:8px;margin-bottom:15px}.results-heading h3{font-size:14px;font-weight:500}.results-heading>span{color:#838c97;background:#23262c;min-width:20px;text-align:center;font-size:11px;border-radius:5px}.results-empty{border:1px dashed #343a42;border-radius:9px;padding:22px 12px;text-align:center;color:#788290;font-size:12px;display:flex;align-items:center;justify-content:center;gap:10px}.play-outline{font-size:21px;color:#8a938b}.result-card{border:1px solid #3a3f47;border-radius:10px;padding:14px;background:#1c1f25;margin-bottom:12px}.result-header{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:500}.result-header small{margin-left:auto;color:#8994a2;font-size:11px;white-space:nowrap}.result-status{font-size:13px;color:#bec9b4;display:flex;align-items:center;gap:8px;margin-top:12px}.result-card video{display:block;width:100%;max-height:480px;background:#090b0d;border-radius:6px;margin-top:13px}.result-footer{display:flex;gap:10px;justify-content:space-between;margin-top:11px;font-size:12px;color:#8e98a6}.result-footer a{color:var(--accent)}.result-error{font-size:13px;color:#edaa96;margin-top:10px;white-space:pre-wrap;overflow-wrap:anywhere}.result-warning{font-size:12px;color:#c6b48d;margin-top:10px}.mobile-tabs{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:min(90vw,600px);border:1px solid #555f4c;background:#293124;border-radius:9px;box-shadow:0 8px 40px #0006;padding:13px 20px;font-size:14px;z-index:20}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background:#353a44;border-radius:4px}@media(min-width:1600px){.studio-grid{grid-template-columns:minmax(400px,1fr) minmax(500px,1fr)}.production-panel{padding:36px 48px}.panel-heading{padding:36px 40px 24px}.messages{padding-left:40px;padding-right:40px}.composer-area{padding-left:36px;padding-right:36px}}@media(max-width:1190px){.sidebar{width:185px;padding-left:12px;padding-right:12px}.studio-grid{grid-template-columns:minmax(320px,1fr) minmax(370px,1fr)}.production-panel{padding:25px 22px}.panel-heading{padding:25px 22px}.messages{padding-left:22px;padding-right:22px}.composer-area{padding-left:16px;padding-right:16px}.sidebar-bottom{font-size:11px}.sidebar-bottom small{font-size:10px}.topbar{padding:0 24px}.cost-row{gap:5px}.cost-row>div{gap:8px}.cost-label{font-size:12px}}@media(max-width:960px){.sidebar{width:74px;padding:23px 10px 12px}.brand{padding:0 10px 30px}.brand>span:last-child,.sidebar-label,.sidebar-bottom>div,.sidebar-bottom>.live-dot{display:none}.new-chat{font-size:0;text-align:center;padding:10px}.new-chat span{font-size:24px;margin:0}.chat-link{justify-content:center;padding:10px}.chat-link span:last-child{display:none}.sidebar nav{margin-top:20px}.sidebar-bottom{justify-content:center}.studio-grid{grid-template-columns:minmax(300px,1fr) minmax(365px,1.1fr)}}@media(max-width:760px){.sidebar{display:none}.topbar{height:60px;padding:0 18px}.mvp-badge{font-size:10px}.breadcrumb{max-width:70%}.breadcrumb span{margin:0 7px}.mobile-tabs{display:flex;border-bottom:1px solid var(--line);background:var(--bg);padding:0 16px;gap:20px;position:sticky;top:0;z-index:4;height:47px}.mobile-tabs button{border:0;border-bottom:2px solid transparent;background:none;color:#969eaa;font-size:13px;padding:12px 0}.mobile-tabs button.active{color:var(--accent);border-bottom-color:var(--accent)}.studio-grid{display:block;min-height:calc(100dvh - 107px)}.chat-panel{height:calc(100dvh - 107px);border:0;position:relative;top:auto}.production-panel{display:none;padding:24px 20px}.workspace.show-production .chat-panel{display:none}.workspace.show-production .production-panel{display:block}.panel-heading{padding:24px 22px 15px}.welcome{margin-top:30px}.welcome .greeting{font-size:27px}.messages{min-height:140px}.composer-area{padding-bottom:12px}.cost-label{font-size:14px}.cost-row>span{font-size:12px}.script-footer,.cost-note,.approval-note,.composer-hint{font-size:12px}.mobile-history{display:inline}.new-mobile{background:none;border:1px solid var(--line);border-radius:6px;padding:4px 8px;font-size:12px}.topbar{gap:8px}.mvp-badge{display:none}#mobile-history{display:block;width:120px;font-size:12px;background-color:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:6px;padding:6px 25px 6px 8px}}@media(min-width:761px){#mobile-history,.new-mobile{display:none}}
.repeat-button{background:none;border:1px solid #3b4436;border-radius:6px;padding:6px 9px;color:#bdd6a9;font-size:12px;margin-top:12px}.settings label{font-size:14px}
.duration-warning{padding:10px 12px;border:1px solid #5c5134;background:#28241c;border-radius:7px;margin:-10px 0 18px;color:#c8b88e;font-size:13px}.duration-warning[hidden]{display:none}
.model-note{font-size:12px;color:#8e9a89;margin:-12px 0 21px;line-height:1.6}.model-note.needs-key{color:#c9b886}.quote-button{width:100%;border:1px solid #536447;background:#222d1d;color:#c8e8b1;min-height:40px;border-radius:8px;font-size:14px;margin-bottom:9px}.quote-button[hidden]{display:none}.result-header{flex-wrap:wrap}.settings{grid-template-columns:minmax(0,1.8fr) minmax(105px,1fr)}.settings select{font-size:13px}.cost-row{flex-wrap:wrap;row-gap:7px}
/* Preserve the encoded video's proportions even when the preview height is capped. */
.result-card video{object-fit:contain;height:auto;width:auto;max-width:100%;max-height:70dvh;margin-left:auto;margin-right:auto}
.text-review{border:1px solid #394334;border-radius:9px;background:#1a2017;margin-top:16px;padding:11px 14px;font-size:14px}.text-review[hidden]{display:none}.text-review summary{cursor:pointer;color:#c4d7b5;font-weight:500}.text-review>p{font-size:12px;line-height:1.6;color:#929b89;margin-top:10px}#text-review-list{max-height:240px;overflow:auto}.text-review-item{border-top:1px solid #303b29;margin-top:10px;padding-top:10px;overflow-wrap:anywhere}.text-review-item small{display:block;color:#9ba991;font-size:12px;margin-bottom:4px}.text-review-item>div{white-space:pre-wrap;color:#edf0e9}
.quality-report{margin:12px 0 0;padding:12px;border:1px solid var(--line);border-radius:10px;font-size:12px;overflow-wrap:anywhere}
.quality-report summary{cursor:pointer;font-weight:600}
.quality-scene{margin-top:12px}.quality-scene p{margin:5px 0;line-height:1.5}
.quality-limit{opacity:.7;line-height:1.5;margin-bottom:0}
.screen-actions{display:flex;gap:8px;flex-wrap:wrap}.screen-actions button{padding:8px;border:1px solid var(--line);border-radius:6px;background:var(--raised);font-size:12px}.screen-actions button:last-child{color:var(--accent)}

.budget-field{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:13px;margin:14px 0}.budget-field input{width:105px;max-width:40%;padding:9px;border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--text);font:inherit}
.story-review{border:1px solid var(--line);border-radius:12px;padding:14px;margin:14px 0;font-size:13px;overflow-wrap:anywhere}.story-review details{margin:12px 0}.story-review summary{cursor:pointer;font-weight:600}.story-person{padding:10px 0;border-bottom:1px solid var(--line)}.story-person p,.story-review details p{line-height:1.5;margin:6px 0;color:var(--muted)}
.launch-confirm{width:min(500px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line);border-radius:14px;background:var(--bg);color:var(--text);padding:24px}.launch-confirm::backdrop{background:#000a}.launch-confirm h2{font-size:19px;margin-top:0}.launch-confirm p{line-height:1.6}.launch-confirm .screen-actions{justify-content:flex-end;margin-top:20px}.launch-confirm .screen-actions button:last-child{background:var(--accent);color:#111}
.word-alignment{margin:12px 0}.word-alignment summary{cursor:pointer}.word-list{max-height:240px;overflow:auto;border:1px solid var(--line);border-radius:7px;padding:8px;margin-top:8px;font-size:12px}.word-list p{margin:5px 0}
.messages{scroll-behavior:auto;overflow-anchor:none}.chat-turn{padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid var(--line)}.chat-turn .repeat-button{margin-top:9px}.artifact-link{display:block;padding:8px 0;color:var(--accent);overflow-wrap:anywhere}.message .message-label{line-height:1.5}

.dialogue-row{padding:14px 0;border-top:1px solid var(--border,#303336);display:grid;gap:10px;min-width:0}
.dialogue-label{display:grid;gap:6px;font-size:13px;color:var(--muted,#a8aca8);min-width:0}
.dialogue-text{width:100%;min-height:76px;box-sizing:border-box;resize:vertical;padding:10px;border:1px solid #3e443d;border-radius:8px;background:#171a18;color:#edf0e9;font:inherit;line-height:1.5}
.dialogue-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dialogue-times input{width:100%;min-width:0;box-sizing:border-box;padding:9px;border:1px solid #3e443d;border-radius:8px;background:#171a18;color:#edf0e9;font:inherit}
#dialogue-editor details>summary{cursor:pointer;margin-bottom:12px}
#dialogue-editor button{white-space:normal;max-width:100%}

#attachment{flex-direction:column;align-items:stretch;max-height:240px;overflow:auto}
.reference-entry{display:flex;gap:10px;align-items:center;min-width:0;padding:5px 0}
.reference-entry img{width:52px;height:62px;object-fit:contain;flex:none}
.reference-entry .attachment-info{flex:1;min-width:0;overflow-wrap:anywhere}
.reference-entry input{display:block;box-sizing:border-box;width:100%;min-width:0;margin-top:6px;padding:7px;border:1px solid #3e443d;border-radius:6px;background:#171a18;color:#edf0e9;font:inherit}
.used-references{margin:10px 0;font-size:13px;color:var(--muted,#a8aca8)}
.used-references summary{cursor:pointer}.used-references span{overflow-wrap:anywhere}
#attachment>.repeat-button{font-size:12px;border:1px solid #3e443d;border-radius:6px;background:#242c20;padding:6px 10px;align-self:flex-start;white-space:normal}

/* Keep the chat and generated videos central; preparation stays compact. */
.studio-grid{grid-template-columns:minmax(0,1.25fr) minmax(360px,.85fr)}
.production-panel{padding:24px;max-height:calc(100dvh - 77px);overflow-y:auto;position:sticky;top:0}
.production-heading{margin-bottom:20px}.production-heading h2{font-size:20px}
.panel-heading{padding-top:24px;padding-bottom:16px}.panel-heading h1{font-size:21px}
.model-details,.generation-details,.advanced-panel{font-size:12px;color:var(--muted);margin:10px 0}
.model-details summary,.generation-details summary,.advanced-panel>summary{cursor:pointer;padding:5px 0;color:#b6c1b0}
.model-details .model-note{margin:8px 0 15px}.advanced-panel{border-top:1px solid var(--line);padding-top:8px}
.advanced-panel[hidden]{display:none}#story-review{padding:12px;margin:14px 0}
#story-review .card-heading{padding:0;margin:0;gap:10px}#story-review .repeat-button{margin:0;flex:none}
#story-status{margin:8px 0 0}#story-extra{margin-bottom:0}
.script-empty{min-height:155px;padding:18px}.empty-document{display:none}
#script{min-height:220px;height:285px;line-height:1.65}
#budget-note:empty,#generation-error:empty{display:none}.generate-section{margin-top:18px}
.video-message{max-width:100%;min-width:0}.video-message .result-card{margin:0;max-width:520px}
.result-card{padding:13px}.result-card>video{display:block;width:auto;max-width:100%;max-height:min(54dvh,460px);object-fit:contain;margin:12px auto}
.result-header{gap:8px;font-size:12px}.result-header small{font-size:10px}
.result-body .quality-report{font-size:12px}.result-body .repeat-button{margin-right:6px}
.result-footer{flex-wrap:wrap;gap:8px}.result-body .cost-note{margin-bottom:8px}
.result-body .generation-details{margin:10px 0}.result-status{margin:8px 0}
.message-label{font-size:11px}.chat-turn{border:0;margin-bottom:18px;padding-bottom:0}
.message{margin-bottom:18px}.welcome{margin-top:24px}.welcome .greeting{font-size:26px}
@media(max-width:1100px) and (min-width:761px){.studio-grid{grid-template-columns:minmax(0,1fr) minmax(330px,.9fr)}.production-panel{padding:20px}}
@media(max-width:760px){.studio-grid{display:block}.production-panel{max-height:none;overflow:visible;position:static;padding:20px}.chat-panel{height:calc(100dvh - 107px)}.video-message .result-card{max-width:100%}.result-card>video{max-height:48dvh}.messages{padding:12px 16px 20px}.panel-heading{padding:20px 16px 12px}#script{height:260px}.breadcrumb{min-width:0;max-width:calc(100% - 150px)}#mobile-history{width:110px;flex:none}.script-tools{min-width:0}.script-tools select{max-width:135px}.settings{grid-template-columns:minmax(0,1fr) 110px}}

.video-state{font-size:10px;color:var(--accent);background:#25301f;padding:2px 6px;border-radius:4px;font-weight:400}
.video-state.state-failed{color:#efa995;background:#3c2723}
