
/* PRAWNIKOM PRO - NAPRAWA UKLADU KATALOGU */

html body .catalog-shell,
html body .catalog-workspace,
html body .catalog-panel,
html body .catalog-results {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

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

html body .catalog-shell {
    padding: 20px !important;
}

html body .catalog-workspace {
    padding: 0 !important;
    gap: 16px !important;
}

html body .catalog-workspace > .catalog-panel {
    padding: 20px !important;
}

/* DOPASOWANIE DO MENU BOCZNEGO */

@media (min-width: 1025px) {

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

/* KOMPAKTOWE KARTY */

html body .catalog-workspace #catalog-rows {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
}

html body .catalog-workspace .catalog-card {
    box-sizing: border-box !important;
    grid-template-columns: 40px minmax(0,1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 16px !important;
    gap: 12px !important;
}

html body .catalog-workspace .catalog-parcel-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 24px !important;
}

html body .catalog-workspace .catalog-card-content {
    gap: 10px !important;
}

html body .catalog-workspace .catalog-card-number {
    font-family: "Inter","Segoe UI",Arial,sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #142641 !important;
}

html body .catalog-workspace .catalog-card-key {
    font-size: 11px !important;
}

html body .catalog-workspace .catalog-card-location {
    font-size: 12px !important;
    margin: 0 !important;
}

html body .catalog-workspace .catalog-card-metrics {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 8px !important;
}

html body .catalog-workspace .catalog-card-metric {
    padding: 10px !important;
    min-width: 0 !important;
    gap: 4px !important;
}

html body .catalog-workspace .catalog-card-metric strong {
    font-size: 16px !important;
}

html body .catalog-workspace .catalog-card-footer {
    padding-top: 10px !important;
}

html body .catalog-workspace .catalog-card-action {
    min-height: 34px !important;
    padding: 8px 12px !important;
}

/* PAGINACJA */

html body .catalog-workspace .catalog-status {
    padding: 16px 0 8px !important;
}

html body .catalog-workspace .catalog-pages {
    padding: 8px 0 !important;
}

/* LINKI DO MAP INFRASTRUKTURY */

html body .catalog-map-links {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 16px 0 !important;
    padding: 20px !important;
    background: #fff !important;
    border: 1px solid #dce4ee !important;
    color: #142641 !important;
}

html body .catalog-map-links summary {
    color: #142641 !important;
    font-weight: 600 !important;
    cursor: pointer;
}

html body .catalog-map-links a {
    color: #142641 !important;
    text-decoration: none !important;
    overflow-wrap: anywhere;
}

/* TABLET */

@media (max-width: 1200px) {

    html body .catalog-workspace #catalog-rows {
        grid-template-columns: minmax(0,1fr) !important;
    }
}

/* TELEFON */

@media (max-width: 600px) {

    html body .catalog-shell {
        padding: 10px !important;
    }

    html body .catalog-workspace > .catalog-panel {
        padding: 12px !important;
    }

    html body .catalog-workspace .catalog-card {
        grid-template-columns: minmax(0,1fr) !important;
        padding: 12px !important;
    }

    html body .catalog-workspace .catalog-card-metric {
        padding: 8px !important;
    }

    html body .catalog-workspace .catalog-card-metric strong {
        font-size: 13px !important;
    }
}

