.access-grid {
    align-items: stretch;
}

.access-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
}

.access-card h3 {
    min-height: 41px;
    margin: 0 0 6px;
    line-height: 1.25;
}

.access-card .access-card-department {
    min-height: 20px;
    margin: 0 0 14px;
    line-height: 1.35;
}

.access-notification-row {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
}

.access-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.access-status.enabled {
    background: #eaf3fc;
    color: #205089;
}

.access-status.disabled {
    background: #eef1f4;
    color: #727c84;
}

.access-status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: currentColor;
}

.access-device-count,
.access-device-count.muted {
    min-height: 0;
    margin: 0;
    color: #7b8792;
    font-size: 11px;
    white-space: nowrap;
}

.access-card > button {
    margin-top: auto;
}

@media (max-width: 600px) {
    .access-card {
        min-height: 0;
    }

    .access-card h3 {
        min-height: 0;
    }

    .access-notification-row {
        align-items: flex-start;
        flex-direction: column;
    }
}
