:root {
  font:
    16px/1.6 system-ui,
    sans-serif;
  color: #252955;
  background: #f3f5fa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 980px;
  margin: auto;
  padding: 32px 20px;
}
header {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}
.brand {
  background: #272783;
  color: white;
  font-size: 32px;
  font-weight: 750;
  padding: 12px 22px;
  border-radius: 12px;
}
small {
  letter-spacing: 0.12em;
  color: #717c9e;
}
h1 {
  font-size: 26px;
  margin: 0;
}
h2 {
  font-size: 22px;
  margin-top: 0;
}
section {
  background: white;
  border: 1px solid #e0e5f0;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px #20245406;
}
label {
  display: block;
  font-weight: 600;
}
input,
select {
  width: 100%;
  font: inherit;
  border: 1px solid #ccd3e3;
  border-radius: 8px;
  padding: 10px;
  margin: 8px 0 16px;
}
button {
  font: inherit;
  background: #272783;
  color: white;
  border: 0;
  border-radius: 9px;
  padding: 10px 18px;
  cursor: pointer;
  margin-right: 12px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: #3034a0;
}
pre {
  white-space: pre-wrap;
  background: #f2f4fb;
  padding: 16px;
  border-radius: 10px;
  max-height: 300px;
  overflow: auto;
  font: inherit;
  font-size: 14px;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.stats > div {
  background: #eef1fd;
  border-radius: 12px;
  padding: 16px;
  min-width: 160px;
}
.stats strong {
  display: block;
  font-size: 26px;
}
#notice {
  color: #a42618;
}
footer {
  font-size: 13px;
  color: #76809a;
  text-align: center;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  main {
    padding: 16px;
  }
  header {
    gap: 12px;
  }
  h1 {
    font-size: 20px;
  }
  .brand {
    font-size: 24px;
  }
  section {
    padding: 20px;
  }
  .columns {
    grid-template-columns: 1fr;
  }
  button {
    margin-bottom: 10px;
  }
}
