:root {
  --ink: #162b35;
  --muted: #667c83;
  --teal: #007e80;
  --lime: #d9f59a;
  --line: #dce6e7;
  --paper: #fff;
  --bg: #f5f8f8;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  display: grid;
  grid-template-columns: 244px 1fr;
  min-height: 100vh;
}
a {
  color: var(--teal);
  text-underline-offset: 3px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 650;
  padding: 12px 18px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.secondary {
  background: #eaf0f1;
  color: var(--ink);
}
aside {
  background: var(--paper);
  border-right: 1px solid var(--line);
  padding: 34px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -2px;
  text-decoration: none;
  color: var(--ink);
  padding-left: 13px;
}
.brand span {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  margin-top: 5px;
  color: var(--teal);
}
.nav-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 48px 12px 18px;
}
nav {
  display: grid;
  gap: 6px;
}
nav a {
  color: #59717a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  padding: 14px 12px;
  border-radius: 8px;
}
nav a:hover,
nav a.active {
  background: #e5f3ef;
  color: #00675f;
}
nav a.active {
  box-shadow: inset 3px 0 0 var(--teal);
}
.aside-bottom {
  margin-top: auto;
  padding: 20px 12px 0;
  font-size: 12px;
}
.aside-bottom p {
  color: var(--muted);
  line-height: 1.6;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 6px;
}
main {
  padding: 0 5vw 60px;
  min-width: 0;
}
header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
  gap: 20px;
}
header > span,
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 750;
  color: var(--muted);
}
#identity {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 14px;
  align-items: center;
}
#identity button {
  font-size: 11px;
  padding: 8px 10px;
}
h1 {
  font-size: clamp(28px, 3vw, 43px);
  letter-spacing: -1.5px;
  line-height: 1.14;
  margin: 12px 0 16px;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}
h3 {
  font-size: 16px;
  margin: 0 0 10px;
}
p {
  line-height: 1.7;
  margin: 12px 0;
}
.intro {
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 30px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  margin: 20px 0;
}
.accent {
  background: #e8f4ef;
  border-color: #c8e3d6;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid .card {
  margin: 0;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.spread {
  justify-content: space-between;
}
.muted,
small {
  color: var(--muted);
}
.pill {
  display: inline-block;
  font-size: 11px;
  padding: 6px 9px;
  border-radius: 6px;
  background: #edf4f3;
  color: #367063;
  font-weight: 650;
}
.search {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}
.search input {
  flex: 1;
  min-width: 0;
}
input,
textarea,
select {
  border: 1px solid #cddbdd;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  max-width: 100%;
}
textarea {
  width: 100%;
  min-height: 170px;
  resize: vertical;
}
label {
  display: block;
  font-weight: 650;
  font-size: 13px;
  margin: 20px 0 9px;
}
label.check {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
}
label.check input {
  accent-color: var(--teal);
}
.empty {
  padding: 42px 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed #cbdada;
  border-radius: 12px;
  margin-top: 20px;
}
.empty h2 {
  color: var(--ink);
}
.list-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.list-row p {
  font-size: 13px;
  margin: 6px 0 0;
}
.list-row h3 {
  margin: 8px 0;
}
.list-row button {
  white-space: nowrap;
}
.number {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lime);
  color: #3b581b;
  font-size: 13px;
  font-weight: 750;
  margin-bottom: 18px;
}
.flow {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 28px 0;
}
.flow > div {
  flex: 1;
  min-width: 145px;
  border-radius: 10px;
  background: #e7f2ef;
  padding: 20px;
}
.flow > span {
  align-self: center;
  color: var(--teal);
}
.flow small {
  display: block;
  margin-top: 10px;
  line-height: 1.6;
}
#notice {
  background: #fff4e8;
  border: 1px solid #f0d7b9;
  border-radius: 9px;
  margin-bottom: 20px;
  padding: 16px;
  line-height: 1.6;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    13px/1.7 ui-monospace,
    SFMono-Regular,
    monospace;
  background: #f2f6f6;
  padding: 20px;
  border-radius: 10px;
}
code {
  overflow-wrap: anywhere;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  width: min(800px, 94vw);
  max-height: 85vh;
  padding: 30px;
  color: var(--ink);
}
dialog::backdrop {
  background: #152c3466;
}
#close-detail {
  float: right;
}
.source-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
  clear: both;
  padding-top: 16px;
}
details {
  margin: 20px 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
ol {
  padding-left: 24px;
}
li {
  line-height: 1.8;
  margin-bottom: 15px;
}
.login {
  max-width: 680px;
  margin: 70px auto;
}
.login h1 {
  font-size: 48px;
}
.login button {
  margin-top: 20px;
}
.login .eyebrow {
  color: var(--teal);
}
.token {
  border: 1px solid #cbdcb8;
  background: #f4faeb;
}
.token textarea {
  font-family: monospace;
  min-height: 80px;
}
.pagination {
  margin: 24px 0;
}
@media (max-width: 950px) {
  body {
    grid-template-columns: 190px 1fr;
  }
  aside {
    padding: 24px 12px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .flow > span {
    display: none;
  }
  main {
    padding: 0 24px 40px;
  }
  .brand {
    font-size: 36px;
  }
  .nav-label {
    font-size: 9px;
  }
  .list-row {
    align-items: flex-start;
  }
}
@media (max-width: 650px) {
  body {
    display: block;
  }
  aside {
    position: static;
    height: auto;
    padding: 18px;
  }
  .brand {
    font-size: 26px;
  }
  .brand span {
    display: inline;
    margin-left: 15px;
  }
  .nav-label,
  .aside-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
    margin-top: 18px;
  }
  nav a {
    white-space: nowrap;
    padding: 10px;
    font-size: 11px;
  }
  header {
    height: 75px;
    margin-bottom: 30px;
  }
  header > span {
    display: none;
  }
  .login h1 {
    font-size: 36px;
  }
  .card {
    padding: 22px;
  }
  .list-row {
    display: block;
  }
  .list-row button {
    margin-top: 15px;
  }
  .search {
    flex-wrap: wrap;
  }
  .flow {
    display: grid;
    grid-template-columns: 1fr;
  }
  h1 {
    letter-spacing: -1px;
  }
}
