
:root {
  font: 16px system-ui, -apple-system, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  color: #24394a;
  background: #eff4f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(
    ellipse at 90% 0,
    #daeee8,
    transparent 48%
  );
}

main {
  max-width: 780px;
  padding: 46px 24px;
  margin: auto;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #286e5e;
}

h1 {
  font-size: 43px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.lead {
  color: #5d7180;
  line-height: 1.8;
}

.card {
  padding: 25px;
  border: 1px solid #d6e0e6;
  border-radius: 18px;
  background: white;
  margin-top: 23px;
  box-shadow: 0 15px 40px #244d3e08;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.row strong {
  flex: 1;
}

#detail,
.small {
  font-size: 13px;
  color: #71828e;
  line-height: 1.6;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 19px 0 8px;
}

input,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #cfdde3;
  border-radius: 9px;
  padding: 12px;
  font: inherit;
  background: #f8fafb;
  color: #284152;
}

button {
  white-space: nowrap;
  border: 1px solid #c8d6dc;
  border-radius: 9px;
  padding: 12px 15px;
  background: white;
  color: #345164;
  font: 14px system-ui;
  cursor: pointer;
}

button:disabled {
  opacity: .45;
  cursor: default;
}

.primary {
  background: #236d5b;
  color: white;
  border-color: #236d5b;
}

#login {
  width: 100%;
  margin-top: 16px;
}

#image {
  width: 90px;
  min-height: 35px;
  object-fit: contain;
}

.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

.consent input {
  width: 16px;
  flex-shrink: 0;
  margin-top: 4px;
}

.clear {
  background: transparent;
  border: 0;
  margin-top: 18px;
  padding-left: 0;
  color: #6b7e8a;
}

.notes {
  font-size: 12px;
  color: #738490;
  line-height: 1.8;
  margin-top: 20px;
}

#notice {
  color: #21644f;
  font-size: 13px;
}

#auth {
  font: 14px ui-monospace, monospace;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #aad8c9;
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  main {
    padding: 28px 16px;
  }

  h1 {
    font-size: 34px;
  }

  .card {
    padding: 19px;
  }

  .row {
    gap: 6px;
  }

  button {
    padding: 11px 10px;
  }

  .result {
    flex-wrap: wrap;
  }

  .result input {
    flex-basis: 100%;
  }
}
