:root {
  color-scheme: light;
  --ink: #172334;
  --muted: #68778a;
  --border: #e3e9f0;
  --blue: #365bd6;
  --surface: #f6f8fb;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font:
    14px/1.6 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input {
  font: inherit;
}
:focus-visible {
  outline: 3px solid #819deb;
  outline-offset: 3px;
}
.sidebar {
  width: 246px;
  height: 100dvh;
  background: white;
  border-right: 1px solid var(--border);
  padding: 30px 18px;
  position: fixed;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-weight: 750;
  flex-wrap: wrap;
  padding: 0 8px;
}
.brand small {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
.brand-mark {
  background: var(--blue);
  color: white;
  width: 33px;
  height: 33px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  font-weight: 800;
  font-size: 18px;
}
.nav-label,
.eyebrow {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.nav-label {
  margin: 42px 14px 12px;
}
nav {
  display: grid;
  gap: 5px;
}
nav a {
  display: flex;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 9px;
  color: #59677b;
  font-weight: 550;
}
nav a span {
  width: 20px;
  text-align: center;
}
nav a[aria-current] {
  background: #eef2fd;
  color: var(--blue);
}
nav a:hover {
  background: var(--surface);
  text-decoration: none;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 24px 10px 0;
  color: var(--muted);
  font-size: 11px;
}
.status-dot {
  background: #4c9b7f;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}
main {
  margin-left: 246px;
  padding: 40px 44px;
  max-width: 1700px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
h1 {
  font-size: 30px;
  font-weight: 650;
  margin: 5px 0;
  letter-spacing: -0.8px;
}
h2 {
  font-size: 17px;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}
h3 {
  font-size: 14px;
}
p {
  color: var(--muted);
  margin: 8px 0 18px;
}
.intro {
  margin-bottom: 28px;
}
small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
strong {
  font-weight: 600;
}
.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 4px #20304903;
  min-width: 0;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.metric {
  display: flex;
  flex-direction: column;
  min-height: 150px;
}
.metric > span {
  color: var(--muted);
  font-size: 12px;
}
.metric > strong {
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: -1px;
  margin: 6px 0;
}
.metric > strong.unavailable {
  font-size: 20px;
  letter-spacing: -0.3px;
  margin: 16px 0;
}
.metric small {
  margin-top: auto;
}
.two-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.card-heading,
.account-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.card-heading a {
  font-size: 11px;
  white-space: nowrap;
}
.badge {
  display: inline-block;
  border-radius: 20px;
  padding: 4px 10px;
  background: #f1f3f6;
  color: #667083;
  font-size: 11px;
  white-space: nowrap;
  margin: 2px;
}
.badge.blue {
  color: #365bd6;
  background: #edf2ff;
}
.status-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid #eff2f6;
  color: inherit;
}
.status-row:last-child {
  border-bottom: 0;
}
.status-row > span:last-child {
  text-align: right;
}
.note {
  margin: 16px 0;
  background: #f3f6fb;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 15px;
  color: var(--muted);
  font-size: 12px;
}
.success {
  background: #edf8f2;
  color: #2b7555;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  color: #8a94a3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  font-size: 10px;
  text-align: left;
  background: #fafbfd;
}
th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid #eff2f6;
  vertical-align: top;
}
td {
  overflow-wrap: anywhere;
  max-width: 350px;
}
tr:last-child td {
  border: 0;
}
.mono {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.empty {
  padding: 42px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
button,
.button {
  display: inline-block;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
button:hover,
.button:hover {
  background: #2c3f5b;
  text-decoration: none;
}
.subtle {
  background: transparent;
  color: var(--muted);
  padding: 10px 0;
}
.subtle:hover {
  background: transparent;
  color: var(--ink);
}
input {
  display: block;
  width: 100%;
  border: 1px solid #d8e0e9;
  background: white;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  min-width: 0;
  font-size: 13px;
}
input::placeholder {
  color: #929dac;
}
label {
  font-size: 12px;
  font-weight: 550;
}
label input {
  margin-top: 6px;
}
.stack {
  display: grid;
  gap: 18px;
}
.search {
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 24px;
}
.inline-form {
  display: flex;
  align-items: end;
  gap: 16px;
}
.inline-form label {
  flex: 1;
}
.narrow {
  max-width: 680px;
}
.danger-zone {
  border-color: #efd9d9;
}
.danger {
  background: #a43b3b;
}
.pagination {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding: 20px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.algorithm {
  border-bottom: 1px solid var(--border);
}
.algorithm:last-child {
  border-bottom: 0;
}
.algorithm summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
}
.algorithm summary::after {
  content: '+';
  color: var(--muted);
}
.algorithm[open] summary::after {
  content: '−';
}
.algorithm summary > div:first-child {
  flex: 1;
}
.algorithm-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 18px;
}
.algorithm-body {
  padding: 4px 16px 24px;
}
.standalone {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  max-width: none;
}
.login-card {
  width: 100%;
  max-width: 430px;
  padding: 40px;
}
.login-card .brand-mark {
  margin-bottom: 30px;
}
.login-card h1 {
  font-size: 26px;
}
.login-card p {
  margin-bottom: 25px;
}
.caption {
  font-size: 11px;
  margin-top: 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 1200px) {
  main {
    padding: 30px 24px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    width: auto;
    height: auto;
    padding: 18px;
  }
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow-x: auto;
    margin-top: 16px;
  }
  nav a {
    white-space: nowrap;
    padding: 8px 12px;
  }
  nav a span {
    display: none;
  }
  main {
    margin: 0;
    padding: 24px 16px;
  }
  h1 {
    font-size: 26px;
  }
  .card {
    padding: 18px;
  }
  .metric-grid {
    gap: 10px;
  }
  .metric > strong {
    font-size: 30px;
  }
  .algorithm-meta {
    display: block;
    text-align: right;
  }
  .algorithm-meta > span {
    display: block;
  }
  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }
  .status-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .link-grid {
    grid-template-columns: 1fr;
  }
}
