#public {
  position: fixed;
  background-color: #f3f3f7;
  /*pointer-events: none;*/
}

#public #publicPanel {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  max-width: 40ch;
  aspect-ratio: 4 / 3;
  transform: translateX(-50%) translateY(-50%);
  padding: 3em;
  overflow: hidden;
  font-size: clamp(16px, 1.975vmin, 30px);

  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2em;
}

#public #publicPanel #logo {
  display: block;
  width: 10em;
  height: auto;
  object-fit: contain;
}

#public #signin {
  width: 100%;
}

#public #publicPanel #footer {
  font-size: max(13px, 0.75em);
  position: fixed;
  bottom: 1em;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
}

#public #publicPanel #footer a.get-started {
  color: currentColor;
  text-decoration: underline;
  font-weight: bold;
}

#public form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;
  justify-content: center;
}

#public input.passcode {
  font-size: 2em;
  letter-spacing: 1ch;
}
#public input {
  color: black !important;
  background: none;
  border: none;
  border-bottom: 1px solid black;
  width: 100%;
  font-size: inherit;
  text-align: center;
}

#public input::placeholder {
  color: rgb(182, 182, 182);
  font-size: 0.8em;
  text-align: left;
}

#public .terms {
  font-size: clamp(10px, 0.75em, 18px);
  font-style: italic;
  opacity: 0.66;
  cursor: pointer;
}

#public input[type='text'],
#public input[type='email'],
#public input[type='password'] {
}

.formerror {
  color: red;
  font-size: 0.75em;
  margin: 2em 0 0 0;
  font-weight: 500;
  font-style: italic;
}

#terms {
  font-size: 0.8em;
  text-align: right;
  cursor: pointer;
  margin-top: 0.5em;
  text-decoration: underline;
  overflow-y: scroll;
  padding: 2em 1em;
}

#terms button.back {
  margin-top: 2em;
}
