:root {
  --bg: #0e1116;
  --card: #181c24;
  --text: #e8eaed;
  --muted: #8a8f98;
  --accent: #2ea6ff;
  --danger: #ff4d4f;
  --ok: #2ecc71;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, Segoe UI, Roboto, sans-serif;
  min-height: 100vh;
}

#app {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

h1 { font-size: 22px; margin: 0; }
h2 { font-size: 18px; margin: 0 0 12px; }
h3 { font-size: 15px; margin: 0 0 10px; color: var(--muted); }

.card {
  background: var(--card);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.row.buttons { gap: 8px; }
.row.buttons button { flex: 1; }

button {
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
}

.primary { background: var(--accent); color: white; }
.danger { background: var(--danger); color: white; }
.ghost { background: #262b35; color: var(--text); }

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: #262b35;
  color: var(--text);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
}
.chip.active { background: var(--accent); color: white; }

.muted { color: var(--muted); font-size: 12px; }
.warn { color: #f5a623; font-size: 13px; }

.calendar { margin-bottom: 10px; }
.month { margin-bottom: 12px; }
.month-title { font-size: 13px; color: var(--muted); margin-bottom: 6px; text-transform: capitalize; }
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.day {
  background: #262b35;
  color: var(--text);
  border-radius: 8px;
  padding: 8px 0;
  font-size: 13px;
}
.day:disabled { opacity: 0.25; cursor: default; }
.day.active { background: var(--ok); color: #04210f; font-weight: 600; }

code {
  display: inline-block;
  background: #262b35;
  padding: 6px 10px;
  border-radius: 8px;
  margin-top: 8px;
}
