* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #242234;
  background: #f8f8fc;
  font:
    16px/1.5 system-ui,
    sans-serif;
}
#root {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  background: #fff;
  border-bottom: 1px solid #dedde7;
}
.gate {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 24px;
}
.gate form {
  width: min(100%, 390px);
  background: white;
  padding: clamp(20px, 5vw, 36px);
  border: 1px solid #dedde7;
  border-radius: 16px;
}
h1 {
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.15;
  margin: 8px 0 24px;
}
.context {
  color: #58546f;
  margin: 0;
}
label {
  display: grid;
  gap: 4px;
  margin: 12px 0;
}
input,
button {
  font: inherit;
}
input {
  width: 100%;
  padding: 10px;
  border: 1px solid #9995a9;
  border-radius: 6px;
}
button {
  padding: 8px 14px;
  border: 0;
  border-radius: 6px;
  background: #352c64;
  color: #fff;
  cursor: pointer;
}
.gate button {
  width: 100%;
  margin-top: 14px;
}
.link,
.appbar button {
  background: transparent;
  color: #443777;
  text-decoration: underline;
}
p[role="alert"] {
  padding: 6px 12px;
  color: #8e173a;
}
iframe {
  flex: 1;
  min-height: calc(100dvh - 55px);
  width: 100%;
  border: 0;
  background: white;
}
