/* Wisdom Dashboard — Design Defaults (wA palette) */

:root {
  --fg: #fafafa;
  --fg-secondary: #a3a3a3;
  --fg-muted: #737373;
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-elevated: #1a1a1a;
  --border: #262626;
  --border-subtle: #1f1f1f;
  --gold: #c9b896;
  --lavender: #a78bfa;
  --green: #4ade80;
  --red: #f87171;
}

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

body {
  font-family: 'IBM Plex Sans', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 0.875rem;
  line-height: 1.5;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

header {
  padding: 1.5rem 1rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

main {
  padding: 0 1rem 2rem;
  max-width: 640px;
  margin: 0 auto;
}

section {
  margin-top: 1.5rem;
}

h2 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* Task items */

.task-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.task-item {
  padding: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.15s;
}

.task-item:hover {
  border-color: var(--fg-muted);
}

.task-item.completed {
  opacity: 0.5;
}

.task-item.completed .task-title {
  text-decoration: line-through;
}

.task-content {
  flex: 1;
  min-width: 0;
}

.task-title {
  font-weight: 500;
  color: var(--fg);
}

.task-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
}

.task-meta .project-tag {
  color: var(--lavender);
}

.task-meta .time-tag {
  color: var(--fg-secondary);
}

.task-meta .status-tag {
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

/* Project items */

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  padding: 0.375rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg-secondary);
}

.project-chip.client { border-left: 3px solid var(--gold); }
.project-chip.venture { border-left: 3px solid var(--lavender); }
.project-chip.life { border-left: 3px solid var(--green); }

/* States */

.empty-state {
  color: var(--fg-muted);
  font-style: italic;
  padding: 1rem 0;
}

.meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

footer {
  padding: 1rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

/* Responsive */

@media (min-width: 640px) {
  header, main {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
