.ccp-pf-wrap {
    --ccp-blue: #1D5AD2;
    --ccp-blue-dark: #1748a8;
    --ccp-blue-soft: #eef4ff;
    --ccp-ink: #0f172a;
    --ccp-text: #111827;
    --ccp-muted: #64748b;
    --ccp-border: #dbe7f5;
    --ccp-bg-soft: #f8fbff;
    --ccp-radius-lg: 22px;
    --ccp-radius-md: 16px;
    --ccp-radius-sm: 12px;

    font-family: inherit;
    color: var(--ccp-text);
    width: 100%;
}

.ccp-pf-panel {
    background: #ffffff;
    border: 1px solid var(--ccp-border);
    border-radius: var(--ccp-radius-lg);
    padding: 24px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    overflow: visible;
}

.ccp-pf-title {
    margin: 0 0 6px 0;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--ccp-ink);
    letter-spacing: -0.02em;
}

.ccp-pf-subtitle {
    margin: 0 0 18px 0;
    max-width: 760px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ccp-muted);
}

.ccp-pf-toolbar {
    background: linear-gradient(180deg, #ffffff 0%, var(--ccp-bg-soft) 100%);
    border: 1px solid var(--ccp-border);
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: visible;
    z-index: 20;
}

.ccp-pf-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.ccp-pf-segment {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border: 1px solid #c9d8ee;
    border-radius: 16px;
    background: #ffffff;
    gap: 4px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ccp-pf-segment-btn,
.ccp-pf-period-btn {
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 8px 16px;
    background: transparent;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    appearance: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.ccp-pf-segment-btn:hover,
.ccp-pf-segment-btn:focus,
.ccp-pf-period-btn:hover,
.ccp-pf-period-btn:focus,
.ccp-pf-more-btn:hover,
.ccp-pf-more-btn:focus,
.ccp-pf-small-btn:hover,
.ccp-pf-small-btn:focus {
    background: var(--ccp-blue-soft);
    border-color: rgba(29, 90, 210, 0.32);
    color: var(--ccp-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 90, 210, 0.10);
}

.ccp-pf-segment-btn.is-active,
.ccp-pf-period-btn.is-active {
    background: var(--ccp-blue);
    border-color: var(--ccp-blue);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(29, 90, 210, 0.22);
}

.ccp-pf-segment-btn.is-active:hover,
.ccp-pf-segment-btn.is-active:focus,
.ccp-pf-period-btn.is-active:hover,
.ccp-pf-period-btn.is-active:focus {
    background: var(--ccp-blue-dark);
    border-color: var(--ccp-blue-dark);
    color: #ffffff;
}

.ccp-pf-periods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.ccp-pf-period-btn {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    padding: 8px 12px;
}

.ccp-pf-main-filters {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) minmax(140px, 0.8fr) minmax(110px, 0.55fr) minmax(130px, 0.65fr) minmax(130px, 0.65fr);
    gap: 10px;
    align-items: end;
}

.ccp-pf-extra-filters {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--ccp-border);
}

.ccp-pf-extra-filters.is-open {
    display: grid;
}

.ccp-pf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ccp-pf-field label {
    font-size: 12px;
    font-weight: 650;
    color: #334155;
}

.ccp-pf-field input,
.ccp-pf-field select {
    width: 100%;
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: var(--ccp-radius-sm);
    padding: 8px 11px;
    font-size: 14px;
    background: #ffffff;
    color: var(--ccp-text);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.ccp-pf-field input:hover,
.ccp-pf-field select:hover {
    border-color: #a9bddb;
}


.ccp-pf-field input:focus,
.ccp-pf-field select:focus {
    border-color: var(--ccp-blue);
    box-shadow: 0 0 0 3px rgba(29, 90, 210, 0.12);
}

.ccp-pf-search-control {
    position: relative;
    width: 100%;
    z-index: 30;
}

 .ccp-pf-location-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 100000;
    display: none;
    max-height: 280px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--ccp-border);
    border-radius: 14px;
    background: #ffffff !important;
    color: var(--ccp-text) !important;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16);
}

.ccp-pf-search-suggestions {
    display: none;
}

.ccp-pf-location-suggestions:empty {
    display: none !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.ccp-pf-location-suggestion {
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 11px;
    border: 0;
    border-radius: 10px;
    background: #ffffff !important;
    color: var(--ccp-text) !important;
    text-align: left;
    cursor: pointer;
    box-shadow: none !important;
    appearance: none;
}

.ccp-pf-location-suggestion:hover,
.ccp-pf-location-suggestion:focus {
    background: var(--ccp-blue-soft) !important;
    color: var(--ccp-blue) !important;
    outline: none;
}

.ccp-pf-location-suggestion strong {
    display: block;
    color: inherit !important;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.3;
}

.ccp-pf-location-suggestion span {
    display: block;
    margin-top: 3px;
    color: var(--ccp-muted) !important;
    font-size: 12px;
    line-height: 1.35;
}

.ccp-pf-location-suggestion:hover span,
.ccp-pf-location-suggestion:focus span {
    color: #315fba !important;
}

.ccp-pf-search-control.is-selected input,
.ccp-pf-field input.ccp-pf-location-selected {
    border-color: var(--ccp-blue);
    background: var(--ccp-blue-soft);
}

.ccp-pf-search-control input {
    padding-right: 40px;
}

.ccp-pf-search-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 26px;
    height: 26px;
    display: none;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 999px;
    background: var(--ccp-blue-soft);
    color: var(--ccp-blue);
    font-size: 20px;
    line-height: 1;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ccp-pf-search-clear:hover,
.ccp-pf-search-clear:focus {
    background: var(--ccp-blue);
    color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 90, 210, 0.12);
}

.ccp-pf-search-clear.is-visible {
    display: flex;
}

.ccp-pf-more-btn {
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: var(--ccp-radius-sm);
    padding: 8px 12px;
    background: #ffffff;
    color: var(--ccp-text);
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ccp-pf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ccp-pf-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.ccp-pf-btn {
    border: 1px solid var(--ccp-blue);
    border-radius: var(--ccp-radius-sm);
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    background: var(--ccp-blue);
    color: #ffffff;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.ccp-pf-btn:hover,
.ccp-pf-btn:focus {
    background: var(--ccp-blue-dark);
    border-color: var(--ccp-blue-dark);
    color: #ffffff;
    outline: none;
    box-shadow: 0 10px 22px rgba(29, 90, 210, 0.24);
    transform: translateY(-1px);
}

.ccp-pf-btn-secondary {
    background: #ffffff;
    border-color: #cbd5e1;
    color: var(--ccp-text);
}

.ccp-pf-btn-secondary:hover,
.ccp-pf-btn-secondary:focus {
    background: var(--ccp-blue-soft);
    border-color: rgba(29, 90, 210, 0.32);
    color: var(--ccp-blue);
    box-shadow: 0 0 0 3px rgba(29, 90, 210, 0.10);
    transform: none;
}

.ccp-pf-status {
    font-size: 13px;
    color: var(--ccp-muted);
}

.ccp-pf-table-scroll {
    width: 100%;
    border: 1px solid var(--ccp-border);
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.ccp-pf-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
}

.ccp-pf-table th,
.ccp-pf-table td {
    padding: 13px 11px;
    border-bottom: 1px solid var(--ccp-border);
    text-align: left;
    font-size: 13px;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
}

.ccp-pf-table td:nth-child(2),
.ccp-pf-table td:nth-child(3),
.ccp-pf-table td:nth-child(4),
.ccp-pf-table td:nth-child(7),
.ccp-pf-table td:nth-child(8),
.ccp-pf-table td:nth-child(9) {
    white-space: nowrap;
}


.ccp-pf-table th:nth-child(5),
.ccp-pf-table td:nth-child(5),
.ccp-pf-table th:nth-child(6),
.ccp-pf-table td:nth-child(6) {
    overflow-wrap: normal;
    word-break: keep-all;
}

.ccp-pf-table th {
    background: #f4f8ff;
    color: #334155;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
}

.ccp-pf-table th:first-child {
    border-top-left-radius: 17px;
}

.ccp-pf-table th:last-child {
    border-top-right-radius: 17px;
}

.ccp-pf-table tbody tr:last-child td {
    border-bottom: 0;
}

.ccp-pf-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 17px;
}

.ccp-pf-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 17px;
}

.ccp-pf-table td {
    color: var(--ccp-text);
}

.ccp-pf-table tbody tr {
    transition: background-color 0.15s ease;
}

.ccp-pf-table tbody tr:hover td {
    background: #f8fbff;
}

.ccp-pf-location {
    white-space: normal;
    min-width: 0;
    max-width: none;
}

.ccp-pf-table th:nth-child(1),
.ccp-pf-table td:nth-child(1) {
    width: 28%;
}

.ccp-pf-table th:nth-child(2),
.ccp-pf-table td:nth-child(2) {
    width: 12%;
}

.ccp-pf-table th:nth-child(3),
.ccp-pf-table td:nth-child(3) {
    width: 9%;
}

.ccp-pf-table th:nth-child(4),
.ccp-pf-table td:nth-child(4) {
    width: 10%;
}

.ccp-pf-table th:nth-child(5),
.ccp-pf-table td:nth-child(5) {
    width: 10%;
}

.ccp-pf-table th:nth-child(6),
.ccp-pf-table td:nth-child(6) {
    width: 10%;
}

.ccp-pf-table th:nth-child(7),
.ccp-pf-table td:nth-child(7) {
    width: 7%;
}

.ccp-pf-table th:nth-child(8),
.ccp-pf-table td:nth-child(8) {
    width: 8%;
}

.ccp-pf-table th:nth-child(9),
.ccp-pf-table td:nth-child(9) {
    width: 6%;
}

.ccp-pf-muted {
    color: var(--ccp-muted);
    font-size: 12px;
}


.ccp-pf-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.ccp-pf-pagination-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ccp-pf-page-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ccp-pf-small-btn {
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    background: #ffffff;
    color: var(--ccp-text);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 650;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}


.ccp-pf-small-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.ccp-pf-debug-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.ccp-pf-debug-btn {
    border: 1px solid rgba(100, 116, 139, 0.22);
    border-radius: 999px;
    padding: 4px 8px;
    background: transparent;
    color: rgba(100, 116, 139, 0.55);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: none;
    opacity: 0.45;
    transition: opacity 0.15s ease, color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.ccp-pf-debug-btn:hover,
.ccp-pf-debug-btn:focus {
    opacity: 1;
    color: var(--ccp-muted);
    border-color: rgba(100, 116, 139, 0.45);
    background: #f8fbff;
    outline: none;
}

.ccp-pf-debug-status {
    color: rgba(100, 116, 139, 0.55);
    font-size: 11px;
    line-height: 1.2;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.ccp-pf-debug-status.is-visible {
    opacity: 1;
}

.ccp-pf-error {
    display: none;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: var(--ccp-radius-sm);
    background: #fef2f2;
    color: #991b1b;
    font-size: 14px;
}

.ccp-pf-loading {
    opacity: 0.55;
}

.ccp-pf-loading .ccp-pf-table-scroll,
.ccp-pf-loading .ccp-pf-pagination {
    pointer-events: none;
}

.ccp-pf-honeypot,
#ccpPfEmail,
#ccpPfEmailCheck {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 1180px) {
    .ccp-pf-panel {
        padding: 18px;
    }

    .ccp-pf-main-filters,
    .ccp-pf-extra-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ccp-pf-table th,
    .ccp-pf-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .ccp-pf-table th:nth-child(5),
    .ccp-pf-table td:nth-child(5) {
        display: none;
    }


    .ccp-pf-table th:nth-child(1),
    .ccp-pf-table td:nth-child(1) {
        width: 34%;
    }

    .ccp-pf-table th:nth-child(2),
    .ccp-pf-table td:nth-child(2) {
        width: 14%;
    }

    .ccp-pf-table th:nth-child(3),
    .ccp-pf-table td:nth-child(3) {
        width: 11%;
    }

    .ccp-pf-table th:nth-child(4),
    .ccp-pf-table td:nth-child(4) {
        width: 13%;
    }

    .ccp-pf-table th:nth-child(6),
    .ccp-pf-table td:nth-child(6) {
        width: 14%;
    }

    .ccp-pf-table th:nth-child(7),
    .ccp-pf-table td:nth-child(7) {
        width: 7%;
    }

    .ccp-pf-table th:nth-child(8),
    .ccp-pf-table td:nth-child(8) {
        width: 7%;
    }
}

@media (max-width: 900px) {
    .ccp-pf-panel {
        padding: 14px;
        border-radius: 18px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    }

    .ccp-pf-title {
        font-size: 22px;
    }

    .ccp-pf-subtitle {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .ccp-pf-toolbar {
        padding: 12px;
        border-radius: 16px;
    }

    .ccp-pf-top-row {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 12px;
    }

    .ccp-pf-segment {
        width: 100%;
        border-radius: 14px;
    }

    .ccp-pf-segment-btn {
        flex: 1;
        text-align: center;
        border-radius: 10px;
    }

    .ccp-pf-periods {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 8px;
    }

    .ccp-pf-period-btn {
        width: 100%;
        padding: 8px 10px;
        text-align: center;
    }

    .ccp-pf-main-filters,
    .ccp-pf-extra-filters {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .ccp-pf-location-suggestions {
        max-height: 240px;
        border-radius: 12px;
    }

    .ccp-pf-actions,
    .ccp-pf-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .ccp-pf-pagination-info {
        gap: 6px;
    }

    .ccp-pf-buttons,
    .ccp-pf-page-buttons {
        width: 100%;
    }

    .ccp-pf-btn,
    .ccp-pf-small-btn {
        flex: 1;
    }

    .ccp-pf-debug-row {
        justify-content: center;
        margin-top: 8px;
    }

    .ccp-pf-table-scroll {
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .ccp-pf-table,
    .ccp-pf-table tbody,
    .ccp-pf-table tr,
    .ccp-pf-table td {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .ccp-pf-table thead,
    .ccp-pf-table th {
        display: none !important;
    }

    .ccp-pf-table {
        table-layout: auto !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        background: transparent !important;
    }

    .ccp-pf-table tbody tr {
        margin-bottom: 14px !important;
        border: 1px solid var(--ccp-border) !important;
        border-radius: 18px !important;
        background: #ffffff !important;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06) !important;
        overflow: hidden !important;
    }

    .ccp-pf-table tbody tr:hover td {
        background: #ffffff !important;
    }

    .ccp-pf-table td,
    .ccp-pf-table td:nth-child(2),
    .ccp-pf-table td:nth-child(3),
    .ccp-pf-table td:nth-child(4),
    .ccp-pf-table td:nth-child(5),
    .ccp-pf-table td:nth-child(6),
    .ccp-pf-table td:nth-child(7),
    .ccp-pf-table td:nth-child(8),
    .ccp-pf-table td:nth-child(9) {
        display: grid !important;
        grid-template-columns: minmax(108px, 36%) minmax(0, 1fr) !important;
        align-items: start !important;
        gap: 12px !important;
        padding: 11px 14px !important;
        border-bottom: 1px solid #eef2f7 !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        background: #ffffff !important;
    }

    .ccp-pf-table td:last-child {
        border-bottom: 0 !important;
    }

    .ccp-pf-table td::before {
        content: attr(data-label) !important;
        color: var(--ccp-muted) !important;
        font-weight: 750 !important;
        text-align: left !important;
        line-height: 1.35 !important;
        white-space: normal !important;
    }

    .ccp-pf-table td.ccp-pf-location {
        display: block !important;
        padding: 16px 16px 14px !important;
        text-align: left !important;
        background: #f4f8ff !important;
    }

    .ccp-pf-table tbody tr:hover td.ccp-pf-location {
        background: #f4f8ff !important;
    }

    .ccp-pf-table td.ccp-pf-location::before {
        display: block !important;
        margin-bottom: 8px !important;
        font-size: 13px !important;
    }

    .ccp-pf-table td.ccp-pf-location strong {
        display: block !important;
        margin-bottom: 4px !important;
        color: var(--ccp-ink) !important;
        font-size: 17px !important;
        line-height: 1.35 !important;
    }

    .ccp-pf-table td.ccp-pf-location .ccp-pf-muted {
        display: block !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}

.ccp-pf-table tbody tr[data-roi-id] {
    cursor: pointer;
}

.ccp-pf-table tbody tr[data-roi-id]:hover td {
    background: var(--ccp-blue-soft);
}

.ccp-pf-table tbody tr[data-roi-id]:focus {
    outline: none;
}

.ccp-pf-table tbody tr[data-roi-id]:focus td,
.ccp-pf-table tbody tr[data-roi-id]:focus-visible td {
    background: var(--ccp-blue-soft);
    box-shadow: inset 0 0 0 2px rgba(29, 90, 210, 0.22);
}


.ccp-pf-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.ccp-pf-modal.is-open {
    display: flex;
}

.ccp-pf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(4px);
}

.ccp-pf-modal-card {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: min(820px, calc(100vh - 48px));
    overflow: auto;
    border: 1px solid var(--ccp-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.ccp-pf-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 16px;
    border-bottom: 1px solid var(--ccp-border);
    background: linear-gradient(180deg, #ffffff 0%, var(--ccp-bg-soft) 100%);
}

.ccp-pf-modal-title {
    margin: 0;
    color: var(--ccp-ink);
    font-size: 22px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.ccp-pf-modal-subtitle {
    margin: 6px 0 0;
    color: var(--ccp-muted);
    font-size: 13px;
    line-height: 1.45;
}

.ccp-pf-modal-close {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    color: var(--ccp-text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ccp-pf-modal-close:hover,
.ccp-pf-modal-close:focus {
    background: var(--ccp-blue-soft);
    border-color: rgba(29, 90, 210, 0.32);
    color: var(--ccp-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 90, 210, 0.10);
}

.ccp-pf-modal-body {
    padding: 20px 24px 24px;
}

.ccp-pf-modal-kicker {
    margin-bottom: 4px;
    color: var(--ccp-blue);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}



.ccp-pf-roi-heading {
    margin-bottom: 16px;
}

.ccp-pf-roi-heading strong {
    display: block;
    color: var(--ccp-ink);
    font-size: 20px;
    line-height: 1.25;
}

.ccp-pf-roi-heading span {
    display: block;
    margin-top: 4px;
    color: var(--ccp-muted);
    font-size: 13px;
}

.ccp-pf-roi-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.ccp-pf-roi-grid-simple {
    grid-template-columns: 1fr;
}

.ccp-pf-roi-kpis > div,
.ccp-pf-roi-grid > div {
    border: 1px solid var(--ccp-border);
    border-radius: 16px;
    padding: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.ccp-pf-roi-kpis span,
.ccp-pf-roi-grid span {
    display: block;
    margin-bottom: 6px;
    color: var(--ccp-muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.3;
}

.ccp-pf-roi-kpis strong,
.ccp-pf-roi-grid strong {
    display: block;
    color: var(--ccp-ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.ccp-pf-roi-bar {
    height: 10px;
    margin: 6px 0 18px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eef8;
}

.ccp-pf-roi-bar span {
    display: block;
    height: 100%;
    min-width: 2px;
    border-radius: 999px;
    background: var(--ccp-blue);
}

.ccp-pf-roi-loading,
.ccp-pf-roi-alert {
    padding: 18px;
    border-radius: 16px;
    background: var(--ccp-bg-soft);
    color: var(--ccp-muted);
    font-size: 14px;
    line-height: 1.5;
}

.ccp-pf-roi-alert {
    background: #fef2f2;
    color: #991b1b;
}

html.ccp-pf-modal-open,
html.ccp-pf-modal-open body {
    overflow: hidden;
}

.ccp-pf-roi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}







.ccp-pf-roi-note {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--ccp-blue-soft);
    color: #274472;
    font-size: 13px;
    line-height: 1.5;
}









.ccp-pf-modal-loading,
.ccp-pf-modal-error {
    padding: 18px;
    border-radius: 16px;
    background: var(--ccp-bg-soft);
    color: var(--ccp-muted);
    font-size: 14px;
    line-height: 1.5;
}

.ccp-pf-modal-error {
    background: #fef2f2;
    color: #991b1b;
}

@media (max-width: 900px) {
    .ccp-pf-modal {
        align-items: flex-end;
        padding: 12px;
    }

    .ccp-pf-modal-card {
        width: 100%;
        max-height: calc(100vh - 24px);
        border-radius: 20px;
    }

    .ccp-pf-modal-header,
    .ccp-pf-modal-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ccp-pf-modal-title {
        font-size: 19px;
    }

    .ccp-pf-roi-grid,
    .ccp-pf-roi-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ccp-pf-roi-grid-simple {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .ccp-pf-panel {
        padding: 10px;
    }

    .ccp-pf-table tr {
        border-radius: 16px;
    }

    .ccp-pf-table td,
    .ccp-pf-table td:nth-child(2),
    .ccp-pf-table td:nth-child(3),
    .ccp-pf-table td:nth-child(4),
    .ccp-pf-table td:nth-child(5),
    .ccp-pf-table td:nth-child(6),
    .ccp-pf-table td:nth-child(7),
    .ccp-pf-table td:nth-child(8),
    .ccp-pf-table td:nth-child(9) {
        grid-template-columns: minmax(88px, 34%) minmax(0, 1fr) !important;
        gap: 10px !important;
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    .ccp-pf-table td::before {
        font-size: 13px;
    }

    .ccp-pf-table td.ccp-pf-location {
        padding: 14px 14px 12px;
    }

    .ccp-pf-table td.ccp-pf-location strong {
        font-size: 16px;
    }

    .ccp-pf-roi-grid,
    .ccp-pf-roi-kpis,
    .ccp-pf-roi-grid-simple {
        grid-template-columns: 1fr;
    }
}