.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    width: 100%;
    margin-bottom: 24px;
}

.kpi-tile {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 16px 18px;
    background: #FFFFFF;
    border-radius: 14px;
    border-top: 4px solid #2563EB;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.2s ease;
}

.kpi-tile:hover {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.kpi-tile-header {
    display: flex;
    align-items: center;
    min-height: 38px;
    justify-content: space-between;
    gap: 10px;
}

.kpi-tile-title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #64748B;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kpi-tile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #EFF6FF;
}

.kpi-tile-value {
    font-size: 26px;
    font-size: clamp(20px, 17cqi, 32px);
    font-weight: 700;
    line-height: 1.15;
    color: #0F172A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-variant-numeric: tabular-nums;
}

.kpi-tile-trend {
    font-size: 12px;
    font-weight: 600;
    color: #16A34A;
}

 