* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #000000;
  background: #f4f4f4;
  -webkit-text-size-adjust: 100%;
}

main {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 16px;
}

.shell {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: #f59393;
  border: 1px solid #e8b4b4;
  border-radius: 20px;
  overflow: hidden;
}

.header {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px 20px 0 0;
  background: #f59393;
  color: #000000;
  font: 18px Arial, Helvetica, sans-serif;
}

.content {
  padding: 4px 44px 0;
  text-align: center;
}

.panel {
  border: 2px solid #000000;
  border-radius: 12px;
  padding: 14px 16px 16px;
  text-align: center;
}

h1 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 31px;
  font-weight: 700;
  color: #000000;
}

.lead {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
}

.lead + .lead {
  margin-top: 20px;
}

.actions {
  padding: 18px 20px 0;
  text-align: center;
}

button {
  appearance: none;
  border: 0;
  border-radius: 30px;
  background: #000000;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  padding: 16px 32px;
  cursor: pointer;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

button:focus-visible {
  outline: 3px solid #004aad;
  outline-offset: 3px;
}

.footer {
  padding: 20px 44px 44px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

.status {
  margin: 0;
  min-height: 1.4em;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: #ffffff;
}

.status[data-state='ok'] {
  color: #ffffff;
}

.status[data-state='error'] {
  color: #4a0000;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  padding: 10px 12px;
}

.hint {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  color: #ffffff;
}

@media only screen and (max-width: 480px) {
  main {
    padding: 12px 8px;
  }

  .shell {
    border-radius: 14px;
  }

  .header {
    border-radius: 14px 14px 0 0;
  }

  .content,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .panel {
    padding: 18px 14px;
  }

  h1 {
    font-size: 23px;
    line-height: 29px;
  }
}
