body {
  max-width: 1200px;
  margin: auto;
  padding: 24px;
  background: #101827;
  color: #e4edf6;
  font:
    17px/1.6 system-ui,
    sans-serif;
}
header {
  padding: 28px 0;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
}
h2 {
  font-size: 1.35rem;
}
a {
  color: #8ddbd3;
}
section,
.panel {
  padding: 24px;
  border: 1px solid #33465c;
  border-radius: 18px;
  margin: 20px 0;
  background: #162236;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
label {
  display: block;
  margin: 12px 0;
}
input,
select,
textarea,
button {
  font: inherit;
  border-radius: 8px;
  padding: 10px;
  border: 1px solid #627b96;
  max-width: 100%;
  box-sizing: border-box;
}
input,
select,
textarea {
  background: #0b1423;
  color: #fff;
}
textarea {
  width: 100%;
  min-height: 180px;
}
button {
  background: #80e3cd;
  color: #112a2e;
  cursor: pointer;
  margin: 8px 8px 8px 0;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #0c1628;
  padding: 18px;
  border-radius: 10px;
}
svg {
  width: 100%;
  height: auto;
  max-height: 500px;
  background: #0c1628;
  border-radius: 12px;
}
.muted,
small {
  color: #b4c6da;
}
.badge {
  color: #7de1ca;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}
table {
  width: 100%;
  border-collapse: collapse;
}
td,
th {
  text-align: left;
  border-bottom: 1px solid #3d4c61;
  padding: 10px;
}
.scroll {
  overflow: auto;
}
.metric {
  font-size: 1.8rem;
  color: #80e3cd;
}
details {
  padding: 14px;
  border: 1px solid #3d4c61;
  border-radius: 10px;
  margin: 16px 0;
}
summary {
  cursor: pointer;
}
#status {
  min-height: 2em;
  color: #ffe0a3;
}
:focus-visible {
  outline: 3px solid #f4c675;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: no-preference) {
  button:hover {
    filter: brightness(1.1);
  }
}
