.signed-out {
  background: #f3f6f8;
}
.signed-out .sidebar,
.signed-out header,
.signed-out .page-footer {
  display: none;
}
.signed-out .shell {
  margin-left: 0;
}
.signed-out main {
  max-width: none;
  padding: 0;
}
.auth-stage {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 21px 25px 68px;
  background: linear-gradient(145deg, #fbfcfd 0%, #eef4f7 100%);
}
.signed-out .auth-panel {
  width: min(672px, calc(100vw - 50px));
  min-height: 976px;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe3e7;
  border-radius: 27px;
  box-shadow: 0 22px 55px rgba(40, 71, 86, .10);
}
.auth-content {
  flex: 1;
  padding: 66px 56px 36px;
}
.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0;
}
.auth-brand .brand-icon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  flex: 0 0 84px;
  color: #fff;
  background: #288891;
  border-radius: 22px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}
.auth-brand span {
  display: block;
}
.auth-brand strong {
  display: block;
  color: #233a4a;
  font-size: 47px;
  line-height: 1;
  letter-spacing: -1.5px;
}
.auth-brand small {
  display: block;
  margin-top: 10px;
  color: #78909d;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 1px;
}
.auth-heading {
  display: block;
  margin: 46px 0 0 155px;
}
.auth-heading h1 {
  margin: 0 0 11px;
  color: #263b4a;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.25;
}
.auth-heading p {
  margin: 0;
  color: #919ca2;
  font-size: 21px;
  line-height: 1.4;
}
.auth-language {
  display: flex;
  justify-content: flex-end;
  margin: 34px 0 32px;
}
.auth-language select {
  width: 196px;
  height: 56px;
  margin: 0;
  padding: 0 50px 0 20px;
  color: #354c5a;
  background-color: #fff;
  border: 1px solid #dbe2e5;
  border-radius: 11px;
  font-size: 20px;
}
.auth-panel form {
  display: grid;
  gap: 34px;
  margin: 0;
}
.auth-panel form > div {
  min-width: 0;
}
.auth-panel label {
  display: block;
  margin: 0 0 20px;
  color: #354b58;
  font-size: 20px;
  line-height: 1.25;
}
.auth-input {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-input > span {
  position: absolute;
  left: 22px;
  z-index: 1;
  width: 26px;
  height: 26px;
  color: #788992;
}
.auth-input > span svg,
.password-toggle svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.auth-input input {
  width: 100%;
  height: 77px;
  padding: 0 66px;
  color: #2f4552;
  background: #fff;
  border: 1px solid #dbe2e5;
  border-radius: 13px;
  font-size: 20px;
  line-height: 1;
}
.auth-input input::placeholder {
  color: #bdc4c8;
}
.password-toggle {
  position: absolute;
  right: 17px;
  width: 31px;
  height: 31px;
  padding: 4px;
  color: #8a969c;
  background: transparent;
  border: 0;
  border-radius: 7px;
}
.password-toggle:hover,
.password-toggle:focus-visible {
  background: #eef5f6;
}
.auth-panel .error {
  margin: -18px 0 -16px;
  color: #a33b3b;
  font-size: 14px;
}
.auth-panel .error:empty {
  display: none;
}
.auth-submit,
.auth-panel .auth-submit {
  width: 100%;
  height: 78px;
  margin: 5px 0 0;
  color: #fff;
  background: #2b8991;
  border: 0;
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(29, 127, 136, .20);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 8px;
}
.auth-submit:hover,
.auth-submit:focus-visible {
  background: #237b83;
}
.auth-help {
  margin: 32px 0 0;
  color: #7a8f9a;
  text-align: center;
  font-size: 17px;
  line-height: 1.5;
}
.auth-panel > footer {
  min-height: 84px;
  padding: 0 20px;
  display: grid;
  place-items: center;
  color: #718794;
  background: #f7f9fa;
  border-top: 1px solid #dbe3e7;
  font-size: 16px;
  line-height: 1.4;
}
.signed-out #toast {
  left: 50%;
}
@media (max-width: 700px) {
  .auth-stage {
    padding: 10px;
  }
  .signed-out .auth-panel {
    width: calc(100vw - 20px);
    min-height: calc(100vh - 20px);
    border-radius: 18px;
  }
  .auth-content {
    padding: 35px 23px 28px;
  }
  .auth-brand {
    gap: 14px;
  }
  .auth-brand .brand-icon {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    border-radius: 17px;
    font-size: 28px;
  }
  .auth-brand strong {
    font-size: 34px;
  }
  .auth-brand small {
    margin-top: 6px;
    font-size: 14px;
  }
  .auth-heading {
    margin: 32px 0 0;
  }
  .auth-heading h1 {
    font-size: 25px;
  }
  .auth-heading p {
    font-size: 17px;
  }
  .auth-language {
    margin: 22px 0;
  }
  .auth-language select {
    width: 165px;
    height: 52px;
    font-size: 17px;
  }
  .auth-panel form {
    gap: 25px;
  }
  .auth-panel label {
    font-size: 17px;
  }
  .auth-input input {
    height: 62px;
    font-size: 17px;
  }
  .auth-submit,
  .auth-panel .auth-submit {
    height: 62px;
  }
  .auth-help {
    margin-top: 24px;
    font-size: 14px;
  }
  .auth-panel > footer {
    min-height: 70px;
    font-size: 14px;
  }
}

.signed-out .shell { border-left: 0; }

/* The registration form has four fields; keep its heading visible without
   inheriting the tall, offset sign-in composition. */
.signed-out .auth-panel:has(#register-form) {
  min-height: 0;
  overflow: visible;
}
.signed-out .auth-content:has(#register-form) {
  padding: 34px 42px 30px;
}
.signed-out .auth-content:has(#register-form) .auth-brand {
  justify-content: flex-start;
  gap: 14px;
}
.signed-out .auth-content:has(#register-form) .auth-brand .brand-icon {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
  font-size: 27px;
}
.signed-out .auth-content:has(#register-form) .auth-brand strong {
  color: #203a4b;
  font-size: clamp(25px, 5vw, 32px);
  line-height: 1.2;
}
.signed-out .auth-content:has(#register-form) .auth-brand small {
  color: #526e7d;
  font-size: 14px;
}
.signed-out .auth-content:has(#register-form) .auth-heading {
  display: block;
  margin: 26px 0 22px;
}
.signed-out .auth-content:has(#register-form) .auth-heading h1 {
  color: #203a4b;
  font-size: clamp(24px, 5vw, 29px);
  line-height: 1.4;
}
.signed-out .auth-content:has(#register-form) .auth-heading p {
  color: #526e7d;
  font-size: 15px;
}
.signed-out #register-form {
  gap: 15px;
  margin: 0;
}
.signed-out #register-form label {
  display: block;
  margin: 0 0 7px;
  color: #294152;
  font-size: 15px;
  font-weight: 650;
}
.signed-out #register-form input {
  height: 48px;
  color: #294152;
  font-size: 15px;
}
.signed-out #register-form .auth-submit {
  height: 52px;
  margin-top: 0;
  font-size: 16px;
  letter-spacing: 1px;
}
.signed-out .auth-content:has(#register-form) .auth-help {
  margin-top: 15px;
}
@media (max-width: 700px) {
  .signed-out .auth-content:has(#register-form) {
    padding: 25px 20px 25px;
  }
  .signed-out .auth-content:has(#register-form) .auth-heading {
    margin: 22px 0 18px;
  }
}

