:root {
  --bg: #f6f2ec;
  --card: #ffffff;
  --ink: #1f1a16;
  --muted: #6a5f57;
  --accent: #0f766e;
  --accent-2: #f97316;
  --shadow: 0 18px 35px rgba(31, 26, 22, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

header {
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(31, 26, 22, 0.08);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

header a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

main {
  max-width: 1100px;
  margin: 24px auto 60px;
  padding: 0 24px;
  display: grid;
  gap: 18px;
}

.grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 26, 22, 0.08);
}

.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

input, select, button {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(31, 26, 22, 0.2);
  font-size: 0.95rem;
}

button {
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

button.ghost {
  background: transparent;
  border: 1px solid rgba(31, 26, 22, 0.2);
  color: var(--ink);
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent);
}

.badge.orange {
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent-2);
}

.list-item {
  display: grid;
  gap: 6px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(31, 26, 22, 0.08);
}

.list-item:last-child { border-bottom: none; }

.stat {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}
