:root {
  --bg: #F3F6F6;
  --surface: #FFFFFF;
  --surface-alt: #EAF4F0;
  --border: #DCE5E2;
  --text-primary: #1F2A28;
  --text-secondary: #55625E;
  --text-muted: #8A9490;
  --accent: #0F6E56;
  --accent-bg: #E1F5EE;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
}

.read { font-family: 'Lexend', 'Inter', system-ui, sans-serif; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

header {
  margin-bottom: 20px;
}

.brand {
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 12px;
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab {
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
}

.tab.active {
  border: 2px solid var(--accent);
  background: var(--accent-bg);
  color: var(--accent);
}

.hidden { display: none; }

.card {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.heading { font-weight: 500; font-size: 15px; margin: 0 0 4px; }
.muted { color: var(--text-muted); }
.small { font-size: 13px; margin: 0 0 10px; }

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.row:last-child { border-bottom: none; }

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

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

.progress-track {
  width: 100%; height: 5px; background: var(--surface-alt);
  border-radius: 3px; overflow: hidden; margin: 8px 0 10px;
}
.progress-fill { height: 100%; background: var(--accent); }

input, select, textarea, button {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 10px;
  background: var(--surface);
  color: var(--text-primary);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}

textarea { width: 100%; resize: vertical; }

.btn {
  background: var(--surface);
  border: 1px solid var(--accent);
  color: var(--accent);
  cursor: pointer;
  font-weight: 500;
}
.btn:hover { background: var(--accent-bg); }
.btn:active { transform: scale(0.98); }

.input-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.input-row input { flex: 1; min-width: 160px; }

.task-text { font-size: 14px; flex: 1; }
.task-text.done { text-decoration: line-through; color: var(--text-muted); }

.add-row { display: flex; gap: 8px; margin-top: 10px; }
.add-row input { flex: 1; }

.footer-note { text-align: center; margin-top: 24px; }
