/* The split login composes the original V45 layout and account form. */
.login-shell {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--surface);
  color: var(--text);
}

.login-shell .brand { min-width: 0; white-space: normal; }
.login-shell .login-brand-panel .brand { right: 25px; height: auto; min-height: 62px; padding-inline: 0; }
.login-shell .brand-text { overflow-wrap: anywhere; }
.login-shell .brand-text small { margin-top: 4px; }
.login-shell .brand-mark { background: var(--primary); color: var(--primary-contrast); }
.login-shell .art-bars span:nth-child(1) { height: 35%; }
.login-shell .art-bars span:nth-child(2) { height: 65%; }
.login-shell .art-bars span:nth-child(3) { height: 45%; }
.login-shell .art-bars span:nth-child(4) { height: 90%; }
.login-shell .art-bars span:nth-child(5) { height: 68%; }
.login-shell .art-bars span:nth-child(6) { height: 82%; }
.login-shell .art-bars span:nth-child(7) { height: 100%; }
.login-shell .art-line-short { width: 70%; }

.login-shell .login-form { width: clamp(330px, 25vw, 512px); max-width: 100%; }
.login-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.login-shell .login-form .field label { color: var(--text); font-weight: 600; }
.login-shell .login-form .login-optional { margin-inline-start: .4em; color: var(--muted); font-weight: 400; }
.login-shell .login-form input { background: var(--surface); color: var(--text); }
.login-shell .login-form input:focus { border-color: var(--primary); }
.login-shell .login-form .input-wrap .icon-button { top: 50%; transform: translateY(-50%); }
.login-shell .login-form .input-wrap .icon-button span { display: inline-flex; }
.login-shell .login-form .btn.primary { color: var(--primary-contrast); background: var(--primary); border-color: var(--primary); }
.login-shell .login-form .btn.primary:enabled:hover { filter: brightness(.96); }
.login-shell .login-verifying, .login-shell button:disabled .login-submit-label { display: none; }
.login-shell button:disabled .login-verifying { display: inline; }

html[data-theme="dark"] .login-shell .login-brand-panel { background: var(--bg); }
html[data-theme="dark"] .login-shell .art-card { background: var(--surface-2); border-color: var(--border); }
html[data-theme="dark"] .login-shell .art-top,
html[data-theme="dark"] .login-shell .art-line { background: var(--border); }
html[data-theme="dark"] .login-shell .art-orbit,
html[data-theme="dark"] .login-shell .art-orbit::before,
html[data-theme="dark"] .login-shell .art-float,
html[data-theme="dark"] .login-shell .login-form input { border-color: var(--border); }
html[data-theme="dark"] .login-shell .login-form input:focus { border-color: var(--primary); }

@media (min-width: 1600px) {
  .login-shell .login-art { transform: scale(1.25); }
  .login-shell .login-form input, .login-shell .login-form .btn.primary { min-height: 51px; }
}

@media (max-width: 760px) {
  .login-shell .login-form-panel { min-height: 100dvh; padding: 34px 22px; }
  .login-shell .login-form { width: min(360px, 100%); }
  .login-shell .login-form .mobile-brand { margin-bottom: 30px; }
}
