:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #111418;
  color: #eef2f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #111418;
}

a {
  color: #8bd3ff;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  border-bottom: 1px solid #29313a;
}

.brand {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 16px;
}

nav a {
  color: #c8d1dc;
  text-decoration: none;
}

.page {
  width: min(980px, calc(100vw - 32px));
  margin: 42px auto;
}

section {
  margin: 0 0 34px;
}

.panel {
  max-width: 520px;
}

h1 {
  margin: 0 0 22px;
  font-size: 34px;
  line-height: 1.15;
}

h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

form {
  display: grid;
  gap: 14px;
}

form.inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

label {
  display: grid;
  gap: 6px;
  color: #d7dee7;
  font-size: 14px;
}

input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #3b4653;
  border-radius: 6px;
  padding: 9px 11px;
  background: #1b2128;
  color: #f5f7fa;
  font: inherit;
}

button {
  width: fit-content;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 9px 14px;
  background: #3da4e3;
  color: #071016;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button.secondary {
  background: #2d3742;
  color: #e8edf2;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #171c22;
}

th,
td {
  border-bottom: 1px solid #2a333d;
  padding: 11px;
  text-align: left;
  vertical-align: middle;
}

th {
  color: #aeb8c4;
  font-size: 13px;
  font-weight: 600;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

pre {
  overflow-x: auto;
  padding: 14px;
  border-radius: 6px;
  background: #171c22;
}

.error {
  color: #ffb2b2;
}

.notice {
  color: #b5e7c7;
}

.muted {
  color: #aab4c0;
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  th {
    display: none;
  }

  td {
    padding: 10px 0;
  }
}
