/* Bullet Proof Community — dashboard.css v2.0 */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
    --bpcd-accent:        #d4a84c;
    --bpcd-accent-light:  rgba(212,168,76,.10);
    --bpcd-accent-mid:    rgba(212,168,76,.30);
    --bpcd-bg:            #f3f4f6;
    --bpcd-surface:       #ffffff;
    --bpcd-border:        #e5e7eb;
    --bpcd-border-light:  #f3f4f6;
    --bpcd-text:          #111827;
    --bpcd-muted:         #6b7280;
    --bpcd-subtle:        #9ca3af;
    --bpcd-radius:        14px;
    --bpcd-radius-sm:     8px;
    --bpcd-shadow:        0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
    --bpcd-shadow-md:     0 4px 16px rgba(0,0,0,.10);
    --bpcd-shadow-lg:     0 12px 40px rgba(0,0,0,.12);
    --bpcd-font:          'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    --bpcd-cover-h:       220px;
    --bpcd-avatar-size:   100px;
    --bpcd-dark:          #1f2937;
}

/* ── Reset / Base ───────────────────────────────────────────────────────── */
body.bpcd-blank-template {
    margin: 0;
    background: var(--bpcd-bg);
}

.bpcd-blank-main {
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: var(--bpcd-bg);
}



/* ──────────────────────────────────────────────────────────────────────────
   v2.8 Forced full-screen page shell
   Hides theme chrome on plugin-created pages even if a theme/cache template
   tries to wrap the shortcode output. The standalone renderer still remains
   the primary path for /join/, /sign-in/, /sign-up/, community dashboards, etc.
   ────────────────────────────────────────────────────────────────────────── */
html:has(body.bpcd-force-standalone),
body.bpcd-force-standalone {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    background: #ffffff !important;
}
body.bpcd-force-standalone #wpadminbar,
body.bpcd-force-standalone header,
body.bpcd-force-standalone footer,
body.bpcd-force-standalone aside,
body.bpcd-force-standalone .site-header,
body.bpcd-force-standalone .site-footer,
body.bpcd-force-standalone .main-header,
body.bpcd-force-standalone .main-footer,
body.bpcd-force-standalone .page-header,
body.bpcd-force-standalone .entry-header,
body.bpcd-force-standalone .entry-title,
body.bpcd-force-standalone .post-title,
body.bpcd-force-standalone .post-meta,
body.bpcd-force-standalone .comments-area,
body.bpcd-force-standalone #comments,
body.bpcd-force-standalone #respond,
body.bpcd-force-standalone .comment-respond,
body.bpcd-force-standalone .sidebar,
body.bpcd-force-standalone #sidebar,
body.bpcd-force-standalone .widget-area,
body.bpcd-force-standalone #secondary,
body.bpcd-force-standalone #main-header,
body.bpcd-force-standalone #main-footer,
body.bpcd-force-standalone #top-header,
body.bpcd-force-standalone .et-l--header,
body.bpcd-force-standalone .et-l--footer,
body.bpcd-force-standalone .fl-page-header,
body.bpcd-force-standalone .fl-page-footer,
body.bpcd-force-standalone .elementor-location-header,
body.bpcd-force-standalone .elementor-location-footer,
body.bpcd-force-standalone .ast-primary-header-bar,
body.bpcd-force-standalone .ast-above-header-bar,
body.bpcd-force-standalone .ast-below-header-bar,
body.bpcd-force-standalone .site-above-footer-wrap,
body.bpcd-force-standalone .site-primary-footer-wrap,
body.bpcd-force-standalone .site-below-footer-wrap {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
}
body.bpcd-force-standalone #page,
body.bpcd-force-standalone .site,
body.bpcd-force-standalone #content,
body.bpcd-force-standalone .site-content,
body.bpcd-force-standalone #primary,
body.bpcd-force-standalone #main,
body.bpcd-force-standalone main,
body.bpcd-force-standalone #main-content,
body.bpcd-force-standalone .content-area,
body.bpcd-force-standalone .entry-content,
body.bpcd-force-standalone .post-content,
body.bpcd-force-standalone .container,
body.bpcd-force-standalone .wrap,
body.bpcd-force-standalone .et_builder_inner_content,
body.bpcd-force-standalone .et_pb_section,
body.bpcd-force-standalone .et_pb_row,
body.bpcd-force-standalone .wp-site-blocks {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}
body.bpcd-force-standalone.admin-bar,
body.bpcd-force-standalone.admin-bar .bpcd-home-nav,
body.bpcd-force-standalone.admin-bar .bpcd-auth-topbar,
body.bpcd-force-standalone.admin-bar .bpcd-full-community-sidebar {
    top: 0 !important;
}
body.bpcd-force-standalone .bpcd-blank-main,
body.bpcd-force-standalone .bpcd-home-wrap,
body.bpcd-force-standalone .bpcd-auth-page,
body.bpcd-force-standalone .bpcd-full-community-wrap,
body.bpcd-force-standalone .bpcd-wrap--wide {
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

body.bpcd-blank-template .bpcd-wrap {
    width: 100vw;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
}

.bpcd-wrap *, .bpcd-wrap *::before, .bpcd-wrap *::after { box-sizing: border-box; }
.bpcd-wrap {
    font-family: var(--bpcd-font);
    color: var(--bpcd-text);
    max-width: 1080px;
    margin: 0 auto;
    background: var(--bpcd-bg);
    border-radius: var(--bpcd-radius);
    overflow: hidden;
}

.bpcd-wrap--wide {
    width: min(100%, 1760px);
    max-width: none;
    border-radius: 0;
}

.entry-content > .bpcd-wrap--wide,
.wp-block-post-content > .bpcd-wrap--wide {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}



/* ──────────────────────────────────────────────────────────────────────────
   v2.9 Emergency standalone shell
   This layer targets themes/page builders that continue to show headers,
   featured media, title/meta, comments, or footers around /join/ and other
   plugin-created pages before the PHP blank renderer can take over.
   ────────────────────────────────────────────────────────────────────────── */
html.bpcd-js-standalone,
html.bpcd-js-standalone body,
body.bpcd-js-standalone {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    background: #ffffff !important;
}
body.bpcd-js-standalone .bpcd-js-main,
body.bpcd-force-standalone .bpcd-js-main {
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    background: #ffffff !important;
}
body.bpcd-force-standalone .et_post_meta_wrapper,
body.bpcd-force-standalone .entry-featured-image-url,
body.bpcd-force-standalone .post-thumbnail,
body.bpcd-force-standalone .wp-post-image,
body.bpcd-force-standalone .sharedaddy,
body.bpcd-force-standalone .sd-sharing-enabled,
body.bpcd-force-standalone .post-navigation,
body.bpcd-force-standalone .nav-single,
body.bpcd-force-standalone #footer-bottom,
body.bpcd-force-standalone #footer-widgets,
body.bpcd-force-standalone .footer-widget,
body.bpcd-force-standalone .et_pb_title_container,
body.bpcd-force-standalone .et_pb_post_title {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
/* ── App shell ──────────────────────────────────────────────────────────── */
.bpcd-appbar {
    min-height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: #fff;
    border-bottom: 1px solid var(--bpcd-border);
}

.bpcd-appbrand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bpcd-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bpcd-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .2px;
}

.bpcd-appbrand strong {
    display: block;
    color: var(--bpcd-text);
    font-size: 15px;
    line-height: 1.2;
}

.bpcd-appbrand span:not(.bpcd-brand-mark) {
    display: block;
    color: var(--bpcd-muted);
    font-size: 12px;
    margin-top: 2px;
}

.bpcd-app-actions {
    display: flex;
    gap: 8px;
}

.bpcd-icon-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--bpcd-border);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bpcd-muted);
    background: #fff;
    text-decoration: none;
}

.bpcd-icon-link:hover {
    color: var(--bpcd-accent);
    border-color: var(--bpcd-accent);
    background: var(--bpcd-accent-light);
}

.bpcd-icon-link svg { width: 18px; height: 18px; }

/* ── Unified business credit navigation ─────────────────────────────────── */
.bpcd-mainnav {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 70px;
    padding: 12px clamp(16px, 4vw, 56px);
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--bpcd-border);
    backdrop-filter: blur(14px);
}

.bpcd-mainnav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    color: var(--bpcd-text);
    text-decoration: none;
}

.bpcd-mainnav-brand span {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bpcd-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.bpcd-mainnav-brand strong {
    font-size: 14px;
    line-height: 1.15;
}

.bpcd-mainnav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.bpcd-mainnav-links::-webkit-scrollbar { display: none; }

.bpcd-mainnav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--bpcd-muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.bpcd-mainnav-links a:hover,
.bpcd-mainnav-links a.is-active {
    color: #fff;
    background: var(--bpcd-accent);
}

/* ── Cover ───────────────────────────────────────────────────────────────── */
.bpcd-cover-wrap {
    position: relative;
    height: var(--bpcd-cover-h);
    background: var(--bpcd-bg);
    overflow: visible;
}

.bpcd-cover-img {
    width: 100%;
    height: var(--bpcd-cover-h);
    object-fit: cover;
    display: block;
}

.bpcd-cover-placeholder {
    width: 100%;
    height: var(--bpcd-cover-h);
    background: linear-gradient(135deg,
        #c7d2fe 0%,
        #bfdbfe 25%,
        #a5f3fc 50%,
        #bbf7d0 75%,
        #fde68a 100%);
}

.bpcd-wrap--wide .bpcd-cover-wrap,
.bpcd-wrap--wide .bpcd-cover-img,
.bpcd-wrap--wide .bpcd-cover-placeholder {
    height: 280px;
}

.bpcd-avatar-ring {
    position: absolute;
    bottom: calc( var(--bpcd-avatar-size) / -2 );
    left: 50%;
    transform: translateX(-50%);
    width: var(--bpcd-avatar-size);
    height: var(--bpcd-avatar-size);
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: var(--bpcd-shadow-md);
    background: #e5e7eb;
    overflow: hidden;
    z-index: 10;
}

.bpcd-avatar-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bpcd-online-dot {
    position: absolute;
    bottom: 7px;
    right: 7px;
    width: 15px;
    height: 15px;
    background: #22c55e;
    border-radius: 50%;
    border: 3px solid #fff;
    z-index: 11;
}

/* ── Identity Row ────────────────────────────────────────────────────────── */
.bpcd-identity-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: calc( var(--bpcd-avatar-size) / 2 + 18px ) 24px 20px;
    background: var(--bpcd-surface);
    text-align: center;
}

.bpcd-identity-row--no-cover {
    padding-top: 24px;
}

.bpcd-identity-meta {
    flex: 1;
    min-width: 220px;
}

.bpcd-role-badge {
    display: inline-block;
    background: var(--bpcd-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.bpcd-display-name {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.2;
    color: var(--bpcd-text);
}

.bpcd-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 13px;
    color: var(--bpcd-muted);
    margin-bottom: 8px;
}

.bpcd-stats-row strong { font-weight: 700; color: var(--bpcd-text); }
.bpcd-dot { color: var(--bpcd-subtle); }
.bpcd-username { color: var(--bpcd-muted); font-size: 13px; }
.bpcd-since { font-size: 13px; }

.bpcd-bio {
    font-size: 13px;
    color: var(--bpcd-muted);
    margin: 6px 0 10px;
    line-height: 1.55;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.bpcd-wrap--wide .bpcd-bio { max-width: 720px; }

.bpcd-social-icons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.bpcd-social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bpcd-muted);
    background: var(--bpcd-border-light);
    transition: color .15s, background .15s;
    text-decoration: none;
}

.bpcd-social-icon:hover { color: #fff; background: var(--bpcd-accent); }
.bpcd-social-icon svg { width: 15px; height: 15px; }

/* ── Top metrics ────────────────────────────────────────────────────────── */
.bpcd-metric-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--bpcd-border);
    border-top: 1px solid var(--bpcd-border);
    border-bottom: 1px solid var(--bpcd-border);
}

.bpcd-metric-strip div {
    background: #fff;
    padding: 18px clamp(16px, 3vw, 30px);
}

.bpcd-metric-strip span {
    display: block;
    color: var(--bpcd-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: 6px;
}

.bpcd-metric-strip strong {
    display: block;
    color: var(--bpcd-text);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1;
}

/* ── Action Buttons ──────────────────────────────────────────────────────── */
.bpcd-action-btns {
    display: flex;
    gap: 8px;
    align-items: center;
    padding-top: calc( var(--bpcd-avatar-size) / 2 + 12px );
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.bpcd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: var(--bpcd-radius-sm);
    font-family: var(--bpcd-font);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 9px 20px;
    transition: all .15s;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.bpcd-btn--primary { background: var(--bpcd-accent); color: #fff; }
.bpcd-btn--primary:hover { filter: brightness(1.08); color: #fff; }
.bpcd-btn--outline { background: transparent; color: var(--bpcd-text); border: 1.5px solid var(--bpcd-border); }
.bpcd-btn--outline:hover { border-color: var(--bpcd-accent); color: var(--bpcd-accent); }
.bpcd-btn--ghost { background: transparent; color: var(--bpcd-muted); font-size: 12px; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--bpcd-border); }
.bpcd-btn--ghost:hover { color: var(--bpcd-accent); border-color: var(--bpcd-accent); }
.bpcd-btn--xs { padding: 5px 12px; font-size: 12px; }
.bpcd-btn--sm { padding: 7px 16px; font-size: 13px; }
.bpcd-btn--full { width: 100%; }

/* ── Tab Nav ─────────────────────────────────────────────────────────────── */
.bpcd-tabnav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    border-bottom: 2px solid var(--bpcd-border);
    background: var(--bpcd-surface);
    padding: 0 8px;
    margin-top: 0;
}

.bpcd-tabnav::-webkit-scrollbar { display: none; }

.bpcd-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--bpcd-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .15s, border-color .15s;
    white-space: nowrap;
    flex-shrink: 0;
}

.bpcd-tab:hover { color: var(--bpcd-text); }
.bpcd-tab--active { color: var(--bpcd-accent); border-bottom-color: var(--bpcd-accent); font-weight: 700; }

.bpcd-tab-badge {
    background: var(--bpcd-accent-light);
    color: var(--bpcd-accent);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    min-width: 18px;
    text-align: center;
}

/* ── Body Layout ─────────────────────────────────────────────────────────── */
.bpcd-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 24px;
    padding: 24px;
    align-items: start;
}

.bpcd-wrap--wide .bpcd-body {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    max-width: 1560px;
    margin: 0 auto;
    padding: 28px clamp(18px, 4vw, 56px);
}

/* ── Panels ──────────────────────────────────────────────────────────────── */
.bpcd-panel {
    background: var(--bpcd-surface);
    border-radius: var(--bpcd-radius);
    box-shadow: var(--bpcd-shadow);
    padding: 18px 20px;
    margin-bottom: 16px;
}

.bpcd-panel:last-child { margin-bottom: 0; }

.bpcd-panel h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--bpcd-text);
    letter-spacing: .1px;
}

.bpcd-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.bpcd-panel-heading h3 { margin: 0; }

.bpcd-section-kicker {
    display: inline-block;
    color: var(--bpcd-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* ── Command center ─────────────────────────────────────────────────────── */
.bpcd-command-panel {
    border: 1px solid var(--bpcd-border);
}

.bpcd-command-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.bpcd-command-grid a {
    display: block;
    padding: 16px;
    min-height: 112px;
    border-radius: var(--bpcd-radius-sm);
    background: var(--bpcd-bg);
    border: 1px solid var(--bpcd-border-light);
    color: var(--bpcd-text);
    text-decoration: none;
    transition: border-color .15s, transform .15s, background .15s;
}

.bpcd-command-grid a:hover {
    background: #fff;
    border-color: var(--bpcd-accent);
    transform: translateY(-2px);
}

.bpcd-command-grid strong {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.bpcd-command-grid span {
    display: block;
    color: var(--bpcd-muted);
    font-size: 12px;
    line-height: 1.45;
}

/* ── Following panel ─────────────────────────────────────────────────────── */
.bpcd-avatar-stack { display: flex; flex-wrap: wrap; gap: 8px; }

.bpcd-avatar-stack a img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    box-shadow: 0 0 0 1px var(--bpcd-border);
    object-fit: cover;
    display: block;
    transition: transform .15s;
}

.bpcd-avatar-stack a:hover img { transform: scale(1.1) translateY(-2px); }

/* ── Member spotlight ───────────────────────────────────────────────────── */
.bpcd-member-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.bpcd-member-rail a {
    min-width: 0;
    padding: 14px 10px;
    border-radius: var(--bpcd-radius-sm);
    background: var(--bpcd-bg);
    text-align: center;
    color: var(--bpcd-text);
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}

.bpcd-member-rail a:hover {
    transform: translateY(-2px);
    box-shadow: var(--bpcd-shadow);
}

.bpcd-member-rail img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px var(--bpcd-border);
}

.bpcd-member-rail strong {
    display: block;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bpcd-member-rail span {
    display: block;
    color: var(--bpcd-muted);
    font-size: 11px;
    margin-top: 4px;
}

/* ── Post box ─────────────────────────────────────────────────────────────── */
.bpcd-post-input-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.bpcd-post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bpcd-post-input-row textarea {
    flex: 1;
    border: 1.5px solid var(--bpcd-border);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-family: var(--bpcd-font);
    color: var(--bpcd-text);
    resize: none;
    min-height: 48px;
    background: #f9fafb;
    transition: border-color .15s, min-height .2s, box-shadow .15s;
    line-height: 1.5;
}

.bpcd-post-input-row textarea:focus {
    outline: none;
    border-color: var(--bpcd-accent);
    background: #fff;
    min-height: 88px;
    box-shadow: 0 0 0 3px var(--bpcd-accent-light);
}

.bpcd-post-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bpcd-post-media-btns { display: flex; gap: 4px; }

.bpcd-post-media-btns button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--bpcd-muted);
    padding: 7px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: color .15s, background .15s;
}

.bpcd-post-media-btns button:hover { color: var(--bpcd-accent); background: var(--bpcd-accent-light); }
.bpcd-post-media-btns svg { width: 18px; height: 18px; }

/* ── Activity items ──────────────────────────────────────────────────────── */
.bpcd-activity-item {
    background: var(--bpcd-surface);
    border-radius: var(--bpcd-radius);
    box-shadow: var(--bpcd-shadow);
    padding: 16px 18px;
    margin-bottom: 12px;
    transition: box-shadow .15s;
}

.bpcd-activity-item:hover { box-shadow: var(--bpcd-shadow-md); }

.bpcd-activity-item.bpcd-new-item {
    border-left: 3px solid var(--bpcd-accent);
}

.bpcd-activity-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.bpcd-activity-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bpcd-activity-meta-wrap {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 6px;
    align-items: baseline;
}

.bpcd-act-name { font-size: 14px; font-weight: 700; color: var(--bpcd-text); text-decoration: none; }
.bpcd-act-name:hover { color: var(--bpcd-accent); }
.bpcd-activity-action { font-size: 13px; color: var(--bpcd-muted); }
.bpcd-activity-meta { font-size: 11px; color: var(--bpcd-subtle); width: 100%; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

.bpcd-activity-more {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--bpcd-muted);
    padding: 4px 6px;
    border-radius: 6px;
    transition: background .15s;
    line-height: 1;
    align-self: center;
}

.bpcd-activity-more:hover { background: var(--bpcd-border-light); color: var(--bpcd-text); }

.bpcd-activity-content {
    font-size: 14px;
    line-height: 1.65;
    color: var(--bpcd-text);
    padding: 8px 0;
}

.bpcd-activity-content img {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 10px;
    display: block;
    box-shadow: var(--bpcd-shadow);
}

.bpcd-activity-footer {
    display: flex;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--bpcd-border-light);
    margin-top: 4px;
}

.bpcd-act-react {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--bpcd-muted);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--bpcd-font);
    padding: 5px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background .15s, color .15s;
}

.bpcd-act-react:hover { background: var(--bpcd-accent-light); color: var(--bpcd-accent); }

#bpcd-load-more-wrap { text-align: center; margin-top: 4px; padding-bottom: 4px; }

/* ── My Connections panel ────────────────────────────────────────────────── */
.bpcd-connections-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.bpcd-connections-header h3 { margin: 0; }

.bpcd-connections-tabs { display: flex; gap: 8px; }

.bpcd-ctab {
    background: none;
    border: none;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--bpcd-font);
    letter-spacing: .6px;
    color: var(--bpcd-muted);
    cursor: pointer;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}

.bpcd-ctab--active { color: var(--bpcd-accent); border-bottom-color: var(--bpcd-accent); }

.bpcd-connections-list { list-style: none; margin: 0; padding: 0; }

.bpcd-connections-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--bpcd-border-light);
}

.bpcd-connections-list li:last-child { border-bottom: none; }

.bpcd-conn-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex: 1;
    min-width: 0;
}

.bpcd-conn-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.bpcd-conn-avatar-wrap img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.bpcd-conn-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--bpcd-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .15s;
}

.bpcd-conn-link:hover .bpcd-conn-name { color: var(--bpcd-accent); }

/* ── Groups panel ────────────────────────────────────────────────────────── */
.bpcd-groups-list { list-style: none; margin: 0; padding: 0; }

.bpcd-groups-list li {
    border-bottom: 1px solid var(--bpcd-border-light);
}

.bpcd-groups-list li:last-child { border-bottom: none; }

.bpcd-group-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    text-decoration: none;
}

.bpcd-group-item img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.bpcd-group-name { font-size: 14px; font-weight: 600; color: var(--bpcd-text); display: block; transition: color .15s; }
.bpcd-group-item:hover .bpcd-group-name { color: var(--bpcd-accent); }
.bpcd-group-meta { font-size: 12px; color: var(--bpcd-muted); }

/* ── Completion ring ─────────────────────────────────────────────────────── */
.bpcd-completion-panel { text-align: center; }

.bpcd-completion-ring {
    width: 130px;
    margin: 0 auto 18px;
}

.bpcd-completion-ring svg { width: 100%; height: auto; display: block; }

.bpcd-ring-progress { transition: stroke-dashoffset 1s ease; }

.bpcd-completion-steps { list-style: none; margin: 0; padding: 0; text-align: left; }

.bpcd-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid var(--bpcd-border-light);
    font-size: 13px;
}

.bpcd-step:last-child { border-bottom: none; }

.bpcd-step-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bpcd-border);
    background: var(--bpcd-border-light);
}

.bpcd-step--done .bpcd-step-icon { color: #22c55e; background: #dcfce7; }
.bpcd-step-icon svg { width: 12px; height: 12px; }
.bpcd-step-label { flex: 1; color: var(--bpcd-text); font-weight: 500; }
.bpcd-step-count { font-size: 11px; color: var(--bpcd-muted); font-weight: 600; }

/* ── Latest Updates ──────────────────────────────────────────────────────── */
.bpcd-updates-list { list-style: none; margin: 0; padding: 0; }

.bpcd-updates-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 9px 0;
    border-bottom: 1px solid var(--bpcd-border-light);
}

.bpcd-updates-list li:last-child { border-bottom: none; }

.bpcd-updates-list img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bpcd-updates-list > li > div { display: flex; flex-direction: column; gap: 1px; }
.bpcd-upd-name { font-size: 13px; font-weight: 700; color: var(--bpcd-text); text-decoration: none; }
.bpcd-upd-name:hover { color: var(--bpcd-accent); }
.bpcd-upd-text { font-size: 12px; color: var(--bpcd-muted); }
.bpcd-upd-time { font-size: 11px; color: var(--bpcd-subtle); }

/* ── Quick Stats ─────────────────────────────────────────────────────────── */
.bpcd-qs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bpcd-qs-item {
    background: var(--bpcd-bg);
    border-radius: var(--bpcd-radius-sm);
    padding: 14px 10px;
    text-align: center;
}

.bpcd-qs-num { display: block; font-size: 22px; font-weight: 800; color: var(--bpcd-accent); line-height: 1; margin-bottom: 4px; }
.bpcd-qs-lbl { font-size: 11px; font-weight: 600; color: var(--bpcd-muted); text-transform: uppercase; letter-spacing: .6px; }

/* ── Expanded dashboard panels ──────────────────────────────────────────── */
.bpcd-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.bpcd-detail-list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.bpcd-detail-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bpcd-border-light);
}

.bpcd-detail-list div:last-child { border-bottom: none; }
.bpcd-detail-list dt { color: var(--bpcd-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.bpcd-detail-list dd { margin: 0; color: var(--bpcd-text); font-size: 13px; font-weight: 700; text-align: right; }

.bpcd-resource-grid,
.bpcd-affiliate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.bpcd-resource-grid div,
.bpcd-affiliate-metric {
    background: var(--bpcd-bg);
    border: 1px solid var(--bpcd-border-light);
    border-radius: var(--bpcd-radius-sm);
    padding: 14px 12px;
}

.bpcd-resource-grid strong,
.bpcd-affiliate-metric strong {
    display: block;
    color: var(--bpcd-text);
    font-size: 22px;
    line-height: 1;
    margin-bottom: 6px;
}

.bpcd-resource-grid span,
.bpcd-affiliate-metric span {
    color: var(--bpcd-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.bpcd-slicewp-panel .bpcd-affiliate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.bpcd-affiliate-status {
    display: inline-flex;
    margin-top: 12px;
    border-radius: 999px;
    background: var(--bpcd-accent-light);
    color: var(--bpcd-accent);
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.bpcd-affiliate-wrap {
    padding: clamp(18px, 4vw, 56px);
    background: var(--bpcd-bg);
}

.bpcd-affiliate-wrap .bpcd-slicewp-panel {
    max-width: 1180px;
    margin: 0 auto;
}

.bpcd-affiliate-hero {
    max-width: 1180px;
    margin: 0 auto 18px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
}

.bpcd-affiliate-hero h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.05;
}

.bpcd-affiliate-hero p {
    margin: 0;
    color: var(--bpcd-muted);
    max-width: 620px;
}

/* ── Business credit hub pages ──────────────────────────────────────────── */
.bpcd-business-wrap {
    min-height: 100vh;
    background: var(--bpcd-bg);
}

.bpcd-business-hero {
    min-height: 330px;
    padding: clamp(34px, 7vw, 86px) clamp(18px, 5vw, 72px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: end;
    background:
        linear-gradient(135deg, rgba(17,24,39,.92), rgba(31,41,55,.86)),
        linear-gradient(135deg, #0f172a, #f97316);
    color: #fff;
}

.bpcd-business-hero h1 {
    margin: 0 0 14px;
    max-width: 820px;
    font-size: clamp(38px, 7vw, 78px);
    line-height: .95;
    color: #fff;
}

.bpcd-business-hero p {
    margin: 0;
    max-width: 780px;
    color: rgba(255,255,255,.74);
    font-size: 16px;
    line-height: 1.65;
}

.bpcd-business-score {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
}

.bpcd-business-score strong {
    display: block;
    color: #fff;
    font-size: 48px;
    line-height: 1;
}

.bpcd-business-score span {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.7);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.bpcd-business-grid {
    max-width: 1380px;
    margin: 0 auto;
    padding: clamp(20px, 4vw, 48px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bpcd-business-card,
.bpcd-business-roadmap,
.bpcd-business-panel {
    background: #fff;
    border: 1px solid var(--bpcd-border);
    border-radius: var(--bpcd-radius);
    box-shadow: var(--bpcd-shadow);
}

.bpcd-business-card {
    min-height: 250px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.bpcd-business-card span {
    color: var(--bpcd-accent);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.bpcd-business-card h3 {
    margin: 14px 0 10px;
    font-size: 24px;
    line-height: 1.08;
}

.bpcd-business-card p {
    margin: 0;
    color: var(--bpcd-muted);
    line-height: 1.6;
}

.bpcd-business-card a {
    margin-top: auto;
    color: var(--bpcd-accent);
    font-weight: 900;
    text-decoration: none;
}

.bpcd-business-roadmap {
    max-width: 1380px;
    margin: 0 auto clamp(24px, 4vw, 52px);
    padding: 26px;
}

.bpcd-business-roadmap h2 {
    margin: 0 0 16px;
}

.bpcd-business-roadmap div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.bpcd-business-roadmap span {
    display: block;
    padding: 14px;
    border-radius: var(--bpcd-radius-sm);
    background: var(--bpcd-bg);
    color: var(--bpcd-text);
    font-size: 13px;
    font-weight: 800;
}

.bpcd-business-panel {
    max-width: 980px;
    margin: clamp(20px, 4vw, 48px) auto;
    padding: 22px;
}

.bpcd-demo-users-grid {
    padding-bottom: 0;
}

.bpcd-demo-user-card {
    min-height: 240px;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    align-items: start;
    padding: 22px;
    border-radius: var(--bpcd-radius);
    background: #fff;
    border: 1px solid var(--bpcd-border);
    box-shadow: var(--bpcd-shadow);
}

.bpcd-demo-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bpcd-dark);
    color: #fff;
    font-weight: 900;
}

.bpcd-demo-user-card span {
    color: var(--bpcd-accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.bpcd-demo-user-card h3 {
    margin: 8px 0 6px;
    font-size: 22px;
}

.bpcd-demo-user-card strong {
    display: block;
    color: var(--bpcd-text);
    font-size: 12px;
    margin-bottom: 10px;
}

.bpcd-demo-user-card p {
    margin: 0;
    color: var(--bpcd-muted);
    line-height: 1.55;
}

.bpcd-demo-activity {
    max-width: 1180px;
}

.bpcd-demo-activity h2 {
    margin: 0 0 16px;
}

.bpcd-demo-activity div {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bpcd-border-light);
}

.bpcd-demo-activity div:last-child {
    border-bottom: none;
}

.bpcd-demo-activity strong {
    min-width: 140px;
    color: var(--bpcd-text);
}

.bpcd-demo-activity span {
    color: var(--bpcd-muted);
}

.bpcd-affiliate-wide {
    margin-top: 16px;
}

.bpcd-growth-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
    align-items: stretch;
}

.bpcd-growth-score {
    border-radius: var(--bpcd-radius-sm);
    background: var(--bpcd-dark);
    color: #fff;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bpcd-growth-score strong {
    display: block;
    font-size: 46px;
    line-height: 1;
    margin-bottom: 8px;
}

.bpcd-growth-score span {
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.bpcd-growth-bars {
    display: grid;
    gap: 12px;
}

.bpcd-growth-bars div {
    display: grid;
    grid-template-columns: 110px 1fr 44px;
    align-items: center;
    gap: 12px;
}

.bpcd-growth-bars span {
    color: var(--bpcd-muted);
    font-size: 12px;
    font-weight: 800;
}

.bpcd-growth-bars i {
    height: 12px;
    border-radius: 999px;
    display: block;
    min-width: 8px;
    background: var(--bpcd-accent);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}

.bpcd-growth-bars strong {
    font-size: 13px;
    text-align: right;
}

/* ── Next actions / online ──────────────────────────────────────────────── */
.bpcd-next-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.bpcd-next-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.bpcd-next-list li > span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex: 0 0 22px;
    background: var(--bpcd-border-light);
    color: var(--bpcd-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}

.bpcd-next-list li > span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.bpcd-next-list .bpcd-next-done > span {
    background: #dcfce7;
    color: #16a34a;
}

.bpcd-next-list .bpcd-next-done > span::before {
    width: 10px;
    height: 6px;
    border-radius: 0;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    background: transparent;
    transform: rotate(-45deg) translateY(-1px);
}

.bpcd-next-list strong {
    display: block;
    color: var(--bpcd-text);
    font-size: 13px;
    line-height: 1.25;
}

.bpcd-next-list em {
    display: block;
    color: var(--bpcd-muted);
    font-size: 12px;
    font-style: normal;
    margin-top: 2px;
    line-height: 1.4;
}

.bpcd-online-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.bpcd-online-grid a {
    position: relative;
    display: block;
}

.bpcd-online-grid img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px var(--bpcd-border);
}

.bpcd-online-grid span {
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
}

/* ── Empty state ─────────────────────────────────────────────────────────── */
.bpcd-empty { text-align: center; padding: 32px 20px; }
.bpcd-empty p, .bpcd-empty-txt { color: var(--bpcd-muted); font-size: 13px; text-align: center; }

/* ── Loading spinner ─────────────────────────────────────────────────────── */
.bpcd-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bpcd-spin .6s linear infinite;
    vertical-align: middle;
}

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

/* ── Profile Card (shortcode) ────────────────────────────────────────────── */
.bpcd-profile-card {
    background: var(--bpcd-surface);
    border-radius: var(--bpcd-radius);
    box-shadow: var(--bpcd-shadow-md);
    padding: 24px 20px;
    text-align: center;
    max-width: 280px;
}

.bpcd-profile-card--lg { max-width: 360px; padding: 32px 28px; }
.bpcd-profile-card--sm { max-width: 200px; padding: 16px 14px; }

.bpcd-pc-avatar-wrap { position: relative; display: inline-block; margin-bottom: 12px; }

.bpcd-pc-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--bpcd-border);
    object-fit: cover;
    display: block;
}

.bpcd-pc-name { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.bpcd-pc-ring-wrap { width: 90px; margin: 0 auto 16px; }
.bpcd-pc-link { display: block; }

/* ── Widget card ─────────────────────────────────────────────────────────── */
.bpcd-widget-card {
    background: var(--bpcd-surface);
    border-radius: var(--bpcd-radius);
    box-shadow: var(--bpcd-shadow);
    padding: 18px;
    text-align: center;
}

.bpcd-widget-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    display: block;
    border: 3px solid var(--bpcd-border);
}

.bpcd-widget-name { font-size: 15px; font-weight: 700; margin: 0 0 14px; }
.bpcd-widget-btn { display: block; text-align: center; margin-top: 12px; }

/* ── Shortcode: activity feed ────────────────────────────────────────────── */
.bpcd-shortcode-feed { display: flex; flex-direction: column; gap: 12px; }

.bpcd-sf-item { display: flex; gap: 12px; align-items: flex-start; }

.bpcd-sf-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bpcd-sf-body { flex: 1; }
.bpcd-sf-name { font-size: 13px; font-weight: 700; color: var(--bpcd-text); text-decoration: none; }
.bpcd-sf-name:hover { color: var(--bpcd-accent); }
.bpcd-sf-action { font-size: 12px; color: var(--bpcd-muted); display: block; }
.bpcd-sf-content { font-size: 13px; color: var(--bpcd-text); margin: 4px 0; }
.bpcd-sf-time { font-size: 11px; color: var(--bpcd-subtle); }

/* ── Shortcode: members grid ─────────────────────────────────────────────── */
.bpcd-members-grid {
    display: grid;
    gap: 16px;
}

.bpcd-members-grid.bpcd-cols-2 { grid-template-columns: repeat(2, 1fr); }
.bpcd-members-grid.bpcd-cols-3 { grid-template-columns: repeat(3, 1fr); }
.bpcd-members-grid.bpcd-cols-4 { grid-template-columns: repeat(4, 1fr); }

.bpcd-member-card {
    background: var(--bpcd-surface);
    border-radius: var(--bpcd-radius);
    box-shadow: var(--bpcd-shadow);
    padding: 16px 12px;
    text-align: center;
    transition: box-shadow .15s, transform .15s;
}

.bpcd-member-card:hover { box-shadow: var(--bpcd-shadow-md); transform: translateY(-2px); }

.bpcd-mc-avatar-link {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.bpcd-mc-avatar-link img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--bpcd-border);
    display: block;
}

.bpcd-mc-online {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #fff;
}

.bpcd-mc-name { font-size: 13px; font-weight: 700; color: var(--bpcd-text); text-decoration: none; display: block; margin-bottom: 4px; }
.bpcd-mc-name:hover { color: var(--bpcd-accent); }
.bpcd-mc-last { font-size: 11px; color: var(--bpcd-subtle); display: block; margin-bottom: 8px; }

/* ── Shortcode: connections stack ────────────────────────────────────────── */
.bpcd-sc-connections { display: flex; flex-wrap: wrap; gap: 8px; }

.bpcd-sc-connections a img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #fff;
    box-shadow: 0 0 0 1.5px var(--bpcd-border);
    transition: transform .15s;
    display: block;
}

.bpcd-sc-connections a:hover img { transform: scale(1.12) translateY(-2px); }

/* ── Shortcode: groups ───────────────────────────────────────────────────── */
.bpcd-sc-groups { display: flex; flex-wrap: wrap; gap: 10px; }

.bpcd-sc-group-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bpcd-bg);
    border-radius: var(--bpcd-radius-sm);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--bpcd-text);
    transition: background .15s, color .15s;
}

.bpcd-sc-group-item img { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; }
.bpcd-sc-group-item:hover { background: var(--bpcd-accent-light); color: var(--bpcd-accent); }

/* ── Shortcode: stats ────────────────────────────────────────────────────── */
.bpcd-sc-stats { display: flex; gap: 16px; flex-wrap: wrap; }

.bpcd-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 20px;
    background: var(--bpcd-surface);
    border-radius: var(--bpcd-radius);
    box-shadow: var(--bpcd-shadow);
    flex: 1;
    min-width: 80px;
}

.bpcd-stat-num { font-size: 26px; font-weight: 800; color: var(--bpcd-accent); line-height: 1; }
.bpcd-stat-lbl { font-size: 12px; font-weight: 500; color: var(--bpcd-muted); margin-top: 4px; }

/* ── Online members bubble ───────────────────────────────────────────────── */
.bpcd-online-stack { display: flex; flex-wrap: wrap; gap: 8px; }

.bpcd-online-bubble { position: relative; display: inline-block; }

.bpcd-online-bubble img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: var(--bpcd-shadow);
    object-fit: cover;
    display: block;
}

/* ── Login box shortcode ─────────────────────────────────────────────────── */
.bpcd-login-box {
    background: var(--bpcd-surface);
    border-radius: var(--bpcd-radius);
    box-shadow: var(--bpcd-shadow-md);
    padding: 24px;
    max-width: 360px;
}

.bpcd-login-box form { display: flex; flex-direction: column; gap: 12px; }

.bpcd-login-box label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bpcd-text);
}

.bpcd-login-box input[type="text"],
.bpcd-login-box input[type="password"] {
    border: 1.5px solid var(--bpcd-border);
    border-radius: var(--bpcd-radius-sm);
    padding: 9px 12px;
    font-size: 14px;
    font-family: var(--bpcd-font);
    transition: border-color .15s;
}

.bpcd-login-box input:focus { outline: none; border-color: var(--bpcd-accent); }

.bpcd-lb-forgot { font-size: 12px; color: var(--bpcd-muted); text-align: center; display: block; text-decoration: none; }
.bpcd-lb-forgot:hover { color: var(--bpcd-accent); }

.bpcd-login-box--logged {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bpcd-login-box--logged img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.bpcd-lb-hi { font-size: 14px; font-weight: 700; display: block; margin-bottom: 4px; }
.bpcd-lb-links { display: flex; gap: 10px; }
.bpcd-lb-links a { font-size: 13px; color: var(--bpcd-muted); text-decoration: none; font-weight: 500; }
.bpcd-lb-links a:hover { color: var(--bpcd-accent); }

/* ── Login msg ───────────────────────────────────────────────────────────── */
.bpcd-login-msg { color: var(--bpcd-muted); font-size: 14px; padding: 20px; text-align: center; }

/* ── Completion shortcode standalone ────────────────────────────────────── */
.bpcd-sc-completion { max-width: 320px; }

/* ── Profile editor / settings pages ────────────────────────────────────── */
.bpcd-editor-wrap {
    min-height: 100vh;
    padding: clamp(16px, 4vw, 48px);
}

.bpcd-editor-nav {
    max-width: 1180px;
    margin: 0 auto 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bpcd-editor-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--bpcd-muted);
    background: #fff;
    border: 1px solid var(--bpcd-border);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.bpcd-editor-nav a.is-active,
.bpcd-editor-nav a:hover {
    color: #fff;
    background: var(--bpcd-accent);
    border-color: var(--bpcd-accent);
}

.bpcd-editor-shell {
    max-width: 1180px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--bpcd-radius);
    box-shadow: var(--bpcd-shadow-md);
    overflow: hidden;
}

.bpcd-editor-hero {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: clamp(22px, 4vw, 38px);
    background: linear-gradient(135deg, #fff 0%, var(--bpcd-accent-light) 100%);
    border-bottom: 1px solid var(--bpcd-border);
}

.bpcd-editor-hero img {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: var(--bpcd-shadow);
}

.bpcd-editor-hero h2 {
    margin: 0 0 8px;
    color: var(--bpcd-text);
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.05;
}

.bpcd-editor-hero p {
    margin: 0;
    color: var(--bpcd-muted);
    max-width: 620px;
}

.bpcd-save-notice {
    margin: 22px clamp(22px, 4vw, 38px) 0;
    padding: 12px 14px;
    border-radius: var(--bpcd-radius-sm);
    background: #dcfce7;
    color: #166534;
    font-weight: 800;
    font-size: 13px;
}

.bpcd-save-notice--error {
    background: #fee2e2;
    color: #991b1b;
}

.bpcd-form-grid {
    padding: clamp(22px, 4vw, 38px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bpcd-form-grid label {
    display: grid;
    gap: 7px;
    color: var(--bpcd-text);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.bpcd-form-grid input,
.bpcd-form-grid textarea {
    width: 100%;
    border: 1.5px solid var(--bpcd-border);
    border-radius: var(--bpcd-radius-sm);
    padding: 12px 13px;
    color: var(--bpcd-text);
    background: #fff;
    font: 500 14px/1.45 var(--bpcd-font);
    text-transform: none;
    letter-spacing: 0;
}

.bpcd-form-grid input:focus,
.bpcd-form-grid textarea:focus {
    outline: none;
    border-color: var(--bpcd-accent);
    box-shadow: 0 0 0 3px var(--bpcd-accent-light);
}

.bpcd-form-wide {
    grid-column: 1 / -1;
}

.bpcd-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
}

.bpcd-settings-card {
    border: 1px solid var(--bpcd-border);
    border-radius: var(--bpcd-radius-sm);
    background: var(--bpcd-bg);
    padding: 16px;
}

.bpcd-settings-card strong,
.bpcd-settings-card span {
    display: block;
}

.bpcd-settings-card strong {
    color: var(--bpcd-text);
    margin-bottom: 4px;
}

.bpcd-settings-card span {
    color: var(--bpcd-muted);
    font-size: 13px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
══════════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 900px) ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .bpcd-body {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }

    .bpcd-sidebar { order: -1; }

    .bpcd-qs-grid { grid-template-columns: repeat(4, 1fr); }

    .bpcd-members-grid.bpcd-cols-4 { grid-template-columns: repeat(3, 1fr); }

    .bpcd-wrap--wide .bpcd-body { padding: 16px; }
    .bpcd-content-grid { grid-template-columns: 1fr; }
    .bpcd-command-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bpcd-member-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bpcd-growth-layout { grid-template-columns: 1fr; }
    .bpcd-mainnav { align-items: flex-start; flex-direction: column; }
    .bpcd-mainnav-links { width: 100%; }
    .bpcd-business-hero { grid-template-columns: 1fr; min-height: auto; }
    .bpcd-business-grid { grid-template-columns: 1fr 1fr; }
    .bpcd-business-roadmap div { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile (≤ 600px) ────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    :root {
        --bpcd-cover-h:   160px;
        --bpcd-avatar-size: 84px;
    }

    .bpcd-identity-row {
        flex-direction: column;
        align-items: center;
        padding: calc( var(--bpcd-avatar-size) / 2 + 14px ) 16px 16px;
        gap: 8px;
    }

    .bpcd-action-btns {
        padding-top: 0;
        justify-content: center;
        width: 100%;
    }

    .bpcd-action-btns .bpcd-btn { flex: 1; }

    .bpcd-display-name { font-size: 20px; }
    .bpcd-stats-row { font-size: 12px; gap: 4px 8px; }

    .bpcd-body { padding: 12px; gap: 12px; }

    .bpcd-panel { padding: 14px 16px; }

    .bpcd-tabnav { padding: 0 4px; }
    .bpcd-tab { padding: 10px 12px; font-size: 12px; }
    .bpcd-appbar { padding: 12px 14px; }
    .bpcd-appbrand span:not(.bpcd-brand-mark) { display: none; }
    .bpcd-metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bpcd-command-grid,
    .bpcd-member-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bpcd-growth-bars div { grid-template-columns: 86px 1fr 36px; gap: 8px; }

    .bpcd-completion-ring { width: 110px; }

    .bpcd-qs-grid { grid-template-columns: repeat(2, 1fr); }

    .bpcd-members-grid.bpcd-cols-4,
    .bpcd-members-grid.bpcd-cols-3 { grid-template-columns: repeat(2, 1fr); }

    .bpcd-sc-stats { gap: 8px; }

    .bpcd-activity-footer { flex-wrap: wrap; }

    .bpcd-activity-header { gap: 8px; }
    .bpcd-activity-avatar { width: 36px; height: 36px; }

    .bpcd-social-icons { gap: 6px; }

    .bpcd-connections-header { flex-direction: column; align-items: flex-start; }

    .bpcd-resource-grid,
    .bpcd-affiliate-grid,
    .bpcd-slicewp-panel .bpcd-affiliate-grid { grid-template-columns: 1fr 1fr; }

    .bpcd-affiliate-hero {
        display: block;
    }

    .bpcd-affiliate-wrap { padding: 14px; }
    .bpcd-editor-hero { display: block; }
    .bpcd-editor-hero img { margin-bottom: 14px; }
    .bpcd-form-grid { grid-template-columns: 1fr; }
    .bpcd-form-actions { justify-content: stretch; flex-direction: column; }
    .bpcd-form-actions .bpcd-btn { width: 100%; }
    .bpcd-business-grid,
    .bpcd-business-roadmap div { grid-template-columns: 1fr; }
    .bpcd-business-score { text-align: left; }
    .bpcd-demo-user-card { grid-template-columns: 1fr; }
    .bpcd-demo-activity div { display: block; }
    .bpcd-demo-activity strong { display: block; margin-bottom: 4px; }
}

/* ── Very small (≤ 380px) ────────────────────────────────────────────────── */
@media (max-width: 380px) {
    .bpcd-tab { padding: 9px 10px; font-size: 11px; }
    .bpcd-tab-badge { display: none; }
    .bpcd-members-grid.bpcd-cols-4,
    .bpcd-members-grid.bpcd-cols-3,
    .bpcd-members-grid.bpcd-cols-2 { grid-template-columns: repeat(2, 1fr); }

    .bpcd-resource-grid,
    .bpcd-affiliate-grid,
    .bpcd-slicewp-panel .bpcd-affiliate-grid { grid-template-columns: 1fr; }
    .bpcd-command-grid,
    .bpcd-member-rail,
    .bpcd-metric-strip { grid-template-columns: 1fr; }
    .bpcd-app-actions { display: none; }
    .bpcd-mainnav-brand strong { display: none; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   v2.4.0 — PROFILE TAB, TAB-PANEL SWITCHING, ENHANCED IDENTITY
═══════════════════════════════════════════════════════════════════════════ */

/* ── Tab panel visibility (JS-driven, hidden by default via inline) ─────── */
.bpcd-tabpanel { display: none; }

/* ── Occupation line under name ─────────────────────────────────────────── */
.bpcd-occupation-line {
    font-size: 14px;
    color: var(--bpcd-muted);
    margin: 2px 0 6px;
    line-height: 1.4;
}
.bpcd-occupation-line strong { color: var(--bpcd-text); }

/* ── Credit stage badge ─────────────────────────────────────────────────── */
.bpcd-badge--stage {
    background: linear-gradient(135deg, var(--bpcd-accent), #fb923c);
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

/* ── Metric strip accent ────────────────────────────────────────────────── */
.bpcd-metric-accent { border-left: 2px solid var(--bpcd-accent); }
.bpcd-metric-accent strong { color: var(--bpcd-accent); }

/* ── Profile Hero card ──────────────────────────────────────────────────── */
.bpcd-profile-hero {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    flex-wrap: wrap;
}

.bpcd-ph-avatar {
    position: relative;
    flex-shrink: 0;
}
.bpcd-ph-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: var(--bpcd-shadow-md);
}
.bpcd-online-dot--lg {
    width: 14px; height: 14px;
    bottom: 4px; right: 4px;
}

.bpcd-ph-body { flex: 1; min-width: 0; }
.bpcd-ph-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.bpcd-ph-name-row h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--bpcd-text);
    line-height: 1.2;
}
.bpcd-ph-subtitle {
    font-size: 14px;
    color: var(--bpcd-muted);
    margin: 0 0 10px;
}
.bpcd-ph-subtitle strong { color: var(--bpcd-text); }
.bpcd-ph-bio {
    font-size: 14px;
    color: var(--bpcd-text);
    margin: 0 0 12px;
    line-height: 1.6;
}

.bpcd-ph-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.bpcd-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--bpcd-border-light);
    border: 1px solid var(--bpcd-border);
    color: var(--bpcd-muted);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    text-decoration: none;
}
.bpcd-chip--link:hover {
    color: var(--bpcd-accent);
    border-color: var(--bpcd-accent);
    background: var(--bpcd-accent-light);
}

.bpcd-ph-actions { flex-shrink: 0; align-self: flex-start; }

/* ── Profile two-column layout ──────────────────────────────────────────── */
.bpcd-profile-columns {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    align-items: start;
}

.bpcd-profile-col-main { display: flex; flex-direction: column; gap: 20px; }
.bpcd-profile-col-side { display: flex; flex-direction: column; gap: 20px; }

/* ── Profile section panels ─────────────────────────────────────────────── */
.bpcd-pf-section { padding: 22px 24px; }

.bpcd-pf-section-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bpcd-border);
}
.bpcd-pf-section-head svg { color: var(--bpcd-accent); flex-shrink: 0; }
.bpcd-pf-section-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--bpcd-text);
}

.bpcd-pf-bio-full {
    font-size: 14px;
    color: var(--bpcd-text);
    line-height: 1.65;
    margin: 0 0 14px;
}

.bpcd-pf-empty {
    font-size: 13px;
    color: var(--bpcd-subtle);
    font-style: italic;
    margin: 8px 0 0;
}

/* ── Profile field rows ─────────────────────────────────────────────────── */
.bpcd-pf-fields { display: flex; flex-direction: column; gap: 0; }

.bpcd-pf-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--bpcd-border-light);
    font-size: 13.5px;
}
.bpcd-pf-row:last-child { border-bottom: none; }

.bpcd-pf-icon { color: var(--bpcd-accent); flex-shrink: 0; display: flex; }
.bpcd-pf-label {
    color: var(--bpcd-muted);
    min-width: 120px;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.bpcd-pf-value {
    color: var(--bpcd-text);
    font-weight: 500;
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
}

/* ── Business Credit Journey grid ───────────────────────────────────────── */
.bpcd-pf-credit { border-left: 3px solid var(--bpcd-accent); }

.bpcd-credit-journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.bpcd-cj-item {
    background: var(--bpcd-border-light);
    border: 1px solid var(--bpcd-border);
    border-radius: var(--bpcd-radius-sm);
    padding: 12px 14px;
}
.bpcd-cj-item--accent {
    background: var(--bpcd-accent-light);
    border-color: var(--bpcd-accent);
}
.bpcd-cj-item--score { border-color: #10b981; background: #ecfdf5; }

.bpcd-cj-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--bpcd-muted);
    margin-bottom: 4px;
}
.bpcd-cj-value {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--bpcd-text);
    line-height: 1.2;
}
.bpcd-cj-item--accent .bpcd-cj-value { color: var(--bpcd-accent); }
.bpcd-cj-score { color: #10b981; font-size: 22px; }

.bpcd-pf-credit-wins {
    background: var(--bpcd-accent-light);
    border: 1px dashed var(--bpcd-accent);
    border-radius: var(--bpcd-radius-sm);
    padding: 12px 16px;
    margin-top: 8px;
}
.bpcd-pf-credit-wins h4 {
    margin: 0 0 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--bpcd-accent);
    font-weight: 700;
}
.bpcd-pf-credit-wins p { margin: 0; font-size: 13.5px; color: var(--bpcd-text); line-height: 1.55; }

/* ── Skills & tags ──────────────────────────────────────────────────────── */
.bpcd-pf-skill-group { margin-bottom: 14px; }
.bpcd-pf-skill-group:last-child { margin-bottom: 0; }
.bpcd-pf-skill-group h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--bpcd-muted);
    font-weight: 700;
    margin: 0 0 8px;
}

.bpcd-skill-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.bpcd-skill-tag {
    background: var(--bpcd-border-light);
    border: 1px solid var(--bpcd-border);
    color: var(--bpcd-text);
    font-size: 12.5px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 999px;
}
.bpcd-skill-tag--cert {
    background: var(--bpcd-accent-light);
    border-color: var(--bpcd-accent);
    color: var(--bpcd-accent);
    font-weight: 600;
}

/* ── Open To networking cards ───────────────────────────────────────────── */
.bpcd-open-to-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.bpcd-open-to-card {
    background: var(--bpcd-border-light);
    border: 1px solid var(--bpcd-border);
    border-radius: var(--bpcd-radius-sm);
    padding: 16px;
    text-align: center;
    transition: border-color .2s, box-shadow .2s;
}
.bpcd-open-to-card:hover {
    border-color: var(--bpcd-accent);
    box-shadow: 0 0 0 3px var(--bpcd-accent-light);
}
.bpcd-open-to-card svg { color: var(--bpcd-accent); margin-bottom: 8px; }
.bpcd-open-to-card strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--bpcd-text);
    margin-bottom: 4px;
}
.bpcd-open-to-card span {
    font-size: 12px;
    color: var(--bpcd-muted);
    line-height: 1.4;
}

/* ── Social links rows ──────────────────────────────────────────────────── */
.bpcd-pf-social-list { display: flex; flex-direction: column; gap: 2px; }

.bpcd-pf-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--bpcd-radius-sm);
    text-decoration: none;
    color: var(--bpcd-text);
    transition: background .15s;
}
.bpcd-pf-social-row:hover { background: var(--bpcd-border-light); }

.bpcd-pf-social-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--social-color) 12%, transparent);
    color: var(--social-color);
    flex-shrink: 0;
}
.bpcd-pf-social-row > div { flex: 1; min-width: 0; }
.bpcd-pf-social-row > div strong { display: block; font-size: 13px; font-weight: 700; }
.bpcd-pf-social-row > div span {
    display: block;
    font-size: 11.5px;
    color: var(--bpcd-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bpcd-pf-social-arrow { color: var(--bpcd-subtle); flex-shrink: 0; }

/* ── Full groups list ───────────────────────────────────────────────────── */
.bpcd-groups-list--full { gap: 0; }
.bpcd-group-item--full {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--bpcd-border-light);
}
.bpcd-groups-list--full li:last-child .bpcd-group-item--full { border-bottom: none; }
.bpcd-group-item--full img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.bpcd-group-info { display: flex; flex-direction: column; gap: 2px; }
.bpcd-group-info .bpcd-group-name { font-size: 14px; font-weight: 700; color: var(--bpcd-text); }
.bpcd-group-desc { font-size: 12.5px; color: var(--bpcd-muted); line-height: 1.4; }
.bpcd-group-meta { font-size: 12px; color: var(--bpcd-subtle); }

/* ── Full connections list ──────────────────────────────────────────────── */
.bpcd-connections-list--full { gap: 0; }
.bpcd-connections-list--full li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bpcd-border-light);
}
.bpcd-connections-list--full li:last-child { border-bottom: none; }
.bpcd-conn-avatar-wrap img {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.bpcd-conn-name { font-size: 14px; font-weight: 600; flex: 1; }

/* ── Resource grid large ────────────────────────────────────────────────── */
.bpcd-resource-grid--lg {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}
.bpcd-resource-grid--lg > div {
    background: var(--bpcd-border-light);
    border: 1px solid var(--bpcd-border);
    border-radius: var(--bpcd-radius-sm);
    padding: 18px;
    text-align: center;
}
.bpcd-resource-grid--lg > div strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--bpcd-accent);
    line-height: 1;
    margin-bottom: 4px;
}
.bpcd-resource-grid--lg > div span {
    font-size: 12px;
    color: var(--bpcd-muted);
    font-weight: 500;
}

/* ── Tab icons in tabnav ────────────────────────────────────────────────── */
.bpcd-tab svg { vertical-align: middle; margin-right: 3px; opacity: .7; }
.bpcd-tab--active svg { opacity: 1; color: var(--bpcd-accent); }

/* ── Profile tab: sidebar completion hidden (profile has its own) ─────────── */
/* Handled by JS */

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .bpcd-profile-columns { grid-template-columns: 1fr; }
    .bpcd-profile-col-side { order: -1; }
}
@media (max-width: 640px) {
    .bpcd-profile-hero { padding: 16px; gap: 14px; }
    .bpcd-ph-avatar img { width: 68px; height: 68px; }
    .bpcd-ph-name-row h2 { font-size: 18px; }
    .bpcd-credit-journey-grid { grid-template-columns: 1fr 1fr; }
    .bpcd-open-to-grid { grid-template-columns: 1fr; }
    .bpcd-pf-label { min-width: 90px; }
    .bpcd-pf-row { flex-wrap: wrap; }
}


/* ── Profile Image Upload (Circle-inspired) ────────────────────────────────── */
.bpcd-form-section {
    background: var(--bpcd-surface);
    border: 1px solid var(--bpcd-border);
    border-radius: var(--bpcd-radius);
    padding: 24px;
    margin-bottom: 20px;
}

.bpcd-form-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--bpcd-text);
    margin: 0 0 16px;
}

.bpcd-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 16px;
}

.bpcd-image-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.bpcd-image-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    width: 100%;
}

.bpcd-image-preview {
    width: 100%;
    height: 160px;
    border: 2px solid var(--bpcd-border);
    border-radius: var(--bpcd-radius);
    background: var(--bpcd-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all .2s ease;
    position: relative;
}

.bpcd-image-label:hover .bpcd-image-preview {
    border-color: var(--bpcd-accent);
    background: var(--bpcd-accent-light);
}

.bpcd-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bpcd-avatar-preview {
    border-radius: 50%;
    width: 160px;
    height: 160px;
}

.bpcd-avatar-preview img {
    border-radius: 50%;
}

.bpcd-cover-placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        #c7d2fe 0%,
        #bfdbfe 25%,
        #a5f3fc 50%,
        #bbf7d0 75%,
        #fde68a 100%);
}

.bpcd-image-action {
    display: inline-block;
    background: var(--bpcd-accent);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s ease;
}

.bpcd-image-label:hover .bpcd-image-action {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.bpcd-image-hint {
    font-size: 12px;
    color: var(--bpcd-muted);
    margin: 0;
    text-align: center;
}

/* ── Form styling (Circle-inspired) ────────────────────────────────────────── */
.bpcd-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.bpcd-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bpcd-text);
}

.bpcd-form-grid input,
.bpcd-form-grid textarea {
    padding: 10px 14px;
    border: 1px solid var(--bpcd-border);
    border-radius: var(--bpcd-radius-sm);
    font-family: var(--bpcd-font);
    font-size: 14px;
    color: var(--bpcd-text);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.bpcd-form-grid input:focus,
.bpcd-form-grid textarea:focus {
    outline: none;
    border-color: var(--bpcd-accent);
    box-shadow: 0 0 0 3px var(--bpcd-accent-light);
}

.bpcd-form-wide {
    grid-column: 1 / -1;
}

.bpcd-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 8px;
}

/* ── Responsive image upload ────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .bpcd-image-grid {
        grid-template-columns: 1fr;
    }
    
    .bpcd-image-preview,
    .bpcd-avatar-preview {
        height: 120px;
        width: 120px;
    }
    
    .bpcd-form-grid {
        grid-template-columns: 1fr;
    }
    
    .bpcd-form-actions {
        flex-direction: column-reverse;
    }
    
    .bpcd-form-actions .bpcd-btn {
        width: 100%;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   v2.5 Community Feature Layer
   Rooms, sprints, wins, events, quests, directory, leaderboard
────────────────────────────────────────────────────────────────────────── */
.bpcd-community-page{min-height:100vh}
.bpcd-community-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px;align-items:center;margin:18px 0 20px;padding:26px;border-radius:28px;background:radial-gradient(circle at top left,var(--bpcd-accent-light,#f973161a),transparent 34%),linear-gradient(135deg,#111827,#1f2937 58%,#111827);color:#fff;overflow:hidden;box-shadow:0 28px 70px rgba(17,24,39,.24)}
.bpcd-community-hero:before{content:"";position:absolute;right:-70px;top:-70px;width:220px;height:220px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.05)}
.bpcd-community-hero h2{margin:8px 0 10px;font-size:clamp(26px,4vw,46px);line-height:1.02;color:#fff;letter-spacing:-.04em}
.bpcd-community-hero p{max-width:780px;margin:0;color:rgba(255,255,255,.76);font-size:15px;line-height:1.75}
.bpcd-community-hero .bpcd-section-kicker{color:#fde68a;background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.15)}
.bpcd-community-hero--compact{margin:0 0 18px;grid-template-columns:minmax(0,1fr) 190px;padding:22px}
.bpcd-community-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.bpcd-community-actions .bpcd-btn--ghost{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:#fff}
.bpcd-community-scorecard{position:relative;z-index:1;padding:18px;border-radius:22px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(12px)}
.bpcd-community-scorecard strong{display:block;font-size:48px;line-height:1;color:#fff;letter-spacing:-.05em}
.bpcd-community-scorecard span{display:block;margin-top:8px;color:rgba(255,255,255,.7);font-size:12px;text-transform:uppercase;font-weight:800;letter-spacing:.08em}
.bpcd-mini-meter{height:8px;margin-top:15px;background:rgba(255,255,255,.18);border-radius:999px;overflow:hidden}
.bpcd-mini-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#fde68a,#fb923c)}
.bpcd-community-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.bpcd-community-stat-grid>div{padding:18px;border-radius:22px;background:#fff;border:1px solid #eef2f7;box-shadow:0 12px 30px rgba(17,24,39,.06)}
.bpcd-community-stat-grid strong{display:block;font-size:30px;line-height:1;color:#111827;letter-spacing:-.04em}
.bpcd-community-stat-grid span{display:block;margin-top:6px;font-size:12px;color:#6b7280;text-transform:uppercase;font-weight:800;letter-spacing:.06em}
.bpcd-community-two-col{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.8fr);gap:18px;align-items:start}
.bpcd-community-two-col aside{display:grid;gap:18px}
.bpcd-community-panel{margin-bottom:18px;overflow:hidden}
.bpcd-pill{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;background:#f3f4f6;color:#374151;font-size:12px;font-weight:800}
.bpcd-room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bpcd-room-grid--compact{grid-template-columns:repeat(2,minmax(0,1fr))}
.bpcd-room-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:flex-start;padding:16px;border-radius:20px;background:linear-gradient(180deg,#fff,#f9fafb);border:1px solid #edf0f5;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.bpcd-room-card:hover{transform:translateY(-2px);border-color:var(--bpcd-accent,#f97316);box-shadow:0 18px 40px rgba(17,24,39,.09)}
.bpcd-room-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:16px;background:var(--bpcd-accent-light,#f973161a);font-size:22px}
.bpcd-room-card h4,.bpcd-challenge-card h4,.bpcd-event-card h4{margin:0 0 6px;font-size:15px;color:#111827;letter-spacing:-.02em}
.bpcd-room-card p,.bpcd-challenge-card p,.bpcd-event-card p{margin:0;color:#6b7280;font-size:13px;line-height:1.55}
.bpcd-room-card small,.bpcd-event-card small{display:block;margin-top:9px;color:#9ca3af;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.bpcd-room-card>a{align-self:center;font-size:12px;font-weight:800;text-decoration:none;color:var(--bpcd-accent,#f97316)}
.bpcd-challenge-list{display:grid;gap:14px}
.bpcd-challenge-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:18px;border-radius:22px;background:#fff;border:1px solid #edf0f5;box-shadow:0 10px 26px rgba(17,24,39,.04)}
.bpcd-challenge-card>div>span{display:inline-flex;margin-bottom:8px;padding:5px 9px;border-radius:999px;background:#ecfeff;color:#0e7490;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.bpcd-challenge-card ul{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none}
.bpcd-challenge-card li{padding:7px 9px;border-radius:999px;background:#f9fafb;border:1px solid #eef2f7;color:#4b5563;font-size:12px;font-weight:700}
.bpcd-challenge-card .bpcd-btn{align-self:center;white-space:nowrap}
.bpcd-event-list{display:grid;gap:12px}
.bpcd-event-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;padding:14px;border-radius:18px;background:#fff;border:1px solid #edf0f5}
.bpcd-event-card time{display:grid;place-items:center;padding:8px;border-radius:16px;background:#111827;color:#fff;text-align:center;min-height:62px}
.bpcd-event-card time strong{display:block;font-size:22px;line-height:1;letter-spacing:-.04em}
.bpcd-event-card time span{display:block;font-size:11px;font-weight:900;letter-spacing:.1em;color:#fde68a}
.bpcd-leaderboard-list{display:grid;gap:10px;margin:0;padding:0;list-style:none;counter-reset:none}
.bpcd-leaderboard-list li{display:grid;grid-template-columns:42px 40px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px;border-radius:16px;background:#fff;border:1px solid #edf0f5}
.bpcd-rank{font-size:12px;font-weight:900;color:var(--bpcd-accent,#f97316)}
.bpcd-leaderboard-list img{width:40px;height:40px;border-radius:14px;object-fit:cover}
.bpcd-leaderboard-list strong{display:block;color:#111827;font-size:13px}
.bpcd-leaderboard-list small{display:block;color:#6b7280;font-size:11px}
.bpcd-leaderboard-list b{font-size:18px;color:#111827}
.bpcd-win-form{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;gap:10px;margin-bottom:16px;padding:12px;border-radius:18px;background:#f9fafb;border:1px solid #edf0f5}
.bpcd-win-form input,.bpcd-win-form select,.bpcd-directory-toolbar input,.bpcd-directory-toolbar select{width:100%;min-height:42px;border:1px solid #e5e7eb;border-radius:12px;padding:0 12px;background:#fff;color:#111827;font:inherit;font-size:13px;outline:none}
.bpcd-win-form input:focus,.bpcd-win-form select:focus,.bpcd-directory-toolbar input:focus,.bpcd-directory-toolbar select:focus{border-color:var(--bpcd-accent,#f97316);box-shadow:0 0 0 3px var(--bpcd-accent-light,#f973161a)}
.bpcd-wins-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bpcd-wins-list--compact{grid-template-columns:repeat(3,minmax(0,1fr))}
.bpcd-win-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;position:relative;padding:14px;border-radius:18px;background:#fff;border:1px solid #edf0f5;box-shadow:0 8px 22px rgba(17,24,39,.04)}
.bpcd-win-card img{width:42px;height:42px;border-radius:14px;object-fit:cover}
.bpcd-win-card strong{display:block;font-size:13px;line-height:1.35;color:#111827}
.bpcd-win-card span{display:block;margin-top:5px;font-size:11px;color:#6b7280;font-weight:700}
.bpcd-win-card em{position:absolute;right:10px;top:10px;padding:4px 7px;border-radius:999px;background:#ecfdf5;color:#047857;font-style:normal;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.bpcd-quest-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.bpcd-quest-list li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:flex-start;padding:12px;border-radius:16px;background:#fff;border:1px solid #edf0f5}
.bpcd-quest-list li>span{display:grid;place-items:center;width:30px;height:30px;border-radius:999px;background:#f3f4f6;color:#6b7280;font-weight:900}
.bpcd-quest-list li.is-done>span{background:#dcfce7;color:#166534}
.bpcd-quest-list strong{display:block;font-size:13px;color:#111827}
.bpcd-quest-list small{display:block;margin-top:4px;color:#6b7280;font-size:11px;line-height:1.4}
.bpcd-directory-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:10px;margin-bottom:16px}
.bpcd-directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.bpcd-directory-card{display:grid;gap:10px;padding:16px;border-radius:20px;background:#fff;border:1px solid #edf0f5;text-align:center;box-shadow:0 8px 22px rgba(17,24,39,.04)}
.bpcd-directory-card img{width:72px;height:72px;border-radius:24px;object-fit:cover;margin:0 auto}
.bpcd-directory-card h4{margin:0;color:#111827;font-size:15px}
.bpcd-directory-card span{display:inline-flex;justify-content:center;margin-top:3px;padding:5px 8px;border-radius:999px;background:var(--bpcd-accent-light,#f973161a);color:#111827;font-size:11px;font-weight:900}
.bpcd-directory-card p{margin:7px 0 0;color:#6b7280;font-size:12px}
.bpcd-directory-card .bpcd-btn{justify-self:center;margin-top:4px}
.bpcd-new-item{animation:bpcd-pop-in .34s ease both}
@keyframes bpcd-pop-in{0%{opacity:0;transform:translateY(-8px) scale(.98)}100%{opacity:1;transform:translateY(0) scale(1)}}
@media (max-width:1100px){.bpcd-community-two-col{grid-template-columns:1fr}.bpcd-community-two-col aside{grid-template-columns:repeat(2,minmax(0,1fr))}.bpcd-wins-list--compact{grid-template-columns:repeat(2,minmax(0,1fr))}.bpcd-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:780px){.bpcd-community-hero,.bpcd-community-hero--compact{grid-template-columns:1fr}.bpcd-community-scorecard{max-width:260px}.bpcd-community-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bpcd-room-grid,.bpcd-room-grid--compact,.bpcd-wins-list,.bpcd-wins-list--compact,.bpcd-community-two-col aside,.bpcd-directory-grid{grid-template-columns:1fr}.bpcd-win-form,.bpcd-directory-toolbar{grid-template-columns:1fr}.bpcd-challenge-card{grid-template-columns:1fr}.bpcd-challenge-card .bpcd-btn{justify-self:start}}


/* ──────────────────────────────────────────────────────────────────────────
   BPCD v2.6 Gold/White Landing Home + Bullet Proof Community Auth Pages
   ────────────────────────────────────────────────────────────────────────── */
:root {
    --bpcd-gold: #d4a84c;
    --bpcd-gold-2: #f3d98a;
    --bpcd-gold-3: #8a6424;
    --bpcd-cream: #fffaf0;
    --bpcd-ink: #17120a;
    --bpcd-soft-ink: #5f523a;
    --bpcd-home-grad: linear-gradient(135deg,#8a6424 0%,#d4a84c 38%,#fff2bd 55%,#d4a84c 76%,#7b571d 100%);
}

.bpcd-home-wrap,
.bpcd-auth-page {
    font-family: 'Barlow', 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--bpcd-ink);
    background: #fff;
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}
.entry-content > .bpcd-home-wrap,
.wp-block-post-content > .bpcd-home-wrap,
.entry-content > .bpcd-auth-page,
.wp-block-post-content > .bpcd-auth-page {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
}
.bpcd-home-wrap a,
.bpcd-auth-page a { color: inherit; }

.bpcd-home-nav,
.bpcd-auth-topbar {
    position: sticky;
    top: 0;
    z-index: 99;
    min-height: 76px;
    padding: 12px clamp(16px,4vw,64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(212,168,76,.28);
    backdrop-filter: blur(20px) saturate(160%);
}
.bpcd-home-brand,
.bpcd-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
}
.bpcd-home-brand img,
.bpcd-auth-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(212,168,76,.25);
}
.bpcd-home-links,
.bpcd-auth-topbar > div {
    display: flex;
    align-items: center;
    gap: clamp(10px,2vw,28px);
    flex-wrap: wrap;
}
.bpcd-home-links a,
.bpcd-auth-topbar a:not(.bpcd-auth-brand) {
    text-decoration: none;
    color: #6d6046;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 900;
}
.bpcd-home-links a:hover,
.bpcd-auth-topbar a:hover { color: var(--bpcd-gold-3); }
.bpcd-home-nav-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.bpcd-home-linkbtn,
.bpcd-home-goldbtn,
.bpcd-home-cta,
.bpcd-home-ghost,
.bpcd-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Barlow Condensed','Barlow',sans-serif;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: 12px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.bpcd-home-linkbtn,
.bpcd-home-ghost {
    border: 1px solid rgba(23,18,10,.14);
    background: rgba(255,255,255,.72);
    color: var(--bpcd-ink);
}
.bpcd-home-goldbtn,
.bpcd-home-cta,
.bpcd-auth-submit {
    border: 0;
    background: var(--bpcd-home-grad);
    color: #1c1405 !important;
    box-shadow: 0 14px 42px rgba(212,168,76,.28), inset 0 1px 0 rgba(255,255,255,.55);
}
.bpcd-home-goldbtn:hover,
.bpcd-home-cta:hover,
.bpcd-auth-submit:hover,
.bpcd-home-ghost:hover,
.bpcd-home-linkbtn:hover { transform: translateY(-2px); }
.bpcd-home-goldbtn:hover,
.bpcd-home-cta:hover,
.bpcd-auth-submit:hover { box-shadow: 0 18px 52px rgba(212,168,76,.42), inset 0 1px 0 rgba(255,255,255,.7); }

.bpcd-home-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fffaf0;
    padding: clamp(80px,10vw,130px) clamp(18px,5vw,80px) 60px;
}
.bpcd-home-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 35%, rgba(255,255,255,.20), rgba(255,250,240,.84) 48%, #fff 76%),
        linear-gradient(135deg, rgba(212,168,76,.16), rgba(255,255,255,.88) 35%, rgba(212,168,76,.10)),
        var(--bpcd-hero-img) center top / cover no-repeat;
    opacity: 1;
}
.bpcd-home-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(212,168,76,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(212,168,76,.12) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%);
}
.bpcd-home-hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, 1080px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bpcd-home-logo-orbit {
    width: clamp(140px,18vw,230px);
    height: clamp(140px,18vw,230px);
    margin-bottom: 28px;
    position: relative;
    display: grid;
    place-items: center;
}
.bpcd-home-logo-orbit span {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212,168,76,.25);
    border-radius: 50%;
    animation: bpcdSpin 13s linear infinite;
}
.bpcd-home-logo-orbit span:nth-child(2) { inset: 12px; animation-direction: reverse; border-style: dashed; opacity:.7; }
.bpcd-home-logo-orbit span:nth-child(3) { inset: 26px; animation-duration: 8s; opacity:.55; }
.bpcd-home-logo-orbit img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 20px 35px rgba(212,168,76,.35));
}
@keyframes bpcdSpin { to { transform: rotate(360deg); } }
.bpcd-home-eyebrow,
.bpcd-auth-copy > span,
.bpcd-home-section-head > span,
.bpcd-home-split-copy > span,
.bpcd-home-final-cta > span,
.bpcd-auth-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 18px;
    padding: 8px 16px;
    border: 1px solid rgba(212,168,76,.32);
    border-radius: 999px;
    color: #806126;
    background: rgba(255,255,255,.70);
    font-family: 'Barlow Condensed','Barlow',sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .26em;
    text-transform: uppercase;
}
.bpcd-home-hero h1,
.bpcd-auth-copy h1,
.bpcd-home-section-head h2,
.bpcd-home-split-copy h2,
.bpcd-home-final-cta h2 {
    font-family: 'Bebas Neue','Barlow Condensed',sans-serif;
    color: var(--bpcd-ink);
    letter-spacing: .055em;
    text-transform: uppercase;
    line-height: .94;
    margin: 0;
}
.bpcd-home-hero h1 { font-size: clamp(4.4rem, 11vw, 9.8rem); max-width: 1150px; }
.bpcd-auth-copy h1 { font-size: clamp(3.2rem, 7vw, 6.8rem); max-width: 720px; }
.bpcd-home-section-head h2,
.bpcd-home-split-copy h2,
.bpcd-home-final-cta h2 { font-size: clamp(2.8rem, 6vw, 5.8rem); }
.bpcd-home-subtitle,
.bpcd-auth-copy p,
.bpcd-home-section-head p,
.bpcd-home-split-copy p,
.bpcd-home-final-cta p {
    color: var(--bpcd-soft-ink);
    font-size: clamp(1rem,1.4vw,1.2rem);
    line-height: 1.8;
    max-width: 720px;
    margin: 22px auto 0;
    font-weight: 600;
}
.bpcd-home-actions { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-top: 30px; }
.bpcd-home-proof-row {
    margin-top: 44px;
    width: min(100%, 960px);
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border: 1px solid rgba(212,168,76,.26);
    background: rgba(255,255,255,.78);
    box-shadow: 0 20px 80px rgba(99,75,29,.10);
}
.bpcd-home-proof-row div { padding: 24px 14px; border-right: 1px solid rgba(212,168,76,.18); }
.bpcd-home-proof-row div:last-child { border-right: 0; }
.bpcd-home-proof-row strong { display:block; font-family:'Bebas Neue',sans-serif; font-size: clamp(2.2rem,4vw,4rem); color: var(--bpcd-gold-3); line-height:1; }
.bpcd-home-proof-row span { display:block; color:#6d6046; font-size:11px; letter-spacing:.16em; text-transform:uppercase; font-weight:900; margin-top:8px; }

.bpcd-gold-marquee { overflow:hidden; background: var(--bpcd-home-grad); color:#1b1406; height:46px; display:flex; align-items:center; }
.bpcd-gold-marquee div { display:flex; gap:42px; white-space:nowrap; animation:bpcdMarquee 34s linear infinite; }
.bpcd-gold-marquee span { font-family:'Barlow Condensed',sans-serif; font-weight:900; letter-spacing:.24em; text-transform:uppercase; font-size:12px; }
@keyframes bpcdMarquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

.bpcd-home-section { padding: clamp(70px,9vw,120px) clamp(18px,5vw,80px); }
.bpcd-home-section-head { text-align:center; max-width: 820px; margin: 0 auto 50px; }
.bpcd-home-pillar-section { background: linear-gradient(180deg,#fff 0%,#fffaf0 100%); }
.bpcd-home-pillar-grid,
.bpcd-home-win-grid { width:min(100%,1200px); margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:rgba(212,168,76,.22); border:1px solid rgba(212,168,76,.22); }
.bpcd-home-pillar-card,
.bpcd-home-win-grid article {
    background: rgba(255,255,255,.92);
    padding: clamp(28px,4vw,48px);
    min-height: 320px;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.bpcd-home-pillar-card:hover,
.bpcd-home-win-grid article:hover { transform: translateY(-4px); box-shadow: 0 22px 70px rgba(99,75,29,.12); background:#fff; }
.bpcd-home-card-num { font-family:'Bebas Neue',sans-serif; font-size:72px; line-height:1; color:rgba(212,168,76,.16); }
.bpcd-home-pillar-card img { width:86px; height:86px; object-fit:contain; margin:10px 0 22px; filter: drop-shadow(0 12px 25px rgba(212,168,76,.20)); }
.bpcd-home-pillar-card h3,
.bpcd-home-win-grid strong {
    display:block;
    margin:0 0 12px;
    color: var(--bpcd-ink);
    font-family:'Barlow Condensed',sans-serif;
    font-size: 20px;
    font-weight: 900;
    letter-spacing:.16em;
    text-transform:uppercase;
}
.bpcd-home-pillar-card p,
.bpcd-home-win-grid p { color: var(--bpcd-soft-ink); line-height:1.8; font-weight:600; margin:0; }

.bpcd-home-image-row { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:rgba(212,168,76,.24); border-top:1px solid rgba(212,168,76,.24); border-bottom:1px solid rgba(212,168,76,.24); }
.bpcd-home-image-row figure { margin:0; min-height:420px; position:relative; overflow:hidden; background:#140f06; }
.bpcd-home-image-row img { width:100%; height:100%; object-fit:cover; opacity:.78; transform:scale(1.02); transition: transform 1s ease, opacity .4s ease; }
.bpcd-home-image-row figure:hover img { transform:scale(1.07); opacity:.95; }
.bpcd-home-image-row figcaption { position:absolute; left:28px; right:28px; bottom:28px; color:#fff6df; font-family:'Barlow Condensed',sans-serif; font-size:14px; font-weight:900; letter-spacing:.18em; text-transform:uppercase; border-left:3px solid var(--bpcd-gold); padding-left:16px; text-shadow:0 3px 20px rgba(0,0,0,.7); }

.bpcd-home-split { display:grid; grid-template-columns:1fr 1fr; gap: clamp(30px,5vw,80px); align-items:center; padding:clamp(70px,9vw,120px) clamp(18px,5vw,80px); background:#fff; }
.bpcd-home-split-copy { max-width:640px; justify-self:end; }
.bpcd-home-split-copy > span { margin-left:0; }
.bpcd-home-split-copy p { margin-left:0; }
.bpcd-home-split-copy ul { list-style:none; padding:0; margin:28px 0 8px; display:grid; gap:12px; }
.bpcd-home-split-copy li { color:#4f442f; font-weight:800; padding:14px 16px 14px 46px; border:1px solid rgba(212,168,76,.24); border-radius:16px; background:#fffaf0; position:relative; }
.bpcd-home-split-copy li::before { content:'✓'; position:absolute; left:17px; top:14px; color:#7b571d; font-weight:900; }
.bpcd-home-split-media { padding: clamp(18px,3vw,32px); background: linear-gradient(135deg,#fffaf0,#fff); border:1px solid rgba(212,168,76,.24); box-shadow:0 22px 90px rgba(99,75,29,.12); border-radius: 34px; }
.bpcd-home-split-media img { width:100%; display:block; object-fit:cover; border-radius:24px; }
.bpcd-home-divider { height: 150px; background-size: cover; background-position:center; position:relative; }
.bpcd-home-divider::before,
.bpcd-home-divider::after { content:''; position:absolute; left:0; right:0; height:60px; }
.bpcd-home-divider::before { top:0; background:linear-gradient(to bottom,#fff,transparent); }
.bpcd-home-divider::after { bottom:0; background:linear-gradient(to top,#fffaf0,transparent); }

.bpcd-home-wins { position:relative; background:#17120a; color:#fff; overflow:hidden; }
.bpcd-home-wins::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg, rgba(23,18,10,.92), rgba(23,18,10,.76)), var(--bpcd-legacy-img) center/cover no-repeat; opacity:1; }
.bpcd-home-wins > * { position:relative; z-index:1; }
.bpcd-home-section-head--light h2 { color:#fffaf0; }
.bpcd-home-section-head--light p { color:#d9c692; }
.bpcd-home-win-grid { background:rgba(212,168,76,.24); border-color:rgba(212,168,76,.26); }
.bpcd-home-win-grid article { background:rgba(255,250,240,.08); color:#fff; border:1px solid rgba(255,255,255,.06); }
.bpcd-home-win-grid strong { color:#fff2bd; }
.bpcd-home-win-grid p { color:#e7d8ad; }

.bpcd-home-final-cta { text-align:center; padding:clamp(70px,9vw,120px) clamp(18px,5vw,80px); background:linear-gradient(180deg,#fffaf0,#fff); }
.bpcd-home-final-cta img { width:96px; height:96px; object-fit:contain; margin-bottom:24px; filter:drop-shadow(0 14px 30px rgba(212,168,76,.25)); }
.bpcd-home-final-cta h2 { max-width: 920px; margin:0 auto; }

/* Auth */
.bpcd-auth-page { position:relative; min-height:100vh; background:#fffaf0; }
.bpcd-auth-bg { position:absolute; inset:0; background:linear-gradient(135deg, rgba(255,250,240,.94), rgba(255,255,255,.86)), var(--bpcd-auth-hero) center top/cover no-repeat; }
.bpcd-auth-bg::after { content:''; position:absolute; inset:0; background-image:radial-gradient(circle at 20% 20%, rgba(212,168,76,.24), transparent 25%), radial-gradient(circle at 80% 10%, rgba(212,168,76,.16), transparent 30%); }
.bpcd-auth-topbar { position:relative; }
.bpcd-auth-shell { position:relative; z-index:2; width:min(100%,1320px); min-height:calc(100vh - 76px); margin:0 auto; padding:clamp(44px,6vw,90px) clamp(18px,4vw,56px); display:grid; grid-template-columns:minmax(320px,1.05fr) minmax(340px,.95fr); gap: clamp(28px,5vw,80px); align-items:center; }
.bpcd-auth-copy { max-width:740px; }
.bpcd-auth-copy > span { margin-left:0; }
.bpcd-auth-copy p { margin-left:0; }
.bpcd-auth-copy-grid { margin-top:32px; display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.bpcd-auth-copy-grid div { padding:18px; border:1px solid rgba(212,168,76,.24); border-radius:20px; background:rgba(255,255,255,.72); box-shadow:0 16px 50px rgba(99,75,29,.08); }
.bpcd-auth-copy-grid strong { display:block; font-family:'Barlow Condensed',sans-serif; font-size:16px; font-weight:900; letter-spacing:.16em; text-transform:uppercase; color:#7b571d; }
.bpcd-auth-copy-grid small { display:block; margin-top:8px; color:#6d6046; font-weight:700; line-height:1.5; }
.bpcd-auth-panels { display:grid; gap:14px; }
.bpcd-auth-tabs { display:flex; gap:8px; background:rgba(255,255,255,.74); padding:8px; border:1px solid rgba(212,168,76,.24); border-radius:999px; }
.bpcd-auth-tabs a { flex:1; text-align:center; text-decoration:none; padding:12px 14px; border-radius:999px; font-family:'Barlow Condensed',sans-serif; font-weight:900; letter-spacing:.16em; text-transform:uppercase; font-size:12px; color:#695b3d; }
.bpcd-auth-tabs a.is-active { background:var(--bpcd-home-grad); color:#1c1405; box-shadow:0 10px 30px rgba(212,168,76,.22); }
.bpcd-auth-card { background:rgba(255,255,255,.92); border:1px solid rgba(212,168,76,.28); border-radius:30px; padding:clamp(26px,4vw,42px); box-shadow:0 24px 90px rgba(99,75,29,.12); }
.bpcd-auth-card h2 { margin:0 0 10px; font-family:'Bebas Neue',sans-serif; font-size:clamp(2.3rem,4vw,3.8rem); line-height:.95; letter-spacing:.06em; text-transform:uppercase; color:var(--bpcd-ink); }
.bpcd-auth-small { color:#756848; font-weight:700; line-height:1.65; margin: 0 0 20px; }
.bpcd-auth-form label { display:block; color:#4a3b1a; font-family:'Barlow Condensed',sans-serif; font-weight:900; letter-spacing:.14em; text-transform:uppercase; font-size:12px; margin:0 0 15px; }
.bpcd-auth-form input:not([type="checkbox"]),
.bpcd-auth-form select {
    width:100%;
    min-height:54px;
    margin-top:7px;
    border:1px solid rgba(212,168,76,.30);
    border-radius:16px;
    background:#fffaf0;
    color:var(--bpcd-ink);
    font:700 15px 'Barlow',sans-serif;
    padding:0 16px;
    outline:none;
    box-shadow:inset 0 1px 3px rgba(99,75,29,.06);
}
.bpcd-auth-form input:focus,
.bpcd-auth-form select:focus { border-color:var(--bpcd-gold); box-shadow:0 0 0 4px rgba(212,168,76,.18); background:#fff; }
.bpcd-auth-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.bpcd-auth-check { display:flex !important; align-items:flex-start; gap:10px; letter-spacing:0 !important; text-transform:none !important; font-family:'Barlow',sans-serif !important; color:#5f523a !important; font-size:14px !important; line-height:1.5; }
.bpcd-auth-check input { width:20px; height:20px; margin-top:2px; accent-color:var(--bpcd-gold); flex:0 0 auto; }
.bpcd-auth-submit { width:100%; min-height:56px; border-radius:18px; cursor:pointer; }
.bpcd-auth-footer-links { margin-top:16px; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.bpcd-auth-footer-links a,
.bpcd-auth-altlink { color:#806126; font-weight:900; text-decoration:none; font-size:13px; }
.bpcd-auth-notice { border-radius:18px; padding:14px 16px; font-weight:800; line-height:1.5; }
.bpcd-auth-notice--success { background:#ecfdf3; color:#0f6b38; border:1px solid #b9ebcd; }
.bpcd-auth-notice--error { background:#fff1f1; color:#9f1d1d; border:1px solid #ffd0d0; }
.bpcd-auth-card--logged { text-align:center; }
.bpcd-auth-card--logged img { width:96px; height:96px; object-fit:cover; border-radius:50%; margin-bottom:18px; border:4px solid #fff; box-shadow:0 12px 35px rgba(99,75,29,.18); }
.bpcd-honeypot { position:absolute !important; left:-9999px !important; top:auto !important; width:1px !important; height:1px !important; opacity:0 !important; pointer-events:none !important; }

@media (max-width: 1080px) {
    .bpcd-home-links { display:none; }
    .bpcd-auth-shell { grid-template-columns:1fr; }
    .bpcd-auth-copy { text-align:center; margin:0 auto; }
    .bpcd-auth-copy > span { margin-left:auto; }
    .bpcd-auth-copy p { margin-left:auto; }
}
@media (max-width: 820px) {
    .bpcd-home-nav,
    .bpcd-auth-topbar { position:relative; flex-direction:column; align-items:flex-start; }
    .bpcd-home-nav-actions { width:100%; justify-content:stretch; }
    .bpcd-home-linkbtn,.bpcd-home-goldbtn { flex:1; }
    .bpcd-home-proof-row,
    .bpcd-home-pillar-grid,
    .bpcd-home-win-grid,
    .bpcd-home-image-row,
    .bpcd-home-split,
    .bpcd-auth-copy-grid,
    .bpcd-auth-form-grid { grid-template-columns:1fr; }
    .bpcd-home-proof-row div { border-right:0; border-bottom:1px solid rgba(212,168,76,.18); }
    .bpcd-home-proof-row div:last-child { border-bottom:0; }
    .bpcd-home-image-row figure { min-height:300px; }
    .bpcd-home-split-copy { justify-self:center; text-align:left; }
}
@media (max-width: 560px) {
    .bpcd-home-hero h1 { font-size: clamp(3.2rem, 18vw, 5rem); }
    .bpcd-home-actions { flex-direction:column; width:100%; }
    .bpcd-home-cta,.bpcd-home-ghost { width:100%; }
    .bpcd-auth-tabs { border-radius:22px; flex-direction:column; }
    .bpcd-auth-shell { padding-left:14px; padding-right:14px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   v2.7 Full Community Front Dashboard
   ═══════════════════════════════════════════════════════════════════════ */
.bpcd-full-community-gate{min-height:100vh;display:grid;place-items:center;text-align:center;padding:40px;background:linear-gradient(135deg,#fffaf0,#fff,#f8f0dc);color:#171106}.bpcd-full-community-gate h2{font-family:'Bebas Neue',sans-serif;font-size:clamp(3rem,7vw,6rem);line-height:.9;margin:0 0 12px;letter-spacing:.06em}.bpcd-full-community-gate p{max-width:620px;margin:0 auto 22px;color:#756848;font-weight:700;line-height:1.7}
.bpcd-full-community-wrap{--gold:#d4a84c;--gold2:#fff2b8;--ink:#171106;--muted:#756848;--line:rgba(212,168,76,.22);--glass:rgba(255,255,255,.82);min-height:100vh;background:radial-gradient(circle at 0% 0%,rgba(212,168,76,.22),transparent 32%),linear-gradient(135deg,#fffaf0,#fff 42%,#f8f0dc);color:var(--ink);display:grid;grid-template-columns:292px minmax(0,1fr);font-family:'Barlow','Plus Jakarta Sans',system-ui,sans-serif}
.bpcd-full-community-sidebar{position:sticky;top:0;align-self:start;height:100vh;padding:22px;border-right:1px solid var(--line);background:rgba(255,250,240,.86);backdrop-filter:blur(18px);display:flex;flex-direction:column;gap:20px;z-index:5}
.bpcd-full-community-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);padding:8px 4px 18px;border-bottom:1px solid var(--line)}
.bpcd-full-community-brand span{width:46px;height:46px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,#7f5c1a,#d4a84c 44%,#fff2b8 62%,#a77b22);font-family:'Bebas Neue',sans-serif;font-size:24px;letter-spacing:.06em;color:#1c1405;box-shadow:0 14px 30px rgba(212,168,76,.25)}
.bpcd-full-community-brand strong{font-family:'Barlow Condensed',sans-serif;font-weight:900;text-transform:uppercase;letter-spacing:.18em;font-size:15px}.bpcd-full-community-sidebar nav{display:grid;gap:8px}.bpcd-full-community-sidebar nav a{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 14px;border:1px solid transparent;border-radius:18px;color:#604614;text-decoration:none;font-family:'Barlow Condensed',sans-serif;font-weight:900;text-transform:uppercase;letter-spacing:.14em;font-size:13px;transition:.2s ease}.bpcd-full-community-sidebar nav a:hover{background:#fff;border-color:var(--line);box-shadow:0 10px 24px rgba(99,75,29,.08);color:#171106}.bpcd-full-community-sidebar nav a span{font-size:18px;line-height:1}.bpcd-full-community-user{margin-top:auto;border:1px solid var(--line);border-radius:24px;background:#fff;padding:18px;text-align:center;box-shadow:0 16px 42px rgba(99,75,29,.08)}.bpcd-full-community-user img{width:74px;height:74px;border-radius:22px;object-fit:cover;border:3px solid #fff;box-shadow:0 10px 24px rgba(99,75,29,.14);margin-bottom:10px}.bpcd-full-community-user strong{display:block;font-weight:900;color:var(--ink)}.bpcd-full-community-user small{display:block;color:#806d46;font-weight:800;margin-top:4px}
.bpcd-full-community-main{min-width:0;padding:clamp(18px,3vw,42px);overflow:hidden}.bpcd-full-community-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:18px;align-items:stretch;border:1px solid var(--line);border-radius:34px;background:rgba(255,255,255,.78);box-shadow:0 24px 80px rgba(99,75,29,.12);padding:clamp(28px,4vw,54px);margin-bottom:16px}.bpcd-full-community-hero:after{content:'DASHBOARD';position:absolute;right:-.04em;bottom:-.22em;font-family:'Bebas Neue',sans-serif;font-size:clamp(5rem,15vw,13rem);line-height:1;letter-spacing:.08em;color:rgba(212,168,76,.08);pointer-events:none}.bpcd-full-community-hero h1{position:relative;margin:12px 0 12px;font-family:'Bebas Neue',sans-serif;font-size:clamp(3.5rem,7vw,7rem);line-height:.88;letter-spacing:.06em;color:var(--ink)}.bpcd-full-community-hero p{position:relative;max-width:860px;margin:0;color:var(--muted);line-height:1.75;font-weight:750;font-size:16px}.bpcd-full-community-score{position:relative;z-index:1;border:1px solid rgba(212,168,76,.22);border-radius:28px;background:linear-gradient(135deg,#fff8df,#fff);display:grid;place-items:center;text-align:center;padding:26px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.8)}.bpcd-full-community-score strong{font-family:'Bebas Neue',sans-serif;font-size:72px;line-height:.85;color:#604614}.bpcd-full-community-score span{font-family:'Barlow Condensed',sans-serif;color:#806126;text-transform:uppercase;letter-spacing:.16em;font-weight:900;font-size:12px}
.bpcd-full-community-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:16px}.bpcd-full-community-metrics article{border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.76);box-shadow:0 18px 52px rgba(99,75,29,.08);padding:20px;min-height:130px;display:flex;flex-direction:column;justify-content:space-between}.bpcd-full-community-metrics span{font-family:'Barlow Condensed',sans-serif;color:#806126;text-transform:uppercase;letter-spacing:.16em;font-weight:900;font-size:12px}.bpcd-full-community-metrics strong{font-family:'Bebas Neue',sans-serif;font-size:42px;line-height:.9;color:var(--ink)}.bpcd-full-community-metrics small{color:#806d46;font-weight:800;line-height:1.35}.bpcd-full-community-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:16px;align-items:start}.bpcd-full-community-grid>.bpcd-community-wrap,.bpcd-full-community-grid>.bpcd-community-section{min-width:0}.bpcd-full-community-sidepanels{display:grid;gap:16px}.bpcd-full-community-wrap .bpcd-panel,.bpcd-full-community-wrap .bpcd-community-panel{border-color:var(--line)!important;box-shadow:0 18px 52px rgba(99,75,29,.08)!important;background:rgba(255,255,255,.78)!important}.bpcd-full-community-wrap .bpcd-mainnav{display:none!important}
@media(max-width:1320px){.bpcd-full-community-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.bpcd-full-community-grid{grid-template-columns:1fr}}
@media(max-width:1040px){.bpcd-full-community-wrap{grid-template-columns:1fr}.bpcd-full-community-sidebar{position:relative;height:auto;display:block}.bpcd-full-community-sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr))}.bpcd-full-community-user{display:none}.bpcd-full-community-hero{grid-template-columns:1fr}.bpcd-full-community-score{place-items:start;text-align:left}}
@media(max-width:720px){.bpcd-full-community-main{padding:14px}.bpcd-full-community-sidebar{padding:14px}.bpcd-full-community-sidebar nav{grid-template-columns:1fr 1fr}.bpcd-full-community-metrics{grid-template-columns:1fr 1fr}.bpcd-full-community-hero{border-radius:24px;padding:26px}.bpcd-full-community-hero h1{font-size:3.7rem}}
@media(max-width:460px){.bpcd-full-community-metrics,.bpcd-full-community-sidebar nav{grid-template-columns:1fr}}

/* ──────────────────────────────────────────────────────────────
   Bullet Proof Community Commerce v3.1
   Products, sales metrics, offer tracking, and commission panels
   ────────────────────────────────────────────────────────────── */
.bpcd-commerce-store,
.bpcd-community-commerce-dashboard,
.bpcd-full-community-commerce {
  width: 100%;
  position: relative;
}
.bpcd-commerce-store-hero,
.bpcd-community-commerce-head,
.bpcd-commerce-metrics-head {
  border: 1px solid rgba(212,168,76,.28);
  background:
    radial-gradient(circle at top left, rgba(212,168,76,.18), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,248,232,.92));
  color: #19140a;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 24px 70px rgba(84,55,7,.12);
  margin: 0 0 24px;
  overflow: hidden;
}
.bpcd-commerce-store-hero span,
.bpcd-community-commerce-head span,
.bpcd-commerce-metrics-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9d711d;
  font: 900 12px/1 'Barlow Condensed', sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.bpcd-commerce-store-hero h2,
.bpcd-community-commerce-head h2,
.bpcd-commerce-metrics-head h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .95;
  letter-spacing: .04em;
  margin: 0 0 10px;
  color: #0d0b07;
}
.bpcd-commerce-store-hero p,
.bpcd-community-commerce-head p,
.bpcd-commerce-metrics-head p {
  max-width: 760px;
  margin: 0;
  color: #6f6047;
  font-weight: 600;
  line-height: 1.7;
}
.bpcd-commerce-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.bpcd-commerce-product-card {
  border: 1px solid rgba(212,168,76,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,248,232,.94));
  border-radius: 26px;
  box-shadow: 0 18px 55px rgba(74,52,12,.12);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bpcd-commerce-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,168,76,.65);
  box-shadow: 0 24px 80px rgba(74,52,12,.18);
}
.bpcd-commerce-product-media {
  min-height: 132px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.85), transparent 34%),
    linear-gradient(135deg, #f7e5b3, #d4a84c 48%, #fff7d9);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
}
.bpcd-commerce-product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
  filter: saturate(.85) contrast(1.08);
}
.bpcd-commerce-product-media span {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(20,16,8,.18);
  background: rgba(255,255,255,.86);
  color: #4f3510;
  border-radius: 999px;
  padding: 8px 12px;
  font: 900 11px/1 'Barlow Condensed', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.bpcd-commerce-product-body {
  padding: 24px;
  color: #1f180c;
}
.bpcd-commerce-product-body small {
  display: block;
  color: #9d711d;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  margin-bottom: 8px;
}
.bpcd-commerce-product-body h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  line-height: .95;
  letter-spacing: .04em;
  color: #100d07;
  margin: 0 0 10px;
}
.bpcd-commerce-product-body p {
  color: #6f6047;
  font-weight: 600;
  line-height: 1.65;
  margin: 0 0 14px;
}
.bpcd-commerce-product-body ul {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.bpcd-commerce-product-body li {
  color: #342815;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bpcd-commerce-product-body li:before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d4a84c;
  color: #fff;
  font-size: 11px;
}
.bpcd-commerce-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
}
.bpcd-commerce-price-row strong {
  color: #0d0b07;
  font-size: 34px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .04em;
}
.bpcd-commerce-price-row del {
  color: #a79778;
  font-weight: 800;
}
.bpcd-commerce-offer-action {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  border-radius: 999px;
  background: linear-gradient(135deg, #111, #3b2a11 45%, #d4a84c);
  color: #fff !important;
  text-decoration: none !important;
  font: 900 13px/1 'Barlow Condensed', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  box-shadow: 0 14px 35px rgba(65,42,5,.22);
}
.bpcd-commerce-product-body em {
  display: block;
  margin-top: 10px;
  color: #9d711d;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}
.bpcd-commerce-metric-grid,
.bpcd-commerce-commission-grid,
.bpcd-commerce-funnel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 24px;
}
.bpcd-commerce-metric-grid article,
.bpcd-commerce-commission-grid article,
.bpcd-commerce-funnel-grid article {
  border: 1px solid rgba(212,168,76,.24);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,248,232,.92));
  border-radius: 22px;
  padding: 20px;
  color: #161109;
  box-shadow: 0 16px 46px rgba(74,52,12,.09);
}
.bpcd-commerce-metric-grid span,
.bpcd-commerce-commission-grid span,
.bpcd-commerce-funnel-grid span {
  display: block;
  color: #9d711d;
  font: 900 11px/1 'Barlow Condensed', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.bpcd-commerce-metric-grid strong,
.bpcd-commerce-commission-grid strong,
.bpcd-commerce-funnel-grid strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  color: #0c0905;
  font-size: 38px;
  line-height: .95;
  letter-spacing: .04em;
}
.bpcd-commerce-metric-grid small,
.bpcd-commerce-commission-grid small,
.bpcd-commerce-funnel-grid small {
  display: block;
  color: #746449;
  font-weight: 700;
  margin-top: 7px;
}
.bpcd-commerce-metric-grid i,
.bpcd-commerce-funnel-grid i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(212,168,76,.18);
  overflow: hidden;
  margin-top: 14px;
}
.bpcd-commerce-metric-grid b,
.bpcd-commerce-funnel-grid b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d4a84c, #fff0b6);
}
.bpcd-commerce-commission-panel {
  border: 1px solid rgba(212,168,76,.22);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,248,232,.9));
  border-radius: 28px;
  padding: 22px;
  margin: 24px 0;
}
.bpcd-commerce-commission-status {
  border-radius: 20px;
  padding: 18px;
  background: rgba(212,168,76,.1);
  color: #3b2a11;
  font-weight: 700;
}
.bpcd-commerce-commission-status strong {
  display: block;
  color: #1b1308;
  margin-bottom: 4px;
}
.bpcd-commerce-commission-status p { margin: 0; color: #6e5a35; }
.bpcd-commerce-metrics.is-compact .bpcd-commerce-metrics-head { display: none; }
.bpcd-commerce-member-panel { overflow: visible !important; }
@media (max-width: 1100px) {
  .bpcd-commerce-products-grid,
  .bpcd-commerce-metric-grid,
  .bpcd-commerce-commission-grid,
  .bpcd-commerce-funnel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .bpcd-commerce-products-grid,
  .bpcd-commerce-metric-grid,
  .bpcd-commerce-commission-grid,
  .bpcd-commerce-funnel-grid { grid-template-columns: 1fr; }
  .bpcd-commerce-store-hero,
  .bpcd-community-commerce-head,
  .bpcd-commerce-metrics-head { border-radius: 20px; }
}

/* v3.2 Commerce + Partner Rewards polish */
.bpcd-partner-center,
.bpcd-partner-single{width:100%;max-width:none;margin:0 auto;padding:clamp(24px,4vw,56px);background:linear-gradient(135deg,#fff 0%,#fbf7ed 52%,#fffaf0 100%);color:#241a07;border:1px solid rgba(191,146,55,.22);box-shadow:0 24px 80px rgba(40,25,0,.08)}
.bpcd-partner-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;margin-top:24px;align-items:start}
.bpcd-partner-panel{background:#fff;border:1px solid rgba(191,146,55,.28);border-radius:24px;padding:24px;box-shadow:0 18px 55px rgba(40,25,0,.08);overflow:hidden}
.bpcd-partner-panel--wide{grid-row:span 2}
.bpcd-partner-fallback{border:1px dashed rgba(191,146,55,.45);border-radius:18px;padding:22px;background:linear-gradient(180deg,#fff,#fff9eb);color:#3b2a08}
.bpcd-partner-fallback strong{display:block;font-size:1.05rem;font-weight:900;margin-bottom:8px;color:#160f02}
.bpcd-partner-fallback code{display:inline-flex;margin-top:10px;padding:8px 12px;border-radius:999px;background:#111;color:#f4d483;font-weight:800;letter-spacing:.04em}
.bpcd-partner-single .slicewp-section,
.bpcd-partner-panel .slicewp-section,
.bpcd-partner-single form,
.bpcd-partner-panel form{max-width:100%}
.bpcd-commerce-product-card[data-offer]{position:relative}
.bpcd-commerce-product-card .bpcd-commerce-product-media img{object-fit:cover;background:#050505}
.bpcd-commerce-product-body small{display:block;color:#8d6b17;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.bpcd-commerce-product-body em{display:block;margin-top:10px;color:#7a641d;font-size:.82rem;font-style:normal;font-weight:800}
.bpcd-full-community-partners .bpcd-partner-center{border-radius:28px;margin-top:20px}
@media (max-width:900px){.bpcd-partner-grid{grid-template-columns:1fr}.bpcd-partner-panel--wide{grid-row:auto}.bpcd-partner-center,.bpcd-partner-single{padding:22px}}

/* ── v3.3 profile image hardening + sales funnel homepage ───────────── */
.bpcd-save-notice--success {
    background: #ecfdf3 !important;
    color: #0f6b38 !important;
    border: 1px solid #b9ebcd !important;
}
.bpcd-save-notice--error {
    background: #fff1f2 !important;
    color: #9f1239 !important;
    border: 1px solid #fecdd3 !important;
}
.bpcd-filtered-avatar,
.bpcd-avatar-ring img,
.bpcd-avatar-stack a img,
.bpcd-widget-avatar,
.bpcd-member-avatar,
.bpcd-avatar-preview img,
.bpcd-editor-hero > img,
.bpcd-profile-card img,
.bpcd-members-grid img,
.bpcd-community-avatar img {
    object-fit: cover;
    object-position: center;
}
img[src*="bpc-logo-default"],
.bpcd-default-logo-avatar {
    object-fit: contain !important;
    object-position: center !important;
    background: #050505 !important;
    padding: 6px !important;
}
.bpcd-avatar-preview img[src*="bpc-logo-default"],
.bpcd-avatar-ring img[src*="bpc-logo-default"],
.bpcd-editor-hero > img[src*="bpc-logo-default"] {
    padding: 10px !important;
    box-shadow: inset 0 0 0 1px rgba(212,168,76,.28);
}
.bpcd-avatar-preview {
    background: radial-gradient(circle at 50% 30%, rgba(212,168,76,.18), #050505 68%) !important;
    box-shadow: 0 16px 50px rgba(99,75,29,.20), inset 0 0 0 1px rgba(212,168,76,.25);
}
.bpcd-image-hint::after {
    content: ' · Square photos work best';
    color: #9a7a2b;
    font-weight: 900;
}

.bpcd-home-funnel-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(212,168,76,.24);
    border-top: 1px solid rgba(212,168,76,.25);
    border-bottom: 1px solid rgba(212,168,76,.25);
}
.bpcd-funnel-card {
    min-height: 320px;
    padding: clamp(32px,4.5vw,58px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}
.bpcd-funnel-card::before {
    content: '';
    position: absolute;
    inset: -40% -20% auto auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.38), transparent 65%);
    pointer-events: none;
}
.bpcd-funnel-card span,
.bpcd-offer-copy > span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    font-family: 'Barlow Condensed','Barlow',sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.bpcd-funnel-card h3 {
    margin: 0 0 12px;
    max-width: 430px;
    font-family: 'Bebas Neue','Barlow Condensed',sans-serif;
    font-size: clamp(2.4rem,4.2vw,4.4rem);
    line-height: .94;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.bpcd-funnel-card p {
    max-width: 500px;
    margin: 0;
    font-weight: 700;
    line-height: 1.75;
}
.bpcd-funnel-card--dark { background: #130f07; color: #fff6df; }
.bpcd-funnel-card--dark span { background: rgba(255,255,255,.08); color: #f3d98a; border: 1px solid rgba(243,217,138,.25); }
.bpcd-funnel-card--dark p { color: #e5d6ad; }
.bpcd-funnel-card--gold { background: var(--bpcd-home-grad); color: #17120a; }
.bpcd-funnel-card--gold span { background: rgba(0,0,0,.12); color: #17120a; border: 1px solid rgba(0,0,0,.18); }
.bpcd-funnel-card--gold p { color: rgba(23,18,10,.74); }
.bpcd-funnel-card--light { background: #fffaf0; color: #17120a; }
.bpcd-funnel-card--light span { background: rgba(212,168,76,.12); color: #7b571d; border: 1px solid rgba(212,168,76,.25); }
.bpcd-funnel-card--light p { color: #5f523a; }

.bpcd-home-join-path {
    position: relative;
    padding: clamp(76px,9vw,130px) clamp(18px,5vw,80px);
    background:
        radial-gradient(circle at 10% 0%, rgba(212,168,76,.18), transparent 28%),
        radial-gradient(circle at 90% 10%, rgba(243,217,138,.20), transparent 30%),
        #fff;
}
.bpcd-join-path-grid {
    width: min(100%, 1220px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.bpcd-join-path-grid article {
    position: relative;
    min-height: 330px;
    padding: 34px 28px;
    border: 1px solid rgba(212,168,76,.28);
    border-radius: 30px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 18px 70px rgba(99,75,29,.10);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bpcd-join-path-grid article:hover {
    transform: translateY(-7px);
    border-color: rgba(212,168,76,.55);
    box-shadow: 0 30px 100px rgba(99,75,29,.18);
}
.bpcd-join-path-grid article::after {
    content: '';
    position: absolute;
    inset: auto -20% -30% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,168,76,.18), transparent 65%);
}
.bpcd-join-path-grid b {
    display: block;
    margin-bottom: 26px;
    font-family: 'Bebas Neue',sans-serif;
    font-size: 78px;
    line-height: .8;
    color: rgba(212,168,76,.24);
}
.bpcd-join-path-grid h3 {
    margin: 0 0 12px;
    font-family: 'Barlow Condensed','Barlow',sans-serif;
    color: #17120a;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.bpcd-join-path-grid p {
    margin: 0;
    color: #65583d;
    font-weight: 700;
    line-height: 1.72;
}
.bpcd-home-center-cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 38px;
}

.bpcd-home-offer-stack {
    display: grid;
    grid-template-columns: minmax(320px, .88fr) minmax(420px, 1.12fr);
    gap: clamp(28px,5vw,70px);
    align-items: center;
    padding: clamp(76px,9vw,130px) clamp(18px,5vw,80px);
    background: linear-gradient(135deg, #17120a 0%, #2a1f0a 48%, #0d0a05 100%);
    color: #fff6df;
    position: relative;
    overflow: hidden;
}
.bpcd-home-offer-stack::before {
    content: 'NETWORK';
    position: absolute;
    right: -4vw;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Bebas Neue',sans-serif;
    font-size: clamp(8rem,19vw,20rem);
    letter-spacing: .10em;
    color: rgba(255,255,255,.035);
    pointer-events: none;
}
.bpcd-offer-copy { position: relative; z-index: 1; max-width: 620px; justify-self: end; }
.bpcd-offer-copy > span { color: #f3d98a; background: rgba(243,217,138,.08); border: 1px solid rgba(243,217,138,.22); }
.bpcd-offer-copy h2 {
    margin: 0 0 18px;
    font-family: 'Bebas Neue',sans-serif;
    font-size: clamp(3rem,6.5vw,6.2rem);
    line-height: .92;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.bpcd-offer-copy p {
    margin: 0 0 28px;
    color: #e4d4a8;
    font-weight: 700;
    line-height: 1.82;
    font-size: 1.05rem;
}
.bpcd-offer-stack-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.bpcd-offer-stack-list div {
    padding: 24px;
    min-height: 145px;
    border: 1px solid rgba(243,217,138,.16);
    border-radius: 24px;
    background: rgba(255,255,255,.055);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 80px rgba(0,0,0,.18);
}
.bpcd-offer-stack-list strong {
    display: block;
    margin-bottom: 10px;
    color: #fff2bd;
    font-family: 'Barlow Condensed','Barlow',sans-serif;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.bpcd-offer-stack-list span {
    color: #dbc995;
    font-weight: 700;
    line-height: 1.62;
}

.bpcd-home-proof-row strong {
    text-shadow: 0 10px 35px rgba(212,168,76,.30);
}
.bpcd-home-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(to top, #fff, transparent);
    pointer-events: none;
    z-index: 1;
}
.bpcd-home-hero-content { z-index: 2; }

@media (max-width: 1024px) {
    .bpcd-home-funnel-strip,
    .bpcd-join-path-grid,
    .bpcd-home-offer-stack,
    .bpcd-offer-stack-list { grid-template-columns: 1fr 1fr; }
    .bpcd-offer-copy { justify-self: start; }
}
@media (max-width: 720px) {
    .bpcd-home-funnel-strip,
    .bpcd-join-path-grid,
    .bpcd-home-offer-stack,
    .bpcd-offer-stack-list { grid-template-columns: 1fr; }
    .bpcd-funnel-card { min-height: 260px; }
    .bpcd-join-path-grid article { min-height: auto; }
    .bpcd-home-center-cta .bpcd-home-cta,
    .bpcd-home-center-cta .bpcd-home-ghost { width: 100%; }
}


/* ──────────────────────────────────────────────────────────────
   Bullet Proof Community v3.4
   Mobile profile repair, ghost-panel cleanup, inline app windows
   ────────────────────────────────────────────────────────────── */
.bpcd-wrap,
.bpcd-wrap *,
.bpcd-wrap *::before,
.bpcd-wrap *::after,
.bpcd-editor-wrap,
.bpcd-editor-wrap *,
.bpcd-full-community-wrap,
.bpcd-full-community-wrap * {
    box-sizing: border-box;
    min-width: 0;
}
.bpcd-wrap,
.bpcd-wrap--wide,
.bpcd-editor-wrap,
.bpcd-full-community-wrap,
.bpcd-community-wrap,
.bpcd-commerce-store {
    overflow-x: clip;
    max-width: 100%;
}
@supports not (overflow: clip) {
    .bpcd-wrap,
    .bpcd-wrap--wide,
    .bpcd-editor-wrap,
    .bpcd-full-community-wrap,
    .bpcd-community-wrap,
    .bpcd-commerce-store { overflow-x: hidden; }
}
.bpcd-tabpanel[hidden] { display: none !important; }
.bpcd-tabpanel.bpcd-tabpanel--active { display: block !important; }
.bpcd-tabnav {
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}
.bpcd-tab { scroll-snap-align: start; }
.bpcd-panel,
.bpcd-community-panel,
.bpcd-commerce-product-card,
.bpcd-editor-shell,
.bpcd-form-section,
.bpcd-full-community-metrics article,
.bpcd-full-community-hero,
.bpcd-full-community-score,
.bpcd-pf-section {
    max-width: 100%;
}
.bpcd-form-grid label,
.bpcd-form-grid input,
.bpcd-form-grid textarea,
.bpcd-form-grid select,
.bpcd-form-section,
.bpcd-image-upload-box,
.bpcd-image-label,
.bpcd-image-preview,
.bpcd-avatar-preview,
.bpcd-cover-preview {
    min-width: 0;
    max-width: 100%;
}
.bpcd-form-grid input,
.bpcd-form-grid textarea,
.bpcd-form-grid select {
    appearance: none;
    -webkit-appearance: none;
}
.bpcd-image-upload-box {
    border: 1px solid rgba(212,168,76,.20);
    background: linear-gradient(180deg,#fff,rgba(255,248,232,.62));
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 14px 42px rgba(99,75,29,.08);
}
.bpcd-image-action {
    box-shadow: 0 10px 24px rgba(99,75,29,.18);
}
.bpcd-image-upload-box.is-dragover,
.bpcd-image-upload-box:focus-within {
    border-color: rgba(212,168,76,.70);
    box-shadow: 0 0 0 4px rgba(212,168,76,.16), 0 16px 46px rgba(99,75,29,.12);
}
.bpcd-cover-preview {
    width: 100%;
    border-radius: 20px;
}
.bpcd-cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bpcd-profile-mobile-toolbar {
    display: none;
}

@media (max-width: 900px) {
    html,
    body.bpcd-force-standalone,
    body.bpcd-js-standalone {
        overflow-x: hidden !important;
    }
    body.bpcd-force-standalone .bpcd-blank-main,
    body.bpcd-force-standalone .bpcd-home-wrap,
    body.bpcd-force-standalone .bpcd-auth-page,
    body.bpcd-force-standalone .bpcd-full-community-wrap,
    body.bpcd-force-standalone .bpcd-wrap--wide,
    .entry-content > .bpcd-wrap--wide,
    .wp-block-post-content > .bpcd-wrap--wide {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .bpcd-wrap--wide .bpcd-body,
    .bpcd-body {
        grid-template-columns: 1fr !important;
        width: 100%;
        max-width: 100%;
    }
    .bpcd-main,
    .bpcd-sidebar,
    .bpcd-profile-col-main,
    .bpcd-profile-col-side,
    .bpcd-full-community-main,
    .bpcd-full-community-sidepanels {
        width: 100%;
        max-width: 100%;
    }
    .bpcd-sidebar,
    .bpcd-profile-col-side,
    .bpcd-full-community-sidepanels {
        order: 2;
    }
    .bpcd-full-community-grid,
    .bpcd-commerce-products-grid,
    .bpcd-community-grid,
    .bpcd-home-offer-stack,
    .bpcd-offer-stack-list {
        grid-template-columns: 1fr !important;
    }
    .bpcd-full-community-sidebar {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        border-right: 0 !important;
        border-bottom: 1px solid var(--line, rgba(212,168,76,.22)) !important;
    }
    .bpcd-full-community-sidebar nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    .bpcd-full-community-sidebar nav a {
        min-height: 46px;
        font-size: 12px;
        letter-spacing: .10em;
        padding: 0 10px;
        justify-content: center;
        text-align: center;
    }
    .bpcd-full-community-hero,
    .bpcd-full-community-score,
    .bpcd-commerce-store-hero,
    .bpcd-community-commerce-head,
    .bpcd-commerce-metrics-head {
        border-radius: 22px !important;
    }
    .bpcd-full-community-hero::after,
    .bpcd-home-offer-stack::before {
        display: none !important;
    }
}

@media (max-width: 700px) {
    body.bpcd-mobile-safe .bpcd-wrap,
    body.bpcd-mobile-safe .bpcd-editor-wrap,
    body.bpcd-mobile-safe .bpcd-full-community-wrap {
        border-radius: 0 !important;
    }
    .bpcd-appbar {
        position: relative !important;
        top: auto !important;
        min-height: auto;
        flex-wrap: wrap;
    }
    .bpcd-appbrand {
        width: 100%;
        align-items: flex-start;
    }
    .bpcd-appbrand strong {
        line-height: 1.15;
    }
    .bpcd-mainnav {
        position: relative !important;
        top: auto !important;
        gap: 10px;
        padding: 12px;
    }
    .bpcd-mainnav-links {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .bpcd-tabnav {
        position: sticky;
        top: 0;
        z-index: 20;
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(16px);
        box-shadow: 0 8px 24px rgba(0,0,0,.05);
    }
    body.admin-bar .bpcd-tabnav { top: 0; }
    .bpcd-tab {
        min-height: 48px;
        padding: 0 12px;
        font-size: 12px;
    }
    .bpcd-profile-hero {
        display: grid;
        grid-template-columns: 74px minmax(0, 1fr);
        align-items: center;
        padding: 16px !important;
        border-radius: 18px;
    }
    .bpcd-ph-avatar img {
        width: 74px !important;
        height: 74px !important;
    }
    .bpcd-ph-actions {
        grid-column: 1 / -1;
        width: 100%;
    }
    .bpcd-ph-actions .bpcd-btn,
    .bpcd-action-btns .bpcd-btn {
        width: 100%;
        min-height: 46px;
    }
    .bpcd-ph-meta-chips,
    .bpcd-social-icons,
    .bpcd-action-btns {
        justify-content: center;
    }
    .bpcd-profile-columns,
    .bpcd-credit-journey-grid,
    .bpcd-open-to-grid,
    .bpcd-resource-grid--lg,
    .bpcd-commerce-products-grid,
    .bpcd-full-community-metrics {
        grid-template-columns: 1fr !important;
    }
    .bpcd-pf-row {
        display: grid;
        grid-template-columns: 22px minmax(0,1fr);
        align-items: start;
        gap: 4px 10px;
        padding: 12px 0;
    }
    .bpcd-pf-label {
        min-width: 0 !important;
        grid-column: 2;
    }
    .bpcd-pf-value {
        grid-column: 2;
        word-break: break-word;
    }
    .bpcd-pf-icon {
        grid-row: 1 / span 2;
        margin-top: 2px;
    }
    .bpcd-editor-wrap {
        padding: 0 !important;
        background: linear-gradient(180deg,#fffaf0,#fff 42%,#f8f0dc) !important;
    }
    .bpcd-editor-shell {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }
    .bpcd-editor-hero {
        display: grid !important;
        grid-template-columns: 76px minmax(0,1fr);
        gap: 14px;
        padding: 18px !important;
        align-items: center;
    }
    .bpcd-editor-hero img {
        width: 76px !important;
        height: 76px !important;
        margin: 0 !important;
    }
    .bpcd-editor-hero h2 {
        font-size: clamp(28px, 10vw, 40px);
        line-height: .95;
        word-break: normal;
    }
    .bpcd-editor-hero p {
        font-size: 13px;
        line-height: 1.5;
    }
    .bpcd-save-notice {
        margin: 14px !important;
        border-radius: 14px !important;
        line-height: 1.45;
    }
    .bpcd-form-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        padding: 14px !important;
        gap: 14px !important;
    }
    .bpcd-form-grid .bpcd-form-grid {
        padding: 0 !important;
    }
    .bpcd-form-section {
        margin: 0 0 4px !important;
        padding: 16px !important;
        border-radius: 20px !important;
    }
    .bpcd-form-section h3 {
        font-size: 15px;
        line-height: 1.2;
    }
    .bpcd-image-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .bpcd-image-upload-box {
        align-items: stretch !important;
        width: 100%;
        padding: 16px !important;
    }
    .bpcd-image-label {
        display: grid !important;
        grid-template-columns: 108px minmax(0,1fr);
        align-items: center !important;
        text-align: left;
        gap: 14px !important;
    }
    .bpcd-avatar-preview,
    .bpcd-image-preview.bpcd-avatar-preview {
        width: 108px !important;
        height: 108px !important;
        min-height: 108px !important;
        border-radius: 999px !important;
    }
    .bpcd-cover-preview,
    .bpcd-image-preview.bpcd-cover-preview {
        width: 108px !important;
        height: 78px !important;
        min-height: 78px !important;
        border-radius: 18px !important;
    }
    .bpcd-image-action {
        width: fit-content;
        max-width: 100%;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }
    .bpcd-image-hint {
        text-align: left !important;
        padding-left: 122px;
        line-height: 1.45;
    }
    .bpcd-form-grid label {
        gap: 8px !important;
        font-size: 11px;
        line-height: 1.35;
    }
    .bpcd-form-grid input,
    .bpcd-form-grid textarea,
    .bpcd-form-grid select {
        min-height: 48px;
        font-size: 16px !important; /* prevents iOS zoom */
        border-radius: 12px !important;
    }
    .bpcd-form-actions {
        position: sticky;
        bottom: 0;
        z-index: 22;
        margin: 0 -14px -14px;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.96);
        border-top: 1px solid rgba(212,168,76,.20);
        backdrop-filter: blur(14px);
        box-shadow: 0 -14px 40px rgba(99,75,29,.08);
    }
    .bpcd-form-actions .bpcd-btn {
        width: 100%;
        min-height: 50px;
        border-radius: 999px;
    }
    .bpcd-notice {
        left: 12px !important;
        right: 12px !important;
        bottom: calc(12px + env(safe-area-inset-bottom)) !important;
        width: auto !important;
        max-width: none !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .bpcd-body,
    .bpcd-wrap--wide .bpcd-body,
    .bpcd-full-community-main,
    .bpcd-affiliate-wrap,
    .bpcd-commerce-store,
    .bpcd-community-commerce-dashboard {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .bpcd-full-community-sidebar nav,
    .bpcd-metric-strip,
    .bpcd-command-grid,
    .bpcd-member-rail,
    .bpcd-resource-grid,
    .bpcd-affiliate-grid,
    .bpcd-slicewp-panel .bpcd-affiliate-grid,
    .bpcd-members-grid.bpcd-cols-4,
    .bpcd-members-grid.bpcd-cols-3,
    .bpcd-members-grid.bpcd-cols-2,
    .bpcd-qs-grid,
    .bpcd-offer-stack-list {
        grid-template-columns: 1fr !important;
    }
    .bpcd-image-label {
        grid-template-columns: 92px minmax(0,1fr);
        gap: 12px !important;
    }
    .bpcd-avatar-preview,
    .bpcd-image-preview.bpcd-avatar-preview {
        width: 92px !important;
        height: 92px !important;
        min-height: 92px !important;
    }
    .bpcd-cover-preview,
    .bpcd-image-preview.bpcd-cover-preview {
        width: 92px !important;
        height: 70px !important;
        min-height: 70px !important;
    }
    .bpcd-image-hint {
        padding-left: 104px;
    }
    .bpcd-editor-hero {
        grid-template-columns: 64px minmax(0,1fr);
    }
    .bpcd-editor-hero img {
        width: 64px !important;
        height: 64px !important;
    }
    .bpcd-pf-section,
    .bpcd-panel,
    .bpcd-community-panel {
        border-radius: 18px !important;
        padding: 14px !important;
    }
    .bpcd-full-community-hero h1 {
        font-size: clamp(2.7rem, 18vw, 3.7rem) !important;
    }
}

@media (max-width: 360px) {
    .bpcd-image-label {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .bpcd-image-hint {
        padding-left: 0;
        text-align: center !important;
    }
}

/* ──────────────────────────────────────────────────────────────
   Bullet Proof Community v3.5
   Hard full-width app pages + Community Command logged-out funnel
   ────────────────────────────────────────────────────────────── */
html.bpcd-js-standalone,
body.bpcd-blank-template,
body.bpcd-force-standalone,
body.bpcd-no-theme-chrome {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    background: #fffaf0 !important;
}
body.bpcd-blank-template .bpcd-blank-main,
body.bpcd-force-standalone .bpcd-blank-main,
.bpcd-blank-main {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: clip !important;
    background: #fffaf0;
}
body.bpcd-force-standalone :where(#page,.site,#content,.site-content,#primary,#main,main,.content-area,.entry-content,.post-content,.container,.wrap,.wp-site-blocks,.hentry,.type-page,.et_builder_inner_content,.et_pb_section,.et_pb_row) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}
body.bpcd-force-standalone :where(header,footer,aside,#wpadminbar,#main-header,#main-footer,#top-header,#footer-bottom,#footer-widgets,#sidebar,#secondary,.site-header,.site-footer,.main-header,.main-footer,.page-header,.entry-header,.entry-title,.page-title,.post-title,.post-meta,.et_post_meta_wrapper,.comments-area,#comments,#respond,.comment-respond,.navigation.post-navigation,.sharedaddy,.widget-area,.sidebar,.elementor-location-header,.elementor-location-footer,.fl-page-header,.fl-page-footer,.ast-primary-header-bar,.ast-above-header-bar,.ast-below-header-bar,.site-above-footer-wrap,.site-primary-footer-wrap,.site-below-footer-wrap) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}
.bpcd-full-community-gate,
.bpcd-command-gate {
    position: relative;
    isolation: isolate;
    display: grid;
    align-content: start;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: clamp(20px, 4vw, 56px) !important;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 18%, rgba(212,168,76,.20), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(255,255,255,.96), transparent 24%),
        linear-gradient(135deg, #ffffff 0%, #fff7df 38%, #f2d891 100%) !important;
    color: #15100a !important;
    font-family: 'Barlow', 'Plus Jakarta Sans', system-ui, sans-serif !important;
}
.bpcd-command-gate-bg {
    position: absolute;
    inset: -20%;
    z-index: -1;
    background:
        linear-gradient(115deg, transparent 0 42%, rgba(0,0,0,.05) 42% 42.5%, transparent 42.5% 100%),
        repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 1px, transparent 1px 96px);
    opacity: .75;
    pointer-events: none;
}
.bpcd-command-gate-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
    gap: clamp(18px, 4vw, 46px);
    align-items: center;
    width: min(100%, 1360px);
    margin: 0 auto;
    min-height: calc(100vh - clamp(40px, 8vw, 112px));
}
.bpcd-command-gate-copy {
    position: relative;
    padding: clamp(22px, 4vw, 54px);
    border: 1px solid rgba(151,105,12,.18);
    border-radius: 34px;
    background: rgba(255,255,255,.70);
    box-shadow: 0 28px 100px rgba(122,85,13,.16);
    backdrop-filter: blur(18px);
}
.bpcd-command-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 13px;
    border: 1px solid rgba(151,105,12,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: #7a540f;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.bpcd-command-gate h1 {
    max-width: 920px;
    margin: 0;
    color: #0d0903 !important;
    font-family: 'Bebas Neue', 'Barlow Condensed', Impact, sans-serif !important;
    font-size: clamp(4.2rem, 10vw, 9.4rem) !important;
    font-weight: 400 !important;
    letter-spacing: .035em !important;
    line-height: .82 !important;
    text-transform: uppercase !important;
    text-wrap: balance;
}
.bpcd-command-gate p {
    max-width: 760px;
    margin: 22px 0 0;
    color: #5a4212 !important;
    font-size: clamp(16px, 1.55vw, 21px) !important;
    line-height: 1.65 !important;
    font-weight: 700 !important;
}
.bpcd-command-gate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.bpcd-command-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none !important;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.bpcd-command-btn:hover { transform: translateY(-2px); }
.bpcd-command-btn--gold {
    color: #050505 !important;
    background: linear-gradient(135deg,#b67a10,#f2ce68 48%,#fff4b0 52%,#d29a26) !important;
    box-shadow: 0 18px 40px rgba(151,105,12,.24);
}
.bpcd-command-btn--ghost {
    color: #15100a !important;
    border: 1px solid rgba(151,105,12,.25);
    background: rgba(255,255,255,.64);
}
.bpcd-command-proof-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
    margin-top: 28px;
}
.bpcd-command-proof-strip span {
    display: grid;
    place-items: center;
    min-height: 46px;
    padding: 8px;
    border: 1px solid rgba(151,105,12,.16);
    border-radius: 16px;
    background: rgba(255,255,255,.64);
    color: #6b4b0e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .10em;
    text-align: center;
    text-transform: uppercase;
}
.bpcd-command-gate-card {
    position: relative;
    padding: clamp(22px, 3vw, 36px);
    border: 1px solid rgba(151,105,12,.18);
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,248,225,.78));
    box-shadow: 0 28px 100px rgba(122,85,13,.18);
}
.bpcd-command-gate-card img {
    display: block;
    width: min(260px, 70vw);
    height: auto;
    margin: 0 auto 22px;
    object-fit: contain;
    filter: drop-shadow(0 18px 40px rgba(0,0,0,.22));
}
.bpcd-command-gate-card strong {
    display: block;
    color: #120c02;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.05;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.bpcd-command-gate-card ul {
    display: grid;
    gap: 12px;
    margin: 22px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.bpcd-command-gate-card li {
    position: relative;
    padding: 14px 14px 14px 42px;
    border: 1px solid rgba(151,105,12,.14);
    border-radius: 16px;
    background: rgba(255,255,255,.62);
    color: #4c380e;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}
.bpcd-command-gate-card li::before {
    content: '✓';
    position: absolute;
    left: 14px;
    top: 14px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #15100a;
    color: #f6d779;
    font-size: 12px;
    font-weight: 900;
}
.bpcd-command-gate-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
    width: min(100%, 1360px);
    margin: -24px auto 0;
}
.bpcd-command-gate-stack article {
    min-height: 180px;
    padding: 22px;
    border: 1px solid rgba(151,105,12,.16);
    border-radius: 24px;
    background: rgba(255,255,255,.68);
    box-shadow: 0 18px 50px rgba(122,85,13,.10);
}
.bpcd-command-gate-stack span {
    display: block;
    color: rgba(151,105,12,.35);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 54px;
    line-height: .8;
}
.bpcd-command-gate-stack strong {
    display: block;
    margin-top: 10px;
    color: #15100a;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.bpcd-command-gate-stack p {
    margin-top: 8px;
    color: #614914 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 700 !important;
}
@media (max-width: 980px) {
    .bpcd-command-gate { padding: 14px !important; }
    .bpcd-command-gate-hero,
    .bpcd-command-gate-stack {
        grid-template-columns: 1fr !important;
        min-height: auto;
    }
    .bpcd-command-gate-card { order: -1; }
    .bpcd-command-gate-card img { width: min(180px, 60vw); }
    .bpcd-command-proof-strip { grid-template-columns: 1fr 1fr; }
    .bpcd-command-gate h1 { font-size: clamp(3.4rem, 16vw, 6.5rem) !important; }
}
@media (max-width: 560px) {
    .bpcd-command-gate { padding: 10px !important; }
    .bpcd-command-gate-copy,
    .bpcd-command-gate-card,
    .bpcd-command-gate-stack article {
        border-radius: 22px;
        padding: 18px;
    }
    .bpcd-command-gate-actions,
    .bpcd-command-proof-strip { grid-template-columns: 1fr; }
    .bpcd-command-btn { width: 100%; min-height: 52px; }
    .bpcd-command-proof-strip { display: grid; }
}


/* ════════════════════════════════════════════════════════════════
   v3.6 LIGHT FUNNEL + FULL-WIDTH CONTRAST LOCK
   Keeps home/command pages bright, high-contrast, and full-screen.
   ════════════════════════════════════════════════════════════════ */
html.bpcd-js-standalone,
body.bpcd-blank-template,
body.bpcd-force-standalone,
body.bpcd-page-community-home,
body.bpcd-page-community-command {
  background: #fffaf0 !important;
  color: #17120a !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
}
.bpcd-blank-main {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fffaf0 !important;
  color: #17120a !important;
}
.bpcd-home-wrap,
.bpcd-home-wrap--gold,
.bpcd-auth-page,
.bpcd-full-community-gate,
.bpcd-command-gate {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh !important;
  margin: 0 !important;
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 45%, #fff6dd 100%) !important;
  color: #17120a !important;
}
.bpcd-home-hero,
.bpcd-home-pillar-section,
.bpcd-home-offer-stack,
.bpcd-home-split,
.bpcd-home-final-cta,
.bpcd-home-section,
.bpcd-home-wins,
.bpcd-funnel-card--dark,
.bpcd-funnel-card--light {
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%) !important;
  color: #17120a !important;
}
.bpcd-home-wins::before,
.bpcd-home-wins::after {
  opacity: .10 !important;
}
.bpcd-home-section-head--light h2,
.bpcd-home-section-head--light p,
.bpcd-home-win-grid article,
.bpcd-home-win-grid strong,
.bpcd-funnel-card--dark,
.bpcd-funnel-card--dark *,
.bpcd-home-wins,
.bpcd-home-wins * {
  color: #17120a !important;
  text-shadow: none !important;
}
.bpcd-home-win-grid article,
.bpcd-funnel-card,
.bpcd-funnel-card--dark,
.bpcd-home-pillar,
.bpcd-home-offer-card,
.bpcd-command-gate-copy,
.bpcd-command-gate-card,
.bpcd-command-gate-stack article {
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(191,146,55,.26) !important;
  box-shadow: 0 20px 70px rgba(99,75,29,.10) !important;
}
.bpcd-home-hero h1,
.bpcd-home-section-head h2,
.bpcd-home-split-copy h2,
.bpcd-home-final-cta h2,
.bpcd-command-gate h1 {
  color: #120c02 !important;
  text-shadow: none !important;
}
.bpcd-home-subtitle,
.bpcd-home-section-head p,
.bpcd-home-split-copy p,
.bpcd-home-final-cta p,
.bpcd-command-gate p {
  color: #5a4212 !important;
}
.bpcd-command-gate {
  display: block !important;
  padding: clamp(18px,4vw,56px) !important;
  overflow-x: hidden !important;
}
.bpcd-command-gate-hero {
  width: min(100%, 1420px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.bpcd-command-gate-stack {
  width: min(100%, 1420px) !important;
}
body.bpcd-page-community-command .bpcd-blank-main > .bpcd-full-community-gate,
body.bpcd-page-community-command .bpcd-blank-main > .bpcd-command-gate {
  min-height: 100vh !important;
}
@media (max-width: 780px) {
  .bpcd-home-nav,
  .bpcd-auth-topbar { position: relative !important; }
  .bpcd-home-hero h1,
  .bpcd-command-gate h1 {
    font-size: clamp(3.2rem, 16vw, 6.2rem) !important;
    line-height: .86 !important;
  }
  .bpcd-home-proof-row,
  .bpcd-command-proof-strip,
  .bpcd-home-win-grid,
  .bpcd-command-gate-stack {
    grid-template-columns: 1fr !important;
  }
  .bpcd-command-gate { padding: 10px !important; }
  .bpcd-command-gate-hero { min-height: auto !important; }
}

/* v3.6 additional public-home brightness pass */
.bpcd-home-divider {
  background-image: none !important;
  background: linear-gradient(90deg,#ffffff,#fff2bd,#ffffff) !important;
  opacity: 1 !important;
  min-height: 82px !important;
}
.bpcd-home-divider::before,
.bpcd-home-divider::after {
  background: transparent !important;
}
.bpcd-home-image-row figure::after,
.bpcd-home-image-row figure::before {
  background: linear-gradient(to top, rgba(255,255,255,.92), rgba(255,255,255,.18)) !important;
}
.bpcd-home-image-row figcaption {
  color: #17120a !important;
  text-shadow: none !important;
  background: rgba(255,255,255,.80) !important;
  border-left-color: #d4a84c !important;
  border-radius: 14px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* ════════════════════════════════════════════════════════════════
   v3.7 HARD COMMUNITY COMMAND FULL-SCREEN LOCK
   This is intentionally blunt: /community-command/ must be a full browser app.
   ════════════════════════════════════════════════════════════════ */
html.bpcd-js-standalone,
html:has(body.bpcd-page-community-command),
body.bpcd-page-community-command,
body.bpcd-page-community-command.bpcd-force-standalone,
body.bpcd-blank-template.bpcd-page-community-command {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 100svh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  background: #fffaf0 !important;
  color: #17120a !important;
}
body.bpcd-page-community-command > *:not(.bpcd-blank-main):not(script):not(style):not(link):not(noscript) {
  max-width: none !important;
}
body.bpcd-page-community-command .bpcd-blank-main,
body.bpcd-page-community-command #bpcd-page {
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 100svh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: clip !important;
  background: #fffaf0 !important;
  color: #17120a !important;
}
body.bpcd-page-community-command .bpcd-command-full-bleed,
body.bpcd-page-community-command .bpcd-full-community-gate,
body.bpcd-page-community-command .bpcd-command-gate {
  display: block !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 100svh !important;
  margin: 0 !important;
  padding: clamp(18px,4vw,56px) !important;
  overflow-x: hidden !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 16% 18%, rgba(212,168,76,.20), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.96), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #fff7df 42%, #f2d891 100%) !important;
  color: #17120a !important;
  box-sizing: border-box !important;
}
body.bpcd-page-community-command .bpcd-command-gate-hero {
  width: min(100%, 1420px) !important;
  max-width: 1420px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-height: calc(100svh - clamp(40px,8vw,112px)) !important;
}
body.bpcd-page-community-command .bpcd-command-gate-stack {
  width: min(100%, 1420px) !important;
  max-width: 1420px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.bpcd-page-community-command .bpcd-command-gate-copy,
body.bpcd-page-community-command .bpcd-command-gate-card,
body.bpcd-page-community-command .bpcd-command-gate-stack article {
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(191,146,55,.28) !important;
  box-shadow: 0 20px 70px rgba(99,75,29,.12) !important;
  color: #17120a !important;
}
body.bpcd-page-community-command .bpcd-command-gate h1,
body.bpcd-page-community-command .bpcd-command-gate h2,
body.bpcd-page-community-command .bpcd-command-gate h3,
body.bpcd-page-community-command .bpcd-command-gate strong {
  color: #120c02 !important;
  text-shadow: none !important;
}
body.bpcd-page-community-command .bpcd-command-gate p,
body.bpcd-page-community-command .bpcd-command-gate li,
body.bpcd-page-community-command .bpcd-command-gate span,
body.bpcd-page-community-command .bpcd-command-gate small {
  text-shadow: none !important;
}
body.bpcd-page-community-command header,
body.bpcd-page-community-command footer,
body.bpcd-page-community-command aside,
body.bpcd-page-community-command #wpadminbar,
body.bpcd-page-community-command .site-header,
body.bpcd-page-community-command .site-footer,
body.bpcd-page-community-command .main-header,
body.bpcd-page-community-command .main-footer,
body.bpcd-page-community-command .entry-header,
body.bpcd-page-community-command .page-header,
body.bpcd-page-community-command .comments-area,
body.bpcd-page-community-command #comments,
body.bpcd-page-community-command #respond,
body.bpcd-page-community-command .comment-respond,
body.bpcd-page-community-command .post-thumbnail,
body.bpcd-page-community-command .wp-post-image,
body.bpcd-page-community-command .entry-featured-image-url,
body.bpcd-page-community-command .et_post_meta_wrapper {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
@media (max-width: 980px) {
  body.bpcd-page-community-command .bpcd-command-gate-hero,
  body.bpcd-page-community-command .bpcd-command-gate-stack {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  body.bpcd-page-community-command .bpcd-command-gate-card { order: -1 !important; }
}
@media (max-width: 560px) {
  body.bpcd-page-community-command .bpcd-command-gate { padding: 10px !important; }
  body.bpcd-page-community-command .bpcd-command-gate-copy,
  body.bpcd-page-community-command .bpcd-command-gate-card,
  body.bpcd-page-community-command .bpcd-command-gate-stack article { border-radius: 20px !important; padding: 18px !important; }
  body.bpcd-page-community-command .bpcd-command-btn { width: 100% !important; }
  body.bpcd-page-community-command .bpcd-command-proof-strip { grid-template-columns: 1fr !important; }
}

/* ════════════════════════════════════════════════════════════════
   v4.0 FULL DASHBOARD RESTORE + HARD FULLSCREEN SAFETY
   Restores /community-command/ to the full dashboard screen and protects
   the dashboard's own sidebar from theme-chrome removal rules.
   ════════════════════════════════════════════════════════════════ */
body.bpcd-page-community-command .bpcd-blank-main,
body.bpcd-page-community-dashboard .bpcd-blank-main,
body.bpcd-page-community-command #bpcd-page,
body.bpcd-page-community-dashboard #bpcd-page {
  display: block !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 100svh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: clip !important;
  background: #fffaf0 !important;
  color: #17120a !important;
}
body.bpcd-page-community-command .bpcd-full-community-wrap,
body.bpcd-page-community-dashboard .bpcd-full-community-wrap,
body.bpcd-force-standalone .bpcd-full-community-wrap,
body.bpcd-blank-template .bpcd-full-community-wrap {
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 100svh !important;
  margin: 0 !important;
  border-radius: 0 !important;
  display: grid !important;
  grid-template-columns: 292px minmax(0,1fr) !important;
  overflow-x: clip !important;
  background: radial-gradient(circle at 0% 0%,rgba(212,168,76,.22),transparent 32%),linear-gradient(135deg,#fffaf0,#fff 42%,#f8f0dc) !important;
  color: #171106 !important;
}
body.bpcd-force-standalone .bpcd-full-community-wrap aside.bpcd-full-community-sidebar,
body.bpcd-blank-template .bpcd-full-community-wrap aside.bpcd-full-community-sidebar,
body.bpcd-page-community-command .bpcd-full-community-wrap aside.bpcd-full-community-sidebar,
body.bpcd-page-community-dashboard .bpcd-full-community-wrap aside.bpcd-full-community-sidebar {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: sticky !important;
  top: 0 !important;
  height: 100svh !important;
  min-height: 100svh !important;
  max-height: none !important;
  width: auto !important;
  overflow: auto !important;
  margin: 0 !important;
  padding: 22px !important;
  border-right: 1px solid rgba(212,168,76,.22) !important;
  background: rgba(255,250,240,.90) !important;
  flex-direction: column !important;
  gap: 20px !important;
}
body.bpcd-page-community-command .bpcd-full-community-main,
body.bpcd-page-community-dashboard .bpcd-full-community-main,
body.bpcd-force-standalone .bpcd-full-community-main {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: clamp(18px,3vw,42px) !important;
  overflow: visible !important;
}
body.bpcd-force-standalone .bpcd-full-community-wrap .bpcd-full-community-sidebar nav,
body.bpcd-page-community-command .bpcd-full-community-wrap .bpcd-full-community-sidebar nav {
  display: grid !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}
body.bpcd-page-community-command .bpcd-dashboard-gate,
body.bpcd-page-community-dashboard .bpcd-dashboard-gate {
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 100svh !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
@media (max-width: 1040px) {
  body.bpcd-page-community-command .bpcd-full-community-wrap,
  body.bpcd-page-community-dashboard .bpcd-full-community-wrap,
  body.bpcd-force-standalone .bpcd-full-community-wrap,
  body.bpcd-blank-template .bpcd-full-community-wrap {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
  }
  body.bpcd-force-standalone .bpcd-full-community-wrap aside.bpcd-full-community-sidebar,
  body.bpcd-blank-template .bpcd-full-community-wrap aside.bpcd-full-community-sidebar,
  body.bpcd-page-community-command .bpcd-full-community-wrap aside.bpcd-full-community-sidebar,
  body.bpcd-page-community-dashboard .bpcd-full-community-wrap aside.bpcd-full-community-sidebar {
    display: block !important;
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 14px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(212,168,76,.22) !important;
  }
}
@media (max-width: 720px) {
  body.bpcd-page-community-command .bpcd-full-community-main,
  body.bpcd-page-community-dashboard .bpcd-full-community-main,
  body.bpcd-force-standalone .bpcd-full-community-main {
    padding: 14px !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   v4.1 FULL DASHBOARD MOBILE + INLINE PANEL REPAIR
   Closable dashboard menu, no mobile overlays, safer responsive cards.
   ════════════════════════════════════════════════════════════════ */
.bpcd-full-community-wrap[data-bpcd-full-dashboard] {
  --bpcd-dash-radius: 24px;
  --bpcd-dash-gold: #d4a84c;
  --bpcd-dash-ink: #171106;
  --bpcd-dash-muted: #756848;
  --bpcd-dash-line: rgba(212,168,76,.24);
  isolation: isolate !important;
  align-items: start !important;
  gap: 0 !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard],
.bpcd-full-community-wrap[data-bpcd-full-dashboard] * {
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.bpcd-full-community-topbar {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 14px clamp(14px,2vw,24px) !important;
  border-bottom: 1px solid var(--bpcd-dash-line) !important;
  background: linear-gradient(135deg,rgba(255,255,255,.92),rgba(255,248,230,.90)) !important;
  box-shadow: 0 14px 50px rgba(99,75,29,.08) !important;
  color: var(--bpcd-dash-ink) !important;
  z-index: 8 !important;
}
.bpcd-full-community-toggle,
.bpcd-full-community-sidebar-close {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 1px solid rgba(123,83,0,.18) !important;
  background: linear-gradient(135deg,#fff,#fff8df) !important;
  color: #3c2907 !important;
  box-shadow: 0 10px 28px rgba(99,75,29,.10) !important;
  cursor: pointer !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}
.bpcd-full-community-toggle:hover,
.bpcd-full-community-sidebar-close:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 34px rgba(99,75,29,.16) !important;
}
.bpcd-full-community-toggle {
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  border-radius: 999px !important;
  padding: 0 16px !important;
  font-family: 'Barlow Condensed',sans-serif !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .14em !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}
.bpcd-toggle-icon { font-size: 18px !important; line-height: 1 !important; }
.bpcd-full-community-topbar-title {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: grid !important;
  gap: 2px !important;
}
.bpcd-full-community-topbar-title strong {
  font-family: 'Bebas Neue',sans-serif !important;
  font-size: clamp(24px,3vw,38px) !important;
  line-height: .95 !important;
  letter-spacing: .06em !important;
  color: var(--bpcd-dash-ink) !important;
}
.bpcd-full-community-topbar-title span {
  color: var(--bpcd-dash-muted) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
}
.bpcd-full-community-topbar-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
}
.bpcd-full-community-topbar-actions a {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  border: 1px solid rgba(123,83,0,.16) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #5f410d !important;
  font-family: 'Barlow Condensed',sans-serif !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  letter-spacing: .12em !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}
.bpcd-full-community-sidebar-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid var(--bpcd-dash-line) !important;
}
.bpcd-full-community-sidebar-head .bpcd-full-community-brand {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  border-bottom: 0 !important;
  padding: 0 !important;
}
.bpcd-full-community-sidebar-close {
  width: 42px !important;
  height: 42px !important;
  border-radius: 16px !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}
.bpcd-full-community-nav a {
  overflow: hidden !important;
}
.bpcd-full-community-nav .bpcd-nav-icon {
  width: 24px !important;
  height: 24px !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 24px !important;
  font-size: 18px !important;
}
.bpcd-full-community-nav .bpcd-nav-label {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.bpcd-full-community-wrap.is-sidebar-collapsed {
  grid-template-columns: 96px minmax(0,1fr) !important;
}
.bpcd-full-community-wrap.is-sidebar-collapsed .bpcd-full-community-sidebar {
  padding-left: 16px !important;
  padding-right: 16px !important;
  align-items: center !important;
}
.bpcd-full-community-wrap.is-sidebar-collapsed .bpcd-full-community-brand strong,
.bpcd-full-community-wrap.is-sidebar-collapsed .bpcd-nav-label,
.bpcd-full-community-wrap.is-sidebar-collapsed .bpcd-full-community-user strong,
.bpcd-full-community-wrap.is-sidebar-collapsed .bpcd-full-community-user small {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.bpcd-full-community-wrap.is-sidebar-collapsed .bpcd-full-community-sidebar-head {
  display: grid !important;
  justify-items: center !important;
  border-bottom: 0 !important;
}
.bpcd-full-community-wrap.is-sidebar-collapsed .bpcd-full-community-sidebar-close {
  display: none !important;
}
.bpcd-full-community-wrap.is-sidebar-collapsed .bpcd-full-community-nav {
  width: 100% !important;
}
.bpcd-full-community-wrap.is-sidebar-collapsed .bpcd-full-community-nav a {
  justify-content: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-radius: 20px !important;
}
.bpcd-full-community-wrap.is-sidebar-collapsed .bpcd-full-community-user {
  padding: 10px !important;
  border-radius: 22px !important;
}
.bpcd-full-community-wrap.is-sidebar-collapsed .bpcd-full-community-user img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 16px !important;
  margin: 0 !important;
}
.bpcd-full-community-grid,
.bpcd-full-community-commerce,
.bpcd-full-community-partners,
.bpcd-full-community-sidepanels,
.bpcd-inline-panel,
.bpcd-inline-panel-body {
  position: relative !important;
  z-index: auto !important;
  transform: none !important;
  max-width: 100% !important;
  overflow: visible !important;
}
.bpcd-inline-panel {
  border: 1px solid var(--bpcd-dash-line) !important;
  border-radius: var(--bpcd-dash-radius) !important;
  background: rgba(255,255,255,.80) !important;
  box-shadow: 0 18px 52px rgba(99,75,29,.08) !important;
  overflow: hidden !important;
}
.bpcd-inline-panel-toggle {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 100% !important;
  min-height: 54px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--bpcd-dash-line) !important;
  background: linear-gradient(135deg,#fff,#fff8df) !important;
  color: var(--bpcd-dash-ink) !important;
  cursor: pointer !important;
  font-family: 'Barlow Condensed',sans-serif !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .14em !important;
  font-size: 13px !important;
}
.bpcd-inline-panel-toggle strong {
  width: 28px !important;
  height: 28px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: rgba(212,168,76,.16) !important;
  color: #5f410d !important;
  line-height: 1 !important;
}
.bpcd-inline-panel-body {
  padding: 0 !important;
}
.bpcd-inline-panel.is-collapsed .bpcd-inline-panel-body {
  display: none !important;
}
.bpcd-inline-panel.is-collapsed .bpcd-inline-panel-toggle {
  border-bottom: 0 !important;
}
.bpcd-full-community-wrap .bpcd-community-wrap,
.bpcd-full-community-wrap .bpcd-community-section,
.bpcd-full-community-wrap .bpcd-community-grid,
.bpcd-full-community-wrap .bpcd-community-panel,
.bpcd-full-community-wrap .bpcd-community-commerce-dashboard,
.bpcd-full-community-wrap .bpcd-commerce-store,
.bpcd-full-community-wrap .bpcd-partner-center,
.bpcd-full-community-wrap .bpcd-affiliate-wrap,
.bpcd-full-community-wrap .bpcd-panel {
  max-width: 100% !important;
  min-width: 0 !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}
.bpcd-full-community-wrap .bpcd-community-panel,
.bpcd-full-community-wrap .bpcd-panel,
.bpcd-full-community-wrap .bpcd-commerce-store,
.bpcd-full-community-wrap .bpcd-partner-center {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
@media (max-width: 1280px) {
  .bpcd-full-community-wrap[data-bpcd-full-dashboard]:not(.is-sidebar-collapsed) {
    grid-template-columns: 250px minmax(0,1fr) !important;
  }
  .bpcd-full-community-metrics {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }
  .bpcd-full-community-grid {
    grid-template-columns: minmax(0,1fr) 340px !important;
  }
}
@media (max-width: 1080px) {
  .bpcd-full-community-wrap[data-bpcd-full-dashboard] {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
  }
  .bpcd-full-community-topbar {
    position: relative !important;
    top: auto !important;
  }
  .bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-sidebar {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--bpcd-dash-line) !important;
    padding: 14px !important;
  }
  .bpcd-full-community-wrap.is-sidebar-collapsed .bpcd-full-community-sidebar {
    display: none !important;
  }
  .bpcd-full-community-wrap.is-sidebar-collapsed {
    grid-template-columns: 1fr !important;
  }
  .bpcd-full-community-sidebar-head {
    padding-bottom: 12px !important;
  }
  .bpcd-full-community-nav {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 8px !important;
  }
  .bpcd-full-community-nav a {
    min-height: 48px !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0 10px !important;
  }
  .bpcd-full-community-user {
    display: grid !important;
    grid-template-columns: 58px minmax(0,1fr) !important;
    align-items: center !important;
    text-align: left !important;
    gap: 10px !important;
    margin-top: 12px !important;
    padding: 12px !important;
  }
  .bpcd-full-community-user img {
    width: 58px !important;
    height: 58px !important;
    margin: 0 !important;
  }
  .bpcd-full-community-grid,
  .bpcd-full-community-commerce,
  .bpcd-full-community-partners {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .bpcd-full-community-sidepanels {
    order: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }
}
@media (max-width: 780px) {
  body.bpcd-page-community-command,
  body.bpcd-page-community-dashboard,
  body.bpcd-force-standalone,
  body.bpcd-blank-template {
    overflow-x: hidden !important;
  }
  .bpcd-full-community-topbar {
    align-items: stretch !important;
    flex-wrap: wrap !important;
    padding: 12px !important;
    gap: 10px !important;
  }
  .bpcd-full-community-toggle {
    flex: 1 1 100% !important;
    width: 100% !important;
    justify-content: center !important;
    min-height: 50px !important;
  }
  .bpcd-full-community-topbar-title {
    flex: 1 1 100% !important;
    text-align: center !important;
  }
  .bpcd-full-community-topbar-title span {
    font-size: 13px !important;
  }
  .bpcd-full-community-topbar-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }
  .bpcd-full-community-topbar-actions a {
    min-height: 44px !important;
    width: 100% !important;
  }
  .bpcd-full-community-nav {
    grid-template-columns: 1fr 1fr !important;
  }
  .bpcd-full-community-main,
  body.bpcd-page-community-command .bpcd-full-community-main,
  body.bpcd-page-community-dashboard .bpcd-full-community-main,
  body.bpcd-force-standalone .bpcd-full-community-main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px !important;
    overflow: visible !important;
  }
  .bpcd-full-community-hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 22px !important;
    border-radius: 22px !important;
  }
  .bpcd-full-community-hero h1 {
    font-size: clamp(2.65rem,16vw,4.1rem) !important;
    line-height: .9 !important;
    overflow-wrap: anywhere !important;
  }
  .bpcd-full-community-score {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 18px !important;
    border-radius: 20px !important;
    text-align: left !important;
  }
  .bpcd-full-community-score strong {
    font-size: clamp(42px,14vw,64px) !important;
  }
  .bpcd-full-community-metrics {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .bpcd-full-community-metrics article {
    min-height: 112px !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }
  .bpcd-full-community-metrics strong {
    font-size: clamp(30px,10vw,42px) !important;
  }
  .bpcd-full-community-sidepanels {
    grid-template-columns: 1fr !important;
  }
  .bpcd-inline-panel-toggle {
    min-height: 50px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }
  .bpcd-full-community-wrap .bpcd-community-grid,
  .bpcd-full-community-wrap .bpcd-commerce-products-grid,
  .bpcd-full-community-wrap .bpcd-affiliate-grid,
  .bpcd-full-community-wrap .bpcd-command-grid,
  .bpcd-full-community-wrap .bpcd-resource-grid,
  .bpcd-full-community-wrap .bpcd-member-rail,
  .bpcd-full-community-wrap .bpcd-metric-strip,
  .bpcd-full-community-wrap .bpcd-qs-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 460px) {
  .bpcd-full-community-topbar-actions,
  .bpcd-full-community-nav,
  .bpcd-full-community-metrics {
    grid-template-columns: 1fr !important;
  }
  .bpcd-full-community-hero,
  .bpcd-full-community-score,
  .bpcd-full-community-metrics article,
  .bpcd-inline-panel,
  .bpcd-full-community-wrap .bpcd-panel,
  .bpcd-full-community-wrap .bpcd-community-panel {
    border-radius: 16px !important;
  }
  .bpcd-full-community-user {
    grid-template-columns: 48px minmax(0,1fr) !important;
  }
  .bpcd-full-community-user img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 16px !important;
  }
}


/* ════════════════════════════════════════════════════════════════
   v4.2 COMPACT SIDEBAR + INLINE DASHBOARD LAYOUT + DARK HOME TEXT
   Smaller dashboard rail, no floating side-widget feel, stronger mobile inline flow.
   ════════════════════════════════════════════════════════════════ */
.bpcd-full-community-wrap[data-bpcd-full-dashboard] {
  --bpcd-dash-sidebar: 218px;
  --bpcd-dash-sidebar-collapsed: 72px;
  grid-template-columns: var(--bpcd-dash-sidebar) minmax(0,1fr) !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-sidebar {
  width: var(--bpcd-dash-sidebar) !important;
  padding: 14px 12px !important;
  gap: 12px !important;
  background: rgba(255,250,240,.94) !important;
  box-shadow: none !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-brand {
  gap: 8px !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-brand span {
  width: 38px !important;
  height: 38px !important;
  border-radius: 14px !important;
  font-size: 20px !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-brand strong {
  font-size: 12px !important;
  letter-spacing: .12em !important;
  line-height: 1.1 !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-sidebar-close {
  width: 34px !important;
  height: 34px !important;
  border-radius: 12px !important;
  font-size: 18px !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-nav {
  display: grid !important;
  gap: 6px !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-nav a {
  min-height: 40px !important;
  gap: 8px !important;
  padding: 0 10px !important;
  border-radius: 14px !important;
  font-size: 11px !important;
  letter-spacing: .10em !important;
  line-height: 1.1 !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-nav .bpcd-nav-icon {
  width: 20px !important;
  height: 20px !important;
  flex-basis: 20px !important;
  font-size: 15px !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-user {
  padding: 10px !important;
  border-radius: 16px !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-user img {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important;
  margin-bottom: 6px !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-user strong {
  font-size: 13px !important;
  line-height: 1.15 !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-user small {
  font-size: 11px !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard].is-sidebar-collapsed {
  grid-template-columns: var(--bpcd-dash-sidebar-collapsed) minmax(0,1fr) !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard].is-sidebar-collapsed .bpcd-full-community-sidebar {
  width: var(--bpcd-dash-sidebar-collapsed) !important;
  padding-left: 9px !important;
  padding-right: 9px !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard].is-sidebar-collapsed .bpcd-full-community-brand span {
  width: 42px !important;
  height: 42px !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard].is-sidebar-collapsed .bpcd-full-community-nav a {
  min-height: 42px !important;
  border-radius: 15px !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard].is-sidebar-collapsed .bpcd-full-community-user {
  padding: 8px !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard].is-sidebar-collapsed .bpcd-full-community-user img {
  width: 42px !important;
  height: 42px !important;
}

/* Turn the former side rail into inline dashboard sections instead of floating widgets. */
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  align-items: stretch !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-sidepanels {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 16px !important;
  order: 4 !important;
  width: 100% !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  z-index: auto !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-inline-panel,
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-commerce,
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-partners,
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-community-panel,
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-panel,
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-commerce-store,
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-partner-center,
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-community-commerce-dashboard {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  z-index: 1 !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-community-wrap,
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-community-section {
  width: 100% !important;
  max-width: 100% !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-main {
  padding: clamp(14px,2vw,28px) !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-hero {
  grid-template-columns: minmax(0,1fr) 190px !important;
  border-radius: 24px !important;
  padding: clamp(22px,3vw,38px) !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-score {
  padding: 18px !important;
  border-radius: 20px !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-score strong {
  font-size: clamp(46px,6vw,62px) !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-metrics {
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 10px !important;
}
.bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-metrics article {
  min-height: 108px !important;
  border-radius: 18px !important;
  padding: 14px !important;
}

/* Public home readability: bright page, dark bold copy only. */
.bpcd-home-wrap,
.bpcd-home-wrap--gold,
.bpcd-home-wrap section,
.bpcd-home-wrap article,
.bpcd-home-wrap div:not(.bpcd-home-logo-orbit),
.bpcd-home-wrap figure,
.bpcd-home-wrap figcaption {
  color: #130d03 !important;
  text-shadow: none !important;
}
.bpcd-home-wrap,
.bpcd-home-wrap--gold,
.bpcd-home-hero,
.bpcd-home-pillar-section,
.bpcd-home-offer-stack,
.bpcd-home-split,
.bpcd-home-wins,
.bpcd-home-final-cta,
.bpcd-home-section,
.bpcd-home-funnel-strip,
.bpcd-home-join-path {
  background: linear-gradient(180deg,#fffdf6 0%,#ffffff 52%,#fff6df 100%) !important;
}
.bpcd-home-wrap h1,
.bpcd-home-wrap h2,
.bpcd-home-wrap h3,
.bpcd-home-wrap h4,
.bpcd-home-wrap strong,
.bpcd-home-wrap b,
.bpcd-home-wrap p,
.bpcd-home-wrap span,
.bpcd-home-wrap li,
.bpcd-home-wrap small,
.bpcd-home-wrap figcaption,
.bpcd-home-wrap a:not(.bpcd-home-cta):not(.bpcd-home-goldbtn) {
  color: #130d03 !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}
.bpcd-home-wrap h1,
.bpcd-home-wrap h2,
.bpcd-home-wrap h3,
.bpcd-home-wrap strong,
.bpcd-home-wrap b {
  color: #090600 !important;
  font-weight: 900 !important;
}
.bpcd-home-subtitle,
.bpcd-home-section-head p,
.bpcd-home-split-copy p,
.bpcd-home-final-cta p,
.bpcd-home-pillar-card p,
.bpcd-home-win-grid p,
.bpcd-funnel-card p,
.bpcd-offer-copy p,
.bpcd-offer-stack-list span {
  color: #2a1b02 !important;
  font-weight: 800 !important;
}
.bpcd-home-image-row figure {
  background: #fff8df !important;
}
.bpcd-home-image-row img {
  opacity: .86 !important;
  filter: none !important;
}
.bpcd-home-image-row figcaption {
  position: absolute !important;
  background: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(212,168,76,.25) !important;
  border-left: 4px solid #d4a84c !important;
  border-radius: 16px !important;
  padding: 14px 16px !important;
}
.bpcd-home-wins::before {
  background: linear-gradient(135deg,rgba(255,255,255,.88),rgba(255,250,240,.86)), var(--bpcd-legacy-img) center/cover no-repeat !important;
  opacity: .32 !important;
}
.bpcd-funnel-card--dark,
.bpcd-funnel-card--gold,
.bpcd-funnel-card--light,
.bpcd-home-win-grid article,
.bpcd-home-pillar-card,
.bpcd-home-offer-card,
.bpcd-offer-stack-list div {
  background: rgba(255,255,255,.96) !important;
  color: #130d03 !important;
  border-color: rgba(212,168,76,.30) !important;
}

@media (max-width: 1280px) {
  .bpcd-full-community-wrap[data-bpcd-full-dashboard] {
    --bpcd-dash-sidebar: 198px;
    grid-template-columns: var(--bpcd-dash-sidebar) minmax(0,1fr) !important;
  }
  .bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-metrics {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }
}
@media (max-width: 1080px) {
  .bpcd-full-community-wrap[data-bpcd-full-dashboard] {
    grid-template-columns: 1fr !important;
  }
  .bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-sidebar {
    width: 100% !important;
    padding: 10px !important;
    position: static !important;
  }
  .bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-nav {
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  }
  .bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-nav a {
    min-height: 42px !important;
    padding: 0 8px !important;
    text-align: center !important;
  }
  .bpcd-full-community-wrap[data-bpcd-full-dashboard].is-sidebar-collapsed .bpcd-full-community-sidebar {
    display: none !important;
  }
  .bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-hero {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 780px) {
  .bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-sidepanels,
  .bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-metrics,
  .bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-nav {
    grid-template-columns: 1fr !important;
  }
  .bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-main {
    padding: 10px !important;
  }
  .bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-topbar {
    padding: 10px !important;
  }
  .bpcd-full-community-wrap[data-bpcd-full-dashboard] .bpcd-full-community-toggle {
    min-height: 44px !important;
  }
  .bpcd-home-hero {
    min-height: auto !important;
    padding-top: 48px !important;
  }
  .bpcd-home-image-row {
    grid-template-columns: 1fr !important;
  }
}

/* v4.3 Partner Account exact-shortcode + widescreen cleanup */
body.bpcd-page-partner-account,
body.bpcd-page-affiliate-dashboard,
body.bpcd-page-partner-login,
body.bpcd-page-partner-registration {
  background: #fffaf0 !important;
  color: #17120a !important;
}
body.bpcd-page-partner-account .bpcd-blank-main,
body.bpcd-page-affiliate-dashboard .bpcd-blank-main,
body.bpcd-page-partner-login .bpcd-blank-main,
body.bpcd-page-partner-registration .bpcd-blank-main {
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 100svh !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #fffaf0 !important;
  overflow-x: clip !important;
}
.bpcd-partner-exact-page,
.bpcd-partner-exact-shortcode {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #17120a !important;
  box-sizing: border-box !important;
}
.bpcd-partner-center--exact {
  width: 100% !important;
  max-width: none !important;
  padding: clamp(14px, 2vw, 28px) !important;
  margin: 0 !important;
  border-radius: 0 !important;
  overflow-x: clip !important;
}
.bpcd-partner-center--exact .bpcd-partner-hero {
  padding: clamp(18px, 4vw, 40px) !important;
  margin: 0 0 14px !important;
  border-radius: 24px !important;
}
.bpcd-partner-action-strip {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin: 14px 0 !important;
}
.bpcd-partner-action-strip a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 10px 16px !important;
  border: 1px solid rgba(191,146,55,.32) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #17120a !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  letter-spacing: .03em !important;
  box-shadow: 0 10px 30px rgba(40,25,0,.06) !important;
}
.bpcd-partner-grid--exact {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr) !important;
  align-items: start !important;
}
.bpcd-partner-panel--account {
  padding: clamp(12px, 2vw, 20px) !important;
  overflow: visible !important;
}
.bpcd-partner-panel--compact,
.bpcd-partner-panel--leaderboard {
  padding: 18px !important;
}
.bpcd-partner-panel--leaderboard {
  grid-column: 1 / -1 !important;
}
.bpcd-partner-panel--account > .bpcd-commerce-metrics-head {
  margin-bottom: 12px !important;
}

/* Exact SliceWP surface normalization. Keeps the real shortcode output, but fixes theme padding and oversized icons. */
.bpcd-blank-main .slicewp-wrap,
.bpcd-blank-main .slicewp-container,
.bpcd-blank-main .slicewp-page,
.bpcd-blank-main .slicewp-section,
.bpcd-blank-main .slicewp-card,
.bpcd-blank-main .slicewp-account,
.bpcd-partner-exact-page .slicewp-wrap,
.bpcd-partner-exact-page .slicewp-container,
.bpcd-partner-exact-page .slicewp-page,
.bpcd-partner-exact-page .slicewp-section,
.bpcd-partner-panel--account .slicewp-wrap,
.bpcd-partner-panel--account .slicewp-container,
.bpcd-partner-panel--account .slicewp-page,
.bpcd-partner-panel--account .slicewp-section {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
body.bpcd-page-partner-account .slicewp-wrap,
body.bpcd-page-affiliate-dashboard .slicewp-wrap,
body.bpcd-page-partner-account .slicewp-container,
body.bpcd-page-affiliate-dashboard .slicewp-container,
body.bpcd-page-partner-account .slicewp-page,
body.bpcd-page-affiliate-dashboard .slicewp-page,
body.bpcd-page-partner-account .slicewp-section,
body.bpcd-page-affiliate-dashboard .slicewp-section {
  padding: clamp(12px, 2.2vw, 26px) !important;
}
body.bpcd-page-partner-account .slicewp-account,
body.bpcd-page-affiliate-dashboard .slicewp-account {
  border-radius: 0 !important;
}
.bpcd-blank-main .slicewp-card,
.bpcd-blank-main .slicewp-section,
.bpcd-partner-panel .slicewp-card,
.bpcd-partner-panel .slicewp-section {
  border-color: rgba(191,146,55,.24) !important;
  box-shadow: 0 12px 36px rgba(40,25,0,.07) !important;
}
.bpcd-blank-main .slicewp-table,
.bpcd-blank-main table,
.bpcd-partner-panel .slicewp-table,
.bpcd-partner-panel table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto !important;
}
.bpcd-blank-main .slicewp-table-wrap,
.bpcd-blank-main .slicewp-table-wrapper,
.bpcd-blank-main .slicewp-account-tab-content,
.bpcd-partner-panel .slicewp-table-wrap,
.bpcd-partner-panel .slicewp-table-wrapper,
.bpcd-partner-panel .slicewp-account-tab-content {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
.bpcd-blank-main .slicewp-nav-tab-wrapper,
.bpcd-blank-main .slicewp-tabs,
.bpcd-blank-main .slicewp-account-tabs,
.bpcd-partner-panel .slicewp-nav-tab-wrapper,
.bpcd-partner-panel .slicewp-tabs,
.bpcd-partner-panel .slicewp-account-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  width: 100% !important;
}
.bpcd-blank-main .slicewp-nav-tab,
.bpcd-blank-main .slicewp-tab,
.bpcd-blank-main .slicewp-account-tab,
.bpcd-partner-panel .slicewp-nav-tab,
.bpcd-partner-panel .slicewp-tab,
.bpcd-partner-panel .slicewp-account-tab {
  min-height: 40px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  color: #17120a !important;
}
.bpcd-blank-main .slicewp-icon,
.bpcd-blank-main [class*="slicewp"] svg,
.bpcd-blank-main [class*="slicewp"] [class*="icon"],
.bpcd-partner-panel [class*="slicewp"] svg,
.bpcd-partner-panel [class*="slicewp"] [class*="icon"] {
  max-width: 22px !important;
  max-height: 22px !important;
  width: 20px !important;
  height: 20px !important;
  line-height: 1 !important;
  flex: 0 0 auto !important;
  object-fit: contain !important;
  vertical-align: middle !important;
}
.bpcd-blank-main .slicewp-icon svg,
.bpcd-partner-panel .slicewp-icon svg {
  width: 18px !important;
  height: 18px !important;
}
.bpcd-blank-main [class*="slicewp"] img,
.bpcd-partner-panel [class*="slicewp"] img {
  max-width: 100% !important;
  height: auto !important;
}
.bpcd-blank-main [class*="slicewp"] a,
.bpcd-blank-main [class*="slicewp"] button,
.bpcd-blank-main [class*="slicewp"] input[type="submit"],
.bpcd-partner-panel [class*="slicewp"] a,
.bpcd-partner-panel [class*="slicewp"] button,
.bpcd-partner-panel [class*="slicewp"] input[type="submit"] {
  min-height: 40px !important;
}
.bpcd-blank-main [class*="slicewp"] input,
.bpcd-blank-main [class*="slicewp"] select,
.bpcd-blank-main [class*="slicewp"] textarea,
.bpcd-partner-panel [class*="slicewp"] input,
.bpcd-partner-panel [class*="slicewp"] select,
.bpcd-partner-panel [class*="slicewp"] textarea {
  max-width: 100% !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
}
@media (max-width: 980px) {
  .bpcd-partner-grid--exact {
    grid-template-columns: 1fr !important;
  }
  .bpcd-partner-center--exact,
  .bpcd-partner-panel--account,
  .bpcd-partner-panel--compact,
  .bpcd-partner-panel--leaderboard {
    padding: 12px !important;
    border-radius: 18px !important;
  }
  body.bpcd-page-partner-account .slicewp-wrap,
  body.bpcd-page-affiliate-dashboard .slicewp-wrap,
  body.bpcd-page-partner-account .slicewp-container,
  body.bpcd-page-affiliate-dashboard .slicewp-container,
  body.bpcd-page-partner-account .slicewp-page,
  body.bpcd-page-affiliate-dashboard .slicewp-page,
  body.bpcd-page-partner-account .slicewp-section,
  body.bpcd-page-affiliate-dashboard .slicewp-section {
    padding: 10px !important;
  }
}
@media (max-width: 640px) {
  .bpcd-partner-action-strip {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .bpcd-partner-action-strip a {
    padding: 10px 12px !important;
    font-size: .82rem !important;
  }
  .bpcd-blank-main .slicewp-nav-tab-wrapper,
  .bpcd-blank-main .slicewp-tabs,
  .bpcd-blank-main .slicewp-account-tabs,
  .bpcd-partner-panel .slicewp-nav-tab-wrapper,
  .bpcd-partner-panel .slicewp-tabs,
  .bpcd-partner-panel .slicewp-account-tabs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }
}

/* v4.5 raw partner account iframe: keep the live referral account close to the source shortcode while staying full-width. */
.bpcd-partner-raw-shell,
.bpcd-slicewp-raw-frame {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #17120a !important;
    background: #fffaf0 !important;
    overflow-x: hidden !important;
}
.bpcd-partner-raw-shell .bpcd-partner-raw-frame-card,
.bpcd-partner-raw-shell .bpcd-partner-account-iframe {
    width: 100% !important;
    max-width: none !important;
    border-radius: 0 !important;
}
.bpcd-slicewp-raw-frame .slicewp-wrap,
.bpcd-slicewp-raw-frame .slicewp-container,
.bpcd-slicewp-raw-frame .slicewp-page,
.bpcd-slicewp-raw-frame .slicewp-account,
.bpcd-slicewp-raw-frame [class*="slicewp"] {
    max-width: none !important;
    width: 100% !important;
    color: #17120a !important;
}
.bpcd-slicewp-raw-frame svg,
.bpcd-slicewp-raw-frame .dashicons,
.bpcd-partner-raw-shell svg,
.bpcd-partner-raw-shell .dashicons {
    width: 18px !important;
    height: 18px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    font-size: 18px !important;
    line-height: 18px !important;
}
.bpcd-partner-quick-id {
    min-width: 0 !important;
}
@media (max-width: 760px) {
    .bpcd-partner-raw-shell,
    .bpcd-slicewp-raw-frame {
        width: 100% !important;
        max-width: 100% !important;
    }
    .bpcd-partner-raw-top,
    .bpcd-partner-quick-id,
    .bpcd-partner-product-links-head {
        display: block !important;
    }
}
