:root {
  --bg: #f7f1e8;
  --panel: #fffaf5;
  --text: #3f2418;
  --muted: #7a6255;
  --line: #ecdccd;
  --accent: #c86b3c;
  --accent-dark: #402218;
  --green: #2e6f57;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #fff7ef, var(--bg));
  color: var(--text);
}

.shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.sidebar {
  padding: 24px;
  background: linear-gradient(180deg, #402218, #6f3b24);
  color: white;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 700;
}

.brand h1,
.brand p {
  margin: 0;
}

.brand p {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 4px;
}

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

nav a {
  color: white;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.content {
  padding: 28px;
}

.hero,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.hero {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 12px;
  margin: 0 0 10px;
}

.hero h2 {
  font-size: 38px;
  margin: 0 0 10px;
  max-width: 700px;
}

.hero-copy {
  margin: 0;
  color: var(--muted);
  max-width: 700px;
  line-height: 1.6;
}

.hero-card {
  min-width: 220px;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, #402218, #c86b3c);
  color: white;
}

.hero-card span {
  display: block;
  margin-bottom: 8px;
  opacity: 0.78;
}

.stats,
.grid,
.forms {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

.stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  background: white;
  border-radius: 24px;
  padding: 20px;
  border: 1px solid var(--line);
}

.stat span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.stat strong {
  font-size: 30px;
}

.grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel {
  padding: 22px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.panel-header h3,
.form-panel h3 {
  margin: 0;
}

.card-list {
  display: grid;
  gap: 14px;
}

.list-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  padding: 12px;
  border-radius: 22px;
  background: white;
  border: 1px solid var(--line);
}

.list-card img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 18px;
}

.list-card h4,
.list-card p {
  margin: 0;
}

.list-card p {
  color: var(--muted);
  line-height: 1.5;
  margin-top: 6px;
}

.form-panel {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: white;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  border: none;
  border-radius: 18px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: white;
  cursor: pointer;
  font-weight: 700;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
}

@media (max-width: 1100px) {
  .shell,
  .grid,
  .stats,
  .forms {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
  }
}
