body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f6f8fb;
    color: #1f2933;
}

a { color: #0f6fec; text-decoration: none; }
a:hover { text-decoration: underline; }

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: #0f172a;
    color: #fff;
}
.top-nav a { color: #c7d2fe; margin-right: 16px; }
.brand a { color: #fff; font-weight: bold; }
.top-nav .nav-form { display: inline; margin: 0; }
.top-nav .nav-link-btn {
    background: none;
    border: none;
    color: #c7d2fe;
    margin-right: 16px;
    padding: 0;
    font: inherit;
    cursor: pointer;
}
.top-nav .nav-link-btn:hover { text-decoration: underline; }

.page { max-width: 960px; margin: 32px auto; padding: 0 16px; }
.hero { background: #fff; padding: 32px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.card { background: #fff; padding: 24px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,0.06); margin-bottom: 16px; }

.btn { display: inline-block; padding: 10px 16px; border-radius: 8px; font-weight: 600; border: none; cursor: pointer; }
.btn.primary { background: #2563eb; color: #fff; }
.btn.secondary { background: #e5e7eb; color: #111827; }
.btn.danger { background: #dc2626; color: #fff; }
.btn + .btn { margin-left: 8px; }
.inline-form { display: inline; margin: 0; }

.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.list { display: grid; gap: 12px; }
.task { background: #fff; padding: 16px; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); }
.task header { display: flex; justify-content: space-between; align-items: center; }

.badge { background: #e0e7ff; color: #1d4ed8; padding: 4px 8px; border-radius: 999px; font-size: 12px; }
.muted { color: #6b7280; }

.messages { list-style: none; padding: 0 16px; }
.messages li { margin: 8px 0; padding: 10px 12px; border-radius: 8px; }
.messages .error { background: #fee2e2; color: #991b1b; }
.messages .success { background: #dcfce7; color: #166534; }

form p { display: flex; flex-direction: column; gap: 6px; }
form input, form select, form textarea { padding: 10px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; }

.comment-list { list-style: none; padding: 0; }
.comment-list li { border-bottom: 1px solid #e5e7eb; padding: 12px 0; }
.comment-meta { display: flex; gap: 8px; align-items: baseline; }
