body.page-profile-views {
    background: #f6f8ff;
    overflow-x: hidden;
}

.pv2-page {
    max-width: 1240px;
    width: 100%;
    margin: 20px auto 34px;
    padding: 0 16px;
    color: #222845;
    overflow-x: clip;
}

.pv2-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.pv2-title-wrap h1 {
    margin: 0;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.pv2-title-wrap p {
    margin: 10px 0 0;
    font-size: 15px;
    color: #7a82a9;
}

.pv2-top-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.pv2-compare-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #7a82a9;
}

.pv2-compare-note svg {
    width: 15px;
    height: 15px;
    color: #9ba3c9;
}

.pv2-demo-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff2df;
    color: #c57d2e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pv2-period-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.pv2-period-btn,
.pv2-custom-submit {
    border: 1px solid #dfe3f5;
    background: #fff;
    color: #323959 !important;
    border-radius: 12px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.18s ease;
}

.pv2-period-btn:hover,
.pv2-custom-submit:hover {
    border-color: #c6ccee;
    transform: translateY(-1px);
}

.pv2-period-btn.is-active {
    color: #6d4dff !important;
    border-color: #b8a8ff;
    background: #f3efff;
    box-shadow: 0 6px 14px rgba(93, 72, 220, 0.12);
}

.pv2-custom-wrap {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid #e8ebf8;
    background: #fff;
}

.pv2-custom-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.pv2-custom-form label {
    font-size: 13px;
    color: #6b7396;
}

.pv2-custom-form input[type="date"] {
    border: 1px solid #dfe3f5;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    color: #363d61;
    background: #fff;
}

.pv2-grid-kpi {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.pv2-card {
    border-radius: 16px;
    border: 1px solid #e8ebf8;
    background: #fff;
    box-shadow: 0 8px 20px rgba(40, 53, 110, 0.06);
}

.pv2-kpi-card {
    padding: 14px;
}

.pv2-kpi-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pv2-kpi-label {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #364067;
}

.pv2-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #7758ee;
    background: #efe9ff;
}

.pv2-kpi-value {
    margin: 6px 0 0;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -0.025em;
    font-weight: 800;
    color: #1f2643;
}

.pv2-kpi-delta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    font-size: 15px;
    font-weight: 700;
}

.pv2-kpi-delta.is-up {
    color: #1ea85f;
}

.pv2-kpi-delta.is-down {
    color: #e1555c;
}

.pv2-kpi-delta.is-neutral {
    color: #848bb2;
}

.pv2-kpi-sub {
    margin: 4px 0 0;
    font-size: 12px;
    color: #8b93b7;
}

.pv2-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.pv2-icon-circle svg {
    width: 21px;
    height: 21px;
    stroke-width: 2;
}

.pv2-icon-green {
    background: #eef9d4;
    color: #95c725;
}

.pv2-icon-violet {
    background: #f2ecff;
    color: #9469ff;
}

.pv2-icon-blue {
    background: #e8f1ff;
    color: #5f97ff;
}

.pv2-icon-orange {
    background: #fff0e2;
    color: #ff994e;
}

.pv2-main-grid,
.pv2-bottom-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

.pv2-lock-shell {
    position: relative;
    overflow-x: clip;
}

.pv2-lock-shell.is-active .pv2-lock-block {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
}

.pv2-lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: linear-gradient(180deg, rgba(246, 248, 255, 0.1) 0%, rgba(246, 248, 255, 0.72) 44%, rgba(246, 248, 255, 0.88) 100%);
}

.pv2-lock-card {
    max-width: 430px;
    text-align: center;
    border-radius: 18px;
    padding: 22px 18px;
    border: 1px solid #ddd0ff;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 35px rgba(58, 46, 128, 0.18);
}

.pv2-lock-card h3 {
    margin: 10px 0 8px;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 800;
    color: #2f3761;
}

.pv2-lock-card p {
    margin: 0 0 14px;
    color: #757ea8;
    font-size: 14px;
}

.pv2-lock-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #efe8ff;
    color: #7b55ff;
}

.pv2-lock-icon svg {
    width: 23px;
    height: 23px;
    stroke-width: 2.1;
}

.pv2-main-grid {
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.1fr);
}

.pv2-bottom-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.pv2-panel {
    padding: 14px;
}

.pv2-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.pv2-panel-head h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: #273055;
}

.pv2-chart-wrap {
    position: relative;
    min-height: 320px;
    overflow: hidden;
}

.pv2-chart-wrap canvas {
    max-width: 100% !important;
}

.pv2-insights-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pv2-insights-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pv2-insight-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.pv2-insight-icon svg {
    width: 17px;
    height: 17px;
    stroke-width: 2.1;
}

.pv2-insight-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #2f3860;
}

.pv2-insight-text {
    margin: 3px 0 0;
    font-size: 13px;
    color: #818aae;
}

.pv2-insight-text.is-up {
    color: #2ea761;
    font-weight: 600;
}

.pv2-insight-text.is-down {
    color: #d75560;
    font-weight: 600;
}

.pv2-insight-text.is-neutral {
    color: #7f87ac;
}

.pv2-activity-actions {
    font-size: 13px;
    color: #735cff !important;
    font-weight: 700;
}

.pv2-activity-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pv2-activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2fb;
    min-width: 0;
}

.pv2-activity-item:last-child {
    border-bottom: none;
    padding-bottom: 2px;
}

.pv2-activity-avatar {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(135deg, #eceffd 0%, #dfe7ff 100%);
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #566098;
    font-size: 13px;
    font-weight: 700;
}

.pv2-activity-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pv2-activity-avatar span {
    line-height: 1;
}

.pv2-activity-type {
    width: 24px;
    height: 24px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.pv2-activity-type svg {
    width: 13px;
    height: 13px;
    stroke-width: 2.2;
}

.pv2-activity-content {
    min-width: 0;
    flex: 1 1 auto;
}

.pv2-activity-content p {
    margin: 0;
    font-size: 14px;
    color: #3a446f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pv2-activity-content strong {
    display: inline-block;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    font-weight: 700;
    color: #273055;
}

.pv2-activity-time {
    font-size: 12px;
    color: #8b93b6;
    margin-left: auto;
    white-space: nowrap;
    flex: 0 0 auto;
}

.pv2-show-more {
    margin-top: 10px;
    color: #735cff !important;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pv2-show-more svg,
.pv2-reco-arrow svg {
    width: 14px;
    height: 14px;
}

.pv2-reco-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pv2-reco-item {
    border: 1px solid #edf0fb;
    border-radius: 14px;
    padding: 10px 11px;
    display: flex;
    align-items: center;
    gap: 11px;
    background: #fff;
}

.pv2-reco-item h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #2e3760;
}

.pv2-reco-item p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #7f86a7;
}

.pv2-reco-arrow {
    margin-left: auto;
    color: #9fa6c7;
}

.pv2-footer-cta {
    margin-top: 14px;
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid #e8dcff;
    background: linear-gradient(90deg, #efe8ff 0%, #f6f1ff 45%, #f1ecff 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.pv2-footer-cta h4 {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    color: #2e3559;
}

.pv2-footer-cta p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #7a83a8;
}

.pv2-footer-cta-btn {
    padding: 11px 18px;
    border-radius: 12px;
    background: #7b55ff;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 9px 20px rgba(94, 70, 212, 0.25);
}

.pv2-empty,
.pv2-empty-small {
    text-align: center;
    color: #828ab0;
    font-size: 14px;
}

.pv2-empty {
    padding: 20px;
}

.pv2-empty-small {
    padding: 8px 0;
}

@media (max-width: 1160px) {
    .pv2-grid-kpi {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pv2-main-grid,
    .pv2-bottom-grid {
        grid-template-columns: 1fr;
    }

    .pv2-chart-wrap {
        min-height: 270px;
    }
}

@media (max-width: 820px) {
    .pv2-page {
        margin-top: 14px;
    }

    .pv2-title-row {
        flex-direction: column;
        align-items: stretch;
    }

    .pv2-title-wrap h1 {
        font-size: 32px;
    }

    .pv2-top-actions {
        align-items: flex-start;
    }

    .pv2-period-tabs {
        justify-content: flex-start;
    }

    .pv2-footer-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .pv2-page {
        padding: 0 12px;
    }

    .pv2-title-wrap,
    .pv2-title-wrap p,
    .pv2-kpi-sub,
    .pv2-insight-text,
    .pv2-activity-content,
    .pv2-reco-item {
        min-width: 0;
    }

    .pv2-grid-kpi {
        grid-template-columns: 1fr;
    }

    .pv2-kpi-value {
        font-size: 34px;
    }

    .pv2-panel-head h3 {
        font-size: 22px;
    }

    .pv2-panel-head {
        flex-wrap: wrap;
    }

    .pv2-activity-item {
        display: grid;
        grid-template-columns: 30px 24px minmax(0, 1fr);
        align-items: start;
        column-gap: 10px;
        row-gap: 4px;
    }

    .pv2-activity-content p {
        font-size: 13px;
    }

    .pv2-activity-content strong {
        max-width: 95px;
    }

    .pv2-activity-time {
        grid-column: 3;
        margin-left: 0;
        width: fit-content;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pv2-chart-wrap {
        min-height: 235px;
    }

    .pv2-lock-card h3 {
        font-size: 24px;
    }
}
