/* ============================================================
   User Home Page Only - Start
   Page-specific styles for userhome.html
   ============================================================ */

/* ---------- Compact navy hero (replaces full brand panel) ---------- */
.br-uh-main {
    padding: 0;
}

.br-uh-hero {
    background: linear-gradient(160deg, hsl(213,100%,11%) 0%, hsl(222,100%,25%) 100%);
    color: #fff;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.br-uh-hero-text {
    flex: 1 1 420px;
    min-width: 0;
}

.br-uh-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 10px 0 4px;
    letter-spacing: -0.3px;
}

    .br-uh-hero-title strong {
        color: #F97316;
        font-weight: 700;
    }

.br-uh-hero-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.5;
}

.br-uh-hero-email {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    font-size: 12px;
    color: rgba(255,255,255,0.85);
}

.br-uh-hero-trust {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

    .br-uh-hero-trust .bi {
        color: #F97316;
    }

@media (max-width: 700px) {
    .br-uh-hero {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .br-uh-hero-title {
        font-size: 20px;
    }

    .br-uh-hero-trust {
        font-size: 11px;
        white-space: normal;
    }
}

@media (max-width: 600px) {
    .br-uh-hero-email {
        display: block;
        margin-left: 0;
        margin-top: 6px;
    }
}

body.dark-mode .br-uh-hero {
    background: linear-gradient(160deg, hsl(213,80%,8%) 0%, hsl(222,80%,18%) 100%);
}

/* Right panel now lives inside .br-acc-main — drop fixed width/height */
.br-uh-right-panel {
    width: 100% !important;
    flex: 1 1 auto !important;
    height: auto !important;
    overflow: visible !important;
    background: transparent !important;
}
/* v2.5 — Left-align content next to sidebar; remove centered max-width gutter */
.br-uh-right-wrap {
    padding: 28px 36px 60px !important;
    max-width: none !important;
    margin: 0 !important;
    width: 100%;
}

@media (max-width: 700px) {
    .br-uh-right-wrap {
        padding: 20px !important;
    }
}


/* ---------- Layout ---------- */
.br-uh-layout {
    display: flex;
    min-height: 100vh;
}

/* ---------- Left branding panel ---------- */
.br-uh-brand {
    width: 33%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 36px 36px;
    background: linear-gradient(160deg, hsl(213,100%,11%) 0%, hsl(222,100%,25%) 100%);
}

.br-uh-logo-box {
    display: block;
    background: #fff;
    border-radius: 0;
    padding: 20px 36px;
    margin: 0 -36px 0 -36px;
    width: calc(100% + 72px);
}

.br-uh-logo {
    height: 56px;
    display: block;
}

.br-uh-brand-content {
    margin-top: 28px;
    padding-top: 0;
}

.br-uh-brand-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    margin: 16px 0 16px;
}

.br-uh-brand-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    max-width: 420px;
    line-height: 1.7;
}

.br-uh-brand-checks {
    margin-top: 24px;
}

    .br-uh-brand-checks div {
        display: flex;
        align-items: center;
        gap: 12px;
        color: rgba(255,255,255,0.65);
        font-size: 14px;
        font-family: 'Inter', sans-serif;
        padding: 6px 0;
    }

        .br-uh-brand-checks div i {
            color: hsl(96,66%,47%);
            flex-shrink: 0;
        }

.br-uh-brand-footer {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    font-family: 'Inter', sans-serif;
}

/* ---------- Right panel ---------- */
.br-uh-right-panel {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 36px 24px 48px;
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 0;
    position: relative;
}

.br-uh-right-wrap {
    width: 100%;
    max-width: 820px;
    padding-top: 16px;
    padding-bottom: 24px;
}

/* ---------- Business search + scroll (v1.8) ---------- */
.br-uh-biz-search {
    position: relative;
    margin-bottom: 12px;
}

    .br-uh-biz-search i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--muted-fg);
        font-size: 14px;
        pointer-events: none;
    }

    .br-uh-biz-search input {
        width: 100%;
        padding: 9px 12px 9px 34px;
        border: 1px solid hsl(222, 80%, 90%);
        border-radius: 999px;
        font-family: 'Inter', sans-serif;
        font-size: 13px;
        color: var(--fg);
        background: hsl(222, 100%, 99%);
        transition: border-color .15s, box-shadow .15s, background .15s;
    }

        .br-uh-biz-search input:focus {
            outline: none;
            border-color: var(--brand-blue);
            background: #fff;
            box-shadow: 0 0 0 3px hsla(222, 100%, 60%, 0.12);
        }

        .br-uh-biz-search input::placeholder {
            color: var(--muted-fg);
        }

.br-uh-biz-scroll {
    position: relative; /* v3.34 — anchor fade + chevron */
    max-height: 320px; /* v3.32 cap retained */
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: hsl(222, 60%, 70%) hsl(222, 30%, 95%); /* v3.34 — visible rail */
}

    .br-uh-biz-scroll::-webkit-scrollbar {
        width: 10px;
    }

    .br-uh-biz-scroll::-webkit-scrollbar-track {
        background: hsl(222, 30%, 95%); /* v3.34 — visible at rest */
        border-radius: 999px;
    }

    .br-uh-biz-scroll::-webkit-scrollbar-thumb {
        background: hsl(222, 60%, 75%);
        border-radius: 999px;
        border: 2px solid hsl(222, 30%, 95%);
        background-clip: padding-box;
    }

        .br-uh-biz-scroll::-webkit-scrollbar-thumb:hover {
            background: hsl(222, 100%, 60%);
            background-clip: padding-box;
            border: 2px solid hsl(222, 30%, 95%);
        }

/* v3.34 — Bottom fade gradient + scroll-down chevron pill.
   Only visible when content overflows AND user is not at the bottom. */
.br-uh-biz-scroll-wrap {
    position: relative;
}

    .br-uh-biz-scroll-wrap::after {
        content: "";
        position: absolute;
        left: 0;
        right: 12px;
        bottom: 0;
        height: 28px;
        background: linear-gradient(to bottom, hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, 0.95));
        pointer-events: none;
        opacity: 0;
        transition: opacity .18s ease;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    .br-uh-biz-scroll-wrap.is-overflow:not(.is-bottom)::after {
        opacity: 1;
    }

.br-uh-biz-scroll-hint-pill {
    position: absolute;
    right: 14px;
    bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: hsl(222, 100%, 60%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    box-shadow: 0 2px 8px hsla(222, 100%, 30%, 0.25);
    pointer-events: none;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 2;
}

    .br-uh-biz-scroll-hint-pill .bi {
        font-size: 11px;
        animation: br-bounce-down 1.4s ease-in-out infinite;
    }

.br-uh-biz-scroll-wrap.is-overflow:not(.is-bottom) .br-uh-biz-scroll-hint-pill {
    opacity: 1;
    transform: translateY(0);
}

.br-uh-biz-empty {
    padding: 16px 8px;
    text-align: center;
    font-size: 13px;
    color: var(--muted-fg);
    font-family: 'Inter', sans-serif;
}

    .br-uh-biz-empty i {
        color: hsl(222, 60%, 70%);
        margin-right: 6px;
    }

/* ---------- Scroll hint ---------- */
.br-uh-scroll-hint {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: hsla(222, 100%, 25%, 0.85);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    padding: 8px 18px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px hsla(222, 100%, 15%, 0.25);
    transition: opacity .4s, transform .4s;
    pointer-events: none;
    z-index: 1000;
}

    .br-uh-scroll-hint i {
        animation: br-bounce-down 1.2s ease-in-out infinite;
    }

    .br-uh-scroll-hint.hidden {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }

@keyframes br-bounce-down {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* ---------- Panel headings ---------- */
.br-uh-page-title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--fg);
    letter-spacing: -0.4px;
}

.br-uh-welcome-line {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--fg);
    margin: 0 0 4px;
}

    .br-uh-welcome-line strong {
        color: hsl(213, 100%, 25%);
        font-weight: 700;
    }

    .br-uh-welcome-line .br-uh-email {
        color: var(--muted-fg);
        font-weight: 400;
        font-size: 14px;
    }

.br-uh-panel-title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--fg);
}

.br-uh-panel-subtitle {
    font-family: 'Inter', sans-serif;
    color: var(--muted-fg);
    margin-bottom: 24px;
    font-size: 14px;
}

/* ---------- Quick Links card (v2.0) ---------- */
.br-uh-quick-links {
    background: #fff;
    border: 1px solid hsl(222, 30%, 90%);
    border-top: 3px solid hsl(25, 95%, 53%);
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 20px;
    box-shadow: 0 4px 18px hsla(222, 30%, 50%, 0.06);
}

.br-uh-quick-links-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

    .br-uh-quick-links-header h3 {
        font-family: 'Inter', sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: var(--fg);
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .br-uh-quick-links-header h3 i {
            color: hsl(25, 95%, 53%);
        }

.br-uh-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
}

@media (max-width: 760px) {
    .br-uh-quick-grid {
        grid-template-columns: 1fr;
    }
}

.br-uh-quick-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: hsl(220, 30%, 98%);
    border: 1px solid hsl(222, 30%, 92%);
    border-radius: 10px;
    text-decoration: none;
    color: var(--fg);
    transition: transform .15s, box-shadow .15s, border-color .15s, background .15s;
}

    .br-uh-quick-tile:hover {
        text-decoration: none;
        color: var(--fg);
        transform: translateY(-2px);
        box-shadow: 0 6px 18px hsla(222, 60%, 30%, 0.1);
        border-color: hsl(25, 95%, 70%);
        background: #fff;
    }

.br-uh-quick-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.br-uh-quick-icon-blue {
    background: hsl(213, 100%, 95%);
    color: hsl(213, 100%, 30%);
}

.br-uh-quick-icon-teal {
    background: hsl(170, 60%, 92%);
    color: hsl(170, 60%, 32%);
}

.br-uh-quick-icon-purple {
    background: hsl(260, 80%, 94%);
    color: hsl(260, 80%, 50%);
}

.br-uh-quick-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.br-uh-quick-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--fg);
}

.br-uh-quick-desc {
    font-size: 11px;
    color: var(--muted-fg);
    margin-top: 2px;
    line-height: 1.35;
}

.br-uh-quick-arrow {
    color: var(--muted-fg);
    font-size: 12px;
    transition: transform .15s;
}

.br-uh-quick-tile:hover .br-uh-quick-arrow {
    transform: translateX(3px);
    color: hsl(25, 95%, 53%);
}

.br-uh-quick-footer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid hsl(222, 30%, 94%);
    text-align: right;
}

.br-uh-tour-link {
    font-size: 12px;
    color: hsl(25, 95%, 45%);
    text-decoration: none;
    font-weight: 600;
}

    .br-uh-tour-link:hover {
        color: hsl(25, 95%, 35%);
        text-decoration: underline;
    }

/* ---------- Help info pip ---------- */
.br-uh-help-pip {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid hsl(222, 30%, 80%);
    background: #fff;
    color: hsl(213, 100%, 30%);
    font-size: 11px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .15s;
    margin-left: auto;
}

    .br-uh-help-pip:hover {
        background: hsl(213, 100%, 95%);
        border-color: hsl(213, 100%, 60%);
        transform: scale(1.1);
    }

/* ---------- Tier-based visibility (moved to end-of-file for cascade priority) ---------- */

/* ---------- Tour overlay ---------- */
.br-uh-tour-overlay {
    position: fixed;
    inset: 0;
    background: rgba(1, 27, 56, 0.65);
    z-index: 1050;
    pointer-events: auto;
    opacity: 0;
    transition: opacity .3s;
}

    .br-uh-tour-overlay.is-visible {
        opacity: 1;
    }

.br-uh-tour-spotlight {
    position: fixed;
    border-radius: 14px;
    box-shadow: 0 0 0 9999px rgba(1, 27, 56, 0.65), 0 0 0 4px hsl(25, 95%, 53%);
    z-index: 1051;
    pointer-events: none;
    transition: all .35s ease;
}

.br-uh-tour-popover {
    position: fixed;
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    max-width: 320px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    z-index: 1052;
    font-family: 'Inter', sans-serif;
}

    .br-uh-tour-popover h4 {
        font-size: 15px;
        font-weight: 700;
        color: var(--fg);
        margin: 0 0 6px;
    }

    .br-uh-tour-popover p {
        font-size: 13px;
        color: var(--muted-fg);
        margin: 0 0 14px;
        line-height: 1.5;
    }

.br-uh-tour-popover-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.br-uh-tour-step {
    font-size: 11px;
    font-weight: 600;
    color: hsl(25, 95%, 53%);
    letter-spacing: .5px;
    text-transform: uppercase;
}

.br-uh-tour-buttons {
    display: flex;
    gap: 8px;
}

    .br-uh-tour-buttons button {
        background: transparent;
        border: 1px solid hsl(222, 30%, 85%);
        color: var(--muted-fg);
        padding: 6px 14px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        font-family: 'Inter', sans-serif;
        transition: all .15s;
    }

        .br-uh-tour-buttons button.is-primary {
            background: hsl(25, 95%, 53%);
            border-color: hsl(25, 95%, 53%);
            color: #fff;
        }

            .br-uh-tour-buttons button.is-primary:hover {
                background: hsl(25, 95%, 45%);
            }

        .br-uh-tour-buttons button:hover {
            color: var(--fg);
            border-color: hsl(222, 30%, 70%);
        }

/* ---------- Unified content grid (v2.8.1: flat 2-col grid; cards are direct children) ---------- */
.br-uh-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    grid-auto-flow: dense;
    gap: 20px;
    max-width: 880px;
    align-items: stretch;
    margin-top: 8px;
}

@media (max-width: 760px) {
    .br-uh-content-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }
}

/* Legacy wrapper rules retained as no-op safety in case other pages reference them */
.br-uh-cards {
    display: contents;
}

.br-uh-secondary-grid {
    display: contents;
}

.br-uh-plan-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

    .br-uh-plan-card .br-plan-features-list {
        flex: 1;
    }

/* ---------- Business section ---------- */
.br-uh-biz-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 8px;
    max-width: 1100px;
}

@media (max-width: 900px) {
    .br-uh-biz-section {
        grid-template-columns: 1fr;
    }
}

/* ---------- Billing portal card ---------- */
.br-uh-biz-card-billing {
    background: #fff;
    border: 1px solid hsl(260, 80%, 90%);
    box-shadow: 0 4px 20px hsla(260, 80%, 55%, 0.06);
    border-top: 3px solid hsl(260, 80%, 55%);
    margin-bottom: 8px;
}

    .br-uh-biz-card-billing:hover {
        box-shadow: 0 8px 30px hsla(260, 80%, 55%, 0.12);
    }

.br-uh-billing-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}

.br-uh-billing-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--fg);
    line-height: 1.5;
}

.br-uh-billing-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(260, 80%, 55%), hsl(222, 100%, 60%));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ---------- Support card ---------- */
.br-uh-biz-card-support {
    background: #fff;
    border: 1px solid hsl(170, 60%, 85%);
    box-shadow: 0 4px 20px hsla(170, 60%, 40%, 0.06);
    border-top: 3px solid hsl(170, 60%, 40%);
    margin-top: 28px;
    margin-bottom: 8px;
}

    .br-uh-biz-card-support:hover {
        box-shadow: 0 8px 30px hsla(170, 60%, 40%, 0.12);
    }

.br-uh-support-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.br-uh-support-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, hsl(170, 60%, 40%), hsl(170, 80%, 32%));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.br-uh-support-options {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.br-uh-support-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: #1a1a2e;
    text-decoration: none;
    transition: background .15s, color .15s;
    cursor: pointer;
    border: 1px solid transparent;
}

    .br-uh-support-option:hover {
        background: hsl(170, 60%, 96%);
        border-color: hsl(170, 60%, 85%);
        color: hsl(170, 60%, 30%);
    }

    .br-uh-support-option i:first-child {
        font-size: 18px;
        color: hsl(170, 60%, 40%);
        flex-shrink: 0;
    }

    .br-uh-support-option span {
        flex: 1;
    }

.br-uh-support-arrow {
    font-size: 12px;
    color: var(--muted-fg);
    transition: transform .15s;
}

.br-uh-support-option:hover .br-uh-support-arrow {
    transform: translateX(3px);
    color: hsl(170, 60%, 35%);
}

/* ---------- Business cards (shared) ---------- */
.br-uh-biz-card {
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}

    .br-uh-biz-card:hover {
        transform: translateY(-2px);
    }

    .br-uh-biz-card h3 {
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        font-weight: 700;
        margin: 0;
        color: var(--fg);
    }

.br-uh-biz-card-sub {
    font-size: 13px;
    color: var(--muted-fg);
    margin: 2px 0 0;
}

.br-uh-biz-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.br-uh-biz-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, hsl(222, 100%, 95%), hsl(222, 100%, 88%));
    color: hsl(222, 100%, 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px hsla(222, 80%, 60%, 0.15);
}

/* List card */
.br-uh-biz-card-list {
    background: #fff;
    border: 1px solid hsl(222, 80%, 90%);
    box-shadow: 0 4px 20px hsla(222, 80%, 60%, 0.08);
    border-top: 3px solid hsl(222, 100%, 60%);
}

    .br-uh-biz-card-list:hover {
        box-shadow: 0 8px 30px hsla(222, 80%, 60%, 0.14);
    }

.br-uh-biz-card-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid hsl(222, 80%, 94%);
}

.br-uh-add-biz-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: hsl(222, 100%, 60%);
    text-decoration: none;
    padding: 6px 0;
    transition: opacity .15s;
}

    .br-uh-add-biz-btn:hover {
        opacity: 0.7;
        text-decoration: none;
        color: hsl(222, 100%, 60%);
    }

/* CTA card */
.br-uh-biz-card-cta {
    background: linear-gradient(145deg, hsl(222, 80%, 97%), hsl(222, 100%, 93%));
    border: 1px solid hsl(222, 80%, 88%);
    text-align: center;
    align-items: center;
    border-top: 3px solid hsl(96, 66%, 47%);
}

    .br-uh-biz-card-cta:hover {
        box-shadow: 0 8px 30px hsla(96, 66%, 47%, 0.12);
    }

    .br-uh-biz-card-cta h3 {
        color: hsl(213, 100%, 11%);
    }

    .br-uh-biz-card-cta p {
        font-size: 13px;
        color: var(--muted-fg);
        line-height: 1.6;
        margin: 0 0 12px;
    }

.br-uh-biz-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(96, 66%, 47%), hsl(145, 63%, 42%));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px hsla(96, 66%, 47%, 0.3);
}

.br-uh-cta-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    text-align: left;
}

    .br-uh-cta-perks li {
        font-size: 13px;
        color: var(--fg);
        padding: 4px 0;
    }

        .br-uh-cta-perks li i {
            color: hsl(145, 63%, 42%);
            margin-right: 6px;
        }

/* Business links */
.br-uh-biz-link {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    margin: 2px 0;
    color: var(--fg);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all .15s;
    gap: 10px;
    background: hsl(222, 100%, 99%);
    border: 1px solid hsl(222, 100%, 96%);
}

    .br-uh-biz-link:hover {
        background: hsl(222, 100%, 95%);
        border-color: hsl(222, 80%, 88%);
        color: hsl(222, 100%, 50%);
        text-decoration: none;
        box-shadow: 0 2px 8px hsla(222, 80%, 60%, 0.08);
    }

.br-uh-biz-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: hsl(222, 100%, 95%);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.br-uh-biz-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.br-uh-biz-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.br-uh-biz-surveys {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted-fg);
    margin-top: 1px;
}

.br-uh-biz-arrow {
    color: var(--muted-fg);
    font-size: 12px;
    flex-shrink: 0;
    transition: transform .15s;
}

.br-uh-biz-link:hover .br-uh-biz-arrow {
    transform: translateX(2px);
    color: var(--brand-blue);
}

/* ---------- Badges ---------- */
.br-uh-biz-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .3px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.br-uh-biz-badge-subscribed {
    background: linear-gradient(135deg, hsl(222, 100%, 93%), hsl(222, 100%, 88%));
    color: var(--brand-blue);
}

.br-uh-biz-badge-free {
    background: hsl(0, 0%, 93%);
    color: var(--muted-fg);
}

/* ---------- Section divider ---------- */
.br-uh-section-divider {
    display: flex;
    align-items: center;
    margin: 28px 0 20px;
    gap: 12px;
}

    .br-uh-section-divider::before,
    .br-uh-section-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border);
    }

    .br-uh-section-divider span {
        font-family: 'Inter', sans-serif;
        font-size: 13px;
        font-weight: 600;
        color: var(--muted-fg);
        text-transform: uppercase;
        letter-spacing: .5px;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

        .br-uh-section-divider span i {
            color: var(--brand-blue);
        }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .br-uh-layout {
        flex-direction: column;
    }

    .br-uh-brand {
        display: none;
    }

    .br-uh-right-panel {
        padding: 24px 16px;
    }

    .br-uh-right-wrap {
        padding-top: 8px;
    }

    .br-uh-biz-scroll {
        max-height: 320px;
    }

    .br-uh-panel-title {
        font-size: 22px;
    }

    .br-uh-biz-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .br-uh-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .br-uh-biz-card {
        padding: 20px;
    }

    .br-uh-biz-link {
        padding: 10px 12px;
        font-size: 13px;
    }

    .br-uh-biz-icon-wrap {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .br-uh-biz-card-support, .br-uh-biz-card-billing {
        padding: 20px;
    }

    .br-uh-support-header {
        flex-direction: column;
        gap: 10px;
    }

    .br-uh-support-option {
        font-size: 13px;
        padding: 10px 12px;
    }

    .br-uh-billing-step {
        font-size: 12px;
    }

    .br-uh-scroll-hint {
        font-size: 12px;
        padding: 8px 16px;
    }

    .br-uh-section-divider {
        margin: 20px 0 16px;
    }

    .br-proof-card {
        margin-top: 16px !important;
    }
}

@media (max-width: 480px) {
    .br-uh-right-panel {
        padding: 16px 12px;
    }

    .br-uh-biz-card {
        padding: 16px;
        border-radius: 12px;
    }

    .br-uh-biz-card-cta .br-uh-biz-cta-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .br-uh-panel-title {
        font-size: 20px;
    }

    .br-uh-panel-subtitle {
        font-size: 13px;
    }

    .br-uh-biz-card-support, .br-uh-biz-card-billing {
        padding: 16px;
        border-radius: 12px;
    }

    .br-uh-support-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* ---------- Accessibility ---------- */
.br-uh-biz-link:focus-visible,
.br-uh-add-biz-btn:focus-visible,
.br-uh-biz-card .btn:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

/* ---------- Member Card (Companies I Work With) ---------- */
.br-uh-biz-card-member {
    position: relative;
    background: linear-gradient(180deg, hsla(270, 75%, 55%, 0.10) 0%, hsla(270, 75%, 55%, 0.00) 100%);
    border: 1px solid hsla(270, 60%, 50%, 0.18);
    border-top: 1px solid hsla(270, 60%, 50%, 0.18);
    border-left: 4px solid #4F46E5;
    box-shadow: 0 4px 20px hsla(270, 40%, 30%, 0.06);
}

    .br-uh-biz-card-member:hover {
        box-shadow: 0 8px 30px hsla(238, 70%, 50%, 0.18);
    }

.br-uh-biz-card-icon-member {
    background: linear-gradient(135deg, #6366F1, #4F46E5) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px hsla(238, 70%, 50%, 0.28) !important;
}

/* STAFF ACCESS pill — sits inline next to the card title. */
.br-uh-biz-pill-staff {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 7px;
    background: hsla(238, 84%, 60%, 0.12);
    color: #4338CA;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    vertical-align: middle;
    line-height: 1.4;
}

/* Access roles chips inside member links */
.br-uh-role-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    background: hsl(220, 20%, 94%);
    color: hsl(220, 30%, 30%);
    border-radius: 4px;
    margin-right: 6px;
    margin-top: 2px;
}

.br-uh-role-badge-more {
    border: 1px dashed hsl(220, 30%, 75%);
    background: transparent;
    color: hsl(220, 30%, 50%);
}

.br-uh-owner-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    background: hsl(35, 100%, 92%);
    color: hsl(25, 95%, 35%);
    border-radius: 4px;
    margin-right: 6px;
    margin-top: 2px;
}

    .br-uh-owner-badge i {
        font-size: 11px;
    }

/* ==============================================================
   DARK MODE — User Home Page
   ============================================================== */
body.dark-mode .br-uh-brand {
    background: linear-gradient(160deg, hsl(211,97%,4%) 0%, hsl(222,80%,12%) 100%);
}

body.dark-mode .br-uh-logo-box {
    background: rgba(255,255,255,0.08);
}

body.dark-mode .br-uh-right-panel {
    background: var(--bg);
}

body.dark-mode .br-uh-panel-title {
    color: var(--fg);
}

body.dark-mode .br-uh-panel-subtitle {
    color: var(--muted-fg);
}

body.dark-mode .br-uh-biz-card-list {
    background: var(--card);
    border-color: var(--border);
    border-top-color: hsl(222, 100%, 50%);
    box-shadow: 0 4px 20px hsla(222, 80%, 30%, 0.15);
}

    body.dark-mode .br-uh-biz-card-list:hover {
        box-shadow: 0 8px 30px hsla(222, 80%, 40%, 0.2);
    }

body.dark-mode .br-uh-biz-link {
    background: hsla(222, 60%, 20%, 0.3);
    border-color: hsla(222, 60%, 30%, 0.3);
    color: var(--fg);
}

    body.dark-mode .br-uh-biz-link:hover {
        background: hsla(222, 60%, 25%, 0.5);
        border-color: hsla(222, 60%, 40%, 0.4);
        color: hsl(222, 100%, 70%);
    }

body.dark-mode .br-uh-biz-icon-wrap {
    background: hsla(222, 60%, 30%, 0.3);
    color: hsl(222, 100%, 70%);
}

body.dark-mode .br-uh-biz-card-footer {
    border-top-color: var(--border);
}

body.dark-mode .br-uh-add-biz-btn {
    color: hsl(222, 100%, 70%);
}

body.dark-mode .br-uh-biz-card-cta {
    background: linear-gradient(145deg, hsla(222, 60%, 15%, 0.6), hsla(222, 60%, 20%, 0.4));
    border-color: var(--border);
    border-top-color: hsl(96, 66%, 40%);
}

    body.dark-mode .br-uh-biz-card-cta h3 {
        color: var(--fg);
    }

    body.dark-mode .br-uh-biz-card-cta p {
        color: var(--muted-fg);
    }

body.dark-mode .br-uh-biz-card-billing {
    background: var(--card);
    border-color: var(--border);
    box-shadow: 0 4px 20px hsla(260, 60%, 20%, 0.15);
}

    body.dark-mode .br-uh-biz-card-billing:hover {
        box-shadow: 0 8px 30px hsla(260, 60%, 30%, 0.2);
    }

    body.dark-mode .br-uh-biz-card-billing .br-uh-biz-card-icon {
        background: linear-gradient(135deg, hsla(260,60%,30%,0.4), hsla(260,60%,40%,0.3)) !important;
        color: hsl(260, 80%, 70%) !important;
    }

body.dark-mode .br-uh-billing-step-num {
    background: hsla(260, 60%, 30%, 0.3);
    color: hsl(260, 80%, 70%);
}

body.dark-mode .br-uh-biz-card-support {
    background: var(--card);
    border-color: var(--border);
    box-shadow: 0 4px 20px hsla(170, 40%, 15%, 0.1);
}

    body.dark-mode .br-uh-biz-card-support h3 {
        color: var(--fg) !important;
    }

    body.dark-mode .br-uh-biz-card-support p {
        color: var(--muted-fg) !important;
    }

body.dark-mode .br-uh-support-icon {
    background: hsla(170, 40%, 25%, 0.3);
    color: hsl(170, 60%, 55%);
}

body.dark-mode .br-uh-support-option {
    color: var(--fg);
}

    body.dark-mode .br-uh-support-option:hover {
        background: hsla(170, 40%, 20%, 0.3);
        border-color: hsla(170, 40%, 35%, 0.3);
        color: hsl(170, 60%, 65%);
    }

    body.dark-mode .br-uh-support-option i:first-child {
        color: hsl(170, 60%, 55%);
    }

body.dark-mode .br-uh-biz-badge-subscribed {
    background: hsla(222, 60%, 30%, 0.3);
    color: hsl(222, 100%, 70%);
}

body.dark-mode .br-uh-biz-badge-free {
    background: hsla(0, 0%, 40%, 0.2);
    color: var(--muted-fg);
}

body.dark-mode .br-uh-section-divider::before,
body.dark-mode .br-uh-section-divider::after {
    background: var(--border);
}

body.dark-mode .br-uh-section-divider span {
    color: var(--muted-fg);
}

body.dark-mode .br-uh-scroll-hint {
    background: hsla(211, 80%, 12%, 0.9);
    border-color: var(--border);
    color: var(--muted-fg);
}

body.dark-mode .br-uh-biz-search input {
    background: hsla(222, 60%, 18%, 0.4);
    border-color: hsla(222, 60%, 35%, 0.4);
    color: var(--fg);
}

    body.dark-mode .br-uh-biz-search input:focus {
        background: hsla(222, 60%, 22%, 0.6);
        border-color: hsl(222, 100%, 65%);
        box-shadow: 0 0 0 3px hsla(222, 100%, 60%, 0.2);
    }

body.dark-mode .br-uh-biz-search i {
    color: hsl(222, 40%, 65%);
}

body.dark-mode .br-uh-biz-scroll {
    scrollbar-color: hsla(222, 60%, 50%, 0.5) transparent;
}

    body.dark-mode .br-uh-biz-scroll::-webkit-scrollbar-thumb {
        background: hsla(222, 60%, 45%, 0.6);
        background-clip: padding-box;
        border: 2px solid transparent;
    }

        body.dark-mode .br-uh-biz-scroll::-webkit-scrollbar-thumb:hover {
            background: hsl(222, 100%, 65%);
            background-clip: padding-box;
            border: 2px solid transparent;
        }

body.dark-mode .br-uh-biz-empty {
    color: var(--muted-fg);
}

body.dark-mode .br-uh-plan-card.br-plan-type-card {
    background: var(--card);
    border-color: var(--border);
}

    body.dark-mode .br-uh-plan-card.br-plan-type-card h3 {
        color: var(--fg);
    }

    body.dark-mode .br-uh-plan-card.br-plan-type-card p {
        color: var(--muted-fg);
    }

/* ============================================================
   Tier-based visibility cascade (END-OF-FILE for source-order priority)
   v2.0.4 — Layout restores are now tier-matched. Previous v2.0.3 had
   generic .br-uh-plan-card[data-uh-show]{display:flex} rules that
   re-showed every gated element on every tier. Each restore selector
   now requires BOTH a matching body.br-uh-tier-* class AND a matching
   data-uh-show~="<tier>" token (or "all").
   ============================================================ */
[data-uh-show] {
    display: none !important;
}

/* Default block-level show for matching tier */
body.br-uh-tier-none [data-uh-show~="none"],
body.br-uh-tier-free [data-uh-show~="free"],
body.br-uh-tier-subscribed [data-uh-show~="subscribed"],
body.br-uh-tier-mixed [data-uh-show~="mixed"],
body.br-uh-tier-none [data-uh-show~="all"],
body.br-uh-tier-free [data-uh-show~="all"],
body.br-uh-tier-subscribed [data-uh-show~="all"],
body.br-uh-tier-mixed [data-uh-show~="all"] {
    display: block !important;
}

/* Layout-specific restores — only when tier matches the data-uh-show token */
body.br-uh-tier-none .br-uh-cards[data-uh-show~="none"],
body.br-uh-tier-free .br-uh-cards[data-uh-show~="free"],
body.br-uh-tier-subscribed .br-uh-cards[data-uh-show~="subscribed"],
body.br-uh-tier-mixed .br-uh-cards[data-uh-show~="mixed"],
body.br-uh-tier-none .br-uh-cards[data-uh-show~="all"],
body.br-uh-tier-free .br-uh-cards[data-uh-show~="all"],
body.br-uh-tier-subscribed .br-uh-cards[data-uh-show~="all"],
body.br-uh-tier-mixed .br-uh-cards[data-uh-show~="all"] {
    display: grid !important;
}

body.br-uh-tier-none .br-uh-biz-section[data-uh-show~="none"],
body.br-uh-tier-free .br-uh-biz-section[data-uh-show~="free"],
body.br-uh-tier-subscribed .br-uh-biz-section[data-uh-show~="subscribed"],
body.br-uh-tier-mixed .br-uh-biz-section[data-uh-show~="mixed"],
body.br-uh-tier-none .br-uh-biz-section[data-uh-show~="all"],
body.br-uh-tier-free .br-uh-biz-section[data-uh-show~="all"],
body.br-uh-tier-subscribed .br-uh-biz-section[data-uh-show~="all"],
body.br-uh-tier-mixed .br-uh-biz-section[data-uh-show~="all"] {
    display: grid !important;
}

body.br-uh-tier-none a.br-uh-quick-tile[data-uh-show~="none"],
body.br-uh-tier-free a.br-uh-quick-tile[data-uh-show~="free"],
body.br-uh-tier-subscribed a.br-uh-quick-tile[data-uh-show~="subscribed"],
body.br-uh-tier-mixed a.br-uh-quick-tile[data-uh-show~="mixed"],
body.br-uh-tier-none a.br-uh-quick-tile[data-uh-show~="all"],
body.br-uh-tier-free a.br-uh-quick-tile[data-uh-show~="all"],
body.br-uh-tier-subscribed a.br-uh-quick-tile[data-uh-show~="all"],
body.br-uh-tier-mixed a.br-uh-quick-tile[data-uh-show~="all"] {
    display: flex !important;
}

body.br-uh-tier-none .br-uh-section-divider[data-uh-show~="none"],
body.br-uh-tier-free .br-uh-section-divider[data-uh-show~="free"],
body.br-uh-tier-subscribed .br-uh-section-divider[data-uh-show~="subscribed"],
body.br-uh-tier-mixed .br-uh-section-divider[data-uh-show~="mixed"],
body.br-uh-tier-none .br-uh-section-divider[data-uh-show~="all"],
body.br-uh-tier-free .br-uh-section-divider[data-uh-show~="all"],
body.br-uh-tier-subscribed .br-uh-section-divider[data-uh-show~="all"],
body.br-uh-tier-mixed .br-uh-section-divider[data-uh-show~="all"] {
    display: flex !important;
}

body.br-uh-tier-none .br-uh-biz-card[data-uh-show~="none"],
body.br-uh-tier-free .br-uh-biz-card[data-uh-show~="free"],
body.br-uh-tier-subscribed .br-uh-biz-card[data-uh-show~="subscribed"],
body.br-uh-tier-mixed .br-uh-biz-card[data-uh-show~="mixed"],
body.br-uh-tier-none .br-uh-biz-card[data-uh-show~="all"],
body.br-uh-tier-free .br-uh-biz-card[data-uh-show~="all"],
body.br-uh-tier-subscribed .br-uh-biz-card[data-uh-show~="all"],
body.br-uh-tier-mixed .br-uh-biz-card[data-uh-show~="all"] {
    display: flex !important;
}

body.br-uh-tier-none .br-uh-plan-card[data-uh-show~="none"],
body.br-uh-tier-free .br-uh-plan-card[data-uh-show~="free"],
body.br-uh-tier-subscribed .br-uh-plan-card[data-uh-show~="subscribed"],
body.br-uh-tier-mixed .br-uh-plan-card[data-uh-show~="mixed"],
body.br-uh-tier-none .br-uh-plan-card[data-uh-show~="all"],
body.br-uh-tier-free .br-uh-plan-card[data-uh-show~="all"],
body.br-uh-tier-subscribed .br-uh-plan-card[data-uh-show~="all"],
body.br-uh-tier-mixed .br-uh-plan-card[data-uh-show~="all"] {
    display: flex !important;
}

/* Honor explicit [hidden] attribute even if tier matches */
body[class*="br-uh-tier-"] [data-uh-show][hidden] {
    display: none !important;
}

/* ============================================================
   Tier: basic_paid (Basic CSAT + AI subscriber)
   - Hide Free tile, show Enhanced Premium upsell + paid Grow card
   ============================================================ */
body.br-uh-tier-basic_paid [data-uh-show~="basic_paid"],
body.br-uh-tier-basic_paid [data-uh-show~="all"] {
    display: block !important;
}

body.br-uh-tier-basic_paid .br-uh-cards[data-uh-show~="basic_paid"],
body.br-uh-tier-basic_paid .br-uh-cards[data-uh-show~="all"] {
    display: grid !important;
}

body.br-uh-tier-basic_paid .br-uh-biz-section[data-uh-show~="basic_paid"],
body.br-uh-tier-basic_paid .br-uh-biz-section[data-uh-show~="all"] {
    display: grid !important;
}

body.br-uh-tier-basic_paid a.br-uh-quick-tile[data-uh-show~="basic_paid"],
body.br-uh-tier-basic_paid a.br-uh-quick-tile[data-uh-show~="all"] {
    display: flex !important;
}

body.br-uh-tier-basic_paid .br-uh-section-divider[data-uh-show~="basic_paid"],
body.br-uh-tier-basic_paid .br-uh-section-divider[data-uh-show~="all"] {
    display: flex !important;
}

body.br-uh-tier-basic_paid .br-uh-biz-card[data-uh-show~="basic_paid"],
body.br-uh-tier-basic_paid .br-uh-biz-card[data-uh-show~="all"] {
    display: flex !important;
}

body.br-uh-tier-basic_paid .br-uh-plan-card[data-uh-show~="basic_paid"],
body.br-uh-tier-basic_paid .br-uh-plan-card[data-uh-show~="all"] {
    display: flex !important;
}

/* ============================================================
   Upgrade cards — Basic CSAT + AI + Enhanced Premium CSAT
   ============================================================ */
.br-uh-upgrade-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

    .br-uh-upgrade-card h3 {
        font-family: 'Inter', sans-serif;
        font-size: 20px;
        font-weight: 700;
        color: #011B38;
        margin: 12px 0 8px;
    }

    .br-uh-upgrade-card p {
        font-size: 14px;
        color: var(--muted-fg, #6b7280);
        line-height: 1.55;
        margin: 0 0 12px;
    }

    .br-uh-upgrade-card .br-uh-price {
        font-family: 'Inter', sans-serif;
        font-weight: 800;
        font-size: 32px;
        color: var(--brand-blue, hsl(213,100%,45%));
        margin: 8px 0 2px;
    }

    .br-uh-upgrade-card .br-uh-price-sub {
        font-size: 14px;
        font-weight: 400;
        color: var(--muted-fg, #6b7280);
        margin-left: 2px;
    }

    .br-uh-upgrade-card .br-uh-price-note {
        font-size: 12px;
        color: var(--muted-fg, #6b7280);
        margin: 0 0 12px;
    }

/* Compact billing toggle inside the card */
.br-uh-billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: hsl(222, 30%, 95%);
    border-radius: 999px;
    padding: 3px;
    margin: 8px 0 14px;
    max-width: 100%;
}

    .br-uh-billing-toggle button {
        border: 0;
        background: transparent;
        padding: 6px 12px;
        font: 600 12px/1.2 'Inter', sans-serif;
        color: hsl(222, 20%, 40%);
        border-radius: 999px;
        cursor: pointer;
        transition: all .18s;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

        .br-uh-billing-toggle button.active {
            background: #fff;
            color: hsl(222, 47%, 16%);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
        }

    .br-uh-billing-toggle .br-save-badge {
        display: inline-block;
        padding: 1px 6px;
        border-radius: 999px;
        background: hsl(96, 66%, 47%);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
    }

/* Enhanced Premium accent border */
.br-uh-upgrade-premium {
    border: 1px solid hsla(213, 100%, 55%, 0.35);
    background: linear-gradient(180deg, hsla(213, 100%, 55%, 0.04) 0%, #fff 60%);
    box-shadow: 0 4px 18px hsla(213, 100%, 55%, 0.12);
    position: relative;
}

.br-uh-feature-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .br-uh-feature-list li {
        font-size: 13px;
        color: #1f2937;
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

        .br-uh-feature-list li i {
            color: hsl(96, 66%, 40%);
            margin-top: 2px;
            flex-shrink: 0;
        }

.br-uh-badge-popular {
    position: absolute;
    top: -10px;
    right: 16px;
    background: hsl(213, 100%, 50%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 8px hsla(213, 100%, 50%, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Dark mode tweaks */
body.dark-mode .br-uh-upgrade-card {
    background: hsl(222, 30%, 14%);
    border-color: hsl(222, 25%, 22%);
}

    body.dark-mode .br-uh-upgrade-card h3 {
        color: #fff;
    }

    body.dark-mode .br-uh-upgrade-card p {
        color: hsl(222, 15%, 70%);
    }

    body.dark-mode .br-uh-upgrade-card .br-uh-price-note {
        color: hsl(222, 15%, 60%);
    }

body.dark-mode .br-uh-billing-toggle {
    background: hsl(222, 25%, 22%);
}

    body.dark-mode .br-uh-billing-toggle button {
        color: hsl(222, 15%, 75%);
    }

        body.dark-mode .br-uh-billing-toggle button.active {
            background: hsl(222, 30%, 32%);
            color: #fff;
        }

body.dark-mode .br-uh-feature-list li {
    color: hsl(222, 15%, 80%);
}

body.dark-mode .br-uh-upgrade-premium {
    background: linear-gradient(180deg, hsla(213, 100%, 55%, 0.10) 0%, hsl(222, 30%, 14%) 60%);
}

/* Grow card paid-state subtle accent */
.br-uh-biz-card-cta[data-grow-state="c"] {
    border-color: hsla(213, 100%, 55%, 0.30);
    background: linear-gradient(180deg, hsla(213, 100%, 55%, 0.04), #fff 70%);
}

body.dark-mode .br-uh-biz-card-cta[data-grow-state="c"] {
    background: linear-gradient(180deg, hsla(213, 100%, 55%, 0.10), hsl(222, 30%, 14%) 70%);
}

/* ============================================================
   v2.5 — Quick Links dark-mode readability + left-aligned layout
   ============================================================ */
body.dark-mode .br-uh-quick-links {
    background: var(--card);
    border-color: var(--border);
}

body.dark-mode .br-uh-quick-links-header h3 {
    color: var(--fg);
}

body.dark-mode .br-uh-quick-tile {
    background: hsla(222, 60%, 18%, 0.4);
    border-color: hsla(222, 60%, 30%, 0.4);
    color: var(--fg);
}

    body.dark-mode .br-uh-quick-tile:hover {
        background: hsla(222, 60%, 25%, 0.6);
        border-color: hsl(25, 95%, 50%);
        color: var(--fg);
    }

body.dark-mode .br-uh-quick-label {
    color: var(--fg);
}

body.dark-mode .br-uh-quick-desc {
    color: var(--muted-fg);
}

body.dark-mode .br-uh-quick-icon-blue {
    background: hsla(213, 60%, 25%, 0.5);
    color: hsl(213, 100%, 75%);
}

body.dark-mode .br-uh-quick-icon-teal {
    background: hsla(170, 50%, 22%, 0.5);
    color: hsl(170, 70%, 65%);
}

body.dark-mode .br-uh-quick-icon-purple {
    background: hsla(260, 60%, 25%, 0.5);
    color: hsl(260, 80%, 75%);
}

body.dark-mode .br-uh-quick-arrow {
    color: var(--muted-fg);
}

body.dark-mode .br-uh-quick-tile:hover .br-uh-quick-arrow {
    color: hsl(25, 95%, 60%);
}

body.dark-mode .br-uh-quick-footer {
    border-top-color: var(--border);
}

body.dark-mode .br-uh-tour-link {
    color: hsl(25, 95%, 65%);
}

body.dark-mode .br-uh-help-pip {
    background: hsla(222, 60%, 18%, 0.6);
    border-color: var(--border);
    color: hsl(222, 100%, 75%);
}

    body.dark-mode .br-uh-help-pip:hover {
        background: hsla(222, 60%, 28%, 0.8);
        border-color: hsl(222, 100%, 60%);
    }

/* Cap proof card width so it doesn't span full left-aligned width */
.br-proof-card {
    max-width: 720px;
}

/* Testimonial CTA — "Leave a Review for BizRatings" */
.br-proof-cta-wrap {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.br-proof-cta-copy {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.br-proof-cta-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F97316;
    color: #fff !important;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #F97316;
    transition: transform .15s, box-shadow .15s, background .15s;
    box-shadow: 0 1px 2px rgba(249, 115, 22, .25);
}

    .br-proof-cta-btn:hover,
    .br-proof-cta-btn:focus {
        background: #ea6a10;
        color: #fff !important;
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(249, 115, 22, .35);
    }

.br-proof-cta-ext {
    font-size: 11px;
    opacity: .85;
}

body.dark-mode .br-proof-cta-wrap {
    border-top-color: var(--border);
}

body.dark-mode .br-proof-cta-copy {
    color: var(--muted-fg);
}

/* Member card dark-mode parity: soft wash + indigo-400 left bar. */
body.dark-mode .br-uh-biz-card-member {
    background: linear-gradient(180deg, hsla(270, 70%, 60%, 0.14) 0%, hsla(270, 70%, 60%, 0.00) 100%);
    border-color: hsla(270, 60%, 55%, 0.20);
    border-top-color: hsla(270, 60%, 55%, 0.20);
    border-left: 4px solid #818CF8;
    box-shadow: 0 4px 20px hsla(238, 80%, 10%, 0.30);
}

    body.dark-mode .br-uh-biz-card-member:hover {
        box-shadow: 0 8px 30px hsla(238, 80%, 10%, 0.45);
    }

body.dark-mode .br-uh-biz-card-icon-member {
    background: linear-gradient(135deg, #4F46E5, #4338CA) !important;
    color: #FFFFFF !important;
}

body.dark-mode .br-uh-biz-pill-staff {
    background: hsla(238, 84%, 60%, 0.30);
    color: #C7D2FE;
}

body.dark-mode .br-uh-role-badge {
    background: hsla(220, 20%, 30%, 0.4);
    color: hsl(220, 30%, 80%);
}

body.dark-mode .br-uh-role-badge-more {
    border-color: hsla(220, 30%, 50%, 0.5);
    background: transparent;
    color: hsl(220, 30%, 70%);
}

body.dark-mode .br-uh-owner-badge {
    background: hsla(35, 80%, 25%, 0.4);
    color: hsl(35, 100%, 80%);
}

/* ============================================================
   User Home Page Only - End
   ============================================================ */

/* v3.131 — Tour progress bar (User Home tour) */
.br-uh-tour-popover { overflow: hidden; }
.br-uh-tour-progress {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: rgba(1, 27, 56, .10); border-radius: 12px 12px 0 0; overflow: hidden;
}
.br-uh-tour-progress > i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, hsl(25, 95%, 53%), #f59e0b);
  transition: width .32s cubic-bezier(.4, 0, .2, 1);
}
body.dark-mode .br-uh-tour-progress { background: rgba(148, 163, 184, .22); }
@media (prefers-reduced-motion: reduce) { .br-uh-tour-progress > i { transition: none; } }
@media print { .br-uh-tour-progress { display: none !important; } }
