:root{--bg:#f6f8fb;--white:#fff;--ink:#1c2639;--muted:#778397;--line:#e6ebf2;--blue:#2865e8;--blue-soft:#eff4ff;--green:#25816b;--red:#c74848;--radius:14px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,input,textarea,select,a{outline-offset:3px}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #89acfa}button{border:0;background:transparent;color:inherit}button,select{touch-action:manipulation}a{color:inherit;text-decoration:none}input,textarea,select{border:1px solid #dce3ed;background:#fff;color:var(--ink);border-radius:8px;padding:10px 12px;min-width:0}textarea{resize:vertical;line-height:1.7}input::placeholder,textarea::placeholder{color:#95a0b0}input:focus,textarea:focus,select:focus{border-color:#7aa0ef}h1,h2,h3,p{margin:0}p{line-height:1.8}small{color:var(--muted)}.hidden{display:none!important}.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}.subtle{font-size:12px;color:var(--muted)}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:9px;padding:11px 17px;font-weight:600;min-height:42px;line-height:1.2}.primary{background:var(--blue);color:#fff;box-shadow:0 3px 7px #2865e812}.primary:hover:not(:disabled){background:#1b54cb}.secondary{background:#fff;border:1px solid var(--line);color:#49566c}.secondary:hover:not(:disabled){background:var(--bg)}.text-button{color:var(--blue);padding:10px;font-size:12px}.icon-button{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;font-size:18px;color:#78869b;flex-shrink:0}.icon-button:hover{background:#edf1f7;color:var(--ink)}.danger-text{color:var(--red)}.app-shell{display:flex;min-height:100vh}.sidebar{width:238px;background:#fbfcfe;border-right:1px solid var(--line);position:fixed;top:0;bottom:0;left:0;display:flex;flex-direction:column;padding:30px 20px 0;z-index:20}.brand{display:flex;align-items:center;gap:11px;font-size:20px;font-weight:700;margin-bottom:34px;letter-spacing:1px}.brand small{display:block;font-size:8px;letter-spacing:1.65px;font-weight:500;margin-top:4px}.brand-mark{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;background:var(--blue);border-radius:11px;color:#fff;font-size:22px;font-weight:600;letter-spacing:0}.new-project{width:100%;font-size:13px;box-shadow:none}.new-project span{font-size:22px;line-height:16px;font-weight:400}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8a96a7;margin-top:30px;margin-bottom:7px}.search-wrap{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:8px;padding:0 9px;background:#fff;margin-bottom:15px;color:#7c899f}.search-wrap input{width:100%;border:0;padding:9px 0;font-size:11px;background:transparent}.project-list{flex:1;overflow:auto;min-height:100px;margin:0 -8px;padding:0 8px}.empty-list{padding:18px 4px;text-align:center}.project-item{display:flex;align-items:center;gap:10px;padding:11px 10px;width:100%;border-radius:9px;text-align:left;margin:3px 0}.project-item.active{background:#eaf1ff;color:#2861cb}.project-item:hover{background:#f0f4fa}.project-item.active:hover{background:#e4edfe}.project-item .project-icon{font-size:17px;color:#8695ad}.project-item .project-info{min-width:0}.project-item strong{font-size:12px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:500}.project-item small{font-size:10px;display:block;margin-top:5px}.sidebar-footer{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);margin-top:14px;padding:20px 0}.avatar{width:30px;height:30px;border-radius:50%;background:#e8eef9;color:#57749f;display:flex;align-items:center;justify-content:center;font-size:11px;flex-shrink:0}.sidebar-footer strong{font-size:11px;font-weight:500;display:block}.sidebar-footer small{font-size:9px;display:block;margin-top:5px}.sidebar-footer .icon-button{margin-left:auto;width:25px}.main{margin-left:238px;width:calc(100% - 238px);min-width:0}.topbar{height:75px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:#fff;gap:12px}.topbar-title{display:flex;align-items:center;gap:13px;min-width:0}.breadcrumb{font-size:12px;color:#8793a5;white-space:nowrap}.breadcrumb span{margin-left:16px;color:#c3cbd6}.topbar h1{font-size:13px;font-weight:600;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.connection{display:flex;align-items:center;gap:6px;font-size:11px;color:#77869b;padding:7px 0}.status-dot{width:6px;height:6px;background:#a9b4c2;display:inline-block;border-radius:50%}.connection.ok{color:var(--green)}.connection.ok .status-dot{background:var(--green)}.connection.bad{color:var(--red)}.connection.bad .status-dot{background:var(--red)}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 352px;min-height:calc(100vh - 75px);align-items:start}.studio{min-width:0;padding:35px 32px 18px;max-width:1150px;width:100%;margin:0 auto}.studio-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:28px}.eyebrow{display:block;font-size:10px;letter-spacing:1.4px;color:#8b97a9;margin-bottom:9px}.studio-heading h2{font-size:24px;letter-spacing:-.6px;font-weight:650;line-height:1.4}.studio-heading p{font-size:12px;color:#8a95a7;margin-top:10px}.outline-tag{border:1px solid #dce7ff;color:#4776d1;font-size:10px;background:#f2f6ff;white-space:nowrap;padding:6px 10px;border-radius:6px}.steps{display:flex;align-items:center;gap:13px;margin-bottom:24px;padding:0 3px}.step{display:flex;align-items:center;gap:8px;color:#9ba6b5;font-size:11px;white-space:nowrap}.step b{width:23px;height:23px;border-radius:50%;background:#eaf0f7;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:500;color:#92a0b4}.step.active{color:#346ce0}.step.active b{background:#e6eeff;color:var(--blue)}.step.complete b{background:#e9f4f0;color:var(--green)}.steps i{height:1px;background:#e0e6f0;flex:1}.asset-panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;margin-bottom:26px;overflow:hidden}.asset-panel summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:17px 19px;list-style:none}.asset-panel summary::-webkit-details-marker{display:none}.asset-panel summary>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.asset-panel strong{font-size:12px;font-weight:600}.section-icon{color:#6690df;font-size:19px}.asset-panel summary .subtle{font-size:10px;color:#a0a9b7;margin-left:4px}.chevron{color:#8e9bae;transition:transform .2s}.asset-panel[open] .chevron{transform:rotate(180deg)}.asset-body{padding:0 19px 16px}.category-row{border-top:1px solid #f0f2f6;padding-top:15px;display:flex;align-items:center;gap:13px;margin-bottom:18px}.category-row label{font-size:11px;font-weight:500;white-space:nowrap}.category-row select{font-size:11px;padding:8px 10px;min-width:154px}.category-row .subtle{font-size:10px}.upload-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.upload-group{min-width:0}.upload-title{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin-bottom:8px;gap:4px}.upload-title small{font-size:9px;color:#9ba6b6;white-space:nowrap}.upload-zone{border:1px dashed #d6dfed;border-radius:9px;min-height:103px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#7a8ba3;background:#fbfcff;font-size:10px;transition:border-color .15s,background .15s}.upload-zone:hover:not(:disabled),.upload-zone.dragover{border-color:var(--blue);background:#f1f5ff}.upload-zone .upload-icon{color:#99b1d5;font-size:23px;font-weight:300;line-height:24px}.upload-zone small{font-size:9px;color:#a2aebb}.upload-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:7px}.upload-item{position:relative;aspect-ratio:1;background:#edf1f7;border-radius:7px;overflow:hidden}.upload-item img{width:100%;height:100%;object-fit:cover}.upload-item .file-remove{position:absolute;right:2px;top:2px;background:#ffffffee;border-radius:50%;width:20px;height:20px;padding:0;font-size:13px}.upload-item .file-label{position:absolute;bottom:0;left:0;right:0;background:#203043c7;color:#fff;font-size:8px;padding:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-item .file-failed{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#fff4f1e8;color:var(--red);font-size:10px;padding:3px;text-align:center}.asset-footnote{font-size:9px;color:#9ca8b8;margin-top:13px;line-height:1.65}.asset-panel.locked .upload-zone{min-height:55px}.asset-panel.locked .upload-zone .upload-icon{display:none}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:8px}.section-heading h3{font-size:12px;font-weight:600}.section-heading .subtle{font-size:10px}.welcome{display:flex;gap:13px;margin:22px 0 32px}.assistant-symbol{width:31px;height:31px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;color:var(--blue);background:#eaf0ff;border:1px solid #e2eaff;border-radius:10px;font-size:20px}.welcome h3{font-size:14px;font-weight:600;margin:2px 0 9px}.welcome p{font-size:12px;color:#7b8799;line-height:1.9}.prompt-examples{display:flex;gap:9px;margin-top:18px;flex-wrap:wrap}.prompt-examples button{border:1px solid #e1e7f1;background:#fff;border-radius:8px;padding:9px 12px;font-size:10px;display:flex;gap:22px;align-items:center}.prompt-examples button span{color:#9aabc3}.prompt-examples button:hover{border-color:#a7bff1;background:#f9fbff}.message{margin:22px 0}.message-header{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;margin-bottom:10px}.message-header .assistant-symbol{width:25px;height:25px;font-size:16px;border-radius:7px}.message-header .avatar{width:25px;height:25px;font-size:9px}.message-header time{font-size:9px;color:#a1abba;margin-left:auto;font-weight:400}.message-body{font-size:12px;line-height:1.85}.message.user .message-body{background:#eef3fc;border:1px solid #e6edf9;border-radius:11px;padding:14px 17px;white-space:pre-wrap;overflow-wrap:anywhere;margin-left:33px;color:#40546d}.message.assistant .message-body{margin-left:33px}.message-actions{display:flex;gap:9px;margin-top:10px;flex-wrap:wrap}.message-actions button{font-size:10px;color:#70839f;border:1px solid var(--line);border-radius:6px;padding:5px 8px}.raw-output{margin-top:12px;color:#7e8ca2;font-size:10px}.raw-output summary{cursor:pointer}.raw-output pre,.fallback-text{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6fa;padding:12px;border-radius:8px;max-height:400px;overflow:auto;font-size:11px;color:#556580}.fallback-warning,.error-card{border:1px solid #f0d5ca;background:#fffbf7;border-radius:9px;padding:12px 14px;color:#956447;font-size:11px}.error-card{border-color:#f0d8d8;color:#a64343;background:#fff9f9;white-space:pre-wrap}.intro-summary{font-weight:500;color:#30435d;margin-bottom:7px}.intro-purpose{color:#8290a5;font-size:11px;margin:5px 0 14px}.question-form{border:1px solid #e1e8f4;border-radius:12px;background:#fff;margin-top:12px;overflow:hidden}.question-form-header{padding:13px 16px;background:#f7faff;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #e8eef8;font-size:11px}.question-form-header .text-button{font-size:10px;padding:2px 0}.question-fields{padding:0 16px}.question{border:0;border-bottom:1px solid #edf1f7;padding:16px 0;margin:0;min-width:0}.question:last-child{border-bottom:0}.question legend{float:left;width:100%;font-size:12px;line-height:1.75;margin-bottom:9px;padding:0;font-weight:550}.question legend .required{font-size:9px;margin-left:7px;color:#3971d8;font-weight:400}.question::after{content:"";display:block;clear:both}.option-list{clear:both;display:grid;gap:8px}.answer-option{display:flex;align-items:flex-start;gap:8px;border:1px solid #e1e6ef;border-radius:8px;padding:10px 11px;cursor:pointer;font-size:11px;line-height:1.5}.answer-option:has(input:checked){border-color:#85a9ef;background:#f5f8ff}.answer-option.disabled{opacity:.42;cursor:not-allowed}.answer-option input{accent-color:var(--blue);margin:3px 0 0;padding:0;flex-shrink:0}.answer-option strong{font-size:11px;font-weight:500}.answer-option small{display:block;font-size:10px;color:#8b97a9;line-height:1.7;margin-top:3px}.recommend-badge{color:var(--blue);border-radius:4px;background:#e9f0ff;padding:2px 5px;font-size:8px;margin-left:7px;white-space:nowrap}.recommend-reason{font-size:10px;color:#7f91af;margin-top:8px;line-height:1.65}.question textarea,.question input[type=text],.question input[type=number],.question input[type=date]{width:100%;font-size:11px;clear:both;display:block}.custom-answer{margin-top:9px}.question.invalid{border-radius:7px;box-shadow:0 0 0 2px #eec6c6;padding-left:8px;padding-right:8px}.optional-questions{padding:10px 16px;border-top:1px solid #eef1f6;font-size:11px;color:#78879e}.optional-questions summary{cursor:pointer;padding:5px 0}.optional-questions .question-fields{padding:0}.question-form-footer{padding:14px 16px;background:#fbfcff;border-top:1px solid #e9eef7;display:flex;align-items:center;justify-content:space-between;gap:8px}.question-form-footer span{font-size:10px;color:#8896aa}.question-form-footer .primary{font-size:11px;padding:10px 13px;min-height:37px}.question-form.submitted{opacity:.78}.information-group{margin-bottom:14px}.information-group h4{font-size:12px;margin:0 0 5px}.information-group p{white-space:pre-wrap;overflow-wrap:anywhere}.deliverable-card{border:1px solid #cddffb;background:#f7faff;border-radius:10px;padding:16px}.deliverable-card h4{font-size:14px;margin:0 0 7px}.deliverable-card p{color:#788ba7;font-size:11px}.deliverable-card button{margin-top:12px;font-size:11px}.generation-status{display:flex;align-items:center;gap:8px;font-size:11px;color:#6884b2;padding:13px 0;margin-left:33px}.generation-status #generation-time{font-size:10px;color:#9aa8bc;margin-left:auto}.spinner{width:13px;height:13px;border:2px solid #d6e3fb;border-top-color:#5f8ae1;border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.composer{background:#fff;border:1px solid #dce4f1;border-radius:13px;box-shadow:0 4px 16px #1b386005;overflow:hidden;margin-top:22px}.composer:focus-within{border-color:#91aff0;box-shadow:0 0 0 3px #2865e809}.composer textarea{border:0;border-radius:0;resize:vertical;width:100%;font-size:12px;padding:17px 18px 6px;min-height:95px;outline:none}.composer textarea:focus-visible{outline:none}.composer-bottom{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:10px 13px}.composer-bottom>span{font-size:9px;color:#9aa6b9;margin-right:auto}.composer-bottom .primary,.composer-bottom .secondary{font-size:11px;min-height:36px;padding:9px 13px}.composer-bottom .primary span{font-size:18px;line-height:16px}.page-note{font-size:9px;color:#9eabba;text-align:center;padding:12px 8px;line-height:1.7}.result-panel{border-left:1px solid var(--line);background:#fff;min-height:calc(100vh - 75px);padding:31px 23px 18px;position:sticky;top:0;max-height:100vh;overflow-y:auto}.result-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1f6;padding-bottom:22px}.result-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.result-heading h2{font-size:16px;font-weight:600}.count-tag{border-radius:6px;background:#f2f5fa;color:#8d9bb2;font-size:10px;min-width:24px;text-align:center;padding:5px}.result-empty{text-align:center;padding:88px 8px 40px}.script-sheet{width:76px;height:93px;border:1px solid #dbe5f5;background:#fafcff;border-radius:10px;margin:0 auto 25px;position:relative;padding:25px 14px;transform:rotate(-5deg)}.script-sheet span{height:4px;background:#dae4f4;border-radius:2px;margin-bottom:9px;display:block}.script-sheet span:nth-child(2){width:80%}.script-sheet span:nth-child(3){width:65%}.script-sheet b{position:absolute;right:-10px;bottom:-7px;width:32px;height:32px;background:#edf3ff;border:4px solid #fff;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#739ded;font-size:17px;font-weight:400}.result-empty h3{font-size:13px;font-weight:500;margin-bottom:11px;color:#697d9a}.result-empty p{font-size:11px;color:#9aa8bc;max-width:210px;margin:0 auto}.result-checks{display:flex;flex-direction:column;gap:11px;text-align:left;width:max-content;margin:35px auto 0;font-size:10px;color:#8d9fba}.result-footer{font-size:9px;text-align:center;color:#a4afbf;border-top:1px solid #f0f3f7;padding-top:18px;margin-top:26px}.script-selector{width:100%;font-size:11px;margin:18px 0 12px}.video-title{font-size:17px;line-height:1.6;margin:6px 0 11px}.video-meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:15px}.meta-chip{font-size:9px;border:1px solid #e3eaf5;border-radius:5px;padding:4px 7px;background:#f7f9fc;color:#6e82a1}.brief-list{margin:0 0 17px;display:grid;grid-template-columns:56px 1fr;gap:9px 10px;font-size:10px;line-height:1.7}.brief-list dt{color:#95a2b6}.brief-list dd{margin:0;color:#566b8a;overflow-wrap:anywhere}.export-actions{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:19px}.export-actions button{font-size:9px;min-height:31px;padding:7px 9px;border:1px solid #dfe7f4;border-radius:6px;background:#fff;color:#5474a8}.export-actions button:first-child{color:var(--blue);background:#f1f5ff}.segment-tabs{display:flex;gap:6px;flex-wrap:wrap;border-top:1px solid #edf1f7;padding:16px 0 14px}.segment-tabs button{padding:7px 10px;border-radius:6px;font-size:10px;background:#f3f6fa;color:#8090a7}.segment-tabs button.active{background:#eaf1ff;color:#396dd0}.continuity-note{border-left:2px solid #b8ccf2;background:#f7faff;color:#8495af;font-size:10px;line-height:1.7;padding:9px 10px;margin-bottom:16px}.timeline-item{display:grid;grid-template-columns:28px 1fr;gap:9px;padding:4px 0 15px}.timeline-second{position:relative;text-align:center}.timeline-second span{width:24px;height:24px;border-radius:7px;display:flex;align-items:center;justify-content:center;background:#eff4fe;color:#6a90d8;font-size:9px}.timeline-second::after{content:"";display:block;width:1px;background:#e5ecf8;position:absolute;left:12px;top:29px;bottom:-9px}.timeline-item:last-child .timeline-second::after{display:none}.timeline-content{padding:0 0 12px;border-bottom:1px solid #edf1f7}.timeline-content h4{margin:3px 0 8px;font-size:10px;color:#536d94;font-weight:600}.timeline-content p{font-size:11px;line-height:1.85;color:#4c6080;white-space:pre-wrap;overflow-wrap:anywhere}.timeline-field{font-size:10px;color:#8596af;display:grid;grid-template-columns:26px 1fr;gap:6px;margin-top:8px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.timeline-field strong{color:#a0adc0;font-size:9px;font-weight:400}.production-notes{background:#f7f9fc;border:1px solid #edf1f7;border-radius:9px;padding:13px;margin-top:12px;font-size:10px;color:#7c8ea9}.production-notes summary{font-weight:600;cursor:pointer;color:#647c9f}.production-notes h5{font-size:10px;color:#647c9f;margin:12px 0 4px}.production-notes p{font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere}.production-notes ul{padding-left:16px;line-height:1.9;margin:4px 0}.validation-note{font-size:10px;color:#a1703f;background:#fff8ec;border:1px solid #f3e4ca;border-radius:7px;padding:10px;line-height:1.8;margin:12px 0}.login-dialog,.action-dialog{border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--ink);box-shadow:0 25px 100px #1c315626;padding:0;width:420px;max-width:calc(100vw - 32px)}dialog::backdrop{background:#24385552;backdrop-filter:blur(5px)}.login-dialog form{padding:38px}.brand-mark.large{height:45px;width:45px;margin-bottom:24px;font-size:25px}.login-dialog .eyebrow{font-size:8px;letter-spacing:1.25px}.login-dialog h2{font-size:23px;letter-spacing:-.5px;margin-bottom:12px}.login-dialog p{font-size:12px;color:#8895a9;margin-bottom:24px}.login-dialog label{font-size:11px;display:block;margin-bottom:9px;color:#657894}.login-dialog input{width:100%;height:44px}.login-dialog .primary{width:100%;margin:0 0 18px;font-size:12px}.login-dialog small{font-size:9px;display:block;text-align:center;line-height:1.7}.login-dialog p.error-message{font-size:11px;color:var(--red);margin:10px 0 16px;min-height:16px;line-height:1.6}.action-dialog form{padding:26px}.action-dialog h2{font-size:18px;margin-bottom:10px}.action-dialog p{font-size:12px;color:#7b8aa1;margin-bottom:16px}.action-dialog input{width:100%}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:23px}.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:28px;z-index:100;background:#25354beb;color:#fff;box-shadow:0 7px 25px #20334f26;border-radius:10px;padding:12px 18px;font-size:12px;max-width:min(600px,calc(100vw - 32px));line-height:1.7;white-space:pre-wrap}.toast.error{background:#974747f5}.backdrop{position:fixed;inset:0;background:#22375255;z-index:19}.mobile-only{display:none}.muted-pre{white-space:pre-wrap;overflow-wrap:anywhere}.loading-card{border-radius:9px;background:#fff;border:1px solid var(--line);padding:17px;color:#8a9bb5;font-size:11px}.jump-to-result{scroll-margin-top:20px}
@media(min-width:1600px){.workspace{grid-template-columns:minmax(0,1fr) 420px}.result-panel{padding:33px 28px}.studio{padding:40px 44px}.studio-heading h2{font-size:27px}.upload-zone{min-height:115px}.sidebar{width:252px}.main{margin-left:252px;width:calc(100% - 252px)}}
@media(max-width:1250px){.sidebar{width:210px;padding-left:15px;padding-right:15px}.main{margin-left:210px;width:calc(100% - 210px)}.workspace{grid-template-columns:minmax(0,1fr) 305px}.studio{padding:28px 23px 14px}.result-panel{padding:28px 18px 18px}.studio-heading h2{font-size:20px}.outline-tag{display:none}.upload-grid{gap:8px}.asset-body{padding:0 14px 14px}.asset-panel summary{padding:14px}.upload-title{font-size:9px}.upload-title small{font-size:8px}.upload-zone{min-height:92px}.topbar{padding:0 23px}.category-row .subtle{display:none}}
@media(max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr)}.result-panel{position:static;max-height:none;border-left:0;border-top:1px solid var(--line);min-height:0;padding:25px}.result-empty{padding:35px 0}.result-checks{flex-direction:row;flex-wrap:wrap;width:auto;justify-content:center;gap:18px;margin-top:24px}.result-heading{padding-bottom:16px}.result-empty .script-sheet{width:56px;height:68px;padding:17px 10px}.result-empty .script-sheet span{height:3px;margin-bottom:7px}.studio{max-width:850px}.studio-heading h2{font-size:24px}.upload-zone{min-height:110px}#result-content{max-width:850px;margin:auto}.timeline-item{grid-template-columns:36px 1fr;gap:12px}.timeline-content p{font-size:12px}.timeline-field{font-size:11px}.video-title{font-size:20px}.result-panel .result-footer{margin-top:20px}.result-panel:has(#result-content:not(.hidden)){scroll-margin-top:10px}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:250px}.sidebar.open{transform:translateX(0)}.main{margin-left:0;width:100%}.mobile-only{display:inline-flex}.topbar{height:62px;padding:0 14px;gap:8px}.topbar-title{gap:6px}.breadcrumb{display:none}.topbar h1{max-width:180px;font-size:12px}.topbar-actions{gap:4px}.connection{font-size:9px}.studio{padding:25px 17px 8px}.studio-heading{margin-bottom:23px}.studio-heading h2{font-size:22px}.studio-heading p{font-size:11px}.eyebrow{font-size:9px}.steps{gap:10px;margin-bottom:20px}.step{font-size:10px;gap:6px}.step b{width:21px;height:21px}.asset-panel summary .subtle{font-size:9px;margin-left:0}.asset-panel summary>div{gap:6px}.upload-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 11px}.upload-title{font-size:11px}.upload-title small{font-size:9px}.upload-zone{min-height:98px}.upload-zone small{font-size:10px}.upload-items{grid-template-columns:repeat(3,minmax(0,1fr))}.category-row{gap:11px}.category-row select{flex:1}.asset-panel{margin-bottom:24px}.section-heading .subtle{font-size:9px}.welcome{gap:10px;margin-bottom:22px}.welcome h3{font-size:13px}.welcome p{font-size:11px}.prompt-examples{gap:6px}.prompt-examples button{font-size:10px;padding:8px 9px;gap:13px}.composer-bottom{padding:9px;gap:5px;flex-wrap:wrap}.composer-bottom>span{width:100%;font-size:9px;margin:0 0 4px}.composer textarea{font-size:13px}.message.assistant .message-body{margin-left:0}.message.user .message-body{margin-left:0}.message-body{font-size:12px}.question-fields{padding:0 13px}.question-form-header{padding:12px 13px}.question-form-footer{padding:12px 13px;flex-wrap:wrap}.question-form-footer span{font-size:10px}.result-panel{padding:24px 17px}.result-checks{font-size:9px;gap:12px}.generation-status{margin-left:0}.login-dialog form{padding:29px}.login-dialog h2{font-size:22px}.page-note{font-size:8px}.result-footer{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Category and required assets */
.category-row{align-items:center;flex-wrap:wrap}.category-input-wrap{position:relative;flex:1;min-width:160px;max-width:340px}.category-input-wrap input{width:100%;padding-right:55px;height:38px;font-size:12px}.category-count{position:absolute;right:11px;top:50%;transform:translateY(-50%);font-size:10px;color:#8a99af;pointer-events:none}.required-mark{font-style:normal;font-weight:600;color:#cf5555;margin-left:4px}.optional-tag{font-style:normal;font-size:9px;color:#97a4b7;font-weight:400;margin-left:5px}.field-error{color:#bd4848;font-size:11px;margin:-4px 0 12px}.category-input-wrap input[aria-invalid="true"]{border-color:#cf5555;box-shadow:0 0 0 2px #cf555514}@media(max-width:700px){.category-row{gap:8px}.category-input-wrap{max-width:none;min-width:0}.category-input-wrap input{font-size:12px;padding-left:9px}.category-row .subtle{display:none}.upload-title>span{display:flex;align-items:center}.asset-panel summary #asset-summary{font-size:9px}}
.reasoning-output{margin:0 0 10px;border:1px solid #e4e9f2;border-radius:9px;background:#fafbfd;overflow:hidden}.reasoning-output summary{list-style:none;display:flex;align-items:center;gap:8px;padding:10px 12px;cursor:pointer;color:#7e8b9f;font-size:10px;font-weight:600}.reasoning-output summary::-webkit-details-marker{display:none}.reasoning-output[open] summary{border-bottom:1px solid #edf0f5}.reasoning-dot{width:6px;height:6px;border-radius:50%;background:#91a4c2;box-shadow:0 0 0 3px #91a4c21a}.reasoning-output[open] .reasoning-dot{background:#5f87d8}.reasoning-text{margin:0;padding:12px 14px;max-height:220px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:#75849a;font-size:10px;line-height:1.75;background:#fff}.reasoning-output:not([open]) .reasoning-text{display:none}
