.tree-canvas{touch-action:none;-webkit-user-select:none;user-select:none;outline:none;width:100%;height:100%;position:relative;overflow:hidden}.tree-empty{height:100%;color:var(--ink-muted);place-items:center;display:grid}.tree-toolbar{z-index:5;background:var(--surface);border:1px solid var(--stroke);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:var(--shadow);pointer-events:auto;border-radius:999px;align-items:center;gap:8px;padding:8px 10px;display:flex;position:absolute;top:16px;left:16px}.tree-toolbar button{border:1px solid var(--stroke);background:var(--surface-solid);width:34px;height:34px;color:var(--ink);border-radius:10px;font-size:18px;line-height:1;transition:background .15s,transform .15s}.tree-toolbar button:hover{background:var(--accent-soft);transform:translateY(-1px)}.tree-hint{color:var(--ink-muted);white-space:nowrap;margin-left:6px;margin-right:6px;font-size:12px}.tree-svg{-webkit-user-select:none;user-select:none;touch-action:none;cursor:grab;-webkit-touch-callout:none;background:0 0;width:100%;height:100%;display:block}.tree-svg:active{cursor:grabbing}.tree-pan-hit{pointer-events:all}.edge{fill:none;stroke-width:1.8px;stroke-linecap:round;pointer-events:none;transition:stroke .35s,opacity .35s}.edge-todo{stroke:var(--edge-todo);opacity:.72}.edge-done{stroke:var(--done);opacity:.95}.edge-to_test{stroke:var(--to-test);opacity:.92;stroke-width:2px}.edge-bugged{stroke:var(--bugged);opacity:.95;stroke-width:2.1px}.edge-cross{fill:none;stroke:#6a8aa8;stroke-width:1.4px;stroke-dasharray:5 4;opacity:.45;pointer-events:none;transition:opacity .2s,stroke .2s,stroke-width .2s}.edge-cross-done{stroke:var(--done);opacity:.55}.edge-cross-active{stroke:var(--accent);stroke-width:2.2px;opacity:.95;stroke-dasharray:6 3}.tree-node.is-linked .node-body{stroke:var(--accent);stroke-width:2px}.tree-node.is-fe .node-body{stroke:#5a8fb0}.tree-node.is-be .node-body{stroke:#5a9a88}.node-body{stroke-width:1.5px;transition:fill .3s,stroke .3s,stroke-width .2s}.tree-node .node-title{fill:var(--ink);pointer-events:none;font-family:Outfit,DM Sans,sans-serif;font-size:11.5px;font-weight:600}.tree-node .node-meta{fill:var(--ink-muted);pointer-events:none;font-size:9px}.tree-node .node-dot{pointer-events:none;transition:fill .3s}.status-todo .node-body{fill:var(--node-todo-fill);stroke:var(--node-todo-stroke)}.status-todo .node-dot{fill:var(--todo)}.status-done .node-body{fill:var(--node-done-fill);stroke:var(--node-done-stroke)}.status-done .node-dot{fill:var(--done)}.status-bugged .node-body{fill:var(--node-bugged-fill);stroke:var(--node-bugged-stroke)}.status-bugged .node-dot{fill:var(--bugged)}.status-to-test .node-body{fill:var(--node-test-fill);stroke:var(--node-test-stroke);stroke-width:2.2px}.status-to-test .node-dot{fill:var(--to-test)}.status-to-test .node-meta{fill:var(--to-test);font-weight:600}.status-todo .node-meta{fill:var(--ink-muted)}.tree-node.is-complete .node-body{fill:var(--node-complete-fill);stroke:var(--done);stroke-width:2.2px}.tree-node.is-complete .node-dot{fill:var(--done)}.tree-node.is-root .node-body{stroke:var(--accent);stroke-width:2.4px}.tree-node.is-root.status-todo .node-body{fill:var(--node-root-fill)}.tree-node.is-root .node-title{font-size:12.5px}.tree-node.is-selected .node-body{stroke:var(--accent);stroke-width:2.6px}.tree-node:hover .node-body{filter:brightness(1.02)}@media (width<=720px){.tree-hint{display:none}}.gantt-wrap{flex-direction:column;height:100%;min-height:0;padding:14px 16px 18px;display:flex}.gantt-empty{height:100%;color:var(--ink-muted);place-items:center;display:grid}.gantt-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.gantt-legend{flex-wrap:wrap;gap:10px;display:flex}.gantt-legend .lg{color:var(--ink-muted);align-items:center;gap:6px;font-size:11px;display:inline-flex}.gantt-legend .lg:before{content:"";border-radius:3px;width:10px;height:10px}.lg-todo:before{background:#7a8490}.lg-test:before{background:var(--to-test)}.lg-done:before{background:var(--done)}.lg-overdue:before{background:var(--bugged)}.lg-today:before{background:var(--accent);border-radius:0;width:2px;height:12px}.lg-deadline:before{background:#1a2b3c;border-radius:1px;width:8px;height:8px;transform:rotate(45deg)}.gantt-scale-hint{color:var(--ink-muted);font-size:11px;font-weight:600}.gantt-scroll{border:1px solid var(--stroke);background:var(--surface);border-radius:14px;flex:1;min-height:0;overflow:auto}.gantt-grid{min-width:calc(var(--label-w) + var(--timeline-min))}.gantt-head,.gantt-row{grid-template-columns:var(--label-w) minmax(var(--timeline-min), 1fr);border-bottom:1px solid var(--stroke);display:grid}.gantt-head{z-index:3;background:var(--surface-solid);color:var(--ink-muted);position:sticky;top:0}.gantt-label-head{text-transform:uppercase;letter-spacing:.04em;justify-content:space-between;font-size:11px;font-weight:600;display:flex!important}.gantt-dur-head{opacity:.7}.gantt-timeline-head{min-height:56px}.gantt-months{border-bottom:1px solid var(--stroke);position:absolute;inset:0 0 50%}.gantt-month{border-right:1px solid var(--stroke);color:var(--ink);text-transform:capitalize;white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-size:11px;font-weight:700;display:flex;position:absolute;top:0;bottom:0;overflow:hidden}.gantt-weeks{position:absolute;inset:50% 0 0}.gantt-week-tick{white-space:nowrap;color:var(--ink-muted);font-size:10px;position:absolute;top:6px;transform:translate(-50%)}.gantt-today-head{z-index:2;width:0;position:absolute;top:0;bottom:0}.gantt-today-head span{letter-spacing:.04em;text-transform:uppercase;color:var(--accent);background:var(--surface-solid);white-space:nowrap;border-radius:4px;padding:1px 5px;font-size:9px;font-weight:700;position:absolute;top:4px;left:4px}.gantt-row{width:100%;color:inherit;text-align:left;background:0 0;border:none;min-height:48px;transition:background .15s}.gantt-row:hover,.gantt-row.is-selected{background:var(--accent-soft)}.gantt-label-col{border-right:1px solid var(--stroke);z-index:1;background:inherit;align-items:center;gap:8px;min-width:0;padding:8px 10px;display:flex;position:sticky;left:0}.gantt-head .gantt-label-col{background:var(--surface-solid);z-index:4}.gantt-timeline-col{background-image:linear-gradient(90deg,#0000 0 calc(100% - 1px),#5a6f8414 calc(100% - 1px));min-height:48px;position:relative}.gantt-month-band{pointer-events:none;border-right:1px solid #5a6f841f;position:absolute;top:0;bottom:0}.gantt-month-band.is-alt{background:#2f6f8f0a}.gantt-week-line{pointer-events:none;background:#5a6f841a;width:1px;position:absolute;top:0;bottom:0}.gantt-dot{background:var(--todo);border-radius:50%;flex-shrink:0;width:8px;height:8px}.gantt-dot.done{background:var(--done)}.gantt-dot.to_test{background:var(--to-test)}.gantt-dot.bugged{background:var(--bugged)}.gantt-title{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:12px;font-weight:600;overflow:hidden}.gantt-dur{color:var(--ink-muted);background:var(--address-bg);border:1px solid var(--stroke);border-radius:6px;flex-shrink:0;margin-left:auto;padding:2px 6px;font-size:10px;font-weight:700}.gantt-assignees{background:var(--accent-soft);min-width:18px;height:18px;color:var(--accent);border-radius:999px;flex-shrink:0;place-items:center;padding:0 5px;font-size:10px;font-weight:700;display:grid}.gantt-today{background:var(--accent);z-index:2;pointer-events:none;width:2px;position:absolute;top:0;bottom:0;box-shadow:0 0 0 1px #2f6f8f33}.gantt-bar{color:#fff;white-space:nowrap;z-index:1;border-radius:8px;align-items:center;height:24px;padding:0 10px 0 8px;font-size:10px;display:flex;position:absolute;top:12px;overflow:visible;box-shadow:0 4px 12px #00000024}.gantt-bar.is-root{height:28px;font-weight:700;top:10px}.gantt-bar-past{pointer-events:none;background:#ffffff2e;border-radius:8px 0 0 8px;position:absolute;top:0;bottom:0;left:0}.gantt-bar-label{z-index:1;text-overflow:ellipsis;max-width:100%;position:relative;overflow:hidden}.gantt-deadline-mark{z-index:2;background:#1a2b3c;border:2px solid #fff;border-radius:1px;width:9px;height:9px;position:absolute;top:50%;right:-5px;transform:translateY(-50%)rotate(45deg);box-shadow:0 1px 3px #00000040}.gantt-bar.bar-todo{background:linear-gradient(90deg,#6b7580,#8a93a0)}.gantt-bar.bar-to_test{background:linear-gradient(90deg, #b87412, var(--to-test))}.gantt-bar.bar-bugged,.gantt-bar.is-overdue{background:linear-gradient(90deg, #a85648, var(--bugged))}.gantt-bar.bar-done{background:linear-gradient(90deg, #248a68, var(--done))}.gantt-bar.is-selected{outline:2px solid var(--accent);outline-offset:2px}.gantt-missing{color:var(--ink-muted);font-size:11px;position:absolute;top:16px;left:12px}.activity-wrap{background:var(--bg-0);flex-direction:column;height:100%;min-height:0;padding:18px 20px 24px;display:flex}.activity-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.activity-head h2{margin:0;font-family:Outfit,DM Sans,sans-serif;font-size:1.25rem}.activity-head p{color:var(--ink-muted);margin:4px 0 0;font-size:13px}.activity-empty{color:var(--ink-muted);text-align:center;flex:1;place-items:center;padding:24px;font-size:14px;display:grid}.activity-empty.error{color:var(--bugged)}.activity-list{border:1px solid var(--stroke);background:var(--surface);border-radius:14px;flex:1;min-height:0;margin:0;padding:0;list-style:none;overflow:auto}.activity-item{border-bottom:1px solid var(--stroke);grid-template-columns:40px 1fr;gap:12px;padding:14px 16px;animation:.28s activityIn;display:grid}.activity-item:last-child{border-bottom:none}@keyframes activityIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.activity-avatar{background:var(--accent-soft);width:40px;height:40px;color:var(--accent);border-radius:12px;place-items:center;font-size:14px;font-weight:700;display:grid}.activity-line{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.activity-line strong{font-size:13px}.activity-badge{letter-spacing:.04em;text-transform:uppercase;background:var(--address-bg);color:var(--ink-muted);border:1px solid var(--stroke);border-radius:999px;padding:3px 8px;font-size:10px;font-weight:700}.action-node-create .activity-badge,.action-tree-create .activity-badge{color:var(--done);background:var(--node-complete-fill);border-color:var(--node-done-stroke)}.action-node-delete .activity-badge{color:var(--bugged);background:var(--node-bugged-fill);border-color:var(--node-bugged-stroke)}.action-node-status .activity-badge{color:var(--to-test);background:var(--node-test-fill);border-color:var(--node-test-stroke)}.activity-summary{color:var(--ink);margin:6px 0 0;font-size:13px;line-height:1.4}.activity-meta{color:var(--ink-muted);flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;font-size:11px;display:flex}.activity-node-link{color:var(--accent);text-underline-offset:2px;background:0 0;border:none;padding:0;font-size:11px;font-weight:600;text-decoration:underline}.activity-node-link:hover{color:var(--ink)}.wb-wrap{background:var(--bg-0);flex-direction:column;height:100%;min-height:0;padding:14px 16px 18px;display:flex}.wb-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.wb-head h2{margin:0;font-family:Outfit,DM Sans,sans-serif;font-size:1.25rem}.wb-head p{color:var(--ink-muted);margin:4px 0 0;font-size:13px}.wb-actions{align-items:center;gap:8px;display:flex}.wb-add{background:var(--accent);color:var(--on-accent);border:none;border-radius:12px;padding:9px 14px;font-size:13px;font-weight:600}.wb-error{color:var(--bugged);margin:0 0 8px;font-size:13px}.wb-board{border:1px solid var(--stroke);background:#f3f6f9;border-radius:16px;flex:1;min-height:420px;position:relative;overflow:auto;box-shadow:inset 0 1px #fff9}[data-theme=dark] .wb-board{background:#182230}.wb-grid{pointer-events:none;background-image:linear-gradient(#2f6f8f12 1px,#0000 1px),linear-gradient(90deg,#2f6f8f12 1px,#0000 1px);background-size:28px 28px;min-width:1600px;min-height:1100px;position:absolute;inset:0}.wb-empty{color:var(--ink-muted);z-index:1;pointer-events:none;place-items:center;font-size:14px;display:grid;position:absolute;inset:0}.wb-note{cursor:grab;z-index:2;touch-action:none;border-radius:4px 12px 12px;flex-direction:column;gap:6px;width:220px;min-height:180px;padding:10px 12px 12px;transition:box-shadow .15s,transform .15s;display:flex;position:absolute;box-shadow:0 10px 24px #1a2b3c24,inset 0 1px #fff6}.wb-note:active{cursor:grabbing}.wb-note.is-editing{z-index:5;transform:rotate(-.4deg)scale(1.02);box-shadow:0 16px 36px #1a2b3c38}.wb-note.color-amber{color:#3d3214;background:#ffe8a3}.wb-note.color-mint{color:#1d3d2c;background:#c8efd8}.wb-note.color-sky{color:#1a3348;background:#c9e4f7}.wb-note.color-rose{color:#4a2420;background:#f8d0c8}.wb-note.color-lilac{color:#32244a;background:#e0d4f5}.wb-note.color-slate{color:#1a2b3c;background:#d7dde5}.wb-note-top{justify-content:space-between;gap:6px;display:flex}.wb-note-top select{color:inherit;cursor:pointer;background:#ffffff73;border:none;border-radius:6px;padding:2px 4px;font-size:11px}.wb-del{width:24px;height:24px;color:inherit;cursor:pointer;background:#00000014;border:none;border-radius:6px;font-size:16px;line-height:1}.wb-note-title{color:inherit;background:0 0;border:none;width:100%;padding:0;font-family:Outfit,DM Sans,sans-serif;font-size:15px;font-weight:700}.wb-note-body{resize:none;color:inherit;background:0 0;border:none;flex:1;width:100%;min-height:90px;padding:0;font-size:13px;line-height:1.45}.wb-note-foot{opacity:.65;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.node-panel{background:var(--surface);border-left:1px solid var(--stroke);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);width:min(380px,100%);height:100%;padding:22px;animation:.28s slideIn;overflow:auto;box-shadow:-12px 0 40px #1a2b3c14}@keyframes slideIn{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}.node-panel-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--ink-muted);margin:0 0 4px;font-size:11px}.node-panel-header h2{margin:0;font-family:Outfit,DM Sans,sans-serif;font-size:1.35rem;font-weight:650;line-height:1.2}.icon-btn{border:1px solid var(--stroke);background:var(--surface-solid);width:36px;height:36px;color:var(--ink-muted);border-radius:10px;font-size:22px}.status-chips{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px;display:grid}.chip{border:1px solid var(--stroke);background:var(--surface-solid);color:var(--ink);border-radius:999px;padding:8px 10px;font-size:13px;transition:transform .15s,background .15s,border-color .15s}.chip:hover{transform:translateY(-1px)}.chip.active.chip-todo{background:var(--node-todo-fill);border-color:var(--todo)}.chip.active.chip-done{background:var(--node-complete-fill);border-color:var(--done)}.chip.active.chip-bugged{background:var(--node-bugged-fill);border-color:var(--bugged)}.chip.active.chip-to_test{background:var(--node-test-fill);border-color:var(--to-test)}.completion-banner{background:var(--node-todo-fill);color:var(--ink-muted);border-radius:12px;margin-bottom:16px;padding:10px 12px;font-size:13px}.completion-banner.ok{background:var(--node-complete-fill);color:var(--done)}.completion-banner.tone-todo{background:var(--node-todo-fill);color:var(--ink-muted)}.completion-banner.tone-to_test{background:var(--node-test-fill);color:var(--to-test)}.completion-banner.tone-bugged{background:var(--node-bugged-fill);color:var(--bugged)}.completion-banner.tone-done{background:var(--node-complete-fill);color:var(--done)}.node-form{flex-direction:column;gap:12px;margin-bottom:22px;display:flex}.node-form label{color:var(--ink-muted);flex-direction:column;gap:6px;font-size:13px;display:flex}.node-form input,.node-form textarea{border:1px solid var(--stroke);background:var(--surface-solid);color:var(--ink);resize:vertical;border-radius:12px;padding:10px 12px}.form-actions{gap:8px;display:flex}.primary-btn,.secondary-btn,.danger-btn{border:none;border-radius:12px;padding:12px 14px;font-weight:600;transition:transform .15s,filter .15s}.primary-btn{background:var(--accent);color:var(--on-accent);flex:1}.secondary-btn{background:var(--accent-soft);color:var(--ink);border:1px solid var(--stroke)}.danger-btn{background:var(--node-bugged-fill);color:var(--bugged);border:1px solid var(--node-bugged-stroke)}.primary-btn:hover:not(:disabled){filter:brightness(1.05);transform:translateY(-1px)}.primary-btn:disabled{opacity:.7;cursor:wait}.section-head{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:10px;display:flex}.children-block h3{margin:0;font-family:Outfit,sans-serif;font-size:.95rem}.add-child-form{flex-direction:column;gap:8px;margin-bottom:12px;display:flex}.add-child-form>input{border:1px solid var(--stroke);background:var(--surface-solid);color:var(--ink);border-radius:12px;padding:10px 12px}.add-child-form .secondary-btn{align-self:flex-end}.date-row label,.child-dates label{color:var(--ink-muted);flex-direction:column;gap:6px;font-size:12px;display:flex}.date-row input,.child-dates input{border:1px solid var(--stroke);background:var(--surface-solid);color:var(--ink);border-radius:12px;padding:8px 10px}.assignee-field{border:1px solid var(--stroke);border-radius:12px;margin:0;padding:12px}.assignee-field legend{color:var(--ink-muted);padding:0 6px;font-size:12px}.assignee-list{flex-direction:column;gap:6px;max-height:140px;display:flex;overflow:auto}.assignee-chip{color:var(--ink);cursor:pointer;align-items:center;gap:8px;font-size:12px;display:flex}.assignee-chip input{accent-color:var(--accent)}.child-dates-inline{color:var(--ink-muted);margin-top:2px;font-size:10px;font-weight:500;display:block}.child-jump{text-align:left;color:var(--ink);background:0 0;border:none;padding:0;font-size:13px;font-weight:500}.child-jump:hover{color:var(--accent);text-decoration:underline}.child-del{border:1px solid var(--stroke);background:var(--surface-solid);width:28px;height:28px;color:var(--ink-muted);border-radius:8px;font-size:16px;line-height:1}.child-del:hover{color:var(--bugged);border-color:var(--node-bugged-stroke)}.children-block ul{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.children-block li{background:var(--surface-solid);border:1px solid var(--stroke);border-radius:12px;grid-template-columns:10px 1fr auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.children-block:not(.links-block) li{grid-template-columns:10px 1fr 28px}.dot{background:var(--todo);border-radius:50%;width:8px;height:8px}.dot.done{background:var(--done)}.dot.bugged{background:var(--bugged)}.dot.to_test{background:var(--to-test)}.child-title{font-size:13px}.child-side{color:var(--ink-muted);text-transform:uppercase;letter-spacing:.04em;font-size:11px}.muted{color:var(--ink-muted);font-size:13px}.link-jump{text-align:left;color:var(--accent);text-underline-offset:2px;background:0 0;border:none;padding:0;font-size:13px;font-weight:500;text-decoration:underline}.link-jump:hover{color:var(--ink)}@media (width<=900px){.node-panel{z-index:20;max-width:100%;height:100%;position:absolute;top:0;right:0}}.browser-chrome{background:linear-gradient(180deg, var(--chrome-0) 0%, var(--chrome-1) 100%);border-bottom:1px solid var(--stroke);-webkit-user-select:none;user-select:none;flex-shrink:0}.browser-tabs-row{align-items:flex-end;gap:0;min-height:44px;padding:10px 12px 0;display:flex;overflow-x:auto}.browser-tab{background:color-mix(in srgb, var(--surface-solid) 35%, transparent);min-width:160px;max-width:240px;height:36px;color:var(--ink-muted);text-align:left;z-index:1;border:none;border-radius:12px 12px 0 0;align-items:center;gap:10px;margin-right:-8px;padding:0 18px 0 14px;transition:background .15s,color .15s,z-index;display:flex;position:relative}.browser-tab:before,.browser-tab:after{content:"";pointer-events:none;width:12px;height:12px;position:absolute;bottom:0}.browser-tab.is-active{background:var(--surface-solid);color:var(--ink);z-index:3;box-shadow:0 -1px 0 color-mix(in srgb, var(--surface-solid) 80%, transparent)}.browser-tab:not(.is-active):hover{background:color-mix(in srgb, var(--surface-solid) 55%, transparent)}.browser-tab-favicon{background:#8aa4b8;border-radius:3px;flex-shrink:0;width:12px;height:12px}.browser-tab.tab-tone-0 .browser-tab-favicon{background:#4f87a8}.browser-tab.tab-tone-1 .browser-tab-favicon{background:#3f9a7f}.browser-tab.tab-tone-2 .browser-tab-favicon{background:#c4841a}.browser-tab.tab-tone-3 .browser-tab-favicon{background:#8a6bb5}.browser-tab-add{z-index:2;width:28px;height:28px;color:color-mix(in srgb, var(--ink) 55%, transparent);background:0 0;border:none;border-radius:50%;flex-shrink:0;align-self:flex-end;place-items:center;margin:0 0 4px 4px;padding:0;transition:background .12s,color .12s,transform .12s;display:inline-grid;position:relative}.browser-tab-add-icon{pointer-events:none;display:block}.browser-tab-add:hover{background:color-mix(in srgb, var(--ink) 10%, transparent);color:var(--ink)}.browser-tab-add:active{background:color-mix(in srgb, var(--ink) 16%, transparent);transform:scale(.94)}.browser-tab-add:focus-visible{outline:2px solid var(--accent);outline-offset:2px}[data-theme=dark] .browser-tab-add:hover{background:#ffffff1f}[data-theme=dark] .browser-tab-add:active{background:#ffffff2e}.browser-tab-labels{flex-direction:column;min-width:0;line-height:1.15;display:flex}.browser-tab-title{white-space:nowrap;text-overflow:ellipsis;font-family:Outfit,DM Sans,sans-serif;font-size:13px;font-weight:600;overflow:hidden}.browser-tab-sub{opacity:.75;white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.browser-tabs-filler{flex:1;min-width:24px;height:36px}.browser-toolbar{background:var(--surface-solid);border-top:1px solid #0000;align-items:center;gap:10px;padding:8px 14px 10px;display:flex}.browser-address{background:var(--address-bg);border:1px solid var(--stroke);min-height:32px;color:var(--ink-muted);border-radius:999px;flex:1;align-items:center;gap:8px;padding:0 12px;font-size:12px;display:flex}.browser-lock{color:#2f9e7a;font-size:8px}.browser-url{letter-spacing:.01em;font-family:DM Sans,sans-serif}.theme-toggle{border:1px solid var(--stroke);background:var(--surface-solid);border-radius:999px;align-items:center;gap:2px;padding:3px;display:inline-flex}.theme-toggle-btn{color:var(--ink-muted);background:0 0;border:none;border-radius:999px;align-items:center;gap:5px;padding:6px 10px;font-size:12px;line-height:1;transition:background .15s,color .15s;display:inline-flex}.theme-toggle-btn:hover{color:var(--ink);background:var(--accent-soft)}.theme-toggle-btn.is-active{background:var(--accent);color:var(--on-accent)}.theme-toggle-icon{opacity:.95;font-size:12px}@media (width<=900px){.theme-toggle-label{display:none}.theme-toggle-btn{padding:7px 9px}}.view-toggle{border:1px solid var(--stroke);background:var(--surface-solid);border-radius:999px;grid-template-columns:1fr 1fr 1fr;gap:2px;min-width:248px;padding:3px;display:grid;position:relative}.view-toggle.cols-4{grid-template-columns:1fr 1fr 1fr 1fr;min-width:300px}@media (width<=900px){.view-toggle.cols-4{width:100%;min-width:280px}.view-toggle button{padding:8px 6px;font-size:11px}}.view-toggle-thumb{background:var(--accent);z-index:0;border-radius:999px;width:calc(33.333% - 4px);transition:transform .28s cubic-bezier(.22,1,.36,1);position:absolute;top:3px;bottom:3px;left:3px}.view-toggle.cols-4 .view-toggle-thumb{width:calc(25% - 4px)}.view-toggle button{z-index:1;color:var(--ink-muted);background:0 0;border:none;border-radius:999px;padding:7px 8px;font-size:12px;font-weight:600;transition:color .2s;position:relative}.view-toggle button.is-active{color:var(--on-accent)}.project-select-row{flex-wrap:nowrap;align-items:center;gap:8px;min-width:0;max-width:100%;height:36px;display:inline-flex}.project-select{box-sizing:border-box;border:1px solid var(--stroke);background:var(--surface-solid);border-radius:999px;align-items:center;gap:8px;min-width:0;max-width:min(260px,38vw);height:36px;padding:0 8px 0 12px;display:inline-flex}.project-select.is-single{padding-right:12px}.project-select-label{letter-spacing:.04em;text-transform:uppercase;color:var(--ink-muted);flex-shrink:0;font-size:11px;font-weight:600;line-height:1}.project-select select,.project-select-name{min-width:0;max-width:100%;height:100%;color:var(--ink);background:0 0;border:none;outline:none;flex:auto;margin:0;padding:0 22px 0 0;font-family:inherit;font-size:13px;font-weight:600;line-height:36px}.project-select-name{text-overflow:ellipsis;white-space:nowrap;align-items:center;padding-right:0;line-height:1.2;display:inline-flex;overflow:hidden}.project-select select{cursor:pointer;appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%);background-position:calc(100% - 10px) 55%,calc(100% - 5px) 55%;background-repeat:no-repeat;background-size:5px 5px,5px 5px}.project-select select:focus-visible{color:var(--accent)}.project-create-btn,.project-delete-btn{box-sizing:border-box;white-space:nowrap;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;height:36px;padding:0 12px;font-size:12px;font-weight:600;line-height:1;display:inline-flex}.project-create-btn{border:1px solid var(--stroke);background:var(--surface-solid);color:var(--ink)}.project-create-btn:hover:not(:disabled){background:var(--accent-soft)}.project-delete-btn{border:1px solid var(--node-bugged-stroke,#e8a0a0);background:var(--node-bugged-fill,#fde8e8);color:var(--bugged,#b42318)}.project-delete-btn:hover:not(:disabled){filter:brightness(.97)}.project-create-btn:disabled,.project-delete-btn:disabled{opacity:.55;cursor:not-allowed}@media (width<=900px){.project-select-row{width:100%}.project-select{flex:auto;min-width:0;max-width:none}}.tree-dialog-backdrop{z-index:50;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#10182073;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.tree-dialog{background:var(--surface-solid);border:1px solid var(--stroke);width:min(440px,100%);box-shadow:var(--shadow);color:var(--ink);border-radius:16px;padding:20px}.tree-dialog-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.tree-dialog-header h2{margin:0;font-family:Outfit,DM Sans,sans-serif;font-size:1.2rem}.tree-dialog-form{flex-direction:column;gap:12px;display:flex}.tree-dialog-form label{color:var(--ink-muted);flex-direction:column;gap:6px;font-size:13px;display:flex}.tree-dialog-form input,.tree-dialog-form textarea{border:1px solid var(--stroke);background:var(--address-bg);color:var(--ink);resize:vertical;border-radius:12px;padding:10px 12px}.date-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.hint{color:var(--ink-muted);margin:0;font-size:12px}.form-error{color:var(--bugged);margin:0;font-size:13px}.tree-dialog-actions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.tree-dialog-actions .primary-btn{flex:none;min-width:140px}.team-backdrop{z-index:50;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#10182073;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.team-panel{background:var(--surface-solid);border:1px solid var(--stroke);width:min(440px,100%);max-height:min(80vh,640px);box-shadow:var(--shadow);color:var(--ink);border-radius:16px;padding:20px;animation:.28s cubic-bezier(.22,1,.36,1) teamIn;overflow:auto}@keyframes teamIn{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.team-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.team-header h2{margin:0;font-family:Outfit,DM Sans,sans-serif;font-size:1.25rem}.team-invite{grid-template-columns:1fr auto;align-items:end;gap:8px;margin-bottom:14px;display:grid}.team-invite label{color:var(--ink-muted);flex-direction:column;gap:6px;font-size:13px;display:flex}.team-invite input{border:1px solid var(--stroke);background:var(--address-bg);color:var(--ink);border-radius:12px;padding:10px 12px}.team-invite .primary-btn{flex:none;min-width:100px;padding:10px 14px}.team-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.team-list li{background:var(--address-bg);border:1px solid var(--stroke);border-radius:12px;grid-template-columns:32px 1fr 28px;align-items:center;gap:10px;padding:10px 12px;display:grid}.team-list li.muted{background:0 0;border:none;padding:8px 0;display:block}.team-avatar{background:var(--accent-soft);width:32px;height:32px;color:var(--accent);border-radius:10px;place-items:center;font-size:13px;font-weight:700;display:grid}.team-email{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;overflow:hidden}.auth-screen{background:radial-gradient(ellipse 80% 60% at 20% 10%, var(--bg-glow-1), transparent), radial-gradient(ellipse 70% 50% at 90% 80%, var(--bg-glow-2), transparent), linear-gradient(160deg, var(--bg-0), var(--bg-1) 50%, var(--bg-2));place-items:center;min-height:100%;padding:24px;display:grid}.auth-card{border:1px solid var(--stroke);background:var(--surface);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);width:min(420px,100%);box-shadow:var(--shadow);border-radius:18px;padding:28px 24px;animation:.4s cubic-bezier(.22,1,.36,1) authIn}@keyframes authIn{0%{opacity:0;transform:translateY(16px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.auth-brand{text-align:center;margin-bottom:22px}.auth-brand .brand-mark{background:linear-gradient(145deg,#2f6f8f 0%,#3d8a7a 100%);border-radius:14px;width:44px;height:44px;margin-bottom:12px;display:inline-block;box-shadow:0 8px 18px #2f6f8f47}.auth-brand h1{letter-spacing:-.02em;margin:0;font-family:Outfit,DM Sans,sans-serif;font-size:1.6rem}.auth-brand p{color:var(--ink-muted);margin:6px 0 0;font-size:13px}.auth-tabs{border:1px solid var(--stroke);background:var(--surface-solid);border-radius:999px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:16px;padding:4px;display:grid}.auth-tabs button{color:var(--ink-muted);background:0 0;border:none;border-radius:999px;padding:8px 10px;font-size:13px;font-weight:600}.auth-tabs button.is-active{background:var(--accent);color:var(--on-accent)}.auth-form{flex-direction:column;gap:12px;display:flex}.auth-form label{color:var(--ink-muted);flex-direction:column;gap:6px;font-size:13px;display:flex}.auth-form input{border:1px solid var(--stroke);background:var(--address-bg);color:var(--ink);border-radius:12px;padding:11px 12px}.auth-form .primary-btn{background:var(--accent);color:var(--on-accent);border:none;border-radius:12px;margin-top:4px;padding:12px 14px;font-weight:600}.auth-form .form-error{color:var(--bugged);margin:0;font-size:13px}.app-shell{flex-direction:column;width:100%;height:100%;display:flex}.app-shell>.browser-chrome{z-index:9}.create-error-toast{z-index:60;background:var(--node-bugged-fill);color:var(--bugged);border:1px solid var(--node-bugged-stroke);border-radius:12px;padding:10px 14px;font-size:13px;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}.app-header{border-bottom:1px solid var(--stroke);background:var(--surface);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:10;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 16px;padding:14px 22px;display:flex;position:relative}.header-top{flex:auto;align-items:center;gap:12px;min-width:0;display:flex}.header-compact{flex-shrink:0;align-items:center;gap:8px;margin-left:auto;display:none}.header-views{flex-wrap:wrap;flex:0 auto;align-items:center;gap:10px;min-width:0;display:flex}.brand{align-items:center;gap:14px;min-width:0;display:flex}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.menu-toggle{border:1px solid var(--stroke);background:var(--surface-solid);width:42px;height:42px;color:var(--ink);border-radius:12px;place-items:center;display:grid}.menu-toggle-bars,.menu-toggle-bars:before,.menu-toggle-bars:after{background:currentColor;border-radius:2px;width:18px;height:2px;transition:transform .2s,opacity .2s;display:block}.menu-toggle-bars{position:relative}.menu-toggle-bars:before,.menu-toggle-bars:after{content:"";position:absolute;left:0}.menu-toggle-bars:before{top:-6px}.menu-toggle-bars:after{top:6px}.menu-toggle.is-open .menu-toggle-bars{background:0 0}.menu-toggle.is-open .menu-toggle-bars:before{top:0;transform:rotate(45deg)}.menu-toggle.is-open .menu-toggle-bars:after{top:0;transform:rotate(-45deg)}.header-menu-backdrop{display:none}.ws-pill.compact{border-radius:12px;justify-content:center;width:36px;height:36px;padding:0}.brand-mark{background:linear-gradient(145deg,#2f6f8f 0%,#3d8a7a 100%);border-radius:12px;flex-shrink:0;width:38px;height:38px;box-shadow:0 8px 18px #2f6f8f47}.brand h1{letter-spacing:-.02em;margin:0;font-family:Outfit,DM Sans,sans-serif;font-size:1.35rem;font-weight:700}.brand p{color:var(--ink-muted);white-space:nowrap;text-overflow:ellipsis;max-width:420px;margin:2px 0 0;font-size:13px;overflow:hidden}.header-meta{flex-wrap:wrap;flex:auto;justify-content:flex-end;align-items:center;gap:8px;display:flex}.ws-pill,.stat-pill{border:1px solid var(--stroke);background:var(--surface-solid);color:var(--ink-muted);border-radius:999px;align-items:center;gap:8px;padding:7px 12px;font-size:12px;display:inline-flex}.ws-pill.on{color:var(--done);background:var(--node-complete-fill);border-color:var(--node-done-stroke)}.ws-pill.off{color:var(--bugged);background:var(--node-bugged-fill)}.ws-pill .pulse{background:currentColor;border-radius:50%;width:8px;height:8px;animation:1.8s infinite pulse;box-shadow:0 0}@keyframes pulse{0%{box-shadow:0 0 #2f9e7a73}70%{box-shadow:0 0 0 8px #2f9e7a00}to{box-shadow:0 0 #2f9e7a00}}.stat-pill.warn{color:var(--bugged);background:var(--node-bugged-fill)}.ghost-btn{border:1px solid var(--stroke);color:var(--ink);background:0 0;border-radius:999px;padding:7px 14px;font-size:12px}.ghost-btn:hover{background:var(--accent-soft)}.icon-actions-row{align-items:center;gap:10px;display:inline-flex}.ghost-btn.icon-action-btn{border-radius:12px;justify-content:center;align-items:center;width:36px;height:36px;padding:0;display:inline-flex}.ghost-btn.icon-action-btn svg{display:block}.ghost-btn.danger-btn{color:var(--bugged);border-color:var(--node-bugged-stroke)}.ghost-btn.danger-btn:hover:not(:disabled){background:var(--node-bugged-fill)}.app-main{flex:1;grid-template-columns:1fr;min-height:0;display:grid}.app-main.with-panel{grid-template-columns:1fr minmax(300px,380px)}.canvas-area{min-width:0;min-height:0;position:relative}.view-stage{perspective:1200px;width:100%;height:100%;position:relative;overflow:hidden}.view-pane{opacity:0;pointer-events:none;filter:blur(4px);transition:opacity .38s cubic-bezier(.22,1,.36,1),transform .42s cubic-bezier(.22,1,.36,1),filter .32s;position:absolute;inset:0;transform:translateY(18px)scale(.985)}.view-pane.is-active{opacity:1;pointer-events:auto;filter:blur();z-index:1;transform:translateY(0)scale(1)}.view-stage.mode-tree .view-gantt:not(.is-active),.view-stage.mode-tree .view-activity:not(.is-active),.view-stage.mode-tree .view-board:not(.is-active){transform:translate(28px)scale(.98)}.view-stage.mode-gantt .view-tree:not(.is-active),.view-stage.mode-activity .view-tree:not(.is-active),.view-stage.mode-activity .view-gantt:not(.is-active),.view-stage.mode-board .view-tree:not(.is-active),.view-stage.mode-board .view-gantt:not(.is-active){transform:translate(-28px)scale(.98)}.view-gantt,.view-activity,.view-board{background:var(--bg-0)}.overlay-msg{text-align:center;color:var(--ink-muted);z-index:2;place-content:center;gap:12px;display:grid;position:absolute;inset:0}.overlay-msg.error{color:var(--bugged)}.overlay-msg button{border:1px solid var(--stroke);background:var(--surface-solid);border-radius:10px;justify-self:center;padding:8px 14px}@media (width<=1100px){.brand-desc{max-width:28vw}}@media (width<=900px){.app-header{flex-direction:column;align-items:stretch;gap:10px;padding:10px 12px 12px}.header-top{width:100%}.header-compact{display:flex}.brand-desc{max-width:46vw}.brand h1{font-size:1.15rem}.header-views{flex-direction:column;align-items:stretch;width:100%}.header-views .project-select-row{width:100%}.header-views .view-toggle{width:100%;min-width:0}.header-menu-backdrop{z-index:20;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#10182059;border:none;display:block;position:fixed;inset:0}.header-meta{z-index:30;border:1px solid var(--stroke);background:var(--surface-solid);box-shadow:var(--shadow);border-radius:14px;flex-direction:column;align-items:stretch;gap:8px;padding:12px;animation:.22s cubic-bezier(.22,1,.36,1) menuDrop;display:none;position:absolute;top:calc(100% - 4px);left:12px;right:12px}.header-meta.is-open{display:flex}.header-meta .ghost-btn,.header-meta .stat-pill,.header-meta .ws-pill{justify-content:center;width:100%}.header-meta .ghost-btn.icon-action-btn{flex:0 0 36px;width:36px}.header-meta .icon-actions-row{justify-content:flex-end;gap:8px;display:flex}.header-meta .email-pill{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.header-meta .desktop-only{display:none}.app-main.with-panel{grid-template-columns:1fr}}@keyframes menuDrop{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media (width>=901px){.header-meta{display:flex!important}.header-menu-backdrop{display:none!important}}:root,[data-theme=light]{--bg-0:#e6edf5;--bg-1:#d5e0ec;--bg-2:#c5d4e4;--bg-glow-1:#f4f8fc;--bg-glow-2:#cfe0ef;--ink:#1a2b3c;--ink-muted:#5a6f84;--surface:#ffffffd1;--surface-solid:#f7fafc;--stroke:#1a2b3c1f;--accent:#2f6f8f;--accent-soft:#d7e8f2;--todo:#7a8490;--done:#2f9e7a;--done-glow:#2f9e7a59;--bugged:#c46b5a;--to-test:#c4841a;--shadow:0 18px 40px #1a2b3c1f;--chrome-0:#c8d4e0;--chrome-1:#b7c6d6;--address-bg:#e8eef4;--node-todo-fill:#f0f2f4;--node-todo-stroke:#a8b0ba;--node-done-fill:#e8f6f1;--node-done-stroke:#7bc4ad;--node-complete-fill:#d9f3ea;--node-bugged-fill:#f8ece9;--node-bugged-stroke:#d4a094;--node-test-fill:#fff3dc;--node-test-stroke:#d4a03a;--node-root-fill:#e4eef5;--edge-todo:#9aa8b8;--node-shadow:#1a2b3c1f;--radius:14px;--on-accent:#fff}[data-theme=dark]{--bg-0:#121820;--bg-1:#182230;--bg-2:#1e2b3c;--bg-glow-1:#243246;--bg-glow-2:#1a3040;--ink:#e6eef6;--ink-muted:#9aadc0;--surface:#182230e0;--surface-solid:#1c2736;--stroke:#e6eef61f;--accent:#6eb0ce;--accent-soft:#6eb0ce29;--todo:#8b95a1;--done:#4cbe9a;--done-glow:#4cbe9a4d;--bugged:#d48a7a;--to-test:#e0a93a;--shadow:0 18px 40px #00000059;--chrome-0:#151c27;--chrome-1:#10161f;--address-bg:#243041;--node-todo-fill:#222b36;--node-todo-stroke:#556170;--node-done-fill:#1d3a32;--node-done-stroke:#3d9a7c;--node-complete-fill:#21483d;--node-bugged-fill:#3a2a27;--node-bugged-stroke:#a87568;--node-test-fill:#3a3018;--node-test-stroke:#d4a03a;--node-root-fill:#243647;--edge-todo:#5a6d80;--node-shadow:#00000059;--on-accent:#102029}:root{color:var(--ink);background:var(--bg-0);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:DM Sans,system-ui,sans-serif;line-height:1.45}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}body{color:var(--ink);background:radial-gradient(1200px 700px at 12% -10%, var(--bg-glow-1) 0%, transparent 55%), radial-gradient(900px 600px at 88% 8%, var(--bg-glow-2) 0%, transparent 50%), linear-gradient(160deg, var(--bg-0), var(--bg-1) 55%, var(--bg-2));transition:background .25s,color .25s}button,input,textarea,select{font:inherit}button{cursor:pointer}
