.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%}.floating-info-btn{position:fixed;bottom:24px;right:24px;width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#4df3ff40,#ff2bd140);border:2px solid var(--neon-1);color:var(--text);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 32px #4df3ff66,0 0 0 1px #ffffff1a inset;transition:transform .2s ease,box-shadow .2s ease,background .3s ease,border-color .3s ease;z-index:10005;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.floating-info-btn svg{transition:transform .3s ease}.floating-info-btn.open{background:linear-gradient(135deg,#ff2bd159,#ff6b6b40);border-color:var(--neon-2);box-shadow:0 8px 32px #ff2bd180,0 0 0 1px #ffffff26 inset}.floating-info-btn.open svg{transform:rotate(90deg)}.floating-info-btn:hover{transform:translateY(-2px) scale(1.05);box-shadow:0 12px 48px #4df3ff80,0 0 0 1px #fff3 inset;border-color:var(--neon-2)}.floating-info-btn.open:hover{box-shadow:0 12px 48px #ff2bd199,0 0 0 1px #fff3 inset}.floating-info-btn:active{transform:translateY(0) scale(1)}@media (max-width: 900px){.floating-info-btn{bottom:16px;right:16px;width:48px;height:48px}}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:10003;animation:fadeIn .2s ease;touch-action:none}@media (max-width: 900px){.drawer-backdrop{display:block}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.info-drawer{position:fixed;top:0;right:0;width:800px;max-width:100%;height:100vh;background:linear-gradient(180deg,#0f1625fa,#0a0f1cfa);border-left:1px solid var(--panel-border);box-shadow:-8px 0 48px #0009,0 0 0 1px #67e8f914 inset;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);z-index:10004;display:flex;flex-direction:column;transform:translate(100%);transition:transform .3s cubic-bezier(.4,0,.2,1)}.info-drawer.open{transform:translate(0)}@media (max-width: 900px){.info-drawer{width:100%}}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--panel-border);background:linear-gradient(180deg,rgba(255,255,255,.04),transparent)}.drawer-header h2{margin:0;font-size:22px;font-weight:700;background:var(--grad-primary);-webkit-background-clip:text;background-clip:text;color:transparent}.drawer-close-btn{background:#ffffff0d;border:1px solid var(--panel-border);color:var(--text);border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:8px;transition:all .2s ease;flex-shrink:0}.drawer-close-btn:hover{background:#ffffff1a;border-color:var(--primary);box-shadow:0 0 0 1px #4df3ff33 inset}.drawer-close-btn:active{transform:scale(.95)}@media (max-width: 900px){.drawer-close-btn{padding:12px;background:#ff2bd126;border-color:var(--accent)}.drawer-close-btn:hover,.drawer-close-btn:active{background:#ff2bd140;border-color:var(--accent)}}.tab-segment{display:flex;gap:8px;padding:24px 24px 16px;background:#0003;border-bottom:1px solid var(--panel-border)}@media (max-width: 900px){.tab-segment{padding-top:calc(24px + env(safe-area-inset-top,0px))}}.tab-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;background:transparent;border:1px solid var(--panel-border);border-radius:10px;color:var(--muted);font-size:15px;font-weight:600;cursor:pointer;transition:all .2s ease}.tab-btn:hover{background:#ffffff0d;color:var(--text);border-color:#4df3ff4d}.tab-btn.active{background:linear-gradient(135deg,#4df3ff2e,#ff2bd126);border-color:var(--primary);color:var(--text);box-shadow:0 0 0 1px #4df3ff26 inset,0 4px 16px #4df3ff1f}.drawer-content{flex:1;overflow-y:auto;padding:24px}@media (max-width: 900px){.drawer-content{padding-bottom:calc(24px + env(safe-area-inset-bottom,20px))}}.examples-list{display:flex;flex-direction:column;gap:20px}.guide-intro{background:linear-gradient(135deg,#4df3ff14,#ff2bd10f);border:1px solid rgba(77,243,255,.2);border-radius:12px;padding:16px 18px;margin-bottom:8px}.guide-intro h3{margin:0 0 8px;font-size:18px;color:var(--primary)}.guide-intro p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}.example-card{background:linear-gradient(180deg,#ffffff08,#ffffff03);border:1px solid var(--panel-border);border-radius:12px;padding:16px;transition:all .2s ease;cursor:pointer}.example-card:hover{border-color:#4df3ff4d;box-shadow:0 0 0 1px #4df3ff1a inset,0 8px 24px #0000004d;transform:translateY(-2px)}.example-card.expanded{border-color:#4df3ff66;background:linear-gradient(180deg,#4df3ff0d,#ff2bd108)}.example-card h4{margin:0 0 12px;font-size:16px;color:var(--text);font-weight:600}.example-card-content{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.example-card-left,.example-card-right{display:flex;flex-direction:column;gap:12px}@media (max-width: 900px){.example-card-content{grid-template-columns:1fr}}.example-section{margin-bottom:12px}.example-label{display:block;font-size:12px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px}.prompt-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.copy-prompt-btn{background:#4df3ff1a;border:1px solid rgba(77,243,255,.3);color:var(--primary);border-radius:6px;padding:6px 8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0}.copy-prompt-btn:hover{background:#4df3ff33;border-color:var(--primary);transform:translateY(-1px);box-shadow:0 4px 12px #4df3ff4d}.copy-prompt-btn:active{transform:translateY(0)}.example-prompt{background:#4df3ff14;border:1px solid rgba(77,243,255,.2);border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.6;color:var(--text);font-family:Courier New,monospace}.example-result{background:#ffffff05;border:1px solid var(--panel-border);border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.6;color:var(--muted)}.example-tips{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;background:#ff2bd10f;border:1px solid rgba(255,43,209,.15);border-radius:8px;font-size:13px;line-height:1.5;color:var(--text);margin-top:12px}.example-tips svg{flex-shrink:0;margin-top:2px;color:var(--accent)}.example-image-container{margin-top:8px;border-radius:8px;overflow:hidden;border:1px solid rgba(77,243,255,.2)}.example-output{width:100%;height:auto;display:block;border-radius:8px}.example-video-container{margin-top:8px;border-radius:8px;overflow:hidden;border:1px solid rgba(77,243,255,.2);background:#000}.example-output-video{width:100%;height:auto;display:block;border-radius:8px;max-height:500px;object-fit:contain}.example-references{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px;margin-top:8px}.example-reference{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:6px;border:1px solid var(--panel-border);transition:all .2s ease;cursor:pointer}.example-reference:hover{border-color:#4df3ff66;transform:scale(1.05);box-shadow:0 4px 12px #4df3ff33}:root{--bg: #05070f;--panel: rgba(10, 16, 28, .7);--panel-2: rgba(12, 18, 32, .7);--panel-border: #18243a;--text: #e6f1ff;--muted: #8da4bb;--primary: #4df3ff;--accent: #ff2bd1;--accent-2: #7c4dff;--danger: #ff6b6b;--neon-1: #4df3ff;--neon-2: #ff2bd1;--neon-3: #22ffcc;--grad-primary: linear-gradient(135deg, var(--neon-1) 0%, var(--neon-2) 100%);--grad-surface: radial-gradient(1200px 700px at 10% -10%, rgba(77, 243, 255, .12) 0%, transparent 55%), radial-gradient(1100px 800px at 110% 110%, rgba(255, 43, 209, .12) 0%, transparent 50%), radial-gradient(900px 700px at -10% 60%, rgba(124, 77, 255, .08) 0%, transparent 60%), linear-gradient(180deg, #05070f 0%, #0a0f1f 100%)}*{box-sizing:border-box}html,body,#root{height:100%;overflow-x:hidden}body{margin:0;background:var(--grad-surface),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial}body:before{content:"";position:fixed;top:-10%;right:-10%;bottom:-10%;left:-10%;background:radial-gradient(680px 460px at 80% 8%,rgba(255,43,209,.16),transparent 60%),radial-gradient(520px 380px at 12% 90%,rgba(77,243,255,.14),transparent 60%),radial-gradient(760px 560px at -8% 18%,rgba(124,77,255,.12),transparent 62%);filter:blur(18px);pointer-events:none;z-index:0;animation:auroraShift 28s ease-in-out infinite alternate}.app{position:relative;z-index:1}@keyframes auroraShift{0%{transform:translateZ(0)}50%{transform:translate3d(-2%,1%,0)}to{transform:translate3d(2%,-1%,0)}}.a{color:var(--primary)}::selection{background:#a78bfa59;color:#08101c}*::-webkit-scrollbar{height:10px;width:10px}*::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#67e8f959,#a78bfa59);border-radius:999px;border:2px solid rgba(0,0,0,0)}*::-webkit-scrollbar-track{background:transparent}.app{display:flex;flex-direction:column;min-height:100%}.container{width:100%;margin:0;flex:1}.container.fullscreen-route{height:100vh;min-height:100vh;overflow:hidden}.navbar{display:flex;align-items:center;gap:16px;padding:12px 20px;border-bottom:1px solid var(--panel-border);background:linear-gradient(180deg,#ffffff0f,#ffffff05),var(--panel);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:sticky;top:0;z-index:10}.brand{font-weight:700;letter-spacing:.3px}.tabs a{color:var(--muted);text-decoration:none;margin:0 8px;padding:8px 10px;border-radius:8px}.tabs a.active{background:var(--panel-2);color:var(--text)}.spacer{flex:1}.footer{padding:16px 20px;border-top:1px solid #1f2a37;background:var(--panel);color:var(--muted)}.topbar{display:none;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--panel-border);background:linear-gradient(180deg,#ffffff0f,#ffffff05),var(--panel);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:sticky;top:0;z-index:10001}.topbar .brand{font-weight:700;letter-spacing:.3px;background:var(--grad-primary);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:18px}.burger,.drawer-close{background:#243447;border:1px solid #1f2a37;color:var(--text);border-radius:8px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:6px}.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);z-index:10000}.app-shell{display:grid;grid-template-columns:240px 1fr;min-height:100%}.app-shell.auth-only{grid-template-columns:1fr}.app-shell.collapsed{grid-template-columns:72px 1fr}.app-shell.chat-mode{height:100vh;min-height:100vh;overflow:hidden}.app-shell.video-editor-mode{display:block;height:100vh;min-height:100vh;overflow:hidden}.sidebar-nav{background:linear-gradient(180deg,#0f1625,#0a0f1c);border-right:1px solid #1f2a37;padding:16px 10px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.sidebar-nav.collapsed{padding:12px 8px;gap:10px}.sidebar-nav .brand{font-size:18px;margin:4px 10px 8px;background:var(--grad-primary);-webkit-background-clip:text;background-clip:text;color:transparent}.sidebar-footer{margin-top:auto;color:var(--muted);font-size:12px;padding:10px 12px;opacity:.85;border-top:1px solid #1f2a37}.sidebar-nav.collapsed .sidebar-footer{padding:8px 0;text-align:center}.menu{display:flex;flex-direction:column;gap:6px;padding:4px 6px}.nav-section-title{color:var(--muted);font-size:12px;margin:8px 10px}.menu a,.menu button.nav-item{color:var(--text);text-decoration:none;margin:0 8px;padding:5px;border-radius:12px;display:block;opacity:.9;border:1px solid transparent;background:transparent;cursor:pointer}.menu .nav-item{display:flex;align-items:center;gap:10px}.menu .nav-item .menu-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;color:var(--muted)}.menu .nav-item .menu-label{white-space:nowrap}.menu .nav-item .menu-label-with-chip{display:inline-flex;align-items:center;gap:6px}.menu-chip{display:inline-flex;align-items:center;justify-content:center;padding:1px 6px;border-radius:999px;border:1px solid rgba(103,232,249,.38);background:#67e8f91f;color:#bfeeff;font-size:9px;font-weight:700;letter-spacing:.35px;line-height:1.35;text-transform:uppercase}.menu-chip-alpha{border-color:#ffba7870;background:#ffba7824;color:#ffd9ad}.menu a.active .menu-chip,.menu button.nav-item.active .menu-chip{border-color:#67e8f99e;background:#67e8f933;color:#dbf8ff}.menu a.active .menu-chip-alpha,.menu button.nav-item.active .menu-chip-alpha{border-color:#ffba78a8;background:#ffba7833;color:#ffe8cb}.menu a:hover,.menu button.nav-item:hover{background:linear-gradient(135deg,#67e8f91f,#a78bfa1a);opacity:1;border-color:#2a3a4a;box-shadow:0 0 0 1px #67e8f91f inset}.menu a.active,.menu button.nav-item.active{background:linear-gradient(135deg,#67e8f938,#a78bfa33);opacity:1;box-shadow:0 0 0 1px #67e8f933 inset,0 8px 26px #a78bfa1f}.sidebar-nav.collapsed .nav-section-title{display:none}.sidebar-nav.collapsed .menu .nav-item{justify-content:center;margin:0 4px}.sidebar-nav.collapsed .menu .nav-item .menu-label{display:none}.collapse-btn{background:#243447;border:1px solid #1f2a37;color:var(--text);border-radius:8px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:6px}.collapse-btn:hover{border-color:#355173;box-shadow:0 0 0 1px #4cc9f024 inset}.workflow-toolbar{display:flex;flex-direction:column;gap:10px}.workflow-toolbar-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.workflow-list{display:flex;flex-direction:column;gap:8px;overflow:auto;padding:4px}.workflow-item{width:100%;text-align:left;background:#ffffff05;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:10px;color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer}.workflow-item:hover{border-color:#2a3a4a;background:linear-gradient(135deg,#67e8f91a,#a78bfa14);box-shadow:0 0 0 1px #67e8f91a inset}.workflow-item.active{border-color:#67e8f959;background:linear-gradient(135deg,#67e8f92e,#a78bfa29);box-shadow:0 0 0 1px #67e8f933 inset,0 10px 28px #a78bfa1a}.workflow-item-main{min-width:0;display:flex;flex-direction:column;gap:2px}.workflow-item-title{font-weight:650;font-size:13px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workflow-item-meta{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workflow-item-chevron{flex:0 0 auto;color:#ffffff8c}.project-sidebar{display:flex;flex-direction:column;gap:10px}.project-new-card{padding:12px}.project-new-input{flex:1;min-width:0}.project-toolbar-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.project-list{display:flex;flex-direction:column;gap:8px;overflow:auto;padding:4px}.project-item{width:100%;text-align:left;background:#ffffff05;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:12px;color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer}.project-item:disabled{opacity:.55;cursor:not-allowed}.project-item:hover:not(:disabled){border-color:#2a3a4a;background:linear-gradient(135deg,#67e8f91a,#a78bfa14);box-shadow:0 0 0 1px #67e8f91a inset}.project-item.active{border-color:#67e8f959;background:linear-gradient(135deg,#67e8f92e,#a78bfa29);box-shadow:0 0 0 1px #67e8f933 inset,0 10px 28px #a78bfa1a}.project-item-main{min-width:0;display:flex;flex-direction:column;gap:2px}.project-item-title{font-weight:800;font-size:13px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-item-meta{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-item-chevron{flex:0 0 auto;color:#ffffff73}@media (max-width: 900px){.topbar{display:flex}.app-shell{grid-template-columns:1fr}.sidebar-nav{display:none}.sidebar-nav.open{display:flex;position:fixed;left:0;top:0;bottom:0;width:280px;z-index:10002;transform:translate(0);box-shadow:8px 0 24px #0006;animation:slideIn .18s ease-out}.sidebar-nav.open .collapse-btn{display:none}.menu{gap:8px}.menu a.nav-item,.menu button.nav-item,.menu .action{width:100%}}@keyframes slideIn{0%{transform:translate(-100%)}to{transform:translate(0)}}.menu .action{width:100%;display:block;text-align:center;padding:10px 12px;margin:4px 0;border-radius:12px;border:1px solid #253140;background:linear-gradient(180deg,#ffffff0a,#ffffff05);color:var(--text);font-weight:700;cursor:pointer;outline:none;transition:border-color .15s ease,box-shadow .15s ease,transform .05s ease}.menu .action:hover{border-color:#355173;box-shadow:0 0 0 1px #4cc9f029 inset,0 6px 20px #ff00e614;transform:translateY(-1px)}.menu .action:active{transform:translateY(0)}.menu .action.danger{background:linear-gradient(135deg,#f063,#ff000014);border-color:#ff006640;color:#ffd7d7}.menu .action.danger:hover{border-color:#ff006673;box-shadow:0 0 0 1px #ff006652 inset,0 6px 24px #ff00662e}.sidebar-nav .nav-bottom .nav-item{display:flex;align-items:center;gap:10px}.sidebar-nav .nav-bottom .action{width:100%;display:block;text-align:center;padding:10px 12px;margin:4px 0;border-radius:12px;border:1px solid #253140;background:linear-gradient(180deg,#ffffff0a,#ffffff05);color:var(--text);font-weight:700;cursor:pointer;outline:none;transition:border-color .15s ease,box-shadow .15s ease,transform .05s ease}.sidebar-nav .nav-bottom .action:hover{border-color:#355173;box-shadow:0 0 0 1px #4cc9f029 inset,0 6px 20px #ff00e614;transform:translateY(-1px)}.sidebar-nav .nav-bottom .action:active{transform:translateY(0)}.sidebar-nav .nav-bottom .menu-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;color:var(--muted)}.sidebar-nav.collapsed .nav-bottom .menu-label{display:none}@media (max-width: 900px){.app-shell{grid-template-columns:1fr}.sidebar-nav{position:relative;height:auto;border-right:0;border-bottom:1px solid #1f2a37}.sidebar-nav .brand{margin:0 6px 6px}.menu{flex-direction:row;flex-wrap:wrap;gap:8px}.menu a{padding:8px 10px}}.panel{background:linear-gradient(180deg,#ffffff0a,#ffffff03),var(--panel);border:1px solid var(--panel-border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 10px 30px #00000059,0 0 0 1px #67e8f90f inset;padding:16px;height:100%}.hstack{display:flex;gap:12px;align-items:center}.vstack{display:flex;gap:10px}.row{display:flex;gap:12px;flex-wrap:wrap}.btn{background:linear-gradient(135deg,#a78bfa38,#ff2bd133);border:1.5px solid var(--neon-2);color:var(--text);border-radius:12px;padding:10px 14px;font-weight:700;letter-spacing:.2px;cursor:pointer;box-shadow:none;transition:transform .06s ease,filter .15s ease;position:relative;overflow:hidden}.btn:before{content:"";position:absolute;top:0;left:-60%;width:220%;height:100%;border-radius:inherit;background:linear-gradient(120deg,#4df3ff00,#4df3ff38 20%,#ff2bd159,#4df3ff38 80%,#4df3ff00);mix-blend-mode:screen;filter:saturate(1.15);opacity:0;pointer-events:none;transform:translate(-10%);transition:opacity .18s ease}.btn:hover{filter:saturate(1.05);transform:translateY(-1px)}.btn:hover:before{opacity:1;animation:sheenSweep 1.8s linear infinite}.btn:focus-visible{outline:none;box-shadow:0 0 0 3px #67e8f92e,0 10px 26px #7c4dff24}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.6;cursor:not-allowed;filter:grayscale(.1)}@keyframes sheenSweep{0%{transform:translate(-60%)}to{transform:translate(60%)}}.btn.secondary{background:linear-gradient(180deg,#ffffff0a,#ffffff05);border:1px solid #2a3a4a;color:var(--text);box-shadow:0 0 0 1px #ffffff14 inset,0 4px 12px #ffffff0f}.btn.secondary:before{content:none!important}.btn.secondary:hover:before{content:none!important;animation:none!important}.btn.danger{background:linear-gradient(180deg,#ff8787,#ff6b6b);color:#2a0d0d;box-shadow:0 0 0 1px #ffffff14 inset,0 4px 12px #ffffff0f}.input,select,textarea{background:#0f141ba6;border:1px solid #2a3a4a;color:var(--text);border-radius:10px;padding:10px 12px;width:100%;outline:none;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.input::placeholder,textarea::placeholder{color:#8aa1b9}.input:focus,select:focus,textarea:focus{border-color:#3e82ff;box-shadow:0 0 0 3px #3e82ff33,0 0 0 1px #67e8f91a inset}.label{font-size:12px;color:var(--muted);padding-bottom:5px;margin-top:5px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media (max-width: 860px){.grid{grid-template-columns:1fr}}.card{background:linear-gradient(180deg,#ffffff08,#ffffff04),var(--panel-2);border:1px solid var(--panel-border);border-radius:12px;padding:12px;width:100%;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 6px 18px #00000040,0 0 0 1px #a78bfa0f inset}.react-flow__node .card{background:linear-gradient(180deg,#ffffff0f,#ffffff08),#161e28eb;border:1px solid rgba(255,255,255,.14);box-shadow:0 10px 26px #00000059,0 0 0 1px #4df3ff1a inset}.status{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:#0f141b;border:1px solid #2a3a4a}.status.running{color:#ffd27f}.status.succeeded{color:#a0f0c5}.status.failed{color:#ff9aa2}.progress{height:8px;background:#0f141b;border-radius:8px;overflow:hidden;border:1px solid #253140;margin:16px 0}.progress>div{height:100%;background:linear-gradient(90deg,var(--neon-1),var(--neon-2),var(--neon-3));background-size:200% 100%;animation:progressShift 2.2s linear infinite}@keyframes progressShift{0%{background-position:0 0}to{background-position:200% 0}}.progress.mini{height:6px;margin:8px 0}.media{display:flex;justify-content:center;align-items:center;background:#0f141b;border:1px dashed #2b3b4c;border-radius:12px;min-height:280px}.two-pane{display:grid;grid-template-columns:clamp(280px,28vw,380px) minmax(560px,1fr);align-items:start;gap:12px;height:100%}.two-pane.has-history{grid-template-columns:clamp(280px,28vw,380px) minmax(560px,1fr) clamp(220px,24vw,320px)}@media (max-width: 1100px){.two-pane,.two-pane.has-history{grid-template-columns:1fr}}.sidebar,.history{position:relative;height:100%}.history .panel{position:sticky;top:0}.section-title{font-weight:700;letter-spacing:.2px;margin-bottom:8px}.subtle{color:var(--muted);font-size:12px}.divider{height:1px;background:#1f2a37;margin:8px 0}.sticky-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;padding-top:8px;margin-top:8px;background:linear-gradient(180deg,transparent 0,rgba(18,24,33,.6) 40%,rgba(18,24,33,1) 100%)}.preview{display:flex;flex-direction:column;gap:12px;height:100%}.preview-header{display:flex;align-items:center;justify-content:space-between}.preview-canvas{display:flex;justify-content:center;align-items:center;background:linear-gradient(180deg,#090e18e6,#0c121ee6);border:1px solid var(--panel-border);border-radius:12px;min-height:420px;box-shadow:0 0 #67e8f900;transition:box-shadow .2s ease,border-color .2s ease;height:calc(100% - 40px)!important}.video-segment-page{height:100%;max-height:100vh;overflow:hidden}.video-segment-page .sidebar,.video-segment-page .preview{min-height:0}@media (min-width: 1101px){.video-segment-page .sidebar .panel{position:sticky;top:0;max-height:100vh;overflow:auto}}.video-segment-page .preview .panel{display:flex;flex-direction:column;min-height:0}.video-segment-page .preview-canvas{flex:1;min-height:0;overflow:auto;height:auto!important}.srt-generator-page{height:100%;max-height:100vh;overflow:hidden}.srt-generator-page .sidebar,.srt-generator-page .preview,.srt-generator-page .history{min-height:0}@media (min-width: 1101px){.srt-generator-page .sidebar .panel,.srt-generator-page .history .panel{position:sticky;top:0;max-height:100vh;overflow:auto}}.srt-generator-page .preview .panel{display:flex;flex-direction:column;min-height:0}.srt-generator-page .preview-canvas{flex:1;min-height:0;overflow:hidden;height:auto!important}.video-blueprint-page{height:100%;max-height:100vh;overflow:hidden}.video-blueprint-page .sidebar,.video-blueprint-page .preview{min-height:0}@media (min-width: 1101px){.video-blueprint-page .sidebar .panel{position:sticky;top:0;max-height:100vh;overflow:auto}}.video-blueprint-page .preview .panel{display:flex;flex-direction:column;min-height:0}.video-segment-project-item{width:100%;cursor:pointer}.video-segment-project-item.active{border-color:#67e8f959}.video-segment-drawer{position:absolute;top:0;right:0;bottom:0;width:100%;transform:translate(105%);transition:transform .22s ease;background:linear-gradient(180deg,#0c121efa,#0c121eeb);border-left:1px solid #253140;padding:14px;overflow:auto;z-index:4}.video-segment-drawer.open{transform:translate(0)}.video-segment-drawer-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.video-segment-subtopic{font-weight:800;margin-bottom:10px}.video-segment-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}@media (max-width: 1280px){.video-segment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 700px){.video-segment-grid{grid-template-columns:1fr}}.video-segment-grid-item video{width:100%;height:auto;object-fit:contain}.pill{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#bcd8ff;background:linear-gradient(180deg,#ffffff0a,#ffffff05);border:1px solid #2a3a4a;border-radius:999px;padding:6px 10px;margin-bottom:5px;box-shadow:0 1px #ffffff0d inset}.history-list{display:grid;grid-template-columns:1fr;gap:12px;max-height:calc(100vh - 10px);overflow:auto;padding-right:4px}.history-item{background:linear-gradient(180deg,#ffffff08,#ffffff04),var(--panel-2);border:1px solid #253140;border-radius:10px;padding:8px;cursor:pointer;transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease,filter .12s ease;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.history-item:hover{transform:translateY(-2px);border-color:#355173;box-shadow:0 0 0 1px #67e8f929 inset,0 10px 28px #a78bfa2e;filter:saturate(1.05)}.history-thumb,.history-video{width:100%;border-radius:8px;object-fit:cover;max-height:180px;display:block}.history-video{background:#0f141b}.history-thumb.placeholder,.history-video.placeholder{background:#0f141b;border:1px dashed #2b3b4c;min-height:140px}.segmented{display:flex;gap:18px;align-items:center}.segmented .tab{background:transparent;border:0;color:var(--muted);font-weight:600;cursor:pointer;padding:6px 0;position:relative}.segmented .tab.active{color:var(--text)}.segmented .tab.active:after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:var(--text);border-radius:2px}.thumb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;width:100%}.thumb{position:relative;border:1px solid #253140;border-radius:8px;overflow:hidden;background:#0f141b}.thumb img{display:block;width:100%;height:96px;object-fit:cover}.thumb-remove{position:absolute;top:6px;right:6px;border:0;border-radius:999px;width:22px;height:22px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#00000073;color:#fff;line-height:1}.thumb-remove:hover{background:#000000a6;box-shadow:0 0 0 1px #4cc9f04d inset}.field-row{display:grid;gap:12px}.field-row.cols-2{grid-template-columns:1fr 1fr}.field-row.cols-3{grid-template-columns:1fr 1fr 1fr}@media (max-width: 860px){.field-row.cols-2,.field-row.cols-3{grid-template-columns:1fr}}.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px;border:1px dashed #2b3b4c;border-radius:12px;background:#0f141b;cursor:pointer;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;position:relative;overflow:hidden}.dropzone:after{content:"";position:absolute;top:-40%;right:-40%;bottom:-40%;left:-40%;background:radial-gradient(500px 220px at 50% -10%,rgba(167,139,250,.08),transparent 60%);transform:translateY(10px);transition:opacity .25s ease;opacity:0;pointer-events:none}.dropzone:hover{background:linear-gradient(180deg,#ffffff08,#ffffff05);border-color:#355173;box-shadow:0 0 0 1px #67e8f91f inset,0 8px 24px #a78bfa1a}.dropzone:hover:after{opacity:1}.dropzone.dragging{border-color:var(--primary);box-shadow:0 0 0 3px #4cc9f040 inset,0 0 24px #ff00e61f}.dz-icon{color:#8db9d8}.dz-text{color:var(--muted)}.dropzone.has-image{padding:0}.dropzone.has-image .dz-icon,.dropzone.has-image .dz-text{display:none}.dz-img{width:100%;height:100%;display:block;object-fit:contain!important;object-position:top center}.lightbox{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;z-index:9999;padding:24px}.lightbox-inner{background:var(--panel);border:1px solid #253140;border-radius:12px;max-width:92vw;max-height:92vh;width:fit-content;display:flex;flex-direction:column;gap:10px;padding:12px}.zoom-toolbar{display:flex;align-items:center;gap:8px}.btn.small{padding:6px 10px;border-radius:8px;font-size:12px}.zoom-canvas{background:#0f141b;border:1px solid #253140;border-radius:10px;overflow:auto;max-width:88vw;max-height:78vh;display:flex;align-items:center;justify-content:center}.zoom-canvas.grab{cursor:grab}.zoom-canvas.grabbing{cursor:grabbing}.zoom-img{display:block;transform-origin:center center;-webkit-user-select:none;user-select:none;pointer-events:none}.toasts{position:fixed;top:14px;right:14px;display:flex;flex-direction:column;gap:10px;z-index:99999}.toast{background:linear-gradient(180deg,#ffffff0f,#ffffff05),#0a101cf5;border:1px solid #355173;border-left:4px solid var(--accent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--text);padding:12px 14px;border-radius:12px;min-width:240px;max-width:420px;box-shadow:0 0 0 1px #67e8f92e inset,0 12px 32px #0000008c,0 0 22px #7c4dff38;display:flex;align-items:center;gap:12px}.toast.error{border-color:#ff6b6b99;border-left-color:#ff6b6b;background:linear-gradient(180deg,#ff6b6b2e,#ff6b6b0f),#0a101cf5}.toast.success{border-color:#22ffcc73;border-left-color:var(--neon-3);background:linear-gradient(180deg,#22ffcc2e,#22ffcc0f),#0a101cf5}.toast .toast-message{flex:1;font-size:15px;font-weight:600;letter-spacing:.2px}.toast .toast-close{background:transparent;border:0;color:#bcd8ff;cursor:pointer;font-size:18px;line-height:1}.toast .toast-close:hover{color:#fff}.chat-page{grid-template-columns:clamp(260px,26vw,340px) minmax(560px,1fr);height:100%;min-height:0;align-items:stretch;overflow:hidden}.chat-panel{display:flex;flex-direction:column;gap:12px;min-height:0;height:100%;overflow:hidden}.chat-page .sidebar,.chat-page .preview,.chat-page .sidebar .panel,.chat-page .preview .panel{min-height:0;height:100%;overflow:hidden}.chat-thread-list{display:flex;flex-direction:column;gap:8px;max-height:none;flex:1;overflow:auto;padding-right:4px}.chat-thread-item{width:100%;text-align:left;background:#ffffff05;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:10px;color:var(--text);cursor:pointer;transition:border-color .12s ease,background .12s ease,box-shadow .12s ease}.chat-thread-item:hover{border-color:#355173;background:linear-gradient(135deg,#67e8f91f,#a78bfa1a);box-shadow:0 0 0 1px #67e8f91f inset}.chat-thread-item.active{border-color:#67e8f959;background:linear-gradient(135deg,#67e8f92e,#a78bfa29);box-shadow:0 0 0 1px #67e8f933 inset,0 10px 28px #a78bfa1a}.chat-thread-title{font-weight:700;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-thread-meta{font-size:12px;color:var(--muted)}.chat-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.chat-header-actions-menu{position:relative}.chat-header-more{min-width:34px;height:34px;border:1px solid #2a3a4a;border-radius:10px;background:#0f141bc7;color:#c9d7e8;font-size:16px;font-weight:700;line-height:1;padding:0 10px;cursor:pointer;transition:border-color .12s ease,color .12s ease,background .12s ease}.chat-header-more:hover:not(:disabled){border-color:#355173;color:#e8f3ff;background:#35517342}.chat-header-more:disabled{opacity:.65;cursor:not-allowed}.chat-header-dropdown{position:absolute;top:calc(100% + 6px);right:0;min-width:150px;padding:6px;border:1px solid rgba(42,58,74,.95);border-radius:10px;background:#0a101cfa;box-shadow:0 10px 26px #00000073;z-index:12;display:flex;flex-direction:column;gap:4px}.chat-header-dropdown-item{width:100%;border:1px solid #2a3a4a;border-radius:8px;background:#0f141bb3;color:#c9d7e8;font-size:12px;font-weight:650;text-align:left;padding:8px 10px;cursor:pointer;transition:border-color .12s ease,color .12s ease,background .12s ease}.chat-header-dropdown-item:hover:not(:disabled){border-color:#355173;color:#e8f3ff;background:#35517342}.chat-header-dropdown-item.danger{border-color:#ff6b6b57;background:#ff6b6b14;color:#ffb8bd}.chat-header-dropdown-item.danger:hover:not(:disabled){border-color:#ff6b6b94;color:#ffd5d8;background:#ff6b6b26}.chat-header-dropdown-item:disabled{opacity:.65;cursor:not-allowed}.chat-thread-rename{border:1px solid #2a3a4a;background:#0f141bc7;color:#c9d7e8;font-size:12px;font-weight:650;border-radius:10px;padding:7px 12px;cursor:pointer;transition:border-color .12s ease,color .12s ease,background .12s ease}.chat-thread-rename:hover:not(:disabled){border-color:#355173;color:#e8f3ff;background:#35517342}.chat-thread-rename:disabled{opacity:.65;cursor:not-allowed}.chat-thread-delete{border:1px solid rgba(255,107,107,.34);background:#ff6b6b14;color:#ffb8bd;font-size:12px;font-weight:650;border-radius:10px;padding:7px 12px;cursor:pointer;transition:border-color .12s ease,color .12s ease,background .12s ease}.chat-thread-delete:hover:not(:disabled){border-color:#ff6b6b94;color:#ffd5d8;background:#ff6b6b26}.chat-thread-delete:disabled{opacity:.65;cursor:not-allowed}.chat-message-list{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:10px;padding-right:4px;padding-bottom:8px;max-height:none}.chat-message{border:1px solid #243447;border-radius:12px;padding:10px 12px;max-width:50%;display:flex;flex-direction:column;gap:6px}.chat-message.user{align-self:flex-end;background:linear-gradient(135deg,#67e8f92e,#a78bfa29);border-color:#67e8f959}.chat-message.assistant{align-self:flex-start;background:#0a101ce6}.chat-message-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-message-role{font-size:11px;text-transform:uppercase;color:var(--muted);letter-spacing:.5px}.chat-message-actions{display:inline-flex;align-items:center;gap:6px}.chat-message-revert{border:1px solid rgba(103,232,249,.35);background:#67e8f914;color:#9ce9f4;font-size:12px;line-height:1;border-radius:8px;width:26px;height:26px;padding:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color .12s ease,color .12s ease,background .12s ease}.chat-message-revert:hover:not(:disabled){border-color:#67e8f99e;color:#d8f9ff;background:#67e8f92b}.chat-message-revert:disabled{opacity:.7;cursor:not-allowed}.chat-message-delete{border:1px solid #2a3a4a;background:#0f141bb3;color:var(--muted);font-size:11px;border-radius:8px;padding:3px 8px;cursor:pointer;transition:border-color .12s ease,color .12s ease,background .12s ease}.chat-message-delete:hover:not(:disabled){border-color:#ff6b6b73;color:#ff9aa2;background:#ff6b6b14}.chat-message-delete:disabled{opacity:.7;cursor:not-allowed}.chat-message-text{white-space:pre-wrap;word-break:break-word;line-height:1.45}.chat-event-list{display:grid;gap:10px;margin-top:6px;position:relative;padding-left:22px}.chat-event-list:before{content:"";position:absolute;left:8px;top:8px;bottom:8px;width:1px;background:#8faac873}.chat-event{position:relative;padding:0;display:flex;flex-direction:column;gap:6px}.chat-event:before{content:"";position:absolute;left:-18px;top:7px;width:10px;height:10px;border-radius:50%;border:1px solid rgba(143,170,200,.8);background:#0a1020;box-sizing:border-box}.chat-event.tool_failed{color:#ffbbc0}.chat-event.tool_finished{color:#d9ffe7}.chat-event.tool_finished:before{border-color:#a0f0c5cc;background:#a0f0c538}.chat-event.tool_failed:before{border-color:#ff6b6bd9;background:#ff6b6b33}.chat-event.tool_progress:before,.chat-event.tool_started:before{border-color:#67e8f9d9;background:#67e8f933}.chat-event-toggle{border-radius:8px;padding:2px 0}.chat-event-toggle.expandable{cursor:pointer}.chat-event-toggle.expandable:hover{background:#8faac814}.chat-event-toggle.expandable:focus-visible{outline:1px solid rgba(103,232,249,.48);outline-offset:2px}.chat-event-head{display:flex;align-items:center;gap:8px}.chat-event-title{font-size:13px;font-weight:650;color:#dce8f6}.chat-event-state{font-size:11px;color:var(--muted)}.chat-event-state.tool_finished{color:#a6eac4}.chat-event-state.tool_failed{color:#ff9aa2}.chat-event-state.tool_progress,.chat-event-state.tool_started{color:#9ce9f4}.chat-event-message{margin-top:2px;font-size:12px;color:var(--muted);line-height:1.35}.chat-event-expand-hint{margin-top:3px;font-size:11px;color:#9ab0c8}.chat-event-metadata-btn{margin-top:6px;border:1px solid rgba(103,232,249,.36);background:#67e8f91a;color:#c7f8ff;border-radius:999px;font-size:11px;font-weight:650;padding:4px 10px;cursor:pointer;transition:border-color .12s ease,background .12s ease,color .12s ease}.chat-event-metadata-btn:hover{border-color:#67e8f9a3;background:#67e8f933;color:#e3fdff}.chat-debug-metadata-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#03080fad;display:flex;align-items:center;justify-content:center;padding:20px}.chat-debug-metadata-modal{width:min(740px,100%);max-height:min(82vh,860px);border-radius:14px;border:1px solid rgba(103,232,249,.28);background:linear-gradient(180deg,#080e19fa,#060a12fa);box-shadow:0 20px 48px #00000080;overflow:hidden;display:flex;flex-direction:column}.chat-debug-metadata-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid rgba(143,170,200,.22)}.chat-debug-metadata-title{font-size:14px;font-weight:700;color:#e4f2ff}.chat-debug-metadata-subtitle{margin-top:2px;font-size:11px;color:#9ab0c8}.chat-debug-metadata-close{width:28px;height:28px;border:1px solid rgba(143,170,200,.35);border-radius:8px;background:#0f141bb8;color:#dce8f6;font-size:18px;line-height:1;cursor:pointer}.chat-debug-metadata-body{overflow:auto;padding:12px 14px;display:grid;gap:12px}.chat-debug-metadata-item{border:1px solid rgba(143,170,200,.24);border-radius:10px;background:#070c16cc;padding:10px}.chat-debug-metadata-item-label{font-size:11px;color:#9ce9f4;margin-bottom:8px}.chat-debug-metadata-json{margin:0;white-space:pre-wrap;word-break:break-word;font-size:11px;line-height:1.35;color:#d7f4ff}.chat-image-preview-modal{width:min(920px,100%)}.chat-image-preview-body{overflow:auto;padding:12px 14px 14px;display:grid;gap:10px}.chat-image-preview-media{width:100%;max-height:min(68vh,760px);object-fit:contain;border-radius:10px;border:1px solid rgba(143,170,200,.28);background:#060a12d1}.chat-image-preview-note{font-size:11px;line-height:1.35}.chat-canvas-lightbox-inner{width:min(1080px,96vw);max-height:92vh;overflow:hidden}.chat-canvas-preview-video{display:block;max-width:88vw;max-height:78vh;border-radius:10px;border:1px solid #253140;background:#0f141b}.chat-canvas-preview-canvas{overflow:hidden;touch-action:none}.chat-canvas-preview-image{max-width:calc(88vw - 24px);max-height:calc(78vh - 24px)}.chat-canvas-preview-meta{border:1px solid rgba(37,49,64,.95);border-radius:10px;background:#0f141bb8;padding:10px;display:grid;gap:8px}.chat-canvas-preview-meta-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.chat-canvas-preview-meta-grid{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.chat-canvas-preview-meta-item{border:1px solid rgba(143,170,200,.18);border-radius:8px;background:#070c16b8;padding:8px}.chat-canvas-preview-meta-label{font-size:10px;letter-spacing:.3px;text-transform:uppercase;color:#9ce9f4;margin-bottom:4px}.chat-canvas-preview-meta-value{font-size:11px;line-height:1.35;color:#d4e5f8;white-space:pre-wrap;word-break:break-word}.chat-marker-editor-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#02070ec7;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:12px}.chat-marker-editor-modal{width:min(1480px,98vw);height:min(96vh,980px);border-radius:14px;border:1px solid #253140;background:linear-gradient(180deg,#080e19fa,#060a12fa);box-shadow:0 20px 48px #00000085;display:grid;grid-template-rows:auto 1fr;overflow:hidden}.chat-marker-editor-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-bottom:1px solid rgba(53,81,115,.6)}.chat-marker-editor-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px}.chat-marker-close-icon{width:28px;height:28px;border:1px solid rgba(143,170,200,.35);border-radius:8px;background:#0f141bb8;color:#dce8f6;font-size:16px;line-height:1;cursor:pointer}.chat-marker-editor-tools,.chat-marker-editor-zoom{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.chat-marker-editor-stage{position:relative;min-height:0;overflow:hidden;padding:12px;display:grid;place-items:center;background:radial-gradient(circle at 1px 1px,rgba(143,170,200,.2) 1px,transparent 1px) 0 0 / 20px 20px,linear-gradient(180deg,#070c16eb,#070c16bd)}.chat-marker-editor-stage.chat-marker-pan-enabled{cursor:all-scroll}.chat-marker-editor-stage.chat-marker-pan-active{cursor:grabbing;cursor:-webkit-grabbing}.chat-marker-floating-toolbar{position:absolute;top:14px;left:50%;transform:translate(-50%);z-index:3;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:8px;width:min(96%,1160px)}.chat-marker-floating-group{display:inline-flex;align-items:center;gap:6px;padding:6px;border-radius:12px;border:1px solid rgba(53,81,115,.58);background:#080e19e0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.chat-marker-icon-btn{width:30px;height:30px;border:1px solid rgba(103,232,249,.24);border-radius:8px;background:#0f141bc7;color:#d4e5f8;font-size:14px;font-weight:700;line-height:1;cursor:pointer}.chat-marker-icon-btn:hover,.chat-marker-icon-btn.active{border-color:#67e8f9b8;background:#67e8f938;color:#e8fdff;box-shadow:0 0 0 1px #67e8f961 inset}.chat-marker-icon-btn:hover,.chat-marker-close-icon:hover{border-color:#67e8f9a8;background:#67e8f92e}.chat-marker-icon-btn:disabled{opacity:.42;cursor:not-allowed;border-color:#8faac833;background:#0f141b94;box-shadow:none}.chat-marker-color-swatch{width:22px;height:22px;border-radius:999px;border:2px solid rgba(255,255,255,.38);cursor:pointer}.chat-marker-color-swatch.active{box-shadow:0 0 0 2px #ffffff38}.chat-marker-color-input{width:32px;height:26px;padding:0;border:1px solid rgba(143,170,200,.35);border-radius:8px;background:#0f141bb8;cursor:pointer}.chat-marker-editor-style-controls{gap:8px}.chat-marker-style-control{display:inline-flex;align-items:center;gap:6px;color:#d4e5f8;font-size:11px;font-weight:700}.chat-marker-select{min-width:76px;height:28px;border:1px solid rgba(103,232,249,.3);border-radius:8px;background:#0f141bdb;color:#e8fdff;font-size:12px;padding:0 8px}.chat-marker-editor-target{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.chat-marker-editor-host{width:min(1320px,94vw);height:calc(96vh - 130px);min-height:360px;margin-top:56px;overflow:hidden}.chat-marker-editor-host>*{width:100%;height:100%;display:block}.chat-marker-area-host{overflow:hidden!important;scrollbar-width:none}.chat-marker-area-host::-webkit-scrollbar{width:0;height:0}.chat-event-debug{margin:2px 0 0;padding:8px;border-radius:8px;border:1px solid rgba(143,170,200,.26);background:#070c16e0;color:#c8f2ff;font-size:11px;line-height:1.35;white-space:pre-wrap;overflow-x:auto}.chat-event-link{color:var(--primary);font-size:12px;text-decoration:none;font-weight:700}.chat-event-link:hover{text-decoration:underline}.chat-input-bar{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;position:sticky;bottom:0;z-index:2;background:linear-gradient(180deg,#0a101c14,#0a101cf2 26%,#0a101c);border-top:1px solid rgba(53,81,115,.45);padding-top:10px;margin-top:-90px}.chat-input-textarea{min-height:84px;max-height:240px;line-height:1.45;resize:vertical}.chat-media-link{display:inline-block;margin-top:6px;border-radius:10px;overflow:hidden;border:1px solid #2a3a4a;max-width:min(420px,100%)}.chat-media-preview{display:block;width:100%;height:auto;object-fit:cover}.chat-media-video{margin-top:6px;width:min(460px,100%);border-radius:10px;border:1px solid #2a3a4a;background:#000}.chat-event-progress{height:6px;background:#0a101cd9;border:1px solid #2a3a4a;border-radius:999px;overflow:hidden}.chat-event-progress>div{height:100%;background:linear-gradient(90deg,var(--neon-1),var(--neon-2));transition:width .25s ease}@media (max-width: 1100px){.chat-page{grid-template-columns:1fr}.chat-thread-list{max-height:240px;flex:0 0 auto}.chat-message{max-width:100%}}@media (max-width: 900px){.app-shell.chat-mode{grid-template-columns:1fr;height:calc(100vh - 48px);min-height:calc(100vh - 48px)}.container.chat-route{height:100%;min-height:0}}.container.chat-route{height:100%;min-height:0;overflow:hidden}.chat-studio{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;height:100%;min-height:0;padding:10px;align-items:stretch;overflow:hidden}.chat-thread-drawer{width:320px;min-width:320px;transition:width .16s ease,min-width .16s ease;min-height:0;overflow:hidden}.chat-workspace{position:relative;min-height:0;height:100%;overflow:hidden}.chat-reference-canvas-panel{height:100%;min-height:0}.chat-thread-panel{height:100%;min-height:0;overflow:hidden}.chat-thread-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;min-height:30px}.chat-thread-menu-toggle{min-width:30px;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;padding:0;position:relative;z-index:2;flex:0 0 auto}.chat-thread-drawer.collapsed{width:64px;min-width:64px}.chat-thread-drawer.collapsed .chat-thread-panel{padding:8px 6px}.chat-reference-panel,.chat-main-panel{display:flex;flex-direction:column;min-height:0;overflow:hidden;width:100%}.chat-main-panel{max-width:none}.chat-overlay-panel{position:absolute;top:12px;right:12px;width:min(440px,calc(100% - 24px));height:calc(100% - 24px);z-index:5}.chat-overlay-panel .chat-message{max-width:100%}.chat-overlay-panel .chat-message-list{overflow-y:auto;overscroll-behavior:contain}.chat-reference-header,.chat-main-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;flex:0 0 auto;flex-wrap:wrap}.chat-main-title-row{display:flex;align-items:center}.chat-canvas-controls{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.chat-canvas-zoom-chip{font-size:11px;color:#b6cbe2;border:1px solid #2a3a4a;border-radius:999px;padding:4px 8px;background:#0f141bb8}.chat-canvas-tool{border:1px solid #2a3a4a;border-radius:8px;background:#0f141bc7;color:#d4e5f8;font-size:12px;font-weight:650;min-width:30px;height:30px;padding:0 8px;cursor:pointer}.chat-canvas-stage{flex:1;min-height:0;position:relative;overflow:hidden;border-radius:12px;border:1px dashed rgba(53,81,115,.6);background:radial-gradient(circle at 1px 1px,rgba(143,170,200,.24) 1px,transparent 1px) 0 0 / 22px 22px,linear-gradient(180deg,#070c16e0,#070c16ad);cursor:grab}.chat-canvas-stage.interacting{cursor:grabbing}.chat-canvas-content{position:absolute;top:0;right:0;bottom:0;left:0;transform-origin:0 0}.chat-canvas-empty{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(460px,84%);text-align:center}.chat-canvas-card{position:absolute;width:160px;-webkit-user-select:none;user-select:none;touch-action:none;cursor:grab}.chat-canvas-edit-icon{position:absolute;top:6px;right:6px;z-index:2;width:22px;height:22px;border:1px solid rgba(103,232,249,.42);border-radius:7px;background:#060a12c2;color:#c7f8ff;font-size:12px;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.chat-canvas-edit-icon:hover{border-color:#67e8f9b8;background:#67e8f929}.chat-canvas-delete-icon{position:absolute;top:6px;left:6px;z-index:2;width:22px;height:22px;border:1px solid rgba(248,113,113,.45);border-radius:7px;background:#1c0a0cd1;color:#fecaca;font-size:14px;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.chat-canvas-delete-icon:hover{border-color:#f87171d1;background:#f871712e}.chat-canvas-card.non-selectable{box-shadow:inset 0 0 0 1px #8faac82e}.chat-canvas-card:active{cursor:grabbing}.chat-reference-grid{flex:1;min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;padding-right:4px}.chat-reference-card{border:1px solid #243447;border-radius:10px;background:#0a101cd9;padding:6px;cursor:inherit;text-align:left}.chat-reference-card.selected{border-color:#4df3ff;box-shadow:0 0 0 1px #4df3ff52 inset}.chat-reference-thumb{width:100%;height:auto;max-height:140px;object-fit:contain;border-radius:8px;display:block;background:#070c16eb}.chat-reference-video-thumb{background:#070c16eb}.chat-reference-meta{margin-top:6px;display:flex;align-items:center;justify-content:space-between;gap:6px}.chat-reference-kind{font-size:10px;text-transform:uppercase;color:#95acc4}.chat-reference-kind.generated{color:#9ce9f4}.chat-reference-kind.uploaded{color:#ffd7a3}.chat-reference-kind.selected{color:#b5f6df}.chat-reference-check{font-size:10px;color:#d7fff0}.chat-reference-check.passive{color:#b6cbe2}.chat-reference-note{margin-top:4px;font-size:10px;color:#9ab1c8;line-height:1.3;display:-webkit-box;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.chat-clear-selection{border:1px solid #2a3a4a;background:#0f141bbf;color:#d4e5f8;border-radius:8px;padding:6px 10px;cursor:pointer;font-size:12px}.chat-clear-selection:disabled{opacity:.5;cursor:not-allowed}.chat-loveart-composer{margin-top:8px;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:#f0f2f514;padding:10px;display:flex;flex-direction:column;gap:8px;flex:0 0 auto;position:sticky;bottom:0;z-index:6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.chat-selected-strip{display:flex;flex-wrap:wrap;gap:8px}.chat-selected-chip{position:relative;width:58px;height:58px;border-radius:10px;border:1px solid rgba(77,243,255,.28);overflow:hidden;background:#0f141b}.chat-selected-chip img{width:100%;height:100%;object-fit:cover;display:block}.chat-selected-remove{position:absolute;top:2px;right:2px;width:18px;height:18px;border:0;border-radius:999px;background:#000000a6;color:#fff;cursor:pointer;line-height:1}.chat-loveart-input{min-height:72px;resize:none;border-radius:12px;border:1px solid rgba(255,255,255,.16);background:#00000029}.chat-loveart-actions{display:flex;align-items:center;justify-content:space-between}.chat-compose-controls{flex:1;min-width:0;margin:0 8px}.chat-resolution-select{width:auto;min-height:34px;border-radius:999px;font-size:12px;padding:0 10px}.chat-upload-status{font-size:11px;color:#9ce9f4;border:1px solid rgba(103,232,249,.28);background:#67e8f914;border-radius:10px;padding:6px 8px}.chat-attach-btn,.chat-send-btn{width:34px;height:34px;border-radius:999px;border:1px solid #2a3a4a;background:#0f141bbf;color:#d9e9fb;cursor:pointer}.chat-send-btn{background:linear-gradient(135deg,#a78bfa38,#ff2bd133);color:var(--text);font-weight:700;letter-spacing:.2px;cursor:pointer;box-shadow:none;transition:transform .06s ease,filter .15s ease;position:relative;overflow:hidden}.chat-attach-btn:disabled,.chat-send-btn:disabled{opacity:.55;cursor:not-allowed}@media (max-width: 1280px){.chat-overlay-panel{width:min(410px,calc(100% - 24px))}}@media (max-width: 1180px){.chat-studio{grid-template-columns:1fr;padding:8px}.chat-thread-drawer,.chat-thread-drawer.collapsed{width:100%;min-width:0}.chat-thread-drawer.collapsed{min-height:64px}.chat-reference-panel{min-height:220px;max-height:340px}.chat-workspace{display:flex;flex-direction:column;gap:10px}.chat-reference-canvas-panel{min-height:280px;max-height:none}.chat-main-panel.chat-overlay-panel{position:relative;inset:auto;width:100%;height:min(54vh,620px)}}@media (max-width: 900px){.chat-main-header{align-items:flex-start}.chat-loveart-composer{position:sticky;bottom:0;z-index:4;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}}.video-editor-workspace{height:100vh;min-height:100vh;display:grid;grid-template-rows:72px minmax(0,1fr) minmax(260px,34vh);background:radial-gradient(900px 520px at 50% -5%,rgba(77,243,255,.08),transparent 55%),radial-gradient(800px 500px at 110% 100%,rgba(255,43,209,.08),transparent 55%),linear-gradient(180deg,#05070d,#080c16);overflow:hidden}.video-editor-workspace.is-empty{place-items:center}.video-editor-empty{width:min(640px,calc(100vw - 40px));margin:auto}.video-editor-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#0c101cf5,#080c16eb);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.video-editor-topbar-left,.video-editor-topbar-right{display:flex;align-items:center;gap:12px}.video-editor-topbar-right{justify-content:flex-end;flex-wrap:wrap}.video-editor-title-group{display:flex;flex-direction:column;gap:4px;min-width:320px}.video-editor-eyebrow{color:#8da4bb;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.video-editor-title-input{min-width:360px;height:40px;border-radius:12px;background:#ffffff0a}.video-editor-stat-chip{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:#ffffff0a;color:#d7e5f3;font-size:13px}.video-editor-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#02060c8f;opacity:0;pointer-events:none;transition:opacity .18s ease;z-index:80}.video-editor-drawer-backdrop.is-open{opacity:1;pointer-events:auto}.video-editor-drawer{position:fixed;top:0;right:0;width:min(440px,92vw);height:100vh;display:flex;flex-direction:column;gap:12px;padding:18px;background:linear-gradient(180deg,#0c101cfa,#080c16fa);border-left:1px solid rgba(255,255,255,.08);box-shadow:-12px 0 36px #00000061;transform:translate(100%);transition:transform .2s ease;z-index:81}.video-editor-drawer.is-open{transform:translate(0)}.video-editor-drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.video-editor-drawer-body{min-height:0;flex:1;overflow:auto}.video-editor-main{min-height:0;display:grid;grid-template-columns:340px minmax(0,1fr) 300px;gap:12px;padding:12px}.video-editor-panel,.video-editor-canvas,.video-editor-timeline-shell{border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#10141ff2,#0a0e18f0);box-shadow:inset 0 1px #ffffff0a,0 16px 44px #00000047}.video-editor-panel{min-height:0;border-radius:18px;padding:14px;overflow:auto}.video-editor-panel-left,.video-editor-panel-right{display:flex;flex-direction:column;gap:12px}.video-editor-media-list{display:flex;flex-direction:column;gap:10px}.video-editor-media-item{display:grid;grid-template-columns:108px minmax(0,1fr);gap:10px;width:100%;padding:10px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:#ffffff08;color:inherit;text-align:left;cursor:grab;transition:border-color .15s ease,background .15s ease,transform .15s ease}.video-editor-media-item:hover{border-color:#4df3ff33;background:#4df3ff0f;transform:translateY(-1px)}.video-editor-media-item:active{cursor:grabbing}.video-editor-media-thumb{position:relative;aspect-ratio:16 / 9;border-radius:10px;overflow:hidden;background:#02050b;border:1px solid rgba(255,255,255,.06)}.video-editor-media-thumb video,.video-editor-media-thumb-placeholder{width:100%;height:100%}.video-editor-media-thumb video{display:block;object-fit:cover;background:#000}.video-editor-media-thumb-placeholder{display:flex;align-items:center;justify-content:center;color:#8da4bb;font-size:12px}.video-editor-media-meta{min-width:0;display:flex;flex-direction:column;gap:4px}.video-editor-media-title{font-weight:600;color:#edf7ff}.video-editor-panel-section{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:14px;background:#ffffff08;border:1px solid rgba(255,255,255,.06)}.video-editor-panel-label{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8da4bb}.video-editor-button-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.video-editor-zoom-slider{grid-column:1 / -1;display:flex;flex-direction:column;gap:6px}.video-editor-zoom-slider input{width:100%}.video-editor-info-list{display:flex;flex-direction:column;gap:8px}.video-editor-info-list>div{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.video-editor-info-list span{color:#8da4bb;font-size:13px}.video-editor-info-list strong{text-align:right;font-size:13px;color:#edf7ff}.video-editor-validation-list{display:flex;flex-direction:column;gap:8px}.video-editor-validation{padding:9px 10px;border-radius:10px;font-size:13px;line-height:1.4}.video-editor-validation.error{background:#ff6b6b24;border:1px solid rgba(255,107,107,.28);color:#ffb4b4}.video-editor-validation.warning{background:#ffd36b24;border:1px solid rgba(255,211,107,.28);color:#ffe4a0}.video-editor-shortcuts{display:flex;flex-direction:column;gap:8px}.video-editor-shortcuts>div{display:flex;align-items:center;gap:10px;font-size:13px;color:#d5e5f4}.video-editor-shortcuts kbd{min-width:64px;padding:4px 8px;border-radius:8px;border:1px solid rgba(255,255,255,.1);background:#ffffff0d;color:#f3fbff;font-family:inherit;font-size:12px;text-align:center}.video-editor-stage{min-width:0;min-height:0}.video-editor-canvas{height:100%;min-height:0;border-radius:20px;padding:14px;display:flex;flex-direction:column;gap:12px}.video-editor-stage-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.video-editor-stage-title{font-size:18px;font-weight:700}.video-editor-stage-pills{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.video-editor-player-shell{min-height:0;flex:1;border-radius:18px;border:1px solid rgba(255,255,255,.06);background:linear-gradient(180deg,#ffffff08,#ffffff03),radial-gradient(circle at 50% 35%,rgba(77,243,255,.06),transparent 45%),#04070d;display:flex;align-items:center;justify-content:center;padding:24px 32px;overflow:hidden}.video-editor-player-frame{position:relative;width:min(82%,980px);max-width:100%;aspect-ratio:16 / 9;max-height:min(56vh,540px);display:flex;align-items:center;justify-content:center}.video-editor-player{width:100%;height:100%;object-fit:contain;border-radius:16px;background:#000;box-shadow:0 18px 60px #0006}.video-editor-player.is-blackout{filter:brightness(0)}.video-editor-safe-guides{pointer-events:none;position:absolute;top:8%;right:8%;bottom:8%;left:8%;border:1px solid rgba(255,255,255,.16);border-radius:12px;box-shadow:inset 33% 0 0 #fff0,inset -33% 0 0 #fff0}.video-editor-safe-guides:before,.video-editor-safe-guides:after{content:"";position:absolute;background:#ffffff24}.video-editor-safe-guides:before{left:50%;top:0;bottom:0;width:1px;transform:translate(-50%)}.video-editor-safe-guides:after{top:50%;left:0;right:0;height:1px;transform:translateY(-50%)}.video-editor-monitor-overlay{position:absolute;top:12px;padding:6px 10px;border-radius:999px;background:#040a12b8;border:1px solid rgba(255,255,255,.1);color:#edf9ff;font-size:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.video-editor-monitor-overlay.top-left{left:12px}.video-editor-monitor-overlay.top-right{right:12px}.video-editor-monitor-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;border-radius:14px;background:#ffffff08;border:1px solid rgba(255,255,255,.06)}.video-editor-monitor-divider{width:1px;align-self:stretch;background:#ffffff14}.video-editor-monitor-chip{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#ffffff0d;color:#deeffb;font-size:12px}.video-editor-action-toolbar{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;padding:5px;border-radius:999px;background:#ffffff0a;border:1px solid rgba(255,255,255,.06)}.video-editor-action-toolbar-divider{width:1px;height:24px;background:#ffffff14}.video-editor-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:#ffffff0a;color:#deeffb;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}.video-editor-icon-btn svg{width:18px;height:18px}.video-editor-icon-btn:hover:not(:disabled){background:#4df3ff1f;border-color:#4df3ff38;transform:translateY(-1px)}.video-editor-icon-btn:disabled{opacity:.42;cursor:not-allowed}.video-editor-icon-btn.danger{color:#ffb8b8}.video-editor-monitor-readout{color:#9eb3c8;font-size:13px;margin-left:auto}.video-editor-selected-name{font-size:16px;font-weight:700}.video-editor-action-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.video-editor-action-stack.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.video-editor-export-list{display:flex;flex-direction:column;gap:8px}.video-editor-export-card{display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:12px;background:#ffffff08;border:1px solid rgba(255,255,255,.06)}.video-editor-export-card.compact{gap:6px;padding:9px 10px}.video-editor-export-preview{width:100%;max-height:180px;border-radius:10px;background:#000}.video-editor-export-head{display:flex;justify-content:space-between;gap:10px}.video-editor-transcript-list{display:flex;flex-direction:column;gap:8px}.video-editor-transcript-cue{padding:10px;border-radius:12px;background:#ffffff08;border:1px solid rgba(255,255,255,.06);font-size:13px;line-height:1.45}.video-editor-transcript-time{color:#8da4bb;font-size:11px;margin-bottom:5px}.video-editor-timeline-shell{min-height:0;border-top:1px solid rgba(255,255,255,.08);border-left:0;border-right:0;border-bottom:0;border-radius:18px 18px 0 0;margin:0 12px 12px;padding:12px;overflow:hidden;display:flex;flex-direction:column;gap:12px}.video-editor-timeline-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center}.video-editor-timeline-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.video-editor-inline-zoom{display:inline-flex;align-items:center;gap:8px;padding:0 10px;min-height:34px;border-radius:999px;background:#ffffff0a;border:1px solid rgba(255,255,255,.06)}.video-editor-inline-zoom input{width:110px}.video-editor-timeline-scroll{min-height:0;flex:1;overflow:auto;border-radius:14px;border:1px solid rgba(255,255,255,.06);background:linear-gradient(180deg,#070b12f0,#04070df5)}.video-editor-ruler-row,.video-editor-track-row{display:flex}.video-editor-ruler-row{position:sticky;top:0;z-index:5;min-height:42px;background:#090d16fa;border-bottom:1px solid rgba(255,255,255,.08)}.video-editor-track-header-cell,.video-editor-track-meta{width:220px;min-width:220px;max-width:220px;padding:10px 12px;border-right:1px solid rgba(255,255,255,.06)}.video-editor-track-header-cell{display:flex;align-items:center;font-weight:700}.video-editor-track-row{min-height:78px;border-bottom:1px solid rgba(255,255,255,.05)}.video-editor-track-meta{display:flex;flex-direction:column;justify-content:center;gap:4px;background:#ffffff05}.video-editor-track-meta.active{background:#4df3ff14;box-shadow:inset 0 0 0 1px #4df3ff33}.video-editor-track-meta-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.video-editor-track-name{font-weight:700}.video-editor-track-badge{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:22px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.06em}.video-editor-track-badge.reference{background:#919eb429;color:#dbe8f8}.video-editor-track-badge.snippet{background:#4df3ff2e;color:#dffcff}.video-editor-track-controls{display:flex;gap:6px;margin-top:2px}.video-editor-track-control{border:1px solid rgba(255,255,255,.08);background:#ffffff0a;color:#d7e5f4;border-radius:8px;padding:4px 8px;font-size:11px;cursor:pointer}.video-editor-track-control.off{opacity:.7}.video-editor-track-control.danger{color:#ffb4b4;border-color:#ff6b6b38;background:#ff6b6b14}.video-editor-track-control.icon-only{width:28px;height:24px;padding:0;display:inline-flex;align-items:center;justify-content:center}.video-editor-track-control.icon-only svg{width:12px;height:12px}.video-editor-track-lane{position:relative;min-height:78px;background:linear-gradient(180deg,#ffffff04,#ffffff03),repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0 1px,transparent 1px 40px)}.video-editor-track-lane.active{background:linear-gradient(180deg,#4df3ff14,#4df3ff08),repeating-linear-gradient(90deg,rgba(255,255,255,.04) 0 1px,transparent 1px 40px);box-shadow:inset 0 0 0 1px #4df3ff33}.video-editor-track-disabled-overlay{position:absolute;inset:10px 10px auto 10px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#00000080;border:1px solid rgba(255,255,255,.08);color:#b1c5d8;font-size:12px;z-index:4}.video-editor-ruler-tick{width:1px;height:100%;background:#ffffff14}.video-editor-ruler-label{position:absolute;top:3px;left:4px;font-size:11px}.video-editor-playhead-line{position:absolute;top:0;bottom:0;left:0;width:2px;transform:translate(var(--video-editor-playhead-left, 0px));background:linear-gradient(180deg,#5fe5ff,#4df3ff);box-shadow:0 0 14px #4df3ff8c;z-index:3;will-change:transform}.video-editor-clip{position:absolute;top:12px;height:54px;border-radius:14px;border:1px solid rgba(255,255,255,.08);overflow:hidden;display:flex;align-items:stretch;cursor:grab;-webkit-user-select:none;user-select:none;z-index:2}.video-editor-clip.reference{background:linear-gradient(135deg,#7b89a338,#606f882e)}.video-editor-clip.snippet{background:linear-gradient(135deg,#4df3ff42,#7c4dff3d)}.video-editor-clip.selected{border-color:#4df3fff2;box-shadow:0 0 0 2px #4df3ff1f,0 12px 28px #00000047}.video-editor-clip-body{flex:1;min-width:0;padding:9px 12px;pointer-events:none}.video-editor-clip-tag-row{display:flex;gap:6px;margin-bottom:4px}.video-editor-clip-tag{display:inline-flex;align-items:center;justify-content:center;height:18px;padding:0 7px;border-radius:999px;background:#ffffff29;color:#fcfeff;font-size:10px;font-weight:700;letter-spacing:.04em}.video-editor-clip-tag.subtle-tag{background:#ffffff1a;color:#dff6ff}.video-editor-clip-title,.video-editor-clip-time{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.video-editor-clip-title{font-size:13px;font-weight:700}.video-editor-clip-time{margin-top:4px;font-size:11px;color:#d9f4ff}.video-editor-clip-waveform{margin-top:6px;height:10px;border-radius:999px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.75) 0 2px,transparent 2px 5px),linear-gradient(180deg,#ffffff1f,#ffffff0d);opacity:.55}.video-editor-clip-handle{width:10px;flex:0 0 10px;cursor:ew-resize;background:#ffffff2e}@media (max-width: 1400px){.video-editor-main{grid-template-columns:280px minmax(0,1fr) 280px}.video-editor-player-frame{width:min(88%,900px)}}@media (max-width: 1100px){.video-editor-workspace{grid-template-rows:auto minmax(0,1fr) minmax(240px,34vh)}.video-editor-topbar{flex-direction:column;align-items:stretch}.video-editor-title-group,.video-editor-title-input{min-width:0;width:100%}.video-editor-main{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto}.video-editor-panel-left,.video-editor-panel-right{max-height:240px}}@media (max-width: 800px){.container.fullscreen-route{height:calc(100vh - 48px);min-height:calc(100vh - 48px)}.video-editor-workspace{height:100%;min-height:100%;grid-template-rows:auto minmax(0,1fr) minmax(220px,40vh)}.video-editor-topbar-left,.video-editor-topbar-right,.video-editor-timeline-toolbar,.video-editor-stage-header,.video-editor-monitor-bar{flex-direction:column;align-items:stretch}.video-editor-monitor-readout{margin-left:0}.video-editor-track-header-cell,.video-editor-track-meta{width:140px;min-width:140px;max-width:140px}.video-editor-action-stack,.video-editor-button-grid{grid-template-columns:1fr}.video-editor-inline-zoom{width:100%;justify-content:space-between}.video-editor-action-toolbar{width:100%;justify-content:flex-start;border-radius:16px}.video-editor-player-shell{padding:16px}.video-editor-player-frame{width:min(100%,760px);max-height:min(44vh,420px)}}
