:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f8fb;
  color: #101724;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

.gate,
.reveal {
  align-items: center;
  display: flex;
  min-height: 100vh;
  justify-content: center;
  padding: 24px;
}

.panel {
  background: #ffffff;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(22, 35, 54, 0.12);
  display: grid;
  gap: 14px;
  max-width: 420px;
  padding: 28px;
  width: 100%;
}

.mark {
  height: 76px;
  width: 76px;
}

label {
  font-size: 0.92rem;
  font-weight: 850;
}

.password-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

input,
button {
  border-radius: 8px;
  font: inherit;
  min-height: 48px;
}

input {
  border: 1px solid #cfd8e3;
  padding: 0 12px;
}

button {
  background: #101724;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font-weight: 850;
  padding: 0 18px;
}

.error {
  color: #a32626;
  font-size: 0.9rem;
  font-weight: 750;
  min-height: 1.2em;
  margin: 0;
}

.reveal img {
  height: min(55vw, 360px);
  width: min(55vw, 360px);
}

.hidden {
  display: none;
}

@media (max-width: 520px) {
  .password-row {
    grid-template-columns: 1fr;
  }
}
