:root {
  color: #17221d;
  background: #f5f0e5;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.card {
  border: 1px solid #d6d0c3;
  border-radius: 16px;
  background: #fffdf7;
  padding: 16px;
}

.btn {
  border-radius: 999px;
  border: 1px solid #2f6f57;
  background: #2f6f57;
  color: white;
  padding: 8px 16px;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  color: #2f6f57;
}

.btn.danger {
  border-color: #b42318;
  background: #b42318;
}

.grid {
  display: grid;
  gap: 12px;
}

.warn {
  color: #b54708;
  font-size: 12px;
}

.alert {
  color: #b42318;
  font-size: 12px;
}

.layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  background: #ebe4d6;
}

.nav a.active {
  background: #2f6f57;
  color: white;
}

input,
select,
textarea {
  border: 1px solid #d6d0c3;
  border-radius: 8px;
  padding: 8px 12px;
  background: #fffdf7;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #2f6f57;
  outline-offset: 1px;
}
