.layout{min-height:100vh;background:#f8fafc;font-family:-apple-system,BlinkMacSystemFont,sans-serif}.header{background:#fff;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;height:50px;padding-left:2rem}.header h1{font-size:1.5rem;font-weight:600;color:#0f172a}.container{max-width:700px;margin:3rem auto;padding:0 1.5rem}.input{width:95%;padding:.8rem;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:1rem;font-size:.95rem}.filters{display:flex;gap:.5rem;margin-bottom:2rem}.filters button{padding:.5rem 1rem;border:1px solid #e2e8f0;background:#fff;border-radius:20px;cursor:pointer}.filters button.active{background:#0f172a;color:#fff;border-color:#0f172a}.button{padding:.5rem 1rem;border:1px solid #e2e8f0;background:#0f172a;color:#fff;border-color:#0f172a;border-radius:20px;cursor:pointer;margin-bottom:15px}.task-list{display:flex;flex-direction:column;gap:.75rem}.task{display:flex;align-items:center;gap:.75rem;background:#fff;padding:.9rem;border-radius:10px;border:1px solid #e2e8f0}.tasktotals{display:flex;align-items:center;gap:.75rem;background:#fff;padding:.9rem}.completed{text-decoration:line-through;color:#94a3b8}.empty{color:#94a3b8;text-align:center;margin-top:2rem}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 10px 40px #00000026;max-width:400px;width:90%;animation:slideIn .3s ease-out}.modal h2{margin:0 0 1.5rem;font-size:1.25rem;color:#0f172a;font-weight:600}.modal-input{width:100%;padding:.8rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;margin-bottom:1.5rem;box-sizing:border-box}.modal-input:focus{outline:none;border-color:#0f172a;box-shadow:0 0 0 2px #0f172a1a}.modal-actions{display:flex;gap:1rem;justify-content:flex-end}.modal-btn{padding:.6rem 1.2rem;border:none;border-radius:8px;cursor:pointer;font-weight:500;font-size:.9rem;transition:all .2s ease}.modal-btn.cancel{background:#f1f5f9;color:#334155}.modal-btn.cancel:hover{background:#e2e8f0}.modal-btn.confirm{background:#0f172a;color:#fff}.modal-btn.confirm:hover{background:#1e293b}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}
