.account-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  min-height: 100vh;
}
.login-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  min-height: 600px;
  padding: clamp(28px, 5vw, 84px);
  background: linear-gradient(165deg, #171715b0 0%, #17171525 40%, #171715df 100%), url('assets/kooyman-showroom.jpg?v=wandlogo-1') center / cover;
  color: #fff;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.login-brand .brand {
  margin: 0;
}
.login-brand .wordmark, .login-brand .wordmark span, .login-intro .eyebrow {
  color: #fff;
}
.login-intro h1 {
  max-width: 720px;
  margin: 14px 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(42px, 5.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -.06em;
}
.login-intro p {
  max-width: 420px;
}
.login-side {
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 70px);
  background: #e8e3dd;
}
.login-card {
  width: min(100%, 480px);
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
}
.login-card h2 {
  font-size: clamp(26px, 3vw, 40px);
  margin: 10px 0 6px;
  letter-spacing: -.045em;
}
.login-card form {
  margin-top: 26px;
}
.login-card form > .btn {
  width: 100%;
  justify-content: space-between;
}
.login-help {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.account-avatar {
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
}
.account-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account-avatar-large {
  width: 68px;
  height: 68px;
  font-size: 20px;
}
.account-avatar-large .icon {
  width: 28px;
  height: 28px;
}
.account-identity {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}
.account-identity h2 {
  margin: 0 0 4px;
}
.account-admin {
  margin-top: 22px;
}
.account-admin form h4 {
  margin: 24px 0 14px;
}
.account-user form {
  margin-top: 12px;
}
.account-user label select, .account-user label input {
  display: block;
  margin-top: 6px;
  width: 100%;
}
@media (max-width: 720px) {
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-intro {
    min-height: 390px;
    gap: 34px;
  }
  .login-intro h1 {
    font-size: clamp(32px, 8vw, 54px);
  }
}

.login-exit .login-card {
  animation: login-card-exit .46s ease-in both;
}
.showroom-transition {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  background: #d1cdc8;
  animation: showroom-transition 2s ease-in-out both;
}
.showroom-transition::before {
  position: absolute;
  inset: 0;
  content: "";
  background: url('assets/kooyman-showroom.jpg?v=wandlogo-1') center / cover;
  animation: showroom-approach 1.27s cubic-bezier(.2,.7,.2,1) both;
}
.showroom-glint {
  position: absolute;
  top: 46.5%;
  left: 50%;
  width: max(25vw, 45vh);
  height: max(5.2vw, 9.25vh);
  transform: translate(-50%,-50%);
  overflow: hidden;
  mask-image: radial-gradient(ellipse, #000 35%, transparent 73%);
}
.showroom-glint::after {
  position: absolute;
  inset: -20% 0;
  content: "";
  background: linear-gradient(106deg, transparent 33%, #fff4df35 46%, #fff3dcaa 50%, #fff4df35 54%, transparent 67%);
  animation: showroom-glint .85s .71s ease-in-out both;
}
@keyframes login-card-exit {
  to { opacity: 0; transform: translateX(26px); }
}
@keyframes showroom-transition {
  0% { opacity: 0; }
  38%, 72% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes showroom-approach {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}
@keyframes showroom-glint {
  from { transform: translateX(-95%); }
  to { transform: translateX(95%); }
}
@media (prefers-reduced-motion: reduce) {
  .login-exit .login-card, .showroom-transition,
  .showroom-transition::before, .showroom-glint::after {
    animation: none;
  }
  .showroom-transition { display: none; }
}

.workspace-exit {
  animation: workspace-exit .48s ease-in both;
}
.showroom-return::before, .showroom-return .showroom-glint::after {
  animation-direction: reverse;
}
@keyframes workspace-exit {
  to { opacity: 0; transform: translateY(12px); }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-exit { animation: none; }
}

.showroom-arriving {
  animation: showroom-arrival 1.175s ease-out both;
}
@keyframes showroom-arrival {
  0%, 26% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .showroom-arriving { animation: none; }
}

.showroom-arriving-workspace {
  animation-name: showroom-dashboard-arrival;
}
@keyframes showroom-dashboard-arrival {
  0%, 17% { opacity: 0; transform: translateY(18px) scale(.99); }
  100% { opacity: 1; transform: none; }
}
