:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #172d2a;
  background: #f1f6f5;
  line-height: 1.55;
}

body {
  margin: 0;
  min-width: 260px;
}

.masthead {
  min-height: 68px;
  padding: 0 clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #d7e5e1;
}

.brand {
  color: #12645b;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.025em;
}

.panel {
  box-sizing: border-box;
  width: min(500px, calc(100% - 32px));
  margin: clamp(40px, 11vh, 112px) auto;
  padding: clamp(24px, 7vw, 44px);
  background: #fff;
  border: 1px solid #d7e5e1;
  border-radius: 16px;
  box-shadow: 0 12px 36px #0d322311;
}

h1, h2, p {
  margin: 0;
}

h1 {
  font-size: clamp(1.8rem, 7vw, 2.25rem);
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

h2 {
  font-size: 1rem;
  margin-bottom: 3px;
}

p {
  color: #4c6460;
  overflow-wrap: anywhere;
}

#google-button {
  margin-top: 24px;
}

#status {
  color: #71501c;
  margin-top: 12px;
}

#status:empty {
  display: none;
}

button {
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid #aabfba;
  border-radius: 7px;
  background: #fff;
  color: #114d46;
  font: inherit;
  cursor: pointer;
}

button:hover:not(:disabled) {
  background: #eaf5f2;
}

button:disabled {
  opacity: .6;
  cursor: wait;
}

button:focus-visible {
  outline: 2px solid #127569;
  outline-offset: 3px;
}

#retry {
  margin-top: 12px;
}
