:root { --fg: #1d1d1f; --muted: #6e6e73; --accent: #0a64d6; --danger: #c62828; --bg: #fafafa; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, sans-serif; color: var(--fg); background: var(--bg); }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #e5e5e5; }
.brand { font-weight: 700; text-decoration: none; color: var(--fg); }
main { max-width: 640px; margin: 0 auto; padding: 16px; }
.inline { display: inline; }
.muted { color: var(--muted); margin-right: 8px; }
.new-todo, .auth { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.auth { flex-direction: column; max-width: 320px; }
.filters { display: flex; gap: 12px; margin-bottom: 12px; }
.filter.active { font-weight: 700; }
.todos { list-style: none; padding: 0; }
.todo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #eee; }
.todo.done .title { text-decoration: line-through; color: var(--muted); }
.priority-high { font-weight: 700; }
.notes { width: 100%; margin: 0 0 0 32px; color: var(--muted); }
.danger { color: var(--danger); }
.error { color: var(--danger); }
