* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #142f4e;
  background: #142f4e;
}
.entry {
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  position: relative;
  display: grid;
  place-items: center;
  padding: 36px 24px;
  background: #17394b url("/entry/map.webp") center / cover no-repeat;
}
.entry::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    rgba(9, 29, 45, 0.32),
    rgba(9, 29, 45, 0.07) 24%,
    transparent 64%,
    rgba(12, 35, 47, 0.15)
  );
}
.panel {
  width: min(100%, 416px);
  padding: 36px 38px 38px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 40px rgb(5 23 35 / 28%);
}
.brand {
  margin: 0 0 23px;
}
.brand img {
  display: block;
  width: 146px;
  height: auto;
}
.rule {
  height: 1px;
  background: #dbe2e2;
  position: relative;
}
.rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 3px;
  width: 34px;
  background: #fbb900;
}
h1 {
  font-size: 36px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.037em;
  margin: 27px 0 9px;
}
form {
  margin-top: 28px;
}
label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 7px;
}
label[for="password"] {
  margin-top: 18px;
}
input,
button {
  font: inherit;
}
input:not([type="hidden"]) {
  display: block;
  width: 100%;
  height: 47px;
  background: #fff;
  border: 1px solid #93a4ad;
  border-radius: 6px;
  color: #142f4e;
  padding: 0 13px;
  font-size: 16px;
}
input:focus-visible,
button:focus-visible {
  outline: 3px solid #337699;
  outline-offset: 2px;
}
.password {
  position: relative;
}
.password input {
  padding-right: 50px;
}
button {
  cursor: pointer;
}
#reveal {
  position: absolute;
  right: 2px;
  top: 2px;
  height: 43px;
  width: 43px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #4d6473;
  border-radius: 4px;
}
#reveal:hover {
  background: #eef2f2;
}
[hidden],
#reveal[hidden],
.slash {
  display: none;
}
#reveal[aria-pressed="true"] .slash {
  display: block;
}
svg {
  display: block;
}
button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.submit {
  margin-top: 25px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #142f4e;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 650;
}
.submit:hover {
  background: #214866;
}
.submit:active {
  background: #0d2238;
}
.alert {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #853e22;
}
@media (max-width: 620px) {
  .entry {
    background-image: url("/entry/map-mobile.webp");
    padding: 28px 19px;
  }
  .panel {
    padding: 28px 25px 29px;
    width: min(100%, 380px);
    border-radius: 13px;
  }
  .brand img {
    width: 132px;
  }
  .brand {
    margin-bottom: 21px;
  }
  h1 {
    font-size: 31px;
    margin-top: 24px;
  }
  form {
    margin-top: 23px;
  }
}
@media (max-height: 640px) and (min-width: 621px) {
  .entry {
    padding: 22px 18px;
  }
  .panel {
    padding: 22px 30px 24px;
  }
  .brand {
    margin-bottom: 14px;
  }
  h1 {
    margin-top: 17px;
  }
  form {
    margin-top: 17px;
  }
}
