.neo-auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.na-header { border-bottom: 1px solid var(--nh-border); }
.na-header-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.na-back-home { color: var(--nh-muted); font-size: 12px; }
.na-back-home:hover { color: var(--nh-accent); }
.na-main { flex: 1; display: flex; justify-content: center; align-items: center; padding-block: 48px; }
.na-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; color: var(--nh-secondary); }
.na-card { width: 100%; max-width: 460px; padding: 32px; background: var(--nh-surface); border: 1px solid var(--nh-border); border-radius: 20px; box-shadow: 0 14px 55px rgba(21, 49, 31, .035); }
.na-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.na-card-heading .na-eyebrow { font-size: 9px; letter-spacing: 1.3px; }
.na-card-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--nh-accent); background: var(--nh-soft); flex-shrink: 0; }
.na-card-icon .nh-icon { width: 20px; height: 20px; }
.na-card h1 { font-size: 27px; font-weight: 600; line-height: 1.3; letter-spacing: -.8px; margin: 0 0 9px; }
.na-card-intro { color: var(--nh-muted); font-size: 12px; line-height: 1.8; margin: 0 0 26px; }
.na-fields { display: grid; gap: 19px; }
.na-fields-signup { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.na-field { min-width: 0; }
.na-field-full { grid-column: 1 / -1; }
.na-field label { font-size: 11px; font-weight: 500; display: block; margin-bottom: 8px; }
.na-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.na-label-row > a { font-size: 10px; color: var(--nh-accent); }
.neo-auth-page .na-field input { width: 100%; min-height: 48px; padding: 12px 13px; background: var(--nh-page); color: var(--nh-ink); font: inherit; font-size: 12px; border: 1px solid var(--nh-border); border-radius: 8px; outline-offset: 2px; transition: border-color .15s; }
.na-field input::placeholder { color: var(--nh-muted); opacity: .8; }
.na-field input:hover { border-color: var(--nh-secondary); }
.na-field input:focus { border-color: var(--nh-accent); }
.na-password { position: relative; }
.neo-auth-page .na-password input { padding-right: 46px; }
.na-password-toggle { position: absolute; right: 3px; top: 3px; height: 42px; width: 40px; padding: 0; display: grid; place-items: center; background: transparent; color: var(--nh-muted); border: 0; border-radius: 6px; cursor: pointer; }
.na-password-toggle:hover { color: var(--nh-accent); background: var(--nh-soft); }
.na-password-toggle > span { display: flex; }
.na-password-toggle .nh-icon { width: 18px; height: 18px; }
.na-field-help, .na-field-error { display: block; margin-top: 7px; line-height: 1.5; font-size: 10px; }
.na-field-help { color: var(--nh-muted); }
.na-field-error { color: #b12d39; }
.neo-auth-page input[aria-invalid="true"] { border-color: #b12d39; }
.na-alert { font-size: 12px; line-height: 1.7; padding: 12px 14px; background: #fff2f2; color: #9b2632; border: 1px solid #edc6cb; border-radius: 9px; margin: 0 0 20px; }
.na-terms { margin-top: 21px; }
.na-terms label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.na-terms input { margin: 3px 0 0; width: 16px; height: 16px; accent-color: var(--nh-accent); flex-shrink: 0; }
.na-terms label > span { font-size: 10px; line-height: 1.9; color: var(--nh-muted); }
.na-terms a { color: var(--nh-accent); text-decoration: underline; text-underline-offset: 3px; }
.neo-auth-page .na-submit { width: 100%; margin-top: 25px; justify-content: space-between; min-height: 50px; font-size: 12px; }
.na-submit:disabled { cursor: wait; opacity: .7; }
.na-account-note { font-size: 9px; line-height: 1.7; color: var(--nh-muted); margin: 13px 0 0; }
.na-switch { margin: 24px 0 0; padding-top: 21px; border-top: 1px solid var(--nh-border); font-size: 11px; color: var(--nh-muted); text-align: center; line-height: 1.9; }
.na-switch a { display: inline-flex; gap: 5px; align-items: center; font-weight: 600; color: var(--nh-accent); }
.na-switch .nh-icon { width: 13px; height: 13px; }
.na-label-row a:hover, .na-switch a:hover, .na-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.na-footer { padding: 23px 0; border-top: 1px solid var(--nh-border); color: var(--nh-muted); font-size: 10px; }
.na-footer > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.na-footer p { margin: 0; }
.na-footer nav { display: flex; gap: 22px; }
.na-preview-message { font-size: 11px; line-height: 1.7; color: var(--nh-secondary); margin-top: 12px; }
[data-home-theme="dark"] .na-alert { color: #ffc3ca; background: #3b252c; border-color: #74404b; }
[data-home-theme="dark"] .na-field-error { color: #ffb3be; }
[data-home-theme="dark"] .na-field input[aria-invalid="true"] { border-color: #d87185; }
@media (max-width: 480px) { .na-header .nh-header-inner { min-height: 78px; gap: 12px; } .na-header .nh-logo { width: 120px; height: 36px; } .na-header .nh-button-small { padding: 10px 12px; min-height: 40px; font-size: 10px; gap: 8px; } .na-header .nh-button-small .nh-icon { display: none; } .na-header .nh-theme-toggle { width: 36px; height: 36px; flex-shrink: 0; } .na-card { padding: 25px 22px; border-radius: 16px; } .na-card h1 { font-size: 25px; } .na-card-intro { font-size: 11px; } .na-fields-signup { grid-template-columns: 1fr; } .neo-auth-page .na-field input { font-size: 16px; } .na-footer nav { gap: 17px; } }
@media (prefers-reduced-motion: reduce) { .na-field input { transition: none; } }


@media (max-width: 800px) { .na-main { width: min(520px, calc(100% - 40px)); padding-block: 32px; } .na-footer > div { flex-direction: column; gap: 13px; text-align: center; } .na-back-home { display: none; } }
