*{box-sizing:border-box;margin:0;padding:0}body{font-family:system-ui,-apple-system,sans-serif;background:#f0f2f5;color:#1a1a1a;line-height:1.5}.container{max-width:560px;margin:3rem auto;padding:0 1rem}h1{text-align:center;margin-bottom:1.5rem}.add-form{display:flex;gap:.5rem;margin-bottom:1rem}.add-form input{flex:1;padding:.7rem .9rem;border:1px solid #d0d5dd;border-radius:8px;font-size:1rem}.add-form button{padding:.7rem 1.2rem;background:#2f6fed;color:#fff;border:none;border-radius:8px;font-size:1rem;cursor:pointer}.add-form button:hover{background:#1e58c9}.filters{display:flex;gap:.5rem;margin-bottom:1rem}.filters button{flex:1;padding:.5rem;background:#fff;border:1px solid #d0d5dd;border-radius:8px;cursor:pointer;font-size:.85rem}.filters button.active{background:#2f6fed;color:#fff;border-color:#2f6fed}.todo-list{list-style:none;background:#fff;border-radius:10px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.todo-list li{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1rem;border-bottom:1px solid #eee}.todo-list li:last-child{border-bottom:none}.todo-list label{display:flex;align-items:center;gap:.7rem;cursor:pointer}.todo-list input[type=checkbox]{width:18px;height:18px;accent-color:#2f6fed}.todo-list li.completed span{text-decoration:line-through;color:#999}.delete{background:none;border:none;color:#b3261e;font-size:1.1rem;cursor:pointer}.empty{text-align:center;color:#888;padding:2rem}.error{background:#fdecea;color:#b3261e;padding:.7rem 1rem;border-radius:8px;margin-bottom:1rem;font-size:.9rem}
