:root { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:#172033; background:#f4f6f8; }
* { box-sizing:border-box; }
body { margin:0; }
.container { width:min(1100px,92%); margin:40px auto; }
.card { background:white; border:1px solid #e4e7ec; border-radius:16px; padding:24px; box-shadow:0 8px 28px rgba(0,0,0,.06); }
#auth-view { max-width:460px; margin:80px auto; }
.brand { font-size:26px; font-weight:750; }
h1,h2 { margin:0 0 8px; }
.muted { color:#697386; margin-top:4px; }
.tabs { display:flex; gap:8px; margin:24px 0 16px; }
.tab { flex:1; background:#eef1f5; color:#344054; }
.tab.active { background:#172033; color:white; }
.form { display:grid; gap:14px; }
label { display:grid; gap:7px; font-weight:600; font-size:14px; }
input,textarea { width:100%; border:1px solid #d0d5dd; border-radius:9px; padding:11px 12px; font:inherit; background:white; }
button { border:0; border-radius:9px; padding:10px 15px; background:#172033; color:white; cursor:pointer; font-weight:650; }
button.secondary { background:#eef1f5; color:#344054; }
button.danger { background:#b42318; }
button.small { padding:7px 10px; font-size:12px; }
.hidden { display:none !important; }
.status { min-height:20px; margin:0; font-size:13px; color:#667085; white-space:pre-wrap; }
.topbar,.row-between,.search-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.grid { display:grid; grid-template-columns:330px 1fr; gap:20px; }
.search-row { margin:15px 0; }
.search-row input { flex:1; }
.task { border:1px solid #e4e7ec; border-radius:12px; padding:15px; margin:10px 0; }
.task.done { opacity:.68; }
.task-title { font-weight:700; }
.task-desc { color:#475467; margin:7px 0; white-space:pre-wrap; }
.task-actions { display:flex; gap:7px; margin-top:10px; flex-wrap:wrap; }
.badge { display:inline-block; padding:3px 8px; border-radius:999px; background:#eef1f5; font-size:12px; }
@media (max-width:800px) { .grid { grid-template-columns:1fr; } .topbar { align-items:flex-start; } }
