*{box-sizing:border-box;margin:0}body{color:#1f2333;background:linear-gradient(160deg,#eef0ff 0%,#f7f5ff 50%,#fdf4f8 100%);min-height:100vh;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}button{font:inherit;cursor:pointer}.page{max-width:560px;margin:0 auto;padding:64px 20px 40px}.card{background:#fff;border-radius:20px;padding:28px;box-shadow:0 20px 50px -20px #4f46e540,0 2px 6px #0000000a}.header{justify-content:space-between;align-items:flex-end;margin-bottom:22px;display:flex}.eyebrow{letter-spacing:.14em;color:#4f46e5;font-size:12px;font-weight:700}h1{letter-spacing:-.02em;font-size:30px;font-weight:800}.counter{text-align:right;line-height:1.1}.counter strong{color:#4f46e5;font-size:26px;display:block}.counter span{color:#8a8fa3;font-size:13px}.add-form{gap:10px;margin-bottom:18px;display:flex}.add-form input{font:inherit;border:1.5px solid #e3e5f0;border-radius:12px;outline:none;flex:1;padding:13px 16px;font-size:15px;transition:border-color .15s,box-shadow .15s}.add-form input:focus{border-color:#4f46e5;box-shadow:0 0 0 4px #4f46e51f}.add-form button{color:#fff;background:#4f46e5;border:none;border-radius:12px;padding:0 22px;font-weight:600;transition:background .15s,opacity .15s}.add-form button:hover:not(:disabled){background:#4338ca}.add-form button:disabled{opacity:.45;cursor:not-allowed}.filters{background:#f3f4fa;border-radius:10px;gap:4px;margin-bottom:14px;padding:4px;display:inline-flex}.filter{color:#6b7085;background:0 0;border:none;border-radius:7px;padding:6px 14px;font-size:13px;font-weight:600}.filter.active{color:#4f46e5;background:#fff;box-shadow:0 1px 3px #00000014}.list{padding:0;list-style:none}.item{border-bottom:1px solid #f0f1f6;align-items:center;gap:8px;padding:12px 6px;animation:.2s fadeIn;display:flex}.item:last-child{border-bottom:none}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.check{cursor:pointer;flex:1;align-items:center;gap:12px;min-width:0;display:flex}.check input{opacity:0;pointer-events:none;position:absolute}.box{border:2px solid #c9cce0;border-radius:7px;flex-shrink:0;place-items:center;width:22px;height:22px;transition:all .15s;display:grid}.box:after{content:"";border:2.5px solid #fff;border-width:0 2.5px 2.5px 0;width:6px;height:11px;margin-top:-2px;transition:transform .15s;transform:rotate(45deg)scale(0)}.check input:checked+.box{background:#4f46e5;border-color:#4f46e5}.check input:checked+.box:after{transform:rotate(45deg)scale(1)}.check input:focus-visible+.box{box-shadow:0 0 0 4px #4f46e533}.text{overflow-wrap:anywhere;font-size:15px;transition:color .15s}.done .text{color:#a5a9bb;text-decoration:line-through}.delete{color:#b4b7c8;opacity:0;background:0 0;border:none;border-radius:8px;width:32px;height:32px;font-size:22px;line-height:1;transition:opacity .15s,background .15s,color .15s}.item:hover .delete,.delete:focus-visible{opacity:1}.delete:hover{color:#e11d48;background:#fdecef}@media (hover:none){.delete{opacity:1}}.empty{text-align:center;color:#6b7085;padding:30px 0 12px}.empty-icon{color:#4f46e5;background:#eef0ff;border-radius:50%;place-items:center;width:52px;height:52px;margin:0 auto 12px;font-size:24px;font-weight:700;display:grid}.chips{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px;display:flex}.chip{color:#4f46e5;background:#fafaff;border:1.5px dashed #c7c9f5;border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600}.chip:hover{background:#eef0ff;border-style:solid}.none{text-align:center;color:#8a8fa3;padding:24px 0;font-size:14px}.footer{color:#8a8fa3;border-top:1px solid #f0f1f6;justify-content:space-between;align-items:center;margin-top:14px;padding-top:14px;font-size:13px;display:flex}.link{color:#e11d48;background:0 0;border:none;font-size:13px;font-weight:600}.link:hover{text-decoration:underline}.note{text-align:center;color:#9a9eb2;margin-top:18px;font-size:12px}
