* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  background: linear-gradient(180deg, #f4efe6 0%, #fbf8f2 100%);
  color: #2f261d;
}

a {
  color: #7b3f00;
}

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

.page {
  width: min(1080px, calc(100% - 32px));
  margin: 32px auto 48px;
}

.hero {
  background: #fffaf1;
  border: 1px solid #dcc8ae;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(79, 49, 18, 0.08);
}

.hero h1,
.hero h2,
.hero p {
  margin-top: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.card {
  background: #ffffff;
  border: 1px solid #e4d7c8;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(79, 49, 18, 0.06);
}

.stack {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.95rem;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccb89f;
  border-radius: 10px;
  background: #fffdf9;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #7b3f00;
  color: #fffaf1;
  cursor: pointer;
  text-decoration: none;
}

.button.secondary {
  background: #ede0cf;
  color: #4f3112;
}

.list {
  display: grid;
  gap: 16px;
}

.item {
  padding: 18px;
  border: 1px solid #e7d8c5;
  border-radius: 14px;
  background: #fffdfa;
}

.item h3 {
  margin: 0 0 10px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0e2d1;
  color: #5b3b18;
  font-size: 0.88rem;
}

.empty,
.feedback {
  padding: 14px;
  border-radius: 12px;
  background: #f8f1e7;
  border: 1px solid #e3d4c2;
}

.feedback.error {
  background: #ffe8e5;
  border-color: #efb5af;
  color: #8a2d22;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.breadcrumbs span {
  color: #82664a;
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 24px, 1080px);
    margin-top: 20px;
  }

  .hero,
  .card,
  .item {
    border-radius: 16px;
  }
}
