* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f5f7fb;
  color: #1c2637;
  font:
    14px/1.6 system-ui,
    sans-serif;
}
header,
main {
  max-width: 1100px;
  margin: auto;
  padding: 24px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
h1 {
  margin: 4px 0;
  font-size: 25px;
}
h2 {
  font-size: 19px;
  margin-top: 0;
}
small {
  color: #697c98;
  letter-spacing: 0.1em;
}
.card {
  background: #fff;
  border: 1px solid #e2e8f2;
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 20px;
}
p {
  color: #62728b;
}
.hint {
  background: #f3f6ff;
  border-radius: 8px;
  padding: 14px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0;
  color: #4b5e79;
}
input,
textarea,
button {
  font: inherit;
}
input,
textarea {
  width: 100%;
  border: 1px solid #d8e1ee;
  border-radius: 8px;
  padding: 10px;
  background: white;
  color: #1c2637;
}
textarea {
  min-height: 150px;
  font-family: monospace;
}
button {
  border: 0;
  border-radius: 8px;
  padding: 11px 18px;
  background: #253247;
  color: white;
  cursor: pointer;
  margin: 5px 6px 5px 0;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 20px;
}
.check {
  flex-direction: row;
  align-items: center;
}
.check input {
  width: auto;
}
fieldset {
  border: 1px solid #e0e7f2;
  border-radius: 10px;
  margin: 18px 0;
  padding: 10px 18px;
}
legend {
  font-weight: 600;
}
#notice {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
td,
th {
  text-align: left;
  vertical-align: top;
  padding: 10px;
  border-bottom: 1px solid #edf0f6;
}
td:first-child {
  overflow-wrap: anywhere;
  max-width: 460px;
  font-family: monospace;
}
details {
  margin: 18px 0;
}
summary {
  cursor: pointer;
  color: #5369ba;
}
[hidden] {
  display: none !important;
}
@media (max-width: 650px) {
  header {
    align-items: start;
    flex-direction: column;
  }
  main,
  header {
    padding: 16px;
  }
  .card {
    padding: 18px;
  }
  table {
    font-size: 12px;
  }
  td,
  th {
    padding: 8px 4px;
  }
}
