/* Authentication pages follow the public site's stone, sage and forest palette. */
.auth-page .auth-shell { max-width: 1120px; padding-top: 48px; padding-bottom: 16px; }
.auth-frame { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid #dfe5d8; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 70px #243c3208; }
.auth-story { background: #edf1e6; padding: 40px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.auth-brand { display: inline-flex; align-self: flex-start; }
.auth-brand .yc-brand-logo { max-width: 100%; }
.auth-story-copy { margin-top: 62px; }
.auth-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #617457; font-size: .61rem; font-weight: 600; letter-spacing: .13em; }
.auth-eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: #65835d; }
.auth-story h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.17; font-weight: 500; margin: 22px 0; color: #294a39; }
.auth-story h2 em { font-family: Georgia, serif; color: #6a8055; font-weight: 400; }
.auth-story-copy > p { max-width: 330px; color: #65725f; font-size: .88rem; line-height: 1.9; }
.auth-neighborhood { position: relative; min-height: 260px; margin: 26px 0; display: flex; align-items: center; justify-content: center; }
.auth-orbit { position: absolute; width: 240px; height: 240px; border: 1px dashed #bdc9ae; border-radius: 50%; background: radial-gradient(circle, #dce6cc, transparent 70%); }
.auth-houses { display: flex; align-items: flex-end; gap: 8px; z-index: 1; color: #5d7852; padding-bottom: 8px; border-bottom: 2px solid #a8bb99; }
.auth-houses i { font-size: 4.2rem; line-height: 1.2; }
.auth-houses i:first-child, .auth-houses i:last-child { font-size: 2.4rem; color: #8c9f72; }
.auth-houses i:nth-child(3) { color: #83936a; font-size: 5.1rem; }
.auth-note { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: #fffdf7; padding: 14px 18px; border: 1px solid #e0e5d6; border-radius: 12px; box-shadow: 0 10px 25px #354b3a08; font-size: .8rem; color: #3c563e; }
.auth-note small { display: block; font-size: .65rem; color: #77816f; margin-top: 4px; }
.auth-note > i { font-size: 1.4rem; color: #8d7e52; }
.auth-note--top { left: 0; top: 6px; transform: rotate(-5deg); }
.auth-note--bottom { right: 0; bottom: 4px; transform: rotate(3deg); }
.auth-note-check { width: 30px; height: 30px; display: grid; place-items: center; background: #e8efdf; border-radius: 50%; }
.auth-story-footer { margin-top: auto; display: flex; gap: 10px; align-items: center; font-size: .65rem; line-height: 1.6; color: #68785f; border-top: 1px solid #d8e0cc; padding-top: 24px; }
.auth-story-footer > i { font-size: 1.3rem; }
.auth-panel { min-width: 0; padding: 42px 46px; align-self: center; }
.auth-heading { margin-bottom: 24px; }
.auth-heading h1 { font-size: 1.85rem; font-weight: 550; margin: 12px 0 9px; }
.auth-heading h1 i { color: #9a8657; font-size: 1.4rem; margin-left: 4px; }
.auth-heading p { font-size: .83rem; line-height: 1.7; color: #6b7667; margin-bottom: 0; }
.yc-site .auth-google { display: flex; align-items: center; justify-content: center; border: 1px solid #dfe4da; background: #fff; color: #354b3a; min-height: 48px; gap: 12px; font-size: .83rem; }
.auth-google > svg { flex-shrink: 0; }
.yc-site .auth-google:hover { background: #f5f7f0; border-color: #a6b99a; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: #7c8576; font-size: .67rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #e8ebE3; }
.auth-field { margin-bottom: 16px; min-width: 0; }
.auth-page .auth-field .form-label { display: block; font-size: .76rem; margin-bottom: 7px; }
.auth-page .auth-field .form-control { min-height: 46px; font-size: 16px; padding: 11px 13px; }
.auth-field .form-control::placeholder { color: #929b8b; font-size: .8rem; }
.auth-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-password { position: relative; }
.auth-password .form-control { padding-right: 48px !important; }
.auth-reveal { position: absolute; right: 2px; top: 2px; height: calc(100% - 4px); min-width: 42px; border: 0; border-radius: 6px; background: #fff; color: #718167; }
.auth-reveal:hover { color: #285b46; background: #f1f5ea; }
.auth-options { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 20px 0 24px; font-size: .75rem; }
.auth-options a, .auth-switch a { color: #285b46; font-weight: 600; text-decoration: none; }
.auth-options a:hover, .auth-switch a:hover { text-decoration: underline; }
.yc-site .auth-submit { min-height: 48px; font-size: .86rem; gap: 14px; }
.auth-switch { text-align: center; margin: 24px 0 0; font-size: .76rem; color: #727d6b; }
.auth-switch a { margin-left: 4px; }
.auth-bottom-note { text-align: center; margin: 22px 0 0; font-size: .7rem; line-height: 1.7; color: #7a8473; }
.auth-bottom-note i { margin-right: 5px; }
.auth-help { display: block; color: #77816f; font-size: .67rem; line-height: 1.6; margin-top: 7px; }
.auth-verification-note { text-align: center; margin-top: 12px; }
.auth-completion { margin-bottom: 19px; }
.auth-completion > div { display: flex; justify-content: space-between; gap: 10px; font-size: .65rem; color: #697b5d; margin-bottom: 6px; }
.auth-completion progress, .auth-strength progress { display: block; appearance: none; width: 100%; height: 4px; border: none; border-radius: 9px; overflow: hidden; background: #edf1e6; accent-color: #789367; }
.auth-page progress::-webkit-progress-bar { background: #edf1e6; }
.auth-page progress::-webkit-progress-value { background: #789367; transition: width .2s ease; }
.auth-page progress::-moz-progress-bar { background: #789367; }
.auth-strength { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.auth-strength progress { flex: 1; }
.auth-strength small { font-size: .65rem; color: #6c7a61; }
.auth-match { display: block; font-size: .7rem; margin-top: 6px; }
.auth-terms { font-size: .7rem; line-height: 1.7; margin: 8px 0 20px; }
.auth-terms-link { display: inline; border: 0; padding: 0; color: #285b46; background: none; text-decoration: underline; font: inherit; }
.auth-page [hidden] { display: none !important; }
@media (min-width: 992px) { .auth-page .auth-story { min-height: 660px; } }
@media (max-width: 991.98px) {
    .auth-page .auth-shell { padding-top: 28px; }
    .auth-story { padding: 30px; }
    .auth-panel { padding: 32px 28px; }
    .auth-story-copy { margin-top: 40px; }
    .auth-houses { gap: 2px; }
    .auth-houses i { font-size: 3.4rem; }
}
@media (max-width: 767.98px) {
    .auth-frame { grid-template-columns: 1fr; border-radius: 18px; }
    .auth-story { padding: 24px; }
    .auth-brand, .auth-neighborhood, .auth-story-footer { display: none; }
    .auth-story-copy { margin: 0; }
    .auth-story h2 { font-size: 1.7rem; margin: 12px 0 0; }
    .auth-story h2 br { display: none; }
    .auth-story-copy > p { display: none; }
    .auth-story .auth-eyebrow { font-size: .53rem; }
    .auth-panel { padding: 28px 24px; }
    .auth-heading h1 { font-size: 1.6rem; }
    .auth-page .auth-shell { padding-top: 20px; }
}
@media (max-width: 359.98px) {
    .auth-panel { padding: 24px 18px; }
    .auth-fields-row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .auth-page progress::-webkit-progress-value { transition: none; } }
