/* Editable shared CasKo login story; isolated from the right-hand account form. */
.auth-aside {
  padding: 45px 60px 30px;
  display: flex;
  flex-direction: column;
  background: var(--plum);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.login-home-link {
  display: inline-block;
  align-self: flex-start;
  border-radius: 6px;
}
.login-home-link:focus-visible {
  outline-color: var(--lilac);
}
.login-home-link picture {
  display: block;
}
.login-wordmark {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  padding: 10px;
  box-sizing: content-box;
}
.login-story-content {
  width: 100%;
  max-width: 440px;
  margin: auto;
  padding-top: 40px;
  position: relative;
}
.login-kicker {
  color: var(--lilac);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 600;
}
.login-story-content h2 {
  max-width: none;
  color: var(--paper);
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: -0.05em;
  margin: 24px 0 0;
}
.login-story-content > p {
  max-width: none;
  color: var(--paper);
  font-size: 15px;
  line-height: 1.8;
  margin: 24px 0 0;
}
.login-casko-picture {
  width: 315px;
  height: 315px;
  margin: 45px auto 30px;
  position: relative;
  transform: rotate(-5deg);
  border: 12px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  box-shadow: 0 10px 30px #2510350a;
}
.login-picture-toolbar {
  height: 35px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  border-radius: 4px 4px 0 0;
}
.login-picture-toolbar i {
  width: 6px;
  height: 6px;
  background: var(--surface);
  border-radius: 50%;
}
.login-picture-toolbar i:first-child {
  background: var(--orange);
}
.login-picture-toolbar span {
  font-size: 8px;
  letter-spacing: 0.13em;
  color: var(--plum);
  margin-left: 8px;
  font-weight: 600;
}
.login-picture-brand {
  height: calc(100% - 35px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 20px 45px;
  gap: 24px;
}
.login-picture-brand > img {
  width: 100%;
  height: auto;
  padding: 10px;
  object-fit: contain;
}
.login-picture-lines {
  width: 70%;
  display: grid;
  gap: 8px;
}
.login-picture-lines span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--surface);
}
.login-picture-lines span:nth-child(2) {
  width: 75%;
}
.login-picture-lines span:last-child {
  width: 40%;
  height: 17px;
  margin-top: 5px;
  background: var(--orange);
}
.login-photo-note {
  position: absolute;
  bottom: 17px;
  right: -58px;
  transform: rotate(9deg);
  background: var(--paper);
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 15px #25103506;
}
.login-photo-note > span {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.login-photo-note strong {
  font-size: 17px;
  display: block;
  margin-top: 5px;
  color: var(--purple);
}
.login-brand-badge {
  position: absolute;
  right: -32px;
  top: -31px;
  border: 5px solid var(--plum);
  background: var(--plum);
  color: var(--lilac);
  width: 69px;
  height: 69px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: rotate(5deg);
}
.login-bottom {
  font-size: 11px;
  color: var(--paper);
  margin: 35px 0 0;
}
@media (max-width: 1200px) and (min-width: 701px) {
  .auth-aside {
    padding: 30px;
  }
  .login-story-content {
    max-width: 340px;
  }
  .login-story-content h2 {
    font-size: 44px;
  }
  .login-story-content > p {
    font-size: 14px;
  }
  .login-casko-picture {
    width: 245px;
    height: 245px;
  }
  .login-photo-note {
    right: -20px;
    padding: 12px 15px;
  }
  .login-photo-note strong {
    font-size: 15px;
  }
}
@media (max-height: 900px) and (min-width: 701px) {
  .login-story-content {
    padding-top: 20px;
  }
  .login-story-content h2 {
    font-size: 46px;
    margin-top: 20px;
  }
  .login-story-content > p {
    font-size: 14px;
    margin-top: 20px;
  }
  .login-casko-picture {
    width: 255px;
    height: 255px;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .login-photo-note {
    right: -25px;
    padding: 12px 15px;
  }
  .login-photo-note strong {
    font-size: 15px;
  }
  .login-bottom {
    margin-top: 25px;
  }
}
@media (max-height: 760px) and (min-width: 701px) {
  .auth-aside {
    padding-top: 25px;
    padding-bottom: 20px;
  }
  .login-story-content {
    padding-top: 12px;
  }
  .login-story-content h2 {
    font-size: 40px;
    margin-top: 16px;
  }
  .login-story-content > p {
    margin-top: 16px;
  }
  .login-casko-picture {
    width: 220px;
    height: 220px;
    margin-top: 24px;
    margin-bottom: 10px;
  }
  .login-picture-brand {
    padding: 12px 12px 30px;
    gap: 14px;
  }
  .login-bottom {
    margin-top: 18px;
  }
}
@media (max-width: 700px) {
  .auth-aside {
    padding: 20px 24px;
    background: var(--paper);
  }
  .login-wordmark {
    width: 170px;
    padding: 0;
  }
  .login-home-link:focus-visible {
    outline-color: var(--purple);
  }
  .login-story-content,
  .login-bottom {
    display: none;
  }
}
@media (min-width: 701px) and (max-width: 900px) {
  .login-story-content h2 { font-size: 34px; }
  .login-casko-picture { width: 220px; height: 220px; }
  .login-photo-note { right: -18px; padding: 10px 12px; }
}
