:root {
  --rice: #f7f2e8;
  --mist: #e8efe9;
  --leaf: #28523f;
  --moss: #7c9550;
  --sun: #d0483b;
  --soil: #8b5b43;
  --ink: #1b1b1b;
  --card-bg: #ffffff;
  --card-border: rgba(27, 27, 27, 0.08);
}

.app-body {
  color: var(--ink);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(208, 72, 59, 0.16), transparent 40%),
    radial-gradient(circle at 88% 12%, rgba(124, 149, 80, 0.18), transparent 45%),
    repeating-linear-gradient(120deg, rgba(27, 27, 27, 0.035) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #f7f2e8 0%, #ffffff 45%, #e8f1e7 100%);
  background-attachment: fixed;
}

.app-shell {
  min-height: 100vh;
  display: flex;
}

.app-main {
  flex: 1;
  min-width: 0;
  margin-left: 16rem;
}

.app-content {
  padding: 2rem;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(27, 27, 27, 0.08);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-mark {
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 1rem;
  background: rgba(40, 82, 63, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 16rem;
  background: linear-gradient(180deg, #244c3b 0%, #2e6345 45%, #3b6f4c 100%);
  color: #fff;
  box-shadow: 0 20px 30px rgba(30, 30, 30, 0.18);
  display: flex;
  flex-direction: column;
  z-index: 40;
}

.app-sidebar__header {
  padding: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.app-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.app-sidebar__logo {
  height: 3rem;
  width: 3rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-sidebar__title {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: "Alegreya", serif;
}

.app-sidebar__subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
}

.app-sidebar__nav {
  padding: 1.5rem 1rem;
  gap: 0.6rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.app-sidebar__section {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.25rem 0.5rem;
  margin-top: 0.35rem;
}

.sidebar-link {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: translateX(4px);
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(30, 30, 30, 0.06);
}

@media (max-width: 1024px) {
  .app-main {
    margin-left: 0;
  }

  .app-sidebar {
    position: relative;
    width: 100%;
    height: auto;
  }
}
