:root{--bg-primary: #090d16;--bg-secondary: #0f172a;--bg-card: #151e32;--bg-card-hover: #1b2640;--bg-card-active: #202d4b;--bg-input: #0b1120;--border-subtle: #1e293b;--border-focus: #38bdf8;--border-active: #3b82f6;--text-primary: #f8fafc;--text-secondary: #94a3b8;--text-muted: #64748b;--accent-cyan: #38bdf8;--accent-blue: #3b82f6;--accent-purple: #8b5cf6;--status-todo-bg: #1e293b;--status-todo-text: #94a3b8;--status-todo-border: #334155;--status-progress-bg: rgba(245, 158, 11, .15);--status-progress-text: #fbbf24;--status-progress-border: rgba(245, 158, 11, .4);--status-done-bg: rgba(16, 185, 129, .15);--status-done-text: #34d399;--status-done-border: rgba(16, 185, 129, .4);--shadow-card: 0 10px 25px -5px rgba(0, 0, 0, .5), 0 8px 10px -6px rgba(0, 0, 0, .4);--shadow-glow: 0 0 20px -3px rgba(56, 189, 248, .15)}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--bg-primary);color:var(--text-primary);font-family:Plus Jakarta Sans,system-ui,-apple-system,sans-serif;min-height:100vh;line-height:1.5;overflow-x:auto;-webkit-font-smoothing:antialiased}code,pre,.font-mono{font-family:JetBrains Mono,monospace}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-primary)}::-webkit-scrollbar-thumb{background:#25334d;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#334668}.app-container{display:flex;flex-direction:column;min-height:100vh;position:relative;background-image:radial-gradient(circle at 50% 0%,rgba(56,189,248,.05) 0%,transparent 50%),radial-gradient(circle at 100% 100%,rgba(139,92,246,.03) 0%,transparent 40%)}.app-header{background:#0f172ad9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border-subtle);padding:16px 28px;position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}.header-left{display:flex;align-items:center;gap:14px}.brand-icon{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,#0284c7,#6366f1);display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 4px 12px #0284c74d}.brand-title{font-size:1.15rem;font-weight:700;letter-spacing:-.02em;color:#fff}.brand-subtitle{font-size:.75rem;color:var(--text-secondary)}.header-stats{display:flex;align-items:center;gap:12px;background:#0b112099;padding:6px 14px;border-radius:20px;border:1px solid var(--border-subtle);font-size:.82rem}.stat-item{display:flex;align-items:center;gap:6px}.stat-dot{width:8px;height:8px;border-radius:50%}.stat-dot.todo{background:var(--text-muted)}.stat-dot.progress{background:#fbbf24;box-shadow:0 0 8px #fbbf24}.stat-dot.done{background:#34d399;box-shadow:0 0 8px #34d399}.header-actions{display:flex;align-items:center;gap:10px}.btn{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:1px solid transparent;outline:none}.btn-primary{background:linear-gradient(135deg,#0284c7,#2563eb);color:#fff;box-shadow:0 4px 12px #0284c740}.btn-primary:hover{background:linear-gradient(135deg,#0369a1,#1d4ed8);transform:translateY(-1px)}.btn-outline{background:#0f172a99;border-color:var(--border-subtle);color:var(--text-secondary)}.btn-outline:hover{background:#1e293bcc;color:var(--text-primary);border-color:#475569}.btn-icon{padding:6px;border-radius:6px;background:transparent;border:1px solid transparent;color:var(--text-secondary);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:all .15s ease}.btn-icon:hover{background:#ffffff14;color:var(--text-primary)}.btn-icon.danger:hover{background:#ef444426;color:#f87171;border-color:#ef44444d}.tree-canvas{flex:1;padding:40px 20px 80px;display:flex;justify-content:center;overflow-x:auto}.tree-container{display:flex;flex-direction:column;align-items:center;min-width:fit-content}.tree-branch{display:flex;flex-direction:column;align-items:center;position:relative}.tree-children{display:flex;justify-content:center;gap:32px;position:relative;padding-top:36px;width:100%}.tree-connector-down{width:2px;height:36px;background:#334155;transition:background .2s ease}.tree-children:before{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);width:2px;height:18px;background:#334155}.tree-children:after{content:"";position:absolute;top:18px;height:2px;background:#334155;left:calc(100% / var(--child-count, 1) / 2);right:calc(100% / var(--child-count, 1) / 2)}.tree-child-wrapper{display:flex;flex-direction:column;align-items:center;position:relative}.tree-child-wrapper:before{content:"";position:absolute;top:-18px;width:2px;height:18px;background:#334155}.node-card{width:320px;background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:14px;padding:16px;position:relative;display:flex;flex-direction:column;box-shadow:var(--shadow-card);transition:all .25s cubic-bezier(.16,1,.3,1);cursor:pointer;-webkit-user-select:none;user-select:none}.node-card:hover{background:var(--bg-card-hover);border-color:#3b5074;transform:translateY(-2px);box-shadow:var(--shadow-card),var(--shadow-glow)}.node-card.root-card{width:380px;border-color:#38bdf866;background:linear-gradient(180deg,#18233a,#131c30);box-shadow:var(--shadow-card),0 0 25px #38bdf81f}.node-card.is-collapsed{border-style:dashed}.node-actions-corner{position:absolute;top:10px;right:10px;display:flex;align-items:center;gap:4px;z-index:10}.action-badge-btn{width:26px;height:26px;border-radius:6px;border:1px solid var(--border-subtle);background:#0b1120cc;color:var(--text-secondary);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease;position:relative}.action-badge-btn:hover{background:#1e293b;color:var(--text-primary);border-color:#475569}.action-badge-btn.notes-btn{color:var(--accent-cyan)}.action-badge-btn.notes-btn:hover{background:#38bdf826;border-color:#38bdf866}.action-badge-btn.delete-btn:hover{background:#ef444426;color:#f87171;border-color:#ef444466}.notes-count-bubble{position:absolute;top:-6px;right:-6px;background:var(--accent-blue);color:#fff;font-size:.65rem;font-weight:700;width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid var(--bg-card)}.node-content-center{display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:14px;margin-bottom:8px;padding:0 4px}.node-title{font-size:.95rem;font-weight:700;color:#f1f5f9;line-height:1.35;margin-bottom:6px}.node-card.root-card .node-title{font-size:1.1rem;color:#38bdf8}.node-description{font-size:.78rem;color:var(--text-secondary);line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.node-footer{display:flex;align-items:center;justify-content:space-between;margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.05);font-size:.75rem}.collapse-indicator{display:flex;align-items:center;gap:6px;color:var(--text-muted);font-size:.72rem;font-weight:600}.collapse-indicator:hover{color:var(--text-secondary)}.status-switcher-container{margin-top:10px;width:100%}.status-switcher{display:flex;background:#0b1120cc;border:1px solid var(--border-subtle);border-radius:8px;padding:3px;gap:2px}.status-tab{flex:1;padding:5px 4px;font-size:.72rem;font-weight:600;text-align:center;border-radius:6px;border:none;background:transparent;color:var(--text-muted);cursor:pointer;transition:all .2s ease;white-space:nowrap}.status-tab:hover{color:var(--text-secondary);background:#ffffff0a}.status-tab.active-not_started{background:var(--status-todo-bg);color:var(--status-todo-text);border:1px solid var(--status-todo-border)}.status-tab.active-in_progress{background:var(--status-progress-bg);color:var(--status-progress-text);border:1px solid var(--status-progress-border);box-shadow:0 0 10px #f59e0b26}.status-tab.active-completed{background:var(--status-done-bg);color:var(--status-done-text);border:1px solid var(--status-done-border);box-shadow:0 0 10px #10b98126}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#030712bf;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px}.notes-modal-content{width:900px;max-width:95vw;height:640px;max-height:90vh;background:var(--bg-secondary);border:1px solid var(--border-subtle);border-radius:16px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 25px 50px -12px #000000b3}.modal-header{padding:16px 24px;border-bottom:1px solid var(--border-subtle);display:flex;align-items:center;justify-content:space-between;background:#0b112080}.modal-title-group{display:flex;flex-direction:column}.modal-title{font-size:1.1rem;font-weight:700;color:#fff}.modal-subtitle{font-size:.8rem;color:var(--text-secondary)}.two-panel-body{display:flex;flex:1;overflow:hidden}.left-panel{width:280px;background:#0b112066;border-right:1px solid var(--border-subtle);display:flex;flex-direction:column}.left-panel-header{padding:14px 16px;border-bottom:1px solid var(--border-subtle);display:flex;align-items:center;justify-content:space-between}.left-panel-title{font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.notes-list{flex:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:8px}.note-item{padding:10px 12px;border-radius:8px;background:transparent;border:1px solid transparent;cursor:pointer;transition:all .15s ease;display:flex;flex-direction:column;gap:4px;position:relative}.note-item:hover{background:#ffffff0a;border-color:#ffffff0f}.note-item.active{background:#38bdf814;border-color:#38bdf84d}.note-item-title{font-size:.85rem;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:20px}.note-item-date{font-size:.7rem;color:var(--text-muted)}.note-delete-btn{position:absolute;top:8px;right:8px;opacity:0;transition:opacity .15s ease}.note-item:hover .note-delete-btn{opacity:1}.right-panel{flex:1;display:flex;flex-direction:column;background:var(--bg-secondary)}.editor-header{padding:12px 20px;border-bottom:1px solid var(--border-subtle);display:flex;align-items:center;justify-content:space-between;gap:12px}.editor-title-input{flex:1;background:transparent;border:none;font-size:1.15rem;font-weight:700;color:#fff;outline:none}.editor-title-input:focus{border-bottom:1px solid var(--border-focus)}.editor-textarea{flex:1;background:transparent;border:none;padding:20px;color:#e2e8f0;font-size:.92rem;line-height:1.6;resize:none;outline:none;font-family:inherit}.editor-footer{padding:10px 20px;border-top:1px solid var(--border-subtle);display:flex;align-items:center;justify-content:space-between;font-size:.78rem;color:var(--text-muted);background:#0b112066}.form-modal-content{width:480px;max-width:90vw;background:var(--bg-secondary);border:1px solid var(--border-subtle);border-radius:14px;padding:24px;box-shadow:0 25px 50px -12px #000000b3}.form-group{margin-bottom:18px;display:flex;flex-direction:column;gap:6px}.form-label{font-size:.8rem;font-weight:600;color:var(--text-secondary)}.form-input,.form-textarea,.form-select{background:var(--bg-input);border:1px solid var(--border-subtle);border-radius:8px;padding:10px 14px;color:#fff;font-size:.88rem;outline:none;transition:border-color .15s ease}.form-input:focus,.form-textarea:focus,.form-select:focus{border-color:var(--border-focus)}.form-textarea{resize:vertical;min-height:80px}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:24px}
