.auth-shell { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 1rem; background: #fff; }
.auth-grid { display: grid; min-height: min(44rem, calc(100vh - 11rem)); }
.auth-form-panel { display: flex; align-items: center; padding: 1.5rem; }
.auth-form-wrap { width: 100%; max-width: 28rem; margin-inline: auto; }
.auth-heading { margin: 0; color: #0f172a; font-size: 2.25rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
.auth-intro { max-width: 65ch; margin: .65rem 0 0; color: #475569; font-size: 1rem; line-height: 1.5; text-wrap: pretty; }
.auth-form { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.auth-field { display: grid; gap: .45rem; }
.auth-label { color: #1e293b; font-size: .875rem; font-weight: 700; }
.auth-input { width: 100%; min-height: 2.875rem; border: 1px solid #cbd5e1; border-radius: .75rem; background: #fff; padding: .7rem .9rem; color: #0f172a; font-size: 1rem; outline: none; transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease; }
.auth-input::placeholder { color: #64748b; opacity: 1; }
.auth-input:hover { border-color: #94a3b8; }
.auth-input:focus { border-color: #059669; box-shadow: 0 0 0 3px #d1fae5; }
.auth-input:disabled { cursor: not-allowed; border-color: #e2e8f0; background: #f1f5f9; color: #64748b; }
.auth-password { display: flex; align-items: stretch; border: 1px solid #cbd5e1; border-radius: .75rem; background: #fff; transition: border-color .16s ease, box-shadow .16s ease; }
.auth-password:hover { border-color: #94a3b8; }
.auth-password:focus-within { border-color: #059669; box-shadow: 0 0 0 3px #d1fae5; }
.auth-password .auth-input { min-width: 0; border: 0; box-shadow: none; }
.auth-password-toggle { min-width: 4rem; border: 0; border-left: 1px solid #e2e8f0; border-radius: 0 .75rem .75rem 0; background: transparent; padding: .65rem .8rem; color: #475569; font-size: .875rem; font-weight: 800; }
.auth-password-toggle:hover { background: #f1f5f9; color: #0f172a; }
.auth-password-toggle:focus-visible { outline: 3px solid #d1fae5; outline-offset: -3px; }
.auth-error { color: #dc2626; font-size: .875rem; line-height: 1.25; }
.auth-help { margin: 0; color: #64748b; font-size: .875rem; line-height: 1.5; }
.auth-input.input-validation-error, .auth-password:has(.input-validation-error) { border-color: #dc2626; }
.auth-input.input-validation-error:focus, .auth-password:has(.input-validation-error):focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, #dc2626 18%, white); }
.validation-summary-valid, .field-validation-valid { display: none; }
.validation-summary-errors { border: 1px solid color-mix(in srgb, #dc2626 25%, white); border-radius: .75rem; background: color-mix(in srgb, #dc2626 7%, white); padding: .8rem 1rem; color: #dc2626; font-size: .875rem; line-height: 1.5; }
.validation-summary-errors ul { margin: 0; padding-left: 1.15rem; }
.auth-primary, .auth-secondary { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; border-radius: .75rem; padding: .7rem 1rem; font-size: .875rem; font-weight: 800; text-decoration: none; transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .12s ease; }
.auth-primary { border: 1px solid #059669; background: #059669; color: #fff; }
.auth-primary:hover { border-color: #047857; background: #047857; }
.auth-primary:active, .auth-secondary:active { transform: translateY(1px); }
.auth-primary:focus-visible, .auth-secondary:focus-visible, .auth-link:focus-visible { outline: 3px solid #d1fae5; outline-offset: 2px; }
.auth-primary:disabled { cursor: not-allowed; border-color: #94a3b8; background: #94a3b8; }
.auth-secondary { border: 1px solid #cbd5e1; background: #fff; color: #334155; }
.auth-secondary:hover { border-color: #94a3b8; background: #f8fafc; color: #0f172a; }
.auth-link { border-radius: .375rem; color: #047857; font-weight: 800; text-underline-offset: .2em; }
.auth-link:hover { color: #065f46; text-decoration: underline; }
.auth-footer-copy { margin: .25rem 0 0; color: #475569; text-align: center; font-size: .875rem; }
.auth-check { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .65rem; color: #334155; font-size: .875rem; font-weight: 600; }
.auth-check input { width: 1.1rem; height: 1.1rem; accent-color: #059669; }
.auth-side { display: none; position: relative; overflow: hidden; background: #060b12; padding: 2.25rem; color: #fff; }
.auth-side::after { content: ""; position: absolute; right: -5rem; bottom: -7rem; width: 18rem; height: 18rem; border-radius: 50%; background: rgb(52 208 88 / .12); filter: blur(2px); }
.auth-side-content { position: relative; z-index: 1; display: flex; height: 100%; max-width: 34rem; flex-direction: column; justify-content: space-between; }
.auth-side-mark { color: #34d058; font-size: .875rem; font-weight: 800; }
.auth-side h2 { max-width: 12ch; margin: 0; font-size: 2.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.auth-side p { max-width: 34rem; margin: 1rem 0 0; color: #cbd5e1; line-height: 1.7; }
.auth-benefits { display: grid; gap: .85rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.auth-benefits li { display: flex; gap: .7rem; align-items: flex-start; color: #e2e8f0; font-size: .875rem; line-height: 1.55; }
.auth-benefits li::before { content: ""; width: .55rem; height: .55rem; flex: 0 0 auto; margin-top: .38rem; border-radius: 50%; background: #34d058; }
.auth-notice { border: 1px solid color-mix(in srgb, #d97706 30%, white); border-radius: .75rem; background: color-mix(in srgb, #d97706 8%, white); padding: .9rem 1rem; color: #0f172a; font-size: .875rem; line-height: 1.55; }
.auth-status { display: grid; justify-items: start; gap: 1rem; }
.auth-status-code { display: inline-flex; min-height: 2rem; align-items: center; border-radius: 9999px; background: #f1f5f9; padding: 0 .75rem; color: #475569; font-size: .875rem; font-weight: 800; }

@media (min-width: 64rem) {
  .auth-grid { grid-template-columns: minmax(24rem, 28rem) minmax(0, 1fr); }
  .auth-form-panel { padding: 2.5rem; }
  .auth-side { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-input, .auth-password, .auth-primary, .auth-secondary { transition: none; }
}
