.pi-frame {
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.pi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pi-title {
    font-weight: 600;
    font-size: var(--font-size-lg);
    line-height: 140%;
    color: var(--text-primary);
}

.pi-back {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: var(--accent-primary-hover);
}

.pi-list {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(279px, 279px));
    gap: 13px;
}

.pi-card {
    box-sizing: border-box;
    position: relative;
    width: 279px;
    height: 60px;

    background: var(--bg-pending-card);
    border: 1px solid var(--accent-primary-hover);
}

.pi-card__name {
    position: absolute;
    left: 20px;
    top: 9px;

    font-weight: 500;
    font-size: var(--font-size-md);
    line-height: 140%;
    color: var(--text-pending-name);
}

.pi-card__email {
    position: absolute;
    left: 20px;
    top: 36px;

    font-weight: 400;
    font-size: var(--font-size-xs);
    line-height: 140%;
    color: var(--text-muted);
}

.pi-card__delete {
    position: absolute;
    right: 20px;
    top: calc(50% - 10px);

    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: var(--text-icon);
}

.pi-empty {
    margin-top: 20px;
    font-weight: 400;
    font-size: var(--font-size-xs);
    line-height: 140%;
    color: var(--text-muted);
}

/* мобилка: карточки в столбик */
@media (max-width: 640px) {
    .pi-list {
        grid-template-columns: 1fr;
    }
    .pi-card {
        width: 100%;
    }
}
