/* Shared account forms. Keep the structure simple while owner designs evolve. */
.ht-auth main { background: var(--ht-paper); color: var(--ht-navy); }
.ht-auth main :is(h1, h2, h3) { color: var(--ht-navy); font-family: Inter, Arial, sans-serif; font-weight: 750; letter-spacing: -.035em; }
.ht-auth main a { color: var(--ht-navy); text-underline-offset: 3px; }
.ht-auth main p { line-height: 1.65; }
.ht-auth [hidden] { display: none !important; }
.ht-auth .auth-shell { margin: 0; padding: 30px 0 56px; background: linear-gradient(180deg, #fbefdc 0, var(--ht-paper) 360px); }
.ht-auth .auth-container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 28px; }
.ht-auth .auth-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0 0 26px; color: var(--ht-muted); font-size: 12px; line-height: 1.5; }
.ht-auth .auth-breadcrumb a { color: inherit; }
.ht-auth .auth-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 30px; align-items: start; }
.ht-auth .auth-card { min-width: 0; padding: 36px; border: 1px solid #e0e6eb; border-radius: 14px; background: #fff; box-shadow: 0 5px 22px #122c4d05; }
.ht-auth .auth-eyebrow { margin: 0 0 10px; color: var(--ht-muted); font-size: 11px; line-height: 1.5; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.ht-auth .auth-card h1 { margin: 0 0 15px; font-size: clamp(30px, 3.2vw, 43px); line-height: 1.1; overflow-wrap: anywhere; }
.ht-auth .auth-card h2 { margin: 24px 0 10px; font-size: 23px; line-height: 1.25; }
.ht-auth .auth-card > p, .ht-auth .auth-summary { margin: 0 0 23px; color: var(--ht-muted); font-size: 15px; line-height: 1.65; }
.ht-auth .auth-form { margin: 24px 0 0; }
.ht-auth .auth-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ht-auth .auth-field { min-width: 0; margin-bottom: 19px; }
.ht-auth .auth-field > label { display: block; margin: 0 0 7px; color: var(--ht-navy); font-size: 14px; font-weight: 650; line-height: 1.45; }
.ht-auth .auth-field :is(input:not([type="checkbox"]):not([type="hidden"]), select, textarea) { display: block; box-sizing: border-box; width: 100%; min-width: 0; min-height: 49px; padding: 12px 13px; border: 1px solid #acbdce; border-radius: 7px; background: #fff; color: var(--ht-navy); font: 400 16px/1.4 Inter, Arial, sans-serif; box-shadow: none; }
.ht-auth .auth-field input::placeholder { color: #687b91; opacity: 1; }
.ht-auth .auth-field :is(input, select, textarea):hover { border-color: #718ca6; }
.ht-auth .auth-field :is(input, select, textarea).input-validation-error,
.ht-auth .auth-field :is(input, select, textarea)[aria-invalid="true"] { border-color: #a13d2c; }
.ht-auth .auth-password { position: relative; min-width: 0; }
.ht-auth .auth-password:has(.auth-password-toggle:not([hidden])) input { padding-right: 79px; }
.ht-auth .auth-password-toggle { position: absolute; top: 50%; right: 7px; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; min-width: 59px; min-height: 36px; padding: 7px; border: 1px solid #d4dfe8; border-radius: 5px; background: #f6f9fb; color: var(--ht-navy); font: 650 12px/1.25 Inter, Arial, sans-serif; cursor: pointer; }
.ht-auth .auth-password-toggle:hover { background: #e9f2f8; border-color: #93a9bc; }
.ht-auth .auth-help, .ht-auth .auth-note { margin: 7px 0 0; color: var(--ht-muted); font-size: 12px; line-height: 1.6; }
.ht-auth .auth-field-error, .ht-auth .field-validation-error { display: block; margin-top: 7px; color: #983b2a; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.ht-auth .field-validation-valid { display: none; }
.ht-auth .auth-checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 17px; color: var(--ht-muted); font-size: 13px; line-height: 1.6; }
.ht-auth .auth-checkbox input[type="checkbox"] { flex: 0 0 auto; width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--ht-navy); }
.ht-auth .auth-checkbox label { display: block; min-width: 0; margin: 0; cursor: pointer; }
.ht-auth .auth-checkbox input[type="hidden"] { display: none; }
.ht-auth .auth-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin: 20px 0; }
.ht-auth .auth-actions .auth-checkbox { margin-bottom: 0; }
.ht-auth .auth-actions > a { font-size: 13px; font-weight: 600; }
.ht-auth :is(.auth-button, .auth-button-secondary) { display: inline-flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; min-height: 48px; max-width: 100%; padding: 12px 22px; border: 1px solid transparent; border-radius: 7px; color: var(--ht-navy); font: 750 15px/1.4 Inter, Arial, sans-serif; text-decoration: none; text-align: center; overflow-wrap: anywhere; cursor: pointer; }
.ht-auth .auth-button { background: var(--ht-coral); }
.ht-auth .auth-button:hover { background: var(--ht-coral-hover); color: var(--ht-navy); }
.ht-auth .auth-button-secondary { border-color: #9bb0c2; background: white; }
.ht-auth .auth-button-secondary:hover { background: #eef5f9; border-color: var(--ht-navy); }
.ht-auth .auth-form > .auth-button { width: 100%; margin-top: 8px; }
.ht-auth :is(.auth-button, .auth-button-secondary):disabled { cursor: wait; opacity: .65; }
.ht-auth .auth-message, .ht-auth .auth-validation { margin: 22px 0; padding: 17px 18px; border: 1px solid #afcde0; border-radius: 8px; background: #edf7fc; color: #173c58; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.ht-auth .auth-message.is-success { border-color: #9dc7ba; background: #eef8f3; color: #215644; }
.ht-auth .auth-message.is-error, .ht-auth .auth-validation { border-color: #ddb2a6; background: #fff3ed; color: #863c2d; }
.ht-auth :is(.auth-message, .auth-validation) p { margin: 0; color: inherit; }
.ht-auth :is(.auth-message, .auth-validation) h2 { margin: 0 0 8px; color: inherit; font-size: 18px; line-height: 1.3; }
.ht-auth .auth-validation ul { margin: 0; padding-left: 20px; }
.ht-auth .auth-validation li + li { margin-top: 4px; }
.ht-auth .validation-summary-valid { display: none; }
.ht-auth .auth-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 22px; font-size: 13px; line-height: 1.6; }
.ht-auth .auth-links a { display: inline-block; font-weight: 600; }
.ht-auth .auth-guest { margin: 24px 0 0; padding-top: 21px; border-top: 1px solid #e3e9ee; color: var(--ht-muted); font-size: 13px; line-height: 1.65; }
.ht-auth .auth-guest p { margin: 0 0 9px; }
.ht-auth .auth-guest a { font-weight: 650; }
.ht-auth .auth-captcha { width: 100%; min-width: 300px; margin: 19px 0; position: relative; left: 50%; transform: translateX(-50%); }
.ht-auth .auth-copy { min-width: 0; padding: 32px; border: 1px solid var(--ht-navy); border-radius: 14px; background: var(--ht-navy); color: #f7f9fc; }
.ht-auth .auth-copy :is(h2, h3) { margin: 0 0 16px; color: white; font-size: 27px; line-height: 1.2; }
.ht-auth .auth-copy p { margin: 0 0 18px; color: #edf2f7; font-size: 14px; line-height: 1.7; }
.ht-auth .auth-copy .auth-eyebrow { margin-bottom: 12px; color: var(--ht-sand); font-size: 11px; }
.ht-auth .auth-copy ul { margin: 20px 0; padding-left: 20px; color: #edf2f7; font-size: 14px; line-height: 1.65; }
.ht-auth .auth-copy li + li { margin-top: 12px; }
.ht-auth .auth-copy a { color: white; text-decoration: underline; }
.ht-auth .auth-copy a:hover { color: var(--ht-sand); }
.ht-auth .auth-copy .auth-note { color: #d8e3ee; font-size: 12px; }
.ht-auth .auth-copy > :last-child { margin-bottom: 0; }
.ht-auth .auth-illustration { display: block; width: min(100%, 220px); height: auto; max-height: 170px; margin: 0 auto 22px; object-fit: contain; border-radius: 9px; background: #f6fbff; padding: 12px; }
.ht-auth main :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #a83b22; outline-offset: 3px; box-shadow: none; }
.ht-auth .auth-copy :is(a, button):focus-visible { outline-color: var(--ht-sand); }
.ht-auth .auth-validation:focus { outline: 3px solid #a83b22; outline-offset: 3px; }

@media (max-width: 991.98px) {
    .ht-auth .auth-container { max-width: 900px; padding-inline: 24px; }
    .ht-auth .auth-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 22px; }
    .ht-auth .auth-card { padding: 28px; }
    .ht-auth .auth-copy { padding: 26px; }
    .ht-auth .auth-copy h2 { font-size: 24px; }
    .ht-auth .auth-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 767.98px) {
    .ht-auth .auth-shell { padding: 23px 0 38px; }
    .ht-auth .auth-container { max-width: 620px; padding-inline: 20px; }
    .ht-auth .auth-grid { grid-template-columns: minmax(0, 1fr); gap: 23px; }
    .ht-auth .auth-breadcrumb { margin-bottom: 20px; font-size: 11px; }
    .ht-auth .auth-card { padding: 28px; }
    .ht-auth .auth-card h1 { font-size: 34px; }
    .ht-auth .auth-copy { padding: 27px; }
    .ht-auth .auth-illustration { max-height: 140px; }
}
@media (max-width: 479.98px) {
    .ht-auth .auth-container { padding-inline: 14px; }
    .ht-auth .auth-card { padding: 24px 18px; border-radius: 10px; }
    .ht-auth .auth-card h1 { font-size: 31px; }
    .ht-auth .auth-card > p { font-size: 14px; }
    .ht-auth .auth-copy { padding: 25px 22px; border-radius: 10px; }
    .ht-auth .auth-actions { align-items: flex-start; flex-direction: column; gap: 13px; }
    .ht-auth .auth-actions :is(.auth-button, .auth-button-secondary) { width: 100%; }
    .ht-auth .auth-message, .ht-auth .auth-validation { padding: 15px 13px; }
    .ht-auth .auth-links { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .ht-auth main *, .ht-auth main *::before, .ht-auth main *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Registration and sign-in follow the owner's shared coastal page designs. */
.ht-auth.auth-registration .auth-shell { padding-top: 23px; background: #fdfaf5; border-bottom: 9px solid #f7ead6; }
.ht-auth.auth-registration .auth-container { max-width: 1320px; padding-inline: 34px; }
.ht-auth.auth-registration .auth-registration-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 38px; }
.ht-auth.auth-registration .auth-breadcrumb { margin-bottom: 20px; }
.ht-auth .auth-registration-story { min-width: 0; padding-top: 7px; }
.ht-auth .auth-registration-story > h2 { margin: 0 0 18px; color: #0c294c; font-size: clamp(42px, 5.1vw, 70px); font-weight: 780; letter-spacing: -.055em; line-height: 1.02; }
.ht-auth .auth-registration-intro { margin: 0 0 25px; color: var(--ht-navy); font-size: clamp(18px, 1.85vw, 23px); line-height: 1.35; }
.ht-auth .auth-registration-photo { display: block; width: 100%; height: auto; aspect-ratio: 1.3; object-fit: cover; object-position: 68% center; border-radius: 11px; }
.ht-auth .auth-registration-benefits { margin-top: 16px; padding: 25px 29px 20px; border-radius: 11px; background: #f8ead5; }
.ht-auth .auth-registration-benefit { display: flex; align-items: center; gap: 22px; padding: 0 0 23px; }
.ht-auth .auth-registration-benefit + .auth-registration-benefit { padding-top: 22px; border-top: 1px solid #e5d4bb; }
.ht-auth .auth-registration-benefit:last-child { padding-bottom: 0; }
.ht-auth .auth-registration-benefit h3 { margin: 0 0 5px; font-size: 22px; line-height: 1.2; font-weight: 750; }
.ht-auth .auth-registration-benefit p { margin: 0; color: var(--ht-navy); font-size: 15px; line-height: 1.45; }
.ht-auth .auth-benefit-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 73px; width: 73px; height: 73px; border-radius: 50%; background: #fffaf1; }
.ht-auth .auth-benefit-icon .ht-icon { width: 43px; height: 43px; font-size: 43px; }
.ht-auth .auth-registration-tagline { margin: 0; padding-top: 18px; border-top: 1px solid #e5d4bb; font-size: 18px; font-weight: 750; line-height: 1.35; }
.ht-auth .auth-registration-guest { margin: 16px 0 0; color: var(--ht-muted); font-size: 12px; line-height: 1.5; }
.ht-auth.auth-registration .auth-card { padding: 30px; border-color: #e0e3e5; box-shadow: 0 2px 10px #122c4d04; }
.ht-auth.auth-registration .auth-card h1 { font-size: clamp(31px, 3.4vw, 45px); margin-bottom: 14px; font-weight: 780; }
.ht-auth.auth-registration .auth-card > p { font-size: 17px; line-height: 1.4; margin-bottom: 18px; color: var(--ht-navy); }
.ht-auth.auth-registration .auth-card > .auth-eyebrow { margin-bottom: 11px; font-size: 11px; }
.ht-auth.auth-registration .auth-card > .auth-inline-link { font-size: 14px; }
.ht-auth .auth-inline-link a { font-weight: 650; }
.ht-auth .auth-intent { min-width: 0; margin: 29px 0 23px; padding: 0; border: 0; }
.ht-auth .auth-intent legend { float: none; width: auto; margin: 0 0 10px; padding: 0; font-size: 14px; font-weight: 700; }
.ht-auth .auth-intent legend span { font-weight: 400; }
.ht-auth .auth-intent-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.ht-auth .auth-intent-option { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 61px; padding: 10px 7px; border: 1px solid #cdd5dd; border-radius: 6px; background: #fff; color: var(--ht-navy); font-size: 11px; font-weight: 650; cursor: pointer; }
.ht-auth .auth-intent-option:has(input:checked) { border-color: #1a4e77; background: #edf6fc; box-shadow: inset 0 0 0 1px #1a4e77; }
.ht-auth .auth-intent-option input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--ht-navy); }
.ht-auth .auth-intent-option .ht-icon { width: 27px; height: 27px; flex: 0 0 27px; font-size: 27px; }
.ht-auth .auth-intent-option span { min-width: 0; overflow-wrap: anywhere; }
.ht-auth .auth-input-icon { position: relative; min-width: 0; }
.ht-auth .auth-input-icon > .ht-icon { position: absolute; top: 50%; left: 13px; width: 23px; height: 23px; transform: translateY(-50%); pointer-events: none; font-size: 23px; }
.ht-auth .auth-field .auth-input-icon > input:not([type="checkbox"]):not([type="hidden"]) { padding-left: 46px; }
.ht-auth.auth-registration .auth-password-toggle { right: 4px; min-height: 34px; border-width: 0 0 0 1px; border-radius: 0; background: transparent; font-size: 12px; }
.ht-auth .auth-consent { margin-top: 25px; margin-bottom: 17px; }
.ht-auth .auth-consent .auth-checkbox { margin-bottom: 0; }
.ht-auth .auth-checkbox .auth-help { display: block; margin-top: 4px; }
.ht-auth .auth-email-note { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px 0 0; font-size: 12px; line-height: 1.45; text-align: center; }
.ht-auth .auth-email-note .ht-icon { flex: 0 0 23px; width: 23px; height: 23px; font-size: 23px; }
.ht-auth.auth-registration .auth-card > .auth-contact-note { margin: 29px 0 0; font-size: 13px; text-align: center; }
.ht-auth .auth-remember-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px 20px; margin-top: 26px; font-size: 13px; }
.ht-auth .auth-remember-row .auth-checkbox { margin-bottom: 0; }
.ht-auth .auth-remember-row > a { text-align: right; }
.ht-auth .auth-create-account { margin-top: 23px; padding-top: 24px; border-top: 1px solid #e0e5e9; text-align: center; }
.ht-auth .auth-create-account h2 { margin: 0 0 6px; font-size: 20px; }
.ht-auth .auth-create-account p { margin: 0 0 18px; color: var(--ht-muted); font-size: 13px; line-height: 1.5; }
.ht-auth .auth-create-account .auth-button-secondary { width: 100%; }
.ht-auth.auth-registration .auth-card > .auth-resend-link { margin: 16px 0 0; text-align: center; font-size: 12px; }
.ht-auth.auth-sign-in .auth-registration-benefits { padding-bottom: 25px; }

@media (max-width: 1199.98px) {
    .ht-auth.auth-registration .auth-container { padding-inline: 25px; }
    .ht-auth.auth-registration .auth-registration-grid { gap: 26px; }
    .ht-auth.auth-registration .auth-card { padding: 25px; }
    .ht-auth .auth-intent-option { flex-wrap: wrap; justify-content: flex-start; gap: 7px; }
    .ht-auth .auth-intent-option span { flex-basis: 100%; text-align: center; }
    .ht-auth .auth-intent-option .ht-icon { margin-left: auto; margin-right: auto; }
    .ht-auth .auth-registration-benefits { padding-inline: 23px; }
    .ht-auth .auth-registration-benefit { gap: 15px; }
    .ht-auth .auth-benefit-icon { flex-basis: 60px; width: 60px; height: 60px; }
    .ht-auth .auth-registration-benefit h3 { font-size: 20px; }
}
@media (max-width: 991.98px) {
    .ht-auth.auth-registration .auth-registration-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; }
    .ht-auth.auth-registration .auth-card { padding: 23px; }
    .ht-auth .auth-registration-story > h2 { font-size: 44px; }
    .ht-auth .auth-registration-benefit { align-items: flex-start; flex-direction: column; gap: 12px; }
    .ht-auth .auth-registration-benefit p { font-size: 14px; }
}
@media (max-width: 767.98px) {
    .ht-auth.auth-registration .auth-container { max-width: 620px; padding-inline: 20px; }
    .ht-auth.auth-registration .auth-registration-grid { grid-template-columns: minmax(0, 1fr); }
    .ht-auth.auth-registration .auth-card { order: -1; padding: 28px; }
    .ht-auth.auth-registration .auth-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .ht-auth .auth-registration-story { padding-top: 13px; }
    .ht-auth .auth-registration-story > h2 { font-size: 45px; }
    .ht-auth .auth-registration-benefit { align-items: center; flex-direction: row; gap: 18px; }
    .ht-auth .auth-intent-option { flex-wrap: nowrap; justify-content: center; }
    .ht-auth .auth-intent-option span { flex-basis: auto; text-align: left; }
    .ht-auth .auth-intent-option .ht-icon { margin: 0; }
}
@media (max-width: 479.98px) {
    .ht-auth.auth-registration .auth-container { padding-inline: 14px; }
    .ht-auth.auth-registration .auth-card { padding: 24px 18px; }
    .ht-auth.auth-registration .auth-card h1 { font-size: 31px; }
    .ht-auth.auth-registration .auth-card > p { font-size: 15px; }
    .ht-auth.auth-registration .auth-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .ht-auth .auth-intent-options { grid-template-columns: minmax(0, 1fr); }
    .ht-auth .auth-intent-option { justify-content: flex-start; min-height: 49px; padding-inline: 12px; font-size: 13px; }
    .ht-auth .auth-registration-story > h2 { font-size: 41px; }
    .ht-auth .auth-registration-benefits { padding: 23px 19px; }
    .ht-auth .auth-registration-benefit { align-items: flex-start; gap: 14px; }
    .ht-auth .auth-registration-benefit h3 { font-size: 19px; }
    .ht-auth .auth-registration-tagline { font-size: 16px; }
    .ht-auth .auth-benefit-icon { flex-basis: 50px; width: 50px; height: 50px; }
    .ht-auth .auth-benefit-icon .ht-icon { width: 33px; height: 33px; font-size: 33px; }
    .ht-auth .auth-remember-row { flex-wrap: wrap; }
}
/* Keep Turnstile's 300px minimum inside the card on the smallest phones. */
@media (max-width: 339.98px) {
    .ht-auth .auth-container,
    .ht-auth.auth-registration .auth-container { padding-inline: 8px; }
}
