*{margin:0;padding:0;box-sizing:border-box}:root{--bg: #0a0a0a;--surface: #141414;--surface-hover: #1a1a1a;--border: #262626;--text: #fafafa;--text-muted: #737373;--accent: #e5e5e5;--accent-hover: #ffffff;--danger: #ef4444;--danger-hover: #dc2626;--success: #22c55e;--radius: 12px}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Inter,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--bg);color:var(--text);min-height:100vh;display:flex;justify-content:center;align-items:flex-start;padding-top:8vh}#root{width:100%;max-width:520px;padding:2rem}.app{display:flex;flex-direction:column;gap:1.5rem}.header{text-align:center}.header h1{font-size:2rem;font-weight:700;letter-spacing:-.03em;color:var(--text)}.todo-form{display:flex}.todo-input{width:100%;padding:.875rem 1.25rem;font-size:.9375rem;font-family:inherit;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);outline:none;transition:border-color .15s}.todo-input::placeholder{color:var(--text-muted)}.todo-input:focus{border-color:#404040}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.todo-list{list-style:none}.todo-item{display:flex;align-items:center;gap:.75rem;padding:.875rem 1.25rem;border-bottom:1px solid var(--border);transition:background .1s}.todo-item:last-child{border-bottom:none}.todo-item:hover{background:var(--surface-hover)}.todo-item:hover .todo-delete{opacity:1}.todo-checkbox{position:relative;display:flex;align-items:center;cursor:pointer;flex-shrink:0}.todo-checkbox input{position:absolute;opacity:0;width:0;height:0}.checkmark{width:20px;height:20px;border:2px solid #404040;border-radius:50%;transition:all .15s;display:flex;align-items:center;justify-content:center}.checkmark:after{content:"";display:none;width:6px;height:10px;border:solid var(--success);border-width:0 2px 2px 0;transform:rotate(45deg);margin-top:-2px}.todo-checkbox input:checked~.checkmark{border-color:var(--success)}.todo-checkbox input:checked~.checkmark:after{display:block}.todo-checkbox:hover .checkmark{border-color:#555}.todo-title{flex:1;font-size:.9375rem;line-height:1.4;cursor:default;transition:color .15s,text-decoration .15s;min-width:0;word-break:break-word}.todo-item.completed .todo-title{color:var(--text-muted);text-decoration:line-through}.todo-edit-input{flex:1;padding:.25rem .5rem;font-size:.9375rem;font-family:inherit;background:var(--bg);color:var(--text);border:1px solid #404040;border-radius:6px;outline:none}.todo-edit-input:focus{border-color:#555}.todo-delete{flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;line-height:1;cursor:pointer;background:none;border:none;color:var(--text-muted);border-radius:6px;opacity:0;transition:opacity .15s,color .15s,background .15s}.todo-delete:hover{color:var(--danger);background:#ef44441a}.todo-footer{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.25rem;border-top:1px solid var(--border)}.todo-count{font-size:.8125rem;color:var(--text-muted)}.todo-filters{display:flex;gap:.25rem}.filter-button{padding:.25rem .625rem;font-size:.8125rem;font-family:inherit;cursor:pointer;background:none;border:1px solid transparent;border-radius:6px;color:var(--text-muted);transition:color .15s,border-color .15s}.filter-button:hover{color:var(--text)}.filter-button.active{color:var(--text);border-color:var(--border)}.todo-empty{padding:2.5rem 1.25rem;text-align:center;font-size:.875rem;color:var(--text-muted)}
