/* ==========================================================================
   Hustler's Library — Business Journey Plugin
   Public Stylesheet — scoped to .hlbj- prefix
   Brand: Primary #008000 | Accent #FABB17 | Dark #273043 | Font: Montserrat
   ========================================================================== */

/* ---- Reset & base ---- */
.hlbj-wrap *,
.hlbj-wrap *::before,
.hlbj-wrap *::after {
    box-sizing: border-box;
}

.hlbj-wrap {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #273043;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 24px 0 60px;
    line-height: 1.6;
    box-sizing: border-box;
}

/* ---- Buttons ---- */
.hlbj-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .18s ease;
    text-align: center;
}

.hlbj-btn--primary {
    background: #008000;
    color: #fff !important;
    border-color: #008000;
}
.hlbj-btn--primary:hover,
.hlbj-btn--primary:focus {
    background: #006600;
    border-color: #006600;
    color: #fff !important;
}

.hlbj-btn--secondary {
    background: #fff;
    color: #273043 !important;
    border-color: #273043;
}
.hlbj-btn--secondary:hover,
.hlbj-btn--secondary:focus {
    background: #273043;
    color: #fff !important;
}

.hlbj-btn--accent {
    background: #FABB17;
    color: #273043 !important;
    border-color: #FABB17;
}
.hlbj-btn--accent:hover,
.hlbj-btn--accent:focus {
    background: #e5a800;
    border-color: #e5a800;
}

.hlbj-btn--ghost {
    background: transparent;
    color: #273043 !important;
    border-color: #ccc;
}
.hlbj-btn--ghost:hover {
    background: #f5f5f5;
}

.hlbj-btn--block {
    display: block;
    width: 100%;
}

.hlbj-btn--lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

.hlbj-btn--sm {
    padding: 6px 14px;
    font-size: .85rem;
}

/* ---- Progress Bar ---- */
.hlbj-progress-bar {
    background: #e8e8e8;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
    flex: 1;
}

.hlbj-progress-bar__fill {
    background: linear-gradient(90deg, #008000, #33b533);
    height: 100%;
    border-radius: 999px;
    transition: width .4s ease;
}

.hlbj-progress-bar--lg {
    height: 14px;
}

/* ---- Dashboard Header ---- */
.hlbj-header {
    background: linear-gradient(135deg, #1a2233 0%, #273043 100%);
    border-radius: 12px;
    padding: 28px 32px 24px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hlbj-header::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: rgba(250,187,23,.07);
    border-radius: 50%;
    pointer-events: none;
}

.hlbj-header__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hlbj-header__body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.hlbj-header__title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 8px;
}

.hlbj-header__subtitle {
    color: rgba(255,255,255,.9) !important;
    margin: 0;
    font-size: .95rem;
}

.hlbj-header__right {
    min-width: 200px;
}

.hlbj-overall-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hlbj-overall-progress__bar-wrap {
    flex: 1;
    background: rgba(255,255,255,.2);
    border-radius: 999px;
    height: 12px;
    overflow: hidden;
}

.hlbj-overall-progress__bar {
    background: #FABB17;
    height: 100%;
    border-radius: 999px;
    transition: width .4s ease;
}

.hlbj-overall-progress__label {
    font-weight: 700;
    color: #FABB17 !important;
    min-width: 44px;
    text-align: right;
}

/* ---- Override Step Row ---- */
.hlbj-override-step {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 14px 20px;
    margin-bottom: 28px;
}

.hlbj-override-step__label {
    margin: 0 0 8px;
    font-size: .9rem;
}

.hlbj-override-step__row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hlbj-select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: .9rem;
    color: #273043;
    background: #fff;
}

.hlbj-inline-msg {
    font-size: .9rem;
    font-weight: 600;
    color: #008000;
}

/* ---- Step Card Grid ---- */
.hlbj-step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.hlbj-step-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow .2s ease, transform .15s ease;
}

.hlbj-step-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,.1);
    transform: translateY(-2px);
}

.hlbj-step-card--complete {
    border-left: 4px solid #008000;
}

.hlbj-step-card--in_progress {
    border-left: 4px solid #FABB17;
}

.hlbj-step-card--not_started {
    border-left: 4px solid #e0e0e0;
}

.hlbj-step-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hlbj-step-card__number {
    background: #273043;
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hlbj-step-card__icon {
    font-size: 1.4rem;
}

.hlbj-step-card__badge {
    margin-left: auto;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.hlbj-badge--not_started {
    background: #f0f0f0;
    color: #888;
}

.hlbj-badge--in_progress {
    background: #fff8e1;
    color: #b8860b;
}

.hlbj-badge--complete {
    background: #e6f4e6;
    color: #006600;
}

.hlbj-step-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #273043;
    margin: 0;
    line-height: 1.4;
}

.hlbj-step-card__progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hlbj-step-card__progress-label {
    font-size: .8rem;
    font-weight: 600;
    color: #666;
    min-width: 40px;
    text-align: right;
}

/* ---- CTA Banner ---- */
.hlbj-cta-banner {
    background: linear-gradient(135deg, #1a2233 0%, #273043 100%);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    color: #fff;
    margin-top: 40px;
    border-top: 4px solid #FABB17;
}

.hlbj-cta-banner__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 10px;
}

.hlbj-cta-banner__text {
    color: rgba(255,255,255,.9) !important;
    margin: 0 0 20px;
}

/* ---- Step Detail Layout ---- */
.hlbj-step-detail {
    max-width: 1100px;
}

.hlbj-back-link {
    display: inline-block;
    color: #008000;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: 20px;
    transition: color .15s;
}

.hlbj-back-link:hover {
    color: #006600;
}

.hlbj-step-detail__layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

@media (max-width: 768px) {
    .hlbj-step-detail__layout {
        grid-template-columns: 1fr;
    }
}

.hlbj-step-detail__header {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 28px;
    margin-bottom: 20px;
}

.hlbj-step-detail__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.hlbj-step-detail__icon {
    font-size: 2rem;
}

.hlbj-step-detail__number {
    font-size: .85rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hlbj-step-detail__title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #273043;
    margin: 0 0 10px;
}

.hlbj-step-detail__desc {
    color: #555;
    margin: 0 0 16px;
}

.hlbj-step-detail__progress {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hlbj-step-detail__progress-label {
    font-size: .9rem;
    font-weight: 600;
    color: #555;
    min-width: 120px;
}

/* ---- Checklist ---- */
.hlbj-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hlbj-checklist__item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px 18px;
    transition: border-color .2s, background .2s;
}

.hlbj-checklist__item--done {
    border-left: 4px solid #008000;
    background: #f9fff9;
}

.hlbj-checklist__label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.hlbj-checklist__checkbox {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #008000;
    flex-shrink: 0;
}

.hlbj-checklist__text {
    font-weight: 600;
    color: #273043;
    font-size: .97rem;
    transition: color .15s;
}

.hlbj-checklist__item--done .hlbj-checklist__text {
    text-decoration: line-through;
    color: #888;
}

.hlbj-checklist__desc {
    color: #666;
    font-size: .88rem;
    margin: 6px 0 0 30px;
}

/* ---- Affiliate Hint ---- */
.hlbj-affiliate-hint {
    margin: 10px 0 0 30px;
    background: #fffbe6;
    border: 1px solid #FABB17;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: .88rem;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.hlbj-affiliate-hint__icon {
    flex-shrink: 0;
}

.hlbj-affiliate-hint__link {
    color: #008000;
    font-weight: 600;
    text-decoration: none;
    margin-left: auto;
    white-space: nowrap;
}

.hlbj-affiliate-hint__link:hover {
    text-decoration: underline;
}

/* ---- Step Affiliate CTA (bottom of main) ---- */
.hlbj-step-affiliate-cta {
    background: #f0f7f0;
    border: 1px solid #b3d9b3;
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hlbj-step-affiliate-cta p {
    margin: 0;
    flex: 1;
    color: #273043;
    font-weight: 500;
}

/* ---- Sidebar Cards ---- */
.hlbj-step-detail__sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 80px;
}

.hlbj-sidebar-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
}

.hlbj-sidebar-card--accent {
    background: linear-gradient(135deg, #273043 0%, #1a2233 100%);
    border-color: transparent;
    color: #fff;
}

.hlbj-sidebar-card--accent p {
    color: rgba(255,255,255,.8);
}

.hlbj-sidebar-card--affiliate {
    background: #fffbe6;
    border-color: #FABB17;
}

.hlbj-sidebar-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: inherit;
}

/* ---- Quiz ---- */
.hlbj-quiz-wrap {
    max-width: 680px;
}

.hlbj-quiz {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 36px 40px;
}

@media (max-width: 600px) {
    .hlbj-quiz {
        padding: 24px 20px;
    }
}

.hlbj-quiz__header {
    text-align: center;
    margin-bottom: 28px;
}

.hlbj-quiz__icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.hlbj-quiz__title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #273043;
    margin: 0 0 10px;
}

.hlbj-quiz__subtitle {
    color: #666;
    margin: 0;
}

.hlbj-quiz__progress-wrap {
    margin-bottom: 28px;
}

.hlbj-quiz__progress-bar {
    background: #e8e8e8;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 6px;
}

.hlbj-quiz__progress-fill {
    background: linear-gradient(90deg, #008000, #33b533);
    height: 100%;
    border-radius: 999px;
    transition: width .35s ease;
}

.hlbj-quiz__progress-label {
    font-size: .82rem;
    color: #888;
    text-align: right;
    display: block;
}

.hlbj-quiz__question {
    display: none;
    animation: hlbj-fadeIn .25s ease;
}

.hlbj-quiz__question--active {
    display: block;
}

@keyframes hlbj-fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hlbj-quiz__question-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #273043;
    margin: 0 0 20px;
}

.hlbj-quiz__question-num {
    color: #008000;
    margin-right: 6px;
}

.hlbj-quiz__options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.hlbj-quiz__option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 12px 16px;
    transition: border-color .15s, background .15s;
}

.hlbj-quiz__option:hover {
    background: #f0f7f0;
    border-color: #008000;
}

.hlbj-quiz__option input[type="radio"] {
    accent-color: #008000;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.hlbj-quiz__option input[type="radio"]:checked + .hlbj-quiz__option-text {
    color: #008000;
    font-weight: 700;
}

.hlbj-quiz__option:has(input:checked) {
    background: #e6f4e6;
    border-color: #008000;
}

.hlbj-quiz__option-text {
    font-weight: 500;
    color: #273043;
}

.hlbj-quiz__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hlbj-quiz__final {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hlbj-quiz__override-label {
    margin: 0;
    font-size: .9rem;
}

.hlbj-quiz__override-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hlbj-quiz__success {
    text-align: center;
    padding: 20px 0;
}

.hlbj-quiz__success-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.hlbj-quiz__success-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #008000;
    margin: 0 0 10px;
}

/* ---- Spinner ---- */
.hlbj-spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid #e0e0e0;
    border-top-color: #008000;
    border-radius: 50%;
    animation: hlbj-spin .6s linear infinite;
    margin: 16px auto 0;
}

@keyframes hlbj-spin {
    to { transform: rotate(360deg); }
}

/* ---- Add Business Form (slide-down) ---- */
.hlbj-add-business-form {
    margin-top: 16px;
    animation: hlbj-fadeIn .2s ease;
}

.hlbj-add-business-form__inner {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 8px;
    padding: 16px 20px;
}

.hlbj-add-business-form__title {
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.hlbj-add-business-form__row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.hlbj-add-business-form__row .hlbj-input {
    flex: 1;
    min-width: 180px;
    background: #fff;
}

.hlbj-add-business-form__msg {
    margin: 8px 0 0;
    font-size: .88rem;
    font-weight: 600;
    color: #FABB17;
}

.hlbj-add-business-form__msg--error {
    color: #ff6b6b;
}

/* ---- Profile Completeness Widget ---- */
.hlbj-profile-completeness {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 14px 20px;
    margin-bottom: 20px;
}

.hlbj-profile-completeness__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hlbj-profile-completeness__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .88rem;
    color: #555;
    white-space: nowrap;
}

.hlbj-profile-completeness__icon {
    font-size: 1rem;
}

.hlbj-profile-completeness__pct {
    color: #008000;
}

.hlbj-profile-completeness__bar-wrap {
    flex: 1;
    background: #e8e8e8;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    min-width: 100px;
}

.hlbj-profile-completeness__bar {
    background: linear-gradient(90deg, #008000, #33b533);
    height: 100%;
    border-radius: 999px;
    transition: width .4s ease;
}

.hlbj-profile-completeness__link {
    background: none;
    border: none;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
    color: #008000;
    text-decoration: none;
    white-space: nowrap;
}

.hlbj-profile-completeness__link:hover {
    text-decoration: underline;
}

/* ---- Consulting Hero (above-fold banner) ---- */
.hlbj-consulting-hero {
    background: linear-gradient(135deg, #1a2233 0%, #273043 100%);
    border-radius: 12px;
    padding: 32px 40px;
    margin-bottom: 28px;
    color: #fff;
    border-left: 5px solid #FABB17;
}

.hlbj-consulting-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.hlbj-consulting-hero__content {
    flex: 1;
    min-width: 240px;
}

.hlbj-consulting-hero__headline {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 10px;
    line-height: 1.3;
}

.hlbj-consulting-hero__sub {
    color: rgba(255,255,255,.9) !important;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.hlbj-consulting-hero__cta {
    flex-shrink: 0;
}

.hlbj-consulting-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.hlbj-consulting-hero__content {
    flex: 1;
    min-width: 240px;
}

.hlbj-consulting-hero__headline {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.3;
}

.hlbj-consulting-hero__sub {
    color: rgba(255,255,255,.8);
    margin: 0;
    font-size: .93rem;
}

.hlbj-consulting-hero__cta {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .hlbj-consulting-hero {
        padding: 20px;
    }
    .hlbj-consulting-hero__headline {
        font-size: 1.1rem;
    }
    .hlbj-consulting-hero__cta {
        width: 100%;
    }
    .hlbj-consulting-hero__cta .hlbj-btn {
        display: block;
        width: 100%;
    }
}

/* ---- Step Card Action Row (v2) ---- */
.hlbj-step-card__actions {
    display: flex;
    gap: 6px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.hlbj-step-card__action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 8px;
    border-radius: 6px;
    font-family: inherit;
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .15s ease;
    text-align: center;
    white-space: nowrap;
}

.hlbj-step-card__action-btn--learn {
    background: #fff;
    color: #0066cc !important;
    border-color: #0066cc;
}

.hlbj-step-card__action-btn--learn:hover {
    background: #0066cc;
    color: #fff !important;
}

.hlbj-step-card__action-btn--help {
    background: #FABB17;
    color: #273043 !important;
    border-color: #FABB17;
}

.hlbj-step-card__action-btn--help:hover {
    background: #e5a800;
    border-color: #e5a800;
}

.hlbj-step-card__action-btn--open {
    background: #008000;
    color: #fff !important;
    border-color: #008000;
    flex-basis: 100%;
    margin-top: 2px;
}

.hlbj-step-card__action-btn--open:hover {
    background: #006600;
    border-color: #006600;
}

/* ---- Checklist Task Header (v2) ---- */
.hlbj-checklist__task-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.hlbj-checklist__task-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    flex-wrap: wrap;
}

.hlbj-checklist__done-icon {
    color: #008000;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.hlbj-checklist__text--done {
    text-decoration: line-through;
    color: #888;
}

.hlbj-checklist__undo {
    background: none;
    border: none;
    color: #888;
    font-size: .8rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font-family: inherit;
}

.hlbj-checklist__undo:hover {
    color: #555;
}

.hlbj-checklist__expand-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #888;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: background .12s, color .12s;
}

.hlbj-checklist__expand-btn:hover {
    background: #f0f0f0;
    color: #273043;
}

.hlbj-checklist__expand-btn svg {
    transition: transform .2s;
}

.hlbj-checklist__expand-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* ---- Task Actions Row (v2) ---- */
.hlbj-task-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    animation: hlbj-fadeIn .18s ease;
    overflow: visible !important;
}

.hlbj-task-actions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .15s ease;
    background: none;
    text-align: center;
}

/* Learn button removed from task level */

.hlbj-task-actions__btn--help {
    background: #FABB17;
    color: #273043 !important;
    border-color: #FABB17;
}

.hlbj-task-actions__btn--help:hover {
    background: #e5a800;
    border-color: #e5a800;
    color: #273043 !important;
}

.hlbj-task-actions__btn--done {
    background: #008000;
    color: #fff !important;
    border-color: #008000;
    font-size: .85rem;
}

.hlbj-task-actions__btn--done:hover {
    background: #006600;
    border-color: #006600;
    color: #fff !important;
}

.hlbj-task-actions__btn--undo {
    background: #f5f5f5;
    color: #555 !important;
    border-color: #ddd;
    grid-column: 1 / -1;
    font-size: .82rem;
}

.hlbj-task-actions__btn--undo:hover {
    background: #eaeaea;
    color: #333 !important;
}

/* ---- Product Card (upgraded affiliate card) ---- */
.hlbj-product-card {
    background: #fffbe6;
    border: 2px solid #FABB17;
    border-radius: 10px;
    padding: 20px;
}

.hlbj-product-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.hlbj-product-card__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.hlbj-product-card__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hlbj-product-card__label {
    font-size: .78rem;
    font-weight: 700;
    color: #008000;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.hlbj-product-card__sponsored {
    font-size: .72rem;
    color: #999;
    font-style: italic;
}

.hlbj-product-card__desc {
    color: #273043;
    font-size: .9rem;
    line-height: 1.5;
    margin: 0 0 14px;
}

/* ---- Consulting Sidebar Card (v2 upgrade) ---- */
.hlbj-sidebar-card--consulting {
    background: linear-gradient(135deg, #273043 0%, #1a2233 100%);
    border: none;
    color: #fff;
}

.hlbj-sidebar-card--consulting .hlbj-sidebar-card__title {
    color: #fff;
}

.hlbj-sidebar-card__avatar {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.hlbj-sidebar-card__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hlbj-sidebar-card__bullets li {
    font-size: .9rem;
    color: rgba(255,255,255,.85);
}

/* ---- Profile Edit Form ---- */
.hlbj-profile-edit-wrap {
    max-width: 800px;
}

.hlbj-profile-edit-wrap__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #273043;
    margin: 0 0 6px;
}

.hlbj-profile-edit-wrap__subtitle {
    color: #666;
    margin: 0 0 24px;
}

.hlbj-profile-biz-select {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 6px;
}

.hlbj-profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hlbj-profile-form__row {
    display: flex;
    gap: 16px;
}

.hlbj-profile-form__row--half .hlbj-form-group {
    flex: 1;
}

@media (max-width: 600px) {
    .hlbj-profile-form__row--half {
        flex-direction: column;
    }
}

.hlbj-profile-form__goals .hlbj-label {
    display: block;
    margin-bottom: 10px;
}

.hlbj-profile-form__goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.hlbj-profile-form__goal-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .93rem;
    cursor: pointer;
    padding: 10px 14px;
    background: #f5f5f5;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: border-color .12s, background .12s;
}

.hlbj-profile-form__goal-option:hover {
    background: #f0f7f0;
    border-color: #008000;
}

.hlbj-profile-form__goal-option input[type="checkbox"] {
    accent-color: #008000;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.hlbj-profile-form__goal-option:has(input:checked) {
    background: #e6f4e6;
    border-color: #008000;
}

.hlbj-profile-form__footer {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid #e5e5e5;
}

.hlbj-profile-form__msg {
    font-size: .9rem;
    font-weight: 600;
}

.hlbj-profile-form__msg--success {
    color: #008000;
}

.hlbj-profile-form__msg--error {
    color: #cc0000;
}

/* ---- Responsive dashboard header v2 ---- */
@media (max-width: 600px) {
    .hlbj-header__top {
        gap: 8px;
    }
    .hlbj-business-switcher__toggle {
        font-size: .85rem;
        padding: 6px 10px;
    }
    .hlbj-step-card__actions {
        gap: 4px;
    }
    .hlbj-step-card__action-btn {
        font-size: .73rem;
        padding: 6px 6px;
    }
    .hlbj-add-business-form__row {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ---- Inline Profile Panel ---- */
.hlbj-inline-profile {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    margin-bottom: 24px;
    overflow: hidden;
    animation: hlbj-fadeIn .2s ease;
}

.hlbj-inline-profile__inner {
    padding: 28px 32px;
}

.hlbj-inline-profile__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #273043;
    margin: 0 0 20px;
}

.hlbj-profile-form__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.hlbj-profile-form__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hlbj-profile-completeness__info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.hlbj-profile-completeness__link {
    font-size: .88rem;
    font-weight: 600;
    color: #008000;
    text-decoration: none;
    white-space: nowrap;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}
.hlbj-profile-completeness__link:hover {
    text-decoration: underline;
}

/* ---- Profile completeness bar ---- */
.hlbj-profile-completeness__bar-wrap {
    flex: 1;
    background: #e8e8e8;
    border-radius: 999px;
    height: 6px;
    overflow: hidden;
    min-width: 60px;
}

.hlbj-profile-completeness__bar {
    background: linear-gradient(90deg, #008000, #33b533);
    height: 100%;
    border-radius: 999px;
    transition: width .4s ease;
}


/* ---- Blanket white-text enforcement for dark containers ---- */
.hlbj-header,
.hlbj-header *:not(.hlbj-btn):not(.hlbj-business-switcher__dropdown):not(.hlbj-add-business-form__inner *) {
    color: inherit;
}

.hlbj-header__title,
.hlbj-header__subtitle {
    color: #ffffff !important;
}

.hlbj-consulting-hero .hlbj-consulting-hero__headline,
.hlbj-consulting-hero .hlbj-consulting-hero__sub {
    color: #ffffff !important;
}

.hlbj-cta-banner .hlbj-cta-banner__title,
.hlbj-cta-banner .hlbj-cta-banner__text {
    color: #ffffff !important;
}

/* ---- Business switcher toggle text — white ---- */
.hlbj-business-switcher__toggle {
    color: #ffffff !important;
}

.hlbj-business-switcher__toggle .hlbj-business-switcher__name {
    color: #ffffff !important;
}

/* ================================================================
   DASHBOARD TWO-COLUMN LAYOUT + SIDEBAR
   ================================================================ */

.hlbj-dashboard-layout {
    display: grid !important;
    grid-template-columns: 1fr 296px;
    gap: 24px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}
.hlbj-dashboard-layout > * {
    min-width: 0;
}

.hlbj-dashboard-main {
    min-width: 0;
}

.hlbj-dashboard-sidebar {
    position: sticky;
    top: 24px;
}

/* Sidebar card base */
.hlbj-sidebar-card {
    background: #fff !important;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 16px;
    box-sizing: border-box;
    width: 100%;
}

.hlbj-sidebar-card__title {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #999;
    margin: 0 0 14px;
    display: block;
}

/* Progress ring */
.hlbj-sidebar-card--progress {
    text-align: center;
}

.hlbj-progress-ring {
    width: 110px !important;
    height: 110px !important;
    max-width: 110px !important;
    display: block !important;
    margin: 0 auto 10px !important;
    filter: drop-shadow(0 2px 6px rgba(0,128,0,.15));
}

.hlbj-progress-ring__text {
    font-size: 7px;
    font-weight: 700;
    fill: #273043;
    text-anchor: middle;
    font-family: 'Montserrat', sans-serif;
}

.hlbj-progress-ring__label {
    font-size: .82rem;
    color: #666;
    margin: 0;
    text-align: center;
}

/* Quick links */
.hlbj-quick-links,
.hlbj-quick-links.hlbj-quick-links,
ul.hlbj-quick-links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-left: 0 !important;
}
.hlbj-quick-links li {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.hlbj-quick-links li::before {
    display: none !important;
}

.hlbj-quick-links li {
    border-bottom: 1px solid #f5f5f5;
}

.hlbj-quick-links li:last-child {
    border-bottom: none;
}

.hlbj-quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 2px;
    color: #273043 !important;
    text-decoration: none !important;
    font-size: .88rem;
    font-weight: 600;
    transition: color .15s, padding-left .15s;
}

.hlbj-quick-link:hover {
    color: #008000 !important;
    padding-left: 4px;
}

.hlbj-quick-link__icon {
    font-size: 1.05rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

/* Next step card */
.hlbj-sidebar-card--next {
    border-left: 4px solid #008000;
}

.hlbj-next-step {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hlbj-next-step__icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.hlbj-next-step__title {
    font-size: .95rem;
    font-weight: 700;
    color: #273043;
    line-height: 1.3;
}

.hlbj-next-step__sub {
    font-size: .78rem;
    color: #888;
}

/* Compact business switcher in sidebar */
.hlbj-business-switcher--compact .hlbj-business-switcher__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 9px 12px;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    color: #273043 !important;
    cursor: pointer;
    transition: border-color .15s;
}

.hlbj-business-switcher--compact .hlbj-business-switcher__toggle:hover {
    border-color: #008000;
}

/* Small button variants */
.hlbj-btn--sm {
    font-size: .82rem;
    padding: 7px 14px;
}

.hlbj-btn--block {
    width: 100%;
    display: block;
    text-align: center;
}

/* Anchor for smooth scroll */
#hlbj-step-grid-anchor {
    display: block;
    height: 0;
    margin-top: -8px;
}

/* Responsive — stack on mobile */
@media (max-width: 900px) {
    .hlbj-dashboard-layout {
        grid-template-columns: 1fr;
    }
    .hlbj-dashboard-sidebar {
        position: static;
        order: -1;
    }
    .hlbj-dashboard-sidebar .hlbj-sidebar-card {
        display: inline-block;
        width: calc(50% - 8px);
        vertical-align: top;
        margin-right: 8px;
    }
    .hlbj-dashboard-sidebar .hlbj-sidebar-card:nth-child(2n) {
        margin-right: 0;
    }
}

@media (max-width: 560px) {
    .hlbj-dashboard-sidebar .hlbj-sidebar-card {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}

/* ================================================================
   JOURNEY PROGRESS RAIL
   ================================================================ */

.hlbj-journey-rail {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 24px;
}

/* Dot track */
.hlbj-journey-rail__track {
    display: flex;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
}
.hlbj-journey-rail__track::-webkit-scrollbar { display: none; }

/* Individual step dot */
.hlbj-rail-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none !important;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.hlbj-rail-dot__inner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 800;
    transition: transform .15s, box-shadow .15s;
    border: 2px solid transparent;
}

.hlbj-rail-dot:hover .hlbj-rail-dot__inner {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* State colors */
.hlbj-rail-dot--complete .hlbj-rail-dot__inner {
    background: #008000;
    color: #fff;
    border-color: #008000;
}
.hlbj-rail-dot--in_progress .hlbj-rail-dot__inner {
    background: #FABB17;
    color: #273043;
    border-color: #FABB17;
}
.hlbj-rail-dot--not_started .hlbj-rail-dot__inner {
    background: #f0f0f0;
    color: #999;
    border-color: #e0e0e0;
}

.hlbj-rail-dot__label {
    font-size: .6rem;
    font-weight: 600;
    color: #999;
    text-align: center;
    max-width: 54px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hlbj-rail-dot--complete .hlbj-rail-dot__label { color: #008000; }
.hlbj-rail-dot--in_progress .hlbj-rail-dot__label { color: #273043; font-weight: 700; }

/* Connector lines between dots */
.hlbj-rail-line {
    flex: 1;
    height: 2px;
    min-width: 12px;
    margin-bottom: 18px; /* aligns with dot center vertically */
    background: #e0e0e0;
    flex-shrink: 1;
}
.hlbj-rail-line--complete { background: #008000; }
.hlbj-rail-line--in_progress { background: #FABB17; }

/* Active step callout below the track */
.hlbj-journey-rail__callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    margin-top: 14px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.hlbj-journey-rail__callout-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.hlbj-journey-rail__callout-eyebrow {
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #FABB17;
}

.hlbj-journey-rail__callout-title {
    font-size: .95rem;
    font-weight: 700;
    color: #273043;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hlbj-journey-rail__callout-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.hlbj-progress-bar--slim {
    height: 4px;
    flex: 1;
    max-width: 160px;
}

.hlbj-journey-rail__callout-tasks {
    font-size: .75rem;
    color: #888;
    white-space: nowrap;
}

.hlbj-journey-rail__callout-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* Ghost-dark button variant for the rail */
.hlbj-btn--ghost-dark {
    background: transparent;
    color: #273043 !important;
    border: 1.5px solid #d0d0d0;
    font-size: .82rem;
}
.hlbj-btn--ghost-dark:hover {
    border-color: #273043;
    background: #f5f5f5;
    color: #273043 !important;
}

@media (max-width: 640px) {
    .hlbj-journey-rail { padding: 16px; }
    .hlbj-journey-rail__callout { flex-direction: column; align-items: flex-start; }
    .hlbj-journey-rail__callout-actions { width: 100%; }
    .hlbj-journey-rail__callout-actions .hlbj-btn { flex: 1; text-align: center; }
}

/* ================================================================
   TOP PANELS (Journey Rail + Profile side by side)
   ================================================================ */

.hlbj-top-panels {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
    margin-bottom: 24px;
}
.hlbj-top-panels > * { min-width: 0; }
.hlbj-top-panels__rail .hlbj-journey-rail { margin-bottom: 0; }
.hlbj-top-panels__profile .hlbj-profile-completeness { margin-bottom: 0; }
.hlbj-top-panels__profile .hlbj-inline-profile { margin-top: 12px; }

@media (max-width: 860px) {
    .hlbj-top-panels { grid-template-columns: 1fr; }
}

/* ================================================================
   BADGE SHELF
   ================================================================ */

.hlbj-badge-shelf {
    padding: 14px 0 6px;
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
}

.hlbj-badge-shelf__label {
    font-size: .73rem;
    font-weight: 700;
    color: #888;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.hlbj-badge-shelf__row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.hlbj-badge-item {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: default;
    transition: transform .15s, box-shadow .15s;
    position: relative;
}

.hlbj-badge-item--earned {
    background: #f0faf0;
    border: 2px solid #008000;
    box-shadow: 0 1px 4px rgba(0,128,0,.15);
}

.hlbj-badge-item--earned:hover {
    transform: scale(1.25);
    box-shadow: 0 4px 12px rgba(0,128,0,.25);
}

.hlbj-badge-item--locked {
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    opacity: .4;
    font-size: .9rem;
}

.hlbj-badge-shelf__more {
    font-size: .78rem;
    font-weight: 700;
    color: #008000;
    padding: 4px 8px;
    background: #f0faf0;
    border-radius: 999px;
    border: 1px solid #c3e6c3;
    align-self: center;
}

/* ================================================================
   BADGE TOAST NOTIFICATION
   ================================================================ */

.hlbj-badge-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999999;
    background: #273043;
    color: #fff;
    border-left: 5px solid #FABB17;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 10px 32px rgba(0,0,0,.28);
    transform: translateY(24px);
    opacity: 0;
    transition: transform .35s cubic-bezier(.175,.885,.32,1.275), opacity .3s ease;
    font-family: 'Montserrat', sans-serif;
    max-width: 300px;
    pointer-events: none;
}

.hlbj-badge-toast--show {
    transform: translateY(0);
    opacity: 1;
}

.hlbj-badge-toast__emoji {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.hlbj-badge-toast div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hlbj-badge-toast strong {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #FABB17 !important;
    font-weight: 800;
    display: block;
}

.hlbj-badge-toast span {
    font-size: .95rem;
    color: #fff !important;
    font-weight: 700;
}

.hlbj-badge-toast small {
    font-size: .78rem;
    color: rgba(255,255,255,.65) !important;
    font-weight: 400;
}



/* ================================================================
   TYLER — AGENT STRIP (slim, attached to bottom of journey rail)
   ================================================================ */

.hlbj-agent-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0 2px;
    margin-top: 12px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.hlbj-agent-strip__left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.hlbj-agent-strip__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.hlbj-agent-strip__avatar {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #008000 !important;
    display: block !important;
}

.hlbj-agent-strip__dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #fff;
    display: block;
}

.hlbj-agent-strip__info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hlbj-agent-strip__info strong {
    font-size: .82rem !important;
    font-weight: 800 !important;
    color: #273043 !important;
    line-height: 1.2;
}

.hlbj-agent-strip__info span {
    font-size: .7rem !important;
    color: #999 !important;
    font-weight: 500 !important;
}

.hlbj-agent-strip__contacts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.hlbj-agent-strip__link {
    font-size: .75rem !important;
    font-weight: 600 !important;
    color: #273043 !important;
    text-decoration: none !important;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    padding: 4px 10px;
    transition: border-color .15s, background .15s, color .15s;
    white-space: nowrap;
}

.hlbj-agent-strip__link:hover {
    border-color: #008000;
    background: #f0faf0;
    color: #008000 !important;
}

@media (max-width: 540px) {
    .hlbj-agent-strip { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   MEETING REQUEST BAR + CONFIRMATION
   ================================================================ */

.hlbj-meeting-bar {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.hlbj-meeting-btn--sent {
    background: #008000 !important;
    border-color: #008000 !important;
    cursor: default !important;
    opacity: .85;
}

.hlbj-meeting-confirm {
    font-size: .8rem;
    color: #008000;
    font-weight: 600;
    margin-top: 8px;
    padding: 8px 12px;
    background: #f0faf0;
    border-radius: 7px;
    border: 1px solid #c3e6c3;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .25s, transform .25s;
}
.hlbj-meeting-confirm--show { opacity: 1; transform: translateY(0); }

/* ================================================================
   SIDEBAR TYLER CTA CARD
   ================================================================ */

.hlbj-sidebar-tyler {
    padding: 16px !important;
}

.hlbj-sidebar-tyler__top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.hlbj-sidebar-tyler__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.hlbj-sidebar-tyler__avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #008000 !important;
    display: block !important;
}

.hlbj-sidebar-tyler__dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #fff;
    display: block;
}

.hlbj-sidebar-tyler__intro {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hlbj-sidebar-tyler__intro strong {
    font-size: .9rem !important;
    font-weight: 800 !important;
    color: #273043 !important;
}

.hlbj-sidebar-tyler__intro span {
    font-size: .7rem !important;
    color: #999 !important;
}

.hlbj-sidebar-tyler__msg {
    font-size: .8rem !important;
    color: #666 !important;
    margin: 0 0 12px !important;
    line-height: 1.5 !important;
}

.hlbj-sidebar-tyler__contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.hlbj-sidebar-tyler__link {
    font-size: .75rem !important;
    color: #555 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color .15s;
}

.hlbj-sidebar-tyler__link:hover { color: #008000 !important; }

/* ================================================================
   FIX: Complete button fully visible (overflow fix)
   ================================================================ */

.hlbj-task-actions {
    overflow: visible !important;
}

.hlbj-checklist__item {
    overflow: visible !important;
}

.hlbj-checklist {
    overflow: visible !important;
}

.hlbj-task-actions__btn--done,
.hlbj-task-actions__btn--help {
    flex: 1 !important;
    min-width: 110px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* ================================================================
   AUTH / LOGIN GATE — High-Conversion Funnel Wall
   ================================================================ */

/* Outer wrap */
.hlbj-gate-wrap {
    font-family: 'Montserrat', -apple-system, sans-serif;
    color: #273043;
    max-width: 100%;
    overflow: hidden;
}

/* ── Hero band ────────────────────────────────────────────────── */
.hlbj-gate-hero {
    background: linear-gradient(135deg, #1a2233 0%, #273043 60%, #08401a 100%);
    padding: 56px 40px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hlbj-gate-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.hlbj-gate-hero__inner {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.hlbj-gate-hero__eyebrow {
    margin-bottom: 18px;
}

.hlbj-gate-hero__badge {
    display: inline-block;
    background: rgba(250,187,23,.15);
    border: 1px solid rgba(250,187,23,.4);
    color: #FABB17;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 5px 14px;
    border-radius: 999px;
}

.hlbj-gate-hero__title {
    font-size: clamp(2rem, 5vw, 3rem) !important;
    font-weight: 900 !important;
    color: #fff !important;
    line-height: 1.15 !important;
    margin: 0 0 16px !important;
}

.hlbj-gate-hero__title-accent {
    color: #FABB17 !important;
}

.hlbj-gate-hero__sub {
    font-size: 1.05rem !important;
    color: rgba(255,255,255,.8) !important;
    max-width: 560px;
    margin: 0 auto 36px !important;
    line-height: 1.65 !important;
}

/* Stats bar */
.hlbj-gate-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 20px 32px;
    flex-wrap: wrap;
    gap: 24px;
}

.hlbj-gate-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hlbj-gate-stat__num {
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    color: #FABB17 !important;
    line-height: 1 !important;
}

.hlbj-gate-stat__label {
    font-size: .72rem !important;
    color: rgba(255,255,255,.65) !important;
    text-align: center;
    line-height: 1.35;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.hlbj-gate-stat__divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.15);
}

/* ── Main body (perks + form) ─────────────────────────────────── */
.hlbj-gate-body {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    padding: 48px 40px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* ── Perks column ─────────────────────────────────────────────── */
.hlbj-gate-perks__title {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #273043 !important;
    margin: 0 0 24px !important;
}

.hlbj-gate-perk {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.hlbj-gate-perk__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1.2;
    margin-top: 2px;
}

.hlbj-gate-perk strong {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: #273043;
    margin-bottom: 3px;
}

.hlbj-gate-perk p {
    font-size: .85rem !important;
    color: #666 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* Tyler agent callout in perks */
.hlbj-gate-agent {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #f8fdf8;
    border: 1.5px solid #c3e6c3;
    border-radius: 12px;
    padding: 18px;
    margin-top: 8px;
}

.hlbj-gate-agent__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.hlbj-gate-agent__avatar {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #008000 !important;
    display: block !important;
}

.hlbj-gate-agent__dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #fff;
    display: block;
}

.hlbj-gate-agent__body strong {
    display: block;
    font-size: .9rem;
    font-weight: 800;
    color: #273043;
    margin-bottom: 4px;
}

.hlbj-gate-agent__body p {
    font-size: .82rem !important;
    color: #555 !important;
    margin: 0 0 8px !important;
    line-height: 1.5 !important;
}

.hlbj-gate-agent__contact {
    font-size: .75rem;
    color: #008000;
    font-weight: 600;
}

/* ── Forms column ─────────────────────────────────────────────── */
.hlbj-gate-forms {
    position: sticky;
    top: 24px;
}

.hlbj-gate-forms__inner {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
}

.hlbj-gate-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.hlbj-gate-trust span {
    font-size: .75rem;
    font-weight: 600;
    color: #888;
}

/* ── Auth tabs + form (reused classes) ────────────────────────── */
.hlbj-auth-wrap {
    max-width: 960px;
}

.hlbj-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 700px) {
    .hlbj-auth { grid-template-columns: 1fr; }
    .hlbj-auth__hero { display: none; }
}

.hlbj-auth__hero {
    background: linear-gradient(135deg, #273043 0%, #1a2233 100%);
    border-radius: 12px;
    padding: 36px 32px;
    color: #fff;
}

.hlbj-auth__hero-icon { font-size: 3rem; margin-bottom: 14px; }
.hlbj-auth__hero-title { font-size: 1.5rem; font-weight: 700; color: #fff; margin: 0 0 12px; }
.hlbj-auth__hero-subtitle { color: rgba(255,255,255,.8); margin: 0 0 20px; }

.hlbj-auth__benefits {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 8px;
}
.hlbj-auth__benefits li { font-size: .93rem; color: rgba(255,255,255,.9); }

.hlbj-auth__forms {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px;
}

.hlbj-auth__tabs {
    display: flex;
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: 24px;
    gap: 0;
}

.hlbj-auth__tab {
    flex: 1;
    background: none;
    border: none;
    padding: 10px;
    font-family: inherit;
    font-weight: 600;
    font-size: .95rem;
    color: #888;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color .15s, border-color .15s;
}

.hlbj-auth__tab--active {
    color: #008000;
    border-bottom-color: #008000;
}

.hlbj-auth__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hlbj-form-row { display: flex; gap: 14px; }
.hlbj-form-row--half .hlbj-form-group { flex: 1; }

.hlbj-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hlbj-label { font-weight: 600; font-size: .88rem; color: #273043; }
.hlbj-required { color: #cc0000; }

.hlbj-input {
    padding: 10px 13px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: .95rem;
    color: #273043;
    width: 100%;
    transition: border-color .15s;
    box-sizing: border-box;
}

.hlbj-input:focus {
    outline: none;
    border-color: #008000;
    box-shadow: 0 0 0 3px rgba(0,128,0,.12);
}

.hlbj-field-hint { font-size: .8rem; color: #888; margin: 0; }

.hlbj-auth__terms { font-size: .8rem; color: #888; text-align: center; margin: 0; }
.hlbj-auth__terms a { color: #008000; text-decoration: none; }

.hlbj-link { color: #008000; text-decoration: none; font-size: .88rem; }
.hlbj-link:hover { text-decoration: underline; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hlbj-gate-body { grid-template-columns: 1fr; padding: 32px 24px; }
    .hlbj-gate-forms { position: static; }
    .hlbj-gate-hero { padding: 40px 24px 36px; }
    .hlbj-gate-stats { gap: 16px; padding: 16px 20px; }
    .hlbj-gate-stat__divider { display: none; }
}

@media (max-width: 520px) {
    .hlbj-gate-hero__title { font-size: 1.75rem !important; }
    .hlbj-gate-forms__inner { padding: 24px 18px; }
    .hlbj-gate-stats { flex-direction: column; gap: 12px; }
}

/* ── Complete button overflow fix (definitive) ────────────────── */
.hlbj-checklist,
.hlbj-checklist__item,
.hlbj-task-actions {
    overflow: visible !important;
}

.hlbj-task-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.hlbj-task-actions__btn {
    flex: 1 !important;
    min-width: 120px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

/* ================================================================
   UI QUALITY PASS — Elevate all plugin UI to funnel-wall standard
   ================================================================ */

/* ── Dashboard header ─────────────────────────────────────────── */
.hlbj-header {
    background: linear-gradient(135deg, #1a2233 0%, #273043 60%, #0a3d1a 100%) !important;
    border-radius: 16px !important;
    padding: 28px 32px 24px !important;
    margin-bottom: 24px !important;
    position: relative;
    overflow: hidden;
}

.hlbj-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
    border-radius: 16px;
}

.hlbj-header__title {
    font-size: clamp(1.4rem, 3vw, 2rem) !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin: 0 0 6px !important;
    position: relative;
}

.hlbj-header__subtitle {
    color: rgba(255,255,255,.7) !important;
    font-size: .9rem !important;
    margin: 0 !important;
    position: relative;
}

.hlbj-header__top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    position: relative;
}

/* Business switcher in dark header */
.hlbj-business-switcher__toggle {
    background: rgba(255,255,255,.1) !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 7px 14px !important;
    font-weight: 600 !important;
    font-size: .88rem !important;
}

.hlbj-business-switcher__toggle:hover {
    background: rgba(255,255,255,.18) !important;
}

/* ── Step cards ───────────────────────────────────────────────── */
.hlbj-step-card {
    background: #fff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 14px !important;
    padding: 20px 22px !important;
    transition: box-shadow .2s, border-color .2s, transform .15s !important;
    cursor: pointer;
}

.hlbj-step-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.1) !important;
    border-color: #008000 !important;
    transform: translateY(-2px) !important;
}

.hlbj-step-card--active {
    border-color: #008000 !important;
    border-left-width: 4px !important;
    box-shadow: 0 4px 16px rgba(0,128,0,.12) !important;
}

.hlbj-step-card--complete {
    background: #f8fdf8 !important;
    border-color: #c3e6c3 !important;
}

.hlbj-step-card__icon {
    font-size: 1.6rem !important;
    margin-bottom: 10px !important;
    display: block;
}

.hlbj-step-card__title {
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #273043 !important;
    margin: 0 0 6px !important;
}

.hlbj-step-card__status {
    font-size: .72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
}

/* ── Sidebar cards ────────────────────────────────────────────── */
.hlbj-sidebar-card {
    background: #fff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 14px !important;
    padding: 20px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.05) !important;
}

/* Progress ring card */
.hlbj-sidebar-card--progress {
    background: linear-gradient(135deg, #f8fdf8 0%, #edfaed 100%) !important;
    border-color: #c3e6c3 !important;
}

/* ── Journey rail polish ──────────────────────────────────────── */
.hlbj-journey-rail {
    box-shadow: 0 2px 12px rgba(0,0,0,.05) !important;
}

.hlbj-journey-rail__callout {
    background: #f8fdf8;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 14px;
    border-top: none !important;
    border: 1px solid #e8f5e8;
}

/* ── Profile completeness card ────────────────────────────────── */
.hlbj-profile-completeness {
    box-shadow: 0 2px 12px rgba(0,0,0,.05) !important;
    border-radius: 14px !important;
    border: 1px solid #eaeaea !important;
}

/* ── Step detail — checklist items ───────────────────────────── */
.hlbj-checklist__item {
    border-radius: 12px !important;
    border: 1px solid #eaeaea !important;
    box-shadow: 0 1px 6px rgba(0,0,0,.04) !important;
    transition: box-shadow .15s, border-color .15s !important;
}

.hlbj-checklist__item:hover {
    border-color: #d0d0d0 !important;
    box-shadow: 0 3px 12px rgba(0,0,0,.08) !important;
}

/* ── Buttons elevated look ────────────────────────────────────── */
.hlbj-btn--primary {
    background: linear-gradient(135deg, #008000 0%, #00a000 100%) !important;
    box-shadow: 0 4px 14px rgba(0,128,0,.3) !important;
    border-color: transparent !important;
    font-weight: 700 !important;
}

.hlbj-btn--primary:hover {
    background: linear-gradient(135deg, #006600 0%, #008000 100%) !important;
    box-shadow: 0 6px 20px rgba(0,128,0,.4) !important;
    transform: translateY(-1px);
}

.hlbj-task-actions__btn--done {
    background: linear-gradient(135deg, #008000 0%, #00a000 100%) !important;
    box-shadow: 0 3px 10px rgba(0,128,0,.25) !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    padding: 10px 18px !important;
}

.hlbj-task-actions__btn--help {
    background: linear-gradient(135deg, #FABB17 0%, #f5c842 100%) !important;
    box-shadow: 0 3px 10px rgba(250,187,23,.3) !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    padding: 10px 18px !important;
    color: #273043 !important;
}

/* ── Step detail header ───────────────────────────────────────── */
.hlbj-step-detail__header {
    background: linear-gradient(135deg, #1a2233 0%, #273043 100%);
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 24px;
    color: #fff;
}

.hlbj-step-detail__title {
    color: #fff !important;
}

.hlbj-step-detail__desc {
    color: rgba(255,255,255,.75) !important;
}

.hlbj-step-detail__number {
    color: #FABB17 !important;
    font-weight: 800 !important;
}

/* ================================================================
   DEFINITIVE TASK ACTION FIX — prevent theme/Elementor interference
   ================================================================ */

/* Force card to auto-height and never clip */
.hlbj-checklist__item {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    contain: none !important;
}

/* Protect expand button from theme button styles */
.hlbj-checklist__expand-btn {
    background: #f0f0f0 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    color: #273043 !important;
    box-shadow: none !important;
    transform: none !important;
}

.hlbj-checklist__expand-btn:hover {
    background: #e0e0e0 !important;
    transform: none !important;
    box-shadow: none !important;
}

.hlbj-checklist__expand-btn[aria-expanded="true"] {
    background: #273043 !important;
    color: #fff !important;
}

.hlbj-checklist__expand-btn svg {
    transition: transform .2s !important;
    pointer-events: none;
}

.hlbj-checklist__expand-btn[aria-expanded="true"] svg {
    transform: rotate(180deg) !important;
}

/* Task action row — flex, never hidden by parent */
.hlbj-task-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 12px !important;
    padding-top: 12px !important;
    border-top: 1px solid #f0f0f0 !important;
    overflow: visible !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Button text must be fully visible */
.hlbj-task-actions__btn--done,
.hlbj-task-actions__btn--help {
    flex: 1 1 120px !important;
    min-width: 120px !important;
    padding: 12px 16px !important;
    font-size: .9rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-align: center !important;
    line-height: 1.3 !important;
    height: auto !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}
