:root {
  color-scheme: light;
  --ink: #14241e;
  --paper: #f4f1ea;
  --accent: #1b4d3e;
  --danger: #8a1f1f;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

body {
  padding: 1rem;
}

.panel {
  max-width: 40rem;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

h1, h2 { margin: 0; font-size: 1.25rem; }

form, .list, label {
  display: grid;
  gap: 0.5rem;
}

input, select, button, a.button, a.card {
  min-height: 2.75rem;
  font: inherit;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #c8c2b6;
}

button, a.button {
  background: var(--accent);
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

a.card {
  background: white;
  text-decoration: none;
  color: inherit;
}

.error { color: var(--danger); }
.empty { margin: 0; }

.action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.list { list-style: none; padding: 0; }
.list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}
