:root,[data-theme=light]{--bg:#f7f8fa;--surface:#fff;--surface-hover:#f3f4f6;--input-bg:#f3f4f6;--input-border:#d1d5db;--border:#e5e7eb;--text:#111827;--text-muted:#6b7280;--accent:#4f46e5;--accent-strong:#4338ca;--accent-soft:#eef2ff;--accent-soft-text:#4338ca;--status-todo:#9ca3af;--status-progress:#3b82f6;--status-blocked:#f59e0b;--status-done:#10b981;--priority-low:#cbd5e1;--priority-med:#94a3b8;--priority-high:#f97316;--priority-urgent:#ef4444;--danger:#dc2626;--shadow-sm:0 1px 2px #0f172a0d, 0 1px 4px #0f172a0a;--shadow-md:0 4px 12px #0f172a0f, 0 2px 6px #0f172a0a;--shadow-lg:0 10px 30px #0f172a17, 0 4px 10px #0f172a0d;--accent-glow:0 4px 14px #4f46e559, 0 2px 4px #4f46e533;--accent-glow-strong:0 6px 20px #4f46e580, 0 2px 6px #4f46e54d;--backdrop:#0f172a59;--badge-todo-bg:#f3f4f6;--badge-todo-text:#374151;--badge-progress-bg:#dbeafe;--badge-progress-text:#1d4ed8;--badge-blocked-bg:#fef3c7;--badge-blocked-text:#92400e;--badge-done-bg:#d1fae5;--badge-done-text:#065f46;--radius-sm:6px;--radius:10px;--radius-lg:14px;--gap-1:4px;--gap-2:8px;--gap-3:12px;--gap-4:16px;--gap-6:24px;--gap-8:32px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=dark]{--bg:#0f172a;--surface:#1e293b;--surface-hover:#334155;--input-bg:#0f172a;--input-border:#475569;--border:#334155;--text:#f1f5f9;--text-muted:#94a3b8;--accent:#818cf8;--accent-strong:#6366f1;--accent-soft:#1e1b4b;--accent-soft-text:#c7d2fe;--status-todo:#64748b;--status-progress:#60a5fa;--status-blocked:#fbbf24;--status-done:#34d399;--priority-low:#475569;--priority-med:#64748b;--priority-high:#fb923c;--priority-urgent:#f87171;--danger:#f87171;--shadow-sm:0 1px 2px #00000040, 0 1px 4px #00000026;--shadow-md:0 4px 14px #00000059, 0 2px 6px #0003;--shadow-lg:0 12px 36px #00000073, 0 4px 12px #00000040;--accent-glow:0 4px 16px #818cf873, 0 2px 6px #818cf84d;--accent-glow-strong:0 6px 24px #818cf8a6, 0 3px 8px #818cf866;--backdrop:#0009;--badge-todo-bg:#334155;--badge-todo-text:#cbd5e1;--badge-progress-bg:#1e3a8a;--badge-progress-text:#93c5fd;--badge-blocked-bg:#78350f;--badge-blocked-text:#fcd34d;--badge-done-bg:#064e3b;--badge-done-text:#6ee7b7;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{background:var(--bg);height:100%;color:var(--text);margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-size:14px;line-height:1.5}button{font-family:inherit;font-size:inherit;cursor:pointer;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:var(--radius);padding:7px 14px;font-weight:500;transition:background .14s,border-color .14s,box-shadow .18s,transform .1s}button:hover{background:var(--surface-hover)}button:active{transform:translateY(1px)}button.primary{background:linear-gradient(180deg, var(--accent), var(--accent-strong));color:#fff;box-shadow:var(--accent-glow);border-color:#0000}button.primary:hover{background:linear-gradient(180deg, var(--accent-strong), var(--accent-strong));box-shadow:var(--accent-glow-strong);border-color:#0000;transform:translateY(-1px)}button.primary:active{box-shadow:var(--accent-glow);transform:translateY(0)}button.primary:disabled{box-shadow:none}button.danger{border-color:var(--danger);color:var(--danger);background:0 0}button.danger:hover{background:#dc262614}[data-theme=dark] button.danger:hover{background:#f871711f}button.ghost{background:0 0;border-color:#0000}button.small{padding:4px 10px;font-size:12px}button:disabled{opacity:.55;cursor:not-allowed;transform:none}input,textarea,select{font-family:inherit;font-size:inherit;border:1px solid var(--input-border);border-radius:var(--radius);background:var(--input-bg);color:var(--text);width:100%;padding:6px 10px}input:focus,textarea:focus,select:focus{outline:2px solid var(--accent);outline-offset:-1px;border-color:#0000}select{appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:10px 6px;padding-right:32px}select::-ms-expand{display:none}input[type=file]{display:none}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--gap-6);box-shadow:var(--shadow-md);transition:box-shadow .2s,transform .15s}.card:hover{box-shadow:var(--shadow-lg)}.stack{flex-direction:column;display:flex}.stack.gap-1{gap:var(--gap-1)}.stack.gap-2{gap:var(--gap-2)}.stack.gap-3{gap:var(--gap-3)}.stack.gap-4{gap:var(--gap-4)}.row{align-items:center;display:flex}.row.gap-2{gap:var(--gap-2)}.row.gap-3{gap:var(--gap-3)}.row.gap-4{gap:var(--gap-4)}.grow{flex:1}.muted{color:var(--text-muted)}.error{color:var(--danger)}.appshell{grid-template-rows:auto 1fr;min-height:100%;display:grid}.appshell>header{background:var(--surface);border-bottom:1px solid var(--border);padding:var(--gap-3) var(--gap-6);align-items:center;gap:var(--gap-4);box-shadow:var(--shadow-sm);z-index:10;display:flex;position:sticky;top:0}.appshell>header .brand{letter-spacing:.2px;font-size:15px;font-weight:600}.appshell>header nav{gap:var(--gap-2);display:flex}.appshell>header nav a{color:var(--text-muted);border-radius:var(--radius);padding:6px 12px;font-weight:500;transition:background .14s,color .14s}.appshell>header nav a:hover{background:var(--surface-hover);color:var(--text);text-decoration:none}.appshell>header nav a.active{background:var(--accent-soft);color:var(--accent-soft-text)}.appshell>main{padding:var(--gap-6)}.appshell>main.no-padding{padding:0}.badge{background:var(--accent-soft);color:var(--accent-soft-text);border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-block}.badge.todo{background:var(--badge-todo-bg);color:var(--badge-todo-text)}.badge.progress{background:var(--badge-progress-bg);color:var(--badge-progress-text)}.badge.blocked{background:var(--badge-blocked-bg);color:var(--badge-blocked-text)}.badge.done{background:var(--badge-done-bg);color:var(--badge-done-text)}.projects-grid{gap:var(--gap-4);grid-template-columns:repeat(auto-fill,minmax(280px,1fr));display:grid}.project-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--gap-6);box-shadow:var(--shadow-sm);transition:box-shadow .22s,transform .15s,border-color .18s;display:block;position:relative}.project-card:hover{box-shadow:var(--shadow-lg);border-color:var(--accent);text-decoration:none;transform:translateY(-2px)}.project-card h3{margin:0 0 var(--gap-2);color:var(--text);font-size:16px}.project-card .desc{color:var(--text-muted);font-size:13px}.owner-badge{color:#d97706;text-transform:uppercase;letter-spacing:.4px;background:#fbbf242e;border-radius:10px;align-items:center;padding:2px 8px;font-size:11px;font-weight:600;display:inline-flex}[data-theme=dark] .owner-badge{color:#fbbf24;background:#fbbf2426}.member-error{border-radius:var(--radius);color:var(--danger);background:#dc26261a;border:1px solid #dc262640;padding:10px 14px;font-size:13px}.delete-user-info{border-radius:var(--radius);background:var(--input-bg);color:var(--text-muted);border:1px solid var(--input-border);padding:10px 14px;font-size:12px;line-height:1.55}.dm-wrap{display:inline-block;position:relative}.dm-trigger{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:var(--radius);cursor:pointer;align-items:center;gap:8px;padding:7px 10px 7px 14px;font-size:13px;font-weight:500;transition:background .14s,border-color .14s,box-shadow .18s;display:inline-flex}.dm-trigger:hover{background:var(--surface-hover)}.dm-wrap.open>.dm-trigger{background:var(--surface-hover);border-color:var(--accent)}.dm-trigger-content{align-items:center;gap:8px;display:inline-flex}.dm-chevron{color:var(--text-muted);transition:transform .18s}.dm-wrap.open .dm-chevron{transform:rotate(180deg)}.dm-panel{z-index:20;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-width:200px;box-shadow:var(--shadow-lg);flex-direction:column;gap:2px;padding:4px;animation:.14s dm-fade-in;display:flex;position:absolute;top:calc(100% + 6px)}.dm-align-left{left:0}.dm-align-right{right:0}@keyframes dm-fade-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.dm-item{color:var(--text);cursor:pointer;border-radius:var(--radius-sm);text-align:left;width:100%;box-shadow:none;background:0 0;border:0;align-items:center;gap:10px;padding:8px 12px;font-size:13px;font-weight:400;transition:background .1s,color .1s;display:flex}.dm-item:hover{background:var(--surface-hover)}.dm-item.active{background:var(--accent-soft);color:var(--accent-soft-text);font-weight:500}.dm-item:disabled{opacity:.5;cursor:not-allowed}.dm-item-icon{color:var(--text-muted);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.dm-item.active .dm-item-icon{color:var(--accent-soft-text)}.dm-item-label{white-space:nowrap;flex:1}.dm-separator{background:var(--border);height:1px;margin:4px 6px}.projects-view-toggle{border:1px solid var(--border);border-radius:var(--radius);background:var(--input-bg);gap:2px;padding:3px;display:inline-flex}.projects-view-toggle button{color:var(--text-muted);cursor:pointer;border-radius:calc(var(--radius) - 4px);box-shadow:none;background:0 0;border:0;align-items:center;gap:6px;padding:5px 12px;font-size:13px;font-weight:500;transition:background .16s,color .16s,box-shadow .2s;display:inline-flex}.projects-view-toggle button.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}[data-theme=dark] .projects-view-toggle button.active{color:var(--accent-soft-text)}.projects-view-toggle button:hover:not(.active){color:var(--text)}.projects-list-view{flex-direction:column;gap:12px;display:flex}.proj-group{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm);transition:box-shadow .2s;overflow:hidden}.proj-group:hover{box-shadow:var(--shadow-md)}.proj-group-head{cursor:pointer;text-align:left;width:100%;color:var(--text);border:0;border-bottom:1px solid var(--border);background:0 0;align-items:center;gap:10px;padding:10px 14px;display:flex}.proj-group-head:hover{background:var(--surface-hover)}.proj-group[aria-expanded=false] .proj-group-head{border-bottom-color:#0000}.proj-group-count{color:var(--text-muted);background:var(--input-bg);border-radius:10px;padding:2px 8px;font-size:12px}.proj-status-pill{border-radius:12px;align-items:center;gap:6px;padding:3px 10px;font-size:12px;font-weight:500;display:inline-flex}.proj-status-pill-planning{color:#60a5fa;background:#60a5fa26}.proj-status-pill-active{color:#fbbf24;background:#fbbf2426}.proj-status-pill-onhold{color:#94a3b8;background:#94a3b82e}.proj-status-pill-done{color:#34d399;background:#34d3992e}.proj-status-pill-archived{background:var(--input-bg);color:var(--text-muted)}[data-theme=light] .proj-status-pill-planning{color:#1d4ed8;background:#dbeafe}[data-theme=light] .proj-status-pill-active{color:#92400e;background:#fef3c7}[data-theme=light] .proj-status-pill-onhold{color:#6b7280;background:#f3f4f6}[data-theme=light] .proj-status-pill-done{color:#065f46;background:#d1fae5}.proj-grid{grid-template-columns:minmax(220px,2fr) 150px 190px 190px 130px 150px 100px 90px 60px;font-size:13px;display:grid}.proj-head,.proj-row{grid-template-columns:subgrid;border-bottom:1px solid var(--border);grid-column:1/-1;align-items:center;display:grid}.proj-head>*{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;text-overflow:ellipsis;padding:8px 10px;font-size:11px;font-weight:500;overflow:hidden}.proj-row>.proj-cell{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:14px 12px;overflow:hidden}.proj-row{min-height:60px;transition:background .14s}.proj-row:hover{background:var(--surface-hover)}.proj-row:last-child{border-bottom:0}.proj-name{flex-direction:column;gap:2px;display:flex;overflow:hidden}.proj-name-link{color:var(--text);font-weight:500;text-decoration:none}.proj-name-link:hover{color:var(--accent);text-decoration:underline}.proj-desc-preview{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.proj-status-select{border:1px solid var(--input-border);cursor:pointer;background:var(--input-bg);width:100%;color:var(--text);border-radius:12px;padding:3px 8px;font-size:12px;font-weight:500}.proj-status-select-planning{color:#60a5fa;background:#60a5fa26;border-color:#0000}.proj-status-select-active{color:#fbbf24;background:#fbbf2426;border-color:#0000}.proj-status-select-onhold{color:#94a3b8;background:#94a3b82e;border-color:#0000}.proj-status-select-done{color:#34d399;background:#34d3992e;border-color:#0000}[data-theme=light] .proj-status-select-planning{color:#1d4ed8;background:#dbeafe}[data-theme=light] .proj-status-select-active{color:#92400e;background:#fef3c7}[data-theme=light] .proj-status-select-onhold{color:#6b7280;background:#f3f4f6}[data-theme=light] .proj-status-select-done{color:#065f46;background:#d1fae5}.proj-priority-select{border:1px solid var(--input-border);cursor:pointer;background-color:var(--input-bg);width:100%;color:var(--text);background-position:8px;background-repeat:no-repeat;background-size:8px 8px;border-radius:12px;padding:3px 10px 3px 22px;font-size:12px}.proj-priority-select.proj-prio-urgent{background-image:radial-gradient(circle, var(--priority-urgent) 60%, transparent 62%);border-color:#0000}.proj-priority-select.proj-prio-high{background-image:radial-gradient(circle, var(--priority-high) 60%, transparent 62%);border-color:#0000}.proj-priority-select.proj-prio-medium{background-image:radial-gradient(circle, var(--priority-med) 60%, transparent 62%);border-color:#0000}.proj-priority-select.proj-prio-low{background-image:radial-gradient(circle, var(--priority-low) 60%, transparent 62%);border-color:#0000}.proj-owner{align-items:center;gap:8px;display:flex;overflow:hidden}.proj-owner-avatars{gap:-6px;display:flex}.proj-owner-avatars .avatar-mini+.avatar-mini{margin-left:-6px}.proj-owner-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.proj-dates{color:var(--text-muted);font-family:ui-monospace,monospace;font-size:12px}.proj-dates .proj-arrow{color:var(--text-muted);margin:0 4px}.proj-progress-inline{align-items:center;gap:8px;display:flex}.proj-progress-pct{min-width:34px;font-family:ui-monospace,monospace;font-size:12px}.proj-progress-bar{background:var(--input-bg);border-radius:3px;flex:1;min-width:40px;height:6px;overflow:hidden}.proj-progress-bar>span{background:var(--accent);height:100%;transition:width .2s;display:block}.proj-progress-bar.all-done>span{background:var(--status-done)}.proj-count{font-family:ui-monospace,monospace}.proj-overdue-badge{background:var(--danger);color:#fff;border-radius:11px;justify-content:center;align-items:center;min-width:22px;height:22px;padding:0 6px;font-size:11px;font-weight:600;display:inline-flex}.proj-actions{justify-content:center;display:flex}.proj-row .proj-actions .icon-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:4px;padding:4px}.proj-row .proj-actions .icon-btn:hover{background:var(--surface-hover);color:var(--text)}.login-shell{min-height:100vh;padding:var(--gap-6);place-items:center;display:grid}.login-card{background:var(--surface);border:1px solid var(--border);width:100%;max-width:380px;padding:var(--gap-6);box-shadow:var(--shadow-md);border-radius:12px}.login-card h1{margin:0 0 var(--gap-2);font-size:18px}.login-card .subtitle{color:var(--text-muted);margin-bottom:var(--gap-4)}.react-flow__node{box-shadow:none!important;background:0 0!important;border:none!important;padding:0!important}.react-flow__handle{background:var(--text-muted);border:2px solid var(--surface);opacity:.6;width:10px;height:10px;transition:opacity .1s,transform .1s}.react-flow__handle:hover{opacity:1;cursor:crosshair;transform:scale(1.3)}.react-flow__edge:hover .react-flow__edge-path{stroke-width:2.5px}.react-flow__edge.selected .react-flow__edge-path{stroke:var(--accent);stroke-width:2.5px}.edge-delete-btn{opacity:.4;transition:opacity .12s}.edge-delete-btn:hover,.edge-delete-btn.visible{opacity:1}.edge-delete-btn button{border:2px solid var(--surface);background:var(--danger);color:#fff;cursor:pointer;width:22px;height:22px;box-shadow:var(--shadow-sm);border-radius:50%;place-items:center;padding:0;display:grid}.edge-delete-btn button:hover{transform:scale(1.15)}.react-flow__background{background:var(--bg)}.react-flow__background-pattern{color:var(--border)}.react-flow__controls{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm)}.react-flow__controls-button{background:var(--surface)!important;border-bottom:1px solid var(--border)!important;color:var(--text)!important;fill:var(--text)!important}.react-flow__controls-button:hover{background:var(--surface-hover)!important}.react-flow__controls-button svg{fill:var(--text)!important}.react-flow__minimap{border:1px solid var(--border);background:var(--surface)!important}.react-flow__minimap-mask{fill:var(--backdrop)!important}.react-flow__edge-path{stroke:var(--text-muted)}.task-node{background:var(--surface);border:2px solid var(--border);min-width:200px;max-width:260px;box-shadow:var(--shadow-sm);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:14px;padding:12px 14px 10px;transition:box-shadow .1s,transform .1s}.task-node:hover{box-shadow:var(--shadow-md)}.task-node.selected{outline:3px solid var(--accent);outline-offset:2px}.task-node.status-todo{border-color:var(--status-todo)}.task-node.status-progress{border-color:var(--status-progress)}.task-node.status-blocked{border-color:var(--status-blocked)}.task-node.status-done{border-color:var(--status-done)}.task-node.done{opacity:.6}.task-node .title{padding-right:28px;font-size:14px;font-weight:600;line-height:1.3}.task-node .node-meta{border-top:1px solid var(--border);color:var(--text-muted);align-items:center;gap:8px;margin-top:10px;padding-top:6px;font-size:11px;display:flex}.task-node .node-meta .meta-icon{align-items:center;gap:3px;display:inline-flex}.task-node .node-meta .meta-icon.all-done{color:var(--status-done);font-weight:600}.task-node .node-meta .grow{flex:1}.task-node .assignees{gap:3px;display:inline-flex}.task-node .avatar-more{color:var(--text-muted);border:1px dashed var(--border);background:0 0;font-size:10px}.task-node .header-icon-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;padding:2px 4px;line-height:0;display:inline-flex}.task-node .header-icon-btn:hover{background:var(--surface-hover);color:var(--text)}.collapsed-task-node{color:#fff;cursor:pointer;width:78px;height:78px;box-shadow:var(--shadow-md);-webkit-user-select:none;user-select:none;background:linear-gradient(135deg,#6366f1 0%,#7c3aed 100%);border:3px solid #0000;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;transition:transform .1s,box-shadow .1s;display:flex;position:relative}.collapsed-task-node:hover{transform:scale(1.05);box-shadow:0 6px 20px #6366f159}.collapsed-task-node.status-todo{border-color:var(--status-todo)}.collapsed-task-node.status-progress{border-color:var(--status-progress)}.collapsed-task-node.status-blocked{border-color:var(--status-blocked)}.collapsed-task-node.status-done{border-color:var(--status-done)}.collapsed-task-node.done{opacity:.7}.collapsed-task-node .initials{letter-spacing:1px;font-size:20px;font-weight:700}.collapsed-task-node .count{opacity:.9;margin-top:2px;font-size:10px;font-weight:500}.task-node .priority-corner{border:2px solid var(--surface);width:16px;height:16px;box-shadow:var(--shadow-sm);z-index:3;border-radius:50%;position:absolute;top:-7px;right:-7px}.task-node .priority-corner.low{background:var(--priority-low)}.task-node .priority-corner.medium{background:var(--priority-med)}.task-node .priority-corner.high{background:var(--priority-high)}.task-node .priority-corner.urgent{background:var(--priority-urgent)}.task-node .collapse-icon-btn{color:var(--text-muted);cursor:pointer;z-index:2;background:0 0;border:none;border-radius:4px;padding:3px;line-height:0;position:absolute;top:6px;right:6px}.task-node .collapse-icon-btn:hover{background:var(--surface-hover);color:var(--text)}.task-node.detached{border-style:dashed;border-color:var(--priority-med,#f59e0b)}.task-node .detached-badge{background:var(--priority-med,#f59e0b);color:#fff;z-index:2;border-radius:50%;place-items:center;width:16px;height:16px;display:grid;position:absolute;top:6px;left:6px}.task-node .plus-btn{background:var(--accent);color:#fff;border:2px solid var(--surface);z-index:5;border-radius:50%;place-items:center;width:24px;height:24px;padding:0;font-size:15px;line-height:1;display:grid;position:absolute;bottom:-12px;left:50%;transform:translate(-50%)}.task-node .plus-btn:hover{background:var(--accent-strong)}.project-node{background:linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);color:#fff;min-width:220px;box-shadow:var(--shadow-md);border-radius:14px;padding:12px 16px;font-weight:600}.project-node .subtitle{opacity:.85;margin-top:2px;font-size:12px;font-weight:400}.avatar{background:var(--accent-soft);width:20px;height:20px;color:var(--accent-soft-text);border-radius:50%;place-items:center;font-size:10px;font-weight:600;display:inline-grid}.priority-dot{border-radius:50%;width:8px;height:8px;display:inline-block}.priority-dot.low{background:var(--priority-low)}.priority-dot.medium{background:var(--priority-med)}.priority-dot.high{background:var(--priority-high)}.priority-dot.urgent{background:var(--priority-urgent)}.drawer{background:var(--surface);border-left:1px solid var(--border);width:520px;max-width:100vw;height:100vh;box-shadow:var(--shadow-lg);z-index:20;flex-direction:column;display:flex;position:fixed;top:0;right:0;overflow:hidden}.drawer h2{margin:0 0 var(--gap-4);font-size:16px}.drawer-header{padding:var(--gap-6) var(--gap-6) 0;flex:none}.drawer-body{padding:0 var(--gap-6) var(--gap-6);flex:auto;overflow-y:auto}.drawer-footer{padding:var(--gap-3) var(--gap-6);border-top:1px solid var(--border);background:var(--surface);flex:none}.modal.task-detail-modal{flex-direction:column;width:92vw;max-width:720px;max-height:88vh;padding:0;display:flex}.task-detail-header{padding:var(--gap-6) var(--gap-6) 0;flex:none}.task-detail-body{padding:0 var(--gap-6) var(--gap-6);flex:auto;overflow-y:auto}.task-detail-footer{padding:var(--gap-3) var(--gap-6);border-top:1px solid var(--border);background:var(--surface);flex:none}.tab-bar{border-bottom:1px solid var(--border);gap:4px;display:flex}.tab-bar .tab{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;border-radius:0;align-items:center;gap:6px;margin-bottom:-1px;padding:8px 12px;font-weight:500;display:inline-flex}.tab-bar .tab:hover{color:var(--text);background:0 0}.tab-bar .tab.active{color:var(--accent);border-bottom-color:var(--accent)}.tab-bar .tab-count{color:var(--text-muted);background:var(--accent-soft);border-radius:999px;padding:1px 6px;font-size:11px;font-weight:500}.tab-bar .tab.active .tab-count{color:var(--accent-soft-text)}.tab-bar .tab-badge{background:var(--danger);color:#fff;text-align:center;border-radius:999px;min-width:18px;padding:1px 6px;font-size:11px;font-weight:600}.checklist-item{border:1px solid var(--border);background:var(--surface);border-radius:6px;align-items:center;gap:8px;padding:6px 8px;display:flex}.checklist-item.done{opacity:.6}.checklist-item.done .checklist-text{color:var(--text-muted);text-decoration:line-through}.checklist-item input[type=checkbox]{cursor:pointer;width:16px;height:16px;accent-color:var(--accent);flex:none}.checklist-item .checklist-text{color:inherit;background:0 0;border:none;flex:1;padding:4px 6px;font-size:13px}.checklist-item .checklist-text:focus{outline:2px solid var(--accent);outline-offset:-1px;background:var(--bg);border-radius:4px}.comment-card{padding:10px}.comment-card.reply{background:0 0;border-color:#0000}.comment-body{white-space:pre-wrap;word-wrap:break-word;font-size:13px}.mention-chip{background:var(--accent-soft);color:var(--accent-soft-text);border-radius:4px;padding:1px 6px;font-size:12px;font-weight:600}.reply-thread{border-left:2px solid var(--border);margin-top:6px;margin-left:28px;padding-left:12px}.reply-thread .comment-card{margin-bottom:6px}.mention-picker{z-index:40;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-md);border-radius:8px;max-height:220px;position:absolute;top:100%;left:0;right:0;overflow:hidden auto}.mention-picker .mention-item{cursor:pointer;width:100%;color:var(--text);text-align:left;background:0 0;border:none;border-radius:0;flex-direction:column;align-items:flex-start;gap:2px;padding:6px 10px;display:flex}.mention-picker .mention-item:hover,.mention-picker .mention-item.active{background:var(--accent-soft);color:var(--accent-soft-text)}.mention-picker .mention-item.active strong{color:var(--accent-soft-text)}.paste-preview-strip{flex-wrap:wrap;gap:8px;display:flex}.paste-preview{border:1px solid var(--border);background:var(--bg);border-radius:8px;width:96px;height:96px;position:relative;overflow:hidden}.paste-preview img{object-fit:cover;width:100%;height:100%;display:block}.paste-preview.uploading img{opacity:.5}.paste-preview-overlay{background:#0003;place-items:center;display:grid;position:absolute;inset:0}.paste-preview-remove{color:#fff;cursor:pointer;background:#0009;border:none;border-radius:50%;place-items:center;width:22px;height:22px;padding:0;display:grid;position:absolute;top:4px;right:4px}.paste-preview-remove:hover{background:#000000d9}.comment-image-strip{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.comment-image-thumb{border:1px solid var(--border);background:var(--bg);cursor:zoom-in;border-radius:6px;width:120px;height:90px;padding:0;overflow:hidden}.comment-image-thumb img{object-fit:cover;width:100%;height:100%;display:block}.comment-image-thumb:hover{border-color:var(--accent)}.auth-image-loading{color:var(--text-muted);background:var(--bg);place-items:center;display:grid}.auth-image-error{text-align:center;place-items:center;padding:8px;font-size:11px;display:grid}.image-zoom-backdrop{z-index:50;background:#000000d9;flex-direction:column;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.image-zoom-toolbar{z-index:51;color:#fff;background:#1e293be6;border-radius:8px;align-items:center;gap:4px;padding:4px 8px;display:flex;position:absolute;top:16px;right:16px}.image-zoom-toolbar .ghost{color:#fff}.image-zoom-toolbar .ghost:hover{background:#ffffff26}.image-zoom-toolbar .muted{color:#ffffffbf}.image-zoom-stage{-webkit-user-select:none;user-select:none;place-items:center;width:100%;height:100%;display:grid;overflow:hidden}.image-zoom-stage img{will-change:transform;max-width:90vw;max-height:90vh;transition:transform 40ms linear}.spinner{vertical-align:middle;border:2px solid;border-color:currentColor currentColor #0000 #0000;border-radius:50%;width:14px;height:14px;animation:.5s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop{background:var(--backdrop);z-index:30;-webkit-backdrop-filter:blur(3px);place-items:center;display:grid;position:fixed;inset:0}.modal{background:var(--surface);border-radius:var(--radius-lg);padding:var(--gap-6);width:90%;max-width:420px;box-shadow:var(--shadow-lg);border:1px solid var(--border)}table.users-table{border-collapse:collapse;width:100%}table.users-table th,table.users-table td{text-align:left;border-bottom:1px solid var(--border);padding:8px 10px}table.users-table th{color:var(--text-muted);font-size:12px;font-weight:500}.view-switcher{background:var(--surface);border:1px solid var(--border);border-radius:8px;gap:2px;padding:2px;display:inline-flex}.view-switcher button{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:5px 10px;font-size:13px}.view-switcher button:hover{background:var(--surface-hover);color:var(--text)}.view-switcher button.active{background:var(--accent-soft);color:var(--accent-soft-text);font-weight:500}.list-view{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;display:flex;position:absolute;inset:60px 12px 12px;overflow:hidden}.list-toolbar{border-bottom:1px solid var(--border);background:var(--surface);flex-direction:column;flex-shrink:0;align-items:stretch;gap:12px;padding:16px 20px;display:flex}.list-toolbar-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.list-toolbar label{color:var(--text-muted);align-items:center;gap:8px;font-size:12px;font-weight:500;display:inline-flex}.list-toolbar select{border:1px solid var(--input-border);border-radius:var(--radius);background-color:var(--input-bg);color:var(--text);min-width:120px;padding:6px 30px 6px 10px;font-size:13px}.list-task-count{background:var(--input-bg);border-radius:var(--radius);white-space:nowrap;padding:6px 12px;font-size:13px}.list-search{flex:1;align-items:center;min-width:220px;max-width:420px;display:flex;position:relative}.list-search-icon{color:var(--text-muted);pointer-events:none;position:absolute;left:12px}.list-search input{border:1px solid var(--input-border);border-radius:var(--radius);background:var(--input-bg);width:100%;color:var(--text);padding:8px 36px;font-size:13px}.list-search input:focus{outline:2px solid var(--accent);outline-offset:-1px;border-color:#0000}.list-search-clear{min-width:auto;color:var(--text-muted);padding:4px 8px;position:absolute;right:4px}.list-search-clear:hover{color:var(--text);background:var(--surface-hover)}.due-date-filter{border:1px solid var(--input-border);border-radius:var(--radius);background:var(--input-bg);flex-wrap:nowrap;align-items:center;gap:8px;padding:6px 12px;display:inline-flex}.due-date-filter .date-field{min-width:100px;padding:4px 8px;font-size:12px}.due-date-filter .date-field.disabled{opacity:.4}.due-date-none{cursor:pointer;color:var(--text-muted);white-space:nowrap;align-items:center;gap:6px;margin-left:4px;font-size:12px;display:inline-flex}.due-date-none input[type=checkbox]{cursor:pointer;margin:0}.list-scroll{flex:1;overflow:auto}.list-footer{border-top:1px solid var(--border);background:var(--surface);flex-shrink:0;padding:8px 12px}.list-grid{grid-template-columns:32px 70px minmax(200px,1fr) 140px 130px 140px 130px 130px 110px;align-content:start;font-size:13px;display:grid}.list-grid .lg-head,.list-grid .lg-row{grid-template-columns:subgrid;border-bottom:1px solid var(--border);grid-column:1/-1;align-items:center;display:grid}.list-grid .lg-head{background:var(--surface);z-index:1;position:sticky;top:0}.list-grid .lg-head>*{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;text-overflow:ellipsis;padding:6px 8px;font-size:11px;font-weight:500;overflow:hidden}.list-grid .lg-head .sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.list-grid .lg-head .sortable:hover{color:var(--text)}.list-grid .lg-row{min-height:44px}.list-grid .lg-row:hover{box-shadow:inset 0 0 0 1px var(--border)}.list-grid .lg-cell{align-items:center;min-width:0;padding:4px 8px;display:flex}.list-grid .lg-row:hover{background:var(--surface-hover)}.list-grid .lg-row.done{color:var(--text-muted)}.list-grid .lg-row.done .title-cell .link-btn{text-decoration:line-through}.list-grid .lg-row.overdue .date-cell input{color:var(--danger);font-weight:500}.list-grid .lg-empty{text-align:center;color:var(--text-muted);grid-column:1/-1;padding:40px;font-size:13px}.list-grid .tree-toggle{justify-content:center}.list-grid .tree-btn{cursor:pointer;color:var(--text-muted);background:0 0;border:none;border-radius:3px;padding:2px;line-height:0}.list-grid .tree-btn:hover{background:var(--surface-hover);color:var(--text)}.list-grid .wbs{white-space:nowrap;font-family:ui-monospace,monospace;font-size:11px}.list-grid .title-cell{overflow:hidden}.list-grid .title-cell>span{align-items:center;gap:6px;min-width:0;display:inline-flex;overflow:hidden}.list-grid .link-btn{color:var(--text);cursor:pointer;font:inherit;text-align:left;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:none;max-width:100%;padding:0;overflow:hidden}.list-grid .link-btn:hover{color:var(--accent);text-decoration:underline}.list-grid .badge-mini{background:var(--badge-blocked-bg);color:var(--badge-blocked-text);text-transform:uppercase;letter-spacing:.3px;border-radius:3px;margin-left:6px;padding:1px 5px;font-size:10px;display:inline-block}.status-select{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);cursor:pointer;border-radius:4px;padding:2px 5px;font-size:12px}.status-select.status-todo{background:var(--badge-todo-bg);color:var(--badge-todo-text)}.status-select.status-progress{background:var(--badge-progress-bg);color:var(--badge-progress-text)}.status-select.status-blocked{background:var(--badge-blocked-bg);color:var(--badge-blocked-text)}.status-select.status-done{background:var(--badge-done-bg);color:var(--badge-done-text)}.status-badge{color:var(--text-muted);background:var(--surface-hover);border:1px dashed var(--border);border-radius:4px;padding:2px 8px;font-size:12px;font-style:italic;display:inline-block}.status-badge.status-todo{background:var(--badge-todo-bg);color:var(--badge-todo-text)}.status-badge.status-progress{background:var(--badge-progress-bg);color:var(--badge-progress-text)}.status-badge.status-blocked{background:var(--badge-blocked-bg);color:var(--badge-blocked-text)}.status-badge.status-done{background:var(--badge-done-bg);color:var(--badge-done-text)}.priority-select{border:1px solid var(--border);background-color:var(--surface);width:100%;color:var(--text);cursor:pointer;background-position:6px;background-repeat:no-repeat;background-size:8px 8px;border-radius:4px;padding:2px 5px 2px 20px;font-size:12px}.priority-select.prio-urgent{border-left:3px solid var(--priority-urgent);background-image:radial-gradient(circle, var(--priority-urgent) 60%, transparent 62%)}.priority-select.prio-high{border-left:3px solid var(--priority-high);background-image:radial-gradient(circle, var(--priority-high) 60%, transparent 62%)}.priority-select.prio-medium{border-left:3px solid var(--priority-med);background-image:radial-gradient(circle, var(--priority-med) 60%, transparent 62%)}.priority-select.prio-low{border-left:3px solid var(--priority-low);background-image:radial-gradient(circle, var(--priority-low) 60%, transparent 62%)}.date-cell{color:var(--text-muted);align-items:center;gap:3px;width:100%;display:flex}.date-cell input{min-width:0;color:var(--text);background:0 0;border:1px solid #0000;border-radius:4px;flex:1;padding:2px 4px;font-size:12px}.date-cell input:hover,.date-cell input:focus{border-color:var(--border);background:var(--surface)}.date-field{border:1px solid var(--border);background:var(--surface);cursor:pointer;min-width:108px;color:var(--text);border-radius:6px;align-items:center;padding:6px 10px;font-size:13px;line-height:1.2;transition:border-color .12s,background .12s;display:inline-flex;position:relative}.date-field:hover{border-color:var(--accent)}.date-field.disabled{cursor:not-allowed;opacity:.6}.date-field-display{white-space:nowrap;pointer-events:none;-webkit-user-select:none;user-select:none;font-family:ui-monospace,monospace}.date-field.empty .date-field-display{color:var(--text-muted);opacity:.55;font-style:italic}.date-field-native{opacity:0;color:#0000;pointer-events:none;background:0 0;border:0;width:1px;height:1px;margin:0;padding:0;position:absolute;top:0;left:0}.date-field-native::-webkit-calendar-picker-indicator{display:none}.date-cell .date-field{background:0 0;border:1px solid #0000;flex:1;min-width:0;padding:2px 4px;font-size:12px}.date-cell .date-field:hover,.date-cell .date-field:focus-within{border-color:var(--border);background:var(--surface)}.list-grid .lg-row.overdue .date-cell .date-field-display{color:var(--danger);font-weight:500}.modal.small .date-field{width:100%}.date-field.date-field-datetime{gap:4px;min-width:180px;padding:4px 8px}.date-field.date-field-datetime .dt-segment{white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:4px;padding:2px 6px;font-family:ui-monospace,monospace;transition:background .1s,color .1s}.date-field.date-field-datetime .dt-segment:hover{background:var(--surface-hover)}.date-field.date-field-datetime .dt-segment:focus-visible{outline:2px solid var(--accent);outline-offset:-1px}.date-field.date-field-datetime .dt-segment.empty{color:var(--text-muted);opacity:.55;font-style:italic}.date-field.date-field-datetime .dt-segment.disabled{cursor:not-allowed;opacity:.35}.date-field.date-field-datetime .dt-time-selects{align-items:center;gap:2px;display:inline-flex}.date-field.date-field-datetime .dt-time-select{color:var(--text);cursor:pointer;appearance:none;text-align:center;text-align-last:center;background:0 0;border:0;border-radius:4px;width:auto;min-width:44px;padding:2px 4px;font-family:ui-monospace,monospace;font-size:13px}.date-field.date-field-datetime .dt-time-select:hover{background:var(--surface-hover)}.date-field.date-field-datetime .dt-time-select:focus{outline:2px solid var(--accent);outline-offset:-1px;background:0 0}.date-field.date-field-datetime .dt-time-select.empty{color:var(--text-muted);opacity:.6;font-style:italic}.date-field.date-field-datetime .dt-time-select:disabled{cursor:not-allowed;opacity:.35}.date-field.date-field-datetime .dt-time-colon{color:var(--text-muted);-webkit-user-select:none;user-select:none;font-family:ui-monospace,monospace}.file-upload-btn{border:1px dashed var(--input-border);border-radius:var(--radius);background:var(--input-bg);color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;width:fit-content;padding:8px 14px;font-size:13px;transition:background .12s,border-color .12s,color .12s;display:inline-flex}.file-upload-btn:hover{background:var(--surface-hover);border-color:var(--accent);color:var(--accent);border-style:solid}.file-upload-btn.busy{cursor:progress;opacity:.75}.doc-section{flex-direction:column;gap:8px;display:flex}.doc-section>strong{display:block}.doc-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.doc-list li{background:var(--input-bg);border-radius:6px;align-items:center;gap:6px;padding:4px 8px;font-size:13px;display:flex}.doc-list li:hover{background:var(--surface-hover)}.doc-list .doc-icon{color:var(--text-muted);flex-shrink:0}.doc-list a{color:var(--accent)}.drawer-body,.task-detail-body{font-size:13px}.drawer-body .stack.gap-3,.task-detail-body .stack.gap-3{gap:14px}.drawer-body label,.task-detail-body label{color:var(--text-muted);flex-direction:column;gap:4px;font-size:12px;font-weight:500;display:flex}.drawer-body label>input:not([type=checkbox]),.drawer-body label>textarea,.drawer-body label>select,.drawer-body label>.date-field,.task-detail-body label>input:not([type=checkbox]),.task-detail-body label>textarea,.task-detail-body label>select,.task-detail-body label>.date-field{color:var(--text);font-size:13px;font-weight:400}.drawer-body>.stack>strong,.task-detail-body>.stack>strong,.drawer-body>.stack>div>strong,.task-detail-body>.stack>div>strong{text-transform:uppercase;letter-spacing:.5px;color:var(--text-muted);font-size:12px;font-weight:600}.assignee-cell{flex-wrap:wrap;gap:2px;display:flex}.avatar-mini{background:var(--accent-soft);width:22px;height:22px;color:var(--accent-soft-text);border:1px solid var(--surface);border-radius:50%;place-items:center;font-size:10px;font-weight:600;display:grid}.avatar-mini.avatar-more{background:var(--surface-hover);color:var(--text-muted)}.progress-cell{color:var(--text-muted);align-items:center;gap:6px;font-size:12px;display:flex}.progress-bar{background:var(--border);border-radius:2px;flex:1;min-width:40px;max-width:80px;height:4px;display:inline-block;overflow:hidden}.progress-bar span{background:var(--accent);height:100%;display:block}.progress-bar.all-done span{background:var(--status-done)}.list-grid .actions{justify-content:flex-end;gap:2px;padding-right:6px}.list-grid .icon-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:3px 4px;line-height:0}.list-grid .icon-btn:hover{background:var(--surface-hover);color:var(--text)}.kanban-view{flex-direction:column;display:flex;position:absolute;inset:60px 12px 12px}.kanban-toolbar{border:1px solid var(--border);background:var(--surface);border-radius:var(--radius) var(--radius) 0 0;flex-shrink:0;align-items:center;gap:12px;padding:8px 12px;display:flex}.kanban-toolbar label{color:var(--text-muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.kanban-toolbar select{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:5px;padding:3px 6px;font-size:12px}.kanban-board{background:var(--bg);border:1px solid var(--border);border-radius:0 0 var(--radius) var(--radius);border-top:none;flex:1;grid-template-columns:repeat(4,1fr);gap:8px;padding:8px;display:grid;overflow:hidden}.kanban-col{background:var(--surface);border:2px solid #0000;border-radius:8px;flex-direction:column;transition:border-color .1s,background-color .1s;display:flex;overflow:hidden}.kanban-col.drag-over{border-color:var(--accent);background:var(--accent-soft)}.kanban-col-head{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;padding:10px 12px;font-size:13px;font-weight:600;display:flex}.kanban-col-head .count{background:var(--surface-hover);color:var(--text-muted);border-radius:10px;padding:1px 8px;font-size:11px;font-weight:500}.kanban-col.col-todo .kanban-col-head{border-top:3px solid var(--status-todo)}.kanban-col.col-progress .kanban-col-head{border-top:3px solid var(--status-progress)}.kanban-col.col-blocked .kanban-col-head{border-top:3px solid var(--status-blocked)}.kanban-col.col-done .kanban-col-head{border-top:3px solid var(--status-done)}.kanban-col-body{flex-direction:column;flex:1;gap:6px;padding:8px;display:flex;overflow-y:auto}.kanban-card{background:var(--surface);border:1px solid var(--border);cursor:grab;box-shadow:var(--shadow-sm);border-radius:6px;flex-direction:column;gap:4px;padding:8px 10px;display:flex;position:relative}.kanban-card:hover{border-color:var(--accent)}.kanban-card:active{cursor:grabbing}.kanban-card.overdue{border-left:3px solid var(--danger)}.kanban-card .prio-dot{border-radius:50%;width:10px;height:10px;position:absolute;top:6px;right:6px}.kanban-card .prio-dot.low{background:var(--priority-low)}.kanban-card .prio-dot.medium{background:var(--priority-med)}.kanban-card .prio-dot.high{background:var(--priority-high)}.kanban-card .prio-dot.urgent{background:var(--priority-urgent)}.kanban-card .card-title{overflow-wrap:break-word;padding-right:14px;font-size:13px;font-weight:500}.kanban-card .card-meta{color:var(--text-muted);flex-wrap:wrap;gap:8px;font-size:11px;display:flex}.kanban-card .card-meta .meta{align-items:center;gap:3px;display:inline-flex}.kanban-card .card-meta .meta.all-done{color:var(--status-done)}.kanban-card .card-assignees{gap:2px;margin-top:2px;display:flex}.kanban-col .empty-col{color:var(--text-muted);text-align:center;padding:24px 8px;font-size:12px;font-style:italic}[data-theme=dark] .kanban-col{background:#1f2937}[data-theme=dark] .kanban-card{background:#111827}[data-theme=dark] .list-view{background:#1f2937}.modal.import-modal{flex-direction:column;gap:12px;max-width:900px;max-height:88vh;display:flex;overflow:hidden}.import-row{gap:8px;display:flex}.file-drop{border:2px dashed var(--border);text-align:center;color:var(--text-muted);border-radius:12px;flex-direction:column;align-items:center;gap:8px;padding:32px;transition:border-color .1s,background .1s;display:flex}.file-drop.drag-over{border-color:var(--accent);background:var(--accent-soft)}.file-drop .link{color:var(--accent);cursor:pointer;text-decoration:underline}.preview-summary{background:var(--surface-hover);border-radius:8px;align-items:center;gap:24px;padding:8px 12px;display:flex}.preview-summary .stat{align-items:baseline;gap:4px;display:inline-flex}.preview-summary .stat-value{font-size:20px;font-weight:600}.preview-summary .stat-label{color:var(--text-muted);font-size:12px}.preview-summary .stat.stat-ok{color:var(--status-done);align-items:center;gap:6px}.preview-summary .stat.stat-err{color:var(--danger);align-items:center;gap:6px}.error-box{border:1px solid var(--danger);color:var(--danger);background:#dc262614;border-radius:8px;padding:10px 12px;font-size:12px}.error-box ul{margin:4px 0 0;padding-left:20px}.preview-scroll{border:1px solid var(--border);border-radius:8px;flex:1;min-height:200px;overflow:auto}table.preview-table{border-collapse:collapse;width:100%;font-size:12px}table.preview-table thead{background:var(--surface);z-index:1;position:sticky;top:0}table.preview-table th,table.preview-table td{text-align:left;border-bottom:1px solid var(--border);padding:5px 8px}table.preview-table th{color:var(--text-muted);text-transform:uppercase;letter-spacing:.3px;font-size:11px;font-weight:500}table.preview-table tr.row-err{background:#dc26260f}table.preview-table .wbs{font-family:ui-monospace,monospace}table.preview-table .err-list{color:var(--danger);margin:0;padding-left:16px;font-size:11px}.modal.task-templates-modal{flex-direction:column;gap:10px;max-width:560px;max-height:82vh;display:flex}.modal.task-templates-modal .template-list{flex-direction:column;flex:1;gap:6px;display:flex;overflow-y:auto}.template-item{background:var(--surface);border:1px solid var(--border);border-radius:6px;align-items:center;gap:8px;padding:8px 10px;display:flex}.template-item:hover{background:var(--surface-hover)}.template-body{flex:1;min-width:0}.template-name{font-size:13px;font-weight:500}.template-title{text-overflow:ellipsis;margin-top:2px;font-size:12px;overflow:hidden}.template-meta{color:var(--text-muted);margin-top:2px;font-size:11px}.primary.small{padding:3px 8px!important;font-size:12px!important}.modal.recurring-modal{flex-direction:column;gap:10px;max-width:640px;max-height:88vh;display:flex}.day-btn{border:1px solid var(--border);background:var(--surface);color:var(--text-muted);cursor:pointer;border-radius:6px;min-width:34px;padding:4px 10px;font-size:12px;font-weight:500}.day-btn.active{background:var(--accent);color:#fff;border-color:var(--accent)}.day-btn:hover:not(.active){color:var(--text);border-color:var(--text-muted)}.recurring-list{flex-direction:column;flex:1;gap:6px;display:flex;overflow-y:auto}.recurring-item{background:var(--surface);border:1px solid var(--border);border-radius:6px;align-items:center;gap:8px;padding:8px 10px;display:flex}.recurring-item:hover{background:var(--surface-hover)}.recurring-item.inactive{opacity:.55}.rec-body{flex:1;min-width:0}.rec-name{font-size:13px;font-weight:500}.rec-title{text-overflow:ellipsis;margin-top:2px;font-size:12px;overflow:hidden}.rec-pattern{color:var(--accent);margin-top:2px;font-size:12px}.rec-meta{margin-top:2px;font-size:11px}.dep-list{flex-direction:column;gap:4px;margin-top:4px;display:flex}.dep-item{background:var(--surface-hover);border-radius:4px;align-items:center;gap:6px;padding:3px 8px;font-size:12px;display:flex}.dep-item.blocking{border-left:2px solid var(--danger)}.dep-item.done{color:var(--text-muted);text-decoration:line-through}.dep-item .dep-status-dot{background:var(--danger);border-radius:50%;flex-shrink:0;width:8px;height:8px}.dep-item.done .dep-status-dot{background:var(--status-done)}.dep-item .dep-status-dot.forward{background:var(--text-muted)}.dep-item .link-btn{text-align:left;color:inherit;cursor:pointer;font:inherit;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:none;flex:1;padding:0;overflow:hidden}.dep-item .icon.small{font-size:14px;padding:0 4px!important}.task-node .meta-icon.blocked{color:var(--danger)}.modal.milestones-modal{flex-direction:column;gap:12px;max-width:640px;max-height:82vh;display:flex}.milestones-modal .create-form{background:var(--surface-hover);border:1px solid var(--border);border-radius:8px;padding:12px}.milestones-modal .milestone-list{flex-direction:column;flex:1;gap:4px;display:flex;overflow-y:auto}.milestone-item{border:1px solid var(--border);background:var(--surface);border-radius:6px;align-items:center;gap:10px;padding:8px 10px;display:flex}.milestone-item:hover{background:var(--surface-hover)}.milestone-item.done{opacity:.6}.milestone-item.overdue{border-color:var(--danger)}.milestone-dot{border-radius:50%;flex-shrink:0;width:12px;height:12px}.milestone-body{flex:1;min-width:0}.milestone-title{font-size:13px;font-weight:500}.milestone-title .milestone-date{color:var(--text-muted);margin-left:4px;font-size:12px;font-weight:400}.milestone-badge{text-transform:uppercase;letter-spacing:.3px;border-radius:3px;margin-left:6px;padding:1px 6px;font-size:10px;font-weight:500}.milestone-badge.overdue{color:var(--danger);background:#dc262626}.milestone-badge.done{background:var(--badge-done-bg);color:var(--badge-done-text)}.milestone-desc{margin-top:2px;font-size:11px}.cal-milestone{white-space:nowrap;text-overflow:ellipsis;border-radius:3px;align-items:center;gap:3px;margin-bottom:2px;padding:1px 5px;font-size:10px;font-weight:500;display:inline-flex;overflow:hidden}.cal-milestone.done{opacity:.5;text-decoration:line-through}.modal.audit-modal{flex-direction:column;gap:10px;max-width:640px;max-height:82vh;display:flex}.audit-filters{background:var(--surface-hover);border-radius:6px;align-items:center;gap:12px;padding:8px 10px;display:flex}.audit-filters label{color:var(--text-muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.audit-filters select{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:5px;padding:2px 5px;font-size:12px}.audit-scroll{flex:1;padding:4px 0;overflow-y:auto}.audit-day+.audit-day{margin-top:12px}.audit-day-head{color:var(--text-muted);text-transform:uppercase;letter-spacing:.4px;border-bottom:1px solid var(--border);padding:4px 8px;font-size:11px}.audit-entries{flex-direction:column;display:flex}.audit-entry{border-radius:4px;align-items:flex-start;gap:10px;padding:8px 10px;display:flex}.audit-entry:hover{background:var(--surface-hover)}.audit-icon{color:var(--text-muted);flex-shrink:0;margin-top:2px}.audit-body{flex:1;min-width:0}.audit-summary{overflow-wrap:break-word;font-size:13px}.audit-time{color:var(--text-muted);margin-top:2px;font-size:11px}.modal.report-modal{flex-direction:column;gap:12px;width:92vw;max-width:900px;max-height:88vh;display:flex}.report-cards{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.report-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.report-card.tone-accent{border-color:var(--accent)}.report-card.tone-danger{border-color:var(--danger)}.report-card.tone-progress{border-color:var(--status-done)}.report-card .rc-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.4px;align-items:center;gap:4px;font-size:11px;display:inline-flex}.report-card .rc-value{font-size:24px;font-weight:600}.report-card .rc-sub{color:var(--text-muted);font-size:11px}.report-card .rc-bar{background:var(--surface-hover);border-radius:2px;height:4px;margin-top:4px;overflow:hidden}.report-card .rc-bar span{background:var(--status-done);height:100%;display:block}.report-grid{grid-template-columns:repeat(2,1fr);gap:12px;padding-right:4px;display:grid;overflow-y:auto}.report-section{background:var(--surface);border:1px solid var(--border);border-radius:8px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.report-section.wide{grid-column:span 2}.report-section .rs-head{color:var(--text-muted);text-transform:uppercase;letter-spacing:.4px;align-items:center;gap:6px;font-size:12px;font-weight:500;display:inline-flex}.report-section .rs-body{font-size:13px}.bar-chart{flex-direction:column;gap:4px;display:flex}.bc-row{grid-template-columns:100px 1fr 40px;align-items:center;gap:8px;display:grid}.bc-label{font-size:12px}.bc-bar{background:var(--surface-hover);border-radius:3px;height:14px;overflow:hidden}.bc-fill{border-radius:3px;height:100%;display:block}.bc-count{text-align:right;color:var(--text-muted);font-size:12px}.assignee-list{flex-direction:column;gap:4px;display:flex}.assignee-row{grid-template-columns:1fr 60px 100px 36px;align-items:center;gap:8px;font-size:12px;display:grid}.ar-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ar-numbers{text-align:center;font-family:ui-monospace,monospace}.ar-open{color:var(--text)}.ar-done{color:var(--status-done)}.ar-sep{color:var(--text-muted);margin:0 3px}.ar-bar{background:var(--surface-hover);border-radius:2px;height:8px;overflow:hidden}.ar-bar-fill{background:var(--status-done);height:100%;display:block}.ar-pct{color:var(--text-muted);text-align:right;font-size:11px}.tag-stats{flex-direction:column;gap:4px;display:flex}.tag-stat{align-items:center;gap:6px;display:flex}.tag-stat .tag-stat-count{color:var(--text-muted);margin-left:auto;font-size:12px}.timeline-chart{align-items:flex-end;gap:4px;height:100px;padding-top:8px;display:flex}.tc-col{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;display:flex}.tc-bar{background:var(--accent);border-radius:2px 2px 0 0;width:12px;min-height:2px}.tc-label{color:var(--text-muted);transform-origin:50%;white-space:nowrap;margin-top:2px;font-size:9px;transform:rotate(-45deg)}.milestone-summary{align-items:center;gap:12px;display:flex}.ms-num{font-size:36px;font-weight:600}.ms-details{color:var(--text-muted);flex-direction:column;gap:4px;font-size:12px;display:flex}@media (width<=700px){.report-cards{grid-template-columns:repeat(2,1fr)}.report-grid{grid-template-columns:1fr}.report-section.wide{grid-column:auto}}.toast-container{z-index:60;pointer-events:none;flex-direction:column-reverse;gap:8px;display:flex;position:fixed;bottom:16px;right:16px}.toast{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-md);pointer-events:auto;border-radius:8px;align-items:center;gap:10px;min-width:280px;max-width:480px;padding:10px 12px;animation:.2s ease-out toastIn;display:flex}@keyframes toastIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.toast.tone-accent{border-left:4px solid var(--accent)}.toast.tone-danger{border-left:4px solid var(--danger)}.toast.tone-success{border-left:4px solid var(--status-done)}.toast-msg{flex:1;font-size:13px}.toast-undo{color:var(--accent);cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:4px;padding:4px 8px;font-size:12px;font-weight:500;display:inline-flex}.toast-undo:hover{background:var(--accent-soft)}.toast-close{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px;line-height:0}.toast-close:hover{background:var(--surface-hover);color:var(--text)}.list-grid.list-grid-with-check{grid-template-columns:24px 30px 32px 70px minmax(200px,1fr) 140px 130px 140px 130px 130px 110px}.list-grid .lg-cell.drag-handle-cell{justify-content:center;align-items:center;padding:0;display:flex}.list-grid .drag-handle{cursor:grab;color:var(--text-muted);opacity:.5;border-radius:4px;justify-content:center;align-items:center;padding:4px 2px;transition:opacity .12s,background .12s,color .12s;display:inline-flex}.list-grid .lg-row:hover .drag-handle{opacity:1}.list-grid .drag-handle:hover{background:var(--surface-hover);color:var(--text)}.list-grid .drag-handle:active{cursor:grabbing}.list-grid .lg-row.dragging{opacity:.4}.list-grid .lg-row.drop-target-on{background:var(--accent-soft);box-shadow:inset 0 0 0 2px var(--accent)}[data-theme=dark] .list-grid .lg-row.drop-target-on{background:#4f46e538}.list-grid .lg-row.drop-target-before,.list-grid .lg-row.drop-target-after{position:relative}.list-grid .lg-row.drop-target-before:before,.list-grid .lg-row.drop-target-after:after{content:"";background:var(--accent);z-index:2;pointer-events:none;height:3px;position:absolute;left:0;right:0;box-shadow:0 0 0 2px #4f46e540}.list-grid .lg-row.drop-target-before:before{top:-1px}.list-grid .lg-row.drop-target-after:after{bottom:-1px}.list-grid .lg-row.drop-invalid{opacity:.55}.list-grid .lg-cell.chk{justify-content:center;padding:4px}.list-grid .lg-cell.chk input[type=checkbox]{cursor:pointer;width:15px;height:15px}.list-grid .lg-row.selected{background:var(--accent-soft)}[data-theme=dark] .list-grid .lg-row.selected{background:#4f46e526}.bulk-bar{background:var(--text);color:#fff;box-shadow:var(--shadow-md);z-index:10;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;margin:0 12px;padding:8px 12px;display:flex;position:sticky;bottom:12px;left:12px;right:12px}[data-theme=dark] .bulk-bar{background:#4f46e5}.bulk-bar .bulk-count{margin-right:6px;font-size:13px}.bulk-bar button{color:#fff;cursor:pointer;background:#ffffff1a;border:1px solid #fff3;border-radius:6px;padding:4px 10px;font-size:12px}.bulk-bar button:hover{background:#fff3}.bulk-bar button.danger{background:var(--danger);border-color:var(--danger)}.bulk-bar button.danger:hover{background:#b91c1c}.bulk-bar button.ghost{color:#ffffffb3;background:0 0;border-color:#0000}.bulk-bar button.ghost:hover{color:#fff;background:#ffffff1a}.modal.small{flex-direction:column;gap:12px;max-width:360px;display:flex}.modal.small select,.modal.small input[type=date]{width:100%}.calendar-view{flex-direction:column;display:flex;position:absolute;inset:60px 12px 12px}.cal-toolbar{border:1px solid var(--border);background:var(--surface);border-radius:var(--radius) var(--radius) 0 0;flex-shrink:0;align-items:center;gap:8px;padding:8px 12px;display:flex}.cal-toolbar .cal-month{text-align:center;text-transform:capitalize;min-width:160px;font-size:15px;font-weight:500}.cal-toolbar label{color:var(--text-muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.cal-toolbar select{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:5px;padding:3px 6px;font-size:12px}.cal-grid{border:1px solid var(--border);border-radius:0 0 var(--radius) var(--radius);background:var(--bg);border-top:none;flex-direction:column;flex:1;display:flex;overflow:hidden}.cal-weekhead{background:var(--surface);border-bottom:1px solid var(--border);grid-template-columns:repeat(7,1fr);display:grid}.cal-weekhead>div{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;text-align:center;padding:6px 8px;font-size:11px;font-weight:500}.cal-days{background:var(--border);flex:1;grid-template-columns:repeat(7,1fr);grid-auto-rows:1fr;gap:1px;display:grid}.cal-cell{background:var(--surface);flex-direction:column;gap:3px;min-height:90px;padding:4px 6px;display:flex;overflow:hidden}.cal-cell.empty,.cal-cell.weekend{background:var(--surface-hover)}.cal-cell.today .cal-daynum{background:var(--accent);color:#fff}.cal-daynum{color:var(--text-muted);text-align:center;border-radius:10px;align-self:flex-end;min-width:22px;padding:2px 6px;font-size:12px;font-weight:500}.cal-task-list{flex-direction:column;gap:2px;display:flex;overflow:hidden}.cal-task{background:var(--accent-soft);color:var(--accent-soft-text);border:none;border-left:3px solid var(--priority-med);text-align:left;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;border-radius:3px;padding:2px 6px;font-size:11px;overflow:hidden}.cal-task:hover{filter:brightness(.95)}.cal-task.done{opacity:.5;text-decoration:line-through}.cal-task.prio-low{border-left-color:var(--priority-low)}.cal-task.prio-medium{border-left-color:var(--priority-med)}.cal-task.prio-high{border-left-color:var(--priority-high)}.cal-task.prio-urgent{border-left-color:var(--priority-urgent);color:var(--danger);background:#ef444426}.cal-more{color:var(--text-muted);cursor:help;padding:0 4px;font-size:10px}.pwa-install-prompt{z-index:50;background:var(--surface);border:1px solid var(--accent);box-shadow:var(--shadow-md);border-radius:8px;align-items:center;gap:10px;max-width:400px;padding:10px 12px;display:flex;position:fixed;bottom:16px;left:16px}.pwa-install-msg{color:var(--text);align-items:center;gap:6px;font-size:13px;display:inline-flex}.pwa-install-prompt .primary.small{padding:4px 10px!important;font-size:12px!important}.pwa-install-prompt .ghost.small{line-height:0;padding:4px 6px!important}.hub-indicator{border-radius:50%;align-self:center;width:8px;height:8px;margin-left:6px;transition:background-color .2s;display:inline-block}.hub-indicator.hub-connected{background:var(--status-done);box-shadow:0 0 6px #10b98180}.hub-indicator.hub-connecting,.hub-indicator.hub-reconnecting{background:var(--priority-med);animation:1s ease-in-out infinite hub-pulse}.hub-indicator.hub-disconnected{background:var(--text-muted)}@keyframes hub-pulse{0%,to{opacity:.4}50%{opacity:1}}.gantt-view{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-direction:column;display:flex;position:absolute;inset:60px 12px 12px;overflow:hidden}.gantt-toolbar{border-bottom:1px solid var(--border);background:var(--surface);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;padding:8px 12px;display:flex}.gantt-toolbar .gantt-range{color:var(--text);font-size:13px;font-weight:500}.gantt-toolbar label{color:var(--text-muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.gantt-toolbar select{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:5px;padding:3px 6px;font-size:12px}.gantt-body{flex:1;display:flex;overflow:hidden}.gantt-left{border-right:1px solid var(--border);flex-direction:column;flex-shrink:0;display:flex;overflow:hidden}.gantt-left-head{border-bottom:1px solid var(--border);color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;background:var(--surface);flex-shrink:0;padding:12px;font-size:11px;font-weight:500}.gantt-left-list{flex:1;overflow-y:auto}.gantt-left-row{border-bottom:1px solid var(--border);cursor:pointer;align-items:center;gap:6px;padding:0 12px;font-size:12px;display:flex;overflow:hidden}.gantt-left-row:hover{background:var(--surface-hover)}.gantt-left-row.done .task-title{color:var(--text-muted);text-decoration:line-through}.gantt-left-row .prio-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.gantt-left-row .prio-dot.low{background:var(--priority-low)}.gantt-left-row .prio-dot.medium{background:var(--priority-med)}.gantt-left-row .prio-dot.high{background:var(--priority-high)}.gantt-left-row .prio-dot.urgent{background:var(--priority-urgent)}.gantt-left-row .task-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gantt-timeline-wrap{flex:1;position:relative;overflow:auto}.gantt-scroll{min-height:100%;position:relative}.gantt-header-row{z-index:5;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;overflow:hidden}.gantt-day-head{height:100%;color:var(--text-muted);border-right:1px solid var(--border);box-sizing:border-box;justify-content:center;align-items:center;padding:0 2px;font-size:10px;display:flex;position:absolute;top:0;overflow:hidden}.gantt-day-head.weekend{background:var(--surface-hover)}.gantt-day-head.monday{border-left:2px solid var(--border);color:var(--text);font-weight:500}.gantt-grid{background:var(--surface);position:relative}.gantt-weekend-col{pointer-events:none;background:#94a3b814;position:absolute;top:0}[data-theme=dark] .gantt-weekend-col{background:#94a3b80d}.gantt-row-bg{border-bottom:1px solid var(--border);pointer-events:none;position:absolute;left:0}.gantt-row-bg:nth-child(2n){background:#94a3b808}.gantt-today-line{background:var(--danger);z-index:4;pointer-events:none;width:2px;position:absolute;top:0}.gantt-milestone{z-index:3;pointer-events:none;border-left:2px dashed;align-items:flex-start;gap:4px;width:0;padding-top:4px;padding-left:4px;display:flex;position:absolute;top:0}.gantt-milestone .ms-name{white-space:nowrap;background:var(--surface);border:1px solid;border-radius:3px;margin-top:-3px;padding:1px 4px;font-size:10px;font-weight:500}.gantt-milestone.done{opacity:.45}.gantt-bar{cursor:pointer;color:#fff;height:20px;box-shadow:var(--shadow-sm);z-index:2;border-radius:4px;align-items:center;padding:0 6px;font-size:11px;transition:filter .1s;display:flex;position:absolute;overflow:hidden}.gantt-bar:hover{filter:brightness(1.15)}.gantt-bar .bar-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gantt-bar.prio-low{background:var(--priority-low);color:#111}.gantt-bar.prio-medium{background:var(--priority-med);color:#111}.gantt-bar.prio-high{background:var(--priority-high)}.gantt-bar.prio-urgent{background:var(--priority-urgent)}.gantt-bar.done{opacity:.5;text-decoration:line-through}.gantt-bar.overdue{border:2px solid var(--danger)}.gantt-diamond{cursor:pointer;z-index:2;width:12px;height:12px;box-shadow:var(--shadow-sm);transition:filter .1s;position:absolute;transform:rotate(45deg)}.gantt-diamond:hover{filter:brightness(1.15)}.gantt-diamond.prio-low{background:var(--priority-low)}.gantt-diamond.prio-medium{background:var(--priority-med)}.gantt-diamond.prio-high{background:var(--priority-high)}.gantt-diamond.prio-urgent{background:var(--priority-urgent)}.gantt-diamond.done{opacity:.5}.gantt-diamond.overdue{outline:2px solid var(--danger)}.gantt-toolbar .view-switcher button{padding:3px 8px!important}.modal.move-modal{flex-direction:column;gap:10px;width:92vw;max-width:620px;max-height:80vh;display:flex}.move-search{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);border-radius:6px;padding:6px 10px;font-size:13px}.move-tree{border:1px solid var(--border);border-radius:8px;flex:1;min-height:200px;max-height:400px;padding:4px;overflow-y:auto}.move-node{cursor:pointer;border-radius:4px;align-items:center;gap:4px;padding:5px 8px;font-size:13px;display:flex}.move-node.depth-0{padding-left:6px}.move-node.depth-1{padding-left:22px}.move-node.depth-2{padding-left:38px}.move-node.depth-3{padding-left:54px}.move-node.depth-4{padding-left:70px}.move-node.depth-5{padding-left:86px}.move-node.depth-6{padding-left:102px}.move-node:hover:not(.blocked){background:var(--surface-hover)}.move-node.selected{background:var(--accent-soft);color:var(--accent-soft-text);font-weight:500}.move-node.blocked{color:var(--text-muted);cursor:not-allowed;opacity:.55}.move-node .tree-chev{color:var(--text-muted);cursor:pointer;background:0 0;border:none;flex-shrink:0;padding:2px;line-height:0}.move-node .tree-chev:disabled{opacity:0;cursor:default}.move-node .chev-placeholder{width:12px;display:inline-block}.move-node .move-title{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.move-node .move-title mark{color:inherit;background:#f59e0b59;border-radius:2px;padding:0 2px}.move-node .move-icon{color:var(--text-muted);line-height:0}.move-node .move-badge{text-transform:uppercase;letter-spacing:.3px;background:var(--accent-soft);color:var(--accent-soft-text);border-radius:3px;padding:1px 6px;font-size:10px;font-weight:500}.move-node .move-badge.blocked{background:var(--surface-hover);color:var(--text-muted)}.notif-bell-wrap{display:inline-flex;position:relative}.notif-bell{position:relative;padding:4px 8px!important}.notif-badge{background:var(--danger);color:#fff;text-align:center;border:2px solid var(--surface);border-radius:10px;min-width:16px;padding:1px 5px;font-size:10px;font-weight:600;line-height:1.2;position:absolute;top:-3px;right:-3px}.notif-popover{background:var(--surface);border:1px solid var(--border);width:380px;max-width:92vw;box-shadow:var(--shadow-md);z-index:50;border-radius:10px;flex-direction:column;max-height:480px;display:flex;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden}.notif-head{border-bottom:1px solid var(--border);align-items:center;gap:6px;padding:10px 14px;display:flex}.notif-head .ghost.small{align-items:center;gap:4px;display:inline-flex;padding:3px 8px!important;font-size:11px!important}.notif-body{flex:1;padding:4px 0;overflow-y:auto}.notif-empty{text-align:center;color:var(--text-muted);padding:24px 14px;font-size:13px;font-style:italic}.notif-item{cursor:pointer;border-left:3px solid #0000;align-items:flex-start;gap:10px;padding:10px 14px;display:flex}.notif-item:hover{background:var(--surface-hover)}.notif-item.unread{background:var(--accent-soft);border-left-color:var(--accent)}.notif-item.unread:hover{background:var(--accent-soft)}[data-theme=dark] .notif-item.unread{background:#4f46e526}.notif-icon{color:var(--text-muted);flex-shrink:0;margin-top:2px}.notif-item.unread .notif-icon{color:var(--accent)}.notif-item-body{flex:1;min-width:0}.notif-msg{color:var(--text);overflow-wrap:break-word;font-size:13px}.notif-time{color:var(--text-muted);margin-top:2px;font-size:11px}.notif-dot{background:var(--accent);border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:6px}.tag-chip{white-space:nowrap;border-radius:10px;align-items:center;gap:4px;padding:2px 8px;font-size:11px;font-weight:500;line-height:1.4;display:inline-flex}.tag-chip-sm{padding:1px 6px;font-size:10px}.tag-chip .tag-chip-name{text-overflow:ellipsis;max-width:160px;overflow:hidden}.tag-chip .tag-chip-x{cursor:pointer;opacity:.7;background:0 0;border:none;padding:0;font-size:13px;line-height:1}.tag-chip .tag-chip-x:hover{opacity:1}.modal.tag-manager{flex-direction:column;gap:12px;max-width:540px;display:flex}.color-picker{grid-template-columns:repeat(9,1fr);gap:6px;display:grid}.color-swatch{cursor:pointer;border:2px solid #0000;border-radius:50%;width:26px;height:26px;padding:0;transition:border-color .1s}.color-swatch:hover{border-color:var(--border)}.color-swatch.active{border-color:var(--text)}.tag-list{flex-direction:column;gap:6px;display:flex}.tag-row{border-radius:6px;align-items:center;gap:8px;padding:6px 8px;display:flex;position:relative}.tag-row:hover{background:var(--surface-hover)}.tag-color-btn{border:1px solid var(--border);cursor:pointer;border-radius:6px;flex-shrink:0;width:22px;height:22px;padding:0}.tag-name-btn{text-align:left;cursor:pointer;color:var(--text);background:0 0;border:none;flex:1;padding:4px;font-size:13px}.tag-name-btn:hover{color:var(--accent)}.tag-name-input{border:1px solid var(--accent);border-radius:4px;flex:1;padding:3px 6px;font-size:13px}.ghost.icon{color:var(--text-muted);padding:4px!important}.ghost.icon:hover{color:var(--danger)}.color-picker-popup{z-index:10;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-md);border-radius:8px;grid-template-columns:repeat(9,1fr);gap:6px;padding:8px;display:grid;position:absolute;top:100%;left:8px}.task-node .node-tags{align-items:center;gap:3px;margin-top:4px;display:flex}.task-node .node-tag-dot{border-radius:2px;width:8px;height:8px}.task-node .node-tag-more{color:var(--text-muted);margin-left:2px;font-size:9px}.kanban-card .card-tags{flex-wrap:wrap;gap:3px;display:flex}.list-grid .title-cell>span>.tag-chip{margin-left:6px}.search-backdrop{background:var(--backdrop);z-index:40;-webkit-backdrop-filter:blur(3px);justify-content:center;align-items:flex-start;padding-top:12vh;display:flex;position:fixed;inset:0}.search-overlay{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);width:min(720px,92vw);box-shadow:var(--shadow-lg);flex-direction:column;max-height:72vh;display:flex;overflow:hidden}.search-input-row{border-bottom:1px solid var(--border);align-items:center;gap:14px;padding:20px 24px;display:flex}.search-icon{color:var(--text-muted);flex-shrink:0}.search-input{color:var(--text);background:0 0;border:none;flex:1;padding:6px 4px;font-size:16px}.search-input:focus{border-color:#0000;outline:none}.search-input::placeholder{color:var(--text-muted)}.search-input-row:focus-within{background:var(--surface-hover)}.search-close{color:var(--text-muted);cursor:pointer;border-radius:var(--radius-sm);background:0 0;border:none;padding:6px;line-height:0}.search-close:hover{background:var(--surface-hover);color:var(--text)}.search-hint{color:var(--text-muted);background:var(--input-bg);border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:12px 24px;font-size:12px;display:flex}.kbd-hint{font-family:ui-monospace,monospace}.search-results{flex:1;padding:10px 12px 14px;overflow-y:auto}.search-group+.search-group{border-top:1px solid var(--border);margin-top:10px;padding-top:10px}.search-group-title{text-transform:uppercase;letter-spacing:.5px;color:var(--text-muted);align-items:center;gap:8px;padding:10px 12px 6px;font-size:11px;font-weight:600;display:inline-flex}.search-hit{border-radius:var(--radius-sm);cursor:pointer;color:var(--text);flex-direction:column;gap:4px;padding:12px 14px;display:flex}.search-hit:hover{background:var(--surface-hover)}.search-hit.selected{background:var(--accent-soft)}.search-hit.selected .hit-title{color:var(--accent-soft-text)}.search-hit.done .hit-title{color:var(--text-muted);text-decoration:line-through}.search-hit .hit-title{overflow-wrap:break-word;font-size:13px;font-weight:500}.search-hit .hit-sub{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:10px;font-size:11px;display:flex}.search-hit .proj-tag{background:var(--surface-hover);color:var(--text);border-radius:3px;padding:1px 6px}.search-hit.selected .proj-tag{background:var(--surface)}.search-hit mark{color:inherit;background:#f59e0b47;border-radius:2px;padding:0 2px;font-weight:500}.search-hit .hit-context{text-overflow:ellipsis;overflow:hidden}.dashboard{max-width:1200px;margin:0 auto;padding:0 16px 40px}.dash-header h2{margin:0;font-weight:600}.dash-grid{grid-template-columns:1fr 280px;align-items:start;gap:24px;display:grid}@media (width<=900px){.dash-grid{grid-template-columns:1fr}}.dash-main{min-width:0}.dash-side{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:14px 16px;position:sticky;top:76px}.dash-project{color:var(--text);border-radius:6px;justify-content:space-between;align-items:center;padding:6px 8px;font-size:13px;text-decoration:none;display:flex}.dash-project:hover{background:var(--surface-hover)}.dash-project .dp-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dash-project .dp-count{background:var(--surface-hover);color:var(--text-muted);text-align:center;border-radius:10px;min-width:22px;padding:1px 8px;font-size:11px;font-weight:500}.dash-project .dp-count.has{background:var(--accent-soft);color:var(--accent-soft-text)}.dash-section{background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden}.dash-section>summary{cursor:pointer;border-bottom:1px solid #0000;align-items:center;gap:8px;padding:12px 16px;font-weight:500;list-style:none;display:flex}.dash-section>summary::-webkit-details-marker{display:none}.dash-section[open]>summary{border-bottom-color:var(--border)}.dash-section .section-icon{display:inline-flex}.dash-section .section-title{flex:1}.dash-section .section-count{background:var(--surface-hover);color:var(--text-muted);border-radius:12px;padding:1px 10px;font-size:12px}.dash-section.tone-danger>summary{color:var(--danger)}.dash-section.tone-danger .section-count{color:var(--danger);background:#dc26261f}.dash-section.tone-today>summary{color:var(--accent)}.dash-section.tone-today .section-count{background:var(--accent-soft);color:var(--accent-soft-text)}.dash-section.tone-done>summary{color:var(--status-done)}.dash-section.tone-done .section-count{background:var(--badge-done-bg);color:var(--badge-done-text)}.dash-section .section-body{flex-direction:column;gap:2px;padding:4px;display:flex}.dash-section .empty-inline{padding:12px}.dash-task{color:var(--text);border-radius:6px;align-items:flex-start;gap:10px;padding:8px 12px;text-decoration:none;display:flex}.dash-task:hover{background:var(--surface-hover)}.dash-task.done .dash-task-title{color:var(--text-muted);text-decoration:line-through}.dash-task .prio-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:8px}.dash-task .prio-dot.low{background:var(--priority-low)}.dash-task .prio-dot.medium{background:var(--priority-med)}.dash-task .prio-dot.high{background:var(--priority-high)}.dash-task .prio-dot.urgent{background:var(--priority-urgent)}.dash-task-body{flex:1;min-width:0}.dash-task-title{overflow-wrap:break-word;font-size:13px;font-weight:500}.dash-task-meta{color:var(--text-muted);flex-wrap:wrap;gap:10px;margin-top:3px;font-size:11px;display:flex}.dash-task-meta .proj-tag{background:var(--surface-hover);color:var(--text);border-radius:3px;padding:1px 6px}.dash-task-meta .status-mini{border-radius:3px;padding:1px 6px;font-weight:500}.dash-task-meta .status-mini.status-todo{background:var(--badge-todo-bg);color:var(--badge-todo-text)}.dash-task-meta .status-mini.status-progress{background:var(--badge-progress-bg);color:var(--badge-progress-text)}.dash-task-meta .status-mini.status-blocked{background:var(--badge-blocked-bg);color:var(--badge-blocked-text)}.dash-task-meta .status-mini.status-done{background:var(--badge-done-bg);color:var(--badge-done-text)}.dash-task-meta .meta-mini{align-items:center;gap:3px;display:inline-flex}.dash-task-meta .meta-mini.all-done{color:var(--status-done)}.card-action-btn{background:var(--surface);border:1px solid var(--border);color:var(--text-muted);cursor:pointer;opacity:0;z-index:2;border-radius:6px;place-items:center;width:26px;height:26px;transition:opacity .1s;display:grid;position:absolute;top:8px;right:8px}.project-card{position:relative}.project-card:hover .card-action-btn{opacity:1}.card-action-btn:hover{color:var(--accent);border-color:var(--accent)}.create-mode-tabs{background:var(--surface-hover);border-radius:8px;gap:6px;padding:2px;display:flex}.create-mode-tabs button{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;flex:1;justify-content:center;align-items:center;gap:6px;padding:8px 10px;font-size:13px;display:inline-flex}.create-mode-tabs button:hover:not(:disabled){color:var(--text)}.create-mode-tabs button.active{background:var(--surface);color:var(--accent);box-shadow:var(--shadow-sm);font-weight:500}.create-mode-tabs button:disabled{opacity:.4;cursor:not-allowed}.modal.calendar-feed-modal{flex-direction:column;width:92vw;max-width:560px;max-height:90vh;padding:0;display:flex}.cf-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.cf-header h2{align-items:center;gap:8px;margin:0;font-size:16px;display:inline-flex}.cf-body{flex-direction:column;gap:14px;padding:16px 20px 20px;display:flex;overflow-y:auto}.cf-body p{margin:0;line-height:1.5}.cf-url-label{flex-direction:column;gap:6px;display:flex}.cf-url-label>span{color:var(--text-muted);font-size:12px;font-weight:500}.cf-url-row{gap:6px;display:flex}.cf-url-row input{border:1px solid var(--border);background:var(--input-bg,var(--surface));color:var(--text);border-radius:6px;flex:1;min-width:0;padding:8px 10px;font-family:ui-monospace,Consolas,monospace;font-size:12px}.cf-url-row button{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.cf-instructions{background:var(--surface-hover);border-radius:8px;padding:8px 12px}.cf-instructions summary{cursor:pointer;padding:4px 0;font-size:13px;font-weight:500}.cf-instructions ol{margin:8px 0 4px 20px;padding:0;font-size:13px;line-height:1.6}.cf-instructions ol li{margin-bottom:4px}.cf-warning{background:#f59e0b14;border-left:3px solid #f59e0b;border-radius:4px;padding:8px 12px}.cf-actions{border-top:1px solid var(--border);justify-content:flex-end;gap:8px;padding-top:8px;display:flex}.cf-actions button{align-items:center;gap:6px;display:inline-flex}.cf-actions button.danger{color:var(--danger)}.cf-actions button.danger:hover{background:#dc262614}.cf-disabled p{margin-bottom:12px}.cf-disabled button{align-items:center;gap:8px;display:inline-flex}.hamburger-btn{display:none}.fab-add-btn{background:var(--accent);color:#fff;width:56px;height:56px;box-shadow:var(--shadow-lg);cursor:pointer;z-index:25;border:none;border-radius:50%;place-items:center;transition:transform .12s,box-shadow .12s;display:none;position:fixed;bottom:24px;right:20px}.fab-add-btn:hover{transform:scale(1.05)}.fab-add-btn:active{transform:scale(.97)}@supports (padding:max(0px)){.fab-add-btn{bottom:max(24px, env(safe-area-inset-bottom))}}.mobile-menu-backdrop{background:var(--backdrop);z-index:40;animation:.12s fadeIn;position:fixed;inset:0}.mobile-menu-panel{background:var(--surface);border-right:1px solid var(--border);width:82vw;max-width:320px;height:100vh;box-shadow:var(--shadow-lg);z-index:41;flex-direction:column;gap:4px;padding:60px 12px 24px;animation:.18s slideInLeft;display:flex;position:fixed;top:0;left:0;overflow-y:auto}@keyframes slideInLeft{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.mobile-nav{flex-direction:column;gap:2px;display:flex}.mobile-nav a{color:var(--text);border-radius:8px;align-items:center;min-height:44px;padding:12px 14px;font-size:15px;font-weight:500;text-decoration:none;display:flex}.mobile-nav a:hover{background:var(--surface-hover)}.mobile-nav a.active{background:var(--accent-soft);color:var(--accent-soft-text)}.mobile-menu-divider{background:var(--border);height:1px;margin:8px 0}.mobile-menu-user{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;padding:6px 14px;font-size:12px}.mobile-menu-item{color:var(--text);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;min-height:44px;padding:12px 14px;font-size:14px;display:flex}.mobile-menu-item:hover{background:var(--surface-hover)}.mobile-menu-item:disabled{opacity:.5;cursor:not-allowed}.mobile-menu-item.danger{color:var(--danger)}.mobile-menu-item.danger:hover{background:#dc262614}.quick-add-modal{flex-direction:column;width:92vw;max-width:480px;max-height:90vh;padding:0;display:flex}.quick-add-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.quick-add-header h2{margin:0;font-size:17px}.quick-add-form{flex-direction:column;gap:14px;padding:16px 20px 20px;display:flex;overflow-y:auto}.quick-add-field{flex-direction:column;gap:6px;display:flex}.quick-add-field>span{color:var(--text-muted);font-size:12px;font-weight:500}.quick-add-field input,.quick-add-field select{border:1px solid var(--border);background:var(--input-bg,var(--surface));width:100%;color:var(--text);box-sizing:border-box;border-radius:8px;min-height:44px;padding:12px;font-size:16px}.quick-add-field input:focus,.quick-add-field select:focus{border-color:var(--accent);outline:none}.quick-add-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.quick-add-check{color:var(--text-muted);cursor:pointer;align-items:center;gap:8px;min-height:32px;font-size:13px;display:flex}.quick-add-check input[type=checkbox]{cursor:pointer;width:18px;height:18px}.quick-add-footer{border-top:1px solid var(--border);justify-content:flex-end;gap:8px;margin-top:4px;padding:12px 0 0;display:flex}.quick-add-footer button{min-height:44px;padding:10px 18px;font-size:14px}@media (width<=768px){.hamburger-btn{display:inline-flex}.appshell>header{gap:8px;padding:8px 12px}.appshell>header .brand{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.desktop-nav,.header-desktop-only{display:none}.appshell>main{padding:12px}.dash-grid{grid-template-columns:1fr;gap:16px}.dash-side{position:static;top:auto}.dash-section>summary{min-height:48px;padding:14px;font-size:14px}.dash-task{gap:12px;min-height:48px;padding:12px}.dash-task-title{font-size:14px}.drawer{border-left:none;width:100vw;max-width:100vw}.drawer-header,.drawer-body,.drawer-footer{padding-left:14px;padding-right:14px}.modal.task-detail-modal{width:96vw;max-height:92vh}.modal{width:94vw;max-height:92vh}.quick-add-backdrop{align-items:end}.modal.quick-add-modal{border-radius:16px 16px 0 0;width:100vw;max-width:100vw;max-height:88vh}.quick-add-form{padding-bottom:max(20px, env(safe-area-inset-bottom))}.projects-grid{grid-template-columns:1fr}.fab-add-btn{display:grid;bottom:20px;right:16px}@supports (padding:max(0px)){.fab-add-btn{bottom:max(20px, env(safe-area-inset-bottom))}}}@media (width<=380px){.appshell>header .brand{max-width:140px}.fab-add-btn{width:52px;height:52px}}.rte-wrapper{border:1px solid var(--input-border);background:var(--input-bg);border-radius:6px;flex-direction:column;display:flex}.rte-toolbar{border-bottom:1px solid var(--input-border);flex-wrap:wrap;gap:2px;padding:4px;display:flex}.rte-toolbar button{cursor:pointer;color:inherit;background:0 0;border:1px solid #0000;border-radius:4px;align-items:center;padding:4px 6px;line-height:1;display:inline-flex}.rte-toolbar button:hover{background:#7f7f7f26}.rte-toolbar button.active{background:#3b82f633;border-color:#3b82f666}.rte-content{min-height:100px;max-height:500px;font:inherit;outline:none;padding:8px 10px;line-height:1.5;overflow-y:auto}.rte-content:empty:before,.rte-content p.is-empty:first-child:before{content:attr(data-placeholder);color:#7f7f7f99;pointer-events:none;float:left;height:0}.rte-content p{margin:0 0 8px}.rte-content p:last-child{margin-bottom:0}.rte-content h1,.rte-content h2,.rte-content h3{margin:12px 0 6px;font-weight:600}.rte-content h2{font-size:1.15em}.rte-content h3{font-size:1.05em}.rte-content ul,.rte-content ol{margin:4px 0 8px;padding-left:22px}.rte-content li{margin:2px 0}.rte-content strong{font-weight:600}.rte-content code{background:#7f7f7f26;border-radius:3px;padding:1px 4px;font-size:.92em}.rte-content pre{background:#7f7f7f1f;border-radius:4px;padding:8px 10px;overflow-x:auto}.rte-content table{border-collapse:collapse;table-layout:fixed;width:100%;margin:8px 0}.rte-content th,.rte-content td{border:1px solid var(--input-border);vertical-align:top;padding:4px 8px;position:relative}.rte-content th{text-align:left;background:#7f7f7f1f;font-weight:600}.rte-content .selectedCell{background:#3b82f626}.rte-content .column-resize-handle{cursor:col-resize;background:#3b82f680;width:4px;position:absolute;top:0;bottom:0;right:-2px}.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.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__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray: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.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.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-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.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:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.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-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.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{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.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:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}
