/* Partner Capital Dashboard (dashboard page) */
.pc-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.pc-kpi {
    border-radius: 14px;
    padding: 1rem 1.1rem;
    background: var(--ds-bg-page, #f8fafc);
    border: 1px solid var(--ds-border, #e2e8f0);
    display: flex;
    gap: 0.85rem;
    align-items: center;
}
.pc-kpi-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    flex-shrink: 0;
    font-size: 1.05rem;
}
.pc-kpi-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ds-text-muted, #64748b);
}
.pc-kpi-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ds-text, #0f172a);
    line-height: 1.25;
}
.pc-kpi-sub {
    font-size: 0.75rem;
    color: var(--ds-text-muted, #64748b);
}
.pc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}
.pc-panel {
    border: 1px solid var(--ds-border, #e2e8f0);
    border-radius: 14px;
    padding: 1rem;
    background: var(--ds-bg-card, #fff);
    min-width: 0;
}
.pc-panel-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--ds-text, #0f172a);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.pc-panel-title i {
    color: var(--ds-primary, #6366f1);
}
.pc-chart {
    position: relative;
    width: 100%;
}
.pc-chart-lg {
    height: 340px;
}
.pc-table-wrap {
    margin-top: 1.25rem;
    overflow-x: auto;
}
.pc-table {
    margin: 0;
    font-size: 0.85rem;
}
.pc-loading {
    text-align: center;
    padding: 2rem !important;
    color: var(--ds-text-muted, #64748b);
}
.pc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.pc-progress {
    height: 8px;
    border-radius: 999px;
    background: var(--ds-border, #e2e8f0);
    overflow: hidden;
}
.pc-progress > span {
    display: block;
    height: 100%;
    border-radius: 999px;
}
.pc-progress-label {
    font-size: 0.72rem;
    color: var(--ds-text-muted, #64748b);
    margin-top: 2px;
}
@media (max-width: 1100px) {
    .pc-grid {
        grid-template-columns: 1fr;
    }
    .pc-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .pc-kpis {
        grid-template-columns: 1fr;
    }
    .pc-chart-lg {
        height: 280px;
    }
}
