/* ══ GymSmart Live Gym Ecosystem Flow Stylesheet ══ */
/* ══ Base Ecosystem Section ══ */
    .lbf-section {
        padding-top: clamp(60px, 6vw, 84px) !important;
        padding-bottom: clamp(60px, 6vw, 84px) !important;
        position: relative;
        background: transparent !important;
        color: #fff;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .lbf-wrap {
        max-width: 1240px !important;
        margin: 0 auto !important;
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body:not(.dark) .lbf-section {
        background: transparent !important;
        color: #0f172a !important;
    }

    .lbf-ambient-orb {
        display: none !important;
    }

    /* Header */
    .lbf-header {
        text-align: center;
        margin-bottom: clamp(32px, 3.5vw, 42px);
    }

    .lbf-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 11.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #c084fc;
        border: 1px solid rgba(192, 132, 252, 0.3);
        background: rgba(192, 132, 252, 0.08);
        padding: 7px 18px;
        border-radius: 50px;
        margin-bottom: 1rem;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    body:not(.dark) .lbf-badge {
        background: rgba(147, 51, 234, 0.1);
        border-color: rgba(147, 51, 234, 0.25);
        color: #7c3aed;
    }

    .lbf-title {
        font-size: clamp(28px, 4vw, 46px);
        font-weight: 800;
        margin-bottom: .6rem;
        letter-spacing: -0.02em;
        line-height: 1.15;
    }

    .lbf-title-gradient {
        background: linear-gradient(135deg, #c084fc, #8b5cf6, #38bdf8);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .lbf-sub {
        color: #cbd5e1;
        font-size: clamp(14px, 1.1vw, 16px);
        max-width: 680px;
        margin: 0 auto;
        line-height: 1.6;
        opacity: 0.9;
    }

    body:not(.dark) .lbf-sub {
        color: #475569;
    }

    /* ══ Unified Luxury Glassmorphic Stepper Dock (Linear / Apple SaaS Style) ══ */
    .lbf-pillars-nav {
        max-width: 100% !important;
        margin: 2rem 0 2.5rem 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        position: relative;
    }

    .lbf-pillars-dock {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        background: rgba(16, 12, 34, 0.85);
        border: 1px solid rgba(192, 132, 252, 0.22);
        border-radius: 18px;
        padding: 6px 8px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
        width: 100% !important;
        box-sizing: border-box !important;
    }

    body:not(.dark) .lbf-pillars-dock {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(203, 213, 225, 0.9);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    }

    .lbf-dock-step {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 10px;
        border-radius: 12px;
        text-decoration: none;
        color: #f8fafc;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative;
        background: transparent;
        border: 1px solid transparent;
        box-sizing: border-box;
        min-width: 0;
        cursor: pointer;
        font-family: inherit;
        width: 100%;
        text-align: left;
    }

    .lbf-dock-step:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.12);
        transform: translateY(-2px);
        color: #fff;
    }

    body:not(.dark) .lbf-dock-step {
        color: #0f172a;
    }

    body:not(.dark) .lbf-dock-step:hover {
        background: #f8fafc;
        border-color: #e2e8f0;
        color: #0f172a;
    }

    .lbf-dock-icon-box {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: var(--sc-bg);
        border: 1px solid var(--sc-border);
        color: var(--sc-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        flex-shrink: 0;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .lbf-dock-step:hover .lbf-dock-icon-box {
        transform: scale(1.1);
        box-shadow: 0 0 16px var(--sc-color);
    }

    .lbf-dock-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
        flex: 1;
        line-height: 1.2;
        text-align: left;
    }

    .lbf-dock-step-num {
        font-size: 9px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        color: var(--sc-color);
        margin-bottom: 2px;
    }

    .lbf-dock-title {
        font-size: 12px;
        font-weight: 750;
        color: #ffffff;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body:not(.dark) .lbf-dock-title {
        color: #0f172a;
    }

    .lbf-dock-desc {
        font-size: 10px;
        color: rgba(255, 255, 255, 0.6);
        margin-top: 1px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body:not(.dark) .lbf-dock-desc {
        color: #64748b;
    }

    @media (max-width: 1199px) {
        .lbf-pillars-dock {
            display: flex;
            overflow-x: auto;
            white-space: normal;
            padding: 8px;
            gap: 8px;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }
        .lbf-pillars-dock::-webkit-scrollbar {
            display: none;
        }
        .lbf-dock-step {
            flex: 0 0 190px;
            min-width: 190px;
        }
    }

    /* Block */
    .lbf-block {
        background: rgba(16, 14, 30, 0.75);
        border: 1px solid rgba(192, 132, 252, 0.18);
        border-radius: 22px;
        padding: 2rem 2.2rem 2.2rem;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        position: relative;
        overflow: hidden;
        transition: border-color 0.4s ease, box-shadow 0.4s ease;
    }

    .lbf-block.lbf-target-highlight {
        border-color: #c084fc !important;
        box-shadow: 0 0 35px rgba(192, 132, 252, 0.4), inset 0 0 20px rgba(192, 132, 252, 0.15) !important;
        animation: lbfPulseTarget 2s ease-out;
    }

    @keyframes lbfPulseTarget {
        0% { transform: scale(0.995); box-shadow: 0 0 45px rgba(192, 132, 252, 0.6); }
        50% { transform: scale(1.005); box-shadow: 0 0 30px rgba(192, 132, 252, 0.35); }
        100% { transform: scale(1); box-shadow: 0 0 15px rgba(192, 132, 252, 0.15); }
    }

    body:not(.dark) .lbf-block {
        background: rgba(255, 255, 255, 0.9) !important;
        border: 1px solid rgba(181, 93, 205, 0.25) !important;
        box-shadow: 0 12px 36px rgba(114, 78, 191, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03) !important;
    }

    .lbf-block::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 22px;
        background: radial-gradient(ellipse at 50% 0%, rgba(192, 132, 252, 0.08) 0%, transparent 60%);
        pointer-events: none;
    }

    .lbf-block-label {
        position: absolute;
        top: .9rem;
        left: 1.5rem;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: rgba(192, 132, 252, 0.6);
        font-weight: 700;
    }

    body:not(.dark) .lbf-block-label {
        color: #7c3aed;
    }

    /* Reveal */
    .lbf-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .6s ease, transform .6s ease;
    }

    .lbf-reveal.lbf-vis {
        opacity: 1;
        transform: translateY(0);
    }

    /* ══ Arrow / Flow Connector ══ */
    .lbf-arrow {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px 0;
        gap: 4px;
    }

    .lbf-arr-line {
        position: relative;
        width: 2px;
        height: 48px;
        background: rgba(192, 132, 252, 0.18);
        border-radius: 2px;
        overflow: visible;
    }

    body:not(.dark) .lbf-arr-line {
        background: rgba(147, 51, 234, 0.2);
    }

    .lbf-arr-dot {
        position: absolute;
        top: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--fc, #c084fc);
        box-shadow: 0 0 10px var(--fc, #c084fc);
        animation: lbfDot 1.6s linear infinite;
        animation-delay: var(--pd, 0s);
    }

    @keyframes lbfDot {
        0% { top: -5px; opacity: 0; }
        10% { opacity: 1; }
        90% { opacity: 1; }
        100% { top: 50px; opacity: 0; }
    }

    .lbf-arrow span {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 700;
        color: rgba(192, 132, 252, 0.5);
    }

    body:not(.dark) .lbf-arrow span {
        color: #7c3aed;
    }

    /* ══ Business / Gym Structure Tree ══ */
    .lbf-biz-tree {
        padding-top: 1.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    .lbf-biz-l1 {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .lbf-biz-l2 {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: nowrap;
        width: 100%;
    }

    .lbf-biz-node {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .35rem;
        padding: .9rem 1.3rem;
        border-radius: 16px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: box-shadow .3s, transform .3s;
        cursor: default;
        text-align: center;
    }

    .lbf-biz-node:hover {
        transform: translateY(-3px);
    }

    .lbf-biz-node i {
        font-size: 1.35rem;
    }

    .lbf-biz-node-title {
        font-size: .82rem;
        font-weight: 700;
        color: #fff;
        white-space: nowrap;
    }

    body:not(.dark) .lbf-biz-node-title {
        color: #0f172a;
    }

    .lbf-biz-node-sub {
        font-size: .65rem;
        color: rgba(255, 255, 255, 0.55);
        letter-spacing: .4px;
    }

    body:not(.dark) .lbf-biz-node-sub {
        color: #64748b;
    }

    .lbf-biz-group {
        background: rgba(147, 51, 234, 0.12);
        border: 1.5px solid rgba(192, 132, 252, 0.45);
        min-width: 190px;
        box-shadow: 0 0 30px rgba(147, 51, 234, 0.25);
    }

    body:not(.dark) .lbf-biz-group {
        background: rgba(147, 51, 234, 0.08);
        border: 1.5px solid rgba(147, 51, 234, 0.35);
        box-shadow: 0 4px 20px rgba(147, 51, 234, 0.12);
    }

    .lbf-biz-group i {
        color: #c084fc;
    }

    body:not(.dark) .lbf-biz-group i {
        color: #7c3aed;
    }

    .lbf-biz-node-ring {
        position: absolute;
        inset: -6px;
        border-radius: 20px;
        border: 1px solid rgba(192, 132, 252, 0.3);
        animation: lbfBizRing 3s ease-out infinite;
        pointer-events: none;
    }

    @keyframes lbfBizRing {
        0% { transform: scale(1); opacity: .6; }
        100% { transform: scale(1.08); opacity: 0; }
    }

    .lbf-biz-conn-l1l2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: relative;
    }

    .lbf-biz-v1 {
        width: 2px;
        height: 24px;
        background: linear-gradient(180deg, rgba(192, 132, 252, 0.6), rgba(192, 132, 252, 0.2));
        border-radius: 2px;
    }

    .lbf-biz-hbar {
        position: relative;
        height: 2px;
        background: rgba(255, 255, 255, .08);
        border-radius: 2px;
        width: 66%;
    }

    body:not(.dark) .lbf-biz-hbar {
        background: rgba(147, 51, 234, 0.15);
    }

    .lbf-biz-hbar-fill {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, #c084fc, #8b5cf6, #38bdf8);
        border-radius: 2px;
        transform: scaleX(0);
        transform-origin: center;
        animation: lbfHBarIn .8s ease forwards .4s;
    }

    @keyframes lbfHBarIn {
        to { transform: scaleX(1); }
    }

    .lbf-biz-branch-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        flex: 1;
        max-width: 240px;
        animation: lbfBizIn .5s ease both;
        animation-delay: calc(var(--bdi)*0.12s + .2s);
    }

    @keyframes lbfBizIn {
        from { opacity: 0; transform: translateY(12px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .lbf-biz-v2 {
        width: 2px;
        height: 20px;
        background: linear-gradient(180deg, color-mix(in srgb, var(--bdc) 60%, transparent), color-mix(in srgb, var(--bdc) 20%, transparent));
        border-radius: 2px;
    }

    .lbf-biz-branch {
        background: color-mix(in srgb, var(--bdc) 8%, rgba(16, 14, 30, .9));
        border: 1.5px solid color-mix(in srgb, var(--bdc) 35%, transparent);
        width: 100%;
        box-shadow: 0 0 18px color-mix(in srgb, var(--bdc) 12%, transparent);
    }

    body:not(.dark) .lbf-biz-branch {
        background: #fff;
        border: 1.5px solid color-mix(in srgb, var(--bdc) 40%, transparent);
        box-shadow: 0 4px 16px color-mix(in srgb, var(--bdc) 15%, transparent);
    }

    .lbf-biz-branch i {
        color: var(--bdc);
    }

    .lbf-biz-branch:hover {
        box-shadow: 0 0 28px color-mix(in srgb, var(--bdc) 35%, transparent);
    }

    .lbf-biz-v3 {
        width: 2px;
        height: 18px;
        background: linear-gradient(180deg, color-mix(in srgb, var(--bdc) 40%, transparent), transparent);
        border-radius: 2px;
    }

    .lbf-biz-locs {
        display: flex;
        gap: .5rem;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 0;
        width: 100%;
    }

    .lbf-loc-node {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .3rem;
        cursor: default;
    }

    .lbf-loc-ico {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: color-mix(in srgb, var(--lc) 10%, rgba(16, 14, 30, .95));
        border: 1.5px solid color-mix(in srgb, var(--lc) 32%, transparent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        color: var(--lc);
        box-shadow: 0 0 10px color-mix(in srgb, var(--lc) 14%, transparent);
        transition: all .3s;
    }

    body:not(.dark) .lbf-loc-ico {
        background: #fff;
        border: 1.5px solid color-mix(in srgb, var(--lc) 35%, transparent);
        box-shadow: 0 2px 10px color-mix(in srgb, var(--lc) 12%, transparent);
    }

    .lbf-loc-node:hover .lbf-loc-ico {
        box-shadow: 0 0 22px color-mix(in srgb, var(--lc) 45%, transparent);
        transform: scale(1.1);
    }

    .lbf-loc-node span {
        font-size: .62rem;
        color: rgba(255, 255, 255, .55);
        text-align: center;
        max-width: 64px;
        line-height: 1.25;
        font-weight: 500;
    }

    body:not(.dark) .lbf-loc-node span {
        color: #475569;
    }

    /* ══ Staff, HR & Payroll Tabs ══ */
    .lbf-hr-tabs {
        display: flex;
        gap: .6rem;
        justify-content: center;
        flex-wrap: wrap;
        padding: 1.6rem 0 1.2rem;
    }

    .lbf-hr-tab {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        font-size: .75rem;
        font-weight: 600;
        padding: .45rem 1.2rem;
        border-radius: 50px;
        border: 1.5px solid rgba(255, 255, 255, .1);
        background: transparent;
        color: rgba(255, 255, 255, .6);
        cursor: pointer;
        transition: all .3s;
        letter-spacing: .4px;
    }

    body:not(.dark) .lbf-hr-tab {
        border-color: rgba(147, 51, 234, 0.2);
        color: #475569;
    }

    .lbf-hr-tab:hover {
        border-color: #c084fc;
        color: #c084fc;
    }

    body:not(.dark) .lbf-hr-tab:hover {
        border-color: #7c3aed;
        color: #7c3aed;
    }

    .lbf-hr-tab.active {
        background: rgba(147, 51, 234, 0.15);
        border-color: #c084fc;
        color: #c084fc;
        box-shadow: 0 0 18px rgba(147, 51, 234, 0.3);
    }

    body:not(.dark) .lbf-hr-tab.active {
        background: rgba(147, 51, 234, 0.1);
        border-color: #7c3aed;
        color: #7c3aed;
        box-shadow: 0 4px 14px rgba(147, 51, 234, 0.12);
    }

    .lbf-hr-panel {
        display: none;
    }

    .lbf-hr-panel.active {
        display: block;
        animation: lbfTabIn .35s ease;
    }

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

    .lbf-dept-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .lbf-dept-card {
        background: rgba(0, 0, 0, .25);
        border: 1px solid color-mix(in srgb, var(--dc) 24%, transparent);
        border-radius: 16px;
        padding: 1.1rem 1.2rem;
        transition: border-color .3s, box-shadow .3s;
    }

    body:not(.dark) .lbf-dept-card {
        background: #fff;
        border: 1px solid color-mix(in srgb, var(--dc) 25%, transparent);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }

    .lbf-dept-card:hover {
        border-color: color-mix(in srgb, var(--dc) 50%, transparent);
        box-shadow: 0 0 22px color-mix(in srgb, var(--dc) 16%, transparent);
    }

    .lbf-dept-head {
        display: flex;
        align-items: center;
        gap: .75rem;
        margin-bottom: .75rem;
    }

    .lbf-dept-ico {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: color-mix(in srgb, var(--dc) 14%, transparent);
        border: 1px solid color-mix(in srgb, var(--dc) 32%, transparent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        color: var(--dc);
        flex-shrink: 0;
    }

    .lbf-dept-name {
        font-size: .88rem;
        font-weight: 700;
        color: #fff;
    }

    body:not(.dark) .lbf-dept-name {
        color: #0f172a;
    }

    .lbf-dept-count {
        font-size: .62rem;
        color: rgba(255, 255, 255, .5);
        letter-spacing: .5px;
    }

    body:not(.dark) .lbf-dept-count {
        color: #64748b;
    }

    .lbf-dept-roles {
        display: flex;
        flex-wrap: wrap;
        gap: .4rem;
    }

    .lbf-dept-roles span {
        font-size: .62rem;
        font-weight: 600;
        color: color-mix(in srgb, var(--dc) 85%, #fff);
        background: color-mix(in srgb, var(--dc) 10%, transparent);
        border: 1px solid color-mix(in srgb, var(--dc) 22%, transparent);
        padding: .22rem .65rem;
        border-radius: 50px;
    }

    body:not(.dark) .lbf-dept-roles span {
        color: color-mix(in srgb, var(--dc) 90%, #000);
        background: color-mix(in srgb, var(--dc) 8%, #fff);
    }

    /* Hiring Flow */
    .lbf-hiring-flow {
        display: flex;
        align-items: flex-start;
        gap: .5rem;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 1.2rem;
    }

    .lbf-hiring-step {
        display: flex;
        align-items: center;
        gap: .5rem;
        position: relative;
    }

    .lbf-hiring-ico {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: color-mix(in srgb, var(--hc) 12%, rgba(16, 14, 30, .95));
        border: 1.5px solid color-mix(in srgb, var(--hc) 38%, transparent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        color: var(--hc);
        flex-shrink: 0;
        box-shadow: 0 0 14px color-mix(in srgb, var(--hc) 18%, transparent);
    }

    body:not(.dark) .lbf-hiring-ico {
        background: #fff;
        border-color: color-mix(in srgb, var(--hc) 38%, transparent);
    }

    .lbf-hiring-info {
        display: flex;
        flex-direction: column;
        max-width: 95px;
    }

    .lbf-hiring-step-num {
        font-size: .58rem;
        color: rgba(255, 255, 255, .4);
        letter-spacing: 1px;
        font-weight: 700;
    }

    body:not(.dark) .lbf-hiring-step-num {
        color: #94a3b8;
    }

    .lbf-hiring-info b,
    .lbf-hiring-info .lbf-val {
        font-size: .72rem;
        color: #fff;
        line-height: 1.3;
    }

    body:not(.dark) .lbf-hiring-info b,
    body:not(.dark) .lbf-hiring-info .lbf-val {
        color: #0f172a;
    }

    .lbf-hiring-info p {
        font-size: .62rem;
        color: rgba(255, 255, 255, .5);
        margin: 0;
        line-height: 1.3;
    }

    body:not(.dark) .lbf-hiring-info p {
        color: #64748b;
    }

    .lbf-hiring-arr {
        color: rgba(255, 255, 255, .25);
        font-size: .8rem;
        flex-shrink: 0;
        align-self: center;
    }

    body:not(.dark) .lbf-hiring-arr {
        color: #cbd5e1;
    }

    .lbf-hiring-wa {
        display: flex;
        align-items: center;
        gap: .55rem;
        background: rgba(37, 211, 102, .08);
        border: 1px solid rgba(37, 211, 102, .24);
        border-radius: 12px;
        padding: .55rem 1.1rem;
        font-size: .78rem;
        color: #4ade80;
        justify-content: center;
    }

    body:not(.dark) .lbf-hiring-wa {
        color: #15803d;
        background: rgba(37, 211, 102, 0.1);
    }

    .lbf-hiring-wa i {
        color: #25d366;
        font-size: 1.1rem;
    }

    /* Payroll */
    .lbf-payroll-wrap {
        display: flex;
        flex-direction: column;
        gap: 1.4rem;
        align-items: center;
    }

    .lbf-payroll-cards {
        display: flex;
        gap: .9rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .lbf-pay-card {
        display: flex;
        align-items: center;
        gap: .75rem;
        background: rgba(0, 0, 0, .25);
        border: 1px solid color-mix(in srgb, var(--pc) 28%, transparent);
        border-radius: 14px;
        padding: .75rem 1.1rem;
        transition: all .3s;
        cursor: default;
    }

    body:not(.dark) .lbf-pay-card {
        background: #fff;
        border-color: color-mix(in srgb, var(--pc) 30%, transparent);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }

    .lbf-pay-card:hover {
        box-shadow: 0 0 20px color-mix(in srgb, var(--pc) 28%, transparent);
        transform: translateY(-2px);
    }

    .lbf-pay-card i {
        font-size: 1.3rem;
        color: var(--pc);
    }

    .lbf-pay-card div {
        display: flex;
        flex-direction: column;
    }

    .lbf-pay-card b,
    .lbf-pay-card .lbf-val {
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--pc);
        line-height: 1.1;
    }

    .lbf-pay-card span {
        font-size: .62rem;
        color: rgba(255, 255, 255, .5);
        text-transform: uppercase;
        letter-spacing: .5px;
    }

    body:not(.dark) .lbf-pay-card span {
        color: #64748b;
    }

    .lbf-payroll-flow {
        display: flex;
        align-items: center;
        gap: .6rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .lbf-pay-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .35rem;
    }

    .lbf-pay-ico {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        background: color-mix(in srgb, var(--psc) 12%, rgba(16, 14, 30, .9));
        border: 1.5px solid color-mix(in srgb, var(--psc) 32%, transparent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        color: var(--psc);
        transition: all .3s;
    }

    body:not(.dark) .lbf-pay-ico {
        background: #fff;
    }

    .lbf-pay-step:hover .lbf-pay-ico {
        box-shadow: 0 0 20px color-mix(in srgb, var(--psc) 48%, transparent);
        transform: scale(1.1);
    }

    .lbf-pay-step span {
        font-size: .62rem;
        color: rgba(255, 255, 255, .55);
        text-align: center;
        max-width: 72px;
        line-height: 1.25;
        font-weight: 500;
    }

    body:not(.dark) .lbf-pay-step span {
        color: #475569;
    }

    .lbf-pay-arr {
        color: rgba(255, 255, 255, .25);
        font-size: .8rem;
        flex-shrink: 0;
    }

    body:not(.dark) .lbf-pay-arr {
        color: #cbd5e1;
    }

    /* Attendance */
    .lbf-attend-wrap {
        display: flex;
        flex-direction: column;
        gap: 1.4rem;
        align-items: center;
    }

    .lbf-attend-stats {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .lbf-attend-stat {
        display: flex;
        align-items: center;
        gap: .6rem;
        background: rgba(0, 0, 0, .25);
        border: 1px solid color-mix(in srgb, var(--asc) 25%, transparent);
        border-radius: 14px;
        padding: .7rem 1.1rem;
        cursor: default;
        transition: all .3s;
    }

    body:not(.dark) .lbf-attend-stat {
        background: #fff;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }

    .lbf-attend-stat:hover {
        box-shadow: 0 0 18px color-mix(in srgb, var(--asc) 30%, transparent);
        transform: translateY(-2px);
    }

    .lbf-attend-stat i {
        font-size: 1.15rem;
        color: var(--asc);
    }

    .lbf-attend-stat b,
    .lbf-attend-stat .lbf-val {
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--asc);
    }

    .lbf-attend-stat span {
        font-size: .68rem;
        color: rgba(255, 255, 255, .6);
    }

    body:not(.dark) .lbf-attend-stat span {
        color: #475569;
    }

    .lbf-attend-methods {
        display: flex;
        gap: .85rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .lbf-attend-method {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        background: color-mix(in srgb, var(--amc) 8%, rgba(16, 14, 30, .9));
        border: 1px solid color-mix(in srgb, var(--amc) 25%, transparent);
        border-radius: 50px;
        padding: .45rem 1rem;
        font-size: .72rem;
        font-weight: 600;
        color: var(--amc);
    }

    body:not(.dark) .lbf-attend-method {
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    }

    .lbf-leave-row {
        display: flex;
        gap: .65rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .lbf-leave-pill {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        background: color-mix(in srgb, var(--lvc) 10%, transparent);
        border: 1px solid color-mix(in srgb, var(--lvc) 25%, transparent);
        border-radius: 12px;
        padding: .35rem .85rem;
        font-size: .68rem;
    }

    .lbf-leave-pill b,
    .lbf-leave-pill .lbf-val {
        color: var(--lvc);
    }

    .lbf-leave-pill span {
        color: rgba(255, 255, 255, .55);
    }

    body:not(.dark) .lbf-leave-pill span {
        color: #64748b;
    }

    /* ══ Lead Sources ══ */
    .lbf-sources {
        display: flex;
        flex-wrap: wrap;
        gap: 1.1rem;
        justify-content: center;
        padding-top: 1.8rem;
    }

    .lbf-src {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .4rem;
        cursor: default;
    }

    .lbf-src-glow {
        position: absolute;
        inset: -4px;
        border-radius: 18px;
        background: color-mix(in srgb, var(--sc) 15%, transparent);
        opacity: 0;
        transition: opacity .3s;
        pointer-events: none;
    }

    .lbf-src:hover .lbf-src-glow {
        opacity: 1;
    }

    .lbf-src>i {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        background: color-mix(in srgb, var(--sc) 12%, rgba(16, 14, 30, .95));
        border: 1.5px solid color-mix(in srgb, var(--sc) 35%, transparent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.35rem;
        color: var(--sc);
        transition: box-shadow .3s, transform .3s;
        box-shadow: 0 0 14px color-mix(in srgb, var(--sc) 18%, transparent);
        position: relative;
        z-index: 1;
    }

    body:not(.dark) .lbf-src>i {
        background: #fff;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    }

    .lbf-src:hover>i {
        box-shadow: 0 0 28px color-mix(in srgb, var(--sc) 55%, transparent);
        transform: translateY(-3px);
    }

    .lbf-src>span {
        font-size: .65rem;
        color: rgba(255, 255, 255, .6);
        text-align: center;
        letter-spacing: .3px;
        font-weight: 600;
    }

    body:not(.dark) .lbf-src>span {
        color: #475569;
    }

    .lbf-particle {
        position: absolute;
        top: 54px;
        left: 50%;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--sc);
        box-shadow: 0 0 8px var(--sc);
        transform: translateX(-50%);
        animation: lbfPart 2.8s ease-in infinite;
        animation-delay: var(--pd, 0s);
        pointer-events: none;
    }

    @keyframes lbfPart {
        0% { top: 54px; opacity: .9; transform: translateX(-50%) scale(1); }
        80% { opacity: .3; }
        100% { top: 200px; opacity: 0; transform: translateX(-50%) scale(.2); }
    }

    /* ══ C2C Walker Signal Track ══ */
    .lbf-c2c {
        padding: 1.2rem 0 .4rem;
        position: relative;
    }

    .lbf-c2c-track {
        position: relative;
        height: 20px;
        display: flex;
        align-items: center;
    }

    .lbf-c2c-line {
        position: absolute;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.25) 15%, rgba(192, 132, 252, 0.25) 85%, transparent);
        border-radius: 2px;
    }

    body:not(.dark) .lbf-c2c-line {
        background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.2) 15%, rgba(147, 51, 234, 0.2) 85%, transparent);
    }

    .lbf-c2c-walker {
        position: absolute;
        left: 0%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 14px;
        height: 14px;
        border-radius: 50%;
    }

    .lbf-c2c-glow {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #c084fc;
        box-shadow: 0 0 12px #c084fc, 0 0 24px rgba(192, 132, 252, .6);
        animation: lbfWalkerPulse 1s ease-in-out infinite;
    }

    @keyframes lbfWalkerPulse {
        0%, 100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.4); opacity: .8; }
    }

    /* ══ CRM Engine & Retention Hub ══ */
    .lbf-crm-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.4rem;
        padding-top: 1.8rem;
    }

    .lbf-hub {
        position: relative;
        width: 116px;
        height: 116px;
        border-radius: 50%;
        background: rgba(147, 51, 234, 0.12);
        border: 2px solid #c084fc;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        flex-shrink: 0;
        box-shadow: 0 0 45px rgba(147, 51, 234, 0.35);
    }

    body:not(.dark) .lbf-hub {
        background: #fff;
        border-color: #7c3aed;
        box-shadow: 0 8px 30px rgba(147, 51, 234, 0.2);
    }

    .lbf-hub i {
        font-size: 2rem;
        color: #c084fc;
    }

    body:not(.dark) .lbf-hub i {
        color: #7c3aed;
    }

    .lbf-hub span {
        font-size: .65rem;
        font-weight: 800;
        color: #c084fc;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    body:not(.dark) .lbf-hub span {
        color: #7c3aed;
    }

    .lbf-hub-cnt {
        font-size: .74rem;
        font-weight: 700;
        color: #e9d5ff;
    }

    body:not(.dark) .lbf-hub-cnt {
        color: #475569;
    }

    .lbf-hub-r1,
    .lbf-hub-r2 {
        position: absolute;
        inset: -8px;
        border-radius: 50%;
        border: 1.5px solid rgba(192, 132, 252, 0.45);
    }

    .lbf-hub-r1 { animation: lbfHR 2.4s ease-out infinite; }
    .lbf-hub-r2 { animation: lbfHR 2.4s ease-out .8s infinite; }

    @keyframes lbfHR {
        0% { transform: scale(.9); opacity: .6; }
        100% { transform: scale(1.65); opacity: 0; }
    }

    .lbf-crm-stats {
        display: flex;
        gap: .85rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .lbf-stat-card {
        display: flex;
        align-items: center;
        gap: .65rem;
        background: rgba(0, 0, 0, .3);
        border: 1px solid color-mix(in srgb, var(--stc) 28%, transparent);
        border-radius: 14px;
        padding: .6rem 1rem;
        transition: box-shadow .3s, transform .3s;
        cursor: default;
    }

    body:not(.dark) .lbf-stat-card {
        background: #fff;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }

    .lbf-stat-card:hover {
        box-shadow: 0 0 20px color-mix(in srgb, var(--stc) 35%, transparent);
        transform: translateY(-2px);
    }

    .lbf-stat-card i {
        font-size: 1.2rem;
        color: var(--stc);
    }

    .lbf-stat-card div {
        display: flex;
        flex-direction: column;
    }

    .lbf-stat-card b,
    .lbf-stat-card .lbf-val {
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--stc);
        line-height: 1.1;
    }

    .lbf-stat-card span {
        font-size: .62rem;
        color: rgba(255, 255, 255, .5);
        letter-spacing: .5px;
        text-transform: uppercase;
    }

    body:not(.dark) .lbf-stat-card span {
        color: #64748b;
    }

    /* Chips */
    .lbf-crm-chips {
        display: flex;
        gap: .65rem;
        flex-wrap: wrap;
        justify-content: center;
        padding: .75rem 0 .35rem;
    }

    .lbf-status-chip {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        font-size: .72rem;
        font-weight: 600;
        padding: .4rem .95rem;
        border-radius: 50px;
        letter-spacing: .4px;
        position: relative;
        cursor: default;
        transition: transform .25s, box-shadow .25s;
    }

    .lbf-status-chip:hover {
        transform: translateY(-2px);
    }

    .lbf-chip-live {
        background: rgba(192, 132, 252, .14);
        border: 1px solid rgba(192, 132, 252, .45);
        color: #c084fc;
    }

    .lbf-chip-contacted {
        background: rgba(16, 185, 129, .12);
        border: 1px solid rgba(16, 185, 129, .4);
        color: #10b981;
    }

    .lbf-chip-dismissed {
        background: rgba(239, 68, 68, .1);
        border: 1px solid rgba(239, 68, 68, .35);
        color: #ef4444;
    }

    .lbf-chip-due {
        background: rgba(251, 191, 36, .12);
        border: 1px solid rgba(251, 191, 36, .4);
        color: #fbbf24;
    }

    .lbf-chip-upcoming {
        background: rgba(139, 92, 246, .14);
        border: 1px solid rgba(139, 92, 246, .4);
        color: #a78bfa;
    }

    .lbf-chip-positive {
        background: rgba(16, 185, 129, .12);
        border: 1px solid rgba(16, 185, 129, .4);
        color: #10b981;
    }

    .lbf-chip-negative {
        background: rgba(239, 68, 68, .1);
        border: 1px solid rgba(239, 68, 68, .35);
        color: #ef4444;
    }

    .lbf-chip-ping {
        position: absolute;
        top: 4px;
        right: 4px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #c084fc;
        box-shadow: 0 0 6px #c084fc;
    }

    .lbf-chip-ping::after {
        content: '';
        position: absolute;
        inset: -3px;
        border-radius: 50%;
        border: 1px solid #c084fc;
        animation: lbfChipPing 1.6s ease-out infinite;
    }

    @keyframes lbfChipPing {
        0% { transform: scale(.8); opacity: .7; }
        100% { transform: scale(2.2); opacity: 0; }
    }

    /* Audience Branches */
    .lbf-aud-wrap {
        display: flex;
        gap: 3.5rem;
        justify-content: center;
        flex-wrap: wrap;
        padding: .85rem 0 .35rem;
    }

    .lbf-aud-branch {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .6rem;
    }

    .lbf-aud-label {
        display: flex;
        align-items: center;
        gap: .45rem;
        font-size: .75rem;
        font-weight: 700;
    }

    .lbf-aud-pos-lbl { color: #10b981; }
    .lbf-aud-neg-lbl { color: #fbbf24; }

    .lbf-aud-line {
        position: relative;
        width: 2px;
        height: 34px;
        background: color-mix(in srgb, var(--lc) 20%, transparent);
        border-radius: 2px;
    }

    .lbf-aud-dot {
        position: absolute;
        left: 50%;
        top: -4px;
        transform: translateX(-50%);
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--ac);
        box-shadow: 0 0 8px var(--ac);
        animation: lbfAudDot 1.4s linear infinite;
        animation-delay: var(--pd, 0s);
    }

    @keyframes lbfAudDot {
        0% { top: -4px; opacity: 0; }
        10% { opacity: 1; }
        90% { opacity: 1; }
        100% { top: 36px; opacity: 0; }
    }

    .lbf-aud-targets {
        display: flex;
        gap: 1.1rem;
    }

    .lbf-aud-target {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .4rem;
        cursor: default;
    }

    .lbf-aud-target i {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        background: color-mix(in srgb, var(--tc) 12%, rgba(16, 14, 30, .95));
        border: 1.5px solid color-mix(in srgb, var(--tc) 38%, transparent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: var(--tc);
        box-shadow: 0 0 14px color-mix(in srgb, var(--tc) 20%, transparent);
        transition: all .3s;
    }

    body:not(.dark) .lbf-aud-target i {
        background: #fff;
    }

    .lbf-aud-target:hover i {
        box-shadow: 0 0 26px color-mix(in srgb, var(--tc) 55%, transparent);
        transform: scale(1.1);
    }

    .lbf-aud-target span {
        font-size: .62rem;
        color: rgba(255, 255, 255, .5);
        letter-spacing: .4px;
        font-weight: 600;
    }

    body:not(.dark) .lbf-aud-target span {
        color: #475569;
    }

    .lbf-aud-tip {
        position: absolute;
        bottom: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%) translateY(4px);
        background: rgba(16, 14, 30, .97);
        border: 1px solid color-mix(in srgb, var(--tc) 35%, transparent);
        border-radius: 8px;
        padding: .35rem .75rem;
        font-size: .66rem;
        color: var(--tc);
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s, transform .3s;
        z-index: 10;
        box-shadow: 0 4px 18px rgba(0, 0, 0, .4);
    }

    .lbf-aud-target:hover .lbf-aud-tip {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    /* Actions Row */
    .lbf-crm-actions {
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 1.2rem;
        border-top: 1px solid rgba(255, 255, 255, .08);
        margin-top: .8rem;
    }

    body:not(.dark) .lbf-crm-actions {
        border-top-color: rgba(147, 51, 234, 0.15);
    }

    .lbf-action {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .5rem;
    }

    .lbf-act-ico {
        width: 50px;
        height: 50px;
        border-radius: 14px;
        background: color-mix(in srgb, var(--ac) 14%, rgba(16, 14, 30, .9));
        border: 1.5px solid color-mix(in srgb, var(--ac) 40%, transparent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        color: var(--ac);
        box-shadow: 0 0 16px color-mix(in srgb, var(--ac) 20%, transparent);
    }

    body:not(.dark) .lbf-act-ico {
        background: #fff;
    }

    .lbf-action small {
        font-size: .62rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: rgba(255, 255, 255, .45);
        font-weight: 700;
    }

    body:not(.dark) .lbf-action small {
        color: #64748b;
    }

    .lbf-wa-bubble {
        background: rgba(37, 211, 102, .12);
        border: 1px solid rgba(37, 211, 102, .32);
        border-radius: 14px;
        padding: .55rem .95rem;
        display: flex;
        align-items: center;
        gap: .5rem;
        animation: lbfFloat 3s ease-in-out infinite;
        max-width: 220px;
    }

    .lbf-wa-dots {
        display: flex;
        gap: 3px;
        flex-shrink: 0;
    }

    .lbf-wa-dots span {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #25d366;
        display: block;
        animation: lbfWAD 1.2s ease-in-out infinite;
    }

    .lbf-wa-dots span:nth-child(2) { animation-delay: .2s; }
    .lbf-wa-dots span:nth-child(3) { animation-delay: .4s; }

    @keyframes lbfWAD {
        0%, 100% { opacity: .3; transform: scale(1); }
        50% { opacity: 1; transform: scale(1.35); }
    }

    .lbf-wa-bubble p {
        font-size: .74rem;
        color: #4ade80;
        margin: 0;
        line-height: 1.4;
        font-weight: 600;
    }

    body:not(.dark) .lbf-wa-bubble p {
        color: #15803d;
    }

    .lbf-assign-pop {
        background: rgba(168, 85, 247, .12);
        border: 1px solid rgba(168, 85, 247, .32);
        border-radius: 12px;
        padding: .55rem .95rem;
        display: flex;
        align-items: center;
        gap: .5rem;
        font-size: .74rem;
        color: #c084fc;
        animation: lbfFloat 3s ease-in-out .5s infinite;
        white-space: nowrap;
    }

    body:not(.dark) .lbf-assign-pop {
        color: #7c3aed;
        background: #fff;
    }

    .lbf-assign-pop b {
        color: #fff;
    }

    body:not(.dark) .lbf-assign-pop b {
        color: #0f172a;
    }

    .lbf-notif-pop {
        background: rgba(16, 14, 30, .97);
        border: 1px solid rgba(192, 132, 252, .3);
        border-radius: 14px;
        padding: .6rem .95rem;
        min-width: 200px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
        animation: lbfFloat 3s ease-in-out 1s infinite;
    }

    body:not(.dark) .lbf-notif-pop {
        background: #fff;
        border-color: rgba(147, 51, 234, 0.3);
    }

    .lbf-notif-bar {
        display: flex;
        align-items: center;
        gap: .4rem;
        margin-bottom: .25rem;
    }

    .lbf-notif-bar b {
        font-size: .66rem;
        color: #fff;
        flex: 1;
    }

    body:not(.dark) .lbf-notif-bar b {
        color: #0f172a;
    }

    .lbf-notif-bar small {
        font-size: .58rem;
        color: rgba(255, 255, 255, .5);
    }

    body:not(.dark) .lbf-notif-bar small {
        color: #64748b;
    }

    .lbf-notif-pop p {
        font-size: .72rem;
        color: rgba(255, 255, 255, .7);
        margin: 0;
    }

    body:not(.dark) .lbf-notif-pop p {
        color: #475569;
    }

    .lbf-reminder-pop {
        background: rgba(251, 191, 36, .1);
        border: 1px solid rgba(251, 191, 36, .3);
        border-radius: 12px;
        padding: .55rem .95rem;
        display: flex;
        align-items: center;
        gap: .5rem;
        font-size: .72rem;
        color: #fbbf24;
        animation: lbfFloat 3s ease-in-out 1.5s infinite;
    }

    body:not(.dark) .lbf-reminder-pop {
        background: #fff;
        color: #b45309;
    }

    .lbf-reminder-pop div {
        display: flex;
        flex-direction: column;
    }

    .lbf-reminder-pop div span {
        font-size: .58rem;
        text-transform: uppercase;
        color: rgba(255, 255, 255, .5);
    }

    body:not(.dark) .lbf-reminder-pop div span {
        color: #64748b;
    }

    .lbf-reminder-pop div b {
        color: #fff;
    }

    body:not(.dark) .lbf-reminder-pop div b {
        color: #0f172a;
    }

    @keyframes lbfFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-5px); }
    }

    /* ══ Pipeline ══ */
    .lbf-pipeline {
        display: flex;
        align-items: center;
        gap: .85rem;
        flex-wrap: wrap;
        padding-top: 1.8rem;
        justify-content: center;
    }

    .lbf-pipe-node {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .4rem;
        cursor: default;
    }

    .lbf-pipe-ico {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: color-mix(in srgb, var(--pc) 12%, rgba(16, 14, 30, .95));
        border: 2px solid color-mix(in srgb, var(--pc) 40%, transparent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        color: var(--pc);
        box-shadow: 0 0 16px color-mix(in srgb, var(--pc) 20%, transparent);
        transition: all .3s;
    }

    body:not(.dark) .lbf-pipe-ico {
        background: #fff;
    }

    .lbf-pipe-node:hover .lbf-pipe-ico {
        box-shadow: 0 0 30px color-mix(in srgb, var(--pc) 55%, transparent);
        transform: scale(1.1);
    }

    .lbf-pipe-node>span {
        font-size: .65rem;
        color: rgba(255, 255, 255, .6);
        text-align: center;
        max-width: 80px;
        line-height: 1.3;
        letter-spacing: .3px;
        font-weight: 600;
    }

    body:not(.dark) .lbf-pipe-node>span {
        color: #475569;
    }

    .lbf-pipe-arr {
        color: rgba(255, 255, 255, .25);
        font-size: .85rem;
        flex-shrink: 0;
    }

    body:not(.dark) .lbf-pipe-arr {
        color: #cbd5e1;
    }

    /* Tooltip */
    .lbf-pipe-tip {
        position: absolute;
        bottom: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%) translateY(6px);
        background: rgba(16, 14, 30, .98);
        border: 1px solid color-mix(in srgb, var(--pc) 35%, transparent);
        border-radius: 10px;
        padding: .4rem .8rem;
        font-size: .68rem;
        color: var(--pc);
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s, transform .3s;
        display: flex;
        align-items: center;
        gap: .4rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
        z-index: 10;
    }

    body:not(.dark) .lbf-pipe-tip {
        background: #fff;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
    }

    .lbf-pipe-tip::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 5px solid transparent;
        border-top-color: color-mix(in srgb, var(--pc) 35%, transparent);
    }

    .lbf-pipe-node:hover .lbf-pipe-tip {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    /* ══ Bottom Grid ══ */
    .lbf-bottom-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        padding-top: 1.8rem;
    }

    .lbf-sub-title {
        font-size: .88rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: .5rem;
    }

    body:not(.dark) .lbf-sub-title {
        color: #0f172a;
    }

    /* Reports */
    .lbf-report {
        background: rgba(0, 0, 0, .25);
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 16px;
        padding: 1.25rem 1.4rem;
    }

    body:not(.dark) .lbf-report {
        background: #fff;
        border-color: rgba(147, 51, 234, 0.15);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }

    .lbf-bar-row {
        display: flex;
        align-items: center;
        gap: .75rem;
        margin-bottom: .75rem;
    }

    .lbf-bar-row>span {
        font-size: .68rem;
        color: rgba(255, 255, 255, .6);
        width: 130px;
        flex-shrink: 0;
        font-weight: 500;
    }

    body:not(.dark) .lbf-bar-row>span {
        color: #475569;
    }

    .lbf-bar-row>b,
    .lbf-bar-row>.lbf-val {
        font-size: .68rem;
        color: #fff;
        width: 42px;
        text-align: right;
        flex-shrink: 0;
        font-weight: 700;
    }

    body:not(.dark) .lbf-bar-row>b,
    body:not(.dark) .lbf-bar-row>.lbf-val {
        color: #0f172a;
    }

    .lbf-bar {
        flex: 1;
        height: 7px;
        background: rgba(255, 255, 255, .08);
        border-radius: 6px;
        overflow: hidden;
        position: relative;
    }

    body:not(.dark) .lbf-bar {
        background: rgba(147, 51, 234, 0.1);
    }

    .lbf-bar::after {
        content: '';
        position: absolute;
        inset: 0;
        width: 0;
        background: var(--bc);
        border-radius: 6px;
        box-shadow: 0 0 8px var(--bc);
        animation: lbfBar 1.2s cubic-bezier(.22, 1, .36, 1) forwards;
        animation-delay: var(--bd, .4s);
    }

    @keyframes lbfBar {
        to { width: var(--bw); }
    }

    /* HR / Daily Automation */
    .lbf-hr {
        background: rgba(0, 0, 0, .25);
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 16px;
        padding: 1.25rem 1.4rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    body:not(.dark) .lbf-hr {
        background: #fff;
        border-color: rgba(147, 51, 234, 0.15);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }

    .lbf-hr-flow {
        display: flex;
        align-items: center;
        gap: .45rem;
        flex-wrap: wrap;
        margin-bottom: 1rem;
        justify-content: center;
    }

    .lbf-hr-node {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .35rem;
        animation: lbfHRIn .5s ease both;
        animation-delay: var(--hd, 0s);
    }

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

    .lbf-hr-ico {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: color-mix(in srgb, var(--hc) 12%, rgba(16, 14, 30, .9));
        border: 1.5px solid color-mix(in srgb, var(--hc) 36%, transparent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        color: var(--hc);
        box-shadow: 0 0 12px color-mix(in srgb, var(--hc) 16%, transparent);
    }

    body:not(.dark) .lbf-hr-ico {
        background: #fff;
    }

    .lbf-hr-node span {
        font-size: .62rem;
        color: rgba(255, 255, 255, .55);
        text-align: center;
        max-width: 64px;
        line-height: 1.25;
        font-weight: 500;
    }

    body:not(.dark) .lbf-hr-node span {
        color: #475569;
    }

    .lbf-hr-arr {
        color: rgba(255, 255, 255, .25);
        font-size: .78rem;
        flex-shrink: 0;
    }

    body:not(.dark) .lbf-hr-arr {
        color: #cbd5e1;
    }

    .lbf-hr-alert {
        display: flex;
        align-items: center;
        gap: .6rem;
        background: rgba(37, 211, 102, .08);
        border: 1px solid rgba(37, 211, 102, .24);
        border-radius: 10px;
        padding: .5rem .85rem;
        font-size: .74rem;
        color: #4ade80;
        animation: lbfFloat 3s ease-in-out 1.5s infinite;
    }

    body:not(.dark) .lbf-hr-alert {
        color: #15803d;
        background: rgba(37, 211, 102, 0.1);
    }

    /* ══ Loop Back ══ */
    .lbf-loop {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .5rem;
        padding: 1.2rem 0 0;
    }

    .lbf-loop-line {
        width: 2px;
        height: 32px;
        background: linear-gradient(180deg, #c084fc, transparent);
    }

    body:not(.dark) .lbf-loop-line {
        background: linear-gradient(180deg, #7c3aed, transparent);
    }

    .lbf-loop-tag {
        font-size: .75rem;
        font-weight: 700;
        color: #c084fc;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        gap: .55rem;
        background: rgba(147, 51, 234, .12);
        border: 1px solid rgba(192, 132, 252, .35);
        border-radius: 50px;
        padding: .45rem 1.2rem;
        box-shadow: 0 0 20px rgba(147, 51, 234, 0.2);
    }

    body:not(.dark) .lbf-loop-tag {
        background: #fff;
        color: #7c3aed;
        border-color: rgba(147, 51, 234, 0.3);
        box-shadow: 0 4px 16px rgba(147, 51, 234, 0.12);
    }

    .lbf-loop-tag i {
        animation: lbfSpin 3s linear infinite;
    }

    @keyframes lbfSpin {
        to { transform: rotate(360deg); }
    }

    /* ══ Advanced Gym Business ROI Calculator ══ */
    .lbf-roi-box {
        display: grid;
        grid-template-columns: 1.2fr 0.95fr;
        gap: 2rem;
        padding-top: 1.5rem;
        align-items: flex-start;
    }

    .lbf-roi-left {
        display: flex;
        flex-direction: column;
        gap: 1.6rem;
    }

    .lbf-roi-step-title {
        font-size: 0.92rem;
        font-weight: 700;
        color: #fff;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.35rem;
    }

    body:not(.dark) .lbf-roi-step-title {
        color: #0f172a;
    }

    .lbf-roi-step-sub {
        font-size: 0.76rem;
        color: rgba(255, 255, 255, 0.55);
        margin-bottom: 0.85rem;
    }

    body:not(.dark) .lbf-roi-step-sub {
        color: #64748b;
    }

    /* Preset Cards Grid */
    .lbf-roi-presets {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.85rem;
    }

    .lbf-roi-preset {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        padding: 1rem 0.85rem;
        text-align: center;
        cursor: pointer;
        transition: all 0.25s ease;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
    }

    body:not(.dark) .lbf-roi-preset {
        background: #f8fafc;
        border-color: #e2e8f0;
    }

    .lbf-roi-preset:hover {
        background: rgba(147, 51, 234, 0.08);
        border-color: rgba(192, 132, 252, 0.4);
    }

    .lbf-roi-preset.active {
        background: rgba(147, 51, 234, 0.14);
        border: 1.5px solid #a855f7;
        box-shadow: 0 0 16px rgba(168, 85, 247, 0.25);
    }

    .lbf-roi-preset-ico {
        font-size: 1.3rem;
        color: #c084fc;
        margin-bottom: 0.2rem;
    }

    .lbf-roi-preset-name {
        font-size: 0.86rem;
        font-weight: 700;
        color: #fff;
    }

    body:not(.dark) .lbf-roi-preset-name {
        color: #0f172a;
    }

    .lbf-roi-preset-info {
        font-size: 0.68rem;
        color: rgba(255, 255, 255, 0.5);
        line-height: 1.3;
    }

    body:not(.dark) .lbf-roi-preset-info {
        color: #64748b;
    }

    .lbf-roi-preset-check {
        position: absolute;
        top: 8px;
        right: 8px;
        font-size: 0.75rem;
        color: #a855f7;
        display: none;
    }

    .lbf-roi-preset.active .lbf-roi-preset-check {
        display: block;
    }

    /* Tier Selector */
    .lbf-roi-tiers {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .lbf-roi-tier-btn {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        padding: 0.55rem 0.8rem;
        font-size: 0.78rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.7);
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: center;
    }

    body:not(.dark) .lbf-roi-tier-btn {
        background: #f8fafc;
        border-color: #e2e8f0;
        color: #475569;
    }

    .lbf-roi-tier-btn.active {
        background: #a855f7;
        border-color: #a855f7;
        color: #fff;
        box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
    }

    /* Parameter Subtabs */
    .lbf-roi-subtabs {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 0.5rem;
    }

    .lbf-roi-subtab {
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.78rem;
        font-weight: 600;
        padding: 0.4rem 0.8rem;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        border-radius: 8px;
        transition: all 0.2s;
    }

    body:not(.dark) .lbf-roi-subtab {
        color: #64748b;
    }

    .lbf-roi-subtab.active {
        background: rgba(168, 85, 247, 0.15);
        color: #c084fc;
        font-weight: 700;
    }

    body:not(.dark) .lbf-roi-subtab.active {
        background: #f3e8ff;
        color: #7e22ce;
    }

    /* Param Sliders Group */
    .lbf-roi-param-item {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 12px;
        padding: 0.9rem 1.1rem;
        margin-bottom: 0.8rem;
    }

    body:not(.dark) .lbf-roi-param-item {
        background: #ffffff;
        border-color: #e2e8f0;
    }

    .lbf-roi-param-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.35rem;
    }

    .lbf-roi-param-lbl {
        font-size: 0.82rem;
        font-weight: 600;
        color: #fff;
    }

    body:not(.dark) .lbf-roi-param-lbl {
        color: #0f172a;
    }

    .lbf-roi-param-val {
        font-size: 0.86rem;
        font-weight: 800;
        color: #c084fc;
        background: rgba(192, 132, 252, 0.12);
        padding: 0.15rem 0.6rem;
        border-radius: 6px;
    }

    .lbf-roi-param-sub {
        font-size: 0.68rem;
        color: rgba(255, 255, 255, 0.45);
        margin-bottom: 0.65rem;
    }

    body:not(.dark) .lbf-roi-param-sub {
        color: #94a3b8;
    }

    .lbf-roi-slider {
        width: 100%;
        height: 6px;
        border-radius: 3px;
        background: rgba(255, 255, 255, 0.1);
        outline: none;
        -webkit-appearance: none;
        cursor: pointer;
    }

    body:not(.dark) .lbf-roi-slider {
        background: #cbd5e1;
    }

    .lbf-roi-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #a855f7;
        box-shadow: 0 0 10px #c084fc;
        cursor: pointer;
        border: 2px solid #fff;
    }

    /* RIGHT DASHBOARD */
    .lbf-roi-dashboard {
        background: linear-gradient(155deg, rgba(16, 14, 30, 0.98), rgba(10, 8, 20, 0.98));
        border: 1px solid rgba(168, 85, 247, 0.3);
        border-radius: 20px;
        padding: 1.8rem;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
        position: sticky;
        top: 20px;
    }

    body:not(.dark) .lbf-roi-dashboard {
        background: #ffffff;
        border-color: #e2e8f0;
        box-shadow: 0 12px 36px rgba(147, 51, 234, 0.09);
    }

    .lbf-roi-dash-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.2rem;
    }

    .lbf-roi-dash-title {
        font-size: 1.05rem;
        font-weight: 800;
        color: #fff;
    }

    body:not(.dark) .lbf-roi-dash-title {
        color: #0f172a;
    }

    .lbf-roi-live-pill {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        background: rgba(16, 185, 129, 0.12);
        border: 1px solid rgba(16, 185, 129, 0.3);
        color: #10b981;
        font-size: 0.7rem;
        font-weight: 700;
        padding: 0.2rem 0.6rem;
        border-radius: 999px;
    }

    .lbf-roi-live-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #10b981;
        box-shadow: 0 0 8px #10b981;
        animation: lbfPulse 1.5s infinite;
    }

    .lbf-roi-profit-card {
        text-align: center;
        padding: 1.1rem 1rem;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 14px;
        margin-bottom: 1.2rem;
    }

    body:not(.dark) .lbf-roi-profit-card {
        background: #f8fafc;
        border-color: #e2e8f0;
    }

    .lbf-roi-profit-lbl {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.55);
    }

    body:not(.dark) .lbf-roi-profit-lbl {
        color: #64748b;
    }

    .lbf-roi-profit-num {
        font-size: 2.3rem;
        font-weight: 900;
        color: #10b981;
        text-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
        margin: 0.2rem 0;
        font-family: inherit;
    }

    .lbf-roi-profit-margin {
        font-size: 0.75rem;
        color: #c084fc;
        font-weight: 600;
    }

    .lbf-roi-metric-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-bottom: 1.2rem;
    }

    .lbf-roi-metric-box {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 10px;
        padding: 0.65rem 0.8rem;
    }

    body:not(.dark) .lbf-roi-metric-box {
        background: #f8fafc;
        border-color: #e2e8f0;
    }

    .lbf-roi-metric-lbl {
        font-size: 0.66rem;
        color: rgba(255, 255, 255, 0.5);
        display: block;
        margin-bottom: 0.15rem;
    }

    body:not(.dark) .lbf-roi-metric-lbl {
        color: #64748b;
    }

    .lbf-roi-metric-val {
        font-size: 1rem;
        font-weight: 800;
        color: #fff;
    }

    body:not(.dark) .lbf-roi-metric-val {
        color: #0f172a;
    }

    .lbf-roi-breakeven {
        background: rgba(56, 189, 248, 0.08);
        border: 1px solid rgba(56, 189, 248, 0.25);
        border-radius: 10px;
        padding: 0.65rem 0.9rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.2rem;
    }

    .lbf-roi-breakeven span {
        font-size: 0.72rem;
        color: rgba(255, 255, 255, 0.75);
    }

    body:not(.dark) .lbf-roi-breakeven span {
        color: #0369a1;
    }

    .lbf-roi-breakeven b {
        font-size: 0.95rem;
        color: #38bdf8;
        font-weight: 800;
    }

    /* GymSmart Advantage Toggle */
    .lbf-roi-adv-box {
        background: linear-gradient(135deg, rgba(147, 51, 234, 0.12), rgba(16, 185, 129, 0.06));
        border: 1px solid rgba(192, 132, 252, 0.3);
        border-radius: 12px;
        padding: 0.9rem 1rem;
        margin-bottom: 1.3rem;
    }

    .lbf-roi-adv-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.35rem;
    }

    .lbf-roi-adv-title {
        font-size: 0.82rem;
        font-weight: 700;
        color: #c084fc;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .lbf-roi-toggle-switch {
        position: relative;
        display: inline-block;
        width: 38px;
        height: 20px;
    }

    .lbf-roi-toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .lbf-roi-toggle-slider {
        position: absolute;
        cursor: pointer;
        top: 0; left: 0; right: 0; bottom: 0;
        background-color: rgba(255, 255, 255, 0.2);
        transition: .3s;
        border-radius: 20px;
    }

    .lbf-roi-toggle-slider:before {
        position: absolute;
        content: "";
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .3s;
        border-radius: 50%;
    }

    input:checked + .lbf-roi-toggle-slider {
        background-color: #a855f7;
    }

    input:checked + .lbf-roi-toggle-slider:before {
        transform: translateX(18px);
    }

    .lbf-roi-adv-desc {
        font-size: 0.68rem;
        color: rgba(255, 255, 255, 0.6);
        line-height: 1.4;
        margin: 0;
    }

    body:not(.dark) .lbf-roi-adv-desc {
        color: #475569;
    }

    .lbf-roi-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        width: 100%;
        padding: 0.85rem 1.4rem;
        border-radius: 12px;
        background: linear-gradient(135deg, #9333ea, #7c3aed);
        color: #fff;
        font-size: 0.86rem;
        font-weight: 700;
        text-decoration: none;
        border: none;
        box-shadow: 0 4px 20px rgba(147, 51, 234, 0.4);
        transition: all 0.3s;
        cursor: pointer;
    }

    .lbf-roi-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(147, 51, 234, 0.6);
        color: #fff;
    }

    /* ══ Responsive Breakpoints ══ */
    @media(max-width: 991px) {
        .lbf-roi-box {
            grid-template-columns: 1fr !important;
        }
        .lbf-biz-l2 {
            flex-wrap: wrap;
            gap: 1.2rem;
        }
        .lbf-biz-hbar {
            width: 80%;
        }
        .lbf-dept-grid {
            grid-template-columns: repeat(2, 1fr) !important;
        }
        .lbf-bottom-grid {
            grid-template-columns: 1fr !important;
        }
    }

    @media(max-width: 768px) {
        .lbf-wrap {
            padding: 0 !important;
            width: 100% !important;
            max-width: 1240px !important;
        }
        .lbf-block {
            padding: 1.4rem 1rem !important;
            border-radius: 18px !important;
        }
        .lbf-block-label {
            position: static !important;
            display: block !important;
            text-align: center !important;
            margin-bottom: 0.9rem !important;
            font-size: 10.5px !important;
            letter-spacing: 1.5px !important;
        }
        .lbf-biz-l2 {
            flex-direction: column;
            align-items: center;
        }
        .lbf-biz-branch-wrap {
            max-width: 100%;
            width: 100%;
        }
        .lbf-hr-tabs {
            display: flex !important;
            flex-direction: row !important;
            overflow-x: auto !important;
            flex-wrap: nowrap !important;
            gap: 0.45rem !important;
            padding: 4px 2px 10px !important;
            scrollbar-width: none !important;
            -webkit-overflow-scrolling: touch !important;
            justify-content: flex-start !important;
            width: 100% !important;
            margin-bottom: 1rem !important;
        }
        .lbf-hr-tabs::-webkit-scrollbar {
            display: none !important;
        }
        .lbf-hr-tab {
            white-space: nowrap !important;
            flex-shrink: 0 !important;
            font-size: 0.72rem !important;
            padding: 0.45rem 0.95rem !important;
        }
        .lbf-dept-grid {
            grid-template-columns: 1fr !important;
            gap: 0.9rem !important;
        }
        .lbf-dept-card {
            width: 100% !important;
            box-sizing: border-box !important;
            padding: 1rem 1.1rem !important;
        }
        .lbf-hiring-flow {
            flex-direction: column;
            align-items: flex-start;
        }
        .lbf-hiring-arr {
            transform: rotate(90deg);
            margin-left: 1.2rem;
        }
        .lbf-aud-wrap {
            flex-direction: column;
            gap: 1.5rem;
        }
        .lbf-pipeline {
            gap: .5rem;
        }
    }
