:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #172634;
  background: #f4f6f8;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 1440px;
  margin: auto;
  padding: 40px 28px;
}
header {
  margin-bottom: 32px;
}
header > span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #426956;
}
h1 {
  font-size: 32px;
  letter-spacing: -0.04em;
  margin: 12px 0;
}
header p {
  color: #52616f;
}
form,
nav {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
}
input,
select,
button {
  font: inherit;
  border: 1px solid #c7d1da;
  border-radius: 7px;
  padding: 10px 14px;
  background: white;
  color: inherit;
}
input {
  min-width: 260px;
}
button {
  cursor: pointer;
}
button:hover {
  background: #eef3f1;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #7eab99;
}
form > button {
  background: #264f3d;
  color: white;
}
.summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.summary article {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: white;
  border: 1px solid #dfe5ea;
  border-radius: 10px;
}
.summary strong {
  font-size: 30px;
}
.summary span {
  color: #596773;
  font-size: 13px;
}
.notice {
  font-size: 13px;
  line-height: 1.8;
  color: #52616f;
  max-width: 950px;
}
details {
  background: white;
  border: 1px solid #dfe5ea;
  padding: 20px;
  border-radius: 10px;
  margin: 24px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details form {
  margin: 20px 0;
}
.customer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #e8edf0;
}
.customer span {
  flex: 1;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #edf3f0;
  padding: 16px;
}
h2 {
  font-size: 18px;
  margin-top: 32px;
}
.table {
  overflow: auto;
  background: white;
  border: 1px solid #dfe5ea;
  border-radius: 10px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  text-align: left;
  color: #536371;
  background: #eef2f5;
  white-space: nowrap;
}
th,
td {
  padding: 14px;
  border-bottom: 1px solid #e7ecf0;
  vertical-align: top;
}
td {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-width: 110px;
  max-width: 230px;
}
#message {
  min-height: 20px;
  color: #805226;
}
#next {
  margin-top: 16px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 640px) {
  main {
    padding: 24px 16px;
  }
  input {
    min-width: 0;
    width: 100%;
  }
  form label {
    width: 100%;
  }
  .summary {
    grid-template-columns: 1fr 1fr;
  }
  .customer {
    flex-wrap: wrap;
  }
}
