

/* === EKFD_DASHBOARD_ULTRACOMPACT_CARDS_V1 === */
.board-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 280px)) !important;
    gap: 14px !important;
    justify-content: start !important;
    align-items: stretch !important;
}

.board-card {
    width: auto !important;
    min-height: 140px !important;
    padding: 10px 12px !important;
    border-radius: 16px !important;
}

.board-topline {
    margin-bottom: 8px !important;
}

.board-type,
.permission {
    padding: 3px 7px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
}

.board-card h2 {
    font-size: 16px !important;
    line-height: 1.15 !important;
    margin: 0 0 6px 0 !important;
}

.board-card p {
    font-size: 12px !important;
    line-height: 1.25 !important;
    margin: 0 0 8px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.board-meta {
    gap: 5px !important;
    margin: 8px 0 10px 0 !important;
}

.board-meta span {
    padding: 3px 7px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
}

.board-card .primary-button {
    padding: 7px 11px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    border-radius: 999px !important;
    width: auto !important;
    min-height: 0 !important;
}

@media (max-width: 900px) {
    .board-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
        justify-content: stretch !important;
    }

    .board-card {
        width: 100% !important;
        max-width: none !important;
        min-height: 130px !important;
    }
}

@media (max-width: 560px) {
    .board-grid {
        grid-template-columns: 1fr !important;
        justify-content: stretch !important;
    }

    .board-card {
        width: 100% !important;
        max-width: none !important;
        min-height: 120px !important;
    }
}
/* === /EKFD_DASHBOARD_ULTRACOMPACT_CARDS_V1 === */

/* === EKFD_DASHBOARD_FLUID_SHELL_V1 === */
main.shell {
    width: min(calc(100vw - 48px), 1500px) !important;
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 900px) {
    main.shell {
        width: calc(100vw - 32px) !important;
        max-width: none !important;
    }
}

@media (max-width: 560px) {
    main.shell {
        width: calc(100vw - 20px) !important;
        max-width: none !important;
    }
}
/* === /EKFD_DASHBOARD_FLUID_SHELL_V1 === */
