:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #20352d;
  background: #f4f6f2;
  font-size: 14px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  border: 1px solid #d4ddd5;
  background: white;
  color: #284e3d;
  padding: 9px 14px;
  border-radius: 7px;
  cursor: pointer;
}
button:hover {
  background: #eaf0e9;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #c6a860;
}
button.primary {
  background: #24513d;
  color: white;
  border-color: #24513d;
}
.danger {
  color: #9a3930;
  border-color: #dfb5ad;
  background: #fff8f4;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  background: #123f30;
  color: #c3d6ca;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  background: #e4e9b9;
  color: #123f30;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  margin: 44px 12px 13px;
  color: #91b29e;
}
nav {
  display: grid;
  gap: 7px;
}
nav a {
  color: #c4d8cb;
  text-decoration: none;
  padding: 11px 13px;
  border-radius: 7px;
}
nav a.active,
nav a:hover {
  background: #2a5544;
  color: white;
}
.aside-bottom {
  margin-top: auto;
  font-size: 11px;
  color: #b4c9ba;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bbd18c;
  margin-right: 6px;
}
.shell {
  margin-left: 238px;
}
header {
  height: 80px;
  padding: 0 38px;
  border-bottom: 1px solid #dce3db;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafbf8;
}
header div {
  display: flex;
  gap: 8px;
}
#breadcrumb {
  color: #64776b;
}
main {
  padding: 36px 38px;
  max-width: 1450px;
  margin: auto;
  min-height: 75vh;
}
h1 {
  font-weight: 550;
  letter-spacing: -1.4px;
  font-size: 35px;
  margin: 0 0 6px;
}
h2 {
  font-weight: 550;
  font-size: 19px;
  margin: 0 0 16px;
}
h3 {
  font-size: 15px;
}
.subtitle {
  color: #708074;
  margin: 0 0 28px;
}
.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.title-row p {
  margin: 0;
  color: #708074;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 25px 0;
}
.metric,
.panel {
  background: #fff;
  border: 1px solid #dce3d9;
  border-radius: 12px;
  padding: 22px;
}
.metric .label {
  color: #6b7c70;
  font-size: 12px;
}
.metric strong {
  display: block;
  font-size: 32px;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 8px 0;
}
.metric small {
  color: #8b998d;
}
.split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}
.panel {
  margin-bottom: 20px;
}
.hero {
  background: #e7ecdc;
  border-color: #d9e2cd;
  padding: 26px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.hero h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}
.hero p {
  color: #66765e;
  max-width: 600px;
}
.tag {
  display: inline-block;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 11px;
  background: #eaf1e7;
  color: #326342;
  white-space: nowrap;
}
.tag.warn {
  background: #fcf0db;
  color: #8b6426;
}
.tag.muted {
  background: #edf0ed;
  color: #748176;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #89958a;
  font-weight: 500;
  padding: 12px 9px;
  border-bottom: 1px solid #e8ece5;
}
td {
  padding: 14px 9px;
  border-bottom: 1px solid #edf0e9;
  vertical-align: top;
  font-size: 13px;
}
td button {
  padding: 4px 8px;
  font-size: 11px;
  margin: 2px;
}
td small {
  display: block;
  color: #7e8c80;
}
.table-wrap {
  overflow-x: auto;
}
.empty {
  padding: 30px;
  text-align: center;
  color: #859180;
}
.toolbar {
  display: flex;
  gap: 12px;
  margin: 18px 0;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccd8cc;
  border-radius: 6px;
  padding: 10px;
  background: #fff;
  color: #243e2f;
}
textarea {
  min-height: 95px;
  resize: vertical;
}
label {
  display: block;
  font-size: 12px;
  color: #607563;
  margin: 14px 0 5px;
}
input[type="checkbox"] {
  width: auto;
  margin-right: 7px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 25px;
}
dialog {
  width: min(760px, 95vw);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid #cfdbcd;
  border-radius: 14px;
  padding: 28px;
  color: #20352d;
}
dialog::backdrop {
  background: #15352780;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  background: #f4f6f1;
  border-radius: 7px;
  padding: 16px;
  max-height: 380px;
  overflow: auto;
}
.notice {
  padding: 12px 38px;
  background: #f4e8ca;
  color: #795f27;
}
.notice.error {
  background: #fae4de;
  color: #9a3930;
}
.notice.good {
  background: #e4eddc;
  color: #365b36;
}
footer {
  padding: 20px 38px;
  border-top: 1px solid #dce3db;
  color: #839181;
  font-size: 11px;
}
.timeline {
  border-left: 2px solid #e3e9dc;
  margin-left: 6px;
  padding-left: 18px;
}
.timeline p {
  margin: 16px 0;
}
.timeline small {
  color: #8d998d;
  display: block;
}
.message {
  background: #f2f5ee;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.message.out {
  background: #e7efdf;
}
.pill {
  font-size: 11px;
  border: 1px solid #cfd9c8;
  border-radius: 20px;
  padding: 5px 10px;
  color: #647656;
}
.cost {
  font-size: 12px;
  color: #71816f;
}
details {
  margin: 12px 0;
}
summary {
  cursor: pointer;
  color: #4f7359;
}
@media (max-width: 1000px) {
  aside {
    width: 195px;
    padding: 24px 16px;
  }
  .shell {
    margin-left: 195px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
  }
  main,
  header {
    padding: 24px;
  }
  .brand {
    font-size: 18px;
  }
}
@media (max-width: 700px) {
  aside {
    position: static;
    width: auto;
    padding: 14px 18px;
  }
  .brand {
    font-size: 20px;
  }
  nav {
    display: flex;
    overflow: auto;
    margin-top: 12px;
    gap: 4px;
  }
  nav a {
    white-space: nowrap;
    padding: 6px;
    font-size: 12px;
  }
  .eyebrow,
  .aside-bottom {
    display: none;
  }
  .shell {
    margin: 0;
  }
  header {
    height: auto;
    padding: 12px 16px;
    gap: 10px;
    flex-wrap: wrap;
  }
  header button {
    padding: 6px 8px;
    font-size: 11px;
  }
  main {
    padding: 22px 16px;
  }
  h1 {
    font-size: 29px;
  }
  .metric {
    padding: 16px;
  }
  .hero {
    display: block;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .title-row {
    align-items: start;
  }
  .panel {
    padding: 16px;
  }
  footer {
    padding: 15px;
  }
  .notice {
    padding: 12px 16px;
  }
}
