.landing-page{min-height:100vh;background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);color:#f8fafc}.landing-page .landing-container{max-width:1200px;margin:0 auto;padding:0 2rem}.landing-page .hero{min-height:100vh;display:flex;align-items:flex-start;justify-content:center;padding:1rem 2rem 4rem;background:linear-gradient(135deg,#0f172a 0%,#1e293b 50%,#0f172a 100%);position:relative;overflow:hidden}.landing-page .hero:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 50% 50%,rgba(59,130,246,.1) 0%,transparent 70%);pointer-events:none}.landing-page .hero-content{max-width:900px;text-align:center;z-index:1;position:relative;padding-top:.5rem}.landing-page .hero-logo{display:flex;justify-content:center;align-items:center;margin-top:0;margin-bottom:0}.landing-page .logo-image{max-width:300px;width:100%;height:auto;display:block;animation:float 3s ease-in-out infinite;filter:drop-shadow(0 10px 30px rgba(59,130,246,.3))}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}.landing-page .hero-title{font-size:clamp(2.5rem,5vw,4rem);font-weight:800;line-height:1.1;margin-bottom:1.5rem;color:#f8fafc}.landing-page .gradient-text{background:linear-gradient(135deg,#3b82f6,#8b5cf6,#ec4899);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.landing-page .hero-description{font-size:clamp(1rem,2vw,1.25rem);line-height:1.7;color:#cbd5e1;margin-bottom:1.5rem;max-width:700px;margin-left:auto;margin-right:auto}.landing-page .hero-cta{display:flex;flex-direction:column;align-items:center;gap:1rem}.landing-page .cta-primary{display:inline-flex;align-items:center;gap:.75rem;padding:1rem 2.5rem;font-size:1.125rem;font-weight:600;color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:12px;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 14px #3b82f666}.landing-page .cta-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #3b82f699;background:linear-gradient(135deg,#2563eb,#1d4ed8)}.landing-page .cta-primary.large{padding:1.25rem 3rem;font-size:1.25rem}.landing-page .cta-primary span{font-size:1.5rem}.landing-page .cta-note{font-size:.875rem;color:#94a3b8;margin:0}.landing-page .features{padding:1.5rem 0 3rem;background:#0f172a}.landing-page .landing-section-title{font-size:clamp(2rem,4vw,3rem);font-weight:700;text-align:center;margin-bottom:1.5rem;margin-top:0;color:#f8fafc}.landing-page .features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.landing-page .feature-card{padding:1.5rem;background:#1e293b;border:1px solid #334155;border-radius:16px;transition:all .3s ease}.landing-page .feature-card:hover{transform:translateY(-4px);border-color:#475569;box-shadow:0 8px 24px #0000004d}.landing-page .feature-icon{font-size:3rem;margin-bottom:1rem;display:block}.landing-page .feature-card h3{font-size:1.5rem;font-weight:600;margin-bottom:.75rem;color:#f8fafc}.landing-page .feature-card p{color:#cbd5e1;line-height:1.6;margin:0}.landing-page .screenshot-section{padding:1.5rem 0 3rem;background:#1e293b}.landing-page .screenshot-container{max-width:1000px;margin:0 auto}.landing-page .screenshot-placeholder{background:#0f172a;border:1px solid #334155;border-radius:16px;padding:1.5rem;box-shadow:0 8px 32px #0006}.landing-page .screenshot-content{text-align:center}.landing-page .screenshot-mockup{background:#0f172a;border-radius:8px;overflow:hidden;margin-bottom:1rem;border:1px solid #334155}.landing-page .mockup-header{background:#1e293b;padding:.75rem 1rem;display:flex;gap:.5rem;border-bottom:1px solid #334155}.landing-page .mockup-dot{width:12px;height:12px;border-radius:50%;background:#475569}.landing-page .mockup-body{display:flex;min-height:400px;width:100%;align-items:center;justify-content:center;background:#0f172a;overflow:hidden}.landing-page .screenshot-image{width:100%;height:auto;display:block;object-fit:cover}.landing-page .use-cases{padding:1.5rem 0 2rem;background:#0f172a}.landing-page .use-cases-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.landing-page .use-case-item{text-align:center;padding:1rem}.landing-page .use-case-icon{font-size:3rem;display:block;margin-bottom:.75rem}.landing-page .use-case-item h3{font-size:1.25rem;font-weight:600;margin-bottom:.5rem;color:#f8fafc}.landing-page .use-case-item p{color:#cbd5e1;margin:0;font-size:.9rem}.landing-page .cta-section{padding:1.5rem 0 3rem;background:linear-gradient(135deg,#1e293b,#0f172a)}.landing-page .cta-box{max-width:700px;margin:0 auto;text-align:center;padding:2rem;background:#1e293b;border:1px solid #334155;border-radius:24px}.landing-page .cta-title{font-size:clamp(2rem,4vw,2.5rem);font-weight:700;margin-bottom:1rem;color:#f8fafc}.landing-page .cta-description{font-size:1.125rem;color:#cbd5e1;margin-bottom:1.5rem}.landing-page .landing-footer{background:#0f172a;border-top:1px solid #334155;padding:2rem 0 1rem}.landing-page .footer-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-bottom:1.5rem}.landing-page .footer-info h3{font-size:1.5rem;font-weight:600;margin-bottom:1rem;color:#f8fafc}.landing-page .footer-info p{color:#cbd5e1;line-height:1.6;margin-bottom:.5rem}.landing-page .footer-version{color:#94a3b8;font-size:.875rem}.landing-page .footer-links h4{font-size:1.125rem;font-weight:600;margin-bottom:1rem;color:#f8fafc}.landing-page .footer-links p{color:#cbd5e1;line-height:1.6}.landing-page .footer-links a{color:#3b82f6;text-decoration:none;transition:color .2s}.landing-page .footer-links a:hover{color:#60a5fa;text-decoration:underline}.landing-page .footer-bottom{text-align:center;padding-top:1.5rem;border-top:1px solid #334155;color:#94a3b8;font-size:.875rem}@media (max-width: 768px){.landing-page .hero{padding:2rem 1rem}.landing-page .landing-container{padding:0 1rem}.landing-page .features-grid,.landing-page .use-cases-grid{grid-template-columns:1fr}}.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:rgba(255,255,255,.5);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:rgba(0,89,220,.08);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%}html,body{height:100%;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:#0f172a;color:#f8fafc}#root{height:100%;width:100%}body:has(.landing-page){overflow-y:auto;overflow-x:hidden}body:not(:has(.landing-page)){overflow:hidden}*{scrollbar-width:thin;scrollbar-color:#475569 #0f172a}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:#0f172a;border-radius:4px}*::-webkit-scrollbar-thumb{background:#475569;border-radius:4px;border:1px solid #0f172a}*::-webkit-scrollbar-thumb:hover{background:#64748b}.flex{display:flex}.flex-column{flex-direction:column}.flex-center{display:flex;align-items:center;justify-content:center}.panel{background-color:#0f172a;border-left:1px solid #1e293b;padding:0;overflow:hidden;position:relative;flex-shrink:0;display:flex;flex-direction:column;height:100%}.panel>div:first-child{flex:1;overflow-y:auto;overflow-x:hidden;padding:1rem}.panel-header{border-bottom:1px solid #1e293b;padding-bottom:.75rem;margin-bottom:.75rem}.panel-footer{margin-top:auto;padding:1rem;border-top:1px solid #1e293b;display:flex;align-items:center;justify-content:center;gap:.5rem;font-size:.7rem;color:#64748b;flex-shrink:0;background-color:#0f172a}.footer-link{color:#94a3b8;text-decoration:none;transition:color .2s ease;cursor:pointer}.footer-link:hover{color:#3b82f6;text-decoration:underline}.footer-separator{color:#475569}.analysis-controls{display:flex;flex-direction:column;gap:.75rem}.analysis-control-group{display:flex;flex-direction:column;gap:.4rem}.analysis-label{font-size:.7rem;color:#94a3b8;font-weight:500}.analysis-input,.analysis-select{background-color:#1e293b;border:1px solid #334155;border-radius:6px;padding:.4rem .6rem;color:#cbd5e1;font-size:.75rem;width:100%;box-sizing:border-box;transition:border-color .2s ease}.analysis-input:focus,.analysis-select:focus{outline:none;border-color:#475569}.analysis-select{cursor:pointer}.btn-analysis{display:flex;align-items:center;justify-content:center;gap:.4rem;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:6px;padding:.5rem .9rem;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #3b82f64d;width:100%}.btn-analysis:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 8px #3b82f666;transform:translateY(-1px)}.btn-analysis span{font-size:.9rem}.panel>div:first-child::-webkit-scrollbar{width:8px}.panel>div:first-child::-webkit-scrollbar-track{background:#0f172a;border-radius:4px}.panel>div:first-child::-webkit-scrollbar-thumb{background:#475569;border-radius:4px;border:1px solid #0f172a}.panel>div:first-child::-webkit-scrollbar-thumb:hover{background:#64748b}.panel>div:first-child{scrollbar-width:thin;scrollbar-color:#475569 #0f172a}.panel-resize-handle{width:4px;background-color:transparent;cursor:col-resize;position:relative;flex-shrink:0;transition:background-color .2s ease}.panel-resize-handle:hover{background-color:#475569}.panel-resize-handle:after{content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;background-color:#334155;transform:translate(-50%);transition:background-color .2s ease}.panel-resize-handle:hover:after{background-color:#64748b}.sidebar{width:220px;border-right:1px solid #1e293b;background-color:#1e293b;padding:.5rem;overflow-y:auto;overflow-x:hidden;position:relative;flex-shrink:0}.sidebar::-webkit-scrollbar{width:8px}.sidebar::-webkit-scrollbar-track{background:#0f172a;border-radius:4px}.sidebar::-webkit-scrollbar-thumb{background:#475569;border-radius:4px;border:1px solid #0f172a}.sidebar::-webkit-scrollbar-thumb:hover{background:#64748b}.sidebar{scrollbar-width:thin;scrollbar-color:#475569 #0f172a}.sidebar-resize-handle{width:4px;background-color:transparent;cursor:col-resize;position:relative;flex-shrink:0;transition:background-color .2s ease}.sidebar-resize-handle:hover{background-color:#475569}.sidebar-resize-handle:after{content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;background-color:#334155;transform:translate(-50%);transition:background-color .2s ease}.sidebar-resize-handle:hover:after{background-color:#64748b}.sidebar h3{margin:0 0 .5rem;padding:0;font-size:.9rem;color:#cbd5e1}.palette-item{display:flex;align-items:center;gap:.5rem;padding:.25rem .5rem;border-radius:4px;margin-bottom:.02rem;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .15s ease}.palette-item:hover{background-color:#334155}.palette-icon{font-size:.95rem}.palette-categories{display:flex;flex-direction:column;gap:.25rem}.palette-category{margin-bottom:.25rem}.palette-category-header{display:flex;align-items:center;gap:.4rem;padding:.4rem .5rem;border-radius:4px;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .15s ease;background-color:#0f172a;border:1px solid #334155}.palette-category-header:hover{background-color:#1e293b;border-color:#475569}.palette-category-icon{font-size:.9rem}.palette-category-title{flex:1;font-size:.8rem;font-weight:600;color:#e2e8f0}.palette-category-toggle{font-size:.7rem;color:#94a3b8;transition:transform .2s ease}.palette-list{display:flex;flex-direction:column;gap:.01rem;margin-top:.25rem;padding-left:.5rem;border-left:2px solid #334155;margin-left:.5rem}.palette-texts{display:flex;flex-direction:column;gap:2px}.palette-label{font-size:.75rem;color:#e2e8f0}.palette-desc{font-size:.68rem;color:#94a3b8;line-height:1.1}.sidebar-divider{margin:.75rem 0;border-top:1px solid #334155}.template-list{display:flex;flex-direction:column;gap:.2rem}.template-item{border:1px solid #334155;border-radius:6px;padding:.45rem .55rem;background:#162032;cursor:pointer;transition:border .2s ease,background .2s ease}.template-item:hover{border-color:#475569;background:#1d2a3d}.template-title{font-size:.8rem;color:#e2e8f0;font-weight:700;display:flex;align-items:center;gap:.4rem}.template-icon{font-size:.9rem}.template-desc{font-size:.7rem;color:#94a3b8;margin-top:2px;line-height:1.2}.dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:3000}.dialog{background:#0f172a;border:1px solid #334155;border-radius:8px;padding:1rem;width:90%;max-width:480px;color:#e2e8f0;box-shadow:0 16px 40px #00000073}.dialog h3{margin:0 0 .5rem;font-size:1rem;color:#38bdf8}.dialog p{margin:0 0 .75rem;color:#cbd5e1;font-size:.9rem}.dialog textarea{width:100%;background:#1e293b;border:1px solid #334155;border-radius:6px;color:#e2e8f0;padding:.5rem;font-size:.85rem;resize:vertical;min-height:140px;box-sizing:border-box}.dialog-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1rem}.dialog-actions button{background-color:#334155;border:1px solid #475569;color:#f8fafc;padding:.5rem 1rem;border-radius:6px;font-size:.85rem;font-weight:500;cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .2s ease;min-width:80px}.dialog-actions button:hover{background-color:#475569;border-color:#64748b;transform:translateY(-1px)}.dialog-actions button:active{transform:translateY(0);background-color:#334155}.dialog-actions button:last-child:not(:only-child){background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:1px solid #2563eb;box-shadow:0 2px 4px #3b82f64d}.dialog-actions button:last-child:not(:only-child):hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#1d4ed8;box-shadow:0 4px 8px #3b82f666}.dialog-actions button.btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:1px solid #2563eb;box-shadow:0 2px 4px #3b82f64d}.dialog-actions button.btn-primary:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#1d4ed8;box-shadow:0 4px 8px #3b82f666}.dialog-error{margin-top:.5rem;color:#fca5a5;font-size:.82rem}.dialog-error-style{border-color:#ef4444}.dialog-error-style h3{color:#fca5a5}.header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.25rem;background:linear-gradient(to right,#1e293b,#0f172a);border-bottom:1px solid #334155;gap:1.5rem;min-height:60px}.header-left{display:flex;align-items:center;flex:1;min-width:0;gap:1rem}.header-logo{display:flex;align-items:center;gap:.5rem;font-weight:600;color:#e2e8f0;flex:1;min-width:0}.logo-icon{font-size:1.5rem;flex-shrink:0}.logo-icon-image{height:40px;width:auto;flex-shrink:0;object-fit:contain;transition:transform .2s ease}.header-logo:hover .logo-icon-image{transform:scale(1.05)}.logo-text{font-size:.95rem;white-space:nowrap;flex-shrink:0}.logo-separator{color:#64748b;margin:0 .5rem;flex-shrink:0}.header-project-title{background-color:transparent;border:1px solid transparent;border-radius:4px;padding:.25rem .5rem;font-size:.85rem;color:#94a3b8;font-weight:400;flex:1;min-width:200px;transition:border-color .2s ease,background-color .2s ease}.header-project-title::placeholder{color:#64748b}.header-project-title:hover{border-color:#334155;background-color:#1e293b80}.header-project-title:focus{outline:none;border-color:#475569;background-color:#1e293b;color:#e2e8f0}.header-right{display:flex;align-items:center;gap:1rem;flex-shrink:0}.header-actions-group{display:flex;align-items:center;gap:.5rem;padding-right:1rem;border-right:1px solid #334155}.header-right .header-actions-group:last-child{border-right:none;padding-right:0}.header-actions{display:flex;align-items:center;gap:.5rem}.btn-primary,.btn-secondary,.btn-context{display:flex;align-items:center;gap:.4rem;border:none;border-radius:6px;padding:.5rem .9rem;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;box-shadow:0 2px 4px #3b82f64d}.btn-primary:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 8px #3b82f666;transform:translateY(-1px)}.btn-secondary{background-color:#334155;color:#e2e8f0;border:1px solid #475569}.btn-secondary:hover{background-color:#475569;border-color:#64748b;transform:translateY(-1px)}.btn-context{background-color:#1e293b;color:#cbd5e1;border:1px solid #334155;padding:.5rem 1rem}.btn-context:hover{background-color:#334155;border-color:#475569}.btn-context.active{background-color:#3b82f6;color:#fff;border-color:#2563eb}.btn-primary span,.btn-secondary span,.btn-context span{font-size:.9rem}.project-config-modal{max-width:700px;width:90%}.project-config-modal h2{margin-bottom:1.25rem}.about-modal{max-width:900px!important;width:90%;padding:2rem!important}.about-content{line-height:1.6;color:#cbd5e1}.about-content p{margin:.75rem 0}.about-content strong{color:#e2e8f0;font-weight:600}.about-content h3{color:#f1f5f9;font-size:1.1rem;font-weight:700;margin:1.25rem 0 .75rem;padding-bottom:.5rem;border-bottom:2px solid #334155}.about-content h3:first-child{margin-top:0}.about-content a{color:#3b82f6;text-decoration:none;transition:color .2s}.about-content a:hover{color:#60a5fa;text-decoration:underline}.about-content ul{margin:.5rem 0;padding-left:1.5rem;color:#cbd5e1;line-height:1.8}.about-content ul li{margin:.4rem 0}.project-context-header{display:flex;flex-direction:column;gap:.25rem;padding-bottom:.75rem;border-bottom:1px solid #334155}.project-context-title{margin:0;font-size:1rem;font-weight:600;color:#e2e8f0;display:flex;align-items:center;gap:.5rem}.project-context-subtitle{margin:0;font-size:.75rem;color:#94a3b8;font-style:italic}.project-context-content,.project-context-metrics{display:flex;flex-direction:column;gap:.75rem}.project-context-section{display:flex;flex-direction:column;gap:.4rem}.project-label{display:flex;align-items:center;gap:.4rem;font-size:.75rem;font-weight:500;color:#cbd5e1}.label-icon{font-size:.9rem}.project-input,.project-textarea,.project-select{background-color:#0f172a;border:1px solid #334155;border-radius:6px;padding:.5rem .75rem;color:#cbd5e1;font-size:.75rem;transition:border-color .2s ease,box-shadow .2s ease;font-family:inherit}.project-input:focus,.project-textarea:focus,.project-select:focus{outline:none;border-color:#475569;box-shadow:0 0 0 3px #4755691a}.project-textarea{resize:vertical;min-height:70px;line-height:1.5}.project-select{cursor:pointer}.analysis{font-size:.75rem;line-height:1.3}.analysis h4{margin:.5rem 0 .25rem;font-size:.9rem;color:#38bdf8}.analysis pre{background-color:#0f172a;padding:.5rem;border-radius:4px;border:1px solid #334155;overflow:auto}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background-color:#0f172a;border:1px solid #334155;padding:1rem;border-radius:6px;width:90%;max-width:440px;max-height:90vh;overflow-y:auto;overflow-x:hidden;color:#f1f5f9;box-sizing:border-box}.modal h2{margin-top:0;font-size:1rem;color:#38bdf8}.modal label{display:block;margin-top:.75rem;font-size:.75rem;color:#cbd5e1}.modal input,.modal select{width:100%;padding:.35rem .5rem;border-radius:4px;border:1px solid #334155;background-color:#1e293b;color:#cbd5e1;font-size:.75rem;box-sizing:border-box}.modal-buttons{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1rem}.modal-buttons button{background-color:#334155;border:1px solid #475569;color:#f8fafc;padding:.5rem 1rem;border-radius:6px;font-size:.85rem;font-weight:500;cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .2s ease;min-width:80px}.modal-buttons button:hover{background-color:#475569;border-color:#64748b;transform:translateY(-1px)}.modal-buttons button:active{transform:translateY(0);background-color:#334155}.modal-buttons button:last-child:not(:only-child){background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:1px solid #2563eb;box-shadow:0 2px 4px #3b82f64d}.modal-buttons button:last-child:not(:only-child):hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#1d4ed8;box-shadow:0 4px 8px #3b82f666}.context-menu{position:fixed;background-color:#1e293b;border:1px solid #334155;border-radius:4px;padding:.25rem 0;z-index:2000;min-width:160px;box-shadow:0 2px 10px #0009}.context-item{padding:.4rem .75rem;font-size:.75rem;color:#f8fafc;cursor:pointer;white-space:nowrap}.context-item:hover{background-color:#334155}.node-card{background:linear-gradient(145deg,#0f172a,#111827);border:2px solid #334155;border-radius:10px;color:#e2e8f0;min-width:180px;max-width:260px;overflow:hidden;box-shadow:0 8px 20px #00000059}.node-header{display:flex;align-items:center;gap:.6rem;padding:.65rem .75rem;border-bottom:1px solid #1e293b}.node-icon{font-size:1.2rem}.node-title{font-weight:700;font-size:.9rem}.node-kind{font-size:.7rem;color:#cbd5e1}.node-body{padding:.6rem .75rem .75rem;display:flex;flex-direction:column;gap:.25rem}.node-prop{display:flex;justify-content:space-between;font-size:.72rem;background:#0b1222;border:1px solid #1e293b;border-radius:4px;padding:.25rem .4rem}.node-prop-key{color:#94a3b8;text-transform:lowercase}.node-prop-value{color:#e2e8f0;font-weight:600}.node-handle{width:12px!important;height:12px!important;border:2px solid #0f172a}.controls-bar{position:absolute;bottom:10px;left:10px;display:flex;flex-direction:column;gap:6px;background:rgba(15,23,42,.85);border:1px solid #1e293b;border-radius:6px;padding:6px;box-shadow:0 4px 12px #0006}.controls-bar button{background:#1e293b;border:1px solid #334155;color:#f8fafc;width:32px;height:32px;border-radius:4px;font-size:1rem;cursor:pointer;transition:background .2s ease,border-color .2s ease}.controls-bar button:hover{background:#334155;border-color:#475569}.controls-bar .help-button{background:linear-gradient(135deg,#3b82f6,#2563eb);border-color:#2563eb;color:#fff;font-weight:600;margin-bottom:4px}.controls-bar .help-button:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#1d4ed8;box-shadow:0 2px 8px #3b82f680}.tooltip-bubble{position:fixed;transform:translateY(-50%);background:#0b1222;color:#e2e8f0;border:1px solid #334155;border-radius:6px;padding:.45rem .6rem;font-size:.72rem;max-width:240px;white-space:normal;box-shadow:0 12px 28px #00000073;z-index:4000}.tooltip-bubble:after{content:"";position:absolute;left:-6px;top:50%;transform:translateY(-50%) rotate(45deg);width:10px;height:10px;background:#0b1222;border-left:1px solid #334155;border-top:1px solid #334155}.react-flow__viewport,.react-flow__renderer,.react-flow__container,.react-flow__pane{scrollbar-width:thin;scrollbar-color:#475569 #0f172a}.react-flow__viewport::-webkit-scrollbar,.react-flow__renderer::-webkit-scrollbar,.react-flow__container::-webkit-scrollbar,.react-flow__pane::-webkit-scrollbar{width:8px;height:8px}.react-flow__viewport::-webkit-scrollbar-track,.react-flow__renderer::-webkit-scrollbar-track,.react-flow__container::-webkit-scrollbar-track,.react-flow__pane::-webkit-scrollbar-track{background:#0f172a;border-radius:4px}.react-flow__viewport::-webkit-scrollbar-thumb,.react-flow__renderer::-webkit-scrollbar-thumb,.react-flow__container::-webkit-scrollbar-thumb,.react-flow__pane::-webkit-scrollbar-thumb{background:#475569;border-radius:4px;border:1px solid #0f172a}.react-flow__viewport::-webkit-scrollbar-thumb:hover,.react-flow__renderer::-webkit-scrollbar-thumb:hover,.react-flow__container::-webkit-scrollbar-thumb:hover,.react-flow__pane::-webkit-scrollbar-thumb:hover{background:#64748b}.modal,.dialog,.about-content,.project-context-content{scrollbar-width:thin;scrollbar-color:#475569 #0f172a}.modal::-webkit-scrollbar,.dialog::-webkit-scrollbar,.about-content::-webkit-scrollbar,.project-context-content::-webkit-scrollbar{width:8px;height:8px}.modal::-webkit-scrollbar-track,.dialog::-webkit-scrollbar-track,.about-content::-webkit-scrollbar-track,.project-context-content::-webkit-scrollbar-track{background:#0f172a;border-radius:4px}.modal::-webkit-scrollbar-thumb,.dialog::-webkit-scrollbar-thumb,.about-content::-webkit-scrollbar-thumb,.project-context-content::-webkit-scrollbar-thumb{background:#475569;border-radius:4px;border:1px solid #0f172a}.modal::-webkit-scrollbar-thumb:hover,.dialog::-webkit-scrollbar-thumb:hover,.about-content::-webkit-scrollbar-thumb:hover,.project-context-content::-webkit-scrollbar-thumb:hover{background:#64748b}.welcome-modal{max-width:700px;max-height:90vh;overflow-y:auto}.welcome-content{margin:1.5rem 0}.welcome-intro{font-size:1.05rem;color:#cbd5e1;margin-bottom:2rem;text-align:center}.welcome-steps{display:flex;flex-direction:column;gap:1.5rem}.welcome-step{display:flex;gap:1rem;align-items:flex-start}.step-number{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1rem;flex-shrink:0}.step-content{flex:1}.step-content h3{font-size:1.1rem;color:#f8fafc;margin:0 0 .5rem;font-weight:600}.step-content p{color:#94a3b8;margin:0;line-height:1.6;font-size:.95rem}.welcome-footer{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #1e293b}.welcome-tip{background:#1e293b;padding:1rem;border-radius:8px;margin:0;color:#cbd5e1;font-size:.95rem;line-height:1.6;border-left:3px solid #3b82f6}.welcome-tip strong{color:#f8fafc}
