:root {
  color-scheme: light;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    opacity 0.18s ease;
}
button:active {
  transform: translateY(1px);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.1rem;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  border-radius: 1rem;
  padding: 0.75rem 0.9rem;
  color: rgba(16, 35, 28, 0.72);
  font-weight: 700;
  font-size: 0.92rem;
}
.nav-item:hover {
  background: #f1f8f4;
  color: #10231c;
}
.nav-item.active {
  background: #10231c;
  color: white;
}
.card {
  border: 1px solid rgba(16, 35, 28, 0.08);
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 12px 32px rgba(16, 35, 28, 0.05);
}
.metric {
  border: 1px solid rgba(16, 35, 28, 0.08);
  background: white;
  border-radius: 1.25rem;
  padding: 1.1rem;
}
.muted {
  color: rgba(16, 35, 28, 0.58);
}
.kicker {
  font-size: 0.72rem;
  line-height: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: #2d6a4f;
}
.progress-track {
  height: 0.5rem;
  border-radius: 999px;
  background: #edf1ee;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2d6a4f, #79b791);
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  padding: 0.8rem 0.9rem;
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(16, 35, 28, 0.48);
  border-bottom: 1px solid rgba(16, 35, 28, 0.08);
}
td {
  padding: 0.9rem;
  border-bottom: 1px solid rgba(16, 35, 28, 0.07);
  font-size: 0.88rem;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(5, 18, 13, 0.45);
  backdrop-filter: blur(5px);
  padding: 1rem;
}
.modal {
  width: min(760px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 1.75rem;
  background: white;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2);
}
.input {
  width: 100%;
  border: 1px solid rgba(16, 35, 28, 0.14);
  background: white;
  border-radius: 0.9rem;
  padding: 0.7rem 0.8rem;
  outline: none;
}
.input:focus {
  border-color: #2d6a4f;
  box-shadow: 0 0 0 4px #dff3e8;
}
.timeline-line {
  position: relative;
}
.timeline-line:before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: -1rem;
  left: 0.45rem;
  width: 2px;
  background: #dbe7df;
}
.timeline-line:last-child:before {
  display: none;
}
.dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: #2d6a4f;
  box-shadow: 0 0 0 4px #dff3e8;
}
@media (max-width: 700px) {
  .desktop-table thead {
    display: none;
  }
  .desktop-table,
  .desktop-table tbody,
  .desktop-table tr,
  .desktop-table td {
    display: block;
    width: 100%;
  }
  .desktop-table tr {
    padding: 0.6rem;
    border-bottom: 1px solid rgba(16, 35, 28, 0.08);
  }
  .desktop-table td {
    border: 0;
    padding: 0.35rem 0.4rem;
  }
}
