@import"https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap";.react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.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 .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation: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:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.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:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;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:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.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.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@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}.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-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.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:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.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{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.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:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform: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:#3367d9;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%}.graph-shell .writer-layout,div.writer-layout,.writer-layout{display:grid!important;grid-template-columns:minmax(260px,340px) minmax(0,1fr) minmax(300px,420px)!important;gap:16px!important;align-items:start!important;grid-auto-rows:min-content!important;padding:0 16px 16px!important;width:100%!important;box-sizing:border-box!important}.writer-layout.collapsed .writer-left-column,.writer-layout.collapsed .writer-outline,.writer-layout.collapsed .writer-inspector{display:none!important}.writer-layout.collapsed .writer-editor .sequence-editor-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:start!important}.writer-layout.collapsed .writer-editor .sequence-editor-form>*{min-width:0!important}.writer-layout.collapsed .writer-editor .sequence-editor-slide-strip{grid-column:1 / -1!important}.graph-side-toggle-floating{position:fixed!important;top:12px!important;left:12px!important;z-index:2100!important;display:inline-flex!important;align-items:center!important;gap:8px!important;padding:8px 10px!important;border-radius:12px!important;border:1px solid rgba(148,163,184,.35)!important;background:#0f172aeb!important;color:#e2e8f0!important;-webkit-backdrop-filter:blur(4px)!important;backdrop-filter:blur(4px)!important}.graph-side-toggle-icon{width:18px!important;height:18px!important;border-radius:6px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#38bdf833!important;color:#7dd3fc!important;font-weight:700!important;line-height:1!important}.graph-side-toggle-label{font-size:12px!important}.sequence-editor-floating-nav{position:fixed!important;top:56px!important;left:12px!important;z-index:2090!important;display:flex!important;flex-direction:column!important;gap:6px!important;width:164px!important}.sequence-editor-floating-row{display:grid!important;grid-template-columns:28px minmax(0,1fr) 28px!important;align-items:center!important;gap:6px!important;padding:6px!important;border-radius:12px!important;border:1px solid rgba(148,163,184,.32)!important;background:#0f172aeb!important;-webkit-backdrop-filter:blur(4px)!important;backdrop-filter:blur(4px)!important}.sequence-editor-floating-arrow{width:28px!important;height:28px!important;border-radius:8px!important;border:1px solid rgba(148,163,184,.34)!important;background:#0f172ad1!important;color:#e2e8f0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;padding:0!important}.sequence-editor-floating-title{min-width:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;border-radius:8px!important;border:1px solid rgba(148,163,184,.24)!important;background:#0206177a!important;color:#e2e8f0!important;font-size:12px!important;font-weight:600!important;line-height:1!important;padding:7px 8px!important}.sequence-editor-floating-badge{color:#7dd3fc!important;font-size:12px!important;line-height:1!important}.sequence-editor-floating-arrow:disabled{opacity:.45!important;cursor:default!important}.writer-outline,.writer-editor,.writer-inspector{display:flex!important;flex-direction:column!important;gap:16px!important}.writer-left-column{grid-column:1 / 2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-content:flex-start!important;align-items:stretch!important;gap:16px!important;min-width:0!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important;align-self:start!important;height:auto!important}.writer-editor{grid-column:2 / 3!important;grid-row:1!important;min-width:0!important;width:100%!important}.writer-inspector{grid-column:3 / 4!important;grid-row:1!important;min-width:0!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important;justify-content:flex-start!important;align-content:flex-start!important;align-self:start!important;flex:0 0 auto!important;height:auto!important}@media (max-width: 1540px) and (min-width: 1101px){.writer-layout{grid-template-columns:minmax(260px,320px) minmax(0,1fr)!important}.writer-left-column{grid-column:1 / 2!important;grid-row:1 / span 2!important}.writer-editor{grid-column:2 / 3!important;grid-row:1!important}.writer-inspector{grid-column:2 / 3!important;grid-row:2!important}}@media (max-width: 1100px){.writer-layout{grid-template-columns:1fr!important}.writer-left-column,.writer-outline,.writer-editor,.writer-inspector{grid-column:1 / -1!important;grid-row:auto!important}.writer-layout.collapsed .writer-editor .sequence-editor-form{grid-template-columns:1fr!important}.graph-side-toggle-floating{top:8px!important;left:8px!important;padding:7px 9px!important}.sequence-editor-floating-nav{top:50px!important;left:8px!important;width:150px!important}.graph-side-toggle-label{display:none!important}}.writer-panel{background:#0f172ac7!important;border:1px solid rgba(148,163,184,.25)!important;border-radius:16px!important;padding:16px!important;overflow:hidden!important}.writer-panel-primary{border-color:#38bdf866!important}.writer-panel-scroll{max-height:560px!important;overflow-y:auto!important}.writer-panel-header{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;margin-bottom:12px!important}.writer-input,.writer-textarea,.writer-select{width:100%!important;border-radius:12px!important;padding:10px 14px!important;background:#0f172a99!important;border:1px solid rgba(148,163,184,.2)!important;color:inherit!important;font-size:14px!important}.writer-textarea{resize:vertical!important;min-height:80px!important}.writer-form{display:flex!important;flex-direction:column!important;gap:12px!important}.writer-field{display:flex!important;flex-direction:column!important;gap:6px!important}.writer-list{display:flex!important;flex-direction:column!important;gap:8px!important;max-height:400px!important;overflow-y:auto!important}.writer-item{padding:10px 12px!important;border-radius:12px!important;background:#0f172a80!important;border:1px solid rgba(148,163,184,.15)!important;cursor:pointer!important;transition:all .15s ease!important}.writer-item:hover{border-color:#94a3b84d!important}.writer-item.selected{border-color:#38bdf899!important;background:#38bdf814!important}.writer-item-header{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:4px!important}.writer-item-title{display:flex!important;gap:8px!important;align-items:center!important}.writer-index{font-size:11px!important;padding:2px 8px!important;background:#94a3b833!important;border-radius:6px!important}.writer-badge{font-size:11px!important;padding:2px 8px!important;border-radius:6px!important;background:#38bdf833!important}.writer-badge.decision{background:#fbbf2433!important}.writer-filter{display:flex!important;gap:6px!important;margin-bottom:12px!important}.writer-filter-btn{background:#0f172a99!important;border:1px solid rgba(148,163,184,.2)!important;border-radius:8px!important;padding:6px 12px!important;font-size:12px!important;cursor:pointer!important;color:inherit!important}.writer-filter-btn.active{border-color:#38bdf8b3!important;background:#38bdf81f!important}.writer-pill{display:inline-flex!important;align-items:center!important;padding:4px 10px!important;background:#94a3b826!important;border-radius:20px!important;font-size:12px!important}.writer-choice-list{display:flex!important;flex-direction:column!important;gap:8px!important}.writer-choice{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:8px 12px!important;background:#0f172a80!important;border:1px solid rgba(148,163,184,.15)!important;border-radius:10px!important}.writer-choice-form{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important;gap:10px!important}.writer-meta{display:flex!important;flex-wrap:wrap!important;gap:12px!important;font-size:13px!important;color:#94a3b8!important}.writer-radio{display:flex!important;gap:12px!important;align-items:center!important}.writer-actions,.writer-panel-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}:root[data-theme=light] .writer-item{background:#f8fafc!important;border-color:#e2e8f0!important}:root[data-theme=light] .writer-item.selected{background:#38bdf814!important;border-color:#38bdf880!important}:root[data-theme=light] .writer-filter-btn{background:#f1f5f9!important;border-color:#e2e8f0!important;color:#334155!important}:root[data-theme=light] .writer-filter-btn.active{background:#38bdf81a!important;border-color:#38bdf880!important}:root[data-theme=light] .graph-side-toggle-floating{background:#ffffffeb!important;border-color:#cbd5e1!important;color:#0f172a!important}:root[data-theme=light] .sequence-editor-floating-row{background:#fffffff0!important;border-color:#cbd5e1!important}:root[data-theme=light] .sequence-editor-floating-title{background:#f8fafc!important;border-color:#e2e8f0!important;color:#0f172a!important}:root[data-theme=light] .sequence-editor-floating-arrow{background:#fff!important;border-color:#cbd5e1!important;color:#0f172a!important}.writer-panel .graph-image-grid,div.graph-image-grid,.graph-image-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(100px,1fr))!important;gap:10px!important;max-height:400px!important;overflow-y:auto!important;overflow-x:hidden!important;width:100%!important;box-sizing:border-box!important}.graph-image-grid .graph-image-card,div.graph-image-card,.graph-image-card{position:relative!important;border-radius:10px!important;overflow:hidden!important;border:2px solid transparent!important;background:#0f172a80!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}.graph-image-card img,.graph-image-card>img{width:100%!important;max-width:100%!important;height:80px!important;object-fit:cover!important;display:block!important}.graph-image-card.approved{border-color:#22c55e!important}.graph-image-footer{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:6px 8px!important;font-size:11px!important;background:#0000004d!important}.graph-image-actions{display:inline-flex!important;align-items:center!important;gap:6px!important}.graph-approve,.graph-approved,.graph-delete{width:26px!important;height:26px!important;padding:0!important;border-radius:999px!important;font-size:13px!important;cursor:pointer!important;line-height:1!important;border:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.graph-approve{background:#38bdf833!important;color:#38bdf8!important}.graph-approved{background:#22c55e33!important;color:#22c55e!important}.graph-delete{background:#f8717133!important;color:#fca5a5!important}.graph-shell .writer-form,div.writer-form,.writer-form{display:flex!important;flex-direction:column!important;gap:14px!important;width:100%!important}.graph-shell .writer-field,div.writer-field,label.writer-field,.writer-field{display:flex!important;flex-direction:column!important;gap:6px!important;width:100%!important}.writer-field>span,label.writer-field>span{font-size:13px!important;font-weight:500!important;color:#94a3b8!important;display:block!important}.graph-shell input.writer-input,.graph-shell textarea.writer-textarea,.graph-shell select.writer-select,.writer-panel input.writer-input,.writer-panel textarea.writer-textarea,.writer-panel select.writer-select,input.writer-input,textarea.writer-textarea,select.writer-select,.writer-input,.writer-textarea,.writer-select{display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;border-radius:10px!important;padding:10px 12px!important;background:#0f172a99!important;border:1px solid rgba(148,163,184,.25)!important;color:#e5e7eb!important;font-size:14px!important;font-family:inherit!important;line-height:1.5!important;margin:0!important}.writer-input:focus,.writer-textarea:focus,.writer-select:focus{outline:none!important;border-color:#38bdf880!important}textarea.writer-textarea,.writer-textarea{resize:vertical!important;min-height:80px!important}textarea.writer-textarea-long,.writer-textarea-long{min-height:180px!important}.sequence-editor-preview img,.sequence-editor-frame img{max-width:100%!important;height:auto!important;border-radius:8px!important}.sequence-editor-variant-media{width:clamp(160px,22vw,260px)!important;max-width:100%!important;aspect-ratio:4 / 3!important;border-radius:8px!important;overflow:hidden!important;background:#0206178c!important;border:1px solid rgba(148,163,184,.24)!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important}.sequence-editor-variants-grid{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:flex-start!important}.sequence-editor-variant-card{width:fit-content!important;min-width:0!important;padding:0!important;background:transparent!important;border:1px solid rgba(148,163,184,.25)!important;border-radius:10px!important;overflow:hidden!important}.sequence-editor-variant-card.selected{border-color:#38bdf8b3!important;box-shadow:0 0 0 1px #38bdf859 inset!important}.sequence-editor-variant-card img,.sequence-editor-variant-image{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:transparent!important;border-radius:0!important}.sequence-editor-variant-actions-overlay{position:absolute!important;left:8px!important;right:8px!important;bottom:8px!important;z-index:2!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important}.sequence-editor-variant-actions-overlay:before{content:""!important;position:absolute!important;left:-8px!important;right:-8px!important;top:-12px!important;bottom:-8px!important;background:linear-gradient(180deg,#02061700,#020617d1)!important;pointer-events:none!important}.sequence-editor-variant-icon-btn{position:relative!important;z-index:1!important;width:32px!important;height:32px!important;border-radius:999px!important;border:1px solid rgba(125,211,252,.45)!important;background:#020617d1!important;color:#e2e8f0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;font-size:14px!important}.sequence-editor-variant-icon-btn.danger{border-color:#f871718c!important;color:#fecaca!important}.sequence-editor-reference-preview{object-fit:contain!important;object-position:center!important;background:#02061780!important}.sequence-editor-reference-preview-mini{width:72px!important;height:72px!important;padding:4px!important;border-radius:10px!important;align-self:flex-start!important}.sequence-editor-cast-list{grid-template-columns:repeat(auto-fill,minmax(132px,1fr))!important}.sequence-editor-cast-tile{display:flex!important;flex-direction:column!important;gap:8px!important;align-items:stretch!important;min-height:188px!important;padding:8px!important;border-radius:12px!important;border:1px solid rgba(148,163,184,.28)!important;background:#0f172a85!important;cursor:pointer!important;transition:border-color .15s ease,background .15s ease,opacity .15s ease!important;text-align:left!important}.sequence-editor-cast-tile.selected{border-color:#38bdf8a6!important;background:#082f4966!important;opacity:1!important}.sequence-editor-cast-tile.muted{opacity:.52!important}.sequence-editor-cast-thumb-wrap{width:100%!important;aspect-ratio:1 / 1!important;border-radius:10px!important;overflow:hidden!important;border:1px solid rgba(148,163,184,.24)!important;background:#02061794!important;display:flex!important;align-items:center!important;justify-content:center!important}.sequence-editor-cast-thumb{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;display:block!important}.sequence-editor-cast-fallback{display:inline-flex!important;width:100%!important;height:100%!important;align-items:center!important;justify-content:center!important;font-size:26px!important;font-weight:700!important;color:#94a3b8!important}.sequence-editor-slot-picker{position:relative!important;width:100%!important}.sequence-editor-slot-trigger{width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;border-radius:10px!important;border:1px solid rgba(148,163,184,.26)!important;background:#0f172a9e!important;color:#e2e8f0!important;padding:9px 10px!important}.sequence-editor-slot-trigger-icon{color:#94a3b8!important;line-height:1!important}.sequence-editor-slot-popover{position:absolute!important;z-index:60!important;top:calc(100% + 8px)!important;left:0!important;right:0!important;max-height:260px!important;overflow:auto!important;border-radius:12px!important;border:1px solid rgba(148,163,184,.32)!important;background:#0f172af7!important;box-shadow:0 14px 28px #02061770!important;padding:8px!important;display:grid!important;gap:6px!important}.sequence-editor-slot-option{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;width:100%!important;text-align:left!important;padding:6px 8px!important;border-radius:10px!important;border:1px solid rgba(148,163,184,.22)!important;background:#0f172a8c!important;color:#e2e8f0!important}.sequence-editor-slot-option.selected{border-color:#38bdf899!important;background:#082f4970!important}.sequence-editor-slot-option-media{width:44px!important;height:44px!important;border-radius:9px!important;border:1px solid rgba(148,163,184,.24)!important;background:#02061799!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important}.sequence-editor-slot-option-media-empty{color:#94a3b8!important;font-size:18px!important;font-weight:600!important}.sequence-editor-slot-option-thumb{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}.sequence-editor-slot-option-fallback{font-size:16px!important;font-weight:700!important;color:#94a3b8!important}.sequence-editor-slot-option-label{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.graph-prompt{background:#0f172a80!important;border-radius:10px!important;padding:12px!important;font-size:12px!important;line-height:1.5!important;max-height:200px!important;overflow-y:auto!important;word-break:break-word!important}.graph-prompt strong{display:block!important;margin-bottom:4px!important;color:#94a3b8!important}.character-selector{max-height:300px!important;overflow-y:auto!important}.character-selector-option img{width:40px!important;height:40px!important;object-fit:cover!important;border-radius:6px!important;flex-shrink:0!important}:root[data-theme=light] .writer-panel{background:#fff!important;border-color:#e2e8f0!important;box-shadow:0 4px 12px #0f172a14!important}:root[data-theme=light] .writer-input,:root[data-theme=light] .writer-textarea,:root[data-theme=light] .writer-select{background:#f8fafc!important;border-color:#e2e8f0!important;color:#0f172a!important}:root[data-theme=light] .writer-field>span{color:#64748b!important}:root[data-theme=light] .graph-image-card{background:#f1f5f9!important}:root[data-theme=light] .graph-image-footer{background:#0000000d!important;color:#334155!important}:root[data-theme=light] .graph-prompt{background:#f8fafc!important}.prompt-warning{display:flex!important;gap:10px!important;padding:10px 12px!important;border-radius:10px!important;font-size:13px!important;margin-top:8px!important;align-items:flex-start!important}.prompt-warning-loading{background:#94a3b826!important;color:#94a3b8!important}.prompt-warning-info{background:#38bdf826!important;border:1px solid rgba(56,189,248,.3)!important;color:#7dd3fc!important}.prompt-warning-warn{background:#fbbf2426!important;border:1px solid rgba(251,191,36,.3)!important;color:#fcd34d!important}.prompt-warning-icon{flex-shrink:0!important;font-size:16px!important}.prompt-warning-content{display:flex!important;flex-direction:column!important;gap:6px!important;flex:1!important;min-width:0!important}.prompt-warning-text{line-height:1.4!important}.prompt-warning-translation{display:flex!important;gap:6px!important;font-size:12px!important;color:#cbd5e1!important;background:#0f172a66!important;padding:8px 10px!important;border-radius:8px!important;word-break:break-word!important}.prompt-warning-translation strong{flex-shrink:0!important;color:#94a3b8!important}.prompt-warning-translation span{flex:1!important}:root[data-theme=light] .prompt-warning-info{background:#0ea5e91a!important;border-color:#0ea5e94d!important;color:#0284c7!important}:root[data-theme=light] .prompt-warning-warn{background:#f59e0b1a!important;border-color:#f59e0b4d!important;color:#b45309!important}:root[data-theme=light] .prompt-warning-translation{background:#f1f5f9cc!important;color:#334155!important}.sd-options-panel{display:flex!important;flex-direction:column!important;gap:14px!important}.sd-options-loading,.sd-options-error{padding:16px!important;text-align:center!important;color:#94a3b8!important}.sd-options-error{color:#fca5a5!important;display:flex!important;flex-direction:column!important;gap:10px!important;align-items:center!important}.sd-options-header{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:4px!important}.sd-options-header h3{margin:0!important;font-size:15px!important;border:none!important;padding:0!important}.sd-options-section{display:flex!important;flex-direction:column!important;gap:6px!important}.sd-options-section>span{font-size:12px!important;color:#94a3b8!important;text-transform:uppercase!important;letter-spacing:.05em!important}.sd-options-section-header{display:flex!important;justify-content:space-between!important;align-items:center!important;font-size:12px!important;color:#94a3b8!important;text-transform:uppercase!important;letter-spacing:.05em!important}.sd-options-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}.sd-option-select{width:100%!important;padding:8px 10px!important;border-radius:8px!important;border:1px solid rgba(148,163,184,.25)!important;background:#0f172a99!important;color:inherit!important;font-size:13px!important;cursor:pointer!important}.sd-option-select:focus{outline:none!important;border-color:#38bdf880!important}.sd-option-hint{font-size:11px!important;color:#64748b!important}.sd-option-preview{font-size:11px!important;color:#cbd5e1!important;background:#0f172a80!important;padding:8px 10px!important;border-radius:6px!important;word-break:break-word!important;max-height:60px!important;overflow-y:auto!important}.sd-option-preview strong{color:#94a3b8!important;margin-right:6px!important}.sd-lora-grid{display:flex!important;flex-wrap:wrap!important;gap:6px!important}.sd-lora-tag{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:4px 8px!important;border-radius:6px!important;background:#94a3b826!important;border:1px solid rgba(148,163,184,.2)!important;font-size:11px!important;cursor:pointer!important;transition:all .15s ease!important}.sd-lora-tag:hover{border-color:#94a3b866!important}.sd-lora-tag.active{background:#38bdf833!important;border-color:#38bdf880!important;color:#7dd3fc!important}.sd-lora-tag input{display:none!important}.sd-options-actions{display:flex!important;justify-content:flex-end!important;gap:8px!important;margin-top:8px!important;padding-top:12px!important;border-top:1px solid rgba(148,163,184,.15)!important}.sd-options-compact{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:flex-end!important}.sd-options-compact .sd-options-row{display:flex!important;gap:10px!important;flex:1!important}.sd-option-field{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:120px!important}.sd-option-field>span{font-size:11px!important;color:#94a3b8!important}:root[data-theme=light] .sd-option-select{background:#f8fafc!important;border-color:#e2e8f0!important;color:#0f172a!important}:root[data-theme=light] .sd-option-preview{background:#f1f5f9!important;color:#334155!important}:root[data-theme=light] .sd-lora-tag{background:#f1f5f9!important;border-color:#e2e8f0!important;color:#334155!important}:root[data-theme=light] .sd-lora-tag.active{background:#0ea5e926!important;border-color:#0ea5e980!important;color:#0284c7!important}.asset-panel{display:flex!important;flex-direction:column!important;gap:16px!important;width:100%!important;max-width:100%!important;min-width:0!important}.asset-error{padding:8px 10px!important;border-radius:10px!important;background:#f871711f!important;border:1px solid rgba(248,113,113,.35)!important;color:#fecaca!important;font-size:12px!important}.asset-queue{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;max-width:100%!important;min-width:0!important;padding-bottom:12px!important;border-bottom:1px solid rgba(148,163,184,.15)!important}.asset-queue-header{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;flex-wrap:wrap!important;gap:8px!important;width:100%!important;min-width:0!important;font-size:13px!important}.asset-queue-summary{display:flex!important;gap:6px!important;flex-wrap:wrap!important;min-width:0!important;max-width:100%!important}.asset-queue-summary .writer-pill{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.asset-toggle{display:flex!important;align-items:center!important;gap:8px!important;font-size:12px!important;color:#94a3b8!important}.asset-library{margin-top:10px!important;padding-top:10px!important;border-top:1px dashed rgba(148,163,184,.2)!important;display:flex!important;flex-direction:column!important;gap:8px!important}.asset-library-header{display:flex!important;justify-content:space-between!important;align-items:center!important}.asset-queue-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important}.asset-queue-active{display:flex!important;justify-content:space-between!important;align-items:center!important;background:#0f172a8c!important;border:1px solid rgba(148,163,184,.2)!important;border-radius:10px!important;padding:8px 10px!important;font-size:12px!important}.asset-progress{font-size:11px!important;color:#7dd3fc!important}.asset-queue-list{display:flex!important;flex-direction:column!important;gap:6px!important;max-height:140px!important;overflow-y:auto!important}.asset-queue-completed{display:flex!important;flex-direction:column!important;gap:6px!important;max-height:180px!important;overflow-y:auto!important}.asset-queue-subtitle{font-size:11px!important;color:#94a3b8!important;text-transform:uppercase!important;letter-spacing:.08em!important}.asset-queue-item{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:6px 8px!important;border-radius:8px!important;background:#0f172a73!important;border:1px solid rgba(148,163,184,.15)!important;font-size:12px!important}.asset-queue-item.completed{flex-direction:column!important;align-items:stretch!important;gap:4px!important}.asset-queue-item-main{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important}.asset-queue-error{font-size:11px!important;color:#fca5a5!important}.asset-group{display:flex!important;flex-direction:column!important;gap:10px!important}.asset-group-header{display:flex!important;justify-content:space-between!important;align-items:center!important}.asset-group-header h3{margin:0!important;font-size:14px!important}.asset-group-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important}.asset-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(132px,1fr))!important;gap:10px!important;max-height:320px!important;overflow-y:auto!important;overflow-x:hidden!important;padding-right:2px!important}.asset-item{padding:8px!important;border-radius:14px!important;background:#0f172a8c!important;border:1px solid rgba(148,163,184,.15)!important;display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important}.asset-item-main{display:block!important}.asset-item-preview{width:100%!important;aspect-ratio:1 / 1!important;border-radius:12px!important;overflow:hidden!important;border:1px solid rgba(148,163,184,.2)!important;background:#0f172ab8!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important}.asset-item-preview img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important}.asset-item-preview.placeholder{background:radial-gradient(circle at 25% 20%,#38bdf859,#0f172ae0)!important;color:#94a3b8!important;font-size:22px!important;font-weight:700!important}.asset-item.ready{border-color:#22c55e59!important}.asset-item.missing,.asset-item.blocked{border-color:#f8717159!important}.asset-item-overlay-top{position:absolute!important;top:8px!important;right:8px!important;z-index:2!important}.asset-item-overlay-bottom{position:absolute!important;left:8px!important;right:8px!important;bottom:8px!important;z-index:2!important;display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important}.asset-item-title{margin:0!important;font-size:13px!important;font-weight:600!important;line-height:1.3!important;color:#e2e8f0!important;text-shadow:0 2px 8px rgba(2,6,23,.85)!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.asset-item-overlay-bottom:before{content:""!important;position:absolute!important;left:-8px!important;right:-8px!important;top:-24px!important;bottom:-8px!important;background:linear-gradient(180deg,#02061700,#02061794 42%,#020617db)!important;z-index:-1!important}.asset-item-header{display:none!important}.asset-item-header strong{min-width:0!important;overflow-wrap:anywhere!important}.asset-item-reason{font-size:11px!important;color:#fca5a5!important;line-height:1.35!important;padding:0 2px!important}.asset-item-actions{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-end!important;gap:6px!important}.asset-icon-btn{width:30px!important;height:30px!important;border-radius:10px!important;border:1px solid rgba(148,163,184,.3)!important;background:#020617cc!important;color:#cbd5e1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;cursor:pointer!important;transition:border-color .2s ease,color .2s ease,background .2s ease!important}.asset-icon-btn:hover{border-color:#38bdf88c!important;color:#e2e8f0!important}.asset-icon-btn:disabled{opacity:.45!important;cursor:not-allowed!important}.asset-icon-btn svg{width:16px!important;height:16px!important;stroke:currentColor!important;fill:none!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}.asset-icon-btn.queue{border-color:#38bdf873!important;color:#38bdf8!important}.asset-icon-btn.import{border-color:#22c55e73!important;color:#22c55e!important}.asset-status{font-size:11px!important;color:#94a3b8!important}.asset-status-chip{display:inline-flex!important;align-items:center!important;max-width:100%!important;padding:3px 8px!important;border-radius:999px!important;border:1px solid rgba(148,163,184,.4)!important;background:#020617c2!important;color:#cbd5e1!important;font-size:10px!important;font-weight:600!important;letter-spacing:.03em!important;text-transform:uppercase!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.asset-status.ready,.asset-status.done{color:#22c55e!important}.asset-status.missing,.asset-status.blocked{color:#f87171!important}.asset-status.running{color:#38bdf8!important}.asset-status.queued{color:#fbbf24!important}.asset-status.failed{color:#f87171!important}.asset-status-chip.ready{color:#86efac!important;border-color:#22c55e73!important}.asset-status-chip.missing,.asset-status-chip.blocked,.asset-status-chip.failed{color:#fecaca!important;border-color:#f8717173!important}.asset-status-chip.queued,.asset-status-chip.running{color:#7dd3fc!important;border-color:#38bdf873!important}.asset-status-chip.library{color:#bfdbfe!important;border-color:#94a3b873!important}.asset-blocked{margin-top:8px!important;padding:8px 10px!important;border-radius:10px!important;background:#f871711a!important;border:1px solid rgba(248,113,113,.3)!important;color:#fecaca!important;font-size:12px!important}.asset-edit-overlay{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;background:#020617b3!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:60!important}.asset-edit-modal{width:min(560px,92vw)!important;max-height:90vh!important;overflow-y:auto!important;background:#0f172afa!important;border:1px solid rgba(148,163,184,.25)!important;border-radius:16px!important;padding:16px!important;display:flex!important;flex-direction:column!important;gap:16px!important}.asset-edit-header{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:12px!important}.asset-edit-kicker{font-size:11px!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:#94a3b8!important}.asset-edit-close{background:transparent!important;border:none!important;color:#94a3b8!important;cursor:pointer!important;font-size:16px!important}.asset-edit-body{display:flex!important;flex-direction:column!important;gap:12px!important}.asset-edit-actions{display:flex!important;justify-content:flex-end!important;gap:8px!important}.quest-preview-overlay{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;z-index:75!important;background:#020617c7!important;display:flex!important;align-items:center!important;justify-content:center!important}.quest-preview-modal{width:min(1400px,96vw)!important;height:min(94vh,960px)!important;border-radius:18px!important;border:1px solid rgba(148,163,184,.25)!important;background:#0f172afa!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}.quest-preview-header{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:12px!important;padding:16px 18px!important;border-bottom:1px solid rgba(148,163,184,.2)!important}.quest-preview-kicker{font-size:11px!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:#94a3b8!important}.quest-preview-header-actions{display:inline-flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important}.quest-preview-body{flex:1!important;min-height:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:12px!important;padding:12px!important}.quest-preview-stage{min-width:0!important;overflow-y:auto!important;padding-right:2px!important}.quest-preview-sidebar{min-width:0!important;display:flex!important;flex-direction:column!important;gap:10px!important;overflow-y:auto!important}.quest-preview-panel{background:#0f172aad!important;border:1px solid rgba(148,163,184,.2)!important;border-radius:12px!important;padding:12px!important}.quest-preview-panel h3{margin:0 0 8px!important;font-size:14px!important}.quest-preview-choice-list,.quest-preview-session-list{display:flex!important;flex-direction:column!important;gap:8px!important}.quest-preview-session-item{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;font-size:12px!important}.quest-preview-session-item code{padding:2px 8px!important;border-radius:999px!important;border:1px solid rgba(148,163,184,.25)!important;background:#0f172aa6!important;color:#bfdbfe!important}.quest-preview-history-list{margin:0!important;padding-left:18px!important;font-size:12px!important;color:#cbd5e1!important;display:flex!important;flex-direction:column!important;gap:4px!important}.quest-preview-scene-card{display:flex!important;flex-direction:column!important;gap:12px!important;border-radius:14px!important;border:1px solid rgba(148,163,184,.2)!important;background:#0f172a9e!important;padding:12px!important}.quest-preview-scene-image{width:100%!important;max-height:520px!important;object-fit:cover!important;border-radius:12px!important;display:block!important}.quest-preview-scene-placeholder{min-height:360px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:12px!important;background:#0f172ab8!important;border:1px dashed rgba(148,163,184,.35)!important;color:#94a3b8!important;font-size:14px!important;text-align:center!important;padding:16px!important}.quest-preview-scene-text h3{margin:0 0 6px!important}.quest-preview-scene-text p{white-space:pre-line!important}.quest-preview-scene-choices{display:flex!important;flex-wrap:wrap!important;gap:8px!important}@media (max-width: 1200px){.quest-preview-body{grid-template-columns:1fr!important}}@media (max-width: 760px){.quest-preview-modal{width:100vw!important;height:100vh!important;border-radius:0!important}.quest-preview-header{padding:12px!important}.quest-preview-header-actions{width:100%!important;justify-content:flex-start!important}.quest-preview-body{padding:10px!important}}:root[data-theme=light] .asset-panel{background:#fff!important}:root[data-theme=light] .asset-item,:root[data-theme=light] .asset-queue-item,:root[data-theme=light] .asset-queue-active{background:#f8fafc!important;border-color:#e2e8f0!important}:root[data-theme=light] .asset-edit-modal{background:#fff!important;border-color:#e2e8f0!important;box-shadow:0 8px 24px #0f172a26!important}:root[data-theme=light] .asset-item-preview{background:#f1f5f9!important;border-color:#cbd5e1!important}:root[data-theme=light] .asset-item-preview.placeholder{color:#475569!important}:root[data-theme=light] .asset-icon-btn{background:#0f172ac7!important;border-color:#94a3b873!important;color:#e2e8f0!important}:root[data-theme=light] .asset-status-chip{background:#0f172ad1!important;border-color:#94a3b873!important;color:#e2e8f0!important}:root[data-theme=light] .asset-item-overlay-bottom:before{background:linear-gradient(180deg,#02061700,#02061780 42%,#020617d1)!important}:root[data-theme=light] .quest-preview-modal{background:#fff!important;border-color:#e2e8f0!important;box-shadow:0 12px 30px #0f172a2e!important}:root[data-theme=light] .quest-preview-panel,:root[data-theme=light] .quest-preview-scene-card{background:#f8fafc!important;border-color:#e2e8f0!important}:root[data-theme=light] .quest-preview-kicker{color:#64748b!important}.graph-editor-sidebar,.graph-editor-aside,.graph-editor-left,.graph-editor-right,.graph-sidebar,.sidebar-column,.side-column{justify-content:flex-start!important;align-content:flex-start!important}.graph-editor-sidebar>:last-child,.graph-editor-aside>:last-child,.graph-editor-left>:last-child,.graph-editor-right>:last-child,.graph-sidebar>:last-child,.sidebar-column>:last-child,.side-column>:last-child{margin-top:0!important}.graph-editor-page,.graph-editor-page *,.graph-editor,.graph-editor *,.graph-editor-layout,.graph-editor-layout *,.scene-seq-editor,.scene-seq-editor *,.scene-sequence-editor,.scene-sequence-editor *,.scene-editor-panel,.scene-editor-panel *,.writer-outline,.writer-inspector,.writer-editor,.writer-panel,.writer-panel-scroll,.asset-panel,.asset-queue,.asset-group{scrollbar-width:thin;scrollbar-color:rgba(120,140,170,.55) transparent}.graph-editor-page *::-webkit-scrollbar,.graph-editor *::-webkit-scrollbar,.graph-editor-layout *::-webkit-scrollbar,.scene-seq-editor *::-webkit-scrollbar,.scene-sequence-editor *::-webkit-scrollbar,.scene-editor-panel *::-webkit-scrollbar,.writer-outline *::-webkit-scrollbar,.writer-inspector *::-webkit-scrollbar,.writer-editor *::-webkit-scrollbar,.writer-panel *::-webkit-scrollbar,.writer-panel-scroll *::-webkit-scrollbar,.asset-panel *::-webkit-scrollbar,.asset-queue *::-webkit-scrollbar,.asset-group *::-webkit-scrollbar{width:6px;height:6px}.graph-editor-page *::-webkit-scrollbar-track,.graph-editor *::-webkit-scrollbar-track,.graph-editor-layout *::-webkit-scrollbar-track,.scene-seq-editor *::-webkit-scrollbar-track,.scene-sequence-editor *::-webkit-scrollbar-track,.scene-editor-panel *::-webkit-scrollbar-track,.writer-outline *::-webkit-scrollbar-track,.writer-inspector *::-webkit-scrollbar-track,.writer-editor *::-webkit-scrollbar-track,.writer-panel *::-webkit-scrollbar-track,.writer-panel-scroll *::-webkit-scrollbar-track,.asset-panel *::-webkit-scrollbar-track,.asset-queue *::-webkit-scrollbar-track,.asset-group *::-webkit-scrollbar-track{background:transparent}.graph-editor-page *::-webkit-scrollbar-thumb,.graph-editor *::-webkit-scrollbar-thumb,.graph-editor-layout *::-webkit-scrollbar-thumb,.scene-seq-editor *::-webkit-scrollbar-thumb,.scene-sequence-editor *::-webkit-scrollbar-thumb,.scene-editor-panel *::-webkit-scrollbar-thumb,.writer-outline *::-webkit-scrollbar-thumb,.writer-inspector *::-webkit-scrollbar-thumb,.writer-editor *::-webkit-scrollbar-thumb,.writer-panel *::-webkit-scrollbar-thumb,.writer-panel-scroll *::-webkit-scrollbar-thumb,.asset-panel *::-webkit-scrollbar-thumb,.asset-queue *::-webkit-scrollbar-thumb,.asset-group *::-webkit-scrollbar-thumb{background:#788caa8c;border-radius:999px;border:2px solid transparent;background-clip:padding-box}.graph-editor-page *::-webkit-scrollbar-thumb:hover,.graph-editor *::-webkit-scrollbar-thumb:hover,.graph-editor-layout *::-webkit-scrollbar-thumb:hover,.scene-seq-editor *::-webkit-scrollbar-thumb:hover,.scene-sequence-editor *::-webkit-scrollbar-thumb:hover,.scene-editor-panel *::-webkit-scrollbar-thumb:hover,.writer-outline *::-webkit-scrollbar-thumb:hover,.writer-inspector *::-webkit-scrollbar-thumb:hover,.writer-editor *::-webkit-scrollbar-thumb:hover,.writer-panel *::-webkit-scrollbar-thumb:hover,.writer-panel-scroll *::-webkit-scrollbar-thumb:hover,.asset-panel *::-webkit-scrollbar-thumb:hover,.asset-queue *::-webkit-scrollbar-thumb:hover,.asset-group *::-webkit-scrollbar-thumb:hover{background:#96aac8cc;background-clip:padding-box}.ai-fill-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#050a14b8;display:flex;align-items:center;justify-content:center;z-index:1300}.ai-fill-modal{width:min(980px,96vw);max-height:92vh;background:#0f172af5;border:1px solid rgba(148,163,184,.3);border-radius:18px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 60px #0f172a99}.ai-fill-header{display:flex;justify-content:space-between;gap:12px;padding:18px 22px 12px;border-bottom:1px solid rgba(148,163,184,.2)}.ai-fill-kicker{text-transform:uppercase;letter-spacing:.2em;font-size:11px;color:#7dd3fc}.ai-fill-close{background:transparent;border:1px solid rgba(148,163,184,.3);color:inherit;width:34px;height:34px;border-radius:10px;cursor:pointer}.ai-fill-body{padding:16px 22px 22px;overflow-y:auto;display:flex;flex-direction:column;gap:16px}.ai-fill-field{display:flex;flex-direction:column;gap:8px;font-size:13px}.ai-fill-field textarea,.ai-fill-field select{border-radius:10px;border:1px solid rgba(148,163,184,.3);background:#0f172a99;color:inherit;padding:10px}.ai-fill-context{border:1px solid rgba(148,163,184,.2);border-radius:12px;padding:10px 12px;background:#0f172a73;color:#cbd5e1}.ai-fill-context summary{cursor:pointer;font-weight:600}.ai-fill-context pre{margin-top:8px;white-space:pre-wrap;font-size:12px}.ai-fill-actions{display:flex;gap:10px;flex-wrap:wrap}.ai-fill-generate{border:none;border-radius:12px;padding:12px 16px;cursor:pointer;font-weight:700;letter-spacing:.02em;color:#020617;background:linear-gradient(90deg,#38bdf8,#818cf8)}.ai-fill-generate:disabled{opacity:.65;cursor:not-allowed}.ai-fill-error{color:#fca5a5;font-size:12px}.ai-fill-proposal{display:flex;flex-direction:column;gap:10px}.ai-fill-proposal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.ai-fill-proposal-card{border-radius:12px;border:1px solid rgba(148,163,184,.2);padding:10px;background:#0f172a66}.ai-fill-proposal-card pre{margin-top:6px;font-size:12px;white-space:pre-wrap}:root[data-theme=light] .ai-fill-modal{background:#fff;color:#0f172a;border:1px solid #e2e8f0}:root[data-theme=light] .ai-fill-field textarea{background:#f8fafc;color:#0f172a;border:1px solid #e2e8f0}:root[data-theme=light] .ai-fill-field select{background:#f8fafc;color:#0f172a;border:1px solid #e2e8f0}:root[data-theme=light] .ai-fill-context,:root[data-theme=light] .ai-fill-proposal-card{background:#f8fafc;border:1px solid #e2e8f0}:root[data-theme=light] .ai-fill-generate{box-shadow:0 10px 24px #38bdf82e}.qc-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;animation:qc-fade-in .15s ease-out}@keyframes qc-fade-in{0%{opacity:0}to{opacity:1}}.qc-modal{background:var(--surface, #1a1a2e);color:var(--text, #fff);border-radius:16px;width:90%;max-width:520px;max-height:90vh;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;box-shadow:0 20px 60px #00000080;animation:qc-slide-up .2s ease-out}.qc-modal::-webkit-scrollbar{width:0;height:0}@keyframes qc-slide-up{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.qc-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--border, #333)}.qc-header h2{margin:0;font-size:1.25rem;font-weight:600;color:var(--text, #fff)}.qc-close{background:none;border:none;font-size:1.5rem;color:var(--muted, #888);cursor:pointer;padding:4px 8px;border-radius:4px;transition:all .15s}.qc-close:hover{background:var(--hover, #333);color:var(--text, #fff)}.qc-templates{display:flex;flex-wrap:wrap;gap:8px;padding:16px 24px;background:var(--surface-alt, #16162a);border-bottom:1px solid var(--border, #333);align-items:center}.qc-templates-label{font-size:.85rem;color:#ffffffb8;margin-right:4px}.qc-template-btn{background:var(--primary, #6366f1);color:#fff;border:none;padding:6px 12px;border-radius:20px;font-size:.8rem;cursor:pointer;transition:all .15s}.qc-template-btn:hover{background:var(--primary-hover, #4f46e5);transform:translateY(-1px)}.qc-form{padding:20px 24px;display:flex;flex-direction:column;gap:16px}.qc-field{display:flex;flex-direction:column;gap:6px}.qc-label{font-size:.85rem;font-weight:500;color:#ffffffe6}.qc-input,.qc-textarea,.qc-select{background:var(--input-bg, #0d0d1a);border:1px solid var(--border, #333);border-radius:8px;padding:10px 14px;font-size:.95rem;color:var(--text, #fff);transition:border-color .15s}.qc-input::placeholder,.qc-textarea::placeholder{color:#ffffff6b}.qc-input:focus,.qc-textarea:focus,.qc-select:focus{outline:none;border-color:var(--primary, #6366f1)}.qc-textarea{resize:vertical;min-height:60px}.qc-select{cursor:pointer}.qc-checkbox{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:.9rem;color:#ffffffe6}.qc-checkbox input{width:18px;height:18px;accent-color:var(--primary, #6366f1)}.qc-actions{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid var(--border, #333);background:var(--surface-alt, #16162a)}.qc-btn{padding:10px 20px;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .15s;border:none}.qc-btn.primary{background:var(--primary, #6366f1);color:#fff}.qc-btn.primary:hover:not(:disabled){background:var(--primary-hover, #4f46e5)}.qc-btn.primary:disabled{opacity:.5;cursor:not-allowed}.qc-btn.secondary{background:transparent;color:var(--text-secondary, #ccc);border:1px solid var(--border, #444)}.qc-btn.secondary:hover{background:var(--hover, #333);color:var(--text, #fff)}.qc-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.qc-ai-btn{background:transparent;border:1px solid var(--border, #333);color:var(--text-secondary, #ccc);padding:4px 10px;border-radius:999px;font-size:.75rem;cursor:pointer;transition:all .15s}.qc-ai-btn:hover{border-color:var(--primary, #6366f1);color:var(--text, #fff)}.qc-ai-btn:disabled{opacity:.6;cursor:not-allowed}.qc-error{color:#fca5a5;font-size:.8rem}.aw-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#050a14bf;display:flex;align-items:center;justify-content:center;z-index:1100;animation:aw-fade-in .2s ease-out}@keyframes aw-fade-in{0%{opacity:0}to{opacity:1}}.aw-modal{width:min(980px,94vw);max-height:92vh;display:flex;flex-direction:column;background:#0f172af5;border:1px solid rgba(148,163,184,.25);border-radius:20px;box-shadow:0 24px 60px #0f172a99;overflow:hidden;animation:aw-slide-up .2s ease-out}@keyframes aw-slide-up{0%{transform:translateY(16px);opacity:0}to{transform:translateY(0);opacity:1}}.aw-header{display:flex;justify-content:space-between;gap:16px;padding:20px 24px 12px;border-bottom:1px solid rgba(148,163,184,.2)}.aw-header h2{margin:4px 0 6px;font-size:22px}.aw-header p{margin:0;color:#94a3b8;font-size:13px}.aw-kicker{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#7dd3fc}.aw-close{background:transparent;border:1px solid rgba(148,163,184,.3);color:#e2e8f0;width:34px;height:34px;border-radius:12px;cursor:pointer;font-size:20px;line-height:1;display:grid;place-items:center}.aw-close:hover{border-color:#38bdf899;color:#fff}.aw-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;padding:12px 24px 0}.aw-step{border:1px solid rgba(148,163,184,.2);border-radius:14px;padding:10px 12px;display:flex;align-items:center;gap:10px;color:#94a3b8;background:#0f172a66}.aw-step.active{border-color:#38bdf899;color:#e2e8f0;background:#38bdf81f}.aw-step.done{border-color:#22c55e80;color:#d1fae5;background:#22c55e1f}.aw-step-index{width:26px;height:26px;border-radius:999px;display:grid;place-items:center;font-weight:700;background:#94a3b833;color:inherit}.aw-step.active .aw-step-index{background:#38bdf866}.aw-step.done .aw-step-index{background:#22c55e66}.aw-step-label{font-size:12px;font-weight:600}.aw-body{padding:20px 24px;overflow-y:auto;max-height:58vh}.aw-step-body{display:flex;flex-direction:column;gap:16px}.aw-templates{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}.aw-template-card{background:#0f172a8c;border:1px solid rgba(148,163,184,.25);border-radius:14px;padding:12px 14px;color:#e2e8f0;display:flex;flex-direction:column;gap:6px;text-align:left;cursor:pointer;transition:border-color .15s ease,transform .15s ease}.aw-template-card strong{font-size:14px}.aw-template-card span{font-size:12px;color:#94a3b8}.aw-template-card:hover{border-color:#38bdf899;transform:translateY(-1px)}.aw-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.aw-field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#cbd5e1}.aw-field-wide{grid-column:1 / -1}.aw-input,.aw-textarea,.aw-select{background:#0f172a99;border:1px solid rgba(148,163,184,.25);border-radius:10px;padding:10px 12px;color:inherit;font-size:14px}.aw-textarea{resize:vertical}.aw-toggle{display:flex;align-items:center;gap:10px;font-size:14px;color:#e2e8f0}.aw-toggle input{width:18px;height:18px;accent-color:#38bdf8}.aw-preview{border:1px solid rgba(148,163,184,.25);border-radius:14px;padding:12px 14px;background:#0f172a99;display:flex;flex-direction:column;gap:8px}.aw-preview-title{font-size:12px;color:#7dd3fc;letter-spacing:.12em;text-transform:uppercase}.aw-preview code{font-size:12px;color:#e2e8f0;white-space:pre-wrap}.aw-hint{font-size:12px;color:#94a3b8}.aw-error{padding:10px 12px;border-radius:12px;background:#f871712e;color:#fecaca;border:1px solid rgba(248,113,113,.4);font-size:13px}.aw-footer{display:flex;align-items:center;justify-content:space-between;padding:16px 24px 20px;border-top:1px solid rgba(148,163,184,.2);background:#0f172abf}.aw-footer-right{display:flex;gap:10px}@media (max-width: 720px){.aw-modal{width:96vw}.aw-body{max-height:62vh}.aw-steps{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}}:root[data-theme=light] .aw-modal{background:#fff;color:#0f172a}:root[data-theme=light] .aw-template-card,:root[data-theme=light] .aw-input,:root[data-theme=light] .aw-textarea,:root[data-theme=light] .aw-select,:root[data-theme=light] .aw-preview{background:#f8fafc;color:#0f172a;border:1px solid #e2e8f0}:root[data-theme=light] .aw-step,:root[data-theme=light] .aw-header,:root[data-theme=light] .aw-footer{background:#fff;border-color:#e2e8f0}:root[data-theme=light] .aw-step{color:#64748b}:root[data-theme=light] .aw-preview-title{color:#0284c7}:root[data-theme=light] .aw-close{color:#0f172a;border:1px solid #e2e8f0}:root[data-theme=light] .aw-template-card span,:root[data-theme=light] .aw-hint{color:#64748b}.aw-field-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.aw-error{color:#fca5a5;font-size:12px}.generation-status{margin:8px 0}.generation-progress{display:flex;flex-direction:column;gap:4px}.progress-bar{width:100%;height:4px;background:#0000001a;border-radius:2px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#8b5cf6);border-radius:2px;transition:width .3s ease}.progress-stage{font-size:12px;color:#666;font-style:italic}.generation-error{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#ef44441a;border:1px solid rgba(239,68,68,.2);border-radius:4px;color:#dc2626;font-size:14px}.error-icon{font-size:16px}.error-message{flex:1}.generation-button-container{position:relative}.generation-button{position:relative;transition:all .2s ease}.generation-button.generating{opacity:.8;cursor:not-allowed}.button-generating{display:flex;align-items:center;gap:8px}.spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top:2px solid currentColor;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[data-theme=dark] .progress-bar{background:#ffffff1a}[data-theme=dark] .progress-stage{color:#999}[data-theme=dark] .generation-error{background:#ef444426;border-color:#ef44444d;color:#f87171}.draft-runner-shell{display:flex;flex-direction:column;gap:16px}.draft-runner-hero{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:flex-start;padding:20px;border-radius:16px;border:1px solid rgba(56,189,248,.3);background:radial-gradient(circle at 15% 20%,rgba(56,189,248,.2),transparent 45%),#0f172ab3}.draft-runner-hero h1{margin:8px 0}.draft-runner-actions{display:flex;gap:8px;flex-wrap:wrap}.draft-runner-layout{display:grid;grid-template-columns:minmax(360px,1.2fr) minmax(320px,.8fr);gap:16px}.draft-runner-main,.draft-runner-side{display:flex;flex-direction:column;gap:16px}.draft-runner-card{border-radius:14px;border:1px solid rgba(148,163,184,.25);background:#0f172aa6;padding:14px;box-shadow:0 12px 26px #0f172a4d}.draft-runner-card-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.draft-runner-content{white-space:pre-wrap;line-height:1.6}.draft-runner-choice-list{display:flex;flex-direction:column;gap:10px}.draft-runner-choice{text-align:left;border-radius:12px;border:1px solid rgba(56,189,248,.35);background:#0f172abf;color:inherit;padding:12px;display:flex;flex-direction:column;gap:4px;cursor:pointer}.draft-runner-choice:hover{border-color:#38bdf899}.draft-runner-card pre{margin:0;white-space:pre-wrap;word-break:break-word;font-size:12px;max-height:260px;overflow:auto}.draft-runner-card ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;font-size:13px}.draft-runner-error{border-radius:14px;border:1px solid rgba(248,113,113,.45);background:#7f1d1d40;padding:16px}@media (max-width: 1080px){.draft-runner-layout{grid-template-columns:1fr}}.writer-layout{display:grid!important;grid-template-columns:minmax(260px,360px) minmax(0,1fr)!important;gap:16px;align-items:start}.writer-layout.collapsed{grid-template-columns:1fr!important}.writer-layout.collapsed .writer-editor{grid-column:1 / -1!important;grid-row:1!important;width:100%!important;min-width:0!important}.wizard-shell{display:flex;flex-direction:column;gap:20px}.wizard-layout{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(480px,1.6fr);gap:16px;align-items:start}.wizard-step-list{display:flex;flex-direction:column;gap:10px}.wizard-step{text-align:left;padding:10px 12px;border-radius:12px;border:1px solid rgba(148,163,184,.25);background:#0f172a73;color:inherit;cursor:pointer;transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease;display:block;width:100%}.wizard-step:hover{transform:translateY(-1px);border-color:#94a3b880}.wizard-step.active{border-color:#38bdf899;box-shadow:0 8px 18px #38bdf826}.wizard-step-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px;font-size:11px;color:#94a3b8}.wizard-badge{font-size:11px;padding:2px 8px;border-radius:999px;background:#94a3b833;text-transform:uppercase;letter-spacing:.08em}.wizard-badge.ok{background:#22c55e40}.wizard-badge.warning{background:#fbbf2440}.wizard-badge.error{background:#f8717140}.wizard-alert{border-radius:12px;padding:10px 12px;border:1px solid;font-size:12px}.wizard-alert.warn{border-color:#fbbf2473;background:#fbbf241f;color:#fef9c3}.wizard-alert.error{border-color:#f8717173;background:#f871711f;color:#fecaca}.wizard-json{background:#0f172a99;border:1px solid rgba(148,163,184,.2);border-radius:12px;padding:12px;font-size:12px;max-height:520px;overflow:auto}.wizard-json-edit{width:100%;min-height:320px;font-family:Space Grotesk,Helvetica Neue,sans-serif;color:inherit;resize:vertical}.wizard-checkbox{flex-direction:row;align-items:center;gap:8px}:root[data-theme=light] .wizard-step{background:#fff;border-color:#e2e8f0;color:#0f172a}:root[data-theme=light] .wizard-step-meta{color:#475569}:root[data-theme=light] .wizard-json{background:#f8fafc;color:#0f172a;border-color:#e2e8f0}:root[data-theme=light] .wizard-alert.warn{background:#fffbeb;color:#92400e;border-color:#fcd34d}:root[data-theme=light] .wizard-alert.error{background:#fee2e2;color:#b91c1c;border-color:#fca5a5}@media (max-width: 1100px){.writer-layout{grid-template-columns:1fr!important}.wizard-layout{grid-template-columns:1fr}}.project-guide{border:1px solid rgba(56,189,248,.25);background:#0f172a73}.project-guide-list{display:flex;flex-direction:column;gap:10px}.project-guide-step{border:1px solid rgba(148,163,184,.28);border-radius:12px;padding:12px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#0f172a59}.project-guide-step.done{border-color:#22c55e80;box-shadow:0 8px 20px #22c55e26}.project-guide-step-main{display:flex;flex-direction:column;gap:4px}.project-guide-step-title{font-weight:700}.project-guide-step-note{font-size:13px;color:#94a3b8}.project-guide-step-actions{display:flex;align-items:center;gap:10px}.projects-shell{display:flex;flex-direction:column;gap:14px}.projects-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.projects-header h1{margin:0}.projects-create-card{display:flex;flex-direction:column;gap:10px}.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.projects-card{text-align:left;width:100%;border-radius:14px;border:1px solid rgba(148,163,184,.25);background:#0f172a80;color:inherit;padding:14px;cursor:pointer;display:flex;flex-direction:column;gap:8px;transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease}.projects-title-input{font-size:20px;font-weight:700;line-height:1.25}.projects-card:hover{transform:translateY(-2px);border-color:#38bdf873;box-shadow:0 14px 26px #0f172a59}.projects-card-title{font-size:20px;font-weight:700;line-height:1.25}.projects-card-title-button{padding:0;border:0;background:transparent;justify-content:flex-start;width:fit-content}.projects-card-desc{font-size:13px;color:#94a3b8;line-height:1.45}.projects-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}.projects-empty{text-align:center;padding:20px 10px}.project-detail-shell{display:flex;flex-direction:column;gap:14px}.project-detail-back{align-self:flex-start}.project-detail-hero{display:flex;flex-direction:column;gap:12px}.project-detail-title h1{margin:0 0 6px}.project-editable-title{padding:0;border:0;background:transparent;color:inherit;font-size:40px;font-weight:700;line-height:1.1;text-align:left}.project-inline-edit{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.project-inline-edit .input{min-width:220px;flex:1 1 320px}.project-inline-edit-actions{display:flex;gap:8px;width:100%}.project-graph-inline-edit{flex-direction:column;align-items:stretch}.project-graph-editable-title,.project-graph-editable-description{border:0;padding:0;background:transparent;text-align:left;color:inherit;justify-content:flex-start}.project-graph-editable-title{font-size:20px;font-weight:700}.project-graph-editable-description{color:#94a3b8;line-height:1.45}.project-graph-editable-placeholder{font-style:italic}.project-detail-title p{margin:0}.project-detail-actions{display:flex;flex-wrap:wrap;gap:10px}.project-detail-graphs-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.project-detail-graphs-header h2{margin:0}.project-detail-create-graph{display:flex;flex-direction:column;gap:10px}.project-release-panel{display:flex;flex-direction:column;gap:14px}.project-release-subtitle{margin:6px 0 0;max-width:820px}.project-release-publish{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;align-items:start}.project-release-empty{padding:6px 0}.project-release-list{display:grid;gap:12px}.project-release-card{border:1px solid rgba(148,163,184,.18);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:12px;background:#0f172a47}.project-release-card-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.project-release-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.project-release-title-row h3{margin:0}.project-release-meta{display:flex;flex-wrap:wrap;gap:8px 12px;font-size:12px;color:#94a3b8;margin-top:6px}.project-release-package{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.project-release-package code{padding:4px 8px;border-radius:999px;background:#0f172a8f;border:1px solid rgba(148,163,184,.2);font-size:12px}.project-release-notes{margin:0;line-height:1.5}.project-release-assigned{display:flex;flex-direction:column;gap:8px}.project-release-assigned-list{display:flex;flex-wrap:wrap;gap:8px}.project-release-access{border-top:1px solid rgba(148,163,184,.14);padding-top:12px;display:flex;flex-direction:column;gap:10px}.project-release-access-header{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.project-release-access-header .input{min-width:240px;flex:1 1 280px}.project-release-candidates{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;max-height:220px;overflow-y:auto}.project-release-cohorts-field{gap:6px}.project-release-candidate{display:flex;gap:10px;align-items:flex-start;border:1px solid rgba(148,163,184,.14);border-radius:12px;padding:10px;background:#0f172a29}.project-release-candidate input{margin-top:2px}.project-release-candidate span{display:flex;flex-direction:column;gap:2px}.project-release-candidate small{color:#94a3b8}.project-detail-graphs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px}.project-detail-graph-card{display:flex;flex-direction:column;gap:10px}.project-detail-graph-card h3,.project-detail-graph-card p{margin:0}.project-detail-graph-meta{font-size:12px;color:#94a3b8}.project-detail-graph-actions{display:flex;flex-wrap:wrap;gap:8px}.project-detail-graph-actions .primary,.project-detail-graph-actions .secondary,.project-detail-graph-actions .ghost{padding:8px 12px;border-radius:10px;font-size:13px}.project-detail-empty{text-align:center;padding:20px 10px}.project-voiceover-shell{display:flex;flex-direction:column;gap:14px}.project-voiceover-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.project-voiceover-actions{display:flex;gap:8px;flex-wrap:wrap}.project-voiceover-summary{display:flex;flex-wrap:wrap;gap:8px}.project-voiceover-controls{display:flex;flex-direction:column;gap:10px}.project-voiceover-batch-progress{border:1px solid rgba(56,189,248,.34);border-radius:12px;padding:10px;background:#0f172a73;display:flex;flex-direction:column;gap:8px}.project-voiceover-batch-counters{display:flex;flex-wrap:wrap;gap:8px}.project-voiceover-batch-bar{width:100%;height:8px;border-radius:999px;background:#94a3b842;overflow:hidden}.project-voiceover-batch-bar-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#38bdf8,#22c55e);transition:width .18s ease}.project-voiceover-characters{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}.project-voiceover-group,.project-voiceover-lines{display:flex;flex-direction:column;gap:10px}.project-voiceover-line{border:1px solid rgba(148,163,184,.24);border-radius:12px;padding:12px;background:#02061759}.project-voiceover-line-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.project-voiceover-line-head-main{display:inline-flex;align-items:center;gap:8px}.project-voiceover-line-head-text{display:flex;flex-direction:column;gap:2px}.project-voiceover-line-status{width:18px;height:18px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;line-height:1}.project-voiceover-line-status.approved{color:#22c55e;background:#22c55e26}.project-voiceover-line-status.pending{color:#facc15;background:#facc152e}.project-voiceover-line-status.missing{color:#f87171;background:#f8717133}.project-voiceover-line-speaker{font-size:12px;color:#93c5fd;text-transform:uppercase;letter-spacing:.08em}.project-voiceover-line-text{margin:10px 0;white-space:pre-wrap}.project-voiceover-variants{display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding-bottom:4px}.project-voiceover-variant{flex:0 0 132px;border:1px solid rgba(148,163,184,.2);border-radius:10px;padding:8px;background:#0f172a73;display:flex;flex-direction:column;align-items:center;gap:8px}.project-voiceover-variant.approved{border-color:#22c55e80}.project-voiceover-variant.dimmed{opacity:.45}.project-voiceover-variant-player{display:flex;flex-direction:column;align-items:center;gap:6px}.project-voiceover-variant-ring{--progress-angle: 0deg;position:relative;width:42px;height:42px;border:none;border-radius:999px;padding:0;cursor:pointer;background:conic-gradient(rgba(56,189,248,.95) var(--progress-angle),rgba(148,163,184,.25) var(--progress-angle));display:inline-flex;align-items:center;justify-content:center}.project-voiceover-variant-ring:before{content:"";position:absolute;top:4px;right:4px;bottom:4px;left:4px;border-radius:999px;border:1px solid rgba(148,163,184,.28);background:#020617e0}.project-voiceover-variant-ring>span{position:relative;z-index:1;font-size:12px;line-height:1;color:#e2e8f0}.project-voiceover-variant-ring.playing>span{color:#bbf7d0}.project-voiceover-variant-meta{margin-top:2px;display:flex;justify-content:center;align-items:center;width:100%}:root[data-theme=light] .project-guide{border-color:#93c5fd;background:#fff}:root[data-theme=light] .project-guide-step,:root[data-theme=light] .project-voiceover-line,:root[data-theme=light] .project-voiceover-variant{background:#f8fafc;border-color:#dbeafe}:root[data-theme=light] .project-voiceover-variant-ring:before{background:#fff;border-color:#cbd5e1}:root[data-theme=light] .project-voiceover-variant-ring>span{color:#0f172a}:root[data-theme=light] .projects-card{background:#fff;border-color:#dbeafe;box-shadow:0 10px 20px #0f172a14}:root[data-theme=light] .projects-card-desc,:root[data-theme=light] .project-detail-graph-meta{color:#475569}:root[data-theme=light] .project-voiceover-batch-progress{background:#f8fafc;border-color:#93c5fd}:root[data-theme=light] .project-guide-step-note{color:#475569}:root[data-theme=light] .project-voiceover-line-speaker{color:#1d4ed8}@media (max-width: 900px){.project-guide-step,.project-voiceover-line-head,.project-voiceover-header{flex-direction:column;align-items:flex-start}.project-voiceover-variant-meta{justify-content:center;align-items:center}}:root{font-family:Space Grotesk,Helvetica Neue,sans-serif;background:radial-gradient(circle at 20% 20%,#0f172a,#0b1020 40%,#070a16);color:#e5e7eb;line-height:1.6}:root[data-theme=light]{background:#f8fafc;color:#0f172a}:root[data-theme=light] .card,:root[data-theme=light] .p-4.border.rounded,:root[data-theme=light] div.p-4.border.rounded{background:#fff;border:1px solid #e2e8f0;box-shadow:0 10px 26px #0f172a14;border-radius:12px}:root[data-theme=light] .section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}:root[data-theme=light] .grid>div,:root[data-theme=light] div.grid>div{background:#fff;border:1px solid #d9e2ec;border-radius:12px;box-shadow:0 8px 20px #0f172a0f;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}:root[data-theme=light] .grid>div:hover,:root[data-theme=light] div.grid>div:hover{transform:translateY(-2px);border-color:#94a3b8;box-shadow:0 14px 30px #0f172a1f}:root[data-theme=light] h2,:root[data-theme=light] h3,:root[data-theme=light] h4{border-bottom:1px solid #e2e8f0;padding-bottom:6px;margin-bottom:10px}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh;transition:background .3s ease,color .3s ease}.page{max-width:1200px;margin:0 auto;padding:32px 24px 64px}.page.page--workspace{max-width:none;width:100%;padding:20px 16px 32px}.page.page--workspace>main{width:100%}.hero{display:grid;grid-template-columns:2fr 1fr;gap:24px;align-items:center;margin-bottom:32px}.hero-copy h1{margin:8px 0 12px;font-size:36px;line-height:1.2}.hero-copy .lede{color:#cbd5e1;max-width:640px}.hero-actions{display:flex;gap:12px;margin:16px 0}.hero-panel{background:linear-gradient(180deg,#3b82f61f,#3b82f60a);border:1px solid rgba(59,130,246,.4);border-radius:16px;padding:16px 18px;display:flex;flex-direction:column;gap:12px}.hero-panel .badge{background:#3b82f633;padding:6px 10px;border-radius:999px;display:inline-block;font-weight:600;letter-spacing:.02em}.hero-panel ul{list-style:none;padding:0;margin:12px 0 0}.hero-panel li{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.08)}.pipeline{display:flex;flex-direction:column;gap:10px}.pipeline-status{padding:10px 12px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:12px;font-size:14px}.error{color:#f87171;font-weight:600}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.quest-card{background:#ffffff05;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:18px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 12px 30px #00000059}.quest-card header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.quest-meta h3{margin:4px 0}.scene-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.scene-card{border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:12px;background:#ffffff05;min-height:120px}.scene-card.add{color:#94a3b8;display:grid;place-items:center;font-weight:600}.scene-status{display:inline-block;padding:4px 10px;border-radius:999px;text-transform:uppercase;letter-spacing:.05em;font-size:12px}.scene-title{font-weight:700;margin-top:8px}.scene-prompt{color:#cbd5e1;font-size:14px}.pill{display:inline-block;padding:6px 10px;border-radius:999px;background:#ffffff0f;color:#cbd5e1;font-weight:600;letter-spacing:.02em}.pill.strong{background:linear-gradient(90deg,#7c3aed,#22d3ee);color:#0b1020}.primary,.secondary,.ghost{border:none;border-radius:12px;padding:12px 14px;cursor:pointer;font-weight:700;letter-spacing:.02em;transition:opacity .2s ease}.primary{background:linear-gradient(90deg,#a855f7,#22d3ee);color:#0b1020}.secondary{background:transparent;color:#e5e7eb;border:1px solid rgba(255,255,255,.16)}.primary.ghost{background:#ffffff14;color:#e5e7eb}.hint,.muted{color:#94a3b8}.ok{color:#10b981;font-weight:700}@media (max-width: 900px){.hero{grid-template-columns:1fr}}.topbar{display:flex;align-items:center;gap:20px;padding:12px 0 18px}.brand{color:#e5e7eb;font-weight:800;text-decoration:none;letter-spacing:.02em}.nav{display:flex;flex:1 1 auto;flex-wrap:wrap;gap:10px;align-items:center}.nav a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border-radius:999px;color:#cbd5e1;text-decoration:none;font-weight:600;transition:background-color .15s ease,color .15s ease}.nav a:hover{background:#ffffff14;color:#fff}.nav a.active{background:#020617eb;color:#fff}.topbar-right{display:flex;align-items:center;gap:12px;flex-shrink:0}.topbar-logout{padding:10px 14px}.layout-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.stack{display:flex;flex-direction:column;gap:16px}.card{background:#ffffff0a;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:16px;box-shadow:0 8px 20px #00000040}.card-header{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:12px}.card.error{border-color:#f8717199;color:#fecdd3}.input{width:100%;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);color:#e5e7eb;border-radius:10px;padding:10px 12px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.field.two-cols{flex-direction:row;gap:12px}.size-inputs{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center}.actions{display:flex;justify-content:flex-end}.status-bar{display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;background:#ffffff0a;border:1px solid rgba(255,255,255,.07)}.gen-overlay{position:fixed;top:16px;right:16px;z-index:9999;width:min(360px,calc(100vw - 32px));display:flex;flex-direction:column;gap:10px;pointer-events:none}.gen-overlay-card{padding:12px;pointer-events:auto}.gen-overlay-summary{padding:10px 12px;pointer-events:auto}.gen-overlay-summary-row{display:flex;align-items:center;gap:10px}.gen-overlay-summary-pill{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;background:#60a5fa33;font-size:13px}.gen-overlay-summary-text{font-size:13px;font-weight:700}.gen-overlay-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.gen-overlay-main{min-width:0;flex:1}.gen-overlay-title{font-weight:800;font-size:13px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gen-overlay-subtitle{margin-top:2px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gen-overlay-percent{font-size:12px;font-weight:800;white-space:nowrap}.gen-overlay-bar{margin-top:10px;height:8px;border-radius:999px;background:#ffffff1a;overflow:hidden}.gen-overlay-bar-fill{height:100%;background:#60a5faf2;width:0%}.gen-overlay-stage{margin-top:6px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:root[data-theme=light] .gen-overlay-bar{background:#0f172a1f}:root[data-theme=light] .gen-overlay-bar-fill{background:#2563ebe6}.grid.results-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.result-card{background:#ffffff05;border:1px solid rgba(255,255,255,.06);border-radius:10px;padding:8px}.result-thumb{height:180px;overflow:hidden;border-radius:8px;background:#0f172a;display:flex;align-items:center;justify-content:center}.result-thumb img{width:100%;height:100%;object-fit:cover}.pagination{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}.task-list{list-style:none;padding:0;margin:0}.task-item{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06);cursor:pointer}.task-id{font-weight:600;font-size:14px}.small{font-size:12px}.auth-page{min-height:80vh;display:flex;align-items:center;justify-content:center}.auth-card{width:360px;background:#ffffff0a;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:12px}.auth-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2200;display:grid;place-items:center;background:#020617a6;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.auth-modal-card{width:min(420px,92vw);background:#0f172af5;border:1px solid rgba(148,163,184,.28);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:12px}.auth-modal-card label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#cbd5e1}.auth-modal-card input{padding:10px 12px;border-radius:10px;border:1px solid rgba(148,163,184,.25);background:#0f172a8c;color:inherit}.auth-modal-actions{display:flex;justify-content:flex-end;gap:8px}.ghost{background:transparent;color:inherit;border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:8px 10px}:root[data-theme=light] .card{background:#fff;border:1px solid #e2e8f0;color:#0f172a}:root[data-theme=light] .page{color:#0f172a}:root[data-theme=light] .primary.ghost{background:#e2e8f0;color:#0f172a}:root[data-theme=light] .secondary{color:#0f172a;border-color:#cbd5e1}:root[data-theme=light] .input{background:#fff;color:#0f172a;border:1px solid #e2e8f0}:root[data-theme=light] .input::placeholder{color:#64748b}:root[data-theme=light] .nav a{color:#0f172a}:root[data-theme=light] .nav a:hover{background:#e2e8f0}:root[data-theme=light] .nav a.active{background:#0f172a;color:#fff}:root[data-theme=light] .muted{color:#475569}.card,.p-4.border.rounded,div.p-4.border.rounded{border:1px solid #e2e8f0;box-shadow:0 8px 24px #0f172a14;border-radius:10px}.section{border:1px solid #e2e8f0;border-radius:12px;padding:20px}.grid>div,div.grid>div{border:1px solid #d9e2ec;border-radius:12px;box-shadow:0 6px 18px #0f172a0f;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}.grid>div:hover,div.grid>div:hover{transform:translateY(-2px);border-color:#94a3b8;box-shadow:0 12px 28px #0f172a1f}.p-4.border.rounded.h-96,.p-4.border.rounded.space-y-4{border:1px solid #e2e8f0}button{border-radius:8px}button.bg-blue-600{box-shadow:0 6px 16px #2563eb3d}button.bg-green-600{box-shadow:0 6px 16px #16a34a3d}h2,h3,h4{border-bottom:1px solid #e2e8f0;padding-bottom:6px;margin-bottom:10px}.scene-editor-panel{border:1px solid #e2e8f0;border-radius:12px;padding:16px}.scene-node{border:1px solid rgba(148,163,184,.6);border-left-width:4px;border-radius:10px;padding:10px 12px;background:linear-gradient(135deg,#3b82f61a,#0f172a66);color:#e2e8f0;box-shadow:0 6px 18px #00000040;cursor:pointer}.scene-node.story{border-left-color:#22c55e}.scene-node.decision{border-left-color:#f59e0b}.scene-node.selected{outline:2px solid #38bdf8}.scene-node__header{display:flex;justify-content:space-between;align-items:center;gap:8px}.scene-node__title{font-weight:700}.scene-node__badge{font-size:12px;padding:3px 8px;border-radius:999px;background:#ffffff1f;border:1px solid rgba(255,255,255,.15)}.scene-node__content{margin-top:6px;font-size:12px;color:#cbd5e1}.world-shell{display:flex;flex-direction:column;gap:24px}.world-hero{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;align-items:center;padding:24px;border-radius:18px;border:1px solid rgba(56,189,248,.35);background:radial-gradient(circle at 10% 10%,rgba(56,189,248,.18),transparent 45%),radial-gradient(circle at 90% 20%,rgba(34,197,94,.18),transparent 45%),#0f172aa6;box-shadow:0 18px 40px #0f172a66}.world-hero h1{margin:6px 0;font-size:32px}.world-kicker{text-transform:uppercase;letter-spacing:.2em;font-size:12px;color:#7dd3fc}.world-mode{margin-top:12px;display:grid;gap:8px;max-width:360px}.world-mode label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#cbd5e1}.world-mode select{padding:8px 10px;border-radius:10px;border:1px solid rgba(148,163,184,.25);background:#0f172a99;color:inherit}.world-stats{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:12px}.world-stat-card{padding:12px 14px;border-radius:14px;background:#0f172ab3;border:1px solid rgba(148,163,184,.3)}.world-stat-label{font-size:12px;color:#cbd5f5}.world-stat-value{font-size:20px;font-weight:700}.world-main{display:grid;grid-template-columns:250px 1fr;gap:16px}.world-sidebar{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:16px;background:#0f172a99;border:1px solid rgba(148,163,184,.2);height:fit-content}.world-tab{text-align:left;padding:12px 14px;border-radius:12px;background:transparent;color:inherit;border:1px solid transparent;display:flex;flex-direction:column;gap:6px}.world-tab-note{font-size:11px;color:#94a3b8}.world-tab.active{border-color:#38bdf880;background:#38bdf81f}.world-canvas{display:flex;flex-direction:column;gap:16px}.world-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.world-panel{background:#0f172ab3;border:1px solid rgba(148,163,184,.25);border-radius:16px;padding:16px;box-shadow:0 12px 26px #0f172a59}.world-panel-wide{max-width:100%}.world-panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.world-panel-actions{display:flex;gap:8px;flex-wrap:wrap}.world-list{display:flex;flex-direction:column;gap:12px;max-height:520px;overflow-y:auto;padding-right:4px}.world-card{padding:12px 14px;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a73;cursor:pointer;transition:transform .12s ease,border-color .12s ease}.world-thumb{width:100%;height:120px;object-fit:cover;border-radius:10px;margin-bottom:10px;border:1px solid rgba(148,163,184,.2)}.world-thumb-wrap{position:relative;width:100%;margin-bottom:10px}.world-thumb-wrap .world-thumb{margin-bottom:0}.world-thumb-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;gap:6px;border-radius:10px;background:#0f172aa6;border:1px solid rgba(148,163,184,.3);font-size:12px;color:#e2e8f0;text-align:center}.world-spinner{width:28px;height:28px;border-radius:50%;border:2px solid rgba(148,163,184,.35);border-top-color:#60a5faf2;animation:spin .9s linear infinite}.world-thumb.placeholder{display:grid;place-items:center;color:#94a3b8;font-size:12px;background:#0f172a99}.world-card.selected{border-color:#38bdf8b3;transform:translateY(-2px)}.world-card-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}.world-chip{font-size:11px;padding:2px 8px;border-radius:999px;background:#94a3b833;text-transform:uppercase;letter-spacing:.08em}.world-meta{margin-top:6px;font-size:12px;color:#94a3b8}.world-form{display:flex;flex-direction:column;gap:12px}.world-preview{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:12px;margin-bottom:12px;border-radius:14px;border:1px solid rgba(148,163,184,.2);background:#0f172a80}.world-preview img{width:180px;height:120px;object-fit:cover;border-radius:12px;border:1px solid rgba(148,163,184,.2)}.world-preview-placeholder{width:180px;height:120px;display:grid;place-items:center;border-radius:12px;border:1px dashed rgba(148,163,184,.3);color:#94a3b8;font-size:12px;background:#0f172a80}.world-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.world-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#cbd5e1}.world-form input,.world-form textarea,.world-form select{padding:8px 10px;border-radius:10px;border:1px solid rgba(148,163,184,.25);background:#0f172a99;color:inherit}.world-actions{display:flex;gap:10px;margin-top:6px}.world-error{color:#fca5a5;font-size:12px}.world-checkbox{flex-direction:row;align-items:center;gap:8px}button.danger{border-color:#f8717199;color:#fca5a5}.sequence-player{display:flex;flex-direction:column;gap:12px;width:100%;max-width:760px;margin:0 auto;border-radius:16px;border:1px solid rgba(148,163,184,.25);background:#0f172a99;padding:12px}.sequence-stage{display:flex;flex-direction:column;gap:12px}.sequence-image{position:relative;border-radius:12px;overflow:hidden;background:#020617e6;border:1px solid rgba(148,163,184,.2)}.sequence-image img{width:100%;height:min(60vh,700px);object-fit:contain;display:block}.sequence-placeholder{height:min(60vh,700px);min-height:300px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:14px;text-align:center;padding:16px}.sequence-dialogue-zone{display:flex;flex-direction:column;gap:10px;min-width:0;min-height:0;max-height:min(40vh,420px);overflow:hidden;border-radius:12px;border:1px solid rgba(148,163,184,.24);background:linear-gradient(180deg,#1e293b80,#0f172adb);padding:12px}.sequence-exposition-panel{border-radius:10px;border:1px solid rgba(56,189,248,.35);background:#0206179e;padding:9px 11px;font-size:13px;line-height:1.45;color:#e2e8f0}.sequence-exposition-panel p{margin:0}.sequence-dialogue-flow{display:flex;flex-direction:column;gap:9px;overflow-y:auto;min-height:0}.sequence-narrative-empty{color:#94a3b8;font-size:13px;line-height:1.45}.sequence-slide-meta{margin-top:auto;font-size:12px;color:#94a3b8;border-top:1px solid rgba(148,163,184,.18);padding-top:8px}.sequence-label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#cbd5e1;margin-bottom:4px}.sequence-title{font-weight:700;font-size:17px;line-height:1.35;background:#1e293bbf;border:1px solid rgba(148,163,184,.2);padding:8px 10px;border-radius:10px}.sequence-dialogue-container{display:flex;align-items:flex-start;gap:8px;width:100%}.sequence-dialogue-container.right{flex-direction:row-reverse}.sequence-portrait{width:44px;height:44px;flex-shrink:0;border-radius:50%;border:1px solid rgba(148,163,184,.35);background:radial-gradient(circle at 30% 20%,#3b82f6a6,#1e293bf2);display:flex;align-items:center;justify-content:center;color:#f8fafc;font-size:11px;font-weight:700;letter-spacing:.02em;overflow:hidden}.sequence-portrait img{width:100%;height:100%;object-fit:cover;display:block}.sequence-dialogue-bubble{max-width:calc(100% - 56px);width:fit-content;border-radius:12px;border:1px solid rgba(148,163,184,.24);background:#0f172ad6;padding:8px 10px}.sequence-dialogue-container.left .sequence-dialogue-bubble{border-top-left-radius:4px}.sequence-dialogue-container.right .sequence-dialogue-bubble{border-top-right-radius:4px}.sequence-dialogue-container.thought .sequence-dialogue-bubble{border-color:#a5b4fc8c;box-shadow:0 0 0 1px #a5b4fc33 inset}.sequence-dialogue-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.sequence-dialogue-meta-right{display:inline-flex;align-items:center;gap:6px}.sequence-speaker{font-size:11px;color:#bfdbfe;font-weight:600;letter-spacing:.01em}.sequence-content-indicator{width:18px;height:18px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;line-height:1}.sequence-content-indicator.speech{color:#38bdf8;background:#38bdf826}.sequence-content-indicator.thought{color:#c4b5fd;background:#a5b4fc33}.sequence-line-audio-btn{width:20px;height:20px;border-radius:999px;border:1px solid rgba(56,189,248,.45);background:#020617b3;color:#bae6fd;display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:10px;padding:0;cursor:pointer}.sequence-line-audio-btn.playing{border-color:#22c55e8c;color:#bbf7d0}.sequence-dialogue-text{font-size:14px;line-height:1.5;color:#f8fafc}.sequence-controls{display:flex;align-items:center;justify-content:space-between;gap:8px}.sequence-audio{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:8px 10px;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a80;font-size:12px;color:#cbd5e1}.sequence-audio-toggle{display:inline-flex;align-items:center;gap:6px}.sequence-audio-error{color:#fca5a5;font-size:12px}.sequence-counter{font-size:12px;color:#94a3b8}.sequence-choices{display:flex;flex-direction:column;gap:10px}.sequence-choices-title{font-size:13px;color:#e2e8f0}.sequence-choice-list{display:flex;flex-wrap:wrap;gap:8px}.sequence-anim-fade .sequence-dialogue-zone{animation:sequenceDockFade .45s ease-out}.sequence-anim-rise .sequence-dialogue-zone{animation:sequenceDockRise .55s ease-out}.sequence-anim-float .sequence-dialogue-zone{animation:sequenceDockFloat 1s ease-in-out}@keyframes sequenceDockFade{0%{opacity:0;transform:translateY(-10px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes sequenceDockRise{0%{opacity:0;transform:translateY(-18px)}to{opacity:1;transform:translateY(0)}}@keyframes sequenceDockFloat{0%{transform:translateY(-10px);opacity:.72}50%{transform:translateY(2px);opacity:1}to{transform:translateY(0);opacity:.9}}@media (max-width: 1100px){.sequence-dialogue-zone{max-height:42vh}}@media (max-width: 640px){.sequence-player{padding:10px;gap:10px}.sequence-title{font-size:15px}.sequence-image img{height:min(52vh,520px)}.sequence-placeholder{height:min(52vh,520px);min-height:220px}.sequence-portrait{width:36px;height:36px;font-size:10px}.sequence-dialogue-bubble{max-width:calc(100% - 44px);padding:8px 9px}.sequence-controls{gap:6px}}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 960px){.world-main{grid-template-columns:1fr}.world-stats{grid-template-columns:repeat(2,minmax(120px,1fr))}}:root[data-theme=light] .world-hero{background:radial-gradient(circle at 10% 10%,rgba(14,165,233,.2),transparent 45%),radial-gradient(circle at 90% 20%,rgba(34,197,94,.18),transparent 45%),#fff;color:#0f172a}:root[data-theme=light] .world-panel,:root[data-theme=light] .world-sidebar,:root[data-theme=light] .world-card,:root[data-theme=light] .world-stat-card{background:#fff;color:#0f172a;border:1px solid #e2e8f0}:root[data-theme=light] .world-form input,:root[data-theme=light] .world-form textarea,:root[data-theme=light] .world-form select{background:#f8fafc;color:#0f172a;border:1px solid #e2e8f0}:root[data-theme=light] .world-preview,:root[data-theme=light] .world-thumb.placeholder,:root[data-theme=light] .world-preview-placeholder{background:#f8fafc;color:#475569;border:1px solid #e2e8f0}:root[data-theme=light] .world-tab-note,:root[data-theme=light] .world-meta{color:#475569}:root[data-theme=light] .world-mode label{color:#334155}:root[data-theme=light] .world-mode select{background:#f8fafc;color:#0f172a;border:1px solid #e2e8f0}:root[data-theme=light] .scene-node{background:#fff;color:#0f172a;border:1px solid #e2e8f0;box-shadow:0 8px 18px #0f172a14}:root[data-theme=light] .scene-node__badge{background:#e2e8f0;color:#0f172a;border:none}:root[data-theme=light] .scene-node__content{color:#475569}.studio-shell{display:flex;flex-direction:column;gap:24px}.studio-hero{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;align-items:center;padding:28px;border-radius:20px;border:1px solid rgba(34,211,238,.35);background:radial-gradient(circle at 20% 20%,rgba(34,211,238,.22),transparent 45%),radial-gradient(circle at 90% 30%,rgba(251,146,60,.25),transparent 50%),#0f172ab3;box-shadow:0 18px 36px #0f172a73}.studio-kicker{text-transform:uppercase;letter-spacing:.3em;font-size:11px;color:#7dd3fc}.studio-hero h1{margin:8px 0 12px;font-size:34px}.studio-badges{display:flex;gap:8px;flex-wrap:wrap}.studio-chip,.studio-pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;background:#94a3b833}.studio-hero-stats{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:12px}.studio-hero-stats div{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:14px;border:1px solid rgba(148,163,184,.25);background:#0f172a99}.studio-hero-stats strong{font-size:22px}.studio-layout{display:grid;grid-template-columns:minmax(260px,1fr) minmax(320px,1.2fr) minmax(260px,.9fr);gap:18px;align-items:start}.studio-column{display:flex;flex-direction:column;gap:18px}.studio-panel{background:#0f172abf;border:1px solid rgba(148,163,184,.25);border-radius:16px;padding:16px;box-shadow:0 10px 24px #03071266}.studio-shell .primary,.graph-shell .primary{background:linear-gradient(90deg,#fb923c,#22d3ee);color:#0b1020}.studio-shell .secondary,.graph-shell .secondary{border:1px solid rgba(148,163,184,.35)}.graph-view-toggle{display:inline-flex;gap:6px;padding:4px;border-radius:999px;border:1px solid rgba(148,163,184,.25);background:#0f172a99}.graph-toggle{border:none;padding:6px 12px;border-radius:999px;background:transparent;color:#cbd5e1;cursor:pointer;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.graph-toggle.active{background:#38bdf840;color:#e2e8f0}.studio-panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.studio-panel-header h2{margin:0;font-size:18px}.studio-form{display:flex;flex-direction:column;gap:12px}.studio-field{display:flex;flex-direction:column;gap:6px;font-size:13px}.studio-input,.studio-textarea,.studio-select{width:100%;border-radius:12px;border:1px solid rgba(148,163,184,.25);background:#0f172a99;color:inherit;padding:10px 12px}.studio-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.studio-actions{display:flex;gap:10px;justify-content:flex-end}.studio-checkbox{display:flex;align-items:center;gap:8px;font-size:13px}.studio-error{color:#fca5a5;font-weight:600;margin-bottom:8px}.studio-beat-list{display:flex;flex-direction:column;gap:10px;max-height:240px;overflow-y:auto;padding-right:4px;margin-bottom:12px}.studio-beat-card{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a8c}.studio-beat-main{background:transparent;border:none;color:inherit;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:4px}.studio-character-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:12px}.studio-character-card{border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a8c;padding:10px 12px;text-align:left;cursor:pointer;color:inherit;display:flex;flex-direction:column;gap:6px}.studio-character-card p{margin:0;color:#cbd5e1;font-size:12px}.studio-character-card.selected{border-color:#38bdf8cc;box-shadow:0 10px 22px #38bdf833}.studio-character-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.studio-cast{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}.studio-label{font-size:12px;text-transform:uppercase;letter-spacing:.18em;color:#94a3b8}.studio-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.studio-meta div{border-radius:12px;border:1px solid rgba(148,163,184,.2);padding:8px 10px;background:#0f172a80;display:flex;flex-direction:column;gap:4px;font-size:12px}.graph-shell{display:flex;flex-direction:column;gap:24px}.graph-loading{padding:32px}.graph-hero{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;align-items:center;padding:24px;border-radius:18px;border:1px solid rgba(248,113,113,.25);background:radial-gradient(circle at 15% 20%,rgba(248,113,113,.2),transparent 45%),radial-gradient(circle at 85% 20%,rgba(34,197,94,.18),transparent 50%),#0f172ab3;box-shadow:0 16px 34px #0f172a73}.graph-back{background:transparent;border:none;color:#bae6fd;cursor:pointer;font-weight:600;margin-bottom:8px}.graph-hero h1{margin:4px 0 8px}.graph-hero-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.graph-stat{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a8c;min-width:110px}.graph-layout{display:grid;grid-template-columns:minmax(520px,1fr) minmax(280px,360px);gap:16px;align-items:start}.graph-layout.collapsed{grid-template-columns:1fr}.graph-layout.collapsed .graph-sidebar,.graph-layout.collapsed .graph-inspector{display:none}.graph-stage{grid-column:1 / 2;grid-row:1}.graph-sidebar,.graph-inspector{grid-column:2 / 3}.graph-sidebar{grid-row:1}.graph-inspector{grid-row:2}@media (max-width: 1100px){.graph-layout{grid-template-columns:1fr}.graph-stage,.graph-sidebar,.graph-inspector{grid-column:1 / -1;grid-row:auto}}.graph-sidebar,.graph-inspector{display:flex;flex-direction:column;gap:16px}.graph-panel{background:#0f172abf;border:1px solid rgba(148,163,184,.25);border-radius:16px;padding:14px;box-shadow:0 10px 22px #03071266}.graph-panel-tight{padding:12px}.graph-panel-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.graph-editor-panel{display:flex;flex-direction:column;gap:14px}.graph-panel-scroll{max-height:580px;overflow-y:auto}.graph-input,.graph-textarea,.graph-select{width:100%;border-radius:12px;border:1px solid rgba(148,163,184,.25);background:#0f172a99;color:inherit;padding:10px 12px}.graph-field{display:flex;flex-direction:column;gap:6px;font-size:13px}.graph-form{display:flex;flex-direction:column;gap:12px}.graph-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.graph-list{display:flex;flex-direction:column;gap:10px;max-height:360px;overflow-y:auto;padding-right:4px}.graph-item{text-align:left;padding:10px 12px;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a8c;color:inherit;cursor:pointer}.graph-item.selected{border-color:#f87171b3;box-shadow:0 10px 22px #f8717133}.graph-item-header{display:flex;justify-content:space-between;align-items:center;gap:8px}.graph-item-meta{font-size:12px;color:#94a3b8;margin-top:4px}.graph-item p{margin:6px 0 0;font-size:12px;color:#cbd5e1}.graph-filter{display:flex;gap:6px;margin:10px 0}.graph-filter-btn{background:#0f172a99;border:1px solid rgba(148,163,184,.2);color:inherit;border-radius:999px;padding:4px 10px;cursor:pointer;font-size:12px}.graph-filter-btn.active{border-color:#38bdf8b3;background:#38bdf81f}.graph-radio{display:flex;gap:12px;font-size:13px}.graph-stage{display:flex;flex-direction:column;gap:12px}.graph-stage-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.graph-stage-actions{display:flex;gap:8px}.graph-canvas{height:620px;border-radius:16px;border:1px solid rgba(148,163,184,.25);overflow:hidden;background:#0f172a99}.graph-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}.graph-pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;background:#94a3b833}.graph-pill.danger{background:#f8717140}.graph-pill.warn{background:#fbbf2440}.graph-inline-list{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}.graph-label{font-size:12px;color:#94a3b8;text-transform:uppercase;letter-spacing:.1em}.graph-chip{padding:4px 8px;border-radius:999px;background:#94a3b82e;font-size:11px}.graph-section{display:flex;flex-direction:column;gap:10px}.graph-section-title{font-size:12px;text-transform:uppercase;letter-spacing:.18em;color:#94a3b8}.graph-tag-grid{display:flex;flex-wrap:wrap;gap:8px}.graph-tag{display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;border:1px solid rgba(148,163,184,.2);background:#0f172a80;font-size:12px;cursor:pointer}.graph-tag.active{border-color:#22c55e99;background:#22c55e26}.graph-tag input{accent-color:#22c55e}.graph-error{color:#fca5a5;font-size:12px}.graph-prompt{display:flex;flex-direction:column;gap:8px;font-size:13px}.graph-prompt strong{display:block;margin-bottom:2px}.graph-code{background:#0f172a99;border:1px solid rgba(148,163,184,.2);border-radius:10px;padding:8px;font-size:11px;overflow-x:auto}.graph-validation-summary{display:flex;gap:8px;flex-wrap:wrap}.graph-validation-list{margin-top:10px;display:flex;flex-direction:column;gap:8px}.graph-issue{display:flex;flex-direction:column;gap:4px;border-radius:12px;border:1px solid rgba(148,163,184,.2);padding:8px 10px;background:#0f172a8c;font-size:12px}.graph-issue.error{border-color:#f8717199}.graph-issue.warning{border-color:#fbbf2499}.graph-image-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.graph-image-card{border-radius:12px;border:1px solid rgba(148,163,184,.2);overflow:hidden;background:#0f172a8c}.graph-image-card img{width:100%;height:140px;object-fit:cover}.graph-image-card.approved{border-color:#22c55e99}.writer-outline,.writer-editor,.writer-inspector{display:flex;flex-direction:column;gap:16px}.writer-panel{background:#0f172ac7;border:1px solid rgba(148,163,184,.25);border-radius:16px;padding:14px;box-shadow:0 10px 22px #03071259}.writer-panel-primary{border-color:#38bdf866}.writer-panel-scroll{max-height:560px;overflow-y:auto}.writer-panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.writer-panel-actions{display:flex;flex-wrap:wrap;gap:8px}.writer-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.writer-pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;background:#38bdf833}.writer-input,.writer-textarea,.writer-select{width:100%;border-radius:12px;border:1px solid rgba(148,163,184,.25);background:#0f172a99;color:inherit;padding:10px 12px}.writer-textarea{resize:vertical}.writer-textarea-long{min-height:220px}.writer-form{display:flex;flex-direction:column;gap:12px}.writer-field{display:flex;flex-direction:column;gap:6px;font-size:13px}.writer-radio{display:flex;gap:12px;font-size:13px}.writer-filter{display:flex;gap:6px;margin:10px 0}.writer-filter-btn{background:#0f172a99;border:1px solid rgba(148,163,184,.2);color:inherit;border-radius:999px;padding:4px 10px;cursor:pointer;font-size:12px}.writer-filter-btn.active{border-color:#38bdf8b3;background:#38bdf81f}.writer-list{display:flex;flex-direction:column;gap:10px;max-height:360px;overflow-y:auto;padding-right:4px}.writer-item{padding:10px 12px;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a8c;cursor:pointer;transition:transform .12s ease,border-color .12s ease}.writer-item.selected{border-color:#38bdf899;transform:translateY(-1px)}.writer-item-header{display:flex;justify-content:space-between;align-items:center;gap:8px}.writer-item-title{display:flex;gap:8px;align-items:center}.writer-index{font-size:11px;padding:2px 8px;border-radius:999px;background:#94a3b833}.writer-badge{font-size:11px;padding:2px 8px;border-radius:999px;background:#94a3b833;text-transform:uppercase;letter-spacing:.08em}.writer-badge.decision{background:#fbbf2433}.writer-item-meta{font-size:12px;color:#94a3b8;margin-top:4px}.writer-item-actions{display:flex;gap:6px;margin-top:8px}.writer-choice-list{display:flex;flex-direction:column;gap:8px;margin-top:8px}.writer-choice{display:flex;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a80;font-size:12px}.writer-choice-note{margin-bottom:10px;font-size:12px}.writer-choice-card{display:flex;flex-direction:column;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a80}.writer-choice-head{display:flex;justify-content:space-between;gap:8px;font-size:12px}.writer-choice-head span{color:#94a3b8}.writer-choice-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;align-items:end}.writer-choice-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-top:12px}.writer-meta{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:#94a3b8}.sequence-editor{background:#0f172ac7;border:1px solid rgba(148,163,184,.25);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:16px}.sequence-editor-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.sequence-editor-actions{display:flex;flex-wrap:wrap;gap:8px}.sequence-editor-ai{display:grid;grid-template-columns:minmax(240px,1fr) minmax(160px,.5fr) auto;gap:12px;align-items:end}.sequence-editor-ai label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#cbd5e1}.sequence-editor-ai textarea,.sequence-editor-ai select,.sequence-editor-ai input{padding:10px 12px;border-radius:12px;border:1px solid rgba(148,163,184,.25);background:#0f172a99;color:inherit}.sequence-editor-error{color:#fca5a5;font-size:12px}.sequence-editor-grid{display:grid;grid-template-columns:minmax(0,1fr)}.sequence-editor,.sequence-editor-grid,.sequence-editor-form,.sequence-editor-render,.sequence-editor-prompt,.sequence-editor-reference-grid,.sequence-editor-reference-card,.sequence-editor-runtime-card{min-width:0;width:100%}.sequence-editor-list{display:flex;flex-direction:column;gap:8px;max-height:56vh;overflow-y:auto}.sequence-editor-item{text-align:left;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a8c;padding:10px 12px;display:flex;flex-direction:column;gap:4px}.sequence-editor-item-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.sequence-editor-status{font-size:10px;padding:2px 6px;border-radius:999px;background:#94a3b833;color:#cbd5e1;display:inline-flex;align-items:center;gap:4px}.sequence-editor-status.queued,.sequence-editor-status.generating,.sequence-editor-status.running{background:#38bdf833;color:#bae6fd}.sequence-editor-status.done{background:#22c55e33;color:#bbf7d0}.sequence-editor-status.error,.sequence-editor-status.failed{background:#f8717133;color:#fecaca}.sequence-editor-status.is-active:before{content:"";width:6px;height:6px;border-radius:999px;background:currentColor;animation:sequence-editor-pulse 1.1s ease-in-out infinite}.sequence-editor-note{font-size:12px;color:#94a3b8;margin-top:-4px}.sequence-editor-reference-slots{display:flex;flex-direction:column;gap:10px}.sequence-editor-reference-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}.sequence-editor-reference-card{display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:10px;border:1px solid rgba(148,163,184,.2);background:#0f172a59}.sequence-editor-reference-title{font-size:12px;font-weight:600;color:#e2e8f0}.sequence-editor-reference-preview{width:100%;height:120px;object-fit:cover;border-radius:8px;border:1px solid rgba(148,163,184,.2);cursor:zoom-in}.sequence-editor-reference-preview-mini{width:52px;height:52px;border-radius:10px;align-self:flex-start}.sequence-editor-item.active{border-color:#38bdf899;background:#38bdf81f}.sequence-editor-reorder{display:flex;gap:8px;margin-top:6px}.sequence-editor-slide-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a73}.sequence-editor-slide-strip-nav{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.sequence-editor-slide-strip-current{display:inline-flex;align-items:center;gap:8px;min-width:0}.sequence-editor-list-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1600;background:#0206178c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;justify-content:flex-end}.sequence-editor-list-drawer{width:min(360px,92vw);height:100%;display:flex;flex-direction:column;gap:10px;padding:14px;border-left:1px solid rgba(148,163,184,.3);background:#0f172af5;box-shadow:-16px 0 40px #0206178c}.sequence-editor-list-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.sequence-editor-list-drawer .sequence-editor-list{max-height:none;flex:1}.sequence-editor-form{display:flex;flex-direction:column;gap:12px}.sequence-editor-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#cbd5e1}.sequence-editor-form input,.sequence-editor-form textarea,.sequence-editor-form select{padding:10px 12px;border-radius:12px;border:1px solid rgba(148,163,184,.25);background:#0f172a99;color:inherit}.sequence-editor-image-actions{display:flex;flex-wrap:wrap;gap:8px}.sequence-editor-prompt{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a73}.sequence-editor-render{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a66}.sequence-editor-render-header{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:#e2e8f0}.sequence-editor-render-actions{display:flex;flex-wrap:wrap;gap:8px}.sequence-editor-cast{display:flex;flex-direction:column;gap:8px}.sequence-editor-cast-header{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#e2e8f0}.sequence-editor-cast-toggle{display:flex;align-items:center;gap:8px;font-size:12px;color:#cbd5e1}.sequence-editor-cast-toggle input{margin:0}.sequence-editor-cast-list{display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.sequence-editor-cast-item{display:flex;flex-direction:column;justify-content:space-between;gap:10px;min-height:88px;padding:10px 12px;border-radius:10px;border:1px solid rgba(148,163,184,.2);background:#0f172a8c;font-size:12px;cursor:pointer;transition:border-color .15s ease,background .15s ease}.sequence-editor-cast-item:hover{border-color:#38bdf859;background:#0f172aad}.sequence-editor-cast-item-top{display:flex;align-items:flex-start;gap:8px}.sequence-editor-cast-item input{margin:2px 0 0}.sequence-editor-cast-name{font-size:13px;line-height:1.3;color:#e2e8f0;overflow-wrap:anywhere}.sequence-editor-cast-item.selected{border-color:#38bdf899;background:#082f4959}.sequence-editor-cast-pill{margin-left:0;align-self:flex-start;font-size:10px;padding:2px 6px;border-radius:999px;background:#94a3b833;color:#cbd5e1}.sequence-editor-prompt-header{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:#e2e8f0}.sequence-editor-generation{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.sequence-editor-button-busy{display:inline-flex;align-items:center;gap:8px}.sequence-editor-spinner{width:12px;height:12px;border-radius:999px;border:2px solid rgba(125,211,252,.35);border-top-color:#7dd3fc;animation:sequence-editor-spin .9s linear infinite}.sequence-editor-job-meta{font-size:12px}.sequence-editor-progress{width:100%}.sequence-editor-progress-track{width:100%;height:6px;border-radius:999px;background:#0f172aa6;border:1px solid rgba(56,189,248,.25);overflow:hidden}.sequence-editor-progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#22c55eb3,#38bdf8e6);transition:width .18s ease-out}.sequence-editor-progress-fill.indeterminate{width:38%;animation:sequence-editor-progress-indeterminate 1.2s ease-in-out infinite}.sequence-editor-runtime-card{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a6b}.sequence-editor-runtime-title{font-size:12px;font-weight:600;color:#e2e8f0}.sequence-editor-runtime-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px 10px;font-size:12px;color:#cbd5e1}.sequence-editor-runtime-grid>span{min-width:0;overflow-wrap:anywhere}.sequence-editor-variants{display:flex;flex-direction:column;gap:10px}.sequence-editor-variants-header{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#e2e8f0}.sequence-editor-variants-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.sequence-editor-variant-card{border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a8c;overflow:hidden;display:flex;flex-direction:column;gap:6px;padding:6px}.sequence-editor-variant-card.selected{border-color:#38bdf899}.sequence-editor-variant-card img{width:100%;height:120px;object-fit:contain;object-position:center;background:#02061773;border-radius:8px;cursor:zoom-in}.sequence-editor-variant-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:space-between;font-size:12px}.sequence-editor-dialogue{border:1px dashed rgba(148,163,184,.3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px}.sequence-editor-dialogue-header{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#e2e8f0}.sequence-editor-dialogue-line{display:grid;grid-template-columns:minmax(120px,.35fr) minmax(200px,1fr) auto;gap:8px;align-items:center}.sequence-editor-choice{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;padding-top:6px;border-top:1px solid rgba(148,163,184,.2)}@keyframes sequence-editor-pulse{0%,to{opacity:.45;transform:scale(.88)}50%{opacity:1;transform:scale(1.08)}}@keyframes sequence-editor-spin{to{transform:rotate(360deg)}}@keyframes sequence-editor-progress-indeterminate{0%{transform:translate(-120%)}to{transform:translate(300%)}}@media (max-width: 1100px){.sequence-editor-ai,.sequence-editor-grid{grid-template-columns:1fr}}@media (max-width: 720px){.sequence-editor-dialogue-line{grid-template-columns:1fr}}.graph-image-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;font-size:11px;color:#94a3b8}.graph-approve{background:#38bdf826;color:#7dd3fc;border:none;padding:4px 8px;border-radius:999px;cursor:pointer}.graph-approved{background:#22c55e33;color:#86efac;border:none;padding:4px 8px;border-radius:999px}.scene-node__meta{font-size:11px;color:#94a3b8;margin-top:6px}.character-selector{display:flex;flex-direction:column;gap:12px;margin-top:12px;padding:12px;border-radius:16px;border:1px solid rgba(148,163,184,.2);background:#0f172a8c}.character-selector-header{display:flex;justify-content:space-between;align-items:center;gap:8px}.character-selector-header h3{margin:0;font-size:16px}.character-selector-section{display:flex;flex-direction:column;gap:10px}.character-selector-label{font-size:11px;text-transform:uppercase;letter-spacing:.2em;color:#94a3b8}.character-selector-list{display:flex;flex-direction:column;gap:8px;max-height:220px;overflow-y:auto}.character-selector-card,.character-selector-option{display:flex;gap:10px;align-items:center;padding:8px 10px;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a80}.character-selector-option{cursor:pointer}.character-selector-option.selected{border-color:#38bdf899;box-shadow:0 8px 16px #38bdf826}.character-selector-option strong{display:block;font-size:13px}.character-selector-option span{display:block;font-size:11px;color:#94a3b8}.character-selector-error{border-radius:10px;border:1px solid rgba(248,113,113,.35);background:#f8717114;color:#fecaca;padding:8px 10px;font-size:12px}.character-selector-empty{border-radius:12px;border:1px dashed rgba(148,163,184,.35);padding:10px 12px;display:flex;flex-direction:column;gap:8px}.character-selector-actions{display:flex;gap:8px;flex-wrap:wrap}@media (max-width: 1100px){.studio-layout,.graph-layout,.writer-layout{grid-template-columns:1fr}.graph-canvas{height:520px}.writer-panel-scroll{max-height:none}}@media (max-width: 720px){.studio-hero,.graph-hero{padding:20px}.studio-hero-stats{grid-template-columns:1fr}}:root[data-theme=light] .studio-hero{background:radial-gradient(circle at 20% 20%,rgba(14,165,233,.18),transparent 45%),radial-gradient(circle at 90% 20%,rgba(251,146,60,.2),transparent 50%),#fff;color:#0f172a}:root[data-theme=light] .studio-panel,:root[data-theme=light] .graph-panel,:root[data-theme=light] .writer-panel,:root[data-theme=light] .character-selector{background:#fff;color:#0f172a;border:1px solid #e2e8f0}:root[data-theme=light] .studio-input,:root[data-theme=light] .studio-textarea,:root[data-theme=light] .studio-select,:root[data-theme=light] .graph-input,:root[data-theme=light] .graph-textarea,:root[data-theme=light] .graph-select,:root[data-theme=light] .writer-input,:root[data-theme=light] .writer-textarea,:root[data-theme=light] .writer-select{background:#f8fafc;color:#0f172a;border:1px solid #e2e8f0}:root[data-theme=light] .graph-view-toggle{background:#f8fafc;border:1px solid #e2e8f0}:root[data-theme=light] .graph-toggle{color:#475569}:root[data-theme=light] .graph-toggle.active{background:#0284c726;color:#0f172a}:root[data-theme=light] .graph-hero{background:radial-gradient(circle at 15% 20%,rgba(248,113,113,.15),transparent 45%),radial-gradient(circle at 85% 20%,rgba(34,197,94,.16),transparent 50%),#fff;color:#0f172a}:root[data-theme=light] .graph-canvas{background:#fff}:root[data-theme=light] .writer-item,:root[data-theme=light] .writer-choice,:root[data-theme=light] .writer-choice-card{background:#f8fafc}:root[data-theme=light] .writer-item-meta,:root[data-theme=light] .writer-meta{color:#475569}:root[data-theme=light] .sequence-editor{background:#fff;border:1px solid #e2e8f0;color:#0f172a}:root[data-theme=light] .sequence-editor-item{background:#f8fafc;border-color:#e2e8f0}:root[data-theme=light] .sequence-editor-ai textarea,:root[data-theme=light] .sequence-editor-ai select,:root[data-theme=light] .sequence-editor-ai input,:root[data-theme=light] .sequence-editor-form input,:root[data-theme=light] .sequence-editor-form textarea,:root[data-theme=light] .sequence-editor-form select{background:#f8fafc;color:#0f172a;border:1px solid #e2e8f0}:root[data-theme=light] .sequence-editor-dialogue{border-color:#e2e8f0}:root[data-theme=light] .sequence-editor-dialogue-header{color:#0f172a}:root[data-theme=light] .sequence-editor-prompt,:root[data-theme=light] .sequence-editor-variant-card,:root[data-theme=light] .sequence-editor-render,:root[data-theme=light] .sequence-editor-cast-item{background:#f8fafc;border-color:#e2e8f0}:root[data-theme=light] .sequence-editor-prompt-header,:root[data-theme=light] .sequence-editor-variants-header,:root[data-theme=light] .sequence-editor-render-header,:root[data-theme=light] .sequence-editor-cast-header{color:#0f172a}:root[data-theme=light] .sequence-editor-cast-toggle{color:#334155}:root[data-theme=light] .sequence-editor-cast-name{color:#0f172a}.ops-shell{display:flex;flex-direction:column;gap:20px}.ops-hero{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;align-items:center;padding:24px;border-radius:18px;border:1px solid rgba(34,197,94,.3);background:radial-gradient(circle at 15% 20%,rgba(34,197,94,.2),transparent 45%),radial-gradient(circle at 85% 20%,rgba(59,130,246,.2),transparent 50%),#0f172ab3;box-shadow:0 18px 34px #0f172a73}.ops-kicker{text-transform:uppercase;letter-spacing:.3em;font-size:11px;color:#86efac}.ops-summary{display:grid;grid-template-columns:repeat(3,minmax(100px,1fr));gap:10px}.ops-summary div{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:12px;border:1px solid rgba(148,163,184,.25);background:#0f172a99}.ops-actions{display:flex;gap:10px}.ops-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.ops-card{border-radius:16px;border:1px solid rgba(148,163,184,.25);background:#0f172ab3;padding:16px;box-shadow:0 10px 22px #03071266;display:flex;flex-direction:column;gap:12px}.ops-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.ops-card-header h2{margin:0 0 4px;font-size:18px}.ops-pill{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;background:#94a3b833}.ops-pill.ok{background:#22c55e40}.ops-pill.down{background:#f8717140}.ops-pill.degraded{background:#fbbf2440}.ops-meta{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#94a3b8}.ops-details{font-size:12px;color:#cbd5e1}.ops-details pre{background:#0f172a99;border-radius:12px;border:1px solid rgba(148,163,184,.2);padding:8px;margin:0;overflow-x:auto}.ops-card-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.ops-error{color:#fca5a5;font-weight:600}.ops-note{font-size:12px;color:#94a3b8}.ops-muted{color:#94a3b8;font-size:12px}:root[data-theme=light] .ops-hero{background:radial-gradient(circle at 15% 20%,rgba(34,197,94,.18),transparent 45%),radial-gradient(circle at 85% 20%,rgba(59,130,246,.16),transparent 50%),#fff;color:#0f172a}:root[data-theme=light] .ops-card,:root[data-theme=light] .ops-summary div{background:#fff;color:#0f172a;border:1px solid #e2e8f0}:root[data-theme=light] .ops-details pre{background:#f8fafc;color:#0f172a;border:1px solid #e2e8f0}.admin-shell{display:flex;flex-direction:column;gap:16px}.admin-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;border:1px solid rgba(56,189,248,.25);border-radius:16px;padding:18px;background:radial-gradient(circle at 8% 15%,rgba(56,189,248,.16),transparent 48%),radial-gradient(circle at 86% 20%,rgba(34,197,94,.14),transparent 50%),#0f172ab8}.admin-kicker{text-transform:uppercase;letter-spacing:.2em;font-size:11px;color:#7dd3fc}.admin-hero-actions{display:flex;gap:8px}.admin-error{color:#fecaca;border:1px solid rgba(248,113,113,.45);background:#7f1d1d59;border-radius:12px;padding:10px 12px}.admin-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.admin-card{border:1px solid rgba(148,163,184,.24);background:#0f172ab3;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:6px}.admin-card h3{margin:0;font-size:13px;color:#cbd5e1;font-weight:600}.admin-card strong{font-size:22px}.admin-card small{color:#94a3b8}.admin-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:12px;min-width:0}.admin-grid-bottom{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-panel{border:1px solid rgba(148,163,184,.24);background:#0f172aad;border-radius:14px;padding:12px;min-width:0}.admin-panel h2{margin:0 0 10px}.admin-panel-header{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;flex-wrap:wrap;margin-bottom:8px}.admin-inline{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.admin-inline input,.admin-inline select{min-width:140px}.admin-bulk{margin-bottom:10px}.admin-group{margin-top:8px}.admin-group h3{margin:0 0 8px;font-size:13px;color:#cbd5e1}.admin-users-list{display:flex;flex-direction:column;gap:6px}.admin-user-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(140px,180px) auto;gap:8px;align-items:center;border:1px solid rgba(71,85,105,.45);border-radius:10px;padding:8px}.admin-user-row.active{border-color:#38bdf899;box-shadow:0 0 0 1px #38bdf840 inset}.admin-check{display:inline-flex;align-items:center;justify-content:center}.admin-user-main{border:0;background:transparent;color:inherit;text-align:left;display:flex;flex-direction:column;gap:2px;min-width:0;cursor:pointer}.admin-user-main span,.admin-user-main small{color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-cohort-input{min-width:120px}.admin-user-cohort-summary{color:#94a3b8;font-size:13px}.admin-pagination{margin-top:10px;display:flex;justify-content:space-between;align-items:center}.admin-stats{display:flex;flex-direction:column;gap:10px}.admin-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.admin-stats-grid div{border:1px solid rgba(148,163,184,.24);border-radius:10px;padding:8px;display:flex;flex-direction:column;gap:2px;background:#0f172a8c}.admin-stats-grid span{color:#94a3b8;font-size:12px}.admin-comfy-mini{display:flex;flex-direction:column;gap:4px;color:#cbd5e1}.admin-list-grid{display:flex;flex-direction:column;gap:8px}.admin-service-row{display:flex;justify-content:space-between;align-items:center;border:1px solid rgba(148,163,184,.24);border-radius:10px;padding:8px 10px}.admin-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.admin-list li{border:1px solid rgba(148,163,184,.2);border-radius:10px;padding:8px;display:flex;flex-direction:column;gap:2px}.admin-list li span,.admin-list li small{color:#94a3b8}@media (max-width: 1100px){.admin-grid,.admin-grid-bottom{grid-template-columns:1fr}}@media (max-width: 760px){.admin-user-row{grid-template-columns:auto 1fr}.admin-user-row .admin-cohort-input,.admin-user-row select,.admin-user-row button.secondary{grid-column:span 2}}:root[data-theme=light] .admin-hero{background:radial-gradient(circle at 8% 15%,rgba(56,189,248,.12),transparent 48%),radial-gradient(circle at 86% 20%,rgba(34,197,94,.1),transparent 50%),#fff;color:#0f172a;border-color:#38bdf840}:root[data-theme=light] .admin-card,:root[data-theme=light] .admin-panel,:root[data-theme=light] .admin-stats-grid div,:root[data-theme=light] .admin-service-row,:root[data-theme=light] .admin-list li{background:#fff;color:#0f172a;border-color:#e2e8f0}:root[data-theme=light] .admin-card small,:root[data-theme=light] .admin-user-main span,:root[data-theme=light] .admin-user-main small,:root[data-theme=light] .admin-stats-grid span,:root[data-theme=light] .admin-list li span,:root[data-theme=light] .admin-list li small{color:#475569}.cvs-shell{display:flex;flex-direction:column;gap:20px}.cvs-header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:flex-start}.cvs-kicker{text-transform:uppercase;letter-spacing:.2em;font-size:11px;color:#7dd3fc}.cvs-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.cvs-card{border-radius:14px;border:1px solid rgba(148,163,184,.2);background:#0f172a80;padding:14px}.cvs-card-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}.cvs-anchor{display:flex;align-items:center;gap:8px;font-size:12px;color:#94a3b8}.cvs-preview{display:flex;flex-direction:column;gap:10px}.cvs-preview img{width:100%;height:200px;object-fit:cover;border-radius:12px;border:1px solid rgba(148,163,184,.2)}.cvs-preview-placeholder{height:200px;border-radius:12px;border:1px dashed rgba(148,163,184,.3);display:grid;place-items:center;color:#94a3b8;font-size:12px;background:#0f172a66}.cvs-preview-actions{display:flex;gap:8px;flex-wrap:wrap}.cvs-pill-group{display:flex;gap:6px;flex-wrap:wrap}.cvs-pill{border-radius:999px;border:1px solid rgba(148,163,184,.35);background:transparent;color:inherit;padding:4px 12px;font-size:12px;cursor:pointer}.cvs-pill.active{background:#38bdf8;color:#0f172a;border-color:transparent}.cvs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.cvs-field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#cbd5e1}.cvs-input,.cvs-textarea,.cvs-select{padding:8px 10px;border-radius:10px;border:1px solid rgba(148,163,184,.25);background:#0f172a99;color:inherit}.cvs-input-small{max-width:90px}.cvs-actions{display:flex;gap:10px;flex-wrap:wrap}.cvs-section{border-radius:16px;border:1px solid rgba(148,163,184,.2);background:#0f172a73;padding:16px;display:flex;flex-direction:column;gap:12px}.cvs-section-header{display:flex;flex-direction:column;gap:4px}.cvs-slider{gap:8px}.cvs-slider-row{display:flex;align-items:center;gap:10px}.cvs-range{flex:1}.cvs-slider-value{font-size:12px;color:#cbd5e1;min-width:32px;text-align:right}.cvs-slider-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.cvs-list{display:flex;flex-direction:column;gap:8px}.cvs-list-input{display:flex;gap:8px;flex-wrap:wrap}.cvs-chip-row{display:flex;gap:6px;flex-wrap:wrap}.cvs-chip{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 10px;background:#94a3b833;font-size:12px}.cvs-missing{border-radius:12px;border:1px dashed rgba(248,113,113,.4);background:#1e293b66;padding:12px;display:flex;flex-direction:column;gap:10px}.cvs-missing-header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.cvs-missing-actions{display:flex;gap:8px;flex-wrap:wrap}.cvs-missing-list{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:12px;color:#fca5a5}.cvs-variant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.cvs-variant-card{border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a59;padding:10px;display:flex;flex-direction:column;gap:8px}.cvs-variant-card img{width:100%;height:140px;object-fit:cover;border-radius:10px;border:1px solid rgba(148,163,184,.2)}.cvs-variant-meta{display:flex;flex-direction:column;gap:2px;font-size:12px}.cvs-variant-actions{display:flex;gap:6px;flex-wrap:wrap}.cvs-advisor-tabs{display:flex;gap:8px;flex-wrap:wrap}.cvs-advisor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.cvs-advisor-card{border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a59;padding:12px;display:flex;flex-direction:column;gap:8px;font-size:12px}.cvs-advisor-meta{display:flex;flex-direction:column;gap:4px;color:#94a3b8}.cvs-advisor-explain{line-height:1.6}.cvs-advanced{border-radius:16px;border:1px dashed rgba(148,163,184,.3);background:#0f172a59;padding:12px 14px}.cvs-advanced summary{cursor:pointer;font-weight:600;color:#e2e8f0;list-style:none}.cvs-advanced summary::-webkit-details-marker{display:none}.cvs-advanced-body{display:flex;flex-direction:column;gap:16px;margin-top:12px}.cvs-chip button{background:transparent;border:none;color:inherit;cursor:pointer}.cvs-checkbox{flex-direction:row;align-items:center;gap:8px}.cvs-reference-strip{display:flex;gap:12px;flex-wrap:wrap}.cvs-reference-status{display:flex;flex-direction:column;gap:8px;border-radius:12px;border:1px dashed rgba(148,163,184,.25);padding:12px;background:#0f172a59}.cvs-reference-status-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.cvs-reference-status-actions{display:flex;gap:8px;flex-wrap:wrap}.cvs-reference-item{display:flex;flex-direction:column;gap:6px;align-items:center;font-size:12px}.cvs-reference-item img{width:120px;height:90px;object-fit:cover;border-radius:10px;border:1px solid rgba(148,163,184,.2)}.cvs-reference-placeholder{width:120px;height:90px;display:grid;place-items:center;border-radius:10px;border:1px dashed rgba(148,163,184,.3);font-size:11px;color:#94a3b8}.cvs-reference-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.cvs-reference-card{border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a66;padding:10px;display:flex;flex-direction:column;gap:8px}.cvs-reference-card-header{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px}.cvs-reference-card-title{display:flex;flex-direction:column;gap:2px}.cvs-reference-card-actions{display:flex;gap:6px;flex-wrap:wrap}.cvs-reference-card img{width:100%;height:140px;object-fit:cover;border-radius:10px;border:1px solid rgba(148,163,184,.2)}.cvs-slot-variants{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.cvs-slot-variant{border-radius:10px;border:1px solid rgba(148,163,184,.2);background:#0f172a73;padding:6px;display:flex;flex-direction:column;gap:6px}.cvs-slot-variant.active{border-color:#38bdf8b3;box-shadow:0 0 0 1px #38bdf859}.cvs-slot-variant img{width:100%;height:90px;object-fit:cover;border-radius:8px;border:1px solid rgba(148,163,184,.2)}.cvs-slot-variant-actions{display:flex;gap:6px;flex-wrap:wrap}.cvs-library-controls{display:flex;gap:12px;flex-wrap:wrap}.cvs-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.cvs-library-card{border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a66;padding:10px;display:flex;flex-direction:column;gap:8px}.cvs-library-card img{width:100%;height:150px;object-fit:cover;border-radius:10px;border:1px solid rgba(148,163,184,.2)}.cvs-library-meta{display:flex;flex-direction:column;gap:2px;font-size:12px}.cvs-library-actions{display:flex;gap:6px;flex-wrap:wrap}@media (max-width: 900px){.cvs-preview img,.cvs-preview-placeholder{height:180px}}:root[data-theme=light] .cvs-card,:root[data-theme=light] .cvs-section,:root[data-theme=light] .cvs-variant-card,:root[data-theme=light] .cvs-advisor-card,:root[data-theme=light] .cvs-missing,:root[data-theme=light] .cvs-advanced,:root[data-theme=light] .cvs-slot-variant,:root[data-theme=light] .cvs-reference-card,:root[data-theme=light] .cvs-library-card,:root[data-theme=light] .cvs-reference-status{background:#fff;border:1px solid #e2e8f0;color:#0f172a}:root[data-theme=light] .cvs-input,:root[data-theme=light] .cvs-textarea,:root[data-theme=light] .cvs-select{background:#f8fafc;color:#0f172a;border:1px solid #e2e8f0}:root[data-theme=light] .cvs-preview-placeholder,:root[data-theme=light] .cvs-reference-placeholder{background:#f8fafc;border:1px dashed #e2e8f0;color:#475569}:root[data-theme=light] .cvs-pill{border-color:#e2e8f0}:root[data-theme=light] .cvs-advanced summary{color:#0f172a}body.cvs-lock{overflow:hidden}.cvs-shell.fullscreen{position:fixed;top:16px;right:16px;bottom:16px;left:16px;z-index:1200;background:#080d18f5;border:1px solid rgba(148,163,184,.3);border-radius:18px;padding:18px;overflow-y:auto;box-shadow:0 24px 60px #0f172a99}.cvs-field-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.cvs-error{color:#fca5a5;font-size:12px}.world-field-header{display:flex;align-items:center;justify-content:space-between;gap:10px}
