:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #17202a;
  background: #eef2f6;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: 0; border-radius: 8px; padding: 0.65rem 0.9rem; background: #1957d2; color: white; font-weight: 700; }
button.secondary { background: #e5eaf1; color: #263442; }
button.danger { background: #fbe4e4; color: #a62e2e; }
.shell { width: min(960px, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0; }
.card { background: white; border: 1px solid #dce3eb; border-radius: 16px; padding: 1.5rem; box-shadow: 0 12px 30px #1c2b3a0d; }
.auth-card { max-width: 440px; margin: 10vh auto; }
.topbar, .section-heading, .account, .form-actions, .task, .task-actions { display: flex; align-items: center; }
.topbar, .section-heading, .task { justify-content: space-between; gap: 1rem; }
.topbar { margin-bottom: 1.5rem; }
.account, .task-actions { gap: 0.5rem; }
.eyebrow { margin: 0 0 0.4rem; color: #58708b; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; }
h1, h2, h3 { margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.05em; }
h2 { font-size: 1.6rem; }
h3 { margin-top: 0.45rem; }
.muted { color: #68788a; }
label { display: grid; gap: 0.35rem; margin: 1rem 0; font-weight: 700; }
input, textarea, select { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 0.7rem; background: #fff; }
.message { color: #23633b; margin: 0.75rem 0; }
.message.error { color: #b42318; }
.task-form { border-top: 1px solid #e5eaf1; margin-top: 1.25rem; padding-top: 0.5rem; }
.form-actions { gap: 0.6rem; }
.task-list { display: grid; gap: 0.8rem; margin-top: 1.5rem; }
.task { align-items: flex-start; border: 1px solid #e1e7ee; border-radius: 12px; padding: 1rem; }
.task p { margin-bottom: 0; color: #68788a; }
.status { display: inline-block; border-radius: 999px; padding: 0.25rem 0.55rem; color: #26415f; background: #e7effa; font-size: 0.75rem; text-transform: capitalize; }
.status-done { background: #dcf4e3; color: #216438; }
.status-in_progress { background: #fff0cf; color: #775616; }
@media (max-width: 640px) { .topbar, .task { align-items: stretch; flex-direction: column; } .account, .task-actions { justify-content: space-between; } }
