:root {
  --forest: #163e32;
  --ink: #17251f;
  --muted: #68766f;
  --line: #dce4dc;
  --paper: #fafbf8;
  --mint: #e8f0e6;
  --white: #fff;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: white;
  border-radius: 7px;
  padding: 12px 18px;
  font-weight: 550;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:hover {
  filter: brightness(1.13);
}
button.secondary {
  background: white;
  color: var(--forest);
  border-color: var(--line);
}
button.danger {
  background: #fff;
  color: #a62a2a;
  border-color: #e8c7c7;
}
button.small {
  padding: 7px 10px;
  font-size: 13px;
}
.text-button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 7px;
  font-size: 13px;
}
a {
  color: var(--forest);
}
.brand {
  text-decoration: none;
  font-size: 23px;
  letter-spacing: 3px;
  font-weight: 750;
  white-space: nowrap;
}
.brand span {
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
  border-left: 1px solid var(--line);
  margin-left: 19px;
  padding-left: 19px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 18px;
}
h1 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.12;
  margin: 0 0 16px;
}
h2 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
}
p {
  line-height: 1.65;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.login {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 95% 0, #dce9d7 0, transparent 52%), var(--paper);
  padding: 45px 6vw;
  display: flex;
  flex-direction: column;
}
.login-card {
  max-width: 440px;
  width: 100%;
  margin: 12vh auto 60px;
}
.login-card .muted {
  margin-bottom: 36px;
}
.login label {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}
input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 12px;
  width: 100%;
  color: var(--ink);
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--forest);
}
.login form > button,
.login #accept > button {
  width: 100%;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
}
.login footer {
  margin-top: auto;
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}
#status {
  font-size: 14px;
}
header {
  height: 87px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  gap: 20px;
}
.account {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}
.workspace {
  max-width: 1600px;
  display: grid;
  grid-template-columns: 230px 1fr;
  margin: auto;
  min-height: calc(100vh - 87px);
}
aside {
  padding: 38px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
nav {
  display: grid;
  gap: 6px;
}
nav button {
  background: none;
  color: var(--muted);
  border: 0;
  text-align: left;
  padding: 12px 15px;
  font-size: 14px;
}
nav button.selected {
  background: var(--mint);
  color: var(--forest);
}
.sidebar-note {
  margin-top: auto;
  padding: 80px 15px 30px;
  font-size: 18px;
  line-height: 1.5;
  color: #91a094;
}
main#content {
  padding: 45px 50px;
  min-width: 0;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.page-head h1 {
  font-size: 34px;
}
.page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.card,
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
}
.card .value {
  font-size: 28px;
  letter-spacing: -1px;
}
.card .label {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 16px;
}
.panel {
  margin-bottom: 22px;
}
.panel p {
  font-size: 14px;
  color: var(--muted);
}
.steps {
  display: grid;
  gap: 18px;
  margin: 25px 0;
}
.step {
  display: flex;
  align-items: center;
  gap: 15px;
}
.step .number {
  background: var(--mint);
  color: var(--forest);
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.step p {
  margin: 0;
}
.row {
  display: flex;
  gap: 15px;
  align-items: center;
}
.row > * {
  min-width: 0;
}
.row > input,
.row > select {
  flex: 1;
}
label {
  display: block;
  font-size: 13px;
  margin-bottom: 7px;
}
.field {
  margin-bottom: 16px;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 15px 0;
}
.checks label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}
.checks input {
  width: auto;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 15px 12px;
  vertical-align: middle;
}
th {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
}
td:first-child,
th:first-child {
  padding-left: 0;
}
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 11px;
  background: var(--mint);
  color: var(--forest);
}
.badge.off {
  background: #f5e8e6;
  color: #964636;
}
code,
pre {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}
code {
  background: #edf1ec;
  border-radius: 3px;
  padding: 3px 6px;
}
pre {
  padding: 20px;
  border-radius: 8px;
  background: #162b22;
  color: #d9e9df;
  overflow: auto;
  line-height: 1.7;
}
code.path {
  white-space: nowrap;
}
.method {
  color: #28714f;
  font-weight: 700;
  font-size: 11px;
  margin-right: 14px;
}
.endpoint {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.endpoint:last-child {
  border: 0;
}
.endpoint p {
  margin: 10px 0 0;
}
.empty {
  padding: 40px 10px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.listing-grid h3 {
  line-height: 1.4;
}
.listing-grid code {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.listing-grid .panel {
  margin: 0;
}
.check-list {
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 7px;
}
.check-list label {
  display: flex;
  gap: 10px;
  align-items: start;
  padding: 6px 0;
}
.check-list input {
  width: auto;
  margin: 3px 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.notice {
  padding: 14px 18px;
  border-radius: 7px;
  background: var(--mint);
  font-size: 13px;
  line-height: 1.6;
}
#toast:not(:empty) {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 24px;
  background: var(--forest);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 40px #1233;
  max-width: 90vw;
  font-size: 14px;
  z-index: 10;
}
dialog {
  max-width: 540px;
  width: calc(100% - 36px);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
dialog::backdrop {
  background: #17251f66;
  backdrop-filter: blur(3px);
}
dialog .close {
  float: right;
  font-size: 22px;
}
dialog textarea {
  height: 105px;
  font-family: monospace;
  font-size: 13px;
  resize: none;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  header {
    padding: 0 20px;
  }
  .account {
    gap: 5px;
  }
  .account span {
    display: none;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  aside {
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  aside .eyebrow,
  .sidebar-note {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
  }
  nav button {
    white-space: nowrap;
  }
  main#content {
    padding: 28px 20px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .form-grid,
  .listing-grid {
    grid-template-columns: 1fr;
  }
  .page-head {
    align-items: start;
  }
  .page-head h1 {
    font-size: 30px;
  }
  .brand {
    font-size: 19px;
  }
  .brand span {
    margin-left: 12px;
    padding-left: 12px;
  }
}
