/* Pagina d'accesso di prova: fuori dall'app e dai temi, solo colori di sistema. */
:root {
  color-scheme: light dark;
  font-family: system-ui, sans-serif;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: Canvas;
  color: CanvasText;
}

.gate {
  width: min(22rem, 100% - 2rem);
}

.gate h1 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
}

.gate p {
  margin: 0 0 1.25rem;
  opacity: 0.75;
}

.gate form {
  display: grid;
  gap: 0.6rem;
}

.gate label {
  font-weight: 600;
}

.gate input,
.gate button {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid GrayText;
}

.gate button {
  background: ButtonText;
  color: ButtonFace;
  border-color: ButtonText;
  font-weight: 600;
  cursor: pointer;
}

.gate .gate-error {
  margin: 0;
  font-weight: 600;
  opacity: 1;
}
