#node-media-composer.canvas-image-composer{position:absolute;width:670px;max-width:calc(100vw - 32px);height:238px;min-height:0;box-sizing:border-box;padding:14px;background:#222328;border:1px solid #383b42;border-radius:22px;box-shadow:none;overflow:visible;display:flex;flex-direction:column;z-index:35;gap:0}#node-media-composer.canvas-image-composer.cic-expanded{height:622px}.cic-reference-row{display:flex;flex:none;align-items:flex-start;gap:6px;height:50px;min-height:50px;position:relative}.cic-reference-action{width:50px;height:50px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:5px 2px;border:0;border-radius:8px;background:rgb(255 255 255 / 6%);color:#74808a;line-height:14px}.cic-reference-action small{font-size:10px;line-height:13px;white-space:nowrap}.cic-reference-action:hover,.cic-reference-action.selected{background:#32343b;color:#b6c2cb}.cic-reference-strip{display:flex;align-items:center;gap:6px;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;padding-right:28px;height:50px}.cic-reference-thumb{position:relative;flex:none;width:50px;height:50px;border-radius:8px;overflow:hidden;background:#15171b}.cic-reference-thumb>button:first-child{width:100%;height:100%;padding:0;border:0;border-radius:8px;display:grid;place-items:center;background:transparent;color:#74808a}.cic-reference-thumb img{width:100%;height:100%;object-fit:cover}.cic-reference-thumb small{position:absolute;bottom:0;left:0;right:0;padding:10px 2px 1px;background:linear-gradient(transparent,#000b);color:#f4fbff;font-size:10px;line-height:13px;text-align:center}.cic-reference-thumb .cic-reference-remove{position:absolute;right:2px;top:2px;width:16px;height:16px;min-height:0;padding:0;display:none;place-items:center;line-height:14px;font-size:13px;border:0;border-radius:50%;background:#17191fca;color:#f4fbff}.cic-reference-thumb:hover .cic-reference-remove,.cic-reference-thumb:focus-within .cic-reference-remove{display:grid}.cic-reference-thumb.unavailable{opacity:.5}.cic-expand{position:absolute;top:0;right:0;width:20px;height:20px;padding:1px;border:0;background:transparent;color:#5f6870}.cic-expand:hover{color:#b6c2cb}#node-media-composer.canvas-image-composer #node-prompt{flex:1;display:block;width:100%;min-height:0;height:auto;resize:none;padding:0;margin:14px 0 10px;border:0;outline:0;border-radius:0;background:transparent;box-shadow:none;color:#f4fbff;font-size:14px;line-height:22px;box-sizing:border-box}#node-media-composer.canvas-image-composer #node-prompt::placeholder{color:#5f6870}.cic-controls{display:flex;align-items:center;gap:6px;flex:none;height:38px;min-width:0}.cic-control{display:flex;align-items:center;justify-content:center;gap:7px;flex:none;height:38px;min-height:38px;border:1px solid #383b42;border-radius:10px;padding:0 10px;background:transparent;color:#f4fbff;white-space:nowrap;font-size:13px;line-height:20px;min-width:0}.cic-control:hover,.cic-control[aria-expanded=true]{background:#2a2d34}.cic-control svg{flex:none}.cic-model{flex:0 1 158px;min-width:134px;max-width:180px;justify-content:flex-start;gap:6px}.cic-model span{overflow:hidden;text-overflow:ellipsis}.cic-model svg:last-child{margin-left:auto}.cic-format{padding:0 9px;gap:8px}.cic-format i{height:9px;width:1px;background:#59606b}.cic-mode{max-width:124px;flex:0 1 124px;min-width:110px;gap:5px;padding:0 8px}.cic-square{width:38px;padding:0}.cic-at{font-size:21px}.cic-price{font-size:13px;line-height:20px;color:#74808a;white-space:nowrap;margin-left:auto;padding-left:5px;min-width:40px;text-align:right}.cic-submit{flex:none;border:0;width:36px;height:36px;min-height:36px;padding:0;display:grid;place-items:center;border-radius:50%;background:#3b4555;color:#91a0b6}.cic-submit:disabled{opacity:.6;cursor:not-allowed}.cic-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cic-popover{position:absolute;bottom:60px;left:14px;z-index:50;min-width:200px;max-width:calc(100% - 28px);max-height:360px;overflow:auto;padding:12px;background:#292c33;border:1px solid #40444e;border-radius:14px;box-shadow:0 12px 30px #0006;color:#f4fbff}.cic-popover h3{font-size:13px;font-weight:500;margin:0 0 10px;color:#a7b4be}.cic-popover h3:not(:first-child){margin-top:14px}.cic-popover>button{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:8px 10px;margin:2px 0;border:0;border-radius:8px;background:transparent;color:#f4fbff;text-align:left;font-size:13px}.cic-popover button:hover,.cic-popover button.selected{background:#3c424e}.cic-popover button:focus-visible{outline:1px solid #95c0ff}.cic-popover button small{font-size:11px;color:#84929e;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cic-popover-model{width:380px}.cic-popover .cic-model-option{display:flex;align-items:flex-start;flex-direction:column;gap:5px;padding:12px}.cic-popover .cic-model-option strong{font-size:13px;font-weight:500}.cic-popover-format{width:300px;left:152px}.cic-ratio-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.cic-ratio-grid button{display:flex;align-items:center;justify-content:center;gap:6px;flex-direction:column;padding:8px 4px;min-height:60px;border:1px solid #444954;border-radius:8px;background:transparent;color:#cbd6df;font-size:11px}.cic-ratio-grid i{display:block;border:1px solid #95a7b5;border-radius:2px}.cic-resolution-options{display:flex;gap:6px}.cic-resolution-options button{height:34px;min-width:64px;padding:0 12px;border:1px solid #444954;border-radius:8px;background:transparent;color:#e1edf5}.cic-empty-note{font-size:12px;line-height:20px;color:#81909d;margin:8px 0}.cic-popover input{font-size:13px}.cic-popover-mode{left:240px}.cic-popover-style,.cic-popover-at{left:320px;width:290px}.cic-popover-canvas{bottom:calc(100% + 8px);width:330px}.cic-popover-node{left:auto;right:14px;bottom:calc(100% + 8px);width:230px}.graph-node.cic-pickable{outline:2px dashed #95c0ff;outline-offset:5px;cursor:copy}.graph-node.cic-pickable .video-replace{pointer-events:none}@media(max-width:700px){#node-media-composer.canvas-image-composer{height:280px;max-width:calc(100vw - 16px);padding:12px}.cic-controls{height:auto;flex-wrap:wrap;gap:6px}.cic-control{height:34px;min-height:34px;font-size:12px}.cic-model{min-width:140px;flex-basis:140px}.cic-mode{min-width:108px;flex-basis:108px}.cic-square{width:34px}.cic-price{margin-left:auto}.cic-popover,.cic-popover-format,.cic-popover-mode,.cic-popover-style,.cic-popover-at{left:8px;right:auto;max-width:calc(100% - 16px);bottom:96px}.cic-popover-canvas,.cic-popover-node{bottom:calc(100% + 8px)}.cic-reference-thumb .cic-reference-remove{display:grid}#node-media-composer.canvas-image-composer.cic-expanded{height:min(622px,calc(100vh - 120px))}}

.graph-editor{position:relative}.graph-editor .graph-topbar{position:absolute;inset:0 0 auto;height:60px;min-height:60px;padding:0 16px;background:transparent;border:0;pointer-events:none;overflow:visible;box-sizing:border-box}.graph-editor .graph-topbar>*{pointer-events:auto}.graph-editor .graph-topbar .canvas-back{width:26px;height:26px;padding:4px;border:0;border-radius:8px;background:rgb(255 255 255 / 6%)}.graph-editor .graph-topbar #canvas-project-title{font-size:16px;font-weight:600}.graph-editor .graph-stage{height:100vh;min-height:100vh;flex:none}.graph-editor .graph-tools #canvas-add{background:#f4fbff;color:#15222b}.graph-editor .graph-tools #canvas-move{margin-top:8px;position:relative}.graph-editor .graph-tools #canvas-move:before{content:'';position:absolute;left:8px;right:8px;top:-10px;height:1px;background:rgb(255 255 255 / 6%)}@media(max-width:600px){.graph-editor .graph-topbar{padding:0 10px;gap:6px}.graph-editor .graph-topbar #canvas-project-title{font-size:13px}}

.image-node-toolbar{position:absolute;z-index:32;padding:5px 8px;border:1px solid #383b42;border-radius:22px;background:#292c32;box-sizing:border-box}.image-node-toolbar .image-workspace-toolbar{display:flex;flex-wrap:wrap;gap:4px;margin:0}.image-node-toolbar button{min-height:30px;border:0;background:transparent;padding:5px 8px;color:#f4fbff}.image-node-toolbar button:hover{background:#3a3e47}.image-node-toolbar button:disabled{color:#78828d}@media(max-width:700px){.image-node-toolbar .image-workspace-toolbar{max-height:68px;overflow:auto}.image-node-toolbar button{font-size:11px}}

.graph-editor .graph-topbar{height:70px;min-height:70px;gap:12px}.graph-editor .graph-topbar #canvas-project-title{padding:0;gap:8px}

.cic-model{flex:0 0 178px;min-width:178px;max-width:178px}.cic-mode{flex:0 1 124px;min-width:108px}.cic-price{min-width:36px;padding-left:0}@media(max-width:700px){.cic-model{flex:0 0 170px;min-width:170px;max-width:170px}.cic-mode{flex:0 1 110px;min-width:108px}}

#node-media-composer.canvas-image-composer:has(.cic-popover){z-index:48}.cic-popover{scrollbar-width:thin}@media(max-width:700px) and (max-height:480px){#node-media-composer.canvas-image-composer{padding:10px}.cic-reference-row,.cic-reference-strip{height:42px;min-height:42px}.cic-reference-action,.cic-reference-thumb{width:42px;height:42px}.cic-reference-action small{font-size:9px}.cic-controls{gap:4px}.cic-control{height:30px;min-height:30px}.cic-square{width:30px}.cic-submit{width:30px;height:30px;min-height:30px}#node-media-composer.canvas-image-composer #node-prompt{margin:8px 0 6px;line-height:19px}.cic-model{flex-basis:170px}}

.cic-api-note{font-size:12px;margin:8px 0 0;line-height:1.5}.cic-price{white-space:nowrap;font-size:13px}.cic-popover-count{min-width:160px}

#node-media-composer.canvas-image-composer{height:302px}.cic-controls{flex-wrap:wrap;height:auto;min-height:38px;row-gap:8px}.cic-api-note{flex:none}.cic-model span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:700px){#node-media-composer.canvas-image-composer{height:320px}}
