:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #e9edf2;
  background: #111820;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  border-bottom: 1px solid #2c3641;
  padding: 22px max(24px, calc((100vw - 1080px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header a {
  color: #eef4fa;
  text-decoration: none;
  font-size: 22px;
  font-weight: 750;
  white-space: nowrap;
}
header span {
  font-size: 13px;
  font-weight: 400;
  margin-left: 14px;
  color: #a6b2be;
}
main {
  max-width: 1080px;
  margin: 48px auto;
  padding: 0 24px;
}
h1 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -1px;
  margin: 10px 0 18px;
}
h2 {
  font-size: 22px;
}
p {
  line-height: 1.65;
  color: #b9c4ce;
  max-width: 760px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #7fd7c2;
  font-weight: 700;
}
.muted,
footer {
  font-size: 13px;
  color: #91a0ad;
}
nav {
  display: flex;
  gap: 10px;
  margin-bottom: 42px;
}
button {
  border: 1px solid #40515e;
  background: #253541;
  color: #f4f8fb;
  border-radius: 7px;
  padding: 11px 16px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
button:hover {
  background: #344a59;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.selected,
form button:last-of-type {
  background: #7fd7c2;
  color: #102520;
  border-color: #7fd7c2;
}
label {
  display: block;
  font-size: 13px;
  margin: 18px 0;
  color: #c9d3dc;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #3b4a57;
  border-radius: 6px;
  background: #18232d;
  color: #f5f8fa;
  padding: 12px;
  font: inherit;
}
textarea {
  min-height: 66px;
  font-family: monospace;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check input {
  width: auto;
  margin: 0;
}
details {
  border: 1px solid #34434f;
  border-radius: 9px;
  margin: 18px 0;
  padding: 20px 24px;
  background: #16212a;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  font-size: 14px;
}
form {
  max-width: 820px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.selector {
  border-bottom: 1px solid #33414c;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.selector h2 {
  margin-bottom: 0;
}
.selector-row {
  display: flex;
  gap: 12px;
  align-items: end;
}
.selector-row label {
  flex: 1;
}
.selector-row button {
  margin-bottom: 18px;
}
.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.badge {
  font-size: 12px;
  padding: 8px 12px;
  border: 1px solid #465762;
  border-radius: 20px;
}
.ok {
  color: #7fd7c2;
}
code {
  display: block;
  padding: 15px;
  background: #0c1218;
  overflow-wrap: anywhere;
  color: #7fd7c2;
  border-radius: 7px;
}
.actions {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  margin: 25px 0;
}
th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #35414c;
  vertical-align: top;
}
th {
  color: #92a5b4;
}
#message:not(:empty) {
  padding: 16px;
  border: 1px solid #7fd7c2;
  background: #1b3732;
  border-radius: 8px;
  margin-bottom: 24px;
  white-space: pre-wrap;
}
#message.error {
  border-color: #f49990;
  background: #422729;
}
#login-form {
  max-width: 450px;
}
footer {
  padding: 30px;
  text-align: center;
}
.audit-row {
  padding: 12px 0;
  border-bottom: 1px solid #35414c;
  font-size: 13px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 650px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .selector-row {
    display: block;
  }
  .actions {
    flex-direction: column;
  }
  header span {
    display: none;
  }
  main {
    margin-top: 28px;
  }
  details {
    padding: 18px;
  }
  nav button {
    padding: 10px;
    font-size: 12px;
  }
}
