:root {
  font:
    14px/1.48 'Inter',
    Arial,
    sans-serif;
  color: #162d28;
  background: #f5f7f4;
  --green: #17654f;
  --ink: #172f28;
  --muted: #617169;
  --line: #dde4dd;
  --accent: #bfe68b;
  --nav: #102f28;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button,
a.btn {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #70ae98;
  outline-offset: 2px;
}
a {
  color: var(--green);
}
svg {
  vertical-align: middle;
}
.ico {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
#sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  background: var(--nav);
  color: #d7e4da;
  display: flex;
  flex-direction: column;
  padding: 28px 16px 16px;
  z-index: 4;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 10px 31px;
  color: #fff;
  font-size: 28px;
  letter-spacing: -1.9px;
  font-weight: 680;
}
.brand b {
  font-weight: 400;
  color: #bbdf9e;
  font-size: 17px;
  letter-spacing: -0.7px;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 33px;
  transform: skew(-11deg);
  color: #caeda5;
}
.mark i {
  width: 5px;
  background: currentColor;
  border-radius: 4px;
  height: 45%;
}
.mark i:nth-child(2) {
  height: 90%;
}
.mark i:nth-child(3) {
  height: 66%;
}
.mark i:nth-child(4) {
  height: 100%;
}
.project {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1c3b32;
  border: 1px solid #365044;
  border-radius: 9px;
  padding: 12px;
  color: #f0f6ed;
}
.project small,
.user small {
  display: block;
  color: #afc6b8;
  font-size: 11px;
}
.project strong,
.user strong {
  font-size: 13px;
}
.project > span:first-child,
.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #c6e6ab;
  color: #214533;
  font-weight: 700;
  border-radius: 8px;
}
.navlabel {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: bold;
  color: #94b09f;
  margin: 29px 12px 8px;
}
.navitem {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  color: #ccdbd1;
  padding: 11px 13px;
  border-radius: 7px;
  margin: 2px 0;
  font-weight: 500;
}
.navitem:hover {
  background: #234638;
}
.navitem.active {
  color: #173c2e;
  background: #c8e6ad;
  font-weight: 650;
}
.navbottom {
  margin-top: auto;
  padding-top: 20px;
}
.user {
  border-top: 1px solid #355046;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  color: #fff;
  padding: 17px 5px 1px;
  width: 100%;
}
.user .avatar {
  border-radius: 50%;
  background: #365446;
  color: #cde6b9;
}
.user .ico {
  margin-left: auto;
}
#main {
  margin-left: 238px;
}
#bar {
  height: 65px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  padding: 0 clamp(20px, 3vw, 50px);
  border-bottom: 1px solid var(--line);
  background: #fbfcfa;
  color: #627067;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.crumb strong {
  color: var(--ink);
}
#page {
  max-width: 1640px;
  margin: auto;
  padding: 30px clamp(20px, 3vw, 50px) 50px;
}
.intro,
.row,
.cardhead,
.actions,
.legend {
  display: flex;
  align-items: center;
  gap: 12px;
}
.intro,
.row,
.cardhead {
  justify-content: space-between;
}
.intro {
  margin-bottom: 22px;
}
.intro h1 {
  font-size: clamp(29px, 3vw, 41px);
  line-height: 1.2;
  letter-spacing: -1.8px;
  margin: 2px 0 6px;
}
.sub,
.muted {
  color: var(--muted);
}
.sub {
  margin: 0;
}
.small,
small {
  font-size: 12px;
}
.btn,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 600;
  border-radius: 7px;
  padding: 9px 13px;
  font-size: 13px;
  text-decoration: none;
}
.btn,
.secondary {
  background: #fff;
  border: 1px solid #cfd9d0;
}
.primary {
  background: #195c47;
  color: white;
  border: 1px solid #195c47;
}
.btn:hover,
.secondary:hover {
  background: #f0f5ed;
}
.primary:hover {
  background: #124934;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
  padding: 2px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 17px;
}
.card,
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.metric {
  padding: 19px 21px;
}
.metric-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #4e6357;
}
.tile-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #e8f2e1;
  color: #3e674d;
  border-radius: 9px;
}
.metric:nth-child(2) .tile-icon {
  background: #e1f1ea;
  color: #26745c;
}
.metric:nth-child(3) .tile-icon {
  background: #f7eedc;
  color: #947428;
}
.metric strong {
  display: block;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -1.6px;
  margin: 14px 0 5px;
  font-variant-numeric: tabular-nums;
}
.metric small {
  color: var(--muted);
}
.panels {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(255px, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.card {
  padding: 21px 23px;
  min-width: 0;
}
.card h2,
.card h3 {
  margin: 0;
  letter-spacing: -0.65px;
}
.card h2 {
  font-size: 19px;
}
.card h3 {
  font-size: 16px;
}
.legend {
  gap: 15px;
  color: var(--muted);
  font-size: 11px;
}
.legend i,
.dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 99px;
  background: #398466;
  margin-right: 5px;
}
.legend span:nth-child(2) i {
  background: #b9d894;
}
.graph {
  display: block;
  width: 100%;
  height: auto;
  min-height: 165px;
  margin: 12px 0 0;
  overflow: visible;
}
.graph text {
  font: 11px Arial;
  fill: #6f7a70;
}
.insight {
  background: #174736;
  color: #f4faef;
  border-color: #174736;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.insight .eyebrow {
  color: #c4e4b0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.45px;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
}
.insight h2 {
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.9px;
  margin: 12px 0 0;
}
.insight .bigdelta {
  font-size: 42px;
  line-height: 1.1;
  color: #d2f3a3;
  letter-spacing: -2px;
  font-weight: 650;
  margin: 12px 0 5px;
}
.insight .link {
  color: #dcf4c4;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid #47715d;
  padding: 12px 0 0;
  margin-top: 16px;
}
.insight small {
  color: #c5d8c9;
}
.tablewrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  font-size: 11px;
  letter-spacing: 0.35px;
  color: var(--muted);
  font-weight: 550;
}
td,
th {
  padding: 13px 8px;
  border-bottom: 1px solid #e6eae4;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td:first-child,
th:first-child {
  padding-left: 0;
}
.clickrow {
  cursor: pointer;
}
.clickrow:hover {
  background: #f5f9f1;
}
.path {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.step {
  background: #f0f4ed;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 12px;
  color: #365540;
}
.delta,
.pill {
  display: inline-flex;
  color: #296247;
  background: #ecf4e4;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.section {
  margin: 19px 0;
}
.split {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stack {
  display: grid;
  gap: 14px;
}
.cardhead {
  margin-bottom: 14px;
}
.actions {
  flex-wrap: wrap;
}
.tagline {
  color: #a5bbac;
  margin: 18px 9px 11px;
  font-size: 11px;
  letter-spacing: 0.1px;
}
label.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-weight: 600;
  font-size: 12px;
}
input:not([type='checkbox']):not([type='radio']),
select,
textarea {
  background: #fff;
  border: 1px solid #c9d5cb;
  border-radius: 7px;
  padding: 9px 10px;
  max-width: 100%;
  min-width: 0;
}
textarea {
  min-height: 85px;
  resize: vertical;
}
.gridform {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.full {
  grid-column: 1/-1;
}
.check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
dialog {
  border: 1px solid var(--line);
  width: min(590px, 94vw);
  padding: 24px;
  border-radius: 15px;
  color: var(--ink);
  max-height: 90vh;
}
dialog::backdrop {
  background: #11291f66;
}
dialog h2 {
  margin: 0;
  font-size: 22px;
}
.modalfoot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}
.error {
  color: #983e32;
}
.empty {
  color: var(--muted);
  padding: 20px 0;
}
.notice {
  padding: 10px 12px;
  border-radius: 7px;
  background: #eff5e8;
}
.menu {
  display: none;
}
#toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1c4434;
  color: white;
  border-radius: 8px;
  padding: 12px 18px;
  z-index: 8;
}
.rows {
  display: grid;
  gap: 10px;
}
.listrow {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 12px 0 0;
}
.login {
  max-width: 420px;
  margin: 7vh auto;
}
.login .field {
  margin: 16px 0;
}
.signin #sidebar,
.signin #bar {
  display: none;
}
.signin #main {
  margin: 0;
}
.signin .brand {
  color: #1b4938;
  margin: 0 0 18px;
}
.signin .mark {
  color: #4e875c;
}
.card p {
  margin: 6px 0 12px;
}
code,
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
pre {
  background: #f2f5ef;
  padding: 12px;
  border-radius: 8px;
  font-size: 12px;
}
.health {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}
.right {
  margin-left: auto;
}
.tabset {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.tabset button {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 10px;
}
.tabset .selected {
  background: #e7f1df;
  border-color: #bbd7ab;
}
.bars {
  display: flex;
  gap: 18px;
}
.bars b {
  font-size: 24px;
}
.barline {
  background: #e6eee0;
  width: 110px;
  height: 5px;
  border-radius: 5px;
  overflow: hidden;
}
.barline i {
  display: block;
  background: #477c50;
  height: 100%;
}
@media (max-width: 1100px) {
  #sidebar {
    width: 205px;
  }
  #main {
    margin-left: 205px;
  }
  .card,
  .metric {
    padding: 17px;
  }
  .panels {
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 1fr);
  }
}
@media (max-width: 820px) {
  #sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .open #sidebar {
    transform: none;
  }
  .menu {
    display: inline-flex;
  }
  #main {
    margin: 0;
  }
  .intro {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .panels {
    grid-template-columns: 1fr;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 13px;
  }
  .metric-header {
    gap: 5px;
    font-size: 12px;
  }
  .metric strong {
    font-size: 29px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .graph {
    max-height: 280px;
  }
}
@media (max-width: 520px) {
  #page {
    padding: 18px 12px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metric:last-child {
    grid-column: 1/-1;
  }
  .gridform {
    grid-template-columns: 1fr;
  }
  .health {
    display: none;
  }
  .intro h1 {
    font-size: 30px;
  }
  .cardhead {
    align-items: flex-start;
  }
  .legend {
    gap: 8px;
  }
  .card {
    padding: 15px;
  }
  .crumb {
    gap: 6px;
  }
}
