:root {
  color-scheme: light dark;
  font-family: system-ui, sans-serif;
  background: #f4f8fb;
  color: #101820;
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 900px;
  margin: auto;
  padding: 32px 20px 64px;
}
header {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
header img {
  width: 194px;
  height: auto;
}
.logo-dark {
  display: none;
}
a {
  color: #126386;
  text-underline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
pre:focus-visible {
  outline: 2px solid #101820;
  box-shadow: 0 0 0 5px #3cb4e5;
  outline-offset: 4px;
}
h1 {
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  line-height: 1.15;
}
h2 {
  margin-top: 32px;
  font-size: 1.3rem;
}
.surface {
  background: #fff;
  border: 1px solid #bacbd6;
  border-radius: 18px;
  padding: 24px;
  margin: 24px 0;
}
.notice {
  padding: 16px;
  border-left: 4px solid #3cb4e5;
  background: #e3f3fc;
}
.fixture {
  border-left-color: #af6500;
  background: #fff0d6;
  color: #382400;
}
label {
  display: block;
  font-weight: 650;
}
input,
button {
  font: inherit;
  padding: 12px;
  border-radius: 9px;
  border: 1px solid #657886;
}
input {
  width: 100%;
  max-width: 320px;
  margin: 8px 12px 12px 0;
  background: #fff;
  color: #101820;
}
button {
  background: #3cb4e5;
  color: #101820;
  font-weight: 700;
  cursor: pointer;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #eaf0f4;
  padding: 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  max-height: 65vh;
  overflow: auto;
}
code {
  overflow-wrap: anywhere;
}
dl {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr);
  gap: 8px 20px;
}
dt {
  color: #323e48;
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.muted {
  color: #415461;
}
footer {
  margin-top: 40px;
  font-size: 0.9rem;
}
.state {
  font-weight: 700;
}
li {
  margin-bottom: 8px;
}
@media (prefers-color-scheme: dark) {
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  pre:focus-visible {
    outline-color: #fff;
  }
  :root {
    background: #101820;
    color: #f4f8fb;
  }
  .surface {
    background: #1b2934;
    border-color: #536572;
  }
  .notice {
    background: #183748;
  }
  .fixture {
    background: #43351c;
    color: #fff0d6;
  }
  a {
    color: #71c9f0;
  }
  input {
    background: #101820;
    color: #fff;
  }
  pre {
    background: #17252f;
  }
  dt,
  .muted {
    color: #c1cfdb;
  }
  .logo-light {
    display: none;
  }
  .logo-dark {
    display: block;
  }
}
@media (max-width: 480px) {
  main {
    padding: 24px 16px;
  }
  .surface {
    padding: 18px;
  }
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  dl {
    grid-template-columns: 1fr;
  }
  dd {
    margin-bottom: 10px;
  }
}

.table-scroll {
  overflow: auto;
  max-width: 100%;
  margin: 16px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.85rem;
}
th,
td {
  padding: 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #657886;
}
th {
  white-space: nowrap;
}
.table-scroll:focus-visible,
summary:focus-visible {
  outline: 3px solid #3cb4e5;
  outline-offset: 3px;
}
summary {
  cursor: pointer;
}

.result-link {
  max-width: 100%;
}
button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}
