:root{font-family:Inter,"Segoe UI","Microsoft YaHei",Arial,sans-serif;color:#242930;background:#f5f6f8;font-synthesis:none;--accent:#0a67e8;--accent-dark:#0758c6;--tint:#eaf1fa;--border:#e6e9ed;--muted:#90969d;--ink:#242a31;--shadow:0 8px 32px #202b390c}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:1px solid var(--border);background:#fff;color:inherit;border-radius:9px;padding:9px 14px;display:inline-flex;gap:7px;align-items:center;justify-content:center;white-space:nowrap;transition:background .15s,border-color .15s,box-shadow .15s}button:hover{background:#f3f6fb;border-color:#c6d7ed}button:focus-visible,a:focus-visible{outline:3px solid #a5cafa;outline-offset:2px}button:disabled{opacity:.48;cursor:not-allowed}button.primary{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 3px 8px #5595e825}button.primary:hover{background:var(--accent-dark)}button.dark{background:#262c35;color:#fff;border-color:#262c35}.ghost{background:transparent;border-color:transparent}.danger{color:#d24560}.icon-btn{width:34px;height:34px;padding:7px}.small{font-size:12px;padding:6px 10px}.wide{width:100%}.button-link{text-decoration:none;color:inherit;border:1px solid var(--border);border-radius:8px;padding:9px 13px;display:inline-flex;align-items:center;gap:6px;background:#fff}.button-link:hover{border-color:#a8c4e9}.icon{flex:none;display:inline-block;vertical-align:middle;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.muted{color:var(--muted)}.tiny{font-size:11px}.badge{font-size:11px;display:inline-flex;border-radius:5px;padding:4px 7px;background:#edf0f5;color:#717d8e;align-items:center;gap:5px}.badge.purple{background:#e6f1ff;color:#568dd6}.badge.green{background:#e9f5ee;color:#54816b}.badge.orange{background:#fff1dd;color:#a57c39}.badge.red{background:#fff0f3;color:#be5d74}.dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:currentColor}.separator{height:21px;width:1px;background:var(--border);margin:0 6px}.form-field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;min-width:0}.form-field>label,.field-label{color:#60666f;font-size:12px;font-weight:600}.form-field input,.form-field select,.form-field textarea,input.field,select.field,textarea.field{width:100%;border:1px solid #dfe3e9;border-radius:8px;background:#fff;padding:10px 11px;color:#313740;outline:none;min-width:0}.form-field input:focus,.form-field select:focus,.form-field textarea:focus,input.field:focus,select.field:focus,textarea.field:focus{border-color:#8bb4e9;box-shadow:0 0 0 3px #5796e810}textarea{resize:vertical;line-height:1.85}input::placeholder,textarea::placeholder{color:#adb2b9}.inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-help{font-size:11px;color:#9aa0a9;line-height:1.7}.loading{padding:60px;text-align:center;color:var(--muted)}.spinner{display:inline-block;width:20px;height:20px;border:2px solid #d7e0ec;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.boot-screen{height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#80868f;font-size:13px}.brand-symbol{width:36px;height:36px;display:inline-grid;place-items:center;border-radius:11px;background:var(--accent);color:#fff;font-weight:750;font-size:20px;box-shadow:0 3px 8px #5595e820}.brand{display:flex;align-items:center;gap:11px;font-weight:700;letter-spacing:.5px;font-size:18px}.brand small{font-size:10px;letter-spacing:2px;font-weight:500;color:#9aa0a9;display:block;margin-top:3px}.app-header{height:68px;border-bottom:1px solid var(--border);background:#fffffff2;display:flex;align-items:center;padding:0 28px;gap:28px;z-index:40;position:relative}.header-nav{display:flex;gap:8px;align-items:center;height:100%;margin-left:22px}.header-nav button{height:100%;border:0;border-radius:0;background:transparent;font-size:13px;position:relative;color:#858c96;padding:0 13px}.header-nav button.active{color:var(--ink);font-weight:650}.header-nav button.active:after{content:'';position:absolute;bottom:0;height:3px;background:var(--accent);left:12px;right:12px;border-radius:3px 3px 0 0}.header-right{margin-left:auto;display:flex;align-items:center;gap:12px;font-size:12px}.user-chip{display:flex;align-items:center;gap:8px;max-width:180px;overflow:hidden}.avatar{width:29px;height:29px;border-radius:50%;background:#e8f1fc;color:#779ac9;display:grid;place-items:center;font-size:12px}.header-right .quiet{color:#9aa0a8}.page{max-width:1370px;margin:auto;padding:44px 50px}.eyebrow{font-size:11px;color:#8b99ad;letter-spacing:2.4px;font-weight:600}.dashboard-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.dashboard-heading h1{font-size:31px;letter-spacing:-.7px;margin:12px 0}.dashboard-heading p{font-size:13px;color:#90969f;margin:0;line-height:1.9}.dashboard-heading .actions{display:flex;gap:10px;margin-top:17px}.studio-banner{margin-top:32px;padding:29px 32px;border-radius:16px;background:linear-gradient(115deg,#ebeff5,#eef3f9 58%,#e8eef6);position:relative;overflow:hidden;min-height:140px;border:1px solid #e1e7f0}.studio-banner .banner-kicker{font-size:11px;color:#8a9eb8}.studio-banner h2{font-size:21px;font-weight:600;margin:9px 0;position:relative;z-index:2}.studio-banner p{font-size:12px;color:#8c98a9;position:relative;z-index:2;margin:0}.banner-art{position:absolute;right:30px;top:-42px;width:380px;height:220px;transform:rotate(-12deg)}.banner-art>span{position:absolute;border:1px solid #b0bfd445;background:#ffffff35;width:150px;height:100px;border-radius:12px;box-shadow:0 12px 34px #6381aa10;display:flex;padding:18px;gap:7px;flex-direction:column}.banner-art>span:nth-child(1){top:80px;left:0}.banner-art>span:nth-child(2){top:36px;left:162px}.banner-art>span:nth-child(3){top:150px;left:162px}.banner-art>span i{height:7px;display:block;background:#ccd6e4;border-radius:3px;width:60%}.banner-art>span i:nth-child(2){width:90%;background:#d9e1ec}.banner-art>span i:nth-child(3){width:40%;background:#d9e1ec}.banner-art:before,.banner-art:after{content:'';position:absolute;background:#b8c5d7;height:1px;width:80px;left:130px;top:103px;transform:rotate(-25deg)}.banner-art:after{top:155px;transform:rotate(27deg)}.section-toolbar{display:flex;align-items:center;gap:12px;margin:32px 0 22px}.section-toolbar h2{font-size:16px;margin:0;font-weight:650}.section-toolbar .count{color:#afb5bd;font-size:12px}.search{margin-left:auto;position:relative}.search input{border:1px solid var(--border);background:#fff;border-radius:8px;padding:9px 12px 9px 34px;outline:none;font-size:12px;width:218px}.search .icon{position:absolute;left:10px;top:10px;color:#aab1bb;width:15px;height:15px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.project-card{border:1px solid var(--border);background:#fff;border-radius:13px;overflow:hidden;box-shadow:0 5px 14px #242c3705;transition:transform .18s,box-shadow .18s;position:relative;cursor:pointer}.project-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.project-cover{height:170px;position:relative;background:linear-gradient(135deg,#ecf1f7,#e6ebf0);display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden}.project-cover img{width:100%;height:100%;object-fit:cover}.project-monogram{font-family:Georgia,"Songti SC",serif;font-size:54px;color:#8597ae;font-weight:400}.project-cover:before{content:'';position:absolute;inset:18px;border:1px solid #bdc5cf66;border-radius:5px;pointer-events:none}.project-cover .badge{position:absolute;bottom:14px;left:15px;backdrop-filter:blur(10px);background:#ffffffd9}.project-menu{position:absolute;right:12px;top:12px;background:#fff9;z-index:2}.project-info{padding:17px 19px 18px;cursor:pointer}.project-info h3{font-size:14px;font-weight:650;margin:0 0 11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-info .project-meta{display:flex;justify-content:space-between;color:#a1a7af;font-size:11px}.project-new{border:1px dashed #cfd8e3;background:#eff3f83d;min-height:258px;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#90a1b8;font-size:12px}.project-new .circle{background:#e3ebf6;color:#8aa1c1;border-radius:50%;width:44px;height:44px;display:grid;place-items:center}.empty-state{padding:70px 25px;text-align:center;max-width:600px;margin:auto}.empty-state .empty-symbol{width:74px;height:74px;border:1px solid #dee5ef;border-radius:22px;display:grid;place-items:center;margin:0 auto 23px;background:#eaf0f8;color:#9aafcb;transform:rotate(-7deg)}.empty-state .empty-symbol .icon{width:31px;height:31px;transform:rotate(7deg)}.empty-state h3{font-size:17px;font-weight:550;margin:0 0 12px}.empty-state p{font-size:12px;line-height:1.9;color:#a1a9b3;margin:0 0 23px}.dashboard-footer{margin-top:50px;color:#adb4be;font-size:10px;letter-spacing:1.5px;display:flex;justify-content:center;align-items:center;gap:12px}.dashboard-footer:before,.dashboard-footer:after{content:'';height:1px;background:#dfe5ee;width:40px}.login-layout{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:white}.login-story{padding:52px 58px;background:#20262e;color:#fff;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.login-story .brand-symbol{background:#9abce8;color:#27313e}.login-story .brand small{color:#8b939e}.login-story h1{font-size:clamp(36px,4vw,62px);font-weight:500;line-height:1.5;letter-spacing:1px;position:relative;z-index:1;margin:50px 0 22px}.login-story h1 span{color:#a2c2eb}.login-story p{color:#9ba4b0;font-size:13px;line-height:2}.login-story:after{content:'';position:absolute;width:560px;height:560px;border:1px solid #434f5f;border-radius:50%;right:-245px;bottom:-140px;box-shadow:0 0 0 70px #3238402b,0 0 0 140px #32384020}.login-foot{color:#676e78;font-size:10px;letter-spacing:3px}.login-form-section{display:flex;align-items:center;justify-content:center;padding:40px}.login-form{width:352px}.login-form .eyebrow{font-size:10px}.login-form h2{font-size:26px;margin:16px 0 13px;font-weight:600}.login-form .intro{font-size:12px;color:#9aa0a9;line-height:1.85;margin-bottom:32px}.login-form input{padding:13px}.login-form .primary{height:44px;margin-top:8px}.login-note{text-align:center;font-size:11px;color:#aeb5be;margin-top:23px}.form-error{font-size:12px;color:#c15e75;line-height:1.7;margin:8px 0}.workspace{height:calc(100vh - 68px);display:flex;flex-direction:column;overflow:hidden}.workspace-header{height:63px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 22px;gap:12px;flex-shrink:0}.project-breadcrumb{min-width:160px;display:flex;gap:9px;align-items:center;font-size:13px}.project-breadcrumb .slash{color:#c1c7cf}.project-breadcrumb strong{max-width:190px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-weight:600}.stage-tabs{display:flex;align-items:center;gap:4px;margin:auto}.stage-tab{font-size:12px;padding:9px 13px;background:transparent;border-color:transparent;color:#9da3ac;gap:7px}.stage-tab .step-number{font-size:10px;color:#b9c0ca}.stage-tab.active{color:#5486c8;background:#ecf2fb}.stage-tab.active .step-number{color:#8fb0db}.save-indicator{min-width:96px;display:flex;justify-content:flex-end;align-items:center;gap:5px;font-size:10px;color:#a0a8b4}.workspace-body{display:flex;flex:1;min-height:0}.workspace-sidebar{width:205px;background:#fbfcfe;border-right:1px solid var(--border);display:flex;flex-direction:column;flex-shrink:0;padding:24px 14px 15px}.sidebar-label{font-size:10px;letter-spacing:1.7px;color:#aab2bc;font-weight:650;margin:0 11px 12px}.episode-list{display:flex;flex-direction:column;gap:4px;max-height:220px;overflow:auto}.episode-item{padding:10px 11px;border:1px solid transparent;border-radius:8px;display:flex;gap:9px;align-items:center;background:transparent;justify-content:flex-start;font-size:12px;color:#99a2ae;text-align:left}.episode-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.episode-item.active{background:#e8eff8;color:#5c779c;border-color:#e0e8f3}.episode-number{font-size:10px;opacity:.6}.episode-add{margin-top:9px;font-size:11px;color:#9daabb;justify-content:flex-start}.sidebar-divider{height:1px;background:#e8ecf1;margin:23px 9px}.sidebar-resource{font-size:12px;color:#909baa;display:flex;align-items:center;gap:9px;padding:9px 10px}.sidebar-resource>span:last-child{margin-left:auto;font-size:10px;color:#aab2bd}.sidebar-bottom{margin-top:auto;padding:20px 8px 0}.engine-status{font-size:10px;color:#a4aebb;display:flex;align-items:center;gap:6px}.engine-status .dot{background:#b7c2d2}.engine-status.online .dot{background:#87b69d}.sidebar-bottom p{font-size:10px;color:#b5beca;line-height:1.8;margin:9px 0 0}.stage-content{flex:1;min-width:0;min-height:0;overflow:auto;background:#f6f7f9}.stage-page{max-width:1160px;padding:34px 38px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px}.page-heading h2{margin:0;font-size:22px;font-weight:600;letter-spacing:-.4px}.page-heading p{font-size:12px;color:#9aa3af;margin:8px 0 0;line-height:1.8}.page-heading .actions{display:flex;gap:9px}.panel{background:white;border:1px solid var(--border);border-radius:12px;padding:24px;min-width:0}.panel-title{font-size:13px;margin:0 0 18px;font-weight:600;display:flex;align-items:center;gap:8px}.panel-title .icon{color:#859ab7}.script-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:21px}.mode-tabs{display:flex;background:#f2f5f9;border-radius:8px;padding:4px;gap:4px;margin-bottom:20px}.mode-tabs button{border:0;background:transparent;flex:1;font-size:11px;color:#9facbd;padding:8px}.mode-tabs button.active{background:white;color:#627a9a;box-shadow:0 2px 4px #2131470a}.script-textarea{width:100%;min-height:385px;resize:vertical;border:0;background:transparent;outline:none;color:#56606e;font-size:13px;line-height:2.2}.editor-footer{border-top:1px solid #ebeff4;margin-top:14px;padding-top:14px;display:flex;align-items:center;justify-content:space-between;color:#a5b0bf;font-size:10px}.info-box{padding:13px 14px;border-radius:9px;background:#f5f8fc;color:#8d9eb4;font-size:11px;line-height:1.9;margin:15px 0}.info-box strong{font-weight:550;color:#7488a2}.model-note{font-size:11px;color:#9baabf;line-height:1.8;margin:10px 0}.script-next{display:flex;flex-direction:column;gap:11px;margin-top:22px}.quick-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:20px 0}.quick-stat{background:#f8fafc;border:1px solid #ebeff4;border-radius:9px;padding:13px 14px;font-size:10px;color:#9eabbe}.quick-stat strong{display:block;font-size:21px;margin-bottom:5px;color:#7589a5;font-weight:500}.canvas-layout{height:100%;display:flex;flex-direction:column;min-height:0}.canvas-topbar{height:56px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 18px;gap:7px;flex-shrink:0}.canvas-topbar button{font-size:11px;padding:7px 10px}.canvas-topbar .type-filter{color:#9ba7b8;background:transparent;border-color:transparent;border-radius:6px}.canvas-topbar .type-filter.active{background:#eaf1fb;color:#658abd}.canvas-topbar .type-filter small{font-size:9px;color:#afbdd1}.canvas-topbar .toolbar-right{margin-left:auto;display:flex;gap:6px;align-items:center}.canvas-main{display:flex;flex:1;min-height:0;position:relative}.canvas-surface{flex:1;position:relative;overflow:hidden;background-color:#f3f5f7;background-image:radial-gradient(#d2d8e1 1px,transparent 1px);background-size:20px 20px;touch-action:none;outline:none}.canvas-surface.panning{cursor:grabbing}.canvas-world{position:absolute;left:0;top:0;width:1px;height:1px;transform-origin:0 0;will-change:transform}.edges-layer{position:absolute;overflow:visible;width:1px;height:1px;left:0;top:0;pointer-events:none}.edge-path{fill:none;stroke:#b4c5dd;stroke-width:2;pointer-events:stroke;cursor:pointer}.edge-path:hover{stroke:#6692cd;stroke-width:4}.edge-label{font-size:10px;fill:#9baec8;paint-order:stroke;stroke:#f3f5f7;stroke-width:4px;stroke-linejoin:round}.canvas-node{position:absolute;width:272px;border:1px solid #dfe4eb;background:#fff;border-radius:12px;box-shadow:0 4px 14px #25334708;user-select:none;transition:border-color .12s,box-shadow .12s}.canvas-node.selected{border-color:#81a4d4;box-shadow:0 0 0 2px #9dbde72b,0 8px 24px #253c5b10}.node-head{padding:13px 15px 11px;display:flex;align-items:center;gap:8px;cursor:grab;color:#8ea0b8;font-size:11px;min-height:42px}.node-head .icon{width:14px;height:14px}.node-title{font-weight:550;color:#606d7f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.node-head .node-type{font-size:9px;color:#b5c0cf}.node-media{height:174px;margin:0 9px;background:#f4f7fa;border:1px solid #e9edf3;border-radius:7px;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center}.node-media img,.node-media video{width:100%;height:100%;object-fit:contain;pointer-events:none}.node-media.audio-media{flex-direction:column;gap:16px}.node-media audio{width:90%;height:32px}.node-media audio,.node-media video{pointer-events:auto}.node-placeholder{display:flex;flex-direction:column;align-items:center;gap:12px;color:#b1bdce;font-size:10px;pointer-events:none}.node-placeholder .icon{width:31px;height:31px;stroke-width:1.2}.node-text{min-height:144px;max-height:235px;overflow:hidden;padding:6px 17px 15px;color:#8a97a9;font-size:11px;line-height:1.95;white-space:pre-wrap;word-break:break-word}.node-description{padding:12px 15px;color:#a1adbe;font-size:10px;line-height:1.75;max-height:62px;overflow:hidden}.node-footer{border-top:1px solid #eff2f7;padding:9px 13px;display:flex;align-items:center;gap:6px;font-size:9px;color:#b3becd}.node-footer .state{margin-left:auto}.node-port{position:absolute;top:50%;width:13px;height:13px;border:3px solid white;background:#b3c3d9;border-radius:50%;box-shadow:0 0 0 1px #d9e2ee;cursor:crosshair;z-index:3}.node-port.in{left:-7px}.node-port.out{right:-7px;background:#9ab4d7}.node-port:hover{background:#5e86bc;box-shadow:0 0 0 5px #a0b6d326}.node-quick-add{position:absolute;right:-35px;top:calc(50% - 10px);width:22px;height:22px;border-radius:50%;padding:2px;color:#87a2c7;opacity:0}.canvas-node:hover .node-quick-add,.canvas-node.selected .node-quick-add{opacity:1}.node-running{padding:5px 0;display:flex;align-items:center;gap:6px;color:#8da6c9}.node-running .spinner{width:10px;height:10px;border-width:1px}.canvas-group{position:absolute;border:1px dashed #b8c8dd;border-radius:16px;background:#c5d6ec0b;pointer-events:none}.canvas-group span{position:absolute;left:14px;top:-12px;background:#f1f4f8;color:#9aadc6;font-size:10px;padding:4px 8px;border-radius:5px}.canvas-floating-tools{position:absolute;top:18px;left:16px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:5px;display:flex;flex-direction:column;gap:4px;box-shadow:var(--shadow);z-index:10}.canvas-floating-tools button{border:0;color:#9aa8bb;padding:9px}.canvas-floating-tools button:hover{background:#eaf1fa;color:#7192bf}.canvas-floating-tools button .icon{width:19px;height:19px}.canvas-footer-tools{position:absolute;bottom:20px;left:20px;display:flex;align-items:center;gap:3px;padding:5px 7px;border-radius:10px;border:1px solid var(--border);background:#fff;box-shadow:var(--shadow);z-index:10}.canvas-footer-tools button{border:0;padding:7px;font-size:10px;color:#93a2b7}.canvas-footer-tools .zoom-value{min-width:47px;color:#9aa7ba;font-size:10px;text-align:center}.canvas-help{position:absolute;bottom:24px;right:19px;display:flex;gap:15px;color:#b0bac8;font-size:9px;pointer-events:none}.canvas-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;text-align:center}.canvas-empty-inner{width:300px;color:#a6b2c3;display:flex;align-items:center;flex-direction:column;gap:14px}.canvas-empty .canvas-empty-art{width:120px;height:93px;border:1px solid #ced7e4;background:#ffffff70;border-radius:15px;display:grid;place-items:center;transform:rotate(-7deg);box-shadow:23px 9px 0 -3px #f1f4f9,23px 9px 0 -2px #d1dbe8;margin-bottom:18px}.canvas-empty .canvas-empty-art .icon{width:35px;height:35px;stroke-width:1.15;color:#b3c4da;transform:rotate(7deg)}.canvas-empty strong{font-size:15px;font-weight:500;color:#95a6be}.canvas-empty p{font-size:11px;line-height:1.95;margin:0}.canvas-empty button{pointer-events:auto;font-size:11px}.canvas-inspector{width:294px;flex-shrink:0;background:#fff;border-left:1px solid var(--border);overflow:auto;z-index:11;padding:20px}.inspector-heading{display:flex;align-items:center;gap:7px;font-size:12px;color:#75879f;margin-bottom:23px}.inspector-heading .badge{margin-left:auto}.inspector-empty{padding:65px 7px;text-align:center;color:#afbac9;font-size:11px;line-height:2}.inspector-empty .icon{width:32px;height:32px;margin-bottom:15px;color:#bfcbdc}.inspector-actions{display:flex;gap:7px;border-top:1px solid #eaeff5;margin-top:20px;padding-top:17px}.inspector-actions button{font-size:11px}.reference-list{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 17px}.reference-chip{font-size:9px;color:#98acc8;background:#f2f6fc;border:1px solid #e4ecf6;border-radius:5px;padding:5px 7px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inspector-prompt{min-height:100px;font-size:11px}.inspector-note{font-size:10px;color:#a9b5c6;line-height:1.85;margin:12px 0}.inspector-error{font-size:10px;color:#be7b91;line-height:1.8;padding:9px;background:#fff4f7;border-radius:6px;margin-top:12px}.asset-drawer{position:absolute;top:0;bottom:0;left:0;z-index:14;width:292px;background:#fff;border-right:1px solid #e0e7f0;box-shadow:8px 0 20px #26364d08;display:flex;flex-direction:column}.drawer-head{padding:17px 16px;display:flex;align-items:center;justify-content:space-between;font-size:12px;border-bottom:1px solid var(--border)}.drawer-body{overflow:auto;padding:14px;flex:1}.drawer-asset{border:1px solid #e6ecf4;border-radius:8px;margin-bottom:10px;padding:8px;display:flex;align-items:center;gap:9px;cursor:grab;color:#8c9fb8;font-size:10px}.drawer-asset img{width:49px;height:44px;object-fit:cover;background:#f1f4f9;border-radius:5px}.drawer-asset .file-symbol{width:49px;height:44px;background:#f1f4f9;border-radius:5px;display:grid;place-items:center}.drawer-asset span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.canvas-minimap{position:absolute;bottom:20px;right:20px;width:144px;height:95px;border:1px solid #d2dbe8;background:#ffffffb8;border-radius:9px;z-index:10;overflow:hidden}.canvas-minimap span{position:absolute;background:#c0d0e7;border:1px solid #afc0d8;border-radius:2px}.selection-box{position:absolute;background:#9cb4d522;border:1px solid #90acd3;pointer-events:none;z-index:20}.context-menu{position:fixed;z-index:300;background:#fff;border:1px solid var(--border);border-radius:10px;padding:6px;min-width:169px;box-shadow:0 8px 28px #25344817}.context-menu button{width:100%;justify-content:flex-start;border:0;font-size:11px;color:#8c9cb3;border-radius:5px;padding:9px 11px}.context-menu .icon{width:14px;height:14px}.storyboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.shot-card{background:white;border:1px solid var(--border);border-radius:12px;overflow:hidden}.shot-top{display:flex;align-items:center;gap:8px;padding:14px 17px;border-bottom:1px solid #eaeff5;font-size:12px}.shot-number{font-size:10px;color:#9baec9}.shot-top .actions{margin-left:auto;display:flex;gap:3px}.shot-preview{height:180px;background:#ebeef3;display:flex;align-items:center;justify-content:center;color:#b0bdd0}.shot-preview img,.shot-preview video{width:100%;height:100%;object-fit:contain}.shot-body{padding:17px}.shot-body textarea{font-size:11px;min-height:75px}.shot-bottom{display:flex;align-items:center;gap:9px;margin-top:10px;font-size:10px;color:#9dabbe}.shot-bottom button{margin-left:auto}.job-feed{display:flex;flex-direction:column;gap:9px}.job-item{border:1px solid #e5ebf3;border-radius:8px;padding:11px 12px;background:#fff;display:flex;gap:10px;align-items:center;font-size:10px;color:#90a1b9}.job-item .job-main{flex:1;min-width:0}.job-item .job-label{color:#8093ae;margin-bottom:4px}.job-item .job-error{color:#c38b9c;line-height:1.6;word-break:break-word}.job-item .job-time{font-size:9px;color:#b0bdd0}.job-item .spinner{width:12px;height:12px}.timeline-page{display:flex;flex-direction:column;height:100%;min-height:0}.timeline-top{display:grid;grid-template-columns:minmax(280px,1fr) 300px;gap:23px;padding:26px 30px;background:#f8fafd;border-bottom:1px solid var(--border);flex-shrink:0;height:295px}.preview-player{border-radius:9px;background:#20262d;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;color:#8b99ab}.preview-player video,.preview-player img{width:100%;height:100%;object-fit:contain}.preview-placeholder{text-align:center;font-size:11px;line-height:1.9;color:#687586}.preview-placeholder .icon{width:29px;height:29px;display:block;margin:0 auto 13px;color:#8090a6}.preview-label{position:absolute;left:12px;top:10px;font-size:9px;background:#232932b8;color:#acbacc;padding:5px 8px;border-radius:4px;pointer-events:none}.timeline-settings{overflow:auto}.timeline-settings h3{font-size:13px;font-weight:550;margin:0 0 14px}.timeline-settings .form-field{margin-bottom:10px}.timeline-settings input,.timeline-settings select{padding:7px 9px;font-size:10px}.timeline-settings .field-label{font-size:10px}.timeline-toolbar{height:52px;display:flex;align-items:center;gap:8px;padding:9px 19px;background:white;border-bottom:1px solid var(--border);flex-shrink:0}.timeline-toolbar button{font-size:10px;padding:7px 10px}.timeline-toolbar .timeline-duration{font-size:10px;color:#9dacc0;margin-left:auto}.timeline-scroll{overflow:auto;position:relative;flex:1;background:#f4f7fa;min-height:240px}.timeline-inner{min-width:100%;position:relative;padding-top:28px}.timeline-ruler{height:28px;position:absolute;top:0;left:130px;right:0;display:flex;color:#9babc1;font-size:9px;border-bottom:1px solid #e0e7f0;background:#f6f8fb}.timeline-ruler span{position:absolute;top:9px;padding-left:5px;border-left:1px solid #cbd6e4;height:14px}.timeline-track{height:78px;border-bottom:1px solid #e7ecf4;display:flex;position:relative}.track-name{position:sticky;left:0;width:130px;flex-shrink:0;z-index:5;background:#fafbfd;border-right:1px solid #dce3ed;padding:16px 12px;color:#8c9eb7;font-size:10px;display:flex;gap:7px;align-items:flex-start}.track-name .icon{width:13px;height:13px}.track-name button{margin-left:auto;width:22px;height:22px;padding:3px;border:0;background:transparent;color:#afbed3}.track-content{position:relative;flex:1;min-width:0;background-image:linear-gradient(to right,#dce2eb66 1px,transparent 1px);background-size:160px 100%}.timeline-clip{position:absolute;top:12px;height:50px;border:1px solid #c0d0e7;background:#e3ebf7;border-radius:6px;min-width:24px;display:flex;align-items:center;color:#8398b5;font-size:9px;user-select:none;cursor:grab;padding:6px 9px;overflow:hidden;gap:6px}.timeline-clip img{width:39px;height:36px;border-radius:3px;object-fit:cover;pointer-events:none}.timeline-clip.voice,.timeline-clip.music{background:#e2ecec;border-color:#b8d1ce;color:#749c94}.timeline-clip.subtitle{background:#f3eddc;border-color:#e3d4ab;color:#b29c67;height:35px;top:20px}.timeline-clip.selected{box-shadow:0 0 0 2px #829fc7;border-color:#829fc7}.timeline-clip span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.clip-handle{position:absolute;top:0;bottom:0;width:7px;background:#8ca8ce25;cursor:ew-resize;right:0}.clip-handle.left{left:0;right:auto}.timeline-notice{font-size:10px;color:#a4b2c6;padding:10px 20px;background:#fbfdff;border-top:1px solid #e2e9f3}.subtitle-editor{padding:22px 29px;max-height:240px;overflow:auto;background:#fff;border-top:1px solid var(--border)}.subtitle-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:12px;color:#879ab4}.subtitle-row{display:grid;grid-template-columns:70px 70px 1fr 25px;gap:8px;align-items:center;margin-bottom:7px}.subtitle-row input{padding:6px 8px;font-size:10px}.delivery-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:23px}.export-card{border:1px solid var(--border);background:#fff;border-radius:11px;padding:21px;display:flex;align-items:center;gap:17px;margin-bottom:13px}.export-icon{width:45px;height:45px;border-radius:11px;background:#eaf2fc;color:#87a5ce;display:grid;place-items:center;flex:none}.export-card h3{font-size:13px;margin:0 0 6px;font-weight:550}.export-card p{font-size:10px;line-height:1.8;color:#a1afc2;margin:0}.export-card .actions{margin-left:auto;flex-shrink:0}.project-summary{display:grid;grid-template-columns:1fr 1fr;gap:14px}.summary-cell{padding:13px;border-radius:8px;background:#f6f9fd;color:#a0b0c5;font-size:10px}.summary-cell strong{display:block;font-size:21px;font-weight:500;color:#8198b8;margin-bottom:6px}.modal-backdrop{position:fixed;inset:0;background:#21283170;backdrop-filter:blur(5px);z-index:200;display:flex;align-items:center;justify-content:center;padding:24px}.modal{width:470px;max-width:100%;max-height:calc(100vh - 48px);overflow:auto;border:1px solid #e6ecf3;border-radius:17px;background:#fff;padding:27px;box-shadow:0 22px 100px #212b3930}.modal.large{width:710px}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.modal-head h2{font-size:18px;font-weight:550;margin:0}.modal-head .icon-btn{color:#a6b1c0}.modal-foot{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.type-options{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:9px 0 22px}.type-option{border:1px solid #e0e7f1;border-radius:10px;padding:16px;cursor:pointer;position:relative}.type-option:has(input:checked){border-color:#91afd7;background:#f2f8ff;box-shadow:0 0 0 1px #91afd740}.type-option input{position:absolute;right:13px;top:13px;accent-color:#7698c7}.type-option .icon{color:#9bb1ce;margin-bottom:12px}.type-option strong{font-size:12px;display:block;font-weight:550;color:#8498b4}.type-option span{font-size:10px;color:#a1b0c5;line-height:1.9;display:block;margin-top:7px}.confirm-message{font-size:13px;line-height:1.95;color:#8c9eb6}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.media-option{border:1px solid #dfe7f2;border-radius:8px;background:#fff;padding:7px;display:flex;flex-direction:column;gap:8px;font-size:10px;color:#95a6bd;overflow:hidden}.media-option img,.media-option video{height:91px;width:100%;object-fit:contain;background:#eef3f9;border-radius:5px}.media-option .media-symbol{height:91px;width:100%;background:#eef3f9;display:grid;place-items:center;border-radius:5px}.media-option span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#toast-root{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:1000;display:flex;flex-direction:column;gap:9px;pointer-events:none;max-width:80vw}.toast{background:#29323d;color:#d5dfed;padding:12px 18px;border:1px solid #3c495b;border-radius:9px;box-shadow:0 5px 20px #242e3c25;font-size:12px;line-height:1.6;animation:toast-in .2s ease-out}.toast.error{background:#34425a;color:#f3d5df;border-color:#704556}.toast.success{background:#354c43;color:#d3e7dd;border-color:#466153}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.admin-container{padding:30px 40px;max-width:1400px;margin:auto}.admin-page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}.admin-page-heading h1{font-size:24px;font-weight:600}.admin-error{padding:25px;color:#bb8296;font-size:13px}.keyboard{font-family:inherit;padding:2px 4px;border:1px solid #dfe6ef;border-radius:4px;background:#fbfdff;font-size:9px}.job-drawer{position:fixed;right:20px;top:141px;width:340px;max-height:65vh;overflow:auto;z-index:60;border:1px solid var(--border);background:#fafcff;border-radius:12px;padding:17px;box-shadow:0 10px 45px #222d3b15}.job-drawer h3{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#8a9eb9;margin:0 0 14px}.stage-content:has(.canvas-layout){overflow:hidden}.text-center{text-align:center}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.hidden{display:none!important}@media(min-width:1600px){.page{max-width:1490px}.project-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1200px){.workspace-sidebar{width:170px}.stage-tab{padding:8px 9px;font-size:11px}.workspace-header{padding:0 12px}.project-breadcrumb{min-width:120px}.project-breadcrumb strong{max-width:120px}.canvas-inspector{width:260px;padding:16px}.stage-page{padding:27px}.script-layout{grid-template-columns:minmax(0,1fr) 260px}.page{padding:35px}.header-nav{margin-left:0}.timeline-top{grid-template-columns:minmax(240px,1fr) 260px}}@media(max-width:950px){.app-header{padding:0 18px;gap:15px}.workspace-sidebar{width:145px;padding:20px 8px}.workspace-header{gap:6px}.stage-tab .step-number{display:none}.stage-tab{font-size:10px;padding:8px}.project-breadcrumb strong{max-width:95px}.project-breadcrumb .slash{display:none}.save-indicator{min-width:65px}.script-layout,.delivery-layout{grid-template-columns:1fr}.storyboard-grid{grid-template-columns:1fr}.canvas-inspector{width:240px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-story{padding:38px}.header-right .quiet{display:none}.login-form-section{padding:28px}.studio-banner .banner-art{right:-80px;opacity:.7}.workspace-header .stage-tabs{gap:1px}.canvas-topbar .type-filter{padding:7px 6px}.canvas-topbar .type-filter small{display:none}.canvas-help{display:none}.timeline-top{height:240px;padding:16px;grid-template-columns:1fr 220px}}@media(max-width:700px){.header-nav{display:none}.brand{font-size:15px}.brand small{display:none}.brand-symbol{width:31px;height:31px;font-size:18px}.app-header{height:59px;padding:0 12px}.header-right{gap:4px}.header-right .user-chip{max-width:95px;font-size:10px}.header-right .avatar{display:none}.header-right button{font-size:10px;padding:6px}.page{padding:25px 20px}.dashboard-heading{flex-direction:column;gap:4px}.dashboard-heading h1{font-size:26px}.dashboard-heading .actions{margin-top:12px}.studio-banner{margin-top:24px;padding:24px;min-height:125px}.banner-art{opacity:.35!important;right:-170px!important}.studio-banner h2{font-size:18px}.project-grid{grid-template-columns:1fr 1fr;gap:12px}.project-cover{height:130px}.project-info{padding:13px}.project-info h3{font-size:12px}.project-meta{font-size:9px!important}.project-new{min-height:215px}.search input{width:150px}.section-toolbar{margin-top:25px}.login-layout{grid-template-columns:1fr}.login-story{display:none}.login-form{max-width:360px;width:100%}.login-form-section{min-height:100vh;padding:34px}.workspace{height:calc(100dvh - 59px)}.workspace-sidebar{display:none}.workspace-header{flex-wrap:wrap;height:87px;gap:0;padding:8px 12px}.project-breadcrumb{height:30px}.project-breadcrumb strong{max-width:210px}.stage-tabs{order:3;width:100%;justify-content:space-between}.stage-tab{flex:1;padding:8px 7px}.save-indicator{margin-left:auto}.workspace-header>.icon-btn{display:none}.canvas-inspector{width:220px;position:absolute;right:0;top:0;bottom:0;box-shadow:-6px 0 24px #26364b0a}.canvas-topbar{padding:0 9px;height:49px}.canvas-topbar .type-filter{font-size:10px;padding:6px}.canvas-topbar .toolbar-right button{padding:6px;font-size:10px}.canvas-floating-tools{left:9px;top:10px}.canvas-footer-tools{left:9px;bottom:12px}.canvas-minimap{display:none}.canvas-topbar .toolbar-right .group-btn{display:none}.stage-page{padding:23px 17px}.page-heading{align-items:flex-start}.page-heading h2{font-size:20px}.page-heading .actions{flex-direction:column}.timeline-top{height:235px;grid-template-columns:1fr;padding:13px}.timeline-settings{display:none}.timeline-toolbar{padding:8px;font-size:9px;gap:4px;overflow:auto}.timeline-toolbar button{font-size:9px;padding:6px}.timeline-toolbar .timeline-duration{display:none}.subtitle-editor{padding:17px}.delivery-layout .export-card{padding:17px;gap:11px}.export-card .actions button,.export-card .actions a{font-size:10px;padding:8px}.export-icon{width:35px;height:35px}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.job-drawer{right:10px;top:150px;width:calc(100vw - 20px)}.project-info .project-meta{gap:7px}.project-info .project-meta span:last-child{display:none}.admin-container{padding:20px 15px}}
/* Readable secondary text and controls at desktop and laptop sizes. */
.page-heading p,.dashboard-heading p,.studio-banner p,.form-help,.model-note,.inspector-note,.canvas-help,.timeline-notice,.export-card p,.empty-state p,.sidebar-bottom p{font-size:12px;color:#7d8692}
.form-field input,.form-field select,.form-field textarea,.field{font-size:14px}
.form-field>label,.field-label{font-size:12px;color:#66707e}
.stage-tab{font-size:12px}.stage-tabs{gap:6px}.stage-tab .step-number{font-size:10px}
.sidebar-resource,.episode-item,.episode-add{font-size:12px;color:#7a8798}.sidebar-resource>span:last-child{font-size:11px;color:#8d99a9}
.node-title{font-size:12px;color:#5c697a}.node-type{font-size:10px!important;color:#8e9eb4!important}.node-description,.node-text{font-size:12px;color:#758498}.node-footer{font-size:10px;color:#8a9db7}
.canvas-topbar .type-filter{font-size:12px;color:#808d9f}.canvas-topbar .type-filter small{font-size:10px}.canvas-topbar{overflow-x:auto;overflow-y:hidden}.canvas-topbar>*{flex-shrink:0}
.inspector-prompt{font-size:13px}.inspector-empty{font-size:12px;color:#919eb1}.node-placeholder{font-size:11px;color:#9caabe}
.timeline-track .track-name{font-size:12px;color:#8090a5}.timeline-clip{font-size:11px}.subtitle-row input{font-size:12px}.timeline-duration{font-size:11px!important}
.login-form .intro,.login-note{font-size:12px}.project-info h3{font-size:15px}.project-info .project-meta{font-size:12px;color:#8c98a8}
.image-tool-preview{position:relative;max-height:340px;overflow:hidden;background:#f0f4f9;border-radius:10px;display:flex;justify-content:center;margin-bottom:19px}.image-tool-preview>img{max-width:100%;max-height:340px;object-fit:contain;display:block}
.image-grid-frame{position:relative;display:inline-block;line-height:0}.image-grid-frame>img{max-width:100%;max-height:340px;display:block}.image-grid-overlay{position:absolute;inset:0;display:grid}.image-grid-cell{padding:0;border:1px solid #ffffff8a;background:#18202b32;color:#fff;border-radius:0;display:flex;align-items:center;justify-content:center;min-height:0;font-size:12px}.image-grid-cell.selected{background:#7ba1d32b;box-shadow:inset 0 0 0 2px #93b5e2}.image-grid-cell:hover{background:#6287b944;border-color:#fff}.image-grid-cell span{background:#252f3c75;padding:5px 8px;border-radius:4px;pointer-events:none}
.candidate-text{white-space:pre-wrap;background:#f4f7fb;padding:17px;border:1px solid #e3eaf3;border-radius:8px;max-height:390px;overflow:auto;font-size:13px;line-height:1.9;color:#6b7b90}.candidate-media{max-height:340px;display:flex;align-items:center;justify-content:center;background:#edf0f5;border-radius:9px;overflow:hidden}.candidate-media img,.candidate-media video{max-height:340px;max-width:100%;object-fit:contain}.candidate-media audio{width:90%;margin:28px 0}
.voice-binding{border-top:1px solid #e1e8f1;margin-top:22px;padding-top:17px}.voice-binding summary{font-size:13px;font-weight:550;color:#7085a1;cursor:pointer;display:flex;gap:8px;align-items:center;list-style:none}.voice-binding summary .icon{width:16px;height:16px}.voice-binding p{margin:11px 0 17px}
.subject-library{margin:-4px -4px -2px}.modal:has(.subject-library){width:min(900px,calc(100vw - 48px));padding:25px 28px 28px;background:#fbfbfc;border-color:#e4e6e8;border-radius:18px}.subject-library-scope{display:flex;align-items:center;gap:10px;padding-bottom:14px;border-bottom:1px solid #eceef0}.subject-library-scope button{border:0;background:transparent;font-size:13px;color:#73787d;padding:8px 14px;border-radius:18px}.subject-library-scope button.active{color:#26292c;background:#fff;box-shadow:0 1px 5px #23252b12;font-weight:650}.subject-library-tabs{display:flex;gap:7px;align-items:center;padding:16px 0 13px}.subject-library-tabs button{border:0;background:transparent;padding:8px 15px;border-radius:17px;font-size:13px;color:#72777d}.subject-library-tabs button.active{background:#25282b;color:#fff;box-shadow:none}.subject-library-search{height:42px;border:1px solid #dee1e4;background:#fff;border-radius:9px;display:flex;align-items:center;gap:9px;padding:0 13px;color:#9a9fa5;box-shadow:inset 0 1px 2px #24262a05}.subject-library-search .icon{width:17px;height:17px}.subject-library-search input{border:0;outline:0;background:transparent;min-width:0;flex:1;color:#34373b;font-size:13px}.subject-library-results{min-height:340px;max-height:min(55vh,520px);overflow:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:17px 1px 3px}.subject-library-card{position:relative;min-width:0;padding:0;display:flex;flex-direction:column;align-items:stretch;text-align:left;overflow:hidden;border:1px solid #e7e9eb;border-radius:11px;background:#fff;color:#303337;box-shadow:0 2px 8px #24262b08}.subject-library-card:hover{border-color:#d0d4d8;background:#fff;box-shadow:0 6px 17px #24262b12;transform:translateY(-1px)}.subject-library-preview{height:122px;background:#f0f1f3;display:flex;align-items:center;justify-content:center;overflow:hidden}.subject-library-preview img,.subject-library-preview video{width:100%;height:100%;object-fit:cover}.subject-library-preview>span{color:#8f929b}.subject-library-card-info{padding:10px 10px 11px;display:flex;flex-direction:column;gap:4px;min-width:0}.subject-library-card-info strong{font-size:12px;color:#35383b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.subject-library-card-info span{font-size:10px;color:#969ba1}.subject-library-reuse{position:absolute;right:7px;top:7px;display:flex;align-items:center;gap:3px;padding:4px 6px;border-radius:6px;background:#ffffffe8;color:#494b52;font-size:10px;opacity:0;transition:opacity .15s}.subject-library-card:hover .subject-library-reuse{opacity:1}.subject-library-reuse .icon{width:13px;height:13px}.subject-library-empty{grid-column:1/-1;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;color:#a0a5aa;text-align:center}.subject-library-empty .icon{color:#b6b8bf}.subject-library-empty strong{font-size:14px;color:#696e73;font-weight:600}.subject-library-empty span{font-size:12px}
.sidebar-resource-button{width:100%;justify-content:flex-start;border:0;border-radius:7px;background:transparent;text-align:left;cursor:pointer}.sidebar-resource-button:hover{background:#edf1f7;color:#5580b8}
@media(max-width:700px){.modal:has(.subject-library){width:calc(100vw - 24px);padding:20px 17px}.subject-library-tabs{overflow:auto;padding-bottom:13px}.subject-library-tabs button{flex:0 0 auto;padding:8px 12px}.subject-library-results{grid-template-columns:repeat(2,minmax(0,1fr));min-height:260px}.subject-library-preview{height:112px}.subject-library-reuse{opacity:1}}
/* Asset canvas: reference-aligned material cards, floating tools and prompt dock. */
.canvas-account{display:none}.asset-focus{height:100dvh}.asset-focus .workspace-sidebar{display:none}.asset-focus .workspace-header{height:57px;background:#fcfcfddd;border-bottom:0;padding:0 17px;z-index:30}.asset-focus .workspace-header .project-breadcrumb strong{max-width:200px}.asset-focus .workspace-header .stage-tabs{margin-left:35px;margin-right:auto}.asset-focus .workspace-header .stage-tab{font-size:12px}.asset-focus .canvas-topbar{display:none}.asset-focus .canvas-account{display:flex;gap:9px;align-items:center;margin-left:10px;font-size:12px;padding:5px 8px 5px 10px;border-radius:25px;background:#fff;box-shadow:0 3px 18px #252a3008}.asset-focus .canvas-account .avatar{width:25px;height:25px;background:#eff2f5;color:#757e8b}.asset-focus .save-indicator{font-size:11px;color:#74767d}.asset-focus .save-indicator .icon{width:13px;height:13px;color:#35ad77}.asset-focus .workspace-header>.icon-btn{background:#fff;border-radius:50%}.asset-focus .stage-content{background:#f9fafc}.asset-focus .workspace-header .project-breadcrumb .badge{background:#eef0f3;color:#777d85}.asset-focus .workspace-header .stage-tab.active{background:#edf1f7;color:#6790c6}body:has(.asset-focus) .app-header{display:none}body:has(.asset-focus) .job-drawer{top:68px}
.canvas-layout .canvas-surface{background-color:#fafbfd;background-image:radial-gradient(#e1e3e9 .7px,transparent .7px);background-size:24px 24px}.canvas-layout .canvas-node{background:transparent;border:0;box-shadow:none;border-radius:0}.canvas-layout .canvas-node.selected{box-shadow:none;border:0}.canvas-layout .node-body{border:1px solid #d6d8dd;border-radius:21px;padding:12px;background:#f2f3f5;box-shadow:0 7px 13px #252b3717;overflow:hidden}.canvas-layout .canvas-node.selected .node-body{border-color:#74adf7;box-shadow:0 0 0 1px #72aefb,0 7px 14px #252b371c}.canvas-layout .node-head{position:absolute;left:1px;right:1px;top:-30px;height:27px;min-height:0;padding:0 3px;gap:5px;cursor:grab;color:#7caff2}.canvas-layout .node-head .icon{width:13px;height:13px;fill:#87b5f1;stroke-width:1.1}.canvas-layout .node-head .node-title{font-size:13px;font-weight:600;color:#34373b}.canvas-layout .node-head .node-type{display:none}.canvas-layout .node-media{margin:0;border:0;border-radius:15px;position:relative;background:#fff;aspect-ratio:16/9;height:auto;overflow:hidden}.canvas-layout .node-kind-character .node-media{aspect-ratio:3/4}.canvas-layout .node-kind-scene .node-media{aspect-ratio:16/9}.canvas-layout .node-kind-prop .node-media,.canvas-layout .node-kind-material .node-media{aspect-ratio:1}.canvas-layout .node-media img,.canvas-layout .node-media video{width:100%;height:100%;position:absolute;inset:0;object-fit:contain;background:white}.canvas-layout .node-media .node-placeholder{position:absolute;inset:0;background:#e1e2e5;gap:13px;color:#a4a7ad;font-size:11px}.canvas-layout .node-placeholder .icon{width:31px;height:31px;stroke-width:1.05}.canvas-layout .node-kind-character .node-placeholder .icon{width:41px;height:41px;background:#f9f9fa;border-radius:50%;padding:12px;color:#c3c5c8}.canvas-layout .node-placeholder span{font-size:11px;color:#a4a6ac}.canvas-layout .node-media>.icon-btn{position:absolute;top:9px;right:9px;border:0;background:#fff9;border-radius:50%;color:#4b4e51;box-shadow:0 3px 10px #44444407;opacity:0;z-index:2}.canvas-layout .canvas-node.selected .node-media>.icon-btn,.canvas-layout .canvas-node:hover .node-media>.icon-btn{opacity:1}.canvas-layout .node-media>.icon-btn .icon{width:16px;height:16px}.canvas-layout .node-text{min-height:135px;max-height:260px;background:white;border-radius:14px;padding:16px;font-size:13px;color:#55595e;line-height:1.85}.canvas-layout .node-footer{padding:10px 1px 1px;margin:0;border:0;display:flex;flex-direction:column;gap:4px;align-items:stretch;color:#9fa3a7}.canvas-layout .node-footer-top{display:flex;align-items:center;gap:7px;min-height:24px}.canvas-layout .node-footer-top strong{max-width:65%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;font-weight:600;color:#3d4247}.canvas-layout .node-footer-top .icon-btn{margin-left:auto;width:22px;height:22px;padding:3px;color:#95969a;border:0}.canvas-layout .node-footer-top .icon-btn .icon{width:15px;height:15px}.canvas-layout .node-appearance{font-size:10px;line-height:1.6;color:#9ba0a5}.canvas-layout .node-pending{font-size:10px;color:#ed9457}.canvas-layout .node-footer .node-running{font-size:10px;color:#799bc8}.canvas-layout .node-port{width:26px;height:26px;top:calc(50% - 13px);border:0;box-shadow:none;background:#eceef3;color:#16171a;display:grid;place-items:center;opacity:0;z-index:7;font-size:26px;font-weight:400;line-height:1;transition:opacity .12s}.canvas-layout .node-port.in{left:-39px}.canvas-layout .node-port.out{right:-39px}.canvas-layout .canvas-node.selected .node-port,.canvas-layout .canvas-node:hover .node-port{opacity:1}.canvas-layout .node-port span{pointer-events:none;transform:translateY(-1px)}.canvas-layout .node-port:hover{background:#dfe7f2;box-shadow:0 0 0 3px #e3eaf457}.canvas-layout .node-quick-add{display:none}.canvas-layout .edge-path{stroke:#a2b8d4;stroke-width:1.5}.canvas-layout .edge-label{fill:#a3abb6;font-size:9px;stroke:#fafbfd}.canvas-layout .canvas-group{background:#e8eaee90;border:1px solid #e1e3e8;border-radius:20px}.canvas-layout .canvas-group>span{background:#edf0f3;color:#888d94}.canvas-layout .canvas-floating-tools{top:auto;bottom:34%;left:19px;gap:6px;padding:8px;border-radius:26px;border:0;background:#fff;box-shadow:0 8px 28px #242b3917}.canvas-layout .canvas-floating-tools>button{width:36px;height:36px;border-radius:50%;color:#292b31}.canvas-layout .canvas-floating-tools>button:first-child{background:#242629;color:#fff;width:39px;height:39px}.canvas-layout .canvas-floating-tools>button:first-child .icon{width:20px;height:20px}.canvas-layout .canvas-floating-tools>button .icon{width:19px;height:19px}.canvas-layout .creation-list{display:none;position:absolute;left:68px;bottom:-3px;width:155px;padding:7px;border:1px solid #e5e7e9;background:#fff;border-radius:14px;box-shadow:0 8px 26px #222a3312}.canvas-layout .canvas-floating-tools.expanded .creation-list{display:flex;flex-direction:column}.canvas-layout .creation-list button{justify-content:flex-start;border:0;border-radius:7px;padding:9px 11px;gap:11px;font-size:12px;color:#62676d}.canvas-layout .creation-list button:hover{background:#f1f4f7;color:#5581bb}.canvas-layout .creation-list button .icon{width:15px;height:15px}.canvas-layout .canvas-footer-tools{left:16px;bottom:15px;gap:5px;border:1px solid #fff;border-radius:23px;background:#f5f6f8d9;padding:5px 9px;box-shadow:none}.canvas-layout .canvas-footer-tools button{background:transparent;color:#70737b;width:29px;height:29px;padding:6px;border-radius:50%}.canvas-layout .canvas-footer-tools .zoom-value{color:#4d5058;font-size:11px}.canvas-layout .canvas-footer-tools .icon{width:15px;height:15px}.canvas-layout .canvas-help{bottom:23px;right:19px;font-size:10px;color:#b3b8bd}.canvas-layout .canvas-empty-art{border-color:#e0e3e7;background:#fff8;box-shadow:23px 9px 0 -3px #f9fafc,23px 9px 0 -2px #e0e4e8}.canvas-layout .canvas-empty strong{color:#898f96}.canvas-layout .canvas-empty p{color:#a1a7ae}.canvas-layout .canvas-inspector{width:292px;box-shadow:-8px 0 25px #222d3b04;position:relative;border-left-color:#eef0f2}.canvas-layout .canvas-inspector .inspector-heading{color:#70767e}.canvas-layout .canvas-inspector .form-field>label{color:#737981}.canvas-layout .canvas-inspector input,.canvas-layout .canvas-inspector select,.canvas-layout .canvas-inspector textarea{font-size:13px}
.selected-node-toolbar{position:absolute;display:flex;align-items:center;justify-content:center;gap:3px;padding:5px 9px;background:#f4f5f6ed;border:1px solid #fff;border-radius:28px;box-shadow:0 2px 10px #232b3403;transform:translateX(-50%);z-index:16;white-space:nowrap;backdrop-filter:blur(8px)}.selected-node-toolbar>button{font-size:13px;color:#24262a;background:transparent;border:0;border-radius:20px;padding:9px 12px;gap:7px}.selected-node-toolbar>button:hover{background:#fff}.selected-node-toolbar>button .icon{color:#83858c;width:19px;height:19px}.selected-node-toolbar>.icon-btn{width:34px;height:34px;padding:7px}.toolbar-divider{width:1px;height:20px;background:#dadde0;margin:0 5px}.canvas-prompt-panel{position:absolute;bottom:23px;left:50%;transform:translateX(-50%);width:min(760px,calc(100% - 150px));border:1px solid #dee2e6;border-radius:23px;background:#fff;padding:15px 18px 12px;box-shadow:0 5px 22px #242a3610;z-index:17}.dock-references{display:flex;gap:8px;align-items:center;margin-bottom:10px;max-height:70px;overflow:auto}.dock-reference{position:relative;flex-shrink:0;height:62px;width:62px;border-radius:14px;background:#f1f2f4;display:flex;align-items:center;justify-content:center;overflow:hidden}.dock-reference img{width:100%;height:100%;object-fit:cover}.dock-reference>.icon-btn{position:absolute;right:0;top:0;width:20px;height:20px;padding:3px;background:#323538a6;color:white;border:0;border-radius:50%}.dock-reference>.icon-btn .icon{width:11px;height:11px}.current-reference{position:absolute;bottom:0;left:0;right:0;color:white;background:#292e3380;text-align:center;font-size:9px;padding:2px}.dock-prompt{display:block;width:100%;border:0;background:transparent;outline:none;resize:none;min-height:67px;max-height:165px;color:#282b2f;font-size:14px;line-height:1.85;padding:0 3px;margin-bottom:9px}.dock-prompt::placeholder{color:#aaafb4}.dock-footer{display:flex;align-items:center;gap:8px}.dock-footer>.icon-btn,.dock-at{width:34px;height:34px;flex-shrink:0;padding:7px;border:1px solid #e4e7eb;background:#fff;border-radius:50%;color:#272a2e}.dock-at{font-size:16px}.dock-footer .dock-model,.dock-footer .dock-dimension{width:auto;max-width:250px;min-width:0;border:1px solid #e2e5e9;background:white;color:#33363a;border-radius:20px;padding:8px 27px 8px 12px;font-size:12px;outline:none}.dock-footer .dock-model{flex:1}.dock-footer .dock-dimension{max-width:150px}.dock-format{font-size:12px;border:1px solid #e2e5e9;padding:8px 13px;border-radius:20px;color:#555b63}.dock-generate{width:38px;height:38px;flex-shrink:0;margin-left:auto;border:0;border-radius:50%;background:#202a3b;color:white;padding:8px}.dock-generate:hover{background:#151d2a}.dock-generate .icon{width:23px;height:23px}.dock-text-references{display:flex;gap:7px;font-size:11px;color:#829bbc;margin:0 3px 8px}.dock-text-references span{background:#f4f7fc;border-radius:4px;padding:2px 5px}.batch-selection-bar{position:absolute;bottom:35px;left:50%;transform:translateX(-50%);border-radius:18px;border:1px solid #e4e7eb;padding:12px 16px;background:#fff;display:flex;gap:12px;align-items:center;z-index:15;font-size:12px;box-shadow:0 6px 22px #222a330c}
.preset-modal{width:1040px!important;background:#f0f1f3;border:1px solid white;border-radius:28px;padding:30px 35px}.preset-modal .modal-head{margin-bottom:23px}.preset-modal .modal-head h2{font-size:19px;font-weight:650;color:#252729}.preset-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:35px}.preset-visual{min-height:340px;background:white;border-radius:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;padding:25px;overflow:hidden}.preset-source-image{max-width:100%;max-height:350px;object-fit:contain}.control-sphere{width:100%;aspect-ratio:1;border-radius:50%;position:relative;background:radial-gradient(circle at 37% 30%,#fafafa 0,#f4f5f6 45%,#e9ebee 83%,#d7dbe0 99%);border:1px solid #f6f7f8;box-shadow:inset 0 0 18px #dddfe333;overflow:hidden}.control-sphere:before,.control-sphere:after{content:'';position:absolute;background:#e4e7ea80}.control-sphere:before{width:1px;height:100%;left:50%}.control-sphere:after{height:1px;width:100%;top:50%}.sphere-latitude{position:absolute;border:1px solid #e6e8ec7d;width:100%;height:38%;border-radius:50%;left:0;top:31%}.sphere-latitude.two{top:13%;height:73%}.sphere-longitude{position:absolute;border:1px solid #e6e8ec80;width:35%;height:100%;border-radius:50%;left:32.5%;top:0}.sphere-origin{position:absolute;left:43%;top:39%;height:24%;width:14%;display:flex;align-items:center;justify-content:center;background:#e1e2e4;z-index:2}.sphere-origin img{width:100%;height:100%;object-fit:cover}.sphere-origin>.icon{width:23px;height:23px;color:#a2a6b0}.sphere-marker{position:absolute;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#25272b;color:white;transform:translate(-50%,-50%);box-shadow:0 0 0 8px #fff6;z-index:3}.sphere-marker.camera-marker{border-radius:8px;width:39px;height:29px;background:#686b73}.sphere-marker .icon{width:20px;height:20px}.sphere-caption{font-size:11px;color:#a8acb0;position:absolute;bottom:16px;right:21px}.preset-settings{min-width:0;padding:0 2px;max-height:490px;overflow:auto}.preset-control{margin-bottom:20px}.preset-control>label{font-size:15px;color:#6f7077;font-weight:550;display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.preset-control>label span{font-weight:400;font-size:13px;color:#696e73}.preset-chips{display:flex;gap:6px;flex-wrap:wrap}.preset-chips button{border:0;background:#fff;color:#27292c;border-radius:9px;padding:9px 13px;font-size:13px;flex:1}.preset-chips button.active{background:#252525;color:#fff}.preset-control input[type=range]{width:100%;height:17px;accent-color:#292b2d;cursor:pointer}.preset-settings .form-field>label{font-size:14px;color:#787c81}.preset-settings textarea{border:1px solid #9d9fa5;background:transparent;border-radius:12px;padding:10px;min-height:80px;font-size:13px}.preset-settings select{background:#fff}.preset-notice{font-size:12px;line-height:1.75;color:#91969d;margin:17px 0 0}.preset-footer{display:flex;align-items:center;gap:9px;margin-top:18px}.preset-footer .ghost{border:0;color:#a1a5aa;font-size:13px}.preset-submit{margin-left:auto;width:46px;height:46px;border:0;background:#1f2123;color:#fff;border-radius:50%;padding:11px}.preset-submit .icon{width:25px;height:25px}.preset-submit:disabled{opacity:.35}.preset-view-labels{display:flex;gap:8px;margin-bottom:25px}.preset-view-labels span{background:white;border-radius:8px;flex:1;text-align:center;padding:14px;font-size:13px;color:#6c7176}
@media(max-width:1100px){.asset-focus .workspace-header .stage-tabs{margin-left:5px;gap:1px}.asset-focus .canvas-account>span:not(.avatar){display:none}.canvas-prompt-panel{width:min(690px,calc(100% - 110px));bottom:60px}.selected-node-toolbar>button{font-size:12px;padding:8px}.selected-node-toolbar>button .icon{width:16px;height:16px}.preset-modal{padding:24px}.preset-content{gap:22px}.preset-visual{min-height:280px;padding:15px}}
@media(max-width:700px){.asset-focus .workspace-header{height:91px;padding:7px 11px}.asset-focus .workspace-header .stage-tabs{margin-left:0;order:4;justify-content:space-between}.asset-focus .canvas-account{margin-left:auto;background:transparent;box-shadow:none;padding:0}.asset-focus .canvas-account .avatar{display:none}.asset-focus .workspace-header .project-breadcrumb strong{max-width:110px}.asset-focus .workspace-header>.small{font-size:10px;padding:6px}.asset-focus .workspace-header .save-indicator{font-size:9px;min-width:45px}.canvas-prompt-panel{width:calc(100% - 24px);left:12px;transform:none;bottom:60px;padding:12px;border-radius:18px}.dock-model{max-width:150px!important}.dock-dimension{max-width:108px!important}.dock-prompt{font-size:13px;min-height:60px}.dock-footer{gap:5px}.dock-footer>.icon-btn,.dock-at{width:29px;height:29px;padding:5px}.dock-generate{width:33px;height:33px}.canvas-layout .canvas-floating-tools{left:12px;bottom:47%}.selected-node-toolbar{max-width:calc(100vw - 20px);overflow:auto;justify-content:flex-start}.selected-node-toolbar>button{font-size:11px;flex-shrink:0;padding:8px}.selected-node-toolbar>.icon-btn{width:30px;height:30px}.canvas-layout .canvas-inspector{position:absolute;right:0;top:0;bottom:0;width:260px;z-index:25;box-shadow:-8px 0 23px #222e3f13}.preset-content{grid-template-columns:1fr;gap:20px}.preset-visual{min-height:220px;max-height:270px}.control-sphere{width:220px}.preset-settings{max-height:none}.preset-modal{padding:22px;border-radius:22px}.preset-chips button{font-size:12px;padding:9px}.canvas-layout .canvas-help{display:none}}
@media(max-width:950px){.stage-tab{font-size:11px;padding:8px}.stage-tabs{gap:1px}.stage-tab .step-number{display:none}.canvas-topbar .type-filter{font-size:11px}.workspace-header .save-indicator{font-size:10px}}

/* Canvas interaction affordances: grab cards anywhere and make reference links easy to target. */
.canvas-layout .canvas-node{touch-action:none}
.dock-prompt-wrap{position:relative;margin-bottom:9px}
.dock-prompt-wrap .dock-prompt,.dock-prompt-mirror{font:inherit;font-size:14px;line-height:1.85;letter-spacing:normal;white-space:pre-wrap;overflow-wrap:break-word;padding:0 3px;box-sizing:border-box}
.dock-prompt-wrap .dock-prompt{position:relative;z-index:1;margin-bottom:0;color:transparent;caret-color:#282b2f;background:transparent}
.dock-prompt-wrap .dock-prompt::placeholder{color:#a9aeb6}
.dock-prompt-wrap .dock-prompt::selection{color:transparent;background:#b9d7fa8c}
.dock-prompt-mirror{position:absolute;inset:0;overflow:hidden;pointer-events:none;color:#282b2f}
.dock-mention{border-radius:5px;padding:1px 2px;font-weight:600;color:#176d60;background:#ddf3eb}
.dock-mention.text-mention{color:#694baa;background:#eee7fb}
.dock-text-references span{color:#694baa;background:#eee7fb;border:1px solid #ddd0f5;font-weight:600}
.reference-picker-popover{position:fixed;z-index:1000;width:min(350px,calc(100vw - 24px));max-height:min(460px,calc(100vh - 24px));display:flex;flex-direction:column;border:1px solid #dfe3e8;border-radius:15px;background:#fff;box-shadow:0 14px 45px #26314135;overflow:hidden}
.reference-picker-heading{padding:14px 15px 8px;font-size:13px;font-weight:700;color:#353c47}
.reference-picker-search{margin:0 12px 10px;width:calc(100% - 24px);border:1px solid #dfe5ed;border-radius:8px;padding:9px 10px;outline:none}
.reference-picker-tabs{display:flex;gap:4px;padding:0 10px 9px;border-bottom:1px solid #edf0f3}
.reference-picker-tabs button{border:0;background:transparent;padding:6px 9px;font-size:11px;color:#84909f}
.reference-picker-tabs button.active{background:#e9f1fc;color:#4a78b5}
.reference-picker-list{overflow:auto;padding:6px;min-height:70px}
.reference-picker-item{display:flex;align-items:center;gap:10px;width:100%;text-align:left;justify-content:flex-start;border:0;background:transparent;padding:8px;border-radius:8px;white-space:normal}
.reference-picker-item:hover{background:#f0f5fb}
.reference-picker-item img,.reference-picker-item .reference-picker-symbol{width:42px;height:42px;flex:none;object-fit:cover;border-radius:7px;background:#eef2f6;display:grid;place-items:center}
.reference-picker-item strong{display:block;font-size:12px;max-width:245px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reference-picker-item small{display:block;font-size:10px;color:#8d98a7;margin-top:3px}
.reference-picker-empty{font-size:12px;color:#8893a1;padding:18px;text-align:center}
.canvas-layout .edge-hit-area{fill:none;stroke:transparent;stroke-width:18;pointer-events:stroke;cursor:pointer;vector-effect:non-scaling-stroke}
.canvas-layout .edge-path{pointer-events:none}
.canvas-layout .edge-path.selected{stroke:#5595e8;stroke-width:3}
.canvas-layout .edge-label{pointer-events:none}
.canvas-layout .node-head .node-title-edit{width:20px;height:20px;padding:2px;opacity:0;border:0;background:transparent;color:#717e8f}.canvas-layout .node-head:hover .node-title-edit,.canvas-layout .node-head .node-title-edit:focus-visible{opacity:1}.canvas-layout .node-head .node-title-edit .icon{width:13px;height:13px}
.project-opening{position:absolute;inset:0;display:grid;place-items:center;background:#ffffffdf;color:#6950bf;font-size:14px;font-weight:600;z-index:3;pointer-events:none}

/* Canvas media cards follow their source image proportions; image double-click opens a full preview. */
.canvas-layout .canvas-node .node-media{aspect-ratio:var(--node-media-aspect,16 / 9);height:auto;min-height:90px}
.canvas-layout .canvas-node .node-media img{pointer-events:auto;cursor:zoom-in}
.image-preview-large{display:grid;place-items:center;min-height:180px;max-height:78vh;background:#f6f7f9;border-radius:12px;overflow:auto;padding:12px}
.image-preview-large img{display:block;max-width:100%;max-height:76vh;width:auto;height:auto;object-fit:contain;margin:auto}
.video-outputs-page{max-width:1320px;padding:34px 38px;margin:0 auto;overflow:auto;height:100%}
.video-output-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.video-output-card{min-width:0;overflow:hidden;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 5px 18px #202b3908}
.video-output-player{aspect-ratio:16/9;background:#17191d;display:grid;place-items:center}
.video-output-player video{display:block;width:100%;height:100%;max-height:70vh;object-fit:contain;background:#111}
.video-output-info{display:flex;justify-content:space-between;gap:12px;padding:13px 15px;font-size:12px}
.video-output-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.video-output-info span{flex:none;color:var(--muted)}
.video-output-empty{min-height:280px;border:1px dashed var(--border);border-radius:14px;background:#fff;display:grid;place-items:center}
.video-output-empty .node-placeholder{gap:10px}
.video-output-empty .node-placeholder strong{color:var(--ink);font-size:14px}
@media(max-width:700px){.video-outputs-page{padding:20px 14px}.video-output-grid{grid-template-columns:1fr}}

/* Keep every generated video tile at a consistent preview size and sort newest first in the UI. */
.video-output-grid{grid-template-columns:repeat(auto-fill,minmax(280px,340px));justify-content:start;align-items:start}
.video-output-card{width:100%;max-width:340px}
.video-output-player{position:relative;width:100%;height:auto;aspect-ratio:16/9;overflow:hidden}
.video-output-player video{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain}
.video-output-sort{display:block;margin-top:9px;color:var(--muted);font-size:11px}
@media(max-width:700px){.video-output-grid{grid-template-columns:minmax(0,1fr)}.video-output-card{max-width:none}}

/* Generated videos use the same light visual language as the rest of the platform. */
.video-outputs-page{width:100%;max-width:none;height:100%;margin:0;padding:34px 36px;background:#f5f6f8;color:var(--ink)}
.video-output-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 28px}
.video-output-heading h2{margin:0 0 7px;font-size:27px;color:var(--ink)}
.video-output-heading p{margin:0;color:var(--muted);font-size:14px}
.video-output-filters{display:flex;gap:12px}
.video-output-filters select{min-width:150px;padding:12px 36px 12px 16px;border:1px solid var(--border);border-radius:9px;background:#fff;color:#68717d;font-size:13px;cursor:pointer;outline:none}.video-output-filters select:focus{border-color:#8bb4e9;box-shadow:0 0 0 3px #5796e810}
.video-output-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;justify-content:stretch;align-items:stretch}
.video-output-card{width:100%;max-width:none;min-width:0;overflow:hidden;background:#fff;border:1px solid var(--border);border-radius:13px;box-shadow:0 5px 18px #202b3908;color:var(--ink)}
.video-output-thumb{position:relative;background:#e9edf2;overflow:hidden}
.video-output-player{position:relative;width:100%;aspect-ratio:4/3;height:auto;background:#e9edf2;overflow:hidden}
.video-output-player video{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;background:#17191d}
.video-output-status,.video-output-duration{position:absolute;z-index:2;border-radius:20px;padding:5px 11px;font-size:12px;font-weight:600}
.video-output-status{top:13px;left:13px;background:#eaf1fa;color:#568dd6;border:1px solid #d9e7f7}
.video-output-duration{bottom:12px;right:13px;background:#262c35;color:#fff;border:0}
.video-output-play{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;border:0;border-radius:50%;background:var(--accent);color:#fff;opacity:.94}
.video-output-play .icon{width:25px;height:25px;fill:currentColor;stroke:currentColor}
.video-output-play[hidden]{display:none}
.video-output-info{display:block;min-height:132px;padding:14px 15px;color:var(--muted);font-size:13px}
.video-output-model{display:flex;justify-content:space-between;gap:12px;margin-bottom:9px;color:var(--muted)}
.video-output-model span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.video-output-model span:last-child{flex:none}
.video-output-prompt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px;margin:0 0 8px;color:var(--ink);line-height:1.55}
.video-output-info time{color:var(--muted);font-size:12px}
.video-output-empty{min-height:280px;border:1px dashed var(--border);border-radius:14px;background:#fff;display:grid;place-items:center}
.video-output-empty .node-placeholder{gap:10px}
.video-output-empty .node-placeholder strong{color:var(--ink);font-size:14px}
@media(max-width:1500px){.video-output-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1050px){.video-output-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.video-output-filters select{min-width:120px}}
@media(max-width:700px){.video-outputs-page{padding:20px 14px}.video-output-heading{align-items:flex-start;flex-direction:column}.video-output-filters{width:100%;gap:7px}.video-output-filters select{min-width:0;flex:1;padding:10px;font-size:11px}.video-output-grid{grid-template-columns:minmax(0,1fr)}.video-output-info{min-height:125px}}

.canvas-layout .node-resize-handle{position:absolute;right:1px;bottom:1px;width:18px;height:18px;z-index:8;border-radius:0 0 11px 0;cursor:nwse-resize;touch-action:none;opacity:0;background:linear-gradient(135deg,transparent 0 42%,#9ba8b7 43% 49%,transparent 50% 62%,#9ba8b7 63% 69%,transparent 70%)}
.canvas-layout .canvas-node.selected .node-resize-handle,.canvas-layout .canvas-node:hover .node-resize-handle{opacity:.85}
.canvas-layout .node-resize-handle:hover{background-color:#e8f1fc}

.canvas-layout .node-text{min-height:180px;max-height:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c4cbd4 transparent}
.canvas-layout .node-text::-webkit-scrollbar{width:8px}
.canvas-layout .node-text::-webkit-scrollbar-thumb{background:#c4cbd4;border:2px solid #fff;border-radius:8px}
.canvas-layout .node-kind-text .node-resize-handle{cursor:nwse-resize}
