.ghh-onboarding {
    --ghh-ink: #263a3b;
    --ghh-muted: #68777a;
    --ghh-teal: #2d686c;
    --ghh-teal-dark: #24575a;
    --ghh-lavender: #77699f;
    --ghh-border: #d5dfe1;
    --ghh-soft: #f6f9f9;
    --ghh-lavender-soft: #f1eef8;
    --ghh-error: #923d3d;
    color: var(--ghh-ink);
    font-size: 16px;
    line-height: 1.55;
    width: 100%;
}

.ghh-onboarding *,
.ghh-onboarding *::before,
.ghh-onboarding *::after {
    box-sizing: border-box;
}

.ghh-onboarding__shell {
    margin: 0 auto;
    max-width: 780px;
    padding: clamp(24px, 5vw, 64px) 20px;
}

.ghh-onboarding__shell--narrow {
    max-width: 900px;
}

.ghh-onboarding__card {
    background: #fff;
    border: 1px solid var(--ghh-border);
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(38, 58, 59, 0.09);
    overflow: hidden;
    padding: clamp(28px, 6vw, 52px);
}

.ghh-onboarding__card--centered {
    text-align: center;
}

.ghh-onboarding__icon {
    align-items: center;
    background: #e7f0f0;
    border-radius: 999px;
    color: var(--ghh-teal-dark);
    display: flex;
    height: 58px;
    justify-content: center;
    margin-bottom: 18px;
    width: 58px;
}

.ghh-onboarding__card--centered .ghh-onboarding__icon {
    margin-left: auto;
    margin-right: auto;
}

.ghh-onboarding__icon .dashicons {
    font-size: 28px;
    height: 28px;
    width: 28px;
}

.ghh-onboarding__eyebrow {
    color: var(--ghh-lavender);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.ghh-onboarding h1 {
    color: var(--ghh-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin: 0 0 12px;
}

.ghh-onboarding__lede {
    color: var(--ghh-muted);
    font-size: 17px;
    margin: 0 0 28px;
    max-width: 640px;
}

.ghh-onboarding__card--centered .ghh-onboarding__lede {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 760px) {
    .ghh-onboarding--state .ghh-onboarding__card {
        padding-left: clamp(44px, 7vw, 72px);
        padding-right: clamp(44px, 7vw, 72px);
    }
}

.ghh-onboarding__tabs {
    background: #edf1f3;
    border-radius: 10px;
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 28px 0;
    padding: 5px;
}

.ghh-onboarding__tab {
    border-radius: 7px;
    color: #596269;
    display: block;
    font-weight: 700;
    padding: 10px 14px;
    text-align: center;
    text-decoration: none;
}

.ghh-onboarding__tab:hover,
.ghh-onboarding__tab:focus {
    color: var(--ghh-teal-dark);
}

.ghh-onboarding__tab.is-active {
    background: #fff;
    box-shadow: 0 1px 4px rgba(38, 58, 59, 0.12);
    color: var(--ghh-ink);
}

.ghh-onboarding__panel {
    display: none;
}

.ghh-onboarding__panel.is-active {
    display: block;
}

.ghh-onboarding__notice {
    border-left: 4px solid currentColor;
    border-radius: 4px;
    margin: 0 0 22px;
    padding: 12px 14px;
}

.ghh-onboarding__notice--error {
    background: #fbefef;
    color: var(--ghh-error);
}

.ghh-onboarding__field {
    margin: 0 0 18px;
}

.ghh-onboarding__field label,
.ghh-onboarding__native label {
    color: var(--ghh-ink);
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 7px;
}

.ghh-onboarding__field input,
.ghh-onboarding__native input[type="text"],
.ghh-onboarding__native input[type="email"],
.ghh-onboarding__native input[type="password"] {
    appearance: none;
    background: #fff;
    border: 1px solid #aebdc0;
    border-radius: 8px;
    box-shadow: none;
    color: var(--ghh-ink);
    font: inherit;
    min-height: 50px;
    padding: 11px 14px;
    width: 100%;
}

.ghh-onboarding__field input:focus,
.ghh-onboarding__native input:focus,
.ghh-onboarding__tab:focus-visible,
.ghh-onboarding__button:focus-visible,
.ghh-onboarding__password-toggle:focus-visible {
    border-color: var(--ghh-lavender);
    box-shadow: 0 0 0 3px rgba(119, 105, 159, 0.2);
    outline: 2px solid transparent;
}

.ghh-onboarding__password-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px;
    position: relative;
}

.ghh-onboarding__password-control input,
.ghh-onboarding__native .ghh-onboarding__password-control input[type="password"],
.ghh-onboarding__native .ghh-onboarding__password-control input[type="text"] {
    border-radius: 8px 0 0 8px;
    min-width: 0;
}

.ghh-onboarding button.ghh-onboarding__password-toggle {
    align-items: center !important;
    appearance: none !important;
    background: var(--ghh-soft) !important;
    border: 1px solid #aebdc0 !important;
    border-left: 0 !important;
    border-radius: 0 8px 8px 0 !important;
    box-shadow: none !important;
    color: var(--ghh-teal-dark) !important;
    cursor: pointer !important;
    display: flex !important;
    height: auto !important;
    justify-content: center !important;
    margin: 0 !important;
    min-height: 50px !important;
    min-width: 50px !important;
    padding: 0 !important;
    width: 50px !important;
}

.ghh-onboarding button.ghh-onboarding__password-toggle::before {
    background-color: currentColor;
    content: "";
    display: block;
    height: 18px;
    -webkit-mask-image: url("../images/eye-solid-full.svg");
    mask-image: url("../images/eye-solid-full.svg");
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    width: 20px;
}

.ghh-onboarding button.ghh-onboarding__password-toggle[aria-pressed="true"]::before {
    -webkit-mask-image: url("../images/eye-slash-solid-full.svg");
    mask-image: url("../images/eye-slash-solid-full.svg");
}

.ghh-onboarding button.ghh-onboarding__password-toggle:hover {
    background: #edf2f2 !important;
    color: var(--ghh-teal) !important;
}

.ghh-onboarding__screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.ghh-onboarding__check {
    align-items: center;
    color: var(--ghh-ink);
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
}

.ghh-onboarding__check input {
    accent-color: var(--ghh-teal);
    height: 17px;
    margin: 0;
    width: 17px;
}

.ghh-onboarding__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.ghh-onboarding__button,
.ghh-onboarding a.ghh-onboarding__button,
.ghh-onboarding__native input[type="submit"],
.ghh-onboarding__native button[type="submit"] {
    appearance: none;
    background: var(--ghh-teal);
    border: 1px solid var(--ghh-teal);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    padding: 13px 22px;
    text-decoration: none;
}

.ghh-onboarding__button:hover,
.ghh-onboarding a.ghh-onboarding__button:hover,
.ghh-onboarding__native input[type="submit"]:hover,
.ghh-onboarding__native button[type="submit"]:hover {
    background: var(--ghh-teal-dark);
    border-color: var(--ghh-teal-dark);
    color: #fff;
}

.ghh-onboarding__actions a,
.ghh-onboarding__secondary-link a,
.ghh-onboarding__native a {
    color: var(--ghh-teal-dark);
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.ghh-onboarding__native {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ghh-onboarding__native form,
.ghh-onboarding__native .learndash-wrapper {
    margin: 0;
    max-width: none;
}

.ghh-onboarding__native p,
.ghh-onboarding__native .ld-form__field,
.ghh-onboarding__native .learndash-registration-field {
    margin-bottom: 18px;
}

.ghh-onboarding__registration-grid {
    display: grid;
    gap: 18px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.ghh-onboarding__registration-grid .ghh-onboarding__registration-field {
    margin: 0;
    min-width: 0;
}

.ghh-onboarding__registration-field--wide {
    grid-column: 1 / -1;
}

.ghh-onboarding__native [hidden] {
    display: none !important;
}

.ghh-onboarding__native .learndash-wrapper .ld-button,
.ghh-onboarding__native .learndash-wrapper .wpProQuiz_button {
    background-color: var(--ghh-teal) !important;
    border-radius: 999px !important;
}

.ghh-onboarding__secondary-link {
    border-top: 1px solid var(--ghh-border);
    margin: 28px 0 0;
    padding-top: 20px;
    text-align: center;
}

@media (max-width: 600px) {
    .ghh-onboarding__shell {
        padding-left: 12px;
        padding-right: 12px;
    }

    .ghh-onboarding__card {
        border-radius: 12px;
        padding: 26px 20px;
    }

    .ghh-onboarding h1 {
        font-size: 32px;
    }

    .ghh-onboarding__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ghh-onboarding__button,
    .ghh-onboarding a.ghh-onboarding__button {
        text-align: center;
        width: 100%;
    }

    .ghh-onboarding__registration-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ghh-onboarding__registration-field--wide {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ghh-onboarding *,
    .ghh-onboarding *::before,
    .ghh-onboarding *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
