.todo-input-wrap{display:flex;flex-direction:column;gap:.5rem}@media (min-width:640px){.todo-input-wrap{flex-direction:row;align-items:flex-start}.todo-input-wrap .field{flex:1 1 auto}.todo-input-wrap .btn{flex:0 0 auto;min-height:44px}}.todo-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem}.todo-meta{font-size:.85rem;color:#64748b}.todo-meta strong{color:#3b82f6}.todo-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.todo-item{display:flex;align-items:flex-start;gap:.55rem;padding:.65rem .75rem;border:1px solid #eef2f7;border-radius:.8rem;background:#fff;transition:border-color .2s,box-shadow .2s,opacity .2s}.todo-item:hover{border-color:#dbeafe;box-shadow:0 6px 18px -12px rgba(59,130,246,.6)}.todo-item.is-dragging{opacity:.45}.todo-item.drop-before{box-shadow:inset 0 3px 0 #3b82f6}.todo-item.drop-after{box-shadow:inset 0 -3px 0 #3b82f6}.todo-item.is-done .todo-text{text-decoration:line-through;color:#94a3b8}.todo-check{flex:0 0 auto;width:18px;height:18px;margin-top:.18rem;accent-color:#3b82f6;cursor:pointer}.todo-text{flex:1 1 auto;min-width:0;font-size:.95rem;line-height:1.5;color:#1f2937;overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap;cursor:text}.todo-text-input{flex:1 1 auto;min-width:0;padding:.18rem .45rem;border:1px solid #c7d2fe;border-radius:.45rem;background:#fff;font-size:.95rem;line-height:1.5;color:#1f2937;outline:0;box-shadow:0 0 0 3px rgba(59,130,246,.12)}.todo-actions{display:flex;flex:0 0 auto;align-items:center;gap:.15rem}.todo-icon:hover{color:#3b82f6;background:#eff6ff}.todo-icon[data-act=delete]:hover{color:#ef4444;background:#fef2f2}.todo-icon:focus-visible{outline:#93c5fd solid 2px;outline-offset:1px}.todo-icon[data-act=drag]{cursor:grab}.todo-icon[data-act=drag]:active{cursor:grabbing}.todo-empty{padding:2.4rem 1rem;text-align:center;color:#94a3b8}.todo-empty i{font-size:1.8rem;color:#cbd5e1}.undo-bar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:.75rem;padding:.55rem .8rem;border:1px solid #e2e8f0;border-radius:.7rem;background:#f8fafc;font-size:.82rem;color:#475569}.undo-bar button{color:#2563eb;font-weight:600}.todo-help{font-size:.78rem;color:#94a3b8}@media (max-width:480px){.todo-item{padding:.55rem}.todo-text{font-size:.9rem}.todo-icon{width:32px;height:32px}}html[data-theme=dark] .label{color:var(--text-2)}html[data-theme=dark] .field{border-color:var(--border);background:var(--surface-2);color:var(--text)}html[data-theme=dark] .field:focus{border-color:var(--accent);background:var(--surface)}html[data-theme=dark] .todo-icon{color:var(--text-3)}html[data-theme=dark] .todo-meta{color:var(--text-2)}html[data-theme=dark] .todo-meta strong{color:var(--accent-ink)}html[data-theme=dark] .todo-item{border-color:var(--border);background:var(--surface)}html[data-theme=dark] .todo-item:hover{border-color:var(--accent-line);box-shadow:0 6px 18px -12px rgba(0,0,0,.7)}html[data-theme=dark] .todo-item.drop-before{box-shadow:inset 0 3px 0 var(--accent)}html[data-theme=dark] .todo-item.drop-after{box-shadow:inset 0 -3px 0 var(--accent)}html[data-theme=dark] .todo-item.is-done .todo-text{color:var(--text-3)}html[data-theme=dark] .todo-check{accent-color:var(--accent)}html[data-theme=dark] .todo-text{color:var(--text)}html[data-theme=dark] .todo-text-input{border-color:var(--accent-line);background:var(--surface-2);color:var(--text);box-shadow:0 0 0 3px var(--accent-soft)}html[data-theme=dark] .todo-icon:hover{color:var(--accent-ink);background:var(--accent-soft)}html[data-theme=dark] .todo-icon[data-act=delete]:hover{color:var(--danger-ink);background:var(--danger-soft)}html[data-theme=dark] .todo-icon:focus-visible{outline-color:var(--accent)}html[data-theme=dark] .todo-empty{color:var(--text-3)}html[data-theme=dark] .todo-empty i{color:var(--border-strong)}html[data-theme=dark] .undo-bar{border-color:var(--border);background:var(--surface-2);color:var(--text-2)}html[data-theme=dark] .undo-bar button{color:var(--accent-ink)}html[data-theme=dark] .todo-help{color:var(--text-3)}