@import "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap";:root{--font-sans:"Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono:"JetBrains Mono", monospace;--bg-app:#1a1b1e;--bg-panel:#101114;--bg-card:#17181c;--bg-card-hover:#1f2026;--border-color:#272830;--border-focus:#af52de;--text-primary:#f8fafc;--text-secondary:#94a3b8;--text-muted:#475569;--color-purple:#af52de;--q-urgent-important:#ff3b30;--q-urgent-important-rgb:255, 59, 48;--q-important-not-urgent:#007af5;--q-important-not-urgent-rgb:0, 122, 245;--q-urgent-not-important:#34c759;--q-urgent-not-important-rgb:52, 199, 89;--q-not-urgent-not-important:#af52de;--q-not-urgent-not-important-rgb:175, 82, 222;--radius-lg:16px;--radius-md:10px;--radius-sm:6px;--q-border-opacity:.18;--q-bg-opacity:.05}.light-theme{--bg-app:#f8fafc;--bg-panel:#e2e8f0;--bg-card:#fff;--bg-card-hover:#cbd5e1;--border-color:#94a3b8;--border-focus:#af52de;--text-primary:#0f172a;--text-secondary:#334155;--text-muted:#475569;--color-purple:#8b5cf6;--q-urgent-important:#c0100a;--q-urgent-important-rgb:192, 16, 10;--q-important-not-urgent:#0040c0;--q-important-not-urgent-rgb:0, 64, 192;--q-urgent-not-important:#0c7a31;--q-urgent-not-important-rgb:12, 122, 49;--q-not-urgent-not-important:#5b21b6;--q-not-urgent-not-important-rgb:91, 33, 182;--q-border-opacity:.38;--q-bg-opacity:.09}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-sans);background-color:var(--bg-app);color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:100vh;max-height:100vh;transition:background-color .2s,color .2s;overflow:hidden}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-track{background:var(--bg-app)}::-webkit-scrollbar-thumb{background:#2b2b33}.light-theme ::-webkit-scrollbar-thumb{background:#cbd5e1}::-webkit-scrollbar-thumb:hover{background:var(--color-purple)}#root{flex-direction:column;width:100%;height:100vh;max-height:100vh;display:flex;overflow:hidden}.app-container{flex-direction:column;gap:.75rem;width:100%;max-width:100%;height:100vh;max-height:100vh;margin:0 auto;padding:.75rem 1rem;display:flex;overflow:hidden}.app-header{z-index:10;background:linear-gradient(#1a1b1ef2 0%,#1a1b1e00 100%);flex-flow:row;justify-content:space-between;align-items:center;gap:1.5rem;padding-bottom:.5rem;display:flex}.light-theme .app-header{background:linear-gradient(#f8fafcf2 0%,#f8fafc00 100%)}.header-logo-theme-wrapper{align-items:center;gap:1rem;display:flex}.theme-toggle-btn{border:1px solid var(--border-color);color:var(--text-secondary);cursor:pointer;border-radius:var(--radius-sm);background:0 0;justify-content:center;align-items:center;padding:.35rem;transition:all .15s;display:flex}.theme-toggle-btn:hover{color:var(--text-primary);border-color:var(--color-purple);background:#8b5cf60d}.app-logo{letter-spacing:.05em;color:var(--text-primary);text-transform:uppercase;font-size:1.25rem;font-weight:700;font-family:var(--font-mono)}.app-subtitle{display:none}.input-container{flex-grow:1;max-width:550px}.input-wrapper{background:var(--bg-panel);border:1px solid var(--border-color);border-radius:var(--radius-md);align-items:center;padding:.25rem .25rem .25rem .75rem;display:flex}.input-wrapper:focus-within{border-color:var(--border-focus)}.task-input{color:var(--text-primary);font-family:var(--font-sans);background:0 0;border:none;outline:none;flex-grow:1;font-size:.9rem}.task-input::placeholder{color:var(--text-muted)}.add-button{background:var(--color-purple);color:#fff;font-family:var(--font-mono);text-transform:uppercase;cursor:pointer;border-radius:var(--radius-sm);border:none;align-items:center;gap:.35rem;padding:.4rem .85rem;font-size:.8rem;font-weight:600;display:flex}.add-button:hover{background:#7c3aed}.matrix-workspace{flex-grow:1;grid-template-columns:280px 1fr;align-items:stretch;gap:1rem;height:calc(100% - 60px);min-height:0;display:grid}@media (width<=1024px){.matrix-workspace{grid-template-columns:1fr;height:auto;overflow-y:auto}}.pool-panel{background:var(--bg-panel);border:1px solid var(--border-color);border-radius:var(--radius-lg);flex-direction:column;gap:.75rem;height:100%;min-height:0;max-height:none;padding:.75rem;display:flex}@media (width<=1024px){.pool-panel{min-height:auto;max-height:250px}}.shortcut-badge{font-family:var(--font-mono);color:var(--text-muted);border:1px solid var(--border-color);-webkit-user-select:none;user-select:none;border-radius:var(--radius-sm);background:#ffffff0a;margin-right:.5rem;padding:.15rem .35rem;font-size:.65rem}.light-theme .shortcut-badge{background:#00000008}.pool-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;padding-bottom:.5rem;display:flex}.panel-title{text-transform:uppercase;color:var(--text-primary);font-size:.95rem;font-weight:700;font-family:var(--font-mono);align-items:center;gap:.4rem;display:flex}.pool-count{color:var(--text-secondary);border:1px solid var(--border-color);font-size:.75rem;font-family:var(--font-mono);border-radius:var(--radius-sm);background:#ffffff0a;padding:.05rem .4rem}.task-list-scrollable{flex-direction:column;flex-grow:1;gap:.4rem;padding-right:.15rem;display:flex;overflow-y:auto}.matrix-graph-wrapper{background:var(--bg-panel);border:1px solid var(--border-color);border-radius:var(--radius-lg);flex-direction:column;padding:1rem 1.5rem;display:flex;position:relative}.graph-grid-mesh{pointer-events:none;background-image:linear-gradient(90deg,#ffffff03 1px,#0000 1px),linear-gradient(#ffffff03 1px,#0000 1px);background-size:20px 20px;position:absolute;inset:0}.graph-axis-x{pointer-events:none;z-index:1;background:#ffffff26;height:1px;position:absolute;top:50%;left:1.5rem;right:1.5rem}.graph-axis-y{pointer-events:none;z-index:1;background:#ffffff26;width:1px;position:absolute;top:1rem;bottom:1rem;left:50%}.graph-axis-center{border:1px solid var(--color-purple);z-index:10;pointer-events:none;background:#fff;width:6px;height:6px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.light-theme .graph-grid-mesh{background-image:linear-gradient(90deg,#00000005 1px,#0000 1px),linear-gradient(#00000005 1px,#0000 1px)}.light-theme .graph-axis-x,.light-theme .graph-axis-y{background:#00000026}.light-theme .graph-axis-center{border-color:var(--color-purple);background:#fff}.graph-label{letter-spacing:.08em;color:var(--text-muted);background:var(--bg-app);pointer-events:none;-webkit-user-select:none;user-select:none;z-index:10;font-size:.62rem;font-weight:700;font-family:var(--font-mono);white-space:nowrap;padding:.15rem .5rem;transition:background-color .2s;position:absolute}.graph-label-top{top:0;left:50%;transform:translate(-50%,-50%)}.graph-label-bottom{bottom:0;left:50%;transform:translate(-50%,50%)}.graph-label-left{top:50%;left:0;transform:translate(-50%,-50%)rotate(-90deg)}.graph-label-right{top:50%;right:0;transform:translate(50%,-50%)rotate(90deg)}.matrix-grid{z-index:2;grid-template-rows:repeat(2,1fr);grid-template-columns:repeat(2,1fr);gap:1rem;min-height:calc(100vh - 120px);display:grid;position:relative}@media (width<=768px){.matrix-graph-wrapper{padding:.5rem}.graph-axis-x,.graph-axis-y,.graph-axis-center,.graph-label,.graph-grid-mesh{display:none}.matrix-grid{grid-template-rows:auto;grid-template-columns:1fr;gap:.75rem;min-height:auto}}.matrix-quadrant{background:linear-gradient(rgba(var(--q-color-rgb), var(--q-bg-opacity)), rgba(var(--q-color-rgb), var(--q-bg-opacity))), var(--bg-card);border:1px solid rgba(var(--q-color-rgb), var(--q-border-opacity));border-radius:var(--radius-lg);flex-direction:column;gap:.75rem;padding:.75rem;transition:background-color .2s,border-color .2s;display:flex;position:relative}.matrix-quadrant:hover{background:linear-gradient(rgba(var(--q-color-rgb), calc(var(--q-bg-opacity) + .04)), rgba(var(--q-color-rgb), calc(var(--q-bg-opacity) + .04))), var(--bg-card);border-color:rgba(var(--q-color-rgb), calc(var(--q-border-opacity) + .22))}.matrix-quadrant.drag-over{background:linear-gradient(rgba(var(--q-color-rgb), calc(var(--q-bg-opacity) + .09)), rgba(var(--q-color-rgb), calc(var(--q-bg-opacity) + .09))), var(--bg-card);border-color:var(--q-color)}.quadrant-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;padding-bottom:.35rem;display:flex}.quadrant-info{flex-direction:row;align-items:center;gap:.5rem;display:flex}.quadrant-title{text-transform:uppercase;color:var(--q-color);font-size:.88rem;font-weight:700;font-family:var(--font-mono);align-items:center;gap:.35rem;display:flex}.quadrant-title svg{width:14px;height:14px}.quadrant-subtitle{color:var(--text-muted);font-size:.7rem;font-weight:400}.task-item{background:var(--bg-card);border:1px solid var(--border-color);cursor:grab;-webkit-user-select:none;user-select:none;border-radius:9999px;justify-content:space-between;align-items:center;gap:.6rem;padding:.45rem 1rem;transition:background-color .2s cubic-bezier(.4,0,.2,1),border-color .2s cubic-bezier(.4,0,.2,1),box-shadow .2s cubic-bezier(.4,0,.2,1);display:flex;box-shadow:0 1px 3px #0000000d}.task-item:active{cursor:grabbing}.task-item:hover{background:var(--bg-card-hover);border-color:#af52de59;box-shadow:0 4px 12px #0000001f,0 0 1px #af52de33}.task-item.dragging{opacity:.4;border-style:dashed;border-color:var(--color-purple)}.task-content-left{flex-grow:1;align-items:center;gap:.6rem;min-width:0;display:flex}.drag-handle{color:var(--text-muted);cursor:grab;flex-shrink:0;justify-content:center;align-items:center;margin-left:-.35rem;padding:.15rem;transition:color .15s;display:flex}.drag-handle:hover{color:var(--text-secondary)}.drag-handle:active{cursor:grabbing}.task-checkbox-btn{border:1.5px solid var(--text-muted);cursor:pointer;color:#0000;background:0 0;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;transition:all .15s cubic-bezier(.4,0,.2,1);display:flex;border-radius:50%!important}.task-checkbox-btn:hover{border-color:var(--color-purple);background:#af52de14}.task-checkbox-btn.completed{background:var(--color-purple);border-color:var(--color-purple);color:#fff}.task-checkbox-btn.completed svg{width:11px;height:11px}.task-text{color:var(--text-primary);word-break:break-word;padding-right:.5rem;font-size:.88rem;font-weight:500;line-height:1.3}.task-text.completed{color:var(--text-muted);opacity:.75;text-decoration:line-through}.editable-task-text{cursor:text;align-items:center;transition:color .15s;display:inline-flex;position:relative}.editable-task-text:hover{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;-webkit-text-decoration-color:var(--text-muted);text-decoration-color:var(--text-muted);color:var(--text-primary)}.task-edit-input{background:var(--bg-panel);border:1.5px solid var(--border-focus);color:var(--text-primary);font-family:var(--font-sans);outline:none;width:100%;padding:.15rem .65rem;font-size:.88rem;line-height:1.3;border-radius:9999px!important}.delete-btn{color:var(--text-muted);cursor:pointer;opacity:0;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;margin-right:-.35rem;padding:.2rem;transition:opacity .15s,color .15s;display:flex}.task-item:hover .delete-btn{opacity:1}.delete-btn:hover{color:#ef4444}.delete-btn svg{width:13px;height:13px}.empty-state{color:var(--text-muted);text-align:center;flex-direction:row;flex-grow:1;justify-content:center;align-items:center;gap:.4rem;padding:.75rem;display:flex}.empty-state-icon{opacity:.3;width:14px!important;height:14px!important}.empty-state-text{font-size:.75rem}.waving-dots-container{pointer-events:none;z-index:-1;width:100vw;height:100vh;position:fixed;top:0;left:0;overflow:hidden}.waving-dot{background:var(--text-muted);opacity:.15;filter:blur(.5px);border-radius:50%;width:6px;height:6px;position:absolute;box-shadow:0 0 10px #af52de4d,0 0 20px #af52de1a}.waving-dot:first-child{animation:25s ease-in-out infinite alternate wave-glide-1;top:15%;left:10%}.waving-dot:nth-child(2){width:8px;height:8px;animation:30s ease-in-out -5s infinite alternate wave-glide-2;top:40%;left:30%}.waving-dot:nth-child(3){animation:28s ease-in-out -2s infinite alternate wave-glide-3;top:75%;left:15%}.waving-dot:nth-child(4){width:5px;height:5px;animation:35s ease-in-out infinite alternate wave-glide-4;top:20%;left:75%}.waving-dot:nth-child(5){animation:32s ease-in-out -10s infinite alternate wave-glide-1;top:60%;left:85%}.waving-dot:nth-child(6){width:7px;height:7px;animation:27s ease-in-out -7s infinite alternate wave-glide-3;top:85%;left:60%}@keyframes wave-glide-1{0%{transform:translate(0)}to{transform:translate(40px,-60px)}}@keyframes wave-glide-2{0%{transform:translate(0)}to{transform:translate(-50px,-30px)}}@keyframes wave-glide-3{0%{transform:translate(0)}to{transform:translate(30px,50px)}}@keyframes wave-glide-4{0%{transform:translate(0)}to{transform:translate(-30px,40px)}}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background:#0009;justify-content:center;align-items:center;animation:.2s ease-out forwards fadeIn;display:flex;position:fixed;inset:0}.modal-container{background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-lg);width:90%;max-width:400px;padding:1.5rem;animation:.2s cubic-bezier(.34,1.56,.64,1) forwards scaleUp;transform:scale(.95);box-shadow:0 20px 25px -5px #0000004d,0 10px 10px -5px #0003}.modal-title{text-transform:uppercase;color:var(--text-primary);font-size:1.1rem;font-weight:700;font-family:var(--font-mono);margin-bottom:.75rem}.modal-message{color:var(--text-secondary);margin-bottom:1.5rem;font-size:.9rem;line-height:1.5}.modal-actions{justify-content:flex-end;gap:.75rem;display:flex}.modal-btn{font-family:var(--font-mono);text-transform:uppercase;cursor:pointer;border-radius:var(--radius-sm);border:1px solid #0000;padding:.5rem 1rem;font-size:.8rem;font-weight:600;transition:all .15s}.modal-btn-cancel{border-color:var(--border-color);color:var(--text-secondary);background:0 0}.modal-btn-cancel:hover{background:var(--bg-card-hover);color:var(--text-primary)}.modal-btn-confirm{color:#fff;background:#ef4444}.modal-btn-confirm:hover{background:#dc2626}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes scaleUp{to{transform:scale(1)}}.header-actions{align-items:center;gap:.5rem;display:flex}.archive-toggle-btn{border:1px solid var(--border-color);color:var(--text-secondary);cursor:pointer;border-radius:var(--radius-sm);background:0 0;justify-content:center;align-items:center;padding:.35rem;transition:all .15s;display:flex;position:relative}.archive-toggle-btn:hover{color:var(--text-primary);border-color:var(--color-purple);background:#8b5cf60d}.archive-badge{background:var(--color-purple);color:#fff;font-size:.65rem;font-family:var(--font-mono);min-width:15px;height:15px;box-shadow:0 0 0 2px var(--bg-app);border-radius:50%;justify-content:center;align-items:center;padding:0 3px;font-weight:700;display:flex;position:absolute;top:-6px;right:-6px}.archive-container{background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-lg);flex-direction:column;width:90%;max-width:500px;max-height:80vh;animation:.2s cubic-bezier(.34,1.56,.64,1) forwards scaleUp;display:flex;overflow:hidden;transform:scale(.95);box-shadow:0 20px 25px -5px #0000004d,0 10px 10px -5px #0003}.archive-header{border-bottom:1px solid var(--border-color);background:var(--bg-panel);justify-content:space-between;align-items:center;padding:1rem 1.25rem;display:flex}.archive-header-left{align-items:center;gap:.6rem;display:flex}.archive-title{text-transform:uppercase;color:var(--text-primary);font-size:1.1rem;font-weight:700;font-family:var(--font-mono);margin:0}.archive-count{color:var(--text-muted);font-size:.75rem;font-family:var(--font-mono);border-radius:var(--radius-sm);background:#ffffff0a;padding:.15rem .4rem}.archive-header-right{align-items:center;gap:.75rem;display:flex}.archive-clear-btn{color:#ef4444;font-family:var(--font-mono);border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:1px solid #ef444466;padding:.25rem .6rem;font-size:.75rem;font-weight:600;transition:all .15s}.archive-clear-btn:hover{background:#ef44441a;border-color:#ef4444}.archive-close-btn{color:var(--text-secondary);cursor:pointer;border-radius:var(--radius-sm);background:0 0;border:none;justify-content:center;align-items:center;padding:.25rem;transition:all .15s;display:flex}.archive-close-btn:hover{color:var(--text-primary);background:var(--bg-card-hover)}.archive-body{flex-grow:1;padding:1.25rem;overflow-y:auto}.archive-empty{text-align:center;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;padding:3rem 1.5rem;display:flex}.archive-empty-icon{opacity:.2;width:40px;height:40px;margin-bottom:1rem}.archive-empty p{color:var(--text-secondary);margin-bottom:.25rem;font-size:.95rem;font-weight:600}.archive-empty span{font-size:.8rem}.archive-list{flex-direction:column;gap:1.5rem;display:flex}.archive-group-date{font-family:var(--font-mono);text-transform:uppercase;color:var(--color-purple);letter-spacing:.05em;margin-bottom:.6rem;font-size:.75rem;font-weight:700}.archive-group-items{flex-direction:column;gap:.5rem;display:flex}.archive-item{background:var(--bg-panel);border:1px solid var(--border-color);border-radius:var(--radius-md);justify-content:space-between;align-items:center;gap:1rem;padding:.6rem .85rem;display:flex}.archive-item-text{color:var(--text-secondary);opacity:.8;word-break:break-word;font-size:.88rem;text-decoration:line-through}.archive-item-actions{flex-shrink:0;align-items:center;gap:.4rem;display:flex}.archive-item-btn{border:1px solid var(--border-color);color:var(--text-muted);cursor:pointer;border-radius:var(--radius-sm);background:0 0;justify-content:center;align-items:center;padding:.3rem;transition:all .15s;display:flex}.archive-item-btn.restore:hover{color:var(--color-purple);border-color:var(--color-purple);background:#af52de14}.archive-item-btn.delete:hover{color:#ef4444;background:#ef444414;border-color:#ef4444}
