/* homepage.php:47 — ccrm_homepage_render */
:root {
            --ccrm-home-blue: #2563eb;
            --ccrm-home-blue-dark: #1d4ed8;
            --ccrm-home-ink: #202a36;
            --ccrm-home-muted: #6f7a88;
            --ccrm-home-line: #e7ebf0;
            --ccrm-home-soft: #f7f9fc;
            --ccrm-home-white: #ffffff;
            --ccrm-home-shadow: 0 24px 70px rgba(31, 41, 55, .10);
        }

        body.ccrm-homepage {
            margin: 0;
            color: var(--ccrm-home-ink);
            background: var(--ccrm-home-white);
            font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
            -webkit-font-smoothing: antialiased;
        }

        body.ccrm-homepage * {
            box-sizing: border-box;
        }

        body.ccrm-homepage a {
            color: inherit;
            text-decoration: none;
        }

        body.ccrm-homepage button {
            font: inherit;
        }

        .ccrm-home-container {
            width: min(1180px, calc(100% - 32px));
            margin: 0 auto;
        }

        .ccrm-home-header {
            position: sticky;
            top: 0;
            z-index: 999;
            background: rgba(255, 255, 255, .94);
            -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
            border-bottom: 1px solid rgba(231, 235, 240, .9);
        }

        body.admin-bar .ccrm-home-header {
            top: 32px;
        }

        .ccrm-home-header-inner {
            min-height: 72px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 28px;
        }

        .ccrm-home-brand {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 17px;
            font-weight: 700;
            letter-spacing: -.25px;
        }

        .ccrm-home-brand-logo {
            line-height: 0;
        }

        .ccrm-home-logo {
            display: block;
            width: auto;
            max-width: 100%;
            height: auto;
            object-fit: contain;
        }

        .ccrm-home-logo-header {
            width: 210px;
        }

        .ccrm-home-logo-footer {
            width: 185px;
        }

        .ccrm-home-brand-mark {
            width: 30px;
            height: 30px;
            border-radius: 9px;
            display: grid;
            place-items: center;
            color: #fff;
            background: var(--ccrm-home-blue);
            box-shadow: 0 8px 22px rgba(37, 99, 235, .24);
        }

        .ccrm-home-brand-mark svg {
            width: 18px;
            height: 18px;
        }

        .ccrm-home-nav {
            display: flex;
            align-items: center;
            gap: 28px;
            font-size: 13px;
            color: #4f5967;
        }

        .ccrm-home-nav a:hover,
        .ccrm-home-nav a:focus-visible {
            color: var(--ccrm-home-blue);
        }

        .ccrm-home-header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .ccrm-home-button {
            min-height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 0 16px;
            border: 1px solid var(--ccrm-home-line);
            border-radius: 9px;
            background: #fff;
            color: #344054;
            font-size: 12.5px;
            font-weight: 500;
            line-height: 1;
            transition: .2s ease;
            cursor: pointer;
            white-space: nowrap;
            text-decoration: none;
        }

        .ccrm-home-button:hover,
        .ccrm-home-button:focus-visible {
            border-color: var(--ccrm-home-blue);
            background: var(--ccrm-home-blue);
            color: #ffffff;
            transform: translateY(-1px);
            box-shadow: 0 12px 26px rgba(37, 99, 235, .20);
        }

        .ccrm-home-button-primary {
            background: var(--ccrm-home-blue);
            border-color: var(--ccrm-home-blue);
            color: #fff;
        }

        .ccrm-home-button-primary:hover,
        .ccrm-home-button-primary:focus-visible {
            background: var(--ccrm-home-blue-dark);
            border-color: var(--ccrm-home-blue-dark);
        }

        .ccrm-home-menu-toggle {
            display: none;
            width: 40px;
            padding: 0;
        }

        .ccrm-home-mobile-nav {
            display: none;
            border-top: 1px solid var(--ccrm-home-line);
            padding: 8px 0 14px;
            background: #fff;
        }

        .ccrm-home-mobile-nav.is-open {
            display: block;
        }

        .ccrm-home-mobile-nav a {
            display: block;
            padding: 11px 0;
            color: #4f5967;
            font-size: 13px;
        }

        .ccrm-home-hero {
            position: relative;
            overflow: hidden;
            padding: 92px 0 88px;
            background:
                radial-gradient(circle at 82% 30%, rgba(37, 99, 235, .09), transparent 29%),
                linear-gradient(180deg, #fff 0%, #fbfcff 100%);
            border-bottom: 1px solid var(--ccrm-home-line);
        }

        .ccrm-home-hero-grid {
            display: grid;
            grid-template-columns: minmax(0, .92fr) minmax(530px, 1.08fr);
            gap: 68px;
            align-items: center;
        }

        .ccrm-home-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 20px;
            color: var(--ccrm-home-blue);
            font-size: 12px;
            font-weight: 600;
            letter-spacing: .02em;
        }

        .ccrm-home-eyebrow-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--ccrm-home-blue);
            box-shadow: 0 0 0 5px rgba(37, 99, 235, .09);
        }

        .ccrm-home-title {
            max-width: 620px;
            margin: 0;
            color: var(--ccrm-home-ink);
            font-size: clamp(38px, 4.7vw, 62px);
            line-height: 1.08;
            letter-spacing: -2.1px;
            font-weight: 650;
        }

        .ccrm-home-copy {
            max-width: 575px;
            margin: 24px 0 0;
            color: var(--ccrm-home-muted);
            font-size: 16px;
            line-height: 1.75;
        }

        .ccrm-home-hero-actions {
            display: flex;
            gap: 11px;
            flex-wrap: wrap;
            margin-top: 31px;
        }

        .ccrm-home-hero-actions .ccrm-home-button {
            min-height: 46px;
            padding: 0 20px;
            font-size: 13px;
        }

        .ccrm-home-note {
            margin-top: 18px;
            display: flex;
            align-items: center;
            gap: 9px;
            color: #7d8795;
            font-size: 11.5px;
        }

        .ccrm-home-note svg {
            width: 16px;
            height: 16px;
            color: #18a46b;
        }

        .ccrm-home-dashboard {
            position: relative;
            min-height: 470px;
            border: 1px solid #dfe5ed;
            border-radius: 18px;
            background: #fff;
            box-shadow: var(--ccrm-home-shadow);
            overflow: hidden;
            transform: perspective(1500px) rotateY(-1.6deg) rotateX(.8deg);
        }

        .ccrm-home-dashboard::after {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: linear-gradient(120deg, rgba(255, 255, 255, .16), transparent 30%);
        }

        .ccrm-home-dash-top {
            height: 53px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 19px;
            border-bottom: 1px solid #edf1f5;
            background: #fff;
        }

        .ccrm-home-dots {
            display: flex;
            gap: 6px;
        }

        .ccrm-home-dots span {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #d8dee7;
        }

        .ccrm-home-dash-user {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #778292;
            font-size: 9px;
        }

        .ccrm-home-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: linear-gradient(135deg, #dce8ff, #b9ccf5);
        }

        .ccrm-home-dash-main {
            display: grid;
            grid-template-columns: 142px 1fr;
            min-height: 417px;
        }

        .ccrm-home-dash-side {
            background: #252a31;
            padding: 17px 12px;
            color: #b9c0ca;
        }

        .ccrm-home-dash-logo {
            display: flex;
            align-items: center;
            gap: 7px;
            padding: 0 7px 18px;
            font-size: 9px;
            color: white;
            font-weight: 600;
        }

        .ccrm-home-dash-logo i {
            display: block;
            width: 17px;
            height: 17px;
            border-radius: 5px;
            background: var(--ccrm-home-blue);
        }

        .ccrm-home-side-item {
            height: 28px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 0 8px;
            font-size: 8px;
            margin-bottom: 3px;
        }

        .ccrm-home-side-item i {
            width: 10px;
            height: 10px;
            border: 1px solid #727b87;
            border-radius: 3px;
        }

        .ccrm-home-side-item.is-active {
            background: #323943;
            color: #fff;
        }

        .ccrm-home-side-item.is-active i {
            border-color: #7fa7ff;
            background: #356ee8;
        }

        .ccrm-home-side-separator {
            height: 1px;
            background: #393f48;
            margin: 10px 7px;
        }

        .ccrm-home-dash-content {
            padding: 20px;
            background: #fff;
        }

        .ccrm-home-dash-heading {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 16px;
        }

        .ccrm-home-dash-heading h3 {
            font-size: 13px;
            margin: 0 0 4px;
            font-weight: 650;
        }

        .ccrm-home-dash-heading p {
            font-size: 8px;
            margin: 0;
            color: #8a94a2;
        }

        .ccrm-home-mini-button {
            height: 24px;
            padding: 0 9px;
            border: 0;
            border-radius: 6px;
            background: var(--ccrm-home-blue);
            color: #fff;
            font-size: 7px;
        }

        .ccrm-home-metrics {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            border-top: 1px solid #edf1f5;
            border-bottom: 1px solid #edf1f5;
            margin-bottom: 17px;
        }

        .ccrm-home-metric {
            padding: 12px 10px;
            border-right: 1px solid #edf1f5;
        }

        .ccrm-home-metric:last-child {
            border-right: 0;
        }

        .ccrm-home-metric span {
            display: block;
            color: #8a94a2;
            font-size: 7px;
            margin-bottom: 6px;
        }

        .ccrm-home-metric strong {
            font-size: 16px;
            font-weight: 620;
        }

        .ccrm-home-dash-grid {
            display: grid;
            grid-template-columns: 1.3fr .7fr;
            gap: 13px;
        }

        .ccrm-home-chart-box,
        .ccrm-home-activity-box {
            border: 1px solid #edf1f5;
            border-radius: 9px;
            padding: 12px;
        }

        .ccrm-home-box-title {
            font-size: 8px;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .ccrm-home-bars {
            height: 122px;
            display: flex;
            align-items: flex-end;
            gap: 9px;
            border-bottom: 1px solid #edf1f5;
            padding: 0 5px;
        }

        .ccrm-home-bar {
            flex: 1;
            border-radius: 3px 3px 0 0;
            background: #cfe0ff;
            min-height: 18%;
        }

        .ccrm-home-bar:nth-child(1) { height: 30%; }
        .ccrm-home-bar:nth-child(2) { height: 42%; }
        .ccrm-home-bar:nth-child(3) { height: 68%; }
        .ccrm-home-bar:nth-child(4) { height: 52%; }
        .ccrm-home-bar:nth-child(5) { height: 84%; background: #4e7ee8; }
        .ccrm-home-bar:nth-child(6) { height: 65%; }
        .ccrm-home-bar:nth-child(7) { height: 92%; background: #2e66e3; }

        .ccrm-home-activity {
            display: flex;
            gap: 8px;
            padding: 9px 0;
            border-bottom: 1px solid #f0f3f7;
        }

        .ccrm-home-activity:last-child {
            border-bottom: 0;
        }

        .ccrm-home-activity i {
            width: 20px;
            height: 20px;
            flex: 0 0 20px;
            border-radius: 6px;
            background: #eaf1ff;
        }

        .ccrm-home-activity b {
            display: block;
            font-size: 7px;
            margin-bottom: 4px;
        }

        .ccrm-home-activity span {
            display: block;
            font-size: 6px;
            color: #99a1ad;
        }

        .ccrm-home-features {
            padding: 82px 0 86px;
        }

        .ccrm-home-section-head {
            max-width: 680px;
            margin-bottom: 42px;
        }

        .ccrm-home-section-label {
            color: var(--ccrm-home-blue);
            font-size: 11px;
            font-weight: 650;
            text-transform: uppercase;
            letter-spacing: .09em;
        }

        .ccrm-home-section-head h2 {
            margin: 11px 0 12px;
            color: var(--ccrm-home-ink);
            font-size: 32px;
            line-height: 1.25;
            letter-spacing: -.8px;
            font-weight: 620;
        }

        .ccrm-home-section-head p {
            margin: 0;
            color: var(--ccrm-home-muted);
            font-size: 14px;
            line-height: 1.7;
        }

        .ccrm-home-feature-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            border-top: 1px solid var(--ccrm-home-line);
            border-bottom: 1px solid var(--ccrm-home-line);
        }

        .ccrm-home-feature {
            padding: 32px 30px 34px 0;
            min-height: 210px;
            border-right: 1px solid var(--ccrm-home-line);
        }

        .ccrm-home-feature + .ccrm-home-feature {
            padding-left: 30px;
        }

        .ccrm-home-feature:last-child {
            border-right: 0;
            padding-right: 0;
        }

        .ccrm-home-feature-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: grid;
            place-items: center;
            background: #eff5ff;
            color: var(--ccrm-home-blue);
            margin-bottom: 21px;
        }

        .ccrm-home-feature-icon svg {
            width: 20px;
            height: 20px;
        }

        .ccrm-home-feature h3 {
            margin: 0 0 9px;
            color: var(--ccrm-home-ink);
            font-size: 16px;
            font-weight: 620;
        }

        .ccrm-home-feature p {
            margin: 0;
            color: var(--ccrm-home-muted);
            font-size: 12.5px;
            line-height: 1.7;
        }

        .ccrm-home-cta-wrap {
            padding: 0 0 84px;
        }

        .ccrm-home-cta {
            min-height: 250px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
            padding: 48px 52px;
            border-radius: 18px;
            color: #fff;
            background:
                radial-gradient(circle at 78% 10%, rgba(255, 255, 255, .14), transparent 32%),
                #202a36;
            overflow: hidden;
        }

        .ccrm-home-cta h2 {
            margin: 0 0 12px;
            color: #fff;
            font-size: 30px;
            line-height: 1.25;
            letter-spacing: -.6px;
            font-weight: 620;
        }

        .ccrm-home-cta p {
            margin: 0;
            color: #c5ccd6;
            font-size: 13.5px;
            line-height: 1.7;
        }

        .ccrm-home-cta .ccrm-home-button {
            border-color: #fff;
            background: #fff;
            color: #202a36;
            min-height: 44px;
            padding: 0 20px;
        }

        .ccrm-home-footer {
            border-top: 1px solid var(--ccrm-home-line);
            padding: 28px 0 34px;
            background: #fff;
        }

        .ccrm-home-footer-inner {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 28px;
        }

        .ccrm-home-footer-brand {
            margin-left: auto;
            text-align: right;
        }

        .ccrm-home-footer-note {
            margin-top: 10px;
            color: #8a94a2;
            font-size: 11px;
        }

        .ccrm-home-footer-links {
            display: flex;
            gap: 22px;
            color: #687384;
            font-size: 11px;
        }

        .ccrm-home-footer-links a:hover,
        .ccrm-home-footer-links a:focus-visible {
            color: var(--ccrm-home-blue);
        }

        @media (max-width: 960px) {
            .ccrm-home-nav {
                display: none;
            }

            .ccrm-home-menu-toggle {
                display: inline-flex;
            }

            .ccrm-home-login-link {
                display: none;
            }

            .ccrm-home-hero {
                padding: 66px 0 64px;
            }

            .ccrm-home-hero-grid {
                grid-template-columns: 1fr;
                gap: 48px;
            }

            .ccrm-home-copy {
                font-size: 15px;
            }

            .ccrm-home-dashboard {
                max-width: 680px;
                width: 100%;
                margin: 0 auto;
                transform: none;
            }
        }

        @media (max-width: 782px) {
            body.admin-bar .ccrm-home-header {
                top: 46px;
            }
        }

        @media (max-width: 680px) {
            .ccrm-home-container {
                width: calc(100% - 24px);
            }

            .ccrm-home-header-inner {
                min-height: 64px;
            }

            .ccrm-home-header-actions .ccrm-home-button-primary {
                display: none;
            }

            .ccrm-home-title {
                font-size: 40px;
                letter-spacing: -1.3px;
            }

            .ccrm-home-hero {
                padding-top: 52px;
            }

            .ccrm-home-hero-actions {
                display: grid;
                grid-template-columns: 1fr 1fr;
            }

            .ccrm-home-hero-actions .ccrm-home-button {
                width: 100%;
                padding: 0 12px;
            }

            .ccrm-home-dashboard {
                min-height: 356px;
                border-radius: 13px;
            }

            .ccrm-home-dash-main {
                grid-template-columns: 90px 1fr;
                min-height: 303px;
            }

            .ccrm-home-dash-side {
                padding: 12px 7px;
            }

            .ccrm-home-side-item {
                font-size: 0;
                padding: 0 8px;
            }

            .ccrm-home-side-item::after {
                content: "";
                height: 5px;
                width: 44px;
                border-radius: 5px;
                background: #4b535e;
            }

            .ccrm-home-side-item.is-active::after {
                background: #7da3f8;
            }

            .ccrm-home-dash-content {
                padding: 12px;
            }

            .ccrm-home-dash-grid {
                grid-template-columns: 1fr;
            }

            .ccrm-home-activity-box {
                display: none;
            }

            .ccrm-home-bars {
                height: 92px;
            }

            .ccrm-home-feature-grid {
                grid-template-columns: 1fr;
            }

            .ccrm-home-feature,
            .ccrm-home-feature + .ccrm-home-feature {
                padding: 28px 0;
                border-right: 0;
                border-bottom: 1px solid var(--ccrm-home-line);
                min-height: auto;
            }

            .ccrm-home-feature:last-child {
                border-bottom: 0;
            }

            .ccrm-home-section-head h2 {
                font-size: 27px;
            }

            .ccrm-home-features {
                padding: 64px 0;
            }

            .ccrm-home-cta {
                padding: 38px 28px;
                display: block;
                min-height: 0;
            }

            .ccrm-home-cta h2 {
                font-size: 26px;
            }

            .ccrm-home-cta .ccrm-home-button {
                margin-top: 25px;
                width: 100%;
            }

            .ccrm-home-logo-header {
                width: 174px;
            }

            .ccrm-home-footer-inner {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
            }

            .ccrm-home-footer-links {
                margin-top: 0;
                flex-wrap: wrap;
            }

            .ccrm-home-footer-brand {
                width: 100%;
                margin: 18px 0 0;
                text-align: right;
                align-self: flex-end;
            }

            .ccrm-home-footer-brand .ccrm-home-brand {
                justify-content: flex-end;
                width: 100%;
            }

            .ccrm-home-logo-footer {
                width: 170px;
            }
        }
