:root { color-scheme: light dark; --fg: #1a1a1a; --bg: #fafafa; --muted: #6b6b6b; --line: #ddd; --late: #b42318; }
@media (prefers-color-scheme: dark) { :root { --fg: #eee; --bg: #161616; --muted: #9a9a9a; --line: #333; --late: #f97066; } }
body { margin: 0; font: 15px/1.45 system-ui, sans-serif; color: var(--fg); background: var(--bg); }
header, main { max-width: 960px; margin: 0 auto; padding: 0 16px; }
header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
h1 { font-size: 20px; }
form { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
input, button { font: inherit; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: inherit; }
input[name=text] { flex: 1 1 260px; }
button { cursor: pointer; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; }
tr.done td { color: var(--muted); text-decoration: line-through; }
td.late { color: var(--late); font-weight: 600; }
#message { color: var(--late); }
@media (max-width: 600px) { th:nth-child(3), td:nth-child(3) { display: none; } }
