@import "https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=JetBrains+Mono:wght@300;400;500&display=swap";:root{--bg:#f8f5ef;--surface:#f1ede4;--border:#d6cfbf;--border-strong:#a89f8c;--text:#1a1714;--text-muted:#8c8578;--accent:#c2410c;--accent-hover:#9a3409;--check-fg:#fff}[data-theme=dark]{--bg:#141210;--surface:#1c1916;--border:#2d2923;--border-strong:#514840;--text:#ede9e2;--text-muted:#68615a;--accent:#ea5c20;--accent-hover:#f26d32;--check-fg:#fff}*,:before,:after{box-sizing:border-box;margin:0;padding:0}button{cursor:pointer;font-family:inherit}ul,li{list-style:none}html,body{height:100%}body{background:var(--bg);color:var(--text);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");font-family:JetBrains Mono,monospace;font-weight:300;transition:background .35s,color .35s}.app{max-width:580px;margin:0 auto;padding:4rem 2rem 8rem}.header{border-bottom:2px solid var(--border-strong);margin-bottom:2.75rem;padding-bottom:1.25rem}.header-top{justify-content:space-between;align-items:flex-end;margin-bottom:.6rem;display:flex}.header-title-group{flex-direction:column;gap:.05rem;display:flex}.header-eyebrow{letter-spacing:.12em;color:var(--text-muted);font-size:.68rem;font-style:italic}.title{letter-spacing:-.02em;color:var(--text);font-family:Playfair Display,serif;font-size:clamp(2.8rem,9vw,4.2rem);font-weight:700;line-height:.88}.theme-toggle{border:1.5px solid var(--border);color:var(--text-muted);background:0 0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:2.4rem;height:2.4rem;margin-bottom:.3rem;font-size:1.05rem;transition:border-color .2s,color .2s,transform .4s;display:flex}.theme-toggle:hover{border-color:var(--accent);color:var(--accent);transform:rotate(180deg)}.header-meta{letter-spacing:.06em;color:var(--text-muted);justify-content:space-between;align-items:center;font-size:.7rem;display:flex}.clear-btn{letter-spacing:.06em;color:var(--text-muted);background:0 0;border:none;padding:0;font-size:.7rem;-webkit-text-decoration:underline #0000;text-decoration:underline #0000;transition:color .2s,text-decoration-color .2s}.clear-btn:hover{color:var(--accent);-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent)}.input-row{border-bottom:1.5px solid var(--text);align-items:center;gap:.6rem;margin-bottom:1.75rem;padding-bottom:.65rem;transition:border-color .2s;display:flex}.input-row:focus-within{border-color:var(--accent)}.todo-input{color:var(--text);letter-spacing:.02em;background:0 0;border:none;outline:none;flex:1;font-family:JetBrains Mono,monospace;font-size:.92rem;font-weight:400}.todo-input::placeholder{color:var(--text-muted);font-style:italic;font-weight:300}.add-btn{color:var(--text-muted);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;width:1.8rem;height:1.8rem;font-size:1.6rem;line-height:1;transition:color .2s,transform .25s;display:flex}.add-btn:hover{color:var(--accent);transform:rotate(90deg)}.filter-bar{border-bottom:1px solid var(--border);margin-bottom:.25rem;display:flex}.filter-btn{letter-spacing:.1em;text-transform:lowercase;color:var(--text-muted);background:0 0;border:none;border-bottom:2px solid #0000;margin-bottom:-1px;padding:.35rem 1rem .45rem;font-family:JetBrains Mono,monospace;font-size:.68rem;transition:color .2s,border-color .2s}.filter-btn:hover{color:var(--text)}.filter-btn.active{color:var(--accent);border-bottom-color:var(--accent)}.todo-list{flex-direction:column;display:flex}.empty-state{text-align:center;color:var(--text-muted);letter-spacing:.05em;padding:3.5rem 0;font-size:.78rem;font-style:italic}.todo-item{border-bottom:1px solid var(--border);align-items:center;gap:.8rem;padding:.85rem 0;animation:.22s forwards slideIn;display:flex}.todo-item:hover .delete-btn{opacity:1}@keyframes slideIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.check-btn{background:0 0;border:none;flex-shrink:0;align-items:center;padding:0;display:flex}.check-box{border:1.5px solid var(--border-strong);border-radius:2px;justify-content:center;align-items:center;width:1.05rem;height:1.05rem;transition:background .18s,border-color .18s;display:flex}.check-btn:hover .check-box{border-color:var(--accent)}.todo-item.done .check-box{background:var(--accent);border-color:var(--accent)}.check-mark{color:var(--check-fg);font-size:.6rem;font-weight:500;line-height:1}.todo-text{letter-spacing:.02em;color:var(--text);flex:1;font-size:.88rem;font-weight:400;line-height:1.5;transition:color .25s}.todo-item.done .todo-text{color:var(--text-muted);text-decoration:line-through;-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent);text-decoration-thickness:1.5px}.delete-btn{color:var(--text-muted);opacity:0;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;width:1.4rem;height:1.4rem;font-size:1.25rem;line-height:1;transition:color .2s,opacity .2s;display:flex}.delete-btn:hover{color:var(--accent)}@media (width<=480px){.app{padding:2.5rem 1.25rem 5rem}.delete-btn{opacity:1}}
