.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #555;--xy-background-pattern-lines-color-default: #333;--xy-background-pattern-cross-color-default: #333;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}:root{color:#f7f8fc;background:#0c0f15;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,sans-serif;font-synthesis:none}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;min-height:100%;margin:0}body{overflow-x:hidden}button,input,select{font:inherit}.benchmark-shell{display:grid;grid-template-rows:72px minmax(0,1fr);height:100vh;overflow:hidden;background:radial-gradient(circle at 78% -20%,rgba(124,111,242,.15),transparent 36%),#0c0f15}.foundation-button,.foundation-icon-button,.foundation-nav-link,.foundation-project-card,.foundation-form input,.foundation-create-form input,.foundation-create-form select{min-height:44px}.foundation-button,.foundation-icon-button{border:0;color:#f7f8fc;cursor:pointer;font:inherit}.foundation-button{display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border-radius:12px;text-decoration:none;font-size:13px;font-weight:750;transition:border-color .15s ease,background .15s ease,transform .15s ease}.foundation-button:hover:not(:disabled){transform:translateY(-1px)}.foundation-button:disabled{cursor:wait;opacity:.65}.foundation-button--primary{background:linear-gradient(135deg,#8b7cff,#6553df);box-shadow:0 10px 26px #6953e547}.foundation-button--ghost{border:1px solid #343b49;background:#171c25}.foundation-button:focus-visible,.foundation-icon-button:focus-visible,.foundation-nav-link:focus-visible,.foundation-project-card:focus-visible,.foundation-form input:focus-visible,.foundation-create-form input:focus-visible,.foundation-create-form select:focus-visible{outline:2px solid #9a8cff;outline-offset:3px}.foundation-eyebrow{margin:0;color:#8f82ff;font-size:10px;font-weight:850;letter-spacing:.17em}.foundation-muted{color:#929bac;line-height:1.7}.foundation-auth-page,.foundation-status-page,.foundation-placeholder{min-height:100vh;min-height:100dvh;color:#f7f8fc;background:radial-gradient(circle at 18% 10%,rgba(125,106,242,.2),transparent 27rem),radial-gradient(circle at 90% 85%,rgba(35,159,194,.1),transparent 30rem),#0c0f15}.foundation-auth-page,.foundation-status-page{display:grid;place-items:center;padding:28px 18px max(28px,env(safe-area-inset-bottom))}.foundation-status-page{align-content:center;gap:12px;color:#abb3c2}.foundation-auth-card{width:min(100%,480px);padding:clamp(26px,6vw,44px);border:1px solid #29303c;border-radius:24px;background:#12161eeb;box-shadow:0 30px 90px #0000006b;backdrop-filter:blur(20px)}.foundation-auth-brand{display:grid;width:48px;height:48px;margin-bottom:26px;place-items:center;border-radius:15px;background:linear-gradient(145deg,#9486ff,#5e4bd7);box-shadow:0 12px 30px #6652e859;font-size:20px;font-weight:900}.foundation-auth-card h1{margin:10px 0 8px;font-size:clamp(25px,5vw,34px);letter-spacing:-.04em}.foundation-auth-card>p.foundation-muted{margin:0 0 28px}.foundation-form{display:grid;gap:18px}.foundation-form label,.foundation-create-form label{display:grid;gap:8px;min-width:0;color:#bbc2ce;font-size:12px;font-weight:700}.foundation-form input,.foundation-create-form input,.foundation-create-form select{width:100%;min-width:0;padding:0 14px;border:1px solid #333b49;border-radius:12px;outline:none;color:#f6f7fa;background:#10141b}.foundation-form input:hover,.foundation-create-form input:hover,.foundation-create-form select:hover{border-color:#4a5363}.foundation-alert{margin:0;padding:11px 13px;border-radius:11px;font-size:12px;line-height:1.5}.foundation-alert--error{border:1px solid rgba(244,99,122,.36);color:#ffb2bf;background:#7e243738}.foundation-alert--info{margin-bottom:18px;border:1px solid rgba(123,108,239,.4);color:#d8d2ff;background:#4f419738}.foundation-shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh;min-height:100dvh;color:#f7f8fc;background:radial-gradient(circle at 68% -12%,rgba(116,98,239,.15),transparent 35rem),#0c0f15}.foundation-sidebar{position:sticky;top:0;z-index:30;display:flex;height:100vh;height:100dvh;flex-direction:column;gap:30px;padding:24px 18px;border-right:1px solid #252b36;background:#0f131af5;backdrop-filter:blur(18px)}.foundation-sidebar__brand{display:flex;align-items:center;gap:12px}.foundation-sidebar__brand>span{display:grid;width:38px;height:38px;place-items:center;flex:0 0 auto;border-radius:12px;background:linear-gradient(145deg,#9284ff,#5f4cd7);font-weight:900}.foundation-sidebar__brand div,.foundation-account div{display:grid;gap:2px;min-width:0}.foundation-sidebar__brand strong,.foundation-account strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.foundation-sidebar__brand small,.foundation-account small{color:#7f899a;font-size:10px}.foundation-sidebar nav{display:grid;gap:6px}.foundation-nav-link{display:flex;align-items:center;gap:11px;padding:0 13px;border-radius:12px;color:#aeb6c4;text-decoration:none;font-size:13px;font-weight:700}.foundation-nav-link--active{color:#fff;background:#202531}.foundation-nav-link span{color:#8878ff}.foundation-account{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;margin-top:auto;padding:12px;border:1px solid #2a313d;border-radius:14px;background:#141821}.foundation-account__avatar{display:grid;width:36px;height:36px;place-items:center;border-radius:11px;color:#dcd7ff;background:#2a244a;font-size:12px;font-weight:850}.foundation-content{min-width:0;padding:28px clamp(24px,4vw,60px) max(38px,env(safe-area-inset-bottom))}.foundation-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;margin-bottom:28px}.foundation-header h1,.foundation-create-panel h2,.foundation-section-heading h2{margin:7px 0 0;letter-spacing:-.035em}.foundation-header h1{font-size:clamp(28px,4vw,42px)}.foundation-icon-button{display:grid;width:44px;padding:0;place-items:center;border:1px solid #343b49;border-radius:12px;background:#171c25}.foundation-sidebar-toggle,.foundation-sidebar-close,.foundation-sidebar-backdrop{display:none}.foundation-create-panel{padding:clamp(20px,3vw,30px);border:1px solid #2a303c;border-radius:20px;background:linear-gradient(120deg,rgba(130,111,247,.09),transparent 38%),#141821;box-shadow:0 18px 50px #0003}.foundation-create-panel h2,.foundation-section-heading h2{font-size:clamp(19px,3vw,25px)}.foundation-create-form{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(160px,.8fr) auto;align-items:end;gap:14px;margin-top:22px}.foundation-create-panel>.foundation-alert{margin-top:14px}.foundation-projects{margin-top:34px}.foundation-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}.foundation-section-heading>span{color:#7f8999;font-size:12px}.foundation-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.foundation-project-card{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0;padding:14px;border:1px solid #2a313d;border-radius:16px;color:#f2f4f8;background:#151a22;text-decoration:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}.foundation-project-card:hover{transform:translateY(-2px);border-color:#51496f;background:#1a1f29}.foundation-project-card__visual{position:relative;display:grid;width:64px;height:52px;place-items:center;border:1px solid #303846;border-radius:11px;background:linear-gradient(145deg,rgba(132,112,247,.12),transparent),#10141b}.foundation-project-card__visual i{position:absolute;width:12px;height:12px;border:1px solid #7769e4;border-radius:4px;background:#252047}.foundation-project-card__visual i:nth-child(1){transform:translate(-14px,4px)}.foundation-project-card__visual i:nth-child(2){transform:translateY(-7px)}.foundation-project-card__visual i:nth-child(3){transform:translate(15px,7px)}.foundation-project-card__body{display:grid;gap:6px;min-width:0}.foundation-project-card__body strong,.foundation-project-card__body small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.foundation-project-card__body strong{font-size:13px}.foundation-project-card__body small{color:#7f8999;font-size:10px}.foundation-project-card>span:last-child{color:#7f72ec}.foundation-state-card{display:grid;min-height:190px;place-items:center;align-content:center;gap:9px;padding:26px;border:1px dashed #343c49;border-radius:18px;color:#9da5b3;background:#141821ad;text-align:center}.foundation-state-card strong{color:#e8eaf0}.foundation-state-card p{max-width:420px;margin:0 0 5px;font-size:12px;line-height:1.65}.foundation-spinner{width:24px;height:24px;border:2px solid #343b48;border-top-color:#9284ff;border-radius:50%;animation:foundation-spin .8s linear infinite}@keyframes foundation-spin{to{transform:rotate(360deg)}}.foundation-placeholder{display:grid;grid-template-rows:auto minmax(0,1fr);padding:20px clamp(18px,4vw,48px) max(28px,env(safe-area-inset-bottom))}.foundation-placeholder__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.foundation-placeholder__card{display:grid;width:min(100%,720px);place-items:center;align-self:center;justify-self:center;padding:clamp(32px,8vw,72px) 24px;border:1px solid #2d3441;border-radius:24px;background:#131720e6;box-shadow:0 30px 90px #00000061;text-align:center}.foundation-placeholder__card h1{margin:9px 0 12px;font-size:clamp(28px,7vw,52px);letter-spacing:-.05em}.foundation-placeholder__card p:not(.foundation-eyebrow){margin:0 0 10px;color:#c6cbd5;font-size:clamp(15px,3vw,19px)}.foundation-placeholder__card small{max-width:500px;color:#788293;line-height:1.7}.foundation-placeholder__card .foundation-button{margin-top:16px}.foundation-placeholder__glyph{display:grid;width:72px;height:72px;margin-bottom:22px;place-items:center;border:1px solid #514876;border-radius:22px;color:#9b8eff;background:#211d39;font-size:34px}.generation-history-page{min-height:100vh}.generation-history-page__content{width:min(100%,1280px);margin:32px auto}.generation-history-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.generation-history-summary article,.generation-history-section,.generation-history-table-wrap{border:1px solid #2a313d;border-radius:16px;background:#141821}.generation-history-summary article{display:grid;gap:8px;padding:18px}.generation-history-summary span{color:#929bac;font-size:12px}.generation-history-summary strong{color:#ddd8ff;font-size:clamp(19px,3vw,28px)}.generation-history-controls{display:flex;align-items:end;gap:12px;margin-bottom:18px}.generation-history-controls label{display:grid;gap:7px;color:#b7c0ce;font-size:12px;font-weight:700}.generation-history-controls select{min-height:38px;padding:0 10px;border:1px solid #343c49;border-radius:10px;color:#f7f8fc;background:#10141b}.generation-history-table-wrap{overflow:auto}.generation-history-table{width:100%;min-width:760px;border-collapse:collapse;font-size:13px}.generation-history-table th,.generation-history-table td{padding:14px 16px;border-bottom:1px solid #272e39;text-align:left;vertical-align:middle}.generation-history-table th{position:sticky;top:0;color:#969fb0;background:#1a202a;font-size:11px}.generation-history-table td{color:#d8dde6}.generation-history-table tr:last-child td{border-bottom:0}.generation-history-table-wrap .foundation-muted{padding:24px}.generation-history-section{margin-top:20px;padding:18px}.generation-history-section h2{margin:0 0 14px;font-size:17px}.generation-recovery-list,.generation-audit-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.generation-recovery-list li,.generation-audit-list li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px;border:1px solid #2b3340;border-radius:12px;background:#10141b}.generation-recovery-list span,.generation-audit-list span{display:grid;gap:5px;min-width:0}.generation-recovery-list strong,.generation-audit-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.generation-recovery-list small,.generation-audit-list span{color:#9da7b6;font-size:12px}.generation-audit-detail{display:grid;gap:10px;margin-top:14px;padding:14px;border:1px solid #3e495d;border-radius:12px;background:#151b25}.generation-audit-detail>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.generation-audit-detail h3,.generation-audit-detail h4{margin:0}.generation-audit-detail dl{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0}.generation-audit-detail dl div{display:grid;gap:2px}.generation-audit-detail dt{color:#9da7b6;font-size:12px}.generation-audit-detail dd{margin:0}.generation-audit-detail pre{max-height:280px;margin:0;overflow:auto;padding:10px;border-radius:8px;color:#edf1fb;background:#0d1118;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-word}.structured-prompt-editor__input{min-height:4.5em;padding:10px;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--border, #53606f);border-radius:8px;cursor:text}.structured-prompt-editor__input:focus-visible,.prompt-binding-status button:focus-visible{outline:2px solid var(--accent, #779dff);outline-offset:2px}.structured-prompt-editor__reference{display:inline-block;vertical-align:baseline;margin:1px 3px;user-select:all}.prompt-binding-status{display:inline-flex;align-items:center;gap:5px;padding:2px 5px;border:1px solid #647b9a;border-radius:6px;font-size:.9em}.prompt-binding-status--missing{border-color:#c79343}.prompt-binding-status__state{font-size:.85em;opacity:.85}.prompt-binding-status button{cursor:pointer;font:inherit}.structured-prompt-editor__error{display:block;margin-top:6px;color:#c77438}@media(max-width:760px){.generation-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.generation-history-page__content{margin:20px auto}.generation-recovery-list li{align-items:stretch;flex-direction:column}}.studio-canvas-shell{display:flex;flex-direction:column;min-height:100vh;height:100vh;min-height:100dvh;height:100dvh;background:#0c0f15}.studio-canvas-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto auto;align-items:center;gap:14px;padding:12px 18px;border-bottom:1px solid #29303c;background:#141821}.studio-canvas-header>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-save-state{color:#aeb7c7;font-size:12px}.studio-canvas{position:relative;min-width:0;min-height:0}.studio-quick-media-input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.studio-context-menu{position:fixed;z-index:80;display:grid;min-width:176px;gap:4px;padding:8px;border:1px solid #48556a;border-radius:12px;color:#eef1f7;background:#171d27;box-shadow:0 18px 45px #00000073}.studio-context-menu__quick-add,.studio-context-menu__node-actions{display:grid;gap:4px}.studio-context-menu p{margin:2px 6px 5px;color:#abb6c7;font-size:12px}.studio-context-menu button,.studio-selected-node-menu{min-height:40px;padding:0 10px;border:1px solid transparent;border-radius:8px;color:inherit;background:transparent;cursor:pointer;text-align:left}.studio-context-menu button:hover,.studio-context-menu button:focus-visible,.studio-selected-node-menu:hover,.studio-selected-node-menu:focus-visible{border-color:#8074eb;outline:none;background:#292443}.studio-context-menu__delete{color:#ffc3cf!important}.studio-generation-picker{position:fixed;z-index:85;display:grid;width:min(300px,calc(100vw - 24px));box-sizing:border-box;gap:10px;padding:14px;border:1px solid #7465d5;border-radius:13px;color:#f5f3ff;background:#1b1930;box-shadow:0 18px 45px #0000007a}.studio-generation-picker header{display:flex;align-items:center;justify-content:space-between;gap:12px}.studio-generation-picker header button{width:28px;height:28px;padding:0;border:0;border-radius:7px;color:#ddd7ff;background:#2b2848;font-size:18px}.studio-generation-picker p{margin:0;color:#c6c1e3;font-size:12px;line-height:1.5}.studio-generation-picker>div{display:grid;gap:7px}.studio-seedance-composer-overlay{position:absolute;z-index:32;width:min(560px,calc(100% - 24px));pointer-events:auto}.studio-seedance-composer-overlay--floating{pointer-events:none}.studio-seedance-composer-overlay--floating .studio-seedance-composer{pointer-events:auto}.studio-seedance-composer-overlay--node{position:static;width:100%;height:100%;max-height:100%;pointer-events:auto}.studio-seedance-composer-overlay--node .studio-seedance-composer{height:100%;max-height:100%}.studio-seedance-composer-overlay--node .studio-seedance-composer__drag{display:none}.studio-seedance-composer-overlay[data-layout=bottom-sheet]{right:0;bottom:0;left:0;width:100%;max-height:min(56dvh,620px);overflow:auto;border-radius:18px 18px 0 0;box-shadow:0 -18px 42px #0000007a}.studio-node-action-strip{position:absolute;z-index:33;bottom:84px;left:50%;display:flex;max-width:calc(100% - 24px);flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;padding:8px;border:1px solid #3b4352;border-radius:12px;background:#131721f5;box-shadow:0 12px 32px #0006;transform:translate(-50%)}.studio-node-action-strip button{min-height:32px;padding:0 9px;border:1px solid #3d4657;border-radius:7px;color:#e3e6ee;background:#1b202b;cursor:pointer}.studio-node-action-strip button:hover,.studio-node-action-strip button:focus-visible{border-color:#a89cff;outline:none;background:#2b2943}.studio-node-action-strip__targets{position:absolute;bottom:calc(100% + 7px);left:50%;display:grid;min-width:180px;gap:5px;padding:8px;border:1px solid #414a5b;border-radius:10px;background:#171c26;transform:translate(-50%)}.studio-node-action-strip__targets[hidden]{display:none}.studio-node-action-strip__delete{border-color:#854654!important;color:#ffc4cc!important}.studio-seedance-composer{display:grid;gap:10px;box-sizing:border-box;min-width:0;max-height:inherit;overflow:auto;padding:12px;border:1px solid #7668db;border-radius:16px;color:#edf0f8;background:#161a25;box-shadow:0 18px 42px #00000085}.studio-seedance-composer__header,.studio-seedance-composer__footer,.studio-seedance-composer__tag{display:flex;align-items:center;gap:8px}.studio-seedance-composer__header strong{margin-right:auto;color:#d8d3ff;font-size:13px}.studio-seedance-composer__drag{color:#a7afc0;cursor:grab;user-select:none}.studio-seedance-composer__header button,.studio-seedance-composer__tag button,.studio-seedance-composer__footer>button{display:grid;min-width:30px;min-height:30px;padding:0 8px;place-items:center;border:1px solid #434b5d;border-radius:8px;color:#eeeaff;background:#272536;cursor:pointer}.studio-seedance-composer__tags{display:grid;gap:6px}.studio-seedance-composer__empty{color:#9aa4b6;font-size:12px}.studio-seedance-composer__tag{min-width:0;padding:6px;border:1px solid #343b4c;border-radius:10px;background:#10141c}.studio-seedance-composer__tag img,.studio-seedance-composer__mentions img{width:32px;height:32px;border-radius:6px;object-fit:cover}.studio-seedance-composer__tag>span{min-width:0;flex:1 1 auto;overflow:hidden;color:#c7ceda;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.studio-seedance-composer__tag select,.studio-seedance-composer__settings select,.studio-seedance-composer__settings input,.studio-seedance-composer__prompt-label textarea{box-sizing:border-box;min-width:0;border:1px solid #3d4556;border-radius:7px;color:#eef1f7;background:#0d1118;font:inherit}.studio-seedance-composer__tag select{max-width:86px;min-height:30px;padding:0 5px;font-size:11px}.studio-seedance-composer__prompt-label,.studio-seedance-composer__settings label{display:grid;gap:5px;color:#adb5c5;font-size:11px}.studio-seedance-composer__prompt-label textarea{min-height:118px;padding:9px;resize:vertical;line-height:1.55}.studio-seedance-composer__effective-prompt{display:grid;gap:5px;min-width:0;padding:8px;border:1px solid #3d4556;border-radius:8px;background:#0d1118;color:#adb5c5;font-size:11px}.studio-seedance-composer__effective-prompt pre{max-height:130px;margin:0;overflow:auto;color:#eef1f7;font:inherit;line-height:1.55;white-space:pre-wrap;word-break:break-word}.studio-seedance-composer__prompt-tools,.studio-seedance-composer__template-save,.prompt-template-picker__actions{display:flex;flex-wrap:wrap;gap:7px}.studio-seedance-composer__prompt-tools button,.studio-seedance-composer__template-save button,.prompt-template-picker button{min-height:34px;padding:0 10px;border:1px solid #4a5264;border-radius:8px;color:#eeeaff;background:#272536;cursor:pointer}.studio-seedance-composer__prompt-tools button[aria-expanded=true],.prompt-template-picker button[aria-pressed=true]{border-color:#9284fa;background:#3b3469}.studio-seedance-composer__prompt-tools button:disabled,.studio-seedance-composer__template-save button:disabled{cursor:not-allowed;opacity:.45}.studio-seedance-composer__template-save input{min-width:0;min-height:34px;flex:1 1 180px;box-sizing:border-box;padding:0 9px;border:1px solid #3d4556;border-radius:8px;color:#eef1f7;background:#0d1118}.prompt-template-picker{display:grid;gap:8px;padding:10px;border:1px solid #5f56aa;border-radius:11px;background:#111521}.prompt-template-picker>header{display:flex;align-items:center;justify-content:space-between}.prompt-template-picker>header button{width:30px;min-height:30px;padding:0}.prompt-template-picker p{margin:0;color:#aeb7c7;font-size:11px}.prompt-template-picker p[role=alert]{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#ffbdc9}.prompt-template-picker ul{display:grid;max-height:190px;gap:6px;margin:0;padding:0;overflow:auto;list-style:none}.prompt-template-picker li>button{display:grid;width:100%;height:auto;min-height:48px;gap:3px;padding:7px 9px;text-align:left}.prompt-template-picker li span{overflow:hidden;color:#aab3c2;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.prompt-template-picker__actions button:last-child{border-color:#8d7cf6;background:#5d4fc2}.studio-seedance-composer__mentions{display:grid;max-height:180px;gap:5px;overflow:auto;padding:8px;border:1px solid #5d55a7;border-radius:10px;background:#111521}.studio-seedance-composer__mentions h3,.studio-seedance-composer__mentions p{margin:2px 0;color:#b8b1ef;font-size:11px}.studio-seedance-composer__mentions button{display:flex;align-items:center;gap:8px;min-height:40px;border:1px solid transparent;border-radius:8px;color:#edf0f8;background:transparent;cursor:pointer;text-align:left}.studio-seedance-composer__mentions button[aria-selected=true],.studio-seedance-composer__mentions button:hover,.studio-seedance-composer__mentions button:focus-visible{border-color:#8175e5;outline:none;background:#292445}.studio-seedance-composer__settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.studio-seedance-composer__settings select,.studio-seedance-composer__settings input{width:100%;min-height:34px;padding:0 7px}.studio-seedance-composer__check{display:flex!important;align-items:center;gap:6px}.studio-seedance-composer__check input{width:16px;min-height:16px}.studio-seedance-composer__footer{justify-content:space-between;color:#aeb7c7;font-size:11px}.studio-seedance-composer__footer p{margin:0}.studio-seedance-composer__footer>button{min-width:40px;min-height:40px;border-color:#9a8cff;background:#6557c6;font-size:18px}.studio-canvas-corner-actions{position:absolute;z-index:9;top:12px;right:12px;display:grid;justify-items:end;gap:8px;max-width:min(460px,calc(100% - 24px))}.studio-selected-node-menu{position:relative;z-index:auto;top:auto;right:auto;color:#e8ebf1;background:#1b2029;box-shadow:0 8px 20px #0000004d}.studio-group-overlays{position:absolute;inset:0;z-index:4;overflow:hidden;pointer-events:none}.studio-group-overlays__viewport{position:absolute;inset:0;transform-origin:0 0}.studio-group-overlay{position:absolute;box-sizing:border-box;border:2px solid;border-radius:18px;box-shadow:inset 0 0 0 1px #ffffff1f}.studio-group-overlay__header{position:absolute;top:8px;left:8px;transform-origin:0 0;display:flex;align-items:center;width:max-content;pointer-events:auto}.studio-group-overlay__move,.studio-group-overlay__name,.studio-group-overlay__ungroup{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:44px;height:44px;padding:0 10px;border:1px solid #a69cff;border-radius:8px;color:#fff;background:#705ee8;box-shadow:0 4px 14px #281d6852;font-size:12px;font-weight:700;line-height:1.1;white-space:nowrap;user-select:none}.studio-group-overlay__move{max-width:min(280px,calc(100vw - 24px));cursor:grab;touch-action:none}.studio-group-overlay__move>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-group-overlay__actions{position:absolute;left:0;bottom:calc(100% + 8px);display:flex;gap:8px}.studio-group-overlay__move:active{cursor:grabbing}.studio-group-overlay__move[aria-pressed=true]{outline:3px solid rgba(232,228,255,.82);outline-offset:2px}.studio-group-overlay__move:focus-visible,.studio-group-overlay__ungroup:focus-visible,.studio-group-overlay__name:focus-visible,.studio-group-name-dialog button:focus-visible{outline:3px solid #fff;outline-offset:2px}.studio-group-overlay__ungroup,.studio-group-overlay__name{border-color:#8176d1;background:#302a62;cursor:pointer;touch-action:manipulation}.studio-group-overlay__actions button:hover,.studio-group-overlay__actions button:active{background:#463a87}.studio-group-name-dialog{position:fixed;inset:0;box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:24px;overflow:auto;border:1px solid #8176d1;border-radius:16px;color:#fff;background:#1b2029;pointer-events:auto}.studio-group-name-dialog::backdrop{background:#0009}.studio-group-name-dialog h2{margin:0;font-size:18px}.studio-group-name-dialog p{margin:20px 0;font-size:16px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.studio-group-name-dialog button{min-width:64px;min-height:44px;padding:8px 16px;border:1px solid #8176d1;border-radius:8px;color:#fff;background:#302a62;cursor:pointer;touch-action:manipulation}.studio-canvas-workspace{display:grid;grid-template-columns:280px minmax(0,1fr) minmax(320px,380px);min-width:0;min-height:0;flex:1 1 auto}.studio-upload-button{position:relative;display:inline-grid;place-items:center;cursor:pointer}.studio-upload-button input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.studio-touch-notice{display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 18px;border-bottom:1px solid #594a28;color:#f7dca3;background:#28200f;font-size:12px}.studio-touch-notice button,.studio-asset-panel button,.studio-upload-queue button{min-height:28px;padding:0 9px;border:1px solid #3b4352;border-radius:7px;color:#dce1eb;background:#1b2029;cursor:pointer}.studio-asset-panel{display:flex;min-width:0;min-height:0;flex-direction:column;gap:12px;padding:14px;border-right:1px solid #29303c;background:#11151d}.studio-asset-panel nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.studio-asset-panel nav button{min-width:0;padding:0 5px;color:#8f98a8;font-size:11px}.studio-asset-panel nav button[aria-pressed=true]{border-color:#7768e9;color:#fff;background:#2a2450}.studio-asset-panel form{display:grid;grid-template-columns:minmax(0,1fr) 84px;gap:6px}.studio-asset-panel input,.studio-asset-panel select{min-width:0;min-height:34px;padding:0 9px;border:1px solid #323a47;border-radius:8px;outline:none;color:#eef1f6;background:#0d1118}.studio-asset-panel form button{grid-column:1 / -1}.studio-asset-panel__notice{display:grid;gap:8px;margin:0;padding:10px;border:1px solid #663b48;border-radius:9px;color:#ffbcc8;background:#2b1720;font-size:11px}.studio-asset-list{display:grid;min-height:0;align-content:start;gap:7px;margin:0;padding:0;overflow:auto;list-style:none}.studio-asset-list li{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:7px;border:1px solid #2b323e;border-radius:10px;background:#171b24}.studio-asset-list li[draggable=true]{cursor:grab}.studio-asset-list img,.studio-asset-list__audio{width:46px;height:38px;border-radius:7px;object-fit:cover;background:#0d1118}.studio-asset-list__audio{display:grid;place-items:center;color:#a89cff;font-size:20px}.studio-asset-list li>span:nth-child(2){overflow:hidden;color:#dfe3eb;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.studio-asset-list li button{min-height:26px;padding:0 6px;font-size:10px}.production-library-backdrop{position:fixed;z-index:120;inset:0;display:grid;padding:28px;place-items:center;background:#04070cc2;backdrop-filter:blur(8px)}.production-library{display:grid;width:min(1180px,calc(100vw - 56px));max-height:min(850px,calc(100dvh - 56px));grid-template-rows:auto auto auto minmax(0,1fr);gap:14px;box-sizing:border-box;padding:20px;overflow:hidden;border:1px solid #40495a;border-radius:18px;color:#eef1f7;background:#151922;box-shadow:0 28px 90px #00000094}.production-library>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.production-library>header h2,.production-library>header p,.production-library-card p{margin:0}.production-library>header h2{font-size:20px}.production-library>header p{margin-top:5px;color:#9ca6b7;font-size:12px}.production-library>header button{width:40px;min-width:40px;height:40px;border:1px solid #465064;border-radius:10px;color:#eef1f7;background:#202631;cursor:pointer;font-size:22px}.production-library>nav{display:flex;gap:7px;overflow-x:auto}.production-library>nav button,.production-library-card button,.production-library__template-form button,.production-library__search button,.production-library__notice button{min-height:36px;padding:0 12px;border:1px solid #465064;border-radius:9px;color:#e9edf5;background:#202631;cursor:pointer}.production-library>nav button[aria-selected=true]{border-color:#8d7cf6;color:#fff;background:#5d4fc2}.production-library__template-form,.production-library__search{display:grid;grid-template-columns:minmax(180px,.35fr) minmax(280px,1fr) auto;gap:8px}.production-library__template-form input,.production-library__template-form textarea,.production-library__search input{min-width:0;min-height:38px;box-sizing:border-box;padding:8px 10px;border:1px solid #394252;border-radius:9px;outline:none;color:#eef1f7;background:#0e1219;font:inherit}.production-library__template-form textarea{height:38px;resize:vertical}.production-library__notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:10px 12px;border:1px solid #5d55a7;border-radius:10px;color:#dedaff;background:#24203c;font-size:12px}.production-library__notice[role=alert]{border-color:#754454;color:#ffc0cc;background:#2c1820}.production-library__empty{display:grid;min-height:260px;margin:0;place-items:center;color:#909aaa;text-align:center}.production-library__grid{display:grid;min-height:0;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));align-content:start;gap:10px;margin:0;padding:2px;overflow:auto;list-style:none}.production-library-card{display:grid;grid-template-columns:58px minmax(0,1fr);align-content:start;gap:10px;padding:10px;border:1px solid #303847;border-radius:12px;background:#1b202a}.production-library-card--prompt{grid-template-columns:minmax(0,1fr)}.production-library-card img,.production-library-card__media{display:grid;width:58px;height:52px;place-items:center;border-radius:9px;object-fit:cover;color:#d8d2ff;background:#292442;font-weight:750}.production-library-card__body{display:grid;min-width:0;align-content:start;gap:5px}.production-library-card__body strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.production-library-card__body p{display:-webkit-box;overflow:hidden;color:#bbc3d0;font-size:12px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:3}.production-library-card__body small{color:#8792a3}.production-library-card__actions{display:flex;grid-column:1 / -1;flex-wrap:wrap;gap:6px}.production-library-card__actions button:first-child{border-color:#7768e9;color:#f4f1ff;background:#3b326e}.production-library-card__shared-status{display:inline-flex;min-height:36px;align-items:center;padding:0 12px;border:1px solid #3a7964;border-radius:9px;color:#b9f4d6;background:#14362b;font-size:13px}.production-library-card__edit-form{display:grid;gap:8px}.production-library-card__edit-form input,.production-library-card__edit-form textarea{min-width:0;box-sizing:border-box;padding:8px 10px;border:1px solid #465064;border-radius:8px;outline:none;color:#eef1f7;background:#0e1219;font:inherit}.production-library-card__edit-form textarea{min-height:90px;resize:vertical}.production-library-card__edit-form>div{display:flex;flex-wrap:wrap;gap:6px}.studio-generation-history-backdrop{position:fixed;z-index:120;inset:0;display:grid;padding:28px;place-items:center;background:#04070cc2;backdrop-filter:blur(8px)}.studio-generation-history-dialog{display:grid;width:min(1180px,calc(100vw - 56px));min-height:min(520px,calc(100dvh - 56px));max-height:min(850px,calc(100dvh - 56px));grid-template-rows:auto auto minmax(0,1fr);gap:14px;box-sizing:border-box;padding:20px;overflow:hidden;border:1px solid #40495a;border-radius:18px;color:#eef1f7;background:#151922;box-shadow:0 28px 90px #00000094}.studio-generation-history-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.studio-generation-history-dialog h2,.studio-generation-history-dialog p{margin:0}.studio-generation-history-dialog h2{font-size:20px}.studio-generation-history-dialog header p{margin-top:5px;color:#9ca6b7;font-size:12px}.studio-generation-history-dialog header button,.studio-generation-history-dialog li button,.studio-generation-history-empty button{min-height:36px;padding:0 12px;border:1px solid #465064;border-radius:9px;color:#e9edf5;background:#202631;cursor:pointer}.studio-generation-history-dialog header button{width:40px;min-width:40px;height:40px;padding:0;font-size:22px}.studio-generation-history-summary{display:flex;flex-wrap:wrap;gap:8px 18px;color:#bbc4d3;font-size:12px}.studio-generation-history-empty{display:grid;min-height:260px;gap:12px;place-content:center;color:#909aaa;text-align:center}.studio-generation-history-grid{display:grid;min-height:0;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));align-content:start;gap:12px;margin:0;padding:2px;overflow:auto;list-style:none}.studio-generation-history-grid li{display:grid;gap:8px;padding:10px;border:1px solid #303847;border-radius:12px;background:#1b202a}.studio-generation-history-grid video{width:100%;max-height:190px;border-radius:9px;background:#0a0d12}.studio-generation-history-grid small{color:#8792a3}.studio-generation-history-grid li button{justify-self:start;border-color:#7768e9;background:#3b326e}@media(max-width:700px){.production-library-backdrop{padding:0;place-items:stretch}.production-library{width:100vw;max-height:100dvh;min-height:100dvh;padding:14px;border:0;border-radius:0}.production-library__template-form,.production-library__search{grid-template-columns:minmax(0,1fr)}.production-library__template-form textarea{height:72px}.production-library__grid{grid-template-columns:minmax(0,1fr)}.studio-generation-history-backdrop{padding:0;place-items:stretch}.studio-generation-history-dialog{width:100vw;min-height:100dvh;max-height:100dvh;padding:14px;border:0;border-radius:0}.studio-generation-history-grid{grid-template-columns:minmax(0,1fr)}}.studio-canvas--drop-active{box-shadow:inset 0 0 0 2px #8273f1}.studio-drop-zone{position:absolute;inset:18px;z-index:20;display:grid;place-items:center;border:2px dashed #8e80f5;border-radius:18px;color:#ece9ff;background:#231d40b8;font-size:16px;font-weight:750;pointer-events:none}.studio-upload-queue{position:absolute;top:18px;right:18px;z-index:15;display:grid;width:min(340px,calc(100% - 36px));max-height:min(320px,calc(100% - 36px));grid-template-rows:auto minmax(0,1fr);padding:12px;overflow:hidden;border:1px solid #353d4b;border-radius:13px;background:#12161ef5;box-shadow:0 18px 50px #0006}.studio-upload-queue--passive{pointer-events:none}.studio-upload-queue>strong{font-size:12px}.studio-upload-queue ol{display:grid;min-height:0;gap:8px;margin:9px 0 0;padding:0;overflow-y:auto;list-style:none}.studio-upload-queue li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px}.studio-upload-queue li>span{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.studio-upload-queue small{color:#9099aa;font-size:10px}.studio-upload-queue progress{width:100%;grid-column:1;accent-color:#8171ef}.studio-upload-queue li button{grid-column:2;grid-row:2 / span 2}.asset-node{--asset-node-accent: #58a6ff;display:flex;width:100%;height:100%;box-sizing:border-box;flex-direction:column;gap:9px;padding:10px;overflow:hidden;border:1px solid color-mix(in srgb,var(--asset-node-accent),transparent 42%);border-radius:13px;color:#f4f6fa;background:#171b24;box-shadow:0 12px 28px #00000052}.asset-node--video{--asset-node-accent: #a58cff}.asset-node--audio{--asset-node-accent: #48d5b1}.asset-node--text{--asset-node-accent: #f0c15d}.asset-node--selected{box-shadow:0 0 0 2px #8a7cff,0 12px 28px #00000052}.asset-node header{display:flex;align-items:center;gap:8px;min-width:0}.asset-node header span{color:var(--asset-node-accent);font-size:10px;font-weight:800;text-transform:uppercase}.asset-node header strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.asset-node img,.asset-node video{width:100%;min-height:0;flex:1 1 auto;border-radius:8px;object-fit:contain;background:#0d1118}.asset-node audio{width:100%;margin:auto 0}.asset-node p{margin:0;overflow:auto;color:#c6ccd7;line-height:1.5;white-space:pre-wrap}.studio-sidebar-toggle{display:none}.asset-node__text-editor{width:100%;min-height:0;flex:1 1 auto;box-sizing:border-box;resize:none;padding:8px;border:1px solid #66562a;border-radius:8px;color:#f4f0df;background:#14130d;font:inherit;line-height:1.5}.asset-node__text-editor:focus{outline:2px solid #f0c15d;outline-offset:1px}.asset-node__status{display:grid;min-height:0;flex:1 1 auto;place-items:center;padding:10px;border:1px dashed #46505f;border-radius:8px;color:#aab2bf;background:#11151c;text-align:center;font-size:10px}.seedance-node{--node-accent: #a58cff;display:flex;width:100%;height:100%;box-sizing:border-box;flex-direction:column;gap:10px;padding:13px;overflow:hidden;border:1px solid #6f61c6;border-radius:14px;color:#f5f3ff;background:linear-gradient(145deg,#211d38,#171824);box-shadow:0 12px 28px #00000057}.seedance-node--selected{box-shadow:0 0 0 2px #a89cff,0 12px 28px #00000057}.seedance-node header,.seedance-node footer,.seedance-node__references{display:flex;align-items:center;justify-content:space-between;gap:8px}.seedance-node header>span,.seedance-node>small{color:#bdb5f8}.seedance-node header strong{padding:3px 7px;border-radius:999px;font-size:9px;text-transform:uppercase}.seedance-node__ready{color:#8ee9c2;background:#17352b}.seedance-node__error{color:#ffb6c3;background:#401f29}.seedance-node p{margin:0;overflow:hidden;color:#d6d2e6;line-height:1.55;text-overflow:ellipsis}.seedance-node__references,.seedance-node footer{color:#9fa6b5;font-size:10px}.node-inspector{min-width:0;min-height:0;padding:14px;overflow:auto;border-left:1px solid #29303c;color:#e9edf4;background:#11151d}.node-inspector--empty{display:grid;place-items:center;color:#8f98a8;text-align:center;font-size:12px;line-height:1.6}.node-inspector>header,.reference-panel>header,.request-preview>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.node-inspector h3,.reference-panel h3,.request-preview h3{margin:0;font-size:13px}.node-inspector__settings,.reference-panel,.request-preview{display:grid;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid #29303c}.node-inspector label,.reference-panel label{display:grid;gap:5px;color:#9ea7b7;font-size:10px}.node-inspector input,.node-inspector select,.node-inspector textarea,.reference-panel select,.reference-panel textarea{min-width:0;box-sizing:border-box;border:1px solid #343c49;border-radius:7px;outline:none;color:#eef1f6;background:#0d1118;font:inherit}.node-inspector input,.node-inspector select,.reference-panel select{min-height:32px;padding:0 8px}.node-inspector textarea,.reference-panel textarea{padding:8px;resize:vertical}.node-inspector__prompt{min-height:150px}.node-inspector__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px}.node-inspector__check{display:flex!important;align-items:center}.reference-panel__helpers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.reference-panel button,.request-preview button{min-height:30px;padding:5px 8px;border:1px solid #3e4655;border-radius:7px;color:#dce1eb;background:#1b2029;cursor:pointer;font-size:10px}.reference-panel button:disabled{opacity:.45;cursor:not-allowed}.reference-panel__list,.request-preview__references{display:grid;gap:8px;margin:0;padding:0;list-style:none}.reference-panel__list>li{display:grid;grid-template-columns:16px 48px minmax(0,1fr);gap:7px;padding:8px;border:1px solid #2e3541;border-radius:9px;background:#171b24}.reference-panel__list>li.reference-panel__invalid{border-color:#804252;background:#2c1821}.reference-panel__handle{align-self:center;color:#7f8999;cursor:grab}.reference-panel__list img,.reference-panel__audio{width:48px;height:42px;border-radius:7px;object-fit:cover;background:#0d1118}.reference-panel__invalid-thumbnail{display:grid;width:48px;height:42px;place-items:center;border-radius:7px;color:#ffb6c3;background:#401f29;font-size:9px;text-align:center}.reference-panel__audio{display:grid;place-items:center;color:#8ee9c2;font-size:20px}.reference-panel__fields{display:grid;gap:6px;min-width:0}.reference-panel__fields small{overflow:hidden;color:#8791a2;text-overflow:ellipsis;white-space:nowrap}.reference-panel__fields p{margin:0;color:#ffb6c3;font-size:10px;line-height:1.45}.reference-panel__proposal{display:grid;gap:6px;padding:10px;border:1px solid #675aab;border-radius:9px;background:#211d38}.reference-panel__proposal p,.reference-panel__proposal pre,.request-preview pre{margin:0}.reference-panel__proposal pre,.request-preview pre{padding:8px;overflow:auto;border-radius:7px;color:#dcd8ee;background:#0d1118;font:inherit;white-space:pre-wrap}.request-status{padding:3px 7px;border-radius:999px;font-size:9px;text-transform:uppercase}.request-status--ready{color:#8ee9c2;background:#17352b}.request-status--error{color:#ffb6c3;background:#401f29}.request-preview__prompt{display:grid;gap:6px}.request-preview__references li{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px;padding:8px;border-radius:9px;background:#171b24}.request-preview__references img,.request-preview__audio{width:52px;height:44px;border-radius:7px;object-fit:cover;background:#0d1118}.request-preview__audio{display:grid;place-items:center}.request-preview__references li>div{display:grid;gap:3px;min-width:0}.request-preview__references span,.request-preview__references small{overflow:hidden;color:#9099aa;text-overflow:ellipsis;white-space:nowrap}.request-preview__references p{margin:0;color:#cbd1dc}.request-preview__parameters{display:grid;gap:4px;margin:0}.request-preview__parameters div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;font-size:10px}.request-preview__parameters dd{margin:0;color:#dfe3eb}.request-preview__parameters dt{color:#8f98a8}.request-preview__messages{display:grid;gap:4px;margin:0;padding:8px 8px 8px 24px;border-radius:8px;font-size:10px}.request-preview__messages--error{color:#ffb6c3;background:#321923}.request-preview__messages--warning{color:#f4d38d;background:#2d2515}.studio-conflict{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 18px;border-bottom:1px solid #775e2c;color:#ffe1a5;background:#332713;font-size:13px}.studio-conflict button,.studio-retry{min-height:34px;border:1px solid #62542d;border-radius:8px;color:inherit;background:#221b0d;cursor:pointer}.studio-retry{justify-self:start;margin:10px 18px;padding:0 12px}.studio-load-state{display:grid;min-height:100vh;place-content:center;gap:16px;padding:24px;text-align:center}@media(max-width:700px){.studio-canvas-header{grid-template-columns:auto minmax(0,1fr) auto auto;padding:10px 12px}.studio-save-state{grid-column:1 / -1;grid-row:2}.studio-canvas-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:190px minmax(0,1fr) minmax(260px,45vh)}.studio-asset-panel{border-right:0;border-bottom:1px solid #29303c}.node-inspector{border-top:1px solid #29303c;border-left:0}.studio-asset-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:701px)and (max-width:1180px){.studio-canvas-workspace{grid-template-columns:240px minmax(0,1fr)}.node-inspector{position:absolute;top:66px;right:0;bottom:0;z-index:25;width:min(380px,42vw);box-sizing:border-box;box-shadow:-18px 0 42px #00000052}}@media(max-width:1180px){.foundation-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1024px){.foundation-shell{grid-template-columns:minmax(0,1fr)}.foundation-sidebar{position:fixed;left:0;width:min(310px,calc(100vw - 54px));transform:translate(-105%);visibility:hidden;box-shadow:22px 0 60px #0000006b;transition:transform .18s ease,visibility 0s linear .18s}.foundation-sidebar--open{transform:translate(0);visibility:visible;transition-delay:0s}.foundation-header{grid-template-columns:auto minmax(0,1fr) auto}.foundation-sidebar-toggle{display:grid}.foundation-sidebar-close{position:absolute;top:18px;right:18px;display:grid;z-index:2}.foundation-sidebar__brand{padding-right:48px}.foundation-sidebar-backdrop{position:fixed;inset:0;z-index:29;display:block;min-height:100vh;min-height:100dvh;padding:0;border:0;background:#0305098f;backdrop-filter:blur(2px)}.foundation-create-form{grid-template-columns:minmax(0,1fr) minmax(180px,.7fr)}.foundation-create-form .foundation-button{grid-column:1 / -1}}@media(max-width:640px){.foundation-content{padding:18px 14px max(22px,env(safe-area-inset-bottom))}.foundation-header{gap:10px;margin-bottom:20px}.foundation-header h1{font-size:26px}.foundation-header .foundation-eyebrow{display:none}.foundation-header .foundation-button{width:44px;overflow:hidden;padding:0;color:transparent}.foundation-header .foundation-button:after{content:"↪";color:#f7f8fc;font-size:18px}.foundation-create-panel{padding:18px;border-radius:17px}.foundation-create-form{grid-template-columns:minmax(0,1fr);margin-top:18px}.foundation-create-form .foundation-button{grid-column:auto}.foundation-section-heading{align-items:center}.foundation-project-grid{grid-template-columns:minmax(0,1fr)}.foundation-project-card{grid-template-columns:58px minmax(0,1fr) auto;min-height:86px;padding:12px}.foundation-project-card__visual{width:58px;height:48px}.foundation-placeholder{padding:14px 14px max(20px,env(safe-area-inset-bottom))}.foundation-placeholder__header{align-items:stretch}.foundation-placeholder__header .foundation-button{padding:0 12px}}@media(prefers-reduced-motion:reduce){.foundation-button,.foundation-project-card,.foundation-sidebar{transition:none}.foundation-spinner{animation-duration:1.6s}}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.studio-toolbar__history,.studio-toolbar__search{min-width:0}.studio-toolbar__history{display:flex;gap:6px}.studio-toolbar__search input{width:150px;min-height:40px;padding:0 10px;border:1px solid #343c49;border-radius:10px;color:#eef1f6;background:#0d1118}.studio-toolbar__phone-preview,.studio-toolbar__phone-create,.studio-toolbar__tablet-drawer,.studio-toolbar__tablet-create,.studio-toolbar__bulk-select,.mobile-node-list{display:none}.studio-selection-toolbar{position:absolute;z-index:40;bottom:84px;left:50%;display:flex;max-width:calc(100vw - 32px);align-items:center;gap:6px;padding:8px;overflow-x:auto;transform:translate(-50%);border:1px solid #384152;border-radius:12px;color:#b8c0ce;background:#11151df2;box-shadow:0 14px 32px #00000059;font-size:11px}.studio-selection-toolbar button{min-height:32px;padding:0 9px;border:1px solid #3a4351;border-radius:7px;color:#e8ebf1;background:#1b2029;cursor:pointer;white-space:nowrap}.studio-selection-toolbar button:disabled{cursor:not-allowed;opacity:.45}.studio-selection-toolbar__delete{border-color:#864052!important;color:#ffc3cf!important}.studio-selection-toolbar__bulk-hint{color:#b9f6ff;font-weight:650;white-space:nowrap}.studio-selection-toolbar select{min-height:32px;max-width:150px;border:1px solid #3a4351;border-radius:7px;color:#e8ebf1;background:#1b2029}.studio-canvas-shell--bulk-selecting .studio-selection-toolbar,.studio-canvas-shell--bulk-selecting .studio-toolbar__bulk-select{border-color:#57d6eb;box-shadow:0 0 0 1px #57d6eb52,0 0 20px #4da2ff2e}.studio-canvas-shell--composer-open .studio-canvas-corner-actions{visibility:hidden;pointer-events:none}.studio-batch-connection-preview{position:absolute;z-index:10;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.studio-batch-connection-preview path{fill:none;stroke:#66e8ff;stroke-width:3.5;stroke-linecap:round;filter:drop-shadow(0 0 6px rgba(102,232,255,.88))}.studio-toolbar__upload-visibility{display:inline-flex;align-items:center}.studio-toolbar__upload-visibility select{min-height:38px;max-width:144px;padding:0 28px 0 10px;border:1px solid #343c49;border-radius:10px;color:#dfe5f1;background:#121722;font:inherit}.studio-prompt-template-controls{display:grid;gap:7px;padding:8px;border:1px solid #3d475a;border-radius:9px;background:#11161fc2}.studio-prompt-template-controls__row,.studio-prompt-template-controls__form{display:flex;align-items:end;gap:7px;flex-wrap:wrap}.studio-prompt-template-controls label{display:grid;min-width:150px;flex:1 1 150px;gap:4px;color:#bcc6d7;font-size:11px}.studio-prompt-template-controls select,.studio-prompt-template-controls input{min-width:0;min-height:32px;padding:0 8px;color:#eef2f9;border:1px solid #445064;border-radius:7px;background:#131923}.studio-prompt-template-controls button{min-height:32px;padding:0 9px;color:#e6e9f2;border:1px solid #4c5870;border-radius:7px;background:#292f3c;cursor:pointer}.studio-prompt-template-controls button:disabled{cursor:not-allowed;opacity:.5}.studio-prompt-template-controls output{color:#aee8c3;font-size:11px}.studio-asset-library-backdrop{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:24px;background:#04070db8;backdrop-filter:blur(4px)}.studio-asset-library-dialog{display:flex;width:min(1180px,100%);max-height:min(780px,calc(100dvh - 48px));min-height:min(520px,calc(100dvh - 48px));flex-direction:column;overflow:hidden;color:#edf1f8;border:1px solid #3f495c;border-radius:18px;background:#181c24;box-shadow:0 28px 80px #0000008a}.studio-asset-library-dialog__header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 14px;border-bottom:1px solid #323a47}.studio-asset-library-dialog__header h2{margin:0;font-size:19px}.studio-asset-library-dialog__header p{margin:7px 0 0;color:#98a4b7;font-size:13px}.studio-asset-library-dialog__header>button{display:grid;width:34px;min-width:34px;height:34px;place-items:center;padding:0;color:#e8edf7;border:1px solid #465166;border-radius:9px;background:#242a35;cursor:pointer}.studio-asset-library-dialog__tabs,.studio-asset-library-dialog__kind{display:flex;gap:8px;padding:14px 22px 0;overflow-x:auto}.studio-asset-library-dialog__tabs button,.studio-asset-library-dialog__kind button,.studio-asset-library-dialog__search button,.studio-asset-library-dialog__more,.studio-asset-library-card button,.studio-prompt-template-card button,.studio-asset-library-dialog__notice button{min-height:34px;padding:0 11px;color:#dce3f0;border:1px solid #465166;border-radius:9px;background:#242a35;cursor:pointer}.studio-asset-library-dialog__tabs button[aria-selected=true],.studio-asset-library-dialog__kind button[aria-pressed=true]{color:#fff;border-color:#8976ff;background:#4a3cb0}.studio-asset-library-dialog__search{display:grid;grid-template-columns:minmax(0,360px) auto;gap:8px;padding:14px 22px 0}.studio-asset-library-dialog__search input{min-width:0;height:36px;padding:0 11px;color:#eef2fa;border:1px solid #3c4658;border-radius:9px;outline:none;background:#10141b}.studio-asset-library-dialog__content{display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));align-content:start;gap:14px;min-height:0;margin-top:14px;padding:18px 22px 24px;overflow:auto;border-top:1px solid #2d3543}.studio-asset-library-card,.studio-prompt-template-card{display:flex;min-width:0;min-height:200px;flex-direction:column;gap:8px;padding:10px;border:1px solid #394354;border-radius:12px;background:#202631}.studio-asset-library-card[draggable=true]{cursor:grab}.studio-asset-library-card img,.studio-asset-library-card__audio{width:100%;height:132px;border-radius:8px;object-fit:cover;background:#0e131a}.studio-asset-library-card__audio{display:grid;place-items:center;color:#a99bff;font-size:42px}.studio-asset-library-card strong,.studio-prompt-template-card strong{overflow:hidden;color:#f3f5fa;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.studio-asset-library-card span,.studio-asset-library-card time,.studio-prompt-template-card header span{color:#97a2b4;font-size:11px}.studio-prompt-template-card{min-height:150px}.studio-prompt-template-card header{display:flex;justify-content:space-between;gap:8px}.studio-prompt-template-card p{display:-webkit-box;margin:0;overflow:hidden;color:#c9d1df;font-size:12px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:4}.studio-prompt-template-card button{margin-top:auto}.studio-asset-library-card button+button{color:#ffc8d2;border-color:#86465a;background:#3b202b}.studio-asset-library-dialog__empty{grid-column:1 / -1;margin:70px 0;color:#8f99a9;text-align:center}.studio-asset-library-dialog__notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 22px 0;padding:10px 12px;color:#ffc4ce;border:1px solid #784453;border-radius:9px;background:#321c25}.studio-asset-library-dialog__more{align-self:center;margin:0 0 18px}@media(max-width:699px){.studio-asset-library-backdrop{align-items:end;padding:0}.studio-asset-library-dialog{width:100%;min-height:min(560px,92dvh);max-height:92dvh;border-right:0;border-bottom:0;border-left:0;border-radius:18px 18px 0 0}.studio-asset-library-dialog__header{padding:16px}.studio-asset-library-dialog__tabs,.studio-asset-library-dialog__kind,.studio-asset-library-dialog__search{padding-right:16px;padding-left:16px}.studio-asset-library-dialog__search{grid-template-columns:minmax(0,1fr) auto}.studio-asset-library-dialog__content{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px}}.studio-selection-connector{position:absolute;z-index:18;pointer-events:none}.studio-selection-connector__bounds{position:absolute;inset:0;border:1px dashed rgba(116,98,239,.92);border-radius:12px;box-shadow:0 0 0 1px #57d6eb24,0 0 22px #5285ff29}.studio-selection-connector__outlet{position:absolute;display:grid;width:32px;height:32px;min-width:32px;min-height:32px;place-items:center;transform:translate(-50%,-50%);border:1px solid #78edff;border-radius:999px;color:#e8fdff;background:#182d42;box-shadow:0 0 0 3px #08101ae0,0 0 17px #56dcffc2;cursor:crosshair;pointer-events:auto}.studio-selection-connector__outlet:hover,.studio-selection-connector__outlet:focus-visible{border-color:#fff;background:#20506b;outline:2px solid #f0c15d;outline-offset:3px}.studio-tool-rail-wrap{position:absolute;z-index:50;left:50%;bottom:18px;transform:translate(-50%)}.studio-canvas-tool-rail{display:flex;align-items:center;gap:4px;padding:7px;border:1px solid #394150;border-radius:14px;background:#1b1f27f5;box-shadow:0 12px 32px #00000057}.studio-canvas-tool-rail button{display:grid;place-items:center;width:36px;height:36px;padding:0;color:#dce2ec;border:0;border-radius:9px;background:transparent;cursor:pointer}.studio-canvas-tool-rail button:hover,.studio-canvas-tool-rail button:focus-visible,.studio-canvas-tool-rail button[aria-pressed=true]{color:#fff;background:#4d3bb8;outline:2px solid #9b8eff;outline-offset:2px}.studio-canvas-tool-rail button:disabled{color:#6f7786;cursor:not-allowed}.studio-tool-rail-popover{position:absolute;left:50%;bottom:62px;width:max-content;max-width:min(360px,calc(100vw - 32px));padding:18px;color:#edf1f8;border:1px solid #3c4555;border-radius:14px;background:#252a33;box-shadow:0 18px 46px #0000006b;transform:translate(-50%)}.studio-tool-rail-popover p{margin:0 0 10px;color:#b7c0cf;font-size:13px}.studio-tool-rail-popover button{margin:3px;padding:8px 10px;color:#eef2f8;border:1px solid #4a5568;border-radius:8px;background:#303846;cursor:pointer}.studio-tool-rail-popover button:hover,.studio-tool-rail-popover button:focus-visible{border-color:#8a7cff;outline:2px solid #9b8eff}.studio-tool-rail-popover__close{position:absolute;top:6px;right:6px;width:28px;height:28px;padding:0!important}.studio-tool-rail-menu{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:4px}.studio-tool-rail-menu--toolbox{grid-template-columns:minmax(0,1fr)}.studio-tool-rail-workflow-select{display:grid;gap:5px;margin:3px;color:#c9d1df;font-size:12px}.studio-tool-rail-workflow-select select{min-width:220px;padding:7px 9px;color:#edf1f8;border:1px solid #4a5568;border-radius:8px;background:#202632}.studio-tool-rail-popover dl{display:grid;grid-template-columns:auto auto;gap:6px 14px;margin:0;font-size:13px}.studio-tool-rail-popover dt{color:#9b8eff}.studio-tool-rail-popover dd{margin:0}@media(max-width:1099px){.studio-tool-rail-wrap{display:none}}@media(prefers-reduced-motion:reduce){.studio-tool-rail-wrap,.studio-tool-rail-popover{transition:none}}@media(pointer:coarse){.studio-selection-connector__outlet{width:44px;height:44px;min-width:44px;min-height:44px}}.studio-canvas-shell--connecting .studio-batch-connection-preview path{animation:studio-connection-pulse .9s ease-in-out infinite alternate}@keyframes studio-connection-pulse{0%{opacity:.7}to{opacity:1}}@media(prefers-reduced-motion:reduce){.studio-canvas-shell--connecting .studio-batch-connection-preview path{animation:none}}.studio-batch-connection-hint{position:absolute;z-index:35;top:14px;left:50%;max-width:calc(100% - 32px);padding:8px 12px;transform:translate(-50%);border:1px solid rgba(102,232,255,.72);border-radius:10px;color:#cffbff;background:#0c2630f0;box-shadow:0 0 18px #66e8ff33;font-size:12px;font-weight:700;pointer-events:none}.studio-canvas-shell--connecting .studio-canvas-corner-actions,.studio-canvas-shell--connecting .studio-selection-toolbar,.studio-canvas-shell--connecting .studio-seedance-composer-overlay{pointer-events:none;opacity:.3}.studio-canvas .react-flow__minimap{right:14px;bottom:14px}.studio-flow-node--collapsed .asset-node,.studio-flow-node--collapsed .seedance-node{height:52px!important;min-height:52px;padding-top:10px;padding-bottom:10px}.studio-flow-node--collapsed .asset-node>:not(header),.studio-flow-node--collapsed .seedance-node>:not(header){display:none}.studio-flow-node--collapsed .asset-node header:after,.studio-flow-node--collapsed .seedance-node header:after{margin-left:auto;color:#aeb7c7;content:"Folded — select and Unfold";font-size:9px}@media(min-width:1100px){.studio-upload-queue{box-sizing:border-box;max-height:min(320px,calc(100% - 318px))}.studio-canvas-header{display:flex;flex-wrap:wrap;gap:8px 10px}.studio-canvas-header>strong{flex:1 1 180px;min-width:0}.studio-toolbar__history{display:flex;gap:6px}.studio-toolbar__search{flex:1 1 160px;max-width:260px}.studio-toolbar__search input{width:100%}.studio-canvas-header>button,.studio-canvas-header>label{white-space:nowrap}.studio-canvas-workspace{grid-template-columns:280px minmax(0,1fr) minmax(320px,380px);position:relative}.studio-canvas-shell--assets-collapsed .studio-canvas-workspace{grid-template-columns:minmax(0,1fr) minmax(320px,380px)}.studio-canvas-shell--assets-collapsed .studio-asset-panel{display:none}.studio-canvas-shell--inspector-collapsed .studio-canvas-workspace{grid-template-columns:280px minmax(0,1fr)}.studio-canvas-shell--inspector-collapsed .node-inspector{display:none}.studio-canvas-shell--assets-collapsed.studio-canvas-shell--inspector-collapsed .studio-canvas-workspace{grid-template-columns:minmax(0,1fr)}.studio-sidebar-toggle{position:absolute;z-index:12;top:50%;display:grid;width:44px;min-width:44px;height:44px;min-height:44px;place-items:center;border:1px solid #4a5568;border-radius:10px;color:#f4f7fb;background:#1b2029;cursor:pointer;transform:translateY(-50%)}.studio-sidebar-toggle--assets{left:268px}.studio-sidebar-toggle--inspector{right:368px}.studio-canvas-shell--assets-collapsed .studio-sidebar-toggle--assets{left:8px}.studio-canvas-shell--inspector-collapsed .studio-sidebar-toggle--inspector{right:8px}.studio-asset-panel,.node-inspector{position:static;width:auto;transform:none;box-shadow:none}.studio-selection-toolbar{bottom:220px;left:calc(50% - 50px);width:min(760px,calc(100% - 700px));max-width:calc(100% - 32px);transform:translate(-50%)}}@media(min-width:1100px)and (max-height:600px){.studio-canvas .react-flow__minimap-svg{width:144px;height:108px}.studio-upload-queue{max-height:min(160px,calc(100% - 190px))}.studio-selection-toolbar{bottom:84px}.studio-canvas .react-flow__minimap{inset:14px auto auto 14px}}@media(min-width:1100px)and (max-height:420px){.studio-upload-queue{max-height:min(140px,calc(100% - 99px))}.studio-selection-toolbar{bottom:6px;left:294px;width:250px;transform:none}.studio-canvas-shell--assets-collapsed .studio-selection-toolbar{left:14px}.studio-selection-toolbar>span{flex:0 0 auto;white-space:nowrap}.studio-tool-rail-wrap{right:14px;left:auto;transform:none}}@media(min-width:700px)and (max-width:1099px){.studio-canvas-header{grid-template-columns:auto minmax(0,1fr) auto auto auto auto}.studio-toolbar__search{grid-column:2 / span 2;grid-row:2}.studio-toolbar__search input{width:100%}.studio-toolbar__desktop-action,.studio-toolbar__account{display:none}.studio-canvas-workspace{grid-template-columns:minmax(0,1fr)}.studio-asset-panel,.node-inspector{position:absolute;z-index:25;top:66px;bottom:0;width:min(360px,48vw);box-shadow:12px 0 36px #00000057}.studio-asset-panel{left:0;transform:translate(-108%);transition:transform .16s ease}.node-inspector{right:0;border-left:1px solid #29303c;transform:translate(108%);transition:transform .16s ease}.studio-canvas-shell--drawer-assets .studio-asset-panel,.studio-canvas-shell--drawer-inspector .node-inspector{transform:translate(0)}.studio-toolbar__tablet-drawer,.studio-toolbar__tablet-create,.studio-toolbar__bulk-select{display:inline-flex}.studio-sidebar-toggle{display:none}}@media(max-width:699px){.studio-canvas-shell{min-height:100dvh;height:auto}.studio-canvas-header{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;padding:10px 12px}.studio-save-state,.studio-toolbar__history,.studio-toolbar__search,.studio-toolbar__desktop-action,.studio-toolbar__tablet-drawer,.studio-toolbar__tablet-create,.studio-toolbar__account,.studio-canvas-header>button:not(.studio-toolbar__phone-preview):not(.studio-toolbar__bulk-select):not(.studio-toolbar__library),.studio-asset-panel,.node-inspector,.studio-selection-toolbar{display:none}.studio-canvas-shell--bulk-selecting .studio-selection-toolbar{position:fixed;z-index:80;right:8px;bottom:8px;left:8px;display:flex;max-width:none;transform:none}.studio-toolbar__bulk-select{display:inline-flex}.studio-toolbar__phone-create{position:fixed;z-index:82;bottom:max(12px,env(safe-area-inset-bottom));left:50%;display:flex;gap:6px;padding:6px;transform:translate(-50%);border:1px solid #384152;border-radius:14px;background:#11151df5;box-shadow:0 14px 32px #0000006b}.studio-toolbar__phone-create button{min-height:44px;padding:0 12px;border:1px solid #4a5261;border-radius:10px;color:#f4f2ff;background:#5f50d8}.studio-toolbar__phone-create button:disabled{opacity:.48}.studio-canvas-shell--bulk-selecting .react-flow__node{pointer-events:auto}.studio-canvas-workspace{display:block;position:relative;flex:1 1 auto;min-height:560px}.mobile-node-list{display:grid;gap:12px;padding:14px;color:#e7ebf2}.mobile-node-list>header{display:flex;justify-content:space-between;color:#bfc6d3}.mobile-node-list__items{display:grid;gap:7px;max-height:34vh;overflow:auto}.mobile-node-list__items button{display:grid;gap:3px;min-height:52px;padding:9px 10px;border:1px solid #303845;border-radius:10px;color:#e7ebf2;background:#171b24;text-align:left}.mobile-node-list__items button[aria-pressed=true]{border-color:#897bf3;background:#24203a}.mobile-node-list small{color:#929cad}.mobile-node-list label{display:grid;gap:6px;color:#b7c0cf;font-size:12px}.mobile-node-list textarea{width:100%;min-height:42px;padding:9px;border:1px solid #384150;border-radius:8px;color:#eef1f6;background:#0d1118}.mobile-node-list textarea{min-height:110px;resize:vertical}.studio-canvas{display:block;height:min(54dvh,480px)}.studio-canvas-shell--phone-preview .mobile-node-list{display:none}.studio-seedance-composer-overlay[data-layout=bottom-sheet]{position:fixed;z-index:70;max-height:min(62dvh,620px)}.studio-seedance-composer-overlay[data-layout=bottom-sheet] .studio-seedance-composer{border-radius:18px 18px 0 0}.studio-seedance-composer-overlay[data-layout=bottom-sheet] .studio-seedance-composer button,.studio-seedance-composer-overlay[data-layout=bottom-sheet] .studio-seedance-composer select,.studio-seedance-composer-overlay[data-layout=bottom-sheet] .studio-seedance-composer input{min-height:44px}.studio-canvas .react-flow__minimap,.react-flow__handle{display:none}.react-flow__node{pointer-events:none}}.topbar{position:relative;z-index:10;display:grid;grid-template-columns:minmax(250px,1fr) auto minmax(250px,1fr);align-items:center;gap:22px;padding:0 22px;border-bottom:1px solid #242a35;background:#0e1118f0;backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:11px;min-width:0}.brand__mark{display:grid;width:34px;height:34px;place-items:center;flex:0 0 auto;border-radius:11px;background:linear-gradient(140deg,#8a7cff,#6652e8);box-shadow:0 8px 22px #6652e859;font-weight:800}.brand div{display:grid;gap:2px;min-width:0}.brand strong{overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.brand small,.node-palette small{color:#858e9f;font-size:11px}.canvas-stats{display:flex;gap:8px;color:#9098a7;font-size:12px}.canvas-stats span{display:flex;align-items:baseline;gap:8px;padding:7px 11px;border:1px solid #2a303b;border-radius:10px;background:#141821}.canvas-stats output{color:#f7f8fc;font-weight:750;font-variant-numeric:tabular-nums}.topbar__actions{display:flex;justify-content:flex-end;gap:8px}.button{min-height:40px;padding:0 15px;border:1px solid transparent;border-radius:11px;color:#f7f8fc;cursor:pointer;font-size:13px;font-weight:650}.button:focus-visible,.palette-item:focus-visible{outline:2px solid #8a7cff;outline-offset:2px}.button--ghost{border-color:#303744;background:#171b24}.button--primary{background:#7462ef;box-shadow:0 8px 20px #7462ef42}.workspace{display:grid;grid-template-columns:180px minmax(0,1fr);min-height:0}.node-palette{position:relative;z-index:3;display:flex;flex-direction:column;gap:5px;padding:18px 12px;border-right:1px solid #242a35;background:#10141b}.node-palette__eyebrow{margin:0 8px 7px;color:#727b8c;font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.palette-item{display:flex;min-height:38px;align-items:center;gap:9px;padding:0 9px;border:0;border-radius:9px;color:#bfc5d0;background:transparent;cursor:pointer;text-align:left;font-size:12px}.palette-item:hover{color:#fff;background:#1a1f29}.palette-item span{width:8px;height:8px;flex:0 0 auto;border-radius:3px;box-shadow:0 0 12px currentColor}.node-palette__note{display:grid;gap:7px;margin-top:auto;padding:12px;border:1px solid #2a303c;border-radius:12px;background:linear-gradient(145deg,#181d27,#12161e)}.node-palette__note strong{font-size:11px}.node-palette__note small{line-height:1.55}.canvas-panel{position:relative;min-width:0;min-height:0;background:#0c0f15;touch-action:none}.react-flow__renderer{cursor:grab}.react-flow__node{font-size:12px}.react-flow__node.selected{box-shadow:0 0 0 2px #8a7cff}.media-node{--node-accent: #31a8ff;display:grid;width:190px;min-height:118px;gap:9px;padding:12px;border:1px solid color-mix(in srgb,var(--node-accent),transparent 42%);border-radius:14px;background:#171b24;box-shadow:0 12px 28px #00000052}.media-node--selected{box-shadow:0 0 0 2px #8a7cff,0 12px 28px #00000052}.media-node__header{display:flex;align-items:center;justify-content:space-between}.media-node__kind{color:var(--node-accent);font-size:10px;font-weight:800}.media-node__menu{color:#6f7888;font-size:11px}.media-node__preview{display:flex;min-height:54px;align-items:center;justify-content:center;gap:8px;border:1px dashed #333b48;border-radius:9px;color:#596273;background:linear-gradient(135deg,rgba(255,255,255,.025),transparent),#10141b}.media-node__preview>span{color:var(--node-accent);font-size:18px}.media-node__preview small{font-size:9px}.react-flow__handle{--connection-accent: var(--node-accent, var(--asset-node-accent, #8171ef));z-index:2;width:26px;height:26px;border:0;border-radius:50%;background:transparent;cursor:crosshair;pointer-events:all}.react-flow__handle:after{position:absolute;top:50%;left:50%;width:10px;height:10px;border:2px solid #171b24;border-radius:50%;background:var(--connection-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--connection-accent),transparent 72%);content:"";transform:translate(-50%,-50%)}.react-flow__handle:hover:after,.react-flow__handle:focus-visible:after{width:14px;height:14px;box-shadow:0 0 0 4px color-mix(in srgb,var(--connection-accent),transparent 62%)}.react-flow__edge.selected .react-flow__edge-path{stroke:#f0c15d;stroke-width:4;filter:drop-shadow(0 0 5px rgba(240,193,93,.84))}.react-flow__edge.studio-edge--related .react-flow__edge-path{stroke:#a89cff;stroke-width:3.5;filter:drop-shadow(0 0 5px rgba(168,156,255,.78))}.react-flow__edge.studio-edge--muted{opacity:.22}.react-flow__edge.studio-edge--selected .react-flow__edge-path{stroke:#f0c15d;stroke-width:4;filter:drop-shadow(0 0 6px rgba(240,193,93,.9))}.react-flow__node.studio-flow-node--related .asset-node,.react-flow__node.studio-flow-node--related .seedance-node{box-shadow:0 0 0 2px #a89cffe0,0 0 20px #a89cff52}.react-flow__node.studio-flow-node--bulk-source .asset-node{box-shadow:0 0 0 3px #66e8fffa,0 0 24px #66e8ff75}.react-flow__node.studio-flow-node--bulk-source .react-flow__handle.source:after{width:16px;height:16px;background:#66e8ff;box-shadow:0 0 0 5px #66e8ff4d,0 0 16px #66e8ffdb}.react-flow__node.studio-flow-node--bulk-source .react-flow__handle.source{width:30px;height:30px}.react-flow__nodesselection,.react-flow__nodesselection-rect{pointer-events:none}.asset-node .react-flow__handle-left,.seedance-node .react-flow__handle-left{left:4px}.asset-node .react-flow__handle-right,.seedance-node .react-flow__handle-right{right:4px}.react-flow__controls{overflow:hidden;border:1px solid #303744;border-radius:11px;box-shadow:0 12px 24px #0000004d}.react-flow__controls-button{width:34px;height:34px;border-bottom-color:#303744;color:#dfe3eb;background:#171b24}.react-flow__controls-button:hover{background:#242b37}.react-flow__controls-button svg{fill:currentColor}.react-flow__minimap{overflow:hidden;border:1px solid #303744;border-radius:12px;background:#10141b}.canvas-hint{position:absolute;right:18px;bottom:18px;z-index:4;padding:7px 10px;border:1px solid #2b313d;border-radius:9px;color:#6f7888;background:#0f1219d9;font-size:10px;pointer-events:none}@media(max-width:760px){.benchmark-shell{grid-template-rows:auto minmax(0,1fr)}.topbar{grid-template-columns:1fr auto;gap:10px;padding:10px 12px}.brand small,.canvas-stats{display:none}.topbar__actions{grid-column:2;grid-row:1}.button{min-height:44px;padding:0 12px}.workspace{grid-template-columns:1fr}.node-palette,.canvas-hint{display:none}}
