:root {
  --bg: #0f172a;
  --card: #111827;
  --text: #e5e7eb;
  --muted: #94a3b8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: linear-gradient(180deg, #0b1020, #0f172a);
  color: var(--text);
}
.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 20px;
}
.card {
  background: var(--card);
  border: 1px solid #1f2937;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}
form { display: flex; gap: 8px; }
input, select, button {
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0b1222;
  color: var(--text);
  padding: 10px;
}
button { cursor: pointer; }
#habitsList { list-style: none; padding: 0; margin: 12px 0 0; }
#habitsList li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border: 1px solid #273449;
  border-radius: 10px;
  margin-bottom: 8px;
}
.row-left { display: flex; align-items: center; gap: 10px; }
.color-dot { width: 12px; height: 12px; border-radius: 50%; }
.charts { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 860px) {
  .charts { grid-template-columns: 1fr 1fr; }
}
