
/* SYNDYCY - POPRAWA UKLADU */

html body main.pro-directory {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 24px !important;
    margin: 0 !important;
}

/* Kontenery nadrzedne */

html body .shell:has(.pro-directory),
html body .content:has(.pro-directory),
html body .department-workspace:has(.pro-directory) {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* Kompaktowa lista */

html body .pro-directory .pro-list {
    width: 100% !important;
    min-width: 0 !important;
    gap: 6px !important;
}

html body .pro-directory .pro-row {
    box-sizing: border-box !important;
    grid-template-columns:
        44px
        minmax(0,1fr)
        minmax(120px,220px)
        150px !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 82px !important;
    gap: 16px !important;
    padding: 14px 18px !important;
}

html body .pro-directory .pro-row::before {
    width: 44px !important;
    height: 44px !important;
    background-size: 24px 24px !important;
}

/* Granatowa typografia */

html body .pro-directory .pro-row h2 {
    font-family: "Inter","Segoe UI",Arial,sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #142641 !important;
    margin: 0 0 5px !important;
}

html body .pro-directory .pro-row small {
    font-size: 12px !important;
    color: #64748b !important;
}

/* Miejscowosc bez ciezkiego tla */

html body .pro-directory .pro-address {
    background: transparent !important;
    border: 0 !important;
    padding: 8px !important;
    color: #142641 !important;
    font-size: 13px !important;
}

/* Kompaktowe przyciski */

html body .pro-directory .pro-row > a.btn {
    min-height: 38px !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
}

/* Paginacja */

html body .pro-directory .ted-pages {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px !important;
    margin-top: 16px !important;
    gap: 16px !important;
}

/* Odstep od zwinietego menu */

@media (min-width: 1025px) {

    html body.pp-sidebar-collapsed main.pro-directory {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    html body.pp-sidebar-collapsed:has(.pro-directory) {
        box-sizing: border-box !important;
        width: 100% !important;
        padding-left: 64px !important;
    }
}

/* Tablet */

@media (max-width: 1100px) {

    html body .pro-directory .pro-row {
        grid-template-columns:
            40px minmax(0,1fr) 120px 130px !important;
        gap: 12px !important;
    }
}

/* Telefon */

@media (max-width: 760px) {

    html body main.pro-directory {
        padding: 12px !important;
    }

    html body .pro-directory .pro-row {
        grid-template-columns:
            40px minmax(0,1fr) !important;
        padding: 12px !important;
    }

    html body .pro-directory .pro-address,
    html body .pro-directory .pro-row > a.btn {
        grid-column: 1 / -1 !important;
    }
}

