:root{
  --bg:#f7f8fb;
  --card:#ffffff;
  --accent:#6b8ef6;
  --muted:#666;
}
*{box-sizing:border-box}
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
  margin:0;background:var(--bg);color:#111;
}
header{padding:20px;background:linear-gradient(90deg,var(--accent),#9bb6ff);color:white}
header h1{margin:0}
main{max-width:900px;margin:20px auto;padding:0 16px}
h2{margin-top:20px}
#add input,#add textarea{width:100%;padding:8px;margin:6px 0;border:1px solid #ddd;border-radius:6px}
#add textarea{height:80px;resize:vertical}
button{background:var(--accent);color:white;padding:8px 12px;border:none;border-radius:6px;cursor:pointer}
button.secondary{background:#888}
.row{display:flex;gap:8px;align-items:center}
.card{background:var(--card);padding:12px;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,0.06);margin:8px 0}
.hidden{display:none}
#tasks-list .task{border:1px solid #e6e9f2;padding:10px;border-radius:8px;margin-bottom:8px;background:linear-gradient(180deg,#fff,#fbfdff)}
.step{padding:6px;border-radius:6px;margin:6px 0;display:flex;justify-content:space-between;align-items:center}
.step.done{opacity:0.6;text-decoration:line-through}
#timer{font-size:28px;font-weight:700;margin:8px 0}
footer{margin:20px 0;color:var(--muted);text-align:center}
small{color:var(--muted)}

/* Small UI improvements: larger buttons, responsive rows and clearer secondary buttons */
button{padding:10px 14px;font-weight:600}
.row{flex-wrap:wrap}
button.secondary{background:#9aa0a6;color:white;border:1px solid rgba(0,0,0,0.06)}
@media (max-width:600px){
  .row{flex-direction:column;align-items:stretch}
  button{width:100%}
}
