.move-wp-kpi-dashboard {
    color: #0f172a;
    font-family: inherit;
    margin: 1.5rem 0;
}

.move-wp-kpi-export-toolbar {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 1rem;
}

.move-wp-kpi-export-button {
    background: #9ec493;
    border: 1px solid #8ab17f;
    border-radius: 6px;
    color: #0f172a;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    padding: 0.75rem 0.95rem;
}

.move-wp-kpi-export-button:hover,
.move-wp-kpi-export-button:focus {
    background: #8fba83;
}

.move-wp-kpi-pdf-header {
    align-items: center;
    border-bottom: 3px solid #9ec493;
    display: none;
    gap: 1rem;
    margin: 0 0 1.25rem;
    padding: 0 0 1rem;
}

.move-wp-kpi-pdf-header img {
    height: 56px;
    object-fit: contain;
    width: auto;
}

.move-wp-kpi-pdf-header strong {
    color: #9ec493;
    display: block;
    font-size: 1.45rem;
    line-height: 1.15;
}

.move-wp-kpi-pdf-header span {
    color: #64748b;
    display: block;
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.move-wp-kpi-admin-export-document {
    display: none;
}

.move-wp-kpi-dashboard__meta {
    color: #64748b;
    font-size: 0.925rem;
    margin-bottom: 0.875rem;
}

.move-wp-kpi-dashboard__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.move-wp-kpi-card {
    --move-wp-kpi-color: #2563eb;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 220px;
    overflow: hidden;
}

.move-wp-kpi-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.875rem;
    padding: 1.125rem;
}

.move-wp-kpi-card__heading {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.move-wp-kpi-card__heading h3 {
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.25;
    margin: 0;
}

.move-wp-kpi-card__heading span {
    background: color-mix(in srgb, var(--move-wp-kpi-color) 12%, #fff);
    border-radius: 999px;
    color: var(--move-wp-kpi-color);
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.35rem 0.5rem;
}

.move-wp-kpi-card__description {
    color: #475569;
    font-size: 0.925rem;
    line-height: 1.5;
    margin: 0;
}

.move-wp-kpi-card__value {
    color: var(--move-wp-kpi-color);
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    margin-top: auto;
    overflow-wrap: anywhere;
}

.move-wp-kpi-card__target,
.move-wp-kpi-progress__values {
    color: #64748b;
    font-size: 0.925rem;
}

.move-wp-kpi-card__footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.825rem;
    padding: 0.75rem 1.125rem;
}

.move-wp-kpi-progress {
    background: #e2e8f0;
    border-radius: 999px;
    height: 0.85rem;
    margin-top: auto;
    overflow: hidden;
}

.move-wp-kpi-progress__bar {
    background: var(--move-wp-kpi-color);
    border-radius: inherit;
    height: 100%;
    min-width: 0.35rem;
}

.move-wp-kpi-progress__values {
    align-items: baseline;
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

.move-wp-kpi-progress__values strong {
    color: #0f172a;
    font-size: 1.25rem;
}

.move-wp-kpi-chart {
    min-height: 260px;
}

.move-wp-kpi-status--attention {
    border-top: 4px solid #f59e0b;
}

.move-wp-kpi-status--behind {
    border-top: 4px solid #dc2626;
}

.move-wp-kpi-status--complete {
    border-top: 4px solid #16a34a;
}

.move-wp-kpi-dashboard--empty {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    padding: 1rem;
}

.move-wp-kpi-public-bar,
.move-wp-kpi-news-item,
.move-wp-kpi-quality-button {
    --move-wp-kpi-color: #2563eb;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    padding: 1rem;
}

.move-wp-kpi-public-bar {
    display: grid;
    gap: 0.75rem;
}

.move-wp-kpi-public-bar h3,
.move-wp-kpi-news-item h3 {
    font-size: 1rem;
    line-height: 1.25;
    margin: 0 0 0.25rem;
}

.move-wp-kpi-public-bar span,
.move-wp-kpi-news-item p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.move-wp-kpi-news-item strong {
    color: #0f172a;
    font-size: 1.25rem;
}

.move-wp-kpi-public-bar strong {
    color: var(--move-wp-kpi-color);
    font-size: 1.45rem;
    line-height: 1;
}

.move-wp-kpi-public-bar__numbers {
    align-items: baseline;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.move-wp-kpi-public-bar__numbers--percent-only {
    justify-content: flex-start;
}

.move-wp-kpi-public-bar__numbers span {
    background: #f1f5f9;
    border-radius: 999px;
    color: #0f172a;
    flex: 0 0 auto;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.4rem 0.55rem;
}

.move-wp-kpi-public-bar__track {
    background: #e2e8f0;
    border-radius: 999px;
    height: 0.8rem;
    overflow: hidden;
}

.move-wp-kpi-public-bar__track div {
    background: var(--move-wp-kpi-color);
    border-radius: inherit;
    height: 100%;
    min-width: 0.3rem;
}

.move-wp-kpi-news-item {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.move-wp-kpi-news-item a {
    align-self: flex-start;
    background: #0f172a;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    padding: 0.7rem 0.85rem;
    text-decoration: none;
}

.move-wp-kpi-quality-button {
    align-items: center;
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    min-height: 86px;
    text-align: center;
}

.move-wp-kpi-quality-button span {
    font-weight: 700;
    line-height: 1.35;
}

.move-wp-kpi-quality-button strong {
    background: #f1f5f9;
    border-radius: 999px;
    color: #0f172a;
    flex: 0 0 auto;
    padding: 0.45rem 0.65rem;
}

.move-wp-kpi-quality-button.is-met {
    border-color: #86efac;
}

.move-wp-kpi-private-dashboard {
    color: #0f172a;
    margin: 1.5rem 0;
}

.move-wp-kpi-private-dashboard__header {
    align-items: baseline;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.move-wp-kpi-private-dashboard__header h2 {
    font-size: 1.35rem;
    margin: 0;
}

.move-wp-kpi-private-dashboard__header span {
    color: #64748b;
    font-size: 0.9rem;
}

.move-wp-kpi-private-dashboard__scroll {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow-x: auto;
}

.move-wp-kpi-private-table {
    background: #fff;
    border-collapse: collapse;
    min-width: 760px;
    width: 100%;
}

.move-wp-kpi-private-table th,
.move-wp-kpi-private-table td {
    border-bottom: 1px solid #e2e8f0;
    padding: 0.8rem;
    text-align: left;
    vertical-align: top;
}

.move-wp-kpi-private-table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.move-wp-kpi-private-table tbody th {
    font-weight: 700;
    width: 34%;
}

.move-wp-kpi-private-table td span {
    display: block;
}

@media (max-width: 520px) {
    .move-wp-kpi-card__heading {
        flex-direction: column;
    }

    .move-wp-kpi-progress__values {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media print {
    @page {
        margin: 14mm;
        size: A4;
    }

    body.move-wp-kpi-is-exporting > *:not(.move-wp-kpi-print-root) {
        display: none !important;
    }

    body.move-wp-kpi-is-exporting .move-wp-kpi-print-root > *:not(.is-export-target) {
        display: none !important;
    }

    body.move-wp-kpi-is-exporting .move-wp-kpi-export-scope.is-export-target {
        background: #fff;
        color: #0f172a;
        display: block !important;
        margin: 0;
        width: 100%;
    }

    .move-wp-kpi-export-toolbar,
    .move-wp-kpi-card__footer {
        display: none !important;
    }

    .move-wp-kpi-pdf-header {
        display: flex !important;
    }

    .move-wp-kpi-dashboard__meta,
    .move-wp-kpi-private-dashboard__header span {
        color: #475569 !important;
    }

    .move-wp-kpi-private-dashboard__header h2,
    .move-wp-kpi-card__heading h3,
    .move-wp-kpi-public-bar h3,
    .move-wp-kpi-news-item h3,
    .move-wp-kpi-private-table thead th {
        color: #9ec493 !important;
    }

    .move-wp-kpi-dashboard__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .move-wp-kpi-card,
    .move-wp-kpi-public-bar,
    .move-wp-kpi-news-item,
    .move-wp-kpi-quality-button {
        break-inside: avoid;
        box-shadow: none !important;
    }

    .move-wp-kpi-public-bar__track,
    .move-wp-kpi-progress {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .move-wp-kpi-private-dashboard__scroll {
        border: 0;
        overflow: visible;
    }

    .move-wp-kpi-private-table {
        min-width: 0;
    }
}
