:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-hover: #334155;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --danger: #ef4444;
  --success: #22c55e;
  --warning: #f59e0b;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  border: none;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s;
}

button:hover { background: var(--primary-hover); }
button:active { transform: scale(0.98); }

input, textarea {
  background: var(--surface);
  border: 1px solid var(--surface-hover);
  color: var(--text);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 16px;
  width: 100%;
  outline: none;
}

input:focus, textarea:focus {
  border-color: var(--primary);
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px;
}

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

.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mt-3 { margin-top: 12px; }
.mb-3 { margin-bottom: 12px; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 14px; }

.status-inbox { border-left: 3px solid var(--text-muted); }
.status-todo { border-left: 3px solid var(--primary); }
.status-doing { border-left: 3px solid var(--warning); }
.status-done { border-left: 3px solid var(--success); opacity: 0.7; }
.status-someday { border-left: 3px solid var(--danger); }